update_parallel_data
¶
update_parallel_data(
name: ResourceName,
parallel_data_config: ParallelDataConfig,
client_token: ClientTokenString,
*,
config_overrides: Optional[TranslateClientConfig] = None,
description: Optional[Description] = None,
) -> UpdateParallelDataResponse
Updates a previously created parallel data resource by importing a new input file from Amazon S3.
Parameters:
-
name(ResourceName) –The name of the parallel data resource being updated.
-
description(Optional[Description], default:None) –A custom description for the parallel data resource in Amazon Translate.
-
parallel_data_config(ParallelDataConfig) –Specifies the format and S3 location of the parallel data input file.
-
client_token(ClientTokenString) –A unique identifier for the request. This token is automatically generated when you use Amazon Translate through an AWS SDK.
Raises:
-
ConcurrentModificationException–Another modification is being made. That modification must complete before you can make your change.
-
ConflictException–There was a conflict processing the request. Try your request again.
-
InternalServerException–An internal server error occurred. Retry your request.
-
InvalidParameterValueException–The value of the parameter is not valid. Review the value of the parameter you are using to correct it, and then retry your operation.
-
InvalidRequestException–The request that you made is not valid. Check your request to determine why it's not valid and then retry the request.
-
LimitExceededException–The specified limit has been exceeded. Review your request and retry it with a quantity below the stated limit.
-
ResourceNotFoundException–The resource you are looking for has not been found. Review the resource you're looking for and see if a different resource will accomplish your needs before retrying the revised request.
-
TooManyRequestsException–You have made too many requests within a short period of time. Wait for a short time and then try your request again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_translate/_services/translate.py
1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 | |