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 |
Returns a list of your report plans. For detailed information about a
single report plan, use DescribeReportPlan
.
Synopsis
- data ListReportPlans = ListReportPlans' {}
- newListReportPlans :: ListReportPlans
- listReportPlans_maxResults :: Lens' ListReportPlans (Maybe Natural)
- listReportPlans_nextToken :: Lens' ListReportPlans (Maybe Text)
- data ListReportPlansResponse = ListReportPlansResponse' {
- nextToken :: Maybe Text
- reportPlans :: Maybe [ReportPlan]
- httpStatus :: Int
- newListReportPlansResponse :: Int -> ListReportPlansResponse
- listReportPlansResponse_nextToken :: Lens' ListReportPlansResponse (Maybe Text)
- listReportPlansResponse_reportPlans :: Lens' ListReportPlansResponse (Maybe [ReportPlan])
- listReportPlansResponse_httpStatus :: Lens' ListReportPlansResponse Int
Creating a Request
data ListReportPlans Source #
See: newListReportPlans
smart constructor.
Instances
newListReportPlans :: ListReportPlans Source #
Create a value of ListReportPlans
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:ListReportPlans'
, listReportPlans_maxResults
- The number of desired results from 1 to 1000. Optional. If unspecified,
the query will return 1 MB of data.
ListReportPlans
, listReportPlans_nextToken
- An identifier that was returned from the previous call to this
operation, which can be used to return the next set of items in the
list.
Request Lenses
listReportPlans_maxResults :: Lens' ListReportPlans (Maybe Natural) Source #
The number of desired results from 1 to 1000. Optional. If unspecified, the query will return 1 MB of data.
listReportPlans_nextToken :: Lens' ListReportPlans (Maybe Text) Source #
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
Destructuring the Response
data ListReportPlansResponse Source #
See: newListReportPlansResponse
smart constructor.
ListReportPlansResponse' | |
|
Instances
newListReportPlansResponse Source #
Create a value of ListReportPlansResponse
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:
ListReportPlans
, listReportPlansResponse_nextToken
- An identifier that was returned from the previous call to this
operation, which can be used to return the next set of items in the
list.
$sel:reportPlans:ListReportPlansResponse'
, listReportPlansResponse_reportPlans
- A list of your report plans with detailed information for each plan.
This information includes the Amazon Resource Name (ARN), report plan
name, description, settings, delivery channel, deployment status,
creation time, and last times the report plan attempted to and
successfully ran.
$sel:httpStatus:ListReportPlansResponse'
, listReportPlansResponse_httpStatus
- The response's http status code.
Response Lenses
listReportPlansResponse_nextToken :: Lens' ListReportPlansResponse (Maybe Text) Source #
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
listReportPlansResponse_reportPlans :: Lens' ListReportPlansResponse (Maybe [ReportPlan]) Source #
A list of your report plans with detailed information for each plan. This information includes the Amazon Resource Name (ARN), report plan name, description, settings, delivery channel, deployment status, creation time, and last times the report plan attempted to and successfully ran.
listReportPlansResponse_httpStatus :: Lens' ListReportPlansResponse Int Source #
The response's http status code.