Class: Aws::AmplifyBackend::Types::CreateBackendAuthVerificationMessageConfig

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-amplifybackend/lib/aws-sdk-amplifybackend/types.rb

Overview

Note:

When making an API call, you may pass CreateBackendAuthVerificationMessageConfig data as a hash:

{
  delivery_method: "EMAIL", # required, accepts EMAIL, SMS
  email_settings: {
    email_message: "__string",
    email_subject: "__string",
  },
  sms_settings: {
    sms_message: "__string",
  },
}

Creates an email or SMS verification message for the auth resource configured for your Amplify project.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#delivery_methodString

The type of verification message to send.

Returns:

  • (String)


1494
1495
1496
1497
1498
1499
1500
# File 'gems/aws-sdk-amplifybackend/lib/aws-sdk-amplifybackend/types.rb', line 1494

class CreateBackendAuthVerificationMessageConfig < Struct.new(
  :delivery_method,
  :email_settings,
  :sms_settings)
  SENSITIVE = []
  include Aws::Structure
end

#email_settingsTypes::EmailSettings

The settings for the email message.



1494
1495
1496
1497
1498
1499
1500
# File 'gems/aws-sdk-amplifybackend/lib/aws-sdk-amplifybackend/types.rb', line 1494

class CreateBackendAuthVerificationMessageConfig < Struct.new(
  :delivery_method,
  :email_settings,
  :sms_settings)
  SENSITIVE = []
  include Aws::Structure
end

#sms_settingsTypes::SmsSettings

The settings for the SMS message.

Returns:



1494
1495
1496
1497
1498
1499
1500
# File 'gems/aws-sdk-amplifybackend/lib/aws-sdk-amplifybackend/types.rb', line 1494

class CreateBackendAuthVerificationMessageConfig < Struct.new(
  :delivery_method,
  :email_settings,
  :sms_settings)
  SENSITIVE = []
  include Aws::Structure
end