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 nodes.
Synopsis
- data ListNodes = ListNodes' {}
- newListNodes :: ListNodes
- listNodes_patchVersion :: Lens' ListNodes (Maybe Text)
- listNodes_packageName :: Lens' ListNodes (Maybe Text)
- listNodes_packageVersion :: Lens' ListNodes (Maybe Text)
- listNodes_category :: Lens' ListNodes (Maybe NodeCategory)
- listNodes_nextToken :: Lens' ListNodes (Maybe Text)
- listNodes_ownerAccount :: Lens' ListNodes (Maybe Text)
- listNodes_maxResults :: Lens' ListNodes (Maybe Natural)
- data ListNodesResponse = ListNodesResponse' {}
- newListNodesResponse :: Int -> ListNodesResponse
- listNodesResponse_nextToken :: Lens' ListNodesResponse (Maybe Text)
- listNodesResponse_nodes :: Lens' ListNodesResponse (Maybe [Node])
- listNodesResponse_httpStatus :: Lens' ListNodesResponse Int
Creating a Request
See: newListNodes
smart constructor.
ListNodes' | |
|
Instances
newListNodes :: ListNodes Source #
Create a value of ListNodes
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:patchVersion:ListNodes'
, listNodes_patchVersion
- Search for nodes by patch version.
$sel:packageName:ListNodes'
, listNodes_packageName
- Search for nodes by name.
$sel:packageVersion:ListNodes'
, listNodes_packageVersion
- Search for nodes by version.
$sel:category:ListNodes'
, listNodes_category
- Search for nodes by category.
$sel:nextToken:ListNodes'
, listNodes_nextToken
- Specify the pagination token from a previous request to retrieve the
next page of results.
$sel:ownerAccount:ListNodes'
, listNodes_ownerAccount
- Search for nodes by the account ID of the nodes' owner.
$sel:maxResults:ListNodes'
, listNodes_maxResults
- The maximum number of nodes to return in one page of results.
Request Lenses
listNodes_category :: Lens' ListNodes (Maybe NodeCategory) Source #
Search for nodes by category.
listNodes_nextToken :: Lens' ListNodes (Maybe Text) Source #
Specify the pagination token from a previous request to retrieve the next page of results.
listNodes_ownerAccount :: Lens' ListNodes (Maybe Text) Source #
Search for nodes by the account ID of the nodes' owner.
listNodes_maxResults :: Lens' ListNodes (Maybe Natural) Source #
The maximum number of nodes to return in one page of results.
Destructuring the Response
data ListNodesResponse Source #
See: newListNodesResponse
smart constructor.
Instances
Create a value of ListNodesResponse
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:ListNodes'
, listNodesResponse_nextToken
- A pagination token that's included if more results are available.
$sel:nodes:ListNodesResponse'
, listNodesResponse_nodes
- A list of nodes.
$sel:httpStatus:ListNodesResponse'
, listNodesResponse_httpStatus
- The response's http status code.
Response Lenses
listNodesResponse_nextToken :: Lens' ListNodesResponse (Maybe Text) Source #
A pagination token that's included if more results are available.
listNodesResponse_nodes :: Lens' ListNodesResponse (Maybe [Node]) Source #
A list of nodes.
listNodesResponse_httpStatus :: Lens' ListNodesResponse Int Source #
The response's http status code.