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

Contents

Description

Returns all tag values for the specified key in the specified region for the AWS account.

This operation returns paginated results.

Synopsis

Creating a Request

getTagValues Source #

Arguments

:: Text

gtvKey

-> GetTagValues 

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

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

  • gtvPaginationToken - A string that indicates that additional data is available. Leave this value empty for your initial request. If the response includes a PaginationToken, use that string for this value to request an additional page of data.
  • gtvKey - The key for which you want to list all existing values in the specified region for the AWS account.

data GetTagValues Source #

See: getTagValues smart constructor.

Instances

Eq GetTagValues Source # 
Data GetTagValues Source # 

Methods

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

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

toConstr :: GetTagValues -> Constr #

dataTypeOf :: GetTagValues -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetTagValues Source # 
Show GetTagValues Source # 
Generic GetTagValues Source # 

Associated Types

type Rep GetTagValues :: * -> * #

Hashable GetTagValues Source # 
ToJSON GetTagValues Source # 
NFData GetTagValues Source # 

Methods

rnf :: GetTagValues -> () #

AWSPager GetTagValues Source # 
AWSRequest GetTagValues Source # 
ToHeaders GetTagValues Source # 
ToPath GetTagValues Source # 
ToQuery GetTagValues Source # 
type Rep GetTagValues Source # 
type Rep GetTagValues = D1 * (MetaData "GetTagValues" "Network.AWS.ResourceGroupsTagging.GetTagValues" "amazonka-resourcegroupstagging-1.6.0-5L2Cxw2zEoEKPDJx4TkmLS" False) (C1 * (MetaCons "GetTagValues'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gtvPaginationToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gtvKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs GetTagValues Source # 

Request Lenses

gtvPaginationToken :: Lens' GetTagValues (Maybe Text) Source #

A string that indicates that additional data is available. Leave this value empty for your initial request. If the response includes a PaginationToken, use that string for this value to request an additional page of data.

gtvKey :: Lens' GetTagValues Text Source #

The key for which you want to list all existing values in the specified region for the AWS account.

Destructuring the Response

getTagValuesResponse Source #

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

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

  • gtvrsPaginationToken - A string that indicates that the response contains more data than can be returned in a single response. To receive additional data, specify this string for the PaginationToken value in a subsequent request.
  • gtvrsTagValues - A list of all tag values for the specified key in the AWS account.
  • gtvrsResponseStatus - -- | The response status code.

data GetTagValuesResponse Source #

See: getTagValuesResponse smart constructor.

Instances

Eq GetTagValuesResponse Source # 
Data GetTagValuesResponse Source # 

Methods

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

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

toConstr :: GetTagValuesResponse -> Constr #

dataTypeOf :: GetTagValuesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetTagValuesResponse Source # 
Show GetTagValuesResponse Source # 
Generic GetTagValuesResponse Source # 
NFData GetTagValuesResponse Source # 

Methods

rnf :: GetTagValuesResponse -> () #

type Rep GetTagValuesResponse Source # 
type Rep GetTagValuesResponse = D1 * (MetaData "GetTagValuesResponse" "Network.AWS.ResourceGroupsTagging.GetTagValues" "amazonka-resourcegroupstagging-1.6.0-5L2Cxw2zEoEKPDJx4TkmLS" False) (C1 * (MetaCons "GetTagValuesResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gtvrsPaginationToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gtvrsTagValues") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))) (S1 * (MetaSel (Just Symbol "_gtvrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

gtvrsPaginationToken :: Lens' GetTagValuesResponse (Maybe Text) Source #

A string that indicates that the response contains more data than can be returned in a single response. To receive additional data, specify this string for the PaginationToken value in a subsequent request.

gtvrsTagValues :: Lens' GetTagValuesResponse [Text] Source #

A list of all tag values for the specified key in the AWS account.

gtvrsResponseStatus :: Lens' GetTagValuesResponse Int Source #

  • - | The response status code.