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