Struct aws_sdk_lambda::operation::get_policy::GetPolicyInput
source · #[non_exhaustive]pub struct GetPolicyInput {
pub function_name: Option<String>,
pub qualifier: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.function_name: 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.
qualifier: Option<String>
Specify a version or alias to get the policy for that resource.
Implementations§
source§impl GetPolicyInput
impl GetPolicyInput
sourcepub fn function_name(&self) -> Option<&str>
pub fn function_name(&self) -> Option<&str>
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.
source§impl GetPolicyInput
impl GetPolicyInput
sourcepub fn builder() -> GetPolicyInputBuilder
pub fn builder() -> GetPolicyInputBuilder
Creates a new builder-style object to manufacture GetPolicyInput
.
Trait Implementations§
source§impl Clone for GetPolicyInput
impl Clone for GetPolicyInput
source§fn clone(&self) -> GetPolicyInput
fn clone(&self) -> GetPolicyInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetPolicyInput
impl Debug for GetPolicyInput
source§impl PartialEq for GetPolicyInput
impl PartialEq for GetPolicyInput
source§fn eq(&self, other: &GetPolicyInput) -> bool
fn eq(&self, other: &GetPolicyInput) -> bool
self
and other
values to be equal, and is used
by ==
.