amazonka-config-1.6.0: 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 # 
Data PutAggregationAuthorization Source # 

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 # 
Show PutAggregationAuthorization Source # 
Generic PutAggregationAuthorization Source # 
Hashable PutAggregationAuthorization Source # 
ToJSON PutAggregationAuthorization Source # 
NFData PutAggregationAuthorization Source # 
AWSRequest PutAggregationAuthorization Source # 
ToHeaders PutAggregationAuthorization Source # 
ToPath PutAggregationAuthorization Source # 
ToQuery PutAggregationAuthorization Source # 
type Rep PutAggregationAuthorization Source # 
type Rep PutAggregationAuthorization = D1 * (MetaData "PutAggregationAuthorization" "Network.AWS.Config.PutAggregationAuthorization" "amazonka-config-1.6.0-9zDxyg80KzcBBK3huoZi1A" False) (C1 * (MetaCons "PutAggregationAuthorization'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_paaAuthorizedAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_paaAuthorizedAWSRegion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs PutAggregationAuthorization Source # 

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 # 
Data PutAggregationAuthorizationResponse Source # 

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 # 
Show PutAggregationAuthorizationResponse Source # 
Generic PutAggregationAuthorizationResponse Source # 
NFData PutAggregationAuthorizationResponse Source # 
type Rep PutAggregationAuthorizationResponse Source # 
type Rep PutAggregationAuthorizationResponse = D1 * (MetaData "PutAggregationAuthorizationResponse" "Network.AWS.Config.PutAggregationAuthorization" "amazonka-config-1.6.0-9zDxyg80KzcBBK3huoZi1A" False) (C1 * (MetaCons "PutAggregationAuthorizationResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_paarsAggregationAuthorization") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe AggregationAuthorization))) (S1 * (MetaSel (Just Symbol "_paarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses