#[non_exhaustive]pub struct UpdateFunctionInput {
pub name: Option<String>,
pub if_match: Option<String>,
pub function_config: Option<FunctionConfig>,
pub function_code: Option<Blob>,
}
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.name: Option<String>
The name of the function that you are updating.
if_match: Option<String>
The current version (ETag
value) of the function that you are updating, which you can get using DescribeFunction
.
function_config: Option<FunctionConfig>
Configuration information about the function.
function_code: Option<Blob>
The function code. For more information about writing a CloudFront function, see Writing function code for CloudFront Functions in the Amazon CloudFront Developer Guide.
Implementations§
source§impl UpdateFunctionInput
impl UpdateFunctionInput
sourcepub fn if_match(&self) -> Option<&str>
pub fn if_match(&self) -> Option<&str>
The current version (ETag
value) of the function that you are updating, which you can get using DescribeFunction
.
sourcepub fn function_config(&self) -> Option<&FunctionConfig>
pub fn function_config(&self) -> Option<&FunctionConfig>
Configuration information about the function.
sourcepub fn function_code(&self) -> Option<&Blob>
pub fn function_code(&self) -> Option<&Blob>
The function code. For more information about writing a CloudFront function, see Writing function code for CloudFront Functions in the Amazon CloudFront Developer Guide.
source§impl UpdateFunctionInput
impl UpdateFunctionInput
sourcepub fn builder() -> UpdateFunctionInputBuilder
pub fn builder() -> UpdateFunctionInputBuilder
Creates a new builder-style object to manufacture UpdateFunctionInput
.
Trait Implementations§
source§impl Clone for UpdateFunctionInput
impl Clone for UpdateFunctionInput
source§fn clone(&self) -> UpdateFunctionInput
fn clone(&self) -> UpdateFunctionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateFunctionInput
impl Debug for UpdateFunctionInput
source§impl PartialEq for UpdateFunctionInput
impl PartialEq for UpdateFunctionInput
source§fn eq(&self, other: &UpdateFunctionInput) -> bool
fn eq(&self, other: &UpdateFunctionInput) -> bool
self
and other
values to be equal, and is used
by ==
.