aws_sdk_connectcampaignsv2/client/stop_campaign.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 [`StopCampaign`](crate::operation::stop_campaign::builders::StopCampaignFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`id(impl Into<String>)`](crate::operation::stop_campaign::builders::StopCampaignFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::stop_campaign::builders::StopCampaignFluentBuilder::set_id):<br>required: **true**<br>Identifier representing a Campaign<br>
7 /// - On success, responds with [`StopCampaignOutput`](crate::operation::stop_campaign::StopCampaignOutput)
8 /// - On failure, responds with [`SdkError<StopCampaignError>`](crate::operation::stop_campaign::StopCampaignError)
9 pub fn stop_campaign(&self) -> crate::operation::stop_campaign::builders::StopCampaignFluentBuilder {
10 crate::operation::stop_campaign::builders::StopCampaignFluentBuilder::new(self.handle.clone())
11 }
12}