PutObjectLockConfigurationRequest
public struct PutObjectLockConfigurationRequest : 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 bucket whose Object Lock configuration you want to create or replace.
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 Object Lock configuration that you want to apply to the specified bucket.
Declaration
Swift
public let objectLockConfiguration: ObjectLockConfiguration?
-
Undocumented
Declaration
Swift
public let requestPayer: RequestPayer?
-
A token to allow Object Lock to be enabled for an existing bucket.
Declaration
Swift
public let token: String?
-
Undocumented
Declaration
Swift
public init(bucket: String, expectedBucketOwner: String? = nil, objectLockConfiguration: ObjectLockConfiguration? = nil, requestPayer: RequestPayer? = nil, token: String? = nil)