@aws-sdk/client-connect 3.398.0 → 3.408.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.
- package/README.md +72 -0
- package/dist-cjs/Connect.js +18 -0
- package/dist-cjs/commands/CreateViewCommand.js +47 -0
- package/dist-cjs/commands/CreateViewVersionCommand.js +47 -0
- package/dist-cjs/commands/DeleteViewCommand.js +46 -0
- package/dist-cjs/commands/DeleteViewVersionCommand.js +46 -0
- package/dist-cjs/commands/DescribeViewCommand.js +47 -0
- package/dist-cjs/commands/ListViewVersionsCommand.js +47 -0
- package/dist-cjs/commands/ListViewsCommand.js +47 -0
- package/dist-cjs/commands/UpdateViewContentCommand.js +47 -0
- package/dist-cjs/commands/UpdateViewMetadataCommand.js +47 -0
- package/dist-cjs/commands/index.js +9 -0
- package/dist-cjs/models/models_0.js +66 -6
- package/dist-cjs/models/models_1.js +25 -1
- package/dist-cjs/models/models_2.js +18 -1
- package/dist-cjs/pagination/ListViewVersionsPaginator.js +29 -0
- package/dist-cjs/pagination/ListViewsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +713 -20
- package/dist-es/Connect.js +18 -0
- package/dist-es/commands/CreateViewCommand.js +43 -0
- package/dist-es/commands/CreateViewVersionCommand.js +43 -0
- package/dist-es/commands/DeleteViewCommand.js +42 -0
- package/dist-es/commands/DeleteViewVersionCommand.js +42 -0
- package/dist-es/commands/DescribeViewCommand.js +43 -0
- package/dist-es/commands/ListViewVersionsCommand.js +43 -0
- package/dist-es/commands/ListViewsCommand.js +43 -0
- package/dist-es/commands/UpdateViewContentCommand.js +43 -0
- package/dist-es/commands/UpdateViewMetadataCommand.js +43 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/models/models_0.js +57 -5
- package/dist-es/models/models_1.js +20 -0
- package/dist-es/models/models_2.js +14 -0
- package/dist-es/pagination/ListViewVersionsPaginator.js +25 -0
- package/dist-es/pagination/ListViewsPaginator.js +25 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +687 -13
- package/dist-types/Connect.d.ts +63 -0
- package/dist-types/ConnectClient.d.ts +11 -2
- package/dist-types/commands/CreateQueueCommand.d.ts +20 -13
- package/dist-types/commands/CreateTrafficDistributionGroupCommand.d.ts +8 -0
- package/dist-types/commands/CreateViewCommand.d.ts +140 -0
- package/dist-types/commands/CreateViewVersionCommand.d.ts +126 -0
- package/dist-types/commands/DeleteViewCommand.d.ts +93 -0
- package/dist-types/commands/DeleteViewVersionCommand.d.ts +94 -0
- package/dist-types/commands/DescribeViewCommand.d.ts +121 -0
- package/dist-types/commands/DescribeVocabularyCommand.d.ts +2 -1
- package/dist-types/commands/DisassociateApprovedOriginCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateBotCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateInstanceStorageConfigCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateLambdaFunctionCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateLexBotCommand.d.ts +1 -1
- package/dist-types/commands/DisassociatePhoneNumberContactFlowCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateQueueQuickConnectsCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateRoutingProfileQueuesCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateSecurityKeyCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateTrafficDistributionGroupUserCommand.d.ts +1 -1
- package/dist-types/commands/DismissUserContactCommand.d.ts +1 -1
- package/dist-types/commands/GetContactAttributesCommand.d.ts +1 -2
- package/dist-types/commands/ListPhoneNumbersCommand.d.ts +14 -4
- package/dist-types/commands/ListViewVersionsCommand.d.ts +106 -0
- package/dist-types/commands/ListViewsCommand.d.ts +105 -0
- package/dist-types/commands/StopContactCommand.d.ts +5 -3
- package/dist-types/commands/UpdatePromptCommand.d.ts +2 -1
- package/dist-types/commands/UpdateQueueHoursOfOperationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateQueueMaxContactsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateQueueNameCommand.d.ts +1 -1
- package/dist-types/commands/UpdateQueueOutboundCallerConfigCommand.d.ts +21 -14
- package/dist-types/commands/UpdateQueueStatusCommand.d.ts +1 -1
- package/dist-types/commands/UpdateQuickConnectConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdateQuickConnectNameCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRoutingProfileAgentAvailabilityTimerCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRoutingProfileConcurrencyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRoutingProfileNameCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRoutingProfileQueuesCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRuleCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSecurityProfileCommand.d.ts +1 -1
- package/dist-types/commands/UpdateTaskTemplateCommand.d.ts +1 -1
- package/dist-types/commands/UpdateTrafficDistributionCommand.d.ts +6 -3
- package/dist-types/commands/UpdateUserHierarchyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateUserHierarchyGroupNameCommand.d.ts +1 -1
- package/dist-types/commands/UpdateViewContentCommand.d.ts +127 -0
- package/dist-types/commands/UpdateViewMetadataCommand.d.ts +99 -0
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/models/models_0.d.ts +359 -317
- package/dist-types/models/models_1.d.ts +478 -553
- package/dist-types/models/models_2.d.ts +632 -2
- package/dist-types/pagination/ListViewVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListViewsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
- package/dist-types/ts3.4/Connect.d.ts +153 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +56 -2
- package/dist-types/ts3.4/commands/CreateViewCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/CreateViewVersionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteViewCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteViewVersionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DescribeViewCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DescribeVocabularyCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DisassociateApprovedOriginCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateBotCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateInstanceStorageConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateLambdaFunctionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateLexBotCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociatePhoneNumberContactFlowCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateQueueQuickConnectsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateRoutingProfileQueuesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateSecurityKeyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateTrafficDistributionGroupUserCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DismissUserContactCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetContactAttributesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListViewVersionsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListViewsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpdatePromptCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/UpdateQueueHoursOfOperationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateQueueMaxContactsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateQueueNameCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateQueueOutboundCallerConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateQueueStatusCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateQuickConnectConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateQuickConnectNameCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateRoutingProfileAgentAvailabilityTimerCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateRoutingProfileConcurrencyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateRoutingProfileNameCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateRoutingProfileQueuesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateRuleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateSecurityProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateTaskTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateTrafficDistributionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateUserHierarchyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateUserHierarchyGroupNameCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateViewContentCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateViewMetadataCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/models/models_0.d.ts +117 -90
- package/dist-types/ts3.4/models/models_1.d.ts +121 -135
- package/dist-types/ts3.4/models/models_2.d.ts +171 -1
- package/dist-types/ts3.4/pagination/ListViewVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListViewsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
- package/package.json +15 -15
|
@@ -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.
|
|
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.
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
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);
|