amazonka-autoscaling-1.6.1: Amazon Auto Scaling 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.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. The default value is 50 and the maximum value is 100.

data DescribeTags Source #

See: describeTags smart constructor.

Instances
Eq DescribeTags Source # 
Instance details

Defined in Network.AWS.AutoScaling.DescribeTags

Data DescribeTags Source # 
Instance details

Defined in Network.AWS.AutoScaling.DescribeTags

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

Defined in Network.AWS.AutoScaling.DescribeTags

Show DescribeTags Source # 
Instance details

Defined in Network.AWS.AutoScaling.DescribeTags

Generic DescribeTags Source # 
Instance details

Defined in Network.AWS.AutoScaling.DescribeTags

Associated Types

type Rep DescribeTags :: Type -> Type #

Hashable DescribeTags Source # 
Instance details

Defined in Network.AWS.AutoScaling.DescribeTags

AWSPager DescribeTags Source # 
Instance details

Defined in Network.AWS.AutoScaling.DescribeTags

AWSRequest DescribeTags Source # 
Instance details

Defined in Network.AWS.AutoScaling.DescribeTags

Associated Types

type Rs DescribeTags :: Type #

ToHeaders DescribeTags Source # 
Instance details

Defined in Network.AWS.AutoScaling.DescribeTags

ToPath DescribeTags Source # 
Instance details

Defined in Network.AWS.AutoScaling.DescribeTags

ToQuery DescribeTags Source # 
Instance details

Defined in Network.AWS.AutoScaling.DescribeTags

NFData DescribeTags Source # 
Instance details

Defined in Network.AWS.AutoScaling.DescribeTags

Methods

rnf :: DescribeTags -> () #

type Rep DescribeTags Source # 
Instance details

Defined in Network.AWS.AutoScaling.DescribeTags

type Rep DescribeTags = D1 (MetaData "DescribeTags" "Network.AWS.AutoScaling.DescribeTags" "amazonka-autoscaling-1.6.1-AbdWdH026wCXAk2CK79vG" False) (C1 (MetaCons "DescribeTags'" PrefixI True) (S1 (MetaSel (Just "_dtFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Filter])) :*: (S1 (MetaSel (Just "_dtNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dtMaxRecords") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))))
type Rs DescribeTags Source # 
Instance details

Defined in Network.AWS.AutoScaling.DescribeTags

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. The default value is 50 and the maximum value is 100.

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 #

See: describeTagsResponse smart constructor.

Instances
Eq DescribeTagsResponse Source # 
Instance details

Defined in Network.AWS.AutoScaling.DescribeTags

Data DescribeTagsResponse Source # 
Instance details

Defined in Network.AWS.AutoScaling.DescribeTags

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

Defined in Network.AWS.AutoScaling.DescribeTags

Show DescribeTagsResponse Source # 
Instance details

Defined in Network.AWS.AutoScaling.DescribeTags

Generic DescribeTagsResponse Source # 
Instance details

Defined in Network.AWS.AutoScaling.DescribeTags

Associated Types

type Rep DescribeTagsResponse :: Type -> Type #

NFData DescribeTagsResponse Source # 
Instance details

Defined in Network.AWS.AutoScaling.DescribeTags

Methods

rnf :: DescribeTagsResponse -> () #

type Rep DescribeTagsResponse Source # 
Instance details

Defined in Network.AWS.AutoScaling.DescribeTags

type Rep DescribeTagsResponse = D1 (MetaData "DescribeTagsResponse" "Network.AWS.AutoScaling.DescribeTags" "amazonka-autoscaling-1.6.1-AbdWdH026wCXAk2CK79vG" False) (C1 (MetaCons "DescribeTagsResponse'" PrefixI True) (S1 (MetaSel (Just "_dtrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_dtrsTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TagDescription])) :*: S1 (MetaSel (Just "_dtrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (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.