list_webhooks
(**kwargs)¶Returns a list of webhooks for an Amplify app.
See also: AWS API Documentation
Request Syntax
response = client.list_webhooks(
appId='string',
nextToken='string',
maxResults=123
)
[REQUIRED]
The unique ID for an Amplify app.
dict
Response Syntax
{
'webhooks': [
{
'webhookArn': 'string',
'webhookId': 'string',
'webhookUrl': 'string',
'branchName': 'string',
'description': 'string',
'createTime': datetime(2015, 1, 1),
'updateTime': datetime(2015, 1, 1)
},
],
'nextToken': 'string'
}
Response Structure
(dict) --
The result structure for the list webhooks request.
webhooks (list) --
A list of webhooks.
(dict) --
Describes a webhook that connects repository events to an Amplify app.
webhookArn (string) --
The Amazon Resource Name (ARN) for the webhook.
webhookId (string) --
The ID of the webhook.
webhookUrl (string) --
The URL of the webhook.
branchName (string) --
The name for a branch that is part of an Amplify app.
description (string) --
The description for a webhook.
createTime (datetime) --
The create date and time for a webhook.
updateTime (datetime) --
Updates the date and time for a webhook.
nextToken (string) --
A pagination token. If non-null, the pagination token is returned in a result. Pass its value in another request to retrieve more entries.
Exceptions
Amplify.Client.exceptions.BadRequestException
Amplify.Client.exceptions.UnauthorizedException
Amplify.Client.exceptions.InternalFailureException
Amplify.Client.exceptions.LimitExceededException