Struct aws_sdk_lexmodelsv2::client::fluent_builders::CreateExport
source · [−]pub struct CreateExport<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }Expand description
Fluent builder constructing a request to CreateExport.
Creates a zip archive containing the contents of a bot or a bot locale. The archive contains a directory structure that contains JSON files that define the bot.
You can create an archive that contains the complete definition of a bot, or you can specify that the archive contain only the definition of a single bot locale.
For more information about exporting bots, and about the structure of the export archive, see Importing and exporting bots
Implementations
impl<C, M, R> CreateExport<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateExport<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateExportOutput, SdkError<CreateExportError>> where
R::Policy: SmithyRetryPolicy<CreateExportInputOperationOutputAlias, CreateExportOutput, CreateExportError, CreateExportInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateExportOutput, SdkError<CreateExportError>> where
R::Policy: SmithyRetryPolicy<CreateExportInputOperationOutputAlias, CreateExportOutput, CreateExportError, CreateExportInputOperationRetryAlias>,
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.
Specifies the type of resource to export, either a bot or a bot locale. You can only specify one type of resource to export.
Specifies the type of resource to export, either a bot or a bot locale. You can only specify one type of resource to export.
The file format of the bot or bot locale definition files.
The file format of the bot or bot locale definition files.
An password to use to encrypt the exported archive. Using a password is optional, but you should encrypt the archive to protect the data in transit between Amazon Lex and your local computer.
An password to use to encrypt the exported archive. Using a password is optional, but you should encrypt the archive to protect the data in transit between Amazon Lex and your local computer.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateExport<C, M, R>
impl<C, M, R> Unpin for CreateExport<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateExport<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