Lists information about revisions for an application¶
Description¶
Lists information about revisions for an application.
Usage¶
codedeploy_list_application_revisions(applicationName, sortBy,
sortOrder, s3Bucket, s3KeyPrefix, deployed, nextToken)
Arguments¶
-
applicationName[required] The name of an CodeDeploy application associated with the user or Amazon Web Services account.
-
sortByThe column name to use to sort the list results:
registerTime: Sort by the time the revisions were registered with CodeDeploy.firstUsedTime: Sort by the time the revisions were first used in a deployment.lastUsedTime: Sort by the time the revisions were last used in a deployment.
If not specified or set to null, the results are returned in an arbitrary order.
-
sortOrderThe order in which to sort the list results:
ascending: ascending order.descending: descending order.
If not specified, the results are sorted in ascending order.
If set to null, the results are sorted in an arbitrary order.
-
s3BucketAn Amazon S3 bucket name to limit the search for revisions.
If set to null, all of the user's buckets are searched.
-
s3KeyPrefixA key prefix for the set of Amazon S3 objects to limit the search for revisions.
-
deployedWhether to list revisions based on whether the revision is the target revision of a deployment group:
include: List revisions that are target revisions of a deployment group.exclude: Do not list revisions that are target revisions of a deployment group.ignore: List all revisions.
-
nextTokenAn identifier returned from the previous
list_application_revisionscall. It can be used to return the next set of applications in the list.
Value¶
A list with the following syntax:
list(
revisions = list(
list(
revisionType = "S3"|"GitHub"|"String"|"AppSpecContent",
s3Location = list(
bucket = "string",
key = "string",
bundleType = "tar"|"tgz"|"zip"|"YAML"|"JSON",
version = "string",
eTag = "string"
),
gitHubLocation = list(
repository = "string",
commitId = "string"
),
string = list(
content = "string",
sha256 = "string"
),
appSpecContent = list(
content = "string",
sha256 = "string"
)
)
),
nextToken = "string"
)