pub struct FunctionActiveV2FluentBuilder { /* private fields */ }Expand description
Fluent builder for the function_active_v2 waiter.
This builder is intended to be used similar to the other fluent builders for
normal operations on the client. However, instead of a send method, it has
a wait method that takes a maximum amount of time to wait.
Construct this fluent builder using the client by importing the
Waiters trait and calling the methods
prefixed with wait_until.
Implementations§
source§impl FunctionActiveV2FluentBuilder
impl FunctionActiveV2FluentBuilder
sourcepub fn as_input(&self) -> &GetFunctionInputBuilder
pub fn as_input(&self) -> &GetFunctionInputBuilder
Access the GetFunction as a reference.
sourcepub async fn wait(
self,
max_wait: Duration
) -> Result<FunctionActiveV2FinalPoll, WaitUntilFunctionActiveV2Error>
pub async fn wait( self, max_wait: Duration ) -> Result<FunctionActiveV2FinalPoll, WaitUntilFunctionActiveV2Error>
Waits for the function’s State to be Active. This waiter uses GetFunction API. This should be used after new function creation.
sourcepub fn function_name(self, input: impl Into<String>) -> Self
pub fn function_name(self, input: impl Into<String>) -> Self
The name or ARN of the Lambda function, version, or alias.
Name formats
-
Function name –
my-function(name-only),my-function:v1(with alias). -
Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:my-function. -
Partial ARN –
123456789012:function:my-function.
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
sourcepub fn set_function_name(self, input: Option<String>) -> Self
pub fn set_function_name(self, input: Option<String>) -> Self
The name or ARN of the Lambda function, version, or alias.
Name formats
-
Function name –
my-function(name-only),my-function:v1(with alias). -
Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:my-function. -
Partial ARN –
123456789012:function:my-function.
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
sourcepub fn get_function_name(&self) -> &Option<String>
pub fn get_function_name(&self) -> &Option<String>
The name or ARN of the Lambda function, version, or alias.
Name formats
-
Function name –
my-function(name-only),my-function:v1(with alias). -
Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:my-function. -
Partial ARN –
123456789012:function:my-function.
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
sourcepub fn qualifier(self, input: impl Into<String>) -> Self
pub fn qualifier(self, input: impl Into<String>) -> Self
Specify a version or alias to get details about a published version of the function.
sourcepub fn set_qualifier(self, input: Option<String>) -> Self
pub fn set_qualifier(self, input: Option<String>) -> Self
Specify a version or alias to get details about a published version of the function.
sourcepub fn get_qualifier(&self) -> &Option<String>
pub fn get_qualifier(&self) -> &Option<String>
Specify a version or alias to get details about a published version of the function.
Trait Implementations§
source§impl Clone for FunctionActiveV2FluentBuilder
impl Clone for FunctionActiveV2FluentBuilder
source§fn clone(&self) -> FunctionActiveV2FluentBuilder
fn clone(&self) -> FunctionActiveV2FluentBuilder
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 FunctionActiveV2FluentBuilder
impl !RefUnwindSafe for FunctionActiveV2FluentBuilder
impl Send for FunctionActiveV2FluentBuilder
impl Sync for FunctionActiveV2FluentBuilder
impl Unpin for FunctionActiveV2FluentBuilder
impl !UnwindSafe for FunctionActiveV2FluentBuilder
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