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 the template specified by its templateId
as a backup plan.
Synopsis
- data GetBackupPlanFromTemplate = GetBackupPlanFromTemplate' {}
- newGetBackupPlanFromTemplate :: Text -> GetBackupPlanFromTemplate
- getBackupPlanFromTemplate_backupPlanTemplateId :: Lens' GetBackupPlanFromTemplate Text
- data GetBackupPlanFromTemplateResponse = GetBackupPlanFromTemplateResponse' {}
- newGetBackupPlanFromTemplateResponse :: Int -> GetBackupPlanFromTemplateResponse
- getBackupPlanFromTemplateResponse_backupPlanDocument :: Lens' GetBackupPlanFromTemplateResponse (Maybe BackupPlan)
- getBackupPlanFromTemplateResponse_httpStatus :: Lens' GetBackupPlanFromTemplateResponse Int
Creating a Request
data GetBackupPlanFromTemplate Source #
See: newGetBackupPlanFromTemplate
smart constructor.
GetBackupPlanFromTemplate' | |
|
Instances
newGetBackupPlanFromTemplate Source #
Create a value of GetBackupPlanFromTemplate
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:backupPlanTemplateId:GetBackupPlanFromTemplate'
, getBackupPlanFromTemplate_backupPlanTemplateId
- Uniquely identifies a stored backup plan template.
Request Lenses
getBackupPlanFromTemplate_backupPlanTemplateId :: Lens' GetBackupPlanFromTemplate Text Source #
Uniquely identifies a stored backup plan template.
Destructuring the Response
data GetBackupPlanFromTemplateResponse Source #
See: newGetBackupPlanFromTemplateResponse
smart constructor.
GetBackupPlanFromTemplateResponse' | |
|
Instances
Eq GetBackupPlanFromTemplateResponse Source # | |
Show GetBackupPlanFromTemplateResponse Source # | |
Generic GetBackupPlanFromTemplateResponse Source # | |
NFData GetBackupPlanFromTemplateResponse Source # | |
Defined in Amazonka.Backup.GetBackupPlanFromTemplate rnf :: GetBackupPlanFromTemplateResponse -> () # | |
type Rep GetBackupPlanFromTemplateResponse Source # | |
Defined in Amazonka.Backup.GetBackupPlanFromTemplate type Rep GetBackupPlanFromTemplateResponse = D1 ('MetaData "GetBackupPlanFromTemplateResponse" "Amazonka.Backup.GetBackupPlanFromTemplate" "libZSservicesZSamazonka-backupZSamazonka-backup" 'False) (C1 ('MetaCons "GetBackupPlanFromTemplateResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "backupPlanDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BackupPlan)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newGetBackupPlanFromTemplateResponse Source #
Create a value of GetBackupPlanFromTemplateResponse
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:backupPlanDocument:GetBackupPlanFromTemplateResponse'
, getBackupPlanFromTemplateResponse_backupPlanDocument
- Returns the body of a backup plan based on the target template,
including the name, rules, and backup vault of the plan.
$sel:httpStatus:GetBackupPlanFromTemplateResponse'
, getBackupPlanFromTemplateResponse_httpStatus
- The response's http status code.
Response Lenses
getBackupPlanFromTemplateResponse_backupPlanDocument :: Lens' GetBackupPlanFromTemplateResponse (Maybe BackupPlan) Source #
Returns the body of a backup plan based on the target template, including the name, rules, and backup vault of the plan.
getBackupPlanFromTemplateResponse_httpStatus :: Lens' GetBackupPlanFromTemplateResponse Int Source #
The response's http status code.