#[non_exhaustive]pub struct UpdateFlowEntitlementInput {
pub description: Option<String>,
pub encryption: Option<UpdateEncryption>,
pub entitlement_arn: Option<String>,
pub entitlement_status: Option<EntitlementStatus>,
pub flow_arn: Option<String>,
pub subscribers: Option<Vec<String>>,
}
Expand description
The entitlement fields that you want to update.
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.description: Option<String>
A description of the entitlement. This description appears only on the AWS Elemental MediaConnect console and will not be seen by the subscriber or end user.
encryption: Option<UpdateEncryption>
The type of encryption that will be used on the output associated with this entitlement. Allowable encryption types: static-key, speke.
entitlement_arn: Option<String>
The ARN of the entitlement that you want to update.
entitlement_status: Option<EntitlementStatus>
An indication of whether you want to enable the entitlement to allow access, or disable it to stop streaming content to the subscriber’s flow temporarily. If you don’t specify the entitlementStatus field in your request, MediaConnect leaves the value unchanged.
flow_arn: Option<String>
The flow that is associated with the entitlement that you want to update.
subscribers: Option<Vec<String>>
The AWS account IDs that you want to share your content with. The receiving accounts (subscribers) will be allowed to create their own flow using your content as the source.
Implementations§
source§impl UpdateFlowEntitlementInput
impl UpdateFlowEntitlementInput
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the entitlement. This description appears only on the AWS Elemental MediaConnect console and will not be seen by the subscriber or end user.
sourcepub fn encryption(&self) -> Option<&UpdateEncryption>
pub fn encryption(&self) -> Option<&UpdateEncryption>
The type of encryption that will be used on the output associated with this entitlement. Allowable encryption types: static-key, speke.
sourcepub fn entitlement_arn(&self) -> Option<&str>
pub fn entitlement_arn(&self) -> Option<&str>
The ARN of the entitlement that you want to update.
sourcepub fn entitlement_status(&self) -> Option<&EntitlementStatus>
pub fn entitlement_status(&self) -> Option<&EntitlementStatus>
An indication of whether you want to enable the entitlement to allow access, or disable it to stop streaming content to the subscriber’s flow temporarily. If you don’t specify the entitlementStatus field in your request, MediaConnect leaves the value unchanged.
sourcepub fn flow_arn(&self) -> Option<&str>
pub fn flow_arn(&self) -> Option<&str>
The flow that is associated with the entitlement that you want to update.
sourcepub fn subscribers(&self) -> &[String]
pub fn subscribers(&self) -> &[String]
The AWS account IDs that you want to share your content with. The receiving accounts (subscribers) will be allowed to create their own flow using your content as the source.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .subscribers.is_none()
.
source§impl UpdateFlowEntitlementInput
impl UpdateFlowEntitlementInput
sourcepub fn builder() -> UpdateFlowEntitlementInputBuilder
pub fn builder() -> UpdateFlowEntitlementInputBuilder
Creates a new builder-style object to manufacture UpdateFlowEntitlementInput
.
Trait Implementations§
source§impl Clone for UpdateFlowEntitlementInput
impl Clone for UpdateFlowEntitlementInput
source§fn clone(&self) -> UpdateFlowEntitlementInput
fn clone(&self) -> UpdateFlowEntitlementInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateFlowEntitlementInput
impl Debug for UpdateFlowEntitlementInput
source§impl PartialEq for UpdateFlowEntitlementInput
impl PartialEq for UpdateFlowEntitlementInput
source§fn eq(&self, other: &UpdateFlowEntitlementInput) -> bool
fn eq(&self, other: &UpdateFlowEntitlementInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateFlowEntitlementInput
Auto Trait Implementations§
impl Freeze for UpdateFlowEntitlementInput
impl RefUnwindSafe for UpdateFlowEntitlementInput
impl Send for UpdateFlowEntitlementInput
impl Sync for UpdateFlowEntitlementInput
impl Unpin for UpdateFlowEntitlementInput
impl UnwindSafe for UpdateFlowEntitlementInput
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