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