pub struct LambdaClient { /* private fields */ }Implementations§
Source§impl LambdaClient
impl LambdaClient
pub fn new(client: Client, credentials: AwsCredentialProvider) -> Self
Trait Implementations§
Source§impl Clone for LambdaClient
impl Clone for LambdaClient
Source§fn clone(&self) -> LambdaClient
fn clone(&self) -> LambdaClient
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LambdaClient
impl Debug for LambdaClient
Source§impl LambdaApi for LambdaClient
impl LambdaApi for LambdaClient
fn create_function<'life0, 'async_trait>(
&'life0 self,
request: CreateFunctionRequest,
) -> Pin<Box<dyn Future<Output = Result<FunctionConfiguration>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_function_url_config<'life0, 'life1, 'async_trait>(
&'life0 self,
function_name: &'life1 str,
request: CreateFunctionUrlConfigRequest,
) -> Pin<Box<dyn Future<Output = Result<CreateFunctionUrlConfigResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn add_permission<'life0, 'life1, 'async_trait>(
&'life0 self,
function_name: &'life1 str,
request: AddPermissionRequest,
) -> Pin<Box<dyn Future<Output = Result<AddPermissionResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn update_function_code<'life0, 'life1, 'async_trait>(
&'life0 self,
function_name: &'life1 str,
request: UpdateFunctionCodeRequest,
) -> Pin<Box<dyn Future<Output = Result<FunctionConfiguration>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn update_function_configuration<'life0, 'life1, 'async_trait>(
&'life0 self,
function_name: &'life1 str,
request: UpdateFunctionConfigurationRequest,
) -> Pin<Box<dyn Future<Output = Result<FunctionConfiguration>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_function_configuration<'life0, 'life1, 'async_trait>(
&'life0 self,
function_name: &'life1 str,
qualifier: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<FunctionConfiguration>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn delete_function_url_config<'life0, 'life1, 'async_trait>(
&'life0 self,
function_name: &'life1 str,
qualifier: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_function_url_config<'life0, 'life1, 'async_trait>(
&'life0 self,
function_name: &'life1 str,
qualifier: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<FunctionUrlConfig>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn delete_function<'life0, 'life1, 'async_trait>(
&'life0 self,
function_name: &'life1 str,
qualifier: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_policy<'life0, 'life1, 'async_trait>(
&'life0 self,
function_name: &'life1 str,
qualifier: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<GetPolicyResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn invoke<'life0, 'async_trait>(
&'life0 self,
request: InvokeRequest,
) -> Pin<Box<dyn Future<Output = Result<InvokeResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_event_source_mapping<'life0, 'async_trait>(
&'life0 self,
request: CreateEventSourceMappingRequest,
) -> Pin<Box<dyn Future<Output = Result<EventSourceMapping>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_event_source_mapping<'life0, 'life1, 'async_trait>(
&'life0 self,
uuid: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<EventSourceMapping>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn update_event_source_mapping<'life0, 'life1, 'async_trait>(
&'life0 self,
uuid: &'life1 str,
request: UpdateEventSourceMappingRequest,
) -> Pin<Box<dyn Future<Output = Result<EventSourceMapping>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn delete_event_source_mapping<'life0, 'life1, 'async_trait>(
&'life0 self,
uuid: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<EventSourceMapping>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn list_event_source_mappings<'life0, 'async_trait>(
&'life0 self,
request: ListEventSourceMappingsRequest,
) -> Pin<Box<dyn Future<Output = Result<ListEventSourceMappingsResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn put_function_concurrency<'life0, 'life1, 'async_trait>(
&'life0 self,
function_name: &'life1 str,
reserved_concurrent_executions: u32,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn delete_function_concurrency<'life0, 'life1, 'async_trait>(
&'life0 self,
function_name: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl !RefUnwindSafe for LambdaClient
impl !UnwindSafe for LambdaClient
impl Freeze for LambdaClient
impl Send for LambdaClient
impl Sync for LambdaClient
impl Unpin for LambdaClient
impl UnsafeUnpin for LambdaClient
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.