Amplify.Client.
get_webhook
(**kwargs)¶Returns the webhook information that corresponds to a specified webhook ID.
See also: AWS API Documentation
Request Syntax
response = client.get_webhook(
webhookId='string'
)
[REQUIRED]
The unique ID for a webhook.
{
'webhook': {
'webhookArn': 'string',
'webhookId': 'string',
'webhookUrl': 'string',
'branchName': 'string',
'description': 'string',
'createTime': datetime(2015, 1, 1),
'updateTime': datetime(2015, 1, 1)
}
}
Response Structure
The result structure for the get webhook request.
Describes the structure of a webhook.
The Amazon Resource Name (ARN) for the webhook.
The ID of the webhook.
The URL of the webhook.
The name for a branch that is part of an Amplify app.
The description for a webhook.
The create date and time for a webhook.
Updates the date and time for a webhook.
Exceptions
Amplify.Client.exceptions.BadRequestException
Amplify.Client.exceptions.UnauthorizedException
Amplify.Client.exceptions.InternalFailureException
Amplify.Client.exceptions.NotFoundException
Amplify.Client.exceptions.LimitExceededException