amazonka-glacier-2.0: Amazon Glacier SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Glacier.RemoveTagsFromVault

Description

This operation removes one or more tags from the set of tags attached to a vault. For more information about tags, see Tagging Amazon S3 Glacier Resources. This operation is idempotent. The operation will be successful, even if there are no tags attached to the vault.

Synopsis

Creating a Request

data RemoveTagsFromVault Source #

The input value for RemoveTagsFromVaultInput.

See: newRemoveTagsFromVault smart constructor.

Constructors

RemoveTagsFromVault' 

Fields

  • tagKeys :: Maybe [Text]

    A list of tag keys. Each corresponding tag is removed from the vault.

  • accountId :: Text

    The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID.

  • vaultName :: Text

    The name of the vault.

Instances

Instances details
ToJSON RemoveTagsFromVault Source # 
Instance details

Defined in Amazonka.Glacier.RemoveTagsFromVault

ToHeaders RemoveTagsFromVault Source # 
Instance details

Defined in Amazonka.Glacier.RemoveTagsFromVault

ToPath RemoveTagsFromVault Source # 
Instance details

Defined in Amazonka.Glacier.RemoveTagsFromVault

ToQuery RemoveTagsFromVault Source # 
Instance details

Defined in Amazonka.Glacier.RemoveTagsFromVault

AWSRequest RemoveTagsFromVault Source # 
Instance details

Defined in Amazonka.Glacier.RemoveTagsFromVault

Associated Types

type AWSResponse RemoveTagsFromVault #

Generic RemoveTagsFromVault Source # 
Instance details

Defined in Amazonka.Glacier.RemoveTagsFromVault

Associated Types

type Rep RemoveTagsFromVault :: Type -> Type #

Read RemoveTagsFromVault Source # 
Instance details

Defined in Amazonka.Glacier.RemoveTagsFromVault

Show RemoveTagsFromVault Source # 
Instance details

Defined in Amazonka.Glacier.RemoveTagsFromVault

NFData RemoveTagsFromVault Source # 
Instance details

Defined in Amazonka.Glacier.RemoveTagsFromVault

Methods

rnf :: RemoveTagsFromVault -> () #

Eq RemoveTagsFromVault Source # 
Instance details

Defined in Amazonka.Glacier.RemoveTagsFromVault

Hashable RemoveTagsFromVault Source # 
Instance details

Defined in Amazonka.Glacier.RemoveTagsFromVault

type AWSResponse RemoveTagsFromVault Source # 
Instance details

Defined in Amazonka.Glacier.RemoveTagsFromVault

type Rep RemoveTagsFromVault Source # 
Instance details

Defined in Amazonka.Glacier.RemoveTagsFromVault

type Rep RemoveTagsFromVault = D1 ('MetaData "RemoveTagsFromVault" "Amazonka.Glacier.RemoveTagsFromVault" "amazonka-glacier-2.0-17Kmjv8nUJeKOtbrjLyy76" 'False) (C1 ('MetaCons "RemoveTagsFromVault'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tagKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "vaultName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newRemoveTagsFromVault Source #

Create a value of RemoveTagsFromVault 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:tagKeys:RemoveTagsFromVault', removeTagsFromVault_tagKeys - A list of tag keys. Each corresponding tag is removed from the vault.

$sel:accountId:RemoveTagsFromVault', removeTagsFromVault_accountId - The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID.

RemoveTagsFromVault, removeTagsFromVault_vaultName - The name of the vault.

Request Lenses

removeTagsFromVault_tagKeys :: Lens' RemoveTagsFromVault (Maybe [Text]) Source #

A list of tag keys. Each corresponding tag is removed from the vault.

removeTagsFromVault_accountId :: Lens' RemoveTagsFromVault Text Source #

The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID.

Destructuring the Response

data RemoveTagsFromVaultResponse Source #

See: newRemoveTagsFromVaultResponse smart constructor.

Instances

Instances details
Generic RemoveTagsFromVaultResponse Source # 
Instance details

Defined in Amazonka.Glacier.RemoveTagsFromVault

Associated Types

type Rep RemoveTagsFromVaultResponse :: Type -> Type #

Read RemoveTagsFromVaultResponse Source # 
Instance details

Defined in Amazonka.Glacier.RemoveTagsFromVault

Show RemoveTagsFromVaultResponse Source # 
Instance details

Defined in Amazonka.Glacier.RemoveTagsFromVault

NFData RemoveTagsFromVaultResponse Source # 
Instance details

Defined in Amazonka.Glacier.RemoveTagsFromVault

Eq RemoveTagsFromVaultResponse Source # 
Instance details

Defined in Amazonka.Glacier.RemoveTagsFromVault

type Rep RemoveTagsFromVaultResponse Source # 
Instance details

Defined in Amazonka.Glacier.RemoveTagsFromVault

type Rep RemoveTagsFromVaultResponse = D1 ('MetaData "RemoveTagsFromVaultResponse" "Amazonka.Glacier.RemoveTagsFromVault" "amazonka-glacier-2.0-17Kmjv8nUJeKOtbrjLyy76" 'False) (C1 ('MetaCons "RemoveTagsFromVaultResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newRemoveTagsFromVaultResponse :: RemoveTagsFromVaultResponse Source #

Create a value of RemoveTagsFromVaultResponse with all optional fields omitted.

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