PATH:
usr
/
local
/
jetapps
/
var
/
lib
/
aws
/
lib
/
python2.7
/
site-packages
/
awscli
/
examples
/
codecommit
**To test triggers in a repository** This example demonstrates how to test a trigger named 'MyFirstTrigger' in an AWS CodeCommit repository named MyDemoRepo. In this example, events in the repository trigger notifications from an Amazon Simple Notification Service (Amazon SNS) topic. Command:: aws codecommit test-repository-triggers --repository-name MyDemoRepo --triggers name=MyFirstTrigger,destinationArn=arn:aws:sns:us-east-1:111111111111:MyCodeCommitTopic,branches=mainline,preprod,events=all Output:: { "successfulExecutions": [ "MyFirstTrigger" ], "failedExecutions": [] }
[-] get-merge-conflicts.rst
[edit]
[-] describe-pull-request-events.rst
[edit]
[-] update-pull-request-status.rst
[edit]
[-] credential-helper.rst
[edit]
[-] list-pull-requests.rst
[edit]
[-] delete-comment-content.rst
[edit]
[-] test-repository-triggers.rst
[edit]
[-] get-repository-triggers.rst
[edit]
[-] get-comments-for-pull-request.rst
[edit]
[-] delete-file.rst
[edit]
[+]
..
[-] batch-get-repositories.rst
[edit]
[-] put-repository-triggers.rst
[edit]
[-] delete-branch.rst
[edit]
[-] get-branch.rst
[edit]
[-] create-commit.rst
[edit]
[-] list-branches.rst
[edit]
[-] post-comment-for-pull-request.rst
[edit]
[-] get-pull-request.rst
[edit]
[-] update-repository-name.rst
[edit]
[-] update-default-branch.rst
[edit]
[-] get-comment.rst
[edit]
[-] update-comment.rst
[edit]
[-] get-commit.rst
[edit]
[-] get-file.rst
[edit]
[-] get-folder.rst
[edit]
[-] post-comment-reply.rst
[edit]
[-] put-file.rst
[edit]
[-] get-blob.rst
[edit]
[-] create-repository.rst
[edit]
[-] update-pull-request-description.rst
[edit]
[-] create-pull-request.rst
[edit]
[-] get-differences.rst
[edit]
[-] merge-pull-request-by-fast-forward.rst
[edit]
[-] list-repositories.rst
[edit]
[-] create-branch.rst
[edit]
[-] update-repository-description.rst
[edit]
[-] delete-repository.rst
[edit]
[-] update-pull-request-title.rst
[edit]
[-] get-comments-for-compared-commit.rst
[edit]
[-] get-repository.rst
[edit]
[-] post-comment-for-compared-commit.rst
[edit]