PutBucketPolicyRequest

public struct PutBucketPolicyRequest : AWSShape

Undocumented

  • The key for the payload

    Declaration

    Swift

    public static let payloadPath: String?
  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The name of the bucket.

    Declaration

    Swift

    public let bucket: String
  • Set this parameter to true to confirm that you want to remove your permissions to change this bucket policy in the future.

    Declaration

    Swift

    public let confirmRemoveSelfBucketAccess: Bool?
  • 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?
  • The bucket policy as a JSON document.

    Declaration

    Swift

    public let policy: String
  • Undocumented

    Declaration

    Swift

    public init(bucket: String, confirmRemoveSelfBucketAccess: Bool? = nil, expectedBucketOwner: String? = nil, policy: String)