Class: Aws::Connect::Types::CreateContactRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Connect::Types::CreateContactRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-connect/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[:name, :description]
Instance Attribute Summary collapse
-
#attributes ⇒ Hash<String,String>
A custom key-value pair using an attribute map.
-
#channel ⇒ String
The channel for the contact.
-
#client_token ⇒ String
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
-
#description ⇒ String
A description of the contact.
-
#expiry_duration_in_minutes ⇒ Integer
Number of minutes the contact will be active for before expiring.
-
#initiate_as ⇒ String
Initial state of the contact when it’s created.
-
#initiation_method ⇒ String
Indicates how the contact was initiated.
-
#instance_id ⇒ String
The identifier of the Amazon Connect instance.
-
#name ⇒ String
The name of a the contact.
-
#references ⇒ Hash<String,Types::Reference>
A formatted URL that is shown to an agent in the Contact Control Panel (CCP).
-
#related_contact_id ⇒ String
The identifier of the contact in this instance of Amazon Connect.
-
#segment_attributes ⇒ Hash<String,Types::SegmentAttributeValue>
A set of system defined key-value pairs stored on individual contact segments (unique contact ID) using an attribute map.
-
#user_info ⇒ Types::UserInfo
User details for the contact.
Instance Attribute Details
#attributes ⇒ Hash<String,String>
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.
3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 |
# File 'lib/aws-sdk-connect/types.rb', line 3674 class CreateContactRequest < Struct.new( :instance_id, :client_token, :related_contact_id, :attributes, :references, :channel, :initiation_method, :expiry_duration_in_minutes, :user_info, :initiate_as, :name, :description, :segment_attributes) SENSITIVE = [:name, :description] include Aws::Structure end |
#channel ⇒ String
The channel for the contact
3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 |
# File 'lib/aws-sdk-connect/types.rb', line 3674 class CreateContactRequest < Struct.new( :instance_id, :client_token, :related_contact_id, :attributes, :references, :channel, :initiation_method, :expiry_duration_in_minutes, :user_info, :initiate_as, :name, :description, :segment_attributes) SENSITIVE = [:name, :description] include Aws::Structure end |
#client_token ⇒ String
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].
**A suitable default value is auto-generated.** You should normally not need to pass this option.
[1]: aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 |
# File 'lib/aws-sdk-connect/types.rb', line 3674 class CreateContactRequest < Struct.new( :instance_id, :client_token, :related_contact_id, :attributes, :references, :channel, :initiation_method, :expiry_duration_in_minutes, :user_info, :initiate_as, :name, :description, :segment_attributes) SENSITIVE = [:name, :description] include Aws::Structure end |
#description ⇒ String
A description of the contact.
3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 |
# File 'lib/aws-sdk-connect/types.rb', line 3674 class CreateContactRequest < Struct.new( :instance_id, :client_token, :related_contact_id, :attributes, :references, :channel, :initiation_method, :expiry_duration_in_minutes, :user_info, :initiate_as, :name, :description, :segment_attributes) SENSITIVE = [:name, :description] include Aws::Structure end |
#expiry_duration_in_minutes ⇒ Integer
Number of minutes the contact will be active for before expiring
3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 |
# File 'lib/aws-sdk-connect/types.rb', line 3674 class CreateContactRequest < Struct.new( :instance_id, :client_token, :related_contact_id, :attributes, :references, :channel, :initiation_method, :expiry_duration_in_minutes, :user_info, :initiate_as, :name, :description, :segment_attributes) SENSITIVE = [:name, :description] include Aws::Structure end |
#initiate_as ⇒ String
Initial state of the contact when it’s created
3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 |
# File 'lib/aws-sdk-connect/types.rb', line 3674 class CreateContactRequest < Struct.new( :instance_id, :client_token, :related_contact_id, :attributes, :references, :channel, :initiation_method, :expiry_duration_in_minutes, :user_info, :initiate_as, :name, :description, :segment_attributes) SENSITIVE = [:name, :description] include Aws::Structure end |
#initiation_method ⇒ String
Indicates how the contact was initiated.
3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 |
# File 'lib/aws-sdk-connect/types.rb', line 3674 class CreateContactRequest < Struct.new( :instance_id, :client_token, :related_contact_id, :attributes, :references, :channel, :initiation_method, :expiry_duration_in_minutes, :user_info, :initiate_as, :name, :description, :segment_attributes) SENSITIVE = [:name, :description] include Aws::Structure end |
#instance_id ⇒ String
The identifier of the Amazon Connect instance. You can [find the instance ID] in the Amazon Resource Name (ARN) of the instance.
[1]: docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 |
# File 'lib/aws-sdk-connect/types.rb', line 3674 class CreateContactRequest < Struct.new( :instance_id, :client_token, :related_contact_id, :attributes, :references, :channel, :initiation_method, :expiry_duration_in_minutes, :user_info, :initiate_as, :name, :description, :segment_attributes) SENSITIVE = [:name, :description] include Aws::Structure end |
#name ⇒ String
The name of a the contact.
3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 |
# File 'lib/aws-sdk-connect/types.rb', line 3674 class CreateContactRequest < Struct.new( :instance_id, :client_token, :related_contact_id, :attributes, :references, :channel, :initiation_method, :expiry_duration_in_minutes, :user_info, :initiate_as, :name, :description, :segment_attributes) SENSITIVE = [:name, :description] include Aws::Structure end |
#references ⇒ Hash<String,Types::Reference>
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.
3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 |
# File 'lib/aws-sdk-connect/types.rb', line 3674 class CreateContactRequest < Struct.new( :instance_id, :client_token, :related_contact_id, :attributes, :references, :channel, :initiation_method, :expiry_duration_in_minutes, :user_info, :initiate_as, :name, :description, :segment_attributes) SENSITIVE = [:name, :description] include Aws::Structure end |
#related_contact_id ⇒ String
The identifier of the contact in this instance of Amazon Connect.
3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 |
# File 'lib/aws-sdk-connect/types.rb', line 3674 class CreateContactRequest < Struct.new( :instance_id, :client_token, :related_contact_id, :attributes, :references, :channel, :initiation_method, :expiry_duration_in_minutes, :user_info, :initiate_as, :name, :description, :segment_attributes) SENSITIVE = [:name, :description] include Aws::Structure end |
#segment_attributes ⇒ Hash<String,Types::SegmentAttributeValue>
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.
<note markdown=“1”> To set contact expiry, a ValueMap must be specified containing the integer number of minutes the contact will be active for before expiring, with ‘SegmentAttributes` like { ` “connect:ContactExpiry”: : { “ExpiryDuration”: { “ValueInteger”: 135}}}`.
</note>
3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 |
# File 'lib/aws-sdk-connect/types.rb', line 3674 class CreateContactRequest < Struct.new( :instance_id, :client_token, :related_contact_id, :attributes, :references, :channel, :initiation_method, :expiry_duration_in_minutes, :user_info, :initiate_as, :name, :description, :segment_attributes) SENSITIVE = [:name, :description] include Aws::Structure end |
#user_info ⇒ Types::UserInfo
User details for the contact
3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 |
# File 'lib/aws-sdk-connect/types.rb', line 3674 class CreateContactRequest < Struct.new( :instance_id, :client_token, :related_contact_id, :attributes, :references, :channel, :initiation_method, :expiry_duration_in_minutes, :user_info, :initiate_as, :name, :description, :segment_attributes) SENSITIVE = [:name, :description] include Aws::Structure end |