#[non_exhaustive]pub struct StreamingDistributionSummary {
pub id: Option<String>,
pub arn: Option<String>,
pub status: Option<String>,
pub last_modified_time: Option<DateTime>,
pub domain_name: Option<String>,
pub s3_origin: Option<S3Origin>,
pub aliases: Option<Aliases>,
pub trusted_signers: Option<TrustedSigners>,
pub comment: Option<String>,
pub price_class: Option<PriceClass>,
pub enabled: Option<bool>,
}
Expand description
A summary of the information for a CloudFront streaming 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 streaming distribution. For example: arn:aws:cloudfront::123456789012:streaming-distribution/EDFDVBD632BHDS5
, where 123456789012
is your Amazon Web Services account ID.
status: Option<String>
Indicates the current status of the distribution. When the status is Deployed
, the distribution's information is fully propagated throughout the Amazon CloudFront system.
last_modified_time: Option<DateTime>
The date and time the distribution was last modified.
domain_name: Option<String>
The domain name corresponding to the distribution, for example, d111111abcdef8.cloudfront.net
.
s3_origin: Option<S3Origin>
A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.
aliases: Option<Aliases>
A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.
trusted_signers: Option<TrustedSigners>
A complex type that specifies the Amazon Web Services accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern
for this cache behavior, specify true
for Enabled
, and specify the applicable values for Quantity
and Items
.If you don't want to require signed URLs in requests for objects that match PathPattern
, specify false
for Enabled
and 0
for Quantity
. Omit Items
. To add, change, or remove one or more trusted signers, change Enabled
to true
(if it's currently false
), change Quantity
as applicable, and specify all of the trusted signers that you want to include in the updated distribution.
For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.
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 end user requests for content.
Implementations
sourceimpl StreamingDistributionSummary
impl StreamingDistributionSummary
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 streaming distribution. For example: arn:aws:cloudfront::123456789012:streaming-distribution/EDFDVBD632BHDS5
, where 123456789012
is your Amazon Web Services account ID.
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
Indicates the current status of the distribution. When the status is Deployed
, the distribution's information is fully propagated throughout the Amazon CloudFront system.
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 corresponding to the distribution, for example, d111111abcdef8.cloudfront.net
.
sourcepub fn s3_origin(&self) -> Option<&S3Origin>
pub fn s3_origin(&self) -> Option<&S3Origin>
A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.
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 streaming distribution.
sourcepub fn trusted_signers(&self) -> Option<&TrustedSigners>
pub fn trusted_signers(&self) -> Option<&TrustedSigners>
A complex type that specifies the Amazon Web Services accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern
for this cache behavior, specify true
for Enabled
, and specify the applicable values for Quantity
and Items
.If you don't want to require signed URLs in requests for objects that match PathPattern
, specify false
for Enabled
and 0
for Quantity
. Omit Items
. To add, change, or remove one or more trusted signers, change Enabled
to true
(if it's currently false
), change Quantity
as applicable, and specify all of the trusted signers that you want to include in the updated distribution.
For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.
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.
sourceimpl StreamingDistributionSummary
impl StreamingDistributionSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StreamingDistributionSummary
Trait Implementations
sourceimpl Clone for StreamingDistributionSummary
impl Clone for StreamingDistributionSummary
sourcefn clone(&self) -> StreamingDistributionSummary
fn clone(&self) -> StreamingDistributionSummary
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 StreamingDistributionSummary
impl Debug for StreamingDistributionSummary
sourceimpl PartialEq<StreamingDistributionSummary> for StreamingDistributionSummary
impl PartialEq<StreamingDistributionSummary> for StreamingDistributionSummary
sourcefn eq(&self, other: &StreamingDistributionSummary) -> bool
fn eq(&self, other: &StreamingDistributionSummary) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StreamingDistributionSummary) -> bool
fn ne(&self, other: &StreamingDistributionSummary) -> bool
This method tests for !=
.
impl StructuralPartialEq for StreamingDistributionSummary
Auto Trait Implementations
impl RefUnwindSafe for StreamingDistributionSummary
impl Send for StreamingDistributionSummary
impl Sync for StreamingDistributionSummary
impl Unpin for StreamingDistributionSummary
impl UnwindSafe for StreamingDistributionSummary
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