[][src]Struct rusoto_lex_models::StartImportRequest

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 the GetImport 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.

tags: Option<Vec<Tag>>

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

impl Clone for StartImportRequest[src]

impl Debug for StartImportRequest[src]

impl Default for StartImportRequest[src]

impl PartialEq<StartImportRequest> for StartImportRequest[src]

impl Serialize for StartImportRequest[src]

impl StructuralPartialEq for StartImportRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.