pub struct CloudtrailClient<'a> { /* private fields */ }Expand description
Client for the AWS CloudTrail API
Implementations§
Source§impl<'a> CloudtrailClient<'a>
impl<'a> CloudtrailClient<'a>
Sourcepub async fn describe_trails(
&self,
body: &DescribeTrailsRequest,
) -> Result<DescribeTrailsResponse>
pub async fn describe_trails( &self, body: &DescribeTrailsRequest, ) -> Result<DescribeTrailsResponse>
Retrieves settings for one or more trails associated with the current region.
Sourcepub async fn get_trail_status(
&self,
body: &GetTrailStatusRequest,
) -> Result<GetTrailStatusResponse>
pub async fn get_trail_status( &self, body: &GetTrailStatusRequest, ) -> Result<GetTrailStatusResponse>
Returns a JSON-formatted list of information about the specified trail.
Sourcepub async fn get_event_selectors(
&self,
body: &GetEventSelectorsRequest,
) -> Result<GetEventSelectorsResponse>
pub async fn get_event_selectors( &self, body: &GetEventSelectorsRequest, ) -> Result<GetEventSelectorsResponse>
Describes the settings for the event selectors configured for your trail.
Sourcepub async fn delete_trail(
&self,
body: &DeleteTrailRequest,
) -> Result<DeleteTrailResponse>
pub async fn delete_trail( &self, body: &DeleteTrailRequest, ) -> Result<DeleteTrailResponse>
Deletes a trail.
Sourcepub async fn update_trail(
&self,
body: &UpdateTrailRequest,
) -> Result<UpdateTrailResponse>
pub async fn update_trail( &self, body: &UpdateTrailRequest, ) -> Result<UpdateTrailResponse>
Updates trail settings that control what events you are logging.
Auto Trait Implementations§
impl<'a> Freeze for CloudtrailClient<'a>
impl<'a> !RefUnwindSafe for CloudtrailClient<'a>
impl<'a> Send for CloudtrailClient<'a>
impl<'a> Sync for CloudtrailClient<'a>
impl<'a> Unpin for CloudtrailClient<'a>
impl<'a> UnsafeUnpin for CloudtrailClient<'a>
impl<'a> !UnwindSafe for CloudtrailClient<'a>
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