@aws-sdk/client-connect 3.299.0 → 3.301.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 (176) hide show
  1. package/dist-cjs/protocols/Aws_restJson1.js +1 -0
  2. package/dist-es/protocols/Aws_restJson1.js +1 -0
  3. package/dist-types/Connect.d.ts +2 -3
  4. package/dist-types/commands/AssociateApprovedOriginCommand.d.ts +4 -0
  5. package/dist-types/commands/AssociateBotCommand.d.ts +10 -0
  6. package/dist-types/commands/AssociateDefaultVocabularyCommand.d.ts +5 -0
  7. package/dist-types/commands/AssociateInstanceStorageConfigCommand.d.ts +30 -0
  8. package/dist-types/commands/AssociateLambdaFunctionCommand.d.ts +4 -0
  9. package/dist-types/commands/AssociateLexBotCommand.d.ts +7 -0
  10. package/dist-types/commands/AssociatePhoneNumberContactFlowCommand.d.ts +5 -0
  11. package/dist-types/commands/AssociateQueueQuickConnectsCommand.d.ts +7 -0
  12. package/dist-types/commands/AssociateRoutingProfileQueuesCommand.d.ts +14 -0
  13. package/dist-types/commands/AssociateSecurityKeyCommand.d.ts +4 -0
  14. package/dist-types/commands/ClaimPhoneNumberCommand.d.ts +9 -0
  15. package/dist-types/commands/CreateAgentStatusCommand.d.ts +10 -0
  16. package/dist-types/commands/CreateContactFlowCommand.d.ts +10 -0
  17. package/dist-types/commands/CreateContactFlowModuleCommand.d.ts +10 -0
  18. package/dist-types/commands/CreateHoursOfOperationCommand.d.ts +22 -0
  19. package/dist-types/commands/CreateInstanceCommand.d.ts +8 -0
  20. package/dist-types/commands/CreateIntegrationAssociationCommand.d.ts +11 -0
  21. package/dist-types/commands/CreateQueueCommand.d.ts +18 -0
  22. package/dist-types/commands/CreateQuickConnectCommand.d.ts +22 -0
  23. package/dist-types/commands/CreateRoutingProfileCommand.d.ts +25 -0
  24. package/dist-types/commands/CreateRuleCommand.d.ts +45 -0
  25. package/dist-types/commands/CreateSecurityProfileCommand.d.ts +17 -0
  26. package/dist-types/commands/CreateTaskTemplateCommand.d.ts +53 -0
  27. package/dist-types/commands/CreateTrafficDistributionGroupCommand.d.ts +9 -0
  28. package/dist-types/commands/CreateUseCaseCommand.d.ts +8 -0
  29. package/dist-types/commands/CreateUserCommand.d.ts +27 -0
  30. package/dist-types/commands/CreateUserHierarchyGroupCommand.d.ts +8 -0
  31. package/dist-types/commands/CreateVocabularyCommand.d.ts +10 -0
  32. package/dist-types/commands/DeleteContactFlowCommand.d.ts +4 -0
  33. package/dist-types/commands/DeleteContactFlowModuleCommand.d.ts +4 -0
  34. package/dist-types/commands/DeleteHoursOfOperationCommand.d.ts +4 -0
  35. package/dist-types/commands/DeleteInstanceCommand.d.ts +3 -0
  36. package/dist-types/commands/DeleteIntegrationAssociationCommand.d.ts +4 -0
  37. package/dist-types/commands/DeleteQuickConnectCommand.d.ts +4 -0
  38. package/dist-types/commands/DeleteRuleCommand.d.ts +4 -0
  39. package/dist-types/commands/DeleteSecurityProfileCommand.d.ts +4 -0
  40. package/dist-types/commands/DeleteTaskTemplateCommand.d.ts +4 -0
  41. package/dist-types/commands/DeleteTrafficDistributionGroupCommand.d.ts +3 -0
  42. package/dist-types/commands/DeleteUseCaseCommand.d.ts +5 -0
  43. package/dist-types/commands/DeleteUserCommand.d.ts +4 -0
  44. package/dist-types/commands/DeleteUserHierarchyGroupCommand.d.ts +4 -0
  45. package/dist-types/commands/DeleteVocabularyCommand.d.ts +4 -0
  46. package/dist-types/commands/DescribeAgentStatusCommand.d.ts +4 -0
  47. package/dist-types/commands/DescribeContactCommand.d.ts +4 -0
  48. package/dist-types/commands/DescribeContactFlowCommand.d.ts +4 -0
  49. package/dist-types/commands/DescribeContactFlowModuleCommand.d.ts +4 -0
  50. package/dist-types/commands/DescribeHoursOfOperationCommand.d.ts +4 -0
  51. package/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +4 -0
  52. package/dist-types/commands/DescribeInstanceCommand.d.ts +3 -0
  53. package/dist-types/commands/DescribeInstanceStorageConfigCommand.d.ts +5 -0
  54. package/dist-types/commands/DescribePhoneNumberCommand.d.ts +3 -0
  55. package/dist-types/commands/DescribeQueueCommand.d.ts +4 -0
  56. package/dist-types/commands/DescribeQuickConnectCommand.d.ts +4 -0
  57. package/dist-types/commands/DescribeRoutingProfileCommand.d.ts +4 -0
  58. package/dist-types/commands/DescribeRuleCommand.d.ts +4 -0
  59. package/dist-types/commands/DescribeSecurityProfileCommand.d.ts +4 -0
  60. package/dist-types/commands/DescribeTrafficDistributionGroupCommand.d.ts +3 -0
  61. package/dist-types/commands/DescribeUserCommand.d.ts +4 -0
  62. package/dist-types/commands/DescribeUserHierarchyGroupCommand.d.ts +4 -0
  63. package/dist-types/commands/DescribeUserHierarchyStructureCommand.d.ts +3 -0
  64. package/dist-types/commands/DescribeVocabularyCommand.d.ts +4 -0
  65. package/dist-types/commands/DisassociateApprovedOriginCommand.d.ts +4 -0
  66. package/dist-types/commands/DisassociateBotCommand.d.ts +10 -0
  67. package/dist-types/commands/DisassociateInstanceStorageConfigCommand.d.ts +5 -0
  68. package/dist-types/commands/DisassociateLambdaFunctionCommand.d.ts +4 -0
  69. package/dist-types/commands/DisassociateLexBotCommand.d.ts +5 -0
  70. package/dist-types/commands/DisassociatePhoneNumberContactFlowCommand.d.ts +4 -0
  71. package/dist-types/commands/DisassociateQueueQuickConnectsCommand.d.ts +7 -0
  72. package/dist-types/commands/DisassociateRoutingProfileQueuesCommand.d.ts +10 -0
  73. package/dist-types/commands/DisassociateSecurityKeyCommand.d.ts +4 -0
  74. package/dist-types/commands/DismissUserContactCommand.d.ts +5 -0
  75. package/dist-types/commands/GetContactAttributesCommand.d.ts +4 -0
  76. package/dist-types/commands/GetCurrentMetricDataCommand.d.ts +31 -0
  77. package/dist-types/commands/GetCurrentUserDataCommand.d.ts +24 -0
  78. package/dist-types/commands/GetFederationTokenCommand.d.ts +3 -0
  79. package/dist-types/commands/GetMetricDataCommand.d.ts +32 -0
  80. package/dist-types/commands/GetMetricDataV2Command.d.ts +39 -3
  81. package/dist-types/commands/GetTaskTemplateCommand.d.ts +5 -0
  82. package/dist-types/commands/GetTrafficDistributionCommand.d.ts +3 -0
  83. package/dist-types/commands/ListAgentStatusesCommand.d.ts +8 -0
  84. package/dist-types/commands/ListApprovedOriginsCommand.d.ts +5 -0
  85. package/dist-types/commands/ListBotsCommand.d.ts +6 -0
  86. package/dist-types/commands/ListContactFlowModulesCommand.d.ts +6 -0
  87. package/dist-types/commands/ListContactFlowsCommand.d.ts +8 -0
  88. package/dist-types/commands/ListContactReferencesCommand.d.ts +8 -0
  89. package/dist-types/commands/ListDefaultVocabulariesCommand.d.ts +6 -0
  90. package/dist-types/commands/ListHoursOfOperationsCommand.d.ts +5 -0
  91. package/dist-types/commands/ListInstanceAttributesCommand.d.ts +5 -0
  92. package/dist-types/commands/ListInstanceStorageConfigsCommand.d.ts +6 -0
  93. package/dist-types/commands/ListInstancesCommand.d.ts +4 -0
  94. package/dist-types/commands/ListIntegrationAssociationsCommand.d.ts +6 -0
  95. package/dist-types/commands/ListLambdaFunctionsCommand.d.ts +5 -0
  96. package/dist-types/commands/ListLexBotsCommand.d.ts +5 -0
  97. package/dist-types/commands/ListPhoneNumbersCommand.d.ts +11 -0
  98. package/dist-types/commands/ListPhoneNumbersV2Command.d.ts +12 -0
  99. package/dist-types/commands/ListPromptsCommand.d.ts +5 -0
  100. package/dist-types/commands/ListQueueQuickConnectsCommand.d.ts +6 -0
  101. package/dist-types/commands/ListQueuesCommand.d.ts +8 -0
  102. package/dist-types/commands/ListQuickConnectsCommand.d.ts +8 -0
  103. package/dist-types/commands/ListRoutingProfileQueuesCommand.d.ts +6 -0
  104. package/dist-types/commands/ListRoutingProfilesCommand.d.ts +5 -0
  105. package/dist-types/commands/ListRulesCommand.d.ts +7 -0
  106. package/dist-types/commands/ListSecurityKeysCommand.d.ts +5 -0
  107. package/dist-types/commands/ListSecurityProfilePermissionsCommand.d.ts +6 -0
  108. package/dist-types/commands/ListSecurityProfilesCommand.d.ts +5 -0
  109. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  110. package/dist-types/commands/ListTaskTemplatesCommand.d.ts +7 -0
  111. package/dist-types/commands/ListTrafficDistributionGroupsCommand.d.ts +5 -0
  112. package/dist-types/commands/ListUseCasesCommand.d.ts +6 -0
  113. package/dist-types/commands/ListUserHierarchyGroupsCommand.d.ts +5 -0
  114. package/dist-types/commands/ListUsersCommand.d.ts +5 -0
  115. package/dist-types/commands/MonitorContactCommand.d.ts +9 -0
  116. package/dist-types/commands/PutUserStatusCommand.d.ts +5 -0
  117. package/dist-types/commands/ReleasePhoneNumberCommand.d.ts +4 -0
  118. package/dist-types/commands/ReplicateInstanceCommand.d.ts +6 -0
  119. package/dist-types/commands/ResumeContactRecordingCommand.d.ts +5 -0
  120. package/dist-types/commands/SearchAvailablePhoneNumbersCommand.d.ts +8 -0
  121. package/dist-types/commands/SearchQueuesCommand.d.ts +51 -0
  122. package/dist-types/commands/SearchRoutingProfilesCommand.d.ts +49 -0
  123. package/dist-types/commands/SearchSecurityProfilesCommand.d.ts +49 -0
  124. package/dist-types/commands/SearchUsersCommand.d.ts +57 -0
  125. package/dist-types/commands/SearchVocabulariesCommand.d.ts +8 -0
  126. package/dist-types/commands/StartChatContactCommand.d.ts +24 -0
  127. package/dist-types/commands/StartContactRecordingCommand.d.ts +8 -0
  128. package/dist-types/commands/StartContactStreamingCommand.d.ts +8 -0
  129. package/dist-types/commands/StartOutboundVoiceContactCommand.d.ts +17 -0
  130. package/dist-types/commands/StartTaskContactCommand.d.ts +21 -0
  131. package/dist-types/commands/StopContactCommand.d.ts +4 -0
  132. package/dist-types/commands/StopContactRecordingCommand.d.ts +5 -0
  133. package/dist-types/commands/StopContactStreamingCommand.d.ts +5 -0
  134. package/dist-types/commands/SuspendContactRecordingCommand.d.ts +5 -0
  135. package/dist-types/commands/TagResourceCommand.d.ts +6 -0
  136. package/dist-types/commands/TransferContactCommand.d.ts +8 -0
  137. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  138. package/dist-types/commands/UpdateAgentStatusCommand.d.ts +9 -0
  139. package/dist-types/commands/UpdateContactAttributesCommand.d.ts +7 -0
  140. package/dist-types/commands/UpdateContactCommand.d.ts +12 -0
  141. package/dist-types/commands/UpdateContactFlowContentCommand.d.ts +5 -0
  142. package/dist-types/commands/UpdateContactFlowMetadataCommand.d.ts +7 -0
  143. package/dist-types/commands/UpdateContactFlowModuleContentCommand.d.ts +5 -0
  144. package/dist-types/commands/UpdateContactFlowModuleMetadataCommand.d.ts +7 -0
  145. package/dist-types/commands/UpdateContactFlowNameCommand.d.ts +6 -0
  146. package/dist-types/commands/UpdateContactScheduleCommand.d.ts +5 -0
  147. package/dist-types/commands/UpdateHoursOfOperationCommand.d.ts +20 -0
  148. package/dist-types/commands/UpdateInstanceAttributeCommand.d.ts +5 -0
  149. package/dist-types/commands/UpdateInstanceStorageConfigCommand.d.ts +31 -0
  150. package/dist-types/commands/UpdateParticipantRoleConfigCommand.d.ts +18 -0
  151. package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +5 -0
  152. package/dist-types/commands/UpdateQueueHoursOfOperationCommand.d.ts +5 -0
  153. package/dist-types/commands/UpdateQueueMaxContactsCommand.d.ts +5 -0
  154. package/dist-types/commands/UpdateQueueNameCommand.d.ts +6 -0
  155. package/dist-types/commands/UpdateQueueOutboundCallerConfigCommand.d.ts +9 -0
  156. package/dist-types/commands/UpdateQueueStatusCommand.d.ts +5 -0
  157. package/dist-types/commands/UpdateQuickConnectConfigCommand.d.ts +18 -0
  158. package/dist-types/commands/UpdateQuickConnectNameCommand.d.ts +6 -0
  159. package/dist-types/commands/UpdateRoutingProfileConcurrencyCommand.d.ts +10 -0
  160. package/dist-types/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.d.ts +5 -0
  161. package/dist-types/commands/UpdateRoutingProfileNameCommand.d.ts +6 -0
  162. package/dist-types/commands/UpdateRoutingProfileQueuesCommand.d.ts +14 -0
  163. package/dist-types/commands/UpdateRuleCommand.d.ts +41 -0
  164. package/dist-types/commands/UpdateSecurityProfileCommand.d.ts +14 -0
  165. package/dist-types/commands/UpdateTaskTemplateCommand.d.ts +53 -0
  166. package/dist-types/commands/UpdateTrafficDistributionCommand.d.ts +11 -0
  167. package/dist-types/commands/UpdateUserHierarchyCommand.d.ts +5 -0
  168. package/dist-types/commands/UpdateUserHierarchyGroupNameCommand.d.ts +5 -0
  169. package/dist-types/commands/UpdateUserHierarchyStructureCommand.d.ts +20 -0
  170. package/dist-types/commands/UpdateUserIdentityInfoCommand.d.ts +11 -0
  171. package/dist-types/commands/UpdateUserPhoneConfigCommand.d.ts +10 -0
  172. package/dist-types/commands/UpdateUserRoutingProfileCommand.d.ts +5 -0
  173. package/dist-types/commands/UpdateUserSecurityProfilesCommand.d.ts +7 -0
  174. package/dist-types/models/models_1.d.ts +22 -5
  175. package/dist-types/ts3.4/models/models_1.d.ts +1 -0
  176. package/package.json +8 -8
@@ -2842,6 +2842,7 @@ const serializeAws_restJson1StartChatContactCommand = async (input, context) =>
2842
2842
  ...(input.PersistentChat != null && {
2843
2843
  PersistentChat: serializeAws_restJson1PersistentChat(input.PersistentChat, context),
2844
2844
  }),
2845
+ ...(input.RelatedContactId != null && { RelatedContactId: input.RelatedContactId }),
2845
2846
  ...(input.SupportedMessagingContentTypes != null && {
2846
2847
  SupportedMessagingContentTypes: serializeAws_restJson1SupportedMessagingContentTypes(input.SupportedMessagingContentTypes, context),
2847
2848
  }),
@@ -2711,6 +2711,7 @@ export const serializeAws_restJson1StartChatContactCommand = async (input, conte
2711
2711
  ...(input.PersistentChat != null && {
2712
2712
  PersistentChat: serializeAws_restJson1PersistentChat(input.PersistentChat, context),
2713
2713
  }),
2714
+ ...(input.RelatedContactId != null && { RelatedContactId: input.RelatedContactId }),
2714
2715
  ...(input.SupportedMessagingContentTypes != null && {
2715
2716
  SupportedMessagingContentTypes: serializeAws_restJson1SupportedMessagingContentTypes(input.SupportedMessagingContentTypes, context),
2716
2717
  }),
@@ -879,12 +879,11 @@ export declare class Connect extends ConnectClient {
879
879
  * <code>GetMetricDataV2</code> offers more features than <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_GetMetricData.html">GetMetricData</a>, the previous
880
880
  * version of this API. It has new metrics, offers filtering at a metric level, and offers the
881
881
  * ability to filter and group data by channels, queues, routing profiles, agents, and agent
882
- * hierarchy levels. It can retrieve historical data for last the 14 days, in 24-hour
882
+ * hierarchy levels. It can retrieve historical data for the last 14 days, in 24-hour
883
883
  * intervals.</p>
884
884
  * <p>For a description of the historical metrics that are supported by
885
885
  * <code>GetMetricDataV2</code> and <code>GetMetricData</code>, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html">Historical metrics
886
- * definitions</a> in the <i>Amazon Connect Administrator's Guide</i>.
887
- * </p>
886
+ * definitions</a> in the <i>Amazon Connect Administrator's Guide</i>. </p>
888
887
  * <p>This API is not available in the Amazon Web Services GovCloud (US) Regions.</p>
889
888
  */
890
889
  getMetricDataV2(args: GetMetricDataV2CommandInput, options?: __HttpHandlerOptions): Promise<GetMetricDataV2CommandOutput>;
@@ -27,6 +27,10 @@ export interface AssociateApprovedOriginCommandOutput extends __MetadataBearer {
27
27
  * import { ConnectClient, AssociateApprovedOriginCommand } from "@aws-sdk/client-connect"; // ES Modules import
28
28
  * // const { ConnectClient, AssociateApprovedOriginCommand } = require("@aws-sdk/client-connect"); // CommonJS import
29
29
  * const client = new ConnectClient(config);
30
+ * const input = { // AssociateApprovedOriginRequest
31
+ * InstanceId: "STRING_VALUE", // required
32
+ * Origin: "STRING_VALUE", // required
33
+ * };
30
34
  * const command = new AssociateApprovedOriginCommand(input);
31
35
  * const response = await client.send(command);
32
36
  * ```
@@ -28,6 +28,16 @@ export interface AssociateBotCommandOutput extends __MetadataBearer {
28
28
  * import { ConnectClient, AssociateBotCommand } from "@aws-sdk/client-connect"; // ES Modules import
29
29
  * // const { ConnectClient, AssociateBotCommand } = require("@aws-sdk/client-connect"); // CommonJS import
30
30
  * const client = new ConnectClient(config);
31
+ * const input = { // AssociateBotRequest
32
+ * InstanceId: "STRING_VALUE", // required
33
+ * LexBot: { // LexBot
34
+ * Name: "STRING_VALUE", // required
35
+ * LexRegion: "STRING_VALUE", // required
36
+ * },
37
+ * LexV2Bot: { // LexV2Bot
38
+ * AliasArn: "STRING_VALUE",
39
+ * },
40
+ * };
31
41
  * const command = new AssociateBotCommand(input);
32
42
  * const response = await client.send(command);
33
43
  * ```
@@ -27,6 +27,11 @@ export interface AssociateDefaultVocabularyCommandOutput extends AssociateDefaul
27
27
  * import { ConnectClient, AssociateDefaultVocabularyCommand } from "@aws-sdk/client-connect"; // ES Modules import
28
28
  * // const { ConnectClient, AssociateDefaultVocabularyCommand } = require("@aws-sdk/client-connect"); // CommonJS import
29
29
  * const client = new ConnectClient(config);
30
+ * const input = { // AssociateDefaultVocabularyRequest
31
+ * InstanceId: "STRING_VALUE", // required
32
+ * LanguageCode: "ar-AE" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-US" || "fr-CA" || "fr-FR" || "hi-IN" || "it-IT" || "ja-JP" || "ko-KR" || "pt-BR" || "pt-PT" || "zh-CN" || "en-NZ" || "en-ZA", // required
33
+ * VocabularyId: "STRING_VALUE",
34
+ * };
30
35
  * const command = new AssociateDefaultVocabularyCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -32,6 +32,36 @@ export interface AssociateInstanceStorageConfigCommandOutput extends AssociateIn
32
32
  * import { ConnectClient, AssociateInstanceStorageConfigCommand } from "@aws-sdk/client-connect"; // ES Modules import
33
33
  * // const { ConnectClient, AssociateInstanceStorageConfigCommand } = require("@aws-sdk/client-connect"); // CommonJS import
34
34
  * const client = new ConnectClient(config);
35
+ * const input = { // AssociateInstanceStorageConfigRequest
36
+ * InstanceId: "STRING_VALUE", // required
37
+ * ResourceType: "CHAT_TRANSCRIPTS" || "CALL_RECORDINGS" || "SCHEDULED_REPORTS" || "MEDIA_STREAMS" || "CONTACT_TRACE_RECORDS" || "AGENT_EVENTS" || "REAL_TIME_CONTACT_ANALYSIS_SEGMENTS" || "ATTACHMENTS" || "CONTACT_EVALUATIONS", // required
38
+ * StorageConfig: { // InstanceStorageConfig
39
+ * AssociationId: "STRING_VALUE",
40
+ * StorageType: "S3" || "KINESIS_VIDEO_STREAM" || "KINESIS_STREAM" || "KINESIS_FIREHOSE", // required
41
+ * S3Config: { // S3Config
42
+ * BucketName: "STRING_VALUE", // required
43
+ * BucketPrefix: "STRING_VALUE", // required
44
+ * EncryptionConfig: { // EncryptionConfig
45
+ * EncryptionType: "KMS", // required
46
+ * KeyId: "STRING_VALUE", // required
47
+ * },
48
+ * },
49
+ * KinesisVideoStreamConfig: { // KinesisVideoStreamConfig
50
+ * Prefix: "STRING_VALUE", // required
51
+ * RetentionPeriodHours: Number("int"), // required
52
+ * EncryptionConfig: {
53
+ * EncryptionType: "KMS", // required
54
+ * KeyId: "STRING_VALUE", // required
55
+ * },
56
+ * },
57
+ * KinesisStreamConfig: { // KinesisStreamConfig
58
+ * StreamArn: "STRING_VALUE", // required
59
+ * },
60
+ * KinesisFirehoseConfig: { // KinesisFirehoseConfig
61
+ * FirehoseArn: "STRING_VALUE", // required
62
+ * },
63
+ * },
64
+ * };
35
65
  * const command = new AssociateInstanceStorageConfigCommand(input);
36
66
  * const response = await client.send(command);
37
67
  * ```
@@ -28,6 +28,10 @@ export interface AssociateLambdaFunctionCommandOutput extends __MetadataBearer {
28
28
  * import { ConnectClient, AssociateLambdaFunctionCommand } from "@aws-sdk/client-connect"; // ES Modules import
29
29
  * // const { ConnectClient, AssociateLambdaFunctionCommand } = require("@aws-sdk/client-connect"); // CommonJS import
30
30
  * const client = new ConnectClient(config);
31
+ * const input = { // AssociateLambdaFunctionRequest
32
+ * InstanceId: "STRING_VALUE", // required
33
+ * FunctionArn: "STRING_VALUE", // required
34
+ * };
31
35
  * const command = new AssociateLambdaFunctionCommand(input);
32
36
  * const response = await client.send(command);
33
37
  * ```
@@ -28,6 +28,13 @@ export interface AssociateLexBotCommandOutput extends __MetadataBearer {
28
28
  * import { ConnectClient, AssociateLexBotCommand } from "@aws-sdk/client-connect"; // ES Modules import
29
29
  * // const { ConnectClient, AssociateLexBotCommand } = require("@aws-sdk/client-connect"); // CommonJS import
30
30
  * const client = new ConnectClient(config);
31
+ * const input = { // AssociateLexBotRequest
32
+ * InstanceId: "STRING_VALUE", // required
33
+ * LexBot: { // LexBot
34
+ * Name: "STRING_VALUE", // required
35
+ * LexRegion: "STRING_VALUE", // required
36
+ * },
37
+ * };
31
38
  * const command = new AssociateLexBotCommand(input);
32
39
  * const response = await client.send(command);
33
40
  * ```
@@ -37,6 +37,11 @@ export interface AssociatePhoneNumberContactFlowCommandOutput extends __Metadata
37
37
  * import { ConnectClient, AssociatePhoneNumberContactFlowCommand } from "@aws-sdk/client-connect"; // ES Modules import
38
38
  * // const { ConnectClient, AssociatePhoneNumberContactFlowCommand } = require("@aws-sdk/client-connect"); // CommonJS import
39
39
  * const client = new ConnectClient(config);
40
+ * const input = { // AssociatePhoneNumberContactFlowRequest
41
+ * PhoneNumberId: "STRING_VALUE", // required
42
+ * InstanceId: "STRING_VALUE", // required
43
+ * ContactFlowId: "STRING_VALUE", // required
44
+ * };
40
45
  * const command = new AssociatePhoneNumberContactFlowCommand(input);
41
46
  * const response = await client.send(command);
42
47
  * ```
@@ -27,6 +27,13 @@ export interface AssociateQueueQuickConnectsCommandOutput extends __MetadataBear
27
27
  * import { ConnectClient, AssociateQueueQuickConnectsCommand } from "@aws-sdk/client-connect"; // ES Modules import
28
28
  * // const { ConnectClient, AssociateQueueQuickConnectsCommand } = require("@aws-sdk/client-connect"); // CommonJS import
29
29
  * const client = new ConnectClient(config);
30
+ * const input = { // AssociateQueueQuickConnectsRequest
31
+ * InstanceId: "STRING_VALUE", // required
32
+ * QueueId: "STRING_VALUE", // required
33
+ * QuickConnectIds: [ // QuickConnectsList // required
34
+ * "STRING_VALUE",
35
+ * ],
36
+ * };
30
37
  * const command = new AssociateQueueQuickConnectsCommand(input);
31
38
  * const response = await client.send(command);
32
39
  * ```
@@ -26,6 +26,20 @@ export interface AssociateRoutingProfileQueuesCommandOutput extends __MetadataBe
26
26
  * import { ConnectClient, AssociateRoutingProfileQueuesCommand } from "@aws-sdk/client-connect"; // ES Modules import
27
27
  * // const { ConnectClient, AssociateRoutingProfileQueuesCommand } = require("@aws-sdk/client-connect"); // CommonJS import
28
28
  * const client = new ConnectClient(config);
29
+ * const input = { // AssociateRoutingProfileQueuesRequest
30
+ * InstanceId: "STRING_VALUE", // required
31
+ * RoutingProfileId: "STRING_VALUE", // required
32
+ * QueueConfigs: [ // RoutingProfileQueueConfigList // required
33
+ * { // RoutingProfileQueueConfig
34
+ * QueueReference: { // RoutingProfileQueueReference
35
+ * QueueId: "STRING_VALUE", // required
36
+ * Channel: "VOICE" || "CHAT" || "TASK", // required
37
+ * },
38
+ * Priority: Number("int"), // required
39
+ * Delay: Number("int"), // required
40
+ * },
41
+ * ],
42
+ * };
29
43
  * const command = new AssociateRoutingProfileQueuesCommand(input);
30
44
  * const response = await client.send(command);
31
45
  * ```
@@ -27,6 +27,10 @@ export interface AssociateSecurityKeyCommandOutput extends AssociateSecurityKeyR
27
27
  * import { ConnectClient, AssociateSecurityKeyCommand } from "@aws-sdk/client-connect"; // ES Modules import
28
28
  * // const { ConnectClient, AssociateSecurityKeyCommand } = require("@aws-sdk/client-connect"); // CommonJS import
29
29
  * const client = new ConnectClient(config);
30
+ * const input = { // AssociateSecurityKeyRequest
31
+ * InstanceId: "STRING_VALUE", // required
32
+ * Key: "STRING_VALUE", // required
33
+ * };
30
34
  * const command = new AssociateSecurityKeyCommand(input);
31
35
  * const response = await client.send(command);
32
36
  * ```
@@ -36,6 +36,15 @@ export interface ClaimPhoneNumberCommandOutput extends ClaimPhoneNumberResponse,
36
36
  * import { ConnectClient, ClaimPhoneNumberCommand } from "@aws-sdk/client-connect"; // ES Modules import
37
37
  * // const { ConnectClient, ClaimPhoneNumberCommand } = require("@aws-sdk/client-connect"); // CommonJS import
38
38
  * const client = new ConnectClient(config);
39
+ * const input = { // ClaimPhoneNumberRequest
40
+ * TargetArn: "STRING_VALUE", // required
41
+ * PhoneNumber: "STRING_VALUE", // required
42
+ * PhoneNumberDescription: "STRING_VALUE",
43
+ * Tags: { // TagMap
44
+ * "<keys>": "STRING_VALUE",
45
+ * },
46
+ * ClientToken: "STRING_VALUE",
47
+ * };
39
48
  * const command = new ClaimPhoneNumberCommand(input);
40
49
  * const response = await client.send(command);
41
50
  * ```
@@ -27,6 +27,16 @@ export interface CreateAgentStatusCommandOutput extends CreateAgentStatusRespons
27
27
  * import { ConnectClient, CreateAgentStatusCommand } from "@aws-sdk/client-connect"; // ES Modules import
28
28
  * // const { ConnectClient, CreateAgentStatusCommand } = require("@aws-sdk/client-connect"); // CommonJS import
29
29
  * const client = new ConnectClient(config);
30
+ * const input = { // CreateAgentStatusRequest
31
+ * InstanceId: "STRING_VALUE", // required
32
+ * Name: "STRING_VALUE", // required
33
+ * Description: "STRING_VALUE",
34
+ * State: "ENABLED" || "DISABLED", // required
35
+ * DisplayOrder: Number("int"),
36
+ * Tags: { // TagMap
37
+ * "<keys>": "STRING_VALUE",
38
+ * },
39
+ * };
30
40
  * const command = new CreateAgentStatusCommand(input);
31
41
  * const response = await client.send(command);
32
42
  * ```
@@ -28,6 +28,16 @@ export interface CreateContactFlowCommandOutput extends CreateContactFlowRespons
28
28
  * import { ConnectClient, CreateContactFlowCommand } from "@aws-sdk/client-connect"; // ES Modules import
29
29
  * // const { ConnectClient, CreateContactFlowCommand } = require("@aws-sdk/client-connect"); // CommonJS import
30
30
  * const client = new ConnectClient(config);
31
+ * const input = { // CreateContactFlowRequest
32
+ * InstanceId: "STRING_VALUE", // required
33
+ * Name: "STRING_VALUE", // required
34
+ * Type: "CONTACT_FLOW" || "CUSTOMER_QUEUE" || "CUSTOMER_HOLD" || "CUSTOMER_WHISPER" || "AGENT_HOLD" || "AGENT_WHISPER" || "OUTBOUND_WHISPER" || "AGENT_TRANSFER" || "QUEUE_TRANSFER", // required
35
+ * Description: "STRING_VALUE",
36
+ * Content: "STRING_VALUE", // required
37
+ * Tags: { // TagMap
38
+ * "<keys>": "STRING_VALUE",
39
+ * },
40
+ * };
31
41
  * const command = new CreateContactFlowCommand(input);
32
42
  * const response = await client.send(command);
33
43
  * ```
@@ -26,6 +26,16 @@ export interface CreateContactFlowModuleCommandOutput extends CreateContactFlowM
26
26
  * import { ConnectClient, CreateContactFlowModuleCommand } from "@aws-sdk/client-connect"; // ES Modules import
27
27
  * // const { ConnectClient, CreateContactFlowModuleCommand } = require("@aws-sdk/client-connect"); // CommonJS import
28
28
  * const client = new ConnectClient(config);
29
+ * const input = { // CreateContactFlowModuleRequest
30
+ * InstanceId: "STRING_VALUE", // required
31
+ * Name: "STRING_VALUE", // required
32
+ * Description: "STRING_VALUE",
33
+ * Content: "STRING_VALUE", // required
34
+ * Tags: { // TagMap
35
+ * "<keys>": "STRING_VALUE",
36
+ * },
37
+ * ClientToken: "STRING_VALUE",
38
+ * };
29
39
  * const command = new CreateContactFlowModuleCommand(input);
30
40
  * const response = await client.send(command);
31
41
  * ```
@@ -27,6 +27,28 @@ export interface CreateHoursOfOperationCommandOutput extends CreateHoursOfOperat
27
27
  * import { ConnectClient, CreateHoursOfOperationCommand } from "@aws-sdk/client-connect"; // ES Modules import
28
28
  * // const { ConnectClient, CreateHoursOfOperationCommand } = require("@aws-sdk/client-connect"); // CommonJS import
29
29
  * const client = new ConnectClient(config);
30
+ * const input = { // CreateHoursOfOperationRequest
31
+ * InstanceId: "STRING_VALUE", // required
32
+ * Name: "STRING_VALUE", // required
33
+ * Description: "STRING_VALUE",
34
+ * TimeZone: "STRING_VALUE", // required
35
+ * Config: [ // HoursOfOperationConfigList // required
36
+ * { // HoursOfOperationConfig
37
+ * Day: "SUNDAY" || "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY", // required
38
+ * StartTime: { // HoursOfOperationTimeSlice
39
+ * Hours: Number("int"), // required
40
+ * Minutes: Number("int"), // required
41
+ * },
42
+ * EndTime: {
43
+ * Hours: Number("int"), // required
44
+ * Minutes: Number("int"), // required
45
+ * },
46
+ * },
47
+ * ],
48
+ * Tags: { // TagMap
49
+ * "<keys>": "STRING_VALUE",
50
+ * },
51
+ * };
30
52
  * const command = new CreateHoursOfOperationCommand(input);
31
53
  * const response = await client.send(command);
32
54
  * ```
@@ -32,6 +32,14 @@ export interface CreateInstanceCommandOutput extends CreateInstanceResponse, __M
32
32
  * import { ConnectClient, CreateInstanceCommand } from "@aws-sdk/client-connect"; // ES Modules import
33
33
  * // const { ConnectClient, CreateInstanceCommand } = require("@aws-sdk/client-connect"); // CommonJS import
34
34
  * const client = new ConnectClient(config);
35
+ * const input = { // CreateInstanceRequest
36
+ * ClientToken: "STRING_VALUE",
37
+ * IdentityManagementType: "SAML" || "CONNECT_MANAGED" || "EXISTING_DIRECTORY", // required
38
+ * InstanceAlias: "STRING_VALUE",
39
+ * DirectoryId: "STRING_VALUE",
40
+ * InboundCallsEnabled: true || false, // required
41
+ * OutboundCallsEnabled: true || false, // required
42
+ * };
35
43
  * const command = new CreateInstanceCommand(input);
36
44
  * const response = await client.send(command);
37
45
  * ```
@@ -27,6 +27,17 @@ export interface CreateIntegrationAssociationCommandOutput extends CreateIntegra
27
27
  * import { ConnectClient, CreateIntegrationAssociationCommand } from "@aws-sdk/client-connect"; // ES Modules import
28
28
  * // const { ConnectClient, CreateIntegrationAssociationCommand } = require("@aws-sdk/client-connect"); // CommonJS import
29
29
  * const client = new ConnectClient(config);
30
+ * const input = { // CreateIntegrationAssociationRequest
31
+ * InstanceId: "STRING_VALUE", // required
32
+ * IntegrationType: "EVENT" || "VOICE_ID" || "PINPOINT_APP" || "WISDOM_ASSISTANT" || "WISDOM_KNOWLEDGE_BASE" || "CASES_DOMAIN", // required
33
+ * IntegrationArn: "STRING_VALUE", // required
34
+ * SourceApplicationUrl: "STRING_VALUE",
35
+ * SourceApplicationName: "STRING_VALUE",
36
+ * SourceType: "SALESFORCE" || "ZENDESK",
37
+ * Tags: { // TagMap
38
+ * "<keys>": "STRING_VALUE",
39
+ * },
40
+ * };
30
41
  * const command = new CreateIntegrationAssociationCommand(input);
31
42
  * const response = await client.send(command);
32
43
  * ```
@@ -38,6 +38,24 @@ export interface CreateQueueCommandOutput extends CreateQueueResponse, __Metadat
38
38
  * import { ConnectClient, CreateQueueCommand } from "@aws-sdk/client-connect"; // ES Modules import
39
39
  * // const { ConnectClient, CreateQueueCommand } = require("@aws-sdk/client-connect"); // CommonJS import
40
40
  * const client = new ConnectClient(config);
41
+ * const input = { // CreateQueueRequest
42
+ * InstanceId: "STRING_VALUE", // required
43
+ * Name: "STRING_VALUE", // required
44
+ * Description: "STRING_VALUE",
45
+ * OutboundCallerConfig: { // OutboundCallerConfig
46
+ * OutboundCallerIdName: "STRING_VALUE",
47
+ * OutboundCallerIdNumberId: "STRING_VALUE",
48
+ * OutboundFlowId: "STRING_VALUE",
49
+ * },
50
+ * HoursOfOperationId: "STRING_VALUE", // required
51
+ * MaxContacts: Number("int"),
52
+ * QuickConnectIds: [ // QuickConnectsList
53
+ * "STRING_VALUE",
54
+ * ],
55
+ * Tags: { // TagMap
56
+ * "<keys>": "STRING_VALUE",
57
+ * },
58
+ * };
41
59
  * const command = new CreateQueueCommand(input);
42
60
  * const response = await client.send(command);
43
61
  * ```
@@ -26,6 +26,28 @@ export interface CreateQuickConnectCommandOutput extends CreateQuickConnectRespo
26
26
  * import { ConnectClient, CreateQuickConnectCommand } from "@aws-sdk/client-connect"; // ES Modules import
27
27
  * // const { ConnectClient, CreateQuickConnectCommand } = require("@aws-sdk/client-connect"); // CommonJS import
28
28
  * const client = new ConnectClient(config);
29
+ * const input = { // CreateQuickConnectRequest
30
+ * InstanceId: "STRING_VALUE", // required
31
+ * Name: "STRING_VALUE", // required
32
+ * Description: "STRING_VALUE",
33
+ * QuickConnectConfig: { // QuickConnectConfig
34
+ * QuickConnectType: "USER" || "QUEUE" || "PHONE_NUMBER", // required
35
+ * UserConfig: { // UserQuickConnectConfig
36
+ * UserId: "STRING_VALUE", // required
37
+ * ContactFlowId: "STRING_VALUE", // required
38
+ * },
39
+ * QueueConfig: { // QueueQuickConnectConfig
40
+ * QueueId: "STRING_VALUE", // required
41
+ * ContactFlowId: "STRING_VALUE", // required
42
+ * },
43
+ * PhoneConfig: { // PhoneNumberQuickConnectConfig
44
+ * PhoneNumber: "STRING_VALUE", // required
45
+ * },
46
+ * },
47
+ * Tags: { // TagMap
48
+ * "<keys>": "STRING_VALUE",
49
+ * },
50
+ * };
29
51
  * const command = new CreateQuickConnectCommand(input);
30
52
  * const response = await client.send(command);
31
53
  * ```
@@ -26,6 +26,31 @@ export interface CreateRoutingProfileCommandOutput extends CreateRoutingProfileR
26
26
  * import { ConnectClient, CreateRoutingProfileCommand } from "@aws-sdk/client-connect"; // ES Modules import
27
27
  * // const { ConnectClient, CreateRoutingProfileCommand } = require("@aws-sdk/client-connect"); // CommonJS import
28
28
  * const client = new ConnectClient(config);
29
+ * const input = { // CreateRoutingProfileRequest
30
+ * InstanceId: "STRING_VALUE", // required
31
+ * Name: "STRING_VALUE", // required
32
+ * Description: "STRING_VALUE", // required
33
+ * DefaultOutboundQueueId: "STRING_VALUE", // required
34
+ * QueueConfigs: [ // RoutingProfileQueueConfigList
35
+ * { // RoutingProfileQueueConfig
36
+ * QueueReference: { // RoutingProfileQueueReference
37
+ * QueueId: "STRING_VALUE", // required
38
+ * Channel: "VOICE" || "CHAT" || "TASK", // required
39
+ * },
40
+ * Priority: Number("int"), // required
41
+ * Delay: Number("int"), // required
42
+ * },
43
+ * ],
44
+ * MediaConcurrencies: [ // MediaConcurrencies // required
45
+ * { // MediaConcurrency
46
+ * Channel: "VOICE" || "CHAT" || "TASK", // required
47
+ * Concurrency: Number("int"), // required
48
+ * },
49
+ * ],
50
+ * Tags: { // TagMap
51
+ * "<keys>": "STRING_VALUE",
52
+ * },
53
+ * };
29
54
  * const command = new CreateRoutingProfileCommand(input);
30
55
  * const response = await client.send(command);
31
56
  * ```
@@ -28,6 +28,51 @@ export interface CreateRuleCommandOutput extends CreateRuleResponse, __MetadataB
28
28
  * import { ConnectClient, CreateRuleCommand } from "@aws-sdk/client-connect"; // ES Modules import
29
29
  * // const { ConnectClient, CreateRuleCommand } = require("@aws-sdk/client-connect"); // CommonJS import
30
30
  * const client = new ConnectClient(config);
31
+ * const input = { // CreateRuleRequest
32
+ * InstanceId: "STRING_VALUE", // required
33
+ * Name: "STRING_VALUE", // required
34
+ * TriggerEventSource: { // RuleTriggerEventSource
35
+ * EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate", // required
36
+ * IntegrationAssociationId: "STRING_VALUE",
37
+ * },
38
+ * Function: "STRING_VALUE", // required
39
+ * Actions: [ // RuleActions // required
40
+ * { // RuleAction
41
+ * ActionType: "CREATE_TASK" || "ASSIGN_CONTACT_CATEGORY" || "GENERATE_EVENTBRIDGE_EVENT" || "SEND_NOTIFICATION", // required
42
+ * TaskAction: { // TaskActionDefinition
43
+ * Name: "STRING_VALUE", // required
44
+ * Description: "STRING_VALUE",
45
+ * ContactFlowId: "STRING_VALUE", // required
46
+ * References: { // ContactReferences
47
+ * "<keys>": { // Reference
48
+ * Value: "STRING_VALUE", // required
49
+ * Type: "URL" || "ATTACHMENT" || "NUMBER" || "STRING" || "DATE" || "EMAIL", // required
50
+ * },
51
+ * },
52
+ * },
53
+ * EventBridgeAction: { // EventBridgeActionDefinition
54
+ * Name: "STRING_VALUE", // required
55
+ * },
56
+ * AssignContactCategoryAction: {},
57
+ * SendNotificationAction: { // SendNotificationActionDefinition
58
+ * DeliveryMethod: "EMAIL", // required
59
+ * Subject: "STRING_VALUE",
60
+ * Content: "STRING_VALUE", // required
61
+ * ContentType: "PLAIN_TEXT", // required
62
+ * Recipient: { // NotificationRecipientType
63
+ * UserTags: { // UserTagMap
64
+ * "<keys>": "STRING_VALUE",
65
+ * },
66
+ * UserIds: [ // UserIdList
67
+ * "STRING_VALUE",
68
+ * ],
69
+ * },
70
+ * },
71
+ * },
72
+ * ],
73
+ * PublishStatus: "DRAFT" || "PUBLISHED", // required
74
+ * ClientToken: "STRING_VALUE",
75
+ * };
31
76
  * const command = new CreateRuleCommand(input);
32
77
  * const response = await client.send(command);
33
78
  * ```
@@ -27,6 +27,23 @@ export interface CreateSecurityProfileCommandOutput extends CreateSecurityProfil
27
27
  * import { ConnectClient, CreateSecurityProfileCommand } from "@aws-sdk/client-connect"; // ES Modules import
28
28
  * // const { ConnectClient, CreateSecurityProfileCommand } = require("@aws-sdk/client-connect"); // CommonJS import
29
29
  * const client = new ConnectClient(config);
30
+ * const input = { // CreateSecurityProfileRequest
31
+ * SecurityProfileName: "STRING_VALUE", // required
32
+ * Description: "STRING_VALUE",
33
+ * Permissions: [ // PermissionsList
34
+ * "STRING_VALUE",
35
+ * ],
36
+ * InstanceId: "STRING_VALUE", // required
37
+ * Tags: { // TagMap
38
+ * "<keys>": "STRING_VALUE",
39
+ * },
40
+ * AllowedAccessControlTags: { // AllowedAccessControlTags
41
+ * "<keys>": "STRING_VALUE",
42
+ * },
43
+ * TagRestrictedResources: [ // TagRestrictedResourceList
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * };
30
47
  * const command = new CreateSecurityProfileCommand(input);
31
48
  * const response = await client.send(command);
32
49
  * ```
@@ -26,6 +26,59 @@ export interface CreateTaskTemplateCommandOutput extends CreateTaskTemplateRespo
26
26
  * import { ConnectClient, CreateTaskTemplateCommand } from "@aws-sdk/client-connect"; // ES Modules import
27
27
  * // const { ConnectClient, CreateTaskTemplateCommand } = require("@aws-sdk/client-connect"); // CommonJS import
28
28
  * const client = new ConnectClient(config);
29
+ * const input = { // CreateTaskTemplateRequest
30
+ * InstanceId: "STRING_VALUE", // required
31
+ * Name: "STRING_VALUE", // required
32
+ * Description: "STRING_VALUE",
33
+ * ContactFlowId: "STRING_VALUE",
34
+ * Constraints: { // TaskTemplateConstraints
35
+ * RequiredFields: [ // RequiredTaskTemplateFields
36
+ * { // RequiredFieldInfo
37
+ * Id: { // TaskTemplateFieldIdentifier
38
+ * Name: "STRING_VALUE",
39
+ * },
40
+ * },
41
+ * ],
42
+ * ReadOnlyFields: [ // ReadOnlyTaskTemplateFields
43
+ * { // ReadOnlyFieldInfo
44
+ * Id: {
45
+ * Name: "STRING_VALUE",
46
+ * },
47
+ * },
48
+ * ],
49
+ * InvisibleFields: [ // InvisibleTaskTemplateFields
50
+ * { // InvisibleFieldInfo
51
+ * Id: {
52
+ * Name: "STRING_VALUE",
53
+ * },
54
+ * },
55
+ * ],
56
+ * },
57
+ * Defaults: { // TaskTemplateDefaults
58
+ * DefaultFieldValues: [ // TaskTemplateDefaultFieldValueList
59
+ * { // TaskTemplateDefaultFieldValue
60
+ * Id: {
61
+ * Name: "STRING_VALUE",
62
+ * },
63
+ * DefaultValue: "STRING_VALUE",
64
+ * },
65
+ * ],
66
+ * },
67
+ * Status: "ACTIVE" || "INACTIVE",
68
+ * Fields: [ // TaskTemplateFields // required
69
+ * { // TaskTemplateField
70
+ * Id: {
71
+ * Name: "STRING_VALUE",
72
+ * },
73
+ * Description: "STRING_VALUE",
74
+ * Type: "NAME" || "DESCRIPTION" || "SCHEDULED_TIME" || "QUICK_CONNECT" || "URL" || "NUMBER" || "TEXT" || "TEXT_AREA" || "DATE_TIME" || "BOOLEAN" || "SINGLE_SELECT" || "EMAIL",
75
+ * SingleSelectOptions: [ // SingleSelectOptions
76
+ * "STRING_VALUE",
77
+ * ],
78
+ * },
79
+ * ],
80
+ * ClientToken: "STRING_VALUE",
81
+ * };
29
82
  * const command = new CreateTaskTemplateCommand(input);
30
83
  * const response = await client.send(command);
31
84
  * ```
@@ -28,6 +28,15 @@ export interface CreateTrafficDistributionGroupCommandOutput extends CreateTraff
28
28
  * import { ConnectClient, CreateTrafficDistributionGroupCommand } from "@aws-sdk/client-connect"; // ES Modules import
29
29
  * // const { ConnectClient, CreateTrafficDistributionGroupCommand } = require("@aws-sdk/client-connect"); // CommonJS import
30
30
  * const client = new ConnectClient(config);
31
+ * const input = { // CreateTrafficDistributionGroupRequest
32
+ * Name: "STRING_VALUE", // required
33
+ * Description: "STRING_VALUE",
34
+ * InstanceId: "STRING_VALUE", // required
35
+ * ClientToken: "STRING_VALUE",
36
+ * Tags: { // TagMap
37
+ * "<keys>": "STRING_VALUE",
38
+ * },
39
+ * };
31
40
  * const command = new CreateTrafficDistributionGroupCommand(input);
32
41
  * const response = await client.send(command);
33
42
  * ```
@@ -26,6 +26,14 @@ export interface CreateUseCaseCommandOutput extends CreateUseCaseResponse, __Met
26
26
  * import { ConnectClient, CreateUseCaseCommand } from "@aws-sdk/client-connect"; // ES Modules import
27
27
  * // const { ConnectClient, CreateUseCaseCommand } = require("@aws-sdk/client-connect"); // CommonJS import
28
28
  * const client = new ConnectClient(config);
29
+ * const input = { // CreateUseCaseRequest
30
+ * InstanceId: "STRING_VALUE", // required
31
+ * IntegrationAssociationId: "STRING_VALUE", // required
32
+ * UseCaseType: "RULES_EVALUATION" || "CONNECT_CAMPAIGNS", // required
33
+ * Tags: { // TagMap
34
+ * "<keys>": "STRING_VALUE",
35
+ * },
36
+ * };
29
37
  * const command = new CreateUseCaseCommand(input);
30
38
  * const response = await client.send(command);
31
39
  * ```
@@ -29,6 +29,33 @@ export interface CreateUserCommandOutput extends CreateUserResponse, __MetadataB
29
29
  * import { ConnectClient, CreateUserCommand } from "@aws-sdk/client-connect"; // ES Modules import
30
30
  * // const { ConnectClient, CreateUserCommand } = require("@aws-sdk/client-connect"); // CommonJS import
31
31
  * const client = new ConnectClient(config);
32
+ * const input = { // CreateUserRequest
33
+ * Username: "STRING_VALUE", // required
34
+ * Password: "STRING_VALUE",
35
+ * IdentityInfo: { // UserIdentityInfo
36
+ * FirstName: "STRING_VALUE",
37
+ * LastName: "STRING_VALUE",
38
+ * Email: "STRING_VALUE",
39
+ * SecondaryEmail: "STRING_VALUE",
40
+ * Mobile: "STRING_VALUE",
41
+ * },
42
+ * PhoneConfig: { // UserPhoneConfig
43
+ * PhoneType: "SOFT_PHONE" || "DESK_PHONE", // required
44
+ * AutoAccept: true || false,
45
+ * AfterContactWorkTimeLimit: Number("int"),
46
+ * DeskPhoneNumber: "STRING_VALUE",
47
+ * },
48
+ * DirectoryUserId: "STRING_VALUE",
49
+ * SecurityProfileIds: [ // SecurityProfileIds // required
50
+ * "STRING_VALUE",
51
+ * ],
52
+ * RoutingProfileId: "STRING_VALUE", // required
53
+ * HierarchyGroupId: "STRING_VALUE",
54
+ * InstanceId: "STRING_VALUE", // required
55
+ * Tags: { // TagMap
56
+ * "<keys>": "STRING_VALUE",
57
+ * },
58
+ * };
32
59
  * const command = new CreateUserCommand(input);
33
60
  * const response = await client.send(command);
34
61
  * ```