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 ==
.