aws_sdk_arcregionswitch/client/get_plan.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 [`GetPlan`](crate::operation::get_plan::builders::GetPlanFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`arn(impl Into<String>)`](crate::operation::get_plan::builders::GetPlanFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::get_plan::builders::GetPlanFluentBuilder::set_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the plan.</p><br>
7 /// - On success, responds with [`GetPlanOutput`](crate::operation::get_plan::GetPlanOutput) with field(s):
8 /// - [`plan(Option<Plan>)`](crate::operation::get_plan::GetPlanOutput::plan): <p>The detailed information about the requested Region switch plan.</p>
9 /// - On failure, responds with [`SdkError<GetPlanError>`](crate::operation::get_plan::GetPlanError)
10 pub fn get_plan(&self) -> crate::operation::get_plan::builders::GetPlanFluentBuilder {
11 crate::operation::get_plan::builders::GetPlanFluentBuilder::new(self.handle.clone())
12 }
13}