Struct aws_sdk_qldb::client::fluent_builders::ExportJournalToS3 [−][src]
pub struct ExportJournalToS3<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to ExportJournalToS3
.
Exports journal contents within a date and time range from a ledger into a specified Amazon Simple Storage Service (Amazon S3) bucket. The data is written as files in Amazon Ion format.
If the ledger with the given Name
doesn't exist, then throws
ResourceNotFoundException
.
If the ledger with the given Name
is in CREATING
status, then
throws ResourcePreconditionNotMetException
.
You can initiate up to two concurrent journal export requests for each ledger. Beyond
this limit, journal export requests throw LimitExceededException
.
Implementations
impl<C, M, R> ExportJournalToS3<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ExportJournalToS3<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ExportJournalToS3Output, SdkError<ExportJournalToS3Error>> where
R::Policy: SmithyRetryPolicy<ExportJournalToS3InputOperationOutputAlias, ExportJournalToS3Output, ExportJournalToS3Error, ExportJournalToS3InputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ExportJournalToS3Output, SdkError<ExportJournalToS3Error>> where
R::Policy: SmithyRetryPolicy<ExportJournalToS3InputOperationOutputAlias, ExportJournalToS3Output, ExportJournalToS3Error, ExportJournalToS3InputOperationRetryAlias>,
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 inclusive start date and time for the range of journal contents to export.
The InclusiveStartTime
must be in ISO 8601
date and time
format and in Universal Coordinated Time (UTC). For example:
2019-06-13T21:36:34Z
.
The InclusiveStartTime
must be before ExclusiveEndTime
.
If you provide an InclusiveStartTime
that is before the ledger's
CreationDateTime
, Amazon QLDB defaults it to the ledger's
CreationDateTime
.
The inclusive start date and time for the range of journal contents to export.
The InclusiveStartTime
must be in ISO 8601
date and time
format and in Universal Coordinated Time (UTC). For example:
2019-06-13T21:36:34Z
.
The InclusiveStartTime
must be before ExclusiveEndTime
.
If you provide an InclusiveStartTime
that is before the ledger's
CreationDateTime
, Amazon QLDB defaults it to the ledger's
CreationDateTime
.
The exclusive end date and time for the range of journal contents to export.
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 ExclusiveEndTime
must be less than or equal to the current UTC date and
time.
The exclusive end date and time for the range of journal contents to export.
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 ExclusiveEndTime
must be less than or equal to the current UTC date and
time.
The configuration settings of the Amazon S3 bucket destination for your export request.
The configuration settings of the Amazon S3 bucket destination for your export request.
The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a journal export job to do the following:
-
Write objects into your Amazon Simple Storage Service (Amazon S3) bucket.
-
(Optional) Use your customer master key (CMK) in Key Management Service (KMS) for server-side encryption of your exported data.
The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a journal export job to do the following:
-
Write objects into your Amazon Simple Storage Service (Amazon S3) bucket.
-
(Optional) Use your customer master key (CMK) in Key Management Service (KMS) for server-side encryption of your exported data.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for ExportJournalToS3<C, M, R>
impl<C, M, R> Send for ExportJournalToS3<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for ExportJournalToS3<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for ExportJournalToS3<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for ExportJournalToS3<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