aws_sdk_ssmcontacts/client/
deactivate_contact_channel.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`DeactivateContactChannel`](crate::operation::deactivate_contact_channel::builders::DeactivateContactChannelFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`contact_channel_id(impl Into<String>)`](crate::operation::deactivate_contact_channel::builders::DeactivateContactChannelFluentBuilder::contact_channel_id) / [`set_contact_channel_id(Option<String>)`](crate::operation::deactivate_contact_channel::builders::DeactivateContactChannelFluentBuilder::set_contact_channel_id):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the contact channel you're deactivating.</p><br>
7    /// - On success, responds with [`DeactivateContactChannelOutput`](crate::operation::deactivate_contact_channel::DeactivateContactChannelOutput)
8    /// - On failure, responds with [`SdkError<DeactivateContactChannelError>`](crate::operation::deactivate_contact_channel::DeactivateContactChannelError)
9    pub fn deactivate_contact_channel(&self) -> crate::operation::deactivate_contact_channel::builders::DeactivateContactChannelFluentBuilder {
10        crate::operation::deactivate_contact_channel::builders::DeactivateContactChannelFluentBuilder::new(self.handle.clone())
11    }
12}