@aws-sdk/client-connect 3.395.0 → 3.405.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 (154) hide show
  1. package/README.md +72 -0
  2. package/dist-cjs/Connect.js +18 -0
  3. package/dist-cjs/commands/CreateViewCommand.js +47 -0
  4. package/dist-cjs/commands/CreateViewVersionCommand.js +47 -0
  5. package/dist-cjs/commands/DeleteViewCommand.js +46 -0
  6. package/dist-cjs/commands/DeleteViewVersionCommand.js +46 -0
  7. package/dist-cjs/commands/DescribeViewCommand.js +47 -0
  8. package/dist-cjs/commands/ListViewVersionsCommand.js +47 -0
  9. package/dist-cjs/commands/ListViewsCommand.js +47 -0
  10. package/dist-cjs/commands/UpdateViewContentCommand.js +47 -0
  11. package/dist-cjs/commands/UpdateViewMetadataCommand.js +47 -0
  12. package/dist-cjs/commands/index.js +9 -0
  13. package/dist-cjs/models/models_0.js +66 -6
  14. package/dist-cjs/models/models_1.js +25 -1
  15. package/dist-cjs/models/models_2.js +18 -1
  16. package/dist-cjs/pagination/ListViewVersionsPaginator.js +29 -0
  17. package/dist-cjs/pagination/ListViewsPaginator.js +29 -0
  18. package/dist-cjs/pagination/index.js +2 -0
  19. package/dist-cjs/protocols/Aws_restJson1.js +713 -20
  20. package/dist-cjs/runtimeExtensions.js +5 -5
  21. package/dist-es/Connect.js +18 -0
  22. package/dist-es/commands/CreateViewCommand.js +43 -0
  23. package/dist-es/commands/CreateViewVersionCommand.js +43 -0
  24. package/dist-es/commands/DeleteViewCommand.js +42 -0
  25. package/dist-es/commands/DeleteViewVersionCommand.js +42 -0
  26. package/dist-es/commands/DescribeViewCommand.js +43 -0
  27. package/dist-es/commands/ListViewVersionsCommand.js +43 -0
  28. package/dist-es/commands/ListViewsCommand.js +43 -0
  29. package/dist-es/commands/UpdateViewContentCommand.js +43 -0
  30. package/dist-es/commands/UpdateViewMetadataCommand.js +43 -0
  31. package/dist-es/commands/index.js +9 -0
  32. package/dist-es/models/models_0.js +57 -5
  33. package/dist-es/models/models_1.js +20 -0
  34. package/dist-es/models/models_2.js +14 -0
  35. package/dist-es/pagination/ListViewVersionsPaginator.js +25 -0
  36. package/dist-es/pagination/ListViewsPaginator.js +25 -0
  37. package/dist-es/pagination/index.js +2 -0
  38. package/dist-es/protocols/Aws_restJson1.js +687 -13
  39. package/dist-es/runtimeExtensions.js +5 -5
  40. package/dist-types/Connect.d.ts +63 -0
  41. package/dist-types/ConnectClient.d.ts +11 -2
  42. package/dist-types/commands/CreateQueueCommand.d.ts +20 -13
  43. package/dist-types/commands/CreateTrafficDistributionGroupCommand.d.ts +8 -0
  44. package/dist-types/commands/CreateViewCommand.d.ts +140 -0
  45. package/dist-types/commands/CreateViewVersionCommand.d.ts +126 -0
  46. package/dist-types/commands/DeleteViewCommand.d.ts +93 -0
  47. package/dist-types/commands/DeleteViewVersionCommand.d.ts +94 -0
  48. package/dist-types/commands/DescribeViewCommand.d.ts +121 -0
  49. package/dist-types/commands/DescribeVocabularyCommand.d.ts +2 -1
  50. package/dist-types/commands/DisassociateApprovedOriginCommand.d.ts +1 -1
  51. package/dist-types/commands/DisassociateBotCommand.d.ts +1 -1
  52. package/dist-types/commands/DisassociateInstanceStorageConfigCommand.d.ts +1 -1
  53. package/dist-types/commands/DisassociateLambdaFunctionCommand.d.ts +1 -1
  54. package/dist-types/commands/DisassociateLexBotCommand.d.ts +1 -1
  55. package/dist-types/commands/DisassociatePhoneNumberContactFlowCommand.d.ts +1 -1
  56. package/dist-types/commands/DisassociateQueueQuickConnectsCommand.d.ts +1 -1
  57. package/dist-types/commands/DisassociateRoutingProfileQueuesCommand.d.ts +1 -1
  58. package/dist-types/commands/DisassociateSecurityKeyCommand.d.ts +1 -1
  59. package/dist-types/commands/DisassociateTrafficDistributionGroupUserCommand.d.ts +1 -1
  60. package/dist-types/commands/DismissUserContactCommand.d.ts +1 -1
  61. package/dist-types/commands/GetContactAttributesCommand.d.ts +1 -2
  62. package/dist-types/commands/ListPhoneNumbersCommand.d.ts +14 -4
  63. package/dist-types/commands/ListViewVersionsCommand.d.ts +106 -0
  64. package/dist-types/commands/ListViewsCommand.d.ts +105 -0
  65. package/dist-types/commands/StopContactCommand.d.ts +5 -3
  66. package/dist-types/commands/UpdatePromptCommand.d.ts +2 -1
  67. package/dist-types/commands/UpdateQueueHoursOfOperationCommand.d.ts +1 -1
  68. package/dist-types/commands/UpdateQueueMaxContactsCommand.d.ts +1 -1
  69. package/dist-types/commands/UpdateQueueNameCommand.d.ts +1 -1
  70. package/dist-types/commands/UpdateQueueOutboundCallerConfigCommand.d.ts +21 -14
  71. package/dist-types/commands/UpdateQueueStatusCommand.d.ts +1 -1
  72. package/dist-types/commands/UpdateQuickConnectConfigCommand.d.ts +1 -1
  73. package/dist-types/commands/UpdateQuickConnectNameCommand.d.ts +1 -1
  74. package/dist-types/commands/UpdateRoutingProfileAgentAvailabilityTimerCommand.d.ts +1 -1
  75. package/dist-types/commands/UpdateRoutingProfileConcurrencyCommand.d.ts +1 -1
  76. package/dist-types/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.d.ts +1 -1
  77. package/dist-types/commands/UpdateRoutingProfileNameCommand.d.ts +1 -1
  78. package/dist-types/commands/UpdateRoutingProfileQueuesCommand.d.ts +1 -1
  79. package/dist-types/commands/UpdateRuleCommand.d.ts +1 -1
  80. package/dist-types/commands/UpdateSecurityProfileCommand.d.ts +1 -1
  81. package/dist-types/commands/UpdateTaskTemplateCommand.d.ts +1 -1
  82. package/dist-types/commands/UpdateTrafficDistributionCommand.d.ts +6 -3
  83. package/dist-types/commands/UpdateUserHierarchyCommand.d.ts +1 -1
  84. package/dist-types/commands/UpdateUserHierarchyGroupNameCommand.d.ts +1 -1
  85. package/dist-types/commands/UpdateViewContentCommand.d.ts +127 -0
  86. package/dist-types/commands/UpdateViewMetadataCommand.d.ts +99 -0
  87. package/dist-types/commands/index.d.ts +9 -0
  88. package/dist-types/extensionConfiguration.d.ts +6 -0
  89. package/dist-types/models/models_0.d.ts +359 -317
  90. package/dist-types/models/models_1.d.ts +478 -553
  91. package/dist-types/models/models_2.d.ts +632 -2
  92. package/dist-types/pagination/ListViewVersionsPaginator.d.ts +7 -0
  93. package/dist-types/pagination/ListViewsPaginator.d.ts +7 -0
  94. package/dist-types/pagination/index.d.ts +2 -0
  95. package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
  96. package/dist-types/runtimeExtensions.d.ts +2 -2
  97. package/dist-types/ts3.4/Connect.d.ts +153 -0
  98. package/dist-types/ts3.4/ConnectClient.d.ts +56 -2
  99. package/dist-types/ts3.4/commands/CreateViewCommand.d.ts +35 -0
  100. package/dist-types/ts3.4/commands/CreateViewVersionCommand.d.ts +39 -0
  101. package/dist-types/ts3.4/commands/DeleteViewCommand.d.ts +35 -0
  102. package/dist-types/ts3.4/commands/DeleteViewVersionCommand.d.ts +39 -0
  103. package/dist-types/ts3.4/commands/DescribeViewCommand.d.ts +35 -0
  104. package/dist-types/ts3.4/commands/DescribeVocabularyCommand.d.ts +2 -4
  105. package/dist-types/ts3.4/commands/DisassociateApprovedOriginCommand.d.ts +1 -1
  106. package/dist-types/ts3.4/commands/DisassociateBotCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/DisassociateInstanceStorageConfigCommand.d.ts +1 -1
  108. package/dist-types/ts3.4/commands/DisassociateLambdaFunctionCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/DisassociateLexBotCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/DisassociatePhoneNumberContactFlowCommand.d.ts +1 -1
  111. package/dist-types/ts3.4/commands/DisassociateQueueQuickConnectsCommand.d.ts +1 -1
  112. package/dist-types/ts3.4/commands/DisassociateRoutingProfileQueuesCommand.d.ts +1 -1
  113. package/dist-types/ts3.4/commands/DisassociateSecurityKeyCommand.d.ts +1 -1
  114. package/dist-types/ts3.4/commands/DisassociateTrafficDistributionGroupUserCommand.d.ts +1 -1
  115. package/dist-types/ts3.4/commands/DismissUserContactCommand.d.ts +1 -1
  116. package/dist-types/ts3.4/commands/GetContactAttributesCommand.d.ts +4 -2
  117. package/dist-types/ts3.4/commands/ListViewVersionsCommand.d.ts +38 -0
  118. package/dist-types/ts3.4/commands/ListViewsCommand.d.ts +35 -0
  119. package/dist-types/ts3.4/commands/UpdatePromptCommand.d.ts +2 -1
  120. package/dist-types/ts3.4/commands/UpdateQueueHoursOfOperationCommand.d.ts +1 -1
  121. package/dist-types/ts3.4/commands/UpdateQueueMaxContactsCommand.d.ts +1 -1
  122. package/dist-types/ts3.4/commands/UpdateQueueNameCommand.d.ts +1 -1
  123. package/dist-types/ts3.4/commands/UpdateQueueOutboundCallerConfigCommand.d.ts +1 -1
  124. package/dist-types/ts3.4/commands/UpdateQueueStatusCommand.d.ts +1 -1
  125. package/dist-types/ts3.4/commands/UpdateQuickConnectConfigCommand.d.ts +1 -1
  126. package/dist-types/ts3.4/commands/UpdateQuickConnectNameCommand.d.ts +1 -1
  127. package/dist-types/ts3.4/commands/UpdateRoutingProfileAgentAvailabilityTimerCommand.d.ts +1 -1
  128. package/dist-types/ts3.4/commands/UpdateRoutingProfileConcurrencyCommand.d.ts +1 -1
  129. package/dist-types/ts3.4/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.d.ts +1 -1
  130. package/dist-types/ts3.4/commands/UpdateRoutingProfileNameCommand.d.ts +1 -1
  131. package/dist-types/ts3.4/commands/UpdateRoutingProfileQueuesCommand.d.ts +1 -1
  132. package/dist-types/ts3.4/commands/UpdateRuleCommand.d.ts +1 -1
  133. package/dist-types/ts3.4/commands/UpdateSecurityProfileCommand.d.ts +1 -1
  134. package/dist-types/ts3.4/commands/UpdateTaskTemplateCommand.d.ts +1 -1
  135. package/dist-types/ts3.4/commands/UpdateTrafficDistributionCommand.d.ts +1 -1
  136. package/dist-types/ts3.4/commands/UpdateUserHierarchyCommand.d.ts +1 -1
  137. package/dist-types/ts3.4/commands/UpdateUserHierarchyGroupNameCommand.d.ts +1 -1
  138. package/dist-types/ts3.4/commands/UpdateViewContentCommand.d.ts +39 -0
  139. package/dist-types/ts3.4/commands/UpdateViewMetadataCommand.d.ts +39 -0
  140. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  141. package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -0
  142. package/dist-types/ts3.4/models/models_0.d.ts +117 -90
  143. package/dist-types/ts3.4/models/models_1.d.ts +121 -135
  144. package/dist-types/ts3.4/models/models_2.d.ts +171 -1
  145. package/dist-types/ts3.4/pagination/ListViewVersionsPaginator.d.ts +11 -0
  146. package/dist-types/ts3.4/pagination/ListViewsPaginator.d.ts +11 -0
  147. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  148. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
  149. package/dist-types/ts3.4/runtimeExtensions.d.ts +2 -2
  150. package/package.json +29 -29
  151. package/dist-types/clientConfiguration.d.ts +0 -6
  152. package/dist-types/ts3.4/clientConfiguration.d.ts +0 -3
  153. /package/dist-cjs/{clientConfiguration.js → extensionConfiguration.js} +0 -0
  154. /package/dist-es/{clientConfiguration.js → extensionConfiguration.js} +0 -0
@@ -33,6 +33,8 @@ tslib_1.__exportStar(require("./CreateTrafficDistributionGroupCommand"), exports
33
33
  tslib_1.__exportStar(require("./CreateUseCaseCommand"), exports);
34
34
  tslib_1.__exportStar(require("./CreateUserCommand"), exports);
35
35
  tslib_1.__exportStar(require("./CreateUserHierarchyGroupCommand"), exports);
36
+ tslib_1.__exportStar(require("./CreateViewCommand"), exports);
37
+ tslib_1.__exportStar(require("./CreateViewVersionCommand"), exports);
36
38
  tslib_1.__exportStar(require("./CreateVocabularyCommand"), exports);
37
39
  tslib_1.__exportStar(require("./DeactivateEvaluationFormCommand"), exports);
38
40
  tslib_1.__exportStar(require("./DeleteContactEvaluationCommand"), exports);
@@ -53,6 +55,8 @@ tslib_1.__exportStar(require("./DeleteTrafficDistributionGroupCommand"), exports
53
55
  tslib_1.__exportStar(require("./DeleteUseCaseCommand"), exports);
54
56
  tslib_1.__exportStar(require("./DeleteUserCommand"), exports);
55
57
  tslib_1.__exportStar(require("./DeleteUserHierarchyGroupCommand"), exports);
58
+ tslib_1.__exportStar(require("./DeleteViewCommand"), exports);
59
+ tslib_1.__exportStar(require("./DeleteViewVersionCommand"), exports);
56
60
  tslib_1.__exportStar(require("./DeleteVocabularyCommand"), exports);
57
61
  tslib_1.__exportStar(require("./DescribeAgentStatusCommand"), exports);
58
62
  tslib_1.__exportStar(require("./DescribeContactCommand"), exports);
@@ -75,6 +79,7 @@ tslib_1.__exportStar(require("./DescribeTrafficDistributionGroupCommand"), expor
75
79
  tslib_1.__exportStar(require("./DescribeUserCommand"), exports);
76
80
  tslib_1.__exportStar(require("./DescribeUserHierarchyGroupCommand"), exports);
77
81
  tslib_1.__exportStar(require("./DescribeUserHierarchyStructureCommand"), exports);
82
+ tslib_1.__exportStar(require("./DescribeViewCommand"), exports);
78
83
  tslib_1.__exportStar(require("./DescribeVocabularyCommand"), exports);
79
84
  tslib_1.__exportStar(require("./DisassociateApprovedOriginCommand"), exports);
80
85
  tslib_1.__exportStar(require("./DisassociateBotCommand"), exports);
@@ -132,6 +137,8 @@ tslib_1.__exportStar(require("./ListTrafficDistributionGroupsCommand"), exports)
132
137
  tslib_1.__exportStar(require("./ListUseCasesCommand"), exports);
133
138
  tslib_1.__exportStar(require("./ListUserHierarchyGroupsCommand"), exports);
134
139
  tslib_1.__exportStar(require("./ListUsersCommand"), exports);
140
+ tslib_1.__exportStar(require("./ListViewVersionsCommand"), exports);
141
+ tslib_1.__exportStar(require("./ListViewsCommand"), exports);
135
142
  tslib_1.__exportStar(require("./MonitorContactCommand"), exports);
136
143
  tslib_1.__exportStar(require("./PutUserStatusCommand"), exports);
137
144
  tslib_1.__exportStar(require("./ReleasePhoneNumberCommand"), exports);
@@ -201,3 +208,5 @@ tslib_1.__exportStar(require("./UpdateUserIdentityInfoCommand"), exports);
201
208
  tslib_1.__exportStar(require("./UpdateUserPhoneConfigCommand"), exports);
202
209
  tslib_1.__exportStar(require("./UpdateUserRoutingProfileCommand"), exports);
203
210
  tslib_1.__exportStar(require("./UpdateUserSecurityProfilesCommand"), exports);
211
+ tslib_1.__exportStar(require("./UpdateViewContentCommand"), exports);
212
+ tslib_1.__exportStar(require("./UpdateViewMetadataCommand"), exports);
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PropertyValidationExceptionReason = exports.TaskTemplateStatus = exports.TaskTemplateFieldType = exports.EventSourceName = exports.RulePublishStatus = exports.ReferenceType = exports.NotificationDeliveryType = exports.NotificationContentType = exports.BehaviorType = exports.QuickConnectType = exports.ParticipantRole = exports.SourceType = exports.IntegrationType = exports.DirectoryType = exports.HoursOfOperationDays = exports.EvaluationFormScoringStatus = exports.EvaluationFormScoringMode = exports.EvaluationFormQuestionTypeProperties = exports.EvaluationFormSingleSelectQuestionDisplayMode = exports.EvaluationFormSingleSelectQuestionAutomationOption = exports.SingleSelectQuestionRuleCategoryAutomationCondition = exports.EvaluationFormNumericQuestionAutomation = exports.NumericQuestionPropertyAutomationLabel = exports.EvaluationFormQuestionType = exports.InvalidContactFlowModuleException = exports.InvalidContactFlowException = exports.ContactFlowType = exports.DuplicateResourceException = exports.IdempotencyException = exports.StorageType = exports.EncryptionType = exports.InstanceStorageResourceType = exports.VocabularyLanguageCode = exports.LimitExceededException = exports.ServiceQuotaExceededException = exports.InvalidRequestException = exports.MonitorCapability = exports.AgentStatusType = exports.AgentStatusState = exports.ContactInitiationMethod = exports.Channel = exports.ContactState = exports.AgentAvailabilityTimer = exports.ThrottlingException = exports.ResourceNotFoundException = exports.ResourceConflictException = exports.InvalidParameterException = exports.InternalServiceException = exports.ActionType = exports.AccessDeniedException = void 0;
4
- exports.DescribeInstanceResponseFilterSensitiveLog = exports.InstanceFilterSensitiveLog = exports.CreateInstanceRequestFilterSensitiveLog = exports.TrafficDistributionGroupStatus = exports.QueueStatus = exports.PhoneNumberType = exports.PhoneNumberWorkflowStatus = exports.PhoneNumberCountryCode = exports.InstanceAttributeType = exports.InstanceStatus = exports.EvaluationFormVersionStatus = exports.ContactFlowModuleStatus = exports.ContactFlowModuleState = exports.ContactFlowState = exports.ContactFlowNotPublishedException = exports.EvaluationStatus = exports.EvaluationAnswerData = exports.ResourceInUseException = exports.ResourceType = exports.VocabularyState = exports.PhoneType = exports.UseCaseType = exports.ResourceNotReadyException = exports.PropertyValidationException = void 0;
4
+ exports.DescribeViewResponseFilterSensitiveLog = exports.DescribeInstanceResponseFilterSensitiveLog = exports.InstanceFilterSensitiveLog = exports.CreateViewVersionResponseFilterSensitiveLog = exports.CreateViewResponseFilterSensitiveLog = exports.ViewFilterSensitiveLog = exports.ViewContentFilterSensitiveLog = exports.CreateViewRequestFilterSensitiveLog = exports.ViewInputContentFilterSensitiveLog = exports.CreateInstanceRequestFilterSensitiveLog = exports.TrafficDistributionGroupStatus = exports.QueueStatus = exports.PhoneNumberType = exports.PhoneNumberWorkflowStatus = exports.PhoneNumberCountryCode = exports.InstanceAttributeType = exports.InstanceStatus = exports.EvaluationFormVersionStatus = exports.ContactFlowModuleStatus = exports.ContactFlowModuleState = exports.ContactFlowState = exports.ContactFlowNotPublishedException = exports.EvaluationStatus = exports.EvaluationAnswerData = exports.VocabularyState = exports.TooManyRequestsException = exports.ResourceInUseException = exports.ResourceType = exports.ViewType = exports.ViewStatus = exports.PhoneType = exports.UseCaseType = exports.ResourceNotReadyException = exports.PropertyValidationException = void 0;
5
5
  const smithy_client_1 = require("@smithy/smithy-client");
6
6
  const ConnectServiceException_1 = require("./ConnectServiceException");
7
7
  class AccessDeniedException extends ConnectServiceException_1.ConnectServiceException {
@@ -481,11 +481,13 @@ exports.PhoneType = {
481
481
  DESK_PHONE: "DESK_PHONE",
482
482
  SOFT_PHONE: "SOFT_PHONE",
483
483
  };
484
- exports.VocabularyState = {
485
- ACTIVE: "ACTIVE",
486
- CREATION_FAILED: "CREATION_FAILED",
487
- CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS",
488
- DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
484
+ exports.ViewStatus = {
485
+ PUBLISHED: "PUBLISHED",
486
+ SAVED: "SAVED",
487
+ };
488
+ exports.ViewType = {
489
+ AWS_MANAGED: "AWS_MANAGED",
490
+ CUSTOMER_MANAGED: "CUSTOMER_MANAGED",
489
491
  };
490
492
  exports.ResourceType = {
491
493
  CONTACT: "CONTACT",
@@ -512,6 +514,26 @@ class ResourceInUseException extends ConnectServiceException_1.ConnectServiceExc
512
514
  }
513
515
  }
514
516
  exports.ResourceInUseException = ResourceInUseException;
517
+ class TooManyRequestsException extends ConnectServiceException_1.ConnectServiceException {
518
+ constructor(opts) {
519
+ super({
520
+ name: "TooManyRequestsException",
521
+ $fault: "client",
522
+ ...opts,
523
+ });
524
+ this.name = "TooManyRequestsException";
525
+ this.$fault = "client";
526
+ Object.setPrototypeOf(this, TooManyRequestsException.prototype);
527
+ this.Message = opts.Message;
528
+ }
529
+ }
530
+ exports.TooManyRequestsException = TooManyRequestsException;
531
+ exports.VocabularyState = {
532
+ ACTIVE: "ACTIVE",
533
+ CREATION_FAILED: "CREATION_FAILED",
534
+ CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS",
535
+ DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
536
+ };
515
537
  var EvaluationAnswerData;
516
538
  (function (EvaluationAnswerData) {
517
539
  EvaluationAnswerData.visit = (value, visitor) => {
@@ -844,6 +866,39 @@ const CreateInstanceRequestFilterSensitiveLog = (obj) => ({
844
866
  ...(obj.InstanceAlias && { InstanceAlias: smithy_client_1.SENSITIVE_STRING }),
845
867
  });
846
868
  exports.CreateInstanceRequestFilterSensitiveLog = CreateInstanceRequestFilterSensitiveLog;
869
+ const ViewInputContentFilterSensitiveLog = (obj) => ({
870
+ ...obj,
871
+ ...(obj.Actions && { Actions: smithy_client_1.SENSITIVE_STRING }),
872
+ });
873
+ exports.ViewInputContentFilterSensitiveLog = ViewInputContentFilterSensitiveLog;
874
+ const CreateViewRequestFilterSensitiveLog = (obj) => ({
875
+ ...obj,
876
+ ...(obj.Content && { Content: (0, exports.ViewInputContentFilterSensitiveLog)(obj.Content) }),
877
+ ...(obj.Name && { Name: smithy_client_1.SENSITIVE_STRING }),
878
+ });
879
+ exports.CreateViewRequestFilterSensitiveLog = CreateViewRequestFilterSensitiveLog;
880
+ const ViewContentFilterSensitiveLog = (obj) => ({
881
+ ...obj,
882
+ ...(obj.InputSchema && { InputSchema: smithy_client_1.SENSITIVE_STRING }),
883
+ ...(obj.Actions && { Actions: smithy_client_1.SENSITIVE_STRING }),
884
+ });
885
+ exports.ViewContentFilterSensitiveLog = ViewContentFilterSensitiveLog;
886
+ const ViewFilterSensitiveLog = (obj) => ({
887
+ ...obj,
888
+ ...(obj.Name && { Name: smithy_client_1.SENSITIVE_STRING }),
889
+ ...(obj.Content && { Content: (0, exports.ViewContentFilterSensitiveLog)(obj.Content) }),
890
+ });
891
+ exports.ViewFilterSensitiveLog = ViewFilterSensitiveLog;
892
+ const CreateViewResponseFilterSensitiveLog = (obj) => ({
893
+ ...obj,
894
+ ...(obj.View && { View: (0, exports.ViewFilterSensitiveLog)(obj.View) }),
895
+ });
896
+ exports.CreateViewResponseFilterSensitiveLog = CreateViewResponseFilterSensitiveLog;
897
+ const CreateViewVersionResponseFilterSensitiveLog = (obj) => ({
898
+ ...obj,
899
+ ...(obj.View && { View: (0, exports.ViewFilterSensitiveLog)(obj.View) }),
900
+ });
901
+ exports.CreateViewVersionResponseFilterSensitiveLog = CreateViewVersionResponseFilterSensitiveLog;
847
902
  const InstanceFilterSensitiveLog = (obj) => ({
848
903
  ...obj,
849
904
  ...(obj.InstanceAlias && { InstanceAlias: smithy_client_1.SENSITIVE_STRING }),
@@ -854,3 +909,8 @@ const DescribeInstanceResponseFilterSensitiveLog = (obj) => ({
854
909
  ...(obj.Instance && { Instance: (0, exports.InstanceFilterSensitiveLog)(obj.Instance) }),
855
910
  });
856
911
  exports.DescribeInstanceResponseFilterSensitiveLog = DescribeInstanceResponseFilterSensitiveLog;
912
+ const DescribeViewResponseFilterSensitiveLog = (obj) => ({
913
+ ...obj,
914
+ ...(obj.View && { View: (0, exports.ViewFilterSensitiveLog)(obj.View) }),
915
+ });
916
+ exports.DescribeViewResponseFilterSensitiveLog = DescribeViewResponseFilterSensitiveLog;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ReplicateInstanceRequestFilterSensitiveLog = exports.ListInstancesResponseFilterSensitiveLog = exports.InstanceSummaryFilterSensitiveLog = exports.GetFederationTokenResponseFilterSensitiveLog = exports.CredentialsFilterSensitiveLog = exports.UpdateParticipantRoleConfigChannelInfo = exports.ParticipantTimerValue = exports.ParticipantTimerAction = exports.ParticipantTimerType = exports.TimerEligibleParticipantRoles = exports.ContactNotFoundException = exports.TrafficType = exports.OutboundContactNotPermittedException = exports.DestinationNotAllowedException = exports.VoiceRecordingTrack = exports.RehydrationType = exports.HierarchyGroupMatchType = exports.MaximumResultReturnedException = exports.SearchableQueueType = exports.StringComparisonType = exports.QueueType = exports.ReferenceSummary = exports.ReferenceStatus = exports.LexVersion = exports.Comparison = exports.Statistic = exports.HistoricalMetricName = exports.UserNotFoundException = exports.SortOrder = exports.Grouping = exports.Unit = exports.CurrentMetricName = void 0;
3
+ exports.ReplicateInstanceRequestFilterSensitiveLog = exports.ListViewVersionsResponseFilterSensitiveLog = exports.ViewVersionSummaryFilterSensitiveLog = exports.ListViewsResponseFilterSensitiveLog = exports.ViewSummaryFilterSensitiveLog = exports.ListInstancesResponseFilterSensitiveLog = exports.InstanceSummaryFilterSensitiveLog = exports.GetFederationTokenResponseFilterSensitiveLog = exports.CredentialsFilterSensitiveLog = exports.UpdateParticipantRoleConfigChannelInfo = exports.ParticipantTimerValue = exports.ParticipantTimerAction = exports.ParticipantTimerType = exports.TimerEligibleParticipantRoles = exports.ContactNotFoundException = exports.TrafficType = exports.OutboundContactNotPermittedException = exports.DestinationNotAllowedException = exports.VoiceRecordingTrack = exports.RehydrationType = exports.HierarchyGroupMatchType = exports.MaximumResultReturnedException = exports.SearchableQueueType = exports.StringComparisonType = exports.QueueType = exports.ReferenceSummary = exports.ReferenceStatus = exports.LexVersion = exports.Comparison = exports.Statistic = exports.HistoricalMetricName = exports.UserNotFoundException = exports.SortOrder = exports.Grouping = exports.Unit = exports.CurrentMetricName = void 0;
4
4
  const smithy_client_1 = require("@smithy/smithy-client");
5
5
  const ConnectServiceException_1 = require("./ConnectServiceException");
6
6
  exports.CurrentMetricName = {
@@ -244,6 +244,30 @@ const ListInstancesResponseFilterSensitiveLog = (obj) => ({
244
244
  }),
245
245
  });
246
246
  exports.ListInstancesResponseFilterSensitiveLog = ListInstancesResponseFilterSensitiveLog;
247
+ const ViewSummaryFilterSensitiveLog = (obj) => ({
248
+ ...obj,
249
+ ...(obj.Name && { Name: smithy_client_1.SENSITIVE_STRING }),
250
+ });
251
+ exports.ViewSummaryFilterSensitiveLog = ViewSummaryFilterSensitiveLog;
252
+ const ListViewsResponseFilterSensitiveLog = (obj) => ({
253
+ ...obj,
254
+ ...(obj.ViewsSummaryList && {
255
+ ViewsSummaryList: obj.ViewsSummaryList.map((item) => (0, exports.ViewSummaryFilterSensitiveLog)(item)),
256
+ }),
257
+ });
258
+ exports.ListViewsResponseFilterSensitiveLog = ListViewsResponseFilterSensitiveLog;
259
+ const ViewVersionSummaryFilterSensitiveLog = (obj) => ({
260
+ ...obj,
261
+ ...(obj.Name && { Name: smithy_client_1.SENSITIVE_STRING }),
262
+ });
263
+ exports.ViewVersionSummaryFilterSensitiveLog = ViewVersionSummaryFilterSensitiveLog;
264
+ const ListViewVersionsResponseFilterSensitiveLog = (obj) => ({
265
+ ...obj,
266
+ ...(obj.ViewVersionSummaryList && {
267
+ ViewVersionSummaryList: obj.ViewVersionSummaryList.map((item) => (0, exports.ViewVersionSummaryFilterSensitiveLog)(item)),
268
+ }),
269
+ });
270
+ exports.ListViewVersionsResponseFilterSensitiveLog = ListViewVersionsResponseFilterSensitiveLog;
247
271
  const ReplicateInstanceRequestFilterSensitiveLog = (obj) => ({
248
272
  ...obj,
249
273
  ...(obj.ReplicaAlias && { ReplicaAlias: smithy_client_1.SENSITIVE_STRING }),
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EvaluationFormItem = void 0;
3
+ exports.UpdateViewMetadataRequestFilterSensitiveLog = exports.UpdateViewContentResponseFilterSensitiveLog = exports.UpdateViewContentRequestFilterSensitiveLog = exports.EvaluationFormItem = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ const models_0_1 = require("./models_0");
4
6
  var EvaluationFormItem;
5
7
  (function (EvaluationFormItem) {
6
8
  EvaluationFormItem.visit = (value, visitor) => {
@@ -11,3 +13,18 @@ var EvaluationFormItem;
11
13
  return visitor._(value.$unknown[0], value.$unknown[1]);
12
14
  };
13
15
  })(EvaluationFormItem = exports.EvaluationFormItem || (exports.EvaluationFormItem = {}));
16
+ const UpdateViewContentRequestFilterSensitiveLog = (obj) => ({
17
+ ...obj,
18
+ ...(obj.Content && { Content: (0, models_0_1.ViewInputContentFilterSensitiveLog)(obj.Content) }),
19
+ });
20
+ exports.UpdateViewContentRequestFilterSensitiveLog = UpdateViewContentRequestFilterSensitiveLog;
21
+ const UpdateViewContentResponseFilterSensitiveLog = (obj) => ({
22
+ ...obj,
23
+ ...(obj.View && { View: (0, models_0_1.ViewFilterSensitiveLog)(obj.View) }),
24
+ });
25
+ exports.UpdateViewContentResponseFilterSensitiveLog = UpdateViewContentResponseFilterSensitiveLog;
26
+ const UpdateViewMetadataRequestFilterSensitiveLog = (obj) => ({
27
+ ...obj,
28
+ ...(obj.Name && { Name: smithy_client_1.SENSITIVE_STRING }),
29
+ });
30
+ exports.UpdateViewMetadataRequestFilterSensitiveLog = UpdateViewMetadataRequestFilterSensitiveLog;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListViewVersions = void 0;
4
+ const ListViewVersionsCommand_1 = require("../commands/ListViewVersionsCommand");
5
+ const ConnectClient_1 = require("../ConnectClient");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new ListViewVersionsCommand_1.ListViewVersionsCommand(input), ...args);
8
+ };
9
+ async function* paginateListViewVersions(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.NextToken = token;
15
+ input["MaxResults"] = config.pageSize;
16
+ if (config.client instanceof ConnectClient_1.ConnectClient) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected Connect | ConnectClient");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.NextToken;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateListViewVersions = paginateListViewVersions;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListViews = void 0;
4
+ const ListViewsCommand_1 = require("../commands/ListViewsCommand");
5
+ const ConnectClient_1 = require("../ConnectClient");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new ListViewsCommand_1.ListViewsCommand(input), ...args);
8
+ };
9
+ async function* paginateListViews(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.NextToken = token;
15
+ input["MaxResults"] = config.pageSize;
16
+ if (config.client instanceof ConnectClient_1.ConnectClient) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected Connect | ConnectClient");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.NextToken;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateListViews = paginateListViews;
@@ -41,6 +41,8 @@ tslib_1.__exportStar(require("./ListTrafficDistributionGroupsPaginator"), export
41
41
  tslib_1.__exportStar(require("./ListUseCasesPaginator"), exports);
42
42
  tslib_1.__exportStar(require("./ListUserHierarchyGroupsPaginator"), exports);
43
43
  tslib_1.__exportStar(require("./ListUsersPaginator"), exports);
44
+ tslib_1.__exportStar(require("./ListViewVersionsPaginator"), exports);
45
+ tslib_1.__exportStar(require("./ListViewsPaginator"), exports);
44
46
  tslib_1.__exportStar(require("./SearchAvailablePhoneNumbersPaginator"), exports);
45
47
  tslib_1.__exportStar(require("./SearchHoursOfOperationsPaginator"), exports);
46
48
  tslib_1.__exportStar(require("./SearchPromptsPaginator"), exports);