UserNotifications / Client / update_event_rule
update_event_rule¶
- UserNotifications.Client.update_event_rule(**kwargs)¶
- Updates an existing - EventRule.- See also: AWS API Documentation - Request Syntax- response = client.update_event_rule( arn='string', eventPattern='string', regions=[ 'string', ] ) - Parameters:
- arn (string) – - [REQUIRED] - The Amazon Resource Name (ARN) to use to update the - EventRule.
- eventPattern (string) – - An additional event pattern used to further filter the events this - EventRulereceives.- For more information, see Amazon EventBridge event patterns in the Amazon EventBridge User Guide. 
- regions (list) – - A list of Amazon Web Services Regions that sends events to this - EventRule.- (string) – 
 
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'arn': 'string', 'notificationConfigurationArn': 'string', 'statusSummaryByRegion': { 'string': { 'status': 'ACTIVE'|'INACTIVE'|'CREATING'|'UPDATING'|'DELETING', 'reason': 'string' } } } - Response Structure- (dict) – - arn (string) – - The Amazon Resource Name (ARN) to use to update the - EventRule.
- notificationConfigurationArn (string) – - The ARN of the - NotificationConfiguration.
- statusSummaryByRegion (dict) – - The status of the action by Region. - (string) – - (dict) – - Provides additional information about the current - EventRulestatus.- status (string) – - The status of the - EventRule.- Values: - ACTIVE- The - EventRulecan process events.
 
- INACTIVE- The - EventRulemay be unable to process events.
 
- CREATING- The - EventRuleis being created. Only- GETand- LISTcalls can be run.
 
- UPDATING- The - EventRuleis being updated. Only- GETand- LISTcalls can be run.
 
- DELETING- The - EventRuleis being deleted. Only- GETand- LISTcalls can be run.
 
 
 
- reason (string) – - A human-readable reason for - EventRuleStatus.
 
 
 
 
 
 - Exceptions