PutBucketCorsRequest

public struct PutBucketCorsRequest : 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 the bucket impacted by the corsconfiguration.

    Declaration

    Swift

    public let bucket: String
  • Describes the cross-origin access configuration for objects in an Amazon S3 bucket. For more information, see Enabling Cross-Origin Resource Sharing in the Amazon Simple Storage Service Developer Guide.

    Declaration

    Swift

    public let cORSConfiguration: CORSConfiguration
  • 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 init(bucket: String, cORSConfiguration: CORSConfiguration, expectedBucketOwner: String? = nil)