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.BackupStorage.ListObjects
Description
List all Objects in a given Backup.
Synopsis
- data ListObjects = ListObjects' {}
- newListObjects :: Text -> ListObjects
- listObjects_createdAfter :: Lens' ListObjects (Maybe UTCTime)
- listObjects_createdBefore :: Lens' ListObjects (Maybe UTCTime)
- listObjects_maxResults :: Lens' ListObjects (Maybe Natural)
- listObjects_nextToken :: Lens' ListObjects (Maybe Text)
- listObjects_startingObjectName :: Lens' ListObjects (Maybe Text)
- listObjects_startingObjectPrefix :: Lens' ListObjects (Maybe Text)
- listObjects_storageJobId :: Lens' ListObjects Text
- data ListObjectsResponse = ListObjectsResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- objectList :: [BackupObject]
- newListObjectsResponse :: Int -> ListObjectsResponse
- listObjectsResponse_nextToken :: Lens' ListObjectsResponse (Maybe Text)
- listObjectsResponse_httpStatus :: Lens' ListObjectsResponse Int
- listObjectsResponse_objectList :: Lens' ListObjectsResponse [BackupObject]
Creating a Request
data ListObjects Source #
See: newListObjects
smart constructor.
Constructors
ListObjects' | |
Fields
|
Instances
Arguments
:: Text | |
-> ListObjects |
Create a value of ListObjects
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:createdAfter:ListObjects'
, listObjects_createdAfter
- (Optional) Created after filter
$sel:createdBefore:ListObjects'
, listObjects_createdBefore
- (Optional) Created before filter
$sel:maxResults:ListObjects'
, listObjects_maxResults
- Maximum objects count
ListObjects
, listObjects_nextToken
- Pagination token
$sel:startingObjectName:ListObjects'
, listObjects_startingObjectName
- Optional, specifies the starting Object name to list from. Ignored if
NextToken is not NULL
$sel:startingObjectPrefix:ListObjects'
, listObjects_startingObjectPrefix
- Optional, specifies the starting Object prefix to list from. Ignored if
NextToken is not NULL
$sel:storageJobId:ListObjects'
, listObjects_storageJobId
- Storage job id
Request Lenses
listObjects_createdAfter :: Lens' ListObjects (Maybe UTCTime) Source #
(Optional) Created after filter
listObjects_createdBefore :: Lens' ListObjects (Maybe UTCTime) Source #
(Optional) Created before filter
listObjects_maxResults :: Lens' ListObjects (Maybe Natural) Source #
Maximum objects count
listObjects_nextToken :: Lens' ListObjects (Maybe Text) Source #
Pagination token
listObjects_startingObjectName :: Lens' ListObjects (Maybe Text) Source #
Optional, specifies the starting Object name to list from. Ignored if NextToken is not NULL
listObjects_startingObjectPrefix :: Lens' ListObjects (Maybe Text) Source #
Optional, specifies the starting Object prefix to list from. Ignored if NextToken is not NULL
listObjects_storageJobId :: Lens' ListObjects Text Source #
Storage job id
Destructuring the Response
data ListObjectsResponse Source #
See: newListObjectsResponse
smart constructor.
Constructors
ListObjectsResponse' | |
Fields
|
Instances
newListObjectsResponse Source #
Arguments
:: Int | |
-> ListObjectsResponse |
Create a value of ListObjectsResponse
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:
ListObjects
, listObjectsResponse_nextToken
- Pagination token
$sel:httpStatus:ListObjectsResponse'
, listObjectsResponse_httpStatus
- The response's http status code.
$sel:objectList:ListObjectsResponse'
, listObjectsResponse_objectList
- Object list
Response Lenses
listObjectsResponse_nextToken :: Lens' ListObjectsResponse (Maybe Text) Source #
Pagination token
listObjectsResponse_httpStatus :: Lens' ListObjectsResponse Int Source #
The response's http status code.
listObjectsResponse_objectList :: Lens' ListObjectsResponse [BackupObject] Source #
Object list