amazonka-config-1.6.1: Amazon Config SDK.

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

Network.AWS.Config.PutAggregationAuthorization

Contents

Description

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

Synopsis

Creating a Request

putAggregationAuthorization Source #

Creates a value of PutAggregationAuthorization with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data PutAggregationAuthorization Source #

See: putAggregationAuthorization smart constructor.

Instances
Eq PutAggregationAuthorization Source # 
Instance details

Defined in Network.AWS.Config.PutAggregationAuthorization

Data PutAggregationAuthorization Source # 
Instance details

Defined in Network.AWS.Config.PutAggregationAuthorization

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PutAggregationAuthorization -> c PutAggregationAuthorization #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PutAggregationAuthorization #

toConstr :: PutAggregationAuthorization -> Constr #

dataTypeOf :: PutAggregationAuthorization -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PutAggregationAuthorization) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PutAggregationAuthorization) #

gmapT :: (forall b. Data b => b -> b) -> PutAggregationAuthorization -> PutAggregationAuthorization #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PutAggregationAuthorization -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PutAggregationAuthorization -> r #

gmapQ :: (forall d. Data d => d -> u) -> PutAggregationAuthorization -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PutAggregationAuthorization -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PutAggregationAuthorization -> m PutAggregationAuthorization #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PutAggregationAuthorization -> m PutAggregationAuthorization #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PutAggregationAuthorization -> m PutAggregationAuthorization #

Read PutAggregationAuthorization Source # 
Instance details

Defined in Network.AWS.Config.PutAggregationAuthorization

Show PutAggregationAuthorization Source # 
Instance details

Defined in Network.AWS.Config.PutAggregationAuthorization

Generic PutAggregationAuthorization Source # 
Instance details

Defined in Network.AWS.Config.PutAggregationAuthorization

Associated Types

type Rep PutAggregationAuthorization :: Type -> Type #

Hashable PutAggregationAuthorization Source # 
Instance details

Defined in Network.AWS.Config.PutAggregationAuthorization

ToJSON PutAggregationAuthorization Source # 
Instance details

Defined in Network.AWS.Config.PutAggregationAuthorization

AWSRequest PutAggregationAuthorization Source # 
Instance details

Defined in Network.AWS.Config.PutAggregationAuthorization

Associated Types

type Rs PutAggregationAuthorization :: Type #

ToHeaders PutAggregationAuthorization Source # 
Instance details

Defined in Network.AWS.Config.PutAggregationAuthorization

ToPath PutAggregationAuthorization Source # 
Instance details

Defined in Network.AWS.Config.PutAggregationAuthorization

ToQuery PutAggregationAuthorization Source # 
Instance details

Defined in Network.AWS.Config.PutAggregationAuthorization

NFData PutAggregationAuthorization Source # 
Instance details

Defined in Network.AWS.Config.PutAggregationAuthorization

type Rep PutAggregationAuthorization Source # 
Instance details

Defined in Network.AWS.Config.PutAggregationAuthorization

type Rep PutAggregationAuthorization = D1 (MetaData "PutAggregationAuthorization" "Network.AWS.Config.PutAggregationAuthorization" "amazonka-config-1.6.1-7ZYB8js37ntD2x5LWqLcCi" False) (C1 (MetaCons "PutAggregationAuthorization'" PrefixI True) (S1 (MetaSel (Just "_paaAuthorizedAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_paaAuthorizedAWSRegion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs PutAggregationAuthorization Source # 
Instance details

Defined in Network.AWS.Config.PutAggregationAuthorization

Request Lenses

paaAuthorizedAccountId :: Lens' PutAggregationAuthorization Text Source #

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

paaAuthorizedAWSRegion :: Lens' PutAggregationAuthorization Text Source #

The region authorized to collect aggregated data.

Destructuring the Response

putAggregationAuthorizationResponse Source #

Creates a value of PutAggregationAuthorizationResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data PutAggregationAuthorizationResponse Source #

See: putAggregationAuthorizationResponse smart constructor.

Instances
Eq PutAggregationAuthorizationResponse Source # 
Instance details

Defined in Network.AWS.Config.PutAggregationAuthorization

Data PutAggregationAuthorizationResponse Source # 
Instance details

Defined in Network.AWS.Config.PutAggregationAuthorization

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PutAggregationAuthorizationResponse -> c PutAggregationAuthorizationResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PutAggregationAuthorizationResponse #

toConstr :: PutAggregationAuthorizationResponse -> Constr #

dataTypeOf :: PutAggregationAuthorizationResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PutAggregationAuthorizationResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PutAggregationAuthorizationResponse) #

gmapT :: (forall b. Data b => b -> b) -> PutAggregationAuthorizationResponse -> PutAggregationAuthorizationResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PutAggregationAuthorizationResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PutAggregationAuthorizationResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> PutAggregationAuthorizationResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PutAggregationAuthorizationResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PutAggregationAuthorizationResponse -> m PutAggregationAuthorizationResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PutAggregationAuthorizationResponse -> m PutAggregationAuthorizationResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PutAggregationAuthorizationResponse -> m PutAggregationAuthorizationResponse #

Read PutAggregationAuthorizationResponse Source # 
Instance details

Defined in Network.AWS.Config.PutAggregationAuthorization

Show PutAggregationAuthorizationResponse Source # 
Instance details

Defined in Network.AWS.Config.PutAggregationAuthorization

Generic PutAggregationAuthorizationResponse Source # 
Instance details

Defined in Network.AWS.Config.PutAggregationAuthorization

NFData PutAggregationAuthorizationResponse Source # 
Instance details

Defined in Network.AWS.Config.PutAggregationAuthorization

type Rep PutAggregationAuthorizationResponse Source # 
Instance details

Defined in Network.AWS.Config.PutAggregationAuthorization

type Rep PutAggregationAuthorizationResponse = D1 (MetaData "PutAggregationAuthorizationResponse" "Network.AWS.Config.PutAggregationAuthorization" "amazonka-config-1.6.1-7ZYB8js37ntD2x5LWqLcCi" False) (C1 (MetaCons "PutAggregationAuthorizationResponse'" PrefixI True) (S1 (MetaSel (Just "_paarsAggregationAuthorization") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AggregationAuthorization)) :*: S1 (MetaSel (Just "_paarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses