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.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
Eq PutAggregationAuthorization Source # 
Instance details

Defined in Amazonka.Config.PutAggregationAuthorization

Read PutAggregationAuthorization Source # 
Instance details

Defined in Amazonka.Config.PutAggregationAuthorization

Show 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 #

NFData PutAggregationAuthorization Source # 
Instance details

Defined in Amazonka.Config.PutAggregationAuthorization

Hashable PutAggregationAuthorization Source # 
Instance details

Defined in Amazonka.Config.PutAggregationAuthorization

ToJSON PutAggregationAuthorization Source # 
Instance details

Defined in Amazonka.Config.PutAggregationAuthorization

AWSRequest 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

type Rep PutAggregationAuthorization Source # 
Instance details

Defined in Amazonka.Config.PutAggregationAuthorization

type Rep PutAggregationAuthorization = D1 ('MetaData "PutAggregationAuthorization" "Amazonka.Config.PutAggregationAuthorization" "libZSservicesZSamazonka-configZSamazonka-config" '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))))
type AWSResponse PutAggregationAuthorization Source # 
Instance details

Defined in Amazonka.Config.PutAggregationAuthorization

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:

$sel:tags:PutAggregationAuthorization', putAggregationAuthorization_tags - An array of tag object.

$sel:authorizedAccountId:PutAggregationAuthorization', putAggregationAuthorization_authorizedAccountId - The 12-digit account ID of the account authorized to aggregate data.

$sel:authorizedAwsRegion: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
Eq 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

Generic PutAggregationAuthorizationResponse Source # 
Instance details

Defined in Amazonka.Config.PutAggregationAuthorization

NFData 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" "libZSservicesZSamazonka-configZSamazonka-config" '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