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 assets associated with an IoT SiteWise Monitor project.
This operation returns paginated results.
Synopsis
- data ListProjectAssets = ListProjectAssets' {}
- newListProjectAssets :: Text -> ListProjectAssets
- listProjectAssets_nextToken :: Lens' ListProjectAssets (Maybe Text)
- listProjectAssets_maxResults :: Lens' ListProjectAssets (Maybe Natural)
- 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.
Instances
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:nextToken:ListProjectAssets'
, listProjectAssets_nextToken
- The token to be used for the next set of paginated results.
$sel:maxResults:ListProjectAssets'
, listProjectAssets_maxResults
- The maximum number of results to return for each paginated request.
Default: 50
$sel:projectId:ListProjectAssets'
, listProjectAssets_projectId
- The ID of the project.
Request Lenses
listProjectAssets_nextToken :: Lens' ListProjectAssets (Maybe Text) Source #
The token to be used for the next set of paginated results.
listProjectAssets_maxResults :: Lens' ListProjectAssets (Maybe Natural) Source #
The maximum number of results to return for each paginated request.
Default: 50
listProjectAssets_projectId :: Lens' ListProjectAssets Text Source #
The ID of the project.
Destructuring the Response
data ListProjectAssetsResponse Source #
See: newListProjectAssetsResponse
smart constructor.
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:
$sel:nextToken: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.