CmdID

CmdID / aws / aws codepipeline

aws codepipeline list-webhooks

Gets a listing of all the webhooks in this Amazon Web Services Region for this account. AWS CLI reference

1 example 2 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To list webhooks

The following list-webhooks example retrieves a list of all tags attached to the specified pipeline resource.

aws codepipeline list-webhooksIdentify
Its output
{
    "webhooks": [
        {
            "definition": {
                "authenticationConfiguration": {
                    "SecretToken": "Secret"
                },
                "name": "my-webhook",
                "authentication": "GITHUB_HMAC",
                "targetPipeline": "my-Pipeline",
                "targetAction": "Source",
                "filters": [
                    {
                        "jsonPath": "$.ref",
                        "matchEquals": "refs/heads/{Branch}"
                    }
                ]
            },
            "url": "https://webhooks.domain.com/trigger111111111EXAMPLE11111111111111111",
            "arn": "arn:aws:codepipeline:us-west-2:123456789012:webhook:my-webhook"
        }
    ]
}

For more information, see List webhooks in your account in the AWS CodePipeline User Guide.

Options

2 in the AWS CLI reference
--max-resultsThe maximum number of results to return in a single call.
--next-tokenThe token that was returned from the previous ListWebhooks call, which can be used to return the next set of webhooks in the list.