Struct aws_sdk_codestarnotifications::operation::delete_notification_rule::builders::DeleteNotificationRuleFluentBuilder
source · pub struct DeleteNotificationRuleFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteNotificationRule
.
Deletes a notification rule for a resource.
Implementations§
source§impl DeleteNotificationRuleFluentBuilder
impl DeleteNotificationRuleFluentBuilder
sourcepub fn as_input(&self) -> &DeleteNotificationRuleInputBuilder
pub fn as_input(&self) -> &DeleteNotificationRuleInputBuilder
Access the DeleteNotificationRule as a reference.
sourcepub async fn send(
self
) -> Result<DeleteNotificationRuleOutput, SdkError<DeleteNotificationRuleError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteNotificationRuleOutput, SdkError<DeleteNotificationRuleError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DeleteNotificationRuleOutput, DeleteNotificationRuleError>, SdkError<DeleteNotificationRuleError>>
pub async fn customize( self ) -> Result<CustomizableOperation<DeleteNotificationRuleOutput, DeleteNotificationRuleError>, SdkError<DeleteNotificationRuleError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the notification rule you want to delete.
Trait Implementations§
source§impl Clone for DeleteNotificationRuleFluentBuilder
impl Clone for DeleteNotificationRuleFluentBuilder
source§fn clone(&self) -> DeleteNotificationRuleFluentBuilder
fn clone(&self) -> DeleteNotificationRuleFluentBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for DeleteNotificationRuleFluentBuilder
impl Send for DeleteNotificationRuleFluentBuilder
impl Sync for DeleteNotificationRuleFluentBuilder
impl Unpin for DeleteNotificationRuleFluentBuilder
impl !UnwindSafe for DeleteNotificationRuleFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more