pub struct DeleteTrailFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteTrail
.
Deletes a trail. This operation must be called from the Region in which the trail was created. DeleteTrail
cannot be called on the shadow trails (replicated trails in other Regions) of a trail that is enabled in all Regions.
Implementations§
source§impl DeleteTrailFluentBuilder
impl DeleteTrailFluentBuilder
sourcepub fn as_input(&self) -> &DeleteTrailInputBuilder
pub fn as_input(&self) -> &DeleteTrailInputBuilder
Access the DeleteTrail as a reference.
sourcepub async fn send(
self
) -> Result<DeleteTrailOutput, SdkError<DeleteTrailError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteTrailOutput, SdkError<DeleteTrailError, 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<DeleteTrailOutput, DeleteTrailError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteTrailOutput, DeleteTrailError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
Specifies the name or the CloudTrail ARN of the trail to be deleted. The following is the format of a trail ARN. arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
Trait Implementations§
source§impl Clone for DeleteTrailFluentBuilder
impl Clone for DeleteTrailFluentBuilder
source§fn clone(&self) -> DeleteTrailFluentBuilder
fn clone(&self) -> DeleteTrailFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for DeleteTrailFluentBuilder
impl !RefUnwindSafe for DeleteTrailFluentBuilder
impl Send for DeleteTrailFluentBuilder
impl Sync for DeleteTrailFluentBuilder
impl Unpin for DeleteTrailFluentBuilder
impl !UnwindSafe for DeleteTrailFluentBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more