Struct aws_sdk_cloudfront::model::FunctionMetadata
source · #[non_exhaustive]pub struct FunctionMetadata { /* private fields */ }
Expand description
Contains metadata about a CloudFront function.
Implementations§
source§impl FunctionMetadata
impl FunctionMetadata
sourcepub fn function_arn(&self) -> Option<&str>
pub fn function_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the function. The ARN uniquely identifies the function.
sourcepub fn stage(&self) -> Option<&FunctionStage>
pub fn stage(&self) -> Option<&FunctionStage>
The stage that the function is in, either DEVELOPMENT
or LIVE
.
When a function is in the DEVELOPMENT
stage, you can test the function with TestFunction
, and update it with UpdateFunction
.
When a function is in the LIVE
stage, you can attach the function to a distribution's cache behavior, using the function's ARN.
sourcepub fn created_time(&self) -> Option<&DateTime>
pub fn created_time(&self) -> Option<&DateTime>
The date and time when the function was created.
sourcepub fn last_modified_time(&self) -> Option<&DateTime>
pub fn last_modified_time(&self) -> Option<&DateTime>
The date and time when the function was most recently updated.
source§impl FunctionMetadata
impl FunctionMetadata
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture FunctionMetadata
.
Trait Implementations§
source§impl Clone for FunctionMetadata
impl Clone for FunctionMetadata
source§fn clone(&self) -> FunctionMetadata
fn clone(&self) -> FunctionMetadata
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 FunctionMetadata
impl Debug for FunctionMetadata
source§impl PartialEq<FunctionMetadata> for FunctionMetadata
impl PartialEq<FunctionMetadata> for FunctionMetadata
source§fn eq(&self, other: &FunctionMetadata) -> bool
fn eq(&self, other: &FunctionMetadata) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.