Struct aws_sdk_cloudfront::types::StreamingDistribution
source · #[non_exhaustive]pub struct StreamingDistribution {
pub id: String,
pub arn: String,
pub status: String,
pub last_modified_time: Option<DateTime>,
pub domain_name: String,
pub active_trusted_signers: Option<ActiveTrustedSigners>,
pub streaming_distribution_config: Option<StreamingDistributionConfig>,
}
Expand description
A streaming distribution tells CloudFront where you want RTMP content to be delivered from, and the details about how to track and manage content delivery.
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: String
The identifier for the RTMP distribution. For example: EGTXBD79EXAMPLE
.
arn: 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: String
The current status of the RTMP 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 that the distribution was last modified.
domain_name: String
The domain name that corresponds to the streaming distribution, for example, s5c39gqb8ow64r.cloudfront.net
.
active_trusted_signers: Option<ActiveTrustedSigners>
A complex type that lists the Amazon Web Services accounts, if any, that you included in the TrustedSigners
complex type for this distribution. These are the accounts that you want to allow to create signed URLs for private content.
The Signer
complex type lists the Amazon Web Services account number of the trusted signer or self
if the signer is the Amazon Web Services account that created the distribution. The Signer
element also includes the IDs of any active CloudFront key pairs that are associated with the trusted signer's Amazon Web Services account. If no KeyPairId
element appears for a Signer
, that signer can't create signed URLs.
For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.
streaming_distribution_config: Option<StreamingDistributionConfig>
The current configuration information for the RTMP distribution.
Implementations§
source§impl StreamingDistribution
impl StreamingDistribution
sourcepub fn id(&self) -> &str
pub fn id(&self) -> &str
The identifier for the RTMP distribution. For example: EGTXBD79EXAMPLE
.
sourcepub fn arn(&self) -> &str
pub fn arn(&self) -> &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) -> &str
pub fn status(&self) -> &str
The current status of the RTMP 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 that the distribution was last modified.
sourcepub fn domain_name(&self) -> &str
pub fn domain_name(&self) -> &str
The domain name that corresponds to the streaming distribution, for example, s5c39gqb8ow64r.cloudfront.net
.
sourcepub fn active_trusted_signers(&self) -> Option<&ActiveTrustedSigners>
pub fn active_trusted_signers(&self) -> Option<&ActiveTrustedSigners>
A complex type that lists the Amazon Web Services accounts, if any, that you included in the TrustedSigners
complex type for this distribution. These are the accounts that you want to allow to create signed URLs for private content.
The Signer
complex type lists the Amazon Web Services account number of the trusted signer or self
if the signer is the Amazon Web Services account that created the distribution. The Signer
element also includes the IDs of any active CloudFront key pairs that are associated with the trusted signer's Amazon Web Services account. If no KeyPairId
element appears for a Signer
, that signer can't create signed URLs.
For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.
sourcepub fn streaming_distribution_config(
&self
) -> Option<&StreamingDistributionConfig>
pub fn streaming_distribution_config( &self ) -> Option<&StreamingDistributionConfig>
The current configuration information for the RTMP distribution.
source§impl StreamingDistribution
impl StreamingDistribution
sourcepub fn builder() -> StreamingDistributionBuilder
pub fn builder() -> StreamingDistributionBuilder
Creates a new builder-style object to manufacture StreamingDistribution
.
Trait Implementations§
source§impl Clone for StreamingDistribution
impl Clone for StreamingDistribution
source§fn clone(&self) -> StreamingDistribution
fn clone(&self) -> StreamingDistribution
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StreamingDistribution
impl Debug for StreamingDistribution
source§impl PartialEq for StreamingDistribution
impl PartialEq for StreamingDistribution
source§fn eq(&self, other: &StreamingDistribution) -> bool
fn eq(&self, other: &StreamingDistribution) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StreamingDistribution
Auto Trait Implementations§
impl Freeze for StreamingDistribution
impl RefUnwindSafe for StreamingDistribution
impl Send for StreamingDistribution
impl Sync for StreamingDistribution
impl Unpin for StreamingDistribution
impl UnwindSafe for StreamingDistribution
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more