UserNotifications / Client / deregister_notification_hub
deregister_notification_hub#
- UserNotifications.Client.deregister_notification_hub(**kwargs)#
Deregisters a
NotificationConfiguration
in the specified Region.Note
You can’t deregister the last
NotificationHub
in the account.NotificationEvents
stored in the deregisteredNotificationConfiguration
are no longer be visible. Recreating a newNotificationConfiguration
in 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
NotificationConfiguration
Region.- Return type:
dict
- Returns:
Response Syntax
{ 'notificationHubRegion': 'string', 'statusSummary': { 'status': 'ACTIVE'|'REGISTERING'|'DEREGISTERING'|'INACTIVE', 'reason': 'string' } }
Response Structure
(dict) –
notificationHubRegion (string) –
The
NotificationConfiguration
Region.statusSummary (dict) –
NotificationConfiguration
status information.status (string) –
Status information about the
NotificationHub
.Values:
ACTIVE
Incoming
NotificationEvents
are replicated to thisNotificationHub
.
REGISTERING
The
NotificationConfiguration
is initializing. ANotificationConfiguration
with this status can’t be deregistered.
DEREGISTERING
The
NotificationConfiguration
is being deleted. You can’t register additionalNotificationHubs
in the same Region as aNotificationConfiguration
with this status.
reason (string) –
An explanation for the current status.
Exceptions