Interface SchemasAsyncClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface SchemasAsyncClient extends AwsClient
Service client for accessing Schemas asynchronously. This can be created using the staticbuilder()method.Amazon EventBridge Schema Registry
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
createDiscoverer
default CompletableFuture<CreateDiscovererResponse> createDiscoverer(CreateDiscovererRequest createDiscovererRequest)
Creates a discoverer.
- Parameters:
createDiscovererRequest-- Returns:
- A Java Future containing the result of the CreateDiscoverer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- InternalServerErrorException 500 response
- UnauthorizedException 401 response
- ForbiddenException 403 response
- ServiceUnavailableException 503 response
- ConflictException 409 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
createDiscoverer
default CompletableFuture<CreateDiscovererResponse> createDiscoverer(Consumer<CreateDiscovererRequest.Builder> createDiscovererRequest)
Creates a discoverer.
This is a convenience which creates an instance of the
CreateDiscovererRequest.Builderavoiding the need to create one manually viaCreateDiscovererRequest.builder()- Parameters:
createDiscovererRequest- AConsumerthat will call methods onCreateDiscovererRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateDiscoverer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- InternalServerErrorException 500 response
- UnauthorizedException 401 response
- ForbiddenException 403 response
- ServiceUnavailableException 503 response
- ConflictException 409 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
createRegistry
default CompletableFuture<CreateRegistryResponse> createRegistry(CreateRegistryRequest createRegistryRequest)
Creates a registry.
- Parameters:
createRegistryRequest-- Returns:
- A Java Future containing the result of the CreateRegistry operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- InternalServerErrorException 500 response
- UnauthorizedException 401 response
- ForbiddenException 403 response
- ServiceUnavailableException 503 response
- ConflictException 409 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
createRegistry
default CompletableFuture<CreateRegistryResponse> createRegistry(Consumer<CreateRegistryRequest.Builder> createRegistryRequest)
Creates a registry.
This is a convenience which creates an instance of the
CreateRegistryRequest.Builderavoiding the need to create one manually viaCreateRegistryRequest.builder()- Parameters:
createRegistryRequest- AConsumerthat will call methods onCreateRegistryRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateRegistry operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- InternalServerErrorException 500 response
- UnauthorizedException 401 response
- ForbiddenException 403 response
- ServiceUnavailableException 503 response
- ConflictException 409 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
createSchema
default CompletableFuture<CreateSchemaResponse> createSchema(CreateSchemaRequest createSchemaRequest)
Creates a schema definition.
Inactive schemas will be deleted after two years.
- Parameters:
createSchemaRequest-- Returns:
- A Java Future containing the result of the CreateSchema operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ServiceUnavailableException 503 response
- BadRequestException 400 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
createSchema
default CompletableFuture<CreateSchemaResponse> createSchema(Consumer<CreateSchemaRequest.Builder> createSchemaRequest)
Creates a schema definition.
Inactive schemas will be deleted after two years.
This is a convenience which creates an instance of the
CreateSchemaRequest.Builderavoiding the need to create one manually viaCreateSchemaRequest.builder()- Parameters:
createSchemaRequest- AConsumerthat will call methods onCreateSchemaRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateSchema operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ServiceUnavailableException 503 response
- BadRequestException 400 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
deleteDiscoverer
default CompletableFuture<DeleteDiscovererResponse> deleteDiscoverer(DeleteDiscovererRequest deleteDiscovererRequest)
Deletes a discoverer.
- Parameters:
deleteDiscovererRequest-- Returns:
- A Java Future containing the result of the DeleteDiscoverer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
deleteDiscoverer
default CompletableFuture<DeleteDiscovererResponse> deleteDiscoverer(Consumer<DeleteDiscovererRequest.Builder> deleteDiscovererRequest)
Deletes a discoverer.
This is a convenience which creates an instance of the
DeleteDiscovererRequest.Builderavoiding the need to create one manually viaDeleteDiscovererRequest.builder()- Parameters:
deleteDiscovererRequest- AConsumerthat will call methods onDeleteDiscovererRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteDiscoverer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
deleteRegistry
default CompletableFuture<DeleteRegistryResponse> deleteRegistry(DeleteRegistryRequest deleteRegistryRequest)
Deletes a Registry.
- Parameters:
deleteRegistryRequest-- Returns:
- A Java Future containing the result of the DeleteRegistry operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
deleteRegistry
default CompletableFuture<DeleteRegistryResponse> deleteRegistry(Consumer<DeleteRegistryRequest.Builder> deleteRegistryRequest)
Deletes a Registry.
This is a convenience which creates an instance of the
DeleteRegistryRequest.Builderavoiding the need to create one manually viaDeleteRegistryRequest.builder()- Parameters:
deleteRegistryRequest- AConsumerthat will call methods onDeleteRegistryRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteRegistry operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
deleteResourcePolicy
default CompletableFuture<DeleteResourcePolicyResponse> deleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest)
Delete the resource-based policy attached to the specified registry.
- Parameters:
deleteResourcePolicyRequest-- Returns:
- A Java Future containing the result of the DeleteResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
deleteResourcePolicy
default CompletableFuture<DeleteResourcePolicyResponse> deleteResourcePolicy(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest)
Delete the resource-based policy attached to the specified registry.
This is a convenience which creates an instance of the
DeleteResourcePolicyRequest.Builderavoiding the need to create one manually viaDeleteResourcePolicyRequest.builder()- Parameters:
deleteResourcePolicyRequest- AConsumerthat will call methods onDeleteResourcePolicyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
deleteSchema
default CompletableFuture<DeleteSchemaResponse> deleteSchema(DeleteSchemaRequest deleteSchemaRequest)
Delete a schema definition.
- Parameters:
deleteSchemaRequest-- Returns:
- A Java Future containing the result of the DeleteSchema operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
deleteSchema
default CompletableFuture<DeleteSchemaResponse> deleteSchema(Consumer<DeleteSchemaRequest.Builder> deleteSchemaRequest)
Delete a schema definition.
This is a convenience which creates an instance of the
DeleteSchemaRequest.Builderavoiding the need to create one manually viaDeleteSchemaRequest.builder()- Parameters:
deleteSchemaRequest- AConsumerthat will call methods onDeleteSchemaRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteSchema operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
deleteSchemaVersion
default CompletableFuture<DeleteSchemaVersionResponse> deleteSchemaVersion(DeleteSchemaVersionRequest deleteSchemaVersionRequest)
Delete the schema version definition
- Parameters:
deleteSchemaVersionRequest-- Returns:
- A Java Future containing the result of the DeleteSchemaVersion operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
deleteSchemaVersion
default CompletableFuture<DeleteSchemaVersionResponse> deleteSchemaVersion(Consumer<DeleteSchemaVersionRequest.Builder> deleteSchemaVersionRequest)
Delete the schema version definition
This is a convenience which creates an instance of the
DeleteSchemaVersionRequest.Builderavoiding the need to create one manually viaDeleteSchemaVersionRequest.builder()- Parameters:
deleteSchemaVersionRequest- AConsumerthat will call methods onDeleteSchemaVersionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteSchemaVersion operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
describeCodeBinding
default CompletableFuture<DescribeCodeBindingResponse> describeCodeBinding(DescribeCodeBindingRequest describeCodeBindingRequest)
Describe the code binding URI.
- Parameters:
describeCodeBindingRequest-- Returns:
- A Java Future containing the result of the DescribeCodeBinding operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- TooManyRequestsException 429 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
describeCodeBinding
default CompletableFuture<DescribeCodeBindingResponse> describeCodeBinding(Consumer<DescribeCodeBindingRequest.Builder> describeCodeBindingRequest)
Describe the code binding URI.
This is a convenience which creates an instance of the
DescribeCodeBindingRequest.Builderavoiding the need to create one manually viaDescribeCodeBindingRequest.builder()- Parameters:
describeCodeBindingRequest- AConsumerthat will call methods onDescribeCodeBindingRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeCodeBinding operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- TooManyRequestsException 429 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
describeDiscoverer
default CompletableFuture<DescribeDiscovererResponse> describeDiscoverer(DescribeDiscovererRequest describeDiscovererRequest)
Describes the discoverer.
- Parameters:
describeDiscovererRequest-- Returns:
- A Java Future containing the result of the DescribeDiscoverer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
describeDiscoverer
default CompletableFuture<DescribeDiscovererResponse> describeDiscoverer(Consumer<DescribeDiscovererRequest.Builder> describeDiscovererRequest)
Describes the discoverer.
This is a convenience which creates an instance of the
DescribeDiscovererRequest.Builderavoiding the need to create one manually viaDescribeDiscovererRequest.builder()- Parameters:
describeDiscovererRequest- AConsumerthat will call methods onDescribeDiscovererRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeDiscoverer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
describeRegistry
default CompletableFuture<DescribeRegistryResponse> describeRegistry(DescribeRegistryRequest describeRegistryRequest)
Describes the registry.
- Parameters:
describeRegistryRequest-- Returns:
- A Java Future containing the result of the DescribeRegistry operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
describeRegistry
default CompletableFuture<DescribeRegistryResponse> describeRegistry(Consumer<DescribeRegistryRequest.Builder> describeRegistryRequest)
Describes the registry.
This is a convenience which creates an instance of the
DescribeRegistryRequest.Builderavoiding the need to create one manually viaDescribeRegistryRequest.builder()- Parameters:
describeRegistryRequest- AConsumerthat will call methods onDescribeRegistryRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeRegistry operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
describeSchema
default CompletableFuture<DescribeSchemaResponse> describeSchema(DescribeSchemaRequest describeSchemaRequest)
Retrieve the schema definition.
- Parameters:
describeSchemaRequest-- Returns:
- A Java Future containing the result of the DescribeSchema operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
describeSchema
default CompletableFuture<DescribeSchemaResponse> describeSchema(Consumer<DescribeSchemaRequest.Builder> describeSchemaRequest)
Retrieve the schema definition.
This is a convenience which creates an instance of the
DescribeSchemaRequest.Builderavoiding the need to create one manually viaDescribeSchemaRequest.builder()- Parameters:
describeSchemaRequest- AConsumerthat will call methods onDescribeSchemaRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeSchema operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
exportSchema
default CompletableFuture<ExportSchemaResponse> exportSchema(ExportSchemaRequest exportSchemaRequest)
Invokes the ExportSchema operation asynchronously.- Parameters:
exportSchemaRequest-- Returns:
- A Java Future containing the result of the ExportSchema operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- TooManyRequestsException 429 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
exportSchema
default CompletableFuture<ExportSchemaResponse> exportSchema(Consumer<ExportSchemaRequest.Builder> exportSchemaRequest)
Invokes the ExportSchema operation asynchronously.
This is a convenience which creates an instance of the
ExportSchemaRequest.Builderavoiding the need to create one manually viaExportSchemaRequest.builder()- Parameters:
exportSchemaRequest- AConsumerthat will call methods onExportSchemaRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ExportSchema operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- TooManyRequestsException 429 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
getCodeBindingSource
default CompletableFuture<GetCodeBindingSourceResponse> getCodeBindingSource(GetCodeBindingSourceRequest getCodeBindingSourceRequest)
Get the code binding source URI.
- Parameters:
getCodeBindingSourceRequest-- Returns:
- A Java Future containing the result of the GetCodeBindingSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- TooManyRequestsException 429 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
getCodeBindingSource
default CompletableFuture<GetCodeBindingSourceResponse> getCodeBindingSource(Consumer<GetCodeBindingSourceRequest.Builder> getCodeBindingSourceRequest)
Get the code binding source URI.
This is a convenience which creates an instance of the
GetCodeBindingSourceRequest.Builderavoiding the need to create one manually viaGetCodeBindingSourceRequest.builder()- Parameters:
getCodeBindingSourceRequest- AConsumerthat will call methods onGetCodeBindingSourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetCodeBindingSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- TooManyRequestsException 429 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
getDiscoveredSchema
default CompletableFuture<GetDiscoveredSchemaResponse> getDiscoveredSchema(GetDiscoveredSchemaRequest getDiscoveredSchemaRequest)
Get the discovered schema that was generated based on sampled events.
- Parameters:
getDiscoveredSchemaRequest-- Returns:
- A Java Future containing the result of the GetDiscoveredSchema operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ServiceUnavailableException 503 response
- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
getDiscoveredSchema
default CompletableFuture<GetDiscoveredSchemaResponse> getDiscoveredSchema(Consumer<GetDiscoveredSchemaRequest.Builder> getDiscoveredSchemaRequest)
Get the discovered schema that was generated based on sampled events.
This is a convenience which creates an instance of the
GetDiscoveredSchemaRequest.Builderavoiding the need to create one manually viaGetDiscoveredSchemaRequest.builder()- Parameters:
getDiscoveredSchemaRequest- AConsumerthat will call methods onGetDiscoveredSchemaRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetDiscoveredSchema operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ServiceUnavailableException 503 response
- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
getResourcePolicy
default CompletableFuture<GetResourcePolicyResponse> getResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest)
Retrieves the resource-based policy attached to a given registry.
- Parameters:
getResourcePolicyRequest-- Returns:
- A Java Future containing the result of the GetResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
getResourcePolicy
default CompletableFuture<GetResourcePolicyResponse> getResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest)
Retrieves the resource-based policy attached to a given registry.
This is a convenience which creates an instance of the
GetResourcePolicyRequest.Builderavoiding the need to create one manually viaGetResourcePolicyRequest.builder()- Parameters:
getResourcePolicyRequest- AConsumerthat will call methods onGetResourcePolicyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
listDiscoverers
default CompletableFuture<ListDiscoverersResponse> listDiscoverers(ListDiscoverersRequest listDiscoverersRequest)
List the discoverers.
- Parameters:
listDiscoverersRequest-- Returns:
- A Java Future containing the result of the ListDiscoverers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ServiceUnavailableException 503 response
- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
listDiscoverers
default CompletableFuture<ListDiscoverersResponse> listDiscoverers(Consumer<ListDiscoverersRequest.Builder> listDiscoverersRequest)
List the discoverers.
This is a convenience which creates an instance of the
ListDiscoverersRequest.Builderavoiding the need to create one manually viaListDiscoverersRequest.builder()- Parameters:
listDiscoverersRequest- AConsumerthat will call methods onListDiscoverersRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListDiscoverers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ServiceUnavailableException 503 response
- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
listDiscoverersPaginator
default ListDiscoverersPublisher listDiscoverersPaginator(ListDiscoverersRequest listDiscoverersRequest)
List the discoverers.
This is a variant of
listDiscoverers(software.amazon.awssdk.services.schemas.model.ListDiscoverersRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.schemas.paginators.ListDiscoverersPublisher publisher = client.listDiscoverersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.schemas.paginators.ListDiscoverersPublisher publisher = client.listDiscoverersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.schemas.model.ListDiscoverersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.schemas.model.ListDiscoverersResponse response) { //... }; });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.- Parameters:
listDiscoverersRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ServiceUnavailableException 503 response
- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
listDiscoverersPaginator
default ListDiscoverersPublisher listDiscoverersPaginator(Consumer<ListDiscoverersRequest.Builder> listDiscoverersRequest)
List the discoverers.
This is a variant of
listDiscoverers(software.amazon.awssdk.services.schemas.model.ListDiscoverersRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.schemas.paginators.ListDiscoverersPublisher publisher = client.listDiscoverersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.schemas.paginators.ListDiscoverersPublisher publisher = client.listDiscoverersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.schemas.model.ListDiscoverersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.schemas.model.ListDiscoverersResponse response) { //... }; });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.Builderavoiding the need to create one manually viaListDiscoverersRequest.builder()- Parameters:
listDiscoverersRequest- AConsumerthat will call methods onListDiscoverersRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ServiceUnavailableException 503 response
- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
listRegistries
default CompletableFuture<ListRegistriesResponse> listRegistries(ListRegistriesRequest listRegistriesRequest)
List the registries.
- Parameters:
listRegistriesRequest-- Returns:
- A Java Future containing the result of the ListRegistries operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ServiceUnavailableException 503 response
- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
listRegistries
default CompletableFuture<ListRegistriesResponse> listRegistries(Consumer<ListRegistriesRequest.Builder> listRegistriesRequest)
List the registries.
This is a convenience which creates an instance of the
ListRegistriesRequest.Builderavoiding the need to create one manually viaListRegistriesRequest.builder()- Parameters:
listRegistriesRequest- AConsumerthat will call methods onListRegistriesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListRegistries operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ServiceUnavailableException 503 response
- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
listRegistriesPaginator
default ListRegistriesPublisher listRegistriesPaginator(ListRegistriesRequest listRegistriesRequest)
List the registries.
This is a variant of
listRegistries(software.amazon.awssdk.services.schemas.model.ListRegistriesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.schemas.paginators.ListRegistriesPublisher publisher = client.listRegistriesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.schemas.paginators.ListRegistriesPublisher publisher = client.listRegistriesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.schemas.model.ListRegistriesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.schemas.model.ListRegistriesResponse response) { //... }; });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.- Parameters:
listRegistriesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ServiceUnavailableException 503 response
- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
listRegistriesPaginator
default ListRegistriesPublisher listRegistriesPaginator(Consumer<ListRegistriesRequest.Builder> listRegistriesRequest)
List the registries.
This is a variant of
listRegistries(software.amazon.awssdk.services.schemas.model.ListRegistriesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.schemas.paginators.ListRegistriesPublisher publisher = client.listRegistriesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.schemas.paginators.ListRegistriesPublisher publisher = client.listRegistriesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.schemas.model.ListRegistriesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.schemas.model.ListRegistriesResponse response) { //... }; });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.Builderavoiding the need to create one manually viaListRegistriesRequest.builder()- Parameters:
listRegistriesRequest- AConsumerthat will call methods onListRegistriesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ServiceUnavailableException 503 response
- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
listSchemaVersions
default CompletableFuture<ListSchemaVersionsResponse> listSchemaVersions(ListSchemaVersionsRequest listSchemaVersionsRequest)
Provides a list of the schema versions and related information.
- Parameters:
listSchemaVersionsRequest-- Returns:
- A Java Future containing the result of the ListSchemaVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
listSchemaVersions
default CompletableFuture<ListSchemaVersionsResponse> listSchemaVersions(Consumer<ListSchemaVersionsRequest.Builder> listSchemaVersionsRequest)
Provides a list of the schema versions and related information.
This is a convenience which creates an instance of the
ListSchemaVersionsRequest.Builderavoiding the need to create one manually viaListSchemaVersionsRequest.builder()- Parameters:
listSchemaVersionsRequest- AConsumerthat will call methods onListSchemaVersionsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListSchemaVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
listSchemaVersionsPaginator
default ListSchemaVersionsPublisher listSchemaVersionsPaginator(ListSchemaVersionsRequest listSchemaVersionsRequest)
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 publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.schemas.paginators.ListSchemaVersionsPublisher publisher = client.listSchemaVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.schemas.paginators.ListSchemaVersionsPublisher publisher = client.listSchemaVersionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.schemas.model.ListSchemaVersionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.schemas.model.ListSchemaVersionsResponse response) { //... }; });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.- Parameters:
listSchemaVersionsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
listSchemaVersionsPaginator
default ListSchemaVersionsPublisher listSchemaVersionsPaginator(Consumer<ListSchemaVersionsRequest.Builder> listSchemaVersionsRequest)
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 publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.schemas.paginators.ListSchemaVersionsPublisher publisher = client.listSchemaVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.schemas.paginators.ListSchemaVersionsPublisher publisher = client.listSchemaVersionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.schemas.model.ListSchemaVersionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.schemas.model.ListSchemaVersionsResponse response) { //... }; });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.Builderavoiding the need to create one manually viaListSchemaVersionsRequest.builder()- Parameters:
listSchemaVersionsRequest- AConsumerthat will call methods onListSchemaVersionsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
listSchemas
default CompletableFuture<ListSchemasResponse> listSchemas(ListSchemasRequest listSchemasRequest)
List the schemas.
- Parameters:
listSchemasRequest-- Returns:
- A Java Future containing the result of the ListSchemas operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ServiceUnavailableException 503 response
- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
listSchemas
default CompletableFuture<ListSchemasResponse> listSchemas(Consumer<ListSchemasRequest.Builder> listSchemasRequest)
List the schemas.
This is a convenience which creates an instance of the
ListSchemasRequest.Builderavoiding the need to create one manually viaListSchemasRequest.builder()- Parameters:
listSchemasRequest- AConsumerthat will call methods onListSchemasRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListSchemas operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ServiceUnavailableException 503 response
- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
listSchemasPaginator
default ListSchemasPublisher listSchemasPaginator(ListSchemasRequest listSchemasRequest)
List the schemas.
This is a variant of
listSchemas(software.amazon.awssdk.services.schemas.model.ListSchemasRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.schemas.paginators.ListSchemasPublisher publisher = client.listSchemasPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.schemas.paginators.ListSchemasPublisher publisher = client.listSchemasPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.schemas.model.ListSchemasResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.schemas.model.ListSchemasResponse response) { //... }; });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.- Parameters:
listSchemasRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ServiceUnavailableException 503 response
- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
listSchemasPaginator
default ListSchemasPublisher listSchemasPaginator(Consumer<ListSchemasRequest.Builder> listSchemasRequest)
List the schemas.
This is a variant of
listSchemas(software.amazon.awssdk.services.schemas.model.ListSchemasRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.schemas.paginators.ListSchemasPublisher publisher = client.listSchemasPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.schemas.paginators.ListSchemasPublisher publisher = client.listSchemasPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.schemas.model.ListSchemasResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.schemas.model.ListSchemasResponse response) { //... }; });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.Builderavoiding the need to create one manually viaListSchemasRequest.builder()- Parameters:
listSchemasRequest- AConsumerthat will call methods onListSchemasRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ServiceUnavailableException 503 response
- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Get tags for resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException 404 response
- BadRequestException 400 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Get tags for resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException 404 response
- BadRequestException 400 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
putCodeBinding
default CompletableFuture<PutCodeBindingResponse> putCodeBinding(PutCodeBindingRequest putCodeBindingRequest)
Put code binding URI
- Parameters:
putCodeBindingRequest-- Returns:
- A Java Future containing the result of the PutCodeBinding operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- GoneException 410 response
- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- TooManyRequestsException 429 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
putCodeBinding
default CompletableFuture<PutCodeBindingResponse> putCodeBinding(Consumer<PutCodeBindingRequest.Builder> putCodeBindingRequest)
Put code binding URI
This is a convenience which creates an instance of the
PutCodeBindingRequest.Builderavoiding the need to create one manually viaPutCodeBindingRequest.builder()- Parameters:
putCodeBindingRequest- AConsumerthat will call methods onPutCodeBindingRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the PutCodeBinding operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- GoneException 410 response
- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- TooManyRequestsException 429 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
putResourcePolicy
default CompletableFuture<PutResourcePolicyResponse> putResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest)
The name of the policy.
- Parameters:
putResourcePolicyRequest- The name of the policy.- Returns:
- A Java Future containing the result of the PutResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- UnauthorizedException 401 response
- PreconditionFailedException 412 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
putResourcePolicy
default CompletableFuture<PutResourcePolicyResponse> putResourcePolicy(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest)
The name of the policy.
This is a convenience which creates an instance of the
PutResourcePolicyRequest.Builderavoiding the need to create one manually viaPutResourcePolicyRequest.builder()- Parameters:
putResourcePolicyRequest- AConsumerthat will call methods onPutResourcePolicyRequest.Builderto create a request. The name of the policy.- Returns:
- A Java Future containing the result of the PutResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- UnauthorizedException 401 response
- PreconditionFailedException 412 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
searchSchemas
default CompletableFuture<SearchSchemasResponse> searchSchemas(SearchSchemasRequest searchSchemasRequest)
Search the schemas
- Parameters:
searchSchemasRequest-- Returns:
- A Java Future containing the result of the SearchSchemas operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ServiceUnavailableException 503 response
- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
searchSchemas
default CompletableFuture<SearchSchemasResponse> searchSchemas(Consumer<SearchSchemasRequest.Builder> searchSchemasRequest)
Search the schemas
This is a convenience which creates an instance of the
SearchSchemasRequest.Builderavoiding the need to create one manually viaSearchSchemasRequest.builder()- Parameters:
searchSchemasRequest- AConsumerthat will call methods onSearchSchemasRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the SearchSchemas operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ServiceUnavailableException 503 response
- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
searchSchemasPaginator
default SearchSchemasPublisher searchSchemasPaginator(SearchSchemasRequest searchSchemasRequest)
Search the schemas
This is a variant of
searchSchemas(software.amazon.awssdk.services.schemas.model.SearchSchemasRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.schemas.paginators.SearchSchemasPublisher publisher = client.searchSchemasPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.schemas.paginators.SearchSchemasPublisher publisher = client.searchSchemasPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.schemas.model.SearchSchemasResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.schemas.model.SearchSchemasResponse response) { //... }; });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.- Parameters:
searchSchemasRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ServiceUnavailableException 503 response
- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
searchSchemasPaginator
default SearchSchemasPublisher searchSchemasPaginator(Consumer<SearchSchemasRequest.Builder> searchSchemasRequest)
Search the schemas
This is a variant of
searchSchemas(software.amazon.awssdk.services.schemas.model.SearchSchemasRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.schemas.paginators.SearchSchemasPublisher publisher = client.searchSchemasPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.schemas.paginators.SearchSchemasPublisher publisher = client.searchSchemasPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.schemas.model.SearchSchemasResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.schemas.model.SearchSchemasResponse response) { //... }; });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.Builderavoiding the need to create one manually viaSearchSchemasRequest.builder()- Parameters:
searchSchemasRequest- AConsumerthat will call methods onSearchSchemasRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ServiceUnavailableException 503 response
- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
startDiscoverer
default CompletableFuture<StartDiscovererResponse> startDiscoverer(StartDiscovererRequest startDiscovererRequest)
Starts the discoverer
- Parameters:
startDiscovererRequest-- Returns:
- A Java Future containing the result of the StartDiscoverer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
startDiscoverer
default CompletableFuture<StartDiscovererResponse> startDiscoverer(Consumer<StartDiscovererRequest.Builder> startDiscovererRequest)
Starts the discoverer
This is a convenience which creates an instance of the
StartDiscovererRequest.Builderavoiding the need to create one manually viaStartDiscovererRequest.builder()- Parameters:
startDiscovererRequest- AConsumerthat will call methods onStartDiscovererRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartDiscoverer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
stopDiscoverer
default CompletableFuture<StopDiscovererResponse> stopDiscoverer(StopDiscovererRequest stopDiscovererRequest)
Stops the discoverer
- Parameters:
stopDiscovererRequest-- Returns:
- A Java Future containing the result of the StopDiscoverer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
stopDiscoverer
default CompletableFuture<StopDiscovererResponse> stopDiscoverer(Consumer<StopDiscovererRequest.Builder> stopDiscovererRequest)
Stops the discoverer
This is a convenience which creates an instance of the
StopDiscovererRequest.Builderavoiding the need to create one manually viaStopDiscovererRequest.builder()- Parameters:
stopDiscovererRequest- AConsumerthat will call methods onStopDiscovererRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StopDiscoverer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)
Add tags to a resource.
- Parameters:
tagResourceRequest-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException 404 response
- BadRequestException 400 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Add tags to a resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException 404 response
- BadRequestException 400 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)
Removes tags from a resource.
- Parameters:
untagResourceRequest-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException 404 response
- BadRequestException 400 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes tags from a resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException 404 response
- BadRequestException 400 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
updateDiscoverer
default CompletableFuture<UpdateDiscovererResponse> updateDiscoverer(UpdateDiscovererRequest updateDiscovererRequest)
Updates the discoverer
- Parameters:
updateDiscovererRequest-- Returns:
- A Java Future containing the result of the UpdateDiscoverer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
updateDiscoverer
default CompletableFuture<UpdateDiscovererResponse> updateDiscoverer(Consumer<UpdateDiscovererRequest.Builder> updateDiscovererRequest)
Updates the discoverer
This is a convenience which creates an instance of the
UpdateDiscovererRequest.Builderavoiding the need to create one manually viaUpdateDiscovererRequest.builder()- Parameters:
updateDiscovererRequest- AConsumerthat will call methods onUpdateDiscovererRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateDiscoverer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
updateRegistry
default CompletableFuture<UpdateRegistryResponse> updateRegistry(UpdateRegistryRequest updateRegistryRequest)
Updates a registry.
- Parameters:
updateRegistryRequest- Updates the registry.- Returns:
- A Java Future containing the result of the UpdateRegistry operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
updateRegistry
default CompletableFuture<UpdateRegistryResponse> updateRegistry(Consumer<UpdateRegistryRequest.Builder> updateRegistryRequest)
Updates a registry.
This is a convenience which creates an instance of the
UpdateRegistryRequest.Builderavoiding the need to create one manually viaUpdateRegistryRequest.builder()- Parameters:
updateRegistryRequest- AConsumerthat will call methods onUpdateRegistryRequest.Builderto create a request. Updates the registry.- Returns:
- A Java Future containing the result of the UpdateRegistry operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
updateSchema
default CompletableFuture<UpdateSchemaResponse> updateSchema(UpdateSchemaRequest updateSchemaRequest)
Updates the schema definition
Inactive schemas will be deleted after two years.
- Parameters:
updateSchemaRequest-- Returns:
- A Java Future containing the result of the UpdateSchema operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
updateSchema
default CompletableFuture<UpdateSchemaResponse> updateSchema(Consumer<UpdateSchemaRequest.Builder> updateSchemaRequest)
Updates the schema definition
Inactive schemas will be deleted after two years.
This is a convenience which creates an instance of the
UpdateSchemaRequest.Builderavoiding the need to create one manually viaUpdateSchemaRequest.builder()- Parameters:
updateSchemaRequest- AConsumerthat will call methods onUpdateSchemaRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateSchema operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException 400 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- SdkException 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.
- See Also:
- AWS API Documentation
-
waiter
default SchemasAsyncWaiter waiter()
Create an instance ofSchemasAsyncWaiterusing this client.Waiters created via this method are managed by the SDK and resources will be released when the service client is closed.
- Returns:
- an instance of
SchemasAsyncWaiter
-
serviceClientConfiguration
default SchemasServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
create
static SchemasAsyncClient create()
Create aSchemasAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static SchemasAsyncClientBuilder builder()
Create a builder that can be used to configure and create aSchemasAsyncClient.
-
-