aws_sdk_connectcampaignsv2/client/describe_campaign.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DescribeCampaign`](crate::operation::describe_campaign::builders::DescribeCampaignFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`id(impl Into<String>)`](crate::operation::describe_campaign::builders::DescribeCampaignFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::describe_campaign::builders::DescribeCampaignFluentBuilder::set_id):<br>required: **true**<br>Identifier representing a Campaign<br>
/// - On success, responds with [`DescribeCampaignOutput`](crate::operation::describe_campaign::DescribeCampaignOutput) with field(s):
/// - [`campaign(Option<Campaign>)`](crate::operation::describe_campaign::DescribeCampaignOutput::campaign): An Amazon Connect campaign.
/// - On failure, responds with [`SdkError<DescribeCampaignError>`](crate::operation::describe_campaign::DescribeCampaignError)
pub fn describe_campaign(&self) -> crate::operation::describe_campaign::builders::DescribeCampaignFluentBuilder {
crate::operation::describe_campaign::builders::DescribeCampaignFluentBuilder::new(self.handle.clone())
}
}