amazonka-config-1.6.0: Amazon Config 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.Config.BatchGetResourceConfig

Contents

Description

Returns the current configuration for one or more requested resources. The operation also returns a list of resources that are not processed in the current request. If there are no unprocessed resources, the operation returns an empty unprocessedResourceKeys list.

Synopsis

Creating a Request

batchGetResourceConfig Source #

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

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

  • bgrcResourceKeys - A list of resource keys to be processed with the current request. Each element in the list consists of the resource type and resource ID.

data BatchGetResourceConfig Source #

See: batchGetResourceConfig smart constructor.

Instances

Eq BatchGetResourceConfig Source # 
Data BatchGetResourceConfig Source # 

Methods

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

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

toConstr :: BatchGetResourceConfig -> Constr #

dataTypeOf :: BatchGetResourceConfig -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: BatchGetResourceConfig -> () #

AWSRequest BatchGetResourceConfig Source # 
ToHeaders BatchGetResourceConfig Source # 
ToPath BatchGetResourceConfig Source # 
ToQuery BatchGetResourceConfig Source # 
type Rep BatchGetResourceConfig Source # 
type Rep BatchGetResourceConfig = D1 * (MetaData "BatchGetResourceConfig" "Network.AWS.Config.BatchGetResourceConfig" "amazonka-config-1.6.0-9zDxyg80KzcBBK3huoZi1A" True) (C1 * (MetaCons "BatchGetResourceConfig'" PrefixI True) (S1 * (MetaSel (Just Symbol "_bgrcResourceKeys") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (List1 ResourceKey))))
type Rs BatchGetResourceConfig Source # 

Request Lenses

bgrcResourceKeys :: Lens' BatchGetResourceConfig (NonEmpty ResourceKey) Source #

A list of resource keys to be processed with the current request. Each element in the list consists of the resource type and resource ID.

Destructuring the Response

batchGetResourceConfigResponse Source #

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

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

  • bgrcrsBaseConfigurationItems - A list that contains the current configuration of one or more resources.
  • bgrcrsUnprocessedResourceKeys - A list of resource keys that were not processed with the current response. The unprocessesResourceKeys value is in the same form as ResourceKeys, so the value can be directly provided to a subsequent BatchGetResourceConfig operation. If there are no unprocessed resource keys, the response contains an empty unprocessedResourceKeys list.
  • bgrcrsResponseStatus - -- | The response status code.

data BatchGetResourceConfigResponse Source #

See: batchGetResourceConfigResponse smart constructor.

Instances

Eq BatchGetResourceConfigResponse Source # 
Data BatchGetResourceConfigResponse Source # 

Methods

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

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

toConstr :: BatchGetResourceConfigResponse -> Constr #

dataTypeOf :: BatchGetResourceConfigResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read BatchGetResourceConfigResponse Source # 
Show BatchGetResourceConfigResponse Source # 
Generic BatchGetResourceConfigResponse Source # 
NFData BatchGetResourceConfigResponse Source # 
type Rep BatchGetResourceConfigResponse Source # 
type Rep BatchGetResourceConfigResponse = D1 * (MetaData "BatchGetResourceConfigResponse" "Network.AWS.Config.BatchGetResourceConfig" "amazonka-config-1.6.0-9zDxyg80KzcBBK3huoZi1A" False) (C1 * (MetaCons "BatchGetResourceConfigResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_bgrcrsBaseConfigurationItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [BaseConfigurationItem]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_bgrcrsUnprocessedResourceKeys") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe (List1 ResourceKey)))) (S1 * (MetaSel (Just Symbol "_bgrcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

bgrcrsBaseConfigurationItems :: Lens' BatchGetResourceConfigResponse [BaseConfigurationItem] Source #

A list that contains the current configuration of one or more resources.

bgrcrsUnprocessedResourceKeys :: Lens' BatchGetResourceConfigResponse (Maybe (NonEmpty ResourceKey)) Source #

A list of resource keys that were not processed with the current response. The unprocessesResourceKeys value is in the same form as ResourceKeys, so the value can be directly provided to a subsequent BatchGetResourceConfig operation. If there are no unprocessed resource keys, the response contains an empty unprocessedResourceKeys list.