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 |
Lists all response plans in your account.
This operation returns paginated results.
Synopsis
- data ListResponsePlans = ListResponsePlans' {}
- newListResponsePlans :: ListResponsePlans
- listResponsePlans_nextToken :: Lens' ListResponsePlans (Maybe Text)
- listResponsePlans_maxResults :: Lens' ListResponsePlans (Maybe Natural)
- data ListResponsePlansResponse = ListResponsePlansResponse' {}
- newListResponsePlansResponse :: Int -> ListResponsePlansResponse
- listResponsePlansResponse_nextToken :: Lens' ListResponsePlansResponse (Maybe Text)
- listResponsePlansResponse_httpStatus :: Lens' ListResponsePlansResponse Int
- listResponsePlansResponse_responsePlanSummaries :: Lens' ListResponsePlansResponse [ResponsePlanSummary]
Creating a Request
data ListResponsePlans Source #
See: newListResponsePlans
smart constructor.
Instances
newListResponsePlans :: ListResponsePlans Source #
Create a value of ListResponsePlans
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:ListResponsePlans'
, listResponsePlans_nextToken
- The pagination token to continue to the next page of results.
$sel:maxResults:ListResponsePlans'
, listResponsePlans_maxResults
- The maximum number of response plans per page.
Request Lenses
listResponsePlans_nextToken :: Lens' ListResponsePlans (Maybe Text) Source #
The pagination token to continue to the next page of results.
listResponsePlans_maxResults :: Lens' ListResponsePlans (Maybe Natural) Source #
The maximum number of response plans per page.
Destructuring the Response
data ListResponsePlansResponse Source #
See: newListResponsePlansResponse
smart constructor.
ListResponsePlansResponse' | |
|
Instances
newListResponsePlansResponse Source #
Create a value of ListResponsePlansResponse
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:ListResponsePlans'
, listResponsePlansResponse_nextToken
- The pagination token to continue to the next page of results.
$sel:httpStatus:ListResponsePlansResponse'
, listResponsePlansResponse_httpStatus
- The response's http status code.
$sel:responsePlanSummaries:ListResponsePlansResponse'
, listResponsePlansResponse_responsePlanSummaries
- Details of each response plan.
Response Lenses
listResponsePlansResponse_nextToken :: Lens' ListResponsePlansResponse (Maybe Text) Source #
The pagination token to continue to the next page of results.
listResponsePlansResponse_httpStatus :: Lens' ListResponsePlansResponse Int Source #
The response's http status code.
listResponsePlansResponse_responsePlanSummaries :: Lens' ListResponsePlansResponse [ResponsePlanSummary] Source #
Details of each response plan.