Struct aws_sdk_lexmodelsv2::client::fluent_builders::StartImport
source · [−]pub struct StartImport<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }Expand description
Fluent builder constructing a request to StartImport.
Starts importing a bot, bot locale, or custom vocabulary from a zip archive that you uploaded to an S3 bucket.
Implementations
impl<C, M, R> StartImport<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> StartImport<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(self) -> Result<StartImportOutput, SdkError<StartImportError>> where
R::Policy: SmithyRetryPolicy<StartImportInputOperationOutputAlias, StartImportOutput, StartImportError, StartImportInputOperationRetryAlias>,
pub async fn send(self) -> Result<StartImportOutput, SdkError<StartImportError>> where
R::Policy: SmithyRetryPolicy<StartImportInputOperationOutputAlias, StartImportOutput, StartImportError, StartImportInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The unique identifier for the import. It is included in the response from the CreateUploadUrl operation.
The unique identifier for the import. It is included in the response from the CreateUploadUrl operation.
Parameters for creating the bot, bot locale or custom vocabulary.
Parameters for creating the bot, bot locale or custom vocabulary.
The strategy to use when there is 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.
The strategy to use when there is 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.
The password used to encrypt the zip archive that contains the resource definition. You should always encrypt the zip archive to protect it during transit between your site and Amazon Lex.
The password used to encrypt the zip archive that contains the resource definition. You should always encrypt the zip archive to protect it during transit between your site and Amazon Lex.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for StartImport<C, M, R>
impl<C, M, R> Unpin for StartImport<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for StartImport<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more