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 |
List chunks in a given Object
Synopsis
- data ListChunks = ListChunks' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- storageJobId :: Text
- objectToken :: Text
- newListChunks :: Text -> Text -> ListChunks
- listChunks_maxResults :: Lens' ListChunks (Maybe Natural)
- listChunks_nextToken :: Lens' ListChunks (Maybe Text)
- listChunks_storageJobId :: Lens' ListChunks Text
- listChunks_objectToken :: Lens' ListChunks Text
- data ListChunksResponse = ListChunksResponse' {}
- newListChunksResponse :: Int -> ListChunksResponse
- listChunksResponse_nextToken :: Lens' ListChunksResponse (Maybe Text)
- listChunksResponse_httpStatus :: Lens' ListChunksResponse Int
- listChunksResponse_chunkList :: Lens' ListChunksResponse [Chunk]
Creating a Request
data ListChunks Source #
See: newListChunks
smart constructor.
ListChunks' | |
|
Instances
Create a value of ListChunks
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:ListChunks'
, listChunks_maxResults
- Maximum number of chunks
ListChunks
, listChunks_nextToken
- Pagination token
$sel:storageJobId:ListChunks'
, listChunks_storageJobId
- Storage job id
ListChunks
, listChunks_objectToken
- Object token
Request Lenses
listChunks_maxResults :: Lens' ListChunks (Maybe Natural) Source #
Maximum number of chunks
listChunks_nextToken :: Lens' ListChunks (Maybe Text) Source #
Pagination token
listChunks_storageJobId :: Lens' ListChunks Text Source #
Storage job id
listChunks_objectToken :: Lens' ListChunks Text Source #
Object token
Destructuring the Response
data ListChunksResponse Source #
See: newListChunksResponse
smart constructor.
Instances
newListChunksResponse Source #
Create a value of ListChunksResponse
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:
ListChunks
, listChunksResponse_nextToken
- Pagination token
$sel:httpStatus:ListChunksResponse'
, listChunksResponse_httpStatus
- The response's http status code.
$sel:chunkList:ListChunksResponse'
, listChunksResponse_chunkList
- List of chunks
Response Lenses
listChunksResponse_nextToken :: Lens' ListChunksResponse (Maybe Text) Source #
Pagination token
listChunksResponse_httpStatus :: Lens' ListChunksResponse Int Source #
The response's http status code.
listChunksResponse_chunkList :: Lens' ListChunksResponse [Chunk] Source #
List of chunks