aws_sdk_codestarnotifications/client/delete_notification_rule.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 [`DeleteNotificationRule`](crate::operation::delete_notification_rule::builders::DeleteNotificationRuleFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`arn(impl Into<String>)`](crate::operation::delete_notification_rule::builders::DeleteNotificationRuleFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::delete_notification_rule::builders::DeleteNotificationRuleFluentBuilder::set_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the notification rule you want to delete.</p><br>
7 /// - On success, responds with [`DeleteNotificationRuleOutput`](crate::operation::delete_notification_rule::DeleteNotificationRuleOutput) with field(s):
8 /// - [`arn(Option<String>)`](crate::operation::delete_notification_rule::DeleteNotificationRuleOutput::arn): <p>The Amazon Resource Name (ARN) of the deleted notification rule.</p>
9 /// - On failure, responds with [`SdkError<DeleteNotificationRuleError>`](crate::operation::delete_notification_rule::DeleteNotificationRuleError)
10 pub fn delete_notification_rule(&self) -> crate::operation::delete_notification_rule::builders::DeleteNotificationRuleFluentBuilder {
11 crate::operation::delete_notification_rule::builders::DeleteNotificationRuleFluentBuilder::new(self.handle.clone())
12 }
13}