Struct aws_sdk_translate::client::fluent_builders::ImportTerminology [−][src]
pub struct ImportTerminology<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to ImportTerminology
.
Creates or updates a custom terminology, depending on whether or not one already exists for the given terminology name. Importing a terminology with the same name as an existing one will merge the terminologies based on the chosen merge strategy. Currently, the only supported merge strategy is OVERWRITE, and so the imported terminology will overwrite an existing terminology of the same name.
If you import a terminology that overwrites an existing one, the new terminology take up to 10 minutes to fully propagate and be available for use in a translation due to cache policies with the DataPlane service that performs the translations.
Implementations
impl<C, M, R> ImportTerminology<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ImportTerminology<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ImportTerminologyOutput, SdkError<ImportTerminologyError>> where
R::Policy: SmithyRetryPolicy<ImportTerminologyInputOperationOutputAlias, ImportTerminologyOutput, ImportTerminologyError, ImportTerminologyInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ImportTerminologyOutput, SdkError<ImportTerminologyError>> where
R::Policy: SmithyRetryPolicy<ImportTerminologyInputOperationOutputAlias, ImportTerminologyOutput, ImportTerminologyError, ImportTerminologyInputOperationRetryAlias>,
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 name of the custom terminology being imported.
The name of the custom terminology being imported.
The merge strategy of the custom terminology being imported. Currently, only the OVERWRITE merge strategy is supported. In this case, the imported terminology will overwrite an existing terminology of the same name.
The merge strategy of the custom terminology being imported. Currently, only the OVERWRITE merge strategy is supported. In this case, the imported terminology will overwrite an existing terminology of the same name.
The description of the custom terminology being imported.
The description of the custom terminology being imported.
The terminology data for the custom terminology being imported.
The terminology data for the custom terminology being imported.
The encryption key for the custom terminology being imported.
The encryption key for the custom terminology being imported.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for ImportTerminology<C, M, R>
impl<C, M, R> Send for ImportTerminology<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for ImportTerminology<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for ImportTerminology<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for ImportTerminology<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