@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface SchemasClient extends SdkClient
builder() method.
Amazon EventBridge Schema Registry
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.static SchemasClient create()
SchemasClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static SchemasClientBuilder builder()
SchemasClient.default CreateDiscovererResponse createDiscoverer(CreateDiscovererRequest createDiscovererRequest) throws BadRequestException, InternalServerErrorException, UnauthorizedException, ForbiddenException, ServiceUnavailableException, ConflictException, AwsServiceException, SdkClientException, SchemasException
Creates a discoverer.
createDiscovererRequest - BadRequestException - 400 responseInternalServerErrorException - 500 responseUnauthorizedException - 401 responseForbiddenException - 403 responseServiceUnavailableException - 503 responseConflictException - 409 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateDiscovererResponse createDiscoverer(Consumer<CreateDiscovererRequest.Builder> createDiscovererRequest) throws BadRequestException, InternalServerErrorException, UnauthorizedException, ForbiddenException, ServiceUnavailableException, ConflictException, AwsServiceException, SdkClientException, SchemasException
Creates a discoverer.
This is a convenience which creates an instance of the CreateDiscovererRequest.Builder avoiding the need
to create one manually via CreateDiscovererRequest.builder()
createDiscovererRequest - A Consumer that will call methods on CreateDiscovererRequest.Builder to create a request.BadRequestException - 400 responseInternalServerErrorException - 500 responseUnauthorizedException - 401 responseForbiddenException - 403 responseServiceUnavailableException - 503 responseConflictException - 409 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateRegistryResponse createRegistry(CreateRegistryRequest createRegistryRequest) throws BadRequestException, InternalServerErrorException, UnauthorizedException, ForbiddenException, ServiceUnavailableException, ConflictException, AwsServiceException, SdkClientException, SchemasException
Creates a registry.
createRegistryRequest - BadRequestException - 400 responseInternalServerErrorException - 500 responseUnauthorizedException - 401 responseForbiddenException - 403 responseServiceUnavailableException - 503 responseConflictException - 409 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateRegistryResponse createRegistry(Consumer<CreateRegistryRequest.Builder> createRegistryRequest) throws BadRequestException, InternalServerErrorException, UnauthorizedException, ForbiddenException, ServiceUnavailableException, ConflictException, AwsServiceException, SdkClientException, SchemasException
Creates a registry.
This is a convenience which creates an instance of the CreateRegistryRequest.Builder avoiding the need to
create one manually via CreateRegistryRequest.builder()
createRegistryRequest - A Consumer that will call methods on CreateRegistryRequest.Builder to create a request.BadRequestException - 400 responseInternalServerErrorException - 500 responseUnauthorizedException - 401 responseForbiddenException - 403 responseServiceUnavailableException - 503 responseConflictException - 409 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateSchemaResponse createSchema(CreateSchemaRequest createSchemaRequest) throws ServiceUnavailableException, BadRequestException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException
Creates a schema definition.
Inactive schemas will be deleted after two years.
createSchemaRequest - ServiceUnavailableException - 503 responseBadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateSchemaResponse createSchema(Consumer<CreateSchemaRequest.Builder> createSchemaRequest) throws ServiceUnavailableException, BadRequestException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException
Creates a schema definition.
Inactive schemas will be deleted after two years.
This is a convenience which creates an instance of the CreateSchemaRequest.Builder avoiding the need to
create one manually via CreateSchemaRequest.builder()
createSchemaRequest - A Consumer that will call methods on CreateSchemaRequest.Builder to create a request.ServiceUnavailableException - 503 responseBadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteDiscovererResponse deleteDiscoverer(DeleteDiscovererRequest deleteDiscovererRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException
Deletes a discoverer.
deleteDiscovererRequest - BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteDiscovererResponse deleteDiscoverer(Consumer<DeleteDiscovererRequest.Builder> deleteDiscovererRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException
Deletes a discoverer.
This is a convenience which creates an instance of the DeleteDiscovererRequest.Builder avoiding the need
to create one manually via DeleteDiscovererRequest.builder()
deleteDiscovererRequest - A Consumer that will call methods on DeleteDiscovererRequest.Builder to create a request.BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteRegistryResponse deleteRegistry(DeleteRegistryRequest deleteRegistryRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException
Deletes a Registry.
deleteRegistryRequest - BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteRegistryResponse deleteRegistry(Consumer<DeleteRegistryRequest.Builder> deleteRegistryRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException
Deletes a Registry.
This is a convenience which creates an instance of the DeleteRegistryRequest.Builder avoiding the need to
create one manually via DeleteRegistryRequest.builder()
deleteRegistryRequest - A Consumer that will call methods on DeleteRegistryRequest.Builder to create a request.BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteResourcePolicyResponse deleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException
Delete the resource-based policy attached to the specified registry.
deleteResourcePolicyRequest - BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteResourcePolicyResponse deleteResourcePolicy(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException
Delete the resource-based policy attached to the specified registry.
This is a convenience which creates an instance of the DeleteResourcePolicyRequest.Builder avoiding the
need to create one manually via DeleteResourcePolicyRequest.builder()
deleteResourcePolicyRequest - A Consumer that will call methods on DeleteResourcePolicyRequest.Builder to create a
request.BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteSchemaResponse deleteSchema(DeleteSchemaRequest deleteSchemaRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException
Delete a schema definition.
deleteSchemaRequest - BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteSchemaResponse deleteSchema(Consumer<DeleteSchemaRequest.Builder> deleteSchemaRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException
Delete a schema definition.
This is a convenience which creates an instance of the DeleteSchemaRequest.Builder avoiding the need to
create one manually via DeleteSchemaRequest.builder()
deleteSchemaRequest - A Consumer that will call methods on DeleteSchemaRequest.Builder to create a request.BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteSchemaVersionResponse deleteSchemaVersion(DeleteSchemaVersionRequest deleteSchemaVersionRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException
Delete the schema version definition
deleteSchemaVersionRequest - BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteSchemaVersionResponse deleteSchemaVersion(Consumer<DeleteSchemaVersionRequest.Builder> deleteSchemaVersionRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException
Delete the schema version definition
This is a convenience which creates an instance of the DeleteSchemaVersionRequest.Builder avoiding the
need to create one manually via DeleteSchemaVersionRequest.builder()
deleteSchemaVersionRequest - A Consumer that will call methods on DeleteSchemaVersionRequest.Builder to create a
request.BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeCodeBindingResponse describeCodeBinding(DescribeCodeBindingRequest describeCodeBindingRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, SchemasException
Describe the code binding URI.
describeCodeBindingRequest - BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseTooManyRequestsException - 429 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeCodeBindingResponse describeCodeBinding(Consumer<DescribeCodeBindingRequest.Builder> describeCodeBindingRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, SchemasException
Describe the code binding URI.
This is a convenience which creates an instance of the DescribeCodeBindingRequest.Builder avoiding the
need to create one manually via DescribeCodeBindingRequest.builder()
describeCodeBindingRequest - A Consumer that will call methods on DescribeCodeBindingRequest.Builder to create a
request.BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseTooManyRequestsException - 429 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeDiscovererResponse describeDiscoverer(DescribeDiscovererRequest describeDiscovererRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException
Describes the discoverer.
describeDiscovererRequest - BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeDiscovererResponse describeDiscoverer(Consumer<DescribeDiscovererRequest.Builder> describeDiscovererRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException
Describes the discoverer.
This is a convenience which creates an instance of the DescribeDiscovererRequest.Builder avoiding the
need to create one manually via DescribeDiscovererRequest.builder()
describeDiscovererRequest - A Consumer that will call methods on DescribeDiscovererRequest.Builder to create a
request.BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeRegistryResponse describeRegistry(DescribeRegistryRequest describeRegistryRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException
Describes the registry.
describeRegistryRequest - BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeRegistryResponse describeRegistry(Consumer<DescribeRegistryRequest.Builder> describeRegistryRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException
Describes the registry.
This is a convenience which creates an instance of the DescribeRegistryRequest.Builder avoiding the need
to create one manually via DescribeRegistryRequest.builder()
describeRegistryRequest - A Consumer that will call methods on DescribeRegistryRequest.Builder to create a request.BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeSchemaResponse describeSchema(DescribeSchemaRequest describeSchemaRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException
Retrieve the schema definition.
describeSchemaRequest - BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeSchemaResponse describeSchema(Consumer<DescribeSchemaRequest.Builder> describeSchemaRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException
Retrieve the schema definition.
This is a convenience which creates an instance of the DescribeSchemaRequest.Builder avoiding the need to
create one manually via DescribeSchemaRequest.builder()
describeSchemaRequest - A Consumer that will call methods on DescribeSchemaRequest.Builder to create a request.BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ExportSchemaResponse exportSchema(ExportSchemaRequest exportSchemaRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, SchemasException
exportSchemaRequest - BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responseTooManyRequestsException - 429 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ExportSchemaResponse exportSchema(Consumer<ExportSchemaRequest.Builder> exportSchemaRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, SchemasException
This is a convenience which creates an instance of the ExportSchemaRequest.Builder avoiding the need to
create one manually via ExportSchemaRequest.builder()
exportSchemaRequest - A Consumer that will call methods on ExportSchemaRequest.Builder to create a request.BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responseTooManyRequestsException - 429 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetCodeBindingSourceResponse getCodeBindingSource(GetCodeBindingSourceRequest getCodeBindingSourceRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, SchemasException
Get the code binding source URI.
getCodeBindingSourceRequest - BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseTooManyRequestsException - 429 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetCodeBindingSourceResponse getCodeBindingSource(Consumer<GetCodeBindingSourceRequest.Builder> getCodeBindingSourceRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, SchemasException
Get the code binding source URI.
This is a convenience which creates an instance of the GetCodeBindingSourceRequest.Builder avoiding the
need to create one manually via GetCodeBindingSourceRequest.builder()
getCodeBindingSourceRequest - A Consumer that will call methods on GetCodeBindingSourceRequest.Builder to create a
request.BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseTooManyRequestsException - 429 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetDiscoveredSchemaResponse getDiscoveredSchema(GetDiscoveredSchemaRequest getDiscoveredSchemaRequest) throws ServiceUnavailableException, BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException
Get the discovered schema that was generated based on sampled events.
getDiscoveredSchemaRequest - ServiceUnavailableException - 503 responseBadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetDiscoveredSchemaResponse getDiscoveredSchema(Consumer<GetDiscoveredSchemaRequest.Builder> getDiscoveredSchemaRequest) throws ServiceUnavailableException, BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException
Get the discovered schema that was generated based on sampled events.
This is a convenience which creates an instance of the GetDiscoveredSchemaRequest.Builder avoiding the
need to create one manually via GetDiscoveredSchemaRequest.builder()
getDiscoveredSchemaRequest - A Consumer that will call methods on GetDiscoveredSchemaRequest.Builder to create a
request.ServiceUnavailableException - 503 responseBadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetResourcePolicyResponse getResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException
Retrieves the resource-based policy attached to a given registry.
getResourcePolicyRequest - BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetResourcePolicyResponse getResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException
Retrieves the resource-based policy attached to a given registry.
This is a convenience which creates an instance of the GetResourcePolicyRequest.Builder avoiding the need
to create one manually via GetResourcePolicyRequest.builder()
getResourcePolicyRequest - A Consumer that will call methods on GetResourcePolicyRequest.Builder to create a request.BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListDiscoverersResponse listDiscoverers(ListDiscoverersRequest listDiscoverersRequest) throws ServiceUnavailableException, BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException
List the discoverers.
listDiscoverersRequest - ServiceUnavailableException - 503 responseBadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListDiscoverersResponse listDiscoverers(Consumer<ListDiscoverersRequest.Builder> listDiscoverersRequest) throws ServiceUnavailableException, BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException
List the discoverers.
This is a convenience which creates an instance of the ListDiscoverersRequest.Builder avoiding the need
to create one manually via ListDiscoverersRequest.builder()
listDiscoverersRequest - A Consumer that will call methods on ListDiscoverersRequest.Builder to create a request.ServiceUnavailableException - 503 responseBadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListDiscoverersIterable listDiscoverersPaginator(ListDiscoverersRequest listDiscoverersRequest) throws ServiceUnavailableException, BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException
List the discoverers.
This is a variant of
listDiscoverers(software.amazon.awssdk.services.schemas.model.ListDiscoverersRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.schemas.paginators.ListDiscoverersIterable responses = client.listDiscoverersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.schemas.paginators.ListDiscoverersIterable responses = client
.listDiscoverersPaginator(request);
for (software.amazon.awssdk.services.schemas.model.ListDiscoverersResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.schemas.paginators.ListDiscoverersIterable responses = client.listDiscoverersPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of Limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDiscoverers(software.amazon.awssdk.services.schemas.model.ListDiscoverersRequest) operation.
listDiscoverersRequest - ServiceUnavailableException - 503 responseBadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListDiscoverersIterable listDiscoverersPaginator(Consumer<ListDiscoverersRequest.Builder> listDiscoverersRequest) throws ServiceUnavailableException, BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException
List the discoverers.
This is a variant of
listDiscoverers(software.amazon.awssdk.services.schemas.model.ListDiscoverersRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.schemas.paginators.ListDiscoverersIterable responses = client.listDiscoverersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.schemas.paginators.ListDiscoverersIterable responses = client
.listDiscoverersPaginator(request);
for (software.amazon.awssdk.services.schemas.model.ListDiscoverersResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.schemas.paginators.ListDiscoverersIterable responses = client.listDiscoverersPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of Limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDiscoverers(software.amazon.awssdk.services.schemas.model.ListDiscoverersRequest) operation.
This is a convenience which creates an instance of the ListDiscoverersRequest.Builder avoiding the need
to create one manually via ListDiscoverersRequest.builder()
listDiscoverersRequest - A Consumer that will call methods on ListDiscoverersRequest.Builder to create a request.ServiceUnavailableException - 503 responseBadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListRegistriesResponse listRegistries(ListRegistriesRequest listRegistriesRequest) throws ServiceUnavailableException, BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException
List the registries.
listRegistriesRequest - ServiceUnavailableException - 503 responseBadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListRegistriesResponse listRegistries(Consumer<ListRegistriesRequest.Builder> listRegistriesRequest) throws ServiceUnavailableException, BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException
List the registries.
This is a convenience which creates an instance of the ListRegistriesRequest.Builder avoiding the need to
create one manually via ListRegistriesRequest.builder()
listRegistriesRequest - A Consumer that will call methods on ListRegistriesRequest.Builder to create a request.ServiceUnavailableException - 503 responseBadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListRegistriesIterable listRegistriesPaginator(ListRegistriesRequest listRegistriesRequest) throws ServiceUnavailableException, BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException
List the registries.
This is a variant of listRegistries(software.amazon.awssdk.services.schemas.model.ListRegistriesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.schemas.paginators.ListRegistriesIterable responses = client.listRegistriesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.schemas.paginators.ListRegistriesIterable responses = client.listRegistriesPaginator(request);
for (software.amazon.awssdk.services.schemas.model.ListRegistriesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.schemas.paginators.ListRegistriesIterable responses = client.listRegistriesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of Limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRegistries(software.amazon.awssdk.services.schemas.model.ListRegistriesRequest) operation.
listRegistriesRequest - ServiceUnavailableException - 503 responseBadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListRegistriesIterable listRegistriesPaginator(Consumer<ListRegistriesRequest.Builder> listRegistriesRequest) throws ServiceUnavailableException, BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException
List the registries.
This is a variant of listRegistries(software.amazon.awssdk.services.schemas.model.ListRegistriesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.schemas.paginators.ListRegistriesIterable responses = client.listRegistriesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.schemas.paginators.ListRegistriesIterable responses = client.listRegistriesPaginator(request);
for (software.amazon.awssdk.services.schemas.model.ListRegistriesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.schemas.paginators.ListRegistriesIterable responses = client.listRegistriesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of Limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRegistries(software.amazon.awssdk.services.schemas.model.ListRegistriesRequest) operation.
This is a convenience which creates an instance of the ListRegistriesRequest.Builder avoiding the need to
create one manually via ListRegistriesRequest.builder()
listRegistriesRequest - A Consumer that will call methods on ListRegistriesRequest.Builder to create a request.ServiceUnavailableException - 503 responseBadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSchemaVersionsResponse listSchemaVersions(ListSchemaVersionsRequest listSchemaVersionsRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException
Provides a list of the schema versions and related information.
listSchemaVersionsRequest - BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSchemaVersionsResponse listSchemaVersions(Consumer<ListSchemaVersionsRequest.Builder> listSchemaVersionsRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException
Provides a list of the schema versions and related information.
This is a convenience which creates an instance of the ListSchemaVersionsRequest.Builder avoiding the
need to create one manually via ListSchemaVersionsRequest.builder()
listSchemaVersionsRequest - A Consumer that will call methods on ListSchemaVersionsRequest.Builder to create a
request.BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSchemaVersionsIterable listSchemaVersionsPaginator(ListSchemaVersionsRequest listSchemaVersionsRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException
Provides a list of the schema versions and related information.
This is a variant of
listSchemaVersions(software.amazon.awssdk.services.schemas.model.ListSchemaVersionsRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.schemas.paginators.ListSchemaVersionsIterable responses = client.listSchemaVersionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.schemas.paginators.ListSchemaVersionsIterable responses = client
.listSchemaVersionsPaginator(request);
for (software.amazon.awssdk.services.schemas.model.ListSchemaVersionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.schemas.paginators.ListSchemaVersionsIterable responses = client.listSchemaVersionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of Limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSchemaVersions(software.amazon.awssdk.services.schemas.model.ListSchemaVersionsRequest)
operation.
listSchemaVersionsRequest - BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSchemaVersionsIterable listSchemaVersionsPaginator(Consumer<ListSchemaVersionsRequest.Builder> listSchemaVersionsRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException
Provides a list of the schema versions and related information.
This is a variant of
listSchemaVersions(software.amazon.awssdk.services.schemas.model.ListSchemaVersionsRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.schemas.paginators.ListSchemaVersionsIterable responses = client.listSchemaVersionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.schemas.paginators.ListSchemaVersionsIterable responses = client
.listSchemaVersionsPaginator(request);
for (software.amazon.awssdk.services.schemas.model.ListSchemaVersionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.schemas.paginators.ListSchemaVersionsIterable responses = client.listSchemaVersionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of Limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSchemaVersions(software.amazon.awssdk.services.schemas.model.ListSchemaVersionsRequest)
operation.
This is a convenience which creates an instance of the ListSchemaVersionsRequest.Builder avoiding the
need to create one manually via ListSchemaVersionsRequest.builder()
listSchemaVersionsRequest - A Consumer that will call methods on ListSchemaVersionsRequest.Builder to create a
request.BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSchemasResponse listSchemas(ListSchemasRequest listSchemasRequest) throws ServiceUnavailableException, BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException
List the schemas.
listSchemasRequest - ServiceUnavailableException - 503 responseBadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSchemasResponse listSchemas(Consumer<ListSchemasRequest.Builder> listSchemasRequest) throws ServiceUnavailableException, BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException
List the schemas.
This is a convenience which creates an instance of the ListSchemasRequest.Builder avoiding the need to
create one manually via ListSchemasRequest.builder()
listSchemasRequest - A Consumer that will call methods on ListSchemasRequest.Builder to create a request.ServiceUnavailableException - 503 responseBadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSchemasIterable listSchemasPaginator(ListSchemasRequest listSchemasRequest) throws ServiceUnavailableException, BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException
List the schemas.
This is a variant of listSchemas(software.amazon.awssdk.services.schemas.model.ListSchemasRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.schemas.paginators.ListSchemasIterable responses = client.listSchemasPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.schemas.paginators.ListSchemasIterable responses = client.listSchemasPaginator(request);
for (software.amazon.awssdk.services.schemas.model.ListSchemasResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.schemas.paginators.ListSchemasIterable responses = client.listSchemasPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of Limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSchemas(software.amazon.awssdk.services.schemas.model.ListSchemasRequest) operation.
listSchemasRequest - ServiceUnavailableException - 503 responseBadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSchemasIterable listSchemasPaginator(Consumer<ListSchemasRequest.Builder> listSchemasRequest) throws ServiceUnavailableException, BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException
List the schemas.
This is a variant of listSchemas(software.amazon.awssdk.services.schemas.model.ListSchemasRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.schemas.paginators.ListSchemasIterable responses = client.listSchemasPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.schemas.paginators.ListSchemasIterable responses = client.listSchemasPaginator(request);
for (software.amazon.awssdk.services.schemas.model.ListSchemasResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.schemas.paginators.ListSchemasIterable responses = client.listSchemasPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of Limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSchemas(software.amazon.awssdk.services.schemas.model.ListSchemasRequest) operation.
This is a convenience which creates an instance of the ListSchemasRequest.Builder avoiding the need to
create one manually via ListSchemasRequest.builder()
listSchemasRequest - A Consumer that will call methods on ListSchemasRequest.Builder to create a request.ServiceUnavailableException - 503 responseBadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws NotFoundException, BadRequestException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException
Get tags for resource.
listTagsForResourceRequest - NotFoundException - 404 responseBadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws NotFoundException, BadRequestException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException
Get tags for resource.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a
request.NotFoundException - 404 responseBadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutCodeBindingResponse putCodeBinding(PutCodeBindingRequest putCodeBindingRequest) throws GoneException, BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, SchemasException
Put code binding URI
putCodeBindingRequest - GoneException - 410 responseBadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseTooManyRequestsException - 429 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutCodeBindingResponse putCodeBinding(Consumer<PutCodeBindingRequest.Builder> putCodeBindingRequest) throws GoneException, BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, SchemasException
Put code binding URI
This is a convenience which creates an instance of the PutCodeBindingRequest.Builder avoiding the need to
create one manually via PutCodeBindingRequest.builder()
putCodeBindingRequest - A Consumer that will call methods on PutCodeBindingRequest.Builder to create a request.GoneException - 410 responseBadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseTooManyRequestsException - 429 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutResourcePolicyResponse putResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest) throws BadRequestException, UnauthorizedException, PreconditionFailedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException
The name of the policy.
putResourcePolicyRequest - The name of the policy.BadRequestException - 400 responseUnauthorizedException - 401 responsePreconditionFailedException - 412 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutResourcePolicyResponse putResourcePolicy(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest) throws BadRequestException, UnauthorizedException, PreconditionFailedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException
The name of the policy.
This is a convenience which creates an instance of the PutResourcePolicyRequest.Builder avoiding the need
to create one manually via PutResourcePolicyRequest.builder()
putResourcePolicyRequest - A Consumer that will call methods on PutResourcePolicyRequest.Builder to create a request.
The name of the policy.BadRequestException - 400 responseUnauthorizedException - 401 responsePreconditionFailedException - 412 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault SearchSchemasResponse searchSchemas(SearchSchemasRequest searchSchemasRequest) throws ServiceUnavailableException, BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException
Search the schemas
searchSchemasRequest - ServiceUnavailableException - 503 responseBadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault SearchSchemasResponse searchSchemas(Consumer<SearchSchemasRequest.Builder> searchSchemasRequest) throws ServiceUnavailableException, BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException
Search the schemas
This is a convenience which creates an instance of the SearchSchemasRequest.Builder avoiding the need to
create one manually via SearchSchemasRequest.builder()
searchSchemasRequest - A Consumer that will call methods on SearchSchemasRequest.Builder to create a request.ServiceUnavailableException - 503 responseBadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault SearchSchemasIterable searchSchemasPaginator(SearchSchemasRequest searchSchemasRequest) throws ServiceUnavailableException, BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException
Search the schemas
This is a variant of searchSchemas(software.amazon.awssdk.services.schemas.model.SearchSchemasRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.schemas.paginators.SearchSchemasIterable responses = client.searchSchemasPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.schemas.paginators.SearchSchemasIterable responses = client.searchSchemasPaginator(request);
for (software.amazon.awssdk.services.schemas.model.SearchSchemasResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.schemas.paginators.SearchSchemasIterable responses = client.searchSchemasPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of Limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchSchemas(software.amazon.awssdk.services.schemas.model.SearchSchemasRequest) operation.
searchSchemasRequest - ServiceUnavailableException - 503 responseBadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault SearchSchemasIterable searchSchemasPaginator(Consumer<SearchSchemasRequest.Builder> searchSchemasRequest) throws ServiceUnavailableException, BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException
Search the schemas
This is a variant of searchSchemas(software.amazon.awssdk.services.schemas.model.SearchSchemasRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.schemas.paginators.SearchSchemasIterable responses = client.searchSchemasPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.schemas.paginators.SearchSchemasIterable responses = client.searchSchemasPaginator(request);
for (software.amazon.awssdk.services.schemas.model.SearchSchemasResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.schemas.paginators.SearchSchemasIterable responses = client.searchSchemasPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of Limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchSchemas(software.amazon.awssdk.services.schemas.model.SearchSchemasRequest) operation.
This is a convenience which creates an instance of the SearchSchemasRequest.Builder avoiding the need to
create one manually via SearchSchemasRequest.builder()
searchSchemasRequest - A Consumer that will call methods on SearchSchemasRequest.Builder to create a request.ServiceUnavailableException - 503 responseBadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StartDiscovererResponse startDiscoverer(StartDiscovererRequest startDiscovererRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException
Starts the discoverer
startDiscovererRequest - BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StartDiscovererResponse startDiscoverer(Consumer<StartDiscovererRequest.Builder> startDiscovererRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException
Starts the discoverer
This is a convenience which creates an instance of the StartDiscovererRequest.Builder avoiding the need
to create one manually via StartDiscovererRequest.builder()
startDiscovererRequest - A Consumer that will call methods on StartDiscovererRequest.Builder to create a request.BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StopDiscovererResponse stopDiscoverer(StopDiscovererRequest stopDiscovererRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException
Stops the discoverer
stopDiscovererRequest - BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StopDiscovererResponse stopDiscoverer(Consumer<StopDiscovererRequest.Builder> stopDiscovererRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException
Stops the discoverer
This is a convenience which creates an instance of the StopDiscovererRequest.Builder avoiding the need to
create one manually via StopDiscovererRequest.builder()
stopDiscovererRequest - A Consumer that will call methods on StopDiscovererRequest.Builder to create a request.BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws NotFoundException, BadRequestException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException
Add tags to a resource.
tagResourceRequest - NotFoundException - 404 responseBadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws NotFoundException, BadRequestException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException
Add tags to a resource.
This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.NotFoundException - 404 responseBadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws NotFoundException, BadRequestException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException
Removes tags from a resource.
untagResourceRequest - NotFoundException - 404 responseBadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws NotFoundException, BadRequestException, InternalServerErrorException, ForbiddenException, AwsServiceException, SdkClientException, SchemasException
Removes tags from a resource.
This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.NotFoundException - 404 responseBadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateDiscovererResponse updateDiscoverer(UpdateDiscovererRequest updateDiscovererRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException
Updates the discoverer
updateDiscovererRequest - BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateDiscovererResponse updateDiscoverer(Consumer<UpdateDiscovererRequest.Builder> updateDiscovererRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException
Updates the discoverer
This is a convenience which creates an instance of the UpdateDiscovererRequest.Builder avoiding the need
to create one manually via UpdateDiscovererRequest.builder()
updateDiscovererRequest - A Consumer that will call methods on UpdateDiscovererRequest.Builder to create a request.BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateRegistryResponse updateRegistry(UpdateRegistryRequest updateRegistryRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException
Updates a registry.
updateRegistryRequest - Updates the registry.BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateRegistryResponse updateRegistry(Consumer<UpdateRegistryRequest.Builder> updateRegistryRequest) throws BadRequestException, UnauthorizedException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException
Updates a registry.
This is a convenience which creates an instance of the UpdateRegistryRequest.Builder avoiding the need to
create one manually via UpdateRegistryRequest.builder()
updateRegistryRequest - A Consumer that will call methods on UpdateRegistryRequest.Builder to create a request.
Updates the registry.BadRequestException - 400 responseUnauthorizedException - 401 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateSchemaResponse updateSchema(UpdateSchemaRequest updateSchemaRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException
Updates the schema definition
Inactive schemas will be deleted after two years.
updateSchemaRequest - BadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateSchemaResponse updateSchema(Consumer<UpdateSchemaRequest.Builder> updateSchemaRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, SchemasException
Updates the schema definition
Inactive schemas will be deleted after two years.
This is a convenience which creates an instance of the UpdateSchemaRequest.Builder avoiding the need to
create one manually via UpdateSchemaRequest.builder()
updateSchemaRequest - A Consumer that will call methods on UpdateSchemaRequest.Builder to create a request.BadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseServiceUnavailableException - 503 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SchemasException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionstatic ServiceMetadata serviceMetadata()
default SchemasWaiter waiter()
SchemasWaiter using this client.
Waiters created via this method are managed by the SDK and resources will be released when the service client is closed.
SchemasWaiterCopyright © 2022. All rights reserved.