Struct aws_sdk_cloudfront::operation::update_origin_request_policy::UpdateOriginRequestPolicyInput
source · #[non_exhaustive]pub struct UpdateOriginRequestPolicyInput {
pub origin_request_policy_config: Option<OriginRequestPolicyConfig>,
pub id: Option<String>,
pub if_match: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.origin_request_policy_config: Option<OriginRequestPolicyConfig>
An origin request policy configuration.
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
.
Implementations§
source§impl UpdateOriginRequestPolicyInput
impl UpdateOriginRequestPolicyInput
sourcepub fn origin_request_policy_config(&self) -> Option<&OriginRequestPolicyConfig>
pub fn origin_request_policy_config(&self) -> Option<&OriginRequestPolicyConfig>
An origin request policy configuration.
source§impl UpdateOriginRequestPolicyInput
impl UpdateOriginRequestPolicyInput
sourcepub fn builder() -> UpdateOriginRequestPolicyInputBuilder
pub fn builder() -> UpdateOriginRequestPolicyInputBuilder
Creates a new builder-style object to manufacture UpdateOriginRequestPolicyInput
.
Trait Implementations§
source§impl Clone for UpdateOriginRequestPolicyInput
impl Clone for UpdateOriginRequestPolicyInput
source§fn clone(&self) -> UpdateOriginRequestPolicyInput
fn clone(&self) -> UpdateOriginRequestPolicyInput
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 PartialEq for UpdateOriginRequestPolicyInput
impl PartialEq for UpdateOriginRequestPolicyInput
source§fn eq(&self, other: &UpdateOriginRequestPolicyInput) -> bool
fn eq(&self, other: &UpdateOriginRequestPolicyInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateOriginRequestPolicyInput
Auto Trait Implementations§
impl RefUnwindSafe for UpdateOriginRequestPolicyInput
impl Send for UpdateOriginRequestPolicyInput
impl Sync for UpdateOriginRequestPolicyInput
impl Unpin for UpdateOriginRequestPolicyInput
impl UnwindSafe for UpdateOriginRequestPolicyInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.