aws_sdk_backup/client/export_backup_plan_template.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`ExportBackupPlanTemplate`](crate::operation::export_backup_plan_template::builders::ExportBackupPlanTemplateFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`backup_plan_id(impl Into<String>)`](crate::operation::export_backup_plan_template::builders::ExportBackupPlanTemplateFluentBuilder::backup_plan_id) / [`set_backup_plan_id(Option<String>)`](crate::operation::export_backup_plan_template::builders::ExportBackupPlanTemplateFluentBuilder::set_backup_plan_id):<br>required: **true**<br><p>Uniquely identifies a backup plan.</p><br>
7 /// - On success, responds with [`ExportBackupPlanTemplateOutput`](crate::operation::export_backup_plan_template::ExportBackupPlanTemplateOutput) with field(s):
8 /// - [`backup_plan_template_json(Option<String>)`](crate::operation::export_backup_plan_template::ExportBackupPlanTemplateOutput::backup_plan_template_json): <p>The body of a backup plan template in JSON format.</p><note> <p>This is a signed JSON document that cannot be modified before being passed to <code>GetBackupPlanFromJSON.</code></p> </note>
9 /// - On failure, responds with [`SdkError<ExportBackupPlanTemplateError>`](crate::operation::export_backup_plan_template::ExportBackupPlanTemplateError)
10 pub fn export_backup_plan_template(&self) -> crate::operation::export_backup_plan_template::builders::ExportBackupPlanTemplateFluentBuilder {
11 crate::operation::export_backup_plan_template::builders::ExportBackupPlanTemplateFluentBuilder::new(self.handle.clone())
12 }
13}