#[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 ==
.impl StructuralPartialEq for UpdateFunctionInput
Auto Trait Implementations§
impl Freeze for UpdateFunctionInput
impl RefUnwindSafe for UpdateFunctionInput
impl Send for UpdateFunctionInput
impl Sync for UpdateFunctionInput
impl Unpin for UpdateFunctionInput
impl UnwindSafe for UpdateFunctionInput
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more