CmdID

CmdID / aws / aws s3api

aws s3api delete-bucket-metrics-configuration

Deletes a metrics configuration for the Amazon CloudWatch request metrics (specified by the metrics configuration ID) from the bucket. AWS CLI reference

1 example 3 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To delete a metrics configuration for a bucket

The following delete-bucket-metrics-configuration example removes the metrics configuration for the specified bucket and ID.

aws s3api delete-bucket-metrics-configuration --bucket amzn-s3-demo-bucket --id 123Identify
--bucketThe name of the bucket containing the metrics configuration to delete.
--idThe ID used to identify the metrics configuration.

This command produces no output.

For more information, see CloudWatch metrics configurations in the Amazon S3 User Guide.

Options

3 in the AWS CLI reference
--bucketThe name of the bucket containing the metrics configuration to delete.
--expected-bucket-ownerThe account ID of the expected bucket owner.
--idThe ID used to identify the metrics configuration.