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 |
Returns a list of your report plans. For detailed information about a
single report plan, use DescribeReportPlan
.
Synopsis
- data ListReportPlans = ListReportPlans' {}
- newListReportPlans :: ListReportPlans
- listReportPlans_nextToken :: Lens' ListReportPlans (Maybe Text)
- listReportPlans_maxResults :: Lens' ListReportPlans (Maybe Natural)
- data ListReportPlansResponse = ListReportPlansResponse' {
- reportPlans :: Maybe [ReportPlan]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListReportPlansResponse :: Int -> ListReportPlansResponse
- listReportPlansResponse_reportPlans :: Lens' ListReportPlansResponse (Maybe [ReportPlan])
- listReportPlansResponse_nextToken :: Lens' ListReportPlansResponse (Maybe Text)
- 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:nextToken: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.
$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.
Request Lenses
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.
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.
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:
$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:nextToken: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:httpStatus:ListReportPlansResponse'
, listReportPlansResponse_httpStatus
- The response's http status code.
Response Lenses
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_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_httpStatus :: Lens' ListReportPlansResponse Int Source #
The response's http status code.