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 |
Retrieves a paginated list of summaries of all asset models.
This operation returns paginated results.
Synopsis
- data ListAssetModels = ListAssetModels' {}
- newListAssetModels :: ListAssetModels
- listAssetModels_nextToken :: Lens' ListAssetModels (Maybe Text)
- listAssetModels_maxResults :: Lens' ListAssetModels (Maybe Natural)
- data ListAssetModelsResponse = ListAssetModelsResponse' {}
- newListAssetModelsResponse :: Int -> ListAssetModelsResponse
- listAssetModelsResponse_nextToken :: Lens' ListAssetModelsResponse (Maybe Text)
- listAssetModelsResponse_httpStatus :: Lens' ListAssetModelsResponse Int
- listAssetModelsResponse_assetModelSummaries :: Lens' ListAssetModelsResponse [AssetModelSummary]
Creating a Request
data ListAssetModels Source #
See: newListAssetModels
smart constructor.
Instances
newListAssetModels :: ListAssetModels Source #
Create a value of ListAssetModels
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:ListAssetModels'
, listAssetModels_nextToken
- The token to be used for the next set of paginated results.
$sel:maxResults:ListAssetModels'
, listAssetModels_maxResults
- The maximum number of results to return for each paginated request.
Default: 50
Request Lenses
listAssetModels_nextToken :: Lens' ListAssetModels (Maybe Text) Source #
The token to be used for the next set of paginated results.
listAssetModels_maxResults :: Lens' ListAssetModels (Maybe Natural) Source #
The maximum number of results to return for each paginated request.
Default: 50
Destructuring the Response
data ListAssetModelsResponse Source #
See: newListAssetModelsResponse
smart constructor.
ListAssetModelsResponse' | |
|
Instances
newListAssetModelsResponse Source #
Create a value of ListAssetModelsResponse
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:ListAssetModels'
, listAssetModelsResponse_nextToken
- The token for the next set of results, or null if there are no
additional results.
$sel:httpStatus:ListAssetModelsResponse'
, listAssetModelsResponse_httpStatus
- The response's http status code.
$sel:assetModelSummaries:ListAssetModelsResponse'
, listAssetModelsResponse_assetModelSummaries
- A list that summarizes each asset model.
Response Lenses
listAssetModelsResponse_nextToken :: Lens' ListAssetModelsResponse (Maybe Text) Source #
The token for the next set of results, or null if there are no additional results.
listAssetModelsResponse_httpStatus :: Lens' ListAssetModelsResponse Int Source #
The response's http status code.
listAssetModelsResponse_assetModelSummaries :: Lens' ListAssetModelsResponse [AssetModelSummary] Source #
A list that summarizes each asset model.