AWSS3GetBucketPolicyRequest

Objective-C

@interface AWSS3GetBucketPolicyRequest

Swift

class AWSS3GetBucketPolicyRequest
  • The bucket name for which to get the bucket policy.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable bucket;

    Swift

    var bucket: 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 }