pub struct GeneratedClient<R: Runtime = DefaultRuntime> { /* private fields */ }Expand description
Auto-generated typed client covering all Smithy 2.0 operations for AWS cloudtrail-data.
Implementations§
Source§impl<R: Runtime> GeneratedClient<R>
impl<R: Runtime> GeneratedClient<R>
Sourcepub const fn new(client: AwsClient<R>) -> Self
pub const fn new(client: AwsClient<R>) -> Self
Creates a new GeneratedClient wrapping client.
Sourcepub async fn put_audit_events(
&self,
input: &PutAuditEventsRequest,
) -> Result<PutAuditEventsResponse, AwsError>
pub async fn put_audit_events( &self, input: &PutAuditEventsRequest, ) -> Result<PutAuditEventsResponse, AwsError>
Invokes AWS PutAuditEvents operation.
Trait Implementations§
Source§impl<R: Runtime> Clone for GeneratedClient<R>
impl<R: Runtime> Clone for GeneratedClient<R>
Auto Trait Implementations§
impl<R> Forget for GeneratedClient<R>
impl<R> Freeze for GeneratedClient<R>where
*const ArcInner<AwsClientInner<R>> is !null: Freeze,
PhantomData<ArcInner<AwsClientInner<R>>>: Freeze,
impl<R> Move for GeneratedClient<R>
impl<R> RefUnwindSafe for GeneratedClient<R>where
Atomic<usize>: RefUnwindSafe,
<R as Runtime>::Credentials: RefUnwindSafe,
String: RefUnwindSafe,
<R as Runtime>::Transport: RefUnwindSafe,
<R as Runtime>::Clock: RefUnwindSafe,
RwLock<VecDeque<(CacheKey, SigningKey)>>: RefUnwindSafe,
Atomic<u32>: RefUnwindSafe,
OnceLock<Vec<OnceLock<Url>>>: RefUnwindSafe,
RwLock<HashMap<String, Url>>: RefUnwindSafe,
Atomic<i64>: RefUnwindSafe,
impl<R> Send for GeneratedClient<R>
impl<R> Sync for GeneratedClient<R>
impl<R> Unpin for GeneratedClient<R>
impl<R> UnsafeUnpin for GeneratedClient<R>where
*const ArcInner<AwsClientInner<R>> is !null: UnsafeUnpin,
PhantomData<ArcInner<AwsClientInner<R>>>: UnsafeUnpin,
impl<R> UnwindSafe for GeneratedClient<R>where
Arc<AwsClientInner<R>>: UnwindSafe,
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