1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdatePublishingDestination`](crate::operation::update_publishing_destination::builders::UpdatePublishingDestinationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`detector_id(impl Into<String>)`](crate::operation::update_publishing_destination::builders::UpdatePublishingDestinationFluentBuilder::detector_id) / [`set_detector_id(Option<String>)`](crate::operation::update_publishing_destination::builders::UpdatePublishingDestinationFluentBuilder::set_detector_id):<br>required: **true**<br><p>The ID of the detector associated with the publishing destinations to update.</p><br>
    ///   - [`destination_id(impl Into<String>)`](crate::operation::update_publishing_destination::builders::UpdatePublishingDestinationFluentBuilder::destination_id) / [`set_destination_id(Option<String>)`](crate::operation::update_publishing_destination::builders::UpdatePublishingDestinationFluentBuilder::set_destination_id):<br>required: **true**<br><p>The ID of the publishing destination to update.</p><br>
    ///   - [`destination_properties(DestinationProperties)`](crate::operation::update_publishing_destination::builders::UpdatePublishingDestinationFluentBuilder::destination_properties) / [`set_destination_properties(Option<DestinationProperties>)`](crate::operation::update_publishing_destination::builders::UpdatePublishingDestinationFluentBuilder::set_destination_properties):<br>required: **false**<br><p>A <code>DestinationProperties</code> object that includes the <code>DestinationArn</code> and <code>KmsKeyArn</code> of the publishing destination.</p><br>
    /// - On success, responds with [`UpdatePublishingDestinationOutput`](crate::operation::update_publishing_destination::UpdatePublishingDestinationOutput)
    /// - On failure, responds with [`SdkError<UpdatePublishingDestinationError>`](crate::operation::update_publishing_destination::UpdatePublishingDestinationError)
    pub fn update_publishing_destination(
        &self,
    ) -> crate::operation::update_publishing_destination::builders::UpdatePublishingDestinationFluentBuilder {
        crate::operation::update_publishing_destination::builders::UpdatePublishingDestinationFluentBuilder::new(self.handle.clone())
    }
}