Struct aws_sdk_cloudfront::input::TestFunctionInput
source · #[non_exhaustive]pub struct TestFunctionInput { /* private fields */ }
Implementations§
source§impl TestFunctionInput
impl TestFunctionInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<TestFunction, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<TestFunction, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<TestFunction
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TestFunctionInput
.
source§impl TestFunctionInput
impl TestFunctionInput
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 testing, which you can get using DescribeFunction
.
sourcepub fn stage(&self) -> Option<&FunctionStage>
pub fn stage(&self) -> Option<&FunctionStage>
The stage of the function that you are testing, either DEVELOPMENT
or LIVE
.
sourcepub fn event_object(&self) -> Option<&Blob>
pub fn event_object(&self) -> Option<&Blob>
The event object to test the function with. For more information about the structure of the event object, see Testing functions in the Amazon CloudFront Developer Guide.
Trait Implementations§
source§impl Clone for TestFunctionInput
impl Clone for TestFunctionInput
source§fn clone(&self) -> TestFunctionInput
fn clone(&self) -> TestFunctionInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TestFunctionInput
impl Debug for TestFunctionInput
source§impl PartialEq<TestFunctionInput> for TestFunctionInput
impl PartialEq<TestFunctionInput> for TestFunctionInput
source§fn eq(&self, other: &TestFunctionInput) -> bool
fn eq(&self, other: &TestFunctionInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.