disassociateManagedNotificationAdditionalChannel method
Disassociates an additional Channel from a particular
ManagedNotificationConfiguration.
Supported Channels include Amazon Q Developer in chat applications, the Console Mobile Application, and emails (notifications-contacts).
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter channelArn :
The Amazon Resource Name (ARN) of the Channel to associate with the
ManagedNotificationConfiguration.
Parameter managedNotificationConfigurationArn :
The Amazon Resource Name (ARN) of the Managed Notification Configuration
to associate with the additional Channel.
Implementation
Future<void> disassociateManagedNotificationAdditionalChannel({
required String channelArn,
required String managedNotificationConfigurationArn,
}) async {
final $payload = <String, dynamic>{
'managedNotificationConfigurationArn':
managedNotificationConfigurationArn,
};
final response = await _protocol.send(
payload: $payload,
method: 'PUT',
requestUri:
'/channels/disassociate-managed-notification/${Uri.encodeComponent(channelArn)}',
exceptionFnMap: _exceptionFns,
);
}