#[non_exhaustive]pub struct BatchStartViewerSessionRevocationViewerSession {
pub channel_arn: String,
pub viewer_id: String,
pub viewer_session_versions_less_than_or_equal_to: i32,
}
Expand description
A viewer session to revoke in the call to BatchStartViewerSessionRevocation
.
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.channel_arn: String
The ARN of the channel associated with the viewer session to revoke.
viewer_id: String
The ID of the viewer associated with the viewer session to revoke. Do not use this field for personally identifying, confidential, or sensitive information.
viewer_session_versions_less_than_or_equal_to: i32
An optional filter on which versions of the viewer session to revoke. All versions less than or equal to the specified version will be revoked. Default: 0.
Implementations§
source§impl BatchStartViewerSessionRevocationViewerSession
impl BatchStartViewerSessionRevocationViewerSession
sourcepub fn channel_arn(&self) -> &str
pub fn channel_arn(&self) -> &str
The ARN of the channel associated with the viewer session to revoke.
sourcepub fn viewer_id(&self) -> &str
pub fn viewer_id(&self) -> &str
The ID of the viewer associated with the viewer session to revoke. Do not use this field for personally identifying, confidential, or sensitive information.
sourcepub fn viewer_session_versions_less_than_or_equal_to(&self) -> i32
pub fn viewer_session_versions_less_than_or_equal_to(&self) -> i32
An optional filter on which versions of the viewer session to revoke. All versions less than or equal to the specified version will be revoked. Default: 0.
source§impl BatchStartViewerSessionRevocationViewerSession
impl BatchStartViewerSessionRevocationViewerSession
sourcepub fn builder() -> BatchStartViewerSessionRevocationViewerSessionBuilder
pub fn builder() -> BatchStartViewerSessionRevocationViewerSessionBuilder
Creates a new builder-style object to manufacture BatchStartViewerSessionRevocationViewerSession
.
Trait Implementations§
source§impl Clone for BatchStartViewerSessionRevocationViewerSession
impl Clone for BatchStartViewerSessionRevocationViewerSession
source§fn clone(&self) -> BatchStartViewerSessionRevocationViewerSession
fn clone(&self) -> BatchStartViewerSessionRevocationViewerSession
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for BatchStartViewerSessionRevocationViewerSession
impl PartialEq for BatchStartViewerSessionRevocationViewerSession
source§fn eq(&self, other: &BatchStartViewerSessionRevocationViewerSession) -> bool
fn eq(&self, other: &BatchStartViewerSessionRevocationViewerSession) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchStartViewerSessionRevocationViewerSession
Auto Trait Implementations§
impl Freeze for BatchStartViewerSessionRevocationViewerSession
impl RefUnwindSafe for BatchStartViewerSessionRevocationViewerSession
impl Send for BatchStartViewerSessionRevocationViewerSession
impl Sync for BatchStartViewerSessionRevocationViewerSession
impl Unpin for BatchStartViewerSessionRevocationViewerSession
impl UnwindSafe for BatchStartViewerSessionRevocationViewerSession
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