| 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 |
Amazonka.Panorama.ListNodes
Description
Returns a list of nodes.
Synopsis
- data ListNodes = ListNodes' {}
- newListNodes :: ListNodes
- listNodes_category :: Lens' ListNodes (Maybe NodeCategory)
- listNodes_maxResults :: Lens' ListNodes (Maybe Natural)
- listNodes_nextToken :: Lens' ListNodes (Maybe Text)
- listNodes_ownerAccount :: Lens' ListNodes (Maybe Text)
- listNodes_packageName :: Lens' ListNodes (Maybe Text)
- listNodes_packageVersion :: Lens' ListNodes (Maybe Text)
- listNodes_patchVersion :: Lens' ListNodes (Maybe Text)
- 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.
Constructors
| ListNodes' | |
Fields
| |
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:
ListNodes, listNodes_category - Search for nodes by category.
$sel:maxResults:ListNodes', listNodes_maxResults - The maximum number of nodes to return in one page of results.
ListNodes, listNodes_nextToken - Specify the pagination token from a previous request to retrieve the
next page of results.
ListNodes, listNodes_ownerAccount - Search for nodes by the account ID of the nodes' owner.
ListNodes, listNodes_packageName - Search for nodes by name.
ListNodes, listNodes_packageVersion - Search for nodes by version.
ListNodes, listNodes_patchVersion - Search for nodes by patch version.
Request Lenses
listNodes_category :: Lens' ListNodes (Maybe NodeCategory) Source #
Search for nodes by category.
listNodes_maxResults :: Lens' ListNodes (Maybe Natural) Source #
The maximum number of nodes to return in one page of results.
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.
Destructuring the Response
data ListNodesResponse Source #
See: newListNodesResponse smart constructor.
Constructors
| ListNodesResponse' | |
Instances
Arguments
| :: Int | |
| -> ListNodesResponse |
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:
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.