Skip to main content

table_bucket_metrics_configurations

Creates, updates, deletes, gets or lists a table_bucket_metrics_configurations resource.

Overview

Nametable_bucket_metrics_configurations
TypeResource
Idaws.s3tables.table_bucket_metrics_configurations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe unique identifier of the metrics configuration.
table_bucket_arnstringThe Amazon Resource Name (ARN) of the table bucket. (pattern: <code>(arn:aws[-a-z0-9]:[a-z0-9]+:[-a-z0-9]:[0-9]{12}:bucket/[a-z0-9_-]{3,63})</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_table_bucket_metrics_configurationselecttable_bucket_arn, regionGets the metrics configuration for a table bucket. Permissions You must have the s3tables:GetTableBucketMetricsConfiguration permission to use this operation.
put_table_bucket_metrics_configurationreplacetable_bucket_arn, regionSets the metrics configuration for a table bucket. Permissions You must have the s3tables:PutTableBucketMetricsConfiguration permission to use this operation.
delete_table_bucket_metrics_configurationdeletetable_bucket_arn, regionDeletes the metrics configuration for a table bucket. Permissions You must have the s3tables:DeleteTableBucketMetricsConfiguration permission to use this operation.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)
table_bucket_arnstringThe Amazon Resource Name (ARN) of the table bucket.

SELECT examples

Gets the metrics configuration for a table bucket. Permissions You must have the s3tables:GetTableBucketMetricsConfiguration permission to use this operation.

SELECT
id,
table_bucket_arn
FROM aws.s3tables.table_bucket_metrics_configurations
WHERE table_bucket_arn = '{{ table_bucket_arn }}' -- required
AND region = '{{ region }}' -- required
;

REPLACE examples

Sets the metrics configuration for a table bucket. Permissions You must have the s3tables:PutTableBucketMetricsConfiguration permission to use this operation.

REPLACE aws.s3tables.table_bucket_metrics_configurations
SET
-- No updatable properties
WHERE
table_bucket_arn = '{{ table_bucket_arn }}' --required
AND region = '{{ region }}' --required;

DELETE examples

Deletes the metrics configuration for a table bucket. Permissions You must have the s3tables:DeleteTableBucketMetricsConfiguration permission to use this operation.

DELETE FROM aws.s3tables.table_bucket_metrics_configurations
WHERE table_bucket_arn = '{{ table_bucket_arn }}' --required
AND region = '{{ region }}' --required
;