Skip to main content

application_revisions

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

Overview

Nameapplication_revisions
TypeResource
Idaws.codedeploy.application_revisions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
application_namestringThe name of the application that corresponds to the revisions.
error_messagestringInformation about errors that might have occurred during the API call.
revisionsarrayAdditional information about the revisions, including the type and location.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
batch_get_application_revisionsselectregionGets information about one or more application revisions. The maximum number of application revisions that can be returned is 25.
get_application_revisionselectregionGets information about an application revision.
list_application_revisionsselectregionLists information about revisions for an application.
register_application_revisioninsertregion, applicationName, revisionRegisters with CodeDeploy a revision for the specified application.

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
regionstringAWS region (default: us-east-1)

SELECT examples

Gets information about one or more application revisions. The maximum number of application revisions that can be returned is 25.

SELECT
application_name,
error_message,
revisions
FROM aws.codedeploy.application_revisions
WHERE region = '{{ region }}' -- required
;

INSERT examples

Registers with CodeDeploy a revision for the specified application.

INSERT INTO aws.codedeploy.application_revisions (
applicationName,
description,
revision,
region
)
SELECT
'{{ applicationName }}' /* required */,
'{{ description }}',
'{{ revision }}' /* required */,
'{{ region }}'
;