amazonka-alexa-business-2.0: Amazon Alexa For Business 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.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

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

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

  • arn :: Text

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

Instances

Instances details
ToJSON ListTags Source # 
Instance details

Defined in Amazonka.AlexaBusiness.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

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 #

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 #

Read ListTags Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListTags

Show ListTags Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListTags

NFData ListTags Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListTags

Methods

rnf :: ListTags -> () #

Eq ListTags Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListTags

Hashable ListTags Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListTags

Methods

hashWithSalt :: Int -> ListTags -> Int #

hash :: ListTags -> Int #

type AWSResponse 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" "amazonka-alexa-business-2.0-BWvKfxFukoyBarGovAkdOS" 'False) (C1 ('MetaCons "ListTags'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListTags Source #

Arguments

:: Text

ListTags

-> ListTags 

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

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.

ListTags, listTags_arn - The ARN of the specified resource for which to list tags.

Request Lenses

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_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_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
Generic ListTagsResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListTags

Associated Types

type Rep ListTagsResponse :: Type -> Type #

Read ListTagsResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListTags

Show ListTagsResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListTags

NFData ListTagsResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListTags

Methods

rnf :: ListTagsResponse -> () #

Eq ListTagsResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListTags

type Rep ListTagsResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListTags

type Rep ListTagsResponse = D1 ('MetaData "ListTagsResponse" "Amazonka.AlexaBusiness.ListTags" "amazonka-alexa-business-2.0-BWvKfxFukoyBarGovAkdOS" '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:

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.