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