Struct aws_sdk_cloudfront::model::StreamingDistribution
source · [−]#[non_exhaustive]pub struct StreamingDistribution {
pub id: Option<String>,
pub arn: Option<String>,
pub status: Option<String>,
pub last_modified_time: Option<DateTime>,
pub domain_name: Option<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: Option<String>
The identifier for the RTMP distribution. For example: EGTXBD79EXAMPLE
.
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 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: Option<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
sourceimpl StreamingDistribution
impl StreamingDistribution
sourcepub fn id(&self) -> Option<&str>
pub fn id(&self) -> Option<&str>
The identifier for the RTMP distribution. For example: EGTXBD79EXAMPLE
.
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 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) -> Option<&str>
pub fn domain_name(&self) -> Option<&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.
sourceimpl StreamingDistribution
impl StreamingDistribution
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StreamingDistribution
Trait Implementations
sourceimpl Clone for StreamingDistribution
impl Clone for StreamingDistribution
sourcefn clone(&self) -> StreamingDistribution
fn clone(&self) -> StreamingDistribution
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 StreamingDistribution
impl Debug for StreamingDistribution
sourceimpl PartialEq<StreamingDistribution> for StreamingDistribution
impl PartialEq<StreamingDistribution> for StreamingDistribution
sourcefn eq(&self, other: &StreamingDistribution) -> bool
fn eq(&self, other: &StreamingDistribution) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StreamingDistribution) -> bool
fn ne(&self, other: &StreamingDistribution) -> bool
This method tests for !=
.
impl StructuralPartialEq for StreamingDistribution
Auto Trait Implementations
impl RefUnwindSafe for StreamingDistribution
impl Send for StreamingDistribution
impl Sync for StreamingDistribution
impl Unpin for StreamingDistribution
impl UnwindSafe for StreamingDistribution
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