Struct aws_sdk_cloudfront::input::UpdateFunctionInput [−][src]
#[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
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateFunction, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateFunction, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdateFunction
>
Creates a new builder-style object to manufacture UpdateFunctionInput
The current version (ETag
value) of the function that you are updating, which
you can get using DescribeFunction
.
Configuration information about the function.
The function code. For more information about writing a CloudFront function, see Writing function code for CloudFront Functions in the Amazon CloudFront Developer Guide.
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 UpdateFunctionInput
impl Send for UpdateFunctionInput
impl Sync for UpdateFunctionInput
impl Unpin for UpdateFunctionInput
impl UnwindSafe for UpdateFunctionInput
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