PutPublicAccessBlockRequest

public struct PutPublicAccessBlockRequest : 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 Amazon S3 bucket whose PublicAccessBlock configuration you want to 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?
  • The PublicAccessBlock configuration that you want to apply to this Amazon S3 bucket. You can enable the configuration options in any combination. For more information about when Amazon S3 considers a bucket or object public, see The Meaning of “Public” in the Amazon Simple Storage Service Developer Guide.

    Declaration

    Swift

    public let publicAccessBlockConfiguration: PublicAccessBlockConfiguration
  • Undocumented

    Declaration

    Swift

    public init(bucket: String, expectedBucketOwner: String? = nil, publicAccessBlockConfiguration: PublicAccessBlockConfiguration)