aws_sdk_notifications/client/update_notification_configuration.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateNotificationConfiguration`](crate::operation::update_notification_configuration::builders::UpdateNotificationConfigurationFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`arn(impl Into<String>)`](crate::operation::update_notification_configuration::builders::UpdateNotificationConfigurationFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::update_notification_configuration::builders::UpdateNotificationConfigurationFluentBuilder::set_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) used to update the NotificationConfiguration.</p><br>
/// - [`name(impl Into<String>)`](crate::operation::update_notification_configuration::builders::UpdateNotificationConfigurationFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_notification_configuration::builders::UpdateNotificationConfigurationFluentBuilder::set_name):<br>required: **false**<br><p>The name of the NotificationConfiguration.</p><br>
/// - [`description(impl Into<String>)`](crate::operation::update_notification_configuration::builders::UpdateNotificationConfigurationFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_notification_configuration::builders::UpdateNotificationConfigurationFluentBuilder::set_description):<br>required: **false**<br><p>The description of the NotificationConfiguration.</p><br>
/// - [`aggregation_duration(AggregationDuration)`](crate::operation::update_notification_configuration::builders::UpdateNotificationConfigurationFluentBuilder::aggregation_duration) / [`set_aggregation_duration(Option<AggregationDuration>)`](crate::operation::update_notification_configuration::builders::UpdateNotificationConfigurationFluentBuilder::set_aggregation_duration):<br>required: **false**<br><p>The status of this NotificationConfiguration.</p> <p>The status should always be <code>INACTIVE</code> when part of the CreateNotificationConfiguration response.</p> <ul> <li> <p>Values:</p> <ul> <li> <p><code>ACTIVE</code></p> <ul> <li> <p>All EventRules are <code>ACTIVE</code> and any call can be run.</p></li> </ul></li> <li> <p><code>PARTIALLY_ACTIVE</code></p> <ul> <li> <p>Some EventRules are <code>ACTIVE</code> and some are <code>INACTIVE</code>. Any call can be run.</p></li> <li> <p>Any call can be run.</p></li> </ul></li> <li> <p><code>INACTIVE</code></p> <ul> <li> <p>All EventRules are <code>INACTIVE</code> and any call can be run.</p></li> </ul></li> <li> <p><code>DELETING</code></p> <ul> <li> <p>This NotificationConfiguration is being deleted.</p></li> <li> <p>Only <code>GET</code> and <code>LIST</code> calls can be run.</p></li> </ul></li> </ul></li> </ul><br>
/// - On success, responds with [`UpdateNotificationConfigurationOutput`](crate::operation::update_notification_configuration::UpdateNotificationConfigurationOutput) with field(s):
/// - [`arn(String)`](crate::operation::update_notification_configuration::UpdateNotificationConfigurationOutput::arn): <p>The ARN used to update the NotificationConfiguration.</p>
/// - On failure, responds with [`SdkError<UpdateNotificationConfigurationError>`](crate::operation::update_notification_configuration::UpdateNotificationConfigurationError)
pub fn update_notification_configuration(
&self,
) -> crate::operation::update_notification_configuration::builders::UpdateNotificationConfigurationFluentBuilder {
crate::operation::update_notification_configuration::builders::UpdateNotificationConfigurationFluentBuilder::new(self.handle.clone())
}
}