libZSservicesZSamazonka-resourcegroupstaggingZSamazonka-resourcegroupstagging
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.ResourceGroupsTagging.GetTagKeys

Description

Returns all tag keys currently in use in the specified Region for the calling AWS 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
Eq GetTagKeys Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.GetTagKeys

Read GetTagKeys Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.GetTagKeys

Show GetTagKeys Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.GetTagKeys

Generic GetTagKeys Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.GetTagKeys

Associated Types

type Rep GetTagKeys :: Type -> Type #

NFData GetTagKeys Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.GetTagKeys

Methods

rnf :: GetTagKeys -> () #

Hashable GetTagKeys Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.GetTagKeys

ToJSON 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 #

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

type Rep GetTagKeys Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.GetTagKeys

type Rep GetTagKeys = D1 ('MetaData "GetTagKeys" "Amazonka.ResourceGroupsTagging.GetTagKeys" "libZSservicesZSamazonka-resourcegroupstaggingZSamazonka-resourcegroupstagging" 'False) (C1 ('MetaCons "GetTagKeys'" 'PrefixI 'True) (S1 ('MetaSel ('Just "paginationToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type AWSResponse GetTagKeys Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.GetTagKeys

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:

$sel:paginationToken: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 AWS account.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetTagKeysResponse Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.GetTagKeys

Read GetTagKeysResponse Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.GetTagKeys

Show GetTagKeysResponse Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.GetTagKeys

Generic GetTagKeysResponse Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.GetTagKeys

Associated Types

type Rep GetTagKeysResponse :: Type -> Type #

NFData GetTagKeysResponse Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.GetTagKeys

Methods

rnf :: GetTagKeysResponse -> () #

type Rep GetTagKeysResponse Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.GetTagKeys

type Rep GetTagKeysResponse = D1 ('MetaData "GetTagKeysResponse" "Amazonka.ResourceGroupsTagging.GetTagKeys" "libZSservicesZSamazonka-resourcegroupstaggingZSamazonka-resourcegroupstagging" '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:

$sel:paginationToken: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 AWS 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 AWS account.