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 |
Retrieves a list that describes one or more usage report subscriptions.
Synopsis
- data DescribeUsageReportSubscriptions = DescribeUsageReportSubscriptions' {}
- newDescribeUsageReportSubscriptions :: DescribeUsageReportSubscriptions
- describeUsageReportSubscriptions_maxResults :: Lens' DescribeUsageReportSubscriptions (Maybe Int)
- describeUsageReportSubscriptions_nextToken :: Lens' DescribeUsageReportSubscriptions (Maybe Text)
- data DescribeUsageReportSubscriptionsResponse = DescribeUsageReportSubscriptionsResponse' {}
- newDescribeUsageReportSubscriptionsResponse :: Int -> DescribeUsageReportSubscriptionsResponse
- describeUsageReportSubscriptionsResponse_nextToken :: Lens' DescribeUsageReportSubscriptionsResponse (Maybe Text)
- describeUsageReportSubscriptionsResponse_usageReportSubscriptions :: Lens' DescribeUsageReportSubscriptionsResponse (Maybe [UsageReportSubscription])
- 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:maxResults:DescribeUsageReportSubscriptions'
, describeUsageReportSubscriptions_maxResults
- The maximum size of each page of results.
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.
Request Lenses
describeUsageReportSubscriptions_maxResults :: Lens' DescribeUsageReportSubscriptions (Maybe Int) Source #
The maximum size of each page of results.
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.
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:
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:usageReportSubscriptions:DescribeUsageReportSubscriptionsResponse'
, describeUsageReportSubscriptionsResponse_usageReportSubscriptions
- Information about the usage report subscription.
$sel:httpStatus:DescribeUsageReportSubscriptionsResponse'
, describeUsageReportSubscriptionsResponse_httpStatus
- The response's http status code.
Response Lenses
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_usageReportSubscriptions :: Lens' DescribeUsageReportSubscriptionsResponse (Maybe [UsageReportSubscription]) Source #
Information about the usage report subscription.
describeUsageReportSubscriptionsResponse_httpStatus :: Lens' DescribeUsageReportSubscriptionsResponse Int Source #
The response's http status code.