Struct aws_sdk_qldb::input::ExportJournalToS3Input
source · [−]#[non_exhaustive]pub struct ExportJournalToS3Input {
pub name: Option<String>,
pub inclusive_start_time: Option<DateTime>,
pub exclusive_end_time: Option<DateTime>,
pub s3_export_configuration: Option<S3ExportConfiguration>,
pub role_arn: Option<String>,
pub output_format: Option<OutputFormat>,
}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.name: Option<String>The name of the ledger.
inclusive_start_time: Option<DateTime>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.
exclusive_end_time: Option<DateTime>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.
s3_export_configuration: Option<S3ExportConfiguration>The configuration settings of the Amazon S3 bucket destination for your export request.
role_arn: Option<String>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 managed key in Key Management Service (KMS) for server-side encryption of your exported data.
To pass a role to QLDB when requesting a journal export, you must have permissions to perform the iam:PassRole action on the IAM role resource. This is required for all journal export requests.
output_format: Option<OutputFormat>The output format of your exported journal data. If this parameter is not specified, the exported data defaults to ION_TEXT format.
Implementations
sourceimpl ExportJournalToS3Input
impl ExportJournalToS3Input
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ExportJournalToS3, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ExportJournalToS3, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ExportJournalToS3>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ExportJournalToS3Input
sourceimpl ExportJournalToS3Input
impl ExportJournalToS3Input
sourcepub fn inclusive_start_time(&self) -> Option<&DateTime>
pub fn inclusive_start_time(&self) -> Option<&DateTime>
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.
sourcepub fn exclusive_end_time(&self) -> Option<&DateTime>
pub fn exclusive_end_time(&self) -> Option<&DateTime>
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.
sourcepub fn s3_export_configuration(&self) -> Option<&S3ExportConfiguration>
pub fn s3_export_configuration(&self) -> Option<&S3ExportConfiguration>
The configuration settings of the Amazon S3 bucket destination for your export request.
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 export job to do the following:
-
Write objects into your Amazon Simple Storage Service (Amazon S3) bucket.
-
(Optional) Use your customer managed key in Key Management Service (KMS) for server-side encryption of your exported data.
To pass a role to QLDB when requesting a journal export, you must have permissions to perform the iam:PassRole action on the IAM role resource. This is required for all journal export requests.
sourcepub fn output_format(&self) -> Option<&OutputFormat>
pub fn output_format(&self) -> Option<&OutputFormat>
The output format of your exported journal data. If this parameter is not specified, the exported data defaults to ION_TEXT format.
Trait Implementations
sourceimpl Clone for ExportJournalToS3Input
impl Clone for ExportJournalToS3Input
sourcefn clone(&self) -> ExportJournalToS3Input
fn clone(&self) -> ExportJournalToS3Input
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 Debug for ExportJournalToS3Input
impl Debug for ExportJournalToS3Input
sourceimpl PartialEq<ExportJournalToS3Input> for ExportJournalToS3Input
impl PartialEq<ExportJournalToS3Input> for ExportJournalToS3Input
sourcefn eq(&self, other: &ExportJournalToS3Input) -> bool
fn eq(&self, other: &ExportJournalToS3Input) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ExportJournalToS3Input) -> bool
fn ne(&self, other: &ExportJournalToS3Input) -> bool
This method tests for !=.
impl StructuralPartialEq for ExportJournalToS3Input
Auto Trait Implementations
impl RefUnwindSafe for ExportJournalToS3Input
impl Send for ExportJournalToS3Input
impl Sync for ExportJournalToS3Input
impl Unpin for ExportJournalToS3Input
impl UnwindSafe for ExportJournalToS3Input
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
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