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.Backup.ListBackupPlanVersions
Description
Returns version metadata of your backup plans, including Amazon Resource Names (ARNs), backup plan IDs, creation and deletion dates, plan names, and version IDs.
This operation returns paginated results.
Synopsis
- data ListBackupPlanVersions = ListBackupPlanVersions' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- backupPlanId :: Text
- newListBackupPlanVersions :: Text -> ListBackupPlanVersions
- listBackupPlanVersions_maxResults :: Lens' ListBackupPlanVersions (Maybe Natural)
- listBackupPlanVersions_nextToken :: Lens' ListBackupPlanVersions (Maybe Text)
- listBackupPlanVersions_backupPlanId :: Lens' ListBackupPlanVersions Text
- data ListBackupPlanVersionsResponse = ListBackupPlanVersionsResponse' {}
- newListBackupPlanVersionsResponse :: Int -> ListBackupPlanVersionsResponse
- listBackupPlanVersionsResponse_backupPlanVersionsList :: Lens' ListBackupPlanVersionsResponse (Maybe [BackupPlansListMember])
- listBackupPlanVersionsResponse_nextToken :: Lens' ListBackupPlanVersionsResponse (Maybe Text)
- listBackupPlanVersionsResponse_httpStatus :: Lens' ListBackupPlanVersionsResponse Int
Creating a Request
data ListBackupPlanVersions Source #
See: newListBackupPlanVersions
smart constructor.
Constructors
ListBackupPlanVersions' | |
Fields
|
Instances
newListBackupPlanVersions Source #
Arguments
:: Text | |
-> ListBackupPlanVersions |
Create a value of ListBackupPlanVersions
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:ListBackupPlanVersions'
, listBackupPlanVersions_maxResults
- The maximum number of items to be returned.
ListBackupPlanVersions
, listBackupPlanVersions_nextToken
- The next item following a partial list of returned items. For example,
if a request is made to return maxResults
number of items, NextToken
allows you to return more items in your list starting at the location
pointed to by the next token.
ListBackupPlanVersions
, listBackupPlanVersions_backupPlanId
- Uniquely identifies a backup plan.
Request Lenses
listBackupPlanVersions_maxResults :: Lens' ListBackupPlanVersions (Maybe Natural) Source #
The maximum number of items to be returned.
listBackupPlanVersions_nextToken :: Lens' ListBackupPlanVersions (Maybe Text) Source #
The next item following a partial list of returned items. For example,
if a request is made to return maxResults
number of items, NextToken
allows you to return more items in your list starting at the location
pointed to by the next token.
listBackupPlanVersions_backupPlanId :: Lens' ListBackupPlanVersions Text Source #
Uniquely identifies a backup plan.
Destructuring the Response
data ListBackupPlanVersionsResponse Source #
See: newListBackupPlanVersionsResponse
smart constructor.
Constructors
ListBackupPlanVersionsResponse' | |
Fields
|
Instances
newListBackupPlanVersionsResponse Source #
Create a value of ListBackupPlanVersionsResponse
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:backupPlanVersionsList:ListBackupPlanVersionsResponse'
, listBackupPlanVersionsResponse_backupPlanVersionsList
- An array of version list items containing metadata about your backup
plans.
ListBackupPlanVersions
, listBackupPlanVersionsResponse_nextToken
- The next item following a partial list of returned items. For example,
if a request is made to return maxResults
number of items, NextToken
allows you to return more items in your list starting at the location
pointed to by the next token.
$sel:httpStatus:ListBackupPlanVersionsResponse'
, listBackupPlanVersionsResponse_httpStatus
- The response's http status code.
Response Lenses
listBackupPlanVersionsResponse_backupPlanVersionsList :: Lens' ListBackupPlanVersionsResponse (Maybe [BackupPlansListMember]) Source #
An array of version list items containing metadata about your backup plans.
listBackupPlanVersionsResponse_nextToken :: Lens' ListBackupPlanVersionsResponse (Maybe Text) Source #
The next item following a partial list of returned items. For example,
if a request is made to return maxResults
number of items, NextToken
allows you to return more items in your list starting at the location
pointed to by the next token.
listBackupPlanVersionsResponse_httpStatus :: Lens' ListBackupPlanVersionsResponse Int Source #
The response's http status code.