libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business
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.AlexaBusiness.ListTags

Description

Lists all tags for the specified resource.

This operation returns paginated results.

Synopsis

Creating a Request

data ListTags Source #

See: newListTags smart constructor.

Constructors

ListTags' 

Fields

  • nextToken :: Maybe Text

    An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.

  • maxResults :: Maybe Natural

    The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

  • arn :: Text

    The ARN of the specified resource for which to list tags.

Instances

Instances details
Eq ListTags Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListTags

Read ListTags Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListTags

Show ListTags Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListTags

Generic ListTags Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListTags

Associated Types

type Rep ListTags :: Type -> Type #

Methods

from :: ListTags -> Rep ListTags x #

to :: Rep ListTags x -> ListTags #

NFData ListTags Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListTags

Methods

rnf :: ListTags -> () #

Hashable ListTags Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListTags

Methods

hashWithSalt :: Int -> ListTags -> Int #

hash :: ListTags -> Int #

ToJSON ListTags Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListTags

AWSPager ListTags Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListTags

AWSRequest ListTags Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListTags

Associated Types

type AWSResponse ListTags #

ToHeaders ListTags Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListTags

Methods

toHeaders :: ListTags -> [Header] #

ToPath ListTags Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListTags

ToQuery ListTags Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListTags

type Rep ListTags Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListTags

type Rep ListTags = D1 ('MetaData "ListTags" "Amazonka.AlexaBusiness.ListTags" "libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business" 'False) (C1 ('MetaCons "ListTags'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListTags Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListTags

newListTags Source #

Create a value of ListTags 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:nextToken:ListTags', listTags_nextToken - An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.

$sel:maxResults:ListTags', listTags_maxResults - The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

$sel:arn:ListTags', listTags_arn - The ARN of the specified resource for which to list tags.

Request Lenses

listTags_nextToken :: Lens' ListTags (Maybe Text) Source #

An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.

listTags_maxResults :: Lens' ListTags (Maybe Natural) Source #

The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

listTags_arn :: Lens' ListTags Text Source #

The ARN of the specified resource for which to list tags.

Destructuring the Response

data ListTagsResponse Source #

See: newListTagsResponse smart constructor.

Constructors

ListTagsResponse' 

Fields

Instances

Instances details
Eq ListTagsResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListTags

Read ListTagsResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListTags

Show ListTagsResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListTags

Generic ListTagsResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListTags

Associated Types

type Rep ListTagsResponse :: Type -> Type #

NFData ListTagsResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListTags

Methods

rnf :: ListTagsResponse -> () #

type Rep ListTagsResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListTags

type Rep ListTagsResponse = D1 ('MetaData "ListTagsResponse" "Amazonka.AlexaBusiness.ListTags" "libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business" 'False) (C1 ('MetaCons "ListTagsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListTagsResponse Source #

Create a value of ListTagsResponse 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:nextToken:ListTags', listTagsResponse_nextToken - The token returned to indicate that there is more data available.

$sel:tags:ListTagsResponse', listTagsResponse_tags - The tags requested for the specified resource.

$sel:httpStatus:ListTagsResponse', listTagsResponse_httpStatus - The response's http status code.

Response Lenses

listTagsResponse_nextToken :: Lens' ListTagsResponse (Maybe Text) Source #

The token returned to indicate that there is more data available.

listTagsResponse_tags :: Lens' ListTagsResponse (Maybe [Tag]) Source #

The tags requested for the specified resource.

listTagsResponse_httpStatus :: Lens' ListTagsResponse Int Source #

The response's http status code.