Struct aws_sdk_cloudfront::model::FunctionMetadata
source · [−]#[non_exhaustive]pub struct FunctionMetadata { /* private fields */ }
Expand description
Contains metadata about a CloudFront function.
Implementations
sourceimpl 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.
sourceimpl FunctionMetadata
impl FunctionMetadata
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture FunctionMetadata
.
Trait Implementations
sourceimpl Clone for FunctionMetadata
impl Clone for FunctionMetadata
sourcefn clone(&self) -> FunctionMetadata
fn clone(&self) -> FunctionMetadata
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for FunctionMetadata
impl Debug for FunctionMetadata
sourceimpl PartialEq<FunctionMetadata> for FunctionMetadata
impl PartialEq<FunctionMetadata> for FunctionMetadata
sourcefn eq(&self, other: &FunctionMetadata) -> bool
fn eq(&self, other: &FunctionMetadata) -> bool
impl StructuralPartialEq for FunctionMetadata
Auto Trait Implementations
impl RefUnwindSafe for FunctionMetadata
impl Send for FunctionMetadata
impl Sync for FunctionMetadata
impl Unpin for FunctionMetadata
impl UnwindSafe for FunctionMetadata
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more