Class: Aws::WAFV2::Types::PhoneNumberField
- Inherits:
-
Struct
- Object
- Struct
- Aws::WAFV2::Types::PhoneNumberField
- Defined in:
- gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb
Overview
The name of a field in the request payload that contains part or all of your customer's primary phone number.
This data type is used in the RequestInspectionACFP
data type.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#identifier ⇒ String
The name of a single primary phone number field.
Instance Attribute Details
#identifier ⇒ String
The name of a single primary phone number field.
How you specify the phone number fields depends on the request inspection payload type.
For JSON payloads, specify the field identifiers in JSON pointer syntax. For information about the JSON Pointer syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer.
For example, for the JSON payload
{ "form": { "primaryphoneline1": "THE_PHONE1", "primaryphoneline2": "THE_PHONE2", "primaryphoneline3": "THE_PHONE3" } }
, the phone number field identifiers are/form/primaryphoneline1
,/form/primaryphoneline2
, and/form/primaryphoneline3
.For form encoded payload types, use the HTML form names.
For example, for an HTML form with input elements named
primaryphoneline1
,primaryphoneline2
, andprimaryphoneline3
, the phone number field identifiers areprimaryphoneline1
,primaryphoneline2
, andprimaryphoneline3
.
6069 6070 6071 6072 6073 |
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 6069 class PhoneNumberField < Struct.new( :identifier) SENSITIVE = [] include Aws::Structure end |