amazonka-alexa-business-1.6.1: Amazon Alexa For Business SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.AlexaBusiness.ListTags

Contents

Description

Lists all tags for a specific resource.

This operation returns paginated results.

Synopsis

Creating a Request

listTags Source #

Arguments

:: Text

ltARN

-> ListTags 

Creates a value of ListTags with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • ltNextToken - 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 .
  • ltMaxResults - 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.
  • ltARN - The ARN of the specific resource for which to list tags. Required.

data ListTags Source #

See: listTags smart constructor.

Instances
Eq ListTags Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.ListTags

Data ListTags Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.ListTags

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListTags -> c ListTags #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListTags #

toConstr :: ListTags -> Constr #

dataTypeOf :: ListTags -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListTags) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListTags) #

gmapT :: (forall b. Data b => b -> b) -> ListTags -> ListTags #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListTags -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListTags -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListTags -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListTags -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListTags -> m ListTags #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListTags -> m ListTags #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListTags -> m ListTags #

Read ListTags Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.ListTags

Show ListTags Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.ListTags

Generic ListTags Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.ListTags

Associated Types

type Rep ListTags :: Type -> Type #

Methods

from :: ListTags -> Rep ListTags x #

to :: Rep ListTags x -> ListTags #

Hashable ListTags Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.ListTags

Methods

hashWithSalt :: Int -> ListTags -> Int #

hash :: ListTags -> Int #

ToJSON ListTags Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.ListTags

AWSPager ListTags Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.ListTags

AWSRequest ListTags Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.ListTags

Associated Types

type Rs ListTags :: Type #

ToHeaders ListTags Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.ListTags

Methods

toHeaders :: ListTags -> [Header] #

ToPath ListTags Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.ListTags

ToQuery ListTags Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.ListTags

NFData ListTags Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.ListTags

Methods

rnf :: ListTags -> () #

type Rep ListTags Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.ListTags

type Rep ListTags = D1 (MetaData "ListTags" "Network.AWS.AlexaBusiness.ListTags" "amazonka-alexa-business-1.6.1-FQuG4RoJ6vRJhvV2Vb1OnQ" False) (C1 (MetaCons "ListTags'" PrefixI True) (S1 (MetaSel (Just "_ltNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ltMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: S1 (MetaSel (Just "_ltARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ListTags Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.ListTags

Request Lenses

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

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

ltARN :: Lens' ListTags Text Source #

The ARN of the specific resource for which to list tags. Required.

Destructuring the Response

listTagsResponse Source #

Creates a value of ListTagsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • ltrsNextToken - The token returned to indicate that there is more data available.
  • ltrsTags - The list of tags requested for the specific resource.
  • ltrsResponseStatus - -- | The response status code.

data ListTagsResponse Source #

See: listTagsResponse smart constructor.

Instances
Eq ListTagsResponse Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.ListTags

Data ListTagsResponse Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.ListTags

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListTagsResponse -> c ListTagsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListTagsResponse #

toConstr :: ListTagsResponse -> Constr #

dataTypeOf :: ListTagsResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListTagsResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListTagsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListTagsResponse -> ListTagsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListTagsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListTagsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListTagsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListTagsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListTagsResponse -> m ListTagsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListTagsResponse -> m ListTagsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListTagsResponse -> m ListTagsResponse #

Read ListTagsResponse Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.ListTags

Show ListTagsResponse Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.ListTags

Generic ListTagsResponse Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.ListTags

Associated Types

type Rep ListTagsResponse :: Type -> Type #

NFData ListTagsResponse Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.ListTags

Methods

rnf :: ListTagsResponse -> () #

type Rep ListTagsResponse Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.ListTags

type Rep ListTagsResponse = D1 (MetaData "ListTagsResponse" "Network.AWS.AlexaBusiness.ListTags" "amazonka-alexa-business-1.6.1-FQuG4RoJ6vRJhvV2Vb1OnQ" False) (C1 (MetaCons "ListTagsResponse'" PrefixI True) (S1 (MetaSel (Just "_ltrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ltrsTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 (MetaSel (Just "_ltrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

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

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

ltrsTags :: Lens' ListTagsResponse [Tag] Source #

The list of tags requested for the specific resource.

ltrsResponseStatus :: Lens' ListTagsResponse Int Source #

  • - | The response status code.