libZSservicesZSamazonka-s3ZSamazonka-s3
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.S3.DeleteBucketTagging

Description

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

Creating a Request

data DeleteBucketTagging Source #

See: newDeleteBucketTagging smart constructor.

Constructors

DeleteBucketTagging' 

Fields

  • expectedBucketOwner :: Maybe Text

    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.

  • bucket :: BucketName

    The bucket that has the tag set to be removed.

Instances

Instances details
Eq DeleteBucketTagging Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketTagging

Read DeleteBucketTagging Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketTagging

Show DeleteBucketTagging Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketTagging

Generic DeleteBucketTagging Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketTagging

Associated Types

type Rep DeleteBucketTagging :: Type -> Type #

NFData DeleteBucketTagging Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketTagging

Methods

rnf :: DeleteBucketTagging -> () #

Hashable DeleteBucketTagging Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketTagging

AWSRequest DeleteBucketTagging Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketTagging

Associated Types

type AWSResponse DeleteBucketTagging #

ToHeaders DeleteBucketTagging Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketTagging

ToPath DeleteBucketTagging Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketTagging

ToQuery DeleteBucketTagging Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketTagging

type Rep DeleteBucketTagging Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketTagging

type Rep DeleteBucketTagging = D1 ('MetaData "DeleteBucketTagging" "Amazonka.S3.DeleteBucketTagging" "libZSservicesZSamazonka-s3ZSamazonka-s3" 'False) (C1 ('MetaCons "DeleteBucketTagging'" 'PrefixI 'True) (S1 ('MetaSel ('Just "expectedBucketOwner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "bucket") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BucketName)))
type AWSResponse DeleteBucketTagging Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketTagging

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

Instances details
Eq DeleteBucketTaggingResponse Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketTagging

Read DeleteBucketTaggingResponse Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketTagging

Show DeleteBucketTaggingResponse Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketTagging

Generic DeleteBucketTaggingResponse Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketTagging

Associated Types

type Rep DeleteBucketTaggingResponse :: Type -> Type #

NFData DeleteBucketTaggingResponse Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketTagging

type Rep DeleteBucketTaggingResponse Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketTagging

type Rep DeleteBucketTaggingResponse = D1 ('MetaData "DeleteBucketTaggingResponse" "Amazonka.S3.DeleteBucketTagging" "libZSservicesZSamazonka-s3ZSamazonka-s3" 'False) (C1 ('MetaCons "DeleteBucketTaggingResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteBucketTaggingResponse :: DeleteBucketTaggingResponse Source #

Create a value of DeleteBucketTaggingResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.