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 |
This operation lists a revision's assets sorted alphabetically in descending order.
This operation returns paginated results.
Synopsis
- data ListRevisionAssets = ListRevisionAssets' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- dataSetId :: Text
- revisionId :: Text
- newListRevisionAssets :: Text -> Text -> ListRevisionAssets
- listRevisionAssets_maxResults :: Lens' ListRevisionAssets (Maybe Natural)
- listRevisionAssets_nextToken :: Lens' ListRevisionAssets (Maybe Text)
- listRevisionAssets_dataSetId :: Lens' ListRevisionAssets Text
- listRevisionAssets_revisionId :: Lens' ListRevisionAssets Text
- data ListRevisionAssetsResponse = ListRevisionAssetsResponse' {
- assets :: Maybe [AssetEntry]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListRevisionAssetsResponse :: Int -> ListRevisionAssetsResponse
- listRevisionAssetsResponse_assets :: Lens' ListRevisionAssetsResponse (Maybe [AssetEntry])
- listRevisionAssetsResponse_nextToken :: Lens' ListRevisionAssetsResponse (Maybe Text)
- listRevisionAssetsResponse_httpStatus :: Lens' ListRevisionAssetsResponse Int
Creating a Request
data ListRevisionAssets Source #
See: newListRevisionAssets
smart constructor.
ListRevisionAssets' | |
|
Instances
newListRevisionAssets Source #
Create a value of ListRevisionAssets
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:ListRevisionAssets'
, listRevisionAssets_maxResults
- The maximum number of results returned by a single call.
ListRevisionAssets
, listRevisionAssets_nextToken
- The token value retrieved from a previous call to access the next page
of results.
ListRevisionAssets
, listRevisionAssets_dataSetId
- The unique identifier for a data set.
ListRevisionAssets
, listRevisionAssets_revisionId
- The unique identifier for a revision.
Request Lenses
listRevisionAssets_maxResults :: Lens' ListRevisionAssets (Maybe Natural) Source #
The maximum number of results returned by a single call.
listRevisionAssets_nextToken :: Lens' ListRevisionAssets (Maybe Text) Source #
The token value retrieved from a previous call to access the next page of results.
listRevisionAssets_dataSetId :: Lens' ListRevisionAssets Text Source #
The unique identifier for a data set.
listRevisionAssets_revisionId :: Lens' ListRevisionAssets Text Source #
The unique identifier for a revision.
Destructuring the Response
data ListRevisionAssetsResponse Source #
See: newListRevisionAssetsResponse
smart constructor.
ListRevisionAssetsResponse' | |
|
Instances
newListRevisionAssetsResponse Source #
Create a value of ListRevisionAssetsResponse
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:assets:ListRevisionAssetsResponse'
, listRevisionAssetsResponse_assets
- The asset objects listed by the request.
ListRevisionAssets
, listRevisionAssetsResponse_nextToken
- The token value retrieved from a previous call to access the next page
of results.
$sel:httpStatus:ListRevisionAssetsResponse'
, listRevisionAssetsResponse_httpStatus
- The response's http status code.
Response Lenses
listRevisionAssetsResponse_assets :: Lens' ListRevisionAssetsResponse (Maybe [AssetEntry]) Source #
The asset objects listed by the request.
listRevisionAssetsResponse_nextToken :: Lens' ListRevisionAssetsResponse (Maybe Text) Source #
The token value retrieved from a previous call to access the next page of results.
listRevisionAssetsResponse_httpStatus :: Lens' ListRevisionAssetsResponse Int Source #
The response's http status code.