amazonka-config-2.0: Amazon Config SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Config.PutAggregationAuthorization

Description

Authorizes the aggregator account and region to collect data from the source account and region.

Synopsis

Creating a Request

data PutAggregationAuthorization Source #

See: newPutAggregationAuthorization smart constructor.

Constructors

PutAggregationAuthorization' 

Fields

Instances

Instances details
ToJSON PutAggregationAuthorization Source # 
Instance details

Defined in Amazonka.Config.PutAggregationAuthorization

ToHeaders PutAggregationAuthorization Source # 
Instance details

Defined in Amazonka.Config.PutAggregationAuthorization

ToPath PutAggregationAuthorization Source # 
Instance details

Defined in Amazonka.Config.PutAggregationAuthorization

ToQuery PutAggregationAuthorization Source # 
Instance details

Defined in Amazonka.Config.PutAggregationAuthorization

AWSRequest PutAggregationAuthorization Source # 
Instance details

Defined in Amazonka.Config.PutAggregationAuthorization

Generic PutAggregationAuthorization Source # 
Instance details

Defined in Amazonka.Config.PutAggregationAuthorization

Associated Types

type Rep PutAggregationAuthorization :: Type -> Type #

Read PutAggregationAuthorization Source # 
Instance details

Defined in Amazonka.Config.PutAggregationAuthorization

Show PutAggregationAuthorization Source # 
Instance details

Defined in Amazonka.Config.PutAggregationAuthorization

NFData PutAggregationAuthorization Source # 
Instance details

Defined in Amazonka.Config.PutAggregationAuthorization

Eq PutAggregationAuthorization Source # 
Instance details

Defined in Amazonka.Config.PutAggregationAuthorization

Hashable PutAggregationAuthorization Source # 
Instance details

Defined in Amazonka.Config.PutAggregationAuthorization

type AWSResponse PutAggregationAuthorization Source # 
Instance details

Defined in Amazonka.Config.PutAggregationAuthorization

type Rep PutAggregationAuthorization Source # 
Instance details

Defined in Amazonka.Config.PutAggregationAuthorization

type Rep PutAggregationAuthorization = D1 ('MetaData "PutAggregationAuthorization" "Amazonka.Config.PutAggregationAuthorization" "amazonka-config-2.0-7GF0fBbVw65uROwJwpcE3" 'False) (C1 ('MetaCons "PutAggregationAuthorization'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: (S1 ('MetaSel ('Just "authorizedAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "authorizedAwsRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newPutAggregationAuthorization Source #

Create a value of PutAggregationAuthorization 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:

PutAggregationAuthorization, putAggregationAuthorization_tags - An array of tag object.

PutAggregationAuthorization, putAggregationAuthorization_authorizedAccountId - The 12-digit account ID of the account authorized to aggregate data.

PutAggregationAuthorization, putAggregationAuthorization_authorizedAwsRegion - The region authorized to collect aggregated data.

Request Lenses

putAggregationAuthorization_authorizedAccountId :: Lens' PutAggregationAuthorization Text Source #

The 12-digit account ID of the account authorized to aggregate data.

Destructuring the Response

data PutAggregationAuthorizationResponse Source #

Constructors

PutAggregationAuthorizationResponse' 

Fields

Instances

Instances details
Generic PutAggregationAuthorizationResponse Source # 
Instance details

Defined in Amazonka.Config.PutAggregationAuthorization

Read PutAggregationAuthorizationResponse Source # 
Instance details

Defined in Amazonka.Config.PutAggregationAuthorization

Show PutAggregationAuthorizationResponse Source # 
Instance details

Defined in Amazonka.Config.PutAggregationAuthorization

NFData PutAggregationAuthorizationResponse Source # 
Instance details

Defined in Amazonka.Config.PutAggregationAuthorization

Eq PutAggregationAuthorizationResponse Source # 
Instance details

Defined in Amazonka.Config.PutAggregationAuthorization

type Rep PutAggregationAuthorizationResponse Source # 
Instance details

Defined in Amazonka.Config.PutAggregationAuthorization

type Rep PutAggregationAuthorizationResponse = D1 ('MetaData "PutAggregationAuthorizationResponse" "Amazonka.Config.PutAggregationAuthorization" "amazonka-config-2.0-7GF0fBbVw65uROwJwpcE3" 'False) (C1 ('MetaCons "PutAggregationAuthorizationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "aggregationAuthorization") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AggregationAuthorization)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newPutAggregationAuthorizationResponse Source #

Create a value of PutAggregationAuthorizationResponse 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:aggregationAuthorization:PutAggregationAuthorizationResponse', putAggregationAuthorizationResponse_aggregationAuthorization - Returns an AggregationAuthorization object.

$sel:httpStatus:PutAggregationAuthorizationResponse', putAggregationAuthorizationResponse_httpStatus - The response's http status code.

Response Lenses