put_registration_field_value
async
¶
put_registration_field_value(
registration_id: RegistrationIdOrArn,
field_path: FieldPath,
*,
config_overrides: Optional[AsyncPinpointSMSVoiceV2ClientConfig] = 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/async_pinpoint_sms_voice_v2.py
5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 | |