sendActivationCode method

Future<void> sendActivationCode({
  1. required String arn,
})

Sends an activation email to the email address associated with the specified email contact.

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

Parameter arn : The Amazon Resource Name (ARN) of the resource.

Implementation

Future<void> sendActivationCode({
  required String arn,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'POST',
    requestUri:
        '/2022-10-31/emailcontacts/${Uri.encodeComponent(arn)}/activate/send',
    exceptionFnMap: _exceptionFns,
  );
}