:doc:`GroundStation <../../groundstation>` / Client / get_agent_task_response_url

***************************
get_agent_task_response_url
***************************



.. py:method:: GroundStation.Client.get_agent_task_response_url(**kwargs)

  

  

  .. note::

    

    For use by AWS Ground Station Agent and shouldn't be called directly.

    

   

  Gets a presigned URL for uploading agent task response logs.

  

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/GetAgentTaskResponseUrl>`_  


  **Request Syntax**
  ::

    response = client.get_agent_task_response_url(
        agentId='string',
        taskId='string'
    )
    
  :type agentId: string
  :param agentId: **[REQUIRED]** 

    UUID of agent requesting the response URL.

    

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

    GUID of the agent task for which the response URL is being requested.

    

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

    
    ::

      {
          'agentId': 'string',
          'taskId': 'string',
          'presignedLogUrl': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **agentId** *(string) --* 

        UUID of the agent.

        
      

      - **taskId** *(string) --* 

        GUID of the agent task.

        
      

      - **presignedLogUrl** *(string) --* 

        Presigned URL for uploading agent task response logs.

        
  
  **Exceptions**
  
  *   :py:class:`GroundStation.Client.exceptions.InvalidParameterException`

  
  *   :py:class:`GroundStation.Client.exceptions.DependencyException`

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

  