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
1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 | |