Skip to main content

aws_sdk_connect/client/
update_notification_content.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 [`UpdateNotificationContent`](crate::operation::update_notification_content::builders::UpdateNotificationContentFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`instance_id(impl Into<String>)`](crate::operation::update_notification_content::builders::UpdateNotificationContentFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::update_notification_content::builders::UpdateNotificationContentFluentBuilder::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::update_notification_content::builders::UpdateNotificationContentFluentBuilder::notification_id) / [`set_notification_id(Option<String>)`](crate::operation::update_notification_content::builders::UpdateNotificationContentFluentBuilder::set_notification_id):<br>required: **true**<br><p>The unique identifier for the notification to update.</p><br>
8    ///   - [`content(LocaleCode, impl Into<String>)`](crate::operation::update_notification_content::builders::UpdateNotificationContentFluentBuilder::content) / [`set_content(Option<HashMap::<LocaleCode, String>>)`](crate::operation::update_notification_content::builders::UpdateNotificationContentFluentBuilder::set_content):<br>required: **true**<br><p>The updated localized content of the notification. A map of locale codes and values. Maximum 500 characters per locale.</p><br>
9    /// - On success, responds with [`UpdateNotificationContentOutput`](crate::operation::update_notification_content::UpdateNotificationContentOutput)
10    /// - On failure, responds with [`SdkError<UpdateNotificationContentError>`](crate::operation::update_notification_content::UpdateNotificationContentError)
11    pub fn update_notification_content(&self) -> crate::operation::update_notification_content::builders::UpdateNotificationContentFluentBuilder {
12        crate::operation::update_notification_content::builders::UpdateNotificationContentFluentBuilder::new(self.handle.clone())
13    }
14}