Struct aws_sdk_cloudfront::input::UpdateCachePolicyInput [−][src]
#[non_exhaustive]pub struct UpdateCachePolicyInput {
pub id: Option<String>,
pub if_match: Option<String>,
pub cache_policy_config: Option<CachePolicyConfig>,
}
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.id: Option<String>
The unique identifier for the cache policy that you are updating. The identifier is returned
in a cache behavior’s CachePolicyId
field in the response to
GetDistributionConfig
.
if_match: Option<String>
The version of the cache policy that you are updating. The version is returned in the cache
policy’s ETag
field in the response to
GetCachePolicyConfig
.
cache_policy_config: Option<CachePolicyConfig>
A cache policy configuration.
Implementations
pub fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateCachePolicy, AwsErrorRetryPolicy>, BuildError>
pub fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateCachePolicy, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdateCachePolicy
>
Creates a new builder-style object to manufacture UpdateCachePolicyInput
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 UpdateCachePolicyInput
impl Send for UpdateCachePolicyInput
impl Sync for UpdateCachePolicyInput
impl Unpin for UpdateCachePolicyInput
impl UnwindSafe for UpdateCachePolicyInput
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