Copyright | (c) 2013-2021 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 |
Retrieves a list that describes one or more usage report subscriptions.
Synopsis
- data DescribeUsageReportSubscriptions = DescribeUsageReportSubscriptions' {}
- newDescribeUsageReportSubscriptions :: DescribeUsageReportSubscriptions
- describeUsageReportSubscriptions_nextToken :: Lens' DescribeUsageReportSubscriptions (Maybe Text)
- describeUsageReportSubscriptions_maxResults :: Lens' DescribeUsageReportSubscriptions (Maybe Int)
- data DescribeUsageReportSubscriptionsResponse = DescribeUsageReportSubscriptionsResponse' {}
- newDescribeUsageReportSubscriptionsResponse :: Int -> DescribeUsageReportSubscriptionsResponse
- describeUsageReportSubscriptionsResponse_usageReportSubscriptions :: Lens' DescribeUsageReportSubscriptionsResponse (Maybe [UsageReportSubscription])
- describeUsageReportSubscriptionsResponse_nextToken :: Lens' DescribeUsageReportSubscriptionsResponse (Maybe Text)
- describeUsageReportSubscriptionsResponse_httpStatus :: Lens' DescribeUsageReportSubscriptionsResponse Int
Creating a Request
data DescribeUsageReportSubscriptions Source #
See: newDescribeUsageReportSubscriptions
smart constructor.
Instances
newDescribeUsageReportSubscriptions :: DescribeUsageReportSubscriptions Source #
Create a value of DescribeUsageReportSubscriptions
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:nextToken:DescribeUsageReportSubscriptions'
, describeUsageReportSubscriptions_nextToken
- The pagination token to use to retrieve the next page of results for
this operation. If this value is null, it retrieves the first page.
$sel:maxResults:DescribeUsageReportSubscriptions'
, describeUsageReportSubscriptions_maxResults
- The maximum size of each page of results.
Request Lenses
describeUsageReportSubscriptions_nextToken :: Lens' DescribeUsageReportSubscriptions (Maybe Text) Source #
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
describeUsageReportSubscriptions_maxResults :: Lens' DescribeUsageReportSubscriptions (Maybe Int) Source #
The maximum size of each page of results.
Destructuring the Response
data DescribeUsageReportSubscriptionsResponse Source #
See: newDescribeUsageReportSubscriptionsResponse
smart constructor.
DescribeUsageReportSubscriptionsResponse' | |
|
Instances
newDescribeUsageReportSubscriptionsResponse Source #
Create a value of DescribeUsageReportSubscriptionsResponse
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:usageReportSubscriptions:DescribeUsageReportSubscriptionsResponse'
, describeUsageReportSubscriptionsResponse_usageReportSubscriptions
- Information about the usage report subscription.
$sel:nextToken:DescribeUsageReportSubscriptions'
, describeUsageReportSubscriptionsResponse_nextToken
- The pagination token to use to retrieve the next page of results for
this operation. If there are no more pages, this value is null.
$sel:httpStatus:DescribeUsageReportSubscriptionsResponse'
, describeUsageReportSubscriptionsResponse_httpStatus
- The response's http status code.
Response Lenses
describeUsageReportSubscriptionsResponse_usageReportSubscriptions :: Lens' DescribeUsageReportSubscriptionsResponse (Maybe [UsageReportSubscription]) Source #
Information about the usage report subscription.
describeUsageReportSubscriptionsResponse_nextToken :: Lens' DescribeUsageReportSubscriptionsResponse (Maybe Text) Source #
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
describeUsageReportSubscriptionsResponse_httpStatus :: Lens' DescribeUsageReportSubscriptionsResponse Int Source #
The response's http status code.