associateManagedNotificationAccountContact method

Future<void> associateManagedNotificationAccountContact({
  1. required AccountContactType contactIdentifier,
  2. required String managedNotificationConfigurationArn,
})

Associates an Account Contact with a particular ManagedNotificationConfiguration.

May throw AccessDeniedException. May throw ConflictException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ServiceQuotaExceededException. May throw ThrottlingException. May throw ValidationException.

Parameter contactIdentifier : A unique value of an Account Contact Type to associate with the ManagedNotificationConfiguration.

Parameter managedNotificationConfigurationArn : The Amazon Resource Name (ARN) of the ManagedNotificationConfiguration to associate with the Account Contact.

Implementation

Future<void> associateManagedNotificationAccountContact({
  required AccountContactType contactIdentifier,
  required String managedNotificationConfigurationArn,
}) async {
  final $payload = <String, dynamic>{
    'managedNotificationConfigurationArn':
        managedNotificationConfigurationArn,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'PUT',
    requestUri:
        '/contacts/associate-managed-notification/${Uri.encodeComponent(contactIdentifier.value)}',
    exceptionFnMap: _exceptionFns,
  );
}