PutBucketMetricsConfigurationRequest

public struct PutBucketMetricsConfigurationRequest : AWSShape

Undocumented

  • The key for the payload

    Declaration

    Swift

    public static let payloadPath: String?
  • Declaration

    Swift

    public static let _xmlNamespace: String?
  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The name of the bucket for which the metrics configuration is set.

    Declaration

    Swift

    public let bucket: String
  • 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.

    Declaration

    Swift

    public let expectedBucketOwner: String?
  • id

    The ID used to identify the metrics configuration.

    Declaration

    Swift

    public let id: String
  • Specifies the metrics configuration.

    Declaration

    Swift

    public let metricsConfiguration: MetricsConfiguration
  • Undocumented

    Declaration

    Swift

    public init(bucket: String, expectedBucketOwner: String? = nil, id: String, metricsConfiguration: MetricsConfiguration)
  • Declaration

    Swift

    public func validate(name: String) throws