[−][src]Struct rusoto_cloudfront::OriginRequestPolicy
An origin request policy.
When it’s attached to a cache behavior, the origin request policy determines the values that CloudFront includes in requests that it sends to the origin. Each request that CloudFront sends to the origin includes the following:
-
The request body and the URL path (without the domain name) from the viewer request.
-
The headers that CloudFront automatically includes in every origin request, including
Host
,User-Agent
, andX-Amz-Cf-Id
. -
All HTTP headers, cookies, and URL query strings that are specified in the cache policy or the origin request policy. These can include items from the viewer request and, in the case of headers, additional ones that are added by CloudFront.
CloudFront sends a request when it can’t find an object in its cache that matches the request. If you want to send values to the origin and also include them in the cache key, use CachePolicy
.
Fields
id: String
The unique identifier for the origin request policy.
last_modified_time: String
The date and time when the origin request policy was last modified.
origin_request_policy_config: OriginRequestPolicyConfig
The origin request policy configuration.
Trait Implementations
impl Clone for OriginRequestPolicy
[src]
pub fn clone(&self) -> OriginRequestPolicy
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for OriginRequestPolicy
[src]
impl Default for OriginRequestPolicy
[src]
pub fn default() -> OriginRequestPolicy
[src]
impl PartialEq<OriginRequestPolicy> for OriginRequestPolicy
[src]
pub fn eq(&self, other: &OriginRequestPolicy) -> bool
[src]
pub fn ne(&self, other: &OriginRequestPolicy) -> bool
[src]
impl StructuralPartialEq for OriginRequestPolicy
[src]
Auto Trait Implementations
impl RefUnwindSafe for OriginRequestPolicy
[src]
impl Send for OriginRequestPolicy
[src]
impl Sync for OriginRequestPolicy
[src]
impl Unpin for OriginRequestPolicy
[src]
impl UnwindSafe for OriginRequestPolicy
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,