#[non_exhaustive]pub struct JournalKinesisStreamDescription {
pub ledger_name: Option<String>,
pub creation_time: Option<DateTime>,
pub inclusive_start_time: Option<DateTime>,
pub exclusive_end_time: Option<DateTime>,
pub role_arn: Option<String>,
pub stream_id: Option<String>,
pub arn: Option<String>,
pub status: Option<StreamStatus>,
pub kinesis_configuration: Option<KinesisConfiguration>,
pub error_cause: Option<ErrorCause>,
pub stream_name: Option<String>,
}
Expand description
Information about an Amazon QLDB journal stream, including the Amazon Resource Name (ARN), stream name, creation time, current status, and the parameters of the original stream creation request.
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.ledger_name: Option<String>
The name of the ledger.
creation_time: Option<DateTime>
The date and time, in epoch time format, when the QLDB journal stream was created. (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)
inclusive_start_time: Option<DateTime>
The inclusive start date and time from which to start streaming journal data.
exclusive_end_time: Option<DateTime>
The exclusive date and time that specifies when the stream ends. If this parameter is undefined, the stream runs indefinitely until you cancel it.
role_arn: Option<String>
The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a journal stream to write data records to a Kinesis Data Streams resource.
stream_id: Option<String>
The UUID (represented in Base62-encoded text) of the QLDB journal stream.
arn: Option<String>
The Amazon Resource Name (ARN) of the QLDB journal stream.
status: Option<StreamStatus>
The current state of the QLDB journal stream.
kinesis_configuration: Option<KinesisConfiguration>
The configuration settings of the Amazon Kinesis Data Streams destination for a QLDB journal stream.
error_cause: Option<ErrorCause>
The error message that describes the reason that a stream has a status of IMPAIRED
or FAILED
. This is not applicable to streams that have other status values.
stream_name: Option<String>
The user-defined name of the QLDB journal stream.
Implementations
sourceimpl JournalKinesisStreamDescription
impl JournalKinesisStreamDescription
sourcepub fn ledger_name(&self) -> Option<&str>
pub fn ledger_name(&self) -> Option<&str>
The name of the ledger.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The date and time, in epoch time format, when the QLDB journal stream was created. (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)
sourcepub fn inclusive_start_time(&self) -> Option<&DateTime>
pub fn inclusive_start_time(&self) -> Option<&DateTime>
The inclusive start date and time from which to start streaming journal data.
sourcepub fn exclusive_end_time(&self) -> Option<&DateTime>
pub fn exclusive_end_time(&self) -> Option<&DateTime>
The exclusive date and time that specifies when the stream ends. If this parameter is undefined, the stream runs indefinitely until you cancel it.
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a journal stream to write data records to a Kinesis Data Streams resource.
sourcepub fn stream_id(&self) -> Option<&str>
pub fn stream_id(&self) -> Option<&str>
The UUID (represented in Base62-encoded text) of the QLDB journal stream.
sourcepub fn status(&self) -> Option<&StreamStatus>
pub fn status(&self) -> Option<&StreamStatus>
The current state of the QLDB journal stream.
sourcepub fn kinesis_configuration(&self) -> Option<&KinesisConfiguration>
pub fn kinesis_configuration(&self) -> Option<&KinesisConfiguration>
The configuration settings of the Amazon Kinesis Data Streams destination for a QLDB journal stream.
sourcepub fn error_cause(&self) -> Option<&ErrorCause>
pub fn error_cause(&self) -> Option<&ErrorCause>
The error message that describes the reason that a stream has a status of IMPAIRED
or FAILED
. This is not applicable to streams that have other status values.
sourcepub fn stream_name(&self) -> Option<&str>
pub fn stream_name(&self) -> Option<&str>
The user-defined name of the QLDB journal stream.
sourceimpl JournalKinesisStreamDescription
impl JournalKinesisStreamDescription
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture JournalKinesisStreamDescription
Trait Implementations
sourceimpl Clone for JournalKinesisStreamDescription
impl Clone for JournalKinesisStreamDescription
sourcefn clone(&self) -> JournalKinesisStreamDescription
fn clone(&self) -> JournalKinesisStreamDescription
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 PartialEq<JournalKinesisStreamDescription> for JournalKinesisStreamDescription
impl PartialEq<JournalKinesisStreamDescription> for JournalKinesisStreamDescription
sourcefn eq(&self, other: &JournalKinesisStreamDescription) -> bool
fn eq(&self, other: &JournalKinesisStreamDescription) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &JournalKinesisStreamDescription) -> bool
fn ne(&self, other: &JournalKinesisStreamDescription) -> bool
This method tests for !=
.
impl StructuralPartialEq for JournalKinesisStreamDescription
Auto Trait Implementations
impl RefUnwindSafe for JournalKinesisStreamDescription
impl Send for JournalKinesisStreamDescription
impl Sync for JournalKinesisStreamDescription
impl Unpin for JournalKinesisStreamDescription
impl UnwindSafe for JournalKinesisStreamDescription
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> 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