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_policy(params = {}) ⇒ Struct
Deletes a table bucket policy.
-
#delete_table_policy(params = {}) ⇒ Struct
Deletes a table policy.
-
#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_maintenance_configuration(params = {}) ⇒ Types::GetTableBucketMaintenanceConfigurationResponse
Gets details about a maintenance configuration for a given table bucket.
-
#get_table_bucket_policy(params = {}) ⇒ Types::GetTableBucketPolicyResponse
Gets details about a table bucket policy.
-
#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.
-
#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.
-
#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_policy(params = {}) ⇒ Struct
Creates a new maintenance configuration or replaces an existing table bucket policy 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 maintenance configuration or replaces an existing table policy for a table.
-
#rename_table(params = {}) ⇒ Struct
Renames a table or a namespace.
-
#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.
444 445 446 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 444 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 Table namespaces.
487 488 489 490 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 487 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.
531 532 533 534 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 531 def create_table(params = {}, = {}) req = build_request(:create_table, params) req.send_request() end |
#create_table_bucket(params = {}) ⇒ Types::CreateTableBucketResponse
Creates a table bucket.
559 560 561 562 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 559 def create_table_bucket(params = {}, = {}) req = build_request(:create_table_bucket, params) req.send_request() end |
#delete_namespace(params = {}) ⇒ Struct
Deletes a namespace.
586 587 588 589 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 586 def delete_namespace(params = {}, = {}) req = build_request(:delete_namespace, params) req.send_request() end |
#delete_table(params = {}) ⇒ Struct
Deletes a table.
621 622 623 624 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 621 def delete_table(params = {}, = {}) req = build_request(:delete_table, params) req.send_request() end |
#delete_table_bucket(params = {}) ⇒ Struct
Deletes a table bucket.
643 644 645 646 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 643 def delete_table_bucket(params = {}, = {}) req = build_request(:delete_table_bucket, params) req.send_request() end |
#delete_table_bucket_policy(params = {}) ⇒ Struct
Deletes a table bucket policy.
665 666 667 668 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 665 def delete_table_bucket_policy(params = {}, = {}) req = build_request(:delete_table_bucket_policy, params) req.send_request() end |
#delete_table_policy(params = {}) ⇒ Struct
Deletes a table policy.
696 697 698 699 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 696 def delete_table_policy(params = {}, = {}) req = build_request(:delete_table_policy, params) req.send_request() end |
#get_namespace(params = {}) ⇒ Types::GetNamespaceResponse
Gets details about a namespace.
735 736 737 738 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 735 def get_namespace(params = {}, = {}) req = build_request(:get_namespace, params) req.send_request() end |
#get_table(params = {}) ⇒ Types::GetTableResponse
Gets details about a table.
799 800 801 802 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 799 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.
833 834 835 836 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 833 def get_table_bucket(params = {}, = {}) req = build_request(:get_table_bucket, params) req.send_request() end |
#get_table_bucket_maintenance_configuration(params = {}) ⇒ Types::GetTableBucketMaintenanceConfigurationResponse
Gets details about a maintenance configuration for a given table bucket.
868 869 870 871 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 868 def get_table_bucket_maintenance_configuration(params = {}, = {}) req = build_request(:get_table_bucket_maintenance_configuration, params) req.send_request() end |
#get_table_bucket_policy(params = {}) ⇒ Types::GetTableBucketPolicyResponse
Gets details about a table bucket policy.
896 897 898 899 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 896 def get_table_bucket_policy(params = {}, = {}) req = build_request(:get_table_bucket_policy, params) req.send_request() end |
#get_table_maintenance_configuration(params = {}) ⇒ Types::GetTableMaintenanceConfigurationResponse
Gets details about the maintenance configuration of a table.
938 939 940 941 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 938 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.
979 980 981 982 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 979 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.
1019 1020 1021 1022 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 1019 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.
1056 1057 1058 1059 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 1056 def get_table_policy(params = {}, = {}) req = build_request(:get_table_policy, params) req.send_request() end |
#list_namespaces(params = {}) ⇒ Types::ListNamespacesResponse
Lists the namespaces within a table bucket.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1108 1109 1110 1111 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 1108 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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1155 1156 1157 1158 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 1155 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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1213 1214 1215 1216 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 1213 def list_tables(params = {}, = {}) req = build_request(:list_tables, 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.
1254 1255 1256 1257 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 1254 def put_table_bucket_maintenance_configuration(params = {}, = {}) req = build_request(:put_table_bucket_maintenance_configuration, params) req.send_request() end |
#put_table_bucket_policy(params = {}) ⇒ Struct
Creates a new maintenance configuration or replaces an existing table bucket policy for a table bucket.
1281 1282 1283 1284 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 1281 def put_table_bucket_policy(params = {}, = {}) req = build_request(:put_table_bucket_policy, 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.
1332 1333 1334 1335 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 1332 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 maintenance configuration or replaces an existing table policy for a table.
1368 1369 1370 1371 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 1368 def put_table_policy(params = {}, = {}) req = build_request(:put_table_policy, params) req.send_request() end |
#rename_table(params = {}) ⇒ Struct
Renames a table or a namespace.
1410 1411 1412 1413 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 1410 def rename_table(params = {}, = {}) req = build_request(:rename_table, params) req.send_request() end |
#update_table_metadata_location(params = {}) ⇒ Types::UpdateTableMetadataLocationResponse
Updates the metadata location for a table.
1463 1464 1465 1466 |
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/client.rb', line 1463 def (params = {}, = {}) req = build_request(:update_table_metadata_location, params) req.send_request() end |