Class: Aws::S3Tables::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::S3Tables::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb
Overview
An API client for S3Tables. To construct a client, you need to configure a :region and :credentials.
client = Aws::S3Tables::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#create_namespace(params = {}) ⇒ Types::CreateNamespaceResponse
Creates a namespace.
-
#create_table(params = {}) ⇒ Types::CreateTableResponse
Creates a new table associated with the given namespace in a table bucket.
-
#create_table_bucket(params = {}) ⇒ Types::CreateTableBucketResponse
Creates a table bucket.
-
#delete_namespace(params = {}) ⇒ Struct
Deletes a namespace.
-
#delete_table(params = {}) ⇒ Struct
Deletes a table.
-
#delete_table_bucket(params = {}) ⇒ Struct
Deletes a table bucket.
-
#delete_table_bucket_encryption(params = {}) ⇒ Struct
Deletes the encryption configuration for a table bucket.
-
#delete_table_bucket_metrics_configuration(params = {}) ⇒ Struct
Deletes the metrics configuration for a table bucket.
-
#delete_table_bucket_policy(params = {}) ⇒ Struct
Deletes a table bucket policy.
-
#delete_table_bucket_replication(params = {}) ⇒ Struct
Deletes the replication configuration for a table bucket.
-
#delete_table_policy(params = {}) ⇒ Struct
Deletes a table policy.
-
#delete_table_replication(params = {}) ⇒ Struct
Deletes the replication configuration for a specific table.
-
#get_namespace(params = {}) ⇒ Types::GetNamespaceResponse
Gets details about a namespace.
-
#get_table(params = {}) ⇒ Types::GetTableResponse
Gets details about a table.
-
#get_table_bucket(params = {}) ⇒ Types::GetTableBucketResponse
Gets details on a table bucket.
-
#get_table_bucket_encryption(params = {}) ⇒ Types::GetTableBucketEncryptionResponse
Gets the encryption configuration for a table bucket.
-
#get_table_bucket_maintenance_configuration(params = {}) ⇒ Types::GetTableBucketMaintenanceConfigurationResponse
Gets details about a maintenance configuration for a given table bucket.
-
#get_table_bucket_metrics_configuration(params = {}) ⇒ Types::GetTableBucketMetricsConfigurationResponse
Gets the metrics configuration for a table bucket.
-
#get_table_bucket_policy(params = {}) ⇒ Types::GetTableBucketPolicyResponse
Gets details about a table bucket policy.
-
#get_table_bucket_replication(params = {}) ⇒ Types::GetTableBucketReplicationResponse
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. -
#get_table_bucket_storage_class(params = {}) ⇒ Types::GetTableBucketStorageClassResponse
Retrieves the storage class configuration for a specific table.
-
#get_table_encryption(params = {}) ⇒ Types::GetTableEncryptionResponse
Gets the encryption configuration for a table.
-
#get_table_maintenance_configuration(params = {}) ⇒ Types::GetTableMaintenanceConfigurationResponse
Gets details about the maintenance configuration of a table.
-
#get_table_maintenance_job_status(params = {}) ⇒ Types::GetTableMaintenanceJobStatusResponse
Gets the status of a maintenance job for a table.
-
#get_table_metadata_location(params = {}) ⇒ Types::GetTableMetadataLocationResponse
Gets the location of the table metadata.
-
#get_table_policy(params = {}) ⇒ Types::GetTablePolicyResponse
Gets details about a table policy.
-
#get_table_record_expiration_configuration(params = {}) ⇒ Types::GetTableRecordExpirationConfigurationResponse
Retrieves the expiration configuration settings for records in a table, and the status of the configuration.
-
#get_table_record_expiration_job_status(params = {}) ⇒ Types::GetTableRecordExpirationJobStatusResponse
Retrieves the status, metrics, and details of the latest record expiration job for a table.
-
#get_table_replication(params = {}) ⇒ Types::GetTableReplicationResponse
Retrieves the replication configuration for a specific table.
-
#get_table_replication_status(params = {}) ⇒ Types::GetTableReplicationStatusResponse
Retrieves the replication status for a table, including the status of replication to each destination.
-
#get_table_storage_class(params = {}) ⇒ Types::GetTableStorageClassResponse
Retrieves the storage class configuration for a specific table.
-
#list_namespaces(params = {}) ⇒ Types::ListNamespacesResponse
Lists the namespaces within a table bucket.
-
#list_table_buckets(params = {}) ⇒ Types::ListTableBucketsResponse
Lists table buckets for your account.
-
#list_tables(params = {}) ⇒ Types::ListTablesResponse
List tables in the given table bucket.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists all of the tags applied to a specified Amazon S3 Tables resource.
-
#put_table_bucket_encryption(params = {}) ⇒ Struct
Sets the encryption configuration for a table bucket.
-
#put_table_bucket_maintenance_configuration(params = {}) ⇒ Struct
Creates a new maintenance configuration or replaces an existing maintenance configuration for a table bucket.
-
#put_table_bucket_metrics_configuration(params = {}) ⇒ Struct
Sets the metrics configuration for a table bucket.
-
#put_table_bucket_policy(params = {}) ⇒ Struct
Creates a new table bucket policy or replaces an existing table bucket policy for a table bucket.
-
#put_table_bucket_replication(params = {}) ⇒ Types::PutTableBucketReplicationResponse
Creates or updates the replication configuration for a table bucket.
-
#put_table_bucket_storage_class(params = {}) ⇒ Struct
Sets or updates the storage class configuration for a table bucket.
-
#put_table_maintenance_configuration(params = {}) ⇒ Struct
Creates a new maintenance configuration or replaces an existing maintenance configuration for a table.
-
#put_table_policy(params = {}) ⇒ Struct
Creates a new table policy or replaces an existing table policy for a table.
-
#put_table_record_expiration_configuration(params = {}) ⇒ Struct
Creates or updates the expiration configuration settings for records in a table, including the status of the configuration.
-
#put_table_replication(params = {}) ⇒ Types::PutTableReplicationResponse
Creates or updates the replication configuration for a specific table.
-
#rename_table(params = {}) ⇒ Struct
Renames a table or a namespace.
-
#tag_resource(params = {}) ⇒ Struct
Applies one or more user-defined tags to an Amazon S3 Tables resource or updates existing tags.
-
#untag_resource(params = {}) ⇒ Struct
Removes the specified user-defined tags from an Amazon S3 Tables resource.
-
#update_table_metadata_location(params = {}) ⇒ Types::UpdateTableMetadataLocationResponse
Updates the metadata location for a table.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
473 474 475 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 473 def initialize(*args) super end |
Instance Method Details
#create_namespace(params = {}) ⇒ Types::CreateNamespaceResponse
Creates a namespace. A namespace is a logical grouping of tables within your table bucket, which you can use to organize tables. For more information, see Create a namespace in the Amazon Simple Storage Service User Guide.
- Permissions
You must have the
s3tables:CreateNamespacepermission to use this operation.
522 523 524 525 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 522 def create_namespace(params = {}, = {}) req = build_request(:create_namespace, params) req.send_request() end |
#create_table(params = {}) ⇒ Types::CreateTableResponse
Creates a new table associated with the given namespace in a table bucket. For more information, see Creating an Amazon S3 table in the Amazon Simple Storage Service User Guide.
- Permissions
You must have the
s3tables:CreateTablepermission to use this operation.If you use this operation with the optional
metadatarequest parameter you must have thes3tables:PutTableDatapermission.If you use this operation with the optional
encryptionConfigurationrequest parameter you must have thes3tables:PutTableEncryptionpermission.If you use this operation with the
storageClassConfigurationrequest parameter, you must have thes3tables:PutTableStorageClasspermission.To create a table with tags, you must have the
s3tables:TagResourcepermission in addition tos3tables:CreateTablepermission.
Additionally, If you choose SSE-KMS encryption you must grant the S3 Tables maintenance principal access to your KMS key. For more information, see Permissions requirements for S3 Tables SSE-KMS encryption.
687 688 689 690 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 687 def create_table(params = {}, = {}) req = build_request(:create_table, params) req.send_request() end |
#create_table_bucket(params = {}) ⇒ Types::CreateTableBucketResponse
Creates a table bucket. For more information, see Creating a table bucket in the Amazon Simple Storage Service User Guide.
- Permissions
You must have the
s3tables:CreateTableBucketpermission to use this operation.If you use this operation with the optional
encryptionConfigurationparameter you must have thes3tables:PutTableBucketEncryptionpermission.If you use this operation with the
storageClassConfigurationrequest parameter, you must have thes3tables:PutTableBucketStorageClasspermission.To create a table bucket with tags, you must have the
s3tables:TagResourcepermission in addition tos3tables:CreateTableBucketpermission.
776 777 778 779 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 776 def create_table_bucket(params = {}, = {}) req = build_request(:create_table_bucket, params) req.send_request() end |
#delete_namespace(params = {}) ⇒ Struct
Deletes a namespace. For more information, see Delete a namespace in the Amazon Simple Storage Service User Guide.
- Permissions
You must have the
s3tables:DeleteNamespacepermission to use this operation.
813 814 815 816 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 813 def delete_namespace(params = {}, = {}) req = build_request(:delete_namespace, params) req.send_request() end |
#delete_table(params = {}) ⇒ Struct
Deletes a table. For more information, see Deleting an Amazon S3 table in the Amazon Simple Storage Service User Guide.
- Permissions
You must have the
s3tables:DeleteTablepermission to use this operation.
858 859 860 861 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 858 def delete_table(params = {}, = {}) req = build_request(:delete_table, params) req.send_request() end |
#delete_table_bucket(params = {}) ⇒ Struct
Deletes a table bucket. For more information, see Deleting a table bucket in the Amazon Simple Storage Service User Guide.
- Permissions
You must have the
s3tables:DeleteTableBucketpermission to use this operation.
890 891 892 893 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 890 def delete_table_bucket(params = {}, = {}) req = build_request(:delete_table_bucket, params) req.send_request() end |
#delete_table_bucket_encryption(params = {}) ⇒ Struct
Deletes the encryption configuration for a table bucket.
- Permissions
You must have the
s3tables:DeleteTableBucketEncryptionpermission to use this operation.
917 918 919 920 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 917 def delete_table_bucket_encryption(params = {}, = {}) req = build_request(:delete_table_bucket_encryption, params) req.send_request() end |
#delete_table_bucket_metrics_configuration(params = {}) ⇒ Struct
Deletes the metrics configuration for a table bucket.
- Permissions
You must have the
s3tables:DeleteTableBucketMetricsConfigurationpermission to use this operation.
944 945 946 947 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 944 def delete_table_bucket_metrics_configuration(params = {}, = {}) req = build_request(:delete_table_bucket_metrics_configuration, params) req.send_request() end |
#delete_table_bucket_policy(params = {}) ⇒ Struct
Deletes a table bucket policy. For more information, see Deleting a table bucket policy in the Amazon Simple Storage Service User Guide.
- Permissions
You must have the
s3tables:DeleteTableBucketPolicypermission to use this operation.
977 978 979 980 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 977 def delete_table_bucket_policy(params = {}, = {}) req = build_request(:delete_table_bucket_policy, params) req.send_request() end |
#delete_table_bucket_replication(params = {}) ⇒ Struct
Deletes the replication configuration for a table bucket. After deletion, new table updates will no longer be replicated to destination buckets, though existing replicated tables will remain in destination buckets.
- Permissions
You must have the
s3tables:DeleteTableBucketReplicationpermission to use this operation.
1013 1014 1015 1016 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 1013 def delete_table_bucket_replication(params = {}, = {}) req = build_request(:delete_table_bucket_replication, params) req.send_request() end |
#delete_table_policy(params = {}) ⇒ Struct
Deletes a table policy. For more information, see Deleting a table policy in the Amazon Simple Storage Service User Guide.
- Permissions
You must have the
s3tables:DeleteTablePolicypermission to use this operation.
1054 1055 1056 1057 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 1054 def delete_table_policy(params = {}, = {}) req = build_request(:delete_table_policy, params) req.send_request() end |
#delete_table_replication(params = {}) ⇒ Struct
Deletes the replication configuration for a specific table. After deletion, new updates to this table will no longer be replicated to destination tables, though existing replicated copies will remain in destination buckets.
- Permissions
You must have the
s3tables:DeleteTableReplicationpermission to use this operation.
1090 1091 1092 1093 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 1090 def delete_table_replication(params = {}, = {}) req = build_request(:delete_table_replication, params) req.send_request() end |
#get_namespace(params = {}) ⇒ Types::GetNamespaceResponse
Gets details about a namespace. For more information, see Table namespaces in the Amazon Simple Storage Service User Guide.
- Permissions
You must have the
s3tables:GetNamespacepermission to use this operation.
1143 1144 1145 1146 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 1143 def get_namespace(params = {}, = {}) req = build_request(:get_namespace, params) req.send_request() end |
#get_table(params = {}) ⇒ Types::GetTableResponse
Gets details about a table. For more information, see S3 Tables in the Amazon Simple Storage Service User Guide.
- Permissions
You must have the
s3tables:GetTablepermission to use this operation.
1227 1228 1229 1230 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 1227 def get_table(params = {}, = {}) req = build_request(:get_table, params) req.send_request() end |
#get_table_bucket(params = {}) ⇒ Types::GetTableBucketResponse
Gets details on a table bucket. For more information, see Viewing details about an Amazon S3 table bucket in the Amazon Simple Storage Service User Guide.
- Permissions
You must have the
s3tables:GetTableBucketpermission to use this operation.
1276 1277 1278 1279 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 1276 def get_table_bucket(params = {}, = {}) req = build_request(:get_table_bucket, params) req.send_request() end |
#get_table_bucket_encryption(params = {}) ⇒ Types::GetTableBucketEncryptionResponse
Gets the encryption configuration for a table bucket.
- Permissions
You must have the
s3tables:GetTableBucketEncryptionpermission to use this operation.
1310 1311 1312 1313 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 1310 def get_table_bucket_encryption(params = {}, = {}) req = build_request(:get_table_bucket_encryption, params) req.send_request() end |
#get_table_bucket_maintenance_configuration(params = {}) ⇒ Types::GetTableBucketMaintenanceConfigurationResponse
Gets details about a maintenance configuration for a given table bucket. For more information, see Amazon S3 table bucket maintenance in the Amazon Simple Storage Service User Guide.
- Permissions
You must have the
s3tables:GetTableBucketMaintenanceConfigurationpermission to use this operation.
1355 1356 1357 1358 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 1355 def get_table_bucket_maintenance_configuration(params = {}, = {}) req = build_request(:get_table_bucket_maintenance_configuration, params) req.send_request() end |
#get_table_bucket_metrics_configuration(params = {}) ⇒ Types::GetTableBucketMetricsConfigurationResponse
Gets the metrics configuration for a table bucket.
- Permissions
You must have the
s3tables:GetTableBucketMetricsConfigurationpermission to use this operation.
1390 1391 1392 1393 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 1390 def get_table_bucket_metrics_configuration(params = {}, = {}) req = build_request(:get_table_bucket_metrics_configuration, params) req.send_request() end |
#get_table_bucket_policy(params = {}) ⇒ Types::GetTableBucketPolicyResponse
Gets details about a table bucket policy. For more information, see Viewing a table bucket policy in the Amazon Simple Storage Service User Guide.
- Permissions
You must have the
s3tables:GetTableBucketPolicypermission to use this operation.
1429 1430 1431 1432 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 1429 def get_table_bucket_policy(params = {}, = {}) req = build_request(:get_table_bucket_policy, params) req.send_request() end |
#get_table_bucket_replication(params = {}) ⇒ Types::GetTableBucketReplicationResponse
Retrieves the replication configuration for a table bucket.This
operation returns the IAM role, versionToken, and replication rules
that define how tables in this bucket are replicated to other buckets.
- Permissions
You must have the
s3tables:GetTableBucketReplicationpermission to use this operation.
1469 1470 1471 1472 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 1469 def get_table_bucket_replication(params = {}, = {}) req = build_request(:get_table_bucket_replication, params) req.send_request() end |
#get_table_bucket_storage_class(params = {}) ⇒ Types::GetTableBucketStorageClassResponse
Retrieves the storage class configuration for a specific table. This allows you to view the storage class settings that apply to an individual table, which may differ from the table bucket's default configuration.
- Permissions
You must have the
s3tables:GetTableBucketStorageClasspermission to use this operation.
1505 1506 1507 1508 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 1505 def get_table_bucket_storage_class(params = {}, = {}) req = build_request(:get_table_bucket_storage_class, params) req.send_request() end |
#get_table_encryption(params = {}) ⇒ Types::GetTableEncryptionResponse
Gets the encryption configuration for a table.
- Permissions
You must have the
s3tables:GetTableEncryptionpermission to use this operation.
1548 1549 1550 1551 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 1548 def get_table_encryption(params = {}, = {}) req = build_request(:get_table_encryption, params) req.send_request() end |
#get_table_maintenance_configuration(params = {}) ⇒ Types::GetTableMaintenanceConfigurationResponse
Gets details about the maintenance configuration of a table. For more information, see S3 Tables maintenance in the Amazon Simple Storage Service User Guide.
- Permissions
You must have the
s3tables:GetTableMaintenanceConfigurationpermission to use this operation.You must have the
s3tables:GetTableDatapermission to use set the compaction strategy tosortorzorder.
1604 1605 1606 1607 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 1604 def get_table_maintenance_configuration(params = {}, = {}) req = build_request(:get_table_maintenance_configuration, params) req.send_request() end |
#get_table_maintenance_job_status(params = {}) ⇒ Types::GetTableMaintenanceJobStatusResponse
Gets the status of a maintenance job for a table. For more information, see S3 Tables maintenance in the Amazon Simple Storage Service User Guide.
- Permissions
You must have the
s3tables:GetTableMaintenanceJobStatuspermission to use this operation.
1657 1658 1659 1660 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 1657 def get_table_maintenance_job_status(params = {}, = {}) req = build_request(:get_table_maintenance_job_status, params) req.send_request() end |
#get_table_metadata_location(params = {}) ⇒ Types::GetTableMetadataLocationResponse
Gets the location of the table metadata.
- Permissions
You must have the
s3tables:GetTableMetadataLocationpermission to use this operation.
1702 1703 1704 1705 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 1702 def (params = {}, = {}) req = build_request(:get_table_metadata_location, params) req.send_request() end |
#get_table_policy(params = {}) ⇒ Types::GetTablePolicyResponse
Gets details about a table policy. For more information, see Viewing a table policy in the Amazon Simple Storage Service User Guide.
- Permissions
You must have the
s3tables:GetTablePolicypermission to use this operation.
1749 1750 1751 1752 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 1749 def get_table_policy(params = {}, = {}) req = build_request(:get_table_policy, params) req.send_request() end |
#get_table_record_expiration_configuration(params = {}) ⇒ Types::GetTableRecordExpirationConfigurationResponse
Retrieves the expiration configuration settings for records in a
table, and the status of the configuration. If the status of the
configuration is enabled, records expire and are automatically
removed from the table after the specified number of days.
- Permissions
You must have the
s3tables:GetTableRecordExpirationConfigurationpermission to use this operation.
1786 1787 1788 1789 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 1786 def get_table_record_expiration_configuration(params = {}, = {}) req = build_request(:get_table_record_expiration_configuration, params) req.send_request() end |
#get_table_record_expiration_job_status(params = {}) ⇒ Types::GetTableRecordExpirationJobStatusResponse
Retrieves the status, metrics, and details of the latest record expiration job for a table. This includes when the job ran, and whether it succeeded or failed. If the job ran successfully, this also includes statistics about the records that were removed.
- Permissions
You must have the
s3tables:GetTableRecordExpirationJobStatuspermission to use this operation.
1830 1831 1832 1833 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 1830 def get_table_record_expiration_job_status(params = {}, = {}) req = build_request(:get_table_record_expiration_job_status, params) req.send_request() end |
#get_table_replication(params = {}) ⇒ Types::GetTableReplicationResponse
Retrieves the replication configuration for a specific table.
- Permissions
You must have the
s3tables:GetTableReplicationpermission to use this operation.
1868 1869 1870 1871 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 1868 def get_table_replication(params = {}, = {}) req = build_request(:get_table_replication, params) req.send_request() end |
#get_table_replication_status(params = {}) ⇒ Types::GetTableReplicationStatusResponse
Retrieves the replication status for a table, including the status of replication to each destination. This operation provides visibility into replication health and progress.
- Permissions
You must have the
s3tables:GetTableReplicationStatuspermission to use this operation.
1911 1912 1913 1914 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 1911 def get_table_replication_status(params = {}, = {}) req = build_request(:get_table_replication_status, params) req.send_request() end |
#get_table_storage_class(params = {}) ⇒ Types::GetTableStorageClassResponse
Retrieves the storage class configuration for a specific table. This allows you to view the storage class settings that apply to an individual table, which may differ from the table bucket's default configuration.
- Permissions
You must have the
s3tables:GetTableStorageClasspermission to use this operation.
1956 1957 1958 1959 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 1956 def get_table_storage_class(params = {}, = {}) req = build_request(:get_table_storage_class, params) req.send_request() end |
#list_namespaces(params = {}) ⇒ Types::ListNamespacesResponse
Lists the namespaces within a table bucket. For more information, see Table namespaces in the Amazon Simple Storage Service User Guide.
- Permissions
You must have the
s3tables:ListNamespacespermission to use this operation.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2021 2022 2023 2024 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 2021 def list_namespaces(params = {}, = {}) req = build_request(:list_namespaces, params) req.send_request() end |
#list_table_buckets(params = {}) ⇒ Types::ListTableBucketsResponse
Lists table buckets for your account. For more information, see S3 Table buckets in the Amazon Simple Storage Service User Guide.
- Permissions
You must have the
s3tables:ListTableBucketspermission to use this operation.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2084 2085 2086 2087 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 2084 def list_table_buckets(params = {}, = {}) req = build_request(:list_table_buckets, params) req.send_request() end |
#list_tables(params = {}) ⇒ Types::ListTablesResponse
List tables in the given table bucket. For more information, see S3 Tables in the Amazon Simple Storage Service User Guide.
- Permissions
You must have the
s3tables:ListTablespermission to use this operation.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2155 2156 2157 2158 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 2155 def list_tables(params = {}, = {}) req = build_request(:list_tables, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
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.
- Permissions
For tables and table buckets, you must have the
s3tables:ListTagsForResourcepermission to use this operation.
2208 2209 2210 2211 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 2208 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#put_table_bucket_encryption(params = {}) ⇒ Struct
Sets the encryption configuration for a table bucket.
- Permissions
You must have the
s3tables:PutTableBucketEncryptionpermission to use this operation.If you choose SSE-KMS encryption you must grant the S3 Tables maintenance principal access to your KMS key. For more information, see Permissions requirements for S3 Tables SSE-KMS encryption in the Amazon Simple Storage Service User Guide.
2253 2254 2255 2256 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 2253 def put_table_bucket_encryption(params = {}, = {}) req = build_request(:put_table_bucket_encryption, params) req.send_request() end |
#put_table_bucket_maintenance_configuration(params = {}) ⇒ Struct
Creates a new maintenance configuration or replaces an existing maintenance configuration for a table bucket. For more information, see Amazon S3 table bucket maintenance in the Amazon Simple Storage Service User Guide.
- Permissions
You must have the
s3tables:PutTableBucketMaintenanceConfigurationpermission to use this operation.
2305 2306 2307 2308 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 2305 def put_table_bucket_maintenance_configuration(params = {}, = {}) req = build_request(:put_table_bucket_maintenance_configuration, params) req.send_request() end |
#put_table_bucket_metrics_configuration(params = {}) ⇒ Struct
Sets the metrics configuration for a table bucket.
- Permissions
You must have the
s3tables:PutTableBucketMetricsConfigurationpermission to use this operation.
2332 2333 2334 2335 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 2332 def put_table_bucket_metrics_configuration(params = {}, = {}) req = build_request(:put_table_bucket_metrics_configuration, params) req.send_request() end |
#put_table_bucket_policy(params = {}) ⇒ Struct
Creates a new table bucket policy or replaces an existing table bucket policy for a table bucket. For more information, see Adding a table bucket policy in the Amazon Simple Storage Service User Guide.
- Permissions
You must have the
s3tables:PutTableBucketPolicypermission to use this operation.
2369 2370 2371 2372 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 2369 def put_table_bucket_policy(params = {}, = {}) req = build_request(:put_table_bucket_policy, params) req.send_request() end |
#put_table_bucket_replication(params = {}) ⇒ Types::PutTableBucketReplicationResponse
Creates or updates the replication configuration for a table bucket. This operation defines how tables in the source bucket are replicated to destination buckets. Replication helps ensure data availability and disaster recovery across regions or accounts.
- Permissions
You must have the
s3tables:PutTableBucketReplicationpermission to use this operation. The IAM role specified in the configuration must have permissions to read from the source bucket and write permissions to all destination buckets.You must also have the following permissions:
s3tables:GetTablepermission on the source table.s3tables:ListTablespermission on the bucket containing the table.s3tables:CreateTablepermission for the destination.s3tables:CreateNamespacepermission for the destination.s3tables:GetTableMaintenanceConfigpermission for the source bucket.s3tables:PutTableMaintenanceConfigpermission for the destination bucket.
- You must have
iam:PassRolepermission with condition allowing roles to be passed toreplication.s3tables.amazonaws.com.
2449 2450 2451 2452 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 2449 def put_table_bucket_replication(params = {}, = {}) req = build_request(:put_table_bucket_replication, params) req.send_request() end |
#put_table_bucket_storage_class(params = {}) ⇒ Struct
Sets or updates the storage class configuration for a table bucket. This configuration serves as the default storage class for all new tables created in the bucket, allowing you to optimize storage costs at the bucket level.
- Permissions
You must have the
s3tables:PutTableBucketStorageClasspermission to use this operation.
2487 2488 2489 2490 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 2487 def put_table_bucket_storage_class(params = {}, = {}) req = build_request(:put_table_bucket_storage_class, params) req.send_request() end |
#put_table_maintenance_configuration(params = {}) ⇒ Struct
Creates a new maintenance configuration or replaces an existing maintenance configuration for a table. For more information, see S3 Tables maintenance in the Amazon Simple Storage Service User Guide.
- Permissions
You must have the
s3tables:PutTableMaintenanceConfigurationpermission to use this operation.
2550 2551 2552 2553 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 2550 def put_table_maintenance_configuration(params = {}, = {}) req = build_request(:put_table_maintenance_configuration, params) req.send_request() end |
#put_table_policy(params = {}) ⇒ Struct
Creates a new table policy or replaces an existing table policy for a table. For more information, see Adding a table policy in the Amazon Simple Storage Service User Guide.
- Permissions
You must have the
s3tables:PutTablePolicypermission to use this operation.
2596 2597 2598 2599 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 2596 def put_table_policy(params = {}, = {}) req = build_request(:put_table_policy, params) req.send_request() end |
#put_table_record_expiration_configuration(params = {}) ⇒ Struct
Creates or updates the expiration configuration settings for records in a table, including the status of the configuration. If you enable record expiration for a table, records expire and are automatically removed from the table after the number of days that you specify.
- Permissions
You must have the
s3tables:PutTableRecordExpirationConfigurationpermission to use this operation.
2636 2637 2638 2639 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 2636 def put_table_record_expiration_configuration(params = {}, = {}) req = build_request(:put_table_record_expiration_configuration, params) req.send_request() end |
#put_table_replication(params = {}) ⇒ Types::PutTableReplicationResponse
Creates or updates the replication configuration for a specific table. This operation allows you to define table-level replication independently of bucket-level replication, providing granular control over which tables are replicated and where.
- Permissions
You must have the
s3tables:PutTableReplicationpermission to use this operation. The IAM role specified in the configuration must have permissions to read from the source table and write to all destination tables.You must also have the following permissions:
s3tables:GetTablepermission on the source table being replicated.s3tables:CreateTablepermission for the destination.s3tables:CreateNamespacepermission for the destination.s3tables:GetTableMaintenanceConfigpermission for the source table.s3tables:PutTableMaintenanceConfigpermission for the destination table.
- You must have
iam:PassRolepermission with condition allowing roles to be passed toreplication.s3tables.amazonaws.com.
2714 2715 2716 2717 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 2714 def put_table_replication(params = {}, = {}) req = build_request(:put_table_replication, params) req.send_request() end |
#rename_table(params = {}) ⇒ Struct
Renames a table or a namespace. For more information, see S3 Tables in the Amazon Simple Storage Service User Guide.
- Permissions
You must have the
s3tables:RenameTablepermission to use this operation.
2766 2767 2768 2769 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 2766 def rename_table(params = {}, = {}) req = build_request(:rename_table, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
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.
- Permissions
For tables and table buckets, you must have the
s3tables:TagResourcepermission to use this operation.
2825 2826 2827 2828 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 2825 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes the specified user-defined tags from an Amazon S3 Tables resource. You can pass one or more tag keys.
- Permissions
For tables and table buckets, you must have the
s3tables:UntagResourcepermission to use this operation.
2879 2880 2881 2882 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 2879 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_table_metadata_location(params = {}) ⇒ Types::UpdateTableMetadataLocationResponse
Updates the metadata location for a table. The metadata location of a
table must be an S3 URI that begins with the table's warehouse
location. The metadata location for an Apache Iceberg table must end
with .metadata.json, or if the metadata file is Gzip-compressed,
.metadata.json.gz.
- Permissions
You must have the
s3tables:UpdateTableMetadataLocationpermission to use this operation.
2941 2942 2943 2944 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 2941 def (params = {}, = {}) req = build_request(:update_table_metadata_location, params) req.send_request() end |