Copyright | (c) 2013-2021 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 |
Returns version metadata of your backup plans, including Amazon Resource Names (ARNs), backup plan IDs, creation and deletion dates, plan names, and version IDs.
Synopsis
- data ListBackupPlanVersions = ListBackupPlanVersions' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- backupPlanId :: Text
- newListBackupPlanVersions :: Text -> ListBackupPlanVersions
- listBackupPlanVersions_nextToken :: Lens' ListBackupPlanVersions (Maybe Text)
- listBackupPlanVersions_maxResults :: Lens' ListBackupPlanVersions (Maybe Natural)
- 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.
ListBackupPlanVersions' | |
|
Instances
newListBackupPlanVersions Source #
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:nextToken: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.
$sel:maxResults:ListBackupPlanVersions'
, listBackupPlanVersions_maxResults
- The maximum number of items to be returned.
$sel:backupPlanId:ListBackupPlanVersions'
, listBackupPlanVersions_backupPlanId
- Uniquely identifies a backup plan.
Request Lenses
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_maxResults :: Lens' ListBackupPlanVersions (Maybe Natural) Source #
The maximum number of items to be returned.
listBackupPlanVersions_backupPlanId :: Lens' ListBackupPlanVersions Text Source #
Uniquely identifies a backup plan.
Destructuring the Response
data ListBackupPlanVersionsResponse Source #
See: newListBackupPlanVersionsResponse
smart constructor.
ListBackupPlanVersionsResponse' | |
|
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.
$sel:nextToken: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.