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 |
Retrieves a list of vehicle models (model manifests).
This API operation uses pagination. Specify the nextToken
parameter in
the request to return more results.
This operation returns paginated results.
Synopsis
- data ListModelManifests = ListModelManifests' {}
- newListModelManifests :: ListModelManifests
- listModelManifests_maxResults :: Lens' ListModelManifests (Maybe Natural)
- listModelManifests_nextToken :: Lens' ListModelManifests (Maybe Text)
- listModelManifests_signalCatalogArn :: Lens' ListModelManifests (Maybe Text)
- data ListModelManifestsResponse = ListModelManifestsResponse' {}
- newListModelManifestsResponse :: Int -> ListModelManifestsResponse
- listModelManifestsResponse_nextToken :: Lens' ListModelManifestsResponse (Maybe Text)
- listModelManifestsResponse_summaries :: Lens' ListModelManifestsResponse (Maybe [ModelManifestSummary])
- listModelManifestsResponse_httpStatus :: Lens' ListModelManifestsResponse Int
Creating a Request
data ListModelManifests Source #
See: newListModelManifests
smart constructor.
ListModelManifests' | |
|
Instances
newListModelManifests :: ListModelManifests Source #
Create a value of ListModelManifests
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:ListModelManifests'
, listModelManifests_maxResults
- The maximum number of items to return, between 1 and 100, inclusive.
ListModelManifests
, listModelManifests_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.
ListModelManifests
, listModelManifests_signalCatalogArn
- The ARN of a signal catalog. If you specify a signal catalog, only the
vehicle models associated with it are returned.
Request Lenses
listModelManifests_maxResults :: Lens' ListModelManifests (Maybe Natural) Source #
The maximum number of items to return, between 1 and 100, inclusive.
listModelManifests_nextToken :: Lens' ListModelManifests (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.
listModelManifests_signalCatalogArn :: Lens' ListModelManifests (Maybe Text) Source #
The ARN of a signal catalog. If you specify a signal catalog, only the vehicle models associated with it are returned.
Destructuring the Response
data ListModelManifestsResponse Source #
See: newListModelManifestsResponse
smart constructor.
ListModelManifestsResponse' | |
|
Instances
newListModelManifestsResponse Source #
Create a value of ListModelManifestsResponse
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:
ListModelManifests
, listModelManifestsResponse_nextToken
- The token to retrieve the next set of results, or null
if there are no
more results.
$sel:summaries:ListModelManifestsResponse'
, listModelManifestsResponse_summaries
- A list of information about vehicle models.
$sel:httpStatus:ListModelManifestsResponse'
, listModelManifestsResponse_httpStatus
- The response's http status code.
Response Lenses
listModelManifestsResponse_nextToken :: Lens' ListModelManifestsResponse (Maybe Text) Source #
The token to retrieve the next set of results, or null
if there are no
more results.
listModelManifestsResponse_summaries :: Lens' ListModelManifestsResponse (Maybe [ModelManifestSummary]) Source #
A list of information about vehicle models.
listModelManifestsResponse_httpStatus :: Lens' ListModelManifestsResponse Int Source #
The response's http status code.