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 |
Creates and updates the configuration aggregator with the selected source accounts and regions. The source account can be individual account(s) or an organization.
Synopsis
- putConfigurationAggregator :: Text -> PutConfigurationAggregator
- data PutConfigurationAggregator
- pcaOrganizationAggregationSource :: Lens' PutConfigurationAggregator (Maybe OrganizationAggregationSource)
- pcaAccountAggregationSources :: Lens' PutConfigurationAggregator [AccountAggregationSource]
- pcaConfigurationAggregatorName :: Lens' PutConfigurationAggregator Text
- putConfigurationAggregatorResponse :: Int -> PutConfigurationAggregatorResponse
- data PutConfigurationAggregatorResponse
- pcarsConfigurationAggregator :: Lens' PutConfigurationAggregatorResponse (Maybe ConfigurationAggregator)
- pcarsResponseStatus :: Lens' PutConfigurationAggregatorResponse Int
Creating a Request
putConfigurationAggregator Source #
Creates a value of PutConfigurationAggregator
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pcaOrganizationAggregationSource
- An OrganizationAggregationSource object.pcaAccountAggregationSources
- A list of AccountAggregationSource object.pcaConfigurationAggregatorName
- The name of the configuration aggregator.
data PutConfigurationAggregator Source #
See: putConfigurationAggregator
smart constructor.
Instances
Request Lenses
pcaOrganizationAggregationSource :: Lens' PutConfigurationAggregator (Maybe OrganizationAggregationSource) Source #
An OrganizationAggregationSource object.
pcaAccountAggregationSources :: Lens' PutConfigurationAggregator [AccountAggregationSource] Source #
A list of AccountAggregationSource object.
pcaConfigurationAggregatorName :: Lens' PutConfigurationAggregator Text Source #
The name of the configuration aggregator.
Destructuring the Response
putConfigurationAggregatorResponse Source #
Creates a value of PutConfigurationAggregatorResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pcarsConfigurationAggregator
- Returns a ConfigurationAggregator object.pcarsResponseStatus
- -- | The response status code.
data PutConfigurationAggregatorResponse Source #
See: putConfigurationAggregatorResponse
smart constructor.
Instances
Response Lenses
pcarsConfigurationAggregator :: Lens' PutConfigurationAggregatorResponse (Maybe ConfigurationAggregator) Source #
Returns a ConfigurationAggregator object.
pcarsResponseStatus :: Lens' PutConfigurationAggregatorResponse Int Source #
- - | The response status code.