AWSS3PutObjectLockConfigurationRequest
Objective-C
@interface AWSS3PutObjectLockConfigurationRequest
Swift
class AWSS3PutObjectLockConfigurationRequest
-
The bucket whose Object Lock configuration you want to create or replace.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable bucket;
Swift
var bucket: String? { get set }
-
The MD5 hash for the request body.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable contentMD5;
Swift
var contentMD5: String? { get set }
-
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
Objective-C
@property (nonatomic, strong) NSString *_Nullable expectedBucketOwner;
Swift
var expectedBucketOwner: String? { get set }
-
The Object Lock configuration that you want to apply to the specified bucket.
Declaration
Objective-C
@property (nonatomic, strong) AWSS3ObjectLockConfiguration *_Nullable objectLockConfiguration;
Swift
var objectLockConfiguration: AWSS3ObjectLockConfiguration? { get set }
-
Confirms that the requester knows that they will be charged for the request. Bucket owners need not specify this parameter in their requests. For information about downloading objects from requester pays buckets, see Downloading Objects in Requestor Pays Buckets in the Amazon S3 Developer Guide.
Declaration
Objective-C
@property (nonatomic) AWSS3RequestPayer requestPayer;
Swift
var requestPayer: AWSS3RequestPayer { get set }
-
A token to allow Object Lock to be enabled for an existing bucket.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable token;
Swift
var token: String? { get set }