@aws-sdk/client-connect 3.287.0 → 3.288.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 (49) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/Connect.js +15 -0
  3. package/dist-cjs/commands/GetMetricDataV2Command.js +46 -0
  4. package/dist-cjs/commands/ListContactFlowModulesCommand.js +3 -3
  5. package/dist-cjs/commands/ListContactFlowsCommand.js +3 -3
  6. package/dist-cjs/commands/ListContactReferencesCommand.js +1 -2
  7. package/dist-cjs/commands/index.js +1 -0
  8. package/dist-cjs/models/models_0.js +37 -38
  9. package/dist-cjs/models/models_1.js +38 -5
  10. package/dist-cjs/pagination/GetMetricDataV2Paginator.js +29 -0
  11. package/dist-cjs/pagination/index.js +1 -0
  12. package/dist-cjs/protocols/Aws_restJson1.js +264 -6
  13. package/dist-es/Connect.js +15 -0
  14. package/dist-es/commands/GetMetricDataV2Command.js +42 -0
  15. package/dist-es/commands/ListContactFlowModulesCommand.js +1 -1
  16. package/dist-es/commands/ListContactFlowsCommand.js +1 -1
  17. package/dist-es/commands/ListContactReferencesCommand.js +1 -2
  18. package/dist-es/commands/index.js +1 -0
  19. package/dist-es/models/models_0.js +23 -25
  20. package/dist-es/models/models_1.js +26 -0
  21. package/dist-es/pagination/GetMetricDataV2Paginator.js +25 -0
  22. package/dist-es/pagination/index.js +1 -0
  23. package/dist-es/protocols/Aws_restJson1.js +256 -0
  24. package/dist-types/Connect.d.ts +20 -2
  25. package/dist-types/ConnectClient.d.ts +3 -2
  26. package/dist-types/commands/DisassociateBotCommand.d.ts +2 -2
  27. package/dist-types/commands/GetMetricDataV2Command.d.ts +54 -0
  28. package/dist-types/commands/ListContactFlowModulesCommand.d.ts +1 -1
  29. package/dist-types/commands/ListContactFlowsCommand.d.ts +1 -1
  30. package/dist-types/commands/ListContactReferencesCommand.d.ts +1 -2
  31. package/dist-types/commands/index.d.ts +1 -0
  32. package/dist-types/models/models_0.d.ts +387 -153
  33. package/dist-types/models/models_1.d.ts +162 -1
  34. package/dist-types/pagination/GetMetricDataV2Paginator.d.ts +4 -0
  35. package/dist-types/pagination/index.d.ts +1 -0
  36. package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
  37. package/dist-types/ts3.4/Connect.d.ts +17 -0
  38. package/dist-types/ts3.4/ConnectClient.d.ts +6 -0
  39. package/dist-types/ts3.4/commands/GetMetricDataV2Command.d.ts +37 -0
  40. package/dist-types/ts3.4/commands/ListContactFlowModulesCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/ListContactFlowsCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/ListContactReferencesCommand.d.ts +4 -2
  43. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  44. package/dist-types/ts3.4/models/models_0.d.ts +55 -64
  45. package/dist-types/ts3.4/models/models_1.d.ts +66 -1
  46. package/dist-types/ts3.4/pagination/GetMetricDataV2Paginator.d.ts +11 -0
  47. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  48. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  49. package/package.json +4 -4
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.serializeAws_restJson1DescribeInstanceStorageConfigCommand = exports.serializeAws_restJson1DescribeInstanceAttributeCommand = exports.serializeAws_restJson1DescribeInstanceCommand = exports.serializeAws_restJson1DescribeHoursOfOperationCommand = exports.serializeAws_restJson1DescribeContactFlowModuleCommand = exports.serializeAws_restJson1DescribeContactFlowCommand = exports.serializeAws_restJson1DescribeContactCommand = exports.serializeAws_restJson1DescribeAgentStatusCommand = exports.serializeAws_restJson1DeleteVocabularyCommand = exports.serializeAws_restJson1DeleteUserHierarchyGroupCommand = exports.serializeAws_restJson1DeleteUserCommand = exports.serializeAws_restJson1DeleteUseCaseCommand = exports.serializeAws_restJson1DeleteTrafficDistributionGroupCommand = exports.serializeAws_restJson1DeleteTaskTemplateCommand = exports.serializeAws_restJson1DeleteSecurityProfileCommand = exports.serializeAws_restJson1DeleteRuleCommand = exports.serializeAws_restJson1DeleteQuickConnectCommand = exports.serializeAws_restJson1DeleteIntegrationAssociationCommand = exports.serializeAws_restJson1DeleteInstanceCommand = exports.serializeAws_restJson1DeleteHoursOfOperationCommand = exports.serializeAws_restJson1DeleteContactFlowModuleCommand = exports.serializeAws_restJson1DeleteContactFlowCommand = exports.serializeAws_restJson1CreateVocabularyCommand = exports.serializeAws_restJson1CreateUserHierarchyGroupCommand = exports.serializeAws_restJson1CreateUserCommand = exports.serializeAws_restJson1CreateUseCaseCommand = exports.serializeAws_restJson1CreateTrafficDistributionGroupCommand = exports.serializeAws_restJson1CreateTaskTemplateCommand = exports.serializeAws_restJson1CreateSecurityProfileCommand = exports.serializeAws_restJson1CreateRuleCommand = exports.serializeAws_restJson1CreateRoutingProfileCommand = exports.serializeAws_restJson1CreateQuickConnectCommand = exports.serializeAws_restJson1CreateQueueCommand = exports.serializeAws_restJson1CreateIntegrationAssociationCommand = exports.serializeAws_restJson1CreateInstanceCommand = exports.serializeAws_restJson1CreateHoursOfOperationCommand = exports.serializeAws_restJson1CreateContactFlowModuleCommand = exports.serializeAws_restJson1CreateContactFlowCommand = exports.serializeAws_restJson1CreateAgentStatusCommand = exports.serializeAws_restJson1ClaimPhoneNumberCommand = exports.serializeAws_restJson1AssociateSecurityKeyCommand = exports.serializeAws_restJson1AssociateRoutingProfileQueuesCommand = exports.serializeAws_restJson1AssociateQueueQuickConnectsCommand = exports.serializeAws_restJson1AssociatePhoneNumberContactFlowCommand = exports.serializeAws_restJson1AssociateLexBotCommand = exports.serializeAws_restJson1AssociateLambdaFunctionCommand = exports.serializeAws_restJson1AssociateInstanceStorageConfigCommand = exports.serializeAws_restJson1AssociateDefaultVocabularyCommand = exports.serializeAws_restJson1AssociateBotCommand = exports.serializeAws_restJson1AssociateApprovedOriginCommand = void 0;
4
- exports.serializeAws_restJson1ListRoutingProfilesCommand = exports.serializeAws_restJson1ListRoutingProfileQueuesCommand = exports.serializeAws_restJson1ListQuickConnectsCommand = exports.serializeAws_restJson1ListQueuesCommand = exports.serializeAws_restJson1ListQueueQuickConnectsCommand = exports.serializeAws_restJson1ListPromptsCommand = exports.serializeAws_restJson1ListPhoneNumbersV2Command = exports.serializeAws_restJson1ListPhoneNumbersCommand = exports.serializeAws_restJson1ListLexBotsCommand = exports.serializeAws_restJson1ListLambdaFunctionsCommand = exports.serializeAws_restJson1ListIntegrationAssociationsCommand = exports.serializeAws_restJson1ListInstanceStorageConfigsCommand = exports.serializeAws_restJson1ListInstancesCommand = exports.serializeAws_restJson1ListInstanceAttributesCommand = exports.serializeAws_restJson1ListHoursOfOperationsCommand = exports.serializeAws_restJson1ListDefaultVocabulariesCommand = exports.serializeAws_restJson1ListContactReferencesCommand = exports.serializeAws_restJson1ListContactFlowsCommand = exports.serializeAws_restJson1ListContactFlowModulesCommand = exports.serializeAws_restJson1ListBotsCommand = exports.serializeAws_restJson1ListApprovedOriginsCommand = exports.serializeAws_restJson1ListAgentStatusesCommand = exports.serializeAws_restJson1GetTrafficDistributionCommand = exports.serializeAws_restJson1GetTaskTemplateCommand = exports.serializeAws_restJson1GetMetricDataCommand = exports.serializeAws_restJson1GetFederationTokenCommand = exports.serializeAws_restJson1GetCurrentUserDataCommand = exports.serializeAws_restJson1GetCurrentMetricDataCommand = exports.serializeAws_restJson1GetContactAttributesCommand = exports.serializeAws_restJson1DismissUserContactCommand = exports.serializeAws_restJson1DisassociateSecurityKeyCommand = exports.serializeAws_restJson1DisassociateRoutingProfileQueuesCommand = exports.serializeAws_restJson1DisassociateQueueQuickConnectsCommand = exports.serializeAws_restJson1DisassociatePhoneNumberContactFlowCommand = exports.serializeAws_restJson1DisassociateLexBotCommand = exports.serializeAws_restJson1DisassociateLambdaFunctionCommand = exports.serializeAws_restJson1DisassociateInstanceStorageConfigCommand = exports.serializeAws_restJson1DisassociateBotCommand = exports.serializeAws_restJson1DisassociateApprovedOriginCommand = exports.serializeAws_restJson1DescribeVocabularyCommand = exports.serializeAws_restJson1DescribeUserHierarchyStructureCommand = exports.serializeAws_restJson1DescribeUserHierarchyGroupCommand = exports.serializeAws_restJson1DescribeUserCommand = exports.serializeAws_restJson1DescribeTrafficDistributionGroupCommand = exports.serializeAws_restJson1DescribeSecurityProfileCommand = exports.serializeAws_restJson1DescribeRuleCommand = exports.serializeAws_restJson1DescribeRoutingProfileCommand = exports.serializeAws_restJson1DescribeQuickConnectCommand = exports.serializeAws_restJson1DescribeQueueCommand = exports.serializeAws_restJson1DescribePhoneNumberCommand = void 0;
5
- exports.serializeAws_restJson1UpdateQueueNameCommand = exports.serializeAws_restJson1UpdateQueueMaxContactsCommand = exports.serializeAws_restJson1UpdateQueueHoursOfOperationCommand = exports.serializeAws_restJson1UpdatePhoneNumberCommand = exports.serializeAws_restJson1UpdateParticipantRoleConfigCommand = exports.serializeAws_restJson1UpdateInstanceStorageConfigCommand = exports.serializeAws_restJson1UpdateInstanceAttributeCommand = exports.serializeAws_restJson1UpdateHoursOfOperationCommand = exports.serializeAws_restJson1UpdateContactScheduleCommand = exports.serializeAws_restJson1UpdateContactFlowNameCommand = exports.serializeAws_restJson1UpdateContactFlowModuleMetadataCommand = exports.serializeAws_restJson1UpdateContactFlowModuleContentCommand = exports.serializeAws_restJson1UpdateContactFlowMetadataCommand = exports.serializeAws_restJson1UpdateContactFlowContentCommand = exports.serializeAws_restJson1UpdateContactAttributesCommand = exports.serializeAws_restJson1UpdateContactCommand = exports.serializeAws_restJson1UpdateAgentStatusCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TransferContactCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1SuspendContactRecordingCommand = exports.serializeAws_restJson1StopContactStreamingCommand = exports.serializeAws_restJson1StopContactRecordingCommand = exports.serializeAws_restJson1StopContactCommand = exports.serializeAws_restJson1StartTaskContactCommand = exports.serializeAws_restJson1StartOutboundVoiceContactCommand = exports.serializeAws_restJson1StartContactStreamingCommand = exports.serializeAws_restJson1StartContactRecordingCommand = exports.serializeAws_restJson1StartChatContactCommand = exports.serializeAws_restJson1SearchVocabulariesCommand = exports.serializeAws_restJson1SearchUsersCommand = exports.serializeAws_restJson1SearchSecurityProfilesCommand = exports.serializeAws_restJson1SearchRoutingProfilesCommand = exports.serializeAws_restJson1SearchQueuesCommand = exports.serializeAws_restJson1SearchAvailablePhoneNumbersCommand = exports.serializeAws_restJson1ResumeContactRecordingCommand = exports.serializeAws_restJson1ReplicateInstanceCommand = exports.serializeAws_restJson1ReleasePhoneNumberCommand = exports.serializeAws_restJson1PutUserStatusCommand = exports.serializeAws_restJson1MonitorContactCommand = exports.serializeAws_restJson1ListUsersCommand = exports.serializeAws_restJson1ListUserHierarchyGroupsCommand = exports.serializeAws_restJson1ListUseCasesCommand = exports.serializeAws_restJson1ListTrafficDistributionGroupsCommand = exports.serializeAws_restJson1ListTaskTemplatesCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListSecurityProfilesCommand = exports.serializeAws_restJson1ListSecurityProfilePermissionsCommand = exports.serializeAws_restJson1ListSecurityKeysCommand = exports.serializeAws_restJson1ListRulesCommand = void 0;
6
- exports.deserializeAws_restJson1DeleteHoursOfOperationCommand = exports.deserializeAws_restJson1DeleteContactFlowModuleCommand = exports.deserializeAws_restJson1DeleteContactFlowCommand = exports.deserializeAws_restJson1CreateVocabularyCommand = exports.deserializeAws_restJson1CreateUserHierarchyGroupCommand = exports.deserializeAws_restJson1CreateUserCommand = exports.deserializeAws_restJson1CreateUseCaseCommand = exports.deserializeAws_restJson1CreateTrafficDistributionGroupCommand = exports.deserializeAws_restJson1CreateTaskTemplateCommand = exports.deserializeAws_restJson1CreateSecurityProfileCommand = exports.deserializeAws_restJson1CreateRuleCommand = exports.deserializeAws_restJson1CreateRoutingProfileCommand = exports.deserializeAws_restJson1CreateQuickConnectCommand = exports.deserializeAws_restJson1CreateQueueCommand = exports.deserializeAws_restJson1CreateIntegrationAssociationCommand = exports.deserializeAws_restJson1CreateInstanceCommand = exports.deserializeAws_restJson1CreateHoursOfOperationCommand = exports.deserializeAws_restJson1CreateContactFlowModuleCommand = exports.deserializeAws_restJson1CreateContactFlowCommand = exports.deserializeAws_restJson1CreateAgentStatusCommand = exports.deserializeAws_restJson1ClaimPhoneNumberCommand = exports.deserializeAws_restJson1AssociateSecurityKeyCommand = exports.deserializeAws_restJson1AssociateRoutingProfileQueuesCommand = exports.deserializeAws_restJson1AssociateQueueQuickConnectsCommand = exports.deserializeAws_restJson1AssociatePhoneNumberContactFlowCommand = exports.deserializeAws_restJson1AssociateLexBotCommand = exports.deserializeAws_restJson1AssociateLambdaFunctionCommand = exports.deserializeAws_restJson1AssociateInstanceStorageConfigCommand = exports.deserializeAws_restJson1AssociateDefaultVocabularyCommand = exports.deserializeAws_restJson1AssociateBotCommand = exports.deserializeAws_restJson1AssociateApprovedOriginCommand = exports.serializeAws_restJson1UpdateUserSecurityProfilesCommand = exports.serializeAws_restJson1UpdateUserRoutingProfileCommand = exports.serializeAws_restJson1UpdateUserPhoneConfigCommand = exports.serializeAws_restJson1UpdateUserIdentityInfoCommand = exports.serializeAws_restJson1UpdateUserHierarchyStructureCommand = exports.serializeAws_restJson1UpdateUserHierarchyGroupNameCommand = exports.serializeAws_restJson1UpdateUserHierarchyCommand = exports.serializeAws_restJson1UpdateTrafficDistributionCommand = exports.serializeAws_restJson1UpdateTaskTemplateCommand = exports.serializeAws_restJson1UpdateSecurityProfileCommand = exports.serializeAws_restJson1UpdateRuleCommand = exports.serializeAws_restJson1UpdateRoutingProfileQueuesCommand = exports.serializeAws_restJson1UpdateRoutingProfileNameCommand = exports.serializeAws_restJson1UpdateRoutingProfileDefaultOutboundQueueCommand = exports.serializeAws_restJson1UpdateRoutingProfileConcurrencyCommand = exports.serializeAws_restJson1UpdateQuickConnectNameCommand = exports.serializeAws_restJson1UpdateQuickConnectConfigCommand = exports.serializeAws_restJson1UpdateQueueStatusCommand = exports.serializeAws_restJson1UpdateQueueOutboundCallerConfigCommand = void 0;
7
- exports.deserializeAws_restJson1ListBotsCommand = exports.deserializeAws_restJson1ListApprovedOriginsCommand = exports.deserializeAws_restJson1ListAgentStatusesCommand = exports.deserializeAws_restJson1GetTrafficDistributionCommand = exports.deserializeAws_restJson1GetTaskTemplateCommand = exports.deserializeAws_restJson1GetMetricDataCommand = exports.deserializeAws_restJson1GetFederationTokenCommand = exports.deserializeAws_restJson1GetCurrentUserDataCommand = exports.deserializeAws_restJson1GetCurrentMetricDataCommand = exports.deserializeAws_restJson1GetContactAttributesCommand = exports.deserializeAws_restJson1DismissUserContactCommand = exports.deserializeAws_restJson1DisassociateSecurityKeyCommand = exports.deserializeAws_restJson1DisassociateRoutingProfileQueuesCommand = exports.deserializeAws_restJson1DisassociateQueueQuickConnectsCommand = exports.deserializeAws_restJson1DisassociatePhoneNumberContactFlowCommand = exports.deserializeAws_restJson1DisassociateLexBotCommand = exports.deserializeAws_restJson1DisassociateLambdaFunctionCommand = exports.deserializeAws_restJson1DisassociateInstanceStorageConfigCommand = exports.deserializeAws_restJson1DisassociateBotCommand = exports.deserializeAws_restJson1DisassociateApprovedOriginCommand = exports.deserializeAws_restJson1DescribeVocabularyCommand = exports.deserializeAws_restJson1DescribeUserHierarchyStructureCommand = exports.deserializeAws_restJson1DescribeUserHierarchyGroupCommand = exports.deserializeAws_restJson1DescribeUserCommand = exports.deserializeAws_restJson1DescribeTrafficDistributionGroupCommand = exports.deserializeAws_restJson1DescribeSecurityProfileCommand = exports.deserializeAws_restJson1DescribeRuleCommand = exports.deserializeAws_restJson1DescribeRoutingProfileCommand = exports.deserializeAws_restJson1DescribeQuickConnectCommand = exports.deserializeAws_restJson1DescribeQueueCommand = exports.deserializeAws_restJson1DescribePhoneNumberCommand = exports.deserializeAws_restJson1DescribeInstanceStorageConfigCommand = exports.deserializeAws_restJson1DescribeInstanceAttributeCommand = exports.deserializeAws_restJson1DescribeInstanceCommand = exports.deserializeAws_restJson1DescribeHoursOfOperationCommand = exports.deserializeAws_restJson1DescribeContactFlowModuleCommand = exports.deserializeAws_restJson1DescribeContactFlowCommand = exports.deserializeAws_restJson1DescribeContactCommand = exports.deserializeAws_restJson1DescribeAgentStatusCommand = exports.deserializeAws_restJson1DeleteVocabularyCommand = exports.deserializeAws_restJson1DeleteUserHierarchyGroupCommand = exports.deserializeAws_restJson1DeleteUserCommand = exports.deserializeAws_restJson1DeleteUseCaseCommand = exports.deserializeAws_restJson1DeleteTrafficDistributionGroupCommand = exports.deserializeAws_restJson1DeleteTaskTemplateCommand = exports.deserializeAws_restJson1DeleteSecurityProfileCommand = exports.deserializeAws_restJson1DeleteRuleCommand = exports.deserializeAws_restJson1DeleteQuickConnectCommand = exports.deserializeAws_restJson1DeleteIntegrationAssociationCommand = exports.deserializeAws_restJson1DeleteInstanceCommand = void 0;
8
- exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1SuspendContactRecordingCommand = exports.deserializeAws_restJson1StopContactStreamingCommand = exports.deserializeAws_restJson1StopContactRecordingCommand = exports.deserializeAws_restJson1StopContactCommand = exports.deserializeAws_restJson1StartTaskContactCommand = exports.deserializeAws_restJson1StartOutboundVoiceContactCommand = exports.deserializeAws_restJson1StartContactStreamingCommand = exports.deserializeAws_restJson1StartContactRecordingCommand = exports.deserializeAws_restJson1StartChatContactCommand = exports.deserializeAws_restJson1SearchVocabulariesCommand = exports.deserializeAws_restJson1SearchUsersCommand = exports.deserializeAws_restJson1SearchSecurityProfilesCommand = exports.deserializeAws_restJson1SearchRoutingProfilesCommand = exports.deserializeAws_restJson1SearchQueuesCommand = exports.deserializeAws_restJson1SearchAvailablePhoneNumbersCommand = exports.deserializeAws_restJson1ResumeContactRecordingCommand = exports.deserializeAws_restJson1ReplicateInstanceCommand = exports.deserializeAws_restJson1ReleasePhoneNumberCommand = exports.deserializeAws_restJson1PutUserStatusCommand = exports.deserializeAws_restJson1MonitorContactCommand = exports.deserializeAws_restJson1ListUsersCommand = exports.deserializeAws_restJson1ListUserHierarchyGroupsCommand = exports.deserializeAws_restJson1ListUseCasesCommand = exports.deserializeAws_restJson1ListTrafficDistributionGroupsCommand = exports.deserializeAws_restJson1ListTaskTemplatesCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListSecurityProfilesCommand = exports.deserializeAws_restJson1ListSecurityProfilePermissionsCommand = exports.deserializeAws_restJson1ListSecurityKeysCommand = exports.deserializeAws_restJson1ListRulesCommand = exports.deserializeAws_restJson1ListRoutingProfilesCommand = exports.deserializeAws_restJson1ListRoutingProfileQueuesCommand = exports.deserializeAws_restJson1ListQuickConnectsCommand = exports.deserializeAws_restJson1ListQueuesCommand = exports.deserializeAws_restJson1ListQueueQuickConnectsCommand = exports.deserializeAws_restJson1ListPromptsCommand = exports.deserializeAws_restJson1ListPhoneNumbersV2Command = exports.deserializeAws_restJson1ListPhoneNumbersCommand = exports.deserializeAws_restJson1ListLexBotsCommand = exports.deserializeAws_restJson1ListLambdaFunctionsCommand = exports.deserializeAws_restJson1ListIntegrationAssociationsCommand = exports.deserializeAws_restJson1ListInstanceStorageConfigsCommand = exports.deserializeAws_restJson1ListInstancesCommand = exports.deserializeAws_restJson1ListInstanceAttributesCommand = exports.deserializeAws_restJson1ListHoursOfOperationsCommand = exports.deserializeAws_restJson1ListDefaultVocabulariesCommand = exports.deserializeAws_restJson1ListContactReferencesCommand = exports.deserializeAws_restJson1ListContactFlowsCommand = exports.deserializeAws_restJson1ListContactFlowModulesCommand = void 0;
9
- exports.deserializeAws_restJson1UpdateUserSecurityProfilesCommand = exports.deserializeAws_restJson1UpdateUserRoutingProfileCommand = exports.deserializeAws_restJson1UpdateUserPhoneConfigCommand = exports.deserializeAws_restJson1UpdateUserIdentityInfoCommand = exports.deserializeAws_restJson1UpdateUserHierarchyStructureCommand = exports.deserializeAws_restJson1UpdateUserHierarchyGroupNameCommand = exports.deserializeAws_restJson1UpdateUserHierarchyCommand = exports.deserializeAws_restJson1UpdateTrafficDistributionCommand = exports.deserializeAws_restJson1UpdateTaskTemplateCommand = exports.deserializeAws_restJson1UpdateSecurityProfileCommand = exports.deserializeAws_restJson1UpdateRuleCommand = exports.deserializeAws_restJson1UpdateRoutingProfileQueuesCommand = exports.deserializeAws_restJson1UpdateRoutingProfileNameCommand = exports.deserializeAws_restJson1UpdateRoutingProfileDefaultOutboundQueueCommand = exports.deserializeAws_restJson1UpdateRoutingProfileConcurrencyCommand = exports.deserializeAws_restJson1UpdateQuickConnectNameCommand = exports.deserializeAws_restJson1UpdateQuickConnectConfigCommand = exports.deserializeAws_restJson1UpdateQueueStatusCommand = exports.deserializeAws_restJson1UpdateQueueOutboundCallerConfigCommand = exports.deserializeAws_restJson1UpdateQueueNameCommand = exports.deserializeAws_restJson1UpdateQueueMaxContactsCommand = exports.deserializeAws_restJson1UpdateQueueHoursOfOperationCommand = exports.deserializeAws_restJson1UpdatePhoneNumberCommand = exports.deserializeAws_restJson1UpdateParticipantRoleConfigCommand = exports.deserializeAws_restJson1UpdateInstanceStorageConfigCommand = exports.deserializeAws_restJson1UpdateInstanceAttributeCommand = exports.deserializeAws_restJson1UpdateHoursOfOperationCommand = exports.deserializeAws_restJson1UpdateContactScheduleCommand = exports.deserializeAws_restJson1UpdateContactFlowNameCommand = exports.deserializeAws_restJson1UpdateContactFlowModuleMetadataCommand = exports.deserializeAws_restJson1UpdateContactFlowModuleContentCommand = exports.deserializeAws_restJson1UpdateContactFlowMetadataCommand = exports.deserializeAws_restJson1UpdateContactFlowContentCommand = exports.deserializeAws_restJson1UpdateContactAttributesCommand = exports.deserializeAws_restJson1UpdateContactCommand = exports.deserializeAws_restJson1UpdateAgentStatusCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TransferContactCommand = void 0;
4
+ exports.serializeAws_restJson1ListRoutingProfileQueuesCommand = exports.serializeAws_restJson1ListQuickConnectsCommand = exports.serializeAws_restJson1ListQueuesCommand = exports.serializeAws_restJson1ListQueueQuickConnectsCommand = exports.serializeAws_restJson1ListPromptsCommand = exports.serializeAws_restJson1ListPhoneNumbersV2Command = exports.serializeAws_restJson1ListPhoneNumbersCommand = exports.serializeAws_restJson1ListLexBotsCommand = exports.serializeAws_restJson1ListLambdaFunctionsCommand = exports.serializeAws_restJson1ListIntegrationAssociationsCommand = exports.serializeAws_restJson1ListInstanceStorageConfigsCommand = exports.serializeAws_restJson1ListInstancesCommand = exports.serializeAws_restJson1ListInstanceAttributesCommand = exports.serializeAws_restJson1ListHoursOfOperationsCommand = exports.serializeAws_restJson1ListDefaultVocabulariesCommand = exports.serializeAws_restJson1ListContactReferencesCommand = exports.serializeAws_restJson1ListContactFlowsCommand = exports.serializeAws_restJson1ListContactFlowModulesCommand = exports.serializeAws_restJson1ListBotsCommand = exports.serializeAws_restJson1ListApprovedOriginsCommand = exports.serializeAws_restJson1ListAgentStatusesCommand = exports.serializeAws_restJson1GetTrafficDistributionCommand = exports.serializeAws_restJson1GetTaskTemplateCommand = exports.serializeAws_restJson1GetMetricDataV2Command = exports.serializeAws_restJson1GetMetricDataCommand = exports.serializeAws_restJson1GetFederationTokenCommand = exports.serializeAws_restJson1GetCurrentUserDataCommand = exports.serializeAws_restJson1GetCurrentMetricDataCommand = exports.serializeAws_restJson1GetContactAttributesCommand = exports.serializeAws_restJson1DismissUserContactCommand = exports.serializeAws_restJson1DisassociateSecurityKeyCommand = exports.serializeAws_restJson1DisassociateRoutingProfileQueuesCommand = exports.serializeAws_restJson1DisassociateQueueQuickConnectsCommand = exports.serializeAws_restJson1DisassociatePhoneNumberContactFlowCommand = exports.serializeAws_restJson1DisassociateLexBotCommand = exports.serializeAws_restJson1DisassociateLambdaFunctionCommand = exports.serializeAws_restJson1DisassociateInstanceStorageConfigCommand = exports.serializeAws_restJson1DisassociateBotCommand = exports.serializeAws_restJson1DisassociateApprovedOriginCommand = exports.serializeAws_restJson1DescribeVocabularyCommand = exports.serializeAws_restJson1DescribeUserHierarchyStructureCommand = exports.serializeAws_restJson1DescribeUserHierarchyGroupCommand = exports.serializeAws_restJson1DescribeUserCommand = exports.serializeAws_restJson1DescribeTrafficDistributionGroupCommand = exports.serializeAws_restJson1DescribeSecurityProfileCommand = exports.serializeAws_restJson1DescribeRuleCommand = exports.serializeAws_restJson1DescribeRoutingProfileCommand = exports.serializeAws_restJson1DescribeQuickConnectCommand = exports.serializeAws_restJson1DescribeQueueCommand = exports.serializeAws_restJson1DescribePhoneNumberCommand = void 0;
5
+ exports.serializeAws_restJson1UpdateQueueMaxContactsCommand = exports.serializeAws_restJson1UpdateQueueHoursOfOperationCommand = exports.serializeAws_restJson1UpdatePhoneNumberCommand = exports.serializeAws_restJson1UpdateParticipantRoleConfigCommand = exports.serializeAws_restJson1UpdateInstanceStorageConfigCommand = exports.serializeAws_restJson1UpdateInstanceAttributeCommand = exports.serializeAws_restJson1UpdateHoursOfOperationCommand = exports.serializeAws_restJson1UpdateContactScheduleCommand = exports.serializeAws_restJson1UpdateContactFlowNameCommand = exports.serializeAws_restJson1UpdateContactFlowModuleMetadataCommand = exports.serializeAws_restJson1UpdateContactFlowModuleContentCommand = exports.serializeAws_restJson1UpdateContactFlowMetadataCommand = exports.serializeAws_restJson1UpdateContactFlowContentCommand = exports.serializeAws_restJson1UpdateContactAttributesCommand = exports.serializeAws_restJson1UpdateContactCommand = exports.serializeAws_restJson1UpdateAgentStatusCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TransferContactCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1SuspendContactRecordingCommand = exports.serializeAws_restJson1StopContactStreamingCommand = exports.serializeAws_restJson1StopContactRecordingCommand = exports.serializeAws_restJson1StopContactCommand = exports.serializeAws_restJson1StartTaskContactCommand = exports.serializeAws_restJson1StartOutboundVoiceContactCommand = exports.serializeAws_restJson1StartContactStreamingCommand = exports.serializeAws_restJson1StartContactRecordingCommand = exports.serializeAws_restJson1StartChatContactCommand = exports.serializeAws_restJson1SearchVocabulariesCommand = exports.serializeAws_restJson1SearchUsersCommand = exports.serializeAws_restJson1SearchSecurityProfilesCommand = exports.serializeAws_restJson1SearchRoutingProfilesCommand = exports.serializeAws_restJson1SearchQueuesCommand = exports.serializeAws_restJson1SearchAvailablePhoneNumbersCommand = exports.serializeAws_restJson1ResumeContactRecordingCommand = exports.serializeAws_restJson1ReplicateInstanceCommand = exports.serializeAws_restJson1ReleasePhoneNumberCommand = exports.serializeAws_restJson1PutUserStatusCommand = exports.serializeAws_restJson1MonitorContactCommand = exports.serializeAws_restJson1ListUsersCommand = exports.serializeAws_restJson1ListUserHierarchyGroupsCommand = exports.serializeAws_restJson1ListUseCasesCommand = exports.serializeAws_restJson1ListTrafficDistributionGroupsCommand = exports.serializeAws_restJson1ListTaskTemplatesCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListSecurityProfilesCommand = exports.serializeAws_restJson1ListSecurityProfilePermissionsCommand = exports.serializeAws_restJson1ListSecurityKeysCommand = exports.serializeAws_restJson1ListRulesCommand = exports.serializeAws_restJson1ListRoutingProfilesCommand = void 0;
6
+ exports.deserializeAws_restJson1DeleteContactFlowModuleCommand = exports.deserializeAws_restJson1DeleteContactFlowCommand = exports.deserializeAws_restJson1CreateVocabularyCommand = exports.deserializeAws_restJson1CreateUserHierarchyGroupCommand = exports.deserializeAws_restJson1CreateUserCommand = exports.deserializeAws_restJson1CreateUseCaseCommand = exports.deserializeAws_restJson1CreateTrafficDistributionGroupCommand = exports.deserializeAws_restJson1CreateTaskTemplateCommand = exports.deserializeAws_restJson1CreateSecurityProfileCommand = exports.deserializeAws_restJson1CreateRuleCommand = exports.deserializeAws_restJson1CreateRoutingProfileCommand = exports.deserializeAws_restJson1CreateQuickConnectCommand = exports.deserializeAws_restJson1CreateQueueCommand = exports.deserializeAws_restJson1CreateIntegrationAssociationCommand = exports.deserializeAws_restJson1CreateInstanceCommand = exports.deserializeAws_restJson1CreateHoursOfOperationCommand = exports.deserializeAws_restJson1CreateContactFlowModuleCommand = exports.deserializeAws_restJson1CreateContactFlowCommand = exports.deserializeAws_restJson1CreateAgentStatusCommand = exports.deserializeAws_restJson1ClaimPhoneNumberCommand = exports.deserializeAws_restJson1AssociateSecurityKeyCommand = exports.deserializeAws_restJson1AssociateRoutingProfileQueuesCommand = exports.deserializeAws_restJson1AssociateQueueQuickConnectsCommand = exports.deserializeAws_restJson1AssociatePhoneNumberContactFlowCommand = exports.deserializeAws_restJson1AssociateLexBotCommand = exports.deserializeAws_restJson1AssociateLambdaFunctionCommand = exports.deserializeAws_restJson1AssociateInstanceStorageConfigCommand = exports.deserializeAws_restJson1AssociateDefaultVocabularyCommand = exports.deserializeAws_restJson1AssociateBotCommand = exports.deserializeAws_restJson1AssociateApprovedOriginCommand = exports.serializeAws_restJson1UpdateUserSecurityProfilesCommand = exports.serializeAws_restJson1UpdateUserRoutingProfileCommand = exports.serializeAws_restJson1UpdateUserPhoneConfigCommand = exports.serializeAws_restJson1UpdateUserIdentityInfoCommand = exports.serializeAws_restJson1UpdateUserHierarchyStructureCommand = exports.serializeAws_restJson1UpdateUserHierarchyGroupNameCommand = exports.serializeAws_restJson1UpdateUserHierarchyCommand = exports.serializeAws_restJson1UpdateTrafficDistributionCommand = exports.serializeAws_restJson1UpdateTaskTemplateCommand = exports.serializeAws_restJson1UpdateSecurityProfileCommand = exports.serializeAws_restJson1UpdateRuleCommand = exports.serializeAws_restJson1UpdateRoutingProfileQueuesCommand = exports.serializeAws_restJson1UpdateRoutingProfileNameCommand = exports.serializeAws_restJson1UpdateRoutingProfileDefaultOutboundQueueCommand = exports.serializeAws_restJson1UpdateRoutingProfileConcurrencyCommand = exports.serializeAws_restJson1UpdateQuickConnectNameCommand = exports.serializeAws_restJson1UpdateQuickConnectConfigCommand = exports.serializeAws_restJson1UpdateQueueStatusCommand = exports.serializeAws_restJson1UpdateQueueOutboundCallerConfigCommand = exports.serializeAws_restJson1UpdateQueueNameCommand = void 0;
7
+ exports.deserializeAws_restJson1ListAgentStatusesCommand = exports.deserializeAws_restJson1GetTrafficDistributionCommand = exports.deserializeAws_restJson1GetTaskTemplateCommand = exports.deserializeAws_restJson1GetMetricDataV2Command = exports.deserializeAws_restJson1GetMetricDataCommand = exports.deserializeAws_restJson1GetFederationTokenCommand = exports.deserializeAws_restJson1GetCurrentUserDataCommand = exports.deserializeAws_restJson1GetCurrentMetricDataCommand = exports.deserializeAws_restJson1GetContactAttributesCommand = exports.deserializeAws_restJson1DismissUserContactCommand = exports.deserializeAws_restJson1DisassociateSecurityKeyCommand = exports.deserializeAws_restJson1DisassociateRoutingProfileQueuesCommand = exports.deserializeAws_restJson1DisassociateQueueQuickConnectsCommand = exports.deserializeAws_restJson1DisassociatePhoneNumberContactFlowCommand = exports.deserializeAws_restJson1DisassociateLexBotCommand = exports.deserializeAws_restJson1DisassociateLambdaFunctionCommand = exports.deserializeAws_restJson1DisassociateInstanceStorageConfigCommand = exports.deserializeAws_restJson1DisassociateBotCommand = exports.deserializeAws_restJson1DisassociateApprovedOriginCommand = exports.deserializeAws_restJson1DescribeVocabularyCommand = exports.deserializeAws_restJson1DescribeUserHierarchyStructureCommand = exports.deserializeAws_restJson1DescribeUserHierarchyGroupCommand = exports.deserializeAws_restJson1DescribeUserCommand = exports.deserializeAws_restJson1DescribeTrafficDistributionGroupCommand = exports.deserializeAws_restJson1DescribeSecurityProfileCommand = exports.deserializeAws_restJson1DescribeRuleCommand = exports.deserializeAws_restJson1DescribeRoutingProfileCommand = exports.deserializeAws_restJson1DescribeQuickConnectCommand = exports.deserializeAws_restJson1DescribeQueueCommand = exports.deserializeAws_restJson1DescribePhoneNumberCommand = exports.deserializeAws_restJson1DescribeInstanceStorageConfigCommand = exports.deserializeAws_restJson1DescribeInstanceAttributeCommand = exports.deserializeAws_restJson1DescribeInstanceCommand = exports.deserializeAws_restJson1DescribeHoursOfOperationCommand = exports.deserializeAws_restJson1DescribeContactFlowModuleCommand = exports.deserializeAws_restJson1DescribeContactFlowCommand = exports.deserializeAws_restJson1DescribeContactCommand = exports.deserializeAws_restJson1DescribeAgentStatusCommand = exports.deserializeAws_restJson1DeleteVocabularyCommand = exports.deserializeAws_restJson1DeleteUserHierarchyGroupCommand = exports.deserializeAws_restJson1DeleteUserCommand = exports.deserializeAws_restJson1DeleteUseCaseCommand = exports.deserializeAws_restJson1DeleteTrafficDistributionGroupCommand = exports.deserializeAws_restJson1DeleteTaskTemplateCommand = exports.deserializeAws_restJson1DeleteSecurityProfileCommand = exports.deserializeAws_restJson1DeleteRuleCommand = exports.deserializeAws_restJson1DeleteQuickConnectCommand = exports.deserializeAws_restJson1DeleteIntegrationAssociationCommand = exports.deserializeAws_restJson1DeleteInstanceCommand = exports.deserializeAws_restJson1DeleteHoursOfOperationCommand = void 0;
8
+ exports.deserializeAws_restJson1StopContactStreamingCommand = exports.deserializeAws_restJson1StopContactRecordingCommand = exports.deserializeAws_restJson1StopContactCommand = exports.deserializeAws_restJson1StartTaskContactCommand = exports.deserializeAws_restJson1StartOutboundVoiceContactCommand = exports.deserializeAws_restJson1StartContactStreamingCommand = exports.deserializeAws_restJson1StartContactRecordingCommand = exports.deserializeAws_restJson1StartChatContactCommand = exports.deserializeAws_restJson1SearchVocabulariesCommand = exports.deserializeAws_restJson1SearchUsersCommand = exports.deserializeAws_restJson1SearchSecurityProfilesCommand = exports.deserializeAws_restJson1SearchRoutingProfilesCommand = exports.deserializeAws_restJson1SearchQueuesCommand = exports.deserializeAws_restJson1SearchAvailablePhoneNumbersCommand = exports.deserializeAws_restJson1ResumeContactRecordingCommand = exports.deserializeAws_restJson1ReplicateInstanceCommand = exports.deserializeAws_restJson1ReleasePhoneNumberCommand = exports.deserializeAws_restJson1PutUserStatusCommand = exports.deserializeAws_restJson1MonitorContactCommand = exports.deserializeAws_restJson1ListUsersCommand = exports.deserializeAws_restJson1ListUserHierarchyGroupsCommand = exports.deserializeAws_restJson1ListUseCasesCommand = exports.deserializeAws_restJson1ListTrafficDistributionGroupsCommand = exports.deserializeAws_restJson1ListTaskTemplatesCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListSecurityProfilesCommand = exports.deserializeAws_restJson1ListSecurityProfilePermissionsCommand = exports.deserializeAws_restJson1ListSecurityKeysCommand = exports.deserializeAws_restJson1ListRulesCommand = exports.deserializeAws_restJson1ListRoutingProfilesCommand = exports.deserializeAws_restJson1ListRoutingProfileQueuesCommand = exports.deserializeAws_restJson1ListQuickConnectsCommand = exports.deserializeAws_restJson1ListQueuesCommand = exports.deserializeAws_restJson1ListQueueQuickConnectsCommand = exports.deserializeAws_restJson1ListPromptsCommand = exports.deserializeAws_restJson1ListPhoneNumbersV2Command = exports.deserializeAws_restJson1ListPhoneNumbersCommand = exports.deserializeAws_restJson1ListLexBotsCommand = exports.deserializeAws_restJson1ListLambdaFunctionsCommand = exports.deserializeAws_restJson1ListIntegrationAssociationsCommand = exports.deserializeAws_restJson1ListInstanceStorageConfigsCommand = exports.deserializeAws_restJson1ListInstancesCommand = exports.deserializeAws_restJson1ListInstanceAttributesCommand = exports.deserializeAws_restJson1ListHoursOfOperationsCommand = exports.deserializeAws_restJson1ListDefaultVocabulariesCommand = exports.deserializeAws_restJson1ListContactReferencesCommand = exports.deserializeAws_restJson1ListContactFlowsCommand = exports.deserializeAws_restJson1ListContactFlowModulesCommand = exports.deserializeAws_restJson1ListBotsCommand = exports.deserializeAws_restJson1ListApprovedOriginsCommand = void 0;
9
+ exports.deserializeAws_restJson1UpdateUserSecurityProfilesCommand = exports.deserializeAws_restJson1UpdateUserRoutingProfileCommand = exports.deserializeAws_restJson1UpdateUserPhoneConfigCommand = exports.deserializeAws_restJson1UpdateUserIdentityInfoCommand = exports.deserializeAws_restJson1UpdateUserHierarchyStructureCommand = exports.deserializeAws_restJson1UpdateUserHierarchyGroupNameCommand = exports.deserializeAws_restJson1UpdateUserHierarchyCommand = exports.deserializeAws_restJson1UpdateTrafficDistributionCommand = exports.deserializeAws_restJson1UpdateTaskTemplateCommand = exports.deserializeAws_restJson1UpdateSecurityProfileCommand = exports.deserializeAws_restJson1UpdateRuleCommand = exports.deserializeAws_restJson1UpdateRoutingProfileQueuesCommand = exports.deserializeAws_restJson1UpdateRoutingProfileNameCommand = exports.deserializeAws_restJson1UpdateRoutingProfileDefaultOutboundQueueCommand = exports.deserializeAws_restJson1UpdateRoutingProfileConcurrencyCommand = exports.deserializeAws_restJson1UpdateQuickConnectNameCommand = exports.deserializeAws_restJson1UpdateQuickConnectConfigCommand = exports.deserializeAws_restJson1UpdateQueueStatusCommand = exports.deserializeAws_restJson1UpdateQueueOutboundCallerConfigCommand = exports.deserializeAws_restJson1UpdateQueueNameCommand = exports.deserializeAws_restJson1UpdateQueueMaxContactsCommand = exports.deserializeAws_restJson1UpdateQueueHoursOfOperationCommand = exports.deserializeAws_restJson1UpdatePhoneNumberCommand = exports.deserializeAws_restJson1UpdateParticipantRoleConfigCommand = exports.deserializeAws_restJson1UpdateInstanceStorageConfigCommand = exports.deserializeAws_restJson1UpdateInstanceAttributeCommand = exports.deserializeAws_restJson1UpdateHoursOfOperationCommand = exports.deserializeAws_restJson1UpdateContactScheduleCommand = exports.deserializeAws_restJson1UpdateContactFlowNameCommand = exports.deserializeAws_restJson1UpdateContactFlowModuleMetadataCommand = exports.deserializeAws_restJson1UpdateContactFlowModuleContentCommand = exports.deserializeAws_restJson1UpdateContactFlowMetadataCommand = exports.deserializeAws_restJson1UpdateContactFlowContentCommand = exports.deserializeAws_restJson1UpdateContactAttributesCommand = exports.deserializeAws_restJson1UpdateContactCommand = exports.deserializeAws_restJson1UpdateAgentStatusCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TransferContactCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1SuspendContactRecordingCommand = void 0;
10
10
  const protocol_http_1 = require("@aws-sdk/protocol-http");
11
11
  const smithy_client_1 = require("@aws-sdk/smithy-client");
12
12
  const uuid_1 = require("uuid");
@@ -1713,6 +1713,34 @@ const serializeAws_restJson1GetMetricDataCommand = async (input, context) => {
1713
1713
  });
1714
1714
  };
1715
1715
  exports.serializeAws_restJson1GetMetricDataCommand = serializeAws_restJson1GetMetricDataCommand;
1716
+ const serializeAws_restJson1GetMetricDataV2Command = async (input, context) => {
1717
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1718
+ const headers = {
1719
+ "content-type": "application/json",
1720
+ };
1721
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/metrics/data";
1722
+ let body;
1723
+ body = JSON.stringify({
1724
+ ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
1725
+ ...(input.Filters != null && { Filters: serializeAws_restJson1FiltersV2List(input.Filters, context) }),
1726
+ ...(input.Groupings != null && { Groupings: serializeAws_restJson1GroupingsV2(input.Groupings, context) }),
1727
+ ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
1728
+ ...(input.Metrics != null && { Metrics: serializeAws_restJson1MetricsV2(input.Metrics, context) }),
1729
+ ...(input.NextToken != null && { NextToken: input.NextToken }),
1730
+ ...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
1731
+ ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
1732
+ });
1733
+ return new protocol_http_1.HttpRequest({
1734
+ protocol,
1735
+ hostname,
1736
+ port,
1737
+ method: "POST",
1738
+ headers,
1739
+ path: resolvedPath,
1740
+ body,
1741
+ });
1742
+ };
1743
+ exports.serializeAws_restJson1GetMetricDataV2Command = serializeAws_restJson1GetMetricDataV2Command;
1716
1744
  const serializeAws_restJson1GetTaskTemplateCommand = async (input, context) => {
1717
1745
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1718
1746
  const headers = {};
@@ -7653,6 +7681,55 @@ const deserializeAws_restJson1GetMetricDataCommandError = async (output, context
7653
7681
  });
7654
7682
  }
7655
7683
  };
7684
+ const deserializeAws_restJson1GetMetricDataV2Command = async (output, context) => {
7685
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
7686
+ return deserializeAws_restJson1GetMetricDataV2CommandError(output, context);
7687
+ }
7688
+ const contents = map({
7689
+ $metadata: deserializeMetadata(output),
7690
+ });
7691
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
7692
+ if (data.MetricResults != null) {
7693
+ contents.MetricResults = deserializeAws_restJson1MetricResultsV2(data.MetricResults, context);
7694
+ }
7695
+ if (data.NextToken != null) {
7696
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
7697
+ }
7698
+ return contents;
7699
+ };
7700
+ exports.deserializeAws_restJson1GetMetricDataV2Command = deserializeAws_restJson1GetMetricDataV2Command;
7701
+ const deserializeAws_restJson1GetMetricDataV2CommandError = async (output, context) => {
7702
+ const parsedOutput = {
7703
+ ...output,
7704
+ body: await parseErrorBody(output.body, context),
7705
+ };
7706
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
7707
+ switch (errorCode) {
7708
+ case "InternalServiceException":
7709
+ case "com.amazonaws.connect#InternalServiceException":
7710
+ throw await deserializeAws_restJson1InternalServiceExceptionResponse(parsedOutput, context);
7711
+ case "InvalidParameterException":
7712
+ case "com.amazonaws.connect#InvalidParameterException":
7713
+ throw await deserializeAws_restJson1InvalidParameterExceptionResponse(parsedOutput, context);
7714
+ case "InvalidRequestException":
7715
+ case "com.amazonaws.connect#InvalidRequestException":
7716
+ throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
7717
+ case "ResourceNotFoundException":
7718
+ case "com.amazonaws.connect#ResourceNotFoundException":
7719
+ throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
7720
+ case "ThrottlingException":
7721
+ case "com.amazonaws.connect#ThrottlingException":
7722
+ throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
7723
+ default:
7724
+ const parsedBody = parsedOutput.body;
7725
+ (0, smithy_client_1.throwDefaultError)({
7726
+ output,
7727
+ parsedBody,
7728
+ exceptionCtor: ConnectServiceException_1.ConnectServiceException,
7729
+ errorCode,
7730
+ });
7731
+ }
7732
+ };
7656
7733
  const deserializeAws_restJson1GetTaskTemplateCommand = async (output, context) => {
7657
7734
  if (output.statusCode !== 200 && output.statusCode >= 300) {
7658
7735
  return deserializeAws_restJson1GetTaskTemplateCommandError(output, context);
@@ -12488,6 +12565,28 @@ const serializeAws_restJson1Filters = (input, context) => {
12488
12565
  }),
12489
12566
  };
12490
12567
  };
12568
+ const serializeAws_restJson1FiltersV2List = (input, context) => {
12569
+ return input
12570
+ .filter((e) => e != null)
12571
+ .map((entry) => {
12572
+ return serializeAws_restJson1FilterV2(entry, context);
12573
+ });
12574
+ };
12575
+ const serializeAws_restJson1FilterV2 = (input, context) => {
12576
+ return {
12577
+ ...(input.FilterKey != null && { FilterKey: input.FilterKey }),
12578
+ ...(input.FilterValues != null && {
12579
+ FilterValues: serializeAws_restJson1FilterValueList(input.FilterValues, context),
12580
+ }),
12581
+ };
12582
+ };
12583
+ const serializeAws_restJson1FilterValueList = (input, context) => {
12584
+ return input
12585
+ .filter((e) => e != null)
12586
+ .map((entry) => {
12587
+ return entry;
12588
+ });
12589
+ };
12491
12590
  const serializeAws_restJson1Groupings = (input, context) => {
12492
12591
  return input
12493
12592
  .filter((e) => e != null)
@@ -12495,6 +12594,13 @@ const serializeAws_restJson1Groupings = (input, context) => {
12495
12594
  return entry;
12496
12595
  });
12497
12596
  };
12597
+ const serializeAws_restJson1GroupingsV2 = (input, context) => {
12598
+ return input
12599
+ .filter((e) => e != null)
12600
+ .map((entry) => {
12601
+ return entry;
12602
+ });
12603
+ };
12498
12604
  const serializeAws_restJson1HierarchyGroupCondition = (input, context) => {
12499
12605
  return {
12500
12606
  ...(input.HierarchyGroupMatchType != null && { HierarchyGroupMatchType: input.HierarchyGroupMatchType }),
@@ -12625,6 +12731,44 @@ const serializeAws_restJson1MediaConcurrency = (input, context) => {
12625
12731
  ...(input.Concurrency != null && { Concurrency: input.Concurrency }),
12626
12732
  };
12627
12733
  };
12734
+ const serializeAws_restJson1MetricFiltersV2List = (input, context) => {
12735
+ return input
12736
+ .filter((e) => e != null)
12737
+ .map((entry) => {
12738
+ return serializeAws_restJson1MetricFilterV2(entry, context);
12739
+ });
12740
+ };
12741
+ const serializeAws_restJson1MetricFilterV2 = (input, context) => {
12742
+ return {
12743
+ ...(input.MetricFilterKey != null && { MetricFilterKey: input.MetricFilterKey }),
12744
+ ...(input.MetricFilterValues != null && {
12745
+ MetricFilterValues: serializeAws_restJson1MetricFilterValueList(input.MetricFilterValues, context),
12746
+ }),
12747
+ };
12748
+ };
12749
+ const serializeAws_restJson1MetricFilterValueList = (input, context) => {
12750
+ return input
12751
+ .filter((e) => e != null)
12752
+ .map((entry) => {
12753
+ return entry;
12754
+ });
12755
+ };
12756
+ const serializeAws_restJson1MetricsV2 = (input, context) => {
12757
+ return input
12758
+ .filter((e) => e != null)
12759
+ .map((entry) => {
12760
+ return serializeAws_restJson1MetricV2(entry, context);
12761
+ });
12762
+ };
12763
+ const serializeAws_restJson1MetricV2 = (input, context) => {
12764
+ return {
12765
+ ...(input.MetricFilters != null && {
12766
+ MetricFilters: serializeAws_restJson1MetricFiltersV2List(input.MetricFilters, context),
12767
+ }),
12768
+ ...(input.Name != null && { Name: input.Name }),
12769
+ ...(input.Threshold != null && { Threshold: serializeAws_restJson1ThresholdCollections(input.Threshold, context) }),
12770
+ };
12771
+ };
12628
12772
  const serializeAws_restJson1NotificationRecipientType = (input, context) => {
12629
12773
  return {
12630
12774
  ...(input.UserIds != null && { UserIds: serializeAws_restJson1UserIdList(input.UserIds, context) }),
@@ -13070,6 +13214,19 @@ const serializeAws_restJson1Threshold = (input, context) => {
13070
13214
  ...(input.ThresholdValue != null && { ThresholdValue: (0, smithy_client_1.serializeFloat)(input.ThresholdValue) }),
13071
13215
  };
13072
13216
  };
13217
+ const serializeAws_restJson1ThresholdCollections = (input, context) => {
13218
+ return input
13219
+ .filter((e) => e != null)
13220
+ .map((entry) => {
13221
+ return serializeAws_restJson1ThresholdV2(entry, context);
13222
+ });
13223
+ };
13224
+ const serializeAws_restJson1ThresholdV2 = (input, context) => {
13225
+ return {
13226
+ ...(input.Comparison != null && { Comparison: input.Comparison }),
13227
+ ...(input.ThresholdValue != null && { ThresholdValue: (0, smithy_client_1.serializeFloat)(input.ThresholdValue) }),
13228
+ };
13229
+ };
13073
13230
  const serializeAws_restJson1UpdateParticipantRoleConfigChannelInfo = (input, context) => {
13074
13231
  return models_1_1.UpdateParticipantRoleConfigChannelInfo.visit(input, {
13075
13232
  Chat: (value) => ({ Chat: serializeAws_restJson1ChatParticipantRoleConfig(value, context) }),
@@ -13537,6 +13694,15 @@ const deserializeAws_restJson1Dimensions = (output, context) => {
13537
13694
  : undefined,
13538
13695
  };
13539
13696
  };
13697
+ const deserializeAws_restJson1DimensionsV2Map = (output, context) => {
13698
+ return Object.entries(output).reduce((acc, [key, value]) => {
13699
+ if (value === null) {
13700
+ return acc;
13701
+ }
13702
+ acc[key] = (0, smithy_client_1.expectString)(value);
13703
+ return acc;
13704
+ }, {});
13705
+ };
13540
13706
  const deserializeAws_restJson1Distribution = (output, context) => {
13541
13707
  return {
13542
13708
  Percentage: (0, smithy_client_1.expectInt32)(output.Percentage),
@@ -13970,6 +14136,81 @@ const deserializeAws_restJson1MediaConcurrency = (output, context) => {
13970
14136
  Concurrency: (0, smithy_client_1.expectInt32)(output.Concurrency),
13971
14137
  };
13972
14138
  };
14139
+ const deserializeAws_restJson1MetricDataCollectionsV2 = (output, context) => {
14140
+ const retVal = (output || [])
14141
+ .filter((e) => e != null)
14142
+ .map((entry) => {
14143
+ if (entry === null) {
14144
+ return null;
14145
+ }
14146
+ return deserializeAws_restJson1MetricDataV2(entry, context);
14147
+ });
14148
+ return retVal;
14149
+ };
14150
+ const deserializeAws_restJson1MetricDataV2 = (output, context) => {
14151
+ return {
14152
+ Metric: output.Metric != null ? deserializeAws_restJson1MetricV2(output.Metric, context) : undefined,
14153
+ Value: (0, smithy_client_1.limitedParseDouble)(output.Value),
14154
+ };
14155
+ };
14156
+ const deserializeAws_restJson1MetricFiltersV2List = (output, context) => {
14157
+ const retVal = (output || [])
14158
+ .filter((e) => e != null)
14159
+ .map((entry) => {
14160
+ if (entry === null) {
14161
+ return null;
14162
+ }
14163
+ return deserializeAws_restJson1MetricFilterV2(entry, context);
14164
+ });
14165
+ return retVal;
14166
+ };
14167
+ const deserializeAws_restJson1MetricFilterV2 = (output, context) => {
14168
+ return {
14169
+ MetricFilterKey: (0, smithy_client_1.expectString)(output.MetricFilterKey),
14170
+ MetricFilterValues: output.MetricFilterValues != null
14171
+ ? deserializeAws_restJson1MetricFilterValueList(output.MetricFilterValues, context)
14172
+ : undefined,
14173
+ };
14174
+ };
14175
+ const deserializeAws_restJson1MetricFilterValueList = (output, context) => {
14176
+ const retVal = (output || [])
14177
+ .filter((e) => e != null)
14178
+ .map((entry) => {
14179
+ if (entry === null) {
14180
+ return null;
14181
+ }
14182
+ return (0, smithy_client_1.expectString)(entry);
14183
+ });
14184
+ return retVal;
14185
+ };
14186
+ const deserializeAws_restJson1MetricResultsV2 = (output, context) => {
14187
+ const retVal = (output || [])
14188
+ .filter((e) => e != null)
14189
+ .map((entry) => {
14190
+ if (entry === null) {
14191
+ return null;
14192
+ }
14193
+ return deserializeAws_restJson1MetricResultV2(entry, context);
14194
+ });
14195
+ return retVal;
14196
+ };
14197
+ const deserializeAws_restJson1MetricResultV2 = (output, context) => {
14198
+ return {
14199
+ Collections: output.Collections != null
14200
+ ? deserializeAws_restJson1MetricDataCollectionsV2(output.Collections, context)
14201
+ : undefined,
14202
+ Dimensions: output.Dimensions != null ? deserializeAws_restJson1DimensionsV2Map(output.Dimensions, context) : undefined,
14203
+ };
14204
+ };
14205
+ const deserializeAws_restJson1MetricV2 = (output, context) => {
14206
+ return {
14207
+ MetricFilters: output.MetricFilters != null
14208
+ ? deserializeAws_restJson1MetricFiltersV2List(output.MetricFilters, context)
14209
+ : undefined,
14210
+ Name: (0, smithy_client_1.expectString)(output.Name),
14211
+ Threshold: output.Threshold != null ? deserializeAws_restJson1ThresholdCollections(output.Threshold, context) : undefined,
14212
+ };
14213
+ };
13973
14214
  const deserializeAws_restJson1NotificationRecipientType = (output, context) => {
13974
14215
  return {
13975
14216
  UserIds: output.UserIds != null ? deserializeAws_restJson1UserIdList(output.UserIds, context) : undefined,
@@ -14693,6 +14934,23 @@ const deserializeAws_restJson1Threshold = (output, context) => {
14693
14934
  ThresholdValue: (0, smithy_client_1.limitedParseDouble)(output.ThresholdValue),
14694
14935
  };
14695
14936
  };
14937
+ const deserializeAws_restJson1ThresholdCollections = (output, context) => {
14938
+ const retVal = (output || [])
14939
+ .filter((e) => e != null)
14940
+ .map((entry) => {
14941
+ if (entry === null) {
14942
+ return null;
14943
+ }
14944
+ return deserializeAws_restJson1ThresholdV2(entry, context);
14945
+ });
14946
+ return retVal;
14947
+ };
14948
+ const deserializeAws_restJson1ThresholdV2 = (output, context) => {
14949
+ return {
14950
+ Comparison: (0, smithy_client_1.expectString)(output.Comparison),
14951
+ ThresholdValue: (0, smithy_client_1.limitedParseDouble)(output.ThresholdValue),
14952
+ };
14953
+ };
14696
14954
  const deserializeAws_restJson1TrafficDistributionGroup = (output, context) => {
14697
14955
  return {
14698
14956
  Arn: (0, smithy_client_1.expectString)(output.Arn),
@@ -74,6 +74,7 @@ import { GetCurrentMetricDataCommand, } from "./commands/GetCurrentMetricDataCom
74
74
  import { GetCurrentUserDataCommand, } from "./commands/GetCurrentUserDataCommand";
75
75
  import { GetFederationTokenCommand, } from "./commands/GetFederationTokenCommand";
76
76
  import { GetMetricDataCommand, } from "./commands/GetMetricDataCommand";
77
+ import { GetMetricDataV2Command, } from "./commands/GetMetricDataV2Command";
77
78
  import { GetTaskTemplateCommand, } from "./commands/GetTaskTemplateCommand";
78
79
  import { GetTrafficDistributionCommand, } from "./commands/GetTrafficDistributionCommand";
79
80
  import { ListAgentStatusesCommand, } from "./commands/ListAgentStatusesCommand";
@@ -1233,6 +1234,20 @@ export class Connect extends ConnectClient {
1233
1234
  return this.send(command, optionsOrCb);
1234
1235
  }
1235
1236
  }
1237
+ getMetricDataV2(args, optionsOrCb, cb) {
1238
+ const command = new GetMetricDataV2Command(args);
1239
+ if (typeof optionsOrCb === "function") {
1240
+ this.send(command, optionsOrCb);
1241
+ }
1242
+ else if (typeof cb === "function") {
1243
+ if (typeof optionsOrCb !== "object")
1244
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1245
+ this.send(command, optionsOrCb || {}, cb);
1246
+ }
1247
+ else {
1248
+ return this.send(command, optionsOrCb);
1249
+ }
1250
+ }
1236
1251
  getTaskTemplate(args, optionsOrCb, cb) {
1237
1252
  const command = new GetTaskTemplateCommand(args);
1238
1253
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetMetricDataV2RequestFilterSensitiveLog, GetMetricDataV2ResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetMetricDataV2Command, serializeAws_restJson1GetMetricDataV2Command, } from "../protocols/Aws_restJson1";
6
+ export class GetMetricDataV2Command extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, GetMetricDataV2Command.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "ConnectClient";
25
+ const commandName = "GetMetricDataV2Command";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: GetMetricDataV2RequestFilterSensitiveLog,
31
+ outputFilterSensitiveLog: GetMetricDataV2ResponseFilterSensitiveLog,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return serializeAws_restJson1GetMetricDataV2Command(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return deserializeAws_restJson1GetMetricDataV2Command(output, context);
41
+ }
42
+ }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ListContactFlowModulesRequestFilterSensitiveLog, ListContactFlowModulesResponseFilterSensitiveLog, } from "../models/models_0";
4
+ import { ListContactFlowModulesRequestFilterSensitiveLog, ListContactFlowModulesResponseFilterSensitiveLog, } from "../models/models_1";
5
5
  import { deserializeAws_restJson1ListContactFlowModulesCommand, serializeAws_restJson1ListContactFlowModulesCommand, } from "../protocols/Aws_restJson1";
6
6
  export class ListContactFlowModulesCommand extends $Command {
7
7
  constructor(input) {
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ListContactFlowsRequestFilterSensitiveLog, ListContactFlowsResponseFilterSensitiveLog, } from "../models/models_0";
4
+ import { ListContactFlowsRequestFilterSensitiveLog, ListContactFlowsResponseFilterSensitiveLog, } from "../models/models_1";
5
5
  import { deserializeAws_restJson1ListContactFlowsCommand, serializeAws_restJson1ListContactFlowsCommand, } from "../protocols/Aws_restJson1";
6
6
  export class ListContactFlowsCommand extends $Command {
7
7
  constructor(input) {
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ListContactReferencesRequestFilterSensitiveLog } from "../models/models_0";
5
- import { ListContactReferencesResponseFilterSensitiveLog } from "../models/models_1";
4
+ import { ListContactReferencesRequestFilterSensitiveLog, ListContactReferencesResponseFilterSensitiveLog, } from "../models/models_1";
6
5
  import { deserializeAws_restJson1ListContactReferencesCommand, serializeAws_restJson1ListContactReferencesCommand, } from "../protocols/Aws_restJson1";
7
6
  export class ListContactReferencesCommand extends $Command {
8
7
  constructor(input) {
@@ -74,6 +74,7 @@ export * from "./GetCurrentMetricDataCommand";
74
74
  export * from "./GetCurrentUserDataCommand";
75
75
  export * from "./GetFederationTokenCommand";
76
76
  export * from "./GetMetricDataCommand";
77
+ export * from "./GetMetricDataV2Command";
77
78
  export * from "./GetTaskTemplateCommand";
78
79
  export * from "./GetTrafficDistributionCommand";
79
80
  export * from "./ListAgentStatusesCommand";
@@ -848,11 +848,6 @@ export var LexVersion;
848
848
  LexVersion["V1"] = "V1";
849
849
  LexVersion["V2"] = "V2";
850
850
  })(LexVersion || (LexVersion = {}));
851
- export var ReferenceStatus;
852
- (function (ReferenceStatus) {
853
- ReferenceStatus["APPROVED"] = "APPROVED";
854
- ReferenceStatus["REJECTED"] = "REJECTED";
855
- })(ReferenceStatus || (ReferenceStatus = {}));
856
851
  export const ActionSummaryFilterSensitiveLog = (obj) => ({
857
852
  ...obj,
858
853
  });
@@ -1501,63 +1496,66 @@ export const HistoricalMetricResultFilterSensitiveLog = (obj) => ({
1501
1496
  export const GetMetricDataResponseFilterSensitiveLog = (obj) => ({
1502
1497
  ...obj,
1503
1498
  });
1504
- export const GetTaskTemplateRequestFilterSensitiveLog = (obj) => ({
1499
+ export const FilterV2FilterSensitiveLog = (obj) => ({
1505
1500
  ...obj,
1506
1501
  });
1507
- export const GetTaskTemplateResponseFilterSensitiveLog = (obj) => ({
1502
+ export const MetricFilterV2FilterSensitiveLog = (obj) => ({
1508
1503
  ...obj,
1509
1504
  });
1510
- export const GetTrafficDistributionRequestFilterSensitiveLog = (obj) => ({
1505
+ export const ThresholdV2FilterSensitiveLog = (obj) => ({
1511
1506
  ...obj,
1512
1507
  });
1513
- export const DistributionFilterSensitiveLog = (obj) => ({
1508
+ export const MetricV2FilterSensitiveLog = (obj) => ({
1514
1509
  ...obj,
1515
1510
  });
1516
- export const TelephonyConfigFilterSensitiveLog = (obj) => ({
1511
+ export const GetMetricDataV2RequestFilterSensitiveLog = (obj) => ({
1517
1512
  ...obj,
1518
1513
  });
1519
- export const GetTrafficDistributionResponseFilterSensitiveLog = (obj) => ({
1514
+ export const MetricDataV2FilterSensitiveLog = (obj) => ({
1520
1515
  ...obj,
1521
1516
  });
1522
- export const ListAgentStatusRequestFilterSensitiveLog = (obj) => ({
1517
+ export const MetricResultV2FilterSensitiveLog = (obj) => ({
1523
1518
  ...obj,
1524
1519
  });
1525
- export const ListAgentStatusResponseFilterSensitiveLog = (obj) => ({
1520
+ export const GetMetricDataV2ResponseFilterSensitiveLog = (obj) => ({
1526
1521
  ...obj,
1527
1522
  });
1528
- export const ListApprovedOriginsRequestFilterSensitiveLog = (obj) => ({
1523
+ export const GetTaskTemplateRequestFilterSensitiveLog = (obj) => ({
1529
1524
  ...obj,
1530
1525
  });
1531
- export const ListApprovedOriginsResponseFilterSensitiveLog = (obj) => ({
1526
+ export const GetTaskTemplateResponseFilterSensitiveLog = (obj) => ({
1532
1527
  ...obj,
1533
1528
  });
1534
- export const ListBotsRequestFilterSensitiveLog = (obj) => ({
1529
+ export const GetTrafficDistributionRequestFilterSensitiveLog = (obj) => ({
1535
1530
  ...obj,
1536
1531
  });
1537
- export const LexBotConfigFilterSensitiveLog = (obj) => ({
1532
+ export const DistributionFilterSensitiveLog = (obj) => ({
1538
1533
  ...obj,
1539
1534
  });
1540
- export const ListBotsResponseFilterSensitiveLog = (obj) => ({
1535
+ export const TelephonyConfigFilterSensitiveLog = (obj) => ({
1536
+ ...obj,
1537
+ });
1538
+ export const GetTrafficDistributionResponseFilterSensitiveLog = (obj) => ({
1541
1539
  ...obj,
1542
1540
  });
1543
- export const ListContactFlowModulesRequestFilterSensitiveLog = (obj) => ({
1541
+ export const ListAgentStatusRequestFilterSensitiveLog = (obj) => ({
1544
1542
  ...obj,
1545
1543
  });
1546
- export const ContactFlowModuleSummaryFilterSensitiveLog = (obj) => ({
1544
+ export const ListAgentStatusResponseFilterSensitiveLog = (obj) => ({
1547
1545
  ...obj,
1548
1546
  });
1549
- export const ListContactFlowModulesResponseFilterSensitiveLog = (obj) => ({
1547
+ export const ListApprovedOriginsRequestFilterSensitiveLog = (obj) => ({
1550
1548
  ...obj,
1551
1549
  });
1552
- export const ListContactFlowsRequestFilterSensitiveLog = (obj) => ({
1550
+ export const ListApprovedOriginsResponseFilterSensitiveLog = (obj) => ({
1553
1551
  ...obj,
1554
1552
  });
1555
- export const ContactFlowSummaryFilterSensitiveLog = (obj) => ({
1553
+ export const ListBotsRequestFilterSensitiveLog = (obj) => ({
1556
1554
  ...obj,
1557
1555
  });
1558
- export const ListContactFlowsResponseFilterSensitiveLog = (obj) => ({
1556
+ export const LexBotConfigFilterSensitiveLog = (obj) => ({
1559
1557
  ...obj,
1560
1558
  });
1561
- export const ListContactReferencesRequestFilterSensitiveLog = (obj) => ({
1559
+ export const ListBotsResponseFilterSensitiveLog = (obj) => ({
1562
1560
  ...obj,
1563
1561
  });