amazonka-resourcegroupstagging-2.0: Amazon Resource Groups Tagging API 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.ResourceGroupsTagging.GetTagKeys

Description

Returns all tag keys currently in use in the specified Amazon Web Services Region for the calling account.

This operation supports pagination, where the response can be sent in multiple pages. You should check the PaginationToken response parameter to determine if there are additional results available to return. Repeat the query, passing the PaginationToken response parameter value as an input to the next request until you recieve a null value. A null value for PaginationToken indicates that there are no more results waiting to be returned.

This operation returns paginated results.

Synopsis

Creating a Request

data GetTagKeys Source #

See: newGetTagKeys smart constructor.

Constructors

GetTagKeys' 

Fields

  • paginationToken :: Maybe Text

    Specifies a PaginationToken response value from a previous request to indicate that you want the next page of results. Leave this parameter empty in your initial request.

Instances

Instances details
ToJSON GetTagKeys Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.GetTagKeys

ToHeaders GetTagKeys Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.GetTagKeys

Methods

toHeaders :: GetTagKeys -> [Header] #

ToPath GetTagKeys Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.GetTagKeys

ToQuery GetTagKeys Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.GetTagKeys

AWSPager GetTagKeys Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.GetTagKeys

AWSRequest GetTagKeys Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.GetTagKeys

Associated Types

type AWSResponse GetTagKeys #

Generic GetTagKeys Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.GetTagKeys

Associated Types

type Rep GetTagKeys :: Type -> Type #

Read GetTagKeys Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.GetTagKeys

Show GetTagKeys Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.GetTagKeys

NFData GetTagKeys Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.GetTagKeys

Methods

rnf :: GetTagKeys -> () #

Eq GetTagKeys Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.GetTagKeys

Hashable GetTagKeys Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.GetTagKeys

type AWSResponse GetTagKeys Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.GetTagKeys

type Rep GetTagKeys Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.GetTagKeys

type Rep GetTagKeys = D1 ('MetaData "GetTagKeys" "Amazonka.ResourceGroupsTagging.GetTagKeys" "amazonka-resourcegroupstagging-2.0-BMdZcHlIh2ABktMFQEVTUn" 'False) (C1 ('MetaCons "GetTagKeys'" 'PrefixI 'True) (S1 ('MetaSel ('Just "paginationToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newGetTagKeys :: GetTagKeys Source #

Create a value of GetTagKeys 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:

GetTagKeys, getTagKeys_paginationToken - Specifies a PaginationToken response value from a previous request to indicate that you want the next page of results. Leave this parameter empty in your initial request.

Request Lenses

getTagKeys_paginationToken :: Lens' GetTagKeys (Maybe Text) Source #

Specifies a PaginationToken response value from a previous request to indicate that you want the next page of results. Leave this parameter empty in your initial request.

Destructuring the Response

data GetTagKeysResponse Source #

See: newGetTagKeysResponse smart constructor.

Constructors

GetTagKeysResponse' 

Fields

  • paginationToken :: Maybe Text

    A string that indicates that there is more data available than this response contains. To receive the next part of the response, specify this response value as the PaginationToken value in the request for the next page.

  • tagKeys :: Maybe [Text]

    A list of all tag keys in the Amazon Web Services account.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic GetTagKeysResponse Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.GetTagKeys

Associated Types

type Rep GetTagKeysResponse :: Type -> Type #

Read GetTagKeysResponse Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.GetTagKeys

Show GetTagKeysResponse Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.GetTagKeys

NFData GetTagKeysResponse Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.GetTagKeys

Methods

rnf :: GetTagKeysResponse -> () #

Eq GetTagKeysResponse Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.GetTagKeys

type Rep GetTagKeysResponse Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.GetTagKeys

type Rep GetTagKeysResponse = D1 ('MetaData "GetTagKeysResponse" "Amazonka.ResourceGroupsTagging.GetTagKeys" "amazonka-resourcegroupstagging-2.0-BMdZcHlIh2ABktMFQEVTUn" 'False) (C1 ('MetaCons "GetTagKeysResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "paginationToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tagKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetTagKeysResponse Source #

Create a value of GetTagKeysResponse 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:

GetTagKeys, getTagKeysResponse_paginationToken - A string that indicates that there is more data available than this response contains. To receive the next part of the response, specify this response value as the PaginationToken value in the request for the next page.

$sel:tagKeys:GetTagKeysResponse', getTagKeysResponse_tagKeys - A list of all tag keys in the Amazon Web Services account.

$sel:httpStatus:GetTagKeysResponse', getTagKeysResponse_httpStatus - The response's http status code.

Response Lenses

getTagKeysResponse_paginationToken :: Lens' GetTagKeysResponse (Maybe Text) Source #

A string that indicates that there is more data available than this response contains. To receive the next part of the response, specify this response value as the PaginationToken value in the request for the next page.

getTagKeysResponse_tagKeys :: Lens' GetTagKeysResponse (Maybe [Text]) Source #

A list of all tag keys in the Amazon Web Services account.