Struct aws_sdk_codestarnotifications::operation::delete_target::builders::DeleteTargetFluentBuilder
source · pub struct DeleteTargetFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteTarget
.
Deletes a specified target for notifications.
Implementations§
source§impl DeleteTargetFluentBuilder
impl DeleteTargetFluentBuilder
sourcepub fn as_input(&self) -> &DeleteTargetInputBuilder
pub fn as_input(&self) -> &DeleteTargetInputBuilder
Access the DeleteTarget as a reference.
sourcepub async fn send(
self
) -> Result<DeleteTargetOutput, SdkError<DeleteTargetError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteTargetOutput, SdkError<DeleteTargetError, 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<DeleteTargetOutput, DeleteTargetError>, SdkError<DeleteTargetError>>
pub async fn customize( self ) -> Result<CustomizableOperation<DeleteTargetOutput, DeleteTargetError>, SdkError<DeleteTargetError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn target_address(self, input: impl Into<String>) -> Self
pub fn target_address(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client to delete.
sourcepub fn set_target_address(self, input: Option<String>) -> Self
pub fn set_target_address(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client to delete.
sourcepub fn get_target_address(&self) -> &Option<String>
pub fn get_target_address(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client to delete.
sourcepub fn force_unsubscribe_all(self, input: bool) -> Self
pub fn force_unsubscribe_all(self, input: bool) -> Self
A Boolean value that can be used to delete all associations with this Chatbot topic. The default value is FALSE. If set to TRUE, all associations between that target and every notification rule in your Amazon Web Services account are deleted.
sourcepub fn set_force_unsubscribe_all(self, input: Option<bool>) -> Self
pub fn set_force_unsubscribe_all(self, input: Option<bool>) -> Self
A Boolean value that can be used to delete all associations with this Chatbot topic. The default value is FALSE. If set to TRUE, all associations between that target and every notification rule in your Amazon Web Services account are deleted.
sourcepub fn get_force_unsubscribe_all(&self) -> &Option<bool>
pub fn get_force_unsubscribe_all(&self) -> &Option<bool>
A Boolean value that can be used to delete all associations with this Chatbot topic. The default value is FALSE. If set to TRUE, all associations between that target and every notification rule in your Amazon Web Services account are deleted.
Trait Implementations§
source§impl Clone for DeleteTargetFluentBuilder
impl Clone for DeleteTargetFluentBuilder
source§fn clone(&self) -> DeleteTargetFluentBuilder
fn clone(&self) -> DeleteTargetFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more