Amazon Translate
    Amazon Translate
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST

      /

      The Amazon Translate multi-region endpoint
      http://translate.{region}.amazonaws.com
      The Amazon Translate multi-region endpoint
      http://translate.{region}.amazonaws.com
      POST
      /
      Updates a previously created parallel data resource by importing a new input file from Amazon S3.
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location -g --request POST 'http://translate.{region}.amazonaws.com/' \
      --header 'X-Amz-Target;' \
      --header 'Content-Type: application/json' \
      --data-raw '{
          "Name": "string",
          "Description": "string",
          "ParallelDataConfig": {
              "S3Uri": "string",
              "Format": "TSV"
          },
          "ClientToken": "string"
      }'
      Response Response Example
      200 - Example 1
      {
        "Name": "string",
        "Status": "CREATING",
        "LatestUpdateAttemptStatus": "CREATING",
        "LatestUpdateAttemptAt": "string"
      }

      Request

      Header Params
      X-Amz-Target
      string 
      required
      Body Params application/json
      Name
      string 
      required
      The name of the parallel data resource being updated.
      >= 1 characters<= 256 characters
      Match pattern:
      ^([A-Za-z0-9-]_?)+$
      Description
      string 
      optional
      A custom description for the parallel data resource in Amazon Translate.
      <= 256 characters
      Match pattern:
      [\P{M}\p{M}]{0,256}
      ParallelDataConfig
      object 
      required
      Specifies the format and S3 location of the parallel data input file.
      S3Uri
      string 
      required
      The URI of the Amazon S3 folder that contains the parallel data input file. The folder must be in the same Region as the API endpoint you are calling.
      <= 1024 characters
      Match pattern:
      s3://[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9](/.*)?
      Format
      enum<string> 
      required
      The format of the parallel data input file.
      Allowed values:
      TSVCSVTMX
      ClientToken
      string 
      required
      A unique identifier for the request. This token is automatically generated when you use Amazon Translate through an AWS SDK.
      >= 1 characters<= 64 characters
      Match pattern:
      ^[a-zA-Z0-9-]+$
      Examples

      Responses

      🟢200Success
      application/json
      Body
      Name
      string 
      optional
      The name of the parallel data resource being updated.
      >= 1 characters<= 256 characters
      Match pattern:
      ^([A-Za-z0-9-]_?)+$
      Status
      enum<string> 
      optional
      The status of the parallel data resource that you are attempting to update. Your update request is accepted only if this status is either ACTIVE or FAILED.
      Allowed values:
      CREATINGUPDATINGACTIVEDELETINGFAILED
      LatestUpdateAttemptStatus
      enum<string> 
      optional
      The status of the parallel data update attempt. When the updated parallel data resource is ready for you to use, the status is ACTIVE.
      Allowed values:
      CREATINGUPDATINGACTIVEDELETINGFAILED
      LatestUpdateAttemptAt
      string <date-time>
      optional
      The time that the most recent update was attempted.
      🟠480ConcurrentModificationException
      🟠481InvalidParameterValueException
      🟠482InvalidRequestException
      🟠483LimitExceededException
      🟠484TooManyRequestsException
      🟠485ConflictException
      🟠486ResourceNotFoundException
      🟠487InternalServerException
      Modified at 2022-09-12 09:51:45
      Previous
      /
      Built with