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.ListTagsForVault

Description

This operation lists all the tags attached to a vault. The operation returns an empty map if there are no tags. For more information about tags, see Tagging Amazon S3 Glacier Resources.

Synopsis

Creating a Request

data ListTagsForVault Source #

The input value for ListTagsForVaultInput.

See: newListTagsForVault smart constructor.

Constructors

ListTagsForVault' 

Fields

  • 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 ListTagsForVault Source # 
Instance details

Defined in Amazonka.Glacier.ListTagsForVault

Read ListTagsForVault Source # 
Instance details

Defined in Amazonka.Glacier.ListTagsForVault

Show ListTagsForVault Source # 
Instance details

Defined in Amazonka.Glacier.ListTagsForVault

Generic ListTagsForVault Source # 
Instance details

Defined in Amazonka.Glacier.ListTagsForVault

Associated Types

type Rep ListTagsForVault :: Type -> Type #

NFData ListTagsForVault Source # 
Instance details

Defined in Amazonka.Glacier.ListTagsForVault

Methods

rnf :: ListTagsForVault -> () #

Hashable ListTagsForVault Source # 
Instance details

Defined in Amazonka.Glacier.ListTagsForVault

AWSRequest ListTagsForVault Source # 
Instance details

Defined in Amazonka.Glacier.ListTagsForVault

Associated Types

type AWSResponse ListTagsForVault #

ToHeaders ListTagsForVault Source # 
Instance details

Defined in Amazonka.Glacier.ListTagsForVault

ToPath ListTagsForVault Source # 
Instance details

Defined in Amazonka.Glacier.ListTagsForVault

ToQuery ListTagsForVault Source # 
Instance details

Defined in Amazonka.Glacier.ListTagsForVault

type Rep ListTagsForVault Source # 
Instance details

Defined in Amazonka.Glacier.ListTagsForVault

type Rep ListTagsForVault = D1 ('MetaData "ListTagsForVault" "Amazonka.Glacier.ListTagsForVault" "libZSservicesZSamazonka-glacierZSamazonka-glacier" 'False) (C1 ('MetaCons "ListTagsForVault'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "vaultName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse ListTagsForVault Source # 
Instance details

Defined in Amazonka.Glacier.ListTagsForVault

newListTagsForVault Source #

Create a value of ListTagsForVault 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:accountId:ListTagsForVault', listTagsForVault_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:ListTagsForVault', listTagsForVault_vaultName - The name of the vault.

Request Lenses

listTagsForVault_accountId :: Lens' ListTagsForVault 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 ListTagsForVaultResponse Source #

Contains the Amazon S3 Glacier response to your request.

See: newListTagsForVaultResponse smart constructor.

Constructors

ListTagsForVaultResponse' 

Fields

Instances

Instances details
Eq ListTagsForVaultResponse Source # 
Instance details

Defined in Amazonka.Glacier.ListTagsForVault

Read ListTagsForVaultResponse Source # 
Instance details

Defined in Amazonka.Glacier.ListTagsForVault

Show ListTagsForVaultResponse Source # 
Instance details

Defined in Amazonka.Glacier.ListTagsForVault

Generic ListTagsForVaultResponse Source # 
Instance details

Defined in Amazonka.Glacier.ListTagsForVault

Associated Types

type Rep ListTagsForVaultResponse :: Type -> Type #

NFData ListTagsForVaultResponse Source # 
Instance details

Defined in Amazonka.Glacier.ListTagsForVault

type Rep ListTagsForVaultResponse Source # 
Instance details

Defined in Amazonka.Glacier.ListTagsForVault

type Rep ListTagsForVaultResponse = D1 ('MetaData "ListTagsForVaultResponse" "Amazonka.Glacier.ListTagsForVault" "libZSservicesZSamazonka-glacierZSamazonka-glacier" 'False) (C1 ('MetaCons "ListTagsForVaultResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newListTagsForVaultResponse Source #

Create a value of ListTagsForVaultResponse 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:tags:ListTagsForVaultResponse', listTagsForVaultResponse_tags - The tags attached to the vault. Each tag is composed of a key and a value.

$sel:httpStatus:ListTagsForVaultResponse', listTagsForVaultResponse_httpStatus - The response's http status code.

Response Lenses

listTagsForVaultResponse_tags :: Lens' ListTagsForVaultResponse (Maybe (HashMap Text Text)) Source #

The tags attached to the vault. Each tag is composed of a key and a value.