aws_sdk_arcregionswitch/client/delete_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 [`DeletePlan`](crate::operation::delete_plan::builders::DeletePlanFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`arn(impl Into<String>)`](crate::operation::delete_plan::builders::DeletePlanFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::delete_plan::builders::DeletePlanFluentBuilder::set_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the plan.</p><br>
7 /// - On success, responds with [`DeletePlanOutput`](crate::operation::delete_plan::DeletePlanOutput)
8 /// - On failure, responds with [`SdkError<DeletePlanError>`](crate::operation::delete_plan::DeletePlanError)
9 pub fn delete_plan(&self) -> crate::operation::delete_plan::builders::DeletePlanFluentBuilder {
10 crate::operation::delete_plan::builders::DeletePlanFluentBuilder::new(self.handle.clone())
11 }
12}