Struct aws_sdk_lambda::input::list_aliases_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ListAliasesInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn function_name(self, input: impl Into<String>) -> Self
pub fn function_name(self, input: impl Into<String>) -> Self
The name 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 set_function_name(self, input: Option<String>) -> Self
pub fn set_function_name(self, input: Option<String>) -> Self
The name 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 function_version(self, input: impl Into<String>) -> Self
pub fn function_version(self, input: impl Into<String>) -> Self
Specify a function version to only list aliases that invoke that version.
sourcepub fn set_function_version(self, input: Option<String>) -> Self
pub fn set_function_version(self, input: Option<String>) -> Self
Specify a function version to only list aliases that invoke that version.
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 set_max_items(self, input: Option<i32>) -> Self
pub fn set_max_items(self, input: Option<i32>) -> Self
Limit the number of aliases returned.
sourcepub fn build(self) -> Result<ListAliasesInput, BuildError>
pub fn build(self) -> Result<ListAliasesInput, BuildError>
Consumes the builder and constructs a ListAliasesInput
.