@aws-sdk/client-connect 3.478.0 → 3.479.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 (121) hide show
  1. package/README.md +96 -0
  2. package/dist-cjs/Connect.js +24 -0
  3. package/dist-cjs/commands/AssociateUserProficienciesCommand.js +51 -0
  4. package/dist-cjs/commands/CreatePredefinedAttributeCommand.js +51 -0
  5. package/dist-cjs/commands/DeletePredefinedAttributeCommand.js +51 -0
  6. package/dist-cjs/commands/DescribePredefinedAttributeCommand.js +51 -0
  7. package/dist-cjs/commands/DisassociateUserProficienciesCommand.js +51 -0
  8. package/dist-cjs/commands/ListPredefinedAttributesCommand.js +51 -0
  9. package/dist-cjs/commands/ListUserProficienciesCommand.js +51 -0
  10. package/dist-cjs/commands/SearchContactsCommand.js +52 -0
  11. package/dist-cjs/commands/SearchPredefinedAttributesCommand.js +51 -0
  12. package/dist-cjs/commands/UpdateContactRoutingDataCommand.js +51 -0
  13. package/dist-cjs/commands/UpdatePredefinedAttributeCommand.js +51 -0
  14. package/dist-cjs/commands/UpdateUserProficienciesCommand.js +51 -0
  15. package/dist-cjs/commands/index.js +12 -0
  16. package/dist-cjs/models/models_0.js +10 -16
  17. package/dist-cjs/models/models_1.js +62 -25
  18. package/dist-cjs/models/models_2.js +39 -1
  19. package/dist-cjs/pagination/ListPredefinedAttributesPaginator.js +7 -0
  20. package/dist-cjs/pagination/ListUserProficienciesPaginator.js +7 -0
  21. package/dist-cjs/pagination/SearchContactsPaginator.js +7 -0
  22. package/dist-cjs/pagination/SearchPredefinedAttributesPaginator.js +7 -0
  23. package/dist-cjs/pagination/index.js +4 -0
  24. package/dist-cjs/protocols/Aws_restJson1.js +878 -32
  25. package/dist-es/Connect.js +24 -0
  26. package/dist-es/commands/AssociateUserProficienciesCommand.js +47 -0
  27. package/dist-es/commands/CreatePredefinedAttributeCommand.js +47 -0
  28. package/dist-es/commands/DeletePredefinedAttributeCommand.js +47 -0
  29. package/dist-es/commands/DescribePredefinedAttributeCommand.js +47 -0
  30. package/dist-es/commands/DisassociateUserProficienciesCommand.js +47 -0
  31. package/dist-es/commands/ListPredefinedAttributesCommand.js +47 -0
  32. package/dist-es/commands/ListUserProficienciesCommand.js +47 -0
  33. package/dist-es/commands/SearchContactsCommand.js +48 -0
  34. package/dist-es/commands/SearchPredefinedAttributesCommand.js +47 -0
  35. package/dist-es/commands/UpdateContactRoutingDataCommand.js +47 -0
  36. package/dist-es/commands/UpdatePredefinedAttributeCommand.js +47 -0
  37. package/dist-es/commands/UpdateUserProficienciesCommand.js +47 -0
  38. package/dist-es/commands/index.js +12 -0
  39. package/dist-es/models/models_0.js +8 -14
  40. package/dist-es/models/models_1.js +55 -23
  41. package/dist-es/models/models_2.js +36 -0
  42. package/dist-es/pagination/ListPredefinedAttributesPaginator.js +4 -0
  43. package/dist-es/pagination/ListUserProficienciesPaginator.js +4 -0
  44. package/dist-es/pagination/SearchContactsPaginator.js +4 -0
  45. package/dist-es/pagination/SearchPredefinedAttributesPaginator.js +4 -0
  46. package/dist-es/pagination/index.js +4 -0
  47. package/dist-es/protocols/Aws_restJson1.js +846 -24
  48. package/dist-types/Connect.d.ts +84 -0
  49. package/dist-types/ConnectClient.d.ts +14 -2
  50. package/dist-types/commands/AssociateUserProficienciesCommand.d.ts +94 -0
  51. package/dist-types/commands/CreatePredefinedAttributeCommand.d.ts +98 -0
  52. package/dist-types/commands/DeletePredefinedAttributeCommand.d.ts +90 -0
  53. package/dist-types/commands/DescribeContactCommand.d.ts +2 -0
  54. package/dist-types/commands/DescribePhoneNumberCommand.d.ts +2 -1
  55. package/dist-types/commands/DescribePredefinedAttributeCommand.d.ts +98 -0
  56. package/dist-types/commands/DescribePromptCommand.d.ts +1 -2
  57. package/dist-types/commands/DisassociateUserProficienciesCommand.d.ts +93 -0
  58. package/dist-types/commands/GetCurrentMetricDataCommand.d.ts +5 -1
  59. package/dist-types/commands/GetMetricDataCommand.d.ts +5 -1
  60. package/dist-types/commands/ListPredefinedAttributesCommand.d.ts +97 -0
  61. package/dist-types/commands/ListUserProficienciesCommand.d.ts +100 -0
  62. package/dist-types/commands/PauseContactCommand.d.ts +2 -1
  63. package/dist-types/commands/ResumeContactCommand.d.ts +2 -1
  64. package/dist-types/commands/SearchContactsCommand.d.ts +177 -0
  65. package/dist-types/commands/SearchHoursOfOperationsCommand.d.ts +1 -2
  66. package/dist-types/commands/SearchPredefinedAttributesCommand.d.ts +128 -0
  67. package/dist-types/commands/SearchPromptsCommand.d.ts +1 -2
  68. package/dist-types/commands/SearchQueuesCommand.d.ts +1 -2
  69. package/dist-types/commands/SearchQuickConnectsCommand.d.ts +1 -2
  70. package/dist-types/commands/SearchResourceTagsCommand.d.ts +1 -1
  71. package/dist-types/commands/SearchRoutingProfilesCommand.d.ts +1 -2
  72. package/dist-types/commands/SearchSecurityProfilesCommand.d.ts +1 -2
  73. package/dist-types/commands/TagContactCommand.d.ts +3 -3
  74. package/dist-types/commands/UntagContactCommand.d.ts +3 -2
  75. package/dist-types/commands/UpdateContactRoutingDataCommand.d.ts +101 -0
  76. package/dist-types/commands/UpdatePredefinedAttributeCommand.d.ts +92 -0
  77. package/dist-types/commands/UpdateUserProficienciesCommand.d.ts +94 -0
  78. package/dist-types/commands/index.d.ts +12 -0
  79. package/dist-types/models/models_0.d.ts +159 -185
  80. package/dist-types/models/models_1.d.ts +495 -423
  81. package/dist-types/models/models_2.d.ts +875 -12
  82. package/dist-types/pagination/ListPredefinedAttributesPaginator.d.ts +7 -0
  83. package/dist-types/pagination/ListUserProficienciesPaginator.d.ts +7 -0
  84. package/dist-types/pagination/SearchContactsPaginator.d.ts +7 -0
  85. package/dist-types/pagination/SearchPredefinedAttributesPaginator.d.ts +7 -0
  86. package/dist-types/pagination/index.d.ts +4 -0
  87. package/dist-types/protocols/Aws_restJson1.d.ts +108 -0
  88. package/dist-types/ts3.4/Connect.d.ts +204 -0
  89. package/dist-types/ts3.4/ConnectClient.d.ts +72 -0
  90. package/dist-types/ts3.4/commands/AssociateUserProficienciesCommand.d.ts +38 -0
  91. package/dist-types/ts3.4/commands/CreatePredefinedAttributeCommand.d.ts +38 -0
  92. package/dist-types/ts3.4/commands/DeletePredefinedAttributeCommand.d.ts +38 -0
  93. package/dist-types/ts3.4/commands/DescribePhoneNumberCommand.d.ts +2 -4
  94. package/dist-types/ts3.4/commands/DescribePredefinedAttributeCommand.d.ts +42 -0
  95. package/dist-types/ts3.4/commands/DescribePromptCommand.d.ts +4 -2
  96. package/dist-types/ts3.4/commands/DisassociateUserProficienciesCommand.d.ts +38 -0
  97. package/dist-types/ts3.4/commands/ListPredefinedAttributesCommand.d.ts +42 -0
  98. package/dist-types/ts3.4/commands/ListUserProficienciesCommand.d.ts +42 -0
  99. package/dist-types/ts3.4/commands/SearchContactsCommand.d.ts +38 -0
  100. package/dist-types/ts3.4/commands/SearchHoursOfOperationsCommand.d.ts +4 -2
  101. package/dist-types/ts3.4/commands/SearchPredefinedAttributesCommand.d.ts +42 -0
  102. package/dist-types/ts3.4/commands/SearchPromptsCommand.d.ts +4 -2
  103. package/dist-types/ts3.4/commands/SearchQueuesCommand.d.ts +1 -2
  104. package/dist-types/ts3.4/commands/SearchQuickConnectsCommand.d.ts +4 -2
  105. package/dist-types/ts3.4/commands/SearchResourceTagsCommand.d.ts +1 -1
  106. package/dist-types/ts3.4/commands/SearchRoutingProfilesCommand.d.ts +4 -2
  107. package/dist-types/ts3.4/commands/SearchSecurityProfilesCommand.d.ts +4 -2
  108. package/dist-types/ts3.4/commands/UpdateContactRoutingDataCommand.d.ts +42 -0
  109. package/dist-types/ts3.4/commands/UpdatePredefinedAttributeCommand.d.ts +38 -0
  110. package/dist-types/ts3.4/commands/UpdateUserProficienciesCommand.d.ts +38 -0
  111. package/dist-types/ts3.4/commands/index.d.ts +12 -0
  112. package/dist-types/ts3.4/models/models_0.d.ts +46 -42
  113. package/dist-types/ts3.4/models/models_1.d.ts +153 -113
  114. package/dist-types/ts3.4/models/models_2.d.ts +215 -10
  115. package/dist-types/ts3.4/pagination/ListPredefinedAttributesPaginator.d.ts +11 -0
  116. package/dist-types/ts3.4/pagination/ListUserProficienciesPaginator.d.ts +11 -0
  117. package/dist-types/ts3.4/pagination/SearchContactsPaginator.d.ts +11 -0
  118. package/dist-types/ts3.4/pagination/SearchPredefinedAttributesPaginator.d.ts +11 -0
  119. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  120. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +144 -0
  121. package/package.json +1 -1
@@ -1,15 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
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_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_UntagContactCommand = exports.se_TransferContactCommand = exports.se_TagResourceCommand = exports.se_TagContactCommand = 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_ResumeContactCommand = exports.se_ReplicateInstanceCommand = exports.se_ReleasePhoneNumberCommand = exports.se_PutUserStatusCommand = exports.se_PauseContactCommand = exports.se_MonitorContactCommand = exports.se_ListViewVersionsCommand = exports.se_ListViewsCommand = exports.se_ListUsersCommand = void 0;
7
- 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 = exports.se_UpdatePhoneNumberCommand = exports.se_UpdateParticipantRoleConfigCommand = exports.se_UpdateInstanceStorageConfigCommand = exports.se_UpdateInstanceAttributeCommand = void 0;
8
- 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 = exports.de_CreateEvaluationFormCommand = exports.de_CreateContactFlowModuleCommand = exports.de_CreateContactFlowCommand = exports.de_CreateAgentStatusCommand = void 0;
9
- 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 = exports.de_DescribeInstanceAttributeCommand = exports.de_DescribeInstanceCommand = exports.de_DescribeHoursOfOperationCommand = exports.de_DescribeEvaluationFormCommand = void 0;
10
- 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_ResumeContactCommand = exports.de_ReplicateInstanceCommand = exports.de_ReleasePhoneNumberCommand = exports.de_PutUserStatusCommand = exports.de_PauseContactCommand = 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 = exports.de_ListFlowAssociationsCommand = exports.de_ListEvaluationFormVersionsCommand = exports.de_ListEvaluationFormsCommand = exports.de_ListDefaultVocabulariesCommand = void 0;
11
- 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_UntagContactCommand = exports.de_TransferContactCommand = exports.de_TagResourceCommand = exports.de_TagContactCommand = exports.de_SuspendContactRecordingCommand = exports.de_SubmitContactEvaluationCommand = exports.de_StopContactStreamingCommand = exports.de_StopContactRecordingCommand = exports.de_StopContactCommand = exports.de_StartWebRTCContactCommand = exports.de_StartTaskContactCommand = exports.de_StartOutboundVoiceContactCommand = exports.de_StartContactStreamingCommand = exports.de_StartContactRecordingCommand = exports.de_StartContactEvaluationCommand = exports.de_StartChatContactCommand = exports.de_SendChatIntegrationEventCommand = exports.de_SearchVocabulariesCommand = void 0;
12
- 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 = void 0;
3
+ 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_CreatePredefinedAttributeCommand = 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_AssociateUserProficienciesCommand = 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_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_DescribePredefinedAttributeCommand = 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 = exports.se_DeletePredefinedAttributeCommand = exports.se_DeleteIntegrationAssociationCommand = exports.se_DeleteInstanceCommand = void 0;
5
+ 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_ListPredefinedAttributesCommand = 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 = exports.se_DismissUserContactCommand = exports.se_DisassociateUserProficienciesCommand = exports.se_DisassociateTrafficDistributionGroupUserCommand = exports.se_DisassociateSecurityKeyCommand = exports.se_DisassociateRoutingProfileQueuesCommand = void 0;
6
+ exports.se_UpdateContactAttributesCommand = exports.se_UpdateContactCommand = exports.se_UpdateAgentStatusCommand = exports.se_UntagResourceCommand = exports.se_UntagContactCommand = exports.se_TransferContactCommand = exports.se_TagResourceCommand = exports.se_TagContactCommand = 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_SearchPredefinedAttributesCommand = exports.se_SearchHoursOfOperationsCommand = exports.se_SearchContactsCommand = exports.se_SearchAvailablePhoneNumbersCommand = exports.se_ResumeContactRecordingCommand = exports.se_ResumeContactCommand = exports.se_ReplicateInstanceCommand = exports.se_ReleasePhoneNumberCommand = exports.se_PutUserStatusCommand = exports.se_PauseContactCommand = exports.se_MonitorContactCommand = exports.se_ListViewVersionsCommand = exports.se_ListViewsCommand = exports.se_ListUsersCommand = exports.se_ListUserProficienciesCommand = exports.se_ListUserHierarchyGroupsCommand = exports.se_ListUseCasesCommand = exports.se_ListTrafficDistributionGroupUsersCommand = exports.se_ListTrafficDistributionGroupsCommand = exports.se_ListTaskTemplatesCommand = exports.se_ListTagsForResourceCommand = void 0;
7
+ 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_UpdateUserProficienciesCommand = 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_UpdatePredefinedAttributeCommand = 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_UpdateContactRoutingDataCommand = exports.se_UpdateContactFlowNameCommand = exports.se_UpdateContactFlowModuleMetadataCommand = exports.se_UpdateContactFlowModuleContentCommand = exports.se_UpdateContactFlowMetadataCommand = exports.se_UpdateContactFlowContentCommand = exports.se_UpdateContactEvaluationCommand = void 0;
8
+ exports.de_DeleteRoutingProfileCommand = exports.de_DeleteQuickConnectCommand = exports.de_DeleteQueueCommand = exports.de_DeletePromptCommand = exports.de_DeletePredefinedAttributeCommand = 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_CreatePredefinedAttributeCommand = 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_BatchDisassociateAnalyticsDataSetCommand = exports.de_BatchAssociateAnalyticsDataSetCommand = exports.de_AssociateUserProficienciesCommand = exports.de_AssociateTrafficDistributionGroupUserCommand = exports.de_AssociateSecurityKeyCommand = exports.de_AssociateRoutingProfileQueuesCommand = exports.de_AssociateQueueQuickConnectsCommand = exports.de_AssociatePhoneNumberContactFlowCommand = exports.de_AssociateLexBotCommand = exports.de_AssociateLambdaFunctionCommand = void 0;
9
+ exports.de_GetCurrentMetricDataCommand = exports.de_GetContactAttributesCommand = exports.de_DismissUserContactCommand = exports.de_DisassociateUserProficienciesCommand = 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_DescribePredefinedAttributeCommand = 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 = void 0;
10
+ exports.de_ListUserProficienciesCommand = 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_ListPredefinedAttributesCommand = 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_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 = void 0;
11
+ exports.de_UpdateContactRoutingDataCommand = 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_UntagContactCommand = exports.de_TransferContactCommand = exports.de_TagResourceCommand = exports.de_TagContactCommand = exports.de_SuspendContactRecordingCommand = exports.de_SubmitContactEvaluationCommand = exports.de_StopContactStreamingCommand = exports.de_StopContactRecordingCommand = exports.de_StopContactCommand = exports.de_StartWebRTCContactCommand = exports.de_StartTaskContactCommand = exports.de_StartOutboundVoiceContactCommand = 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_SearchPredefinedAttributesCommand = exports.de_SearchHoursOfOperationsCommand = exports.de_SearchContactsCommand = exports.de_SearchAvailablePhoneNumbersCommand = exports.de_ResumeContactRecordingCommand = exports.de_ResumeContactCommand = exports.de_ReplicateInstanceCommand = exports.de_ReleasePhoneNumberCommand = exports.de_PutUserStatusCommand = exports.de_PauseContactCommand = exports.de_MonitorContactCommand = exports.de_ListViewVersionsCommand = exports.de_ListViewsCommand = exports.de_ListUsersCommand = void 0;
12
+ exports.de_UpdateViewMetadataCommand = exports.de_UpdateViewContentCommand = exports.de_UpdateUserSecurityProfilesCommand = exports.de_UpdateUserRoutingProfileCommand = exports.de_UpdateUserProficienciesCommand = 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_UpdatePredefinedAttributeCommand = exports.de_UpdatePhoneNumberMetadataCommand = exports.de_UpdatePhoneNumberCommand = exports.de_UpdateParticipantRoleConfigCommand = exports.de_UpdateInstanceStorageConfigCommand = exports.de_UpdateInstanceAttributeCommand = exports.de_UpdateHoursOfOperationCommand = exports.de_UpdateEvaluationFormCommand = exports.de_UpdateContactScheduleCommand = void 0;
13
13
  const core_1 = require("@aws-sdk/core");
14
14
  const core_2 = require("@smithy/core");
15
15
  const smithy_client_1 = require("@smithy/smithy-client");
@@ -239,6 +239,22 @@ const se_AssociateTrafficDistributionGroupUserCommand = async (input, context) =
239
239
  return b.build();
240
240
  };
241
241
  exports.se_AssociateTrafficDistributionGroupUserCommand = se_AssociateTrafficDistributionGroupUserCommand;
242
+ const se_AssociateUserProficienciesCommand = async (input, context) => {
243
+ const b = (0, core_2.requestBuilder)(input, context);
244
+ const headers = {
245
+ "content-type": "application/json",
246
+ };
247
+ b.bp("/users/{InstanceId}/{UserId}/associate-proficiencies");
248
+ b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
249
+ b.p("UserId", () => input.UserId, "{UserId}", false);
250
+ let body;
251
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
252
+ UserProficiencies: (_) => se_UserProficiencyList(_, context),
253
+ }));
254
+ b.m("POST").h(headers).b(body);
255
+ return b.build();
256
+ };
257
+ exports.se_AssociateUserProficienciesCommand = se_AssociateUserProficienciesCommand;
242
258
  const se_BatchAssociateAnalyticsDataSetCommand = async (input, context) => {
243
259
  const b = (0, core_2.requestBuilder)(input, context);
244
260
  const headers = {
@@ -492,6 +508,22 @@ const se_CreatePersistentContactAssociationCommand = async (input, context) => {
492
508
  return b.build();
493
509
  };
494
510
  exports.se_CreatePersistentContactAssociationCommand = se_CreatePersistentContactAssociationCommand;
511
+ const se_CreatePredefinedAttributeCommand = async (input, context) => {
512
+ const b = (0, core_2.requestBuilder)(input, context);
513
+ const headers = {
514
+ "content-type": "application/json",
515
+ };
516
+ b.bp("/predefined-attributes/{InstanceId}");
517
+ b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
518
+ let body;
519
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
520
+ Name: [],
521
+ Values: (_) => (0, smithy_client_1._json)(_),
522
+ }));
523
+ b.m("PUT").h(headers).b(body);
524
+ return b.build();
525
+ };
526
+ exports.se_CreatePredefinedAttributeCommand = se_CreatePredefinedAttributeCommand;
495
527
  const se_CreatePromptCommand = async (input, context) => {
496
528
  const b = (0, core_2.requestBuilder)(input, context);
497
529
  const headers = {
@@ -859,6 +891,17 @@ const se_DeleteIntegrationAssociationCommand = async (input, context) => {
859
891
  return b.build();
860
892
  };
861
893
  exports.se_DeleteIntegrationAssociationCommand = se_DeleteIntegrationAssociationCommand;
894
+ const se_DeletePredefinedAttributeCommand = async (input, context) => {
895
+ const b = (0, core_2.requestBuilder)(input, context);
896
+ const headers = {};
897
+ b.bp("/predefined-attributes/{InstanceId}/{Name}");
898
+ b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
899
+ b.p("Name", () => input.Name, "{Name}", false);
900
+ let body;
901
+ b.m("DELETE").h(headers).b(body);
902
+ return b.build();
903
+ };
904
+ exports.se_DeletePredefinedAttributeCommand = se_DeletePredefinedAttributeCommand;
862
905
  const se_DeletePromptCommand = async (input, context) => {
863
906
  const b = (0, core_2.requestBuilder)(input, context);
864
907
  const headers = {};
@@ -1139,6 +1182,17 @@ const se_DescribePhoneNumberCommand = async (input, context) => {
1139
1182
  return b.build();
1140
1183
  };
1141
1184
  exports.se_DescribePhoneNumberCommand = se_DescribePhoneNumberCommand;
1185
+ const se_DescribePredefinedAttributeCommand = async (input, context) => {
1186
+ const b = (0, core_2.requestBuilder)(input, context);
1187
+ const headers = {};
1188
+ b.bp("/predefined-attributes/{InstanceId}/{Name}");
1189
+ b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
1190
+ b.p("Name", () => input.Name, "{Name}", false);
1191
+ let body;
1192
+ b.m("GET").h(headers).b(body);
1193
+ return b.build();
1194
+ };
1195
+ exports.se_DescribePredefinedAttributeCommand = se_DescribePredefinedAttributeCommand;
1142
1196
  const se_DescribePromptCommand = async (input, context) => {
1143
1197
  const b = (0, core_2.requestBuilder)(input, context);
1144
1198
  const headers = {};
@@ -1437,6 +1491,22 @@ const se_DisassociateTrafficDistributionGroupUserCommand = async (input, context
1437
1491
  return b.build();
1438
1492
  };
1439
1493
  exports.se_DisassociateTrafficDistributionGroupUserCommand = se_DisassociateTrafficDistributionGroupUserCommand;
1494
+ const se_DisassociateUserProficienciesCommand = async (input, context) => {
1495
+ const b = (0, core_2.requestBuilder)(input, context);
1496
+ const headers = {
1497
+ "content-type": "application/json",
1498
+ };
1499
+ b.bp("/users/{InstanceId}/{UserId}/disassociate-proficiencies");
1500
+ b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
1501
+ b.p("UserId", () => input.UserId, "{UserId}", false);
1502
+ let body;
1503
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
1504
+ UserProficiencies: (_) => (0, smithy_client_1._json)(_),
1505
+ }));
1506
+ b.m("POST").h(headers).b(body);
1507
+ return b.build();
1508
+ };
1509
+ exports.se_DisassociateUserProficienciesCommand = se_DisassociateUserProficienciesCommand;
1440
1510
  const se_DismissUserContactCommand = async (input, context) => {
1441
1511
  const b = (0, core_2.requestBuilder)(input, context);
1442
1512
  const headers = {
@@ -1940,6 +2010,20 @@ const se_ListPhoneNumbersV2Command = async (input, context) => {
1940
2010
  return b.build();
1941
2011
  };
1942
2012
  exports.se_ListPhoneNumbersV2Command = se_ListPhoneNumbersV2Command;
2013
+ const se_ListPredefinedAttributesCommand = async (input, context) => {
2014
+ const b = (0, core_2.requestBuilder)(input, context);
2015
+ const headers = {};
2016
+ b.bp("/predefined-attributes/{InstanceId}");
2017
+ b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
2018
+ const query = (0, smithy_client_1.map)({
2019
+ [_nT]: [, input[_NT]],
2020
+ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
2021
+ });
2022
+ let body;
2023
+ b.m("GET").h(headers).q(query).b(body);
2024
+ return b.build();
2025
+ };
2026
+ exports.se_ListPredefinedAttributesCommand = se_ListPredefinedAttributesCommand;
1943
2027
  const se_ListPromptsCommand = async (input, context) => {
1944
2028
  const b = (0, core_2.requestBuilder)(input, context);
1945
2029
  const headers = {};
@@ -2204,6 +2288,21 @@ const se_ListUserHierarchyGroupsCommand = async (input, context) => {
2204
2288
  return b.build();
2205
2289
  };
2206
2290
  exports.se_ListUserHierarchyGroupsCommand = se_ListUserHierarchyGroupsCommand;
2291
+ const se_ListUserProficienciesCommand = async (input, context) => {
2292
+ const b = (0, core_2.requestBuilder)(input, context);
2293
+ const headers = {};
2294
+ b.bp("/users/{InstanceId}/{UserId}/proficiencies");
2295
+ b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
2296
+ b.p("UserId", () => input.UserId, "{UserId}", false);
2297
+ const query = (0, smithy_client_1.map)({
2298
+ [_nT]: [, input[_NT]],
2299
+ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
2300
+ });
2301
+ let body;
2302
+ b.m("GET").h(headers).q(query).b(body);
2303
+ return b.build();
2304
+ };
2305
+ exports.se_ListUserProficienciesCommand = se_ListUserProficienciesCommand;
2207
2306
  const se_ListUsersCommand = async (input, context) => {
2208
2307
  const b = (0, core_2.requestBuilder)(input, context);
2209
2308
  const headers = {};
@@ -2380,6 +2479,25 @@ const se_SearchAvailablePhoneNumbersCommand = async (input, context) => {
2380
2479
  return b.build();
2381
2480
  };
2382
2481
  exports.se_SearchAvailablePhoneNumbersCommand = se_SearchAvailablePhoneNumbersCommand;
2482
+ const se_SearchContactsCommand = async (input, context) => {
2483
+ const b = (0, core_2.requestBuilder)(input, context);
2484
+ const headers = {
2485
+ "content-type": "application/json",
2486
+ };
2487
+ b.bp("/search-contacts");
2488
+ let body;
2489
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
2490
+ InstanceId: [],
2491
+ MaxResults: [],
2492
+ NextToken: [],
2493
+ SearchCriteria: (_) => (0, smithy_client_1._json)(_),
2494
+ Sort: (_) => (0, smithy_client_1._json)(_),
2495
+ TimeRange: (_) => se_SearchContactsTimeRange(_, context),
2496
+ }));
2497
+ b.m("POST").h(headers).b(body);
2498
+ return b.build();
2499
+ };
2500
+ exports.se_SearchContactsCommand = se_SearchContactsCommand;
2383
2501
  const se_SearchHoursOfOperationsCommand = async (input, context) => {
2384
2502
  const b = (0, core_2.requestBuilder)(input, context);
2385
2503
  const headers = {
@@ -2398,6 +2516,23 @@ const se_SearchHoursOfOperationsCommand = async (input, context) => {
2398
2516
  return b.build();
2399
2517
  };
2400
2518
  exports.se_SearchHoursOfOperationsCommand = se_SearchHoursOfOperationsCommand;
2519
+ const se_SearchPredefinedAttributesCommand = async (input, context) => {
2520
+ const b = (0, core_2.requestBuilder)(input, context);
2521
+ const headers = {
2522
+ "content-type": "application/json",
2523
+ };
2524
+ b.bp("/search-predefined-attributes");
2525
+ let body;
2526
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
2527
+ InstanceId: [],
2528
+ MaxResults: [],
2529
+ NextToken: [],
2530
+ SearchCriteria: (_) => se_PredefinedAttributeSearchCriteria(_, context),
2531
+ }));
2532
+ b.m("POST").h(headers).b(body);
2533
+ return b.build();
2534
+ };
2535
+ exports.se_SearchPredefinedAttributesCommand = se_SearchPredefinedAttributesCommand;
2401
2536
  const se_SearchPromptsCommand = async (input, context) => {
2402
2537
  const b = (0, core_2.requestBuilder)(input, context);
2403
2538
  const headers = {
@@ -3030,6 +3165,23 @@ const se_UpdateContactFlowNameCommand = async (input, context) => {
3030
3165
  return b.build();
3031
3166
  };
3032
3167
  exports.se_UpdateContactFlowNameCommand = se_UpdateContactFlowNameCommand;
3168
+ const se_UpdateContactRoutingDataCommand = async (input, context) => {
3169
+ const b = (0, core_2.requestBuilder)(input, context);
3170
+ const headers = {
3171
+ "content-type": "application/json",
3172
+ };
3173
+ b.bp("/contacts/{InstanceId}/{ContactId}/routing-data");
3174
+ b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
3175
+ b.p("ContactId", () => input.ContactId, "{ContactId}", false);
3176
+ let body;
3177
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
3178
+ QueuePriority: [],
3179
+ QueueTimeAdjustmentSeconds: [],
3180
+ }));
3181
+ b.m("POST").h(headers).b(body);
3182
+ return b.build();
3183
+ };
3184
+ exports.se_UpdateContactRoutingDataCommand = se_UpdateContactRoutingDataCommand;
3033
3185
  const se_UpdateContactScheduleCommand = async (input, context) => {
3034
3186
  const b = (0, core_2.requestBuilder)(input, context);
3035
3187
  const headers = {
@@ -3171,6 +3323,22 @@ const se_UpdatePhoneNumberMetadataCommand = async (input, context) => {
3171
3323
  return b.build();
3172
3324
  };
3173
3325
  exports.se_UpdatePhoneNumberMetadataCommand = se_UpdatePhoneNumberMetadataCommand;
3326
+ const se_UpdatePredefinedAttributeCommand = async (input, context) => {
3327
+ const b = (0, core_2.requestBuilder)(input, context);
3328
+ const headers = {
3329
+ "content-type": "application/json",
3330
+ };
3331
+ b.bp("/predefined-attributes/{InstanceId}/{Name}");
3332
+ b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
3333
+ b.p("Name", () => input.Name, "{Name}", false);
3334
+ let body;
3335
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
3336
+ Values: (_) => (0, smithy_client_1._json)(_),
3337
+ }));
3338
+ b.m("POST").h(headers).b(body);
3339
+ return b.build();
3340
+ };
3341
+ exports.se_UpdatePredefinedAttributeCommand = se_UpdatePredefinedAttributeCommand;
3174
3342
  const se_UpdatePromptCommand = async (input, context) => {
3175
3343
  const b = (0, core_2.requestBuilder)(input, context);
3176
3344
  const headers = {
@@ -3541,6 +3709,22 @@ const se_UpdateUserPhoneConfigCommand = async (input, context) => {
3541
3709
  return b.build();
3542
3710
  };
3543
3711
  exports.se_UpdateUserPhoneConfigCommand = se_UpdateUserPhoneConfigCommand;
3712
+ const se_UpdateUserProficienciesCommand = async (input, context) => {
3713
+ const b = (0, core_2.requestBuilder)(input, context);
3714
+ const headers = {
3715
+ "content-type": "application/json",
3716
+ };
3717
+ b.bp("/users/{InstanceId}/{UserId}/proficiencies");
3718
+ b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
3719
+ b.p("UserId", () => input.UserId, "{UserId}", false);
3720
+ let body;
3721
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
3722
+ UserProficiencies: (_) => se_UserProficiencyList(_, context),
3723
+ }));
3724
+ b.m("POST").h(headers).b(body);
3725
+ return b.build();
3726
+ };
3727
+ exports.se_UpdateUserProficienciesCommand = se_UpdateUserProficienciesCommand;
3544
3728
  const se_UpdateUserRoutingProfileCommand = async (input, context) => {
3545
3729
  const b = (0, core_2.requestBuilder)(input, context);
3546
3730
  const headers = {
@@ -4258,6 +4442,48 @@ const de_AssociateTrafficDistributionGroupUserCommandError = async (output, cont
4258
4442
  });
4259
4443
  }
4260
4444
  };
4445
+ const de_AssociateUserProficienciesCommand = async (output, context) => {
4446
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
4447
+ return de_AssociateUserProficienciesCommandError(output, context);
4448
+ }
4449
+ const contents = (0, smithy_client_1.map)({
4450
+ $metadata: deserializeMetadata(output),
4451
+ });
4452
+ await (0, smithy_client_1.collectBody)(output.body, context);
4453
+ return contents;
4454
+ };
4455
+ exports.de_AssociateUserProficienciesCommand = de_AssociateUserProficienciesCommand;
4456
+ const de_AssociateUserProficienciesCommandError = async (output, context) => {
4457
+ const parsedOutput = {
4458
+ ...output,
4459
+ body: await parseErrorBody(output.body, context),
4460
+ };
4461
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
4462
+ switch (errorCode) {
4463
+ case "InternalServiceException":
4464
+ case "com.amazonaws.connect#InternalServiceException":
4465
+ throw await de_InternalServiceExceptionRes(parsedOutput, context);
4466
+ case "InvalidParameterException":
4467
+ case "com.amazonaws.connect#InvalidParameterException":
4468
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
4469
+ case "InvalidRequestException":
4470
+ case "com.amazonaws.connect#InvalidRequestException":
4471
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
4472
+ case "ResourceNotFoundException":
4473
+ case "com.amazonaws.connect#ResourceNotFoundException":
4474
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
4475
+ case "ThrottlingException":
4476
+ case "com.amazonaws.connect#ThrottlingException":
4477
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
4478
+ default:
4479
+ const parsedBody = parsedOutput.body;
4480
+ return throwDefaultError({
4481
+ output,
4482
+ parsedBody,
4483
+ errorCode,
4484
+ });
4485
+ }
4486
+ };
4261
4487
  const de_BatchAssociateAnalyticsDataSetCommand = async (output, context) => {
4262
4488
  if (output.statusCode !== 200 && output.statusCode >= 300) {
4263
4489
  return de_BatchAssociateAnalyticsDataSetCommandError(output, context);
@@ -4965,6 +5191,54 @@ const de_CreatePersistentContactAssociationCommandError = async (output, context
4965
5191
  });
4966
5192
  }
4967
5193
  };
5194
+ const de_CreatePredefinedAttributeCommand = async (output, context) => {
5195
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
5196
+ return de_CreatePredefinedAttributeCommandError(output, context);
5197
+ }
5198
+ const contents = (0, smithy_client_1.map)({
5199
+ $metadata: deserializeMetadata(output),
5200
+ });
5201
+ await (0, smithy_client_1.collectBody)(output.body, context);
5202
+ return contents;
5203
+ };
5204
+ exports.de_CreatePredefinedAttributeCommand = de_CreatePredefinedAttributeCommand;
5205
+ const de_CreatePredefinedAttributeCommandError = async (output, context) => {
5206
+ const parsedOutput = {
5207
+ ...output,
5208
+ body: await parseErrorBody(output.body, context),
5209
+ };
5210
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
5211
+ switch (errorCode) {
5212
+ case "DuplicateResourceException":
5213
+ case "com.amazonaws.connect#DuplicateResourceException":
5214
+ throw await de_DuplicateResourceExceptionRes(parsedOutput, context);
5215
+ case "InternalServiceException":
5216
+ case "com.amazonaws.connect#InternalServiceException":
5217
+ throw await de_InternalServiceExceptionRes(parsedOutput, context);
5218
+ case "InvalidParameterException":
5219
+ case "com.amazonaws.connect#InvalidParameterException":
5220
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
5221
+ case "InvalidRequestException":
5222
+ case "com.amazonaws.connect#InvalidRequestException":
5223
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
5224
+ case "LimitExceededException":
5225
+ case "com.amazonaws.connect#LimitExceededException":
5226
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
5227
+ case "ResourceNotFoundException":
5228
+ case "com.amazonaws.connect#ResourceNotFoundException":
5229
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
5230
+ case "ThrottlingException":
5231
+ case "com.amazonaws.connect#ThrottlingException":
5232
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
5233
+ default:
5234
+ const parsedBody = parsedOutput.body;
5235
+ return throwDefaultError({
5236
+ output,
5237
+ parsedBody,
5238
+ errorCode,
5239
+ });
5240
+ }
5241
+ };
4968
5242
  const de_CreatePromptCommand = async (output, context) => {
4969
5243
  if (output.statusCode !== 200 && output.statusCode >= 300) {
4970
5244
  return de_CreatePromptCommandError(output, context);
@@ -6045,9 +6319,9 @@ const de_DeleteIntegrationAssociationCommandError = async (output, context) => {
6045
6319
  });
6046
6320
  }
6047
6321
  };
6048
- const de_DeletePromptCommand = async (output, context) => {
6322
+ const de_DeletePredefinedAttributeCommand = async (output, context) => {
6049
6323
  if (output.statusCode !== 200 && output.statusCode >= 300) {
6050
- return de_DeletePromptCommandError(output, context);
6324
+ return de_DeletePredefinedAttributeCommandError(output, context);
6051
6325
  }
6052
6326
  const contents = (0, smithy_client_1.map)({
6053
6327
  $metadata: deserializeMetadata(output),
@@ -6055,8 +6329,8 @@ const de_DeletePromptCommand = async (output, context) => {
6055
6329
  await (0, smithy_client_1.collectBody)(output.body, context);
6056
6330
  return contents;
6057
6331
  };
6058
- exports.de_DeletePromptCommand = de_DeletePromptCommand;
6059
- const de_DeletePromptCommandError = async (output, context) => {
6332
+ exports.de_DeletePredefinedAttributeCommand = de_DeletePredefinedAttributeCommand;
6333
+ const de_DeletePredefinedAttributeCommandError = async (output, context) => {
6060
6334
  const parsedOutput = {
6061
6335
  ...output,
6062
6336
  body: await parseErrorBody(output.body, context),
@@ -6072,6 +6346,9 @@ const de_DeletePromptCommandError = async (output, context) => {
6072
6346
  case "InvalidRequestException":
6073
6347
  case "com.amazonaws.connect#InvalidRequestException":
6074
6348
  throw await de_InvalidRequestExceptionRes(parsedOutput, context);
6349
+ case "ResourceInUseException":
6350
+ case "com.amazonaws.connect#ResourceInUseException":
6351
+ throw await de_ResourceInUseExceptionRes(parsedOutput, context);
6075
6352
  case "ResourceNotFoundException":
6076
6353
  case "com.amazonaws.connect#ResourceNotFoundException":
6077
6354
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
@@ -6087,9 +6364,9 @@ const de_DeletePromptCommandError = async (output, context) => {
6087
6364
  });
6088
6365
  }
6089
6366
  };
6090
- const de_DeleteQueueCommand = async (output, context) => {
6367
+ const de_DeletePromptCommand = async (output, context) => {
6091
6368
  if (output.statusCode !== 200 && output.statusCode >= 300) {
6092
- return de_DeleteQueueCommandError(output, context);
6369
+ return de_DeletePromptCommandError(output, context);
6093
6370
  }
6094
6371
  const contents = (0, smithy_client_1.map)({
6095
6372
  $metadata: deserializeMetadata(output),
@@ -6097,8 +6374,8 @@ const de_DeleteQueueCommand = async (output, context) => {
6097
6374
  await (0, smithy_client_1.collectBody)(output.body, context);
6098
6375
  return contents;
6099
6376
  };
6100
- exports.de_DeleteQueueCommand = de_DeleteQueueCommand;
6101
- const de_DeleteQueueCommandError = async (output, context) => {
6377
+ exports.de_DeletePromptCommand = de_DeletePromptCommand;
6378
+ const de_DeletePromptCommandError = async (output, context) => {
6102
6379
  const parsedOutput = {
6103
6380
  ...output,
6104
6381
  body: await parseErrorBody(output.body, context),
@@ -6114,9 +6391,6 @@ const de_DeleteQueueCommandError = async (output, context) => {
6114
6391
  case "InvalidRequestException":
6115
6392
  case "com.amazonaws.connect#InvalidRequestException":
6116
6393
  throw await de_InvalidRequestExceptionRes(parsedOutput, context);
6117
- case "ResourceInUseException":
6118
- case "com.amazonaws.connect#ResourceInUseException":
6119
- throw await de_ResourceInUseExceptionRes(parsedOutput, context);
6120
6394
  case "ResourceNotFoundException":
6121
6395
  case "com.amazonaws.connect#ResourceNotFoundException":
6122
6396
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
@@ -6132,9 +6406,9 @@ const de_DeleteQueueCommandError = async (output, context) => {
6132
6406
  });
6133
6407
  }
6134
6408
  };
6135
- const de_DeleteQuickConnectCommand = async (output, context) => {
6409
+ const de_DeleteQueueCommand = async (output, context) => {
6136
6410
  if (output.statusCode !== 200 && output.statusCode >= 300) {
6137
- return de_DeleteQuickConnectCommandError(output, context);
6411
+ return de_DeleteQueueCommandError(output, context);
6138
6412
  }
6139
6413
  const contents = (0, smithy_client_1.map)({
6140
6414
  $metadata: deserializeMetadata(output),
@@ -6142,8 +6416,8 @@ const de_DeleteQuickConnectCommand = async (output, context) => {
6142
6416
  await (0, smithy_client_1.collectBody)(output.body, context);
6143
6417
  return contents;
6144
6418
  };
6145
- exports.de_DeleteQuickConnectCommand = de_DeleteQuickConnectCommand;
6146
- const de_DeleteQuickConnectCommandError = async (output, context) => {
6419
+ exports.de_DeleteQueueCommand = de_DeleteQueueCommand;
6420
+ const de_DeleteQueueCommandError = async (output, context) => {
6147
6421
  const parsedOutput = {
6148
6422
  ...output,
6149
6423
  body: await parseErrorBody(output.body, context),
@@ -6159,6 +6433,9 @@ const de_DeleteQuickConnectCommandError = async (output, context) => {
6159
6433
  case "InvalidRequestException":
6160
6434
  case "com.amazonaws.connect#InvalidRequestException":
6161
6435
  throw await de_InvalidRequestExceptionRes(parsedOutput, context);
6436
+ case "ResourceInUseException":
6437
+ case "com.amazonaws.connect#ResourceInUseException":
6438
+ throw await de_ResourceInUseExceptionRes(parsedOutput, context);
6162
6439
  case "ResourceNotFoundException":
6163
6440
  case "com.amazonaws.connect#ResourceNotFoundException":
6164
6441
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
@@ -6174,9 +6451,9 @@ const de_DeleteQuickConnectCommandError = async (output, context) => {
6174
6451
  });
6175
6452
  }
6176
6453
  };
6177
- const de_DeleteRoutingProfileCommand = async (output, context) => {
6454
+ const de_DeleteQuickConnectCommand = async (output, context) => {
6178
6455
  if (output.statusCode !== 200 && output.statusCode >= 300) {
6179
- return de_DeleteRoutingProfileCommandError(output, context);
6456
+ return de_DeleteQuickConnectCommandError(output, context);
6180
6457
  }
6181
6458
  const contents = (0, smithy_client_1.map)({
6182
6459
  $metadata: deserializeMetadata(output),
@@ -6184,8 +6461,8 @@ const de_DeleteRoutingProfileCommand = async (output, context) => {
6184
6461
  await (0, smithy_client_1.collectBody)(output.body, context);
6185
6462
  return contents;
6186
6463
  };
6187
- exports.de_DeleteRoutingProfileCommand = de_DeleteRoutingProfileCommand;
6188
- const de_DeleteRoutingProfileCommandError = async (output, context) => {
6464
+ exports.de_DeleteQuickConnectCommand = de_DeleteQuickConnectCommand;
6465
+ const de_DeleteQuickConnectCommandError = async (output, context) => {
6189
6466
  const parsedOutput = {
6190
6467
  ...output,
6191
6468
  body: await parseErrorBody(output.body, context),
@@ -6201,8 +6478,50 @@ const de_DeleteRoutingProfileCommandError = async (output, context) => {
6201
6478
  case "InvalidRequestException":
6202
6479
  case "com.amazonaws.connect#InvalidRequestException":
6203
6480
  throw await de_InvalidRequestExceptionRes(parsedOutput, context);
6204
- case "ResourceInUseException":
6205
- case "com.amazonaws.connect#ResourceInUseException":
6481
+ case "ResourceNotFoundException":
6482
+ case "com.amazonaws.connect#ResourceNotFoundException":
6483
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
6484
+ case "ThrottlingException":
6485
+ case "com.amazonaws.connect#ThrottlingException":
6486
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
6487
+ default:
6488
+ const parsedBody = parsedOutput.body;
6489
+ return throwDefaultError({
6490
+ output,
6491
+ parsedBody,
6492
+ errorCode,
6493
+ });
6494
+ }
6495
+ };
6496
+ const de_DeleteRoutingProfileCommand = async (output, context) => {
6497
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
6498
+ return de_DeleteRoutingProfileCommandError(output, context);
6499
+ }
6500
+ const contents = (0, smithy_client_1.map)({
6501
+ $metadata: deserializeMetadata(output),
6502
+ });
6503
+ await (0, smithy_client_1.collectBody)(output.body, context);
6504
+ return contents;
6505
+ };
6506
+ exports.de_DeleteRoutingProfileCommand = de_DeleteRoutingProfileCommand;
6507
+ const de_DeleteRoutingProfileCommandError = async (output, context) => {
6508
+ const parsedOutput = {
6509
+ ...output,
6510
+ body: await parseErrorBody(output.body, context),
6511
+ };
6512
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
6513
+ switch (errorCode) {
6514
+ case "InternalServiceException":
6515
+ case "com.amazonaws.connect#InternalServiceException":
6516
+ throw await de_InternalServiceExceptionRes(parsedOutput, context);
6517
+ case "InvalidParameterException":
6518
+ case "com.amazonaws.connect#InvalidParameterException":
6519
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
6520
+ case "InvalidRequestException":
6521
+ case "com.amazonaws.connect#InvalidRequestException":
6522
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
6523
+ case "ResourceInUseException":
6524
+ case "com.amazonaws.connect#ResourceInUseException":
6206
6525
  throw await de_ResourceInUseExceptionRes(parsedOutput, context);
6207
6526
  case "ResourceNotFoundException":
6208
6527
  case "com.amazonaws.connect#ResourceNotFoundException":
@@ -7167,6 +7486,52 @@ const de_DescribePhoneNumberCommandError = async (output, context) => {
7167
7486
  });
7168
7487
  }
7169
7488
  };
7489
+ const de_DescribePredefinedAttributeCommand = async (output, context) => {
7490
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
7491
+ return de_DescribePredefinedAttributeCommandError(output, context);
7492
+ }
7493
+ const contents = (0, smithy_client_1.map)({
7494
+ $metadata: deserializeMetadata(output),
7495
+ });
7496
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
7497
+ const doc = (0, smithy_client_1.take)(data, {
7498
+ PredefinedAttribute: (_) => de_PredefinedAttribute(_, context),
7499
+ });
7500
+ Object.assign(contents, doc);
7501
+ return contents;
7502
+ };
7503
+ exports.de_DescribePredefinedAttributeCommand = de_DescribePredefinedAttributeCommand;
7504
+ const de_DescribePredefinedAttributeCommandError = async (output, context) => {
7505
+ const parsedOutput = {
7506
+ ...output,
7507
+ body: await parseErrorBody(output.body, context),
7508
+ };
7509
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
7510
+ switch (errorCode) {
7511
+ case "InternalServiceException":
7512
+ case "com.amazonaws.connect#InternalServiceException":
7513
+ throw await de_InternalServiceExceptionRes(parsedOutput, context);
7514
+ case "InvalidParameterException":
7515
+ case "com.amazonaws.connect#InvalidParameterException":
7516
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
7517
+ case "InvalidRequestException":
7518
+ case "com.amazonaws.connect#InvalidRequestException":
7519
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
7520
+ case "ResourceNotFoundException":
7521
+ case "com.amazonaws.connect#ResourceNotFoundException":
7522
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
7523
+ case "ThrottlingException":
7524
+ case "com.amazonaws.connect#ThrottlingException":
7525
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
7526
+ default:
7527
+ const parsedBody = parsedOutput.body;
7528
+ return throwDefaultError({
7529
+ output,
7530
+ parsedBody,
7531
+ errorCode,
7532
+ });
7533
+ }
7534
+ };
7170
7535
  const de_DescribePromptCommand = async (output, context) => {
7171
7536
  if (output.statusCode !== 200 && output.statusCode >= 300) {
7172
7537
  return de_DescribePromptCommandError(output, context);
@@ -8229,6 +8594,48 @@ const de_DisassociateTrafficDistributionGroupUserCommandError = async (output, c
8229
8594
  });
8230
8595
  }
8231
8596
  };
8597
+ const de_DisassociateUserProficienciesCommand = async (output, context) => {
8598
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
8599
+ return de_DisassociateUserProficienciesCommandError(output, context);
8600
+ }
8601
+ const contents = (0, smithy_client_1.map)({
8602
+ $metadata: deserializeMetadata(output),
8603
+ });
8604
+ await (0, smithy_client_1.collectBody)(output.body, context);
8605
+ return contents;
8606
+ };
8607
+ exports.de_DisassociateUserProficienciesCommand = de_DisassociateUserProficienciesCommand;
8608
+ const de_DisassociateUserProficienciesCommandError = async (output, context) => {
8609
+ const parsedOutput = {
8610
+ ...output,
8611
+ body: await parseErrorBody(output.body, context),
8612
+ };
8613
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
8614
+ switch (errorCode) {
8615
+ case "InternalServiceException":
8616
+ case "com.amazonaws.connect#InternalServiceException":
8617
+ throw await de_InternalServiceExceptionRes(parsedOutput, context);
8618
+ case "InvalidParameterException":
8619
+ case "com.amazonaws.connect#InvalidParameterException":
8620
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
8621
+ case "InvalidRequestException":
8622
+ case "com.amazonaws.connect#InvalidRequestException":
8623
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
8624
+ case "ResourceNotFoundException":
8625
+ case "com.amazonaws.connect#ResourceNotFoundException":
8626
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
8627
+ case "ThrottlingException":
8628
+ case "com.amazonaws.connect#ThrottlingException":
8629
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
8630
+ default:
8631
+ const parsedBody = parsedOutput.body;
8632
+ return throwDefaultError({
8633
+ output,
8634
+ parsedBody,
8635
+ errorCode,
8636
+ });
8637
+ }
8638
+ };
8232
8639
  const de_DismissUserContactCommand = async (output, context) => {
8233
8640
  if (output.statusCode !== 200 && output.statusCode >= 300) {
8234
8641
  return de_DismissUserContactCommandError(output, context);
@@ -9780,6 +10187,53 @@ const de_ListPhoneNumbersV2CommandError = async (output, context) => {
9780
10187
  });
9781
10188
  }
9782
10189
  };
10190
+ const de_ListPredefinedAttributesCommand = async (output, context) => {
10191
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
10192
+ return de_ListPredefinedAttributesCommandError(output, context);
10193
+ }
10194
+ const contents = (0, smithy_client_1.map)({
10195
+ $metadata: deserializeMetadata(output),
10196
+ });
10197
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
10198
+ const doc = (0, smithy_client_1.take)(data, {
10199
+ NextToken: smithy_client_1.expectString,
10200
+ PredefinedAttributeSummaryList: (_) => de_PredefinedAttributeSummaryList(_, context),
10201
+ });
10202
+ Object.assign(contents, doc);
10203
+ return contents;
10204
+ };
10205
+ exports.de_ListPredefinedAttributesCommand = de_ListPredefinedAttributesCommand;
10206
+ const de_ListPredefinedAttributesCommandError = async (output, context) => {
10207
+ const parsedOutput = {
10208
+ ...output,
10209
+ body: await parseErrorBody(output.body, context),
10210
+ };
10211
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
10212
+ switch (errorCode) {
10213
+ case "InternalServiceException":
10214
+ case "com.amazonaws.connect#InternalServiceException":
10215
+ throw await de_InternalServiceExceptionRes(parsedOutput, context);
10216
+ case "InvalidParameterException":
10217
+ case "com.amazonaws.connect#InvalidParameterException":
10218
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
10219
+ case "InvalidRequestException":
10220
+ case "com.amazonaws.connect#InvalidRequestException":
10221
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
10222
+ case "ResourceNotFoundException":
10223
+ case "com.amazonaws.connect#ResourceNotFoundException":
10224
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
10225
+ case "ThrottlingException":
10226
+ case "com.amazonaws.connect#ThrottlingException":
10227
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
10228
+ default:
10229
+ const parsedBody = parsedOutput.body;
10230
+ return throwDefaultError({
10231
+ output,
10232
+ parsedBody,
10233
+ errorCode,
10234
+ });
10235
+ }
10236
+ };
9783
10237
  const de_ListPromptsCommand = async (output, context) => {
9784
10238
  if (output.statusCode !== 200 && output.statusCode >= 300) {
9785
10239
  return de_ListPromptsCommandError(output, context);
@@ -10632,6 +11086,55 @@ const de_ListUserHierarchyGroupsCommandError = async (output, context) => {
10632
11086
  });
10633
11087
  }
10634
11088
  };
11089
+ const de_ListUserProficienciesCommand = async (output, context) => {
11090
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
11091
+ return de_ListUserProficienciesCommandError(output, context);
11092
+ }
11093
+ const contents = (0, smithy_client_1.map)({
11094
+ $metadata: deserializeMetadata(output),
11095
+ });
11096
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
11097
+ const doc = (0, smithy_client_1.take)(data, {
11098
+ LastModifiedRegion: smithy_client_1.expectString,
11099
+ LastModifiedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
11100
+ NextToken: smithy_client_1.expectString,
11101
+ UserProficiencyList: (_) => de_UserProficiencyList(_, context),
11102
+ });
11103
+ Object.assign(contents, doc);
11104
+ return contents;
11105
+ };
11106
+ exports.de_ListUserProficienciesCommand = de_ListUserProficienciesCommand;
11107
+ const de_ListUserProficienciesCommandError = async (output, context) => {
11108
+ const parsedOutput = {
11109
+ ...output,
11110
+ body: await parseErrorBody(output.body, context),
11111
+ };
11112
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
11113
+ switch (errorCode) {
11114
+ case "InternalServiceException":
11115
+ case "com.amazonaws.connect#InternalServiceException":
11116
+ throw await de_InternalServiceExceptionRes(parsedOutput, context);
11117
+ case "InvalidParameterException":
11118
+ case "com.amazonaws.connect#InvalidParameterException":
11119
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
11120
+ case "InvalidRequestException":
11121
+ case "com.amazonaws.connect#InvalidRequestException":
11122
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
11123
+ case "ResourceNotFoundException":
11124
+ case "com.amazonaws.connect#ResourceNotFoundException":
11125
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
11126
+ case "ThrottlingException":
11127
+ case "com.amazonaws.connect#ThrottlingException":
11128
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
11129
+ default:
11130
+ const parsedBody = parsedOutput.body;
11131
+ return throwDefaultError({
11132
+ output,
11133
+ parsedBody,
11134
+ errorCode,
11135
+ });
11136
+ }
11137
+ };
10635
11138
  const de_ListUsersCommand = async (output, context) => {
10636
11139
  if (output.statusCode !== 200 && output.statusCode >= 300) {
10637
11140
  return de_ListUsersCommandError(output, context);
@@ -11160,6 +11663,54 @@ const de_SearchAvailablePhoneNumbersCommandError = async (output, context) => {
11160
11663
  });
11161
11664
  }
11162
11665
  };
11666
+ const de_SearchContactsCommand = async (output, context) => {
11667
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
11668
+ return de_SearchContactsCommandError(output, context);
11669
+ }
11670
+ const contents = (0, smithy_client_1.map)({
11671
+ $metadata: deserializeMetadata(output),
11672
+ });
11673
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
11674
+ const doc = (0, smithy_client_1.take)(data, {
11675
+ Contacts: (_) => de_Contacts(_, context),
11676
+ NextToken: smithy_client_1.expectString,
11677
+ TotalCount: smithy_client_1.expectLong,
11678
+ });
11679
+ Object.assign(contents, doc);
11680
+ return contents;
11681
+ };
11682
+ exports.de_SearchContactsCommand = de_SearchContactsCommand;
11683
+ const de_SearchContactsCommandError = async (output, context) => {
11684
+ const parsedOutput = {
11685
+ ...output,
11686
+ body: await parseErrorBody(output.body, context),
11687
+ };
11688
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
11689
+ switch (errorCode) {
11690
+ case "InternalServiceException":
11691
+ case "com.amazonaws.connect#InternalServiceException":
11692
+ throw await de_InternalServiceExceptionRes(parsedOutput, context);
11693
+ case "InvalidParameterException":
11694
+ case "com.amazonaws.connect#InvalidParameterException":
11695
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
11696
+ case "InvalidRequestException":
11697
+ case "com.amazonaws.connect#InvalidRequestException":
11698
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
11699
+ case "ResourceNotFoundException":
11700
+ case "com.amazonaws.connect#ResourceNotFoundException":
11701
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
11702
+ case "ThrottlingException":
11703
+ case "com.amazonaws.connect#ThrottlingException":
11704
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
11705
+ default:
11706
+ const parsedBody = parsedOutput.body;
11707
+ return throwDefaultError({
11708
+ output,
11709
+ parsedBody,
11710
+ errorCode,
11711
+ });
11712
+ }
11713
+ };
11163
11714
  const de_SearchHoursOfOperationsCommand = async (output, context) => {
11164
11715
  if (output.statusCode !== 200 && output.statusCode >= 300) {
11165
11716
  return de_SearchHoursOfOperationsCommandError(output, context);
@@ -11208,6 +11759,54 @@ const de_SearchHoursOfOperationsCommandError = async (output, context) => {
11208
11759
  });
11209
11760
  }
11210
11761
  };
11762
+ const de_SearchPredefinedAttributesCommand = async (output, context) => {
11763
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
11764
+ return de_SearchPredefinedAttributesCommandError(output, context);
11765
+ }
11766
+ const contents = (0, smithy_client_1.map)({
11767
+ $metadata: deserializeMetadata(output),
11768
+ });
11769
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
11770
+ const doc = (0, smithy_client_1.take)(data, {
11771
+ ApproximateTotalCount: smithy_client_1.expectLong,
11772
+ NextToken: smithy_client_1.expectString,
11773
+ PredefinedAttributes: (_) => de_PredefinedAttributeSearchSummaryList(_, context),
11774
+ });
11775
+ Object.assign(contents, doc);
11776
+ return contents;
11777
+ };
11778
+ exports.de_SearchPredefinedAttributesCommand = de_SearchPredefinedAttributesCommand;
11779
+ const de_SearchPredefinedAttributesCommandError = async (output, context) => {
11780
+ const parsedOutput = {
11781
+ ...output,
11782
+ body: await parseErrorBody(output.body, context),
11783
+ };
11784
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
11785
+ switch (errorCode) {
11786
+ case "InternalServiceException":
11787
+ case "com.amazonaws.connect#InternalServiceException":
11788
+ throw await de_InternalServiceExceptionRes(parsedOutput, context);
11789
+ case "InvalidParameterException":
11790
+ case "com.amazonaws.connect#InvalidParameterException":
11791
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
11792
+ case "InvalidRequestException":
11793
+ case "com.amazonaws.connect#InvalidRequestException":
11794
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
11795
+ case "ResourceNotFoundException":
11796
+ case "com.amazonaws.connect#ResourceNotFoundException":
11797
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
11798
+ case "ThrottlingException":
11799
+ case "com.amazonaws.connect#ThrottlingException":
11800
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
11801
+ default:
11802
+ const parsedBody = parsedOutput.body;
11803
+ return throwDefaultError({
11804
+ output,
11805
+ parsedBody,
11806
+ errorCode,
11807
+ });
11808
+ }
11809
+ };
11211
11810
  const de_SearchPromptsCommand = async (output, context) => {
11212
11811
  if (output.statusCode !== 200 && output.statusCode >= 300) {
11213
11812
  return de_SearchPromptsCommandError(output, context);
@@ -12796,6 +13395,51 @@ const de_UpdateContactFlowNameCommandError = async (output, context) => {
12796
13395
  });
12797
13396
  }
12798
13397
  };
13398
+ const de_UpdateContactRoutingDataCommand = async (output, context) => {
13399
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
13400
+ return de_UpdateContactRoutingDataCommandError(output, context);
13401
+ }
13402
+ const contents = (0, smithy_client_1.map)({
13403
+ $metadata: deserializeMetadata(output),
13404
+ });
13405
+ await (0, smithy_client_1.collectBody)(output.body, context);
13406
+ return contents;
13407
+ };
13408
+ exports.de_UpdateContactRoutingDataCommand = de_UpdateContactRoutingDataCommand;
13409
+ const de_UpdateContactRoutingDataCommandError = async (output, context) => {
13410
+ const parsedOutput = {
13411
+ ...output,
13412
+ body: await parseErrorBody(output.body, context),
13413
+ };
13414
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
13415
+ switch (errorCode) {
13416
+ case "AccessDeniedException":
13417
+ case "com.amazonaws.connect#AccessDeniedException":
13418
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
13419
+ case "InternalServiceException":
13420
+ case "com.amazonaws.connect#InternalServiceException":
13421
+ throw await de_InternalServiceExceptionRes(parsedOutput, context);
13422
+ case "InvalidParameterException":
13423
+ case "com.amazonaws.connect#InvalidParameterException":
13424
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
13425
+ case "ResourceConflictException":
13426
+ case "com.amazonaws.connect#ResourceConflictException":
13427
+ throw await de_ResourceConflictExceptionRes(parsedOutput, context);
13428
+ case "ResourceNotFoundException":
13429
+ case "com.amazonaws.connect#ResourceNotFoundException":
13430
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
13431
+ case "ThrottlingException":
13432
+ case "com.amazonaws.connect#ThrottlingException":
13433
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
13434
+ default:
13435
+ const parsedBody = parsedOutput.body;
13436
+ return throwDefaultError({
13437
+ output,
13438
+ parsedBody,
13439
+ errorCode,
13440
+ });
13441
+ }
13442
+ };
12799
13443
  const de_UpdateContactScheduleCommand = async (output, context) => {
12800
13444
  if (output.statusCode !== 200 && output.statusCode >= 300) {
12801
13445
  return de_UpdateContactScheduleCommandError(output, context);
@@ -13170,6 +13814,48 @@ const de_UpdatePhoneNumberMetadataCommandError = async (output, context) => {
13170
13814
  });
13171
13815
  }
13172
13816
  };
13817
+ const de_UpdatePredefinedAttributeCommand = async (output, context) => {
13818
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
13819
+ return de_UpdatePredefinedAttributeCommandError(output, context);
13820
+ }
13821
+ const contents = (0, smithy_client_1.map)({
13822
+ $metadata: deserializeMetadata(output),
13823
+ });
13824
+ await (0, smithy_client_1.collectBody)(output.body, context);
13825
+ return contents;
13826
+ };
13827
+ exports.de_UpdatePredefinedAttributeCommand = de_UpdatePredefinedAttributeCommand;
13828
+ const de_UpdatePredefinedAttributeCommandError = async (output, context) => {
13829
+ const parsedOutput = {
13830
+ ...output,
13831
+ body: await parseErrorBody(output.body, context),
13832
+ };
13833
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
13834
+ switch (errorCode) {
13835
+ case "InternalServiceException":
13836
+ case "com.amazonaws.connect#InternalServiceException":
13837
+ throw await de_InternalServiceExceptionRes(parsedOutput, context);
13838
+ case "InvalidParameterException":
13839
+ case "com.amazonaws.connect#InvalidParameterException":
13840
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
13841
+ case "InvalidRequestException":
13842
+ case "com.amazonaws.connect#InvalidRequestException":
13843
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
13844
+ case "ResourceNotFoundException":
13845
+ case "com.amazonaws.connect#ResourceNotFoundException":
13846
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
13847
+ case "ThrottlingException":
13848
+ case "com.amazonaws.connect#ThrottlingException":
13849
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
13850
+ default:
13851
+ const parsedBody = parsedOutput.body;
13852
+ return throwDefaultError({
13853
+ output,
13854
+ parsedBody,
13855
+ errorCode,
13856
+ });
13857
+ }
13858
+ };
13173
13859
  const de_UpdatePromptCommand = async (output, context) => {
13174
13860
  if (output.statusCode !== 200 && output.statusCode >= 300) {
13175
13861
  return de_UpdatePromptCommandError(output, context);
@@ -14135,6 +14821,48 @@ const de_UpdateUserPhoneConfigCommandError = async (output, context) => {
14135
14821
  });
14136
14822
  }
14137
14823
  };
14824
+ const de_UpdateUserProficienciesCommand = async (output, context) => {
14825
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
14826
+ return de_UpdateUserProficienciesCommandError(output, context);
14827
+ }
14828
+ const contents = (0, smithy_client_1.map)({
14829
+ $metadata: deserializeMetadata(output),
14830
+ });
14831
+ await (0, smithy_client_1.collectBody)(output.body, context);
14832
+ return contents;
14833
+ };
14834
+ exports.de_UpdateUserProficienciesCommand = de_UpdateUserProficienciesCommand;
14835
+ const de_UpdateUserProficienciesCommandError = async (output, context) => {
14836
+ const parsedOutput = {
14837
+ ...output,
14838
+ body: await parseErrorBody(output.body, context),
14839
+ };
14840
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
14841
+ switch (errorCode) {
14842
+ case "InternalServiceException":
14843
+ case "com.amazonaws.connect#InternalServiceException":
14844
+ throw await de_InternalServiceExceptionRes(parsedOutput, context);
14845
+ case "InvalidParameterException":
14846
+ case "com.amazonaws.connect#InvalidParameterException":
14847
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
14848
+ case "InvalidRequestException":
14849
+ case "com.amazonaws.connect#InvalidRequestException":
14850
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
14851
+ case "ResourceNotFoundException":
14852
+ case "com.amazonaws.connect#ResourceNotFoundException":
14853
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
14854
+ case "ThrottlingException":
14855
+ case "com.amazonaws.connect#ThrottlingException":
14856
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
14857
+ default:
14858
+ const parsedBody = parsedOutput.body;
14859
+ return throwDefaultError({
14860
+ output,
14861
+ parsedBody,
14862
+ errorCode,
14863
+ });
14864
+ }
14865
+ };
14138
14866
  const de_UpdateUserRoutingProfileCommand = async (output, context) => {
14139
14867
  if (output.statusCode !== 200 && output.statusCode >= 300) {
14140
14868
  return de_UpdateUserRoutingProfileCommandError(output, context);
@@ -14499,7 +15227,7 @@ const de_MaximumResultReturnedExceptionRes = async (parsedOutput, context) => {
14499
15227
  Message: smithy_client_1.expectString,
14500
15228
  });
14501
15229
  Object.assign(contents, doc);
14502
- const exception = new models_1_1.MaximumResultReturnedException({
15230
+ const exception = new models_2_1.MaximumResultReturnedException({
14503
15231
  $metadata: deserializeMetadata(parsedOutput),
14504
15232
  ...contents,
14505
15233
  });
@@ -14777,6 +15505,20 @@ const se_MetricV2 = (input, context) => {
14777
15505
  Threshold: (_) => se_ThresholdCollections(_, context),
14778
15506
  });
14779
15507
  };
15508
+ const se_PredefinedAttributeSearchConditionList = (input, context) => {
15509
+ return input
15510
+ .filter((e) => e != null)
15511
+ .map((entry) => {
15512
+ return se_PredefinedAttributeSearchCriteria(entry, context);
15513
+ });
15514
+ };
15515
+ const se_PredefinedAttributeSearchCriteria = (input, context) => {
15516
+ return (0, smithy_client_1.take)(input, {
15517
+ AndConditions: (_) => se_PredefinedAttributeSearchConditionList(_, context),
15518
+ OrConditions: (_) => se_PredefinedAttributeSearchConditionList(_, context),
15519
+ StringCondition: smithy_client_1._json,
15520
+ });
15521
+ };
14780
15522
  const se_PromptSearchConditionList = (input, context) => {
14781
15523
  return input
14782
15524
  .filter((e) => e != null)
@@ -14853,6 +15595,13 @@ const se_RuleActions = (input, context) => {
14853
15595
  return se_RuleAction(entry, context);
14854
15596
  });
14855
15597
  };
15598
+ const se_SearchContactsTimeRange = (input, context) => {
15599
+ return (0, smithy_client_1.take)(input, {
15600
+ EndTime: (_) => Math.round(_.getTime() / 1000),
15601
+ StartTime: (_) => Math.round(_.getTime() / 1000),
15602
+ Type: [],
15603
+ });
15604
+ };
14856
15605
  const se_SecurityProfileSearchConditionList = (input, context) => {
14857
15606
  return input
14858
15607
  .filter((e) => e != null)
@@ -14891,6 +15640,20 @@ const se_UpdateCaseActionDefinition = (input, context) => {
14891
15640
  Fields: (_) => se_FieldValues(_, context),
14892
15641
  });
14893
15642
  };
15643
+ const se_UserProficiency = (input, context) => {
15644
+ return (0, smithy_client_1.take)(input, {
15645
+ AttributeName: [],
15646
+ AttributeValue: [],
15647
+ Level: smithy_client_1.serializeFloat,
15648
+ });
15649
+ };
15650
+ const se_UserProficiencyList = (input, context) => {
15651
+ return input
15652
+ .filter((e) => e != null)
15653
+ .map((entry) => {
15654
+ return se_UserProficiency(entry, context);
15655
+ });
15656
+ };
14894
15657
  const se_UserSearchConditionList = (input, context) => {
14895
15658
  return input
14896
15659
  .filter((e) => e != null)
@@ -14988,6 +15751,8 @@ const de_Contact = (output, context) => {
14988
15751
  Name: smithy_client_1.expectString,
14989
15752
  PreviousContactId: smithy_client_1.expectString,
14990
15753
  QueueInfo: (_) => de_QueueInfo(_, context),
15754
+ QueuePriority: smithy_client_1.expectLong,
15755
+ QueueTimeAdjustmentSeconds: smithy_client_1.expectInt32,
14991
15756
  RelatedContactId: smithy_client_1.expectString,
14992
15757
  ScheduledTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
14993
15758
  Tags: smithy_client_1._json,
@@ -14996,6 +15761,41 @@ const de_Contact = (output, context) => {
14996
15761
  WisdomInfo: smithy_client_1._json,
14997
15762
  });
14998
15763
  };
15764
+ const de_Contacts = (output, context) => {
15765
+ const retVal = (output || [])
15766
+ .filter((e) => e != null)
15767
+ .map((entry) => {
15768
+ return de_ContactSearchSummary(entry, context);
15769
+ });
15770
+ return retVal;
15771
+ };
15772
+ const de_ContactSearchSummary = (output, context) => {
15773
+ return (0, smithy_client_1.take)(output, {
15774
+ AgentInfo: (_) => de_ContactSearchSummaryAgentInfo(_, context),
15775
+ Arn: smithy_client_1.expectString,
15776
+ Channel: smithy_client_1.expectString,
15777
+ DisconnectTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
15778
+ Id: smithy_client_1.expectString,
15779
+ InitialContactId: smithy_client_1.expectString,
15780
+ InitiationMethod: smithy_client_1.expectString,
15781
+ InitiationTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
15782
+ PreviousContactId: smithy_client_1.expectString,
15783
+ QueueInfo: (_) => de_ContactSearchSummaryQueueInfo(_, context),
15784
+ ScheduledTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
15785
+ });
15786
+ };
15787
+ const de_ContactSearchSummaryAgentInfo = (output, context) => {
15788
+ return (0, smithy_client_1.take)(output, {
15789
+ ConnectedToAgentTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
15790
+ Id: smithy_client_1.expectString,
15791
+ });
15792
+ };
15793
+ const de_ContactSearchSummaryQueueInfo = (output, context) => {
15794
+ return (0, smithy_client_1.take)(output, {
15795
+ EnqueueTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
15796
+ Id: smithy_client_1.expectString,
15797
+ });
15798
+ };
14999
15799
  const de_CreateCaseActionDefinition = (output, context) => {
15000
15800
  return (0, smithy_client_1.take)(output, {
15001
15801
  Fields: (_) => de_FieldValues(_, context),
@@ -15471,6 +16271,37 @@ const de_MetricV2 = (output, context) => {
15471
16271
  Threshold: (_) => de_ThresholdCollections(_, context),
15472
16272
  });
15473
16273
  };
16274
+ const de_PredefinedAttribute = (output, context) => {
16275
+ return (0, smithy_client_1.take)(output, {
16276
+ LastModifiedRegion: smithy_client_1.expectString,
16277
+ LastModifiedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
16278
+ Name: smithy_client_1.expectString,
16279
+ Values: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
16280
+ });
16281
+ };
16282
+ const de_PredefinedAttributeSearchSummaryList = (output, context) => {
16283
+ const retVal = (output || [])
16284
+ .filter((e) => e != null)
16285
+ .map((entry) => {
16286
+ return de_PredefinedAttribute(entry, context);
16287
+ });
16288
+ return retVal;
16289
+ };
16290
+ const de_PredefinedAttributeSummary = (output, context) => {
16291
+ return (0, smithy_client_1.take)(output, {
16292
+ LastModifiedRegion: smithy_client_1.expectString,
16293
+ LastModifiedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
16294
+ Name: smithy_client_1.expectString,
16295
+ });
16296
+ };
16297
+ const de_PredefinedAttributeSummaryList = (output, context) => {
16298
+ const retVal = (output || [])
16299
+ .filter((e) => e != null)
16300
+ .map((entry) => {
16301
+ return de_PredefinedAttributeSummary(entry, context);
16302
+ });
16303
+ return retVal;
16304
+ };
15474
16305
  const de_Prompt = (output, context) => {
15475
16306
  return (0, smithy_client_1.take)(output, {
15476
16307
  Description: smithy_client_1.expectString,
@@ -15894,6 +16725,21 @@ const de_UserDataList = (output, context) => {
15894
16725
  });
15895
16726
  return retVal;
15896
16727
  };
16728
+ const de_UserProficiency = (output, context) => {
16729
+ return (0, smithy_client_1.take)(output, {
16730
+ AttributeName: smithy_client_1.expectString,
16731
+ AttributeValue: smithy_client_1.expectString,
16732
+ Level: smithy_client_1.limitedParseFloat32,
16733
+ });
16734
+ };
16735
+ const de_UserProficiencyList = (output, context) => {
16736
+ const retVal = (output || [])
16737
+ .filter((e) => e != null)
16738
+ .map((entry) => {
16739
+ return de_UserProficiency(entry, context);
16740
+ });
16741
+ return retVal;
16742
+ };
15897
16743
  const de_UserSummary = (output, context) => {
15898
16744
  return (0, smithy_client_1.take)(output, {
15899
16745
  Arn: smithy_client_1.expectString,