Skip to main content

deployment_status

Creates, updates, deletes, gets or lists a deployment_status resource.

Overview

Namedeployment_status
TypeResource
Idaws.greengrass.deployment_status

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
deployment_statusstringThe status of the deployment: ''InProgress'', ''Building'', ''Success'', or ''Failure''.
deployment_typestringThe type of deployment. When used for ''CreateDeployment'', only ''NewDeployment'' and ''Redeployment'' are valid. (NewDeployment, Redeployment, ResetDeployment, ForceResetDeployment)
error_detailsarrayError details
error_messagestringError message
updated_atstringThe time, in milliseconds since the epoch, when the deployment status was updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_deployment_statusselectdeployment_id, group_id, regionReturns the status of a deployment.

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
deployment_idstringThe ID of the deployment.
group_idstringThe ID of the Greengrass group.
regionstringAWS region (default: us-east-1)

SELECT examples

Returns the status of a deployment.

SELECT
deployment_status,
deployment_type,
error_details,
error_message,
updated_at
FROM aws.greengrass.deployment_status
WHERE deployment_id = '{{ deployment_id }}' -- required
AND group_id = '{{ group_id }}' -- required
AND region = '{{ region }}' -- required
;