:doc:`Translate <../../translate>` / Client / update_parallel_data

********************
update_parallel_data
********************



.. py:method:: Translate.Client.update_parallel_data(**kwargs)

  

  Updates a previously created parallel data resource by importing a new input file from Amazon S3.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/UpdateParallelData>`_  


  **Request Syntax**
  ::

    response = client.update_parallel_data(
        Name='string',
        Description='string',
        ParallelDataConfig={
            'S3Uri': 'string',
            'Format': 'TSV'|'CSV'|'TMX'
        },
        ClientToken='string'
    )
    
  :type Name: string
  :param Name: **[REQUIRED]** 

    The name of the parallel data resource being updated.

    

  
  :type Description: string
  :param Description: 

    A custom description for the parallel data resource in Amazon Translate.

    

  
  :type ParallelDataConfig: dict
  :param ParallelDataConfig: **[REQUIRED]** 

    Specifies the format and S3 location of the parallel data input file.

    

  
    - **S3Uri** *(string) --* 

      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.

      

    
    - **Format** *(string) --* 

      The format of the parallel data input file.

      

    
  
  :type ClientToken: string
  :param ClientToken: **[REQUIRED]** 

    A unique identifier for the request. This token is automatically generated when you use Amazon Translate through an AWS SDK.

    This field is autopopulated if not provided.

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'Name': 'string',
          'Status': 'CREATING'|'UPDATING'|'ACTIVE'|'DELETING'|'FAILED',
          'LatestUpdateAttemptStatus': 'CREATING'|'UPDATING'|'ACTIVE'|'DELETING'|'FAILED',
          'LatestUpdateAttemptAt': datetime(2015, 1, 1)
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Name** *(string) --* 

        The name of the parallel data resource being updated.

        
      

      - **Status** *(string) --* 

        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``.

        
      

      - **LatestUpdateAttemptStatus** *(string) --* 

        The status of the parallel data update attempt. When the updated parallel data resource is ready for you to use, the status is ``ACTIVE``.

        
      

      - **LatestUpdateAttemptAt** *(datetime) --* 

        The time that the most recent update was attempted.

        
  
  **Exceptions**
  
  *   :py:class:`Translate.Client.exceptions.ConcurrentModificationException`

  
  *   :py:class:`Translate.Client.exceptions.InvalidParameterValueException`

  
  *   :py:class:`Translate.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`Translate.Client.exceptions.LimitExceededException`

  
  *   :py:class:`Translate.Client.exceptions.TooManyRequestsException`

  
  *   :py:class:`Translate.Client.exceptions.ConflictException`

  
  *   :py:class:`Translate.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`Translate.Client.exceptions.InternalServerException`

  