aws_sdk_notifications/client/
associate_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 [`AssociateChannel`](crate::operation::associate_channel::builders::AssociateChannelFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`arn(impl Into<String>)`](crate::operation::associate_channel::builders::AssociateChannelFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::associate_channel::builders::AssociateChannelFluentBuilder::set_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the Channel to associate with the <code>NotificationConfiguration</code>.</p> <p>Supported ARNs include Amazon Q Developer in chat applications, the Console Mobile Application, and notifications-contacts.</p><br>
7    ///   - [`notification_configuration_arn(impl Into<String>)`](crate::operation::associate_channel::builders::AssociateChannelFluentBuilder::notification_configuration_arn) / [`set_notification_configuration_arn(Option<String>)`](crate::operation::associate_channel::builders::AssociateChannelFluentBuilder::set_notification_configuration_arn):<br>required: **true**<br><p>The ARN of the <code>NotificationConfiguration</code> to associate with the Channel.</p><br>
8    /// - On success, responds with [`AssociateChannelOutput`](crate::operation::associate_channel::AssociateChannelOutput)
9    /// - On failure, responds with [`SdkError<AssociateChannelError>`](crate::operation::associate_channel::AssociateChannelError)
10    pub fn associate_channel(&self) -> crate::operation::associate_channel::builders::AssociateChannelFluentBuilder {
11        crate::operation::associate_channel::builders::AssociateChannelFluentBuilder::new(self.handle.clone())
12    }
13}