Struct aws_sdk_dynamodb::types::ExportDescription
source · #[non_exhaustive]pub struct ExportDescription {Show 21 fields
pub export_arn: Option<String>,
pub export_status: Option<ExportStatus>,
pub start_time: Option<DateTime>,
pub end_time: Option<DateTime>,
pub export_manifest: Option<String>,
pub table_arn: Option<String>,
pub table_id: Option<String>,
pub export_time: Option<DateTime>,
pub client_token: Option<String>,
pub s3_bucket: Option<String>,
pub s3_bucket_owner: Option<String>,
pub s3_prefix: Option<String>,
pub s3_sse_algorithm: Option<S3SseAlgorithm>,
pub s3_sse_kms_key_id: Option<String>,
pub failure_code: Option<String>,
pub failure_message: Option<String>,
pub export_format: Option<ExportFormat>,
pub billed_size_bytes: Option<i64>,
pub item_count: Option<i64>,
pub export_type: Option<ExportType>,
pub incremental_export_specification: Option<IncrementalExportSpecification>,
}
Expand description
Represents the properties of the exported table.
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.export_arn: Option<String>
The Amazon Resource Name (ARN) of the table export.
export_status: Option<ExportStatus>
Export can be in one of the following states: IN_PROGRESS, COMPLETED, or FAILED.
start_time: Option<DateTime>
The time at which the export task began.
end_time: Option<DateTime>
The time at which the export task completed.
export_manifest: Option<String>
The name of the manifest file for the export task.
table_arn: Option<String>
The Amazon Resource Name (ARN) of the table that was exported.
table_id: Option<String>
Unique ID of the table that was exported.
export_time: Option<DateTime>
Point in time from which table data was exported.
client_token: Option<String>
The client token that was provided for the export task. A client token makes calls to ExportTableToPointInTimeInput
idempotent, meaning that multiple identical calls have the same effect as one single call.
s3_bucket: Option<String>
The name of the Amazon S3 bucket containing the export.
s3_bucket_owner: Option<String>
The ID of the Amazon Web Services account that owns the bucket containing the export.
s3_prefix: Option<String>
The Amazon S3 bucket prefix used as the file name and path of the exported snapshot.
s3_sse_algorithm: Option<S3SseAlgorithm>
Type of encryption used on the bucket where export data is stored. Valid values for S3SseAlgorithm
are:
-
AES256
- server-side encryption with Amazon S3 managed keys -
KMS
- server-side encryption with KMS managed keys
s3_sse_kms_key_id: Option<String>
The ID of the KMS managed key used to encrypt the S3 bucket where export data is stored (if applicable).
failure_code: Option<String>
Status code for the result of the failed export.
failure_message: Option<String>
Export failure reason description.
export_format: Option<ExportFormat>
The format of the exported data. Valid values for ExportFormat
are DYNAMODB_JSON
or ION
.
billed_size_bytes: Option<i64>
The billable size of the table export.
item_count: Option<i64>
The number of items exported.
export_type: Option<ExportType>
The type of export that was performed. Valid values are FULL_EXPORT
or INCREMENTAL_EXPORT
.
incremental_export_specification: Option<IncrementalExportSpecification>
Optional object containing the parameters specific to an incremental export.
Implementations§
source§impl ExportDescription
impl ExportDescription
sourcepub fn export_arn(&self) -> Option<&str>
pub fn export_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the table export.
sourcepub fn export_status(&self) -> Option<&ExportStatus>
pub fn export_status(&self) -> Option<&ExportStatus>
Export can be in one of the following states: IN_PROGRESS, COMPLETED, or FAILED.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
The time at which the export task began.
sourcepub fn export_manifest(&self) -> Option<&str>
pub fn export_manifest(&self) -> Option<&str>
The name of the manifest file for the export task.
sourcepub fn table_arn(&self) -> Option<&str>
pub fn table_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the table that was exported.
sourcepub fn export_time(&self) -> Option<&DateTime>
pub fn export_time(&self) -> Option<&DateTime>
Point in time from which table data was exported.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
The client token that was provided for the export task. A client token makes calls to ExportTableToPointInTimeInput
idempotent, meaning that multiple identical calls have the same effect as one single call.
sourcepub fn s3_bucket(&self) -> Option<&str>
pub fn s3_bucket(&self) -> Option<&str>
The name of the Amazon S3 bucket containing the export.
sourcepub fn s3_bucket_owner(&self) -> Option<&str>
pub fn s3_bucket_owner(&self) -> Option<&str>
The ID of the Amazon Web Services account that owns the bucket containing the export.
sourcepub fn s3_prefix(&self) -> Option<&str>
pub fn s3_prefix(&self) -> Option<&str>
The Amazon S3 bucket prefix used as the file name and path of the exported snapshot.
sourcepub fn s3_sse_algorithm(&self) -> Option<&S3SseAlgorithm>
pub fn s3_sse_algorithm(&self) -> Option<&S3SseAlgorithm>
Type of encryption used on the bucket where export data is stored. Valid values for S3SseAlgorithm
are:
-
AES256
- server-side encryption with Amazon S3 managed keys -
KMS
- server-side encryption with KMS managed keys
sourcepub fn s3_sse_kms_key_id(&self) -> Option<&str>
pub fn s3_sse_kms_key_id(&self) -> Option<&str>
The ID of the KMS managed key used to encrypt the S3 bucket where export data is stored (if applicable).
sourcepub fn failure_code(&self) -> Option<&str>
pub fn failure_code(&self) -> Option<&str>
Status code for the result of the failed export.
sourcepub fn failure_message(&self) -> Option<&str>
pub fn failure_message(&self) -> Option<&str>
Export failure reason description.
sourcepub fn export_format(&self) -> Option<&ExportFormat>
pub fn export_format(&self) -> Option<&ExportFormat>
The format of the exported data. Valid values for ExportFormat
are DYNAMODB_JSON
or ION
.
sourcepub fn billed_size_bytes(&self) -> Option<i64>
pub fn billed_size_bytes(&self) -> Option<i64>
The billable size of the table export.
sourcepub fn item_count(&self) -> Option<i64>
pub fn item_count(&self) -> Option<i64>
The number of items exported.
sourcepub fn export_type(&self) -> Option<&ExportType>
pub fn export_type(&self) -> Option<&ExportType>
The type of export that was performed. Valid values are FULL_EXPORT
or INCREMENTAL_EXPORT
.
sourcepub fn incremental_export_specification(
&self,
) -> Option<&IncrementalExportSpecification>
pub fn incremental_export_specification( &self, ) -> Option<&IncrementalExportSpecification>
Optional object containing the parameters specific to an incremental export.
source§impl ExportDescription
impl ExportDescription
sourcepub fn builder() -> ExportDescriptionBuilder
pub fn builder() -> ExportDescriptionBuilder
Creates a new builder-style object to manufacture ExportDescription
.
Trait Implementations§
source§impl Clone for ExportDescription
impl Clone for ExportDescription
source§fn clone(&self) -> ExportDescription
fn clone(&self) -> ExportDescription
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExportDescription
impl Debug for ExportDescription
source§impl PartialEq for ExportDescription
impl PartialEq for ExportDescription
source§fn eq(&self, other: &ExportDescription) -> bool
fn eq(&self, other: &ExportDescription) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExportDescription
Auto Trait Implementations§
impl Freeze for ExportDescription
impl RefUnwindSafe for ExportDescription
impl Send for ExportDescription
impl Sync for ExportDescription
impl Unpin for ExportDescription
impl UnwindSafe for ExportDescription
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
)§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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§impl<T> Paint for Twhere
T: ?Sized,
impl<T> Paint for Twhere
T: ?Sized,
§fn fg(&self, value: Color) -> Painted<&T>
fn fg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self
with the foreground set to
value
.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like red()
and
green()
, which have the same functionality but are
pithier.
§Example
Set foreground color to white using fg()
:
use yansi::{Paint, Color};
painted.fg(Color::White);
Set foreground color to white using white()
.
use yansi::Paint;
painted.white();
§fn bright_black(&self) -> Painted<&T>
fn bright_black(&self) -> Painted<&T>
§fn bright_red(&self) -> Painted<&T>
fn bright_red(&self) -> Painted<&T>
§fn bright_green(&self) -> Painted<&T>
fn bright_green(&self) -> Painted<&T>
§fn bright_yellow(&self) -> Painted<&T>
fn bright_yellow(&self) -> Painted<&T>
§fn bright_blue(&self) -> Painted<&T>
fn bright_blue(&self) -> Painted<&T>
§fn bright_magenta(&self) -> Painted<&T>
fn bright_magenta(&self) -> Painted<&T>
§fn bright_cyan(&self) -> Painted<&T>
fn bright_cyan(&self) -> Painted<&T>
§fn bright_white(&self) -> Painted<&T>
fn bright_white(&self) -> Painted<&T>
§fn bg(&self, value: Color) -> Painted<&T>
fn bg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self
with the background set to
value
.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like on_red()
and
on_green()
, which have the same functionality but
are pithier.
§Example
Set background color to red using fg()
:
use yansi::{Paint, Color};
painted.bg(Color::Red);
Set background color to red using on_red()
.
use yansi::Paint;
painted.on_red();
§fn on_primary(&self) -> Painted<&T>
fn on_primary(&self) -> Painted<&T>
§fn on_magenta(&self) -> Painted<&T>
fn on_magenta(&self) -> Painted<&T>
§fn on_bright_black(&self) -> Painted<&T>
fn on_bright_black(&self) -> Painted<&T>
§fn on_bright_red(&self) -> Painted<&T>
fn on_bright_red(&self) -> Painted<&T>
§fn on_bright_green(&self) -> Painted<&T>
fn on_bright_green(&self) -> Painted<&T>
§fn on_bright_yellow(&self) -> Painted<&T>
fn on_bright_yellow(&self) -> Painted<&T>
§fn on_bright_blue(&self) -> Painted<&T>
fn on_bright_blue(&self) -> Painted<&T>
§fn on_bright_magenta(&self) -> Painted<&T>
fn on_bright_magenta(&self) -> Painted<&T>
§fn on_bright_cyan(&self) -> Painted<&T>
fn on_bright_cyan(&self) -> Painted<&T>
§fn on_bright_white(&self) -> Painted<&T>
fn on_bright_white(&self) -> Painted<&T>
§fn attr(&self, value: Attribute) -> Painted<&T>
fn attr(&self, value: Attribute) -> Painted<&T>
Enables the styling [Attribute
] value
.
This method should be used rarely. Instead, prefer to use
attribute-specific builder methods like bold()
and
underline()
, which have the same functionality
but are pithier.
§Example
Make text bold using attr()
:
use yansi::{Paint, Attribute};
painted.attr(Attribute::Bold);
Make text bold using using bold()
.
use yansi::Paint;
painted.bold();
§fn rapid_blink(&self) -> Painted<&T>
fn rapid_blink(&self) -> Painted<&T>
§fn quirk(&self, value: Quirk) -> Painted<&T>
fn quirk(&self, value: Quirk) -> Painted<&T>
Enables the yansi
[Quirk
] value
.
This method should be used rarely. Instead, prefer to use quirk-specific
builder methods like mask()
and
wrap()
, which have the same functionality but are
pithier.
§Example
Enable wrapping using .quirk()
:
use yansi::{Paint, Quirk};
painted.quirk(Quirk::Wrap);
Enable wrapping using wrap()
.
use yansi::Paint;
painted.wrap();
§fn clear(&self) -> Painted<&T>
👎Deprecated since 1.0.1: renamed to resetting()
due to conflicts with Vec::clear()
.
The clear()
method will be removed in a future release.
fn clear(&self) -> Painted<&T>
resetting()
due to conflicts with Vec::clear()
.
The clear()
method will be removed in a future release.§fn whenever(&self, value: Condition) -> Painted<&T>
fn whenever(&self, value: Condition) -> Painted<&T>
Conditionally enable styling based on whether the [Condition
] value
applies. Replaces any previous condition.
See the crate level docs for more details.
§Example
Enable styling painted
only when both stdout
and stderr
are TTYs:
use yansi::{Paint, Condition};
painted.red().on_yellow().whenever(Condition::STDOUTERR_ARE_TTY);