[−][src]Struct rusoto_cloudfront::CustomErrorResponses
A complex type that controls:
-
Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom error messages before returning the response to the viewer.
-
How long CloudFront caches HTTP status codes in the 4xx and 5xx range.
For more information about custom error pages, see Customizing Error Responses in the Amazon CloudFront Developer Guide.
Fields
items: Option<Vec<CustomErrorResponse>>
A complex type that contains a CustomErrorResponse
element for each HTTP status code for which you want to specify a custom error page and/or a caching duration.
quantity: i64
The number of HTTP status codes for which you want to specify a custom error page and/or a caching duration. If Quantity
is 0
, you can omit Items
.
Trait Implementations
impl Clone for CustomErrorResponses
[src]
pub fn clone(&self) -> CustomErrorResponses
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CustomErrorResponses
[src]
impl Default for CustomErrorResponses
[src]
pub fn default() -> CustomErrorResponses
[src]
impl PartialEq<CustomErrorResponses> for CustomErrorResponses
[src]
pub fn eq(&self, other: &CustomErrorResponses) -> bool
[src]
pub fn ne(&self, other: &CustomErrorResponses) -> bool
[src]
impl StructuralPartialEq for CustomErrorResponses
[src]
Auto Trait Implementations
impl RefUnwindSafe for CustomErrorResponses
[src]
impl Send for CustomErrorResponses
[src]
impl Sync for CustomErrorResponses
[src]
impl Unpin for CustomErrorResponses
[src]
impl UnwindSafe for CustomErrorResponses
[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>,