#[non_exhaustive]pub struct DescribeExportOutput {
pub export_id: Option<String>,
pub resource_specification: Option<ExportResourceSpecification>,
pub file_format: Option<ImportExportFileFormat>,
pub export_status: Option<ExportStatus>,
pub failure_reasons: Option<Vec<String>>,
pub download_url: Option<String>,
pub creation_date_time: Option<DateTime>,
pub last_updated_date_time: Option<DateTime>,
/* private fields */
}
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_id: Option<String>
The unique identifier of the described export.
resource_specification: Option<ExportResourceSpecification>
The bot, bot ID, and optional locale ID of the exported bot or bot locale.
file_format: Option<ImportExportFileFormat>
The file format used in the files that describe the resource.
export_status: Option<ExportStatus>
The status of the export. When the status is Complete
the export archive file is available for download.
failure_reasons: Option<Vec<String>>
If the exportStatus
is failed, contains one or more reasons why the export could not be completed.
download_url: Option<String>
A pre-signed S3 URL that points to the bot or bot locale archive. The URL is only available for 5 minutes after calling the DescribeExport
operation.
creation_date_time: Option<DateTime>
The date and time that the export was created.
last_updated_date_time: Option<DateTime>
The last date and time that the export was updated.
Implementations§
source§impl DescribeExportOutput
impl DescribeExportOutput
sourcepub fn resource_specification(&self) -> Option<&ExportResourceSpecification>
pub fn resource_specification(&self) -> Option<&ExportResourceSpecification>
The bot, bot ID, and optional locale ID of the exported bot or bot locale.
sourcepub fn file_format(&self) -> Option<&ImportExportFileFormat>
pub fn file_format(&self) -> Option<&ImportExportFileFormat>
The file format used in the files that describe the resource.
sourcepub fn export_status(&self) -> Option<&ExportStatus>
pub fn export_status(&self) -> Option<&ExportStatus>
The status of the export. When the status is Complete
the export archive file is available for download.
sourcepub fn failure_reasons(&self) -> &[String]
pub fn failure_reasons(&self) -> &[String]
If the exportStatus
is failed, contains one or more reasons why the export could not be completed.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .failure_reasons.is_none()
.
sourcepub fn download_url(&self) -> Option<&str>
pub fn download_url(&self) -> Option<&str>
A pre-signed S3 URL that points to the bot or bot locale archive. The URL is only available for 5 minutes after calling the DescribeExport
operation.
sourcepub fn creation_date_time(&self) -> Option<&DateTime>
pub fn creation_date_time(&self) -> Option<&DateTime>
The date and time that the export was created.
sourcepub fn last_updated_date_time(&self) -> Option<&DateTime>
pub fn last_updated_date_time(&self) -> Option<&DateTime>
The last date and time that the export was updated.
source§impl DescribeExportOutput
impl DescribeExportOutput
sourcepub fn builder() -> DescribeExportOutputBuilder
pub fn builder() -> DescribeExportOutputBuilder
Creates a new builder-style object to manufacture DescribeExportOutput
.
Trait Implementations§
source§impl Clone for DescribeExportOutput
impl Clone for DescribeExportOutput
source§fn clone(&self) -> DescribeExportOutput
fn clone(&self) -> DescribeExportOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeExportOutput
impl Debug for DescribeExportOutput
source§impl PartialEq for DescribeExportOutput
impl PartialEq for DescribeExportOutput
source§fn eq(&self, other: &DescribeExportOutput) -> bool
fn eq(&self, other: &DescribeExportOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for DescribeExportOutput
impl RequestId for DescribeExportOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.