amazonka-resourcegroupstagging-1.6.1: 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 # 
Instance details

Defined in Network.AWS.ResourceGroupsTagging.GetTagValues

Data GetTagValues Source # 
Instance details

Defined in Network.AWS.ResourceGroupsTagging.GetTagValues

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 # 
Instance details

Defined in Network.AWS.ResourceGroupsTagging.GetTagValues

Show GetTagValues Source # 
Instance details

Defined in Network.AWS.ResourceGroupsTagging.GetTagValues

Generic GetTagValues Source # 
Instance details

Defined in Network.AWS.ResourceGroupsTagging.GetTagValues

Associated Types

type Rep GetTagValues :: Type -> Type #

Hashable GetTagValues Source # 
Instance details

Defined in Network.AWS.ResourceGroupsTagging.GetTagValues

ToJSON GetTagValues Source # 
Instance details

Defined in Network.AWS.ResourceGroupsTagging.GetTagValues

AWSPager GetTagValues Source # 
Instance details

Defined in Network.AWS.ResourceGroupsTagging.GetTagValues

AWSRequest GetTagValues Source # 
Instance details

Defined in Network.AWS.ResourceGroupsTagging.GetTagValues

Associated Types

type Rs GetTagValues :: Type #

ToHeaders GetTagValues Source # 
Instance details

Defined in Network.AWS.ResourceGroupsTagging.GetTagValues

ToPath GetTagValues Source # 
Instance details

Defined in Network.AWS.ResourceGroupsTagging.GetTagValues

ToQuery GetTagValues Source # 
Instance details

Defined in Network.AWS.ResourceGroupsTagging.GetTagValues

NFData GetTagValues Source # 
Instance details

Defined in Network.AWS.ResourceGroupsTagging.GetTagValues

Methods

rnf :: GetTagValues -> () #

type Rep GetTagValues Source # 
Instance details

Defined in Network.AWS.ResourceGroupsTagging.GetTagValues

type Rep GetTagValues = D1 (MetaData "GetTagValues" "Network.AWS.ResourceGroupsTagging.GetTagValues" "amazonka-resourcegroupstagging-1.6.1-3OURgsuT9tSCPWoEaLBGfy" False) (C1 (MetaCons "GetTagValues'" PrefixI True) (S1 (MetaSel (Just "_gtvPaginationToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gtvKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs GetTagValues Source # 
Instance details

Defined in Network.AWS.ResourceGroupsTagging.GetTagValues

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 # 
Instance details

Defined in Network.AWS.ResourceGroupsTagging.GetTagValues

Data GetTagValuesResponse Source # 
Instance details

Defined in Network.AWS.ResourceGroupsTagging.GetTagValues

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 # 
Instance details

Defined in Network.AWS.ResourceGroupsTagging.GetTagValues

Show GetTagValuesResponse Source # 
Instance details

Defined in Network.AWS.ResourceGroupsTagging.GetTagValues

Generic GetTagValuesResponse Source # 
Instance details

Defined in Network.AWS.ResourceGroupsTagging.GetTagValues

Associated Types

type Rep GetTagValuesResponse :: Type -> Type #

NFData GetTagValuesResponse Source # 
Instance details

Defined in Network.AWS.ResourceGroupsTagging.GetTagValues

Methods

rnf :: GetTagValuesResponse -> () #

type Rep GetTagValuesResponse Source # 
Instance details

Defined in Network.AWS.ResourceGroupsTagging.GetTagValues

type Rep GetTagValuesResponse = D1 (MetaData "GetTagValuesResponse" "Network.AWS.ResourceGroupsTagging.GetTagValues" "amazonka-resourcegroupstagging-1.6.1-3OURgsuT9tSCPWoEaLBGfy" False) (C1 (MetaCons "GetTagValuesResponse'" PrefixI True) (S1 (MetaSel (Just "_gtvrsPaginationToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gtvrsTagValues") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_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.