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 |
Lists information about nodes specified in a vehicle model (model manifest).
This API operation uses pagination. Specify the nextToken
parameter in
the request to return more results.
This operation returns paginated results.
Synopsis
- data ListModelManifestNodes = ListModelManifestNodes' {}
- newListModelManifestNodes :: Text -> ListModelManifestNodes
- listModelManifestNodes_maxResults :: Lens' ListModelManifestNodes (Maybe Natural)
- listModelManifestNodes_nextToken :: Lens' ListModelManifestNodes (Maybe Text)
- listModelManifestNodes_name :: Lens' ListModelManifestNodes Text
- data ListModelManifestNodesResponse = ListModelManifestNodesResponse' {}
- newListModelManifestNodesResponse :: Int -> ListModelManifestNodesResponse
- listModelManifestNodesResponse_nextToken :: Lens' ListModelManifestNodesResponse (Maybe Text)
- listModelManifestNodesResponse_nodes :: Lens' ListModelManifestNodesResponse (Maybe [Node])
- listModelManifestNodesResponse_httpStatus :: Lens' ListModelManifestNodesResponse Int
Creating a Request
data ListModelManifestNodes Source #
See: newListModelManifestNodes
smart constructor.
ListModelManifestNodes' | |
|
Instances
newListModelManifestNodes Source #
Create a value of ListModelManifestNodes
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:maxResults:ListModelManifestNodes'
, listModelManifestNodes_maxResults
- The maximum number of items to return, between 1 and 100, inclusive.
ListModelManifestNodes
, listModelManifestNodes_nextToken
- A pagination token for the next set of results.
If the results of a search are large, only a portion of the results are
returned, and a nextToken
pagination token is returned in the
response. To retrieve the next set of results, reissue the search
request and include the returned token. When all results have been
returned, the response does not contain a pagination token value.
ListModelManifestNodes
, listModelManifestNodes_name
- The name of the vehicle model to list information about.
Request Lenses
listModelManifestNodes_maxResults :: Lens' ListModelManifestNodes (Maybe Natural) Source #
The maximum number of items to return, between 1 and 100, inclusive.
listModelManifestNodes_nextToken :: Lens' ListModelManifestNodes (Maybe Text) Source #
A pagination token for the next set of results.
If the results of a search are large, only a portion of the results are
returned, and a nextToken
pagination token is returned in the
response. To retrieve the next set of results, reissue the search
request and include the returned token. When all results have been
returned, the response does not contain a pagination token value.
listModelManifestNodes_name :: Lens' ListModelManifestNodes Text Source #
The name of the vehicle model to list information about.
Destructuring the Response
data ListModelManifestNodesResponse Source #
See: newListModelManifestNodesResponse
smart constructor.
Instances
newListModelManifestNodesResponse Source #
Create a value of ListModelManifestNodesResponse
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:
ListModelManifestNodes
, listModelManifestNodesResponse_nextToken
- The token to retrieve the next set of results, or null
if there are no
more results.
$sel:nodes:ListModelManifestNodesResponse'
, listModelManifestNodesResponse_nodes
- A list of information about nodes.
$sel:httpStatus:ListModelManifestNodesResponse'
, listModelManifestNodesResponse_httpStatus
- The response's http status code.
Response Lenses
listModelManifestNodesResponse_nextToken :: Lens' ListModelManifestNodesResponse (Maybe Text) Source #
The token to retrieve the next set of results, or null
if there are no
more results.
listModelManifestNodesResponse_nodes :: Lens' ListModelManifestNodesResponse (Maybe [Node]) Source #
A list of information about nodes.
listModelManifestNodesResponse_httpStatus :: Lens' ListModelManifestNodesResponse Int Source #
The response's http status code.