aws_sdk_connectcampaigns/client/pause_campaign.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`PauseCampaign`](crate::operation::pause_campaign::builders::PauseCampaignFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`id(impl Into<String>)`](crate::operation::pause_campaign::builders::PauseCampaignFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::pause_campaign::builders::PauseCampaignFluentBuilder::set_id):<br>required: **true**<br>Identifier representing a Campaign<br>
/// - On success, responds with [`PauseCampaignOutput`](crate::operation::pause_campaign::PauseCampaignOutput)
/// - On failure, responds with [`SdkError<PauseCampaignError>`](crate::operation::pause_campaign::PauseCampaignError)
pub fn pause_campaign(&self) -> crate::operation::pause_campaign::builders::PauseCampaignFluentBuilder {
crate::operation::pause_campaign::builders::PauseCampaignFluentBuilder::new(self.handle.clone())
}
}