@aws-sdk/client-connect 3.696.0 → 3.701.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (169) hide show
  1. package/README.md +88 -0
  2. package/dist-cjs/index.js +1021 -119
  3. package/dist-es/Connect.js +22 -0
  4. package/dist-es/commands/CreateContactCommand.js +23 -0
  5. package/dist-es/commands/CreateEmailAddressCommand.js +23 -0
  6. package/dist-es/commands/DeleteEmailAddressCommand.js +22 -0
  7. package/dist-es/commands/DescribeContactCommand.js +1 -1
  8. package/dist-es/commands/DescribeEmailAddressCommand.js +23 -0
  9. package/dist-es/commands/ListAssociatedContactsCommand.js +22 -0
  10. package/dist-es/commands/SearchEmailAddressesCommand.js +23 -0
  11. package/dist-es/commands/SendOutboundEmailCommand.js +23 -0
  12. package/dist-es/commands/StartEmailContactCommand.js +23 -0
  13. package/dist-es/commands/StartOutboundEmailContactCommand.js +23 -0
  14. package/dist-es/commands/StartTaskContactCommand.js +1 -1
  15. package/dist-es/commands/UpdateContactCommand.js +1 -1
  16. package/dist-es/commands/UpdateEmailAddressMetadataCommand.js +23 -0
  17. package/dist-es/commands/UpdateQueueOutboundEmailConfigCommand.js +22 -0
  18. package/dist-es/commands/index.js +11 -0
  19. package/dist-es/models/index.js +1 -0
  20. package/dist-es/models/models_0.js +67 -24
  21. package/dist-es/models/models_1.js +24 -40
  22. package/dist-es/models/models_2.js +142 -19
  23. package/dist-es/models/models_3.js +33 -0
  24. package/dist-es/protocols/Aws_restJson1.js +470 -10
  25. package/dist-types/Connect.d.ts +77 -0
  26. package/dist-types/ConnectClient.d.ts +13 -2
  27. package/dist-types/commands/AssociateFlowCommand.d.ts +1 -1
  28. package/dist-types/commands/AssociateInstanceStorageConfigCommand.d.ts +1 -1
  29. package/dist-types/commands/AssociateRoutingProfileQueuesCommand.d.ts +1 -1
  30. package/dist-types/commands/BatchGetAttachedFileMetadataCommand.d.ts +1 -1
  31. package/dist-types/commands/BatchGetFlowAssociationCommand.d.ts +2 -2
  32. package/dist-types/commands/BatchPutContactCommand.d.ts +2 -2
  33. package/dist-types/commands/CreateContactCommand.d.ts +139 -0
  34. package/dist-types/commands/CreateEmailAddressCommand.d.ts +111 -0
  35. package/dist-types/commands/CreateIntegrationAssociationCommand.d.ts +1 -1
  36. package/dist-types/commands/CreateQueueCommand.d.ts +3 -0
  37. package/dist-types/commands/CreateRoutingProfileCommand.d.ts +2 -2
  38. package/dist-types/commands/CreateRuleCommand.d.ts +5 -2
  39. package/dist-types/commands/CreateTaskTemplateCommand.d.ts +2 -1
  40. package/dist-types/commands/DeleteEmailAddressCommand.d.ts +91 -0
  41. package/dist-types/commands/DeleteVocabularyCommand.d.ts +2 -1
  42. package/dist-types/commands/DescribeAgentStatusCommand.d.ts +1 -1
  43. package/dist-types/commands/DescribeAuthenticationProfileCommand.d.ts +1 -1
  44. package/dist-types/commands/DescribeContactCommand.d.ts +39 -4
  45. package/dist-types/commands/DescribeContactEvaluationCommand.d.ts +1 -1
  46. package/dist-types/commands/DescribeContactFlowCommand.d.ts +1 -2
  47. package/dist-types/commands/DescribeContactFlowModuleCommand.d.ts +1 -1
  48. package/dist-types/commands/DescribeEmailAddressCommand.d.ts +99 -0
  49. package/dist-types/commands/DescribeEvaluationFormCommand.d.ts +1 -1
  50. package/dist-types/commands/DescribeInstanceStorageConfigCommand.d.ts +1 -1
  51. package/dist-types/commands/DescribeQueueCommand.d.ts +3 -0
  52. package/dist-types/commands/DescribeRoutingProfileCommand.d.ts +1 -1
  53. package/dist-types/commands/DescribeRuleCommand.d.ts +5 -2
  54. package/dist-types/commands/DisassociateFlowCommand.d.ts +1 -1
  55. package/dist-types/commands/DisassociateInstanceStorageConfigCommand.d.ts +1 -1
  56. package/dist-types/commands/DisassociateRoutingProfileQueuesCommand.d.ts +1 -1
  57. package/dist-types/commands/GetAttachedFileCommand.d.ts +1 -1
  58. package/dist-types/commands/GetCurrentMetricDataCommand.d.ts +2 -2
  59. package/dist-types/commands/GetCurrentUserDataCommand.d.ts +2 -2
  60. package/dist-types/commands/GetFlowAssociationCommand.d.ts +2 -2
  61. package/dist-types/commands/GetMetricDataCommand.d.ts +2 -2
  62. package/dist-types/commands/GetTaskTemplateCommand.d.ts +2 -1
  63. package/dist-types/commands/ListAssociatedContactsCommand.d.ts +103 -0
  64. package/dist-types/commands/ListContactReferencesCommand.d.ts +7 -2
  65. package/dist-types/commands/ListFlowAssociationsCommand.d.ts +2 -2
  66. package/dist-types/commands/ListInstanceStorageConfigsCommand.d.ts +1 -1
  67. package/dist-types/commands/ListIntegrationAssociationsCommand.d.ts +2 -2
  68. package/dist-types/commands/ListRealtimeContactAnalysisSegmentsV2Command.d.ts +3 -2
  69. package/dist-types/commands/ListRoutingProfileQueuesCommand.d.ts +2 -2
  70. package/dist-types/commands/ListRoutingProfilesCommand.d.ts +1 -1
  71. package/dist-types/commands/ListRulesCommand.d.ts +1 -1
  72. package/dist-types/commands/ListSecurityKeysCommand.d.ts +1 -1
  73. package/dist-types/commands/ListSecurityProfileApplicationsCommand.d.ts +1 -1
  74. package/dist-types/commands/ListSecurityProfilePermissionsCommand.d.ts +1 -2
  75. package/dist-types/commands/SearchAgentStatusesCommand.d.ts +2 -1
  76. package/dist-types/commands/SearchContactFlowModulesCommand.d.ts +2 -1
  77. package/dist-types/commands/SearchContactFlowsCommand.d.ts +3 -4
  78. package/dist-types/commands/SearchContactsCommand.d.ts +20 -4
  79. package/dist-types/commands/SearchEmailAddressesCommand.d.ts +146 -0
  80. package/dist-types/commands/SearchHoursOfOperationsCommand.d.ts +2 -1
  81. package/dist-types/commands/SearchPredefinedAttributesCommand.d.ts +2 -1
  82. package/dist-types/commands/SearchPromptsCommand.d.ts +2 -1
  83. package/dist-types/commands/SearchQueuesCommand.d.ts +5 -1
  84. package/dist-types/commands/SearchQuickConnectsCommand.d.ts +2 -1
  85. package/dist-types/commands/SearchRoutingProfilesCommand.d.ts +3 -2
  86. package/dist-types/commands/SearchSecurityProfilesCommand.d.ts +2 -1
  87. package/dist-types/commands/SearchUserHierarchyGroupsCommand.d.ts +2 -1
  88. package/dist-types/commands/SearchUsersCommand.d.ts +2 -1
  89. package/dist-types/commands/SendOutboundEmailCommand.d.ts +135 -0
  90. package/dist-types/commands/StartAttachedFileUploadCommand.d.ts +4 -2
  91. package/dist-types/commands/StartChatContactCommand.d.ts +12 -1
  92. package/dist-types/commands/StartEmailContactCommand.d.ts +162 -0
  93. package/dist-types/commands/StartOutboundChatContactCommand.d.ts +14 -3
  94. package/dist-types/commands/StartOutboundEmailContactCommand.d.ts +129 -0
  95. package/dist-types/commands/StartOutboundVoiceContactCommand.d.ts +5 -2
  96. package/dist-types/commands/StartTaskContactCommand.d.ts +22 -3
  97. package/dist-types/commands/StartWebRTCContactCommand.d.ts +5 -2
  98. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  99. package/dist-types/commands/UpdateContactCommand.d.ts +22 -3
  100. package/dist-types/commands/UpdateContactFlowContentCommand.d.ts +1 -1
  101. package/dist-types/commands/UpdateContactFlowModuleContentCommand.d.ts +1 -1
  102. package/dist-types/commands/UpdateContactRoutingDataCommand.d.ts +2 -1
  103. package/dist-types/commands/UpdateEmailAddressMetadataCommand.d.ts +98 -0
  104. package/dist-types/commands/UpdateEvaluationFormCommand.d.ts +2 -1
  105. package/dist-types/commands/UpdateInstanceStorageConfigCommand.d.ts +1 -1
  106. package/dist-types/commands/UpdateQueueOutboundEmailConfigCommand.d.ts +94 -0
  107. package/dist-types/commands/UpdateRoutingProfileConcurrencyCommand.d.ts +1 -1
  108. package/dist-types/commands/UpdateRoutingProfileQueuesCommand.d.ts +1 -1
  109. package/dist-types/commands/UpdateRuleCommand.d.ts +5 -2
  110. package/dist-types/commands/UpdateTaskTemplateCommand.d.ts +4 -2
  111. package/dist-types/commands/index.d.ts +11 -0
  112. package/dist-types/models/index.d.ts +1 -0
  113. package/dist-types/models/models_0.d.ts +317 -321
  114. package/dist-types/models/models_1.d.ts +567 -624
  115. package/dist-types/models/models_2.d.ts +3704 -3854
  116. package/dist-types/models/models_3.d.ts +1650 -0
  117. package/dist-types/protocols/Aws_restJson1.d.ts +99 -0
  118. package/dist-types/ts3.4/Connect.d.ts +187 -0
  119. package/dist-types/ts3.4/ConnectClient.d.ts +66 -0
  120. package/dist-types/ts3.4/commands/CreateContactCommand.d.ts +48 -0
  121. package/dist-types/ts3.4/commands/CreateEmailAddressCommand.d.ts +51 -0
  122. package/dist-types/ts3.4/commands/DeleteEmailAddressCommand.d.ts +51 -0
  123. package/dist-types/ts3.4/commands/DeleteVocabularyCommand.d.ts +2 -4
  124. package/dist-types/ts3.4/commands/DescribeAgentStatusCommand.d.ts +1 -1
  125. package/dist-types/ts3.4/commands/DescribeAuthenticationProfileCommand.d.ts +1 -1
  126. package/dist-types/ts3.4/commands/DescribeContactCommand.d.ts +2 -2
  127. package/dist-types/ts3.4/commands/DescribeContactEvaluationCommand.d.ts +1 -1
  128. package/dist-types/ts3.4/commands/DescribeEmailAddressCommand.d.ts +51 -0
  129. package/dist-types/ts3.4/commands/DescribeEvaluationFormCommand.d.ts +1 -1
  130. package/dist-types/ts3.4/commands/ListAssociatedContactsCommand.d.ts +51 -0
  131. package/dist-types/ts3.4/commands/ListRealtimeContactAnalysisSegmentsV2Command.d.ts +2 -4
  132. package/dist-types/ts3.4/commands/ListRoutingProfileQueuesCommand.d.ts +1 -1
  133. package/dist-types/ts3.4/commands/ListRoutingProfilesCommand.d.ts +1 -1
  134. package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +1 -1
  135. package/dist-types/ts3.4/commands/ListSecurityKeysCommand.d.ts +1 -1
  136. package/dist-types/ts3.4/commands/ListSecurityProfileApplicationsCommand.d.ts +1 -1
  137. package/dist-types/ts3.4/commands/ListSecurityProfilePermissionsCommand.d.ts +4 -2
  138. package/dist-types/ts3.4/commands/SearchAgentStatusesCommand.d.ts +2 -4
  139. package/dist-types/ts3.4/commands/SearchContactFlowModulesCommand.d.ts +2 -4
  140. package/dist-types/ts3.4/commands/SearchContactFlowsCommand.d.ts +2 -4
  141. package/dist-types/ts3.4/commands/SearchEmailAddressesCommand.d.ts +49 -0
  142. package/dist-types/ts3.4/commands/SearchHoursOfOperationsCommand.d.ts +2 -4
  143. package/dist-types/ts3.4/commands/SearchPredefinedAttributesCommand.d.ts +2 -4
  144. package/dist-types/ts3.4/commands/SearchPromptsCommand.d.ts +2 -4
  145. package/dist-types/ts3.4/commands/SearchQueuesCommand.d.ts +2 -1
  146. package/dist-types/ts3.4/commands/SearchQuickConnectsCommand.d.ts +2 -4
  147. package/dist-types/ts3.4/commands/SearchRoutingProfilesCommand.d.ts +2 -4
  148. package/dist-types/ts3.4/commands/SearchSecurityProfilesCommand.d.ts +2 -4
  149. package/dist-types/ts3.4/commands/SearchUserHierarchyGroupsCommand.d.ts +2 -4
  150. package/dist-types/ts3.4/commands/SearchUsersCommand.d.ts +2 -1
  151. package/dist-types/ts3.4/commands/SendOutboundEmailCommand.d.ts +51 -0
  152. package/dist-types/ts3.4/commands/StartChatContactCommand.d.ts +2 -4
  153. package/dist-types/ts3.4/commands/StartEmailContactCommand.d.ts +49 -0
  154. package/dist-types/ts3.4/commands/StartOutboundChatContactCommand.d.ts +2 -4
  155. package/dist-types/ts3.4/commands/StartOutboundEmailContactCommand.d.ts +51 -0
  156. package/dist-types/ts3.4/commands/StartTaskContactCommand.d.ts +2 -4
  157. package/dist-types/ts3.4/commands/UpdateContactCommand.d.ts +2 -4
  158. package/dist-types/ts3.4/commands/UpdateContactRoutingDataCommand.d.ts +2 -4
  159. package/dist-types/ts3.4/commands/UpdateEmailAddressMetadataCommand.d.ts +51 -0
  160. package/dist-types/ts3.4/commands/UpdateEvaluationFormCommand.d.ts +2 -4
  161. package/dist-types/ts3.4/commands/UpdateQueueOutboundEmailConfigCommand.d.ts +47 -0
  162. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  163. package/dist-types/ts3.4/models/index.d.ts +1 -0
  164. package/dist-types/ts3.4/models/models_0.d.ts +122 -90
  165. package/dist-types/ts3.4/models/models_1.d.ts +155 -213
  166. package/dist-types/ts3.4/models/models_2.d.ts +436 -296
  167. package/dist-types/ts3.4/models/models_3.d.ts +363 -0
  168. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +132 -0
  169. package/package.json +4 -4
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { SearchQueuesRequest, SearchQueuesResponse } from "../models/models_2";
4
+ import { SearchQueuesResponse } from "../models/models_2";
5
+ import { SearchQueuesRequest } from "../models/models_3";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -99,6 +100,9 @@ declare const SearchQueuesCommand_base: {
99
100
  * // OutboundCallerIdNumberId: "STRING_VALUE",
100
101
  * // OutboundFlowId: "STRING_VALUE",
101
102
  * // },
103
+ * // OutboundEmailConfig: { // OutboundEmailConfig
104
+ * // OutboundEmailAddressId: "STRING_VALUE",
105
+ * // },
102
106
  * // HoursOfOperationId: "STRING_VALUE",
103
107
  * // MaxContacts: Number("int"),
104
108
  * // Status: "ENABLED" || "DISABLED",
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { SearchQuickConnectsRequest, SearchQuickConnectsResponse } from "../models/models_2";
4
+ import { SearchQuickConnectsResponse } from "../models/models_2";
5
+ import { SearchQuickConnectsRequest } from "../models/models_3";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { SearchRoutingProfilesRequest, SearchRoutingProfilesResponse } from "../models/models_2";
4
+ import { SearchRoutingProfilesResponse } from "../models/models_2";
5
+ import { SearchRoutingProfilesRequest } from "../models/models_3";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -95,7 +96,7 @@ declare const SearchRoutingProfilesCommand_base: {
95
96
  * // Description: "STRING_VALUE",
96
97
  * // MediaConcurrencies: [ // MediaConcurrencies
97
98
  * // { // MediaConcurrency
98
- * // Channel: "VOICE" || "CHAT" || "TASK", // required
99
+ * // Channel: "VOICE" || "CHAT" || "TASK" || "EMAIL", // required
99
100
  * // Concurrency: Number("int"), // required
100
101
  * // CrossChannelBehavior: { // CrossChannelBehavior
101
102
  * // BehaviorType: "ROUTE_CURRENT_CHANNEL_ONLY" || "ROUTE_ANY_CHANNEL", // required
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { SearchSecurityProfilesRequest, SearchSecurityProfilesResponse } from "../models/models_2";
4
+ import { SearchSecurityProfilesResponse } from "../models/models_2";
5
+ import { SearchSecurityProfilesRequest } from "../models/models_3";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { SearchUserHierarchyGroupsRequest, SearchUserHierarchyGroupsResponse } from "../models/models_2";
4
+ import { SearchUserHierarchyGroupsResponse } from "../models/models_2";
5
+ import { SearchUserHierarchyGroupsRequest } from "../models/models_3";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { SearchUsersRequest, SearchUsersResponse } from "../models/models_2";
4
+ import { SearchUsersResponse } from "../models/models_2";
5
+ import { SearchUsersRequest } from "../models/models_3";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -0,0 +1,135 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
+ import { SendOutboundEmailRequest, SendOutboundEmailResponse } from "../models/models_2";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link SendOutboundEmailCommand}.
14
+ */
15
+ export interface SendOutboundEmailCommandInput extends SendOutboundEmailRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link SendOutboundEmailCommand}.
21
+ */
22
+ export interface SendOutboundEmailCommandOutput extends SendOutboundEmailResponse, __MetadataBearer {
23
+ }
24
+ declare const SendOutboundEmailCommand_base: {
25
+ new (input: SendOutboundEmailCommandInput): import("@smithy/smithy-client").CommandImpl<SendOutboundEmailCommandInput, SendOutboundEmailCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: SendOutboundEmailCommandInput): import("@smithy/smithy-client").CommandImpl<SendOutboundEmailCommandInput, SendOutboundEmailCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Send outbound email for outbound campaigns. For more information about outbound campaigns,
31
+ * see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/enable-outbound-campaigns.html">Set up Amazon Connect outbound campaigns</a>.</p>
32
+ * <note>
33
+ * <p>Only the Amazon Connect outbound campaigns service principal is allowed to assume a
34
+ * role in your account and call this API.</p>
35
+ * </note>
36
+ * @example
37
+ * Use a bare-bones client and the command you need to make an API call.
38
+ * ```javascript
39
+ * import { ConnectClient, SendOutboundEmailCommand } from "@aws-sdk/client-connect"; // ES Modules import
40
+ * // const { ConnectClient, SendOutboundEmailCommand } = require("@aws-sdk/client-connect"); // CommonJS import
41
+ * const client = new ConnectClient(config);
42
+ * const input = { // SendOutboundEmailRequest
43
+ * InstanceId: "STRING_VALUE", // required
44
+ * FromEmailAddress: { // EmailAddressInfo
45
+ * EmailAddress: "STRING_VALUE", // required
46
+ * DisplayName: "STRING_VALUE",
47
+ * },
48
+ * DestinationEmailAddress: {
49
+ * EmailAddress: "STRING_VALUE", // required
50
+ * DisplayName: "STRING_VALUE",
51
+ * },
52
+ * AdditionalRecipients: { // OutboundAdditionalRecipients
53
+ * CcEmailAddresses: [ // EmailAddressRecipientList
54
+ * {
55
+ * EmailAddress: "STRING_VALUE", // required
56
+ * DisplayName: "STRING_VALUE",
57
+ * },
58
+ * ],
59
+ * },
60
+ * EmailMessage: { // OutboundEmailContent
61
+ * MessageSourceType: "TEMPLATE" || "RAW", // required
62
+ * TemplatedMessageConfig: { // TemplatedMessageConfig
63
+ * KnowledgeBaseId: "STRING_VALUE", // required
64
+ * MessageTemplateId: "STRING_VALUE", // required
65
+ * TemplateAttributes: { // TemplateAttributes
66
+ * CustomAttributes: { // Attributes
67
+ * "<keys>": "STRING_VALUE",
68
+ * },
69
+ * CustomerProfileAttributes: "STRING_VALUE",
70
+ * },
71
+ * },
72
+ * RawMessage: { // OutboundRawMessage
73
+ * Subject: "STRING_VALUE", // required
74
+ * Body: "STRING_VALUE", // required
75
+ * ContentType: "STRING_VALUE", // required
76
+ * },
77
+ * },
78
+ * TrafficType: "GENERAL" || "CAMPAIGN", // required
79
+ * SourceCampaign: { // SourceCampaign
80
+ * CampaignId: "STRING_VALUE",
81
+ * OutboundRequestId: "STRING_VALUE",
82
+ * },
83
+ * ClientToken: "STRING_VALUE",
84
+ * };
85
+ * const command = new SendOutboundEmailCommand(input);
86
+ * const response = await client.send(command);
87
+ * // {};
88
+ *
89
+ * ```
90
+ *
91
+ * @param SendOutboundEmailCommandInput - {@link SendOutboundEmailCommandInput}
92
+ * @returns {@link SendOutboundEmailCommandOutput}
93
+ * @see {@link SendOutboundEmailCommandInput} for command's `input` shape.
94
+ * @see {@link SendOutboundEmailCommandOutput} for command's `response` shape.
95
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
96
+ *
97
+ * @throws {@link AccessDeniedException} (client fault)
98
+ * <p>You do not have sufficient permissions to perform this action.</p>
99
+ *
100
+ * @throws {@link IdempotencyException} (client fault)
101
+ * <p>An entity with the same name already exists.</p>
102
+ *
103
+ * @throws {@link InternalServiceException} (server fault)
104
+ * <p>Request processing failed because of an error or failure with the service.</p>
105
+ *
106
+ * @throws {@link InvalidRequestException} (client fault)
107
+ * <p>The request is not valid.</p>
108
+ *
109
+ * @throws {@link ResourceNotFoundException} (client fault)
110
+ * <p>The specified resource was not found.</p>
111
+ *
112
+ * @throws {@link ServiceQuotaExceededException} (client fault)
113
+ * <p>The service quota has been exceeded.</p>
114
+ *
115
+ * @throws {@link ThrottlingException} (client fault)
116
+ * <p>The throttling limit has been exceeded.</p>
117
+ *
118
+ * @throws {@link ConnectServiceException}
119
+ * <p>Base exception class for all service exceptions from Connect service.</p>
120
+ *
121
+ * @public
122
+ */
123
+ export declare class SendOutboundEmailCommand extends SendOutboundEmailCommand_base {
124
+ /** @internal type navigation helper, not in runtime. */
125
+ protected static __types: {
126
+ api: {
127
+ input: SendOutboundEmailRequest;
128
+ output: {};
129
+ };
130
+ sdk: {
131
+ input: SendOutboundEmailCommandInput;
132
+ output: SendOutboundEmailCommandOutput;
133
+ };
134
+ };
135
+ }
@@ -29,7 +29,9 @@ declare const StartAttachedFileUploadCommand_base: {
29
29
  /**
30
30
  * <p>Provides a pre-signed Amazon S3 URL in response for uploading your content.</p>
31
31
  * <important>
32
- * <p>You may only use this API to upload attachments to an <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateCase.html">Amazon Connect Case</a>.</p>
32
+ * <p>You may only use this API to upload attachments to an <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateCase.html">Amazon Connect Case</a> or
33
+ * <a href="https://docs.aws.amazon.com/connect/latest/adminguide/setup-email-channel.html">Amazon Connect
34
+ * Email</a>. </p>
33
35
  * </important>
34
36
  * @example
35
37
  * Use a bare-bones client and the command you need to make an API call.
@@ -43,7 +45,7 @@ declare const StartAttachedFileUploadCommand_base: {
43
45
  * FileName: "STRING_VALUE", // required
44
46
  * FileSizeInBytes: Number("long"), // required
45
47
  * UrlExpiryInSeconds: Number("int"),
46
- * FileUseCaseType: "ATTACHMENT", // required
48
+ * FileUseCaseType: "EMAIL_MESSAGE" || "ATTACHMENT", // required
47
49
  * AssociatedResourceArn: "STRING_VALUE", // required
48
50
  * CreatedBy: { // CreatedByInfo Union: only one key present
49
51
  * ConnectUserArn: "STRING_VALUE",
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { StartChatContactRequest, StartChatContactResponse } from "../models/models_2";
4
+ import { StartChatContactResponse } from "../models/models_2";
5
+ import { StartChatContactRequest } from "../models/models_3";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -92,6 +93,16 @@ declare const StartChatContactCommand_base: {
92
93
  * SegmentAttributes: { // SegmentAttributes
93
94
  * "<keys>": { // SegmentAttributeValue
94
95
  * ValueString: "STRING_VALUE",
96
+ * ValueMap: { // SegmentAttributeValueMap
97
+ * "<keys>": {
98
+ * ValueString: "STRING_VALUE",
99
+ * ValueMap: {
100
+ * "<keys>": "<SegmentAttributeValue>",
101
+ * },
102
+ * ValueInteger: Number("int"),
103
+ * },
104
+ * },
105
+ * ValueInteger: Number("int"),
95
106
  * },
96
107
  * },
97
108
  * };
@@ -0,0 +1,162 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
+ import { StartEmailContactResponse } from "../models/models_2";
5
+ import { StartEmailContactRequest } from "../models/models_3";
6
+ /**
7
+ * @public
8
+ */
9
+ export type { __MetadataBearer };
10
+ export { $Command };
11
+ /**
12
+ * @public
13
+ *
14
+ * The input for {@link StartEmailContactCommand}.
15
+ */
16
+ export interface StartEmailContactCommandInput extends StartEmailContactRequest {
17
+ }
18
+ /**
19
+ * @public
20
+ *
21
+ * The output of {@link StartEmailContactCommand}.
22
+ */
23
+ export interface StartEmailContactCommandOutput extends StartEmailContactResponse, __MetadataBearer {
24
+ }
25
+ declare const StartEmailContactCommand_base: {
26
+ new (input: StartEmailContactCommandInput): import("@smithy/smithy-client").CommandImpl<StartEmailContactCommandInput, StartEmailContactCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ new (__0_0: StartEmailContactCommandInput): import("@smithy/smithy-client").CommandImpl<StartEmailContactCommandInput, StartEmailContactCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ /**
31
+ * <p>Creates an inbound email contact and initiates a flow to start the email contact for the
32
+ * customer. Response of this API provides the ContactId of the email contact created.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { ConnectClient, StartEmailContactCommand } from "@aws-sdk/client-connect"; // ES Modules import
37
+ * // const { ConnectClient, StartEmailContactCommand } = require("@aws-sdk/client-connect"); // CommonJS import
38
+ * const client = new ConnectClient(config);
39
+ * const input = { // StartEmailContactRequest
40
+ * InstanceId: "STRING_VALUE", // required
41
+ * FromEmailAddress: { // EmailAddressInfo
42
+ * EmailAddress: "STRING_VALUE", // required
43
+ * DisplayName: "STRING_VALUE",
44
+ * },
45
+ * DestinationEmailAddress: "STRING_VALUE", // required
46
+ * Description: "STRING_VALUE",
47
+ * References: { // ContactReferences
48
+ * "<keys>": { // Reference
49
+ * Value: "STRING_VALUE",
50
+ * Type: "URL" || "ATTACHMENT" || "CONTACT_ANALYSIS" || "NUMBER" || "STRING" || "DATE" || "EMAIL" || "EMAIL_MESSAGE", // required
51
+ * Status: "AVAILABLE" || "DELETED" || "APPROVED" || "REJECTED" || "PROCESSING" || "FAILED",
52
+ * Arn: "STRING_VALUE",
53
+ * StatusReason: "STRING_VALUE",
54
+ * },
55
+ * },
56
+ * Name: "STRING_VALUE",
57
+ * EmailMessage: { // InboundEmailContent
58
+ * MessageSourceType: "RAW", // required
59
+ * RawMessage: { // InboundRawMessage
60
+ * Subject: "STRING_VALUE", // required
61
+ * Body: "STRING_VALUE", // required
62
+ * ContentType: "STRING_VALUE", // required
63
+ * Headers: { // EmailHeaders
64
+ * "<keys>": "STRING_VALUE",
65
+ * },
66
+ * },
67
+ * },
68
+ * AdditionalRecipients: { // InboundAdditionalRecipients
69
+ * ToAddresses: [ // EmailAddressRecipientList
70
+ * {
71
+ * EmailAddress: "STRING_VALUE", // required
72
+ * DisplayName: "STRING_VALUE",
73
+ * },
74
+ * ],
75
+ * CcAddresses: [
76
+ * {
77
+ * EmailAddress: "STRING_VALUE", // required
78
+ * DisplayName: "STRING_VALUE",
79
+ * },
80
+ * ],
81
+ * },
82
+ * Attachments: [ // EmailAttachments
83
+ * { // EmailAttachment
84
+ * FileName: "STRING_VALUE", // required
85
+ * S3Url: "STRING_VALUE", // required
86
+ * },
87
+ * ],
88
+ * ContactFlowId: "STRING_VALUE",
89
+ * RelatedContactId: "STRING_VALUE",
90
+ * Attributes: { // Attributes
91
+ * "<keys>": "STRING_VALUE",
92
+ * },
93
+ * SegmentAttributes: { // SegmentAttributes
94
+ * "<keys>": { // SegmentAttributeValue
95
+ * ValueString: "STRING_VALUE",
96
+ * ValueMap: { // SegmentAttributeValueMap
97
+ * "<keys>": {
98
+ * ValueString: "STRING_VALUE",
99
+ * ValueMap: {
100
+ * "<keys>": "<SegmentAttributeValue>",
101
+ * },
102
+ * ValueInteger: Number("int"),
103
+ * },
104
+ * },
105
+ * ValueInteger: Number("int"),
106
+ * },
107
+ * },
108
+ * ClientToken: "STRING_VALUE",
109
+ * };
110
+ * const command = new StartEmailContactCommand(input);
111
+ * const response = await client.send(command);
112
+ * // { // StartEmailContactResponse
113
+ * // ContactId: "STRING_VALUE",
114
+ * // };
115
+ *
116
+ * ```
117
+ *
118
+ * @param StartEmailContactCommandInput - {@link StartEmailContactCommandInput}
119
+ * @returns {@link StartEmailContactCommandOutput}
120
+ * @see {@link StartEmailContactCommandInput} for command's `input` shape.
121
+ * @see {@link StartEmailContactCommandOutput} for command's `response` shape.
122
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
123
+ *
124
+ * @throws {@link AccessDeniedException} (client fault)
125
+ * <p>You do not have sufficient permissions to perform this action.</p>
126
+ *
127
+ * @throws {@link IdempotencyException} (client fault)
128
+ * <p>An entity with the same name already exists.</p>
129
+ *
130
+ * @throws {@link InternalServiceException} (server fault)
131
+ * <p>Request processing failed because of an error or failure with the service.</p>
132
+ *
133
+ * @throws {@link InvalidRequestException} (client fault)
134
+ * <p>The request is not valid.</p>
135
+ *
136
+ * @throws {@link ResourceNotFoundException} (client fault)
137
+ * <p>The specified resource was not found.</p>
138
+ *
139
+ * @throws {@link ServiceQuotaExceededException} (client fault)
140
+ * <p>The service quota has been exceeded.</p>
141
+ *
142
+ * @throws {@link ThrottlingException} (client fault)
143
+ * <p>The throttling limit has been exceeded.</p>
144
+ *
145
+ * @throws {@link ConnectServiceException}
146
+ * <p>Base exception class for all service exceptions from Connect service.</p>
147
+ *
148
+ * @public
149
+ */
150
+ export declare class StartEmailContactCommand extends StartEmailContactCommand_base {
151
+ /** @internal type navigation helper, not in runtime. */
152
+ protected static __types: {
153
+ api: {
154
+ input: StartEmailContactRequest;
155
+ output: StartEmailContactResponse;
156
+ };
157
+ sdk: {
158
+ input: StartEmailContactCommandInput;
159
+ output: StartEmailContactCommandOutput;
160
+ };
161
+ };
162
+ }
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { StartOutboundChatContactRequest, StartOutboundChatContactResponse } from "../models/models_2";
4
+ import { StartOutboundChatContactResponse } from "../models/models_2";
5
+ import { StartOutboundChatContactRequest } from "../models/models_3";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -60,17 +61,27 @@ declare const StartOutboundChatContactCommand_base: {
60
61
  * const client = new ConnectClient(config);
61
62
  * const input = { // StartOutboundChatContactRequest
62
63
  * SourceEndpoint: { // Endpoint
63
- * Type: "TELEPHONE_NUMBER" || "VOIP" || "CONTACT_FLOW" || "CONNECT_PHONENUMBER_ARN",
64
+ * Type: "TELEPHONE_NUMBER" || "VOIP" || "CONTACT_FLOW" || "CONNECT_PHONENUMBER_ARN" || "EMAIL_ADDRESS",
64
65
  * Address: "STRING_VALUE",
65
66
  * },
66
67
  * DestinationEndpoint: {
67
- * Type: "TELEPHONE_NUMBER" || "VOIP" || "CONTACT_FLOW" || "CONNECT_PHONENUMBER_ARN",
68
+ * Type: "TELEPHONE_NUMBER" || "VOIP" || "CONTACT_FLOW" || "CONNECT_PHONENUMBER_ARN" || "EMAIL_ADDRESS",
68
69
  * Address: "STRING_VALUE",
69
70
  * },
70
71
  * InstanceId: "STRING_VALUE", // required
71
72
  * SegmentAttributes: { // SegmentAttributes // required
72
73
  * "<keys>": { // SegmentAttributeValue
73
74
  * ValueString: "STRING_VALUE",
75
+ * ValueMap: { // SegmentAttributeValueMap
76
+ * "<keys>": {
77
+ * ValueString: "STRING_VALUE",
78
+ * ValueMap: {
79
+ * "<keys>": "<SegmentAttributeValue>",
80
+ * },
81
+ * ValueInteger: Number("int"),
82
+ * },
83
+ * },
84
+ * ValueInteger: Number("int"),
74
85
  * },
75
86
  * },
76
87
  * Attributes: { // Attributes
@@ -0,0 +1,129 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
+ import { StartOutboundEmailContactRequest, StartOutboundEmailContactResponse } from "../models/models_2";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StartOutboundEmailContactCommand}.
14
+ */
15
+ export interface StartOutboundEmailContactCommandInput extends StartOutboundEmailContactRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StartOutboundEmailContactCommand}.
21
+ */
22
+ export interface StartOutboundEmailContactCommandOutput extends StartOutboundEmailContactResponse, __MetadataBearer {
23
+ }
24
+ declare const StartOutboundEmailContactCommand_base: {
25
+ new (input: StartOutboundEmailContactCommandInput): import("@smithy/smithy-client").CommandImpl<StartOutboundEmailContactCommandInput, StartOutboundEmailContactCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: StartOutboundEmailContactCommandInput): import("@smithy/smithy-client").CommandImpl<StartOutboundEmailContactCommandInput, StartOutboundEmailContactCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Initiates a flow to send an agent reply or outbound email contact (created from the
31
+ * CreateContact API) to a customer.</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { ConnectClient, StartOutboundEmailContactCommand } from "@aws-sdk/client-connect"; // ES Modules import
36
+ * // const { ConnectClient, StartOutboundEmailContactCommand } = require("@aws-sdk/client-connect"); // CommonJS import
37
+ * const client = new ConnectClient(config);
38
+ * const input = { // StartOutboundEmailContactRequest
39
+ * InstanceId: "STRING_VALUE", // required
40
+ * ContactId: "STRING_VALUE", // required
41
+ * FromEmailAddress: { // EmailAddressInfo
42
+ * EmailAddress: "STRING_VALUE", // required
43
+ * DisplayName: "STRING_VALUE",
44
+ * },
45
+ * DestinationEmailAddress: {
46
+ * EmailAddress: "STRING_VALUE", // required
47
+ * DisplayName: "STRING_VALUE",
48
+ * },
49
+ * AdditionalRecipients: { // OutboundAdditionalRecipients
50
+ * CcEmailAddresses: [ // EmailAddressRecipientList
51
+ * {
52
+ * EmailAddress: "STRING_VALUE", // required
53
+ * DisplayName: "STRING_VALUE",
54
+ * },
55
+ * ],
56
+ * },
57
+ * EmailMessage: { // OutboundEmailContent
58
+ * MessageSourceType: "TEMPLATE" || "RAW", // required
59
+ * TemplatedMessageConfig: { // TemplatedMessageConfig
60
+ * KnowledgeBaseId: "STRING_VALUE", // required
61
+ * MessageTemplateId: "STRING_VALUE", // required
62
+ * TemplateAttributes: { // TemplateAttributes
63
+ * CustomAttributes: { // Attributes
64
+ * "<keys>": "STRING_VALUE",
65
+ * },
66
+ * CustomerProfileAttributes: "STRING_VALUE",
67
+ * },
68
+ * },
69
+ * RawMessage: { // OutboundRawMessage
70
+ * Subject: "STRING_VALUE", // required
71
+ * Body: "STRING_VALUE", // required
72
+ * ContentType: "STRING_VALUE", // required
73
+ * },
74
+ * },
75
+ * ClientToken: "STRING_VALUE",
76
+ * };
77
+ * const command = new StartOutboundEmailContactCommand(input);
78
+ * const response = await client.send(command);
79
+ * // { // StartOutboundEmailContactResponse
80
+ * // ContactId: "STRING_VALUE",
81
+ * // };
82
+ *
83
+ * ```
84
+ *
85
+ * @param StartOutboundEmailContactCommandInput - {@link StartOutboundEmailContactCommandInput}
86
+ * @returns {@link StartOutboundEmailContactCommandOutput}
87
+ * @see {@link StartOutboundEmailContactCommandInput} for command's `input` shape.
88
+ * @see {@link StartOutboundEmailContactCommandOutput} for command's `response` shape.
89
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
90
+ *
91
+ * @throws {@link AccessDeniedException} (client fault)
92
+ * <p>You do not have sufficient permissions to perform this action.</p>
93
+ *
94
+ * @throws {@link IdempotencyException} (client fault)
95
+ * <p>An entity with the same name already exists.</p>
96
+ *
97
+ * @throws {@link InternalServiceException} (server fault)
98
+ * <p>Request processing failed because of an error or failure with the service.</p>
99
+ *
100
+ * @throws {@link InvalidRequestException} (client fault)
101
+ * <p>The request is not valid.</p>
102
+ *
103
+ * @throws {@link ResourceNotFoundException} (client fault)
104
+ * <p>The specified resource was not found.</p>
105
+ *
106
+ * @throws {@link ServiceQuotaExceededException} (client fault)
107
+ * <p>The service quota has been exceeded.</p>
108
+ *
109
+ * @throws {@link ThrottlingException} (client fault)
110
+ * <p>The throttling limit has been exceeded.</p>
111
+ *
112
+ * @throws {@link ConnectServiceException}
113
+ * <p>Base exception class for all service exceptions from Connect service.</p>
114
+ *
115
+ * @public
116
+ */
117
+ export declare class StartOutboundEmailContactCommand extends StartOutboundEmailContactCommand_base {
118
+ /** @internal type navigation helper, not in runtime. */
119
+ protected static __types: {
120
+ api: {
121
+ input: StartOutboundEmailContactRequest;
122
+ output: StartOutboundEmailContactResponse;
123
+ };
124
+ sdk: {
125
+ input: StartOutboundEmailContactCommandInput;
126
+ output: StartOutboundEmailContactCommandOutput;
127
+ };
128
+ };
129
+ }
@@ -56,8 +56,11 @@ declare const StartOutboundVoiceContactCommand_base: {
56
56
  * Description: "STRING_VALUE",
57
57
  * References: { // ContactReferences
58
58
  * "<keys>": { // Reference
59
- * Value: "STRING_VALUE", // required
60
- * Type: "URL" || "ATTACHMENT" || "NUMBER" || "STRING" || "DATE" || "EMAIL", // required
59
+ * Value: "STRING_VALUE",
60
+ * Type: "URL" || "ATTACHMENT" || "CONTACT_ANALYSIS" || "NUMBER" || "STRING" || "DATE" || "EMAIL" || "EMAIL_MESSAGE", // required
61
+ * Status: "AVAILABLE" || "DELETED" || "APPROVED" || "REJECTED" || "PROCESSING" || "FAILED",
62
+ * Arn: "STRING_VALUE",
63
+ * StatusReason: "STRING_VALUE",
61
64
  * },
62
65
  * },
63
66
  * RelatedContactId: "STRING_VALUE",
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { StartTaskContactRequest, StartTaskContactResponse } from "../models/models_2";
4
+ import { StartTaskContactResponse } from "../models/models_2";
5
+ import { StartTaskContactRequest } from "../models/models_3";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -94,8 +95,11 @@ declare const StartTaskContactCommand_base: {
94
95
  * Name: "STRING_VALUE", // required
95
96
  * References: { // ContactReferences
96
97
  * "<keys>": { // Reference
97
- * Value: "STRING_VALUE", // required
98
- * Type: "URL" || "ATTACHMENT" || "NUMBER" || "STRING" || "DATE" || "EMAIL", // required
98
+ * Value: "STRING_VALUE",
99
+ * Type: "URL" || "ATTACHMENT" || "CONTACT_ANALYSIS" || "NUMBER" || "STRING" || "DATE" || "EMAIL" || "EMAIL_MESSAGE", // required
100
+ * Status: "AVAILABLE" || "DELETED" || "APPROVED" || "REJECTED" || "PROCESSING" || "FAILED",
101
+ * Arn: "STRING_VALUE",
102
+ * StatusReason: "STRING_VALUE",
99
103
  * },
100
104
  * },
101
105
  * Description: "STRING_VALUE",
@@ -104,6 +108,21 @@ declare const StartTaskContactCommand_base: {
104
108
  * TaskTemplateId: "STRING_VALUE",
105
109
  * QuickConnectId: "STRING_VALUE",
106
110
  * RelatedContactId: "STRING_VALUE",
111
+ * SegmentAttributes: { // SegmentAttributes
112
+ * "<keys>": { // SegmentAttributeValue
113
+ * ValueString: "STRING_VALUE",
114
+ * ValueMap: { // SegmentAttributeValueMap
115
+ * "<keys>": {
116
+ * ValueString: "STRING_VALUE",
117
+ * ValueMap: {
118
+ * "<keys>": "<SegmentAttributeValue>",
119
+ * },
120
+ * ValueInteger: Number("int"),
121
+ * },
122
+ * },
123
+ * ValueInteger: Number("int"),
124
+ * },
125
+ * },
107
126
  * };
108
127
  * const command = new StartTaskContactCommand(input);
109
128
  * const response = await client.send(command);