S3TablesClient#
Auto-generated documentation for S3Tables type annotations stubs module types-boto3-s3tables.
S3TablesClient#
Type annotations and code completion for boto3.client("s3tables")
.
boto3 documentation
# S3TablesClient usage example
from boto3.session import Session
from types_boto3_s3tables.client import S3TablesClient
def get_s3tables_client() -> S3TablesClient:
return Session().client("s3tables")
Exceptions#
boto3
client exceptions are generated in runtime.
This class provides code completion for boto3.client("s3tables").exceptions
structure.
# Exceptions.exceptions usage example
client = boto3.client("s3tables")
try:
do_something(client)
except (
client.exceptions.AccessDeniedException,
client.exceptions.BadRequestException,
client.exceptions.ClientError,
client.exceptions.ConflictException,
client.exceptions.ForbiddenException,
client.exceptions.InternalServerErrorException,
client.exceptions.NotFoundException,
client.exceptions.TooManyRequestsException,
) as e:
print(e)
# Exceptions.exceptions type checking example
from types_boto3_s3tables.client import Exceptions
def handle_error(exc: Exceptions.AccessDeniedException) -> None:
...
Methods#
can_paginate#
Type annotations and code completion for boto3.client("s3tables").can_paginate
method.
boto3 documentation
# can_paginate method definition
def can_paginate(
self,
operation_name: str,
) -> bool:
...
generate_presigned_url#
Type annotations and code completion for boto3.client("s3tables").generate_presigned_url
method.
boto3 documentation
# generate_presigned_url method definition
def generate_presigned_url(
self,
ClientMethod: str,
Params: Mapping[str, Any] = ...,
ExpiresIn: int = 3600,
HttpMethod: str = ...,
) -> str:
...
create_namespace#
Creates a namespace.
Type annotations and code completion for boto3.client("s3tables").create_namespace
method.
boto3 documentation
# create_namespace method definition
def create_namespace(
self,
*,
tableBucketARN: str,
namespace: Sequence[str],
) -> CreateNamespaceResponseTypeDef: # (1)
...
# create_namespace method usage example with argument unpacking
kwargs: CreateNamespaceRequestRequestTypeDef = { # (1)
"tableBucketARN": ...,
"namespace": ...,
}
parent.create_namespace(**kwargs)
create_table#
Creates a new table associated with the given namespace in a table bucket.
Type annotations and code completion for boto3.client("s3tables").create_table
method.
boto3 documentation
# create_table method definition
def create_table(
self,
*,
tableBucketARN: str,
namespace: str,
name: str,
format: OpenTableFormatType, # (1)
) -> CreateTableResponseTypeDef: # (2)
...
# create_table method usage example with argument unpacking
kwargs: CreateTableRequestRequestTypeDef = { # (1)
"tableBucketARN": ...,
"namespace": ...,
"name": ...,
"format": ...,
}
parent.create_table(**kwargs)
create_table_bucket#
Creates a table bucket.
Type annotations and code completion for boto3.client("s3tables").create_table_bucket
method.
boto3 documentation
# create_table_bucket method definition
def create_table_bucket(
self,
*,
name: str,
) -> CreateTableBucketResponseTypeDef: # (1)
...
# create_table_bucket method usage example with argument unpacking
kwargs: CreateTableBucketRequestRequestTypeDef = { # (1)
"name": ...,
}
parent.create_table_bucket(**kwargs)
delete_namespace#
Deletes a namespace.
Type annotations and code completion for boto3.client("s3tables").delete_namespace
method.
boto3 documentation
# delete_namespace method definition
def delete_namespace(
self,
*,
tableBucketARN: str,
namespace: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# delete_namespace method usage example with argument unpacking
kwargs: DeleteNamespaceRequestRequestTypeDef = { # (1)
"tableBucketARN": ...,
"namespace": ...,
}
parent.delete_namespace(**kwargs)
delete_table#
Deletes a table.
Type annotations and code completion for boto3.client("s3tables").delete_table
method.
boto3 documentation
# delete_table method definition
def delete_table(
self,
*,
tableBucketARN: str,
namespace: str,
name: str,
versionToken: str = ...,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# delete_table method usage example with argument unpacking
kwargs: DeleteTableRequestRequestTypeDef = { # (1)
"tableBucketARN": ...,
"namespace": ...,
"name": ...,
}
parent.delete_table(**kwargs)
delete_table_bucket#
Deletes a table bucket.
Type annotations and code completion for boto3.client("s3tables").delete_table_bucket
method.
boto3 documentation
# delete_table_bucket method definition
def delete_table_bucket(
self,
*,
tableBucketARN: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# delete_table_bucket method usage example with argument unpacking
kwargs: DeleteTableBucketRequestRequestTypeDef = { # (1)
"tableBucketARN": ...,
}
parent.delete_table_bucket(**kwargs)
delete_table_bucket_policy#
Deletes a table bucket policy.
Type annotations and code completion for boto3.client("s3tables").delete_table_bucket_policy
method.
boto3 documentation
# delete_table_bucket_policy method definition
def delete_table_bucket_policy(
self,
*,
tableBucketARN: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# delete_table_bucket_policy method usage example with argument unpacking
kwargs: DeleteTableBucketPolicyRequestRequestTypeDef = { # (1)
"tableBucketARN": ...,
}
parent.delete_table_bucket_policy(**kwargs)
delete_table_policy#
Deletes a table policy.
Type annotations and code completion for boto3.client("s3tables").delete_table_policy
method.
boto3 documentation
# delete_table_policy method definition
def delete_table_policy(
self,
*,
tableBucketARN: str,
namespace: str,
name: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# delete_table_policy method usage example with argument unpacking
kwargs: DeleteTablePolicyRequestRequestTypeDef = { # (1)
"tableBucketARN": ...,
"namespace": ...,
"name": ...,
}
parent.delete_table_policy(**kwargs)
get_namespace#
Gets details about a namespace.
Type annotations and code completion for boto3.client("s3tables").get_namespace
method.
boto3 documentation
# get_namespace method definition
def get_namespace(
self,
*,
tableBucketARN: str,
namespace: str,
) -> GetNamespaceResponseTypeDef: # (1)
...
# get_namespace method usage example with argument unpacking
kwargs: GetNamespaceRequestRequestTypeDef = { # (1)
"tableBucketARN": ...,
"namespace": ...,
}
parent.get_namespace(**kwargs)
get_table#
Gets details about a table.
Type annotations and code completion for boto3.client("s3tables").get_table
method.
boto3 documentation
# get_table method definition
def get_table(
self,
*,
tableBucketARN: str,
namespace: str,
name: str,
) -> GetTableResponseTypeDef: # (1)
...
# get_table method usage example with argument unpacking
kwargs: GetTableRequestRequestTypeDef = { # (1)
"tableBucketARN": ...,
"namespace": ...,
"name": ...,
}
parent.get_table(**kwargs)
get_table_bucket#
Gets details on a table bucket.
Type annotations and code completion for boto3.client("s3tables").get_table_bucket
method.
boto3 documentation
# get_table_bucket method definition
def get_table_bucket(
self,
*,
tableBucketARN: str,
) -> GetTableBucketResponseTypeDef: # (1)
...
# get_table_bucket method usage example with argument unpacking
kwargs: GetTableBucketRequestRequestTypeDef = { # (1)
"tableBucketARN": ...,
}
parent.get_table_bucket(**kwargs)
get_table_bucket_maintenance_configuration#
Gets details about a maintenance configuration for a given table bucket.
Type annotations and code completion for boto3.client("s3tables").get_table_bucket_maintenance_configuration
method.
boto3 documentation
# get_table_bucket_maintenance_configuration method definition
def get_table_bucket_maintenance_configuration(
self,
*,
tableBucketARN: str,
) -> GetTableBucketMaintenanceConfigurationResponseTypeDef: # (1)
...
# get_table_bucket_maintenance_configuration method usage example with argument unpacking
kwargs: GetTableBucketMaintenanceConfigurationRequestRequestTypeDef = { # (1)
"tableBucketARN": ...,
}
parent.get_table_bucket_maintenance_configuration(**kwargs)
get_table_bucket_policy#
Gets details about a table bucket policy.
Type annotations and code completion for boto3.client("s3tables").get_table_bucket_policy
method.
boto3 documentation
# get_table_bucket_policy method definition
def get_table_bucket_policy(
self,
*,
tableBucketARN: str,
) -> GetTableBucketPolicyResponseTypeDef: # (1)
...
# get_table_bucket_policy method usage example with argument unpacking
kwargs: GetTableBucketPolicyRequestRequestTypeDef = { # (1)
"tableBucketARN": ...,
}
parent.get_table_bucket_policy(**kwargs)
get_table_maintenance_configuration#
Gets details about the maintenance configuration of a table.
Type annotations and code completion for boto3.client("s3tables").get_table_maintenance_configuration
method.
boto3 documentation
# get_table_maintenance_configuration method definition
def get_table_maintenance_configuration(
self,
*,
tableBucketARN: str,
namespace: str,
name: str,
) -> GetTableMaintenanceConfigurationResponseTypeDef: # (1)
...
# get_table_maintenance_configuration method usage example with argument unpacking
kwargs: GetTableMaintenanceConfigurationRequestRequestTypeDef = { # (1)
"tableBucketARN": ...,
"namespace": ...,
"name": ...,
}
parent.get_table_maintenance_configuration(**kwargs)
get_table_maintenance_job_status#
Gets the status of a maintenance job for a table.
Type annotations and code completion for boto3.client("s3tables").get_table_maintenance_job_status
method.
boto3 documentation
# get_table_maintenance_job_status method definition
def get_table_maintenance_job_status(
self,
*,
tableBucketARN: str,
namespace: str,
name: str,
) -> GetTableMaintenanceJobStatusResponseTypeDef: # (1)
...
# get_table_maintenance_job_status method usage example with argument unpacking
kwargs: GetTableMaintenanceJobStatusRequestRequestTypeDef = { # (1)
"tableBucketARN": ...,
"namespace": ...,
"name": ...,
}
parent.get_table_maintenance_job_status(**kwargs)
get_table_metadata_location#
Gets the location of the table metadata.
Type annotations and code completion for boto3.client("s3tables").get_table_metadata_location
method.
boto3 documentation
# get_table_metadata_location method definition
def get_table_metadata_location(
self,
*,
tableBucketARN: str,
namespace: str,
name: str,
) -> GetTableMetadataLocationResponseTypeDef: # (1)
...
# get_table_metadata_location method usage example with argument unpacking
kwargs: GetTableMetadataLocationRequestRequestTypeDef = { # (1)
"tableBucketARN": ...,
"namespace": ...,
"name": ...,
}
parent.get_table_metadata_location(**kwargs)
get_table_policy#
Gets details about a table policy.
Type annotations and code completion for boto3.client("s3tables").get_table_policy
method.
boto3 documentation
# get_table_policy method definition
def get_table_policy(
self,
*,
tableBucketARN: str,
namespace: str,
name: str,
) -> GetTablePolicyResponseTypeDef: # (1)
...
# get_table_policy method usage example with argument unpacking
kwargs: GetTablePolicyRequestRequestTypeDef = { # (1)
"tableBucketARN": ...,
"namespace": ...,
"name": ...,
}
parent.get_table_policy(**kwargs)
list_namespaces#
Lists the namespaces within a table bucket.
Type annotations and code completion for boto3.client("s3tables").list_namespaces
method.
boto3 documentation
# list_namespaces method definition
def list_namespaces(
self,
*,
tableBucketARN: str,
prefix: str = ...,
continuationToken: str = ...,
maxNamespaces: int = ...,
) -> ListNamespacesResponseTypeDef: # (1)
...
# list_namespaces method usage example with argument unpacking
kwargs: ListNamespacesRequestRequestTypeDef = { # (1)
"tableBucketARN": ...,
}
parent.list_namespaces(**kwargs)
list_table_buckets#
Lists table buckets for your account.
Type annotations and code completion for boto3.client("s3tables").list_table_buckets
method.
boto3 documentation
# list_table_buckets method definition
def list_table_buckets(
self,
*,
prefix: str = ...,
continuationToken: str = ...,
maxBuckets: int = ...,
) -> ListTableBucketsResponseTypeDef: # (1)
...
# list_table_buckets method usage example with argument unpacking
kwargs: ListTableBucketsRequestRequestTypeDef = { # (1)
"prefix": ...,
}
parent.list_table_buckets(**kwargs)
list_tables#
List tables in the given table bucket.
Type annotations and code completion for boto3.client("s3tables").list_tables
method.
boto3 documentation
# list_tables method definition
def list_tables(
self,
*,
tableBucketARN: str,
namespace: str = ...,
prefix: str = ...,
continuationToken: str = ...,
maxTables: int = ...,
) -> ListTablesResponseTypeDef: # (1)
...
# list_tables method usage example with argument unpacking
kwargs: ListTablesRequestRequestTypeDef = { # (1)
"tableBucketARN": ...,
}
parent.list_tables(**kwargs)
put_table_bucket_maintenance_configuration#
Creates a new maintenance configuration or replaces an existing maintenance configuration for a table bucket.
Type annotations and code completion for boto3.client("s3tables").put_table_bucket_maintenance_configuration
method.
boto3 documentation
# put_table_bucket_maintenance_configuration method definition
def put_table_bucket_maintenance_configuration(
self,
*,
tableBucketARN: str,
type: TableBucketMaintenanceTypeType, # (1)
value: TableBucketMaintenanceConfigurationValueTypeDef, # (2)
) -> EmptyResponseMetadataTypeDef: # (3)
...
- See TableBucketMaintenanceTypeType
- See TableBucketMaintenanceConfigurationValueTypeDef
- See EmptyResponseMetadataTypeDef
# put_table_bucket_maintenance_configuration method usage example with argument unpacking
kwargs: PutTableBucketMaintenanceConfigurationRequestRequestTypeDef = { # (1)
"tableBucketARN": ...,
"type": ...,
"value": ...,
}
parent.put_table_bucket_maintenance_configuration(**kwargs)
put_table_bucket_policy#
Creates a new maintenance configuration or replaces an existing table bucket policy for a table bucket.
Type annotations and code completion for boto3.client("s3tables").put_table_bucket_policy
method.
boto3 documentation
# put_table_bucket_policy method definition
def put_table_bucket_policy(
self,
*,
tableBucketARN: str,
resourcePolicy: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# put_table_bucket_policy method usage example with argument unpacking
kwargs: PutTableBucketPolicyRequestRequestTypeDef = { # (1)
"tableBucketARN": ...,
"resourcePolicy": ...,
}
parent.put_table_bucket_policy(**kwargs)
put_table_maintenance_configuration#
Creates a new maintenance configuration or replaces an existing maintenance configuration for a table.
Type annotations and code completion for boto3.client("s3tables").put_table_maintenance_configuration
method.
boto3 documentation
# put_table_maintenance_configuration method definition
def put_table_maintenance_configuration(
self,
*,
tableBucketARN: str,
namespace: str,
name: str,
type: TableMaintenanceTypeType, # (1)
value: TableMaintenanceConfigurationValueTypeDef, # (2)
) -> EmptyResponseMetadataTypeDef: # (3)
...
- See TableMaintenanceTypeType
- See TableMaintenanceConfigurationValueTypeDef
- See EmptyResponseMetadataTypeDef
# put_table_maintenance_configuration method usage example with argument unpacking
kwargs: PutTableMaintenanceConfigurationRequestRequestTypeDef = { # (1)
"tableBucketARN": ...,
"namespace": ...,
"name": ...,
"type": ...,
"value": ...,
}
parent.put_table_maintenance_configuration(**kwargs)
put_table_policy#
Creates a new maintenance configuration or replaces an existing table policy for a table.
Type annotations and code completion for boto3.client("s3tables").put_table_policy
method.
boto3 documentation
# put_table_policy method definition
def put_table_policy(
self,
*,
tableBucketARN: str,
namespace: str,
name: str,
resourcePolicy: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# put_table_policy method usage example with argument unpacking
kwargs: PutTablePolicyRequestRequestTypeDef = { # (1)
"tableBucketARN": ...,
"namespace": ...,
"name": ...,
"resourcePolicy": ...,
}
parent.put_table_policy(**kwargs)
rename_table#
Renames a table or a namespace.
Type annotations and code completion for boto3.client("s3tables").rename_table
method.
boto3 documentation
# rename_table method definition
def rename_table(
self,
*,
tableBucketARN: str,
namespace: str,
name: str,
newNamespaceName: str = ...,
newName: str = ...,
versionToken: str = ...,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# rename_table method usage example with argument unpacking
kwargs: RenameTableRequestRequestTypeDef = { # (1)
"tableBucketARN": ...,
"namespace": ...,
"name": ...,
}
parent.rename_table(**kwargs)
update_table_metadata_location#
Updates the metadata location for a table.
Type annotations and code completion for boto3.client("s3tables").update_table_metadata_location
method.
boto3 documentation
# update_table_metadata_location method definition
def update_table_metadata_location(
self,
*,
tableBucketARN: str,
namespace: str,
name: str,
versionToken: str,
metadataLocation: str,
) -> UpdateTableMetadataLocationResponseTypeDef: # (1)
...
# update_table_metadata_location method usage example with argument unpacking
kwargs: UpdateTableMetadataLocationRequestRequestTypeDef = { # (1)
"tableBucketARN": ...,
"namespace": ...,
"name": ...,
"versionToken": ...,
"metadataLocation": ...,
}
parent.update_table_metadata_location(**kwargs)
get_paginator#
Type annotations and code completion for boto3.client("s3tables").get_paginator
method with overloads.
client.get_paginator("list_namespaces")
-> ListNamespacesPaginatorclient.get_paginator("list_table_buckets")
-> ListTableBucketsPaginatorclient.get_paginator("list_tables")
-> ListTablesPaginator