Struct aws_sdk_lambda::operation::list_versions_by_function::builders::ListVersionsByFunctionInputBuilder
source · #[non_exhaustive]pub struct ListVersionsByFunctionInputBuilder { /* private fields */ }
Expand description
A builder for ListVersionsByFunctionInput
.
Implementations§
source§impl ListVersionsByFunctionInputBuilder
impl ListVersionsByFunctionInputBuilder
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.
Name formats
-
Function name -
MyFunction
. -
Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction
. -
Partial ARN -
123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
This field is required.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.
Name formats
-
Function name -
MyFunction
. -
Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction
. -
Partial ARN -
123456789012:function:MyFunction
.
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.
Name formats
-
Function name -
MyFunction
. -
Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction
. -
Partial ARN -
123456789012:function:MyFunction
.
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 marker(self, input: impl Into<String>) -> Self
pub fn marker(self, input: impl Into<String>) -> Self
Specify the pagination token that's returned by a previous request to retrieve the next page of results.
sourcepub fn set_marker(self, input: Option<String>) -> Self
pub fn set_marker(self, input: Option<String>) -> Self
Specify the pagination token that's returned by a previous request to retrieve the next page of results.
sourcepub fn get_marker(&self) -> &Option<String>
pub fn get_marker(&self) -> &Option<String>
Specify the pagination token that's returned by a previous request to retrieve the next page of results.
sourcepub fn max_items(self, input: i32) -> Self
pub fn max_items(self, input: i32) -> Self
The maximum number of versions to return. Note that ListVersionsByFunction
returns a maximum of 50 items in each response, even if you set the number higher.
sourcepub fn set_max_items(self, input: Option<i32>) -> Self
pub fn set_max_items(self, input: Option<i32>) -> Self
The maximum number of versions to return. Note that ListVersionsByFunction
returns a maximum of 50 items in each response, even if you set the number higher.
sourcepub fn get_max_items(&self) -> &Option<i32>
pub fn get_max_items(&self) -> &Option<i32>
The maximum number of versions to return. Note that ListVersionsByFunction
returns a maximum of 50 items in each response, even if you set the number higher.
sourcepub fn build(self) -> Result<ListVersionsByFunctionInput, BuildError>
pub fn build(self) -> Result<ListVersionsByFunctionInput, BuildError>
Consumes the builder and constructs a ListVersionsByFunctionInput
.
source§impl ListVersionsByFunctionInputBuilder
impl ListVersionsByFunctionInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<ListVersionsByFunctionOutput, SdkError<ListVersionsByFunctionError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<ListVersionsByFunctionOutput, SdkError<ListVersionsByFunctionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListVersionsByFunctionInputBuilder
impl Clone for ListVersionsByFunctionInputBuilder
source§fn clone(&self) -> ListVersionsByFunctionInputBuilder
fn clone(&self) -> ListVersionsByFunctionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListVersionsByFunctionInputBuilder
impl Default for ListVersionsByFunctionInputBuilder
source§fn default() -> ListVersionsByFunctionInputBuilder
fn default() -> ListVersionsByFunctionInputBuilder
source§impl PartialEq for ListVersionsByFunctionInputBuilder
impl PartialEq for ListVersionsByFunctionInputBuilder
source§fn eq(&self, other: &ListVersionsByFunctionInputBuilder) -> bool
fn eq(&self, other: &ListVersionsByFunctionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListVersionsByFunctionInputBuilder
Auto Trait Implementations§
impl Freeze for ListVersionsByFunctionInputBuilder
impl RefUnwindSafe for ListVersionsByFunctionInputBuilder
impl Send for ListVersionsByFunctionInputBuilder
impl Sync for ListVersionsByFunctionInputBuilder
impl Unpin for ListVersionsByFunctionInputBuilder
impl UnwindSafe for ListVersionsByFunctionInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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