UpdateContactData
UpdateContactData() -> UpdateContactDataHandle
Construct a fresh UpdateContactData block with an auto-generated id.
Use this when authoring from scratch, the runtime picks a UUID automatically.
Sets a collection of connect defined attributes on specified contact. With this type of operation, either all attributes are set or none are set.
UpdateContactDataUpdateContactData() -> UpdateContactDataHandle
Construct a fresh UpdateContactData block with an auto-generated id.
Use this when authoring from scratch, the runtime picks a UUID automatically.
UpdateContactDataUpdateContactData(id: String) -> UpdateContactDataHandle
Construct a UpdateContactData block with an operator-supplied id.
| Parameter | Type | Required | Description |
|---|---|---|---|
id | String | yes | Wire identifier, typically a Connect UUID restored by decompile so round-trips stay byte-stable. |
parametersparameters(value?: String) -> UpdateContactDataHandle
Set the Parameters parameter.
| Parameter | Type | Required | Description |
|---|---|---|---|
value | String | no |
namename(value?: String) -> UpdateContactDataHandle
Set the Name parameter. The name of the contact. It is a string. May be set statically or dynamically.
| Parameter | Type | Required | Description |
|---|---|---|---|
value | String | no | The name of the contact. It is a string. May be set statically or dynamically. |
descriptiondescription(value?: String) -> UpdateContactDataHandle
Set the Description parameter. The description of the contact. It is a string.
| Parameter | Type | Required | Description |
|---|---|---|---|
value | String | no | The description of the contact. It is a string. |
language_codelanguage_code(value?: String) -> UpdateContactDataHandle
Set the LanguageCode parameter. The language to use for current contact.
| Parameter | Type | Required | Description |
|---|---|---|---|
value | String | no | The language to use for current contact. |
customer_idcustomer_id(value?: String) -> UpdateContactDataHandle
Set the CustomerId parameter. The customer id associated with the contact.
| Parameter | Type | Required | Description |
|---|---|---|---|
value | String | no | The customer id associated with the contact. |
referencesreferences(value?: Map<String, Map (Reference)>) -> UpdateContactDataHandle
Set the References parameter. References to set on the contact, keyed by reference name. Authored as .references(#{ Ticket: #{ Value: "…", Type: "STRING" } }).
| Parameter | Type | Required | Description |
|---|---|---|---|
value | Map<String, Map (Reference)> | no | References to set on the contact, keyed by reference name. Authored as .references(#{ Ticket: #{ Value: "…", Type: "STRING" } }). |
typetype(value?: String) -> UpdateContactDataHandle
Set the Type parameter. "Value" Both the key and value may be defined statically or dynamically.
| Parameter | Type | Required | Description |
|---|---|---|---|
value | String | no | "Value" Both the key and value may be defined statically or dynamically. |
is_voice_id_streaming_enabledis_voice_id_streaming_enabled(value?: bool) -> UpdateContactDataHandle
Set the IsVoiceIdStreamingEnabled parameter. Enable to start streaming audio from customer channel to Voice ID. It is a string. "TRUE" and "FALSE" are the only valid values.
| Parameter | Type | Required | Description |
|---|---|---|---|
value | bool | no | Enable to start streaming audio from customer channel to Voice ID. It is a string. "TRUE" and "FALSE" are the only valid values. |
is_voice_authentication_enabledis_voice_authentication_enabled(value?: bool) -> UpdateContactDataHandle
Set the IsVoiceAuthenticationEnabled parameter. Enable authentication by comparing voiceprint of the caller to the enrolled voiceprint of the claimed identity.It is a string. "TRUE" and "FALSE" are the only valid values.
| Parameter | Type | Required | Description |
|---|---|---|---|
value | bool | no | Enable authentication by comparing voiceprint of the caller to the enrolled voiceprint of the claimed identity.It is a string. "TRUE" and "FALSE" are the only valid values. |
is_fraud_detection_enabledis_fraud_detection_enabled(value?: bool) -> UpdateContactDataHandle
Set the IsFraudDetectionEnabled parameter. Enable detection for impersonation attempts and presence of known fraudsters. It is a string. "TRUE" and "FALSE" are the only valid values.
| Parameter | Type | Required | Description |
|---|---|---|---|
value | bool | no | Enable detection for impersonation attempts and presence of known fraudsters. It is a string. "TRUE" and "FALSE" are the only valid values. |
voice_authentication_thresholdvoice_authentication_threshold(value?: String) -> UpdateContactDataHandle
Set the VoiceAuthenticationThreshold parameter. Threshold to validate against confidence score of a voice match. It is a string. Value must be between 0 and 100.
| Parameter | Type | Required | Description |
|---|---|---|---|
value | String | no | Threshold to validate against confidence score of a voice match. It is a string. Value must be between 0 and 100. |
voice_authentication_response_timevoice_authentication_response_time(value?: String) -> UpdateContactDataHandle
Set the VoiceAuthenticationResponseTime parameter. Define required minimum caller speech seconds for voice authentication. It is a string. Value must be between 5 and 10.
| Parameter | Type | Required | Description |
|---|---|---|---|
value | String | no | Define required minimum caller speech seconds for voice authentication. It is a string. Value must be between 5 and 10. |
fraud_detection_thresholdfraud_detection_threshold(value?: String) -> UpdateContactDataHandle
Set the FraudDetectionThreshold parameter. The threshold you set for fraud detection is used to measure risk. Scores higher than the threshold are reported as higher risk. Scores lower than the threshold are reported as lower risk. Raising the threshold lowers false positive rates (makes result more certain), but raises false negative rates. It is a string. Value must be between 0 and 100.
| Parameter | Type | Required | Description |
|---|---|---|---|
value | String | no | The threshold you set for fraud detection is used to measure risk. Scores higher than the threshold are reported as higher risk. Scores lower than the threshold are reported as lower risk. Raising the threshold lowers false positive rates (makes result more certain), but raises false negative rates. It is a string. Value must be between 0 and 100. |
watchlist_idwatchlist_id(value?: String) -> UpdateContactDataHandle
Set the WatchlistId parameter. Identifier of watchlist to use when evaluating the voice session. It is a string. Value must be between 0 and 100.
| Parameter | Type | Required | Description |
|---|---|---|---|
value | String | no | Identifier of watchlist to use when evaluating the voice session. It is a string. Value must be between 0 and 100. |
wisdom_session_arnwisdom_session_arn(value?: String) -> UpdateContactDataHandle
Set the WisdomSessionArn parameter. A session ARN provided by Amazon Connect Wisdom for agent assistance. It is a string.
| Parameter | Type | Required | Description |
|---|---|---|---|
value | String | no | A session ARN provided by Amazon Connect Wisdom for agent assistance. It is a string. |
target_contacttarget_contact(value: TargetContact) -> UpdateContactDataHandle
Set the TargetContact parameter. Target contact on which given attributes should be set: "Current" or "Related". Measured 2026-10-14: Connect accepts the two exactly as spelled and the empty string, and refuses Previous, another casing and a JSONPath.
| Parameter | Type | Required | Description |
|---|---|---|---|
value | TargetContact | yes | Target contact on which given attributes should be set: "Current" or "Related". Measured 2026-10-14: Connect accepts the two exactly as spelled and the empty string, and refuses Previous, another casing and a JSONPath. |
segment_attributessegment_attributes(value?: Map<String, SegmentAttributeValue (SegmentAttributeString | SegmentAttributeInteger | SegmentAttributeMap)>) -> UpdateContactDataHandle
Set the SegmentAttributes parameter. Segment attributes to set, keyed by attribute name. Authored as .segment_attributes(#{ "connect:Subtype": #{ ValueString: "connect:Guide" } }); each entry holds exactly one of ValueString, ValueInteger or ValueMap.
| Parameter | Type | Required | Description |
|---|---|---|---|
value | Map<String, SegmentAttributeValue (SegmentAttributeString | SegmentAttributeInteger | SegmentAttributeMap)> | no | Segment attributes to set, keyed by attribute name. Authored as .segment_attributes(#{ "connect:Subtype": #{ ValueString: "connect:Guide" } }); each entry holds exactly one of ValueString, ValueInteger or ValueMap. |
nextnext(target: Handle) -> UpdateContactDataHandle
Wire the success-path transition. Substitutes the target's auto-generated UUID into the wire Transitions.NextAction slot.
| Parameter | Type | Required | Description |
|---|---|---|---|
target | Handle | yes | The block to route to once this block completes successfully. |
on_no_matchingon_no_matching(target: Handle) -> UpdateContactDataHandle
Wire an error transition for NoMatchingError: if no other Error matches.
| Parameter | Type | Required | Description |
|---|---|---|---|
target | Handle | yes | Block to route to on NoMatchingError. if no other Error matches. |
set_idset_id(id: String) -> UpdateContactDataHandle
Override the auto-generated identifier with a specific wire id.
| Parameter | Type | Required | Description |
|---|---|---|---|
id | String | yes | Wire identifier override. Decompile threads this through to round-trip Connect-side UUIDs. |
meta_positionmeta_position(x: i64, y: i64) -> UpdateContactDataHandle
Set the block's canvas position. Mostly auto-emitted by decompile; authored scripts call Flow.auto_layout() instead and let the layout pass fill positions in.
| Parameter | Type | Required | Description |
|---|---|---|---|
x | i64 | yes | Canvas X coordinate. |
y | i64 | yes | Canvas Y coordinate. |
set_metaset_meta(key: String, value: Dynamic) -> UpdateContactDataHandle
Single-key escape hatch, set one ActionMetadata key by name when the typed meta_* setters don't cover it.
| Parameter | Type | Required | Description |
|---|---|---|---|
key | String | yes | Wire key name (under Metadata.ActionMetadata[<id>]). |
value | Dynamic | yes | Any JSON-serializable Rhai value. |
overwrite_metaoverwrite_meta(value: Map) -> UpdateContactDataHandle
Full-replace escape hatch, overwrite the entire ActionMetadata blob.
| Parameter | Type | Required | Description |
|---|---|---|---|
value | Map | yes | Replacement map for the entire ActionMetadata sub-object. |
set_meta_paramset_meta_param(param: String, flag: String, value: Dynamic) -> UpdateContactDataHandle
Set a single per-parameter ActionMetadata flag.
| Parameter | Type | Required | Description |
|---|---|---|---|
param | String | yes | Parameter name (e.g. "Text"). |
flag | String | yes | Flag name ("useDynamic", "MFLAG_*", etc.). |
value | Dynamic | yes | Flag value. |
overwrite_meta_paramoverwrite_meta_param(param: String, value: Map) -> UpdateContactDataHandle
Replace the entire flag map for one parameter.
| Parameter | Type | Required | Description |
|---|---|---|---|
param | String | yes | Parameter name. |
value | Map | yes | Replacement flag map for the parameter. |
overwrite_parametersoverwrite_parameters(value: Map) -> UpdateContactDataHandle
Wire-shape escape hatch, overwrite the entire Parameters blob.
| Parameter | Type | Required | Description |
|---|---|---|---|
value | Map | yes | Replacement parameter map for the block. |
raw_transitionsraw_transitions(value: Map) -> UpdateContactDataHandle
Wire-shape escape hatch for non-canonical transition objects.
| Parameter | Type | Required | Description |
|---|---|---|---|
value | Map | yes | Replacement transitions map (raw JSON shape). |