#[non_exhaustive]pub struct JournalKinesisStreamDescription {
pub ledger_name: String,
pub creation_time: Option<DateTime>,
pub inclusive_start_time: Option<DateTime>,
pub exclusive_end_time: Option<DateTime>,
pub role_arn: String,
pub stream_id: String,
pub arn: Option<String>,
pub status: StreamStatus,
pub kinesis_configuration: Option<KinesisConfiguration>,
pub error_cause: Option<ErrorCause>,
pub stream_name: 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: StringThe 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: StringThe 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: StringThe 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: StreamStatusThe 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: StringThe user-defined name of the QLDB journal stream.
Implementations§
source§impl JournalKinesisStreamDescription
impl JournalKinesisStreamDescription
sourcepub fn ledger_name(&self) -> &str
pub fn ledger_name(&self) -> &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) -> &str
pub fn role_arn(&self) -> &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) -> &str
pub fn stream_id(&self) -> &str
The UUID (represented in Base62-encoded text) of the QLDB journal stream.
sourcepub fn status(&self) -> &StreamStatus
pub fn status(&self) -> &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) -> &str
pub fn stream_name(&self) -> &str
The user-defined name of the QLDB journal stream.
source§impl JournalKinesisStreamDescription
impl JournalKinesisStreamDescription
sourcepub fn builder() -> JournalKinesisStreamDescriptionBuilder
pub fn builder() -> JournalKinesisStreamDescriptionBuilder
Creates a new builder-style object to manufacture JournalKinesisStreamDescription.
Trait Implementations§
source§impl Clone for JournalKinesisStreamDescription
impl Clone for JournalKinesisStreamDescription
source§fn clone(&self) -> JournalKinesisStreamDescription
fn clone(&self) -> JournalKinesisStreamDescription
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for JournalKinesisStreamDescription
impl PartialEq for JournalKinesisStreamDescription
source§fn eq(&self, other: &JournalKinesisStreamDescription) -> bool
fn eq(&self, other: &JournalKinesisStreamDescription) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for JournalKinesisStreamDescription
Auto Trait Implementations§
impl Freeze for JournalKinesisStreamDescription
impl RefUnwindSafe for JournalKinesisStreamDescription
impl Send for JournalKinesisStreamDescription
impl Sync for JournalKinesisStreamDescription
impl Unpin for JournalKinesisStreamDescription
impl UnwindSafe for JournalKinesisStreamDescription
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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