agent_status
Creates, updates, deletes, gets or lists an agent_status resource.
Overview
| Name | agent_status |
| Type | Resource |
| Id | aws.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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
update_agent_status | update | agent_id, region, taskId, aggregateStatus, componentStatuses | For 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.
| Name | Datatype | Description |
|---|---|---|
agent_id | string | UUID of agent to update. |
region | string | AWS region (default: us-east-1) |
UPDATE examples
- update_agent_status
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;