DistributionSummary

Struct DistributionSummary 

Source
pub struct DistributionSummary {
Show 20 fields pub arn: String, pub alias_icp_recordals: Option<Vec<AliasICPRecordal>>, pub aliases: Aliases, pub cache_behaviors: CacheBehaviors, pub comment: String, pub custom_error_responses: CustomErrorResponses, pub default_cache_behavior: DefaultCacheBehavior, pub domain_name: String, pub enabled: bool, pub http_version: String, pub id: String, pub is_ipv6_enabled: bool, pub last_modified_time: String, pub origin_groups: Option<OriginGroups>, pub origins: Origins, pub price_class: String, pub restrictions: Restrictions, pub status: String, pub viewer_certificate: ViewerCertificate, pub web_acl_id: String,
}
Expand description

A summary of the information about a CloudFront distribution.

Fields§

§arn: String

The ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5, where 123456789012 is your AWS account ID.

§alias_icp_recordals: Option<Vec<AliasICPRecordal>>

AWS services in China customers must file for an Internet Content Provider (ICP) recordal if they want to serve content publicly on an alternate domain name, also known as a CNAME, that they've added to CloudFront. AliasICPRecordal provides the ICP recordal status for CNAMEs associated with distributions.

For more information about ICP recordals, see Signup, Accounts, and Credentials in Getting Started with AWS services in China.

§aliases: Aliases

A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.

§cache_behaviors: CacheBehaviors

A complex type that contains zero or more CacheBehavior elements.

§comment: String

The comment originally specified when this distribution was created.

§custom_error_responses: CustomErrorResponses

A complex type that contains zero or more CustomErrorResponses elements.

§default_cache_behavior: DefaultCacheBehavior

A complex type that describes the default cache behavior if you don't specify a CacheBehavior element or if files don't match any of the values of PathPattern in CacheBehavior elements. You must create exactly one default cache behavior.

§domain_name: String

The domain name that corresponds to the distribution, for example, d111111abcdef8.cloudfront.net.

§enabled: bool

Whether the distribution is enabled to accept user requests for content.

§http_version: String

Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront. The default value for new web distributions is http2. Viewers that don't support HTTP/2 will automatically use an earlier version.

§id: String

The identifier for the distribution. For example: EDFDVBD632BHDS5.

§is_ipv6_enabled: bool

Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.

§last_modified_time: String

The date and time the distribution was last modified.

§origin_groups: Option<OriginGroups>

A complex type that contains information about origin groups for this distribution.

§origins: Origins

A complex type that contains information about origins for this distribution.

§price_class: String

A complex type that contains information about price class for this streaming distribution.

§restrictions: Restrictions

A complex type that identifies ways in which you want to restrict distribution of your content.

§status: String

The current status of the distribution. When the status is Deployed, the distribution's information is propagated to all CloudFront edge locations.

§viewer_certificate: ViewerCertificate

A complex type that determines the distribution’s SSL/TLS configuration for communicating with viewers.

§web_acl_id: String

The Web ACL Id (if any) associated with the distribution.

Trait Implementations§

Source§

impl Clone for DistributionSummary

Source§

fn clone(&self) -> DistributionSummary

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for DistributionSummary

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for DistributionSummary

Source§

fn default() -> DistributionSummary

Returns the “default value” for a type. Read more
Source§

impl PartialEq for DistributionSummary

Source§

fn eq(&self, other: &DistributionSummary) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for DistributionSummary

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more