Class: Aws::Pinpoint::Types::SendOTPMessageRequestParameters
- Inherits:
-
Struct
- Object
- Struct
- Aws::Pinpoint::Types::SendOTPMessageRequestParameters
- Defined in:
- gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb
Overview
When making an API call, you may pass SendOTPMessageRequestParameters data as a hash:
{
allowed_attempts: 1,
brand_name: "__string", # required
channel: "__string", # required
code_length: 1,
destination_identity: "__string", # required
entity_id: "__string",
language: "__string",
origination_identity: "__string", # required
reference_id: "__string", # required
template_id: "__string",
validity_period: 1,
}
Send OTP message request parameters.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#allowed_attempts ⇒ Integer
The attempts allowed to validate an OTP.
-
#brand_name ⇒ String
The brand name that will be substituted into the OTP message body.
-
#channel ⇒ String
Channel type for the OTP message.
-
#code_length ⇒ Integer
The number of characters in the generated OTP.
-
#destination_identity ⇒ String
The destination identity to send OTP to.
-
#entity_id ⇒ String
A unique Entity ID received from DLT after entity registration is approved.
-
#language ⇒ String
The language to be used for the outgoing message body containing the OTP.
-
#origination_identity ⇒ String
The origination identity used to send OTP from.
-
#reference_id ⇒ String
Developer-specified reference identifier.
-
#template_id ⇒ String
A unique Template ID received from DLT after entity registration is approved.
-
#validity_period ⇒ Integer
The time in minutes before the OTP is no longer valid.
Instance Attribute Details
#allowed_attempts ⇒ Integer
The attempts allowed to validate an OTP.
16223 16224 16225 16226 16227 16228 16229 16230 16231 16232 16233 16234 16235 16236 16237 |
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 16223 class SendOTPMessageRequestParameters < Struct.new( :allowed_attempts, :brand_name, :channel, :code_length, :destination_identity, :entity_id, :language, :origination_identity, :reference_id, :template_id, :validity_period) SENSITIVE = [] include Aws::Structure end |
#brand_name ⇒ String
The brand name that will be substituted into the OTP message body. Should be owned by calling AWS account.
16223 16224 16225 16226 16227 16228 16229 16230 16231 16232 16233 16234 16235 16236 16237 |
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 16223 class SendOTPMessageRequestParameters < Struct.new( :allowed_attempts, :brand_name, :channel, :code_length, :destination_identity, :entity_id, :language, :origination_identity, :reference_id, :template_id, :validity_period) SENSITIVE = [] include Aws::Structure end |
#channel ⇒ String
Channel type for the OTP message. Supported values: [SMS].
16223 16224 16225 16226 16227 16228 16229 16230 16231 16232 16233 16234 16235 16236 16237 |
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 16223 class SendOTPMessageRequestParameters < Struct.new( :allowed_attempts, :brand_name, :channel, :code_length, :destination_identity, :entity_id, :language, :origination_identity, :reference_id, :template_id, :validity_period) SENSITIVE = [] include Aws::Structure end |
#code_length ⇒ Integer
The number of characters in the generated OTP.
16223 16224 16225 16226 16227 16228 16229 16230 16231 16232 16233 16234 16235 16236 16237 |
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 16223 class SendOTPMessageRequestParameters < Struct.new( :allowed_attempts, :brand_name, :channel, :code_length, :destination_identity, :entity_id, :language, :origination_identity, :reference_id, :template_id, :validity_period) SENSITIVE = [] include Aws::Structure end |
#destination_identity ⇒ String
The destination identity to send OTP to.
16223 16224 16225 16226 16227 16228 16229 16230 16231 16232 16233 16234 16235 16236 16237 |
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 16223 class SendOTPMessageRequestParameters < Struct.new( :allowed_attempts, :brand_name, :channel, :code_length, :destination_identity, :entity_id, :language, :origination_identity, :reference_id, :template_id, :validity_period) SENSITIVE = [] include Aws::Structure end |
#entity_id ⇒ String
A unique Entity ID received from DLT after entity registration is approved.
16223 16224 16225 16226 16227 16228 16229 16230 16231 16232 16233 16234 16235 16236 16237 |
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 16223 class SendOTPMessageRequestParameters < Struct.new( :allowed_attempts, :brand_name, :channel, :code_length, :destination_identity, :entity_id, :language, :origination_identity, :reference_id, :template_id, :validity_period) SENSITIVE = [] include Aws::Structure end |
#language ⇒ String
The language to be used for the outgoing message body containing the OTP.
16223 16224 16225 16226 16227 16228 16229 16230 16231 16232 16233 16234 16235 16236 16237 |
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 16223 class SendOTPMessageRequestParameters < Struct.new( :allowed_attempts, :brand_name, :channel, :code_length, :destination_identity, :entity_id, :language, :origination_identity, :reference_id, :template_id, :validity_period) SENSITIVE = [] include Aws::Structure end |
#origination_identity ⇒ String
The origination identity used to send OTP from.
16223 16224 16225 16226 16227 16228 16229 16230 16231 16232 16233 16234 16235 16236 16237 |
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 16223 class SendOTPMessageRequestParameters < Struct.new( :allowed_attempts, :brand_name, :channel, :code_length, :destination_identity, :entity_id, :language, :origination_identity, :reference_id, :template_id, :validity_period) SENSITIVE = [] include Aws::Structure end |
#reference_id ⇒ String
Developer-specified reference identifier. Required to match during OTP verification.
16223 16224 16225 16226 16227 16228 16229 16230 16231 16232 16233 16234 16235 16236 16237 |
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 16223 class SendOTPMessageRequestParameters < Struct.new( :allowed_attempts, :brand_name, :channel, :code_length, :destination_identity, :entity_id, :language, :origination_identity, :reference_id, :template_id, :validity_period) SENSITIVE = [] include Aws::Structure end |
#template_id ⇒ String
A unique Template ID received from DLT after entity registration is approved.
16223 16224 16225 16226 16227 16228 16229 16230 16231 16232 16233 16234 16235 16236 16237 |
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 16223 class SendOTPMessageRequestParameters < Struct.new( :allowed_attempts, :brand_name, :channel, :code_length, :destination_identity, :entity_id, :language, :origination_identity, :reference_id, :template_id, :validity_period) SENSITIVE = [] include Aws::Structure end |
#validity_period ⇒ Integer
The time in minutes before the OTP is no longer valid.
16223 16224 16225 16226 16227 16228 16229 16230 16231 16232 16233 16234 16235 16236 16237 |
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 16223 class SendOTPMessageRequestParameters < Struct.new( :allowed_attempts, :brand_name, :channel, :code_length, :destination_identity, :entity_id, :language, :origination_identity, :reference_id, :template_id, :validity_period) SENSITIVE = [] include Aws::Structure end |