Struct aws_sdk_lambda::types::AliasConfiguration
source · #[non_exhaustive]pub struct AliasConfiguration {
pub alias_arn: Option<String>,
pub name: Option<String>,
pub function_version: Option<String>,
pub description: Option<String>,
pub routing_config: Option<AliasRoutingConfiguration>,
pub revision_id: Option<String>,
}
Expand description
Provides configuration information about a Lambda function alias.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.alias_arn: Option<String>
The Amazon Resource Name (ARN) of the alias.
name: Option<String>
The name of the alias.
function_version: Option<String>
The function version that the alias invokes.
description: Option<String>
A description of the alias.
routing_config: Option<AliasRoutingConfiguration>
The routing configuration of the alias.
revision_id: Option<String>
A unique identifier that changes when you update the alias.
Implementations§
source§impl AliasConfiguration
impl AliasConfiguration
sourcepub fn function_version(&self) -> Option<&str>
pub fn function_version(&self) -> Option<&str>
The function version that the alias invokes.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the alias.
sourcepub fn routing_config(&self) -> Option<&AliasRoutingConfiguration>
pub fn routing_config(&self) -> Option<&AliasRoutingConfiguration>
The routing configuration of the alias.
sourcepub fn revision_id(&self) -> Option<&str>
pub fn revision_id(&self) -> Option<&str>
A unique identifier that changes when you update the alias.
source§impl AliasConfiguration
impl AliasConfiguration
sourcepub fn builder() -> AliasConfigurationBuilder
pub fn builder() -> AliasConfigurationBuilder
Creates a new builder-style object to manufacture AliasConfiguration
.
Trait Implementations§
source§impl Clone for AliasConfiguration
impl Clone for AliasConfiguration
source§fn clone(&self) -> AliasConfiguration
fn clone(&self) -> AliasConfiguration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AliasConfiguration
impl Debug for AliasConfiguration
source§impl PartialEq for AliasConfiguration
impl PartialEq for AliasConfiguration
source§fn eq(&self, other: &AliasConfiguration) -> bool
fn eq(&self, other: &AliasConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AliasConfiguration
Auto Trait Implementations§
impl Freeze for AliasConfiguration
impl RefUnwindSafe for AliasConfiguration
impl Send for AliasConfiguration
impl Sync for AliasConfiguration
impl Unpin for AliasConfiguration
impl UnwindSafe for AliasConfiguration
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.