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 tags from the bucket.
To use this operation, you must have permission to perform the
s3:PutBucketTagging
action. By default, the bucket owner has this
permission and can grant this permission to others.
The following operations are related to DeleteBucketTagging
:
Synopsis
- data DeleteBucketTagging = DeleteBucketTagging' {}
- newDeleteBucketTagging :: BucketName -> DeleteBucketTagging
- deleteBucketTagging_expectedBucketOwner :: Lens' DeleteBucketTagging (Maybe Text)
- deleteBucketTagging_bucket :: Lens' DeleteBucketTagging BucketName
- data DeleteBucketTaggingResponse = DeleteBucketTaggingResponse' {
- newDeleteBucketTaggingResponse :: DeleteBucketTaggingResponse
Creating a Request
data DeleteBucketTagging Source #
See: newDeleteBucketTagging
smart constructor.
DeleteBucketTagging' | |
|
Instances
newDeleteBucketTagging Source #
Create a value of DeleteBucketTagging
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:DeleteBucketTagging'
, deleteBucketTagging_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:DeleteBucketTagging'
, deleteBucketTagging_bucket
- The bucket that has the tag set to be removed.
Request Lenses
deleteBucketTagging_expectedBucketOwner :: Lens' DeleteBucketTagging (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.
deleteBucketTagging_bucket :: Lens' DeleteBucketTagging BucketName Source #
The bucket that has the tag set to be removed.
Destructuring the Response
data DeleteBucketTaggingResponse Source #
See: newDeleteBucketTaggingResponse
smart constructor.
Instances
newDeleteBucketTaggingResponse :: DeleteBucketTaggingResponse Source #
Create a value of DeleteBucketTaggingResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.