Struct rusoto_lex_models::StartImportRequest
source · [−]pub struct StartImportRequest {
pub merge_strategy: String,
pub payload: Bytes,
pub resource_type: String,
pub tags: Option<Vec<Tag>>,
}
Fields
merge_strategy: String
Specifies the action that the StartImport
operation should take when there is an existing resource with the same name.
-
FAILONCONFLICT - The import operation is stopped on the first conflict between a resource in the import file and an existing resource. The name of the resource causing the conflict is in the
failureReason
field of the response to theGetImport
operation.OVERWRITE_LATEST - The import operation proceeds even if there is a conflict with an existing resource. The $LASTEST version of the existing resource is overwritten with the data from the import file.
payload: Bytes
A zip archive in binary format. The archive should contain one file, a JSON file containing the resource to import. The resource should match the type specified in the resourceType
field.
resource_type: String
Specifies the type of resource to export. Each resource also exports any resources that it depends on.
-
A bot exports dependent intents.
-
An intent exports dependent slot types.
A list of tags to add to the imported bot. You can only add tags when you import a bot, you can't add tags to an intent or slot type.
Trait Implementations
sourceimpl Clone for StartImportRequest
impl Clone for StartImportRequest
sourcefn clone(&self) -> StartImportRequest
fn clone(&self) -> StartImportRequest
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 StartImportRequest
impl Debug for StartImportRequest
sourceimpl Default for StartImportRequest
impl Default for StartImportRequest
sourcefn default() -> StartImportRequest
fn default() -> StartImportRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<StartImportRequest> for StartImportRequest
impl PartialEq<StartImportRequest> for StartImportRequest
sourcefn eq(&self, other: &StartImportRequest) -> bool
fn eq(&self, other: &StartImportRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StartImportRequest) -> bool
fn ne(&self, other: &StartImportRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for StartImportRequest
impl Serialize for StartImportRequest
impl StructuralPartialEq for StartImportRequest
Auto Trait Implementations
impl RefUnwindSafe for StartImportRequest
impl Send for StartImportRequest
impl Sync for StartImportRequest
impl Unpin for StartImportRequest
impl UnwindSafe for StartImportRequest
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