Struct aws_sdk_cloudfront::input::CreateFunctionInput [−][src]
#[non_exhaustive]pub struct CreateFunctionInput {
pub name: 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>
A name to identify the function.
function_config: Option<FunctionConfig>
Configuration information about the function, including an optional comment and the function’s runtime.
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<CreateFunction, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateFunction, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateFunction
>
Creates a new builder-style object to manufacture CreateFunctionInput
Configuration information about the function, including an optional comment and the function’s runtime.
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 CreateFunctionInput
impl Send for CreateFunctionInput
impl Sync for CreateFunctionInput
impl Unpin for CreateFunctionInput
impl UnwindSafe for CreateFunctionInput
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