Skip to main content

aws_sdk_connect/client/
describe_notification.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 [`DescribeNotification`](crate::operation::describe_notification::builders::DescribeNotificationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`instance_id(impl Into<String>)`](crate::operation::describe_notification::builders::DescribeNotificationFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::describe_notification::builders::DescribeNotificationFluentBuilder::set_instance_id):<br>required: **true**<br><p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p><br>
7    ///   - [`notification_id(impl Into<String>)`](crate::operation::describe_notification::builders::DescribeNotificationFluentBuilder::notification_id) / [`set_notification_id(Option<String>)`](crate::operation::describe_notification::builders::DescribeNotificationFluentBuilder::set_notification_id):<br>required: **true**<br><p>The unique identifier for the notification.</p><br>
8    /// - On success, responds with [`DescribeNotificationOutput`](crate::operation::describe_notification::DescribeNotificationOutput) with field(s):
9    ///   - [`notification(Option<Notification>)`](crate::operation::describe_notification::DescribeNotificationOutput::notification): <p>The complete notification information including content, priority, recipients, and metadata.</p>
10    /// - On failure, responds with [`SdkError<DescribeNotificationError>`](crate::operation::describe_notification::DescribeNotificationError)
11    pub fn describe_notification(&self) -> crate::operation::describe_notification::builders::DescribeNotificationFluentBuilder {
12        crate::operation::describe_notification::builders::DescribeNotificationFluentBuilder::new(self.handle.clone())
13    }
14}