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 #

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 #

See: putAggregationAuthorization smart constructor.

Instances

Eq PutAggregationAuthorization # 
Data 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 # 
Show PutAggregationAuthorization # 
Generic PutAggregationAuthorization # 
Hashable PutAggregationAuthorization # 
ToJSON PutAggregationAuthorization # 
NFData PutAggregationAuthorization # 
AWSRequest PutAggregationAuthorization # 
ToHeaders PutAggregationAuthorization # 
ToPath PutAggregationAuthorization # 
ToQuery PutAggregationAuthorization # 
type Rep PutAggregationAuthorization # 
type Rep PutAggregationAuthorization = D1 * (MetaData "PutAggregationAuthorization" "Network.AWS.Config.PutAggregationAuthorization" "amazonka-config-1.6.0-BQWWAOBXDMaLRM4ns599nE" 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 # 

Request Lenses

paaAuthorizedAccountId :: Lens' PutAggregationAuthorization Text #

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

paaAuthorizedAWSRegion :: Lens' PutAggregationAuthorization Text #

The region authorized to collect aggregated data.

Destructuring the Response

putAggregationAuthorizationResponse #

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 #

See: putAggregationAuthorizationResponse smart constructor.

Instances

Eq PutAggregationAuthorizationResponse # 
Data PutAggregationAuthorizationResponse # 

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 # 
Show PutAggregationAuthorizationResponse # 
Generic PutAggregationAuthorizationResponse # 
NFData PutAggregationAuthorizationResponse # 
type Rep PutAggregationAuthorizationResponse # 
type Rep PutAggregationAuthorizationResponse = D1 * (MetaData "PutAggregationAuthorizationResponse" "Network.AWS.Config.PutAggregationAuthorization" "amazonka-config-1.6.0-BQWWAOBXDMaLRM4ns599nE" 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