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

Contents

Description

Retrieves a list of configuration items according to criteria that you specify in a filter. The filter criteria identifies the 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:

  • lcOrderBy - Certain filter criteria return output that can be sorted in ascending or descending order. For a list of output characteristics for each filter, see Using the ListConfigurations Action .
  • lcFilters - You can filter the request using various logical operators and a key -value format. For example: {"key": "serverType", "value": "webServer"} For a complete list of filter options and guidance about using them with this action, see Querying Discovered Configuration Items .
  • lcNextToken - Token to retrieve the next set of results. For example, if a previous call to ListConfigurations returned 100 items, but you set ListConfigurationsRequest$maxResults to 10, you received a set of 10 results along with a token. Use that token in this query to get the next set of 10.
  • lcMaxResults - The total number of items to return. The maximum value is 100.
  • lcConfigurationType - A valid configuration identified by Application Discovery Service.

data ListConfigurations Source #

See: listConfigurations smart constructor.

Instances
Eq ListConfigurations Source # 
Instance details

Defined in Network.AWS.Discovery.ListConfigurations

Data ListConfigurations Source # 
Instance details

Defined in Network.AWS.Discovery.ListConfigurations

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

Defined in Network.AWS.Discovery.ListConfigurations

Show ListConfigurations Source # 
Instance details

Defined in Network.AWS.Discovery.ListConfigurations

Generic ListConfigurations Source # 
Instance details

Defined in Network.AWS.Discovery.ListConfigurations

Associated Types

type Rep ListConfigurations :: Type -> Type #

Hashable ListConfigurations Source # 
Instance details

Defined in Network.AWS.Discovery.ListConfigurations

ToJSON ListConfigurations Source # 
Instance details

Defined in Network.AWS.Discovery.ListConfigurations

AWSRequest ListConfigurations Source # 
Instance details

Defined in Network.AWS.Discovery.ListConfigurations

Associated Types

type Rs ListConfigurations :: Type #

ToHeaders ListConfigurations Source # 
Instance details

Defined in Network.AWS.Discovery.ListConfigurations

ToPath ListConfigurations Source # 
Instance details

Defined in Network.AWS.Discovery.ListConfigurations

ToQuery ListConfigurations Source # 
Instance details

Defined in Network.AWS.Discovery.ListConfigurations

NFData ListConfigurations Source # 
Instance details

Defined in Network.AWS.Discovery.ListConfigurations

Methods

rnf :: ListConfigurations -> () #

type Rep ListConfigurations Source # 
Instance details

Defined in Network.AWS.Discovery.ListConfigurations

type Rep ListConfigurations = D1 (MetaData "ListConfigurations" "Network.AWS.Discovery.ListConfigurations" "amazonka-discovery-1.6.1-BCKU0SsQ5St9AKTJSgbzOA" False) (C1 (MetaCons "ListConfigurations'" PrefixI True) ((S1 (MetaSel (Just "_lcOrderBy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [OrderByElement])) :*: S1 (MetaSel (Just "_lcFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Filter]))) :*: (S1 (MetaSel (Just "_lcNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lcMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "_lcConfigurationType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ConfigurationItemType)))))
type Rs ListConfigurations Source # 
Instance details

Defined in Network.AWS.Discovery.ListConfigurations

Request Lenses

lcOrderBy :: Lens' ListConfigurations [OrderByElement] Source #

Certain filter criteria return output that can be sorted in ascending or descending order. For a list of output characteristics for each filter, see Using the ListConfigurations Action .

lcFilters :: Lens' ListConfigurations [Filter] Source #

You can filter the request using various logical operators and a key -value format. For example: {"key": "serverType", "value": "webServer"} For a complete list of filter options and guidance about using them with this action, see Querying Discovered Configuration Items .

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

Token to retrieve the next set of results. For example, if a previous call to ListConfigurations returned 100 items, but you set ListConfigurationsRequest$maxResults to 10, you received a set of 10 results along with a token. Use that token in this query to get the next set of 10.

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 Application 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 - Token to retrieve the next set of results. For example, if your call to ListConfigurations returned 100 items, but you set ListConfigurationsRequest$maxResults to 10, you received a set of 10 results along with this token. Use this token in the next query to retrieve the next set of 10.
  • lcrsResponseStatus - -- | The response status code.

data ListConfigurationsResponse Source #

See: listConfigurationsResponse smart constructor.

Instances
Eq ListConfigurationsResponse Source # 
Instance details

Defined in Network.AWS.Discovery.ListConfigurations

Data ListConfigurationsResponse Source # 
Instance details

Defined in Network.AWS.Discovery.ListConfigurations

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

Defined in Network.AWS.Discovery.ListConfigurations

Show ListConfigurationsResponse Source # 
Instance details

Defined in Network.AWS.Discovery.ListConfigurations

Generic ListConfigurationsResponse Source # 
Instance details

Defined in Network.AWS.Discovery.ListConfigurations

Associated Types

type Rep ListConfigurationsResponse :: Type -> Type #

NFData ListConfigurationsResponse Source # 
Instance details

Defined in Network.AWS.Discovery.ListConfigurations

type Rep ListConfigurationsResponse Source # 
Instance details

Defined in Network.AWS.Discovery.ListConfigurations

type Rep ListConfigurationsResponse = D1 (MetaData "ListConfigurationsResponse" "Network.AWS.Discovery.ListConfigurations" "amazonka-discovery-1.6.1-BCKU0SsQ5St9AKTJSgbzOA" False) (C1 (MetaCons "ListConfigurationsResponse'" PrefixI True) (S1 (MetaSel (Just "_lcrsConfigurations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Map Text Text])) :*: (S1 (MetaSel (Just "_lcrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (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 #

Token to retrieve the next set of results. For example, if your call to ListConfigurations returned 100 items, but you set ListConfigurationsRequest$maxResults to 10, you received a set of 10 results along with this token. Use this token in the next query to retrieve the next set of 10.