Table of Contents

Class PutBucketMetricsConfigurationRequest

Namespace
Amazon.S3.Model
Assembly
AWSSDK.S3.dll

Container for the parameters to the PutBucketMetricsConfigurationRequest operation.

Sets a metrics configuration (specified by the metrics configuration ID) for the bucket.

public class PutBucketMetricsConfigurationRequest : AmazonWebServiceRequest
Inheritance
PutBucketMetricsConfigurationRequest

Constructors

PutBucketMetricsConfigurationRequest()

public PutBucketMetricsConfigurationRequest()

Properties

BucketName

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

public string BucketName { get; set; }

Property Value

string

ExpectedBucketOwner

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

public string ExpectedBucketOwner { get; set; }

Property Value

string

MetricsConfiguration

Specifies the metrics configuration.

public MetricsConfiguration MetricsConfiguration { get; set; }

Property Value

MetricsConfiguration

MetricsId

The ID used to identify the metrics configuration.

public string MetricsId { get; set; }

Property Value

string