Struct aws_sdk_cloudfront::model::DistributionSummary
source · [−]#[non_exhaustive]pub struct DistributionSummary {Show 20 fields
pub id: Option<String>,
pub arn: Option<String>,
pub status: Option<String>,
pub last_modified_time: Option<DateTime>,
pub domain_name: Option<String>,
pub aliases: Option<Aliases>,
pub origins: Option<Origins>,
pub origin_groups: Option<OriginGroups>,
pub default_cache_behavior: Option<DefaultCacheBehavior>,
pub cache_behaviors: Option<CacheBehaviors>,
pub custom_error_responses: Option<CustomErrorResponses>,
pub comment: Option<String>,
pub price_class: Option<PriceClass>,
pub enabled: Option<bool>,
pub viewer_certificate: Option<ViewerCertificate>,
pub restrictions: Option<Restrictions>,
pub web_acl_id: Option<String>,
pub http_version: Option<HttpVersion>,
pub is_ipv6_enabled: Option<bool>,
pub alias_icp_recordals: Option<Vec<AliasIcpRecordal>>,
}
Expand description
A summary of the information about a CloudFront distribution.
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 identifier for the distribution. For example: EDFDVBD632BHDS5
.
arn: Option<String>
The ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5
, where 123456789012
is your Amazon Web Services account ID.
status: Option<String>
The current status of the distribution. When the status is Deployed
, the distribution's information is propagated to all CloudFront edge locations.
last_modified_time: Option<DateTime>
The date and time the distribution was last modified.
domain_name: Option<String>
The domain name that corresponds to the distribution, for example, d111111abcdef8.cloudfront.net
.
aliases: Option<Aliases>
A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.
origins: Option<Origins>
A complex type that contains information about origins for this distribution.
origin_groups: Option<OriginGroups>
A complex type that contains information about origin groups for this distribution.
default_cache_behavior: Option<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.
cache_behaviors: Option<CacheBehaviors>
A complex type that contains zero or more CacheBehavior
elements.
custom_error_responses: Option<CustomErrorResponses>
A complex type that contains zero or more CustomErrorResponses
elements.
comment: Option<String>
The comment originally specified when this distribution was created.
price_class: Option<PriceClass>
A complex type that contains information about price class for this streaming distribution.
enabled: Option<bool>
Whether the distribution is enabled to accept user requests for content.
viewer_certificate: Option<ViewerCertificate>
A complex type that determines the distribution’s SSL/TLS configuration for communicating with viewers.
restrictions: Option<Restrictions>
A complex type that identifies ways in which you want to restrict distribution of your content.
web_acl_id: Option<String>
The Web ACL Id (if any) associated with the distribution.
http_version: Option<HttpVersion>
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.
is_ipv6_enabled: Option<bool>
Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.
alias_icp_recordals: Option<Vec<AliasIcpRecordal>>
Amazon Web Services 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 Amazon Web Services services in China.
Implementations
sourceimpl DistributionSummary
impl DistributionSummary
sourcepub fn id(&self) -> Option<&str>
pub fn id(&self) -> Option<&str>
The identifier for the distribution. For example: EDFDVBD632BHDS5
.
sourcepub fn arn(&self) -> Option<&str>
pub fn arn(&self) -> Option<&str>
The ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5
, where 123456789012
is your Amazon Web Services account ID.
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
The current status of the distribution. When the status is Deployed
, the distribution's information is propagated to all CloudFront edge locations.
sourcepub fn last_modified_time(&self) -> Option<&DateTime>
pub fn last_modified_time(&self) -> Option<&DateTime>
The date and time the distribution was last modified.
sourcepub fn domain_name(&self) -> Option<&str>
pub fn domain_name(&self) -> Option<&str>
The domain name that corresponds to the distribution, for example, d111111abcdef8.cloudfront.net
.
sourcepub fn aliases(&self) -> Option<&Aliases>
pub fn aliases(&self) -> Option<&Aliases>
A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.
sourcepub fn origins(&self) -> Option<&Origins>
pub fn origins(&self) -> Option<&Origins>
A complex type that contains information about origins for this distribution.
sourcepub fn origin_groups(&self) -> Option<&OriginGroups>
pub fn origin_groups(&self) -> Option<&OriginGroups>
A complex type that contains information about origin groups for this distribution.
sourcepub fn default_cache_behavior(&self) -> Option<&DefaultCacheBehavior>
pub fn default_cache_behavior(&self) -> Option<&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.
sourcepub fn cache_behaviors(&self) -> Option<&CacheBehaviors>
pub fn cache_behaviors(&self) -> Option<&CacheBehaviors>
A complex type that contains zero or more CacheBehavior
elements.
sourcepub fn custom_error_responses(&self) -> Option<&CustomErrorResponses>
pub fn custom_error_responses(&self) -> Option<&CustomErrorResponses>
A complex type that contains zero or more CustomErrorResponses
elements.
sourcepub fn comment(&self) -> Option<&str>
pub fn comment(&self) -> Option<&str>
The comment originally specified when this distribution was created.
sourcepub fn price_class(&self) -> Option<&PriceClass>
pub fn price_class(&self) -> Option<&PriceClass>
A complex type that contains information about price class for this streaming distribution.
sourcepub fn enabled(&self) -> Option<bool>
pub fn enabled(&self) -> Option<bool>
Whether the distribution is enabled to accept user requests for content.
sourcepub fn viewer_certificate(&self) -> Option<&ViewerCertificate>
pub fn viewer_certificate(&self) -> Option<&ViewerCertificate>
A complex type that determines the distribution’s SSL/TLS configuration for communicating with viewers.
sourcepub fn restrictions(&self) -> Option<&Restrictions>
pub fn restrictions(&self) -> Option<&Restrictions>
A complex type that identifies ways in which you want to restrict distribution of your content.
sourcepub fn web_acl_id(&self) -> Option<&str>
pub fn web_acl_id(&self) -> Option<&str>
The Web ACL Id (if any) associated with the distribution.
sourcepub fn http_version(&self) -> Option<&HttpVersion>
pub fn http_version(&self) -> Option<&HttpVersion>
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.
sourcepub fn is_ipv6_enabled(&self) -> Option<bool>
pub fn is_ipv6_enabled(&self) -> Option<bool>
Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.
sourcepub fn alias_icp_recordals(&self) -> Option<&[AliasIcpRecordal]>
pub fn alias_icp_recordals(&self) -> Option<&[AliasIcpRecordal]>
Amazon Web Services 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 Amazon Web Services services in China.
sourceimpl DistributionSummary
impl DistributionSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DistributionSummary
Trait Implementations
sourceimpl Clone for DistributionSummary
impl Clone for DistributionSummary
sourcefn clone(&self) -> DistributionSummary
fn clone(&self) -> DistributionSummary
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DistributionSummary
impl Debug for DistributionSummary
sourceimpl PartialEq<DistributionSummary> for DistributionSummary
impl PartialEq<DistributionSummary> for DistributionSummary
sourcefn eq(&self, other: &DistributionSummary) -> bool
fn eq(&self, other: &DistributionSummary) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DistributionSummary) -> bool
fn ne(&self, other: &DistributionSummary) -> bool
This method tests for !=
.
impl StructuralPartialEq for DistributionSummary
Auto Trait Implementations
impl RefUnwindSafe for DistributionSummary
impl Send for DistributionSummary
impl Sync for DistributionSummary
impl Unpin for DistributionSummary
impl UnwindSafe for DistributionSummary
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
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
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more