Struct aws_sdk_qldb::client::fluent_builders::StreamJournalToKinesis [−][src]
pub struct StreamJournalToKinesis<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to StreamJournalToKinesis
.
Creates a journal stream for a given Amazon QLDB ledger. The stream captures every document revision that is committed to the ledger's journal and delivers the data to a specified Amazon Kinesis Data Streams resource.
Implementations
impl<C, M, R> StreamJournalToKinesis<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> StreamJournalToKinesis<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<StreamJournalToKinesisOutput, SdkError<StreamJournalToKinesisError>> where
R::Policy: SmithyRetryPolicy<StreamJournalToKinesisInputOperationOutputAlias, StreamJournalToKinesisOutput, StreamJournalToKinesisError, StreamJournalToKinesisInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<StreamJournalToKinesisOutput, SdkError<StreamJournalToKinesisError>> where
R::Policy: SmithyRetryPolicy<StreamJournalToKinesisInputOperationOutputAlias, StreamJournalToKinesisOutput, StreamJournalToKinesisError, StreamJournalToKinesisInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The name of the ledger.
The name of the ledger.
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.
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.
Adds a key-value pair to Tags
.
To override the contents of this collection use set_tags
.
The key-value pairs to add as tags to the stream that you want to create. Tag keys are case sensitive. Tag values are case sensitive and can be null.
The key-value pairs to add as tags to the stream that you want to create. Tag keys are case sensitive. Tag values are case sensitive and can be null.
The inclusive start date and time from which to start streaming journal data. This
parameter must be in ISO 8601
date and time format and in Universal
Coordinated Time (UTC). For example: 2019-06-13T21:36:34Z
.
The InclusiveStartTime
cannot be in the future and must be before
ExclusiveEndTime
.
If you provide an InclusiveStartTime
that is before the ledger's
CreationDateTime
, QLDB effectively defaults it to the ledger's
CreationDateTime
.
The inclusive start date and time from which to start streaming journal data. This
parameter must be in ISO 8601
date and time format and in Universal
Coordinated Time (UTC). For example: 2019-06-13T21:36:34Z
.
The InclusiveStartTime
cannot be in the future and must be before
ExclusiveEndTime
.
If you provide an InclusiveStartTime
that is before the ledger's
CreationDateTime
, QLDB effectively defaults it to the ledger's
CreationDateTime
.
The exclusive date and time that specifies when the stream ends. If you don't define this parameter, the stream runs indefinitely until you cancel it.
The ExclusiveEndTime
must be in ISO 8601
date and time format
and in Universal Coordinated Time (UTC). For example:
2019-06-13T21:36:34Z
.
The exclusive date and time that specifies when the stream ends. If you don't define this parameter, the stream runs indefinitely until you cancel it.
The ExclusiveEndTime
must be in ISO 8601
date and time format
and in Universal Coordinated Time (UTC). For example:
2019-06-13T21:36:34Z
.
The configuration settings of the Kinesis Data Streams destination for your stream request.
The configuration settings of the Kinesis Data Streams destination for your stream request.
The name that you want to assign to the QLDB journal stream. User-defined names can help identify and indicate the purpose of a stream.
Your stream name must be unique among other active streams for a given ledger. Stream names have the same naming constraints as ledger names, as defined in Quotas in Amazon QLDB in the Amazon QLDB Developer Guide.
The name that you want to assign to the QLDB journal stream. User-defined names can help identify and indicate the purpose of a stream.
Your stream name must be unique among other active streams for a given ledger. Stream names have the same naming constraints as ledger names, as defined in Quotas in Amazon QLDB in the Amazon QLDB Developer Guide.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for StreamJournalToKinesis<C, M, R>
impl<C, M, R> Send for StreamJournalToKinesis<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for StreamJournalToKinesis<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for StreamJournalToKinesis<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for StreamJournalToKinesis<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more