Interface S3TablesAsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

@Generated("software.amazon.awssdk:codegen") @SdkPublicApi @ThreadSafe public interface S3TablesAsyncClient extends AwsClient
Service client for accessing Amazon S3 Tables asynchronously. This can be created using the static 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 Details

  • 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, failed or cancelled state. 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 a ConflictException.

      Permissions
      • You must have the s3tables:CompleteTableMigration permission 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 invoke Throwable.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, failed or cancelled state. 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 a ConflictException.

      Permissions
      • You must have the s3tables:CompleteTableMigration permission to use this operation.


      This is a convenience which creates an instance of the CompleteTableMigrationRequest.Builder avoiding the need to create one manually via CompleteTableMigrationRequest.builder()

      Parameters:
      completeTableMigrationRequest - A Consumer that will call methods on CompleteTableMigrationRequest.Builder to 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 invoke Throwable.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:CreateNamespace permission 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 invoke Throwable.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:CreateNamespace permission to use this operation.


      This is a convenience which creates an instance of the CreateNamespaceRequest.Builder avoiding the need to create one manually via CreateNamespaceRequest.builder()

      Parameters:
      createNamespaceRequest - A Consumer that will call methods on CreateNamespaceRequest.Builder to 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 invoke Throwable.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(CreateTableRequest 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:CreateTable permission to use this operation.

      • If you use this operation with the optional metadata request parameter you must have the s3tables:PutTableData permission.

      • If you use this operation with the optional encryptionConfiguration request parameter you must have the s3tables:PutTableEncryption permission.

      • If you use this operation with the storageClassConfiguration request parameter, you must have the s3tables:PutTableStorageClass permission.

      • To create a table with tags, you must have the s3tables:TagResource permission in addition to s3tables:CreateTable permission.

      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 invoke Throwable.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:CreateTable permission to use this operation.

      • If you use this operation with the optional metadata request parameter you must have the s3tables:PutTableData permission.

      • If you use this operation with the optional encryptionConfiguration request parameter you must have the s3tables:PutTableEncryption permission.

      • If you use this operation with the storageClassConfiguration request parameter, you must have the s3tables:PutTableStorageClass permission.

      • To create a table with tags, you must have the s3tables:TagResource permission in addition to s3tables:CreateTable permission.

      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.Builder avoiding the need to create one manually via CreateTableRequest.builder()

      Parameters:
      createTableRequest - A Consumer that will call methods on CreateTableRequest.Builder to 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 invoke Throwable.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:CreateTableBucket permission to use this operation.

      • If you use this operation with the optional encryptionConfiguration parameter you must have the s3tables:PutTableBucketEncryption permission.

      • If you use this operation with the storageClassConfiguration request parameter, you must have the s3tables:PutTableBucketStorageClass permission.

      • To create a table bucket with tags, you must have the s3tables:TagResource permission in addition to s3tables:CreateTableBucket permission.

      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 invoke Throwable.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:CreateTableBucket permission to use this operation.

      • If you use this operation with the optional encryptionConfiguration parameter you must have the s3tables:PutTableBucketEncryption permission.

      • If you use this operation with the storageClassConfiguration request parameter, you must have the s3tables:PutTableBucketStorageClass permission.

      • To create a table bucket with tags, you must have the s3tables:TagResource permission in addition to s3tables:CreateTableBucket permission.


      This is a convenience which creates an instance of the CreateTableBucketRequest.Builder avoiding the need to create one manually via CreateTableBucketRequest.builder()

      Parameters:
      createTableBucketRequest - A Consumer that will call methods on CreateTableBucketRequest.Builder to 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 invoke Throwable.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:DeleteNamespace permission 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 invoke Throwable.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:DeleteNamespace permission to use this operation.


      This is a convenience which creates an instance of the DeleteNamespaceRequest.Builder avoiding the need to create one manually via DeleteNamespaceRequest.builder()

      Parameters:
      deleteNamespaceRequest - A Consumer that will call methods on DeleteNamespaceRequest.Builder to 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 invoke Throwable.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:DeleteStorageLensConfiguration permission 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 invoke Throwable.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:DeleteStorageLensConfiguration permission 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.Builder avoiding the need to create one manually via DeleteStorageLensConfigurationRequest.builder()

      Parameters:
      deleteStorageLensConfigurationRequest - A Consumer that will call methods on DeleteStorageLensConfigurationRequest.Builder to 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 invoke Throwable.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

      default CompletableFuture<DeleteTableResponse> deleteTable(DeleteTableRequest 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:DeleteTable permission 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 invoke Throwable.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:DeleteTable permission to use this operation.


      This is a convenience which creates an instance of the DeleteTableRequest.Builder avoiding the need to create one manually via DeleteTableRequest.builder()

      Parameters:
      deleteTableRequest - A Consumer that will call methods on DeleteTableRequest.Builder to 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 invoke Throwable.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:DeleteTableBucket permission 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 invoke Throwable.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:DeleteTableBucket permission to use this operation.


      This is a convenience which creates an instance of the DeleteTableBucketRequest.Builder avoiding the need to create one manually via DeleteTableBucketRequest.builder()

      Parameters:
      deleteTableBucketRequest - A Consumer that will call methods on DeleteTableBucketRequest.Builder to 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 invoke Throwable.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:DeleteTableBucketEncryption permission 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 invoke Throwable.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:DeleteTableBucketEncryption permission to use this operation.


      This is a convenience which creates an instance of the DeleteTableBucketEncryptionRequest.Builder avoiding the need to create one manually via DeleteTableBucketEncryptionRequest.builder()

      Parameters:
      deleteTableBucketEncryptionRequest - A Consumer that will call methods on DeleteTableBucketEncryptionRequest.Builder to 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 invoke Throwable.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:DeleteTableBucketMetricsConfiguration permission 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 invoke Throwable.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:DeleteTableBucketMetricsConfiguration permission to use this operation.


      This is a convenience which creates an instance of the DeleteTableBucketMetricsConfigurationRequest.Builder avoiding the need to create one manually via DeleteTableBucketMetricsConfigurationRequest.builder()

      Parameters:
      deleteTableBucketMetricsConfigurationRequest - A Consumer that will call methods on DeleteTableBucketMetricsConfigurationRequest.Builder to 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 invoke Throwable.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:DeleteTableBucketPolicy permission 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 invoke Throwable.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:DeleteTableBucketPolicy permission to use this operation.


      This is a convenience which creates an instance of the DeleteTableBucketPolicyRequest.Builder avoiding the need to create one manually via DeleteTableBucketPolicyRequest.builder()

      Parameters:
      deleteTableBucketPolicyRequest - A Consumer that will call methods on DeleteTableBucketPolicyRequest.Builder to 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 invoke Throwable.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:DeleteTableBucketReplication permission 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 invoke Throwable.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:DeleteTableBucketReplication permission to use this operation.


      This is a convenience which creates an instance of the DeleteTableBucketReplicationRequest.Builder avoiding the need to create one manually via DeleteTableBucketReplicationRequest.builder()

      Parameters:
      deleteTableBucketReplicationRequest - A Consumer that will call methods on DeleteTableBucketReplicationRequest.Builder to 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 invoke Throwable.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:DeleteTablePolicy permission 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 invoke Throwable.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:DeleteTablePolicy permission to use this operation.


      This is a convenience which creates an instance of the DeleteTablePolicyRequest.Builder avoiding the need to create one manually via DeleteTablePolicyRequest.builder()

      Parameters:
      deleteTablePolicyRequest - A Consumer that will call methods on DeleteTablePolicyRequest.Builder to 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 invoke Throwable.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:DeleteTableReplication permission 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 invoke Throwable.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:DeleteTableReplication permission to use this operation.


      This is a convenience which creates an instance of the DeleteTableReplicationRequest.Builder avoiding the need to create one manually via DeleteTableReplicationRequest.builder()

      Parameters:
      deleteTableReplicationRequest - A Consumer that will call methods on DeleteTableReplicationRequest.Builder to 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 invoke Throwable.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. GetTable no longer returns managedByService and managedTableInformation for the table, and ListTables no longer returns managedByService for it. On the source table, GetTableReplicationStatus reports 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:DisassociateTableReplication permission 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 invoke Throwable.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. GetTable no longer returns managedByService and managedTableInformation for the table, and ListTables no longer returns managedByService for it. On the source table, GetTableReplicationStatus reports 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:DisassociateTableReplication permission to use this operation.


      This is a convenience which creates an instance of the DisassociateTableReplicationRequest.Builder avoiding the need to create one manually via DisassociateTableReplicationRequest.builder()

      Parameters:
      disassociateTableReplicationRequest - A Consumer that will call methods on DisassociateTableReplicationRequest.Builder to 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 invoke Throwable.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

      default CompletableFuture<GetChannelResponse> getChannel(GetChannelRequest 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 PutRows writes to the table. Until then, GetChannel fails with a NotFoundException error.

      Permissions

      To use this operation, you must have the s3tables:GetChannel permission 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 invoke Throwable.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 PutRows writes to the table. Until then, GetChannel fails with a NotFoundException error.

      Permissions

      To use this operation, you must have the s3tables:GetChannel permission on the table.


      This is a convenience which creates an instance of the GetChannelRequest.Builder avoiding the need to create one manually via GetChannelRequest.builder()

      Parameters:
      getChannelRequest - A Consumer that will call methods on GetChannelRequest.Builder to 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 invoke Throwable.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:GetNamespace permission 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 invoke Throwable.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:GetNamespace permission to use this operation.


      This is a convenience which creates an instance of the GetNamespaceRequest.Builder avoiding the need to create one manually via GetNamespaceRequest.builder()

      Parameters:
      getNamespaceRequest - A Consumer that will call methods on GetNamespaceRequest.Builder to 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 invoke Throwable.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:GetStorageLensConfiguration permission 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 invoke Throwable.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:GetStorageLensConfiguration permission 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.Builder avoiding the need to create one manually via GetStorageLensConfigurationRequest.builder()

      Parameters:
      getStorageLensConfigurationRequest - A Consumer that will call methods on GetStorageLensConfigurationRequest.Builder to 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 invoke Throwable.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

      default CompletableFuture<GetTableResponse> getTable(GetTableRequest 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:GetTable permission 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 invoke Throwable.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

      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:GetTable permission to use this operation.


      This is a convenience which creates an instance of the GetTableRequest.Builder avoiding the need to create one manually via GetTableRequest.builder()

      Parameters:
      getTableRequest - A Consumer that will call methods on GetTableRequest.Builder to 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 invoke Throwable.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:GetTableBucket permission 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 invoke Throwable.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:GetTableBucket permission to use this operation.


      This is a convenience which creates an instance of the GetTableBucketRequest.Builder avoiding the need to create one manually via GetTableBucketRequest.builder()

      Parameters:
      getTableBucketRequest - A Consumer that will call methods on GetTableBucketRequest.Builder to 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 invoke Throwable.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:GetTableBucketEncryption permission 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 invoke Throwable.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:GetTableBucketEncryption permission to use this operation.


      This is a convenience which creates an instance of the GetTableBucketEncryptionRequest.Builder avoiding the need to create one manually via GetTableBucketEncryptionRequest.builder()

      Parameters:
      getTableBucketEncryptionRequest - A Consumer that will call methods on GetTableBucketEncryptionRequest.Builder to 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 invoke Throwable.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:GetTableBucketLogging permission 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 invoke Throwable.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:GetTableBucketLogging permission to use this operation.


      This is a convenience which creates an instance of the GetTableBucketLoggingRequest.Builder avoiding the need to create one manually via GetTableBucketLoggingRequest.builder()

      Parameters:
      getTableBucketLoggingRequest - A Consumer that will call methods on GetTableBucketLoggingRequest.Builder to 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 invoke Throwable.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:GetTableBucketMaintenanceConfiguration permission 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 invoke Throwable.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:GetTableBucketMaintenanceConfiguration permission to use this operation.


      This is a convenience which creates an instance of the GetTableBucketMaintenanceConfigurationRequest.Builder avoiding the need to create one manually via GetTableBucketMaintenanceConfigurationRequest.builder()

      Parameters:
      getTableBucketMaintenanceConfigurationRequest - A Consumer that will call methods on GetTableBucketMaintenanceConfigurationRequest.Builder to 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 invoke Throwable.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:GetTableBucketMetricsConfiguration permission 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 invoke Throwable.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:GetTableBucketMetricsConfiguration permission to use this operation.


      This is a convenience which creates an instance of the GetTableBucketMetricsConfigurationRequest.Builder avoiding the need to create one manually via GetTableBucketMetricsConfigurationRequest.builder()

      Parameters:
      getTableBucketMetricsConfigurationRequest - A Consumer that will call methods on GetTableBucketMetricsConfigurationRequest.Builder to 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 invoke Throwable.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:GetTableBucketPolicy permission 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 invoke Throwable.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:GetTableBucketPolicy permission to use this operation.


      This is a convenience which creates an instance of the GetTableBucketPolicyRequest.Builder avoiding the need to create one manually via GetTableBucketPolicyRequest.builder()

      Parameters:
      getTableBucketPolicyRequest - A Consumer that will call methods on GetTableBucketPolicyRequest.Builder to 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 invoke Throwable.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:GetTableBucketReplication permission 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 invoke Throwable.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:GetTableBucketReplication permission to use this operation.


      This is a convenience which creates an instance of the GetTableBucketReplicationRequest.Builder avoiding the need to create one manually via GetTableBucketReplicationRequest.builder()

      Parameters:
      getTableBucketReplicationRequest - A Consumer that will call methods on GetTableBucketReplicationRequest.Builder to 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 invoke Throwable.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:GetTableBucketStorageClass permission 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 invoke Throwable.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:GetTableBucketStorageClass permission to use this operation.


      This is a convenience which creates an instance of the GetTableBucketStorageClassRequest.Builder avoiding the need to create one manually via GetTableBucketStorageClassRequest.builder()

      Parameters:
      getTableBucketStorageClassRequest - A Consumer that will call methods on GetTableBucketStorageClassRequest.Builder to 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 invoke Throwable.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:GetTableEncryption permission 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 invoke Throwable.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:GetTableEncryption permission to use this operation.


      This is a convenience which creates an instance of the GetTableEncryptionRequest.Builder avoiding the need to create one manually via GetTableEncryptionRequest.builder()

      Parameters:
      getTableEncryptionRequest - A Consumer that will call methods on GetTableEncryptionRequest.Builder to 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 invoke Throwable.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:GetTableMaintenanceConfiguration permission to use this operation.

      • You must have the s3tables:GetTableData permission to use set the compaction strategy to sort or zorder.

      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 invoke Throwable.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:GetTableMaintenanceConfiguration permission to use this operation.

      • You must have the s3tables:GetTableData permission to use set the compaction strategy to sort or zorder.


      This is a convenience which creates an instance of the GetTableMaintenanceConfigurationRequest.Builder avoiding the need to create one manually via GetTableMaintenanceConfigurationRequest.builder()

      Parameters:
      getTableMaintenanceConfigurationRequest - A Consumer that will call methods on GetTableMaintenanceConfigurationRequest.Builder to 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 invoke Throwable.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:GetTableMaintenanceJobStatus permission 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 invoke Throwable.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:GetTableMaintenanceJobStatus permission to use this operation.


      This is a convenience which creates an instance of the GetTableMaintenanceJobStatusRequest.Builder avoiding the need to create one manually via GetTableMaintenanceJobStatusRequest.builder()

      Parameters:
      getTableMaintenanceJobStatusRequest - A Consumer that will call methods on GetTableMaintenanceJobStatusRequest.Builder to 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 invoke Throwable.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:GetTableMetadataLocation permission 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 invoke Throwable.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:GetTableMetadataLocation permission to use this operation.


      This is a convenience which creates an instance of the GetTableMetadataLocationRequest.Builder avoiding the need to create one manually via GetTableMetadataLocationRequest.builder()

      Parameters:
      getTableMetadataLocationRequest - A Consumer that will call methods on GetTableMetadataLocationRequest.Builder to 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 invoke Throwable.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 the tableARN of a destination table to get that table's most recent migration.

      Permissions
      • You must have the s3tables:GetTableMigration permission 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 invoke Throwable.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 the tableARN of a destination table to get that table's most recent migration.

      Permissions
      • You must have the s3tables:GetTableMigration permission to use this operation.


      This is a convenience which creates an instance of the GetTableMigrationRequest.Builder avoiding the need to create one manually via GetTableMigrationRequest.builder()

      Parameters:
      getTableMigrationRequest - A Consumer that will call methods on GetTableMigrationRequest.Builder to 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 invoke Throwable.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:GetTablePolicy permission 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 invoke Throwable.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:GetTablePolicy permission to use this operation.


      This is a convenience which creates an instance of the GetTablePolicyRequest.Builder avoiding the need to create one manually via GetTablePolicyRequest.builder()

      Parameters:
      getTablePolicyRequest - A Consumer that will call methods on GetTablePolicyRequest.Builder to 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 invoke Throwable.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:GetTableRecordExpirationConfiguration permission 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 invoke Throwable.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:GetTableRecordExpirationConfiguration permission to use this operation.


      This is a convenience which creates an instance of the GetTableRecordExpirationConfigurationRequest.Builder avoiding the need to create one manually via GetTableRecordExpirationConfigurationRequest.builder()

      Parameters:
      getTableRecordExpirationConfigurationRequest - A Consumer that will call methods on GetTableRecordExpirationConfigurationRequest.Builder to 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 invoke Throwable.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:GetTableRecordExpirationJobStatus permission 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 invoke Throwable.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:GetTableRecordExpirationJobStatus permission to use this operation.


      This is a convenience which creates an instance of the GetTableRecordExpirationJobStatusRequest.Builder avoiding the need to create one manually via GetTableRecordExpirationJobStatusRequest.builder()

      Parameters:
      getTableRecordExpirationJobStatusRequest - A Consumer that will call methods on GetTableRecordExpirationJobStatusRequest.Builder to 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 invoke Throwable.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:GetTableReplication permission 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 invoke Throwable.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:GetTableReplication permission to use this operation.


      This is a convenience which creates an instance of the GetTableReplicationRequest.Builder avoiding the need to create one manually via GetTableReplicationRequest.builder()

      Parameters:
      getTableReplicationRequest - A Consumer that will call methods on GetTableReplicationRequest.Builder to 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 invoke Throwable.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:GetTableReplicationStatus permission 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 invoke Throwable.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:GetTableReplicationStatus permission to use this operation.


      This is a convenience which creates an instance of the GetTableReplicationStatusRequest.Builder avoiding the need to create one manually via GetTableReplicationStatusRequest.builder()

      Parameters:
      getTableReplicationStatusRequest - A Consumer that will call methods on GetTableReplicationStatusRequest.Builder to 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 invoke Throwable.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:GetTableStorageClass permission 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 invoke Throwable.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:GetTableStorageClass permission to use this operation.


      This is a convenience which creates an instance of the GetTableStorageClassRequest.Builder avoiding the need to create one manually via GetTableStorageClassRequest.builder()

      Parameters:
      getTableStorageClassRequest - A Consumer that will call methods on GetTableStorageClassRequest.Builder to 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 invoke Throwable.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:ListNamespaces permission 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 invoke Throwable.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:ListNamespaces permission to use this operation.


      This is a convenience which creates an instance of the ListNamespacesRequest.Builder avoiding the need to create one manually via ListNamespacesRequest.builder()

      Parameters:
      listNamespacesRequest - A Consumer that will call methods on ListNamespacesRequest.Builder to 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 invoke Throwable.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 new Subscription i.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
       
       software.amazon.awssdk.services.s3tables.paginators.ListNamespacesPublisher publisher = client.listNamespacesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 invoke Throwable.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 new Subscription i.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
       
       software.amazon.awssdk.services.s3tables.paginators.ListNamespacesPublisher publisher = client.listNamespacesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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.Builder avoiding the need to create one manually via ListNamespacesRequest.builder()

      Parameters:
      listNamespacesRequest - A Consumer that will call methods on ListNamespacesRequest.Builder to 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 invoke Throwable.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 nextToken from a response in your next request. Continue until a response has no nextToken.

      Permissions

      You must have the s3tables:ListStorageLensConfigurations permission 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 invoke Throwable.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 nextToken from a response in your next request. Continue until a response has no nextToken.

      Permissions

      You must have the s3tables:ListStorageLensConfigurations permission 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.Builder avoiding the need to create one manually via ListStorageLensConfigurationsRequest.builder()

      Parameters:
      listStorageLensConfigurationsRequest - A Consumer that will call methods on ListStorageLensConfigurationsRequest.Builder to 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 invoke Throwable.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 new Subscription i.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
       
       software.amazon.awssdk.services.s3tables.paginators.ListStorageLensConfigurationsPublisher publisher = client.listStorageLensConfigurationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 invoke Throwable.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 new Subscription i.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
       
       software.amazon.awssdk.services.s3tables.paginators.ListStorageLensConfigurationsPublisher publisher = client.listStorageLensConfigurationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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.Builder avoiding the need to create one manually via ListStorageLensConfigurationsRequest.builder()

      Parameters:
      listStorageLensConfigurationsRequest - A Consumer that will call methods on ListStorageLensConfigurationsRequest.Builder to 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 invoke Throwable.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:ListTableBuckets permission 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 invoke Throwable.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:ListTableBuckets permission to use this operation.


      This is a convenience which creates an instance of the ListTableBucketsRequest.Builder avoiding the need to create one manually via ListTableBucketsRequest.builder()

      Parameters:
      listTableBucketsRequest - A Consumer that will call methods on ListTableBucketsRequest.Builder to 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 invoke Throwable.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 new Subscription i.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
       
       software.amazon.awssdk.services.s3tables.paginators.ListTableBucketsPublisher publisher = client.listTableBucketsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 invoke Throwable.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 new Subscription i.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
       
       software.amazon.awssdk.services.s3tables.paginators.ListTableBucketsPublisher publisher = client.listTableBucketsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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.Builder avoiding the need to create one manually via ListTableBucketsRequest.builder()

      Parameters:
      listTableBucketsRequest - A Consumer that will call methods on ListTableBucketsRequest.Builder to 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 invoke Throwable.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 tableBucketARN to list the migrations into a table bucket, and add a namespace, or a namespace and a name, to narrow the list. Or specify a tableARN to list the migrations into a table.

      Migrations are listed newest first. Results are paginated: use maxResults to set the page size, and pass the nextToken from a response to retrieve the next page of results. A page can contain fewer migrations than maxResults, or none, and still return a nextToken. Continue until a response has no nextToken.

      Permissions
      • You must have the s3tables:ListTableMigrations permission 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 invoke Throwable.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 tableBucketARN to list the migrations into a table bucket, and add a namespace, or a namespace and a name, to narrow the list. Or specify a tableARN to list the migrations into a table.

      Migrations are listed newest first. Results are paginated: use maxResults to set the page size, and pass the nextToken from a response to retrieve the next page of results. A page can contain fewer migrations than maxResults, or none, and still return a nextToken. Continue until a response has no nextToken.

      Permissions
      • You must have the s3tables:ListTableMigrations permission to use this operation.


      This is a convenience which creates an instance of the ListTableMigrationsRequest.Builder avoiding the need to create one manually via ListTableMigrationsRequest.builder()

      Parameters:
      listTableMigrationsRequest - A Consumer that will call methods on ListTableMigrationsRequest.Builder to 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 invoke Throwable.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 new Subscription i.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
       
       software.amazon.awssdk.services.s3tables.paginators.ListTableMigrationsPublisher publisher = client.listTableMigrationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 invoke Throwable.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 new Subscription i.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
       
       software.amazon.awssdk.services.s3tables.paginators.ListTableMigrationsPublisher publisher = client.listTableMigrationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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.Builder avoiding the need to create one manually via ListTableMigrationsRequest.builder()

      Parameters:
      listTableMigrationsRequest - A Consumer that will call methods on ListTableMigrationsRequest.Builder to 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 invoke Throwable.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

      default CompletableFuture<ListTablesResponse> listTables(ListTablesRequest 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:ListTables permission 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 invoke Throwable.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:ListTables permission to use this operation.


      This is a convenience which creates an instance of the ListTablesRequest.Builder avoiding the need to create one manually via ListTablesRequest.builder()

      Parameters:
      listTablesRequest - A Consumer that will call methods on ListTablesRequest.Builder to 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 invoke Throwable.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(ListTablesRequest 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 new Subscription i.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
       
       software.amazon.awssdk.services.s3tables.paginators.ListTablesPublisher publisher = client.listTablesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 invoke Throwable.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 new Subscription i.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
       
       software.amazon.awssdk.services.s3tables.paginators.ListTablesPublisher publisher = client.listTablesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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.Builder avoiding the need to create one manually via ListTablesRequest.builder()

      Parameters:
      listTablesRequest - A Consumer that will call methods on ListTablesRequest.Builder to 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 invoke Throwable.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:ListTagsForResource permission 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 invoke Throwable.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:ListTagsForResource permission to use this operation.


      This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the need to create one manually via ListTagsForResourceRequest.builder()

      Parameters:
      listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to 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 invoke Throwable.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

      default CompletableFuture<PutRowsResponse> putRows(PutRowsRequest putRowsRequest)

      The PutRows operation 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 BadRequestException error.

      • The maximum number of rows in a payload is 500,000. If the payload contains more rows, the request fails with a BadRequestException error.

      • Only the default channel is supported. If you specify any other channelId, the request fails with a BadRequestException error.

      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 payloadFormat to AVRO. 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:PutRows permission.

      • 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 invoke Throwable.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 PutRows operation 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 BadRequestException error.

      • The maximum number of rows in a payload is 500,000. If the payload contains more rows, the request fails with a BadRequestException error.

      • Only the default channel is supported. If you specify any other channelId, the request fails with a BadRequestException error.

      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 payloadFormat to AVRO. 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:PutRows permission.

      • s3tables:GetTableData

      • s3tables:PutTableData

      • s3tables:GetTableMetadataLocation

      • s3tables:UpdateTableMetadataLocation


      This is a convenience which creates an instance of the PutRowsRequest.Builder avoiding the need to create one manually via PutRowsRequest.builder()

      Parameters:
      putRowsRequest - A Consumer that will call methods on PutRowsRequest.Builder to 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 invoke Throwable.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 specify tags.

      • s3tables:UntagResource – Required if the request removes tags from an existing configuration.

      • s3tables:CreateTableBucket and s3tables:PutTableBucketPolicy – Required if you enable storageLensTableDestination. S3 Storage Lens uses them to create the Amazon Web Services managed table bucket aws-s3 in your account.

      • organizations:DescribeOrganization and organizations:ListAWSServiceAccessForOrganization – Required if you specify awsOrg.

      • organizations:ListDelegatedAdministrators – Required if you specify awsOrg in a delegated administrator account.

      • iam:CreateServiceLinkedRole – Required if you specify awsOrg and the service-linked role AWSServiceRoleForS3StorageLens doesn'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 invoke Throwable.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 specify tags.

      • s3tables:UntagResource – Required if the request removes tags from an existing configuration.

      • s3tables:CreateTableBucket and s3tables:PutTableBucketPolicy – Required if you enable storageLensTableDestination. S3 Storage Lens uses them to create the Amazon Web Services managed table bucket aws-s3 in your account.

      • organizations:DescribeOrganization and organizations:ListAWSServiceAccessForOrganization – Required if you specify awsOrg.

      • organizations:ListDelegatedAdministrators – Required if you specify awsOrg in a delegated administrator account.

      • iam:CreateServiceLinkedRole – Required if you specify awsOrg and the service-linked role AWSServiceRoleForS3StorageLens doesn'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.Builder avoiding the need to create one manually via PutStorageLensConfigurationRequest.builder()

      Parameters:
      putStorageLensConfigurationRequest - A Consumer that will call methods on PutStorageLensConfigurationRequest.Builder to 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 invoke Throwable.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:PutTableBucketEncryption permission 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 invoke Throwable.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:PutTableBucketEncryption permission 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.Builder avoiding the need to create one manually via PutTableBucketEncryptionRequest.builder()

      Parameters:
      putTableBucketEncryptionRequest - A Consumer that will call methods on PutTableBucketEncryptionRequest.Builder to 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 invoke Throwable.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:PutTableBucketLogging permission 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 invoke Throwable.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:PutTableBucketLogging permission to use this operation.


      This is a convenience which creates an instance of the PutTableBucketLoggingRequest.Builder avoiding the need to create one manually via PutTableBucketLoggingRequest.builder()

      Parameters:
      putTableBucketLoggingRequest - A Consumer that will call methods on PutTableBucketLoggingRequest.Builder to 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 invoke Throwable.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:PutTableBucketMaintenanceConfiguration permission 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 invoke Throwable.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:PutTableBucketMaintenanceConfiguration permission to use this operation.


      This is a convenience which creates an instance of the PutTableBucketMaintenanceConfigurationRequest.Builder avoiding the need to create one manually via PutTableBucketMaintenanceConfigurationRequest.builder()

      Parameters:
      putTableBucketMaintenanceConfigurationRequest - A Consumer that will call methods on PutTableBucketMaintenanceConfigurationRequest.Builder to 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 invoke Throwable.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:PutTableBucketMetricsConfiguration permission 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 invoke Throwable.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:PutTableBucketMetricsConfiguration permission to use this operation.


      This is a convenience which creates an instance of the PutTableBucketMetricsConfigurationRequest.Builder avoiding the need to create one manually via PutTableBucketMetricsConfigurationRequest.builder()

      Parameters:
      putTableBucketMetricsConfigurationRequest - A Consumer that will call methods on PutTableBucketMetricsConfigurationRequest.Builder to 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 invoke Throwable.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:PutTableBucketPolicy permission 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 invoke Throwable.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:PutTableBucketPolicy permission to use this operation.


      This is a convenience which creates an instance of the PutTableBucketPolicyRequest.Builder avoiding the need to create one manually via PutTableBucketPolicyRequest.builder()

      Parameters:
      putTableBucketPolicyRequest - A Consumer that will call methods on PutTableBucketPolicyRequest.Builder to 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 invoke Throwable.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:PutTableBucketReplication permission 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:GetTable permission on the source table.

        • s3tables:ListTables permission on the bucket containing the table.

        • s3tables:CreateTable permission for the destination.

        • s3tables:CreateNamespace permission for the destination.

        • s3tables:GetTableMaintenanceConfig permission for the source bucket.

        • s3tables:PutTableMaintenanceConfig permission for the destination bucket.

      • You must have iam:PassRole permission with condition allowing roles to be passed to replication.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 invoke Throwable.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:PutTableBucketReplication permission 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:GetTable permission on the source table.

        • s3tables:ListTables permission on the bucket containing the table.

        • s3tables:CreateTable permission for the destination.

        • s3tables:CreateNamespace permission for the destination.

        • s3tables:GetTableMaintenanceConfig permission for the source bucket.

        • s3tables:PutTableMaintenanceConfig permission for the destination bucket.

      • You must have iam:PassRole permission with condition allowing roles to be passed to replication.s3tables.amazonaws.com.


      This is a convenience which creates an instance of the PutTableBucketReplicationRequest.Builder avoiding the need to create one manually via PutTableBucketReplicationRequest.builder()

      Parameters:
      putTableBucketReplicationRequest - A Consumer that will call methods on PutTableBucketReplicationRequest.Builder to 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 invoke Throwable.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:PutTableBucketStorageClass permission 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 invoke Throwable.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:PutTableBucketStorageClass permission to use this operation.


      This is a convenience which creates an instance of the PutTableBucketStorageClassRequest.Builder avoiding the need to create one manually via PutTableBucketStorageClassRequest.builder()

      Parameters:
      putTableBucketStorageClassRequest - A Consumer that will call methods on PutTableBucketStorageClassRequest.Builder to 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 invoke Throwable.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:PutTableMaintenanceConfiguration permission 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 invoke Throwable.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:PutTableMaintenanceConfiguration permission to use this operation.


      This is a convenience which creates an instance of the PutTableMaintenanceConfigurationRequest.Builder avoiding the need to create one manually via PutTableMaintenanceConfigurationRequest.builder()

      Parameters:
      putTableMaintenanceConfigurationRequest - A Consumer that will call methods on PutTableMaintenanceConfigurationRequest.Builder to 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 invoke Throwable.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:PutTablePolicy permission 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 invoke Throwable.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:PutTablePolicy permission to use this operation.


      This is a convenience which creates an instance of the PutTablePolicyRequest.Builder avoiding the need to create one manually via PutTablePolicyRequest.builder()

      Parameters:
      putTablePolicyRequest - A Consumer that will call methods on PutTablePolicyRequest.Builder to 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 invoke Throwable.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:PutTableRecordExpirationConfiguration permission 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 invoke Throwable.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:PutTableRecordExpirationConfiguration permission to use this operation.


      This is a convenience which creates an instance of the PutTableRecordExpirationConfigurationRequest.Builder avoiding the need to create one manually via PutTableRecordExpirationConfigurationRequest.builder()

      Parameters:
      putTableRecordExpirationConfigurationRequest - A Consumer that will call methods on PutTableRecordExpirationConfigurationRequest.Builder to 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 invoke Throwable.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:PutTableReplication permission 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:GetTable permission on the source table being replicated.

        • s3tables:CreateTable permission for the destination.

        • s3tables:CreateNamespace permission for the destination.

        • s3tables:GetTableMaintenanceConfig permission for the source table.

        • s3tables:PutTableMaintenanceConfig permission for the destination table.

      • You must have iam:PassRole permission with condition allowing roles to be passed to replication.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 invoke Throwable.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:PutTableReplication permission 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:GetTable permission on the source table being replicated.

        • s3tables:CreateTable permission for the destination.

        • s3tables:CreateNamespace permission for the destination.

        • s3tables:GetTableMaintenanceConfig permission for the source table.

        • s3tables:PutTableMaintenanceConfig permission for the destination table.

      • You must have iam:PassRole permission with condition allowing roles to be passed to replication.s3tables.amazonaws.com.


      This is a convenience which creates an instance of the PutTableReplicationRequest.Builder avoiding the need to create one manually via PutTableReplicationRequest.builder()

      Parameters:
      putTableReplicationRequest - A Consumer that will call methods on PutTableReplicationRequest.Builder to 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 invoke Throwable.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

      default CompletableFuture<RenameTableResponse> renameTable(RenameTableRequest 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:RenameTable permission 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 invoke Throwable.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:RenameTable permission to use this operation.


      This is a convenience which creates an instance of the RenameTableRequest.Builder avoiding the need to create one manually via RenameTableRequest.builder()

      Parameters:
      renameTableRequest - A Consumer that will call methods on RenameTableRequest.Builder to 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 invoke Throwable.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, call ListTableMigrations to 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 set reviewMigrationPlan to true, the migration waits in the pendingReview state so that you can review the reports, and continues only when you call UpdateTableMigration with requestedState set to queued. 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:StartTableMigration permission to use this operation.

      • You must have the iam:PassRole permission on the role that you specify in roleARN, with a condition that allows passing it to migration.s3tables.amazonaws.com. Set the iam:AssociatedResourceArn condition key to the table bucket ARN.

      • If destinationTable specifies SSE-KMS encryption, you must have the kms:DescribeKey and kms:GenerateDataKey permissions 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 invoke Throwable.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, call ListTableMigrations to 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 set reviewMigrationPlan to true, the migration waits in the pendingReview state so that you can review the reports, and continues only when you call UpdateTableMigration with requestedState set to queued. 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:StartTableMigration permission to use this operation.

      • You must have the iam:PassRole permission on the role that you specify in roleARN, with a condition that allows passing it to migration.s3tables.amazonaws.com. Set the iam:AssociatedResourceArn condition key to the table bucket ARN.

      • If destinationTable specifies SSE-KMS encryption, you must have the kms:DescribeKey and kms:GenerateDataKey permissions 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.Builder avoiding the need to create one manually via StartTableMigrationRequest.builder()

      Parameters:
      startTableMigrationRequest - A Consumer that will call methods on StartTableMigrationRequest.Builder to 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 invoke Throwable.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 call CompleteTableMigration for 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:SyncTableMigration permission to use this operation.

      • You must have the iam:PassRole permission on the role that you specify in roleARN, with a condition that allows passing it to migration.s3tables.amazonaws.com. Set the iam:AssociatedResourceArn condition 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 invoke Throwable.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 call CompleteTableMigration for 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:SyncTableMigration permission to use this operation.

      • You must have the iam:PassRole permission on the role that you specify in roleARN, with a condition that allows passing it to migration.s3tables.amazonaws.com. Set the iam:AssociatedResourceArn condition key to the table ARN.


      This is a convenience which creates an instance of the SyncTableMigrationRequest.Builder avoiding the need to create one manually via SyncTableMigrationRequest.builder()

      Parameters:
      syncTableMigrationRequest - A Consumer that will call methods on SyncTableMigrationRequest.Builder to 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 invoke Throwable.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

      default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest 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:TagResource permission 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 invoke Throwable.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:TagResource permission to use this operation.


      This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to create one manually via TagResourceRequest.builder()

      Parameters:
      tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to 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 invoke Throwable.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:UntagResource permission 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 invoke Throwable.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:UntagResource permission to use this operation.


      This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to create one manually via UntagResourceRequest.builder()

      Parameters:
      untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to 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 invoke Throwable.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:UpdateTableMetadataLocation permission 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 invoke Throwable.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:UpdateTableMetadataLocation permission to use this operation.


      This is a convenience which creates an instance of the UpdateTableMetadataLocationRequest.Builder avoiding the need to create one manually via UpdateTableMetadataLocationRequest.builder()

      Parameters:
      updateTableMetadataLocationRequest - A Consumer that will call methods on UpdateTableMetadataLocationRequest.Builder to 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 invoke Throwable.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 migrationId or by the tableARN of its destination table.

      Set requestedState to queued to continue a migration in the pendingReview state. The migration then moves to queued or migrating. Set it to cancelled to cancel a migration that's new, planning, pendingReview, queued, or migrating. A migration in the new state moves directly to cancelled. From the other states, the migration moves to cancelling and finishes the work in progress. It then ends in the cancelled state, or in the failed state if any objects failed to migrate. Data that the migration already committed stays in the destination table.

      If you request queued for a migration that's already queued or migrating, the request fails with a ConflictException. From any other state except pendingReview, it fails with a BadRequestException.

      Permissions
      • You must have the s3tables:UpdateTableMigration permission 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 invoke Throwable.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 migrationId or by the tableARN of its destination table.

      Set requestedState to queued to continue a migration in the pendingReview state. The migration then moves to queued or migrating. Set it to cancelled to cancel a migration that's new, planning, pendingReview, queued, or migrating. A migration in the new state moves directly to cancelled. From the other states, the migration moves to cancelling and finishes the work in progress. It then ends in the cancelled state, or in the failed state if any objects failed to migrate. Data that the migration already committed stays in the destination table.

      If you request queued for a migration that's already queued or migrating, the request fails with a ConflictException. From any other state except pendingReview, it fails with a BadRequestException.

      Permissions
      • You must have the s3tables:UpdateTableMigration permission to use this operation.


      This is a convenience which creates an instance of the UpdateTableMigrationRequest.Builder avoiding the need to create one manually via UpdateTableMigrationRequest.builder()

      Parameters:
      updateTableMigrationRequest - A Consumer that will call methods on UpdateTableMigrationRequest.Builder to 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 invoke Throwable.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

      default S3TablesServiceClientConfiguration serviceClientConfiguration()
      Description copied from interface: SdkClient
      The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration
      Specified by:
      serviceClientConfiguration in interface AwsClient
      Specified by:
      serviceClientConfiguration in interface SdkClient
      Returns:
      SdkServiceClientConfiguration
    • create

      static S3TablesAsyncClient create()
      Create a S3TablesAsyncClient with the region loaded from the DefaultAwsRegionProviderChain and credentials loaded from the DefaultCredentialsProvider.
    • builder

      static S3TablesAsyncClientBuilder builder()
      Create a builder that can be used to configure and create a S3TablesAsyncClient.