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 |
Returns metadata of your saved backup plan templates, including the template ID, name, and the creation and deletion dates.
This operation returns paginated results.
Synopsis
- data ListBackupPlanTemplates = ListBackupPlanTemplates' {}
- newListBackupPlanTemplates :: ListBackupPlanTemplates
- listBackupPlanTemplates_maxResults :: Lens' ListBackupPlanTemplates (Maybe Natural)
- listBackupPlanTemplates_nextToken :: Lens' ListBackupPlanTemplates (Maybe Text)
- data ListBackupPlanTemplatesResponse = ListBackupPlanTemplatesResponse' {}
- newListBackupPlanTemplatesResponse :: Int -> ListBackupPlanTemplatesResponse
- listBackupPlanTemplatesResponse_backupPlanTemplatesList :: Lens' ListBackupPlanTemplatesResponse (Maybe [BackupPlanTemplatesListMember])
- listBackupPlanTemplatesResponse_nextToken :: Lens' ListBackupPlanTemplatesResponse (Maybe Text)
- listBackupPlanTemplatesResponse_httpStatus :: Lens' ListBackupPlanTemplatesResponse Int
Creating a Request
data ListBackupPlanTemplates Source #
See: newListBackupPlanTemplates
smart constructor.
ListBackupPlanTemplates' | |
|
Instances
newListBackupPlanTemplates :: ListBackupPlanTemplates Source #
Create a value of ListBackupPlanTemplates
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:ListBackupPlanTemplates'
, listBackupPlanTemplates_maxResults
- The maximum number of items to be returned.
ListBackupPlanTemplates
, listBackupPlanTemplates_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.
Request Lenses
listBackupPlanTemplates_maxResults :: Lens' ListBackupPlanTemplates (Maybe Natural) Source #
The maximum number of items to be returned.
listBackupPlanTemplates_nextToken :: Lens' ListBackupPlanTemplates (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.
Destructuring the Response
data ListBackupPlanTemplatesResponse Source #
See: newListBackupPlanTemplatesResponse
smart constructor.
ListBackupPlanTemplatesResponse' | |
|
Instances
newListBackupPlanTemplatesResponse Source #
Create a value of ListBackupPlanTemplatesResponse
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:backupPlanTemplatesList:ListBackupPlanTemplatesResponse'
, listBackupPlanTemplatesResponse_backupPlanTemplatesList
- An array of template list items containing metadata about your saved
templates.
ListBackupPlanTemplates
, listBackupPlanTemplatesResponse_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:ListBackupPlanTemplatesResponse'
, listBackupPlanTemplatesResponse_httpStatus
- The response's http status code.
Response Lenses
listBackupPlanTemplatesResponse_backupPlanTemplatesList :: Lens' ListBackupPlanTemplatesResponse (Maybe [BackupPlanTemplatesListMember]) Source #
An array of template list items containing metadata about your saved templates.
listBackupPlanTemplatesResponse_nextToken :: Lens' ListBackupPlanTemplatesResponse (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.
listBackupPlanTemplatesResponse_httpStatus :: Lens' ListBackupPlanTemplatesResponse Int Source #
The response's http status code.