:doc:`Snowball <../../snowball>` / Client / get_software_updates

********************
get_software_updates
********************



.. py:method:: Snowball.Client.get_software_updates(**kwargs)

  

  Returns an Amazon S3 presigned URL for an update file associated with a specified ``JobId``.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/GetSoftwareUpdates>`_  


  **Request Syntax**
  ::

    response = client.get_software_updates(
        JobId='string'
    )
    
  :type JobId: string
  :param JobId: **[REQUIRED]** 

    The ID for a job that you want to get the software update file for, for example ``JID123e4567-e89b-12d3-a456-426655440000``.

    

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

    
    ::

      {
          'UpdatesURI': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **UpdatesURI** *(string) --* 

        The Amazon S3 presigned URL for the update file associated with the specified ``JobId`` value. The software update will be available for 2 days after this request is made. To access an update after the 2 days have passed, you'll have to make another call to ``GetSoftwareUpdates``.

        
  
  **Exceptions**
  
  *   :py:class:`Snowball.Client.exceptions.InvalidResourceException`

  
  *   :py:class:`Snowball.Client.exceptions.InvalidJobStateException`

  