Copyright | (c) 2013-2021 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 |
Returns the BaseConfigurationItem
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.
- The API does not return results for deleted resources.
- The API does not return any tags for the requested resources. This information is filtered out of the supplementaryConfiguration section of the API response.
Synopsis
- data BatchGetResourceConfig = BatchGetResourceConfig' {}
- newBatchGetResourceConfig :: NonEmpty ResourceKey -> BatchGetResourceConfig
- batchGetResourceConfig_resourceKeys :: Lens' BatchGetResourceConfig (NonEmpty ResourceKey)
- data BatchGetResourceConfigResponse = BatchGetResourceConfigResponse' {}
- newBatchGetResourceConfigResponse :: Int -> BatchGetResourceConfigResponse
- batchGetResourceConfigResponse_baseConfigurationItems :: Lens' BatchGetResourceConfigResponse (Maybe [BaseConfigurationItem])
- batchGetResourceConfigResponse_unprocessedResourceKeys :: Lens' BatchGetResourceConfigResponse (Maybe (NonEmpty ResourceKey))
- batchGetResourceConfigResponse_httpStatus :: Lens' BatchGetResourceConfigResponse Int
Creating a Request
data BatchGetResourceConfig Source #
See: newBatchGetResourceConfig
smart constructor.
BatchGetResourceConfig' | |
|
Instances
newBatchGetResourceConfig Source #
Create a value of BatchGetResourceConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resourceKeys:BatchGetResourceConfig'
, batchGetResourceConfig_resourceKeys
- 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.
Request Lenses
batchGetResourceConfig_resourceKeys :: 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
data BatchGetResourceConfigResponse Source #
See: newBatchGetResourceConfigResponse
smart constructor.
BatchGetResourceConfigResponse' | |
|
Instances
newBatchGetResourceConfigResponse Source #
Create a value of BatchGetResourceConfigResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:baseConfigurationItems:BatchGetResourceConfigResponse'
, batchGetResourceConfigResponse_baseConfigurationItems
- A list that contains the current configuration of one or more resources.
$sel:unprocessedResourceKeys:BatchGetResourceConfigResponse'
, batchGetResourceConfigResponse_unprocessedResourceKeys
- 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.
$sel:httpStatus:BatchGetResourceConfigResponse'
, batchGetResourceConfigResponse_httpStatus
- The response's http status code.
Response Lenses
batchGetResourceConfigResponse_baseConfigurationItems :: Lens' BatchGetResourceConfigResponse (Maybe [BaseConfigurationItem]) Source #
A list that contains the current configuration of one or more resources.
batchGetResourceConfigResponse_unprocessedResourceKeys :: 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.
batchGetResourceConfigResponse_httpStatus :: Lens' BatchGetResourceConfigResponse Int Source #
The response's http status code.