UserNotifications / Client / deregister_notification_hub
deregister_notification_hub#
- UserNotifications.Client.deregister_notification_hub(**kwargs)#
- Deregisters a - NotificationConfigurationin the specified Region.- Note- You can’t deregister the last - NotificationHubin the account.- NotificationEventsstored in the deregistered- NotificationConfigurationare no longer be visible. Recreating a new- NotificationConfigurationin the same Region restores access to those- NotificationEvents.- See also: AWS API Documentation - Request Syntax- response = client.deregister_notification_hub( notificationHubRegion='string' ) - Parameters:
- notificationHubRegion (string) – - [REQUIRED] - The - NotificationConfigurationRegion.
- Return type:
- dict 
- Returns:
- Response Syntax- { 'notificationHubRegion': 'string', 'statusSummary': { 'status': 'ACTIVE'|'REGISTERING'|'DEREGISTERING'|'INACTIVE', 'reason': 'string' } } - Response Structure- (dict) – - notificationHubRegion (string) – - The - NotificationConfigurationRegion.
- statusSummary (dict) – - NotificationConfigurationstatus information.- status (string) – - Status information about the - NotificationHub.- Values: - ACTIVE- Incoming - NotificationEventsare replicated to this- NotificationHub.
 
- REGISTERING- The - NotificationConfigurationis initializing. A- NotificationConfigurationwith this status can’t be deregistered.
 
- DEREGISTERING- The - NotificationConfigurationis being deleted. You can’t register additional- NotificationHubsin the same Region as a- NotificationConfigurationwith this status.
 
 
 
- reason (string) – - An explanation for the current status. 
 
 
 
 - Exceptions- UserNotifications.Client.exceptions.AccessDeniedException
- UserNotifications.Client.exceptions.ValidationException
- UserNotifications.Client.exceptions.InternalServerException
- UserNotifications.Client.exceptions.ThrottlingException
- UserNotifications.Client.exceptions.ConflictException
- UserNotifications.Client.exceptions.ResourceNotFoundException