| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Config.DescribeAggregationAuthorizations
Description
Returns a list of authorizations granted to various aggregator accounts and regions.
This operation returns paginated results.
Synopsis
- data DescribeAggregationAuthorizations = DescribeAggregationAuthorizations' {}
- newDescribeAggregationAuthorizations :: DescribeAggregationAuthorizations
- describeAggregationAuthorizations_limit :: Lens' DescribeAggregationAuthorizations (Maybe Natural)
- describeAggregationAuthorizations_nextToken :: Lens' DescribeAggregationAuthorizations (Maybe Text)
- data DescribeAggregationAuthorizationsResponse = DescribeAggregationAuthorizationsResponse' {}
- newDescribeAggregationAuthorizationsResponse :: Int -> DescribeAggregationAuthorizationsResponse
- describeAggregationAuthorizationsResponse_aggregationAuthorizations :: Lens' DescribeAggregationAuthorizationsResponse (Maybe [AggregationAuthorization])
- describeAggregationAuthorizationsResponse_nextToken :: Lens' DescribeAggregationAuthorizationsResponse (Maybe Text)
- describeAggregationAuthorizationsResponse_httpStatus :: Lens' DescribeAggregationAuthorizationsResponse Int
Creating a Request
data DescribeAggregationAuthorizations Source #
See: newDescribeAggregationAuthorizations smart constructor.
Constructors
| DescribeAggregationAuthorizations' | |
Fields
| |
Instances
newDescribeAggregationAuthorizations :: DescribeAggregationAuthorizations Source #
Create a value of DescribeAggregationAuthorizations 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:limit:DescribeAggregationAuthorizations', describeAggregationAuthorizations_limit - The maximum number of AggregationAuthorizations returned on each page.
The default is maximum. If you specify 0, Config uses the default.
DescribeAggregationAuthorizations, describeAggregationAuthorizations_nextToken - The nextToken string returned on a previous page that you use to get
the next page of results in a paginated response.
Request Lenses
describeAggregationAuthorizations_limit :: Lens' DescribeAggregationAuthorizations (Maybe Natural) Source #
The maximum number of AggregationAuthorizations returned on each page. The default is maximum. If you specify 0, Config uses the default.
describeAggregationAuthorizations_nextToken :: Lens' DescribeAggregationAuthorizations (Maybe Text) Source #
The nextToken string returned on a previous page that you use to get
the next page of results in a paginated response.
Destructuring the Response
data DescribeAggregationAuthorizationsResponse Source #
See: newDescribeAggregationAuthorizationsResponse smart constructor.
Constructors
| DescribeAggregationAuthorizationsResponse' | |
Fields
| |
Instances
newDescribeAggregationAuthorizationsResponse Source #
Arguments
| :: Int | |
| -> DescribeAggregationAuthorizationsResponse |
Create a value of DescribeAggregationAuthorizationsResponse 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:aggregationAuthorizations:DescribeAggregationAuthorizationsResponse', describeAggregationAuthorizationsResponse_aggregationAuthorizations - Returns a list of authorizations granted to various aggregator accounts
and regions.
DescribeAggregationAuthorizations, describeAggregationAuthorizationsResponse_nextToken - The nextToken string returned on a previous page that you use to get
the next page of results in a paginated response.
$sel:httpStatus:DescribeAggregationAuthorizationsResponse', describeAggregationAuthorizationsResponse_httpStatus - The response's http status code.
Response Lenses
describeAggregationAuthorizationsResponse_aggregationAuthorizations :: Lens' DescribeAggregationAuthorizationsResponse (Maybe [AggregationAuthorization]) Source #
Returns a list of authorizations granted to various aggregator accounts and regions.
describeAggregationAuthorizationsResponse_nextToken :: Lens' DescribeAggregationAuthorizationsResponse (Maybe Text) Source #
The nextToken string returned on a previous page that you use to get
the next page of results in a paginated response.
describeAggregationAuthorizationsResponse_httpStatus :: Lens' DescribeAggregationAuthorizationsResponse Int Source #
The response's http status code.