aws_sdk_connectcampaignsv2/client/
update_campaign_source.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateCampaignSource`](crate::operation::update_campaign_source::builders::UpdateCampaignSourceFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`id(impl Into<String>)`](crate::operation::update_campaign_source::builders::UpdateCampaignSourceFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::update_campaign_source::builders::UpdateCampaignSourceFluentBuilder::set_id):<br>required: **true**<br>Identifier representing a Campaign<br>
    ///   - [`source(Source)`](crate::operation::update_campaign_source::builders::UpdateCampaignSourceFluentBuilder::source) / [`set_source(Option<Source>)`](crate::operation::update_campaign_source::builders::UpdateCampaignSourceFluentBuilder::set_source):<br>required: **true**<br>Source of the campaign<br>
    /// - On success, responds with [`UpdateCampaignSourceOutput`](crate::operation::update_campaign_source::UpdateCampaignSourceOutput)
    /// - On failure, responds with [`SdkError<UpdateCampaignSourceError>`](crate::operation::update_campaign_source::UpdateCampaignSourceError)
    pub fn update_campaign_source(&self) -> crate::operation::update_campaign_source::builders::UpdateCampaignSourceFluentBuilder {
        crate::operation::update_campaign_source::builders::UpdateCampaignSourceFluentBuilder::new(self.handle.clone())
    }
}