Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
List backups associated with an AWS account. To list backups for a given table, specify TableName
. ListBackups
returns a paginated list of results with at most 1MB worth of items in a page. You can also specify a limit for the maximum number of entries to be returned in a page.
In the request, start time is inclusive but end time is exclusive. Note that these limits are for the time at which the original backup was requested.
You can call ListBackups
a maximum of 5 times per second.
This operation returns paginated results.
Synopsis
- listBackups :: ListBackups
- data ListBackups
- lbTimeRangeUpperBound :: Lens' ListBackups (Maybe UTCTime)
- lbTimeRangeLowerBound :: Lens' ListBackups (Maybe UTCTime)
- lbLimit :: Lens' ListBackups (Maybe Natural)
- lbExclusiveStartBackupARN :: Lens' ListBackups (Maybe Text)
- lbTableName :: Lens' ListBackups (Maybe Text)
- listBackupsResponse :: Int -> ListBackupsResponse
- data ListBackupsResponse
- lbrsBackupSummaries :: Lens' ListBackupsResponse [BackupSummary]
- lbrsLastEvaluatedBackupARN :: Lens' ListBackupsResponse (Maybe Text)
- lbrsResponseStatus :: Lens' ListBackupsResponse Int
Creating a Request
listBackups :: ListBackups Source #
Creates a value of ListBackups
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lbTimeRangeUpperBound
- Only backups created before this time are listed.TimeRangeUpperBound
is exclusive.lbTimeRangeLowerBound
- Only backups created after this time are listed.TimeRangeLowerBound
is inclusive.lbLimit
- Maximum number of backups to return at once.lbExclusiveStartBackupARN
-LastEvaluatedBackupARN
returned by the previous ListBackups call.lbTableName
- The backups from the table specified by TableName are listed.
data ListBackups Source #
See: listBackups
smart constructor.
Instances
Request Lenses
lbTimeRangeUpperBound :: Lens' ListBackups (Maybe UTCTime) Source #
Only backups created before this time are listed. TimeRangeUpperBound
is exclusive.
lbTimeRangeLowerBound :: Lens' ListBackups (Maybe UTCTime) Source #
Only backups created after this time are listed. TimeRangeLowerBound
is inclusive.
lbExclusiveStartBackupARN :: Lens' ListBackups (Maybe Text) Source #
LastEvaluatedBackupARN
returned by the previous ListBackups call.
lbTableName :: Lens' ListBackups (Maybe Text) Source #
The backups from the table specified by TableName are listed.
Destructuring the Response
Creates a value of ListBackupsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lbrsBackupSummaries
- List ofBackupSummary
objects.lbrsLastEvaluatedBackupARN
- Last evaluated BackupARN.lbrsResponseStatus
- -- | The response status code.
data ListBackupsResponse Source #
See: listBackupsResponse
smart constructor.
Instances
Response Lenses
lbrsBackupSummaries :: Lens' ListBackupsResponse [BackupSummary] Source #
List of BackupSummary
objects.
lbrsLastEvaluatedBackupARN :: Lens' ListBackupsResponse (Maybe Text) Source #
Last evaluated BackupARN.
lbrsResponseStatus :: Lens' ListBackupsResponse Int Source #
- - | The response status code.