Class PutBucketMetricsConfigurationRequest
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
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
MetricsConfiguration
Specifies the metrics configuration.
public MetricsConfiguration MetricsConfiguration { get; set; }
Property Value
MetricsId
The ID used to identify the metrics configuration.
public string MetricsId { get; set; }