CreateBucketRequest
public struct CreateBucketRequest : 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 canned ACL to apply to the bucket.
Declaration
Swift
public let acl: BucketCannedACL?
-
The name of the bucket to create.
Declaration
Swift
public let bucket: String
-
The configuration information for the bucket.
Declaration
Swift
public let createBucketConfiguration: CreateBucketConfiguration?
-
Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.
Declaration
Swift
public let grantFullControl: String?
-
Allows grantee to list the objects in the bucket.
Declaration
Swift
public let grantRead: String?
-
Allows grantee to read the bucket ACL.
Declaration
Swift
public let grantReadACP: String?
-
Allows grantee to create, overwrite, and delete any object in the bucket.
Declaration
Swift
public let grantWrite: String?
-
Allows grantee to write the ACL for the applicable bucket.
Declaration
Swift
public let grantWriteACP: String?
-
Specifies whether you want S3 Object Lock to be enabled for the new bucket.
Declaration
Swift
public let objectLockEnabledForBucket: Bool?
-
init(acl:bucket:createBucketConfiguration:grantFullControl:grantRead:grantReadACP:grantWrite:grantWriteACP:objectLockEnabledForBucket:)
Undocumented
Declaration
Swift
public init(acl: BucketCannedACL? = nil, bucket: String, createBucketConfiguration: CreateBucketConfiguration? = nil, grantFullControl: String? = nil, grantRead: String? = nil, grantReadACP: String? = nil, grantWrite: String? = nil, grantWriteACP: String? = nil, objectLockEnabledForBucket: Bool? = nil)