Interface S3TablesAsyncClient
- 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.
An Amazon S3 table represents a structured dataset consisting of tabular data in Apache Parquet format and related metadata. This data is stored inside an S3 table as a subresource. All tables in a table bucket are stored in the Apache Iceberg table format. Through integration with the Amazon Web Services Glue Data Catalog you can interact with your tables using Amazon Web Services analytics services, such as Amazon Athena and Amazon Redshift. Amazon S3 manages maintenance of your tables through automatic file compaction and snapshot management. For more information, see Amazon S3 table buckets.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionstatic S3TablesAsyncClientBuilderbuilder()Create a builder that can be used to configure and create aS3TablesAsyncClient.completeTableMigration(Consumer<CompleteTableMigrationRequest.Builder> completeTableMigrationRequest) Completes the migration of a table.completeTableMigration(CompleteTableMigrationRequest completeTableMigrationRequest) Completes the migration of a table.static S3TablesAsyncClientcreate()Create aS3TablesAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CompletableFuture<CreateNamespaceResponse> createNamespace(Consumer<CreateNamespaceRequest.Builder> createNamespaceRequest) Creates a namespace.default CompletableFuture<CreateNamespaceResponse> createNamespace(CreateNamespaceRequest createNamespaceRequest) Creates a namespace.default CompletableFuture<CreateTableResponse> createTable(Consumer<CreateTableRequest.Builder> createTableRequest) Creates a new table associated with the given namespace in a table bucket.default CompletableFuture<CreateTableResponse> createTable(CreateTableRequest createTableRequest) Creates a new table associated with the given namespace in a table bucket.createTableBucket(Consumer<CreateTableBucketRequest.Builder> createTableBucketRequest) Creates a table bucket.createTableBucket(CreateTableBucketRequest createTableBucketRequest) Creates a table bucket.default CompletableFuture<DeleteNamespaceResponse> deleteNamespace(Consumer<DeleteNamespaceRequest.Builder> deleteNamespaceRequest) Deletes a namespace.default CompletableFuture<DeleteNamespaceResponse> deleteNamespace(DeleteNamespaceRequest deleteNamespaceRequest) Deletes a namespace.deleteStorageLensConfiguration(Consumer<DeleteStorageLensConfigurationRequest.Builder> deleteStorageLensConfigurationRequest) Deletes an Amazon S3 Storage Lens for Tables configuration.deleteStorageLensConfiguration(DeleteStorageLensConfigurationRequest deleteStorageLensConfigurationRequest) Deletes an Amazon S3 Storage Lens for Tables configuration.default CompletableFuture<DeleteTableResponse> deleteTable(Consumer<DeleteTableRequest.Builder> deleteTableRequest) Deletes a table.default CompletableFuture<DeleteTableResponse> deleteTable(DeleteTableRequest deleteTableRequest) Deletes a table.deleteTableBucket(Consumer<DeleteTableBucketRequest.Builder> deleteTableBucketRequest) Deletes a table bucket.deleteTableBucket(DeleteTableBucketRequest deleteTableBucketRequest) Deletes a table bucket.deleteTableBucketEncryption(Consumer<DeleteTableBucketEncryptionRequest.Builder> deleteTableBucketEncryptionRequest) Deletes the encryption configuration for a table bucket.deleteTableBucketEncryption(DeleteTableBucketEncryptionRequest deleteTableBucketEncryptionRequest) Deletes the encryption configuration for a table bucket.deleteTableBucketMetricsConfiguration(Consumer<DeleteTableBucketMetricsConfigurationRequest.Builder> deleteTableBucketMetricsConfigurationRequest) Deletes the metrics configuration for a table bucket.deleteTableBucketMetricsConfiguration(DeleteTableBucketMetricsConfigurationRequest deleteTableBucketMetricsConfigurationRequest) Deletes the metrics configuration for a table bucket.deleteTableBucketPolicy(Consumer<DeleteTableBucketPolicyRequest.Builder> deleteTableBucketPolicyRequest) Deletes a table bucket policy.deleteTableBucketPolicy(DeleteTableBucketPolicyRequest deleteTableBucketPolicyRequest) Deletes a table bucket policy.deleteTableBucketReplication(Consumer<DeleteTableBucketReplicationRequest.Builder> deleteTableBucketReplicationRequest) Deletes the replication configuration for a table bucket.deleteTableBucketReplication(DeleteTableBucketReplicationRequest deleteTableBucketReplicationRequest) Deletes the replication configuration for a table bucket.deleteTablePolicy(Consumer<DeleteTablePolicyRequest.Builder> deleteTablePolicyRequest) Deletes a table policy.deleteTablePolicy(DeleteTablePolicyRequest deleteTablePolicyRequest) Deletes a table policy.deleteTableReplication(Consumer<DeleteTableReplicationRequest.Builder> deleteTableReplicationRequest) Deletes the replication configuration for a specific table.deleteTableReplication(DeleteTableReplicationRequest deleteTableReplicationRequest) Deletes the replication configuration for a specific table.disassociateTableReplication(Consumer<DisassociateTableReplicationRequest.Builder> disassociateTableReplicationRequest) Disassociates a replica table from replication, making it a standalone writable table.disassociateTableReplication(DisassociateTableReplicationRequest disassociateTableReplicationRequest) Disassociates a replica table from replication, making it a standalone writable table.default CompletableFuture<GetChannelResponse> getChannel(Consumer<GetChannelRequest.Builder> getChannelRequest) Gets the current state of a table's channel in Amazon S3 Tables.default CompletableFuture<GetChannelResponse> getChannel(GetChannelRequest getChannelRequest) Gets the current state of a table's channel in Amazon S3 Tables.default CompletableFuture<GetNamespaceResponse> getNamespace(Consumer<GetNamespaceRequest.Builder> getNamespaceRequest) Gets details about a namespace.default CompletableFuture<GetNamespaceResponse> getNamespace(GetNamespaceRequest getNamespaceRequest) Gets details about a namespace.getStorageLensConfiguration(Consumer<GetStorageLensConfigurationRequest.Builder> getStorageLensConfigurationRequest) Gets an Amazon S3 Storage Lens for Tables configuration.getStorageLensConfiguration(GetStorageLensConfigurationRequest getStorageLensConfigurationRequest) Gets an Amazon S3 Storage Lens for Tables configuration.default CompletableFuture<GetTableResponse> getTable(Consumer<GetTableRequest.Builder> getTableRequest) Gets details about a table.default CompletableFuture<GetTableResponse> getTable(GetTableRequest getTableRequest) Gets details about a table.default CompletableFuture<GetTableBucketResponse> getTableBucket(Consumer<GetTableBucketRequest.Builder> getTableBucketRequest) Gets details on a table bucket.default CompletableFuture<GetTableBucketResponse> getTableBucket(GetTableBucketRequest getTableBucketRequest) Gets details on a table bucket.getTableBucketEncryption(Consumer<GetTableBucketEncryptionRequest.Builder> getTableBucketEncryptionRequest) Gets the encryption configuration for a table bucket.getTableBucketEncryption(GetTableBucketEncryptionRequest getTableBucketEncryptionRequest) Gets the encryption configuration for a table bucket.getTableBucketLogging(Consumer<GetTableBucketLoggingRequest.Builder> getTableBucketLoggingRequest) Gets the server access logging configuration for a table bucket.getTableBucketLogging(GetTableBucketLoggingRequest getTableBucketLoggingRequest) Gets the server access logging configuration for a table bucket.getTableBucketMaintenanceConfiguration(Consumer<GetTableBucketMaintenanceConfigurationRequest.Builder> getTableBucketMaintenanceConfigurationRequest) Gets details about a maintenance configuration for a given table bucket.getTableBucketMaintenanceConfiguration(GetTableBucketMaintenanceConfigurationRequest getTableBucketMaintenanceConfigurationRequest) Gets details about a maintenance configuration for a given table bucket.getTableBucketMetricsConfiguration(Consumer<GetTableBucketMetricsConfigurationRequest.Builder> getTableBucketMetricsConfigurationRequest) Gets the metrics configuration for a table bucket.getTableBucketMetricsConfiguration(GetTableBucketMetricsConfigurationRequest getTableBucketMetricsConfigurationRequest) Gets the metrics configuration for a table bucket.getTableBucketPolicy(Consumer<GetTableBucketPolicyRequest.Builder> getTableBucketPolicyRequest) Gets details about a table bucket policy.getTableBucketPolicy(GetTableBucketPolicyRequest getTableBucketPolicyRequest) Gets details about a table bucket policy.getTableBucketReplication(Consumer<GetTableBucketReplicationRequest.Builder> getTableBucketReplicationRequest) Retrieves the replication configuration for a table bucket.This operation returns the IAM role,versionToken, and replication rules that define how tables in this bucket are replicated to other buckets.getTableBucketReplication(GetTableBucketReplicationRequest getTableBucketReplicationRequest) Retrieves the replication configuration for a table bucket.This operation returns the IAM role,versionToken, and replication rules that define how tables in this bucket are replicated to other buckets.getTableBucketStorageClass(Consumer<GetTableBucketStorageClassRequest.Builder> getTableBucketStorageClassRequest) Retrieves the storage class configuration for a specific table.getTableBucketStorageClass(GetTableBucketStorageClassRequest getTableBucketStorageClassRequest) Retrieves the storage class configuration for a specific table.getTableEncryption(Consumer<GetTableEncryptionRequest.Builder> getTableEncryptionRequest) Gets the encryption configuration for a table.getTableEncryption(GetTableEncryptionRequest getTableEncryptionRequest) Gets the encryption configuration for a table.getTableMaintenanceConfiguration(Consumer<GetTableMaintenanceConfigurationRequest.Builder> getTableMaintenanceConfigurationRequest) Gets details about the maintenance configuration of a table.getTableMaintenanceConfiguration(GetTableMaintenanceConfigurationRequest getTableMaintenanceConfigurationRequest) Gets details about the maintenance configuration of a table.getTableMaintenanceJobStatus(Consumer<GetTableMaintenanceJobStatusRequest.Builder> getTableMaintenanceJobStatusRequest) Gets the status of a maintenance job for a table.getTableMaintenanceJobStatus(GetTableMaintenanceJobStatusRequest getTableMaintenanceJobStatusRequest) Gets the status of a maintenance job for a table.getTableMetadataLocation(Consumer<GetTableMetadataLocationRequest.Builder> getTableMetadataLocationRequest) Gets the location of the table metadata.getTableMetadataLocation(GetTableMetadataLocationRequest getTableMetadataLocationRequest) Gets the location of the table metadata.getTableMigration(Consumer<GetTableMigrationRequest.Builder> getTableMigrationRequest) Gets the details of a migration, including its state, the reason it failed, its statistics and the location of its reports.getTableMigration(GetTableMigrationRequest getTableMigrationRequest) Gets the details of a migration, including its state, the reason it failed, its statistics and the location of its reports.default CompletableFuture<GetTablePolicyResponse> getTablePolicy(Consumer<GetTablePolicyRequest.Builder> getTablePolicyRequest) Gets details about a table policy.default CompletableFuture<GetTablePolicyResponse> getTablePolicy(GetTablePolicyRequest getTablePolicyRequest) Gets details about a table policy.getTableRecordExpirationConfiguration(Consumer<GetTableRecordExpirationConfigurationRequest.Builder> getTableRecordExpirationConfigurationRequest) Retrieves the expiration configuration settings for records in a table, and the status of the configuration.getTableRecordExpirationConfiguration(GetTableRecordExpirationConfigurationRequest getTableRecordExpirationConfigurationRequest) Retrieves the expiration configuration settings for records in a table, and the status of the configuration.getTableRecordExpirationJobStatus(Consumer<GetTableRecordExpirationJobStatusRequest.Builder> getTableRecordExpirationJobStatusRequest) Retrieves the status, metrics, and details of the latest record expiration job for a table.getTableRecordExpirationJobStatus(GetTableRecordExpirationJobStatusRequest getTableRecordExpirationJobStatusRequest) Retrieves the status, metrics, and details of the latest record expiration job for a table.getTableReplication(Consumer<GetTableReplicationRequest.Builder> getTableReplicationRequest) Retrieves the replication configuration for a specific table.getTableReplication(GetTableReplicationRequest getTableReplicationRequest) Retrieves the replication configuration for a specific table.getTableReplicationStatus(Consumer<GetTableReplicationStatusRequest.Builder> getTableReplicationStatusRequest) Retrieves the replication status for a table, including the status of replication to each destination.getTableReplicationStatus(GetTableReplicationStatusRequest getTableReplicationStatusRequest) Retrieves the replication status for a table, including the status of replication to each destination.getTableStorageClass(Consumer<GetTableStorageClassRequest.Builder> getTableStorageClassRequest) Retrieves the storage class configuration for a specific table.getTableStorageClass(GetTableStorageClassRequest getTableStorageClassRequest) Retrieves the storage class configuration for a specific table.default CompletableFuture<ListNamespacesResponse> listNamespaces(Consumer<ListNamespacesRequest.Builder> listNamespacesRequest) Lists the namespaces within a table bucket.default CompletableFuture<ListNamespacesResponse> listNamespaces(ListNamespacesRequest listNamespacesRequest) Lists the namespaces within a table bucket.default ListNamespacesPublisherlistNamespacesPaginator(Consumer<ListNamespacesRequest.Builder> listNamespacesRequest) This is a variant oflistNamespaces(software.amazon.awssdk.services.s3tables.model.ListNamespacesRequest)operation.default ListNamespacesPublisherlistNamespacesPaginator(ListNamespacesRequest listNamespacesRequest) This is a variant oflistNamespaces(software.amazon.awssdk.services.s3tables.model.ListNamespacesRequest)operation.listStorageLensConfigurations(Consumer<ListStorageLensConfigurationsRequest.Builder> listStorageLensConfigurationsRequest) Lists the Amazon S3 Storage Lens for Tables configurations in your account whose home Region is the Region that you send the request to.listStorageLensConfigurations(ListStorageLensConfigurationsRequest listStorageLensConfigurationsRequest) Lists the Amazon S3 Storage Lens for Tables configurations in your account whose home Region is the Region that you send the request to.listStorageLensConfigurationsPaginator(Consumer<ListStorageLensConfigurationsRequest.Builder> listStorageLensConfigurationsRequest) This is a variant oflistStorageLensConfigurations(software.amazon.awssdk.services.s3tables.model.ListStorageLensConfigurationsRequest)operation.listStorageLensConfigurationsPaginator(ListStorageLensConfigurationsRequest listStorageLensConfigurationsRequest) This is a variant oflistStorageLensConfigurations(software.amazon.awssdk.services.s3tables.model.ListStorageLensConfigurationsRequest)operation.listTableBuckets(Consumer<ListTableBucketsRequest.Builder> listTableBucketsRequest) Lists table buckets for your account.listTableBuckets(ListTableBucketsRequest listTableBucketsRequest) Lists table buckets for your account.default ListTableBucketsPublisherlistTableBucketsPaginator(Consumer<ListTableBucketsRequest.Builder> listTableBucketsRequest) This is a variant oflistTableBuckets(software.amazon.awssdk.services.s3tables.model.ListTableBucketsRequest)operation.default ListTableBucketsPublisherlistTableBucketsPaginator(ListTableBucketsRequest listTableBucketsRequest) This is a variant oflistTableBuckets(software.amazon.awssdk.services.s3tables.model.ListTableBucketsRequest)operation.listTableMigrations(Consumer<ListTableMigrationsRequest.Builder> listTableMigrationsRequest) Lists the migrations whose destination is in a table bucket, a namespace or a table.listTableMigrations(ListTableMigrationsRequest listTableMigrationsRequest) Lists the migrations whose destination is in a table bucket, a namespace or a table.default ListTableMigrationsPublisherlistTableMigrationsPaginator(Consumer<ListTableMigrationsRequest.Builder> listTableMigrationsRequest) This is a variant oflistTableMigrations(software.amazon.awssdk.services.s3tables.model.ListTableMigrationsRequest)operation.default ListTableMigrationsPublisherlistTableMigrationsPaginator(ListTableMigrationsRequest listTableMigrationsRequest) This is a variant oflistTableMigrations(software.amazon.awssdk.services.s3tables.model.ListTableMigrationsRequest)operation.default CompletableFuture<ListTablesResponse> listTables(Consumer<ListTablesRequest.Builder> listTablesRequest) List tables in the given table bucket.default CompletableFuture<ListTablesResponse> listTables(ListTablesRequest listTablesRequest) List tables in the given table bucket.default ListTablesPublisherlistTablesPaginator(Consumer<ListTablesRequest.Builder> listTablesRequest) This is a variant oflistTables(software.amazon.awssdk.services.s3tables.model.ListTablesRequest)operation.default ListTablesPublisherlistTablesPaginator(ListTablesRequest listTablesRequest) This is a variant oflistTables(software.amazon.awssdk.services.s3tables.model.ListTablesRequest)operation.listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists all of the tags applied to a specified Amazon S3 Tables resource.listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists all of the tags applied to a specified Amazon S3 Tables resource.default CompletableFuture<PutRowsResponse> putRows(Consumer<PutRowsRequest.Builder> putRowsRequest) ThePutRowsoperation writes rows to a channel of a table in Amazon S3 Tables, so that you can stream data into the table.default CompletableFuture<PutRowsResponse> putRows(PutRowsRequest putRowsRequest) ThePutRowsoperation writes rows to a channel of a table in Amazon S3 Tables, so that you can stream data into the table.putStorageLensConfiguration(Consumer<PutStorageLensConfigurationRequest.Builder> putStorageLensConfigurationRequest) Creates a new Amazon S3 Storage Lens for Tables configuration, or replaces an existing configuration that has the same ID.putStorageLensConfiguration(PutStorageLensConfigurationRequest putStorageLensConfigurationRequest) Creates a new Amazon S3 Storage Lens for Tables configuration, or replaces an existing configuration that has the same ID.putTableBucketEncryption(Consumer<PutTableBucketEncryptionRequest.Builder> putTableBucketEncryptionRequest) Sets the encryption configuration for a table bucket.putTableBucketEncryption(PutTableBucketEncryptionRequest putTableBucketEncryptionRequest) Sets the encryption configuration for a table bucket.putTableBucketLogging(Consumer<PutTableBucketLoggingRequest.Builder> putTableBucketLoggingRequest) Sets, updates, or removes the server access logging configuration for a table bucket.putTableBucketLogging(PutTableBucketLoggingRequest putTableBucketLoggingRequest) Sets, updates, or removes the server access logging configuration for a table bucket.putTableBucketMaintenanceConfiguration(Consumer<PutTableBucketMaintenanceConfigurationRequest.Builder> putTableBucketMaintenanceConfigurationRequest) Creates a new maintenance configuration or replaces an existing maintenance configuration for a table bucket.putTableBucketMaintenanceConfiguration(PutTableBucketMaintenanceConfigurationRequest putTableBucketMaintenanceConfigurationRequest) Creates a new maintenance configuration or replaces an existing maintenance configuration for a table bucket.putTableBucketMetricsConfiguration(Consumer<PutTableBucketMetricsConfigurationRequest.Builder> putTableBucketMetricsConfigurationRequest) Sets the metrics configuration for a table bucket.putTableBucketMetricsConfiguration(PutTableBucketMetricsConfigurationRequest putTableBucketMetricsConfigurationRequest) Sets the metrics configuration for a table bucket.putTableBucketPolicy(Consumer<PutTableBucketPolicyRequest.Builder> putTableBucketPolicyRequest) Creates a new table bucket policy or replaces an existing table bucket policy for a table bucket.putTableBucketPolicy(PutTableBucketPolicyRequest putTableBucketPolicyRequest) Creates a new table bucket policy or replaces an existing table bucket policy for a table bucket.putTableBucketReplication(Consumer<PutTableBucketReplicationRequest.Builder> putTableBucketReplicationRequest) Creates or updates the replication configuration for a table bucket.putTableBucketReplication(PutTableBucketReplicationRequest putTableBucketReplicationRequest) Creates or updates the replication configuration for a table bucket.putTableBucketStorageClass(Consumer<PutTableBucketStorageClassRequest.Builder> putTableBucketStorageClassRequest) Sets or updates the storage class configuration for a table bucket.putTableBucketStorageClass(PutTableBucketStorageClassRequest putTableBucketStorageClassRequest) Sets or updates the storage class configuration for a table bucket.putTableMaintenanceConfiguration(Consumer<PutTableMaintenanceConfigurationRequest.Builder> putTableMaintenanceConfigurationRequest) Creates a new maintenance configuration or replaces an existing maintenance configuration for a table.putTableMaintenanceConfiguration(PutTableMaintenanceConfigurationRequest putTableMaintenanceConfigurationRequest) Creates a new maintenance configuration or replaces an existing maintenance configuration for a table.default CompletableFuture<PutTablePolicyResponse> putTablePolicy(Consumer<PutTablePolicyRequest.Builder> putTablePolicyRequest) Creates a new table policy or replaces an existing table policy for a table.default CompletableFuture<PutTablePolicyResponse> putTablePolicy(PutTablePolicyRequest putTablePolicyRequest) Creates a new table policy or replaces an existing table policy for a table.putTableRecordExpirationConfiguration(Consumer<PutTableRecordExpirationConfigurationRequest.Builder> putTableRecordExpirationConfigurationRequest) Creates or updates the expiration configuration settings for records in a table, including the status of the configuration.putTableRecordExpirationConfiguration(PutTableRecordExpirationConfigurationRequest putTableRecordExpirationConfigurationRequest) Creates or updates the expiration configuration settings for records in a table, including the status of the configuration.putTableReplication(Consumer<PutTableReplicationRequest.Builder> putTableReplicationRequest) Creates or updates the replication configuration for a specific table.putTableReplication(PutTableReplicationRequest putTableReplicationRequest) Creates or updates the replication configuration for a specific table.default CompletableFuture<RenameTableResponse> renameTable(Consumer<RenameTableRequest.Builder> renameTableRequest) Renames a table or a namespace.default CompletableFuture<RenameTableResponse> renameTable(RenameTableRequest renameTableRequest) Renames a table or a namespace.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstartTableMigration(Consumer<StartTableMigrationRequest.Builder> startTableMigrationRequest) Starts migrating an Amazon Web Services Glue Data Catalog table into a new table in a table bucket.startTableMigration(StartTableMigrationRequest startTableMigrationRequest) Starts migrating an Amazon Web Services Glue Data Catalog table into a new table in a table bucket.syncTableMigration(Consumer<SyncTableMigrationRequest.Builder> syncTableMigrationRequest) Migrates the changes in the source table since the previous start or sync, such as added and deleted source objects, into the destination table.syncTableMigration(SyncTableMigrationRequest syncTableMigrationRequest) Migrates the changes in the source table since the previous start or sync, such as added and deleted source objects, into the destination table.default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Applies one or more user-defined tags to an Amazon S3 Tables resource or updates existing tags.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest) Applies one or more user-defined tags to an Amazon S3 Tables resource or updates existing tags.default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes the specified user-defined tags from an Amazon S3 Tables resource.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes the specified user-defined tags from an Amazon S3 Tables resource.updateTableMetadataLocation(Consumer<UpdateTableMetadataLocationRequest.Builder> updateTableMetadataLocationRequest) Updates the metadata location for a table.updateTableMetadataLocation(UpdateTableMetadataLocationRequest updateTableMetadataLocationRequest) Updates the metadata location for a table.updateTableMigration(Consumer<UpdateTableMigrationRequest.Builder> updateTableMigrationRequest) Requests a state change for a migration.updateTableMigration(UpdateTableMigrationRequest updateTableMigrationRequest) Requests a state change for a migration.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
completeTableMigration
default CompletableFuture<CompleteTableMigrationResponse> completeTableMigration(CompleteTableMigrationRequest completeTableMigrationRequest) Completes the migration of a table. The table's most recent migration must be in the
succeeded,failedorcancelledstate. After you complete the migration, you can't sync the table again, and you can write to and maintain the table as you do any other table: compaction starts, and unreferenced file removal follows the table bucket's configuration. You can't undo this operation. Calling it again for the same table returns aConflictException.- Permissions
-
-
You must have the
s3tables:CompleteTableMigrationpermission to use this operation.
-
- Parameters:
completeTableMigrationRequest-- Returns:
- A Java Future containing the result of the CompleteTableMigration 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
completeTableMigration
default CompletableFuture<CompleteTableMigrationResponse> completeTableMigration(Consumer<CompleteTableMigrationRequest.Builder> completeTableMigrationRequest) Completes the migration of a table. The table's most recent migration must be in the
succeeded,failedorcancelledstate. After you complete the migration, you can't sync the table again, and you can write to and maintain the table as you do any other table: compaction starts, and unreferenced file removal follows the table bucket's configuration. You can't undo this operation. Calling it again for the same table returns aConflictException.- Permissions
-
-
You must have the
s3tables:CompleteTableMigrationpermission to use this operation.
-
This is a convenience which creates an instance of the
CompleteTableMigrationRequest.Builderavoiding the need to create one manually viaCompleteTableMigrationRequest.builder()- Parameters:
completeTableMigrationRequest- AConsumerthat will call methods onCompleteTableMigrationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CompleteTableMigration 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createNamespace
default CompletableFuture<CreateNamespaceResponse> createNamespace(CreateNamespaceRequest createNamespaceRequest) Creates a namespace. A namespace is a logical grouping of tables within your table bucket, which you can use to organize tables. For more information, see Create a namespace in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:CreateNamespacepermission to use this operation.
- Parameters:
createNamespaceRequest-- Returns:
- A Java Future containing the result of the CreateNamespace 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createNamespace
default CompletableFuture<CreateNamespaceResponse> createNamespace(Consumer<CreateNamespaceRequest.Builder> createNamespaceRequest) Creates a namespace. A namespace is a logical grouping of tables within your table bucket, which you can use to organize tables. For more information, see Create a namespace in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:CreateNamespacepermission to use this operation.
This is a convenience which creates an instance of the
CreateNamespaceRequest.Builderavoiding the need to create one manually viaCreateNamespaceRequest.builder()- Parameters:
createNamespaceRequest- AConsumerthat will call methods onCreateNamespaceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateNamespace 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createTable
Creates a new table associated with the given namespace in a table bucket. For more information, see Creating an Amazon S3 table in the Amazon Simple Storage Service User Guide.
- Permissions
-
-
You must have the
s3tables:CreateTablepermission to use this operation. -
If you use this operation with the optional
metadatarequest parameter you must have thes3tables:PutTableDatapermission. -
If you use this operation with the optional
encryptionConfigurationrequest parameter you must have thes3tables:PutTableEncryptionpermission. -
If you use this operation with the
storageClassConfigurationrequest parameter, you must have thes3tables:PutTableStorageClasspermission. -
To create a table with tags, you must have the
s3tables:TagResourcepermission in addition tos3tables:CreateTablepermission.
Additionally, If you choose SSE-KMS encryption you must grant the S3 Tables maintenance principal access to your KMS key. For more information, see Permissions requirements for S3 Tables SSE-KMS encryption.
-
- 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createTable
default CompletableFuture<CreateTableResponse> createTable(Consumer<CreateTableRequest.Builder> createTableRequest) Creates a new table associated with the given namespace in a table bucket. For more information, see Creating an Amazon S3 table in the Amazon Simple Storage Service User Guide.
- Permissions
-
-
You must have the
s3tables:CreateTablepermission to use this operation. -
If you use this operation with the optional
metadatarequest parameter you must have thes3tables:PutTableDatapermission. -
If you use this operation with the optional
encryptionConfigurationrequest parameter you must have thes3tables:PutTableEncryptionpermission. -
If you use this operation with the
storageClassConfigurationrequest parameter, you must have thes3tables:PutTableStorageClasspermission. -
To create a table with tags, you must have the
s3tables:TagResourcepermission in addition tos3tables:CreateTablepermission.
Additionally, If you choose SSE-KMS encryption you must grant the S3 Tables maintenance principal access to your KMS key. For more information, see Permissions requirements for S3 Tables SSE-KMS encryption.
-
This is a convenience which creates an instance of the
CreateTableRequest.Builderavoiding the need to create one manually viaCreateTableRequest.builder()- Parameters:
createTableRequest- AConsumerthat will call methods onCreateTableRequest.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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createTableBucket
default CompletableFuture<CreateTableBucketResponse> createTableBucket(CreateTableBucketRequest createTableBucketRequest) Creates a table bucket. For more information, see Creating a table bucket in the Amazon Simple Storage Service User Guide.
- Permissions
-
-
You must have the
s3tables:CreateTableBucketpermission to use this operation. -
If you use this operation with the optional
encryptionConfigurationparameter you must have thes3tables:PutTableBucketEncryptionpermission. -
If you use this operation with the
storageClassConfigurationrequest parameter, you must have thes3tables:PutTableBucketStorageClasspermission. -
To create a table bucket with tags, you must have the
s3tables:TagResourcepermission in addition tos3tables:CreateTableBucketpermission.
-
- Parameters:
createTableBucketRequest-- Returns:
- A Java Future containing the result of the CreateTableBucket 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createTableBucket
default CompletableFuture<CreateTableBucketResponse> createTableBucket(Consumer<CreateTableBucketRequest.Builder> createTableBucketRequest) Creates a table bucket. For more information, see Creating a table bucket in the Amazon Simple Storage Service User Guide.
- Permissions
-
-
You must have the
s3tables:CreateTableBucketpermission to use this operation. -
If you use this operation with the optional
encryptionConfigurationparameter you must have thes3tables:PutTableBucketEncryptionpermission. -
If you use this operation with the
storageClassConfigurationrequest parameter, you must have thes3tables:PutTableBucketStorageClasspermission. -
To create a table bucket with tags, you must have the
s3tables:TagResourcepermission in addition tos3tables:CreateTableBucketpermission.
-
This is a convenience which creates an instance of the
CreateTableBucketRequest.Builderavoiding the need to create one manually viaCreateTableBucketRequest.builder()- Parameters:
createTableBucketRequest- AConsumerthat will call methods onCreateTableBucketRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateTableBucket 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteNamespace
default CompletableFuture<DeleteNamespaceResponse> deleteNamespace(DeleteNamespaceRequest deleteNamespaceRequest) Deletes a namespace. For more information, see Delete a namespace in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:DeleteNamespacepermission to use this operation.
- Parameters:
deleteNamespaceRequest-- Returns:
- A Java Future containing the result of the DeleteNamespace 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteNamespace
default CompletableFuture<DeleteNamespaceResponse> deleteNamespace(Consumer<DeleteNamespaceRequest.Builder> deleteNamespaceRequest) Deletes a namespace. For more information, see Delete a namespace in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:DeleteNamespacepermission to use this operation.
This is a convenience which creates an instance of the
DeleteNamespaceRequest.Builderavoiding the need to create one manually viaDeleteNamespaceRequest.builder()- Parameters:
deleteNamespaceRequest- AConsumerthat will call methods onDeleteNamespaceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteNamespace 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteStorageLensConfiguration
default CompletableFuture<DeleteStorageLensConfigurationResponse> deleteStorageLensConfiguration(DeleteStorageLensConfigurationRequest deleteStorageLensConfigurationRequest) Deletes an Amazon S3 Storage Lens for Tables configuration. Send the request to the configuration's home Region. For more information, see Gaining visibility into your S3 Tables storage activity and usage with Amazon S3 Storage Lens for Tables in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:DeleteStorageLensConfigurationpermission to use this operation. For more information, see Setting Amazon S3 Storage Lens for Tables permissions in the Amazon Simple Storage Service User Guide.
- Parameters:
deleteStorageLensConfigurationRequest-- Returns:
- A Java Future containing the result of the DeleteStorageLensConfiguration 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteStorageLensConfiguration
default CompletableFuture<DeleteStorageLensConfigurationResponse> deleteStorageLensConfiguration(Consumer<DeleteStorageLensConfigurationRequest.Builder> deleteStorageLensConfigurationRequest) Deletes an Amazon S3 Storage Lens for Tables configuration. Send the request to the configuration's home Region. For more information, see Gaining visibility into your S3 Tables storage activity and usage with Amazon S3 Storage Lens for Tables in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:DeleteStorageLensConfigurationpermission to use this operation. For more information, see Setting Amazon S3 Storage Lens for Tables permissions in the Amazon Simple Storage Service User Guide.
This is a convenience which creates an instance of the
DeleteStorageLensConfigurationRequest.Builderavoiding the need to create one manually viaDeleteStorageLensConfigurationRequest.builder()- Parameters:
deleteStorageLensConfigurationRequest- AConsumerthat will call methods onDeleteStorageLensConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteStorageLensConfiguration 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteTable
Deletes a table. For more information, see Deleting an Amazon S3 table in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:DeleteTablepermission to use this operation.
- 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteTable
default CompletableFuture<DeleteTableResponse> deleteTable(Consumer<DeleteTableRequest.Builder> deleteTableRequest) Deletes a table. For more information, see Deleting an Amazon S3 table in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:DeleteTablepermission to use this operation.
This is a convenience which creates an instance of the
DeleteTableRequest.Builderavoiding the need to create one manually viaDeleteTableRequest.builder()- Parameters:
deleteTableRequest- AConsumerthat will call methods onDeleteTableRequest.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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteTableBucket
default CompletableFuture<DeleteTableBucketResponse> deleteTableBucket(DeleteTableBucketRequest deleteTableBucketRequest) Deletes a table bucket. For more information, see Deleting a table bucket in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:DeleteTableBucketpermission to use this operation.
- Parameters:
deleteTableBucketRequest-- Returns:
- A Java Future containing the result of the DeleteTableBucket 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteTableBucket
default CompletableFuture<DeleteTableBucketResponse> deleteTableBucket(Consumer<DeleteTableBucketRequest.Builder> deleteTableBucketRequest) Deletes a table bucket. For more information, see Deleting a table bucket in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:DeleteTableBucketpermission to use this operation.
This is a convenience which creates an instance of the
DeleteTableBucketRequest.Builderavoiding the need to create one manually viaDeleteTableBucketRequest.builder()- Parameters:
deleteTableBucketRequest- AConsumerthat will call methods onDeleteTableBucketRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteTableBucket 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteTableBucketEncryption
default CompletableFuture<DeleteTableBucketEncryptionResponse> deleteTableBucketEncryption(DeleteTableBucketEncryptionRequest deleteTableBucketEncryptionRequest) Deletes the encryption configuration for a table bucket.
- Permissions
-
You must have the
s3tables:DeleteTableBucketEncryptionpermission to use this operation.
- Parameters:
deleteTableBucketEncryptionRequest-- Returns:
- A Java Future containing the result of the DeleteTableBucketEncryption 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteTableBucketEncryption
default CompletableFuture<DeleteTableBucketEncryptionResponse> deleteTableBucketEncryption(Consumer<DeleteTableBucketEncryptionRequest.Builder> deleteTableBucketEncryptionRequest) Deletes the encryption configuration for a table bucket.
- Permissions
-
You must have the
s3tables:DeleteTableBucketEncryptionpermission to use this operation.
This is a convenience which creates an instance of the
DeleteTableBucketEncryptionRequest.Builderavoiding the need to create one manually viaDeleteTableBucketEncryptionRequest.builder()- Parameters:
deleteTableBucketEncryptionRequest- AConsumerthat will call methods onDeleteTableBucketEncryptionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteTableBucketEncryption 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteTableBucketMetricsConfiguration
default CompletableFuture<DeleteTableBucketMetricsConfigurationResponse> deleteTableBucketMetricsConfiguration(DeleteTableBucketMetricsConfigurationRequest deleteTableBucketMetricsConfigurationRequest) Deletes the metrics configuration for a table bucket.
- Permissions
-
You must have the
s3tables:DeleteTableBucketMetricsConfigurationpermission to use this operation.
- Parameters:
deleteTableBucketMetricsConfigurationRequest-- Returns:
- A Java Future containing the result of the DeleteTableBucketMetricsConfiguration 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteTableBucketMetricsConfiguration
default CompletableFuture<DeleteTableBucketMetricsConfigurationResponse> deleteTableBucketMetricsConfiguration(Consumer<DeleteTableBucketMetricsConfigurationRequest.Builder> deleteTableBucketMetricsConfigurationRequest) Deletes the metrics configuration for a table bucket.
- Permissions
-
You must have the
s3tables:DeleteTableBucketMetricsConfigurationpermission to use this operation.
This is a convenience which creates an instance of the
DeleteTableBucketMetricsConfigurationRequest.Builderavoiding the need to create one manually viaDeleteTableBucketMetricsConfigurationRequest.builder()- Parameters:
deleteTableBucketMetricsConfigurationRequest- AConsumerthat will call methods onDeleteTableBucketMetricsConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteTableBucketMetricsConfiguration 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteTableBucketPolicy
default CompletableFuture<DeleteTableBucketPolicyResponse> deleteTableBucketPolicy(DeleteTableBucketPolicyRequest deleteTableBucketPolicyRequest) Deletes a table bucket policy. For more information, see Deleting a table bucket policy in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:DeleteTableBucketPolicypermission to use this operation.
- Parameters:
deleteTableBucketPolicyRequest-- Returns:
- A Java Future containing the result of the DeleteTableBucketPolicy 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteTableBucketPolicy
default CompletableFuture<DeleteTableBucketPolicyResponse> deleteTableBucketPolicy(Consumer<DeleteTableBucketPolicyRequest.Builder> deleteTableBucketPolicyRequest) Deletes a table bucket policy. For more information, see Deleting a table bucket policy in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:DeleteTableBucketPolicypermission to use this operation.
This is a convenience which creates an instance of the
DeleteTableBucketPolicyRequest.Builderavoiding the need to create one manually viaDeleteTableBucketPolicyRequest.builder()- Parameters:
deleteTableBucketPolicyRequest- AConsumerthat will call methods onDeleteTableBucketPolicyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteTableBucketPolicy 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteTableBucketReplication
default CompletableFuture<DeleteTableBucketReplicationResponse> deleteTableBucketReplication(DeleteTableBucketReplicationRequest deleteTableBucketReplicationRequest) Deletes the replication configuration for a table bucket. After deletion, new table updates will no longer be replicated to destination buckets, though existing replicated tables will remain in destination buckets.
- Permissions
-
You must have the
s3tables:DeleteTableBucketReplicationpermission to use this operation.
- Parameters:
deleteTableBucketReplicationRequest-- Returns:
- A Java Future containing the result of the DeleteTableBucketReplication 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteTableBucketReplication
default CompletableFuture<DeleteTableBucketReplicationResponse> deleteTableBucketReplication(Consumer<DeleteTableBucketReplicationRequest.Builder> deleteTableBucketReplicationRequest) Deletes the replication configuration for a table bucket. After deletion, new table updates will no longer be replicated to destination buckets, though existing replicated tables will remain in destination buckets.
- Permissions
-
You must have the
s3tables:DeleteTableBucketReplicationpermission to use this operation.
This is a convenience which creates an instance of the
DeleteTableBucketReplicationRequest.Builderavoiding the need to create one manually viaDeleteTableBucketReplicationRequest.builder()- Parameters:
deleteTableBucketReplicationRequest- AConsumerthat will call methods onDeleteTableBucketReplicationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteTableBucketReplication 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteTablePolicy
default CompletableFuture<DeleteTablePolicyResponse> deleteTablePolicy(DeleteTablePolicyRequest deleteTablePolicyRequest) Deletes a table policy. For more information, see Deleting a table policy in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:DeleteTablePolicypermission to use this operation.
- Parameters:
deleteTablePolicyRequest-- Returns:
- A Java Future containing the result of the DeleteTablePolicy 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteTablePolicy
default CompletableFuture<DeleteTablePolicyResponse> deleteTablePolicy(Consumer<DeleteTablePolicyRequest.Builder> deleteTablePolicyRequest) Deletes a table policy. For more information, see Deleting a table policy in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:DeleteTablePolicypermission to use this operation.
This is a convenience which creates an instance of the
DeleteTablePolicyRequest.Builderavoiding the need to create one manually viaDeleteTablePolicyRequest.builder()- Parameters:
deleteTablePolicyRequest- AConsumerthat will call methods onDeleteTablePolicyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteTablePolicy 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteTableReplication
default CompletableFuture<DeleteTableReplicationResponse> deleteTableReplication(DeleteTableReplicationRequest deleteTableReplicationRequest) Deletes the replication configuration for a specific table. After deletion, new updates to this table will no longer be replicated to destination tables, though existing replicated copies will remain in destination buckets.
- Permissions
-
You must have the
s3tables:DeleteTableReplicationpermission to use this operation.
- Parameters:
deleteTableReplicationRequest-- Returns:
- A Java Future containing the result of the DeleteTableReplication 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteTableReplication
default CompletableFuture<DeleteTableReplicationResponse> deleteTableReplication(Consumer<DeleteTableReplicationRequest.Builder> deleteTableReplicationRequest) Deletes the replication configuration for a specific table. After deletion, new updates to this table will no longer be replicated to destination tables, though existing replicated copies will remain in destination buckets.
- Permissions
-
You must have the
s3tables:DeleteTableReplicationpermission to use this operation.
This is a convenience which creates an instance of the
DeleteTableReplicationRequest.Builderavoiding the need to create one manually viaDeleteTableReplicationRequest.builder()- Parameters:
deleteTableReplicationRequest- AConsumerthat will call methods onDeleteTableReplicationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteTableReplication 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateTableReplication
default CompletableFuture<DisassociateTableReplicationResponse> disassociateTableReplication(DisassociateTableReplicationRequest disassociateTableReplicationRequest) Disassociates a replica table from replication, making it a standalone writable table. Any in-progress replication to the table stops, and in-flight commits fail without being committed to the table. Disassociating a table from replication is permanent and can't be reversed.
You can only disassociate a replica table. If you call this operation on a table that isn't a replica table, including a table that you have already disassociated, the request fails.
After you disassociate a table from replication, you can write to the table as you do any other table.
GetTableno longer returnsmanagedByServiceandmanagedTableInformationfor the table, andListTablesno longer returnsmanagedByServicefor it. On the source table,GetTableReplicationStatusreports a failure for this destination the next time replication to it is attempted.Disassociating a table from replication doesn't change its maintenance configuration. Review the maintenance settings of the table, such as compaction, after you disassociate it.
- Permissions
-
You must have the
s3tables:DisassociateTableReplicationpermission to use this operation.
- Parameters:
disassociateTableReplicationRequest-- Returns:
- A Java Future containing the result of the DisassociateTableReplication 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateTableReplication
default CompletableFuture<DisassociateTableReplicationResponse> disassociateTableReplication(Consumer<DisassociateTableReplicationRequest.Builder> disassociateTableReplicationRequest) Disassociates a replica table from replication, making it a standalone writable table. Any in-progress replication to the table stops, and in-flight commits fail without being committed to the table. Disassociating a table from replication is permanent and can't be reversed.
You can only disassociate a replica table. If you call this operation on a table that isn't a replica table, including a table that you have already disassociated, the request fails.
After you disassociate a table from replication, you can write to the table as you do any other table.
GetTableno longer returnsmanagedByServiceandmanagedTableInformationfor the table, andListTablesno longer returnsmanagedByServicefor it. On the source table,GetTableReplicationStatusreports a failure for this destination the next time replication to it is attempted.Disassociating a table from replication doesn't change its maintenance configuration. Review the maintenance settings of the table, such as compaction, after you disassociate it.
- Permissions
-
You must have the
s3tables:DisassociateTableReplicationpermission to use this operation.
This is a convenience which creates an instance of the
DisassociateTableReplicationRequest.Builderavoiding the need to create one manually viaDisassociateTableReplicationRequest.builder()- Parameters:
disassociateTableReplicationRequest- AConsumerthat will call methods onDisassociateTableReplicationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisassociateTableReplication 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getChannel
Gets the current state of a table's channel in Amazon S3 Tables.
The operation returns the following information about the channel:
-
The state of the channel
-
The approximate number of rows that the channel has buffered and not yet committed to the table
-
An error code and a message that describe the error, if an error blocks commits
The default channel is created the first time that
PutRowswrites to the table. Until then,GetChannelfails with aNotFoundExceptionerror.- Permissions
-
To use this operation, you must have the
s3tables:GetChannelpermission on the table.
- Parameters:
getChannelRequest-- Returns:
- A Java Future containing the result of the GetChannel 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
getChannel
default CompletableFuture<GetChannelResponse> getChannel(Consumer<GetChannelRequest.Builder> getChannelRequest) Gets the current state of a table's channel in Amazon S3 Tables.
The operation returns the following information about the channel:
-
The state of the channel
-
The approximate number of rows that the channel has buffered and not yet committed to the table
-
An error code and a message that describe the error, if an error blocks commits
The default channel is created the first time that
PutRowswrites to the table. Until then,GetChannelfails with aNotFoundExceptionerror.- Permissions
-
To use this operation, you must have the
s3tables:GetChannelpermission on the table.
This is a convenience which creates an instance of the
GetChannelRequest.Builderavoiding the need to create one manually viaGetChannelRequest.builder()- Parameters:
getChannelRequest- AConsumerthat will call methods onGetChannelRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetChannel 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
getNamespace
default CompletableFuture<GetNamespaceResponse> getNamespace(GetNamespaceRequest getNamespaceRequest) Gets details about a namespace. For more information, see Table namespaces in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:GetNamespacepermission to use this operation.
- Parameters:
getNamespaceRequest-- Returns:
- A Java Future containing the result of the GetNamespace 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getNamespace
default CompletableFuture<GetNamespaceResponse> getNamespace(Consumer<GetNamespaceRequest.Builder> getNamespaceRequest) Gets details about a namespace. For more information, see Table namespaces in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:GetNamespacepermission to use this operation.
This is a convenience which creates an instance of the
GetNamespaceRequest.Builderavoiding the need to create one manually viaGetNamespaceRequest.builder()- Parameters:
getNamespaceRequest- AConsumerthat will call methods onGetNamespaceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetNamespace 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getStorageLensConfiguration
default CompletableFuture<GetStorageLensConfigurationResponse> getStorageLensConfiguration(GetStorageLensConfigurationRequest getStorageLensConfigurationRequest) Gets an Amazon S3 Storage Lens for Tables configuration. Send the request to the configuration's home Region. For more information, see Gaining visibility into your S3 Tables storage activity and usage with Amazon S3 Storage Lens for Tables in the Amazon Simple Storage Service User Guide. For a complete list of S3 Storage Lens for Tables metrics, see Amazon S3 Storage Lens for Tables metrics glossary in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:GetStorageLensConfigurationpermission to use this operation. For more information, see Setting Amazon S3 Storage Lens for Tables permissions in the Amazon Simple Storage Service User Guide.
- Parameters:
getStorageLensConfigurationRequest-- Returns:
- A Java Future containing the result of the GetStorageLensConfiguration 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getStorageLensConfiguration
default CompletableFuture<GetStorageLensConfigurationResponse> getStorageLensConfiguration(Consumer<GetStorageLensConfigurationRequest.Builder> getStorageLensConfigurationRequest) Gets an Amazon S3 Storage Lens for Tables configuration. Send the request to the configuration's home Region. For more information, see Gaining visibility into your S3 Tables storage activity and usage with Amazon S3 Storage Lens for Tables in the Amazon Simple Storage Service User Guide. For a complete list of S3 Storage Lens for Tables metrics, see Amazon S3 Storage Lens for Tables metrics glossary in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:GetStorageLensConfigurationpermission to use this operation. For more information, see Setting Amazon S3 Storage Lens for Tables permissions in the Amazon Simple Storage Service User Guide.
This is a convenience which creates an instance of the
GetStorageLensConfigurationRequest.Builderavoiding the need to create one manually viaGetStorageLensConfigurationRequest.builder()- Parameters:
getStorageLensConfigurationRequest- AConsumerthat will call methods onGetStorageLensConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetStorageLensConfiguration 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTable
Gets details about a table. For more information, see S3 Tables in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:GetTablepermission to use this operation.
- 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTable
default CompletableFuture<GetTableResponse> getTable(Consumer<GetTableRequest.Builder> getTableRequest) Gets details about a table. For more information, see S3 Tables in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:GetTablepermission to use this operation.
This is a convenience which creates an instance of the
GetTableRequest.Builderavoiding the need to create one manually viaGetTableRequest.builder()- Parameters:
getTableRequest- AConsumerthat will call methods onGetTableRequest.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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTableBucket
default CompletableFuture<GetTableBucketResponse> getTableBucket(GetTableBucketRequest getTableBucketRequest) Gets details on a table bucket. For more information, see Viewing details about an Amazon S3 table bucket in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:GetTableBucketpermission to use this operation.
- Parameters:
getTableBucketRequest-- Returns:
- A Java Future containing the result of the GetTableBucket 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTableBucket
default CompletableFuture<GetTableBucketResponse> getTableBucket(Consumer<GetTableBucketRequest.Builder> getTableBucketRequest) Gets details on a table bucket. For more information, see Viewing details about an Amazon S3 table bucket in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:GetTableBucketpermission to use this operation.
This is a convenience which creates an instance of the
GetTableBucketRequest.Builderavoiding the need to create one manually viaGetTableBucketRequest.builder()- Parameters:
getTableBucketRequest- AConsumerthat will call methods onGetTableBucketRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetTableBucket 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTableBucketEncryption
default CompletableFuture<GetTableBucketEncryptionResponse> getTableBucketEncryption(GetTableBucketEncryptionRequest getTableBucketEncryptionRequest) Gets the encryption configuration for a table bucket.
- Permissions
-
You must have the
s3tables:GetTableBucketEncryptionpermission to use this operation.
- Parameters:
getTableBucketEncryptionRequest-- Returns:
- A Java Future containing the result of the GetTableBucketEncryption 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTableBucketEncryption
default CompletableFuture<GetTableBucketEncryptionResponse> getTableBucketEncryption(Consumer<GetTableBucketEncryptionRequest.Builder> getTableBucketEncryptionRequest) Gets the encryption configuration for a table bucket.
- Permissions
-
You must have the
s3tables:GetTableBucketEncryptionpermission to use this operation.
This is a convenience which creates an instance of the
GetTableBucketEncryptionRequest.Builderavoiding the need to create one manually viaGetTableBucketEncryptionRequest.builder()- Parameters:
getTableBucketEncryptionRequest- AConsumerthat will call methods onGetTableBucketEncryptionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetTableBucketEncryption 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTableBucketLogging
default CompletableFuture<GetTableBucketLoggingResponse> getTableBucketLogging(GetTableBucketLoggingRequest getTableBucketLoggingRequest) Gets the server access logging configuration for a table bucket. For more information, see Server access logging for table buckets in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:GetTableBucketLoggingpermission to use this operation.
- Parameters:
getTableBucketLoggingRequest-- Returns:
- A Java Future containing the result of the GetTableBucketLogging 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTableBucketLogging
default CompletableFuture<GetTableBucketLoggingResponse> getTableBucketLogging(Consumer<GetTableBucketLoggingRequest.Builder> getTableBucketLoggingRequest) Gets the server access logging configuration for a table bucket. For more information, see Server access logging for table buckets in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:GetTableBucketLoggingpermission to use this operation.
This is a convenience which creates an instance of the
GetTableBucketLoggingRequest.Builderavoiding the need to create one manually viaGetTableBucketLoggingRequest.builder()- Parameters:
getTableBucketLoggingRequest- AConsumerthat will call methods onGetTableBucketLoggingRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetTableBucketLogging 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTableBucketMaintenanceConfiguration
default CompletableFuture<GetTableBucketMaintenanceConfigurationResponse> getTableBucketMaintenanceConfiguration(GetTableBucketMaintenanceConfigurationRequest getTableBucketMaintenanceConfigurationRequest) Gets details about a maintenance configuration for a given table bucket. For more information, see Amazon S3 table bucket maintenance in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:GetTableBucketMaintenanceConfigurationpermission to use this operation.
- Parameters:
getTableBucketMaintenanceConfigurationRequest-- Returns:
- A Java Future containing the result of the GetTableBucketMaintenanceConfiguration 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTableBucketMaintenanceConfiguration
default CompletableFuture<GetTableBucketMaintenanceConfigurationResponse> getTableBucketMaintenanceConfiguration(Consumer<GetTableBucketMaintenanceConfigurationRequest.Builder> getTableBucketMaintenanceConfigurationRequest) Gets details about a maintenance configuration for a given table bucket. For more information, see Amazon S3 table bucket maintenance in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:GetTableBucketMaintenanceConfigurationpermission to use this operation.
This is a convenience which creates an instance of the
GetTableBucketMaintenanceConfigurationRequest.Builderavoiding the need to create one manually viaGetTableBucketMaintenanceConfigurationRequest.builder()- Parameters:
getTableBucketMaintenanceConfigurationRequest- AConsumerthat will call methods onGetTableBucketMaintenanceConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetTableBucketMaintenanceConfiguration 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTableBucketMetricsConfiguration
default CompletableFuture<GetTableBucketMetricsConfigurationResponse> getTableBucketMetricsConfiguration(GetTableBucketMetricsConfigurationRequest getTableBucketMetricsConfigurationRequest) Gets the metrics configuration for a table bucket.
- Permissions
-
You must have the
s3tables:GetTableBucketMetricsConfigurationpermission to use this operation.
- Parameters:
getTableBucketMetricsConfigurationRequest-- Returns:
- A Java Future containing the result of the GetTableBucketMetricsConfiguration 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTableBucketMetricsConfiguration
default CompletableFuture<GetTableBucketMetricsConfigurationResponse> getTableBucketMetricsConfiguration(Consumer<GetTableBucketMetricsConfigurationRequest.Builder> getTableBucketMetricsConfigurationRequest) Gets the metrics configuration for a table bucket.
- Permissions
-
You must have the
s3tables:GetTableBucketMetricsConfigurationpermission to use this operation.
This is a convenience which creates an instance of the
GetTableBucketMetricsConfigurationRequest.Builderavoiding the need to create one manually viaGetTableBucketMetricsConfigurationRequest.builder()- Parameters:
getTableBucketMetricsConfigurationRequest- AConsumerthat will call methods onGetTableBucketMetricsConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetTableBucketMetricsConfiguration 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTableBucketPolicy
default CompletableFuture<GetTableBucketPolicyResponse> getTableBucketPolicy(GetTableBucketPolicyRequest getTableBucketPolicyRequest) Gets details about a table bucket policy. For more information, see Viewing a table bucket policy in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:GetTableBucketPolicypermission to use this operation.
- Parameters:
getTableBucketPolicyRequest-- Returns:
- A Java Future containing the result of the GetTableBucketPolicy 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTableBucketPolicy
default CompletableFuture<GetTableBucketPolicyResponse> getTableBucketPolicy(Consumer<GetTableBucketPolicyRequest.Builder> getTableBucketPolicyRequest) Gets details about a table bucket policy. For more information, see Viewing a table bucket policy in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:GetTableBucketPolicypermission to use this operation.
This is a convenience which creates an instance of the
GetTableBucketPolicyRequest.Builderavoiding the need to create one manually viaGetTableBucketPolicyRequest.builder()- Parameters:
getTableBucketPolicyRequest- AConsumerthat will call methods onGetTableBucketPolicyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetTableBucketPolicy 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTableBucketReplication
default CompletableFuture<GetTableBucketReplicationResponse> getTableBucketReplication(GetTableBucketReplicationRequest getTableBucketReplicationRequest) Retrieves the replication configuration for a table bucket.This operation returns the IAM role,
versionToken, and replication rules that define how tables in this bucket are replicated to other buckets.- Permissions
-
You must have the
s3tables:GetTableBucketReplicationpermission to use this operation.
- Parameters:
getTableBucketReplicationRequest-- Returns:
- A Java Future containing the result of the GetTableBucketReplication 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTableBucketReplication
default CompletableFuture<GetTableBucketReplicationResponse> getTableBucketReplication(Consumer<GetTableBucketReplicationRequest.Builder> getTableBucketReplicationRequest) Retrieves the replication configuration for a table bucket.This operation returns the IAM role,
versionToken, and replication rules that define how tables in this bucket are replicated to other buckets.- Permissions
-
You must have the
s3tables:GetTableBucketReplicationpermission to use this operation.
This is a convenience which creates an instance of the
GetTableBucketReplicationRequest.Builderavoiding the need to create one manually viaGetTableBucketReplicationRequest.builder()- Parameters:
getTableBucketReplicationRequest- AConsumerthat will call methods onGetTableBucketReplicationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetTableBucketReplication 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTableBucketStorageClass
default CompletableFuture<GetTableBucketStorageClassResponse> getTableBucketStorageClass(GetTableBucketStorageClassRequest getTableBucketStorageClassRequest) Retrieves the storage class configuration for a specific table. This allows you to view the storage class settings that apply to an individual table, which may differ from the table bucket's default configuration.
- Permissions
-
You must have the
s3tables:GetTableBucketStorageClasspermission to use this operation.
- Parameters:
getTableBucketStorageClassRequest-- Returns:
- A Java Future containing the result of the GetTableBucketStorageClass 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTableBucketStorageClass
default CompletableFuture<GetTableBucketStorageClassResponse> getTableBucketStorageClass(Consumer<GetTableBucketStorageClassRequest.Builder> getTableBucketStorageClassRequest) Retrieves the storage class configuration for a specific table. This allows you to view the storage class settings that apply to an individual table, which may differ from the table bucket's default configuration.
- Permissions
-
You must have the
s3tables:GetTableBucketStorageClasspermission to use this operation.
This is a convenience which creates an instance of the
GetTableBucketStorageClassRequest.Builderavoiding the need to create one manually viaGetTableBucketStorageClassRequest.builder()- Parameters:
getTableBucketStorageClassRequest- AConsumerthat will call methods onGetTableBucketStorageClassRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetTableBucketStorageClass 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTableEncryption
default CompletableFuture<GetTableEncryptionResponse> getTableEncryption(GetTableEncryptionRequest getTableEncryptionRequest) Gets the encryption configuration for a table.
- Permissions
-
You must have the
s3tables:GetTableEncryptionpermission to use this operation.
- Parameters:
getTableEncryptionRequest-- Returns:
- A Java Future containing the result of the GetTableEncryption 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTableEncryption
default CompletableFuture<GetTableEncryptionResponse> getTableEncryption(Consumer<GetTableEncryptionRequest.Builder> getTableEncryptionRequest) Gets the encryption configuration for a table.
- Permissions
-
You must have the
s3tables:GetTableEncryptionpermission to use this operation.
This is a convenience which creates an instance of the
GetTableEncryptionRequest.Builderavoiding the need to create one manually viaGetTableEncryptionRequest.builder()- Parameters:
getTableEncryptionRequest- AConsumerthat will call methods onGetTableEncryptionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetTableEncryption 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTableMaintenanceConfiguration
default CompletableFuture<GetTableMaintenanceConfigurationResponse> getTableMaintenanceConfiguration(GetTableMaintenanceConfigurationRequest getTableMaintenanceConfigurationRequest) Gets details about the maintenance configuration of a table. For more information, see S3 Tables maintenance in the Amazon Simple Storage Service User Guide.
- Permissions
-
-
You must have the
s3tables:GetTableMaintenanceConfigurationpermission to use this operation. -
You must have the
s3tables:GetTableDatapermission to use set the compaction strategy tosortorzorder.
-
- Parameters:
getTableMaintenanceConfigurationRequest-- Returns:
- A Java Future containing the result of the GetTableMaintenanceConfiguration 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTableMaintenanceConfiguration
default CompletableFuture<GetTableMaintenanceConfigurationResponse> getTableMaintenanceConfiguration(Consumer<GetTableMaintenanceConfigurationRequest.Builder> getTableMaintenanceConfigurationRequest) Gets details about the maintenance configuration of a table. For more information, see S3 Tables maintenance in the Amazon Simple Storage Service User Guide.
- Permissions
-
-
You must have the
s3tables:GetTableMaintenanceConfigurationpermission to use this operation. -
You must have the
s3tables:GetTableDatapermission to use set the compaction strategy tosortorzorder.
-
This is a convenience which creates an instance of the
GetTableMaintenanceConfigurationRequest.Builderavoiding the need to create one manually viaGetTableMaintenanceConfigurationRequest.builder()- Parameters:
getTableMaintenanceConfigurationRequest- AConsumerthat will call methods onGetTableMaintenanceConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetTableMaintenanceConfiguration 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTableMaintenanceJobStatus
default CompletableFuture<GetTableMaintenanceJobStatusResponse> getTableMaintenanceJobStatus(GetTableMaintenanceJobStatusRequest getTableMaintenanceJobStatusRequest) Gets the status of a maintenance job for a table. For more information, see S3 Tables maintenance in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:GetTableMaintenanceJobStatuspermission to use this operation.
- Parameters:
getTableMaintenanceJobStatusRequest-- Returns:
- A Java Future containing the result of the GetTableMaintenanceJobStatus 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTableMaintenanceJobStatus
default CompletableFuture<GetTableMaintenanceJobStatusResponse> getTableMaintenanceJobStatus(Consumer<GetTableMaintenanceJobStatusRequest.Builder> getTableMaintenanceJobStatusRequest) Gets the status of a maintenance job for a table. For more information, see S3 Tables maintenance in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:GetTableMaintenanceJobStatuspermission to use this operation.
This is a convenience which creates an instance of the
GetTableMaintenanceJobStatusRequest.Builderavoiding the need to create one manually viaGetTableMaintenanceJobStatusRequest.builder()- Parameters:
getTableMaintenanceJobStatusRequest- AConsumerthat will call methods onGetTableMaintenanceJobStatusRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetTableMaintenanceJobStatus 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTableMetadataLocation
default CompletableFuture<GetTableMetadataLocationResponse> getTableMetadataLocation(GetTableMetadataLocationRequest getTableMetadataLocationRequest) Gets the location of the table metadata.
- Permissions
-
You must have the
s3tables:GetTableMetadataLocationpermission to use this operation.
- Parameters:
getTableMetadataLocationRequest-- Returns:
- A Java Future containing the result of the GetTableMetadataLocation 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTableMetadataLocation
default CompletableFuture<GetTableMetadataLocationResponse> getTableMetadataLocation(Consumer<GetTableMetadataLocationRequest.Builder> getTableMetadataLocationRequest) Gets the location of the table metadata.
- Permissions
-
You must have the
s3tables:GetTableMetadataLocationpermission to use this operation.
This is a convenience which creates an instance of the
GetTableMetadataLocationRequest.Builderavoiding the need to create one manually viaGetTableMetadataLocationRequest.builder()- Parameters:
getTableMetadataLocationRequest- AConsumerthat will call methods onGetTableMetadataLocationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetTableMetadataLocation 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTableMigration
default CompletableFuture<GetTableMigrationResponse> getTableMigration(GetTableMigrationRequest getTableMigrationRequest) Gets the details of a migration, including its state, the reason it failed, its statistics and the location of its reports. Identify the migration by its
migrationId, or specify thetableARNof a destination table to get that table's most recent migration.- Permissions
-
-
You must have the
s3tables:GetTableMigrationpermission to use this operation.
-
- Parameters:
getTableMigrationRequest-- Returns:
- A Java Future containing the result of the GetTableMigration 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTableMigration
default CompletableFuture<GetTableMigrationResponse> getTableMigration(Consumer<GetTableMigrationRequest.Builder> getTableMigrationRequest) Gets the details of a migration, including its state, the reason it failed, its statistics and the location of its reports. Identify the migration by its
migrationId, or specify thetableARNof a destination table to get that table's most recent migration.- Permissions
-
-
You must have the
s3tables:GetTableMigrationpermission to use this operation.
-
This is a convenience which creates an instance of the
GetTableMigrationRequest.Builderavoiding the need to create one manually viaGetTableMigrationRequest.builder()- Parameters:
getTableMigrationRequest- AConsumerthat will call methods onGetTableMigrationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetTableMigration 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTablePolicy
default CompletableFuture<GetTablePolicyResponse> getTablePolicy(GetTablePolicyRequest getTablePolicyRequest) Gets details about a table policy. For more information, see Viewing a table policy in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:GetTablePolicypermission to use this operation.
- Parameters:
getTablePolicyRequest-- Returns:
- A Java Future containing the result of the GetTablePolicy 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTablePolicy
default CompletableFuture<GetTablePolicyResponse> getTablePolicy(Consumer<GetTablePolicyRequest.Builder> getTablePolicyRequest) Gets details about a table policy. For more information, see Viewing a table policy in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:GetTablePolicypermission to use this operation.
This is a convenience which creates an instance of the
GetTablePolicyRequest.Builderavoiding the need to create one manually viaGetTablePolicyRequest.builder()- Parameters:
getTablePolicyRequest- AConsumerthat will call methods onGetTablePolicyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetTablePolicy 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTableRecordExpirationConfiguration
default CompletableFuture<GetTableRecordExpirationConfigurationResponse> getTableRecordExpirationConfiguration(GetTableRecordExpirationConfigurationRequest getTableRecordExpirationConfigurationRequest) Retrieves the expiration configuration settings for records in a table, and the status of the configuration. If the status of the configuration is
enabled, records expire and are automatically removed from the table after the specified number of days.- Permissions
-
You must have the
s3tables:GetTableRecordExpirationConfigurationpermission to use this operation.
- Parameters:
getTableRecordExpirationConfigurationRequest-- Returns:
- A Java Future containing the result of the GetTableRecordExpirationConfiguration 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.- InternalServerErrorException The request failed due to an internal server error.
- MethodNotAllowedException The requested operation is not allowed on this resource. This may occur when attempting to modify a resource that is managed by a service or has restrictions that prevent the operation.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTableRecordExpirationConfiguration
default CompletableFuture<GetTableRecordExpirationConfigurationResponse> getTableRecordExpirationConfiguration(Consumer<GetTableRecordExpirationConfigurationRequest.Builder> getTableRecordExpirationConfigurationRequest) Retrieves the expiration configuration settings for records in a table, and the status of the configuration. If the status of the configuration is
enabled, records expire and are automatically removed from the table after the specified number of days.- Permissions
-
You must have the
s3tables:GetTableRecordExpirationConfigurationpermission to use this operation.
This is a convenience which creates an instance of the
GetTableRecordExpirationConfigurationRequest.Builderavoiding the need to create one manually viaGetTableRecordExpirationConfigurationRequest.builder()- Parameters:
getTableRecordExpirationConfigurationRequest- AConsumerthat will call methods onGetTableRecordExpirationConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetTableRecordExpirationConfiguration 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.- InternalServerErrorException The request failed due to an internal server error.
- MethodNotAllowedException The requested operation is not allowed on this resource. This may occur when attempting to modify a resource that is managed by a service or has restrictions that prevent the operation.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTableRecordExpirationJobStatus
default CompletableFuture<GetTableRecordExpirationJobStatusResponse> getTableRecordExpirationJobStatus(GetTableRecordExpirationJobStatusRequest getTableRecordExpirationJobStatusRequest) Retrieves the status, metrics, and details of the latest record expiration job for a table. This includes when the job ran, and whether it succeeded or failed. If the job ran successfully, this also includes statistics about the records that were removed.
- Permissions
-
You must have the
s3tables:GetTableRecordExpirationJobStatuspermission to use this operation.
- Parameters:
getTableRecordExpirationJobStatusRequest-- Returns:
- A Java Future containing the result of the GetTableRecordExpirationJobStatus 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.- InternalServerErrorException The request failed due to an internal server error.
- MethodNotAllowedException The requested operation is not allowed on this resource. This may occur when attempting to modify a resource that is managed by a service or has restrictions that prevent the operation.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTableRecordExpirationJobStatus
default CompletableFuture<GetTableRecordExpirationJobStatusResponse> getTableRecordExpirationJobStatus(Consumer<GetTableRecordExpirationJobStatusRequest.Builder> getTableRecordExpirationJobStatusRequest) Retrieves the status, metrics, and details of the latest record expiration job for a table. This includes when the job ran, and whether it succeeded or failed. If the job ran successfully, this also includes statistics about the records that were removed.
- Permissions
-
You must have the
s3tables:GetTableRecordExpirationJobStatuspermission to use this operation.
This is a convenience which creates an instance of the
GetTableRecordExpirationJobStatusRequest.Builderavoiding the need to create one manually viaGetTableRecordExpirationJobStatusRequest.builder()- Parameters:
getTableRecordExpirationJobStatusRequest- AConsumerthat will call methods onGetTableRecordExpirationJobStatusRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetTableRecordExpirationJobStatus 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.- InternalServerErrorException The request failed due to an internal server error.
- MethodNotAllowedException The requested operation is not allowed on this resource. This may occur when attempting to modify a resource that is managed by a service or has restrictions that prevent the operation.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTableReplication
default CompletableFuture<GetTableReplicationResponse> getTableReplication(GetTableReplicationRequest getTableReplicationRequest) Retrieves the replication configuration for a specific table.
- Permissions
-
You must have the
s3tables:GetTableReplicationpermission to use this operation.
- Parameters:
getTableReplicationRequest-- Returns:
- A Java Future containing the result of the GetTableReplication 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTableReplication
default CompletableFuture<GetTableReplicationResponse> getTableReplication(Consumer<GetTableReplicationRequest.Builder> getTableReplicationRequest) Retrieves the replication configuration for a specific table.
- Permissions
-
You must have the
s3tables:GetTableReplicationpermission to use this operation.
This is a convenience which creates an instance of the
GetTableReplicationRequest.Builderavoiding the need to create one manually viaGetTableReplicationRequest.builder()- Parameters:
getTableReplicationRequest- AConsumerthat will call methods onGetTableReplicationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetTableReplication 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTableReplicationStatus
default CompletableFuture<GetTableReplicationStatusResponse> getTableReplicationStatus(GetTableReplicationStatusRequest getTableReplicationStatusRequest) Retrieves the replication status for a table, including the status of replication to each destination. This operation provides visibility into replication health and progress.
- Permissions
-
You must have the
s3tables:GetTableReplicationStatuspermission to use this operation.
- Parameters:
getTableReplicationStatusRequest-- Returns:
- A Java Future containing the result of the GetTableReplicationStatus 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTableReplicationStatus
default CompletableFuture<GetTableReplicationStatusResponse> getTableReplicationStatus(Consumer<GetTableReplicationStatusRequest.Builder> getTableReplicationStatusRequest) Retrieves the replication status for a table, including the status of replication to each destination. This operation provides visibility into replication health and progress.
- Permissions
-
You must have the
s3tables:GetTableReplicationStatuspermission to use this operation.
This is a convenience which creates an instance of the
GetTableReplicationStatusRequest.Builderavoiding the need to create one manually viaGetTableReplicationStatusRequest.builder()- Parameters:
getTableReplicationStatusRequest- AConsumerthat will call methods onGetTableReplicationStatusRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetTableReplicationStatus 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTableStorageClass
default CompletableFuture<GetTableStorageClassResponse> getTableStorageClass(GetTableStorageClassRequest getTableStorageClassRequest) Retrieves the storage class configuration for a specific table. This allows you to view the storage class settings that apply to an individual table, which may differ from the table bucket's default configuration.
- Permissions
-
You must have the
s3tables:GetTableStorageClasspermission to use this operation.
- Parameters:
getTableStorageClassRequest-- Returns:
- A Java Future containing the result of the GetTableStorageClass 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTableStorageClass
default CompletableFuture<GetTableStorageClassResponse> getTableStorageClass(Consumer<GetTableStorageClassRequest.Builder> getTableStorageClassRequest) Retrieves the storage class configuration for a specific table. This allows you to view the storage class settings that apply to an individual table, which may differ from the table bucket's default configuration.
- Permissions
-
You must have the
s3tables:GetTableStorageClasspermission to use this operation.
This is a convenience which creates an instance of the
GetTableStorageClassRequest.Builderavoiding the need to create one manually viaGetTableStorageClassRequest.builder()- Parameters:
getTableStorageClassRequest- AConsumerthat will call methods onGetTableStorageClassRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetTableStorageClass 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNamespaces
default CompletableFuture<ListNamespacesResponse> listNamespaces(ListNamespacesRequest listNamespacesRequest) Lists the namespaces within a table bucket. For more information, see Table namespaces in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:ListNamespacespermission to use this operation.
- Parameters:
listNamespacesRequest-- Returns:
- A Java Future containing the result of the ListNamespaces 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNamespaces
default CompletableFuture<ListNamespacesResponse> listNamespaces(Consumer<ListNamespacesRequest.Builder> listNamespacesRequest) Lists the namespaces within a table bucket. For more information, see Table namespaces in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:ListNamespacespermission to use this operation.
This is a convenience which creates an instance of the
ListNamespacesRequest.Builderavoiding the need to create one manually viaListNamespacesRequest.builder()- Parameters:
listNamespacesRequest- AConsumerthat will call methods onListNamespacesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListNamespaces 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNamespacesPaginator
default ListNamespacesPublisher listNamespacesPaginator(ListNamespacesRequest listNamespacesRequest) This is a variant of
listNamespaces(software.amazon.awssdk.services.s3tables.model.ListNamespacesRequest)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.s3tables.paginators.ListNamespacesPublisher publisher = client.listNamespacesPaginator(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.s3tables.paginators.ListNamespacesPublisher publisher = client.listNamespacesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.s3tables.model.ListNamespacesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.s3tables.model.ListNamespacesResponse response) { //... }; });Please notice that the configuration of maxNamespaces 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
listNamespaces(software.amazon.awssdk.services.s3tables.model.ListNamespacesRequest)operation.- Parameters:
listNamespacesRequest-- 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNamespacesPaginator
default ListNamespacesPublisher listNamespacesPaginator(Consumer<ListNamespacesRequest.Builder> listNamespacesRequest) This is a variant of
listNamespaces(software.amazon.awssdk.services.s3tables.model.ListNamespacesRequest)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.s3tables.paginators.ListNamespacesPublisher publisher = client.listNamespacesPaginator(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.s3tables.paginators.ListNamespacesPublisher publisher = client.listNamespacesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.s3tables.model.ListNamespacesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.s3tables.model.ListNamespacesResponse response) { //... }; });Please notice that the configuration of maxNamespaces 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
listNamespaces(software.amazon.awssdk.services.s3tables.model.ListNamespacesRequest)operation.
This is a convenience which creates an instance of the
ListNamespacesRequest.Builderavoiding the need to create one manually viaListNamespacesRequest.builder()- Parameters:
listNamespacesRequest- AConsumerthat will call methods onListNamespacesRequest.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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listStorageLensConfigurations
default CompletableFuture<ListStorageLensConfigurationsResponse> listStorageLensConfigurations(ListStorageLensConfigurationsRequest listStorageLensConfigurationsRequest) Lists the Amazon S3 Storage Lens for Tables configurations in your account whose home Region is the Region that you send the request to. For more information, see Gaining visibility into your S3 Tables storage activity and usage with Amazon S3 Storage Lens for Tables in the Amazon Simple Storage Service User Guide.
Results are paginated. To get the next page of results, pass the
nextTokenfrom a response in your next request. Continue until a response has nonextToken.- Permissions
-
You must have the
s3tables:ListStorageLensConfigurationspermission to use this operation. For more information, see Setting Amazon S3 Storage Lens for Tables permissions in the Amazon Simple Storage Service User Guide.
- Parameters:
listStorageLensConfigurationsRequest-- Returns:
- A Java Future containing the result of the ListStorageLensConfigurations 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listStorageLensConfigurations
default CompletableFuture<ListStorageLensConfigurationsResponse> listStorageLensConfigurations(Consumer<ListStorageLensConfigurationsRequest.Builder> listStorageLensConfigurationsRequest) Lists the Amazon S3 Storage Lens for Tables configurations in your account whose home Region is the Region that you send the request to. For more information, see Gaining visibility into your S3 Tables storage activity and usage with Amazon S3 Storage Lens for Tables in the Amazon Simple Storage Service User Guide.
Results are paginated. To get the next page of results, pass the
nextTokenfrom a response in your next request. Continue until a response has nonextToken.- Permissions
-
You must have the
s3tables:ListStorageLensConfigurationspermission to use this operation. For more information, see Setting Amazon S3 Storage Lens for Tables permissions in the Amazon Simple Storage Service User Guide.
This is a convenience which creates an instance of the
ListStorageLensConfigurationsRequest.Builderavoiding the need to create one manually viaListStorageLensConfigurationsRequest.builder()- Parameters:
listStorageLensConfigurationsRequest- AConsumerthat will call methods onListStorageLensConfigurationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListStorageLensConfigurations 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listStorageLensConfigurationsPaginator
default ListStorageLensConfigurationsPublisher listStorageLensConfigurationsPaginator(ListStorageLensConfigurationsRequest listStorageLensConfigurationsRequest) This is a variant of
listStorageLensConfigurations(software.amazon.awssdk.services.s3tables.model.ListStorageLensConfigurationsRequest)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.s3tables.paginators.ListStorageLensConfigurationsPublisher publisher = client.listStorageLensConfigurationsPaginator(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.s3tables.paginators.ListStorageLensConfigurationsPublisher publisher = client.listStorageLensConfigurationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.s3tables.model.ListStorageLensConfigurationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.s3tables.model.ListStorageLensConfigurationsResponse response) { //... }; });Please notice that the configuration of null 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
listStorageLensConfigurations(software.amazon.awssdk.services.s3tables.model.ListStorageLensConfigurationsRequest)operation.- Parameters:
listStorageLensConfigurationsRequest-- 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listStorageLensConfigurationsPaginator
default ListStorageLensConfigurationsPublisher listStorageLensConfigurationsPaginator(Consumer<ListStorageLensConfigurationsRequest.Builder> listStorageLensConfigurationsRequest) This is a variant of
listStorageLensConfigurations(software.amazon.awssdk.services.s3tables.model.ListStorageLensConfigurationsRequest)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.s3tables.paginators.ListStorageLensConfigurationsPublisher publisher = client.listStorageLensConfigurationsPaginator(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.s3tables.paginators.ListStorageLensConfigurationsPublisher publisher = client.listStorageLensConfigurationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.s3tables.model.ListStorageLensConfigurationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.s3tables.model.ListStorageLensConfigurationsResponse response) { //... }; });Please notice that the configuration of null 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
listStorageLensConfigurations(software.amazon.awssdk.services.s3tables.model.ListStorageLensConfigurationsRequest)operation.
This is a convenience which creates an instance of the
ListStorageLensConfigurationsRequest.Builderavoiding the need to create one manually viaListStorageLensConfigurationsRequest.builder()- Parameters:
listStorageLensConfigurationsRequest- AConsumerthat will call methods onListStorageLensConfigurationsRequest.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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTableBuckets
default CompletableFuture<ListTableBucketsResponse> listTableBuckets(ListTableBucketsRequest listTableBucketsRequest) Lists table buckets for your account. For more information, see S3 Table buckets in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:ListTableBucketspermission to use this operation.
- Parameters:
listTableBucketsRequest-- Returns:
- A Java Future containing the result of the ListTableBuckets 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTableBuckets
default CompletableFuture<ListTableBucketsResponse> listTableBuckets(Consumer<ListTableBucketsRequest.Builder> listTableBucketsRequest) Lists table buckets for your account. For more information, see S3 Table buckets in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:ListTableBucketspermission to use this operation.
This is a convenience which creates an instance of the
ListTableBucketsRequest.Builderavoiding the need to create one manually viaListTableBucketsRequest.builder()- Parameters:
listTableBucketsRequest- AConsumerthat will call methods onListTableBucketsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTableBuckets 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTableBucketsPaginator
default ListTableBucketsPublisher listTableBucketsPaginator(ListTableBucketsRequest listTableBucketsRequest) This is a variant of
listTableBuckets(software.amazon.awssdk.services.s3tables.model.ListTableBucketsRequest)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.s3tables.paginators.ListTableBucketsPublisher publisher = client.listTableBucketsPaginator(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.s3tables.paginators.ListTableBucketsPublisher publisher = client.listTableBucketsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.s3tables.model.ListTableBucketsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.s3tables.model.ListTableBucketsResponse response) { //... }; });Please notice that the configuration of maxBuckets 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
listTableBuckets(software.amazon.awssdk.services.s3tables.model.ListTableBucketsRequest)operation.- Parameters:
listTableBucketsRequest-- 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTableBucketsPaginator
default ListTableBucketsPublisher listTableBucketsPaginator(Consumer<ListTableBucketsRequest.Builder> listTableBucketsRequest) This is a variant of
listTableBuckets(software.amazon.awssdk.services.s3tables.model.ListTableBucketsRequest)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.s3tables.paginators.ListTableBucketsPublisher publisher = client.listTableBucketsPaginator(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.s3tables.paginators.ListTableBucketsPublisher publisher = client.listTableBucketsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.s3tables.model.ListTableBucketsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.s3tables.model.ListTableBucketsResponse response) { //... }; });Please notice that the configuration of maxBuckets 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
listTableBuckets(software.amazon.awssdk.services.s3tables.model.ListTableBucketsRequest)operation.
This is a convenience which creates an instance of the
ListTableBucketsRequest.Builderavoiding the need to create one manually viaListTableBucketsRequest.builder()- Parameters:
listTableBucketsRequest- AConsumerthat will call methods onListTableBucketsRequest.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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTableMigrations
default CompletableFuture<ListTableMigrationsResponse> listTableMigrations(ListTableMigrationsRequest listTableMigrationsRequest) Lists the migrations whose destination is in a table bucket, a namespace or a table. Specify a
tableBucketARNto list the migrations into a table bucket, and add anamespace, or anamespaceand aname, to narrow the list. Or specify atableARNto list the migrations into a table.Migrations are listed newest first. Results are paginated: use
maxResultsto set the page size, and pass thenextTokenfrom a response to retrieve the next page of results. A page can contain fewer migrations thanmaxResults, or none, and still return anextToken. Continue until a response has nonextToken.- Permissions
-
-
You must have the
s3tables:ListTableMigrationspermission to use this operation.
-
- Parameters:
listTableMigrationsRequest-- Returns:
- A Java Future containing the result of the ListTableMigrations 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTableMigrations
default CompletableFuture<ListTableMigrationsResponse> listTableMigrations(Consumer<ListTableMigrationsRequest.Builder> listTableMigrationsRequest) Lists the migrations whose destination is in a table bucket, a namespace or a table. Specify a
tableBucketARNto list the migrations into a table bucket, and add anamespace, or anamespaceand aname, to narrow the list. Or specify atableARNto list the migrations into a table.Migrations are listed newest first. Results are paginated: use
maxResultsto set the page size, and pass thenextTokenfrom a response to retrieve the next page of results. A page can contain fewer migrations thanmaxResults, or none, and still return anextToken. Continue until a response has nonextToken.- Permissions
-
-
You must have the
s3tables:ListTableMigrationspermission to use this operation.
-
This is a convenience which creates an instance of the
ListTableMigrationsRequest.Builderavoiding the need to create one manually viaListTableMigrationsRequest.builder()- Parameters:
listTableMigrationsRequest- AConsumerthat will call methods onListTableMigrationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTableMigrations 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTableMigrationsPaginator
default ListTableMigrationsPublisher listTableMigrationsPaginator(ListTableMigrationsRequest listTableMigrationsRequest) This is a variant of
listTableMigrations(software.amazon.awssdk.services.s3tables.model.ListTableMigrationsRequest)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.s3tables.paginators.ListTableMigrationsPublisher publisher = client.listTableMigrationsPaginator(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.s3tables.paginators.ListTableMigrationsPublisher publisher = client.listTableMigrationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.s3tables.model.ListTableMigrationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.s3tables.model.ListTableMigrationsResponse 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
listTableMigrations(software.amazon.awssdk.services.s3tables.model.ListTableMigrationsRequest)operation.- Parameters:
listTableMigrationsRequest-- 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTableMigrationsPaginator
default ListTableMigrationsPublisher listTableMigrationsPaginator(Consumer<ListTableMigrationsRequest.Builder> listTableMigrationsRequest) This is a variant of
listTableMigrations(software.amazon.awssdk.services.s3tables.model.ListTableMigrationsRequest)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.s3tables.paginators.ListTableMigrationsPublisher publisher = client.listTableMigrationsPaginator(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.s3tables.paginators.ListTableMigrationsPublisher publisher = client.listTableMigrationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.s3tables.model.ListTableMigrationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.s3tables.model.ListTableMigrationsResponse 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
listTableMigrations(software.amazon.awssdk.services.s3tables.model.ListTableMigrationsRequest)operation.
This is a convenience which creates an instance of the
ListTableMigrationsRequest.Builderavoiding the need to create one manually viaListTableMigrationsRequest.builder()- Parameters:
listTableMigrationsRequest- AConsumerthat will call methods onListTableMigrationsRequest.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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTables
List tables in the given table bucket. For more information, see S3 Tables in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:ListTablespermission to use this operation.
- 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTables
default CompletableFuture<ListTablesResponse> listTables(Consumer<ListTablesRequest.Builder> listTablesRequest) List tables in the given table bucket. For more information, see S3 Tables in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:ListTablespermission to use this operation.
This is a convenience which creates an instance of the
ListTablesRequest.Builderavoiding the need to create one manually viaListTablesRequest.builder()- Parameters:
listTablesRequest- AConsumerthat will call methods onListTablesRequest.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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTablesPaginator
This is a variant of
listTables(software.amazon.awssdk.services.s3tables.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.s3tables.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.s3tables.paginators.ListTablesPublisher publisher = client.listTablesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.s3tables.model.ListTablesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.s3tables.model.ListTablesResponse response) { //... }; });Please notice that the configuration of maxTables 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.s3tables.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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTablesPaginator
default ListTablesPublisher listTablesPaginator(Consumer<ListTablesRequest.Builder> listTablesRequest) This is a variant of
listTables(software.amazon.awssdk.services.s3tables.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.s3tables.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.s3tables.paginators.ListTablesPublisher publisher = client.listTablesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.s3tables.model.ListTablesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.s3tables.model.ListTablesResponse response) { //... }; });Please notice that the configuration of maxTables 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.s3tables.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- AConsumerthat will call methods onListTablesRequest.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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists all of the tags applied to a specified Amazon S3 Tables resource. Each tag is a label consisting of a key and value pair. Tags can help you organize, track costs for, and control access to resources.
For a list of S3 resources that support tagging, see Managing tags for Amazon S3 resources.
- Permissions
-
For tables, table buckets, and S3 Storage Lens for Tables configurations, you must have the
s3tables:ListTagsForResourcepermission to use this operation.
- 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists all of the tags applied to a specified Amazon S3 Tables resource. Each tag is a label consisting of a key and value pair. Tags can help you organize, track costs for, and control access to resources.
For a list of S3 resources that support tagging, see Managing tags for Amazon S3 resources.
- Permissions
-
For tables, table buckets, and S3 Storage Lens for Tables configurations, you must have the
s3tables:ListTagsForResourcepermission to use this operation.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putRows
The
PutRowsoperation writes rows to a channel of a table in Amazon S3 Tables, so that you can stream data into the table.The following limits apply to each request:
-
The maximum payload size is 50 MiB (52,428,800 bytes). If the payload is larger, the request fails with a
BadRequestExceptionerror. -
The maximum number of rows in a payload is 500,000. If the payload contains more rows, the request fails with a
BadRequestExceptionerror. -
Only the
defaultchannel is supported. If you specify any otherchannelId, the request fails with aBadRequestExceptionerror.
You can gzip-compress the request body and set
Content-Encoding: gzip. The 50 MiB limit applies to the request body and, if the body is compressed, also to the decompressed body. The data decoded from the payload is also limited to 50 MiB.To send Avro, set
payloadFormattoAVRO. The payload of each request must be a single Apache Avro Object Container File (OCF) with at least one row. To write more files, send a separate request for each one. Each field of the writer schema must match a column of the table. The row limit counts the rows in the file.- Permissions
-
To use this operation, you must have all of the following permissions on the table. Amazon S3 Tables doesn't have a separate
s3tables:PutRowspermission.-
s3tables:GetTableData -
s3tables:PutTableData -
s3tables:GetTableMetadataLocation -
s3tables:UpdateTableMetadataLocation
-
- Parameters:
putRowsRequest-- Returns:
- A Java Future containing the result of the PutRows 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.- InternalServerErrorException The request failed due to an internal server error.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- ServiceUnavailableException The request failed because the service is temporarily unavailable. Retry your request.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
putRows
The
PutRowsoperation writes rows to a channel of a table in Amazon S3 Tables, so that you can stream data into the table.The following limits apply to each request:
-
The maximum payload size is 50 MiB (52,428,800 bytes). If the payload is larger, the request fails with a
BadRequestExceptionerror. -
The maximum number of rows in a payload is 500,000. If the payload contains more rows, the request fails with a
BadRequestExceptionerror. -
Only the
defaultchannel is supported. If you specify any otherchannelId, the request fails with aBadRequestExceptionerror.
You can gzip-compress the request body and set
Content-Encoding: gzip. The 50 MiB limit applies to the request body and, if the body is compressed, also to the decompressed body. The data decoded from the payload is also limited to 50 MiB.To send Avro, set
payloadFormattoAVRO. The payload of each request must be a single Apache Avro Object Container File (OCF) with at least one row. To write more files, send a separate request for each one. Each field of the writer schema must match a column of the table. The row limit counts the rows in the file.- Permissions
-
To use this operation, you must have all of the following permissions on the table. Amazon S3 Tables doesn't have a separate
s3tables:PutRowspermission.-
s3tables:GetTableData -
s3tables:PutTableData -
s3tables:GetTableMetadataLocation -
s3tables:UpdateTableMetadataLocation
-
This is a convenience which creates an instance of the
PutRowsRequest.Builderavoiding the need to create one manually viaPutRowsRequest.builder()- Parameters:
putRowsRequest- AConsumerthat will call methods onPutRowsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the PutRows 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.- InternalServerErrorException The request failed due to an internal server error.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- ServiceUnavailableException The request failed because the service is temporarily unavailable. Retry your request.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
putStorageLensConfiguration
default CompletableFuture<PutStorageLensConfigurationResponse> putStorageLensConfiguration(PutStorageLensConfigurationRequest putStorageLensConfigurationRequest) Creates a new Amazon S3 Storage Lens for Tables configuration, or replaces an existing configuration that has the same ID. A configuration reports daily metrics about how the data in your table buckets is stored, accessed, and maintained. For more information, see Gaining visibility into your S3 Tables storage activity and usage with Amazon S3 Storage Lens for Tables in the Amazon Simple Storage Service User Guide. For a complete list of S3 Storage Lens for Tables metrics, see Amazon S3 Storage Lens for Tables metrics glossary in the Amazon Simple Storage Service User Guide.
The Amazon Web Services Region that you send the request to becomes the configuration's home Region, and you can't change it later. You can create a configuration only in a supported home Region.
- Permissions
-
To use this operation, you must have the following permissions:
-
s3tables:PutStorageLensConfiguration -
s3tables:TagResource– Required if you specifytags. -
s3tables:UntagResource– Required if the request removes tags from an existing configuration. -
s3tables:CreateTableBucketands3tables:PutTableBucketPolicy– Required if you enablestorageLensTableDestination. S3 Storage Lens uses them to create the Amazon Web Services managed table bucketaws-s3in your account. -
organizations:DescribeOrganizationandorganizations:ListAWSServiceAccessForOrganization– Required if you specifyawsOrg. -
organizations:ListDelegatedAdministrators– Required if you specifyawsOrgin a delegated administrator account. -
iam:CreateServiceLinkedRole– Required if you specifyawsOrgand the service-linked roleAWSServiceRoleForS3StorageLensdoesn't exist in your account.
For more information, see Setting Amazon S3 Storage Lens for Tables permissions in the Amazon Simple Storage Service User Guide.
-
- Parameters:
putStorageLensConfigurationRequest-- Returns:
- A Java Future containing the result of the PutStorageLensConfiguration 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putStorageLensConfiguration
default CompletableFuture<PutStorageLensConfigurationResponse> putStorageLensConfiguration(Consumer<PutStorageLensConfigurationRequest.Builder> putStorageLensConfigurationRequest) Creates a new Amazon S3 Storage Lens for Tables configuration, or replaces an existing configuration that has the same ID. A configuration reports daily metrics about how the data in your table buckets is stored, accessed, and maintained. For more information, see Gaining visibility into your S3 Tables storage activity and usage with Amazon S3 Storage Lens for Tables in the Amazon Simple Storage Service User Guide. For a complete list of S3 Storage Lens for Tables metrics, see Amazon S3 Storage Lens for Tables metrics glossary in the Amazon Simple Storage Service User Guide.
The Amazon Web Services Region that you send the request to becomes the configuration's home Region, and you can't change it later. You can create a configuration only in a supported home Region.
- Permissions
-
To use this operation, you must have the following permissions:
-
s3tables:PutStorageLensConfiguration -
s3tables:TagResource– Required if you specifytags. -
s3tables:UntagResource– Required if the request removes tags from an existing configuration. -
s3tables:CreateTableBucketands3tables:PutTableBucketPolicy– Required if you enablestorageLensTableDestination. S3 Storage Lens uses them to create the Amazon Web Services managed table bucketaws-s3in your account. -
organizations:DescribeOrganizationandorganizations:ListAWSServiceAccessForOrganization– Required if you specifyawsOrg. -
organizations:ListDelegatedAdministrators– Required if you specifyawsOrgin a delegated administrator account. -
iam:CreateServiceLinkedRole– Required if you specifyawsOrgand the service-linked roleAWSServiceRoleForS3StorageLensdoesn't exist in your account.
For more information, see Setting Amazon S3 Storage Lens for Tables permissions in the Amazon Simple Storage Service User Guide.
-
This is a convenience which creates an instance of the
PutStorageLensConfigurationRequest.Builderavoiding the need to create one manually viaPutStorageLensConfigurationRequest.builder()- Parameters:
putStorageLensConfigurationRequest- AConsumerthat will call methods onPutStorageLensConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the PutStorageLensConfiguration 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putTableBucketEncryption
default CompletableFuture<PutTableBucketEncryptionResponse> putTableBucketEncryption(PutTableBucketEncryptionRequest putTableBucketEncryptionRequest) Sets the encryption configuration for a table bucket.
- Permissions
-
You must have the
s3tables:PutTableBucketEncryptionpermission to use this operation.If you choose SSE-KMS encryption you must grant the S3 Tables maintenance principal access to your KMS key. For more information, see Permissions requirements for S3 Tables SSE-KMS encryption in the Amazon Simple Storage Service User Guide.
- Parameters:
putTableBucketEncryptionRequest-- Returns:
- A Java Future containing the result of the PutTableBucketEncryption 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putTableBucketEncryption
default CompletableFuture<PutTableBucketEncryptionResponse> putTableBucketEncryption(Consumer<PutTableBucketEncryptionRequest.Builder> putTableBucketEncryptionRequest) Sets the encryption configuration for a table bucket.
- Permissions
-
You must have the
s3tables:PutTableBucketEncryptionpermission to use this operation.If you choose SSE-KMS encryption you must grant the S3 Tables maintenance principal access to your KMS key. For more information, see Permissions requirements for S3 Tables SSE-KMS encryption in the Amazon Simple Storage Service User Guide.
This is a convenience which creates an instance of the
PutTableBucketEncryptionRequest.Builderavoiding the need to create one manually viaPutTableBucketEncryptionRequest.builder()- Parameters:
putTableBucketEncryptionRequest- AConsumerthat will call methods onPutTableBucketEncryptionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the PutTableBucketEncryption 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putTableBucketLogging
default CompletableFuture<PutTableBucketLoggingResponse> putTableBucketLogging(PutTableBucketLoggingRequest putTableBucketLoggingRequest) Sets, updates, or removes the server access logging configuration for a table bucket. When logging is enabled, Amazon S3 delivers a record of the requests made to the table bucket and its tables to the target general purpose bucket that you specify. To disable logging, call this operation with an empty
tableBucketLoggingStatus. For more information, see Server access logging for table buckets in the Amazon Simple Storage Service User Guide.- Permissions
-
You must have the
s3tables:PutTableBucketLoggingpermission to use this operation.
- Parameters:
putTableBucketLoggingRequest-- Returns:
- A Java Future containing the result of the PutTableBucketLogging 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putTableBucketLogging
default CompletableFuture<PutTableBucketLoggingResponse> putTableBucketLogging(Consumer<PutTableBucketLoggingRequest.Builder> putTableBucketLoggingRequest) Sets, updates, or removes the server access logging configuration for a table bucket. When logging is enabled, Amazon S3 delivers a record of the requests made to the table bucket and its tables to the target general purpose bucket that you specify. To disable logging, call this operation with an empty
tableBucketLoggingStatus. For more information, see Server access logging for table buckets in the Amazon Simple Storage Service User Guide.- Permissions
-
You must have the
s3tables:PutTableBucketLoggingpermission to use this operation.
This is a convenience which creates an instance of the
PutTableBucketLoggingRequest.Builderavoiding the need to create one manually viaPutTableBucketLoggingRequest.builder()- Parameters:
putTableBucketLoggingRequest- AConsumerthat will call methods onPutTableBucketLoggingRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the PutTableBucketLogging 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putTableBucketMaintenanceConfiguration
default CompletableFuture<PutTableBucketMaintenanceConfigurationResponse> putTableBucketMaintenanceConfiguration(PutTableBucketMaintenanceConfigurationRequest putTableBucketMaintenanceConfigurationRequest) Creates a new maintenance configuration or replaces an existing maintenance configuration for a table bucket. For more information, see Amazon S3 table bucket maintenance in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:PutTableBucketMaintenanceConfigurationpermission to use this operation.
- Parameters:
putTableBucketMaintenanceConfigurationRequest-- Returns:
- A Java Future containing the result of the PutTableBucketMaintenanceConfiguration 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putTableBucketMaintenanceConfiguration
default CompletableFuture<PutTableBucketMaintenanceConfigurationResponse> putTableBucketMaintenanceConfiguration(Consumer<PutTableBucketMaintenanceConfigurationRequest.Builder> putTableBucketMaintenanceConfigurationRequest) Creates a new maintenance configuration or replaces an existing maintenance configuration for a table bucket. For more information, see Amazon S3 table bucket maintenance in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:PutTableBucketMaintenanceConfigurationpermission to use this operation.
This is a convenience which creates an instance of the
PutTableBucketMaintenanceConfigurationRequest.Builderavoiding the need to create one manually viaPutTableBucketMaintenanceConfigurationRequest.builder()- Parameters:
putTableBucketMaintenanceConfigurationRequest- AConsumerthat will call methods onPutTableBucketMaintenanceConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the PutTableBucketMaintenanceConfiguration 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putTableBucketMetricsConfiguration
default CompletableFuture<PutTableBucketMetricsConfigurationResponse> putTableBucketMetricsConfiguration(PutTableBucketMetricsConfigurationRequest putTableBucketMetricsConfigurationRequest) Sets the metrics configuration for a table bucket.
- Permissions
-
You must have the
s3tables:PutTableBucketMetricsConfigurationpermission to use this operation.
- Parameters:
putTableBucketMetricsConfigurationRequest-- Returns:
- A Java Future containing the result of the PutTableBucketMetricsConfiguration 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putTableBucketMetricsConfiguration
default CompletableFuture<PutTableBucketMetricsConfigurationResponse> putTableBucketMetricsConfiguration(Consumer<PutTableBucketMetricsConfigurationRequest.Builder> putTableBucketMetricsConfigurationRequest) Sets the metrics configuration for a table bucket.
- Permissions
-
You must have the
s3tables:PutTableBucketMetricsConfigurationpermission to use this operation.
This is a convenience which creates an instance of the
PutTableBucketMetricsConfigurationRequest.Builderavoiding the need to create one manually viaPutTableBucketMetricsConfigurationRequest.builder()- Parameters:
putTableBucketMetricsConfigurationRequest- AConsumerthat will call methods onPutTableBucketMetricsConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the PutTableBucketMetricsConfiguration 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putTableBucketPolicy
default CompletableFuture<PutTableBucketPolicyResponse> putTableBucketPolicy(PutTableBucketPolicyRequest putTableBucketPolicyRequest) Creates a new table bucket policy or replaces an existing table bucket policy for a table bucket. For more information, see Adding a table bucket policy in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:PutTableBucketPolicypermission to use this operation.
- Parameters:
putTableBucketPolicyRequest-- Returns:
- A Java Future containing the result of the PutTableBucketPolicy 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putTableBucketPolicy
default CompletableFuture<PutTableBucketPolicyResponse> putTableBucketPolicy(Consumer<PutTableBucketPolicyRequest.Builder> putTableBucketPolicyRequest) Creates a new table bucket policy or replaces an existing table bucket policy for a table bucket. For more information, see Adding a table bucket policy in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:PutTableBucketPolicypermission to use this operation.
This is a convenience which creates an instance of the
PutTableBucketPolicyRequest.Builderavoiding the need to create one manually viaPutTableBucketPolicyRequest.builder()- Parameters:
putTableBucketPolicyRequest- AConsumerthat will call methods onPutTableBucketPolicyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the PutTableBucketPolicy 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putTableBucketReplication
default CompletableFuture<PutTableBucketReplicationResponse> putTableBucketReplication(PutTableBucketReplicationRequest putTableBucketReplicationRequest) Creates or updates the replication configuration for a table bucket. This operation defines how tables in the source bucket are replicated to destination buckets. Replication helps ensure data availability and disaster recovery across regions or accounts.
- Permissions
-
-
You must have the
s3tables:PutTableBucketReplicationpermission to use this operation. The IAM role specified in the configuration must have permissions to read from the source bucket and write permissions to all destination buckets. -
You must also have the following permissions:
-
s3tables:GetTablepermission on the source table. -
s3tables:ListTablespermission on the bucket containing the table. -
s3tables:CreateTablepermission for the destination. -
s3tables:CreateNamespacepermission for the destination. -
s3tables:GetTableMaintenanceConfigpermission for the source bucket. -
s3tables:PutTableMaintenanceConfigpermission for the destination bucket.
-
-
You must have
iam:PassRolepermission with condition allowing roles to be passed toreplication.s3tables.amazonaws.com.
-
- Parameters:
putTableBucketReplicationRequest-- Returns:
- A Java Future containing the result of the PutTableBucketReplication 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putTableBucketReplication
default CompletableFuture<PutTableBucketReplicationResponse> putTableBucketReplication(Consumer<PutTableBucketReplicationRequest.Builder> putTableBucketReplicationRequest) Creates or updates the replication configuration for a table bucket. This operation defines how tables in the source bucket are replicated to destination buckets. Replication helps ensure data availability and disaster recovery across regions or accounts.
- Permissions
-
-
You must have the
s3tables:PutTableBucketReplicationpermission to use this operation. The IAM role specified in the configuration must have permissions to read from the source bucket and write permissions to all destination buckets. -
You must also have the following permissions:
-
s3tables:GetTablepermission on the source table. -
s3tables:ListTablespermission on the bucket containing the table. -
s3tables:CreateTablepermission for the destination. -
s3tables:CreateNamespacepermission for the destination. -
s3tables:GetTableMaintenanceConfigpermission for the source bucket. -
s3tables:PutTableMaintenanceConfigpermission for the destination bucket.
-
-
You must have
iam:PassRolepermission with condition allowing roles to be passed toreplication.s3tables.amazonaws.com.
-
This is a convenience which creates an instance of the
PutTableBucketReplicationRequest.Builderavoiding the need to create one manually viaPutTableBucketReplicationRequest.builder()- Parameters:
putTableBucketReplicationRequest- AConsumerthat will call methods onPutTableBucketReplicationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the PutTableBucketReplication 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putTableBucketStorageClass
default CompletableFuture<PutTableBucketStorageClassResponse> putTableBucketStorageClass(PutTableBucketStorageClassRequest putTableBucketStorageClassRequest) Sets or updates the storage class configuration for a table bucket. This configuration serves as the default storage class for all new tables created in the bucket, allowing you to optimize storage costs at the bucket level.
- Permissions
-
You must have the
s3tables:PutTableBucketStorageClasspermission to use this operation.
- Parameters:
putTableBucketStorageClassRequest-- Returns:
- A Java Future containing the result of the PutTableBucketStorageClass 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putTableBucketStorageClass
default CompletableFuture<PutTableBucketStorageClassResponse> putTableBucketStorageClass(Consumer<PutTableBucketStorageClassRequest.Builder> putTableBucketStorageClassRequest) Sets or updates the storage class configuration for a table bucket. This configuration serves as the default storage class for all new tables created in the bucket, allowing you to optimize storage costs at the bucket level.
- Permissions
-
You must have the
s3tables:PutTableBucketStorageClasspermission to use this operation.
This is a convenience which creates an instance of the
PutTableBucketStorageClassRequest.Builderavoiding the need to create one manually viaPutTableBucketStorageClassRequest.builder()- Parameters:
putTableBucketStorageClassRequest- AConsumerthat will call methods onPutTableBucketStorageClassRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the PutTableBucketStorageClass 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putTableMaintenanceConfiguration
default CompletableFuture<PutTableMaintenanceConfigurationResponse> putTableMaintenanceConfiguration(PutTableMaintenanceConfigurationRequest putTableMaintenanceConfigurationRequest) Creates a new maintenance configuration or replaces an existing maintenance configuration for a table. For more information, see S3 Tables maintenance in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:PutTableMaintenanceConfigurationpermission to use this operation.
- Parameters:
putTableMaintenanceConfigurationRequest-- Returns:
- A Java Future containing the result of the PutTableMaintenanceConfiguration 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putTableMaintenanceConfiguration
default CompletableFuture<PutTableMaintenanceConfigurationResponse> putTableMaintenanceConfiguration(Consumer<PutTableMaintenanceConfigurationRequest.Builder> putTableMaintenanceConfigurationRequest) Creates a new maintenance configuration or replaces an existing maintenance configuration for a table. For more information, see S3 Tables maintenance in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:PutTableMaintenanceConfigurationpermission to use this operation.
This is a convenience which creates an instance of the
PutTableMaintenanceConfigurationRequest.Builderavoiding the need to create one manually viaPutTableMaintenanceConfigurationRequest.builder()- Parameters:
putTableMaintenanceConfigurationRequest- AConsumerthat will call methods onPutTableMaintenanceConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the PutTableMaintenanceConfiguration 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putTablePolicy
default CompletableFuture<PutTablePolicyResponse> putTablePolicy(PutTablePolicyRequest putTablePolicyRequest) Creates a new table policy or replaces an existing table policy for a table. For more information, see Adding a table policy in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:PutTablePolicypermission to use this operation.
- Parameters:
putTablePolicyRequest-- Returns:
- A Java Future containing the result of the PutTablePolicy 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putTablePolicy
default CompletableFuture<PutTablePolicyResponse> putTablePolicy(Consumer<PutTablePolicyRequest.Builder> putTablePolicyRequest) Creates a new table policy or replaces an existing table policy for a table. For more information, see Adding a table policy in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:PutTablePolicypermission to use this operation.
This is a convenience which creates an instance of the
PutTablePolicyRequest.Builderavoiding the need to create one manually viaPutTablePolicyRequest.builder()- Parameters:
putTablePolicyRequest- AConsumerthat will call methods onPutTablePolicyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the PutTablePolicy 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putTableRecordExpirationConfiguration
default CompletableFuture<PutTableRecordExpirationConfigurationResponse> putTableRecordExpirationConfiguration(PutTableRecordExpirationConfigurationRequest putTableRecordExpirationConfigurationRequest) Creates or updates the expiration configuration settings for records in a table, including the status of the configuration. If you enable record expiration for a table, records expire and are automatically removed from the table after the number of days that you specify.
- Permissions
-
You must have the
s3tables:PutTableRecordExpirationConfigurationpermission to use this operation.
- Parameters:
putTableRecordExpirationConfigurationRequest-- Returns:
- A Java Future containing the result of the PutTableRecordExpirationConfiguration 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.- InternalServerErrorException The request failed due to an internal server error.
- MethodNotAllowedException The requested operation is not allowed on this resource. This may occur when attempting to modify a resource that is managed by a service or has restrictions that prevent the operation.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putTableRecordExpirationConfiguration
default CompletableFuture<PutTableRecordExpirationConfigurationResponse> putTableRecordExpirationConfiguration(Consumer<PutTableRecordExpirationConfigurationRequest.Builder> putTableRecordExpirationConfigurationRequest) Creates or updates the expiration configuration settings for records in a table, including the status of the configuration. If you enable record expiration for a table, records expire and are automatically removed from the table after the number of days that you specify.
- Permissions
-
You must have the
s3tables:PutTableRecordExpirationConfigurationpermission to use this operation.
This is a convenience which creates an instance of the
PutTableRecordExpirationConfigurationRequest.Builderavoiding the need to create one manually viaPutTableRecordExpirationConfigurationRequest.builder()- Parameters:
putTableRecordExpirationConfigurationRequest- AConsumerthat will call methods onPutTableRecordExpirationConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the PutTableRecordExpirationConfiguration 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.- InternalServerErrorException The request failed due to an internal server error.
- MethodNotAllowedException The requested operation is not allowed on this resource. This may occur when attempting to modify a resource that is managed by a service or has restrictions that prevent the operation.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putTableReplication
default CompletableFuture<PutTableReplicationResponse> putTableReplication(PutTableReplicationRequest putTableReplicationRequest) Creates or updates the replication configuration for a specific table. This operation allows you to define table-level replication independently of bucket-level replication, providing granular control over which tables are replicated and where.
- Permissions
-
-
You must have the
s3tables:PutTableReplicationpermission to use this operation. The IAM role specified in the configuration must have permissions to read from the source table and write to all destination tables. -
You must also have the following permissions:
-
s3tables:GetTablepermission on the source table being replicated. -
s3tables:CreateTablepermission for the destination. -
s3tables:CreateNamespacepermission for the destination. -
s3tables:GetTableMaintenanceConfigpermission for the source table. -
s3tables:PutTableMaintenanceConfigpermission for the destination table.
-
-
You must have
iam:PassRolepermission with condition allowing roles to be passed toreplication.s3tables.amazonaws.com.
-
- Parameters:
putTableReplicationRequest-- Returns:
- A Java Future containing the result of the PutTableReplication 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putTableReplication
default CompletableFuture<PutTableReplicationResponse> putTableReplication(Consumer<PutTableReplicationRequest.Builder> putTableReplicationRequest) Creates or updates the replication configuration for a specific table. This operation allows you to define table-level replication independently of bucket-level replication, providing granular control over which tables are replicated and where.
- Permissions
-
-
You must have the
s3tables:PutTableReplicationpermission to use this operation. The IAM role specified in the configuration must have permissions to read from the source table and write to all destination tables. -
You must also have the following permissions:
-
s3tables:GetTablepermission on the source table being replicated. -
s3tables:CreateTablepermission for the destination. -
s3tables:CreateNamespacepermission for the destination. -
s3tables:GetTableMaintenanceConfigpermission for the source table. -
s3tables:PutTableMaintenanceConfigpermission for the destination table.
-
-
You must have
iam:PassRolepermission with condition allowing roles to be passed toreplication.s3tables.amazonaws.com.
-
This is a convenience which creates an instance of the
PutTableReplicationRequest.Builderavoiding the need to create one manually viaPutTableReplicationRequest.builder()- Parameters:
putTableReplicationRequest- AConsumerthat will call methods onPutTableReplicationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the PutTableReplication 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
renameTable
Renames a table or a namespace. For more information, see S3 Tables in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:RenameTablepermission to use this operation.
- Parameters:
renameTableRequest-- Returns:
- A Java Future containing the result of the RenameTable 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
renameTable
default CompletableFuture<RenameTableResponse> renameTable(Consumer<RenameTableRequest.Builder> renameTableRequest) Renames a table or a namespace. For more information, see S3 Tables in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:RenameTablepermission to use this operation.
This is a convenience which creates an instance of the
RenameTableRequest.Builderavoiding the need to create one manually viaRenameTableRequest.builder()- Parameters:
renameTableRequest- AConsumerthat will call methods onRenameTableRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the RenameTable 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startTableMigration
default CompletableFuture<StartTableMigrationResponse> startTableMigration(StartTableMigrationRequest startTableMigrationRequest) Starts migrating an Amazon Web Services Glue Data Catalog table into a new table in a table bucket. The migration runs asynchronously: this operation returns the migration ID and its initial state, and you track progress with
GetTableMigration.The namespace must already exist. If a table with the specified name already exists, the request fails with a
ConflictException. The request has no client token. If a request times out, callListTableMigrationsto check whether the migration started before you retry.The migration creates the table during planning and commits data to it as it runs. Until you call
CompleteTableMigration, you can read the table, but you can't write to it. If the migration fails or is cancelled, the table and the data already committed to it remain.The migration first checks the source and the destination, and writes the table compatibility and object compatibility reports to the bucket that you specify in
migrationOutput. If you setreviewMigrationPlantotrue, the migration waits in thependingReviewstate so that you can review the reports, and continues only when you callUpdateTableMigrationwithrequestedStateset toqueued. Otherwise, it continues to migrate the data, and writes the object migration report when the migration ends. If planning fails, the migration writes no object migration report.- Permissions
-
-
You must have the
s3tables:StartTableMigrationpermission to use this operation. -
You must have the
iam:PassRolepermission on the role that you specify inroleARN, with a condition that allows passing it tomigration.s3tables.amazonaws.com. Set theiam:AssociatedResourceArncondition key to the table bucket ARN. -
If
destinationTablespecifies SSE-KMS encryption, you must have thekms:DescribeKeyandkms:GenerateDataKeypermissions on the KMS key. You must also grant the S3 Tables maintenance principal access to the key. For more information, see Permissions requirements for S3 Tables SSE-KMS encryption.
-
- Parameters:
startTableMigrationRequest-- Returns:
- A Java Future containing the result of the StartTableMigration 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startTableMigration
default CompletableFuture<StartTableMigrationResponse> startTableMigration(Consumer<StartTableMigrationRequest.Builder> startTableMigrationRequest) Starts migrating an Amazon Web Services Glue Data Catalog table into a new table in a table bucket. The migration runs asynchronously: this operation returns the migration ID and its initial state, and you track progress with
GetTableMigration.The namespace must already exist. If a table with the specified name already exists, the request fails with a
ConflictException. The request has no client token. If a request times out, callListTableMigrationsto check whether the migration started before you retry.The migration creates the table during planning and commits data to it as it runs. Until you call
CompleteTableMigration, you can read the table, but you can't write to it. If the migration fails or is cancelled, the table and the data already committed to it remain.The migration first checks the source and the destination, and writes the table compatibility and object compatibility reports to the bucket that you specify in
migrationOutput. If you setreviewMigrationPlantotrue, the migration waits in thependingReviewstate so that you can review the reports, and continues only when you callUpdateTableMigrationwithrequestedStateset toqueued. Otherwise, it continues to migrate the data, and writes the object migration report when the migration ends. If planning fails, the migration writes no object migration report.- Permissions
-
-
You must have the
s3tables:StartTableMigrationpermission to use this operation. -
You must have the
iam:PassRolepermission on the role that you specify inroleARN, with a condition that allows passing it tomigration.s3tables.amazonaws.com. Set theiam:AssociatedResourceArncondition key to the table bucket ARN. -
If
destinationTablespecifies SSE-KMS encryption, you must have thekms:DescribeKeyandkms:GenerateDataKeypermissions on the KMS key. You must also grant the S3 Tables maintenance principal access to the key. For more information, see Permissions requirements for S3 Tables SSE-KMS encryption.
-
This is a convenience which creates an instance of the
StartTableMigrationRequest.Builderavoiding the need to create one manually viaStartTableMigrationRequest.builder()- Parameters:
startTableMigrationRequest- AConsumerthat will call methods onStartTableMigrationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartTableMigration 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
syncTableMigration
default CompletableFuture<SyncTableMigrationResponse> syncTableMigration(SyncTableMigrationRequest syncTableMigrationRequest) Migrates the changes in the source table since the previous start or sync, such as added and deleted source objects, into the destination table. The sync runs asynchronously: this operation returns the migration ID of the sync and its initial state, and you track progress with
GetTableMigration.A sync uses the source, destination, and data migration settings of the table's migration, and plans the work and writes its reports in the same way as
StartTableMigration. You can sync after a start or sync that succeeded, failed, or was cancelled, if an earlier start or sync of the table has a valid plan (hasValidPlan). You can't sync a table while a start or sync is in progress for it, and you can sync a table until you callCompleteTableMigrationfor it.If you overwrite a source object after an earlier migration migrated it, the sync fails. If no earlier start or sync of the table has a valid plan, you can't sync the table. To migrate it again, delete the destination table and start a new migration.
- Permissions
-
-
You must have the
s3tables:SyncTableMigrationpermission to use this operation. -
You must have the
iam:PassRolepermission on the role that you specify inroleARN, with a condition that allows passing it tomigration.s3tables.amazonaws.com. Set theiam:AssociatedResourceArncondition key to the table ARN.
-
- Parameters:
syncTableMigrationRequest-- Returns:
- A Java Future containing the result of the SyncTableMigration 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
syncTableMigration
default CompletableFuture<SyncTableMigrationResponse> syncTableMigration(Consumer<SyncTableMigrationRequest.Builder> syncTableMigrationRequest) Migrates the changes in the source table since the previous start or sync, such as added and deleted source objects, into the destination table. The sync runs asynchronously: this operation returns the migration ID of the sync and its initial state, and you track progress with
GetTableMigration.A sync uses the source, destination, and data migration settings of the table's migration, and plans the work and writes its reports in the same way as
StartTableMigration. You can sync after a start or sync that succeeded, failed, or was cancelled, if an earlier start or sync of the table has a valid plan (hasValidPlan). You can't sync a table while a start or sync is in progress for it, and you can sync a table until you callCompleteTableMigrationfor it.If you overwrite a source object after an earlier migration migrated it, the sync fails. If no earlier start or sync of the table has a valid plan, you can't sync the table. To migrate it again, delete the destination table and start a new migration.
- Permissions
-
-
You must have the
s3tables:SyncTableMigrationpermission to use this operation. -
You must have the
iam:PassRolepermission on the role that you specify inroleARN, with a condition that allows passing it tomigration.s3tables.amazonaws.com. Set theiam:AssociatedResourceArncondition key to the table ARN.
-
This is a convenience which creates an instance of the
SyncTableMigrationRequest.Builderavoiding the need to create one manually viaSyncTableMigrationRequest.builder()- Parameters:
syncTableMigrationRequest- AConsumerthat will call methods onSyncTableMigrationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the SyncTableMigration 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
Applies one or more user-defined tags to an Amazon S3 Tables resource or updates existing tags. Each tag is a label consisting of a key and value pair. Tags can help you organize, track costs for, and control access to your resources. You can add up to 50 tags for each S3 resource.
For a list of S3 resources that support tagging, see Managing tags for Amazon S3 resources.
- Permissions
-
For tables, table buckets, and S3 Storage Lens for Tables configurations, you must have the
s3tables:TagResourcepermission to use this operation.
- 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Applies one or more user-defined tags to an Amazon S3 Tables resource or updates existing tags. Each tag is a label consisting of a key and value pair. Tags can help you organize, track costs for, and control access to your resources. You can add up to 50 tags for each S3 resource.
For a list of S3 resources that support tagging, see Managing tags for Amazon S3 resources.
- Permissions
-
For tables, table buckets, and S3 Storage Lens for Tables configurations, you must have the
s3tables:TagResourcepermission to use this operation.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes the specified user-defined tags from an Amazon S3 Tables resource. You can pass one or more tag keys.
For a list of S3 resources that support tagging, see Managing tags for Amazon S3 resources.
- Permissions
-
For tables, table buckets, and S3 Storage Lens for Tables configurations, you must have the
s3tables:UntagResourcepermission to use this operation.
- 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes the specified user-defined tags from an Amazon S3 Tables resource. You can pass one or more tag keys.
For a list of S3 resources that support tagging, see Managing tags for Amazon S3 resources.
- Permissions
-
For tables, table buckets, and S3 Storage Lens for Tables configurations, you must have the
s3tables:UntagResourcepermission to use this operation.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateTableMetadataLocation
default CompletableFuture<UpdateTableMetadataLocationResponse> updateTableMetadataLocation(UpdateTableMetadataLocationRequest updateTableMetadataLocationRequest) Updates the metadata location for a table. The metadata location of a table must be an S3 URI that begins with the table's warehouse location. The metadata location for an Apache Iceberg table must end with
.metadata.json, or if the metadata file is Gzip-compressed,.metadata.json.gz.- Permissions
-
You must have the
s3tables:UpdateTableMetadataLocationpermission to use this operation.
- Parameters:
updateTableMetadataLocationRequest-- Returns:
- A Java Future containing the result of the UpdateTableMetadataLocation 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateTableMetadataLocation
default CompletableFuture<UpdateTableMetadataLocationResponse> updateTableMetadataLocation(Consumer<UpdateTableMetadataLocationRequest.Builder> updateTableMetadataLocationRequest) Updates the metadata location for a table. The metadata location of a table must be an S3 URI that begins with the table's warehouse location. The metadata location for an Apache Iceberg table must end with
.metadata.json, or if the metadata file is Gzip-compressed,.metadata.json.gz.- Permissions
-
You must have the
s3tables:UpdateTableMetadataLocationpermission to use this operation.
This is a convenience which creates an instance of the
UpdateTableMetadataLocationRequest.Builderavoiding the need to create one manually viaUpdateTableMetadataLocationRequest.builder()- Parameters:
updateTableMetadataLocationRequest- AConsumerthat will call methods onUpdateTableMetadataLocationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateTableMetadataLocation 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateTableMigration
default CompletableFuture<UpdateTableMigrationResponse> updateTableMigration(UpdateTableMigrationRequest updateTableMigrationRequest) Requests a state change for a migration. Identify the migration by its
migrationIdor by thetableARNof its destination table.Set
requestedStatetoqueuedto continue a migration in thependingReviewstate. The migration then moves toqueuedormigrating. Set it tocancelledto cancel a migration that'snew,planning,pendingReview,queued, ormigrating. A migration in thenewstate moves directly tocancelled. From the other states, the migration moves tocancellingand finishes the work in progress. It then ends in thecancelledstate, or in thefailedstate if any objects failed to migrate. Data that the migration already committed stays in the destination table.If you request
queuedfor a migration that's alreadyqueuedormigrating, the request fails with aConflictException. From any other state exceptpendingReview, it fails with aBadRequestException.- Permissions
-
-
You must have the
s3tables:UpdateTableMigrationpermission to use this operation.
-
- Parameters:
updateTableMigrationRequest-- Returns:
- A Java Future containing the result of the UpdateTableMigration 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateTableMigration
default CompletableFuture<UpdateTableMigrationResponse> updateTableMigration(Consumer<UpdateTableMigrationRequest.Builder> updateTableMigrationRequest) Requests a state change for a migration. Identify the migration by its
migrationIdor by thetableARNof its destination table.Set
requestedStatetoqueuedto continue a migration in thependingReviewstate. The migration then moves toqueuedormigrating. Set it tocancelledto cancel a migration that'snew,planning,pendingReview,queued, ormigrating. A migration in thenewstate moves directly tocancelled. From the other states, the migration moves tocancellingand finishes the work in progress. It then ends in thecancelledstate, or in thefailedstate if any objects failed to migrate. Data that the migration already committed stays in the destination table.If you request
queuedfor a migration that's alreadyqueuedormigrating, the request fails with aConflictException. From any other state exceptpendingReview, it fails with aBadRequestException.- Permissions
-
-
You must have the
s3tables:UpdateTableMigrationpermission to use this operation.
-
This is a convenience which creates an instance of the
UpdateTableMigrationRequest.Builderavoiding the need to create one manually viaUpdateTableMigrationRequest.builder()- Parameters:
updateTableMigrationRequest- AConsumerthat will call methods onUpdateTableMigrationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateTableMigration 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.- InternalServerErrorException The request failed due to an internal server error.
- ForbiddenException The caller isn't authorized to make the request.
- NotFoundException The request was rejected because the specified resource could not be found.
- AccessDeniedException The action cannot be performed because you do not have the required permission.
- TooManyRequestsException The limit on the number of requests per second was exceeded.
- ConflictException The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent write, you can retry the request.
- BadRequestException The request is invalid or malformed.
- 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.
- S3TablesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aS3TablesAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aS3TablesAsyncClient.
-