Interface KeyspacesAsyncClient
- All Superinterfaces:
- AutoCloseable,- AwsClient,- SdkAutoCloseable,- SdkClient
builder()
 method.The asynchronous client performs non-blocking I/O when configured with any SdkAsyncHttpClient
 supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in
 some cases such as credentials retrieval and endpoint discovery as part of the async API call.
 Amazon Keyspaces (for Apache Cassandra) is a scalable, highly available, and managed Apache Cassandra-compatible database service. Amazon Keyspaces makes it easy to migrate, run, and scale Cassandra workloads in the Amazon Web Services Cloud. With just a few clicks on the Amazon Web Services Management Console or a few lines of code, you can create keyspaces and tables in Amazon Keyspaces, without deploying any infrastructure or installing software.
In addition to supporting Cassandra Query Language (CQL) requests via open-source Cassandra drivers, Amazon Keyspaces supports data definition language (DDL) operations to manage keyspaces and tables using the Amazon Web Services SDK and CLI, as well as infrastructure as code (IaC) services and tools such as CloudFormation and Terraform. This API reference describes the supported DDL operations in detail.
For the list of all supported CQL APIs, see Supported Cassandra APIs, operations, and data types in Amazon Keyspaces in the Amazon Keyspaces Developer Guide.
To learn how Amazon Keyspaces API actions are recorded with CloudTrail, see Amazon Keyspaces information in CloudTrail in the Amazon Keyspaces Developer Guide.
For more information about Amazon Web Services APIs, for example how to implement retry logic or how to sign Amazon Web Services API requests, see Amazon Web Services APIs in the General Reference.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String
- 
Method SummaryModifier and TypeMethodDescriptionstatic KeyspacesAsyncClientBuilderbuilder()Create a builder that can be used to configure and create aKeyspacesAsyncClient.static KeyspacesAsyncClientcreate()Create aKeyspacesAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CompletableFuture<CreateKeyspaceResponse> createKeyspace(Consumer<CreateKeyspaceRequest.Builder> createKeyspaceRequest) TheCreateKeyspaceoperation adds a new keyspace to your account.default CompletableFuture<CreateKeyspaceResponse> createKeyspace(CreateKeyspaceRequest createKeyspaceRequest) TheCreateKeyspaceoperation adds a new keyspace to your account.default CompletableFuture<CreateTableResponse> createTable(Consumer<CreateTableRequest.Builder> createTableRequest) TheCreateTableoperation adds a new table to the specified keyspace.default CompletableFuture<CreateTableResponse> createTable(CreateTableRequest createTableRequest) TheCreateTableoperation adds a new table to the specified keyspace.default CompletableFuture<CreateTypeResponse> createType(Consumer<CreateTypeRequest.Builder> createTypeRequest) TheCreateTypeoperation creates a new user-defined type in the specified keyspace.default CompletableFuture<CreateTypeResponse> createType(CreateTypeRequest createTypeRequest) TheCreateTypeoperation creates a new user-defined type in the specified keyspace.default CompletableFuture<DeleteKeyspaceResponse> deleteKeyspace(Consumer<DeleteKeyspaceRequest.Builder> deleteKeyspaceRequest) TheDeleteKeyspaceoperation deletes a keyspace and all of its tables.default CompletableFuture<DeleteKeyspaceResponse> deleteKeyspace(DeleteKeyspaceRequest deleteKeyspaceRequest) TheDeleteKeyspaceoperation deletes a keyspace and all of its tables.default CompletableFuture<DeleteTableResponse> deleteTable(Consumer<DeleteTableRequest.Builder> deleteTableRequest) TheDeleteTableoperation deletes a table and all of its data.default CompletableFuture<DeleteTableResponse> deleteTable(DeleteTableRequest deleteTableRequest) TheDeleteTableoperation deletes a table and all of its data.default CompletableFuture<DeleteTypeResponse> deleteType(Consumer<DeleteTypeRequest.Builder> deleteTypeRequest) TheDeleteTypeoperation deletes a user-defined type (UDT).default CompletableFuture<DeleteTypeResponse> deleteType(DeleteTypeRequest deleteTypeRequest) TheDeleteTypeoperation deletes a user-defined type (UDT).default CompletableFuture<GetKeyspaceResponse> getKeyspace(Consumer<GetKeyspaceRequest.Builder> getKeyspaceRequest) Returns the name of the specified keyspace, the Amazon Resource Name (ARN), the replication strategy, the Amazon Web Services Regions of a multi-Region keyspace, and the status of newly added Regions after anUpdateKeyspaceoperation.default CompletableFuture<GetKeyspaceResponse> getKeyspace(GetKeyspaceRequest getKeyspaceRequest) Returns the name of the specified keyspace, the Amazon Resource Name (ARN), the replication strategy, the Amazon Web Services Regions of a multi-Region keyspace, and the status of newly added Regions after anUpdateKeyspaceoperation.default CompletableFuture<GetTableResponse> getTable(Consumer<GetTableRequest.Builder> getTableRequest) Returns information about the table, including the table's name and current status, the keyspace name, configuration settings, and metadata.default CompletableFuture<GetTableResponse> getTable(GetTableRequest getTableRequest) Returns information about the table, including the table's name and current status, the keyspace name, configuration settings, and metadata.getTableAutoScalingSettings(Consumer<GetTableAutoScalingSettingsRequest.Builder> getTableAutoScalingSettingsRequest) Returns auto scaling related settings of the specified table in JSON format.getTableAutoScalingSettings(GetTableAutoScalingSettingsRequest getTableAutoScalingSettingsRequest) Returns auto scaling related settings of the specified table in JSON format.default CompletableFuture<GetTypeResponse> getType(Consumer<GetTypeRequest.Builder> getTypeRequest) TheGetTypeoperation returns information about the type, for example the field definitions, the timestamp when the type was last modified, the level of nesting, the status, and details about if the type is used in other types and tables.default CompletableFuture<GetTypeResponse> getType(GetTypeRequest getTypeRequest) TheGetTypeoperation returns information about the type, for example the field definitions, the timestamp when the type was last modified, the level of nesting, the status, and details about if the type is used in other types and tables.default CompletableFuture<ListKeyspacesResponse> listKeyspaces(Consumer<ListKeyspacesRequest.Builder> listKeyspacesRequest) TheListKeyspacesoperation returns a list of keyspaces.default CompletableFuture<ListKeyspacesResponse> listKeyspaces(ListKeyspacesRequest listKeyspacesRequest) TheListKeyspacesoperation returns a list of keyspaces.default ListKeyspacesPublisherlistKeyspacesPaginator(Consumer<ListKeyspacesRequest.Builder> listKeyspacesRequest) This is a variant oflistKeyspaces(software.amazon.awssdk.services.keyspaces.model.ListKeyspacesRequest)operation.default ListKeyspacesPublisherlistKeyspacesPaginator(ListKeyspacesRequest listKeyspacesRequest) This is a variant oflistKeyspaces(software.amazon.awssdk.services.keyspaces.model.ListKeyspacesRequest)operation.default CompletableFuture<ListTablesResponse> listTables(Consumer<ListTablesRequest.Builder> listTablesRequest) TheListTablesoperation returns a list of tables for a specified keyspace.default CompletableFuture<ListTablesResponse> listTables(ListTablesRequest listTablesRequest) TheListTablesoperation returns a list of tables for a specified keyspace.default ListTablesPublisherlistTablesPaginator(Consumer<ListTablesRequest.Builder> listTablesRequest) This is a variant oflistTables(software.amazon.awssdk.services.keyspaces.model.ListTablesRequest)operation.default ListTablesPublisherlistTablesPaginator(ListTablesRequest listTablesRequest) This is a variant oflistTables(software.amazon.awssdk.services.keyspaces.model.ListTablesRequest)operation.listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Returns a list of all tags associated with the specified Amazon Keyspaces resource.listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Returns a list of all tags associated with the specified Amazon Keyspaces resource.default ListTagsForResourcePublisherlistTagsForResourcePaginator(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) This is a variant oflistTagsForResource(software.amazon.awssdk.services.keyspaces.model.ListTagsForResourceRequest)operation.default ListTagsForResourcePublisherlistTagsForResourcePaginator(ListTagsForResourceRequest listTagsForResourceRequest) This is a variant oflistTagsForResource(software.amazon.awssdk.services.keyspaces.model.ListTagsForResourceRequest)operation.default CompletableFuture<ListTypesResponse> listTypes(Consumer<ListTypesRequest.Builder> listTypesRequest) TheListTypesoperation returns a list of types for a specified keyspace.default CompletableFuture<ListTypesResponse> listTypes(ListTypesRequest listTypesRequest) TheListTypesoperation returns a list of types for a specified keyspace.default ListTypesPublisherlistTypesPaginator(Consumer<ListTypesRequest.Builder> listTypesRequest) This is a variant oflistTypes(software.amazon.awssdk.services.keyspaces.model.ListTypesRequest)operation.default ListTypesPublisherlistTypesPaginator(ListTypesRequest listTypesRequest) This is a variant oflistTypes(software.amazon.awssdk.services.keyspaces.model.ListTypesRequest)operation.default CompletableFuture<RestoreTableResponse> restoreTable(Consumer<RestoreTableRequest.Builder> restoreTableRequest) Restores the table to the specified point in time within theearliest_restorable_timestampand the current time.default CompletableFuture<RestoreTableResponse> restoreTable(RestoreTableRequest restoreTableRequest) Restores the table to the specified point in time within theearliest_restorable_timestampand the current time.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Associates a set of tags with a Amazon Keyspaces resource.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest) Associates a set of tags with a Amazon Keyspaces resource.default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes the association of tags from a Amazon Keyspaces resource.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes the association of tags from a Amazon Keyspaces resource.default CompletableFuture<UpdateKeyspaceResponse> updateKeyspace(Consumer<UpdateKeyspaceRequest.Builder> updateKeyspaceRequest) Adds a new Amazon Web Services Region to the keyspace.default CompletableFuture<UpdateKeyspaceResponse> updateKeyspace(UpdateKeyspaceRequest updateKeyspaceRequest) Adds a new Amazon Web Services Region to the keyspace.default CompletableFuture<UpdateTableResponse> updateTable(Consumer<UpdateTableRequest.Builder> updateTableRequest) Adds new columns to the table or updates one of the table's settings, for example capacity mode, auto scaling, encryption, point-in-time recovery, or ttl settings.default CompletableFuture<UpdateTableResponse> updateTable(UpdateTableRequest updateTableRequest) Adds new columns to the table or updates one of the table's settings, for example capacity mode, auto scaling, encryption, point-in-time recovery, or ttl settings.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseablecloseMethods inherited from interface software.amazon.awssdk.core.SdkClientserviceName
- 
Field Details- 
SERVICE_NAME- See Also:
 
- 
SERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.- See Also:
 
 
- 
- 
Method Details- 
createKeyspacedefault CompletableFuture<CreateKeyspaceResponse> createKeyspace(CreateKeyspaceRequest createKeyspaceRequest) The CreateKeyspaceoperation adds a new keyspace to your account. In an Amazon Web Services account, keyspace names must be unique within each Region.CreateKeyspaceis an asynchronous operation. You can monitor the creation status of the new keyspace by using theGetKeyspaceoperation.For more information, see Create a keyspace in the Amazon Keyspaces Developer Guide. - Parameters:
- createKeyspaceRequest-
- Returns:
- A Java Future containing the result of the CreateKeyspace operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- ConflictException Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to perform an action and the same or a different action is already in progress, or if you try to create a resource that already exists.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
createKeyspacedefault CompletableFuture<CreateKeyspaceResponse> createKeyspace(Consumer<CreateKeyspaceRequest.Builder> createKeyspaceRequest) The CreateKeyspaceoperation adds a new keyspace to your account. In an Amazon Web Services account, keyspace names must be unique within each Region.CreateKeyspaceis an asynchronous operation. You can monitor the creation status of the new keyspace by using theGetKeyspaceoperation.For more information, see Create a keyspace in the Amazon Keyspaces Developer Guide. 
 This is a convenience which creates an instance of the CreateKeyspaceRequest.Builderavoiding the need to create one manually viaCreateKeyspaceRequest.builder()- Parameters:
- createKeyspaceRequest- A- Consumerthat will call methods on- CreateKeyspaceRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the CreateKeyspace operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- ConflictException Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to perform an action and the same or a different action is already in progress, or if you try to create a resource that already exists.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
createTableThe CreateTableoperation adds a new table to the specified keyspace. Within a keyspace, table names must be unique.CreateTableis an asynchronous operation. When the request is received, the status of the table is set toCREATING. You can monitor the creation status of the new table by using theGetTableoperation, which returns the currentstatusof the table. You can start using a table when the status isACTIVE.For more information, see Create a table in the Amazon Keyspaces Developer Guide. - Parameters:
- createTableRequest-
- Returns:
- A Java Future containing the result of the CreateTable operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- ConflictException Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to perform an action and the same or a different action is already in progress, or if you try to create a resource that already exists.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
createTabledefault CompletableFuture<CreateTableResponse> createTable(Consumer<CreateTableRequest.Builder> createTableRequest) The CreateTableoperation adds a new table to the specified keyspace. Within a keyspace, table names must be unique.CreateTableis an asynchronous operation. When the request is received, the status of the table is set toCREATING. You can monitor the creation status of the new table by using theGetTableoperation, which returns the currentstatusof the table. You can start using a table when the status isACTIVE.For more information, see Create a table in the Amazon Keyspaces Developer Guide. 
 This is a convenience which creates an instance of the CreateTableRequest.Builderavoiding the need to create one manually viaCreateTableRequest.builder()- Parameters:
- createTableRequest- A- Consumerthat will call methods on- CreateTableRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the CreateTable operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- ConflictException Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to perform an action and the same or a different action is already in progress, or if you try to create a resource that already exists.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
createTypeThe CreateTypeoperation creates a new user-defined type in the specified keyspace.To configure the required permissions, see Permissions to create a UDT in the Amazon Keyspaces Developer Guide. For more information, see User-defined types (UDTs) in the Amazon Keyspaces Developer Guide. - Parameters:
- createTypeRequest-
- Returns:
- A Java Future containing the result of the CreateType operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- ConflictException Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to perform an action and the same or a different action is already in progress, or if you try to create a resource that already exists.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
createTypedefault CompletableFuture<CreateTypeResponse> createType(Consumer<CreateTypeRequest.Builder> createTypeRequest) The CreateTypeoperation creates a new user-defined type in the specified keyspace.To configure the required permissions, see Permissions to create a UDT in the Amazon Keyspaces Developer Guide. For more information, see User-defined types (UDTs) in the Amazon Keyspaces Developer Guide. 
 This is a convenience which creates an instance of the CreateTypeRequest.Builderavoiding the need to create one manually viaCreateTypeRequest.builder()- Parameters:
- createTypeRequest- A- Consumerthat will call methods on- CreateTypeRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the CreateType operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- ConflictException Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to perform an action and the same or a different action is already in progress, or if you try to create a resource that already exists.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
deleteKeyspacedefault CompletableFuture<DeleteKeyspaceResponse> deleteKeyspace(DeleteKeyspaceRequest deleteKeyspaceRequest) The DeleteKeyspaceoperation deletes a keyspace and all of its tables.- Parameters:
- deleteKeyspaceRequest-
- Returns:
- A Java Future containing the result of the DeleteKeyspace operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- ConflictException Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to perform an action and the same or a different action is already in progress, or if you try to create a resource that already exists.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
deleteKeyspacedefault CompletableFuture<DeleteKeyspaceResponse> deleteKeyspace(Consumer<DeleteKeyspaceRequest.Builder> deleteKeyspaceRequest) The DeleteKeyspaceoperation deletes a keyspace and all of its tables.
 This is a convenience which creates an instance of the DeleteKeyspaceRequest.Builderavoiding the need to create one manually viaDeleteKeyspaceRequest.builder()- Parameters:
- deleteKeyspaceRequest- A- Consumerthat will call methods on- DeleteKeyspaceRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the DeleteKeyspace operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- ConflictException Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to perform an action and the same or a different action is already in progress, or if you try to create a resource that already exists.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
deleteTableThe DeleteTableoperation deletes a table and all of its data. After aDeleteTablerequest is received, the specified table is in theDELETINGstate until Amazon Keyspaces completes the deletion. If the table is in theACTIVEstate, you can delete it. If a table is either in theCREATINGorUPDATINGstates, then Amazon Keyspaces returns aResourceInUseException. If the specified table does not exist, Amazon Keyspaces returns aResourceNotFoundException. If the table is already in theDELETINGstate, no error is returned.- Parameters:
- deleteTableRequest-
- Returns:
- A Java Future containing the result of the DeleteTable operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- ConflictException Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to perform an action and the same or a different action is already in progress, or if you try to create a resource that already exists.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
deleteTabledefault CompletableFuture<DeleteTableResponse> deleteTable(Consumer<DeleteTableRequest.Builder> deleteTableRequest) The DeleteTableoperation deletes a table and all of its data. After aDeleteTablerequest is received, the specified table is in theDELETINGstate until Amazon Keyspaces completes the deletion. If the table is in theACTIVEstate, you can delete it. If a table is either in theCREATINGorUPDATINGstates, then Amazon Keyspaces returns aResourceInUseException. If the specified table does not exist, Amazon Keyspaces returns aResourceNotFoundException. If the table is already in theDELETINGstate, no error is returned.
 This is a convenience which creates an instance of the DeleteTableRequest.Builderavoiding the need to create one manually viaDeleteTableRequest.builder()- Parameters:
- deleteTableRequest- A- Consumerthat will call methods on- DeleteTableRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the DeleteTable operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- ConflictException Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to perform an action and the same or a different action is already in progress, or if you try to create a resource that already exists.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
deleteTypeThe DeleteTypeoperation deletes a user-defined type (UDT). You can only delete a type that is not used in a table or another UDT.To configure the required permissions, see Permissions to delete a UDT in the Amazon Keyspaces Developer Guide. - Parameters:
- deleteTypeRequest-
- Returns:
- A Java Future containing the result of the DeleteType operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- ConflictException Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to perform an action and the same or a different action is already in progress, or if you try to create a resource that already exists.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
deleteTypedefault CompletableFuture<DeleteTypeResponse> deleteType(Consumer<DeleteTypeRequest.Builder> deleteTypeRequest) The DeleteTypeoperation deletes a user-defined type (UDT). You can only delete a type that is not used in a table or another UDT.To configure the required permissions, see Permissions to delete a UDT in the Amazon Keyspaces Developer Guide. 
 This is a convenience which creates an instance of the DeleteTypeRequest.Builderavoiding the need to create one manually viaDeleteTypeRequest.builder()- Parameters:
- deleteTypeRequest- A- Consumerthat will call methods on- DeleteTypeRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the DeleteType operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- ConflictException Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to perform an action and the same or a different action is already in progress, or if you try to create a resource that already exists.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
getKeyspaceReturns the name of the specified keyspace, the Amazon Resource Name (ARN), the replication strategy, the Amazon Web Services Regions of a multi-Region keyspace, and the status of newly added Regions after an UpdateKeyspaceoperation.- Parameters:
- getKeyspaceRequest-
- Returns:
- A Java Future containing the result of the GetKeyspace operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
getKeyspacedefault CompletableFuture<GetKeyspaceResponse> getKeyspace(Consumer<GetKeyspaceRequest.Builder> getKeyspaceRequest) Returns the name of the specified keyspace, the Amazon Resource Name (ARN), the replication strategy, the Amazon Web Services Regions of a multi-Region keyspace, and the status of newly added Regions after an UpdateKeyspaceoperation.
 This is a convenience which creates an instance of the GetKeyspaceRequest.Builderavoiding the need to create one manually viaGetKeyspaceRequest.builder()- Parameters:
- getKeyspaceRequest- A- Consumerthat will call methods on- GetKeyspaceRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the GetKeyspace operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
getTableReturns information about the table, including the table's name and current status, the keyspace name, configuration settings, and metadata. To read table metadata using GetTable, the IAM principal needsSelectaction permissions for the table and the system keyspace.- Parameters:
- getTableRequest-
- Returns:
- A Java Future containing the result of the GetTable operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
getTabledefault CompletableFuture<GetTableResponse> getTable(Consumer<GetTableRequest.Builder> getTableRequest) Returns information about the table, including the table's name and current status, the keyspace name, configuration settings, and metadata. To read table metadata using GetTable, the IAM principal needsSelectaction permissions for the table and the system keyspace.
 This is a convenience which creates an instance of the GetTableRequest.Builderavoiding the need to create one manually viaGetTableRequest.builder()- Parameters:
- getTableRequest- A- Consumerthat will call methods on- GetTableRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the GetTable operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
getTableAutoScalingSettingsdefault CompletableFuture<GetTableAutoScalingSettingsResponse> getTableAutoScalingSettings(GetTableAutoScalingSettingsRequest getTableAutoScalingSettingsRequest) Returns auto scaling related settings of the specified table in JSON format. If the table is a multi-Region table, the Amazon Web Services Region specific auto scaling settings of the table are included. Amazon Keyspaces auto scaling helps you provision throughput capacity for variable workloads efficiently by increasing and decreasing your table's read and write capacity automatically in response to application traffic. For more information, see Managing throughput capacity automatically with Amazon Keyspaces auto scaling in the Amazon Keyspaces Developer Guide. GetTableAutoScalingSettingscan't be used as an action in an IAM policy.To define permissions for GetTableAutoScalingSettings, you must allow the following two actions in the IAM policy statement'sActionelement:- 
 application-autoscaling:DescribeScalableTargets
- 
 application-autoscaling:DescribeScalingPolicies
 - Parameters:
- getTableAutoScalingSettingsRequest-
- Returns:
- A Java Future containing the result of the GetTableAutoScalingSettings operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
 
- 
getTableAutoScalingSettingsdefault CompletableFuture<GetTableAutoScalingSettingsResponse> getTableAutoScalingSettings(Consumer<GetTableAutoScalingSettingsRequest.Builder> getTableAutoScalingSettingsRequest) Returns auto scaling related settings of the specified table in JSON format. If the table is a multi-Region table, the Amazon Web Services Region specific auto scaling settings of the table are included. Amazon Keyspaces auto scaling helps you provision throughput capacity for variable workloads efficiently by increasing and decreasing your table's read and write capacity automatically in response to application traffic. For more information, see Managing throughput capacity automatically with Amazon Keyspaces auto scaling in the Amazon Keyspaces Developer Guide. GetTableAutoScalingSettingscan't be used as an action in an IAM policy.To define permissions for GetTableAutoScalingSettings, you must allow the following two actions in the IAM policy statement'sActionelement:- 
 application-autoscaling:DescribeScalableTargets
- 
 application-autoscaling:DescribeScalingPolicies
 
 This is a convenience which creates an instance of the GetTableAutoScalingSettingsRequest.Builderavoiding the need to create one manually viaGetTableAutoScalingSettingsRequest.builder()- Parameters:
- getTableAutoScalingSettingsRequest- A- Consumerthat will call methods on- GetTableAutoScalingSettingsRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the GetTableAutoScalingSettings operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
 
- 
getTypeThe GetTypeoperation returns information about the type, for example the field definitions, the timestamp when the type was last modified, the level of nesting, the status, and details about if the type is used in other types and tables.To read keyspace metadata using GetType, the IAM principal needsSelectaction permissions for the system keyspace. To configure the required permissions, see Permissions to view a UDT in the Amazon Keyspaces Developer Guide.- Parameters:
- getTypeRequest-
- Returns:
- A Java Future containing the result of the GetType operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
getTypeThe GetTypeoperation returns information about the type, for example the field definitions, the timestamp when the type was last modified, the level of nesting, the status, and details about if the type is used in other types and tables.To read keyspace metadata using GetType, the IAM principal needsSelectaction permissions for the system keyspace. To configure the required permissions, see Permissions to view a UDT in the Amazon Keyspaces Developer Guide.
 This is a convenience which creates an instance of the GetTypeRequest.Builderavoiding the need to create one manually viaGetTypeRequest.builder()- Parameters:
- getTypeRequest- A- Consumerthat will call methods on- GetTypeRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the GetType operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
listKeyspacesdefault CompletableFuture<ListKeyspacesResponse> listKeyspaces(ListKeyspacesRequest listKeyspacesRequest) The ListKeyspacesoperation returns a list of keyspaces.- Parameters:
- listKeyspacesRequest-
- Returns:
- A Java Future containing the result of the ListKeyspaces operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
listKeyspacesdefault CompletableFuture<ListKeyspacesResponse> listKeyspaces(Consumer<ListKeyspacesRequest.Builder> listKeyspacesRequest) The ListKeyspacesoperation returns a list of keyspaces.
 This is a convenience which creates an instance of the ListKeyspacesRequest.Builderavoiding the need to create one manually viaListKeyspacesRequest.builder()- Parameters:
- listKeyspacesRequest- A- Consumerthat will call methods on- ListKeyspacesRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the ListKeyspaces operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
listKeyspacesPaginatorThis is a variant of listKeyspaces(software.amazon.awssdk.services.keyspaces.model.ListKeyspacesRequest)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.keyspaces.paginators.ListKeyspacesPublisher publisher = client.listKeyspacesPaginator(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.keyspaces.paginators.ListKeyspacesPublisher publisher = client.listKeyspacesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.keyspaces.model.ListKeyspacesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.keyspaces.model.ListKeyspacesResponse response) { //... }; });Please notice that the configuration of maxResults 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 listKeyspaces(software.amazon.awssdk.services.keyspaces.model.ListKeyspacesRequest)operation.- Parameters:
- listKeyspacesRequest-
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
listKeyspacesPaginatordefault ListKeyspacesPublisher listKeyspacesPaginator(Consumer<ListKeyspacesRequest.Builder> listKeyspacesRequest) This is a variant of listKeyspaces(software.amazon.awssdk.services.keyspaces.model.ListKeyspacesRequest)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.keyspaces.paginators.ListKeyspacesPublisher publisher = client.listKeyspacesPaginator(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.keyspaces.paginators.ListKeyspacesPublisher publisher = client.listKeyspacesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.keyspaces.model.ListKeyspacesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.keyspaces.model.ListKeyspacesResponse response) { //... }; });Please notice that the configuration of maxResults 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 listKeyspaces(software.amazon.awssdk.services.keyspaces.model.ListKeyspacesRequest)operation.
 This is a convenience which creates an instance of the ListKeyspacesRequest.Builderavoiding the need to create one manually viaListKeyspacesRequest.builder()- Parameters:
- listKeyspacesRequest- A- Consumerthat will call methods on- ListKeyspacesRequest.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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
listTablesThe ListTablesoperation returns a list of tables for a specified keyspace.To read keyspace metadata using ListTables, the IAM principal needsSelectaction permissions for the system keyspace.- Parameters:
- listTablesRequest-
- Returns:
- A Java Future containing the result of the ListTables operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
listTablesdefault CompletableFuture<ListTablesResponse> listTables(Consumer<ListTablesRequest.Builder> listTablesRequest) The ListTablesoperation returns a list of tables for a specified keyspace.To read keyspace metadata using ListTables, the IAM principal needsSelectaction permissions for the system keyspace.
 This is a convenience which creates an instance of the ListTablesRequest.Builderavoiding the need to create one manually viaListTablesRequest.builder()- Parameters:
- listTablesRequest- A- Consumerthat will call methods on- ListTablesRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the ListTables operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
listTablesPaginatorThis is a variant of listTables(software.amazon.awssdk.services.keyspaces.model.ListTablesRequest)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.keyspaces.paginators.ListTablesPublisher publisher = client.listTablesPaginator(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.keyspaces.paginators.ListTablesPublisher publisher = client.listTablesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.keyspaces.model.ListTablesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.keyspaces.model.ListTablesResponse response) { //... }; });Please notice that the configuration of maxResults 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 listTables(software.amazon.awssdk.services.keyspaces.model.ListTablesRequest)operation.- Parameters:
- listTablesRequest-
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
listTablesPaginatordefault ListTablesPublisher listTablesPaginator(Consumer<ListTablesRequest.Builder> listTablesRequest) This is a variant of listTables(software.amazon.awssdk.services.keyspaces.model.ListTablesRequest)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.keyspaces.paginators.ListTablesPublisher publisher = client.listTablesPaginator(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.keyspaces.paginators.ListTablesPublisher publisher = client.listTablesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.keyspaces.model.ListTablesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.keyspaces.model.ListTablesResponse response) { //... }; });Please notice that the configuration of maxResults 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 listTables(software.amazon.awssdk.services.keyspaces.model.ListTablesRequest)operation.
 This is a convenience which creates an instance of the ListTablesRequest.Builderavoiding the need to create one manually viaListTablesRequest.builder()- Parameters:
- listTablesRequest- A- Consumerthat will call methods on- ListTablesRequest.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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
listTagsForResourcedefault CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Returns a list of all tags associated with the specified Amazon Keyspaces resource. To read keyspace metadata using ListTagsForResource, the IAM principal needsSelectaction permissions for the specified resource and the system keyspace.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
listTagsForResourcedefault CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Returns a list of all tags associated with the specified Amazon Keyspaces resource. To read keyspace metadata using ListTagsForResource, the IAM principal needsSelectaction permissions for the specified resource and the system keyspace.
 This is a convenience which creates an instance of the ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
- listTagsForResourceRequest- A- Consumerthat will call methods on- ListTagsForResourceRequest.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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
listTagsForResourcePaginatordefault ListTagsForResourcePublisher listTagsForResourcePaginator(ListTagsForResourceRequest listTagsForResourceRequest) This is a variant of listTagsForResource(software.amazon.awssdk.services.keyspaces.model.ListTagsForResourceRequest)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.keyspaces.paginators.ListTagsForResourcePublisher publisher = client.listTagsForResourcePaginator(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.keyspaces.paginators.ListTagsForResourcePublisher publisher = client.listTagsForResourcePaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.keyspaces.model.ListTagsForResourceResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.keyspaces.model.ListTagsForResourceResponse response) { //... }; });Please notice that the configuration of maxResults 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 listTagsForResource(software.amazon.awssdk.services.keyspaces.model.ListTagsForResourceRequest)operation.- Parameters:
- listTagsForResourceRequest-
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
listTagsForResourcePaginatordefault ListTagsForResourcePublisher listTagsForResourcePaginator(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) This is a variant of listTagsForResource(software.amazon.awssdk.services.keyspaces.model.ListTagsForResourceRequest)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.keyspaces.paginators.ListTagsForResourcePublisher publisher = client.listTagsForResourcePaginator(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.keyspaces.paginators.ListTagsForResourcePublisher publisher = client.listTagsForResourcePaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.keyspaces.model.ListTagsForResourceResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.keyspaces.model.ListTagsForResourceResponse response) { //... }; });Please notice that the configuration of maxResults 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 listTagsForResource(software.amazon.awssdk.services.keyspaces.model.ListTagsForResourceRequest)operation.
 This is a convenience which creates an instance of the ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
- listTagsForResourceRequest- A- Consumerthat will call methods on- ListTagsForResourceRequest.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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
listTypesThe ListTypesoperation returns a list of types for a specified keyspace.To read keyspace metadata using ListTypes, the IAM principal needsSelectaction permissions for the system keyspace. To configure the required permissions, see Permissions to view a UDT in the Amazon Keyspaces Developer Guide.- Parameters:
- listTypesRequest-
- Returns:
- A Java Future containing the result of the ListTypes operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
listTypesdefault CompletableFuture<ListTypesResponse> listTypes(Consumer<ListTypesRequest.Builder> listTypesRequest) The ListTypesoperation returns a list of types for a specified keyspace.To read keyspace metadata using ListTypes, the IAM principal needsSelectaction permissions for the system keyspace. To configure the required permissions, see Permissions to view a UDT in the Amazon Keyspaces Developer Guide.
 This is a convenience which creates an instance of the ListTypesRequest.Builderavoiding the need to create one manually viaListTypesRequest.builder()- Parameters:
- listTypesRequest- A- Consumerthat will call methods on- ListTypesRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the ListTypes operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
listTypesPaginatorThis is a variant of listTypes(software.amazon.awssdk.services.keyspaces.model.ListTypesRequest)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.keyspaces.paginators.ListTypesPublisher publisher = client.listTypesPaginator(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.keyspaces.paginators.ListTypesPublisher publisher = client.listTypesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.keyspaces.model.ListTypesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.keyspaces.model.ListTypesResponse response) { //... }; });Please notice that the configuration of maxResults 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 listTypes(software.amazon.awssdk.services.keyspaces.model.ListTypesRequest)operation.- Parameters:
- listTypesRequest-
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
listTypesPaginatorThis is a variant of listTypes(software.amazon.awssdk.services.keyspaces.model.ListTypesRequest)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.keyspaces.paginators.ListTypesPublisher publisher = client.listTypesPaginator(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.keyspaces.paginators.ListTypesPublisher publisher = client.listTypesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.keyspaces.model.ListTypesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.keyspaces.model.ListTypesResponse response) { //... }; });Please notice that the configuration of maxResults 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 listTypes(software.amazon.awssdk.services.keyspaces.model.ListTypesRequest)operation.
 This is a convenience which creates an instance of the ListTypesRequest.Builderavoiding the need to create one manually viaListTypesRequest.builder()- Parameters:
- listTypesRequest- A- Consumerthat will call methods on- ListTypesRequest.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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
restoreTabledefault CompletableFuture<RestoreTableResponse> restoreTable(RestoreTableRequest restoreTableRequest) Restores the table to the specified point in time within the earliest_restorable_timestampand the current time. For more information about restore points, see Time window for PITR continuous backups in the Amazon Keyspaces Developer Guide.Any number of users can execute up to 4 concurrent restores (any type of restore) in a given account. When you restore using point in time recovery, Amazon Keyspaces restores your source table's schema and data to the state based on the selected timestamp (day:hour:minute:second)to a new table. The Time to Live (TTL) settings are also restored to the state based on the selected timestamp.In addition to the table's schema, data, and TTL settings, RestoreTablerestores the capacity mode, auto scaling settings, encryption settings, and point-in-time recovery settings from the source table. Unlike the table's schema data and TTL settings, which are restored based on the selected timestamp, these settings are always restored based on the table's settings as of the current time or when the table was deleted.You can also overwrite these settings during restore: - 
 Read/write capacity mode 
- 
 Provisioned throughput capacity units 
- 
 Auto scaling settings 
- 
 Point-in-time (PITR) settings 
- 
 Tags 
 For more information, see PITR restore settings in the Amazon Keyspaces Developer Guide. Note that the following settings are not restored, and you must configure them manually for the new table: - 
 Identity and Access Management (IAM) policies 
- 
 Amazon CloudWatch metrics and alarms 
 - Parameters:
- restoreTableRequest-
- Returns:
- A Java Future containing the result of the RestoreTable operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- ConflictException Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to perform an action and the same or a different action is already in progress, or if you try to create a resource that already exists.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
 
- 
restoreTabledefault CompletableFuture<RestoreTableResponse> restoreTable(Consumer<RestoreTableRequest.Builder> restoreTableRequest) Restores the table to the specified point in time within the earliest_restorable_timestampand the current time. For more information about restore points, see Time window for PITR continuous backups in the Amazon Keyspaces Developer Guide.Any number of users can execute up to 4 concurrent restores (any type of restore) in a given account. When you restore using point in time recovery, Amazon Keyspaces restores your source table's schema and data to the state based on the selected timestamp (day:hour:minute:second)to a new table. The Time to Live (TTL) settings are also restored to the state based on the selected timestamp.In addition to the table's schema, data, and TTL settings, RestoreTablerestores the capacity mode, auto scaling settings, encryption settings, and point-in-time recovery settings from the source table. Unlike the table's schema data and TTL settings, which are restored based on the selected timestamp, these settings are always restored based on the table's settings as of the current time or when the table was deleted.You can also overwrite these settings during restore: - 
 Read/write capacity mode 
- 
 Provisioned throughput capacity units 
- 
 Auto scaling settings 
- 
 Point-in-time (PITR) settings 
- 
 Tags 
 For more information, see PITR restore settings in the Amazon Keyspaces Developer Guide. Note that the following settings are not restored, and you must configure them manually for the new table: - 
 Identity and Access Management (IAM) policies 
- 
 Amazon CloudWatch metrics and alarms 
 
 This is a convenience which creates an instance of the RestoreTableRequest.Builderavoiding the need to create one manually viaRestoreTableRequest.builder()- Parameters:
- restoreTableRequest- A- Consumerthat will call methods on- RestoreTableRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the RestoreTable operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- ConflictException Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to perform an action and the same or a different action is already in progress, or if you try to create a resource that already exists.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
 
- 
tagResourceAssociates a set of tags with a Amazon Keyspaces resource. You can then activate these user-defined tags so that they appear on the Cost Management Console for cost allocation tracking. For more information, see Adding tags and labels to Amazon Keyspaces resources in the Amazon Keyspaces Developer Guide. For IAM policy examples that show how to control access to Amazon Keyspaces resources based on tags, see Amazon Keyspaces resource access based on tags in the Amazon Keyspaces Developer Guide. - 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- ConflictException Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to perform an action and the same or a different action is already in progress, or if you try to create a resource that already exists.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
tagResourcedefault CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Associates a set of tags with a Amazon Keyspaces resource. You can then activate these user-defined tags so that they appear on the Cost Management Console for cost allocation tracking. For more information, see Adding tags and labels to Amazon Keyspaces resources in the Amazon Keyspaces Developer Guide. For IAM policy examples that show how to control access to Amazon Keyspaces resources based on tags, see Amazon Keyspaces resource access based on tags in the Amazon Keyspaces Developer Guide. 
 This is a convenience which creates an instance of the TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
- tagResourceRequest- A- Consumerthat will call methods on- TagResourceRequest.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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- ConflictException Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to perform an action and the same or a different action is already in progress, or if you try to create a resource that already exists.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
untagResourcedefault CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes the association of tags from a Amazon Keyspaces 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- ConflictException Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to perform an action and the same or a different action is already in progress, or if you try to create a resource that already exists.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
untagResourcedefault CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes the association of tags from a Amazon Keyspaces resource. 
 This is a convenience which creates an instance of the UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
- untagResourceRequest- A- Consumerthat will call methods on- UntagResourceRequest.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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- ConflictException Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to perform an action and the same or a different action is already in progress, or if you try to create a resource that already exists.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
updateKeyspacedefault CompletableFuture<UpdateKeyspaceResponse> updateKeyspace(UpdateKeyspaceRequest updateKeyspaceRequest) Adds a new Amazon Web Services Region to the keyspace. You can add a new Region to a keyspace that is either a single or a multi-Region keyspace. Amazon Keyspaces is going to replicate all tables in the keyspace to the new Region. To successfully replicate all tables to the new Region, they must use client-side timestamps for conflict resolution. To enable client-side timestamps, specify clientSideTimestamps.status = enabledwhen invoking the API. For more information about client-side timestamps, see Client-side timestamps in Amazon Keyspaces in the Amazon Keyspaces Developer Guide.To add a Region to a keyspace using the UpdateKeyspaceAPI, the IAM principal needs permissions for the following IAM actions:- 
 cassandra:Alter
- 
 cassandra:AlterMultiRegionResource
- 
 cassandra:Create
- 
 cassandra:CreateMultiRegionResource
- 
 cassandra:Select
- 
 cassandra:SelectMultiRegionResource
- 
 cassandra:Modify
- 
 cassandra:ModifyMultiRegionResource
 If the keyspace contains a table that is configured in provisioned mode with auto scaling enabled, the following additional IAM actions need to be allowed. - 
 application-autoscaling:RegisterScalableTarget
- 
 application-autoscaling:DeregisterScalableTarget
- 
 application-autoscaling:DescribeScalableTargets
- 
 application-autoscaling:PutScalingPolicy
- 
 application-autoscaling:DescribeScalingPolicies
 To use the UpdateKeyspaceAPI, the IAM principal also needs permissions to create a service-linked role with the following elements:- 
 iam:CreateServiceLinkedRole- The action the principal can perform.
- 
 arn:aws:iam::*:role/aws-service-role/replication.cassandra.amazonaws.com/AWSServiceRoleForKeyspacesReplication- The resource that the action can be performed on.
- 
 iam:AWSServiceName: replication---cassandra.amazonaws.com.rproxy.goskope.com- The only Amazon Web Services service that this role can be attached to is Amazon Keyspaces.
 For more information, see Configure the IAM permissions required to add an Amazon Web Services Region to a keyspace in the Amazon Keyspaces Developer Guide. - Parameters:
- updateKeyspaceRequest-
- Returns:
- A Java Future containing the result of the UpdateKeyspace operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- ConflictException Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to perform an action and the same or a different action is already in progress, or if you try to create a resource that already exists.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
 
- 
updateKeyspacedefault CompletableFuture<UpdateKeyspaceResponse> updateKeyspace(Consumer<UpdateKeyspaceRequest.Builder> updateKeyspaceRequest) Adds a new Amazon Web Services Region to the keyspace. You can add a new Region to a keyspace that is either a single or a multi-Region keyspace. Amazon Keyspaces is going to replicate all tables in the keyspace to the new Region. To successfully replicate all tables to the new Region, they must use client-side timestamps for conflict resolution. To enable client-side timestamps, specify clientSideTimestamps.status = enabledwhen invoking the API. For more information about client-side timestamps, see Client-side timestamps in Amazon Keyspaces in the Amazon Keyspaces Developer Guide.To add a Region to a keyspace using the UpdateKeyspaceAPI, the IAM principal needs permissions for the following IAM actions:- 
 cassandra:Alter
- 
 cassandra:AlterMultiRegionResource
- 
 cassandra:Create
- 
 cassandra:CreateMultiRegionResource
- 
 cassandra:Select
- 
 cassandra:SelectMultiRegionResource
- 
 cassandra:Modify
- 
 cassandra:ModifyMultiRegionResource
 If the keyspace contains a table that is configured in provisioned mode with auto scaling enabled, the following additional IAM actions need to be allowed. - 
 application-autoscaling:RegisterScalableTarget
- 
 application-autoscaling:DeregisterScalableTarget
- 
 application-autoscaling:DescribeScalableTargets
- 
 application-autoscaling:PutScalingPolicy
- 
 application-autoscaling:DescribeScalingPolicies
 To use the UpdateKeyspaceAPI, the IAM principal also needs permissions to create a service-linked role with the following elements:- 
 iam:CreateServiceLinkedRole- The action the principal can perform.
- 
 arn:aws:iam::*:role/aws-service-role/replication.cassandra.amazonaws.com/AWSServiceRoleForKeyspacesReplication- The resource that the action can be performed on.
- 
 iam:AWSServiceName: replication---cassandra.amazonaws.com.rproxy.goskope.com- The only Amazon Web Services service that this role can be attached to is Amazon Keyspaces.
 For more information, see Configure the IAM permissions required to add an Amazon Web Services Region to a keyspace in the Amazon Keyspaces Developer Guide. 
 This is a convenience which creates an instance of the UpdateKeyspaceRequest.Builderavoiding the need to create one manually viaUpdateKeyspaceRequest.builder()- Parameters:
- updateKeyspaceRequest- A- Consumerthat will call methods on- UpdateKeyspaceRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the UpdateKeyspace operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- ConflictException Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to perform an action and the same or a different action is already in progress, or if you try to create a resource that already exists.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
 
- 
updateTableAdds new columns to the table or updates one of the table's settings, for example capacity mode, auto scaling, encryption, point-in-time recovery, or ttl settings. Note that you can only update one specific table setting per update operation. - Parameters:
- updateTableRequest-
- Returns:
- A Java Future containing the result of the UpdateTable operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- ConflictException Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to perform an action and the same or a different action is already in progress, or if you try to create a resource that already exists.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
updateTabledefault CompletableFuture<UpdateTableResponse> updateTable(Consumer<UpdateTableRequest.Builder> updateTableRequest) Adds new columns to the table or updates one of the table's settings, for example capacity mode, auto scaling, encryption, point-in-time recovery, or ttl settings. Note that you can only update one specific table setting per update operation. 
 This is a convenience which creates an instance of the UpdateTableRequest.Builderavoiding the need to create one manually viaUpdateTableRequest.builder()- Parameters:
- updateTableRequest- A- Consumerthat will call methods on- UpdateTableRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the UpdateTable operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The operation failed due to an invalid or malformed request.
- ServiceQuotaExceededException The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide.
- InternalServerException Amazon Keyspaces was unable to fully process this request because of an internal server error.
- ConflictException Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to perform an action and the same or a different action is already in progress, or if you try to create a resource that already exists.
- AccessDeniedException You don't have sufficient access permissions to perform this action.
- ResourceNotFoundException The operation tried to access a keyspace, table, or type that doesn't
         exist. The resource might not be specified correctly, or its status might not be ACTIVE.
- 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.
- KeyspacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- See Also:
 
- 
serviceClientConfigurationDescription copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
- serviceClientConfigurationin interface- AwsClient
- Specified by:
- serviceClientConfigurationin interface- SdkClient
- Returns:
- SdkServiceClientConfiguration
 
- 
createCreate aKeyspacesAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
- 
builderCreate a builder that can be used to configure and create aKeyspacesAsyncClient.
 
-