v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1447387247.5 KB

Lists information about revisions for an application.

post/#X-Amz-Target=CodeDeploy_20141006.ListApplicationRevisions

Query parameters

nextTokenstring

Pagination token

Headers

X-Amz-Target'CodeDeploy_20141006.ListApplicationRevisions' required

Request body

applicationNamestring required

The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.

sortBy'registerTime' | 'firstUsedTime' | 'lastUsedTime'
<p>The column name to use to sort the list results:</p> <ul> <li> <p> <code>registerTime</code>: Sort by the time the revisions were registered with CodeDeploy.</p> </li> <li> <p> <code>firstUsedTime</code>: Sort by the time the revisions were first used in a deployment.</p> </li> <li> <p> <code>lastUsedTime</code>: Sort by the time the revisions were last used in a deployment.</p> </li> </ul> <p> If not specified or set to null, the results are returned in an arbitrary order. </p>
sortOrder'ascending' | 'descending'
<p> The order in which to sort the list results: </p> <ul> <li> <p> <code>ascending</code>: ascending order.</p> </li> <li> <p> <code>descending</code>: descending order.</p> </li> </ul> <p>If not specified, the results are sorted in ascending order.</p> <p>If set to null, the results are sorted in an arbitrary order.</p>
s3Bucketstring
<p> An Amazon S3 bucket name to limit the search for revisions. </p> <p> If set to null, all of the user's buckets are searched. </p>
s3KeyPrefixstring

A key prefix for the set of Amazon S3 objects to limit the search for revisions.

deployed'include' | 'exclude' | 'ignore'
<p> Whether to list revisions based on whether the revision is the target revision of a deployment group: </p> <ul> <li> <p> <code>include</code>: List revisions that are target revisions of a deployment group.</p> </li> <li> <p> <code>exclude</code>: Do not list revisions that are target revisions of a deployment group.</p> </li> <li> <p> <code>ignore</code>: List all revisions.</p> </li> </ul>
nextTokenstring

An identifier returned from the previous <code>ListApplicationRevisions</code> call. It can be used to return the next set of applications in the list.

Response

Success

nextTokenstring

If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list application revisions call to return the next set of application revisions in the list.