| 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 |
Amazonka.Backup.ListBackupSelections
Description
Returns an array containing metadata of the resources associated with the target backup plan.
Synopsis
- data ListBackupSelections = ListBackupSelections' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- backupPlanId :: Text
- newListBackupSelections :: Text -> ListBackupSelections
- listBackupSelections_nextToken :: Lens' ListBackupSelections (Maybe Text)
- listBackupSelections_maxResults :: Lens' ListBackupSelections (Maybe Natural)
- listBackupSelections_backupPlanId :: Lens' ListBackupSelections Text
- data ListBackupSelectionsResponse = ListBackupSelectionsResponse' {}
- newListBackupSelectionsResponse :: Int -> ListBackupSelectionsResponse
- listBackupSelectionsResponse_nextToken :: Lens' ListBackupSelectionsResponse (Maybe Text)
- listBackupSelectionsResponse_backupSelectionsList :: Lens' ListBackupSelectionsResponse (Maybe [BackupSelectionsListMember])
- listBackupSelectionsResponse_httpStatus :: Lens' ListBackupSelectionsResponse Int
Creating a Request
data ListBackupSelections Source #
See: newListBackupSelections smart constructor.
Constructors
| ListBackupSelections' | |
Fields
| |
Instances
newListBackupSelections Source #
Create a value of ListBackupSelections 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:ListBackupSelections', listBackupSelections_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:ListBackupSelections', listBackupSelections_maxResults - The maximum number of items to be returned.
$sel:backupPlanId:ListBackupSelections', listBackupSelections_backupPlanId - Uniquely identifies a backup plan.
Request Lenses
listBackupSelections_nextToken :: Lens' ListBackupSelections (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.
listBackupSelections_maxResults :: Lens' ListBackupSelections (Maybe Natural) Source #
The maximum number of items to be returned.
listBackupSelections_backupPlanId :: Lens' ListBackupSelections Text Source #
Uniquely identifies a backup plan.
Destructuring the Response
data ListBackupSelectionsResponse Source #
See: newListBackupSelectionsResponse smart constructor.
Constructors
| ListBackupSelectionsResponse' | |
Fields
| |
Instances
newListBackupSelectionsResponse Source #
Create a value of ListBackupSelectionsResponse 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:ListBackupSelections', listBackupSelectionsResponse_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:backupSelectionsList:ListBackupSelectionsResponse', listBackupSelectionsResponse_backupSelectionsList - An array of backup selection list items containing metadata about each
resource in the list.
$sel:httpStatus:ListBackupSelectionsResponse', listBackupSelectionsResponse_httpStatus - The response's http status code.
Response Lenses
listBackupSelectionsResponse_nextToken :: Lens' ListBackupSelectionsResponse (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.
listBackupSelectionsResponse_backupSelectionsList :: Lens' ListBackupSelectionsResponse (Maybe [BackupSelectionsListMember]) Source #
An array of backup selection list items containing metadata about each resource in the list.
listBackupSelectionsResponse_httpStatus :: Lens' ListBackupSelectionsResponse Int Source #
The response's http status code.