pub struct CreateExportFluentBuilder { /* 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§
source§impl CreateExportFluentBuilder
impl CreateExportFluentBuilder
sourcepub fn as_input(&self) -> &CreateExportInputBuilder
pub fn as_input(&self) -> &CreateExportInputBuilder
Access the CreateExport as a reference.
sourcepub async fn send(
self
) -> Result<CreateExportOutput, SdkError<CreateExportError, HttpResponse>>
pub async fn send( self ) -> Result<CreateExportOutput, SdkError<CreateExportError, HttpResponse>>
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.
sourcepub fn customize(
self
) -> CustomizableOperation<CreateExportOutput, CreateExportError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateExportOutput, CreateExportError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn resource_specification(self, input: ExportResourceSpecification) -> Self
pub fn resource_specification(self, input: ExportResourceSpecification) -> Self
Specifies the type of resource to export, either a bot or a bot locale. You can only specify one type of resource to export.
sourcepub fn set_resource_specification(
self,
input: Option<ExportResourceSpecification>
) -> Self
pub fn set_resource_specification( self, input: Option<ExportResourceSpecification> ) -> Self
Specifies the type of resource to export, either a bot or a bot locale. You can only specify one type of resource to export.
sourcepub fn get_resource_specification(&self) -> &Option<ExportResourceSpecification>
pub fn get_resource_specification(&self) -> &Option<ExportResourceSpecification>
Specifies the type of resource to export, either a bot or a bot locale. You can only specify one type of resource to export.
sourcepub fn file_format(self, input: ImportExportFileFormat) -> Self
pub fn file_format(self, input: ImportExportFileFormat) -> Self
The file format of the bot or bot locale definition files.
sourcepub fn set_file_format(self, input: Option<ImportExportFileFormat>) -> Self
pub fn set_file_format(self, input: Option<ImportExportFileFormat>) -> Self
The file format of the bot or bot locale definition files.
sourcepub fn get_file_format(&self) -> &Option<ImportExportFileFormat>
pub fn get_file_format(&self) -> &Option<ImportExportFileFormat>
The file format of the bot or bot locale definition files.
sourcepub fn file_password(self, input: impl Into<String>) -> Self
pub fn file_password(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_file_password(self, input: Option<String>) -> Self
pub fn set_file_password(self, input: Option<String>) -> Self
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.
sourcepub fn get_file_password(&self) -> &Option<String>
pub fn get_file_password(&self) -> &Option<String>
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§
source§impl Clone for CreateExportFluentBuilder
impl Clone for CreateExportFluentBuilder
source§fn clone(&self) -> CreateExportFluentBuilder
fn clone(&self) -> CreateExportFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for CreateExportFluentBuilder
impl !RefUnwindSafe for CreateExportFluentBuilder
impl Send for CreateExportFluentBuilder
impl Sync for CreateExportFluentBuilder
impl Unpin for CreateExportFluentBuilder
impl !UnwindSafe for CreateExportFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more