amazonka-autoscaling-1.4.5: Amazon Auto Scaling SDK.

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

Network.AWS.AutoScaling.DescribeTags

Contents

Description

Describes the specified tags.

You can use filters to limit the results. For example, you can query for the tags for a specific Auto Scaling group. You can specify multiple values for a filter. A tag must match at least one of the specified values for it to be included in the results.

You can also specify multiple filters. The result includes information for a particular tag only if it matches all the filters. If there's no match, no special message is returned.

This operation returns paginated results.

Synopsis

Creating a Request

describeTags :: DescribeTags Source #

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

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

  • dtFilters - A filter used to scope the tags to return.
  • dtNextToken - The token for the next set of items to return. (You received this token from a previous call.)
  • dtMaxRecords - The maximum number of items to return with this call.

data DescribeTags Source #

Contains the parameters for DescribeTags.

See: describeTags smart constructor.

Instances

Eq DescribeTags Source # 
Data DescribeTags Source # 

Methods

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

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

toConstr :: DescribeTags -> Constr #

dataTypeOf :: DescribeTags -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeTags Source # 
Show DescribeTags Source # 
Generic DescribeTags Source # 

Associated Types

type Rep DescribeTags :: * -> * #

Hashable DescribeTags Source # 
NFData DescribeTags Source # 

Methods

rnf :: DescribeTags -> () #

AWSPager DescribeTags Source # 
AWSRequest DescribeTags Source # 
ToPath DescribeTags Source # 
ToHeaders DescribeTags Source # 
ToQuery DescribeTags Source # 
type Rep DescribeTags Source # 
type Rep DescribeTags = D1 (MetaData "DescribeTags" "Network.AWS.AutoScaling.DescribeTags" "amazonka-autoscaling-1.4.5-8yDHjz7ddEsEeD2f2YA1qk" False) (C1 (MetaCons "DescribeTags'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dtFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Filter]))) ((:*:) (S1 (MetaSel (Just Symbol "_dtNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dtMaxRecords") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))))))
type Rs DescribeTags Source # 

Request Lenses

dtFilters :: Lens' DescribeTags [Filter] Source #

A filter used to scope the tags to return.

dtNextToken :: Lens' DescribeTags (Maybe Text) Source #

The token for the next set of items to return. (You received this token from a previous call.)

dtMaxRecords :: Lens' DescribeTags (Maybe Int) Source #

The maximum number of items to return with this call.

Destructuring the Response

describeTagsResponse Source #

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

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

  • dtrsNextToken - The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
  • dtrsTags - One or more tags.
  • dtrsResponseStatus - -- | The response status code.

data DescribeTagsResponse Source #

Contains the output of DescribeTags.

See: describeTagsResponse smart constructor.

Instances

Eq DescribeTagsResponse Source # 
Data DescribeTagsResponse Source # 

Methods

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

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

toConstr :: DescribeTagsResponse -> Constr #

dataTypeOf :: DescribeTagsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeTagsResponse Source # 
Show DescribeTagsResponse Source # 
Generic DescribeTagsResponse Source # 
NFData DescribeTagsResponse Source # 

Methods

rnf :: DescribeTagsResponse -> () #

type Rep DescribeTagsResponse Source # 
type Rep DescribeTagsResponse = D1 (MetaData "DescribeTagsResponse" "Network.AWS.AutoScaling.DescribeTags" "amazonka-autoscaling-1.4.5-8yDHjz7ddEsEeD2f2YA1qk" False) (C1 (MetaCons "DescribeTagsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dtrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dtrsTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TagDescription]))) (S1 (MetaSel (Just Symbol "_dtrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

dtrsNextToken :: Lens' DescribeTagsResponse (Maybe Text) Source #

The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

dtrsResponseStatus :: Lens' DescribeTagsResponse Int Source #

  • - | The response status code.