Struct aws_sdk_translate::client::fluent_builders::CreateParallelData [−][src]
pub struct CreateParallelData<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateParallelData
.
Creates a parallel data resource in Amazon Translate by importing an input file from Amazon S3. Parallel data files contain examples that show how you want segments of text to be translated. By adding parallel data, you can influence the style, tone, and word choice in your translation output.
Implementations
impl<C, M, R> CreateParallelData<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateParallelData<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateParallelDataOutput, SdkError<CreateParallelDataError>> where
R::Policy: SmithyRetryPolicy<CreateParallelDataInputOperationOutputAlias, CreateParallelDataOutput, CreateParallelDataError, CreateParallelDataInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateParallelDataOutput, SdkError<CreateParallelDataError>> where
R::Policy: SmithyRetryPolicy<CreateParallelDataInputOperationOutputAlias, CreateParallelDataOutput, CreateParallelDataError, CreateParallelDataInputOperationRetryAlias>,
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.
A custom name for the parallel data resource in Amazon Translate. You must assign a name that is unique in the account and region.
A custom name for the parallel data resource in Amazon Translate. You must assign a name that is unique in the account and region.
A custom description for the parallel data resource in Amazon Translate.
A custom description for the parallel data resource in Amazon Translate.
Specifies the format and S3 location of the parallel data input file.
Specifies the format and S3 location of the parallel data input file.
The encryption key used to encrypt this object.
The encryption key used to encrypt this object.
A unique identifier for the request. This token is automatically generated when you use Amazon Translate through an AWS SDK.
A unique identifier for the request. This token is automatically generated when you use Amazon Translate through an AWS SDK.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for CreateParallelData<C, M, R>
impl<C, M, R> Send for CreateParallelData<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateParallelData<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateParallelData<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for CreateParallelData<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