Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Deletes the replication configuration from the bucket.
To use this operation, you must have permissions to perform the
s3:PutReplicationConfiguration
action. The bucket owner has these
permissions by default and can grant it to others. For more information
about permissions, see
Permissions Related to Bucket Subresource Operations
and
Managing Access Permissions to Your Amazon S3 Resources.
It can take a while for the deletion of a replication configuration to fully propagate.
For information about replication configuration, see Replication in the Amazon S3 User Guide.
The following operations are related to DeleteBucketReplication
:
Synopsis
- data DeleteBucketReplication = DeleteBucketReplication' {}
- newDeleteBucketReplication :: BucketName -> DeleteBucketReplication
- deleteBucketReplication_expectedBucketOwner :: Lens' DeleteBucketReplication (Maybe Text)
- deleteBucketReplication_bucket :: Lens' DeleteBucketReplication BucketName
- data DeleteBucketReplicationResponse = DeleteBucketReplicationResponse' {
- newDeleteBucketReplicationResponse :: DeleteBucketReplicationResponse
Creating a Request
data DeleteBucketReplication Source #
See: newDeleteBucketReplication
smart constructor.
DeleteBucketReplication' | |
|
Instances
newDeleteBucketReplication Source #
Create a value of DeleteBucketReplication
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:expectedBucketOwner:DeleteBucketReplication'
, deleteBucketReplication_expectedBucketOwner
- 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.
$sel:bucket:DeleteBucketReplication'
, deleteBucketReplication_bucket
- The bucket name.
Request Lenses
deleteBucketReplication_expectedBucketOwner :: Lens' DeleteBucketReplication (Maybe Text) Source #
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.
deleteBucketReplication_bucket :: Lens' DeleteBucketReplication BucketName Source #
The bucket name.
Destructuring the Response
data DeleteBucketReplicationResponse Source #
See: newDeleteBucketReplicationResponse
smart constructor.
Instances
newDeleteBucketReplicationResponse :: DeleteBucketReplicationResponse Source #
Create a value of DeleteBucketReplicationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.