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 |
Creates and updates the configuration aggregator with the selected source accounts and regions. The source account can be individual account(s) or an organization.
accountIds
that are passed will be replaced with existing accounts. If
you want to add additional accounts into the aggregator, call
DescribeAggregator
to get the previous accounts and then append new
ones.
Config should be enabled in source accounts and regions you want to aggregate.
If your source type is an organization, you must be signed in to the
management account or a registered delegated administrator and all the
features must be enabled in your organization. If the caller is a
management account, Config calls EnableAwsServiceAccess
API to enable
integration between Config and Organizations. If the caller is a
registered delegated administrator, Config calls
ListDelegatedAdministrators
API to verify whether the caller is a
valid delegated administrator.
To register a delegated administrator, see Register a Delegated Administrator in the Config developer guide.
Synopsis
- data PutConfigurationAggregator = PutConfigurationAggregator' {}
- newPutConfigurationAggregator :: Text -> PutConfigurationAggregator
- putConfigurationAggregator_organizationAggregationSource :: Lens' PutConfigurationAggregator (Maybe OrganizationAggregationSource)
- putConfigurationAggregator_accountAggregationSources :: Lens' PutConfigurationAggregator (Maybe [AccountAggregationSource])
- putConfigurationAggregator_tags :: Lens' PutConfigurationAggregator (Maybe [Tag])
- putConfigurationAggregator_configurationAggregatorName :: Lens' PutConfigurationAggregator Text
- data PutConfigurationAggregatorResponse = PutConfigurationAggregatorResponse' {}
- newPutConfigurationAggregatorResponse :: Int -> PutConfigurationAggregatorResponse
- putConfigurationAggregatorResponse_configurationAggregator :: Lens' PutConfigurationAggregatorResponse (Maybe ConfigurationAggregator)
- putConfigurationAggregatorResponse_httpStatus :: Lens' PutConfigurationAggregatorResponse Int
Creating a Request
data PutConfigurationAggregator Source #
See: newPutConfigurationAggregator
smart constructor.
PutConfigurationAggregator' | |
|
Instances
newPutConfigurationAggregator Source #
Create a value of PutConfigurationAggregator
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:organizationAggregationSource:PutConfigurationAggregator'
, putConfigurationAggregator_organizationAggregationSource
- An OrganizationAggregationSource object.
$sel:accountAggregationSources:PutConfigurationAggregator'
, putConfigurationAggregator_accountAggregationSources
- A list of AccountAggregationSource object.
$sel:tags:PutConfigurationAggregator'
, putConfigurationAggregator_tags
- An array of tag object.
$sel:configurationAggregatorName:PutConfigurationAggregator'
, putConfigurationAggregator_configurationAggregatorName
- The name of the configuration aggregator.
Request Lenses
putConfigurationAggregator_organizationAggregationSource :: Lens' PutConfigurationAggregator (Maybe OrganizationAggregationSource) Source #
An OrganizationAggregationSource object.
putConfigurationAggregator_accountAggregationSources :: Lens' PutConfigurationAggregator (Maybe [AccountAggregationSource]) Source #
A list of AccountAggregationSource object.
putConfigurationAggregator_tags :: Lens' PutConfigurationAggregator (Maybe [Tag]) Source #
An array of tag object.
putConfigurationAggregator_configurationAggregatorName :: Lens' PutConfigurationAggregator Text Source #
The name of the configuration aggregator.
Destructuring the Response
data PutConfigurationAggregatorResponse Source #
See: newPutConfigurationAggregatorResponse
smart constructor.
PutConfigurationAggregatorResponse' | |
|
Instances
Eq PutConfigurationAggregatorResponse Source # | |
Read PutConfigurationAggregatorResponse Source # | |
Show PutConfigurationAggregatorResponse Source # | |
Generic PutConfigurationAggregatorResponse Source # | |
NFData PutConfigurationAggregatorResponse Source # | |
Defined in Amazonka.Config.PutConfigurationAggregator rnf :: PutConfigurationAggregatorResponse -> () # | |
type Rep PutConfigurationAggregatorResponse Source # | |
Defined in Amazonka.Config.PutConfigurationAggregator type Rep PutConfigurationAggregatorResponse = D1 ('MetaData "PutConfigurationAggregatorResponse" "Amazonka.Config.PutConfigurationAggregator" "libZSservicesZSamazonka-configZSamazonka-config" 'False) (C1 ('MetaCons "PutConfigurationAggregatorResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "configurationAggregator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConfigurationAggregator)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newPutConfigurationAggregatorResponse Source #
Create a value of PutConfigurationAggregatorResponse
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:configurationAggregator:PutConfigurationAggregatorResponse'
, putConfigurationAggregatorResponse_configurationAggregator
- Returns a ConfigurationAggregator object.
$sel:httpStatus:PutConfigurationAggregatorResponse'
, putConfigurationAggregatorResponse_httpStatus
- The response's http status code.
Response Lenses
putConfigurationAggregatorResponse_configurationAggregator :: Lens' PutConfigurationAggregatorResponse (Maybe ConfigurationAggregator) Source #
Returns a ConfigurationAggregator object.
putConfigurationAggregatorResponse_httpStatus :: Lens' PutConfigurationAggregatorResponse Int Source #
The response's http status code.