deregisterNotificationHub method
Future<DeregisterNotificationHubResponse>
deregisterNotificationHub({
- required String notificationHubRegion,
Deregisters a NotificationConfiguration in the specified
Region.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter notificationHubRegion :
The NotificationConfiguration Region.
Implementation
Future<DeregisterNotificationHubResponse> deregisterNotificationHub({
required String notificationHubRegion,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/notification-hubs/${Uri.encodeComponent(notificationHubRegion)}',
exceptionFnMap: _exceptionFns,
);
return DeregisterNotificationHubResponse.fromJson(response);
}