Struct aws_sdk_cloudfront::model::FunctionMetadata [−][src]
#[non_exhaustive]pub struct FunctionMetadata {
pub function_arn: Option<String>,
pub stage: Option<FunctionStage>,
pub created_time: Option<Instant>,
pub last_modified_time: Option<Instant>,
}
Expand description
Contains metadata about a CloudFront function.
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_arn: Option<String>
The Amazon Resource Name (ARN) of the function. The ARN uniquely identifies the function.
stage: 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.
created_time: Option<Instant>
The date and time when the function was created.
last_modified_time: Option<Instant>
The date and time when the function was most recently updated.
Implementations
Creates a new builder-style object to manufacture FunctionMetadata
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more