Skip to main content

agent_status

Creates, updates, deletes, gets or lists an agent_status resource.

Overview

Nameagent_status
TypeResource
Idaws.groundstation.agent_status

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
update_agent_statusupdateagent_id, region, taskId, aggregateStatus, componentStatusesFor use by AWS Ground Station Agent and shouldn't be called directly. Update the status of the agent.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
agent_idstringUUID of agent to update.
regionstringAWS region (default: us-east-1)

UPDATE examples

For use by AWS Ground Station Agent and shouldn't be called directly. Update the status of the agent.

UPDATE aws.groundstation.agent_status
SET
taskId = '{{ taskId }}',
aggregateStatus = '{{ aggregateStatus }}',
componentStatuses = '{{ componentStatuses }}'
WHERE
agent_id = '{{ agent_id }}' --required
AND region = '{{ region }}' --required
AND taskId = '{{ taskId }}' --required
AND aggregateStatus = '{{ aggregateStatus }}' --required
AND componentStatuses = '{{ componentStatuses }}' --required
RETURNING
agent_id;