DevOpsAgentService / Client / list_webhooks

list_webhooks

DevOpsAgentService.Client.list_webhooks(**kwargs)

List all webhooks for given Association

See also: AWS API Documentation

Request Syntax

response = client.list_webhooks(
    agentSpaceId='string',
    associationId='string'
)
Parameters:
  • agentSpaceId (string) –

    [REQUIRED]

    The unique identifier of the AgentSpace

  • associationId (string) –

    [REQUIRED]

    The unique identifier of the given association.

Return type:

dict

Returns:

Response Syntax

{
    'webhooks': [
        {
            'webhookUrl': 'string',
            'webhookType': 'hmac'|'apikey'|'gitlab'|'pagerduty',
            'webhookId': 'string'
        },
    ]
}

Response Structure

  • (dict) –

    Output containing a list of service association webhooks.

    • webhooks (list) –

      The list of association webhooks.

      • (dict) –

        Represents a complete Webhook with all its properties, and unique identifier.

        • webhookUrl (string) –

          Webhook endpoint URL.

        • webhookType (string) –

          Webhook authentication type.

        • webhookId (string) –

          The unique identifier of the Webhook

Exceptions

  • DevOpsAgentService.Client.exceptions.ValidationException

  • DevOpsAgentService.Client.exceptions.ContentSizeExceededException

  • DevOpsAgentService.Client.exceptions.ServiceQuotaExceededException

  • DevOpsAgentService.Client.exceptions.ConflictException

  • DevOpsAgentService.Client.exceptions.InternalServerException

  • DevOpsAgentService.Client.exceptions.AccessDeniedException

  • DevOpsAgentService.Client.exceptions.ResourceNotFoundException

  • DevOpsAgentService.Client.exceptions.ThrottlingException

  • DevOpsAgentService.Client.exceptions.InvalidParameterException