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 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.
GetAggregateResourceConfig' | |
|
Instances
newGetAggregateResourceConfig Source #
:: 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.
GetAggregateResourceConfigResponse' | |
|
Instances
Eq GetAggregateResourceConfigResponse Source # | |
Read GetAggregateResourceConfigResponse Source # | |
Show GetAggregateResourceConfigResponse Source # | |
Generic GetAggregateResourceConfigResponse Source # | |
NFData GetAggregateResourceConfigResponse Source # | |
Defined in Amazonka.Config.GetAggregateResourceConfig rnf :: GetAggregateResourceConfigResponse -> () # | |
type Rep GetAggregateResourceConfigResponse Source # | |
Defined in Amazonka.Config.GetAggregateResourceConfig type Rep GetAggregateResourceConfigResponse = D1 ('MetaData "GetAggregateResourceConfigResponse" "Amazonka.Config.GetAggregateResourceConfig" "libZSservicesZSamazonka-configZSamazonka-config" 'False) (C1 ('MetaCons "GetAggregateResourceConfigResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "configurationItem") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConfigurationItem)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newGetAggregateResourceConfigResponse Source #
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.