| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.Config.PutAggregationAuthorization
Description
Authorizes the aggregator account and region to collect data from the source account and region.
- putAggregationAuthorization :: Text -> Text -> PutAggregationAuthorization
- data PutAggregationAuthorization
- paaAuthorizedAccountId :: Lens' PutAggregationAuthorization Text
- paaAuthorizedAWSRegion :: Lens' PutAggregationAuthorization Text
- putAggregationAuthorizationResponse :: Int -> PutAggregationAuthorizationResponse
- data PutAggregationAuthorizationResponse
- paarsAggregationAuthorization :: Lens' PutAggregationAuthorizationResponse (Maybe AggregationAuthorization)
- paarsResponseStatus :: Lens' PutAggregationAuthorizationResponse Int
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:
paaAuthorizedAccountId- The 12-digit account ID of the account authorized to aggregate data.paaAuthorizedAWSRegion- The region authorized to collect aggregated data.
data PutAggregationAuthorization Source #
See: putAggregationAuthorization smart constructor.
Instances
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 #
Arguments
| :: Int | |
| -> 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:
paarsAggregationAuthorization- Returns an AggregationAuthorization object.paarsResponseStatus- -- | The response status code.
data PutAggregationAuthorizationResponse Source #
See: putAggregationAuthorizationResponse smart constructor.
Instances
Response Lenses
paarsAggregationAuthorization :: Lens' PutAggregationAuthorizationResponse (Maybe AggregationAuthorization) Source #
Returns an AggregationAuthorization object.
paarsResponseStatus :: Lens' PutAggregationAuthorizationResponse Int Source #
- - | The response status code.