pub struct InvokeRequestBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> InvokeRequestBuilder<S>
impl<S: State> InvokeRequestBuilder<S>
Sourcepub fn build(self) -> InvokeRequestwhere
S: IsComplete,
pub fn build(self) -> InvokeRequestwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn function_name(
self,
value: String,
) -> InvokeRequestBuilder<SetFunctionName<S>>where
S::FunctionName: IsUnset,
pub fn function_name(
self,
value: String,
) -> InvokeRequestBuilder<SetFunctionName<S>>where
S::FunctionName: IsUnset,
Required.
The name of the Lambda function
Sourcepub fn invocation_type(
self,
value: InvocationType,
) -> InvokeRequestBuilder<SetInvocationType<S>>where
S::InvocationType: IsUnset,
pub fn invocation_type(
self,
value: InvocationType,
) -> InvokeRequestBuilder<SetInvocationType<S>>where
S::InvocationType: IsUnset,
Sourcepub fn maybe_invocation_type(
self,
value: Option<InvocationType>,
) -> InvokeRequestBuilder<SetInvocationType<S>>where
S::InvocationType: IsUnset,
pub fn maybe_invocation_type(
self,
value: Option<InvocationType>,
) -> InvokeRequestBuilder<SetInvocationType<S>>where
S::InvocationType: IsUnset,
Sourcepub fn qualifier(self, value: String) -> InvokeRequestBuilder<SetQualifier<S>>where
S::Qualifier: IsUnset,
pub fn qualifier(self, value: String) -> InvokeRequestBuilder<SetQualifier<S>>where
S::Qualifier: IsUnset,
Sourcepub fn maybe_qualifier(
self,
value: Option<String>,
) -> InvokeRequestBuilder<SetQualifier<S>>where
S::Qualifier: IsUnset,
pub fn maybe_qualifier(
self,
value: Option<String>,
) -> InvokeRequestBuilder<SetQualifier<S>>where
S::Qualifier: IsUnset,
Sourcepub fn client_context(
self,
value: String,
) -> InvokeRequestBuilder<SetClientContext<S>>where
S::ClientContext: IsUnset,
pub fn client_context(
self,
value: String,
) -> InvokeRequestBuilder<SetClientContext<S>>where
S::ClientContext: IsUnset,
Sourcepub fn maybe_client_context(
self,
value: Option<String>,
) -> InvokeRequestBuilder<SetClientContext<S>>where
S::ClientContext: IsUnset,
pub fn maybe_client_context(
self,
value: Option<String>,
) -> InvokeRequestBuilder<SetClientContext<S>>where
S::ClientContext: IsUnset,
Sourcepub fn log_type(self, value: String) -> InvokeRequestBuilder<SetLogType<S>>where
S::LogType: IsUnset,
pub fn log_type(self, value: String) -> InvokeRequestBuilder<SetLogType<S>>where
S::LogType: IsUnset,
Sourcepub fn maybe_log_type(
self,
value: Option<String>,
) -> InvokeRequestBuilder<SetLogType<S>>where
S::LogType: IsUnset,
pub fn maybe_log_type(
self,
value: Option<String>,
) -> InvokeRequestBuilder<SetLogType<S>>where
S::LogType: IsUnset,
Sourcepub fn payload(self, value: Vec<u8>) -> InvokeRequestBuilder<SetPayload<S>>where
S::Payload: IsUnset,
pub fn payload(self, value: Vec<u8>) -> InvokeRequestBuilder<SetPayload<S>>where
S::Payload: IsUnset,
Sourcepub fn maybe_payload(
self,
value: Option<Vec<u8>>,
) -> InvokeRequestBuilder<SetPayload<S>>where
S::Payload: IsUnset,
pub fn maybe_payload(
self,
value: Option<Vec<u8>>,
) -> InvokeRequestBuilder<SetPayload<S>>where
S::Payload: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for InvokeRequestBuilder<S>
impl<S> RefUnwindSafe for InvokeRequestBuilder<S>
impl<S> Send for InvokeRequestBuilder<S>
impl<S> Sync for InvokeRequestBuilder<S>
impl<S> Unpin for InvokeRequestBuilder<S>
impl<S> UnsafeUnpin for InvokeRequestBuilder<S>
impl<S> UnwindSafe for InvokeRequestBuilder<S>
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> 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.