pub struct DeleteTarget { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteTarget
.
Deletes a specified target for notifications.
Implementations§
source§impl DeleteTarget
impl DeleteTarget
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DeleteTarget, AwsResponseRetryClassifier>, SdkError<DeleteTargetError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DeleteTarget, AwsResponseRetryClassifier>, SdkError<DeleteTargetError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<DeleteTargetOutput, SdkError<DeleteTargetError>>
pub async fn send(
self
) -> Result<DeleteTargetOutput, SdkError<DeleteTargetError>>
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 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 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.
Trait Implementations§
source§impl Clone for DeleteTarget
impl Clone for DeleteTarget
source§fn clone(&self) -> DeleteTarget
fn clone(&self) -> DeleteTarget
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more