PinpointSMSVoiceV2 / Client / put_registration_field_value
put_registration_field_value#
- PinpointSMSVoiceV2.Client.put_registration_field_value(**kwargs)#
Creates or updates a field value for a registration.
See also: AWS API Documentation
Request Syntax
response = client.put_registration_field_value( RegistrationId='string', FieldPath='string', SelectChoices=[ 'string', ], TextValue='string', RegistrationAttachmentId='string' )
- Parameters:
RegistrationId (string) –
[REQUIRED]
The unique identifier for the registration.
FieldPath (string) –
[REQUIRED]
The path to the registration form field. You can use DescribeRegistrationFieldDefinitions for a list of FieldPaths.
SelectChoices (list) –
An array of values for the form field.
(string) –
TextValue (string) – The text data for a free form field.
RegistrationAttachmentId (string) – The unique identifier for the registration attachment.
- Return type:
dict
- Returns:
Response Syntax
{ 'RegistrationArn': 'string', 'RegistrationId': 'string', 'VersionNumber': 123, 'FieldPath': 'string', 'SelectChoices': [ 'string', ], 'TextValue': 'string', 'RegistrationAttachmentId': 'string' }
Response Structure
(dict) –
RegistrationArn (string) –
The Amazon Resource Name (ARN) for the registration.
RegistrationId (string) –
The unique identifier for the registration.
VersionNumber (integer) –
The version number of the registration.
FieldPath (string) –
The path to the registration form field. You can use DescribeRegistrationFieldDefinitions for a list of FieldPaths.
SelectChoices (list) –
An array of values for the form field.
(string) –
TextValue (string) –
The text data for a free form field.
RegistrationAttachmentId (string) –
The unique identifier for the registration attachment.
Exceptions