Skip to main content

registration_field_definitions

Creates, updates, deletes, gets or lists a registration_field_definitions resource.

Overview​

Nameregistration_field_definitions
TypeResource
Idaws.pinpoint_sms_voice_v2.registration_field_definitions

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
display_hintsobjectAn array of RegistrationFieldDisplayHints objects for the field.
field_pathstringThe path to the registration form field. You can use DescribeRegistrationFieldDefinitions for a list of FieldPaths. (pattern: <code>[A-Za-z0-9_.]+</code>)
field_requirementstringSpecifies if the field for the registration form is required, conditional or optional. (REQUIRED, CONDITIONAL, OPTIONAL)
field_typestringThe type of field. (SELECT, TEXT, ATTACHMENT)
section_pathstringThe section path of the field. (pattern: <code>[A-Za-z0-9_]+</code>)
select_validationobjectThe validation rules for a select field.
text_validationobjectThe validation rules for a text field.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_registration_field_definitionsselectregionRetrieves the specified registration type field definitions. You can use DescribeRegistrationFieldDefinitions to view the requirements for creating, filling out, and submitting each registration type.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples​

Retrieves the specified registration type field definitions. You can use DescribeRegistrationFieldDefinitions to view the requirements for creating, filling out, and submitting each registration type.

SELECT
display_hints,
field_path,
field_requirement,
field_type,
section_path,
select_validation,
text_validation
FROM aws.pinpoint_sms_voice_v2.registration_field_definitions
WHERE region = '{{ region }}' -- required
;