libZSservicesZSamazonka-glacierZSamazonka-glacier
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.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
Eq RemoveTagsFromVault Source # 
Instance details

Defined in Amazonka.Glacier.RemoveTagsFromVault

Read RemoveTagsFromVault Source # 
Instance details

Defined in Amazonka.Glacier.RemoveTagsFromVault

Show RemoveTagsFromVault Source # 
Instance details

Defined in Amazonka.Glacier.RemoveTagsFromVault

Generic RemoveTagsFromVault Source # 
Instance details

Defined in Amazonka.Glacier.RemoveTagsFromVault

Associated Types

type Rep RemoveTagsFromVault :: Type -> Type #

NFData RemoveTagsFromVault Source # 
Instance details

Defined in Amazonka.Glacier.RemoveTagsFromVault

Methods

rnf :: RemoveTagsFromVault -> () #

Hashable RemoveTagsFromVault Source # 
Instance details

Defined in Amazonka.Glacier.RemoveTagsFromVault

ToJSON RemoveTagsFromVault Source # 
Instance details

Defined in Amazonka.Glacier.RemoveTagsFromVault

AWSRequest RemoveTagsFromVault Source # 
Instance details

Defined in Amazonka.Glacier.RemoveTagsFromVault

Associated Types

type AWSResponse 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

type Rep RemoveTagsFromVault Source # 
Instance details

Defined in Amazonka.Glacier.RemoveTagsFromVault

type Rep RemoveTagsFromVault = D1 ('MetaData "RemoveTagsFromVault" "Amazonka.Glacier.RemoveTagsFromVault" "libZSservicesZSamazonka-glacierZSamazonka-glacier" '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))))
type AWSResponse RemoveTagsFromVault Source # 
Instance details

Defined in Amazonka.Glacier.RemoveTagsFromVault

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.

$sel:vaultName: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
Eq RemoveTagsFromVaultResponse Source # 
Instance details

Defined in Amazonka.Glacier.RemoveTagsFromVault

Read RemoveTagsFromVaultResponse Source # 
Instance details

Defined in Amazonka.Glacier.RemoveTagsFromVault

Show RemoveTagsFromVaultResponse Source # 
Instance details

Defined in Amazonka.Glacier.RemoveTagsFromVault

Generic RemoveTagsFromVaultResponse Source # 
Instance details

Defined in Amazonka.Glacier.RemoveTagsFromVault

Associated Types

type Rep RemoveTagsFromVaultResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-glacierZSamazonka-glacier" '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.