Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
- batchGetResourceConfig :: NonEmpty ResourceKey -> BatchGetResourceConfig
- data BatchGetResourceConfig
- bgrcResourceKeys :: Lens' BatchGetResourceConfig (NonEmpty ResourceKey)
- batchGetResourceConfigResponse :: Int -> BatchGetResourceConfigResponse
- data BatchGetResourceConfigResponse
- bgrcrsBaseConfigurationItems :: Lens' BatchGetResourceConfigResponse [BaseConfigurationItem]
- bgrcrsUnprocessedResourceKeys :: Lens' BatchGetResourceConfigResponse (Maybe (NonEmpty ResourceKey))
- bgrcrsResponseStatus :: Lens' BatchGetResourceConfigResponse Int
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
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
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.
bgrcrsResponseStatus :: Lens' BatchGetResourceConfigResponse Int Source #
- - | The response status code.