| 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.ExportBackupPlanTemplate
Description
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.
Constructors
| ExportBackupPlanTemplate' | |
Fields
| |
Instances
newExportBackupPlanTemplate Source #
Arguments
| :: Text | |
| -> ExportBackupPlanTemplate |
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:
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.
Constructors
| ExportBackupPlanTemplateResponse' | |
Fields
| |
Instances
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.