#[non_exhaustive]pub struct StartImportOutput {
pub import_id: Option<String>,
pub resource_specification: Option<ImportResourceSpecification>,
pub merge_strategy: Option<MergeStrategy>,
pub import_status: Option<ImportStatus>,
pub creation_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.import_id: Option<String>
A unique identifier for the import.
resource_specification: Option<ImportResourceSpecification>
The parameters used when importing the resource.
merge_strategy: Option<MergeStrategy>
The strategy used when there was a name conflict between the imported resource and an existing resource. When the merge strategy is FailOnConflict
existing resources are not overwritten and the import fails.
import_status: Option<ImportStatus>
The current status of the import. When the status is Complete
the bot, bot alias, or custom vocabulary is ready to use.
creation_date_time: Option<DateTime>
The date and time that the import request was created.
Implementations§
source§impl StartImportOutput
impl StartImportOutput
sourcepub fn resource_specification(&self) -> Option<&ImportResourceSpecification>
pub fn resource_specification(&self) -> Option<&ImportResourceSpecification>
The parameters used when importing the resource.
sourcepub fn merge_strategy(&self) -> Option<&MergeStrategy>
pub fn merge_strategy(&self) -> Option<&MergeStrategy>
The strategy used when there was a name conflict between the imported resource and an existing resource. When the merge strategy is FailOnConflict
existing resources are not overwritten and the import fails.
sourcepub fn import_status(&self) -> Option<&ImportStatus>
pub fn import_status(&self) -> Option<&ImportStatus>
The current status of the import. When the status is Complete
the bot, bot alias, or custom vocabulary is ready to use.
sourcepub fn creation_date_time(&self) -> Option<&DateTime>
pub fn creation_date_time(&self) -> Option<&DateTime>
The date and time that the import request was created.
source§impl StartImportOutput
impl StartImportOutput
sourcepub fn builder() -> StartImportOutputBuilder
pub fn builder() -> StartImportOutputBuilder
Creates a new builder-style object to manufacture StartImportOutput
.
Trait Implementations§
source§impl Clone for StartImportOutput
impl Clone for StartImportOutput
source§fn clone(&self) -> StartImportOutput
fn clone(&self) -> StartImportOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StartImportOutput
impl Debug for StartImportOutput
source§impl PartialEq for StartImportOutput
impl PartialEq for StartImportOutput
source§fn eq(&self, other: &StartImportOutput) -> bool
fn eq(&self, other: &StartImportOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for StartImportOutput
impl RequestId for StartImportOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.