AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the CreateContact operation.
Only the EMAIL channel is supported. The supported initiation methods are: OUTBOUND,
AGENT_REPLY, and FLOW.
Creates a new EMAIL contact.
Namespace: Amazon.Connect.Model
Assembly: AWSSDK.Connect.dll
Version: 3.x.y.z
public class CreateContactRequest : AmazonConnectRequest IAmazonWebServiceRequest
The CreateContactRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
CreateContactRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
Attributes | System.Collections.Generic.Dictionary<System.String, System.String> |
Gets and sets the property Attributes. A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in flows just like any other contact attributes. There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters. |
![]() |
Channel | Amazon.Connect.Channel |
Gets and sets the property Channel. The channel for the contact CreateContact only supports the EMAIL channel. The following information that states other channels are supported is incorrect. We are working to update this topic. |
![]() |
ClientToken | System.String |
Gets and sets the property ClientToken. A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs. |
![]() |
Description | System.String |
Gets and sets the property Description. A description of the contact. |
![]() |
ExpiryDurationInMinutes | System.Int32 |
Gets and sets the property ExpiryDurationInMinutes. Number of minutes the contact will be active for before expiring |
![]() |
InitiateAs | Amazon.Connect.InitiateAs |
Gets and sets the property InitiateAs. Initial state of the contact when it's created |
![]() |
InitiationMethod | Amazon.Connect.ContactInitiationMethod |
Gets and sets the property InitiationMethod. Indicates how the contact was initiated. CreateContact only supports the following initiation methods: OUTBOUND, AGENT_REPLY, and FLOW. The following information that states other initiation methods are supported is incorrect. We are working to update this topic. |
![]() |
InstanceId | System.String |
Gets and sets the property InstanceId. The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance. |
![]() |
Name | System.String |
Gets and sets the property Name. The name of a the contact. |
![]() |
References | System.Collections.Generic.Dictionary<System.String, Amazon.Connect.Model.Reference> |
Gets and sets the property References. A formatted URL that is shown to an agent in the Contact Control Panel (CCP). Tasks can have the following reference types at the time of creation: URL | NUMBER | STRING | DATE | EMAIL | ATTACHMENT. |
![]() |
RelatedContactId | System.String |
Gets and sets the property RelatedContactId. The identifier of the contact in this instance of Amazon Connect. |
![]() |
SegmentAttributes | System.Collections.Generic.Dictionary<System.String, Amazon.Connect.Model.SegmentAttributeValue> |
Gets and sets the property SegmentAttributes. A set of system defined key-value pairs stored on individual contact segments (unique contact ID) using an attribute map. The attributes are standard Amazon Connect attributes. They can be accessed in flows. Attribute keys can include only alphanumeric, -, and _. This field can be used to set Segment Contact Expiry as a duration in minutes.
To set contact expiry, a ValueMap must be specified containing the integer number
of minutes the contact will be active for before expiring, with |
![]() |
UserInfo | Amazon.Connect.Model.UserInfo |
Gets and sets the property UserInfo. User details for the contact |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5