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 |
Amazonka.Config.GetAggregateResourceConfig
Description
Returns configuration item that is aggregated for your specific resource in a specific source account and region.
Synopsis
- data GetAggregateResourceConfig = GetAggregateResourceConfig' {}
- newGetAggregateResourceConfig :: Text -> AggregateResourceIdentifier -> GetAggregateResourceConfig
- getAggregateResourceConfig_configurationAggregatorName :: Lens' GetAggregateResourceConfig Text
- getAggregateResourceConfig_resourceIdentifier :: Lens' GetAggregateResourceConfig AggregateResourceIdentifier
- data GetAggregateResourceConfigResponse = GetAggregateResourceConfigResponse' {}
- newGetAggregateResourceConfigResponse :: Int -> GetAggregateResourceConfigResponse
- getAggregateResourceConfigResponse_configurationItem :: Lens' GetAggregateResourceConfigResponse (Maybe ConfigurationItem)
- getAggregateResourceConfigResponse_httpStatus :: Lens' GetAggregateResourceConfigResponse Int
Creating a Request
data GetAggregateResourceConfig Source #
See: newGetAggregateResourceConfig
smart constructor.
Constructors
GetAggregateResourceConfig' | |
Fields
|
Instances
newGetAggregateResourceConfig Source #
Arguments
:: Text |
|
-> AggregateResourceIdentifier | |
-> GetAggregateResourceConfig |
Create a value of GetAggregateResourceConfig
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:configurationAggregatorName:GetAggregateResourceConfig'
, getAggregateResourceConfig_configurationAggregatorName
- The name of the configuration aggregator.
$sel:resourceIdentifier:GetAggregateResourceConfig'
, getAggregateResourceConfig_resourceIdentifier
- An object that identifies aggregate resource.
Request Lenses
getAggregateResourceConfig_configurationAggregatorName :: Lens' GetAggregateResourceConfig Text Source #
The name of the configuration aggregator.
getAggregateResourceConfig_resourceIdentifier :: Lens' GetAggregateResourceConfig AggregateResourceIdentifier Source #
An object that identifies aggregate resource.
Destructuring the Response
data GetAggregateResourceConfigResponse Source #
See: newGetAggregateResourceConfigResponse
smart constructor.
Constructors
GetAggregateResourceConfigResponse' | |
Fields
|
Instances
newGetAggregateResourceConfigResponse Source #
Arguments
:: Int | |
-> GetAggregateResourceConfigResponse |
Create a value of GetAggregateResourceConfigResponse
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:configurationItem:GetAggregateResourceConfigResponse'
, getAggregateResourceConfigResponse_configurationItem
- Returns a ConfigurationItem
object.
$sel:httpStatus:GetAggregateResourceConfigResponse'
, getAggregateResourceConfigResponse_httpStatus
- The response's http status code.
Response Lenses
getAggregateResourceConfigResponse_configurationItem :: Lens' GetAggregateResourceConfigResponse (Maybe ConfigurationItem) Source #
Returns a ConfigurationItem
object.
getAggregateResourceConfigResponse_httpStatus :: Lens' GetAggregateResourceConfigResponse Int Source #
The response's http status code.