GetAgentTaskResponseUrl - AWS Ground Station

GetAgentTaskResponseUrl

Note

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

Gets a presigned URL for uploading agent task response logs.

Request Syntax

GET /agentResponseUrl/agentId/taskId HTTP/1.1

URI Request Parameters

The request uses the following URI parameters.

agentId

UUID of agent requesting the response URL.

Length Constraints: Fixed length of 36.

Pattern: [a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}

Required: Yes

taskId

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

Length Constraints: Fixed length of 36.

Pattern: [a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}

Required: Yes

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 200 Content-type: application/json { "agentId": "string", "presignedLogUrl": "string", "taskId": "string" }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

agentId

UUID of the agent.

Type: String

Length Constraints: Fixed length of 36.

Pattern: [a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}

presignedLogUrl

Presigned URL for uploading agent task response logs.

Type: String

taskId

GUID of the agent task.

Type: String

Length Constraints: Fixed length of 36.

Pattern: [a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}

Errors

For information about the errors that are common to all actions, see Common Errors.

DependencyException

Dependency encountered an error.

parameterName

HTTP Status Code: 531

InvalidParameterException

One or more parameters are not valid.

parameterName

HTTP Status Code: 431

ResourceNotFoundException

Resource was not found.

HTTP Status Code: 434

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: