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