PATH:
usr
/
local
/
jetapps
/
var
/
lib
/
aws
/
lib
/
python2.7
/
site-packages
/
awscli
/
examples
/
deploy
**To retrieve information about application revisions** The following ``batch-get-application-revisions`` example retrieves information about the specified revision stored in a GitHub repository. :: aws deploy batch-get-application-revisions \ --application-name my-codedeploy-application \ --revisions "[{\"gitHubLocation\": {\"commitId\": \"fa85936EXAMPLEa31736c051f10d77297EXAMPLE\",\"repository\": \"my-github-token/my-repository\"},\"revisionType\": \"GitHub\"}]" Output:: { "revisions": [ { "genericRevisionInfo": { "description": "Application revision registered by Deployment ID: d-A1B2C3111", "lastUsedTime": 1556912355.884, "registerTime": 1556912355.884, "firstUsedTime": 1556912355.884, "deploymentGroups": [] }, "revisionLocation": { "revisionType": "GitHub", "gitHubLocation": { "commitId": "fa85936EXAMPLEa31736c051f10d77297EXAMPLE", "repository": "my-github-token/my-repository" } } } ], "applicationName": "my-codedeploy-application", "errorMessage": "" } For more information, see `BatchGetApplicationRevisions <https://docs.aws.amazon.com/codedeploy/latest/APIReference/API_BatchGetApplicationRevisions.html>`_ in the *AWS CodeDeploy API Reference*.
[-] list-application-revisions.rst
[edit]
[-] register-on-premises-instance.rst
[edit]
[-] batch-get-deployment-groups.rst
[edit]
[-] stop-deployment.rst
[edit]
[-] create-deployment.rst
[edit]
[-] list-deployment-targets.rst
[edit]
[-] delete-application.rst
[edit]
[-] list-deployment-groups.rst
[edit]
[-] uninstall.rst
[edit]
[+]
..
[-] push.rst
[edit]
[-] get-deployment-group.rst
[edit]
[-] register.rst
[edit]
[-] update-deployment-group.rst
[edit]
[-] create-deployment-group.rst
[edit]
[-] get-application-revision.rst
[edit]
[-] batch-get-deployments.rst
[edit]
[-] list-deployment-configs.rst
[edit]
[-] get-deployment-config.rst
[edit]
[-] list-deployment-instances.rst
[edit]
[-] list-deployments.rst
[edit]
[-] create-deployment-config.rst
[edit]
[-] list-applications.rst
[edit]
[+]
wait
[-] delete-deployment-group.rst
[edit]
[-] register-application-revision.rst
[edit]
[-] batch-get-application-revisions.rst
[edit]
[-] get-application.rst
[edit]
[-] install.rst
[edit]
[-] create-application.rst
[edit]
[-] deregister-on-premises-instance.rst
[edit]
[-] remove-tags-from-on-premises-instances.rst
[edit]
[-] deregister.rst
[edit]
[-] delete-deployment-config.rst
[edit]
[-] delete-git-hub-account-token.rst
[edit]
[-] batch-get-applications.rst
[edit]
[-] get-deployment-instance.rst
[edit]
[-] continue-deployment.rst
[edit]
[-] get-deployment.rst
[edit]
[-] batch-get-deployment-targets.rst
[edit]
[-] get-on-premises-instance.rst
[edit]
[-] update-application.rst
[edit]
[-] add-tags-to-on-premises-instances.rst
[edit]
[-] batch-get-on-premises-instances.rst
[edit]
[-] list-on-premises-instances.rst
[edit]
[-] list-git-hub-account-token-names.rst
[edit]
[-] get-deployment-target.rst
[edit]