put_registration_field_value
¶
put_registration_field_value(
registration_id: RegistrationIdOrArn,
field_path: FieldPath,
*,
config_overrides: Optional[PinpointSMSVoiceV2ClientConfig] = None,
select_choices: Optional[SelectChoiceList] = None,
text_value: Optional[TextValue] = None,
registration_attachment_id: Optional[RegistrationAttachmentIdOrArn] = None,
) -> PutRegistrationFieldValueResult
Creates or updates a field value for a registration.
Parameters:
-
registration_id(RegistrationIdOrArn) –The unique identifier for the registration.
-
field_path(FieldPath) –The path to the registration form field. You can use DescribeRegistrationFieldDefinitions for a list of FieldPaths.
-
select_choices(Optional[SelectChoiceList], default:None) –An array of values for the form field.
-
text_value(Optional[TextValue], default:None) –The text data for a free form field.
-
registration_attachment_id(Optional[RegistrationAttachmentIdOrArn], default:None) –The unique identifier for the registration attachment.
Raises:
-
AccessDeniedException–The request was denied because you don't have sufficient permissions to access the resource.
-
ConflictException–Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.
-
InternalServerException–The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.
-
ResourceNotFoundException–A requested resource couldn't be found.
-
ThrottlingException–An error that occurred because too many requests were sent during a certain amount of time.
-
ValidationException–A validation exception for a field.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_pinpoint_sms_voice_v2/_services/pinpoint_sms_voice_v2.py
5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 | |