sendNotifyCodeVerification

Generates a one-time passcode and delivers it to a recipient over the requested channel. The passcode policy is captured from the referenced notify code configuration at the time of the request, so later updates to the configuration do not affect verifications that are already in progress.

Samples

// Send a one time passcode over SMS
val resp = endUserMessagingClient.sendNotifyCodeVerification {
    channel = NotifyChannel.fromValue("TEXT")
    destinationIdentity = "+14255550100"
    originationIdentity = "arn:aws:sms-voice:us-east-1:123456789012:phone-number/pn-abc123"
    notifyCodeConfiguration = "ncc-abc12345678901234"
    referenceId = "signup-flow-42"
}