amazonka-discovery-1.4.5: Amazon Application Discovery Service 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.Discovery.ListConfigurations

Contents

Description

Retrieves a list of configurations items according to the criteria you specify in a filter. The filter criteria identify relationship requirements.

Synopsis

Creating a Request

listConfigurations Source #

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

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

  • lcFilters - You can filter the list using a key -value format. For example: {"key": "serverType", "value": "webServer"} You can separate these items by using logical operators.
  • lcNextToken - A token to start the list. Use this token to get the next set of results.
  • lcMaxResults - The total number of items to return. The maximum value is 100.
  • lcConfigurationType - A valid configuration identified by the Discovery Service.

data ListConfigurations Source #

See: listConfigurations smart constructor.

Instances

Eq ListConfigurations Source # 
Data ListConfigurations Source # 

Methods

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

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

toConstr :: ListConfigurations -> Constr #

dataTypeOf :: ListConfigurations -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListConfigurations Source # 
Show ListConfigurations Source # 
Generic ListConfigurations Source # 
Hashable ListConfigurations Source # 
ToJSON ListConfigurations Source # 
NFData ListConfigurations Source # 

Methods

rnf :: ListConfigurations -> () #

AWSRequest ListConfigurations Source # 
ToPath ListConfigurations Source # 
ToHeaders ListConfigurations Source # 
ToQuery ListConfigurations Source # 
type Rep ListConfigurations Source # 
type Rep ListConfigurations = D1 (MetaData "ListConfigurations" "Network.AWS.Discovery.ListConfigurations" "amazonka-discovery-1.4.5-7J1wGJkG5EzFaATukwIFxD" False) (C1 (MetaCons "ListConfigurations'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_lcFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Filter]))) (S1 (MetaSel (Just Symbol "_lcNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_lcMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_lcConfigurationType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ConfigurationItemType)))))
type Rs ListConfigurations Source # 

Request Lenses

lcFilters :: Lens' ListConfigurations [Filter] Source #

You can filter the list using a key -value format. For example: {"key": "serverType", "value": "webServer"} You can separate these items by using logical operators.

lcNextToken :: Lens' ListConfigurations (Maybe Text) Source #

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

lcMaxResults :: Lens' ListConfigurations (Maybe Int) Source #

The total number of items to return. The maximum value is 100.

lcConfigurationType :: Lens' ListConfigurations ConfigurationItemType Source #

A valid configuration identified by the Discovery Service.

Destructuring the Response

listConfigurationsResponse Source #

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

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

  • lcrsConfigurations - Returns configuration details, including the configuration ID, attribute names, and attribute values.
  • lcrsNextToken - The call returns a token. Use this token to get the next set of results.
  • lcrsResponseStatus - -- | The response status code.

data ListConfigurationsResponse Source #

See: listConfigurationsResponse smart constructor.

Instances

Eq ListConfigurationsResponse Source # 
Data ListConfigurationsResponse Source # 

Methods

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

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

toConstr :: ListConfigurationsResponse -> Constr #

dataTypeOf :: ListConfigurationsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListConfigurationsResponse Source # 
Show ListConfigurationsResponse Source # 
Generic ListConfigurationsResponse Source # 
NFData ListConfigurationsResponse Source # 
type Rep ListConfigurationsResponse Source # 
type Rep ListConfigurationsResponse = D1 (MetaData "ListConfigurationsResponse" "Network.AWS.Discovery.ListConfigurations" "amazonka-discovery-1.4.5-7J1wGJkG5EzFaATukwIFxD" False) (C1 (MetaCons "ListConfigurationsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lcrsConfigurations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Map Text Text]))) ((:*:) (S1 (MetaSel (Just Symbol "_lcrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

lcrsConfigurations :: Lens' ListConfigurationsResponse [HashMap Text Text] Source #

Returns configuration details, including the configuration ID, attribute names, and attribute values.

lcrsNextToken :: Lens' ListConfigurationsResponse (Maybe Text) Source #

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