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 an array of control panels for a cluster.
Synopsis
- data ListControlPanels = ListControlPanels' {
- clusterArn :: Maybe Text
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- newListControlPanels :: ListControlPanels
- listControlPanels_clusterArn :: Lens' ListControlPanels (Maybe Text)
- listControlPanels_nextToken :: Lens' ListControlPanels (Maybe Text)
- listControlPanels_maxResults :: Lens' ListControlPanels (Maybe Natural)
- data ListControlPanelsResponse = ListControlPanelsResponse' {
- nextToken :: Maybe Text
- controlPanels :: Maybe [ControlPanel]
- httpStatus :: Int
- newListControlPanelsResponse :: Int -> ListControlPanelsResponse
- listControlPanelsResponse_nextToken :: Lens' ListControlPanelsResponse (Maybe Text)
- listControlPanelsResponse_controlPanels :: Lens' ListControlPanelsResponse (Maybe [ControlPanel])
- listControlPanelsResponse_httpStatus :: Lens' ListControlPanelsResponse Int
Creating a Request
data ListControlPanels Source #
See: newListControlPanels
smart constructor.
ListControlPanels' | |
|
Instances
newListControlPanels :: ListControlPanels Source #
Create a value of ListControlPanels
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:clusterArn:ListControlPanels'
, listControlPanels_clusterArn
- The Amazon Resource Name (ARN) of a cluster.
$sel:nextToken:ListControlPanels'
, listControlPanels_nextToken
- The token that identifies which batch of results you want to see.
$sel:maxResults:ListControlPanels'
, listControlPanels_maxResults
- The number of objects that you want to return with this call.
Request Lenses
listControlPanels_clusterArn :: Lens' ListControlPanels (Maybe Text) Source #
The Amazon Resource Name (ARN) of a cluster.
listControlPanels_nextToken :: Lens' ListControlPanels (Maybe Text) Source #
The token that identifies which batch of results you want to see.
listControlPanels_maxResults :: Lens' ListControlPanels (Maybe Natural) Source #
The number of objects that you want to return with this call.
Destructuring the Response
data ListControlPanelsResponse Source #
See: newListControlPanelsResponse
smart constructor.
ListControlPanelsResponse' | |
|
Instances
newListControlPanelsResponse Source #
Create a value of ListControlPanelsResponse
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:ListControlPanels'
, listControlPanelsResponse_nextToken
- The token that identifies which batch of results you want to see.
$sel:controlPanels:ListControlPanelsResponse'
, listControlPanelsResponse_controlPanels
- The result of a successful ListControlPanel request.
$sel:httpStatus:ListControlPanelsResponse'
, listControlPanelsResponse_httpStatus
- The response's http status code.
Response Lenses
listControlPanelsResponse_nextToken :: Lens' ListControlPanelsResponse (Maybe Text) Source #
The token that identifies which batch of results you want to see.
listControlPanelsResponse_controlPanels :: Lens' ListControlPanelsResponse (Maybe [ControlPanel]) Source #
The result of a successful ListControlPanel request.
listControlPanelsResponse_httpStatus :: Lens' ListControlPanelsResponse Int Source #
The response's http status code.