AWSS3MetricsConfiguration

Objective-C

@interface AWSS3MetricsConfiguration

Swift

class AWSS3MetricsConfiguration

Specifies a metrics configuration for the CloudWatch request metrics (specified by the metrics configuration ID) from an Amazon S3 bucket. If you’re updating an existing metrics configuration, note that this is a full replacement of the existing metrics configuration. If you don’t include the elements you want to keep, they are erased. For more information, see PUT Bucket metrics in the Amazon Simple Storage Service API Reference.

Required parameters: [Id]

  • Specifies a metrics configuration filter. The metrics configuration will only include objects that meet the filter’s criteria. A filter must be a prefix, a tag, or a conjunction (MetricsAndOperator).

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSS3MetricsFilter *_Nullable filter;

    Swift

    var filter: AWSS3MetricsFilter? { get set }
  • The ID used to identify the metrics configuration.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable identifier;

    Swift

    var identifier: String? { get set }