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 deregisteredNotificationConfigurationare no longer be visible. Recreating a newNotificationConfigurationin the same Region restores access to thoseNotificationEvents.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:
ACTIVEIncoming
NotificationEventsare replicated to thisNotificationHub.
REGISTERINGThe
NotificationConfigurationis initializing. ANotificationConfigurationwith this status can’t be deregistered.
DEREGISTERINGThe
NotificationConfigurationis being deleted. You can’t register additionalNotificationHubsin the same Region as aNotificationConfigurationwith this status.
reason (string) –
An explanation for the current status.
Exceptions