libZSservicesZSamazonka-configZSamazonka-config
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Config.PutConfigurationAggregator

Description

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

Creating a Request

data PutConfigurationAggregator Source #

See: newPutConfigurationAggregator smart constructor.

Constructors

PutConfigurationAggregator' 

Fields

Instances

Instances details
Eq PutConfigurationAggregator Source # 
Instance details

Defined in Amazonka.Config.PutConfigurationAggregator

Read PutConfigurationAggregator Source # 
Instance details

Defined in Amazonka.Config.PutConfigurationAggregator

Show PutConfigurationAggregator Source # 
Instance details

Defined in Amazonka.Config.PutConfigurationAggregator

Generic PutConfigurationAggregator Source # 
Instance details

Defined in Amazonka.Config.PutConfigurationAggregator

Associated Types

type Rep PutConfigurationAggregator :: Type -> Type #

NFData PutConfigurationAggregator Source # 
Instance details

Defined in Amazonka.Config.PutConfigurationAggregator

Hashable PutConfigurationAggregator Source # 
Instance details

Defined in Amazonka.Config.PutConfigurationAggregator

ToJSON PutConfigurationAggregator Source # 
Instance details

Defined in Amazonka.Config.PutConfigurationAggregator

AWSRequest PutConfigurationAggregator Source # 
Instance details

Defined in Amazonka.Config.PutConfigurationAggregator

ToHeaders PutConfigurationAggregator Source # 
Instance details

Defined in Amazonka.Config.PutConfigurationAggregator

ToPath PutConfigurationAggregator Source # 
Instance details

Defined in Amazonka.Config.PutConfigurationAggregator

ToQuery PutConfigurationAggregator Source # 
Instance details

Defined in Amazonka.Config.PutConfigurationAggregator

type Rep PutConfigurationAggregator Source # 
Instance details

Defined in Amazonka.Config.PutConfigurationAggregator

type Rep PutConfigurationAggregator = D1 ('MetaData "PutConfigurationAggregator" "Amazonka.Config.PutConfigurationAggregator" "libZSservicesZSamazonka-configZSamazonka-config" 'False) (C1 ('MetaCons "PutConfigurationAggregator'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "organizationAggregationSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OrganizationAggregationSource)) :*: S1 ('MetaSel ('Just "accountAggregationSources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AccountAggregationSource]))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "configurationAggregatorName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse PutConfigurationAggregator Source # 
Instance details

Defined in Amazonka.Config.PutConfigurationAggregator

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

Destructuring the Response

data PutConfigurationAggregatorResponse Source #

Constructors

PutConfigurationAggregatorResponse' 

Fields

Instances

Instances details
Eq PutConfigurationAggregatorResponse Source # 
Instance details

Defined in Amazonka.Config.PutConfigurationAggregator

Read PutConfigurationAggregatorResponse Source # 
Instance details

Defined in Amazonka.Config.PutConfigurationAggregator

Show PutConfigurationAggregatorResponse Source # 
Instance details

Defined in Amazonka.Config.PutConfigurationAggregator

Generic PutConfigurationAggregatorResponse Source # 
Instance details

Defined in Amazonka.Config.PutConfigurationAggregator

Associated Types

type Rep PutConfigurationAggregatorResponse :: Type -> Type #

NFData PutConfigurationAggregatorResponse Source # 
Instance details

Defined in Amazonka.Config.PutConfigurationAggregator

type Rep PutConfigurationAggregatorResponse Source # 
Instance details

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