@aws-sdk/client-connect 3.458.0 → 3.461.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 (153) hide show
  1. package/README.md +104 -0
  2. package/dist-cjs/Connect.js +26 -0
  3. package/dist-cjs/commands/AssociateAnalyticsDataSetCommand.js +51 -0
  4. package/dist-cjs/commands/AssociateFlowCommand.js +51 -0
  5. package/dist-cjs/commands/BatchAssociateAnalyticsDataSetCommand.js +51 -0
  6. package/dist-cjs/commands/BatchDisassociateAnalyticsDataSetCommand.js +51 -0
  7. package/dist-cjs/commands/DisassociateAnalyticsDataSetCommand.js +51 -0
  8. package/dist-cjs/commands/DisassociateFlowCommand.js +51 -0
  9. package/dist-cjs/commands/GetFlowAssociationCommand.js +51 -0
  10. package/dist-cjs/commands/ImportPhoneNumberCommand.js +51 -0
  11. package/dist-cjs/commands/ListAnalyticsDataAssociationsCommand.js +51 -0
  12. package/dist-cjs/commands/ListFlowAssociationsCommand.js +51 -0
  13. package/dist-cjs/commands/ListRealtimeContactAnalysisSegmentsV2Command.js +51 -0
  14. package/dist-cjs/commands/SendChatIntegrationEventCommand.js +51 -0
  15. package/dist-cjs/commands/StartWebRTCContactCommand.js +52 -0
  16. package/dist-cjs/commands/index.js +13 -0
  17. package/dist-cjs/models/models_0.js +11 -10
  18. package/dist-cjs/models/models_1.js +81 -51
  19. package/dist-cjs/models/models_2.js +72 -1
  20. package/dist-cjs/pagination/ListFlowAssociationsPaginator.js +29 -0
  21. package/dist-cjs/pagination/ListRealtimeContactAnalysisSegmentsV2Paginator.js +29 -0
  22. package/dist-cjs/pagination/index.js +2 -0
  23. package/dist-cjs/protocols/Aws_restJson1.js +1056 -31
  24. package/dist-es/Connect.js +26 -0
  25. package/dist-es/commands/AssociateAnalyticsDataSetCommand.js +47 -0
  26. package/dist-es/commands/AssociateFlowCommand.js +47 -0
  27. package/dist-es/commands/BatchAssociateAnalyticsDataSetCommand.js +47 -0
  28. package/dist-es/commands/BatchDisassociateAnalyticsDataSetCommand.js +47 -0
  29. package/dist-es/commands/DisassociateAnalyticsDataSetCommand.js +47 -0
  30. package/dist-es/commands/DisassociateFlowCommand.js +47 -0
  31. package/dist-es/commands/GetFlowAssociationCommand.js +47 -0
  32. package/dist-es/commands/ImportPhoneNumberCommand.js +47 -0
  33. package/dist-es/commands/ListAnalyticsDataAssociationsCommand.js +47 -0
  34. package/dist-es/commands/ListFlowAssociationsCommand.js +47 -0
  35. package/dist-es/commands/ListRealtimeContactAnalysisSegmentsV2Command.js +47 -0
  36. package/dist-es/commands/SendChatIntegrationEventCommand.js +47 -0
  37. package/dist-es/commands/StartWebRTCContactCommand.js +48 -0
  38. package/dist-es/commands/index.js +13 -0
  39. package/dist-es/models/models_0.js +9 -8
  40. package/dist-es/models/models_1.js +79 -47
  41. package/dist-es/models/models_2.js +65 -0
  42. package/dist-es/pagination/ListFlowAssociationsPaginator.js +25 -0
  43. package/dist-es/pagination/ListRealtimeContactAnalysisSegmentsV2Paginator.js +25 -0
  44. package/dist-es/pagination/index.js +2 -0
  45. package/dist-es/protocols/Aws_restJson1.js +1019 -21
  46. package/dist-types/Connect.d.ts +91 -0
  47. package/dist-types/ConnectClient.d.ts +15 -2
  48. package/dist-types/commands/AssociateAnalyticsDataSetCommand.d.ts +95 -0
  49. package/dist-types/commands/AssociateFlowCommand.d.ts +92 -0
  50. package/dist-types/commands/BatchAssociateAnalyticsDataSetCommand.d.ts +107 -0
  51. package/dist-types/commands/BatchDisassociateAnalyticsDataSetCommand.d.ts +102 -0
  52. package/dist-types/commands/CreateRuleCommand.d.ts +1 -1
  53. package/dist-types/commands/CreateUserCommand.d.ts +1 -3
  54. package/dist-types/commands/DescribePhoneNumberCommand.d.ts +2 -1
  55. package/dist-types/commands/DescribeQuickConnectCommand.d.ts +1 -1
  56. package/dist-types/commands/DescribeRoutingProfileCommand.d.ts +1 -1
  57. package/dist-types/commands/DescribeRuleCommand.d.ts +2 -2
  58. package/dist-types/commands/DescribeSecurityProfileCommand.d.ts +1 -1
  59. package/dist-types/commands/DescribeTrafficDistributionGroupCommand.d.ts +1 -2
  60. package/dist-types/commands/DescribeUserCommand.d.ts +1 -1
  61. package/dist-types/commands/DisassociateAnalyticsDataSetCommand.d.ts +89 -0
  62. package/dist-types/commands/DisassociateFlowCommand.d.ts +91 -0
  63. package/dist-types/commands/GetFlowAssociationCommand.d.ts +95 -0
  64. package/dist-types/commands/ImportPhoneNumberCommand.d.ts +100 -0
  65. package/dist-types/commands/ListAnalyticsDataAssociationsCommand.d.ts +101 -0
  66. package/dist-types/commands/ListFlowAssociationsCommand.d.ts +101 -0
  67. package/dist-types/commands/ListPhoneNumbersCommand.d.ts +2 -2
  68. package/dist-types/commands/ListPhoneNumbersV2Command.d.ts +4 -2
  69. package/dist-types/commands/ListRealtimeContactAnalysisSegmentsV2Command.d.ts +185 -0
  70. package/dist-types/commands/ListRulesCommand.d.ts +2 -2
  71. package/dist-types/commands/ReleasePhoneNumberCommand.d.ts +1 -1
  72. package/dist-types/commands/SearchAvailablePhoneNumbersCommand.d.ts +2 -2
  73. package/dist-types/commands/SendChatIntegrationEventCommand.d.ts +125 -0
  74. package/dist-types/commands/StartChatContactCommand.d.ts +1 -1
  75. package/dist-types/commands/StartContactEvaluationCommand.d.ts +1 -1
  76. package/dist-types/commands/StartContactRecordingCommand.d.ts +1 -1
  77. package/dist-types/commands/StartContactStreamingCommand.d.ts +1 -1
  78. package/dist-types/commands/StartOutboundVoiceContactCommand.d.ts +1 -1
  79. package/dist-types/commands/StartTaskContactCommand.d.ts +1 -1
  80. package/dist-types/commands/StartWebRTCContactCommand.d.ts +137 -0
  81. package/dist-types/commands/StopContactCommand.d.ts +1 -1
  82. package/dist-types/commands/StopContactRecordingCommand.d.ts +1 -1
  83. package/dist-types/commands/StopContactStreamingCommand.d.ts +1 -1
  84. package/dist-types/commands/SubmitContactEvaluationCommand.d.ts +1 -1
  85. package/dist-types/commands/SuspendContactRecordingCommand.d.ts +1 -1
  86. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  87. package/dist-types/commands/TransferContactCommand.d.ts +1 -1
  88. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  89. package/dist-types/commands/UpdateAgentStatusCommand.d.ts +1 -1
  90. package/dist-types/commands/UpdateContactAttributesCommand.d.ts +1 -1
  91. package/dist-types/commands/UpdateContactCommand.d.ts +1 -1
  92. package/dist-types/commands/UpdateContactEvaluationCommand.d.ts +1 -1
  93. package/dist-types/commands/UpdateContactFlowContentCommand.d.ts +1 -1
  94. package/dist-types/commands/UpdateContactFlowMetadataCommand.d.ts +1 -1
  95. package/dist-types/commands/UpdateContactFlowModuleContentCommand.d.ts +1 -2
  96. package/dist-types/commands/index.d.ts +13 -0
  97. package/dist-types/models/models_0.d.ts +271 -381
  98. package/dist-types/models/models_1.d.ts +3355 -3077
  99. package/dist-types/models/models_2.d.ts +1427 -2
  100. package/dist-types/pagination/ListFlowAssociationsPaginator.d.ts +7 -0
  101. package/dist-types/pagination/ListRealtimeContactAnalysisSegmentsV2Paginator.d.ts +7 -0
  102. package/dist-types/pagination/index.d.ts +2 -0
  103. package/dist-types/protocols/Aws_restJson1.d.ts +117 -0
  104. package/dist-types/ts3.4/Connect.d.ts +233 -0
  105. package/dist-types/ts3.4/ConnectClient.d.ts +78 -0
  106. package/dist-types/ts3.4/commands/AssociateAnalyticsDataSetCommand.d.ts +42 -0
  107. package/dist-types/ts3.4/commands/AssociateFlowCommand.d.ts +38 -0
  108. package/dist-types/ts3.4/commands/BatchAssociateAnalyticsDataSetCommand.d.ts +42 -0
  109. package/dist-types/ts3.4/commands/BatchDisassociateAnalyticsDataSetCommand.d.ts +42 -0
  110. package/dist-types/ts3.4/commands/DescribeQuickConnectCommand.d.ts +1 -1
  111. package/dist-types/ts3.4/commands/DescribeRoutingProfileCommand.d.ts +1 -1
  112. package/dist-types/ts3.4/commands/DescribeRuleCommand.d.ts +1 -1
  113. package/dist-types/ts3.4/commands/DescribeSecurityProfileCommand.d.ts +1 -1
  114. package/dist-types/ts3.4/commands/DescribeTrafficDistributionGroupCommand.d.ts +4 -2
  115. package/dist-types/ts3.4/commands/DisassociateAnalyticsDataSetCommand.d.ts +38 -0
  116. package/dist-types/ts3.4/commands/DisassociateFlowCommand.d.ts +38 -0
  117. package/dist-types/ts3.4/commands/GetFlowAssociationCommand.d.ts +39 -0
  118. package/dist-types/ts3.4/commands/ImportPhoneNumberCommand.d.ts +39 -0
  119. package/dist-types/ts3.4/commands/ListAnalyticsDataAssociationsCommand.d.ts +42 -0
  120. package/dist-types/ts3.4/commands/ListFlowAssociationsCommand.d.ts +42 -0
  121. package/dist-types/ts3.4/commands/ListRealtimeContactAnalysisSegmentsV2Command.d.ts +42 -0
  122. package/dist-types/ts3.4/commands/SendChatIntegrationEventCommand.d.ts +42 -0
  123. package/dist-types/ts3.4/commands/StartChatContactCommand.d.ts +1 -1
  124. package/dist-types/ts3.4/commands/StartContactEvaluationCommand.d.ts +1 -1
  125. package/dist-types/ts3.4/commands/StartContactRecordingCommand.d.ts +1 -1
  126. package/dist-types/ts3.4/commands/StartContactStreamingCommand.d.ts +1 -1
  127. package/dist-types/ts3.4/commands/StartOutboundVoiceContactCommand.d.ts +1 -1
  128. package/dist-types/ts3.4/commands/StartTaskContactCommand.d.ts +1 -1
  129. package/dist-types/ts3.4/commands/StartWebRTCContactCommand.d.ts +39 -0
  130. package/dist-types/ts3.4/commands/StopContactCommand.d.ts +1 -1
  131. package/dist-types/ts3.4/commands/StopContactRecordingCommand.d.ts +1 -1
  132. package/dist-types/ts3.4/commands/StopContactStreamingCommand.d.ts +1 -1
  133. package/dist-types/ts3.4/commands/SubmitContactEvaluationCommand.d.ts +1 -1
  134. package/dist-types/ts3.4/commands/SuspendContactRecordingCommand.d.ts +1 -1
  135. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  136. package/dist-types/ts3.4/commands/TransferContactCommand.d.ts +1 -1
  137. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  138. package/dist-types/ts3.4/commands/UpdateAgentStatusCommand.d.ts +1 -1
  139. package/dist-types/ts3.4/commands/UpdateContactAttributesCommand.d.ts +1 -1
  140. package/dist-types/ts3.4/commands/UpdateContactCommand.d.ts +1 -1
  141. package/dist-types/ts3.4/commands/UpdateContactEvaluationCommand.d.ts +1 -1
  142. package/dist-types/ts3.4/commands/UpdateContactFlowContentCommand.d.ts +1 -1
  143. package/dist-types/ts3.4/commands/UpdateContactFlowMetadataCommand.d.ts +1 -1
  144. package/dist-types/ts3.4/commands/UpdateContactFlowModuleContentCommand.d.ts +4 -2
  145. package/dist-types/ts3.4/commands/index.d.ts +13 -0
  146. package/dist-types/ts3.4/models/models_0.d.ts +69 -94
  147. package/dist-types/ts3.4/models/models_1.d.ts +388 -256
  148. package/dist-types/ts3.4/models/models_2.d.ts +334 -0
  149. package/dist-types/ts3.4/pagination/ListFlowAssociationsPaginator.d.ts +11 -0
  150. package/dist-types/ts3.4/pagination/ListRealtimeContactAnalysisSegmentsV2Paginator.d.ts +11 -0
  151. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  152. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +156 -0
  153. package/package.json +12 -12
@@ -1,14 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.se_DeleteRoutingProfileCommand = exports.se_DeleteQuickConnectCommand = exports.se_DeleteQueueCommand = exports.se_DeletePromptCommand = exports.se_DeleteIntegrationAssociationCommand = exports.se_DeleteInstanceCommand = exports.se_DeleteHoursOfOperationCommand = exports.se_DeleteEvaluationFormCommand = exports.se_DeleteContactFlowModuleCommand = exports.se_DeleteContactFlowCommand = exports.se_DeleteContactEvaluationCommand = exports.se_DeactivateEvaluationFormCommand = exports.se_CreateVocabularyCommand = exports.se_CreateViewVersionCommand = exports.se_CreateViewCommand = exports.se_CreateUserHierarchyGroupCommand = exports.se_CreateUserCommand = exports.se_CreateUseCaseCommand = exports.se_CreateTrafficDistributionGroupCommand = exports.se_CreateTaskTemplateCommand = exports.se_CreateSecurityProfileCommand = exports.se_CreateRuleCommand = exports.se_CreateRoutingProfileCommand = exports.se_CreateQuickConnectCommand = exports.se_CreateQueueCommand = exports.se_CreatePromptCommand = exports.se_CreatePersistentContactAssociationCommand = exports.se_CreateParticipantCommand = exports.se_CreateIntegrationAssociationCommand = exports.se_CreateInstanceCommand = exports.se_CreateHoursOfOperationCommand = exports.se_CreateEvaluationFormCommand = exports.se_CreateContactFlowModuleCommand = exports.se_CreateContactFlowCommand = exports.se_CreateAgentStatusCommand = exports.se_ClaimPhoneNumberCommand = exports.se_BatchPutContactCommand = exports.se_BatchGetFlowAssociationCommand = exports.se_AssociateTrafficDistributionGroupUserCommand = exports.se_AssociateSecurityKeyCommand = exports.se_AssociateRoutingProfileQueuesCommand = exports.se_AssociateQueueQuickConnectsCommand = exports.se_AssociatePhoneNumberContactFlowCommand = exports.se_AssociateLexBotCommand = exports.se_AssociateLambdaFunctionCommand = exports.se_AssociateInstanceStorageConfigCommand = exports.se_AssociateDefaultVocabularyCommand = exports.se_AssociateBotCommand = exports.se_AssociateApprovedOriginCommand = exports.se_ActivateEvaluationFormCommand = void 0;
4
- exports.se_GetMetricDataV2Command = exports.se_GetMetricDataCommand = exports.se_GetFederationTokenCommand = exports.se_GetCurrentUserDataCommand = exports.se_GetCurrentMetricDataCommand = exports.se_GetContactAttributesCommand = exports.se_DismissUserContactCommand = exports.se_DisassociateTrafficDistributionGroupUserCommand = exports.se_DisassociateSecurityKeyCommand = exports.se_DisassociateRoutingProfileQueuesCommand = exports.se_DisassociateQueueQuickConnectsCommand = exports.se_DisassociatePhoneNumberContactFlowCommand = exports.se_DisassociateLexBotCommand = exports.se_DisassociateLambdaFunctionCommand = exports.se_DisassociateInstanceStorageConfigCommand = exports.se_DisassociateBotCommand = exports.se_DisassociateApprovedOriginCommand = exports.se_DescribeVocabularyCommand = exports.se_DescribeViewCommand = exports.se_DescribeUserHierarchyStructureCommand = exports.se_DescribeUserHierarchyGroupCommand = exports.se_DescribeUserCommand = exports.se_DescribeTrafficDistributionGroupCommand = exports.se_DescribeSecurityProfileCommand = exports.se_DescribeRuleCommand = exports.se_DescribeRoutingProfileCommand = exports.se_DescribeQuickConnectCommand = exports.se_DescribeQueueCommand = exports.se_DescribePromptCommand = exports.se_DescribePhoneNumberCommand = exports.se_DescribeInstanceStorageConfigCommand = exports.se_DescribeInstanceAttributeCommand = exports.se_DescribeInstanceCommand = exports.se_DescribeHoursOfOperationCommand = exports.se_DescribeEvaluationFormCommand = exports.se_DescribeContactFlowModuleCommand = exports.se_DescribeContactFlowCommand = exports.se_DescribeContactEvaluationCommand = exports.se_DescribeContactCommand = exports.se_DescribeAgentStatusCommand = exports.se_DeleteVocabularyCommand = exports.se_DeleteViewVersionCommand = exports.se_DeleteViewCommand = exports.se_DeleteUserHierarchyGroupCommand = exports.se_DeleteUserCommand = exports.se_DeleteUseCaseCommand = exports.se_DeleteTrafficDistributionGroupCommand = exports.se_DeleteTaskTemplateCommand = exports.se_DeleteSecurityProfileCommand = exports.se_DeleteRuleCommand = void 0;
5
- exports.se_SearchPromptsCommand = exports.se_SearchHoursOfOperationsCommand = exports.se_SearchAvailablePhoneNumbersCommand = exports.se_ResumeContactRecordingCommand = exports.se_ReplicateInstanceCommand = exports.se_ReleasePhoneNumberCommand = exports.se_PutUserStatusCommand = exports.se_MonitorContactCommand = exports.se_ListViewVersionsCommand = exports.se_ListViewsCommand = exports.se_ListUsersCommand = exports.se_ListUserHierarchyGroupsCommand = exports.se_ListUseCasesCommand = exports.se_ListTrafficDistributionGroupUsersCommand = exports.se_ListTrafficDistributionGroupsCommand = exports.se_ListTaskTemplatesCommand = exports.se_ListTagsForResourceCommand = exports.se_ListSecurityProfilesCommand = exports.se_ListSecurityProfilePermissionsCommand = exports.se_ListSecurityProfileApplicationsCommand = exports.se_ListSecurityKeysCommand = exports.se_ListRulesCommand = exports.se_ListRoutingProfilesCommand = exports.se_ListRoutingProfileQueuesCommand = exports.se_ListQuickConnectsCommand = exports.se_ListQueuesCommand = exports.se_ListQueueQuickConnectsCommand = exports.se_ListPromptsCommand = exports.se_ListPhoneNumbersV2Command = exports.se_ListPhoneNumbersCommand = exports.se_ListLexBotsCommand = exports.se_ListLambdaFunctionsCommand = exports.se_ListIntegrationAssociationsCommand = exports.se_ListInstanceStorageConfigsCommand = exports.se_ListInstancesCommand = exports.se_ListInstanceAttributesCommand = exports.se_ListHoursOfOperationsCommand = exports.se_ListEvaluationFormVersionsCommand = exports.se_ListEvaluationFormsCommand = exports.se_ListDefaultVocabulariesCommand = exports.se_ListContactReferencesCommand = exports.se_ListContactFlowsCommand = exports.se_ListContactFlowModulesCommand = exports.se_ListContactEvaluationsCommand = exports.se_ListBotsCommand = exports.se_ListApprovedOriginsCommand = exports.se_ListAgentStatusesCommand = exports.se_GetTrafficDistributionCommand = exports.se_GetTaskTemplateCommand = exports.se_GetPromptFileCommand = void 0;
6
- exports.se_UpdateRoutingProfileNameCommand = exports.se_UpdateRoutingProfileDefaultOutboundQueueCommand = exports.se_UpdateRoutingProfileConcurrencyCommand = exports.se_UpdateRoutingProfileAgentAvailabilityTimerCommand = exports.se_UpdateQuickConnectNameCommand = exports.se_UpdateQuickConnectConfigCommand = exports.se_UpdateQueueStatusCommand = exports.se_UpdateQueueOutboundCallerConfigCommand = exports.se_UpdateQueueNameCommand = exports.se_UpdateQueueMaxContactsCommand = exports.se_UpdateQueueHoursOfOperationCommand = exports.se_UpdatePromptCommand = exports.se_UpdatePhoneNumberMetadataCommand = exports.se_UpdatePhoneNumberCommand = exports.se_UpdateParticipantRoleConfigCommand = exports.se_UpdateInstanceStorageConfigCommand = exports.se_UpdateInstanceAttributeCommand = exports.se_UpdateHoursOfOperationCommand = exports.se_UpdateEvaluationFormCommand = exports.se_UpdateContactScheduleCommand = exports.se_UpdateContactFlowNameCommand = exports.se_UpdateContactFlowModuleMetadataCommand = exports.se_UpdateContactFlowModuleContentCommand = exports.se_UpdateContactFlowMetadataCommand = exports.se_UpdateContactFlowContentCommand = exports.se_UpdateContactEvaluationCommand = exports.se_UpdateContactAttributesCommand = exports.se_UpdateContactCommand = exports.se_UpdateAgentStatusCommand = exports.se_UntagResourceCommand = exports.se_TransferContactCommand = exports.se_TagResourceCommand = exports.se_SuspendContactRecordingCommand = exports.se_SubmitContactEvaluationCommand = exports.se_StopContactStreamingCommand = exports.se_StopContactRecordingCommand = exports.se_StopContactCommand = exports.se_StartTaskContactCommand = exports.se_StartOutboundVoiceContactCommand = exports.se_StartContactStreamingCommand = exports.se_StartContactRecordingCommand = exports.se_StartContactEvaluationCommand = exports.se_StartChatContactCommand = exports.se_SearchVocabulariesCommand = exports.se_SearchUsersCommand = exports.se_SearchSecurityProfilesCommand = exports.se_SearchRoutingProfilesCommand = exports.se_SearchResourceTagsCommand = exports.se_SearchQuickConnectsCommand = exports.se_SearchQueuesCommand = void 0;
7
- exports.de_CreateViewCommand = exports.de_CreateUserHierarchyGroupCommand = exports.de_CreateUserCommand = exports.de_CreateUseCaseCommand = exports.de_CreateTrafficDistributionGroupCommand = exports.de_CreateTaskTemplateCommand = exports.de_CreateSecurityProfileCommand = exports.de_CreateRuleCommand = exports.de_CreateRoutingProfileCommand = exports.de_CreateQuickConnectCommand = exports.de_CreateQueueCommand = exports.de_CreatePromptCommand = exports.de_CreatePersistentContactAssociationCommand = exports.de_CreateParticipantCommand = exports.de_CreateIntegrationAssociationCommand = exports.de_CreateInstanceCommand = exports.de_CreateHoursOfOperationCommand = exports.de_CreateEvaluationFormCommand = exports.de_CreateContactFlowModuleCommand = exports.de_CreateContactFlowCommand = exports.de_CreateAgentStatusCommand = exports.de_ClaimPhoneNumberCommand = exports.de_BatchPutContactCommand = exports.de_BatchGetFlowAssociationCommand = exports.de_AssociateTrafficDistributionGroupUserCommand = exports.de_AssociateSecurityKeyCommand = exports.de_AssociateRoutingProfileQueuesCommand = exports.de_AssociateQueueQuickConnectsCommand = exports.de_AssociatePhoneNumberContactFlowCommand = exports.de_AssociateLexBotCommand = exports.de_AssociateLambdaFunctionCommand = exports.de_AssociateInstanceStorageConfigCommand = exports.de_AssociateDefaultVocabularyCommand = exports.de_AssociateBotCommand = exports.de_AssociateApprovedOriginCommand = exports.de_ActivateEvaluationFormCommand = exports.se_UpdateViewMetadataCommand = exports.se_UpdateViewContentCommand = exports.se_UpdateUserSecurityProfilesCommand = exports.se_UpdateUserRoutingProfileCommand = exports.se_UpdateUserPhoneConfigCommand = exports.se_UpdateUserIdentityInfoCommand = exports.se_UpdateUserHierarchyStructureCommand = exports.se_UpdateUserHierarchyGroupNameCommand = exports.se_UpdateUserHierarchyCommand = exports.se_UpdateTrafficDistributionCommand = exports.se_UpdateTaskTemplateCommand = exports.se_UpdateSecurityProfileCommand = exports.se_UpdateRuleCommand = exports.se_UpdateRoutingProfileQueuesCommand = void 0;
8
- exports.de_DisassociateInstanceStorageConfigCommand = exports.de_DisassociateBotCommand = exports.de_DisassociateApprovedOriginCommand = exports.de_DescribeVocabularyCommand = exports.de_DescribeViewCommand = exports.de_DescribeUserHierarchyStructureCommand = exports.de_DescribeUserHierarchyGroupCommand = exports.de_DescribeUserCommand = exports.de_DescribeTrafficDistributionGroupCommand = exports.de_DescribeSecurityProfileCommand = exports.de_DescribeRuleCommand = exports.de_DescribeRoutingProfileCommand = exports.de_DescribeQuickConnectCommand = exports.de_DescribeQueueCommand = exports.de_DescribePromptCommand = exports.de_DescribePhoneNumberCommand = exports.de_DescribeInstanceStorageConfigCommand = exports.de_DescribeInstanceAttributeCommand = exports.de_DescribeInstanceCommand = exports.de_DescribeHoursOfOperationCommand = exports.de_DescribeEvaluationFormCommand = exports.de_DescribeContactFlowModuleCommand = exports.de_DescribeContactFlowCommand = exports.de_DescribeContactEvaluationCommand = exports.de_DescribeContactCommand = exports.de_DescribeAgentStatusCommand = exports.de_DeleteVocabularyCommand = exports.de_DeleteViewVersionCommand = exports.de_DeleteViewCommand = exports.de_DeleteUserHierarchyGroupCommand = exports.de_DeleteUserCommand = exports.de_DeleteUseCaseCommand = exports.de_DeleteTrafficDistributionGroupCommand = exports.de_DeleteTaskTemplateCommand = exports.de_DeleteSecurityProfileCommand = exports.de_DeleteRuleCommand = exports.de_DeleteRoutingProfileCommand = exports.de_DeleteQuickConnectCommand = exports.de_DeleteQueueCommand = exports.de_DeletePromptCommand = exports.de_DeleteIntegrationAssociationCommand = exports.de_DeleteInstanceCommand = exports.de_DeleteHoursOfOperationCommand = exports.de_DeleteEvaluationFormCommand = exports.de_DeleteContactFlowModuleCommand = exports.de_DeleteContactFlowCommand = exports.de_DeleteContactEvaluationCommand = exports.de_DeactivateEvaluationFormCommand = exports.de_CreateVocabularyCommand = exports.de_CreateViewVersionCommand = void 0;
9
- exports.de_ListTrafficDistributionGroupsCommand = exports.de_ListTaskTemplatesCommand = exports.de_ListTagsForResourceCommand = exports.de_ListSecurityProfilesCommand = exports.de_ListSecurityProfilePermissionsCommand = exports.de_ListSecurityProfileApplicationsCommand = exports.de_ListSecurityKeysCommand = exports.de_ListRulesCommand = exports.de_ListRoutingProfilesCommand = exports.de_ListRoutingProfileQueuesCommand = exports.de_ListQuickConnectsCommand = exports.de_ListQueuesCommand = exports.de_ListQueueQuickConnectsCommand = exports.de_ListPromptsCommand = exports.de_ListPhoneNumbersV2Command = exports.de_ListPhoneNumbersCommand = exports.de_ListLexBotsCommand = exports.de_ListLambdaFunctionsCommand = exports.de_ListIntegrationAssociationsCommand = exports.de_ListInstanceStorageConfigsCommand = exports.de_ListInstancesCommand = exports.de_ListInstanceAttributesCommand = exports.de_ListHoursOfOperationsCommand = exports.de_ListEvaluationFormVersionsCommand = exports.de_ListEvaluationFormsCommand = exports.de_ListDefaultVocabulariesCommand = exports.de_ListContactReferencesCommand = exports.de_ListContactFlowsCommand = exports.de_ListContactFlowModulesCommand = exports.de_ListContactEvaluationsCommand = exports.de_ListBotsCommand = exports.de_ListApprovedOriginsCommand = exports.de_ListAgentStatusesCommand = exports.de_GetTrafficDistributionCommand = exports.de_GetTaskTemplateCommand = exports.de_GetPromptFileCommand = exports.de_GetMetricDataV2Command = exports.de_GetMetricDataCommand = exports.de_GetFederationTokenCommand = exports.de_GetCurrentUserDataCommand = exports.de_GetCurrentMetricDataCommand = exports.de_GetContactAttributesCommand = exports.de_DismissUserContactCommand = exports.de_DisassociateTrafficDistributionGroupUserCommand = exports.de_DisassociateSecurityKeyCommand = exports.de_DisassociateRoutingProfileQueuesCommand = exports.de_DisassociateQueueQuickConnectsCommand = exports.de_DisassociatePhoneNumberContactFlowCommand = exports.de_DisassociateLexBotCommand = exports.de_DisassociateLambdaFunctionCommand = void 0;
10
- exports.de_UpdateParticipantRoleConfigCommand = exports.de_UpdateInstanceStorageConfigCommand = exports.de_UpdateInstanceAttributeCommand = exports.de_UpdateHoursOfOperationCommand = exports.de_UpdateEvaluationFormCommand = exports.de_UpdateContactScheduleCommand = exports.de_UpdateContactFlowNameCommand = exports.de_UpdateContactFlowModuleMetadataCommand = exports.de_UpdateContactFlowModuleContentCommand = exports.de_UpdateContactFlowMetadataCommand = exports.de_UpdateContactFlowContentCommand = exports.de_UpdateContactEvaluationCommand = exports.de_UpdateContactAttributesCommand = exports.de_UpdateContactCommand = exports.de_UpdateAgentStatusCommand = exports.de_UntagResourceCommand = exports.de_TransferContactCommand = exports.de_TagResourceCommand = exports.de_SuspendContactRecordingCommand = exports.de_SubmitContactEvaluationCommand = exports.de_StopContactStreamingCommand = exports.de_StopContactRecordingCommand = exports.de_StopContactCommand = exports.de_StartTaskContactCommand = exports.de_StartOutboundVoiceContactCommand = exports.de_StartContactStreamingCommand = exports.de_StartContactRecordingCommand = exports.de_StartContactEvaluationCommand = exports.de_StartChatContactCommand = exports.de_SearchVocabulariesCommand = exports.de_SearchUsersCommand = exports.de_SearchSecurityProfilesCommand = exports.de_SearchRoutingProfilesCommand = exports.de_SearchResourceTagsCommand = exports.de_SearchQuickConnectsCommand = exports.de_SearchQueuesCommand = exports.de_SearchPromptsCommand = exports.de_SearchHoursOfOperationsCommand = exports.de_SearchAvailablePhoneNumbersCommand = exports.de_ResumeContactRecordingCommand = exports.de_ReplicateInstanceCommand = exports.de_ReleasePhoneNumberCommand = exports.de_PutUserStatusCommand = exports.de_MonitorContactCommand = exports.de_ListViewVersionsCommand = exports.de_ListViewsCommand = exports.de_ListUsersCommand = exports.de_ListUserHierarchyGroupsCommand = exports.de_ListUseCasesCommand = exports.de_ListTrafficDistributionGroupUsersCommand = void 0;
11
- exports.de_UpdateViewMetadataCommand = exports.de_UpdateViewContentCommand = exports.de_UpdateUserSecurityProfilesCommand = exports.de_UpdateUserRoutingProfileCommand = exports.de_UpdateUserPhoneConfigCommand = exports.de_UpdateUserIdentityInfoCommand = exports.de_UpdateUserHierarchyStructureCommand = exports.de_UpdateUserHierarchyGroupNameCommand = exports.de_UpdateUserHierarchyCommand = exports.de_UpdateTrafficDistributionCommand = exports.de_UpdateTaskTemplateCommand = exports.de_UpdateSecurityProfileCommand = exports.de_UpdateRuleCommand = exports.de_UpdateRoutingProfileQueuesCommand = exports.de_UpdateRoutingProfileNameCommand = exports.de_UpdateRoutingProfileDefaultOutboundQueueCommand = exports.de_UpdateRoutingProfileConcurrencyCommand = exports.de_UpdateRoutingProfileAgentAvailabilityTimerCommand = exports.de_UpdateQuickConnectNameCommand = exports.de_UpdateQuickConnectConfigCommand = exports.de_UpdateQueueStatusCommand = exports.de_UpdateQueueOutboundCallerConfigCommand = exports.de_UpdateQueueNameCommand = exports.de_UpdateQueueMaxContactsCommand = exports.de_UpdateQueueHoursOfOperationCommand = exports.de_UpdatePromptCommand = exports.de_UpdatePhoneNumberMetadataCommand = exports.de_UpdatePhoneNumberCommand = void 0;
3
+ exports.se_DeleteIntegrationAssociationCommand = exports.se_DeleteInstanceCommand = exports.se_DeleteHoursOfOperationCommand = exports.se_DeleteEvaluationFormCommand = exports.se_DeleteContactFlowModuleCommand = exports.se_DeleteContactFlowCommand = exports.se_DeleteContactEvaluationCommand = exports.se_DeactivateEvaluationFormCommand = exports.se_CreateVocabularyCommand = exports.se_CreateViewVersionCommand = exports.se_CreateViewCommand = exports.se_CreateUserHierarchyGroupCommand = exports.se_CreateUserCommand = exports.se_CreateUseCaseCommand = exports.se_CreateTrafficDistributionGroupCommand = exports.se_CreateTaskTemplateCommand = exports.se_CreateSecurityProfileCommand = exports.se_CreateRuleCommand = exports.se_CreateRoutingProfileCommand = exports.se_CreateQuickConnectCommand = exports.se_CreateQueueCommand = exports.se_CreatePromptCommand = exports.se_CreatePersistentContactAssociationCommand = exports.se_CreateParticipantCommand = exports.se_CreateIntegrationAssociationCommand = exports.se_CreateInstanceCommand = exports.se_CreateHoursOfOperationCommand = exports.se_CreateEvaluationFormCommand = exports.se_CreateContactFlowModuleCommand = exports.se_CreateContactFlowCommand = exports.se_CreateAgentStatusCommand = exports.se_ClaimPhoneNumberCommand = exports.se_BatchPutContactCommand = exports.se_BatchGetFlowAssociationCommand = exports.se_BatchDisassociateAnalyticsDataSetCommand = exports.se_BatchAssociateAnalyticsDataSetCommand = exports.se_AssociateTrafficDistributionGroupUserCommand = exports.se_AssociateSecurityKeyCommand = exports.se_AssociateRoutingProfileQueuesCommand = exports.se_AssociateQueueQuickConnectsCommand = exports.se_AssociatePhoneNumberContactFlowCommand = exports.se_AssociateLexBotCommand = exports.se_AssociateLambdaFunctionCommand = exports.se_AssociateInstanceStorageConfigCommand = exports.se_AssociateFlowCommand = exports.se_AssociateDefaultVocabularyCommand = exports.se_AssociateBotCommand = exports.se_AssociateApprovedOriginCommand = exports.se_AssociateAnalyticsDataSetCommand = exports.se_ActivateEvaluationFormCommand = void 0;
4
+ exports.se_DismissUserContactCommand = exports.se_DisassociateTrafficDistributionGroupUserCommand = exports.se_DisassociateSecurityKeyCommand = exports.se_DisassociateRoutingProfileQueuesCommand = exports.se_DisassociateQueueQuickConnectsCommand = exports.se_DisassociatePhoneNumberContactFlowCommand = exports.se_DisassociateLexBotCommand = exports.se_DisassociateLambdaFunctionCommand = exports.se_DisassociateInstanceStorageConfigCommand = exports.se_DisassociateFlowCommand = exports.se_DisassociateBotCommand = exports.se_DisassociateApprovedOriginCommand = exports.se_DisassociateAnalyticsDataSetCommand = exports.se_DescribeVocabularyCommand = exports.se_DescribeViewCommand = exports.se_DescribeUserHierarchyStructureCommand = exports.se_DescribeUserHierarchyGroupCommand = exports.se_DescribeUserCommand = exports.se_DescribeTrafficDistributionGroupCommand = exports.se_DescribeSecurityProfileCommand = exports.se_DescribeRuleCommand = exports.se_DescribeRoutingProfileCommand = exports.se_DescribeQuickConnectCommand = exports.se_DescribeQueueCommand = exports.se_DescribePromptCommand = exports.se_DescribePhoneNumberCommand = exports.se_DescribeInstanceStorageConfigCommand = exports.se_DescribeInstanceAttributeCommand = exports.se_DescribeInstanceCommand = exports.se_DescribeHoursOfOperationCommand = exports.se_DescribeEvaluationFormCommand = exports.se_DescribeContactFlowModuleCommand = exports.se_DescribeContactFlowCommand = exports.se_DescribeContactEvaluationCommand = exports.se_DescribeContactCommand = exports.se_DescribeAgentStatusCommand = exports.se_DeleteVocabularyCommand = exports.se_DeleteViewVersionCommand = exports.se_DeleteViewCommand = exports.se_DeleteUserHierarchyGroupCommand = exports.se_DeleteUserCommand = exports.se_DeleteUseCaseCommand = exports.se_DeleteTrafficDistributionGroupCommand = exports.se_DeleteTaskTemplateCommand = exports.se_DeleteSecurityProfileCommand = exports.se_DeleteRuleCommand = exports.se_DeleteRoutingProfileCommand = exports.se_DeleteQuickConnectCommand = exports.se_DeleteQueueCommand = exports.se_DeletePromptCommand = void 0;
5
+ exports.se_ListUserHierarchyGroupsCommand = exports.se_ListUseCasesCommand = exports.se_ListTrafficDistributionGroupUsersCommand = exports.se_ListTrafficDistributionGroupsCommand = exports.se_ListTaskTemplatesCommand = exports.se_ListTagsForResourceCommand = exports.se_ListSecurityProfilesCommand = exports.se_ListSecurityProfilePermissionsCommand = exports.se_ListSecurityProfileApplicationsCommand = exports.se_ListSecurityKeysCommand = exports.se_ListRulesCommand = exports.se_ListRoutingProfilesCommand = exports.se_ListRoutingProfileQueuesCommand = exports.se_ListRealtimeContactAnalysisSegmentsV2Command = exports.se_ListQuickConnectsCommand = exports.se_ListQueuesCommand = exports.se_ListQueueQuickConnectsCommand = exports.se_ListPromptsCommand = exports.se_ListPhoneNumbersV2Command = exports.se_ListPhoneNumbersCommand = exports.se_ListLexBotsCommand = exports.se_ListLambdaFunctionsCommand = exports.se_ListIntegrationAssociationsCommand = exports.se_ListInstanceStorageConfigsCommand = exports.se_ListInstancesCommand = exports.se_ListInstanceAttributesCommand = exports.se_ListHoursOfOperationsCommand = exports.se_ListFlowAssociationsCommand = exports.se_ListEvaluationFormVersionsCommand = exports.se_ListEvaluationFormsCommand = exports.se_ListDefaultVocabulariesCommand = exports.se_ListContactReferencesCommand = exports.se_ListContactFlowsCommand = exports.se_ListContactFlowModulesCommand = exports.se_ListContactEvaluationsCommand = exports.se_ListBotsCommand = exports.se_ListApprovedOriginsCommand = exports.se_ListAnalyticsDataAssociationsCommand = exports.se_ListAgentStatusesCommand = exports.se_ImportPhoneNumberCommand = exports.se_GetTrafficDistributionCommand = exports.se_GetTaskTemplateCommand = exports.se_GetPromptFileCommand = exports.se_GetMetricDataV2Command = exports.se_GetMetricDataCommand = exports.se_GetFlowAssociationCommand = exports.se_GetFederationTokenCommand = exports.se_GetCurrentUserDataCommand = exports.se_GetCurrentMetricDataCommand = exports.se_GetContactAttributesCommand = void 0;
6
+ exports.se_UpdatePhoneNumberCommand = exports.se_UpdateParticipantRoleConfigCommand = exports.se_UpdateInstanceStorageConfigCommand = exports.se_UpdateInstanceAttributeCommand = exports.se_UpdateHoursOfOperationCommand = exports.se_UpdateEvaluationFormCommand = exports.se_UpdateContactScheduleCommand = exports.se_UpdateContactFlowNameCommand = exports.se_UpdateContactFlowModuleMetadataCommand = exports.se_UpdateContactFlowModuleContentCommand = exports.se_UpdateContactFlowMetadataCommand = exports.se_UpdateContactFlowContentCommand = exports.se_UpdateContactEvaluationCommand = exports.se_UpdateContactAttributesCommand = exports.se_UpdateContactCommand = exports.se_UpdateAgentStatusCommand = exports.se_UntagResourceCommand = exports.se_TransferContactCommand = exports.se_TagResourceCommand = exports.se_SuspendContactRecordingCommand = exports.se_SubmitContactEvaluationCommand = exports.se_StopContactStreamingCommand = exports.se_StopContactRecordingCommand = exports.se_StopContactCommand = exports.se_StartWebRTCContactCommand = exports.se_StartTaskContactCommand = exports.se_StartOutboundVoiceContactCommand = exports.se_StartContactStreamingCommand = exports.se_StartContactRecordingCommand = exports.se_StartContactEvaluationCommand = exports.se_StartChatContactCommand = exports.se_SendChatIntegrationEventCommand = exports.se_SearchVocabulariesCommand = exports.se_SearchUsersCommand = exports.se_SearchSecurityProfilesCommand = exports.se_SearchRoutingProfilesCommand = exports.se_SearchResourceTagsCommand = exports.se_SearchQuickConnectsCommand = exports.se_SearchQueuesCommand = exports.se_SearchPromptsCommand = exports.se_SearchHoursOfOperationsCommand = exports.se_SearchAvailablePhoneNumbersCommand = exports.se_ResumeContactRecordingCommand = exports.se_ReplicateInstanceCommand = exports.se_ReleasePhoneNumberCommand = exports.se_PutUserStatusCommand = exports.se_MonitorContactCommand = exports.se_ListViewVersionsCommand = exports.se_ListViewsCommand = exports.se_ListUsersCommand = void 0;
7
+ exports.de_CreateEvaluationFormCommand = exports.de_CreateContactFlowModuleCommand = exports.de_CreateContactFlowCommand = exports.de_CreateAgentStatusCommand = exports.de_ClaimPhoneNumberCommand = exports.de_BatchPutContactCommand = exports.de_BatchGetFlowAssociationCommand = exports.de_BatchDisassociateAnalyticsDataSetCommand = exports.de_BatchAssociateAnalyticsDataSetCommand = exports.de_AssociateTrafficDistributionGroupUserCommand = exports.de_AssociateSecurityKeyCommand = exports.de_AssociateRoutingProfileQueuesCommand = exports.de_AssociateQueueQuickConnectsCommand = exports.de_AssociatePhoneNumberContactFlowCommand = exports.de_AssociateLexBotCommand = exports.de_AssociateLambdaFunctionCommand = exports.de_AssociateInstanceStorageConfigCommand = exports.de_AssociateFlowCommand = exports.de_AssociateDefaultVocabularyCommand = exports.de_AssociateBotCommand = exports.de_AssociateApprovedOriginCommand = exports.de_AssociateAnalyticsDataSetCommand = exports.de_ActivateEvaluationFormCommand = exports.se_UpdateViewMetadataCommand = exports.se_UpdateViewContentCommand = exports.se_UpdateUserSecurityProfilesCommand = exports.se_UpdateUserRoutingProfileCommand = exports.se_UpdateUserPhoneConfigCommand = exports.se_UpdateUserIdentityInfoCommand = exports.se_UpdateUserHierarchyStructureCommand = exports.se_UpdateUserHierarchyGroupNameCommand = exports.se_UpdateUserHierarchyCommand = exports.se_UpdateTrafficDistributionCommand = exports.se_UpdateTaskTemplateCommand = exports.se_UpdateSecurityProfileCommand = exports.se_UpdateRuleCommand = exports.se_UpdateRoutingProfileQueuesCommand = exports.se_UpdateRoutingProfileNameCommand = exports.se_UpdateRoutingProfileDefaultOutboundQueueCommand = exports.se_UpdateRoutingProfileConcurrencyCommand = exports.se_UpdateRoutingProfileAgentAvailabilityTimerCommand = exports.se_UpdateQuickConnectNameCommand = exports.se_UpdateQuickConnectConfigCommand = exports.se_UpdateQueueStatusCommand = exports.se_UpdateQueueOutboundCallerConfigCommand = exports.se_UpdateQueueNameCommand = exports.se_UpdateQueueMaxContactsCommand = exports.se_UpdateQueueHoursOfOperationCommand = exports.se_UpdatePromptCommand = exports.se_UpdatePhoneNumberMetadataCommand = void 0;
8
+ exports.de_DescribeInstanceAttributeCommand = exports.de_DescribeInstanceCommand = exports.de_DescribeHoursOfOperationCommand = exports.de_DescribeEvaluationFormCommand = exports.de_DescribeContactFlowModuleCommand = exports.de_DescribeContactFlowCommand = exports.de_DescribeContactEvaluationCommand = exports.de_DescribeContactCommand = exports.de_DescribeAgentStatusCommand = exports.de_DeleteVocabularyCommand = exports.de_DeleteViewVersionCommand = exports.de_DeleteViewCommand = exports.de_DeleteUserHierarchyGroupCommand = exports.de_DeleteUserCommand = exports.de_DeleteUseCaseCommand = exports.de_DeleteTrafficDistributionGroupCommand = exports.de_DeleteTaskTemplateCommand = exports.de_DeleteSecurityProfileCommand = exports.de_DeleteRuleCommand = exports.de_DeleteRoutingProfileCommand = exports.de_DeleteQuickConnectCommand = exports.de_DeleteQueueCommand = exports.de_DeletePromptCommand = exports.de_DeleteIntegrationAssociationCommand = exports.de_DeleteInstanceCommand = exports.de_DeleteHoursOfOperationCommand = exports.de_DeleteEvaluationFormCommand = exports.de_DeleteContactFlowModuleCommand = exports.de_DeleteContactFlowCommand = exports.de_DeleteContactEvaluationCommand = exports.de_DeactivateEvaluationFormCommand = exports.de_CreateVocabularyCommand = exports.de_CreateViewVersionCommand = exports.de_CreateViewCommand = exports.de_CreateUserHierarchyGroupCommand = exports.de_CreateUserCommand = exports.de_CreateUseCaseCommand = exports.de_CreateTrafficDistributionGroupCommand = exports.de_CreateTaskTemplateCommand = exports.de_CreateSecurityProfileCommand = exports.de_CreateRuleCommand = exports.de_CreateRoutingProfileCommand = exports.de_CreateQuickConnectCommand = exports.de_CreateQueueCommand = exports.de_CreatePromptCommand = exports.de_CreatePersistentContactAssociationCommand = exports.de_CreateParticipantCommand = exports.de_CreateIntegrationAssociationCommand = exports.de_CreateInstanceCommand = exports.de_CreateHoursOfOperationCommand = void 0;
9
+ exports.de_ListFlowAssociationsCommand = exports.de_ListEvaluationFormVersionsCommand = exports.de_ListEvaluationFormsCommand = exports.de_ListDefaultVocabulariesCommand = exports.de_ListContactReferencesCommand = exports.de_ListContactFlowsCommand = exports.de_ListContactFlowModulesCommand = exports.de_ListContactEvaluationsCommand = exports.de_ListBotsCommand = exports.de_ListApprovedOriginsCommand = exports.de_ListAnalyticsDataAssociationsCommand = exports.de_ListAgentStatusesCommand = exports.de_ImportPhoneNumberCommand = exports.de_GetTrafficDistributionCommand = exports.de_GetTaskTemplateCommand = exports.de_GetPromptFileCommand = exports.de_GetMetricDataV2Command = exports.de_GetMetricDataCommand = exports.de_GetFlowAssociationCommand = exports.de_GetFederationTokenCommand = exports.de_GetCurrentUserDataCommand = exports.de_GetCurrentMetricDataCommand = exports.de_GetContactAttributesCommand = exports.de_DismissUserContactCommand = exports.de_DisassociateTrafficDistributionGroupUserCommand = exports.de_DisassociateSecurityKeyCommand = exports.de_DisassociateRoutingProfileQueuesCommand = exports.de_DisassociateQueueQuickConnectsCommand = exports.de_DisassociatePhoneNumberContactFlowCommand = exports.de_DisassociateLexBotCommand = exports.de_DisassociateLambdaFunctionCommand = exports.de_DisassociateInstanceStorageConfigCommand = exports.de_DisassociateFlowCommand = exports.de_DisassociateBotCommand = exports.de_DisassociateApprovedOriginCommand = exports.de_DisassociateAnalyticsDataSetCommand = exports.de_DescribeVocabularyCommand = exports.de_DescribeViewCommand = exports.de_DescribeUserHierarchyStructureCommand = exports.de_DescribeUserHierarchyGroupCommand = exports.de_DescribeUserCommand = exports.de_DescribeTrafficDistributionGroupCommand = exports.de_DescribeSecurityProfileCommand = exports.de_DescribeRuleCommand = exports.de_DescribeRoutingProfileCommand = exports.de_DescribeQuickConnectCommand = exports.de_DescribeQueueCommand = exports.de_DescribePromptCommand = exports.de_DescribePhoneNumberCommand = exports.de_DescribeInstanceStorageConfigCommand = void 0;
10
+ exports.de_StartContactStreamingCommand = exports.de_StartContactRecordingCommand = exports.de_StartContactEvaluationCommand = exports.de_StartChatContactCommand = exports.de_SendChatIntegrationEventCommand = exports.de_SearchVocabulariesCommand = exports.de_SearchUsersCommand = exports.de_SearchSecurityProfilesCommand = exports.de_SearchRoutingProfilesCommand = exports.de_SearchResourceTagsCommand = exports.de_SearchQuickConnectsCommand = exports.de_SearchQueuesCommand = exports.de_SearchPromptsCommand = exports.de_SearchHoursOfOperationsCommand = exports.de_SearchAvailablePhoneNumbersCommand = exports.de_ResumeContactRecordingCommand = exports.de_ReplicateInstanceCommand = exports.de_ReleasePhoneNumberCommand = exports.de_PutUserStatusCommand = exports.de_MonitorContactCommand = exports.de_ListViewVersionsCommand = exports.de_ListViewsCommand = exports.de_ListUsersCommand = exports.de_ListUserHierarchyGroupsCommand = exports.de_ListUseCasesCommand = exports.de_ListTrafficDistributionGroupUsersCommand = exports.de_ListTrafficDistributionGroupsCommand = exports.de_ListTaskTemplatesCommand = exports.de_ListTagsForResourceCommand = exports.de_ListSecurityProfilesCommand = exports.de_ListSecurityProfilePermissionsCommand = exports.de_ListSecurityProfileApplicationsCommand = exports.de_ListSecurityKeysCommand = exports.de_ListRulesCommand = exports.de_ListRoutingProfilesCommand = exports.de_ListRoutingProfileQueuesCommand = exports.de_ListRealtimeContactAnalysisSegmentsV2Command = exports.de_ListQuickConnectsCommand = exports.de_ListQueuesCommand = exports.de_ListQueueQuickConnectsCommand = exports.de_ListPromptsCommand = exports.de_ListPhoneNumbersV2Command = exports.de_ListPhoneNumbersCommand = exports.de_ListLexBotsCommand = exports.de_ListLambdaFunctionsCommand = exports.de_ListIntegrationAssociationsCommand = exports.de_ListInstanceStorageConfigsCommand = exports.de_ListInstancesCommand = exports.de_ListInstanceAttributesCommand = exports.de_ListHoursOfOperationsCommand = void 0;
11
+ exports.de_UpdateUserPhoneConfigCommand = exports.de_UpdateUserIdentityInfoCommand = exports.de_UpdateUserHierarchyStructureCommand = exports.de_UpdateUserHierarchyGroupNameCommand = exports.de_UpdateUserHierarchyCommand = exports.de_UpdateTrafficDistributionCommand = exports.de_UpdateTaskTemplateCommand = exports.de_UpdateSecurityProfileCommand = exports.de_UpdateRuleCommand = exports.de_UpdateRoutingProfileQueuesCommand = exports.de_UpdateRoutingProfileNameCommand = exports.de_UpdateRoutingProfileDefaultOutboundQueueCommand = exports.de_UpdateRoutingProfileConcurrencyCommand = exports.de_UpdateRoutingProfileAgentAvailabilityTimerCommand = exports.de_UpdateQuickConnectNameCommand = exports.de_UpdateQuickConnectConfigCommand = exports.de_UpdateQueueStatusCommand = exports.de_UpdateQueueOutboundCallerConfigCommand = exports.de_UpdateQueueNameCommand = exports.de_UpdateQueueMaxContactsCommand = exports.de_UpdateQueueHoursOfOperationCommand = exports.de_UpdatePromptCommand = exports.de_UpdatePhoneNumberMetadataCommand = exports.de_UpdatePhoneNumberCommand = exports.de_UpdateParticipantRoleConfigCommand = exports.de_UpdateInstanceStorageConfigCommand = exports.de_UpdateInstanceAttributeCommand = exports.de_UpdateHoursOfOperationCommand = exports.de_UpdateEvaluationFormCommand = exports.de_UpdateContactScheduleCommand = exports.de_UpdateContactFlowNameCommand = exports.de_UpdateContactFlowModuleMetadataCommand = exports.de_UpdateContactFlowModuleContentCommand = exports.de_UpdateContactFlowMetadataCommand = exports.de_UpdateContactFlowContentCommand = exports.de_UpdateContactEvaluationCommand = exports.de_UpdateContactAttributesCommand = exports.de_UpdateContactCommand = exports.de_UpdateAgentStatusCommand = exports.de_UntagResourceCommand = exports.de_TransferContactCommand = exports.de_TagResourceCommand = exports.de_SuspendContactRecordingCommand = exports.de_SubmitContactEvaluationCommand = exports.de_StopContactStreamingCommand = exports.de_StopContactRecordingCommand = exports.de_StopContactCommand = exports.de_StartWebRTCContactCommand = exports.de_StartTaskContactCommand = exports.de_StartOutboundVoiceContactCommand = void 0;
12
+ exports.de_UpdateViewMetadataCommand = exports.de_UpdateViewContentCommand = exports.de_UpdateUserSecurityProfilesCommand = exports.de_UpdateUserRoutingProfileCommand = void 0;
12
13
  const core_1 = require("@aws-sdk/core");
13
14
  const protocol_http_1 = require("@smithy/protocol-http");
14
15
  const smithy_client_1 = require("@smithy/smithy-client");
@@ -41,6 +42,30 @@ const se_ActivateEvaluationFormCommand = async (input, context) => {
41
42
  });
42
43
  };
43
44
  exports.se_ActivateEvaluationFormCommand = se_ActivateEvaluationFormCommand;
45
+ const se_AssociateAnalyticsDataSetCommand = async (input, context) => {
46
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
47
+ const headers = {
48
+ "content-type": "application/json",
49
+ };
50
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
51
+ "/analytics-data/instance/{InstanceId}/association";
52
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "InstanceId", () => input.InstanceId, "{InstanceId}", false);
53
+ let body;
54
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
55
+ DataSetId: [],
56
+ TargetAccountId: [],
57
+ }));
58
+ return new protocol_http_1.HttpRequest({
59
+ protocol,
60
+ hostname,
61
+ port,
62
+ method: "PUT",
63
+ headers,
64
+ path: resolvedPath,
65
+ body,
66
+ });
67
+ };
68
+ exports.se_AssociateAnalyticsDataSetCommand = se_AssociateAnalyticsDataSetCommand;
44
69
  const se_AssociateApprovedOriginCommand = async (input, context) => {
45
70
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
46
71
  const headers = {
@@ -110,6 +135,30 @@ const se_AssociateDefaultVocabularyCommand = async (input, context) => {
110
135
  });
111
136
  };
112
137
  exports.se_AssociateDefaultVocabularyCommand = se_AssociateDefaultVocabularyCommand;
138
+ const se_AssociateFlowCommand = async (input, context) => {
139
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
140
+ const headers = {
141
+ "content-type": "application/json",
142
+ };
143
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/flow-associations/{InstanceId}";
144
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "InstanceId", () => input.InstanceId, "{InstanceId}", false);
145
+ let body;
146
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
147
+ FlowId: [],
148
+ ResourceId: [],
149
+ ResourceType: [],
150
+ }));
151
+ return new protocol_http_1.HttpRequest({
152
+ protocol,
153
+ hostname,
154
+ port,
155
+ method: "PUT",
156
+ headers,
157
+ path: resolvedPath,
158
+ body,
159
+ });
160
+ };
161
+ exports.se_AssociateFlowCommand = se_AssociateFlowCommand;
113
162
  const se_AssociateInstanceStorageConfigCommand = async (input, context) => {
114
163
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
115
164
  const headers = {
@@ -295,6 +344,54 @@ const se_AssociateTrafficDistributionGroupUserCommand = async (input, context) =
295
344
  });
296
345
  };
297
346
  exports.se_AssociateTrafficDistributionGroupUserCommand = se_AssociateTrafficDistributionGroupUserCommand;
347
+ const se_BatchAssociateAnalyticsDataSetCommand = async (input, context) => {
348
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
349
+ const headers = {
350
+ "content-type": "application/json",
351
+ };
352
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
353
+ "/analytics-data/instance/{InstanceId}/associations";
354
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "InstanceId", () => input.InstanceId, "{InstanceId}", false);
355
+ let body;
356
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
357
+ DataSetIds: (_) => (0, smithy_client_1._json)(_),
358
+ TargetAccountId: [],
359
+ }));
360
+ return new protocol_http_1.HttpRequest({
361
+ protocol,
362
+ hostname,
363
+ port,
364
+ method: "PUT",
365
+ headers,
366
+ path: resolvedPath,
367
+ body,
368
+ });
369
+ };
370
+ exports.se_BatchAssociateAnalyticsDataSetCommand = se_BatchAssociateAnalyticsDataSetCommand;
371
+ const se_BatchDisassociateAnalyticsDataSetCommand = async (input, context) => {
372
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
373
+ const headers = {
374
+ "content-type": "application/json",
375
+ };
376
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
377
+ "/analytics-data/instance/{InstanceId}/associations";
378
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "InstanceId", () => input.InstanceId, "{InstanceId}", false);
379
+ let body;
380
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
381
+ DataSetIds: (_) => (0, smithy_client_1._json)(_),
382
+ TargetAccountId: [],
383
+ }));
384
+ return new protocol_http_1.HttpRequest({
385
+ protocol,
386
+ hostname,
387
+ port,
388
+ method: "POST",
389
+ headers,
390
+ path: resolvedPath,
391
+ body,
392
+ });
393
+ };
394
+ exports.se_BatchDisassociateAnalyticsDataSetCommand = se_BatchDisassociateAnalyticsDataSetCommand;
298
395
  const se_BatchGetFlowAssociationCommand = async (input, context) => {
299
396
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
300
397
  const headers = {
@@ -1824,6 +1921,30 @@ const se_DescribeVocabularyCommand = async (input, context) => {
1824
1921
  });
1825
1922
  };
1826
1923
  exports.se_DescribeVocabularyCommand = se_DescribeVocabularyCommand;
1924
+ const se_DisassociateAnalyticsDataSetCommand = async (input, context) => {
1925
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1926
+ const headers = {
1927
+ "content-type": "application/json",
1928
+ };
1929
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
1930
+ "/analytics-data/instance/{InstanceId}/association";
1931
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "InstanceId", () => input.InstanceId, "{InstanceId}", false);
1932
+ let body;
1933
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
1934
+ DataSetId: [],
1935
+ TargetAccountId: [],
1936
+ }));
1937
+ return new protocol_http_1.HttpRequest({
1938
+ protocol,
1939
+ hostname,
1940
+ port,
1941
+ method: "POST",
1942
+ headers,
1943
+ path: resolvedPath,
1944
+ body,
1945
+ });
1946
+ };
1947
+ exports.se_DisassociateAnalyticsDataSetCommand = se_DisassociateAnalyticsDataSetCommand;
1827
1948
  const se_DisassociateApprovedOriginCommand = async (input, context) => {
1828
1949
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1829
1950
  const headers = {};
@@ -1868,6 +1989,26 @@ const se_DisassociateBotCommand = async (input, context) => {
1868
1989
  });
1869
1990
  };
1870
1991
  exports.se_DisassociateBotCommand = se_DisassociateBotCommand;
1992
+ const se_DisassociateFlowCommand = async (input, context) => {
1993
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1994
+ const headers = {};
1995
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
1996
+ "/flow-associations/{InstanceId}/{ResourceId}/{ResourceType}";
1997
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "InstanceId", () => input.InstanceId, "{InstanceId}", false);
1998
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceId", () => input.ResourceId, "{ResourceId}", false);
1999
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceType", () => input.ResourceType, "{ResourceType}", false);
2000
+ let body;
2001
+ return new protocol_http_1.HttpRequest({
2002
+ protocol,
2003
+ hostname,
2004
+ port,
2005
+ method: "DELETE",
2006
+ headers,
2007
+ path: resolvedPath,
2008
+ body,
2009
+ });
2010
+ };
2011
+ exports.se_DisassociateFlowCommand = se_DisassociateFlowCommand;
1871
2012
  const se_DisassociateInstanceStorageConfigCommand = async (input, context) => {
1872
2013
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1873
2014
  const headers = {};
@@ -2156,6 +2297,26 @@ const se_GetFederationTokenCommand = async (input, context) => {
2156
2297
  });
2157
2298
  };
2158
2299
  exports.se_GetFederationTokenCommand = se_GetFederationTokenCommand;
2300
+ const se_GetFlowAssociationCommand = async (input, context) => {
2301
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
2302
+ const headers = {};
2303
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
2304
+ "/flow-associations/{InstanceId}/{ResourceId}/{ResourceType}";
2305
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "InstanceId", () => input.InstanceId, "{InstanceId}", false);
2306
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceId", () => input.ResourceId, "{ResourceId}", false);
2307
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceType", () => input.ResourceType, "{ResourceType}", false);
2308
+ let body;
2309
+ return new protocol_http_1.HttpRequest({
2310
+ protocol,
2311
+ hostname,
2312
+ port,
2313
+ method: "GET",
2314
+ headers,
2315
+ path: resolvedPath,
2316
+ body,
2317
+ });
2318
+ };
2319
+ exports.se_GetFlowAssociationCommand = se_GetFlowAssociationCommand;
2159
2320
  const se_GetMetricDataCommand = async (input, context) => {
2160
2321
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
2161
2322
  const headers = {
@@ -2271,6 +2432,31 @@ const se_GetTrafficDistributionCommand = async (input, context) => {
2271
2432
  });
2272
2433
  };
2273
2434
  exports.se_GetTrafficDistributionCommand = se_GetTrafficDistributionCommand;
2435
+ const se_ImportPhoneNumberCommand = async (input, context) => {
2436
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
2437
+ const headers = {
2438
+ "content-type": "application/json",
2439
+ };
2440
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/phone-number/import";
2441
+ let body;
2442
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
2443
+ ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
2444
+ InstanceId: [],
2445
+ PhoneNumberDescription: [],
2446
+ SourcePhoneNumberArn: [],
2447
+ Tags: (_) => (0, smithy_client_1._json)(_),
2448
+ }));
2449
+ return new protocol_http_1.HttpRequest({
2450
+ protocol,
2451
+ hostname,
2452
+ port,
2453
+ method: "POST",
2454
+ headers,
2455
+ path: resolvedPath,
2456
+ body,
2457
+ });
2458
+ };
2459
+ exports.se_ImportPhoneNumberCommand = se_ImportPhoneNumberCommand;
2274
2460
  const se_ListAgentStatusesCommand = async (input, context) => {
2275
2461
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
2276
2462
  const headers = {};
@@ -2297,6 +2483,30 @@ const se_ListAgentStatusesCommand = async (input, context) => {
2297
2483
  });
2298
2484
  };
2299
2485
  exports.se_ListAgentStatusesCommand = se_ListAgentStatusesCommand;
2486
+ const se_ListAnalyticsDataAssociationsCommand = async (input, context) => {
2487
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
2488
+ const headers = {};
2489
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
2490
+ "/analytics-data/instance/{InstanceId}/association";
2491
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "InstanceId", () => input.InstanceId, "{InstanceId}", false);
2492
+ const query = (0, smithy_client_1.map)({
2493
+ DataSetId: [, input.DataSetId],
2494
+ nextToken: [, input.NextToken],
2495
+ maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
2496
+ });
2497
+ let body;
2498
+ return new protocol_http_1.HttpRequest({
2499
+ protocol,
2500
+ hostname,
2501
+ port,
2502
+ method: "GET",
2503
+ headers,
2504
+ path: resolvedPath,
2505
+ query,
2506
+ body,
2507
+ });
2508
+ };
2509
+ exports.se_ListAnalyticsDataAssociationsCommand = se_ListAnalyticsDataAssociationsCommand;
2300
2510
  const se_ListApprovedOriginsCommand = async (input, context) => {
2301
2511
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
2302
2512
  const headers = {};
@@ -2511,6 +2721,29 @@ const se_ListEvaluationFormVersionsCommand = async (input, context) => {
2511
2721
  });
2512
2722
  };
2513
2723
  exports.se_ListEvaluationFormVersionsCommand = se_ListEvaluationFormVersionsCommand;
2724
+ const se_ListFlowAssociationsCommand = async (input, context) => {
2725
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
2726
+ const headers = {};
2727
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/flow-associations-summary/{InstanceId}";
2728
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "InstanceId", () => input.InstanceId, "{InstanceId}", false);
2729
+ const query = (0, smithy_client_1.map)({
2730
+ ResourceType: [, input.ResourceType],
2731
+ nextToken: [, input.NextToken],
2732
+ maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
2733
+ });
2734
+ let body;
2735
+ return new protocol_http_1.HttpRequest({
2736
+ protocol,
2737
+ hostname,
2738
+ port,
2739
+ method: "GET",
2740
+ headers,
2741
+ path: resolvedPath,
2742
+ query,
2743
+ body,
2744
+ });
2745
+ };
2746
+ exports.se_ListFlowAssociationsCommand = se_ListFlowAssociationsCommand;
2514
2747
  const se_ListHoursOfOperationsCommand = async (input, context) => {
2515
2748
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
2516
2749
  const headers = {};
@@ -2820,6 +3053,33 @@ const se_ListQuickConnectsCommand = async (input, context) => {
2820
3053
  });
2821
3054
  };
2822
3055
  exports.se_ListQuickConnectsCommand = se_ListQuickConnectsCommand;
3056
+ const se_ListRealtimeContactAnalysisSegmentsV2Command = async (input, context) => {
3057
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3058
+ const headers = {
3059
+ "content-type": "application/json",
3060
+ };
3061
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
3062
+ "/contact/list-real-time-analysis-segments-v2/{InstanceId}/{ContactId}";
3063
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "InstanceId", () => input.InstanceId, "{InstanceId}", false);
3064
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ContactId", () => input.ContactId, "{ContactId}", false);
3065
+ let body;
3066
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
3067
+ MaxResults: [],
3068
+ NextToken: [],
3069
+ OutputType: [],
3070
+ SegmentTypes: (_) => (0, smithy_client_1._json)(_),
3071
+ }));
3072
+ return new protocol_http_1.HttpRequest({
3073
+ protocol,
3074
+ hostname,
3075
+ port,
3076
+ method: "POST",
3077
+ headers,
3078
+ path: resolvedPath,
3079
+ body,
3080
+ });
3081
+ };
3082
+ exports.se_ListRealtimeContactAnalysisSegmentsV2Command = se_ListRealtimeContactAnalysisSegmentsV2Command;
2823
3083
  const se_ListRoutingProfileQueuesCommand = async (input, context) => {
2824
3084
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
2825
3085
  const headers = {};
@@ -3552,6 +3812,31 @@ const se_SearchVocabulariesCommand = async (input, context) => {
3552
3812
  });
3553
3813
  };
3554
3814
  exports.se_SearchVocabulariesCommand = se_SearchVocabulariesCommand;
3815
+ const se_SendChatIntegrationEventCommand = async (input, context) => {
3816
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3817
+ const headers = {
3818
+ "content-type": "application/json",
3819
+ };
3820
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/chat-integration-event";
3821
+ let body;
3822
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
3823
+ DestinationId: [],
3824
+ Event: (_) => (0, smithy_client_1._json)(_),
3825
+ NewSessionDetails: (_) => (0, smithy_client_1._json)(_),
3826
+ SourceId: [],
3827
+ Subtype: [],
3828
+ }));
3829
+ return new protocol_http_1.HttpRequest({
3830
+ protocol,
3831
+ hostname,
3832
+ port,
3833
+ method: "POST",
3834
+ headers,
3835
+ path: resolvedPath,
3836
+ body,
3837
+ });
3838
+ };
3839
+ exports.se_SendChatIntegrationEventCommand = se_SendChatIntegrationEventCommand;
3555
3840
  const se_StartChatContactCommand = async (input, context) => {
3556
3841
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3557
3842
  const headers = {
@@ -3717,6 +4002,35 @@ const se_StartTaskContactCommand = async (input, context) => {
3717
4002
  });
3718
4003
  };
3719
4004
  exports.se_StartTaskContactCommand = se_StartTaskContactCommand;
4005
+ const se_StartWebRTCContactCommand = async (input, context) => {
4006
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
4007
+ const headers = {
4008
+ "content-type": "application/json",
4009
+ };
4010
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/contact/webrtc";
4011
+ let body;
4012
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
4013
+ AllowedCapabilities: (_) => (0, smithy_client_1._json)(_),
4014
+ Attributes: (_) => (0, smithy_client_1._json)(_),
4015
+ ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
4016
+ ContactFlowId: [],
4017
+ Description: [],
4018
+ InstanceId: [],
4019
+ ParticipantDetails: (_) => (0, smithy_client_1._json)(_),
4020
+ References: (_) => (0, smithy_client_1._json)(_),
4021
+ RelatedContactId: [],
4022
+ }));
4023
+ return new protocol_http_1.HttpRequest({
4024
+ protocol,
4025
+ hostname,
4026
+ port,
4027
+ method: "PUT",
4028
+ headers,
4029
+ path: resolvedPath,
4030
+ body,
4031
+ });
4032
+ };
4033
+ exports.se_StartWebRTCContactCommand = se_StartWebRTCContactCommand;
3720
4034
  const se_StopContactCommand = async (input, context) => {
3721
4035
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3722
4036
  const headers = {
@@ -5017,14 +5331,63 @@ const de_ActivateEvaluationFormCommandError = async (output, context) => {
5017
5331
  });
5018
5332
  }
5019
5333
  };
5020
- const de_AssociateApprovedOriginCommand = async (output, context) => {
5334
+ const de_AssociateAnalyticsDataSetCommand = async (output, context) => {
5021
5335
  if (output.statusCode !== 200 && output.statusCode >= 300) {
5022
- return de_AssociateApprovedOriginCommandError(output, context);
5336
+ return de_AssociateAnalyticsDataSetCommandError(output, context);
5023
5337
  }
5024
5338
  const contents = (0, smithy_client_1.map)({
5025
5339
  $metadata: deserializeMetadata(output),
5026
5340
  });
5027
- await (0, smithy_client_1.collectBody)(output.body, context);
5341
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5342
+ const doc = (0, smithy_client_1.take)(data, {
5343
+ DataSetId: smithy_client_1.expectString,
5344
+ ResourceShareArn: smithy_client_1.expectString,
5345
+ ResourceShareId: smithy_client_1.expectString,
5346
+ TargetAccountId: smithy_client_1.expectString,
5347
+ });
5348
+ Object.assign(contents, doc);
5349
+ return contents;
5350
+ };
5351
+ exports.de_AssociateAnalyticsDataSetCommand = de_AssociateAnalyticsDataSetCommand;
5352
+ const de_AssociateAnalyticsDataSetCommandError = async (output, context) => {
5353
+ const parsedOutput = {
5354
+ ...output,
5355
+ body: await parseErrorBody(output.body, context),
5356
+ };
5357
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
5358
+ switch (errorCode) {
5359
+ case "InternalServiceException":
5360
+ case "com.amazonaws.connect#InternalServiceException":
5361
+ throw await de_InternalServiceExceptionRes(parsedOutput, context);
5362
+ case "InvalidParameterException":
5363
+ case "com.amazonaws.connect#InvalidParameterException":
5364
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
5365
+ case "InvalidRequestException":
5366
+ case "com.amazonaws.connect#InvalidRequestException":
5367
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
5368
+ case "ResourceNotFoundException":
5369
+ case "com.amazonaws.connect#ResourceNotFoundException":
5370
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
5371
+ case "ThrottlingException":
5372
+ case "com.amazonaws.connect#ThrottlingException":
5373
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
5374
+ default:
5375
+ const parsedBody = parsedOutput.body;
5376
+ return throwDefaultError({
5377
+ output,
5378
+ parsedBody,
5379
+ errorCode,
5380
+ });
5381
+ }
5382
+ };
5383
+ const de_AssociateApprovedOriginCommand = async (output, context) => {
5384
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
5385
+ return de_AssociateApprovedOriginCommandError(output, context);
5386
+ }
5387
+ const contents = (0, smithy_client_1.map)({
5388
+ $metadata: deserializeMetadata(output),
5389
+ });
5390
+ await (0, smithy_client_1.collectBody)(output.body, context);
5028
5391
  return contents;
5029
5392
  };
5030
5393
  exports.de_AssociateApprovedOriginCommand = de_AssociateApprovedOriginCommand;
@@ -5155,6 +5518,51 @@ const de_AssociateDefaultVocabularyCommandError = async (output, context) => {
5155
5518
  });
5156
5519
  }
5157
5520
  };
5521
+ const de_AssociateFlowCommand = async (output, context) => {
5522
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
5523
+ return de_AssociateFlowCommandError(output, context);
5524
+ }
5525
+ const contents = (0, smithy_client_1.map)({
5526
+ $metadata: deserializeMetadata(output),
5527
+ });
5528
+ await (0, smithy_client_1.collectBody)(output.body, context);
5529
+ return contents;
5530
+ };
5531
+ exports.de_AssociateFlowCommand = de_AssociateFlowCommand;
5532
+ const de_AssociateFlowCommandError = async (output, context) => {
5533
+ const parsedOutput = {
5534
+ ...output,
5535
+ body: await parseErrorBody(output.body, context),
5536
+ };
5537
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
5538
+ switch (errorCode) {
5539
+ case "AccessDeniedException":
5540
+ case "com.amazonaws.connect#AccessDeniedException":
5541
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
5542
+ case "InternalServiceException":
5543
+ case "com.amazonaws.connect#InternalServiceException":
5544
+ throw await de_InternalServiceExceptionRes(parsedOutput, context);
5545
+ case "InvalidParameterException":
5546
+ case "com.amazonaws.connect#InvalidParameterException":
5547
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
5548
+ case "InvalidRequestException":
5549
+ case "com.amazonaws.connect#InvalidRequestException":
5550
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
5551
+ case "ResourceNotFoundException":
5552
+ case "com.amazonaws.connect#ResourceNotFoundException":
5553
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
5554
+ case "ThrottlingException":
5555
+ case "com.amazonaws.connect#ThrottlingException":
5556
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
5557
+ default:
5558
+ const parsedBody = parsedOutput.body;
5559
+ return throwDefaultError({
5560
+ output,
5561
+ parsedBody,
5562
+ errorCode,
5563
+ });
5564
+ }
5565
+ };
5158
5566
  const de_AssociateInstanceStorageConfigCommand = async (output, context) => {
5159
5567
  if (output.statusCode !== 200 && output.statusCode >= 300) {
5160
5568
  return de_AssociateInstanceStorageConfigCommandError(output, context);
@@ -5526,6 +5934,100 @@ const de_AssociateTrafficDistributionGroupUserCommandError = async (output, cont
5526
5934
  });
5527
5935
  }
5528
5936
  };
5937
+ const de_BatchAssociateAnalyticsDataSetCommand = async (output, context) => {
5938
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
5939
+ return de_BatchAssociateAnalyticsDataSetCommandError(output, context);
5940
+ }
5941
+ const contents = (0, smithy_client_1.map)({
5942
+ $metadata: deserializeMetadata(output),
5943
+ });
5944
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5945
+ const doc = (0, smithy_client_1.take)(data, {
5946
+ Created: smithy_client_1._json,
5947
+ Errors: smithy_client_1._json,
5948
+ });
5949
+ Object.assign(contents, doc);
5950
+ return contents;
5951
+ };
5952
+ exports.de_BatchAssociateAnalyticsDataSetCommand = de_BatchAssociateAnalyticsDataSetCommand;
5953
+ const de_BatchAssociateAnalyticsDataSetCommandError = async (output, context) => {
5954
+ const parsedOutput = {
5955
+ ...output,
5956
+ body: await parseErrorBody(output.body, context),
5957
+ };
5958
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
5959
+ switch (errorCode) {
5960
+ case "InternalServiceException":
5961
+ case "com.amazonaws.connect#InternalServiceException":
5962
+ throw await de_InternalServiceExceptionRes(parsedOutput, context);
5963
+ case "InvalidParameterException":
5964
+ case "com.amazonaws.connect#InvalidParameterException":
5965
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
5966
+ case "InvalidRequestException":
5967
+ case "com.amazonaws.connect#InvalidRequestException":
5968
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
5969
+ case "ResourceNotFoundException":
5970
+ case "com.amazonaws.connect#ResourceNotFoundException":
5971
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
5972
+ case "ThrottlingException":
5973
+ case "com.amazonaws.connect#ThrottlingException":
5974
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
5975
+ default:
5976
+ const parsedBody = parsedOutput.body;
5977
+ return throwDefaultError({
5978
+ output,
5979
+ parsedBody,
5980
+ errorCode,
5981
+ });
5982
+ }
5983
+ };
5984
+ const de_BatchDisassociateAnalyticsDataSetCommand = async (output, context) => {
5985
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
5986
+ return de_BatchDisassociateAnalyticsDataSetCommandError(output, context);
5987
+ }
5988
+ const contents = (0, smithy_client_1.map)({
5989
+ $metadata: deserializeMetadata(output),
5990
+ });
5991
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5992
+ const doc = (0, smithy_client_1.take)(data, {
5993
+ Deleted: smithy_client_1._json,
5994
+ Errors: smithy_client_1._json,
5995
+ });
5996
+ Object.assign(contents, doc);
5997
+ return contents;
5998
+ };
5999
+ exports.de_BatchDisassociateAnalyticsDataSetCommand = de_BatchDisassociateAnalyticsDataSetCommand;
6000
+ const de_BatchDisassociateAnalyticsDataSetCommandError = async (output, context) => {
6001
+ const parsedOutput = {
6002
+ ...output,
6003
+ body: await parseErrorBody(output.body, context),
6004
+ };
6005
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
6006
+ switch (errorCode) {
6007
+ case "InternalServiceException":
6008
+ case "com.amazonaws.connect#InternalServiceException":
6009
+ throw await de_InternalServiceExceptionRes(parsedOutput, context);
6010
+ case "InvalidParameterException":
6011
+ case "com.amazonaws.connect#InvalidParameterException":
6012
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
6013
+ case "InvalidRequestException":
6014
+ case "com.amazonaws.connect#InvalidRequestException":
6015
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
6016
+ case "ResourceNotFoundException":
6017
+ case "com.amazonaws.connect#ResourceNotFoundException":
6018
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
6019
+ case "ThrottlingException":
6020
+ case "com.amazonaws.connect#ThrottlingException":
6021
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
6022
+ default:
6023
+ const parsedBody = parsedOutput.body;
6024
+ return throwDefaultError({
6025
+ output,
6026
+ parsedBody,
6027
+ errorCode,
6028
+ });
6029
+ }
6030
+ };
5529
6031
  const de_BatchGetFlowAssociationCommand = async (output, context) => {
5530
6032
  if (output.statusCode !== 200 && output.statusCode >= 300) {
5531
6033
  return de_BatchGetFlowAssociationCommandError(output, context);
@@ -8896,6 +9398,48 @@ const de_DescribeVocabularyCommandError = async (output, context) => {
8896
9398
  });
8897
9399
  }
8898
9400
  };
9401
+ const de_DisassociateAnalyticsDataSetCommand = async (output, context) => {
9402
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
9403
+ return de_DisassociateAnalyticsDataSetCommandError(output, context);
9404
+ }
9405
+ const contents = (0, smithy_client_1.map)({
9406
+ $metadata: deserializeMetadata(output),
9407
+ });
9408
+ await (0, smithy_client_1.collectBody)(output.body, context);
9409
+ return contents;
9410
+ };
9411
+ exports.de_DisassociateAnalyticsDataSetCommand = de_DisassociateAnalyticsDataSetCommand;
9412
+ const de_DisassociateAnalyticsDataSetCommandError = async (output, context) => {
9413
+ const parsedOutput = {
9414
+ ...output,
9415
+ body: await parseErrorBody(output.body, context),
9416
+ };
9417
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
9418
+ switch (errorCode) {
9419
+ case "InternalServiceException":
9420
+ case "com.amazonaws.connect#InternalServiceException":
9421
+ throw await de_InternalServiceExceptionRes(parsedOutput, context);
9422
+ case "InvalidParameterException":
9423
+ case "com.amazonaws.connect#InvalidParameterException":
9424
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
9425
+ case "InvalidRequestException":
9426
+ case "com.amazonaws.connect#InvalidRequestException":
9427
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
9428
+ case "ResourceNotFoundException":
9429
+ case "com.amazonaws.connect#ResourceNotFoundException":
9430
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
9431
+ case "ThrottlingException":
9432
+ case "com.amazonaws.connect#ThrottlingException":
9433
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
9434
+ default:
9435
+ const parsedBody = parsedOutput.body;
9436
+ return throwDefaultError({
9437
+ output,
9438
+ parsedBody,
9439
+ errorCode,
9440
+ });
9441
+ }
9442
+ };
8899
9443
  const de_DisassociateApprovedOriginCommand = async (output, context) => {
8900
9444
  if (output.statusCode !== 200 && output.statusCode >= 300) {
8901
9445
  return de_DisassociateApprovedOriginCommandError(output, context);
@@ -8977,6 +9521,51 @@ const de_DisassociateBotCommandError = async (output, context) => {
8977
9521
  });
8978
9522
  }
8979
9523
  };
9524
+ const de_DisassociateFlowCommand = async (output, context) => {
9525
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
9526
+ return de_DisassociateFlowCommandError(output, context);
9527
+ }
9528
+ const contents = (0, smithy_client_1.map)({
9529
+ $metadata: deserializeMetadata(output),
9530
+ });
9531
+ await (0, smithy_client_1.collectBody)(output.body, context);
9532
+ return contents;
9533
+ };
9534
+ exports.de_DisassociateFlowCommand = de_DisassociateFlowCommand;
9535
+ const de_DisassociateFlowCommandError = async (output, context) => {
9536
+ const parsedOutput = {
9537
+ ...output,
9538
+ body: await parseErrorBody(output.body, context),
9539
+ };
9540
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
9541
+ switch (errorCode) {
9542
+ case "AccessDeniedException":
9543
+ case "com.amazonaws.connect#AccessDeniedException":
9544
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
9545
+ case "InternalServiceException":
9546
+ case "com.amazonaws.connect#InternalServiceException":
9547
+ throw await de_InternalServiceExceptionRes(parsedOutput, context);
9548
+ case "InvalidParameterException":
9549
+ case "com.amazonaws.connect#InvalidParameterException":
9550
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
9551
+ case "InvalidRequestException":
9552
+ case "com.amazonaws.connect#InvalidRequestException":
9553
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
9554
+ case "ResourceNotFoundException":
9555
+ case "com.amazonaws.connect#ResourceNotFoundException":
9556
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
9557
+ case "ThrottlingException":
9558
+ case "com.amazonaws.connect#ThrottlingException":
9559
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
9560
+ default:
9561
+ const parsedBody = parsedOutput.body;
9562
+ return throwDefaultError({
9563
+ output,
9564
+ parsedBody,
9565
+ errorCode,
9566
+ });
9567
+ }
9568
+ };
8980
9569
  const de_DisassociateInstanceStorageConfigCommand = async (output, context) => {
8981
9570
  if (output.statusCode !== 200 && output.statusCode >= 300) {
8982
9571
  return de_DisassociateInstanceStorageConfigCommandError(output, context);
@@ -9550,6 +10139,57 @@ const de_GetFederationTokenCommandError = async (output, context) => {
9550
10139
  });
9551
10140
  }
9552
10141
  };
10142
+ const de_GetFlowAssociationCommand = async (output, context) => {
10143
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
10144
+ return de_GetFlowAssociationCommandError(output, context);
10145
+ }
10146
+ const contents = (0, smithy_client_1.map)({
10147
+ $metadata: deserializeMetadata(output),
10148
+ });
10149
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
10150
+ const doc = (0, smithy_client_1.take)(data, {
10151
+ FlowId: smithy_client_1.expectString,
10152
+ ResourceId: smithy_client_1.expectString,
10153
+ ResourceType: smithy_client_1.expectString,
10154
+ });
10155
+ Object.assign(contents, doc);
10156
+ return contents;
10157
+ };
10158
+ exports.de_GetFlowAssociationCommand = de_GetFlowAssociationCommand;
10159
+ const de_GetFlowAssociationCommandError = async (output, context) => {
10160
+ const parsedOutput = {
10161
+ ...output,
10162
+ body: await parseErrorBody(output.body, context),
10163
+ };
10164
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
10165
+ switch (errorCode) {
10166
+ case "AccessDeniedException":
10167
+ case "com.amazonaws.connect#AccessDeniedException":
10168
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
10169
+ case "InternalServiceException":
10170
+ case "com.amazonaws.connect#InternalServiceException":
10171
+ throw await de_InternalServiceExceptionRes(parsedOutput, context);
10172
+ case "InvalidParameterException":
10173
+ case "com.amazonaws.connect#InvalidParameterException":
10174
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
10175
+ case "InvalidRequestException":
10176
+ case "com.amazonaws.connect#InvalidRequestException":
10177
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
10178
+ case "ResourceNotFoundException":
10179
+ case "com.amazonaws.connect#ResourceNotFoundException":
10180
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
10181
+ case "ThrottlingException":
10182
+ case "com.amazonaws.connect#ThrottlingException":
10183
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
10184
+ default:
10185
+ const parsedBody = parsedOutput.body;
10186
+ return throwDefaultError({
10187
+ output,
10188
+ parsedBody,
10189
+ errorCode,
10190
+ });
10191
+ }
10192
+ };
9553
10193
  const de_GetMetricDataCommand = async (output, context) => {
9554
10194
  if (output.statusCode !== 200 && output.statusCode >= 300) {
9555
10195
  return de_GetMetricDataCommandError(output, context);
@@ -9752,36 +10392,133 @@ const de_GetTaskTemplateCommandError = async (output, context) => {
9752
10392
  };
9753
10393
  const de_GetTrafficDistributionCommand = async (output, context) => {
9754
10394
  if (output.statusCode !== 200 && output.statusCode >= 300) {
9755
- return de_GetTrafficDistributionCommandError(output, context);
10395
+ return de_GetTrafficDistributionCommandError(output, context);
10396
+ }
10397
+ const contents = (0, smithy_client_1.map)({
10398
+ $metadata: deserializeMetadata(output),
10399
+ });
10400
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
10401
+ const doc = (0, smithy_client_1.take)(data, {
10402
+ AgentConfig: smithy_client_1._json,
10403
+ Arn: smithy_client_1.expectString,
10404
+ Id: smithy_client_1.expectString,
10405
+ SignInConfig: smithy_client_1._json,
10406
+ TelephonyConfig: smithy_client_1._json,
10407
+ });
10408
+ Object.assign(contents, doc);
10409
+ return contents;
10410
+ };
10411
+ exports.de_GetTrafficDistributionCommand = de_GetTrafficDistributionCommand;
10412
+ const de_GetTrafficDistributionCommandError = async (output, context) => {
10413
+ const parsedOutput = {
10414
+ ...output,
10415
+ body: await parseErrorBody(output.body, context),
10416
+ };
10417
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
10418
+ switch (errorCode) {
10419
+ case "AccessDeniedException":
10420
+ case "com.amazonaws.connect#AccessDeniedException":
10421
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
10422
+ case "InternalServiceException":
10423
+ case "com.amazonaws.connect#InternalServiceException":
10424
+ throw await de_InternalServiceExceptionRes(parsedOutput, context);
10425
+ case "InvalidRequestException":
10426
+ case "com.amazonaws.connect#InvalidRequestException":
10427
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
10428
+ case "ResourceNotFoundException":
10429
+ case "com.amazonaws.connect#ResourceNotFoundException":
10430
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
10431
+ case "ThrottlingException":
10432
+ case "com.amazonaws.connect#ThrottlingException":
10433
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
10434
+ default:
10435
+ const parsedBody = parsedOutput.body;
10436
+ return throwDefaultError({
10437
+ output,
10438
+ parsedBody,
10439
+ errorCode,
10440
+ });
10441
+ }
10442
+ };
10443
+ const de_ImportPhoneNumberCommand = async (output, context) => {
10444
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
10445
+ return de_ImportPhoneNumberCommandError(output, context);
10446
+ }
10447
+ const contents = (0, smithy_client_1.map)({
10448
+ $metadata: deserializeMetadata(output),
10449
+ });
10450
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
10451
+ const doc = (0, smithy_client_1.take)(data, {
10452
+ PhoneNumberArn: smithy_client_1.expectString,
10453
+ PhoneNumberId: smithy_client_1.expectString,
10454
+ });
10455
+ Object.assign(contents, doc);
10456
+ return contents;
10457
+ };
10458
+ exports.de_ImportPhoneNumberCommand = de_ImportPhoneNumberCommand;
10459
+ const de_ImportPhoneNumberCommandError = async (output, context) => {
10460
+ const parsedOutput = {
10461
+ ...output,
10462
+ body: await parseErrorBody(output.body, context),
10463
+ };
10464
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
10465
+ switch (errorCode) {
10466
+ case "AccessDeniedException":
10467
+ case "com.amazonaws.connect#AccessDeniedException":
10468
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
10469
+ case "IdempotencyException":
10470
+ case "com.amazonaws.connect#IdempotencyException":
10471
+ throw await de_IdempotencyExceptionRes(parsedOutput, context);
10472
+ case "InternalServiceException":
10473
+ case "com.amazonaws.connect#InternalServiceException":
10474
+ throw await de_InternalServiceExceptionRes(parsedOutput, context);
10475
+ case "InvalidParameterException":
10476
+ case "com.amazonaws.connect#InvalidParameterException":
10477
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
10478
+ case "ResourceNotFoundException":
10479
+ case "com.amazonaws.connect#ResourceNotFoundException":
10480
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
10481
+ case "ThrottlingException":
10482
+ case "com.amazonaws.connect#ThrottlingException":
10483
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
10484
+ default:
10485
+ const parsedBody = parsedOutput.body;
10486
+ return throwDefaultError({
10487
+ output,
10488
+ parsedBody,
10489
+ errorCode,
10490
+ });
10491
+ }
10492
+ };
10493
+ const de_ListAgentStatusesCommand = async (output, context) => {
10494
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
10495
+ return de_ListAgentStatusesCommandError(output, context);
9756
10496
  }
9757
10497
  const contents = (0, smithy_client_1.map)({
9758
10498
  $metadata: deserializeMetadata(output),
9759
10499
  });
9760
10500
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
9761
10501
  const doc = (0, smithy_client_1.take)(data, {
9762
- AgentConfig: smithy_client_1._json,
9763
- Arn: smithy_client_1.expectString,
9764
- Id: smithy_client_1.expectString,
9765
- SignInConfig: smithy_client_1._json,
9766
- TelephonyConfig: smithy_client_1._json,
10502
+ AgentStatusSummaryList: (_) => de_AgentStatusSummaryList(_, context),
10503
+ NextToken: smithy_client_1.expectString,
9767
10504
  });
9768
10505
  Object.assign(contents, doc);
9769
10506
  return contents;
9770
10507
  };
9771
- exports.de_GetTrafficDistributionCommand = de_GetTrafficDistributionCommand;
9772
- const de_GetTrafficDistributionCommandError = async (output, context) => {
10508
+ exports.de_ListAgentStatusesCommand = de_ListAgentStatusesCommand;
10509
+ const de_ListAgentStatusesCommandError = async (output, context) => {
9773
10510
  const parsedOutput = {
9774
10511
  ...output,
9775
10512
  body: await parseErrorBody(output.body, context),
9776
10513
  };
9777
10514
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
9778
10515
  switch (errorCode) {
9779
- case "AccessDeniedException":
9780
- case "com.amazonaws.connect#AccessDeniedException":
9781
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
9782
10516
  case "InternalServiceException":
9783
10517
  case "com.amazonaws.connect#InternalServiceException":
9784
10518
  throw await de_InternalServiceExceptionRes(parsedOutput, context);
10519
+ case "InvalidParameterException":
10520
+ case "com.amazonaws.connect#InvalidParameterException":
10521
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
9785
10522
  case "InvalidRequestException":
9786
10523
  case "com.amazonaws.connect#InvalidRequestException":
9787
10524
  throw await de_InvalidRequestExceptionRes(parsedOutput, context);
@@ -9800,23 +10537,23 @@ const de_GetTrafficDistributionCommandError = async (output, context) => {
9800
10537
  });
9801
10538
  }
9802
10539
  };
9803
- const de_ListAgentStatusesCommand = async (output, context) => {
10540
+ const de_ListAnalyticsDataAssociationsCommand = async (output, context) => {
9804
10541
  if (output.statusCode !== 200 && output.statusCode >= 300) {
9805
- return de_ListAgentStatusesCommandError(output, context);
10542
+ return de_ListAnalyticsDataAssociationsCommandError(output, context);
9806
10543
  }
9807
10544
  const contents = (0, smithy_client_1.map)({
9808
10545
  $metadata: deserializeMetadata(output),
9809
10546
  });
9810
10547
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
9811
10548
  const doc = (0, smithy_client_1.take)(data, {
9812
- AgentStatusSummaryList: (_) => de_AgentStatusSummaryList(_, context),
9813
10549
  NextToken: smithy_client_1.expectString,
10550
+ Results: smithy_client_1._json,
9814
10551
  });
9815
10552
  Object.assign(contents, doc);
9816
10553
  return contents;
9817
10554
  };
9818
- exports.de_ListAgentStatusesCommand = de_ListAgentStatusesCommand;
9819
- const de_ListAgentStatusesCommandError = async (output, context) => {
10555
+ exports.de_ListAnalyticsDataAssociationsCommand = de_ListAnalyticsDataAssociationsCommand;
10556
+ const de_ListAnalyticsDataAssociationsCommandError = async (output, context) => {
9820
10557
  const parsedOutput = {
9821
10558
  ...output,
9822
10559
  body: await parseErrorBody(output.body, context),
@@ -10258,6 +10995,56 @@ const de_ListEvaluationFormVersionsCommandError = async (output, context) => {
10258
10995
  });
10259
10996
  }
10260
10997
  };
10998
+ const de_ListFlowAssociationsCommand = async (output, context) => {
10999
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
11000
+ return de_ListFlowAssociationsCommandError(output, context);
11001
+ }
11002
+ const contents = (0, smithy_client_1.map)({
11003
+ $metadata: deserializeMetadata(output),
11004
+ });
11005
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
11006
+ const doc = (0, smithy_client_1.take)(data, {
11007
+ FlowAssociationSummaryList: smithy_client_1._json,
11008
+ NextToken: smithy_client_1.expectString,
11009
+ });
11010
+ Object.assign(contents, doc);
11011
+ return contents;
11012
+ };
11013
+ exports.de_ListFlowAssociationsCommand = de_ListFlowAssociationsCommand;
11014
+ const de_ListFlowAssociationsCommandError = async (output, context) => {
11015
+ const parsedOutput = {
11016
+ ...output,
11017
+ body: await parseErrorBody(output.body, context),
11018
+ };
11019
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
11020
+ switch (errorCode) {
11021
+ case "AccessDeniedException":
11022
+ case "com.amazonaws.connect#AccessDeniedException":
11023
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
11024
+ case "InternalServiceException":
11025
+ case "com.amazonaws.connect#InternalServiceException":
11026
+ throw await de_InternalServiceExceptionRes(parsedOutput, context);
11027
+ case "InvalidParameterException":
11028
+ case "com.amazonaws.connect#InvalidParameterException":
11029
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
11030
+ case "InvalidRequestException":
11031
+ case "com.amazonaws.connect#InvalidRequestException":
11032
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
11033
+ case "ResourceNotFoundException":
11034
+ case "com.amazonaws.connect#ResourceNotFoundException":
11035
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
11036
+ case "ThrottlingException":
11037
+ case "com.amazonaws.connect#ThrottlingException":
11038
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
11039
+ default:
11040
+ const parsedBody = parsedOutput.body;
11041
+ return throwDefaultError({
11042
+ output,
11043
+ parsedBody,
11044
+ errorCode,
11045
+ });
11046
+ }
11047
+ };
10261
11048
  const de_ListHoursOfOperationsCommand = async (output, context) => {
10262
11049
  if (output.statusCode !== 200 && output.statusCode >= 300) {
10263
11050
  return de_ListHoursOfOperationsCommandError(output, context);
@@ -10859,6 +11646,58 @@ const de_ListQuickConnectsCommandError = async (output, context) => {
10859
11646
  });
10860
11647
  }
10861
11648
  };
11649
+ const de_ListRealtimeContactAnalysisSegmentsV2Command = async (output, context) => {
11650
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
11651
+ return de_ListRealtimeContactAnalysisSegmentsV2CommandError(output, context);
11652
+ }
11653
+ const contents = (0, smithy_client_1.map)({
11654
+ $metadata: deserializeMetadata(output),
11655
+ });
11656
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
11657
+ const doc = (0, smithy_client_1.take)(data, {
11658
+ Channel: smithy_client_1.expectString,
11659
+ NextToken: smithy_client_1.expectString,
11660
+ Segments: (_) => de_RealtimeContactAnalysisSegments(_, context),
11661
+ Status: smithy_client_1.expectString,
11662
+ });
11663
+ Object.assign(contents, doc);
11664
+ return contents;
11665
+ };
11666
+ exports.de_ListRealtimeContactAnalysisSegmentsV2Command = de_ListRealtimeContactAnalysisSegmentsV2Command;
11667
+ const de_ListRealtimeContactAnalysisSegmentsV2CommandError = async (output, context) => {
11668
+ const parsedOutput = {
11669
+ ...output,
11670
+ body: await parseErrorBody(output.body, context),
11671
+ };
11672
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
11673
+ switch (errorCode) {
11674
+ case "AccessDeniedException":
11675
+ case "com.amazonaws.connect#AccessDeniedException":
11676
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
11677
+ case "InternalServiceException":
11678
+ case "com.amazonaws.connect#InternalServiceException":
11679
+ throw await de_InternalServiceExceptionRes(parsedOutput, context);
11680
+ case "InvalidRequestException":
11681
+ case "com.amazonaws.connect#InvalidRequestException":
11682
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
11683
+ case "OutputTypeNotFoundException":
11684
+ case "com.amazonaws.connect#OutputTypeNotFoundException":
11685
+ throw await de_OutputTypeNotFoundExceptionRes(parsedOutput, context);
11686
+ case "ResourceNotFoundException":
11687
+ case "com.amazonaws.connect#ResourceNotFoundException":
11688
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
11689
+ case "ThrottlingException":
11690
+ case "com.amazonaws.connect#ThrottlingException":
11691
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
11692
+ default:
11693
+ const parsedBody = parsedOutput.body;
11694
+ return throwDefaultError({
11695
+ output,
11696
+ parsedBody,
11697
+ errorCode,
11698
+ });
11699
+ }
11700
+ };
10862
11701
  const de_ListRoutingProfileQueuesCommand = async (output, context) => {
10863
11702
  if (output.statusCode !== 200 && output.statusCode >= 300) {
10864
11703
  return de_ListRoutingProfileQueuesCommandError(output, context);
@@ -12328,6 +13167,53 @@ const de_SearchVocabulariesCommandError = async (output, context) => {
12328
13167
  });
12329
13168
  }
12330
13169
  };
13170
+ const de_SendChatIntegrationEventCommand = async (output, context) => {
13171
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
13172
+ return de_SendChatIntegrationEventCommandError(output, context);
13173
+ }
13174
+ const contents = (0, smithy_client_1.map)({
13175
+ $metadata: deserializeMetadata(output),
13176
+ });
13177
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
13178
+ const doc = (0, smithy_client_1.take)(data, {
13179
+ InitialContactId: smithy_client_1.expectString,
13180
+ NewChatCreated: smithy_client_1.expectBoolean,
13181
+ });
13182
+ Object.assign(contents, doc);
13183
+ return contents;
13184
+ };
13185
+ exports.de_SendChatIntegrationEventCommand = de_SendChatIntegrationEventCommand;
13186
+ const de_SendChatIntegrationEventCommandError = async (output, context) => {
13187
+ const parsedOutput = {
13188
+ ...output,
13189
+ body: await parseErrorBody(output.body, context),
13190
+ };
13191
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
13192
+ switch (errorCode) {
13193
+ case "AccessDeniedException":
13194
+ case "com.amazonaws.connect#AccessDeniedException":
13195
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
13196
+ case "InternalServiceException":
13197
+ case "com.amazonaws.connect#InternalServiceException":
13198
+ throw await de_InternalServiceExceptionRes(parsedOutput, context);
13199
+ case "InvalidRequestException":
13200
+ case "com.amazonaws.connect#InvalidRequestException":
13201
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
13202
+ case "ResourceNotFoundException":
13203
+ case "com.amazonaws.connect#ResourceNotFoundException":
13204
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
13205
+ case "ThrottlingException":
13206
+ case "com.amazonaws.connect#ThrottlingException":
13207
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
13208
+ default:
13209
+ const parsedBody = parsedOutput.body;
13210
+ return throwDefaultError({
13211
+ output,
13212
+ parsedBody,
13213
+ errorCode,
13214
+ });
13215
+ }
13216
+ };
12331
13217
  const de_StartChatContactCommand = async (output, context) => {
12332
13218
  if (output.statusCode !== 200 && output.statusCode >= 300) {
12333
13219
  return de_StartChatContactCommandError(output, context);
@@ -12613,6 +13499,55 @@ const de_StartTaskContactCommandError = async (output, context) => {
12613
13499
  });
12614
13500
  }
12615
13501
  };
13502
+ const de_StartWebRTCContactCommand = async (output, context) => {
13503
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
13504
+ return de_StartWebRTCContactCommandError(output, context);
13505
+ }
13506
+ const contents = (0, smithy_client_1.map)({
13507
+ $metadata: deserializeMetadata(output),
13508
+ });
13509
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
13510
+ const doc = (0, smithy_client_1.take)(data, {
13511
+ ConnectionData: smithy_client_1._json,
13512
+ ContactId: smithy_client_1.expectString,
13513
+ ParticipantId: smithy_client_1.expectString,
13514
+ ParticipantToken: smithy_client_1.expectString,
13515
+ });
13516
+ Object.assign(contents, doc);
13517
+ return contents;
13518
+ };
13519
+ exports.de_StartWebRTCContactCommand = de_StartWebRTCContactCommand;
13520
+ const de_StartWebRTCContactCommandError = async (output, context) => {
13521
+ const parsedOutput = {
13522
+ ...output,
13523
+ body: await parseErrorBody(output.body, context),
13524
+ };
13525
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
13526
+ switch (errorCode) {
13527
+ case "InternalServiceException":
13528
+ case "com.amazonaws.connect#InternalServiceException":
13529
+ throw await de_InternalServiceExceptionRes(parsedOutput, context);
13530
+ case "InvalidParameterException":
13531
+ case "com.amazonaws.connect#InvalidParameterException":
13532
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
13533
+ case "InvalidRequestException":
13534
+ case "com.amazonaws.connect#InvalidRequestException":
13535
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
13536
+ case "LimitExceededException":
13537
+ case "com.amazonaws.connect#LimitExceededException":
13538
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
13539
+ case "ResourceNotFoundException":
13540
+ case "com.amazonaws.connect#ResourceNotFoundException":
13541
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
13542
+ default:
13543
+ const parsedBody = parsedOutput.body;
13544
+ return throwDefaultError({
13545
+ output,
13546
+ parsedBody,
13547
+ errorCode,
13548
+ });
13549
+ }
13550
+ };
12616
13551
  const de_StopContactCommand = async (output, context) => {
12617
13552
  if (output.statusCode !== 200 && output.statusCode >= 300) {
12618
13553
  return de_StopContactCommandError(output, context);
@@ -14914,7 +15849,7 @@ const de_ContactNotFoundExceptionRes = async (parsedOutput, context) => {
14914
15849
  Message: smithy_client_1.expectString,
14915
15850
  });
14916
15851
  Object.assign(contents, doc);
14917
- const exception = new models_1_1.ContactNotFoundException({
15852
+ const exception = new models_2_1.ContactNotFoundException({
14918
15853
  $metadata: deserializeMetadata(parsedOutput),
14919
15854
  ...contents,
14920
15855
  });
@@ -14927,7 +15862,7 @@ const de_DestinationNotAllowedExceptionRes = async (parsedOutput, context) => {
14927
15862
  Message: smithy_client_1.expectString,
14928
15863
  });
14929
15864
  Object.assign(contents, doc);
14930
- const exception = new models_1_1.DestinationNotAllowedException({
15865
+ const exception = new models_2_1.DestinationNotAllowedException({
14931
15866
  $metadata: deserializeMetadata(parsedOutput),
14932
15867
  ...contents,
14933
15868
  });
@@ -15057,7 +15992,20 @@ const de_OutboundContactNotPermittedExceptionRes = async (parsedOutput, context)
15057
15992
  Message: smithy_client_1.expectString,
15058
15993
  });
15059
15994
  Object.assign(contents, doc);
15060
- const exception = new models_1_1.OutboundContactNotPermittedException({
15995
+ const exception = new models_2_1.OutboundContactNotPermittedException({
15996
+ $metadata: deserializeMetadata(parsedOutput),
15997
+ ...contents,
15998
+ });
15999
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
16000
+ };
16001
+ const de_OutputTypeNotFoundExceptionRes = async (parsedOutput, context) => {
16002
+ const contents = (0, smithy_client_1.map)({});
16003
+ const data = parsedOutput.body;
16004
+ const doc = (0, smithy_client_1.take)(data, {
16005
+ Message: smithy_client_1.expectString,
16006
+ });
16007
+ Object.assign(contents, doc);
16008
+ const exception = new models_1_1.OutputTypeNotFoundException({
15061
16009
  $metadata: deserializeMetadata(parsedOutput),
15062
16010
  ...contents,
15063
16011
  });
@@ -16038,6 +16986,83 @@ const de_QuickConnectSummaryList = (output, context) => {
16038
16986
  });
16039
16987
  return retVal;
16040
16988
  };
16989
+ const de_RealtimeContactAnalysisSegment = (output, context) => {
16990
+ if (output.Attachments != null) {
16991
+ return {
16992
+ Attachments: de_RealTimeContactAnalysisSegmentAttachments(output.Attachments, context),
16993
+ };
16994
+ }
16995
+ if (output.Categories != null) {
16996
+ return {
16997
+ Categories: (0, smithy_client_1._json)(output.Categories),
16998
+ };
16999
+ }
17000
+ if (output.Event != null) {
17001
+ return {
17002
+ Event: de_RealTimeContactAnalysisSegmentEvent(output.Event, context),
17003
+ };
17004
+ }
17005
+ if (output.Issues != null) {
17006
+ return {
17007
+ Issues: (0, smithy_client_1._json)(output.Issues),
17008
+ };
17009
+ }
17010
+ if (output.Transcript != null) {
17011
+ return {
17012
+ Transcript: de_RealTimeContactAnalysisSegmentTranscript(output.Transcript, context),
17013
+ };
17014
+ }
17015
+ return { $unknown: Object.entries(output)[0] };
17016
+ };
17017
+ const de_RealTimeContactAnalysisSegmentAttachments = (output, context) => {
17018
+ return (0, smithy_client_1.take)(output, {
17019
+ Attachments: smithy_client_1._json,
17020
+ DisplayName: smithy_client_1.expectString,
17021
+ Id: smithy_client_1.expectString,
17022
+ ParticipantId: smithy_client_1.expectString,
17023
+ ParticipantRole: smithy_client_1.expectString,
17024
+ Time: (_) => de_RealTimeContactAnalysisTimeData((0, core_1.awsExpectUnion)(_), context),
17025
+ });
17026
+ };
17027
+ const de_RealTimeContactAnalysisSegmentEvent = (output, context) => {
17028
+ return (0, smithy_client_1.take)(output, {
17029
+ DisplayName: smithy_client_1.expectString,
17030
+ EventType: smithy_client_1.expectString,
17031
+ Id: smithy_client_1.expectString,
17032
+ ParticipantId: smithy_client_1.expectString,
17033
+ ParticipantRole: smithy_client_1.expectString,
17034
+ Time: (_) => de_RealTimeContactAnalysisTimeData((0, core_1.awsExpectUnion)(_), context),
17035
+ });
17036
+ };
17037
+ const de_RealtimeContactAnalysisSegments = (output, context) => {
17038
+ const retVal = (output || [])
17039
+ .filter((e) => e != null)
17040
+ .map((entry) => {
17041
+ return de_RealtimeContactAnalysisSegment((0, core_1.awsExpectUnion)(entry), context);
17042
+ });
17043
+ return retVal;
17044
+ };
17045
+ const de_RealTimeContactAnalysisSegmentTranscript = (output, context) => {
17046
+ return (0, smithy_client_1.take)(output, {
17047
+ Content: smithy_client_1.expectString,
17048
+ ContentType: smithy_client_1.expectString,
17049
+ DisplayName: smithy_client_1.expectString,
17050
+ Id: smithy_client_1.expectString,
17051
+ ParticipantId: smithy_client_1.expectString,
17052
+ ParticipantRole: smithy_client_1.expectString,
17053
+ Redaction: smithy_client_1._json,
17054
+ Sentiment: smithy_client_1.expectString,
17055
+ Time: (_) => de_RealTimeContactAnalysisTimeData((0, core_1.awsExpectUnion)(_), context),
17056
+ });
17057
+ };
17058
+ const de_RealTimeContactAnalysisTimeData = (output, context) => {
17059
+ if (output.AbsoluteTime != null) {
17060
+ return {
17061
+ AbsoluteTime: (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.AbsoluteTime)),
17062
+ };
17063
+ }
17064
+ return { $unknown: Object.entries(output)[0] };
17065
+ };
16041
17066
  const de_RoutingProfile = (output, context) => {
16042
17067
  return (0, smithy_client_1.take)(output, {
16043
17068
  AgentAvailabilityTimer: smithy_client_1.expectString,