aws_sdk_backup/client/get_backup_plan_from_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 [`GetBackupPlanFromTemplate`](crate::operation::get_backup_plan_from_template::builders::GetBackupPlanFromTemplateFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`backup_plan_template_id(impl Into<String>)`](crate::operation::get_backup_plan_from_template::builders::GetBackupPlanFromTemplateFluentBuilder::backup_plan_template_id) / [`set_backup_plan_template_id(Option<String>)`](crate::operation::get_backup_plan_from_template::builders::GetBackupPlanFromTemplateFluentBuilder::set_backup_plan_template_id):<br>required: **true**<br><p>Uniquely identifies a stored backup plan template.</p><br>
7 /// - On success, responds with [`GetBackupPlanFromTemplateOutput`](crate::operation::get_backup_plan_from_template::GetBackupPlanFromTemplateOutput) with field(s):
8 /// - [`backup_plan_document(Option<BackupPlan>)`](crate::operation::get_backup_plan_from_template::GetBackupPlanFromTemplateOutput::backup_plan_document): <p>Returns the body of a backup plan based on the target template, including the name, rules, and backup vault of the plan.</p>
9 /// - On failure, responds with [`SdkError<GetBackupPlanFromTemplateError>`](crate::operation::get_backup_plan_from_template::GetBackupPlanFromTemplateError)
10 pub fn get_backup_plan_from_template(&self) -> crate::operation::get_backup_plan_from_template::builders::GetBackupPlanFromTemplateFluentBuilder {
11 crate::operation::get_backup_plan_from_template::builders::GetBackupPlanFromTemplateFluentBuilder::new(self.handle.clone())
12 }
13}