amazonka-discovery-1.5.0: Amazon Application Discovery Service SDK.

Copyright(c) 2013-2017 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.Discovery.DescribeTags

Contents

Description

Retrieves a list of configuration items that are tagged with a specific tag. Or retrieves a list of all tags assigned to a specific configuration item.

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 - You can filter the list using a key -value format. You can separate these items by using logical operators. Allowed filters include tagKey , tagValue , and configurationId .
  • dtNextToken - A token to start the list. Use this token to get the next set of results.
  • dtMaxResults - The total number of items to return in a single page of output. The maximum value is 100.

data DescribeTags Source #

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 # 
ToJSON DescribeTags Source # 
NFData DescribeTags Source # 

Methods

rnf :: DescribeTags -> () #

AWSRequest DescribeTags Source # 
ToQuery DescribeTags Source # 
ToPath DescribeTags Source # 
ToHeaders DescribeTags Source # 
type Rep DescribeTags Source # 
type Rep DescribeTags = D1 (MetaData "DescribeTags" "Network.AWS.Discovery.DescribeTags" "amazonka-discovery-1.5.0-9zAudG659YgC8BiK47CJ9D" False) (C1 (MetaCons "DescribeTags'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dtFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TagFilter]))) ((:*:) (S1 (MetaSel (Just Symbol "_dtNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dtMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))))))
type Rs DescribeTags Source # 

Request Lenses

dtFilters :: Lens' DescribeTags [TagFilter] Source #

You can filter the list using a key -value format. You can separate these items by using logical operators. Allowed filters include tagKey , tagValue , and configurationId .

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

A token to start the list. Use this token to get the next set of results.

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

The total number of items to return in a single page of output. 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 call returns a token. Use this token to get the next set of results.
  • dtrsTags - Depending on the input, this is a list of configuration items tagged with a specific tag, or a list of tags for a specific configuration item.
  • dtrsResponseStatus - -- | The response status code.

data DescribeTagsResponse Source #

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.Discovery.DescribeTags" "amazonka-discovery-1.5.0-9zAudG659YgC8BiK47CJ9D" 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 [ConfigurationTag]))) (S1 (MetaSel (Just Symbol "_dtrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

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

The call returns a token. Use this token to get the next set of results.

dtrsTags :: Lens' DescribeTagsResponse [ConfigurationTag] Source #

Depending on the input, this is a list of configuration items tagged with a specific tag, or a list of tags for a specific configuration item.

dtrsResponseStatus :: Lens' DescribeTagsResponse Int Source #

  • - | The response status code.