@aws-sdk/client-connect 3.388.0 → 3.391.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 (68) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/Connect.js +6 -0
  3. package/dist-cjs/commands/AssociateTrafficDistributionGroupUserCommand.js +46 -0
  4. package/dist-cjs/commands/DisassociateTrafficDistributionGroupUserCommand.js +46 -0
  5. package/dist-cjs/commands/ListTrafficDistributionGroupUsersCommand.js +46 -0
  6. package/dist-cjs/commands/index.js +3 -0
  7. package/dist-cjs/models/models_0.js +1 -26
  8. package/dist-cjs/models/models_1.js +26 -11
  9. package/dist-cjs/models/models_2.js +11 -0
  10. package/dist-cjs/pagination/ListTrafficDistributionGroupUsersPaginator.js +29 -0
  11. package/dist-cjs/pagination/index.js +1 -0
  12. package/dist-cjs/protocols/Aws_restJson1.js +221 -9
  13. package/dist-es/Connect.js +6 -0
  14. package/dist-es/commands/AssociateTrafficDistributionGroupUserCommand.js +42 -0
  15. package/dist-es/commands/DisassociateTrafficDistributionGroupUserCommand.js +42 -0
  16. package/dist-es/commands/ListTrafficDistributionGroupUsersCommand.js +42 -0
  17. package/dist-es/commands/index.js +3 -0
  18. package/dist-es/models/models_0.js +0 -25
  19. package/dist-es/models/models_1.js +25 -10
  20. package/dist-es/models/models_2.js +10 -1
  21. package/dist-es/pagination/ListTrafficDistributionGroupUsersPaginator.js +25 -0
  22. package/dist-es/pagination/index.js +1 -0
  23. package/dist-es/protocols/Aws_restJson1.js +207 -1
  24. package/dist-types/Connect.d.ts +21 -0
  25. package/dist-types/ConnectClient.d.ts +5 -2
  26. package/dist-types/commands/AssociateTrafficDistributionGroupUserCommand.d.ts +91 -0
  27. package/dist-types/commands/CreateEvaluationFormCommand.d.ts +1 -1
  28. package/dist-types/commands/DescribeTrafficDistributionGroupCommand.d.ts +1 -0
  29. package/dist-types/commands/DisassociateTrafficDistributionGroupUserCommand.d.ts +91 -0
  30. package/dist-types/commands/GetContactAttributesCommand.d.ts +2 -1
  31. package/dist-types/commands/GetTrafficDistributionCommand.d.ts +16 -0
  32. package/dist-types/commands/ListPhoneNumbersV2Command.d.ts +12 -0
  33. package/dist-types/commands/ListTrafficDistributionGroupUsersCommand.d.ts +95 -0
  34. package/dist-types/commands/ListTrafficDistributionGroupsCommand.d.ts +1 -0
  35. package/dist-types/commands/UpdateRoutingProfileAgentAvailabilityTimerCommand.d.ts +3 -5
  36. package/dist-types/commands/UpdateTrafficDistributionCommand.d.ts +21 -0
  37. package/dist-types/commands/UpdateUserHierarchyStructureCommand.d.ts +1 -1
  38. package/dist-types/commands/UpdateUserIdentityInfoCommand.d.ts +1 -1
  39. package/dist-types/commands/UpdateUserPhoneConfigCommand.d.ts +1 -1
  40. package/dist-types/commands/UpdateUserRoutingProfileCommand.d.ts +1 -1
  41. package/dist-types/commands/UpdateUserSecurityProfilesCommand.d.ts +1 -1
  42. package/dist-types/commands/index.d.ts +3 -0
  43. package/dist-types/models/models_0.d.ts +97 -106
  44. package/dist-types/models/models_1.d.ts +213 -339
  45. package/dist-types/models/models_2.d.ts +320 -2
  46. package/dist-types/pagination/ListTrafficDistributionGroupUsersPaginator.d.ts +7 -0
  47. package/dist-types/pagination/index.d.ts +1 -0
  48. package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
  49. package/dist-types/ts3.4/Connect.d.ts +69 -0
  50. package/dist-types/ts3.4/ConnectClient.d.ts +18 -0
  51. package/dist-types/ts3.4/commands/AssociateTrafficDistributionGroupUserCommand.d.ts +42 -0
  52. package/dist-types/ts3.4/commands/CreateEvaluationFormCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/DisassociateTrafficDistributionGroupUserCommand.d.ts +42 -0
  54. package/dist-types/ts3.4/commands/GetContactAttributesCommand.d.ts +2 -4
  55. package/dist-types/ts3.4/commands/ListTrafficDistributionGroupUsersCommand.d.ts +42 -0
  56. package/dist-types/ts3.4/commands/UpdateUserHierarchyStructureCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/UpdateUserIdentityInfoCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/UpdateUserPhoneConfigCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/UpdateUserRoutingProfileCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/UpdateUserSecurityProfilesCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  62. package/dist-types/ts3.4/models/models_0.d.ts +20 -41
  63. package/dist-types/ts3.4/models/models_1.d.ts +65 -99
  64. package/dist-types/ts3.4/models/models_2.d.ts +98 -3
  65. package/dist-types/ts3.4/pagination/ListTrafficDistributionGroupUsersPaginator.d.ts +11 -0
  66. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  67. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
  68. package/package.json +28 -28
@@ -1,19 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- 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_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_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_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_AssociateSecurityKeyCommand = exports.se_AssociateRoutingProfileQueuesCommand = exports.se_AssociateQueueQuickConnectsCommand = exports.se_AssociatePhoneNumberContactFlowCommand = exports.se_AssociateLexBotCommand = exports.se_AssociateLambdaFunctionCommand = exports.se_AssociateInstanceStorageConfigCommand = exports.se_AssociateDefaultVocabularyCommand = exports.se_AssociateBotCommand = exports.se_AssociateApprovedOriginCommand = exports.se_ActivateEvaluationFormCommand = void 0;
4
- exports.se_ListContactReferencesCommand = exports.se_ListContactFlowsCommand = exports.se_ListContactFlowModulesCommand = exports.se_ListContactEvaluationsCommand = exports.se_ListBotsCommand = exports.se_ListApprovedOriginsCommand = exports.se_ListAgentStatusesCommand = exports.se_GetTrafficDistributionCommand = exports.se_GetTaskTemplateCommand = exports.se_GetPromptFileCommand = exports.se_GetMetricDataV2Command = exports.se_GetMetricDataCommand = exports.se_GetFederationTokenCommand = exports.se_GetCurrentUserDataCommand = exports.se_GetCurrentMetricDataCommand = exports.se_GetContactAttributesCommand = exports.se_DismissUserContactCommand = exports.se_DisassociateSecurityKeyCommand = exports.se_DisassociateRoutingProfileQueuesCommand = exports.se_DisassociateQueueQuickConnectsCommand = exports.se_DisassociatePhoneNumberContactFlowCommand = exports.se_DisassociateLexBotCommand = exports.se_DisassociateLambdaFunctionCommand = exports.se_DisassociateInstanceStorageConfigCommand = exports.se_DisassociateBotCommand = exports.se_DisassociateApprovedOriginCommand = exports.se_DescribeVocabularyCommand = exports.se_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_DeleteUserHierarchyGroupCommand = void 0;
5
- exports.se_StopContactCommand = exports.se_StartTaskContactCommand = exports.se_StartOutboundVoiceContactCommand = exports.se_StartContactStreamingCommand = exports.se_StartContactRecordingCommand = exports.se_StartContactEvaluationCommand = exports.se_StartChatContactCommand = exports.se_SearchVocabulariesCommand = exports.se_SearchUsersCommand = exports.se_SearchSecurityProfilesCommand = exports.se_SearchRoutingProfilesCommand = exports.se_SearchResourceTagsCommand = exports.se_SearchQuickConnectsCommand = exports.se_SearchQueuesCommand = exports.se_SearchPromptsCommand = exports.se_SearchHoursOfOperationsCommand = exports.se_SearchAvailablePhoneNumbersCommand = exports.se_ResumeContactRecordingCommand = exports.se_ReplicateInstanceCommand = exports.se_ReleasePhoneNumberCommand = exports.se_PutUserStatusCommand = exports.se_MonitorContactCommand = exports.se_ListUsersCommand = exports.se_ListUserHierarchyGroupsCommand = exports.se_ListUseCasesCommand = exports.se_ListTrafficDistributionGroupsCommand = exports.se_ListTaskTemplatesCommand = exports.se_ListTagsForResourceCommand = exports.se_ListSecurityProfilesCommand = exports.se_ListSecurityProfilePermissionsCommand = exports.se_ListSecurityKeysCommand = exports.se_ListRulesCommand = exports.se_ListRoutingProfilesCommand = exports.se_ListRoutingProfileQueuesCommand = exports.se_ListQuickConnectsCommand = exports.se_ListQueuesCommand = exports.se_ListQueueQuickConnectsCommand = exports.se_ListPromptsCommand = exports.se_ListPhoneNumbersV2Command = exports.se_ListPhoneNumbersCommand = exports.se_ListLexBotsCommand = exports.se_ListLambdaFunctionsCommand = exports.se_ListIntegrationAssociationsCommand = exports.se_ListInstanceStorageConfigsCommand = exports.se_ListInstancesCommand = exports.se_ListInstanceAttributesCommand = exports.se_ListHoursOfOperationsCommand = exports.se_ListEvaluationFormVersionsCommand = exports.se_ListEvaluationFormsCommand = exports.se_ListDefaultVocabulariesCommand = void 0;
6
- exports.de_AssociateBotCommand = exports.de_AssociateApprovedOriginCommand = exports.de_ActivateEvaluationFormCommand = 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_UpdatePhoneNumberCommand = exports.se_UpdateParticipantRoleConfigCommand = exports.se_UpdateInstanceStorageConfigCommand = exports.se_UpdateInstanceAttributeCommand = exports.se_UpdateHoursOfOperationCommand = exports.se_UpdateEvaluationFormCommand = exports.se_UpdateContactScheduleCommand = exports.se_UpdateContactFlowNameCommand = exports.se_UpdateContactFlowModuleMetadataCommand = exports.se_UpdateContactFlowModuleContentCommand = exports.se_UpdateContactFlowMetadataCommand = exports.se_UpdateContactFlowContentCommand = exports.se_UpdateContactEvaluationCommand = exports.se_UpdateContactAttributesCommand = exports.se_UpdateContactCommand = exports.se_UpdateAgentStatusCommand = exports.se_UntagResourceCommand = exports.se_TransferContactCommand = exports.se_TagResourceCommand = exports.se_SuspendContactRecordingCommand = exports.se_SubmitContactEvaluationCommand = exports.se_StopContactStreamingCommand = exports.se_StopContactRecordingCommand = void 0;
7
- exports.de_DescribeAgentStatusCommand = exports.de_DeleteVocabularyCommand = 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_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_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_AssociateSecurityKeyCommand = exports.de_AssociateRoutingProfileQueuesCommand = exports.de_AssociateQueueQuickConnectsCommand = exports.de_AssociatePhoneNumberContactFlowCommand = exports.de_AssociateLexBotCommand = exports.de_AssociateLambdaFunctionCommand = exports.de_AssociateInstanceStorageConfigCommand = exports.de_AssociateDefaultVocabularyCommand = void 0;
8
- exports.de_ListEvaluationFormVersionsCommand = exports.de_ListEvaluationFormsCommand = exports.de_ListDefaultVocabulariesCommand = exports.de_ListContactReferencesCommand = exports.de_ListContactFlowsCommand = exports.de_ListContactFlowModulesCommand = exports.de_ListContactEvaluationsCommand = exports.de_ListBotsCommand = exports.de_ListApprovedOriginsCommand = exports.de_ListAgentStatusesCommand = exports.de_GetTrafficDistributionCommand = exports.de_GetTaskTemplateCommand = exports.de_GetPromptFileCommand = exports.de_GetMetricDataV2Command = exports.de_GetMetricDataCommand = exports.de_GetFederationTokenCommand = exports.de_GetCurrentUserDataCommand = exports.de_GetCurrentMetricDataCommand = exports.de_GetContactAttributesCommand = exports.de_DismissUserContactCommand = exports.de_DisassociateSecurityKeyCommand = exports.de_DisassociateRoutingProfileQueuesCommand = exports.de_DisassociateQueueQuickConnectsCommand = exports.de_DisassociatePhoneNumberContactFlowCommand = exports.de_DisassociateLexBotCommand = exports.de_DisassociateLambdaFunctionCommand = exports.de_DisassociateInstanceStorageConfigCommand = exports.de_DisassociateBotCommand = exports.de_DisassociateApprovedOriginCommand = exports.de_DescribeVocabularyCommand = exports.de_DescribeUserHierarchyStructureCommand = exports.de_DescribeUserHierarchyGroupCommand = exports.de_DescribeUserCommand = exports.de_DescribeTrafficDistributionGroupCommand = exports.de_DescribeSecurityProfileCommand = exports.de_DescribeRuleCommand = exports.de_DescribeRoutingProfileCommand = exports.de_DescribeQuickConnectCommand = exports.de_DescribeQueueCommand = exports.de_DescribePromptCommand = exports.de_DescribePhoneNumberCommand = exports.de_DescribeInstanceStorageConfigCommand = exports.de_DescribeInstanceAttributeCommand = exports.de_DescribeInstanceCommand = exports.de_DescribeHoursOfOperationCommand = exports.de_DescribeEvaluationFormCommand = exports.de_DescribeContactFlowModuleCommand = exports.de_DescribeContactFlowCommand = exports.de_DescribeContactEvaluationCommand = exports.de_DescribeContactCommand = void 0;
9
- exports.de_SubmitContactEvaluationCommand = exports.de_StopContactStreamingCommand = exports.de_StopContactRecordingCommand = exports.de_StopContactCommand = exports.de_StartTaskContactCommand = exports.de_StartOutboundVoiceContactCommand = exports.de_StartContactStreamingCommand = exports.de_StartContactRecordingCommand = exports.de_StartContactEvaluationCommand = exports.de_StartChatContactCommand = exports.de_SearchVocabulariesCommand = exports.de_SearchUsersCommand = exports.de_SearchSecurityProfilesCommand = exports.de_SearchRoutingProfilesCommand = exports.de_SearchResourceTagsCommand = exports.de_SearchQuickConnectsCommand = exports.de_SearchQueuesCommand = exports.de_SearchPromptsCommand = exports.de_SearchHoursOfOperationsCommand = exports.de_SearchAvailablePhoneNumbersCommand = exports.de_ResumeContactRecordingCommand = exports.de_ReplicateInstanceCommand = exports.de_ReleasePhoneNumberCommand = exports.de_PutUserStatusCommand = exports.de_MonitorContactCommand = exports.de_ListUsersCommand = exports.de_ListUserHierarchyGroupsCommand = exports.de_ListUseCasesCommand = exports.de_ListTrafficDistributionGroupsCommand = exports.de_ListTaskTemplatesCommand = exports.de_ListTagsForResourceCommand = exports.de_ListSecurityProfilesCommand = exports.de_ListSecurityProfilePermissionsCommand = exports.de_ListSecurityKeysCommand = exports.de_ListRulesCommand = exports.de_ListRoutingProfilesCommand = exports.de_ListRoutingProfileQueuesCommand = exports.de_ListQuickConnectsCommand = exports.de_ListQueuesCommand = exports.de_ListQueueQuickConnectsCommand = exports.de_ListPromptsCommand = exports.de_ListPhoneNumbersV2Command = exports.de_ListPhoneNumbersCommand = exports.de_ListLexBotsCommand = exports.de_ListLambdaFunctionsCommand = exports.de_ListIntegrationAssociationsCommand = exports.de_ListInstanceStorageConfigsCommand = exports.de_ListInstancesCommand = exports.de_ListInstanceAttributesCommand = exports.de_ListHoursOfOperationsCommand = void 0;
10
- exports.de_UpdateUserSecurityProfilesCommand = exports.de_UpdateUserRoutingProfileCommand = exports.de_UpdateUserPhoneConfigCommand = exports.de_UpdateUserIdentityInfoCommand = exports.de_UpdateUserHierarchyStructureCommand = exports.de_UpdateUserHierarchyGroupNameCommand = exports.de_UpdateUserHierarchyCommand = exports.de_UpdateTrafficDistributionCommand = exports.de_UpdateTaskTemplateCommand = exports.de_UpdateSecurityProfileCommand = exports.de_UpdateRuleCommand = exports.de_UpdateRoutingProfileQueuesCommand = exports.de_UpdateRoutingProfileNameCommand = exports.de_UpdateRoutingProfileDefaultOutboundQueueCommand = exports.de_UpdateRoutingProfileConcurrencyCommand = exports.de_UpdateRoutingProfileAgentAvailabilityTimerCommand = exports.de_UpdateQuickConnectNameCommand = exports.de_UpdateQuickConnectConfigCommand = exports.de_UpdateQueueStatusCommand = exports.de_UpdateQueueOutboundCallerConfigCommand = exports.de_UpdateQueueNameCommand = exports.de_UpdateQueueMaxContactsCommand = exports.de_UpdateQueueHoursOfOperationCommand = exports.de_UpdatePromptCommand = exports.de_UpdatePhoneNumberCommand = exports.de_UpdateParticipantRoleConfigCommand = exports.de_UpdateInstanceStorageConfigCommand = exports.de_UpdateInstanceAttributeCommand = exports.de_UpdateHoursOfOperationCommand = exports.de_UpdateEvaluationFormCommand = exports.de_UpdateContactScheduleCommand = exports.de_UpdateContactFlowNameCommand = exports.de_UpdateContactFlowModuleMetadataCommand = exports.de_UpdateContactFlowModuleContentCommand = exports.de_UpdateContactFlowMetadataCommand = exports.de_UpdateContactFlowContentCommand = exports.de_UpdateContactEvaluationCommand = exports.de_UpdateContactAttributesCommand = exports.de_UpdateContactCommand = exports.de_UpdateAgentStatusCommand = exports.de_UntagResourceCommand = exports.de_TransferContactCommand = exports.de_TagResourceCommand = exports.de_SuspendContactRecordingCommand = void 0;
3
+ 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_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_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_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_AssociateTrafficDistributionGroupUserCommand = exports.se_AssociateSecurityKeyCommand = exports.se_AssociateRoutingProfileQueuesCommand = exports.se_AssociateQueueQuickConnectsCommand = exports.se_AssociatePhoneNumberContactFlowCommand = exports.se_AssociateLexBotCommand = exports.se_AssociateLambdaFunctionCommand = exports.se_AssociateInstanceStorageConfigCommand = exports.se_AssociateDefaultVocabularyCommand = exports.se_AssociateBotCommand = exports.se_AssociateApprovedOriginCommand = exports.se_ActivateEvaluationFormCommand = void 0;
4
+ exports.se_ListContactFlowModulesCommand = exports.se_ListContactEvaluationsCommand = exports.se_ListBotsCommand = exports.se_ListApprovedOriginsCommand = exports.se_ListAgentStatusesCommand = exports.se_GetTrafficDistributionCommand = exports.se_GetTaskTemplateCommand = exports.se_GetPromptFileCommand = exports.se_GetMetricDataV2Command = exports.se_GetMetricDataCommand = exports.se_GetFederationTokenCommand = exports.se_GetCurrentUserDataCommand = exports.se_GetCurrentMetricDataCommand = exports.se_GetContactAttributesCommand = exports.se_DismissUserContactCommand = exports.se_DisassociateTrafficDistributionGroupUserCommand = exports.se_DisassociateSecurityKeyCommand = exports.se_DisassociateRoutingProfileQueuesCommand = exports.se_DisassociateQueueQuickConnectsCommand = exports.se_DisassociatePhoneNumberContactFlowCommand = exports.se_DisassociateLexBotCommand = exports.se_DisassociateLambdaFunctionCommand = exports.se_DisassociateInstanceStorageConfigCommand = exports.se_DisassociateBotCommand = exports.se_DisassociateApprovedOriginCommand = exports.se_DescribeVocabularyCommand = exports.se_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_DeleteUserHierarchyGroupCommand = exports.se_DeleteUserCommand = void 0;
5
+ exports.se_StartContactStreamingCommand = exports.se_StartContactRecordingCommand = exports.se_StartContactEvaluationCommand = exports.se_StartChatContactCommand = exports.se_SearchVocabulariesCommand = exports.se_SearchUsersCommand = exports.se_SearchSecurityProfilesCommand = exports.se_SearchRoutingProfilesCommand = exports.se_SearchResourceTagsCommand = exports.se_SearchQuickConnectsCommand = exports.se_SearchQueuesCommand = exports.se_SearchPromptsCommand = exports.se_SearchHoursOfOperationsCommand = exports.se_SearchAvailablePhoneNumbersCommand = exports.se_ResumeContactRecordingCommand = exports.se_ReplicateInstanceCommand = exports.se_ReleasePhoneNumberCommand = exports.se_PutUserStatusCommand = exports.se_MonitorContactCommand = exports.se_ListUsersCommand = exports.se_ListUserHierarchyGroupsCommand = exports.se_ListUseCasesCommand = exports.se_ListTrafficDistributionGroupUsersCommand = exports.se_ListTrafficDistributionGroupsCommand = exports.se_ListTaskTemplatesCommand = exports.se_ListTagsForResourceCommand = exports.se_ListSecurityProfilesCommand = exports.se_ListSecurityProfilePermissionsCommand = exports.se_ListSecurityKeysCommand = exports.se_ListRulesCommand = exports.se_ListRoutingProfilesCommand = exports.se_ListRoutingProfileQueuesCommand = exports.se_ListQuickConnectsCommand = exports.se_ListQueuesCommand = exports.se_ListQueueQuickConnectsCommand = exports.se_ListPromptsCommand = exports.se_ListPhoneNumbersV2Command = exports.se_ListPhoneNumbersCommand = exports.se_ListLexBotsCommand = exports.se_ListLambdaFunctionsCommand = exports.se_ListIntegrationAssociationsCommand = exports.se_ListInstanceStorageConfigsCommand = exports.se_ListInstancesCommand = exports.se_ListInstanceAttributesCommand = exports.se_ListHoursOfOperationsCommand = exports.se_ListEvaluationFormVersionsCommand = exports.se_ListEvaluationFormsCommand = exports.se_ListDefaultVocabulariesCommand = exports.se_ListContactReferencesCommand = exports.se_ListContactFlowsCommand = void 0;
6
+ 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_UpdatePhoneNumberCommand = exports.se_UpdateParticipantRoleConfigCommand = exports.se_UpdateInstanceStorageConfigCommand = exports.se_UpdateInstanceAttributeCommand = exports.se_UpdateHoursOfOperationCommand = exports.se_UpdateEvaluationFormCommand = exports.se_UpdateContactScheduleCommand = exports.se_UpdateContactFlowNameCommand = exports.se_UpdateContactFlowModuleMetadataCommand = exports.se_UpdateContactFlowModuleContentCommand = exports.se_UpdateContactFlowMetadataCommand = exports.se_UpdateContactFlowContentCommand = exports.se_UpdateContactEvaluationCommand = exports.se_UpdateContactAttributesCommand = exports.se_UpdateContactCommand = exports.se_UpdateAgentStatusCommand = exports.se_UntagResourceCommand = exports.se_TransferContactCommand = exports.se_TagResourceCommand = exports.se_SuspendContactRecordingCommand = exports.se_SubmitContactEvaluationCommand = exports.se_StopContactStreamingCommand = exports.se_StopContactRecordingCommand = exports.se_StopContactCommand = exports.se_StartTaskContactCommand = exports.se_StartOutboundVoiceContactCommand = void 0;
7
+ 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_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_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_AssociateTrafficDistributionGroupUserCommand = exports.de_AssociateSecurityKeyCommand = exports.de_AssociateRoutingProfileQueuesCommand = exports.de_AssociateQueueQuickConnectsCommand = exports.de_AssociatePhoneNumberContactFlowCommand = exports.de_AssociateLexBotCommand = exports.de_AssociateLambdaFunctionCommand = exports.de_AssociateInstanceStorageConfigCommand = exports.de_AssociateDefaultVocabularyCommand = exports.de_AssociateBotCommand = exports.de_AssociateApprovedOriginCommand = exports.de_ActivateEvaluationFormCommand = void 0;
8
+ exports.de_ListContactFlowModulesCommand = exports.de_ListContactEvaluationsCommand = exports.de_ListBotsCommand = exports.de_ListApprovedOriginsCommand = exports.de_ListAgentStatusesCommand = exports.de_GetTrafficDistributionCommand = exports.de_GetTaskTemplateCommand = exports.de_GetPromptFileCommand = exports.de_GetMetricDataV2Command = exports.de_GetMetricDataCommand = exports.de_GetFederationTokenCommand = exports.de_GetCurrentUserDataCommand = exports.de_GetCurrentMetricDataCommand = exports.de_GetContactAttributesCommand = exports.de_DismissUserContactCommand = exports.de_DisassociateTrafficDistributionGroupUserCommand = exports.de_DisassociateSecurityKeyCommand = exports.de_DisassociateRoutingProfileQueuesCommand = exports.de_DisassociateQueueQuickConnectsCommand = exports.de_DisassociatePhoneNumberContactFlowCommand = exports.de_DisassociateLexBotCommand = exports.de_DisassociateLambdaFunctionCommand = exports.de_DisassociateInstanceStorageConfigCommand = exports.de_DisassociateBotCommand = exports.de_DisassociateApprovedOriginCommand = exports.de_DescribeVocabularyCommand = exports.de_DescribeUserHierarchyStructureCommand = exports.de_DescribeUserHierarchyGroupCommand = exports.de_DescribeUserCommand = exports.de_DescribeTrafficDistributionGroupCommand = exports.de_DescribeSecurityProfileCommand = exports.de_DescribeRuleCommand = exports.de_DescribeRoutingProfileCommand = exports.de_DescribeQuickConnectCommand = exports.de_DescribeQueueCommand = exports.de_DescribePromptCommand = exports.de_DescribePhoneNumberCommand = exports.de_DescribeInstanceStorageConfigCommand = exports.de_DescribeInstanceAttributeCommand = exports.de_DescribeInstanceCommand = exports.de_DescribeHoursOfOperationCommand = exports.de_DescribeEvaluationFormCommand = exports.de_DescribeContactFlowModuleCommand = exports.de_DescribeContactFlowCommand = exports.de_DescribeContactEvaluationCommand = exports.de_DescribeContactCommand = exports.de_DescribeAgentStatusCommand = exports.de_DeleteVocabularyCommand = exports.de_DeleteUserHierarchyGroupCommand = exports.de_DeleteUserCommand = void 0;
9
+ exports.de_StartContactStreamingCommand = exports.de_StartContactRecordingCommand = exports.de_StartContactEvaluationCommand = exports.de_StartChatContactCommand = exports.de_SearchVocabulariesCommand = exports.de_SearchUsersCommand = exports.de_SearchSecurityProfilesCommand = exports.de_SearchRoutingProfilesCommand = exports.de_SearchResourceTagsCommand = exports.de_SearchQuickConnectsCommand = exports.de_SearchQueuesCommand = exports.de_SearchPromptsCommand = exports.de_SearchHoursOfOperationsCommand = exports.de_SearchAvailablePhoneNumbersCommand = exports.de_ResumeContactRecordingCommand = exports.de_ReplicateInstanceCommand = exports.de_ReleasePhoneNumberCommand = exports.de_PutUserStatusCommand = exports.de_MonitorContactCommand = exports.de_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_ListSecurityKeysCommand = exports.de_ListRulesCommand = exports.de_ListRoutingProfilesCommand = exports.de_ListRoutingProfileQueuesCommand = exports.de_ListQuickConnectsCommand = exports.de_ListQueuesCommand = exports.de_ListQueueQuickConnectsCommand = exports.de_ListPromptsCommand = exports.de_ListPhoneNumbersV2Command = exports.de_ListPhoneNumbersCommand = exports.de_ListLexBotsCommand = exports.de_ListLambdaFunctionsCommand = exports.de_ListIntegrationAssociationsCommand = exports.de_ListInstanceStorageConfigsCommand = exports.de_ListInstancesCommand = exports.de_ListInstanceAttributesCommand = exports.de_ListHoursOfOperationsCommand = exports.de_ListEvaluationFormVersionsCommand = exports.de_ListEvaluationFormsCommand = exports.de_ListDefaultVocabulariesCommand = exports.de_ListContactReferencesCommand = exports.de_ListContactFlowsCommand = void 0;
10
+ exports.de_UpdateUserSecurityProfilesCommand = exports.de_UpdateUserRoutingProfileCommand = exports.de_UpdateUserPhoneConfigCommand = exports.de_UpdateUserIdentityInfoCommand = exports.de_UpdateUserHierarchyStructureCommand = exports.de_UpdateUserHierarchyGroupNameCommand = exports.de_UpdateUserHierarchyCommand = exports.de_UpdateTrafficDistributionCommand = exports.de_UpdateTaskTemplateCommand = exports.de_UpdateSecurityProfileCommand = exports.de_UpdateRuleCommand = exports.de_UpdateRoutingProfileQueuesCommand = exports.de_UpdateRoutingProfileNameCommand = exports.de_UpdateRoutingProfileDefaultOutboundQueueCommand = exports.de_UpdateRoutingProfileConcurrencyCommand = exports.de_UpdateRoutingProfileAgentAvailabilityTimerCommand = exports.de_UpdateQuickConnectNameCommand = exports.de_UpdateQuickConnectConfigCommand = exports.de_UpdateQueueStatusCommand = exports.de_UpdateQueueOutboundCallerConfigCommand = exports.de_UpdateQueueNameCommand = exports.de_UpdateQueueMaxContactsCommand = exports.de_UpdateQueueHoursOfOperationCommand = exports.de_UpdatePromptCommand = exports.de_UpdatePhoneNumberCommand = exports.de_UpdateParticipantRoleConfigCommand = exports.de_UpdateInstanceStorageConfigCommand = exports.de_UpdateInstanceAttributeCommand = exports.de_UpdateHoursOfOperationCommand = exports.de_UpdateEvaluationFormCommand = exports.de_UpdateContactScheduleCommand = exports.de_UpdateContactFlowNameCommand = exports.de_UpdateContactFlowModuleMetadataCommand = exports.de_UpdateContactFlowModuleContentCommand = exports.de_UpdateContactFlowMetadataCommand = exports.de_UpdateContactFlowContentCommand = exports.de_UpdateContactEvaluationCommand = exports.de_UpdateContactAttributesCommand = exports.de_UpdateContactCommand = exports.de_UpdateAgentStatusCommand = exports.de_UntagResourceCommand = exports.de_TransferContactCommand = exports.de_TagResourceCommand = exports.de_SuspendContactRecordingCommand = exports.de_SubmitContactEvaluationCommand = exports.de_StopContactStreamingCommand = exports.de_StopContactRecordingCommand = exports.de_StopContactCommand = exports.de_StartTaskContactCommand = exports.de_StartOutboundVoiceContactCommand = void 0;
11
11
  const protocol_http_1 = require("@smithy/protocol-http");
12
12
  const smithy_client_1 = require("@smithy/smithy-client");
13
13
  const uuid_1 = require("uuid");
14
14
  const ConnectServiceException_1 = require("../models/ConnectServiceException");
15
15
  const models_0_1 = require("../models/models_0");
16
16
  const models_1_1 = require("../models/models_1");
17
+ const models_2_1 = require("../models/models_2");
17
18
  const se_ActivateEvaluationFormCommand = async (input, context) => {
18
19
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
19
20
  const headers = {
@@ -268,6 +269,30 @@ const se_AssociateSecurityKeyCommand = async (input, context) => {
268
269
  });
269
270
  };
270
271
  exports.se_AssociateSecurityKeyCommand = se_AssociateSecurityKeyCommand;
272
+ const se_AssociateTrafficDistributionGroupUserCommand = async (input, context) => {
273
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
274
+ const headers = {
275
+ "content-type": "application/json",
276
+ };
277
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
278
+ "/traffic-distribution-group/{TrafficDistributionGroupId}/user";
279
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "TrafficDistributionGroupId", () => input.TrafficDistributionGroupId, "{TrafficDistributionGroupId}", false);
280
+ let body;
281
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
282
+ InstanceId: [],
283
+ UserId: [],
284
+ }));
285
+ return new protocol_http_1.HttpRequest({
286
+ protocol,
287
+ hostname,
288
+ port,
289
+ method: "PUT",
290
+ headers,
291
+ path: resolvedPath,
292
+ body,
293
+ });
294
+ };
295
+ exports.se_AssociateTrafficDistributionGroupUserCommand = se_AssociateTrafficDistributionGroupUserCommand;
271
296
  const se_ClaimPhoneNumberCommand = async (input, context) => {
272
297
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
273
298
  const headers = {
@@ -1815,6 +1840,29 @@ const se_DisassociateSecurityKeyCommand = async (input, context) => {
1815
1840
  });
1816
1841
  };
1817
1842
  exports.se_DisassociateSecurityKeyCommand = se_DisassociateSecurityKeyCommand;
1843
+ const se_DisassociateTrafficDistributionGroupUserCommand = async (input, context) => {
1844
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1845
+ const headers = {};
1846
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
1847
+ "/traffic-distribution-group/{TrafficDistributionGroupId}/user";
1848
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "TrafficDistributionGroupId", () => input.TrafficDistributionGroupId, "{TrafficDistributionGroupId}", false);
1849
+ const query = (0, smithy_client_1.map)({
1850
+ UserId: [, (0, smithy_client_1.expectNonNull)(input.UserId, `UserId`)],
1851
+ InstanceId: [, (0, smithy_client_1.expectNonNull)(input.InstanceId, `InstanceId`)],
1852
+ });
1853
+ let body;
1854
+ return new protocol_http_1.HttpRequest({
1855
+ protocol,
1856
+ hostname,
1857
+ port,
1858
+ method: "DELETE",
1859
+ headers,
1860
+ path: resolvedPath,
1861
+ query,
1862
+ body,
1863
+ });
1864
+ };
1865
+ exports.se_DisassociateTrafficDistributionGroupUserCommand = se_DisassociateTrafficDistributionGroupUserCommand;
1818
1866
  const se_DismissUserContactCommand = async (input, context) => {
1819
1867
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1820
1868
  const headers = {
@@ -2787,6 +2835,29 @@ const se_ListTrafficDistributionGroupsCommand = async (input, context) => {
2787
2835
  });
2788
2836
  };
2789
2837
  exports.se_ListTrafficDistributionGroupsCommand = se_ListTrafficDistributionGroupsCommand;
2838
+ const se_ListTrafficDistributionGroupUsersCommand = async (input, context) => {
2839
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
2840
+ const headers = {};
2841
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
2842
+ "/traffic-distribution-group/{TrafficDistributionGroupId}/user";
2843
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "TrafficDistributionGroupId", () => input.TrafficDistributionGroupId, "{TrafficDistributionGroupId}", false);
2844
+ const query = (0, smithy_client_1.map)({
2845
+ maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
2846
+ nextToken: [, input.NextToken],
2847
+ });
2848
+ let body;
2849
+ return new protocol_http_1.HttpRequest({
2850
+ protocol,
2851
+ hostname,
2852
+ port,
2853
+ method: "GET",
2854
+ headers,
2855
+ path: resolvedPath,
2856
+ query,
2857
+ body,
2858
+ });
2859
+ };
2860
+ exports.se_ListTrafficDistributionGroupUsersCommand = se_ListTrafficDistributionGroupUsersCommand;
2790
2861
  const se_ListUseCasesCommand = async (input, context) => {
2791
2862
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
2792
2863
  const headers = {};
@@ -4387,6 +4458,8 @@ const se_UpdateTrafficDistributionCommand = async (input, context) => {
4387
4458
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Id", () => input.Id, "{Id}", false);
4388
4459
  let body;
4389
4460
  body = JSON.stringify((0, smithy_client_1.take)(input, {
4461
+ AgentConfig: (_) => (0, smithy_client_1._json)(_),
4462
+ SignInConfig: (_) => (0, smithy_client_1._json)(_),
4390
4463
  TelephonyConfig: (_) => (0, smithy_client_1._json)(_),
4391
4464
  }));
4392
4465
  return new protocol_http_1.HttpRequest({
@@ -5076,6 +5149,51 @@ const de_AssociateSecurityKeyCommandError = async (output, context) => {
5076
5149
  });
5077
5150
  }
5078
5151
  };
5152
+ const de_AssociateTrafficDistributionGroupUserCommand = async (output, context) => {
5153
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
5154
+ return de_AssociateTrafficDistributionGroupUserCommandError(output, context);
5155
+ }
5156
+ const contents = (0, smithy_client_1.map)({
5157
+ $metadata: deserializeMetadata(output),
5158
+ });
5159
+ await (0, smithy_client_1.collectBody)(output.body, context);
5160
+ return contents;
5161
+ };
5162
+ exports.de_AssociateTrafficDistributionGroupUserCommand = de_AssociateTrafficDistributionGroupUserCommand;
5163
+ const de_AssociateTrafficDistributionGroupUserCommandError = async (output, context) => {
5164
+ const parsedOutput = {
5165
+ ...output,
5166
+ body: await parseErrorBody(output.body, context),
5167
+ };
5168
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
5169
+ switch (errorCode) {
5170
+ case "AccessDeniedException":
5171
+ case "com.amazonaws.connect#AccessDeniedException":
5172
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
5173
+ case "InternalServiceException":
5174
+ case "com.amazonaws.connect#InternalServiceException":
5175
+ throw await de_InternalServiceExceptionRes(parsedOutput, context);
5176
+ case "InvalidRequestException":
5177
+ case "com.amazonaws.connect#InvalidRequestException":
5178
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
5179
+ case "ResourceConflictException":
5180
+ case "com.amazonaws.connect#ResourceConflictException":
5181
+ throw await de_ResourceConflictExceptionRes(parsedOutput, context);
5182
+ case "ResourceNotFoundException":
5183
+ case "com.amazonaws.connect#ResourceNotFoundException":
5184
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
5185
+ case "ThrottlingException":
5186
+ case "com.amazonaws.connect#ThrottlingException":
5187
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
5188
+ default:
5189
+ const parsedBody = parsedOutput.body;
5190
+ return throwDefaultError({
5191
+ output,
5192
+ parsedBody,
5193
+ errorCode,
5194
+ });
5195
+ }
5196
+ };
5079
5197
  const de_ClaimPhoneNumberCommand = async (output, context) => {
5080
5198
  if (output.statusCode !== 200 && output.statusCode >= 300) {
5081
5199
  return de_ClaimPhoneNumberCommandError(output, context);
@@ -8415,6 +8533,51 @@ const de_DisassociateSecurityKeyCommandError = async (output, context) => {
8415
8533
  });
8416
8534
  }
8417
8535
  };
8536
+ const de_DisassociateTrafficDistributionGroupUserCommand = async (output, context) => {
8537
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
8538
+ return de_DisassociateTrafficDistributionGroupUserCommandError(output, context);
8539
+ }
8540
+ const contents = (0, smithy_client_1.map)({
8541
+ $metadata: deserializeMetadata(output),
8542
+ });
8543
+ await (0, smithy_client_1.collectBody)(output.body, context);
8544
+ return contents;
8545
+ };
8546
+ exports.de_DisassociateTrafficDistributionGroupUserCommand = de_DisassociateTrafficDistributionGroupUserCommand;
8547
+ const de_DisassociateTrafficDistributionGroupUserCommandError = async (output, context) => {
8548
+ const parsedOutput = {
8549
+ ...output,
8550
+ body: await parseErrorBody(output.body, context),
8551
+ };
8552
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
8553
+ switch (errorCode) {
8554
+ case "AccessDeniedException":
8555
+ case "com.amazonaws.connect#AccessDeniedException":
8556
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
8557
+ case "InternalServiceException":
8558
+ case "com.amazonaws.connect#InternalServiceException":
8559
+ throw await de_InternalServiceExceptionRes(parsedOutput, context);
8560
+ case "InvalidRequestException":
8561
+ case "com.amazonaws.connect#InvalidRequestException":
8562
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
8563
+ case "ResourceConflictException":
8564
+ case "com.amazonaws.connect#ResourceConflictException":
8565
+ throw await de_ResourceConflictExceptionRes(parsedOutput, context);
8566
+ case "ResourceNotFoundException":
8567
+ case "com.amazonaws.connect#ResourceNotFoundException":
8568
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
8569
+ case "ThrottlingException":
8570
+ case "com.amazonaws.connect#ThrottlingException":
8571
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
8572
+ default:
8573
+ const parsedBody = parsedOutput.body;
8574
+ return throwDefaultError({
8575
+ output,
8576
+ parsedBody,
8577
+ errorCode,
8578
+ });
8579
+ }
8580
+ };
8418
8581
  const de_DismissUserContactCommand = async (output, context) => {
8419
8582
  if (output.statusCode !== 200 && output.statusCode >= 300) {
8420
8583
  return de_DismissUserContactCommandError(output, context);
@@ -8856,8 +9019,10 @@ const de_GetTrafficDistributionCommand = async (output, context) => {
8856
9019
  });
8857
9020
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
8858
9021
  const doc = (0, smithy_client_1.take)(data, {
9022
+ AgentConfig: smithy_client_1._json,
8859
9023
  Arn: smithy_client_1.expectString,
8860
9024
  Id: smithy_client_1.expectString,
9025
+ SignInConfig: smithy_client_1._json,
8861
9026
  TelephonyConfig: smithy_client_1._json,
8862
9027
  });
8863
9028
  Object.assign(contents, doc);
@@ -10371,6 +10536,53 @@ const de_ListTrafficDistributionGroupsCommandError = async (output, context) =>
10371
10536
  });
10372
10537
  }
10373
10538
  };
10539
+ const de_ListTrafficDistributionGroupUsersCommand = async (output, context) => {
10540
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
10541
+ return de_ListTrafficDistributionGroupUsersCommandError(output, context);
10542
+ }
10543
+ const contents = (0, smithy_client_1.map)({
10544
+ $metadata: deserializeMetadata(output),
10545
+ });
10546
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
10547
+ const doc = (0, smithy_client_1.take)(data, {
10548
+ NextToken: smithy_client_1.expectString,
10549
+ TrafficDistributionGroupUserSummaryList: smithy_client_1._json,
10550
+ });
10551
+ Object.assign(contents, doc);
10552
+ return contents;
10553
+ };
10554
+ exports.de_ListTrafficDistributionGroupUsersCommand = de_ListTrafficDistributionGroupUsersCommand;
10555
+ const de_ListTrafficDistributionGroupUsersCommandError = async (output, context) => {
10556
+ const parsedOutput = {
10557
+ ...output,
10558
+ body: await parseErrorBody(output.body, context),
10559
+ };
10560
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
10561
+ switch (errorCode) {
10562
+ case "AccessDeniedException":
10563
+ case "com.amazonaws.connect#AccessDeniedException":
10564
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
10565
+ case "InternalServiceException":
10566
+ case "com.amazonaws.connect#InternalServiceException":
10567
+ throw await de_InternalServiceExceptionRes(parsedOutput, context);
10568
+ case "InvalidRequestException":
10569
+ case "com.amazonaws.connect#InvalidRequestException":
10570
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
10571
+ case "ResourceNotFoundException":
10572
+ case "com.amazonaws.connect#ResourceNotFoundException":
10573
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
10574
+ case "ThrottlingException":
10575
+ case "com.amazonaws.connect#ThrottlingException":
10576
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
10577
+ default:
10578
+ const parsedBody = parsedOutput.body;
10579
+ return throwDefaultError({
10580
+ output,
10581
+ parsedBody,
10582
+ errorCode,
10583
+ });
10584
+ }
10585
+ };
10374
10586
  const de_ListUseCasesCommand = async (output, context) => {
10375
10587
  if (output.statusCode !== 200 && output.statusCode >= 300) {
10376
10588
  return de_ListUseCasesCommandError(output, context);
@@ -13932,7 +14144,7 @@ const se_EvaluationAnswersInputMap = (input, context) => {
13932
14144
  }, {});
13933
14145
  };
13934
14146
  const se_EvaluationFormItem = (input, context) => {
13935
- return models_1_1.EvaluationFormItem.visit(input, {
14147
+ return models_2_1.EvaluationFormItem.visit(input, {
13936
14148
  Question: (value) => ({ Question: se_EvaluationFormQuestion(value, context) }),
13937
14149
  Section: (value) => ({ Section: se_EvaluationFormSection(value, context) }),
13938
14150
  _: (name, value) => ({ name: value }),
@@ -10,6 +10,7 @@ import { AssociatePhoneNumberContactFlowCommand, } from "./commands/AssociatePho
10
10
  import { AssociateQueueQuickConnectsCommand, } from "./commands/AssociateQueueQuickConnectsCommand";
11
11
  import { AssociateRoutingProfileQueuesCommand, } from "./commands/AssociateRoutingProfileQueuesCommand";
12
12
  import { AssociateSecurityKeyCommand, } from "./commands/AssociateSecurityKeyCommand";
13
+ import { AssociateTrafficDistributionGroupUserCommand, } from "./commands/AssociateTrafficDistributionGroupUserCommand";
13
14
  import { ClaimPhoneNumberCommand, } from "./commands/ClaimPhoneNumberCommand";
14
15
  import { CreateAgentStatusCommand, } from "./commands/CreateAgentStatusCommand";
15
16
  import { CreateContactFlowCommand, } from "./commands/CreateContactFlowCommand";
@@ -82,6 +83,7 @@ import { DisassociatePhoneNumberContactFlowCommand, } from "./commands/Disassoci
82
83
  import { DisassociateQueueQuickConnectsCommand, } from "./commands/DisassociateQueueQuickConnectsCommand";
83
84
  import { DisassociateRoutingProfileQueuesCommand, } from "./commands/DisassociateRoutingProfileQueuesCommand";
84
85
  import { DisassociateSecurityKeyCommand, } from "./commands/DisassociateSecurityKeyCommand";
86
+ import { DisassociateTrafficDistributionGroupUserCommand, } from "./commands/DisassociateTrafficDistributionGroupUserCommand";
85
87
  import { DismissUserContactCommand, } from "./commands/DismissUserContactCommand";
86
88
  import { GetContactAttributesCommand, } from "./commands/GetContactAttributesCommand";
87
89
  import { GetCurrentMetricDataCommand, } from "./commands/GetCurrentMetricDataCommand";
@@ -124,6 +126,7 @@ import { ListSecurityProfilesCommand, } from "./commands/ListSecurityProfilesCom
124
126
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
125
127
  import { ListTaskTemplatesCommand, } from "./commands/ListTaskTemplatesCommand";
126
128
  import { ListTrafficDistributionGroupsCommand, } from "./commands/ListTrafficDistributionGroupsCommand";
129
+ import { ListTrafficDistributionGroupUsersCommand, } from "./commands/ListTrafficDistributionGroupUsersCommand";
127
130
  import { ListUseCasesCommand, } from "./commands/ListUseCasesCommand";
128
131
  import { ListUserHierarchyGroupsCommand, } from "./commands/ListUserHierarchyGroupsCommand";
129
132
  import { ListUsersCommand } from "./commands/ListUsersCommand";
@@ -209,6 +212,7 @@ const commands = {
209
212
  AssociateQueueQuickConnectsCommand,
210
213
  AssociateRoutingProfileQueuesCommand,
211
214
  AssociateSecurityKeyCommand,
215
+ AssociateTrafficDistributionGroupUserCommand,
212
216
  ClaimPhoneNumberCommand,
213
217
  CreateAgentStatusCommand,
214
218
  CreateContactFlowCommand,
@@ -281,6 +285,7 @@ const commands = {
281
285
  DisassociateQueueQuickConnectsCommand,
282
286
  DisassociateRoutingProfileQueuesCommand,
283
287
  DisassociateSecurityKeyCommand,
288
+ DisassociateTrafficDistributionGroupUserCommand,
284
289
  DismissUserContactCommand,
285
290
  GetContactAttributesCommand,
286
291
  GetCurrentMetricDataCommand,
@@ -323,6 +328,7 @@ const commands = {
323
328
  ListTagsForResourceCommand,
324
329
  ListTaskTemplatesCommand,
325
330
  ListTrafficDistributionGroupsCommand,
331
+ ListTrafficDistributionGroupUsersCommand,
326
332
  ListUseCasesCommand,
327
333
  ListUserHierarchyGroupsCommand,
328
334
  ListUsersCommand,
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { de_AssociateTrafficDistributionGroupUserCommand, se_AssociateTrafficDistributionGroupUserCommand, } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class AssociateTrafficDistributionGroupUserCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, AssociateTrafficDistributionGroupUserCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "ConnectClient";
25
+ const commandName = "AssociateTrafficDistributionGroupUserCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_AssociateTrafficDistributionGroupUserCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_AssociateTrafficDistributionGroupUserCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { de_DisassociateTrafficDistributionGroupUserCommand, se_DisassociateTrafficDistributionGroupUserCommand, } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class DisassociateTrafficDistributionGroupUserCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DisassociateTrafficDistributionGroupUserCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "ConnectClient";
25
+ const commandName = "DisassociateTrafficDistributionGroupUserCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_DisassociateTrafficDistributionGroupUserCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_DisassociateTrafficDistributionGroupUserCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { de_ListTrafficDistributionGroupUsersCommand, se_ListTrafficDistributionGroupUsersCommand, } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class ListTrafficDistributionGroupUsersCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListTrafficDistributionGroupUsersCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "ConnectClient";
25
+ const commandName = "ListTrafficDistributionGroupUsersCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_ListTrafficDistributionGroupUsersCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_ListTrafficDistributionGroupUsersCommand(output, context);
41
+ }
42
+ }
@@ -9,6 +9,7 @@ export * from "./AssociatePhoneNumberContactFlowCommand";
9
9
  export * from "./AssociateQueueQuickConnectsCommand";
10
10
  export * from "./AssociateRoutingProfileQueuesCommand";
11
11
  export * from "./AssociateSecurityKeyCommand";
12
+ export * from "./AssociateTrafficDistributionGroupUserCommand";
12
13
  export * from "./ClaimPhoneNumberCommand";
13
14
  export * from "./CreateAgentStatusCommand";
14
15
  export * from "./CreateContactFlowCommand";
@@ -81,6 +82,7 @@ export * from "./DisassociatePhoneNumberContactFlowCommand";
81
82
  export * from "./DisassociateQueueQuickConnectsCommand";
82
83
  export * from "./DisassociateRoutingProfileQueuesCommand";
83
84
  export * from "./DisassociateSecurityKeyCommand";
85
+ export * from "./DisassociateTrafficDistributionGroupUserCommand";
84
86
  export * from "./DismissUserContactCommand";
85
87
  export * from "./GetContactAttributesCommand";
86
88
  export * from "./GetCurrentMetricDataCommand";
@@ -122,6 +124,7 @@ export * from "./ListSecurityProfilePermissionsCommand";
122
124
  export * from "./ListSecurityProfilesCommand";
123
125
  export * from "./ListTagsForResourceCommand";
124
126
  export * from "./ListTaskTemplatesCommand";
127
+ export * from "./ListTrafficDistributionGroupUsersCommand";
125
128
  export * from "./ListTrafficDistributionGroupsCommand";
126
129
  export * from "./ListUseCasesCommand";
127
130
  export * from "./ListUserHierarchyGroupsCommand";
@@ -818,31 +818,6 @@ export const TrafficDistributionGroupStatus = {
818
818
  PENDING_DELETION: "PENDING_DELETION",
819
819
  UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
820
820
  };
821
- export const CurrentMetricName = {
822
- AGENTS_AFTER_CONTACT_WORK: "AGENTS_AFTER_CONTACT_WORK",
823
- AGENTS_AVAILABLE: "AGENTS_AVAILABLE",
824
- AGENTS_ERROR: "AGENTS_ERROR",
825
- AGENTS_NON_PRODUCTIVE: "AGENTS_NON_PRODUCTIVE",
826
- AGENTS_ONLINE: "AGENTS_ONLINE",
827
- AGENTS_ON_CALL: "AGENTS_ON_CALL",
828
- AGENTS_ON_CONTACT: "AGENTS_ON_CONTACT",
829
- AGENTS_STAFFED: "AGENTS_STAFFED",
830
- CONTACTS_IN_QUEUE: "CONTACTS_IN_QUEUE",
831
- CONTACTS_SCHEDULED: "CONTACTS_SCHEDULED",
832
- OLDEST_CONTACT_AGE: "OLDEST_CONTACT_AGE",
833
- SLOTS_ACTIVE: "SLOTS_ACTIVE",
834
- SLOTS_AVAILABLE: "SLOTS_AVAILABLE",
835
- };
836
- export const Unit = {
837
- COUNT: "COUNT",
838
- PERCENT: "PERCENT",
839
- SECONDS: "SECONDS",
840
- };
841
- export const Grouping = {
842
- CHANNEL: "CHANNEL",
843
- QUEUE: "QUEUE",
844
- ROUTING_PROFILE: "ROUTING_PROFILE",
845
- };
846
821
  export const CreateInstanceRequestFilterSensitiveLog = (obj) => ({
847
822
  ...obj,
848
823
  ...(obj.InstanceAlias && { InstanceAlias: SENSITIVE_STRING }),
@@ -1,5 +1,30 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
+ export const CurrentMetricName = {
4
+ AGENTS_AFTER_CONTACT_WORK: "AGENTS_AFTER_CONTACT_WORK",
5
+ AGENTS_AVAILABLE: "AGENTS_AVAILABLE",
6
+ AGENTS_ERROR: "AGENTS_ERROR",
7
+ AGENTS_NON_PRODUCTIVE: "AGENTS_NON_PRODUCTIVE",
8
+ AGENTS_ONLINE: "AGENTS_ONLINE",
9
+ AGENTS_ON_CALL: "AGENTS_ON_CALL",
10
+ AGENTS_ON_CONTACT: "AGENTS_ON_CONTACT",
11
+ AGENTS_STAFFED: "AGENTS_STAFFED",
12
+ CONTACTS_IN_QUEUE: "CONTACTS_IN_QUEUE",
13
+ CONTACTS_SCHEDULED: "CONTACTS_SCHEDULED",
14
+ OLDEST_CONTACT_AGE: "OLDEST_CONTACT_AGE",
15
+ SLOTS_ACTIVE: "SLOTS_ACTIVE",
16
+ SLOTS_AVAILABLE: "SLOTS_AVAILABLE",
17
+ };
18
+ export const Unit = {
19
+ COUNT: "COUNT",
20
+ PERCENT: "PERCENT",
21
+ SECONDS: "SECONDS",
22
+ };
23
+ export const Grouping = {
24
+ CHANNEL: "CHANNEL",
25
+ QUEUE: "QUEUE",
26
+ ROUTING_PROFILE: "ROUTING_PROFILE",
27
+ };
3
28
  export const SortOrder = {
4
29
  ASCENDING: "ASCENDING",
5
30
  DESCENDING: "DESCENDING",
@@ -188,16 +213,6 @@ export var UpdateParticipantRoleConfigChannelInfo;
188
213
  return visitor._(value.$unknown[0], value.$unknown[1]);
189
214
  };
190
215
  })(UpdateParticipantRoleConfigChannelInfo || (UpdateParticipantRoleConfigChannelInfo = {}));
191
- export var EvaluationFormItem;
192
- (function (EvaluationFormItem) {
193
- EvaluationFormItem.visit = (value, visitor) => {
194
- if (value.Section !== undefined)
195
- return visitor.Section(value.Section);
196
- if (value.Question !== undefined)
197
- return visitor.Question(value.Question);
198
- return visitor._(value.$unknown[0], value.$unknown[1]);
199
- };
200
- })(EvaluationFormItem || (EvaluationFormItem = {}));
201
216
  export const CredentialsFilterSensitiveLog = (obj) => ({
202
217
  ...obj,
203
218
  ...(obj.AccessToken && { AccessToken: SENSITIVE_STRING }),