pub struct DeleteEventFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteEvent
.
Deletes the specified event.
When you delete an event, Amazon Fraud Detector permanently deletes that event and the event data is no longer stored in Amazon Fraud Detector. If deleteAuditHistory
is True
, event data is available through search for up to 30 seconds after the delete operation is completed.
Implementations§
source§impl DeleteEventFluentBuilder
impl DeleteEventFluentBuilder
sourcepub fn as_input(&self) -> &DeleteEventInputBuilder
pub fn as_input(&self) -> &DeleteEventInputBuilder
Access the DeleteEvent as a reference.
sourcepub async fn send(
self
) -> Result<DeleteEventOutput, SdkError<DeleteEventError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteEventOutput, SdkError<DeleteEventError, 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 fn customize(
self
) -> CustomizableOperation<DeleteEventOutput, DeleteEventError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteEventOutput, DeleteEventError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn set_event_id(self, input: Option<String>) -> Self
pub fn set_event_id(self, input: Option<String>) -> Self
The ID of the event to delete.
sourcepub fn get_event_id(&self) -> &Option<String>
pub fn get_event_id(&self) -> &Option<String>
The ID of the event to delete.
sourcepub fn event_type_name(self, input: impl Into<String>) -> Self
pub fn event_type_name(self, input: impl Into<String>) -> Self
The name of the event type.
sourcepub fn set_event_type_name(self, input: Option<String>) -> Self
pub fn set_event_type_name(self, input: Option<String>) -> Self
The name of the event type.
sourcepub fn get_event_type_name(&self) -> &Option<String>
pub fn get_event_type_name(&self) -> &Option<String>
The name of the event type.
sourcepub fn delete_audit_history(self, input: bool) -> Self
pub fn delete_audit_history(self, input: bool) -> Self
Specifies whether or not to delete any predictions associated with the event. If set to True
,
sourcepub fn set_delete_audit_history(self, input: Option<bool>) -> Self
pub fn set_delete_audit_history(self, input: Option<bool>) -> Self
Specifies whether or not to delete any predictions associated with the event. If set to True
,
sourcepub fn get_delete_audit_history(&self) -> &Option<bool>
pub fn get_delete_audit_history(&self) -> &Option<bool>
Specifies whether or not to delete any predictions associated with the event. If set to True
,
Trait Implementations§
source§impl Clone for DeleteEventFluentBuilder
impl Clone for DeleteEventFluentBuilder
source§fn clone(&self) -> DeleteEventFluentBuilder
fn clone(&self) -> DeleteEventFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more