Struct: s3.PutBucketMetricsConfigurationInput

import "../ibm-cos-sdk-go-v2/service/s3"

Implemented Interfaces

types.AnalyticsFilter, v4.HTTPPresigner, s3.HTTPPresignerV4, types.MetricsFilter, s3.PresignPost, arn.S3ObjectLambdaARN, types.SelectObjectContentEventStream

Structure Field Summary collapse

Structure Field Details

Bucket *string

The name of the bucket for which the metrics configuration is set.

This member is required.

ExpectedBucketOwner *string

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

Id *string

The ID used to identify the metrics configuration. The ID has a 64 character limit and can only contain letters, numbers, periods, dashes, and underscores.

This member is required.

MetricsConfiguration *types.MetricsConfiguration

Specifies the metrics configuration.

This member is required.