PutBucketEncryptionRequest

public struct PutBucketEncryptionRequest : 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]
  • Specifies default encryption for a bucket using server-side encryption with Amazon S3-managed keys (SSE-S3) or customer master keys stored in AWS KMS (SSE-KMS). For information about the Amazon S3 default encryption feature, see Amazon S3 Default Bucket Encryption in the Amazon Simple Storage Service Developer Guide.

    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?
  • Undocumented

    Declaration

    Swift

    public let serverSideEncryptionConfiguration: ServerSideEncryptionConfiguration
  • Undocumented

    Declaration

    Swift

    public init(bucket: String, expectedBucketOwner: String? = nil, serverSideEncryptionConfiguration: ServerSideEncryptionConfiguration)