| 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.IoTSiteWise.ListProjectAssets
Description
Retrieves a paginated list of assets associated with an IoT SiteWise Monitor project.
This operation returns paginated results.
Synopsis
- data ListProjectAssets = ListProjectAssets' {}
- newListProjectAssets :: Text -> ListProjectAssets
- listProjectAssets_maxResults :: Lens' ListProjectAssets (Maybe Natural)
- listProjectAssets_nextToken :: Lens' ListProjectAssets (Maybe Text)
- listProjectAssets_projectId :: Lens' ListProjectAssets Text
- data ListProjectAssetsResponse = ListProjectAssetsResponse' {}
- newListProjectAssetsResponse :: Int -> ListProjectAssetsResponse
- listProjectAssetsResponse_nextToken :: Lens' ListProjectAssetsResponse (Maybe Text)
- listProjectAssetsResponse_httpStatus :: Lens' ListProjectAssetsResponse Int
- listProjectAssetsResponse_assetIds :: Lens' ListProjectAssetsResponse [Text]
Creating a Request
data ListProjectAssets Source #
See: newListProjectAssets smart constructor.
Constructors
| ListProjectAssets' | |
Instances
Arguments
| :: Text | |
| -> ListProjectAssets |
Create a value of ListProjectAssets 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:ListProjectAssets', listProjectAssets_maxResults - The maximum number of results to return for each paginated request.
Default: 50
ListProjectAssets, listProjectAssets_nextToken - The token to be used for the next set of paginated results.
$sel:projectId:ListProjectAssets', listProjectAssets_projectId - The ID of the project.
Request Lenses
listProjectAssets_maxResults :: Lens' ListProjectAssets (Maybe Natural) Source #
The maximum number of results to return for each paginated request.
Default: 50
listProjectAssets_nextToken :: Lens' ListProjectAssets (Maybe Text) Source #
The token to be used for the next set of paginated results.
listProjectAssets_projectId :: Lens' ListProjectAssets Text Source #
The ID of the project.
Destructuring the Response
data ListProjectAssetsResponse Source #
See: newListProjectAssetsResponse smart constructor.
Constructors
| ListProjectAssetsResponse' | |
Instances
newListProjectAssetsResponse Source #
Create a value of ListProjectAssetsResponse 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:
ListProjectAssets, listProjectAssetsResponse_nextToken - The token for the next set of results, or null if there are no
additional results.
$sel:httpStatus:ListProjectAssetsResponse', listProjectAssetsResponse_httpStatus - The response's http status code.
$sel:assetIds:ListProjectAssetsResponse', listProjectAssetsResponse_assetIds - A list that contains the IDs of each asset associated with the project.
Response Lenses
listProjectAssetsResponse_nextToken :: Lens' ListProjectAssetsResponse (Maybe Text) Source #
The token for the next set of results, or null if there are no additional results.
listProjectAssetsResponse_httpStatus :: Lens' ListProjectAssetsResponse Int Source #
The response's http status code.
listProjectAssetsResponse_assetIds :: Lens' ListProjectAssetsResponse [Text] Source #
A list that contains the IDs of each asset associated with the project.