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 backup plan that is specified by the plan ID as a backup template.
Synopsis
- data ExportBackupPlanTemplate = ExportBackupPlanTemplate' {
- backupPlanId :: Text
- newExportBackupPlanTemplate :: Text -> ExportBackupPlanTemplate
- exportBackupPlanTemplate_backupPlanId :: Lens' ExportBackupPlanTemplate Text
- data ExportBackupPlanTemplateResponse = ExportBackupPlanTemplateResponse' {}
- newExportBackupPlanTemplateResponse :: Int -> ExportBackupPlanTemplateResponse
- exportBackupPlanTemplateResponse_backupPlanTemplateJson :: Lens' ExportBackupPlanTemplateResponse (Maybe Text)
- exportBackupPlanTemplateResponse_httpStatus :: Lens' ExportBackupPlanTemplateResponse Int
Creating a Request
data ExportBackupPlanTemplate Source #
See: newExportBackupPlanTemplate
smart constructor.
ExportBackupPlanTemplate' | |
|
Instances
newExportBackupPlanTemplate Source #
Create a value of ExportBackupPlanTemplate
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:backupPlanId:ExportBackupPlanTemplate'
, exportBackupPlanTemplate_backupPlanId
- Uniquely identifies a backup plan.
Request Lenses
exportBackupPlanTemplate_backupPlanId :: Lens' ExportBackupPlanTemplate Text Source #
Uniquely identifies a backup plan.
Destructuring the Response
data ExportBackupPlanTemplateResponse Source #
See: newExportBackupPlanTemplateResponse
smart constructor.
ExportBackupPlanTemplateResponse' | |
|
Instances
Eq ExportBackupPlanTemplateResponse Source # | |
Read ExportBackupPlanTemplateResponse Source # | |
Show ExportBackupPlanTemplateResponse Source # | |
Defined in Amazonka.Backup.ExportBackupPlanTemplate | |
Generic ExportBackupPlanTemplateResponse Source # | |
NFData ExportBackupPlanTemplateResponse Source # | |
Defined in Amazonka.Backup.ExportBackupPlanTemplate rnf :: ExportBackupPlanTemplateResponse -> () # | |
type Rep ExportBackupPlanTemplateResponse Source # | |
Defined in Amazonka.Backup.ExportBackupPlanTemplate type Rep ExportBackupPlanTemplateResponse = D1 ('MetaData "ExportBackupPlanTemplateResponse" "Amazonka.Backup.ExportBackupPlanTemplate" "libZSservicesZSamazonka-backupZSamazonka-backup" 'False) (C1 ('MetaCons "ExportBackupPlanTemplateResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "backupPlanTemplateJson") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newExportBackupPlanTemplateResponse Source #
Create a value of ExportBackupPlanTemplateResponse
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:backupPlanTemplateJson:ExportBackupPlanTemplateResponse'
, exportBackupPlanTemplateResponse_backupPlanTemplateJson
- The body of a backup plan template in JSON format.
This is a signed JSON document that cannot be modified before being
passed to GetBackupPlanFromJSON.
$sel:httpStatus:ExportBackupPlanTemplateResponse'
, exportBackupPlanTemplateResponse_httpStatus
- The response's http status code.
Response Lenses
exportBackupPlanTemplateResponse_backupPlanTemplateJson :: Lens' ExportBackupPlanTemplateResponse (Maybe Text) Source #
The body of a backup plan template in JSON format.
This is a signed JSON document that cannot be modified before being
passed to GetBackupPlanFromJSON.
exportBackupPlanTemplateResponse_httpStatus :: Lens' ExportBackupPlanTemplateResponse Int Source #
The response's http status code.