@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
package/dist-types/Connect.d.ts
CHANGED
|
@@ -31,6 +31,8 @@ import { CreateTrafficDistributionGroupCommandInput, CreateTrafficDistributionGr
|
|
|
31
31
|
import { CreateUseCaseCommandInput, CreateUseCaseCommandOutput } from "./commands/CreateUseCaseCommand";
|
|
32
32
|
import { CreateUserCommandInput, CreateUserCommandOutput } from "./commands/CreateUserCommand";
|
|
33
33
|
import { CreateUserHierarchyGroupCommandInput, CreateUserHierarchyGroupCommandOutput } from "./commands/CreateUserHierarchyGroupCommand";
|
|
34
|
+
import { CreateViewCommandInput, CreateViewCommandOutput } from "./commands/CreateViewCommand";
|
|
35
|
+
import { CreateViewVersionCommandInput, CreateViewVersionCommandOutput } from "./commands/CreateViewVersionCommand";
|
|
34
36
|
import { CreateVocabularyCommandInput, CreateVocabularyCommandOutput } from "./commands/CreateVocabularyCommand";
|
|
35
37
|
import { DeactivateEvaluationFormCommandInput, DeactivateEvaluationFormCommandOutput } from "./commands/DeactivateEvaluationFormCommand";
|
|
36
38
|
import { DeleteContactEvaluationCommandInput, DeleteContactEvaluationCommandOutput } from "./commands/DeleteContactEvaluationCommand";
|
|
@@ -51,6 +53,8 @@ import { DeleteTrafficDistributionGroupCommandInput, DeleteTrafficDistributionGr
|
|
|
51
53
|
import { DeleteUseCaseCommandInput, DeleteUseCaseCommandOutput } from "./commands/DeleteUseCaseCommand";
|
|
52
54
|
import { DeleteUserCommandInput, DeleteUserCommandOutput } from "./commands/DeleteUserCommand";
|
|
53
55
|
import { DeleteUserHierarchyGroupCommandInput, DeleteUserHierarchyGroupCommandOutput } from "./commands/DeleteUserHierarchyGroupCommand";
|
|
56
|
+
import { DeleteViewCommandInput, DeleteViewCommandOutput } from "./commands/DeleteViewCommand";
|
|
57
|
+
import { DeleteViewVersionCommandInput, DeleteViewVersionCommandOutput } from "./commands/DeleteViewVersionCommand";
|
|
54
58
|
import { DeleteVocabularyCommandInput, DeleteVocabularyCommandOutput } from "./commands/DeleteVocabularyCommand";
|
|
55
59
|
import { DescribeAgentStatusCommandInput, DescribeAgentStatusCommandOutput } from "./commands/DescribeAgentStatusCommand";
|
|
56
60
|
import { DescribeContactCommandInput, DescribeContactCommandOutput } from "./commands/DescribeContactCommand";
|
|
@@ -73,6 +77,7 @@ import { DescribeTrafficDistributionGroupCommandInput, DescribeTrafficDistributi
|
|
|
73
77
|
import { DescribeUserCommandInput, DescribeUserCommandOutput } from "./commands/DescribeUserCommand";
|
|
74
78
|
import { DescribeUserHierarchyGroupCommandInput, DescribeUserHierarchyGroupCommandOutput } from "./commands/DescribeUserHierarchyGroupCommand";
|
|
75
79
|
import { DescribeUserHierarchyStructureCommandInput, DescribeUserHierarchyStructureCommandOutput } from "./commands/DescribeUserHierarchyStructureCommand";
|
|
80
|
+
import { DescribeViewCommandInput, DescribeViewCommandOutput } from "./commands/DescribeViewCommand";
|
|
76
81
|
import { DescribeVocabularyCommandInput, DescribeVocabularyCommandOutput } from "./commands/DescribeVocabularyCommand";
|
|
77
82
|
import { DisassociateApprovedOriginCommandInput, DisassociateApprovedOriginCommandOutput } from "./commands/DisassociateApprovedOriginCommand";
|
|
78
83
|
import { DisassociateBotCommandInput, DisassociateBotCommandOutput } from "./commands/DisassociateBotCommand";
|
|
@@ -130,6 +135,8 @@ import { ListTrafficDistributionGroupUsersCommandInput, ListTrafficDistributionG
|
|
|
130
135
|
import { ListUseCasesCommandInput, ListUseCasesCommandOutput } from "./commands/ListUseCasesCommand";
|
|
131
136
|
import { ListUserHierarchyGroupsCommandInput, ListUserHierarchyGroupsCommandOutput } from "./commands/ListUserHierarchyGroupsCommand";
|
|
132
137
|
import { ListUsersCommandInput, ListUsersCommandOutput } from "./commands/ListUsersCommand";
|
|
138
|
+
import { ListViewsCommandInput, ListViewsCommandOutput } from "./commands/ListViewsCommand";
|
|
139
|
+
import { ListViewVersionsCommandInput, ListViewVersionsCommandOutput } from "./commands/ListViewVersionsCommand";
|
|
133
140
|
import { MonitorContactCommandInput, MonitorContactCommandOutput } from "./commands/MonitorContactCommand";
|
|
134
141
|
import { PutUserStatusCommandInput, PutUserStatusCommandOutput } from "./commands/PutUserStatusCommand";
|
|
135
142
|
import { ReleasePhoneNumberCommandInput, ReleasePhoneNumberCommandOutput } from "./commands/ReleasePhoneNumberCommand";
|
|
@@ -199,6 +206,8 @@ import { UpdateUserIdentityInfoCommandInput, UpdateUserIdentityInfoCommandOutput
|
|
|
199
206
|
import { UpdateUserPhoneConfigCommandInput, UpdateUserPhoneConfigCommandOutput } from "./commands/UpdateUserPhoneConfigCommand";
|
|
200
207
|
import { UpdateUserRoutingProfileCommandInput, UpdateUserRoutingProfileCommandOutput } from "./commands/UpdateUserRoutingProfileCommand";
|
|
201
208
|
import { UpdateUserSecurityProfilesCommandInput, UpdateUserSecurityProfilesCommandOutput } from "./commands/UpdateUserSecurityProfilesCommand";
|
|
209
|
+
import { UpdateViewContentCommandInput, UpdateViewContentCommandOutput } from "./commands/UpdateViewContentCommand";
|
|
210
|
+
import { UpdateViewMetadataCommandInput, UpdateViewMetadataCommandOutput } from "./commands/UpdateViewMetadataCommand";
|
|
202
211
|
import { ConnectClient } from "./ConnectClient";
|
|
203
212
|
export interface Connect {
|
|
204
213
|
/**
|
|
@@ -393,6 +402,18 @@ export interface Connect {
|
|
|
393
402
|
createUserHierarchyGroup(args: CreateUserHierarchyGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateUserHierarchyGroupCommandOutput>;
|
|
394
403
|
createUserHierarchyGroup(args: CreateUserHierarchyGroupCommandInput, cb: (err: any, data?: CreateUserHierarchyGroupCommandOutput) => void): void;
|
|
395
404
|
createUserHierarchyGroup(args: CreateUserHierarchyGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateUserHierarchyGroupCommandOutput) => void): void;
|
|
405
|
+
/**
|
|
406
|
+
* @see {@link CreateViewCommand}
|
|
407
|
+
*/
|
|
408
|
+
createView(args: CreateViewCommandInput, options?: __HttpHandlerOptions): Promise<CreateViewCommandOutput>;
|
|
409
|
+
createView(args: CreateViewCommandInput, cb: (err: any, data?: CreateViewCommandOutput) => void): void;
|
|
410
|
+
createView(args: CreateViewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateViewCommandOutput) => void): void;
|
|
411
|
+
/**
|
|
412
|
+
* @see {@link CreateViewVersionCommand}
|
|
413
|
+
*/
|
|
414
|
+
createViewVersion(args: CreateViewVersionCommandInput, options?: __HttpHandlerOptions): Promise<CreateViewVersionCommandOutput>;
|
|
415
|
+
createViewVersion(args: CreateViewVersionCommandInput, cb: (err: any, data?: CreateViewVersionCommandOutput) => void): void;
|
|
416
|
+
createViewVersion(args: CreateViewVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateViewVersionCommandOutput) => void): void;
|
|
396
417
|
/**
|
|
397
418
|
* @see {@link CreateVocabularyCommand}
|
|
398
419
|
*/
|
|
@@ -513,6 +534,18 @@ export interface Connect {
|
|
|
513
534
|
deleteUserHierarchyGroup(args: DeleteUserHierarchyGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteUserHierarchyGroupCommandOutput>;
|
|
514
535
|
deleteUserHierarchyGroup(args: DeleteUserHierarchyGroupCommandInput, cb: (err: any, data?: DeleteUserHierarchyGroupCommandOutput) => void): void;
|
|
515
536
|
deleteUserHierarchyGroup(args: DeleteUserHierarchyGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteUserHierarchyGroupCommandOutput) => void): void;
|
|
537
|
+
/**
|
|
538
|
+
* @see {@link DeleteViewCommand}
|
|
539
|
+
*/
|
|
540
|
+
deleteView(args: DeleteViewCommandInput, options?: __HttpHandlerOptions): Promise<DeleteViewCommandOutput>;
|
|
541
|
+
deleteView(args: DeleteViewCommandInput, cb: (err: any, data?: DeleteViewCommandOutput) => void): void;
|
|
542
|
+
deleteView(args: DeleteViewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteViewCommandOutput) => void): void;
|
|
543
|
+
/**
|
|
544
|
+
* @see {@link DeleteViewVersionCommand}
|
|
545
|
+
*/
|
|
546
|
+
deleteViewVersion(args: DeleteViewVersionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteViewVersionCommandOutput>;
|
|
547
|
+
deleteViewVersion(args: DeleteViewVersionCommandInput, cb: (err: any, data?: DeleteViewVersionCommandOutput) => void): void;
|
|
548
|
+
deleteViewVersion(args: DeleteViewVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteViewVersionCommandOutput) => void): void;
|
|
516
549
|
/**
|
|
517
550
|
* @see {@link DeleteVocabularyCommand}
|
|
518
551
|
*/
|
|
@@ -645,6 +678,12 @@ export interface Connect {
|
|
|
645
678
|
describeUserHierarchyStructure(args: DescribeUserHierarchyStructureCommandInput, options?: __HttpHandlerOptions): Promise<DescribeUserHierarchyStructureCommandOutput>;
|
|
646
679
|
describeUserHierarchyStructure(args: DescribeUserHierarchyStructureCommandInput, cb: (err: any, data?: DescribeUserHierarchyStructureCommandOutput) => void): void;
|
|
647
680
|
describeUserHierarchyStructure(args: DescribeUserHierarchyStructureCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeUserHierarchyStructureCommandOutput) => void): void;
|
|
681
|
+
/**
|
|
682
|
+
* @see {@link DescribeViewCommand}
|
|
683
|
+
*/
|
|
684
|
+
describeView(args: DescribeViewCommandInput, options?: __HttpHandlerOptions): Promise<DescribeViewCommandOutput>;
|
|
685
|
+
describeView(args: DescribeViewCommandInput, cb: (err: any, data?: DescribeViewCommandOutput) => void): void;
|
|
686
|
+
describeView(args: DescribeViewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeViewCommandOutput) => void): void;
|
|
648
687
|
/**
|
|
649
688
|
* @see {@link DescribeVocabularyCommand}
|
|
650
689
|
*/
|
|
@@ -987,6 +1026,18 @@ export interface Connect {
|
|
|
987
1026
|
listUsers(args: ListUsersCommandInput, options?: __HttpHandlerOptions): Promise<ListUsersCommandOutput>;
|
|
988
1027
|
listUsers(args: ListUsersCommandInput, cb: (err: any, data?: ListUsersCommandOutput) => void): void;
|
|
989
1028
|
listUsers(args: ListUsersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListUsersCommandOutput) => void): void;
|
|
1029
|
+
/**
|
|
1030
|
+
* @see {@link ListViewsCommand}
|
|
1031
|
+
*/
|
|
1032
|
+
listViews(args: ListViewsCommandInput, options?: __HttpHandlerOptions): Promise<ListViewsCommandOutput>;
|
|
1033
|
+
listViews(args: ListViewsCommandInput, cb: (err: any, data?: ListViewsCommandOutput) => void): void;
|
|
1034
|
+
listViews(args: ListViewsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListViewsCommandOutput) => void): void;
|
|
1035
|
+
/**
|
|
1036
|
+
* @see {@link ListViewVersionsCommand}
|
|
1037
|
+
*/
|
|
1038
|
+
listViewVersions(args: ListViewVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListViewVersionsCommandOutput>;
|
|
1039
|
+
listViewVersions(args: ListViewVersionsCommandInput, cb: (err: any, data?: ListViewVersionsCommandOutput) => void): void;
|
|
1040
|
+
listViewVersions(args: ListViewVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListViewVersionsCommandOutput) => void): void;
|
|
990
1041
|
/**
|
|
991
1042
|
* @see {@link MonitorContactCommand}
|
|
992
1043
|
*/
|
|
@@ -1401,6 +1452,18 @@ export interface Connect {
|
|
|
1401
1452
|
updateUserSecurityProfiles(args: UpdateUserSecurityProfilesCommandInput, options?: __HttpHandlerOptions): Promise<UpdateUserSecurityProfilesCommandOutput>;
|
|
1402
1453
|
updateUserSecurityProfiles(args: UpdateUserSecurityProfilesCommandInput, cb: (err: any, data?: UpdateUserSecurityProfilesCommandOutput) => void): void;
|
|
1403
1454
|
updateUserSecurityProfiles(args: UpdateUserSecurityProfilesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateUserSecurityProfilesCommandOutput) => void): void;
|
|
1455
|
+
/**
|
|
1456
|
+
* @see {@link UpdateViewContentCommand}
|
|
1457
|
+
*/
|
|
1458
|
+
updateViewContent(args: UpdateViewContentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateViewContentCommandOutput>;
|
|
1459
|
+
updateViewContent(args: UpdateViewContentCommandInput, cb: (err: any, data?: UpdateViewContentCommandOutput) => void): void;
|
|
1460
|
+
updateViewContent(args: UpdateViewContentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateViewContentCommandOutput) => void): void;
|
|
1461
|
+
/**
|
|
1462
|
+
* @see {@link UpdateViewMetadataCommand}
|
|
1463
|
+
*/
|
|
1464
|
+
updateViewMetadata(args: UpdateViewMetadataCommandInput, options?: __HttpHandlerOptions): Promise<UpdateViewMetadataCommandOutput>;
|
|
1465
|
+
updateViewMetadata(args: UpdateViewMetadataCommandInput, cb: (err: any, data?: UpdateViewMetadataCommandOutput) => void): void;
|
|
1466
|
+
updateViewMetadata(args: UpdateViewMetadataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateViewMetadataCommandOutput) => void): void;
|
|
1404
1467
|
}
|
|
1405
1468
|
/**
|
|
1406
1469
|
* @public
|
|
@@ -40,6 +40,8 @@ import { CreateTrafficDistributionGroupCommandInput, CreateTrafficDistributionGr
|
|
|
40
40
|
import { CreateUseCaseCommandInput, CreateUseCaseCommandOutput } from "./commands/CreateUseCaseCommand";
|
|
41
41
|
import { CreateUserCommandInput, CreateUserCommandOutput } from "./commands/CreateUserCommand";
|
|
42
42
|
import { CreateUserHierarchyGroupCommandInput, CreateUserHierarchyGroupCommandOutput } from "./commands/CreateUserHierarchyGroupCommand";
|
|
43
|
+
import { CreateViewCommandInput, CreateViewCommandOutput } from "./commands/CreateViewCommand";
|
|
44
|
+
import { CreateViewVersionCommandInput, CreateViewVersionCommandOutput } from "./commands/CreateViewVersionCommand";
|
|
43
45
|
import { CreateVocabularyCommandInput, CreateVocabularyCommandOutput } from "./commands/CreateVocabularyCommand";
|
|
44
46
|
import { DeactivateEvaluationFormCommandInput, DeactivateEvaluationFormCommandOutput } from "./commands/DeactivateEvaluationFormCommand";
|
|
45
47
|
import { DeleteContactEvaluationCommandInput, DeleteContactEvaluationCommandOutput } from "./commands/DeleteContactEvaluationCommand";
|
|
@@ -60,6 +62,8 @@ import { DeleteTrafficDistributionGroupCommandInput, DeleteTrafficDistributionGr
|
|
|
60
62
|
import { DeleteUseCaseCommandInput, DeleteUseCaseCommandOutput } from "./commands/DeleteUseCaseCommand";
|
|
61
63
|
import { DeleteUserCommandInput, DeleteUserCommandOutput } from "./commands/DeleteUserCommand";
|
|
62
64
|
import { DeleteUserHierarchyGroupCommandInput, DeleteUserHierarchyGroupCommandOutput } from "./commands/DeleteUserHierarchyGroupCommand";
|
|
65
|
+
import { DeleteViewCommandInput, DeleteViewCommandOutput } from "./commands/DeleteViewCommand";
|
|
66
|
+
import { DeleteViewVersionCommandInput, DeleteViewVersionCommandOutput } from "./commands/DeleteViewVersionCommand";
|
|
63
67
|
import { DeleteVocabularyCommandInput, DeleteVocabularyCommandOutput } from "./commands/DeleteVocabularyCommand";
|
|
64
68
|
import { DescribeAgentStatusCommandInput, DescribeAgentStatusCommandOutput } from "./commands/DescribeAgentStatusCommand";
|
|
65
69
|
import { DescribeContactCommandInput, DescribeContactCommandOutput } from "./commands/DescribeContactCommand";
|
|
@@ -82,6 +86,7 @@ import { DescribeTrafficDistributionGroupCommandInput, DescribeTrafficDistributi
|
|
|
82
86
|
import { DescribeUserCommandInput, DescribeUserCommandOutput } from "./commands/DescribeUserCommand";
|
|
83
87
|
import { DescribeUserHierarchyGroupCommandInput, DescribeUserHierarchyGroupCommandOutput } from "./commands/DescribeUserHierarchyGroupCommand";
|
|
84
88
|
import { DescribeUserHierarchyStructureCommandInput, DescribeUserHierarchyStructureCommandOutput } from "./commands/DescribeUserHierarchyStructureCommand";
|
|
89
|
+
import { DescribeViewCommandInput, DescribeViewCommandOutput } from "./commands/DescribeViewCommand";
|
|
85
90
|
import { DescribeVocabularyCommandInput, DescribeVocabularyCommandOutput } from "./commands/DescribeVocabularyCommand";
|
|
86
91
|
import { DisassociateApprovedOriginCommandInput, DisassociateApprovedOriginCommandOutput } from "./commands/DisassociateApprovedOriginCommand";
|
|
87
92
|
import { DisassociateBotCommandInput, DisassociateBotCommandOutput } from "./commands/DisassociateBotCommand";
|
|
@@ -139,6 +144,8 @@ import { ListTrafficDistributionGroupUsersCommandInput, ListTrafficDistributionG
|
|
|
139
144
|
import { ListUseCasesCommandInput, ListUseCasesCommandOutput } from "./commands/ListUseCasesCommand";
|
|
140
145
|
import { ListUserHierarchyGroupsCommandInput, ListUserHierarchyGroupsCommandOutput } from "./commands/ListUserHierarchyGroupsCommand";
|
|
141
146
|
import { ListUsersCommandInput, ListUsersCommandOutput } from "./commands/ListUsersCommand";
|
|
147
|
+
import { ListViewsCommandInput, ListViewsCommandOutput } from "./commands/ListViewsCommand";
|
|
148
|
+
import { ListViewVersionsCommandInput, ListViewVersionsCommandOutput } from "./commands/ListViewVersionsCommand";
|
|
142
149
|
import { MonitorContactCommandInput, MonitorContactCommandOutput } from "./commands/MonitorContactCommand";
|
|
143
150
|
import { PutUserStatusCommandInput, PutUserStatusCommandOutput } from "./commands/PutUserStatusCommand";
|
|
144
151
|
import { ReleasePhoneNumberCommandInput, ReleasePhoneNumberCommandOutput } from "./commands/ReleasePhoneNumberCommand";
|
|
@@ -208,17 +215,19 @@ import { UpdateUserIdentityInfoCommandInput, UpdateUserIdentityInfoCommandOutput
|
|
|
208
215
|
import { UpdateUserPhoneConfigCommandInput, UpdateUserPhoneConfigCommandOutput } from "./commands/UpdateUserPhoneConfigCommand";
|
|
209
216
|
import { UpdateUserRoutingProfileCommandInput, UpdateUserRoutingProfileCommandOutput } from "./commands/UpdateUserRoutingProfileCommand";
|
|
210
217
|
import { UpdateUserSecurityProfilesCommandInput, UpdateUserSecurityProfilesCommandOutput } from "./commands/UpdateUserSecurityProfilesCommand";
|
|
218
|
+
import { UpdateViewContentCommandInput, UpdateViewContentCommandOutput } from "./commands/UpdateViewContentCommand";
|
|
219
|
+
import { UpdateViewMetadataCommandInput, UpdateViewMetadataCommandOutput } from "./commands/UpdateViewMetadataCommand";
|
|
211
220
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
212
221
|
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
213
222
|
export { __Client };
|
|
214
223
|
/**
|
|
215
224
|
* @public
|
|
216
225
|
*/
|
|
217
|
-
export type ServiceInputTypes = ActivateEvaluationFormCommandInput | AssociateApprovedOriginCommandInput | AssociateBotCommandInput | AssociateDefaultVocabularyCommandInput | AssociateInstanceStorageConfigCommandInput | AssociateLambdaFunctionCommandInput | AssociateLexBotCommandInput | AssociatePhoneNumberContactFlowCommandInput | AssociateQueueQuickConnectsCommandInput | AssociateRoutingProfileQueuesCommandInput | AssociateSecurityKeyCommandInput | AssociateTrafficDistributionGroupUserCommandInput | ClaimPhoneNumberCommandInput | CreateAgentStatusCommandInput | CreateContactFlowCommandInput | CreateContactFlowModuleCommandInput | CreateEvaluationFormCommandInput | CreateHoursOfOperationCommandInput | CreateInstanceCommandInput | CreateIntegrationAssociationCommandInput | CreateParticipantCommandInput | CreatePromptCommandInput | CreateQueueCommandInput | CreateQuickConnectCommandInput | CreateRoutingProfileCommandInput | CreateRuleCommandInput | CreateSecurityProfileCommandInput | CreateTaskTemplateCommandInput | CreateTrafficDistributionGroupCommandInput | CreateUseCaseCommandInput | CreateUserCommandInput | CreateUserHierarchyGroupCommandInput | CreateVocabularyCommandInput | DeactivateEvaluationFormCommandInput | DeleteContactEvaluationCommandInput | DeleteContactFlowCommandInput | DeleteContactFlowModuleCommandInput | DeleteEvaluationFormCommandInput | DeleteHoursOfOperationCommandInput | DeleteInstanceCommandInput | DeleteIntegrationAssociationCommandInput | DeletePromptCommandInput | DeleteQueueCommandInput | DeleteQuickConnectCommandInput | DeleteRoutingProfileCommandInput | DeleteRuleCommandInput | DeleteSecurityProfileCommandInput | DeleteTaskTemplateCommandInput | DeleteTrafficDistributionGroupCommandInput | DeleteUseCaseCommandInput | DeleteUserCommandInput | DeleteUserHierarchyGroupCommandInput | DeleteVocabularyCommandInput | DescribeAgentStatusCommandInput | DescribeContactCommandInput | DescribeContactEvaluationCommandInput | DescribeContactFlowCommandInput | DescribeContactFlowModuleCommandInput | DescribeEvaluationFormCommandInput | DescribeHoursOfOperationCommandInput | DescribeInstanceAttributeCommandInput | DescribeInstanceCommandInput | DescribeInstanceStorageConfigCommandInput | DescribePhoneNumberCommandInput | DescribePromptCommandInput | DescribeQueueCommandInput | DescribeQuickConnectCommandInput | DescribeRoutingProfileCommandInput | DescribeRuleCommandInput | DescribeSecurityProfileCommandInput | DescribeTrafficDistributionGroupCommandInput | DescribeUserCommandInput | DescribeUserHierarchyGroupCommandInput | DescribeUserHierarchyStructureCommandInput | DescribeVocabularyCommandInput | DisassociateApprovedOriginCommandInput | DisassociateBotCommandInput | DisassociateInstanceStorageConfigCommandInput | DisassociateLambdaFunctionCommandInput | DisassociateLexBotCommandInput | DisassociatePhoneNumberContactFlowCommandInput | DisassociateQueueQuickConnectsCommandInput | DisassociateRoutingProfileQueuesCommandInput | DisassociateSecurityKeyCommandInput | DisassociateTrafficDistributionGroupUserCommandInput | DismissUserContactCommandInput | GetContactAttributesCommandInput | GetCurrentMetricDataCommandInput | GetCurrentUserDataCommandInput | GetFederationTokenCommandInput | GetMetricDataCommandInput | GetMetricDataV2CommandInput | GetPromptFileCommandInput | GetTaskTemplateCommandInput | GetTrafficDistributionCommandInput | ListAgentStatusesCommandInput | ListApprovedOriginsCommandInput | ListBotsCommandInput | ListContactEvaluationsCommandInput | ListContactFlowModulesCommandInput | ListContactFlowsCommandInput | ListContactReferencesCommandInput | ListDefaultVocabulariesCommandInput | ListEvaluationFormVersionsCommandInput | ListEvaluationFormsCommandInput | ListHoursOfOperationsCommandInput | ListInstanceAttributesCommandInput | ListInstanceStorageConfigsCommandInput | ListInstancesCommandInput | ListIntegrationAssociationsCommandInput | ListLambdaFunctionsCommandInput | ListLexBotsCommandInput | ListPhoneNumbersCommandInput | ListPhoneNumbersV2CommandInput | ListPromptsCommandInput | ListQueueQuickConnectsCommandInput | ListQueuesCommandInput | ListQuickConnectsCommandInput | ListRoutingProfileQueuesCommandInput | ListRoutingProfilesCommandInput | ListRulesCommandInput | ListSecurityKeysCommandInput | ListSecurityProfilePermissionsCommandInput | ListSecurityProfilesCommandInput | ListTagsForResourceCommandInput | ListTaskTemplatesCommandInput | ListTrafficDistributionGroupUsersCommandInput | ListTrafficDistributionGroupsCommandInput | ListUseCasesCommandInput | ListUserHierarchyGroupsCommandInput | ListUsersCommandInput | MonitorContactCommandInput | PutUserStatusCommandInput | ReleasePhoneNumberCommandInput | ReplicateInstanceCommandInput | ResumeContactRecordingCommandInput | SearchAvailablePhoneNumbersCommandInput | SearchHoursOfOperationsCommandInput | SearchPromptsCommandInput | SearchQueuesCommandInput | SearchQuickConnectsCommandInput | SearchResourceTagsCommandInput | SearchRoutingProfilesCommandInput | SearchSecurityProfilesCommandInput | SearchUsersCommandInput | SearchVocabulariesCommandInput | StartChatContactCommandInput | StartContactEvaluationCommandInput | StartContactRecordingCommandInput | StartContactStreamingCommandInput | StartOutboundVoiceContactCommandInput | StartTaskContactCommandInput | StopContactCommandInput | StopContactRecordingCommandInput | StopContactStreamingCommandInput | SubmitContactEvaluationCommandInput | SuspendContactRecordingCommandInput | TagResourceCommandInput | TransferContactCommandInput | UntagResourceCommandInput | UpdateAgentStatusCommandInput | UpdateContactAttributesCommandInput | UpdateContactCommandInput | UpdateContactEvaluationCommandInput | UpdateContactFlowContentCommandInput | UpdateContactFlowMetadataCommandInput | UpdateContactFlowModuleContentCommandInput | UpdateContactFlowModuleMetadataCommandInput | UpdateContactFlowNameCommandInput | UpdateContactScheduleCommandInput | UpdateEvaluationFormCommandInput | UpdateHoursOfOperationCommandInput | UpdateInstanceAttributeCommandInput | UpdateInstanceStorageConfigCommandInput | UpdateParticipantRoleConfigCommandInput | UpdatePhoneNumberCommandInput | UpdatePromptCommandInput | UpdateQueueHoursOfOperationCommandInput | UpdateQueueMaxContactsCommandInput | UpdateQueueNameCommandInput | UpdateQueueOutboundCallerConfigCommandInput | UpdateQueueStatusCommandInput | UpdateQuickConnectConfigCommandInput | UpdateQuickConnectNameCommandInput | UpdateRoutingProfileAgentAvailabilityTimerCommandInput | UpdateRoutingProfileConcurrencyCommandInput | UpdateRoutingProfileDefaultOutboundQueueCommandInput | UpdateRoutingProfileNameCommandInput | UpdateRoutingProfileQueuesCommandInput | UpdateRuleCommandInput | UpdateSecurityProfileCommandInput | UpdateTaskTemplateCommandInput | UpdateTrafficDistributionCommandInput | UpdateUserHierarchyCommandInput | UpdateUserHierarchyGroupNameCommandInput | UpdateUserHierarchyStructureCommandInput | UpdateUserIdentityInfoCommandInput | UpdateUserPhoneConfigCommandInput | UpdateUserRoutingProfileCommandInput | UpdateUserSecurityProfilesCommandInput;
|
|
226
|
+
export type ServiceInputTypes = ActivateEvaluationFormCommandInput | AssociateApprovedOriginCommandInput | AssociateBotCommandInput | AssociateDefaultVocabularyCommandInput | AssociateInstanceStorageConfigCommandInput | AssociateLambdaFunctionCommandInput | AssociateLexBotCommandInput | AssociatePhoneNumberContactFlowCommandInput | AssociateQueueQuickConnectsCommandInput | AssociateRoutingProfileQueuesCommandInput | AssociateSecurityKeyCommandInput | AssociateTrafficDistributionGroupUserCommandInput | ClaimPhoneNumberCommandInput | CreateAgentStatusCommandInput | CreateContactFlowCommandInput | CreateContactFlowModuleCommandInput | CreateEvaluationFormCommandInput | CreateHoursOfOperationCommandInput | CreateInstanceCommandInput | CreateIntegrationAssociationCommandInput | CreateParticipantCommandInput | CreatePromptCommandInput | CreateQueueCommandInput | CreateQuickConnectCommandInput | CreateRoutingProfileCommandInput | CreateRuleCommandInput | CreateSecurityProfileCommandInput | CreateTaskTemplateCommandInput | CreateTrafficDistributionGroupCommandInput | CreateUseCaseCommandInput | CreateUserCommandInput | CreateUserHierarchyGroupCommandInput | CreateViewCommandInput | CreateViewVersionCommandInput | CreateVocabularyCommandInput | DeactivateEvaluationFormCommandInput | DeleteContactEvaluationCommandInput | DeleteContactFlowCommandInput | DeleteContactFlowModuleCommandInput | DeleteEvaluationFormCommandInput | DeleteHoursOfOperationCommandInput | DeleteInstanceCommandInput | DeleteIntegrationAssociationCommandInput | DeletePromptCommandInput | DeleteQueueCommandInput | DeleteQuickConnectCommandInput | DeleteRoutingProfileCommandInput | DeleteRuleCommandInput | DeleteSecurityProfileCommandInput | DeleteTaskTemplateCommandInput | DeleteTrafficDistributionGroupCommandInput | DeleteUseCaseCommandInput | DeleteUserCommandInput | DeleteUserHierarchyGroupCommandInput | DeleteViewCommandInput | DeleteViewVersionCommandInput | DeleteVocabularyCommandInput | DescribeAgentStatusCommandInput | DescribeContactCommandInput | DescribeContactEvaluationCommandInput | DescribeContactFlowCommandInput | DescribeContactFlowModuleCommandInput | DescribeEvaluationFormCommandInput | DescribeHoursOfOperationCommandInput | DescribeInstanceAttributeCommandInput | DescribeInstanceCommandInput | DescribeInstanceStorageConfigCommandInput | DescribePhoneNumberCommandInput | DescribePromptCommandInput | DescribeQueueCommandInput | DescribeQuickConnectCommandInput | DescribeRoutingProfileCommandInput | DescribeRuleCommandInput | DescribeSecurityProfileCommandInput | DescribeTrafficDistributionGroupCommandInput | DescribeUserCommandInput | DescribeUserHierarchyGroupCommandInput | DescribeUserHierarchyStructureCommandInput | DescribeViewCommandInput | DescribeVocabularyCommandInput | DisassociateApprovedOriginCommandInput | DisassociateBotCommandInput | DisassociateInstanceStorageConfigCommandInput | DisassociateLambdaFunctionCommandInput | DisassociateLexBotCommandInput | DisassociatePhoneNumberContactFlowCommandInput | DisassociateQueueQuickConnectsCommandInput | DisassociateRoutingProfileQueuesCommandInput | DisassociateSecurityKeyCommandInput | DisassociateTrafficDistributionGroupUserCommandInput | DismissUserContactCommandInput | GetContactAttributesCommandInput | GetCurrentMetricDataCommandInput | GetCurrentUserDataCommandInput | GetFederationTokenCommandInput | GetMetricDataCommandInput | GetMetricDataV2CommandInput | GetPromptFileCommandInput | GetTaskTemplateCommandInput | GetTrafficDistributionCommandInput | ListAgentStatusesCommandInput | ListApprovedOriginsCommandInput | ListBotsCommandInput | ListContactEvaluationsCommandInput | ListContactFlowModulesCommandInput | ListContactFlowsCommandInput | ListContactReferencesCommandInput | ListDefaultVocabulariesCommandInput | ListEvaluationFormVersionsCommandInput | ListEvaluationFormsCommandInput | ListHoursOfOperationsCommandInput | ListInstanceAttributesCommandInput | ListInstanceStorageConfigsCommandInput | ListInstancesCommandInput | ListIntegrationAssociationsCommandInput | ListLambdaFunctionsCommandInput | ListLexBotsCommandInput | ListPhoneNumbersCommandInput | ListPhoneNumbersV2CommandInput | ListPromptsCommandInput | ListQueueQuickConnectsCommandInput | ListQueuesCommandInput | ListQuickConnectsCommandInput | ListRoutingProfileQueuesCommandInput | ListRoutingProfilesCommandInput | ListRulesCommandInput | ListSecurityKeysCommandInput | ListSecurityProfilePermissionsCommandInput | ListSecurityProfilesCommandInput | ListTagsForResourceCommandInput | ListTaskTemplatesCommandInput | ListTrafficDistributionGroupUsersCommandInput | ListTrafficDistributionGroupsCommandInput | ListUseCasesCommandInput | ListUserHierarchyGroupsCommandInput | ListUsersCommandInput | ListViewVersionsCommandInput | ListViewsCommandInput | MonitorContactCommandInput | PutUserStatusCommandInput | ReleasePhoneNumberCommandInput | ReplicateInstanceCommandInput | ResumeContactRecordingCommandInput | SearchAvailablePhoneNumbersCommandInput | SearchHoursOfOperationsCommandInput | SearchPromptsCommandInput | SearchQueuesCommandInput | SearchQuickConnectsCommandInput | SearchResourceTagsCommandInput | SearchRoutingProfilesCommandInput | SearchSecurityProfilesCommandInput | SearchUsersCommandInput | SearchVocabulariesCommandInput | StartChatContactCommandInput | StartContactEvaluationCommandInput | StartContactRecordingCommandInput | StartContactStreamingCommandInput | StartOutboundVoiceContactCommandInput | StartTaskContactCommandInput | StopContactCommandInput | StopContactRecordingCommandInput | StopContactStreamingCommandInput | SubmitContactEvaluationCommandInput | SuspendContactRecordingCommandInput | TagResourceCommandInput | TransferContactCommandInput | UntagResourceCommandInput | UpdateAgentStatusCommandInput | UpdateContactAttributesCommandInput | UpdateContactCommandInput | UpdateContactEvaluationCommandInput | UpdateContactFlowContentCommandInput | UpdateContactFlowMetadataCommandInput | UpdateContactFlowModuleContentCommandInput | UpdateContactFlowModuleMetadataCommandInput | UpdateContactFlowNameCommandInput | UpdateContactScheduleCommandInput | UpdateEvaluationFormCommandInput | UpdateHoursOfOperationCommandInput | UpdateInstanceAttributeCommandInput | UpdateInstanceStorageConfigCommandInput | UpdateParticipantRoleConfigCommandInput | UpdatePhoneNumberCommandInput | UpdatePromptCommandInput | UpdateQueueHoursOfOperationCommandInput | UpdateQueueMaxContactsCommandInput | UpdateQueueNameCommandInput | UpdateQueueOutboundCallerConfigCommandInput | UpdateQueueStatusCommandInput | UpdateQuickConnectConfigCommandInput | UpdateQuickConnectNameCommandInput | UpdateRoutingProfileAgentAvailabilityTimerCommandInput | UpdateRoutingProfileConcurrencyCommandInput | UpdateRoutingProfileDefaultOutboundQueueCommandInput | UpdateRoutingProfileNameCommandInput | UpdateRoutingProfileQueuesCommandInput | UpdateRuleCommandInput | UpdateSecurityProfileCommandInput | UpdateTaskTemplateCommandInput | UpdateTrafficDistributionCommandInput | UpdateUserHierarchyCommandInput | UpdateUserHierarchyGroupNameCommandInput | UpdateUserHierarchyStructureCommandInput | UpdateUserIdentityInfoCommandInput | UpdateUserPhoneConfigCommandInput | UpdateUserRoutingProfileCommandInput | UpdateUserSecurityProfilesCommandInput | UpdateViewContentCommandInput | UpdateViewMetadataCommandInput;
|
|
218
227
|
/**
|
|
219
228
|
* @public
|
|
220
229
|
*/
|
|
221
|
-
export type ServiceOutputTypes = ActivateEvaluationFormCommandOutput | AssociateApprovedOriginCommandOutput | AssociateBotCommandOutput | AssociateDefaultVocabularyCommandOutput | AssociateInstanceStorageConfigCommandOutput | AssociateLambdaFunctionCommandOutput | AssociateLexBotCommandOutput | AssociatePhoneNumberContactFlowCommandOutput | AssociateQueueQuickConnectsCommandOutput | AssociateRoutingProfileQueuesCommandOutput | AssociateSecurityKeyCommandOutput | AssociateTrafficDistributionGroupUserCommandOutput | ClaimPhoneNumberCommandOutput | CreateAgentStatusCommandOutput | CreateContactFlowCommandOutput | CreateContactFlowModuleCommandOutput | CreateEvaluationFormCommandOutput | CreateHoursOfOperationCommandOutput | CreateInstanceCommandOutput | CreateIntegrationAssociationCommandOutput | CreateParticipantCommandOutput | CreatePromptCommandOutput | CreateQueueCommandOutput | CreateQuickConnectCommandOutput | CreateRoutingProfileCommandOutput | CreateRuleCommandOutput | CreateSecurityProfileCommandOutput | CreateTaskTemplateCommandOutput | CreateTrafficDistributionGroupCommandOutput | CreateUseCaseCommandOutput | CreateUserCommandOutput | CreateUserHierarchyGroupCommandOutput | CreateVocabularyCommandOutput | DeactivateEvaluationFormCommandOutput | DeleteContactEvaluationCommandOutput | DeleteContactFlowCommandOutput | DeleteContactFlowModuleCommandOutput | DeleteEvaluationFormCommandOutput | DeleteHoursOfOperationCommandOutput | DeleteInstanceCommandOutput | DeleteIntegrationAssociationCommandOutput | DeletePromptCommandOutput | DeleteQueueCommandOutput | DeleteQuickConnectCommandOutput | DeleteRoutingProfileCommandOutput | DeleteRuleCommandOutput | DeleteSecurityProfileCommandOutput | DeleteTaskTemplateCommandOutput | DeleteTrafficDistributionGroupCommandOutput | DeleteUseCaseCommandOutput | DeleteUserCommandOutput | DeleteUserHierarchyGroupCommandOutput | DeleteVocabularyCommandOutput | DescribeAgentStatusCommandOutput | DescribeContactCommandOutput | DescribeContactEvaluationCommandOutput | DescribeContactFlowCommandOutput | DescribeContactFlowModuleCommandOutput | DescribeEvaluationFormCommandOutput | DescribeHoursOfOperationCommandOutput | DescribeInstanceAttributeCommandOutput | DescribeInstanceCommandOutput | DescribeInstanceStorageConfigCommandOutput | DescribePhoneNumberCommandOutput | DescribePromptCommandOutput | DescribeQueueCommandOutput | DescribeQuickConnectCommandOutput | DescribeRoutingProfileCommandOutput | DescribeRuleCommandOutput | DescribeSecurityProfileCommandOutput | DescribeTrafficDistributionGroupCommandOutput | DescribeUserCommandOutput | DescribeUserHierarchyGroupCommandOutput | DescribeUserHierarchyStructureCommandOutput | DescribeVocabularyCommandOutput | DisassociateApprovedOriginCommandOutput | DisassociateBotCommandOutput | DisassociateInstanceStorageConfigCommandOutput | DisassociateLambdaFunctionCommandOutput | DisassociateLexBotCommandOutput | DisassociatePhoneNumberContactFlowCommandOutput | DisassociateQueueQuickConnectsCommandOutput | DisassociateRoutingProfileQueuesCommandOutput | DisassociateSecurityKeyCommandOutput | DisassociateTrafficDistributionGroupUserCommandOutput | DismissUserContactCommandOutput | GetContactAttributesCommandOutput | GetCurrentMetricDataCommandOutput | GetCurrentUserDataCommandOutput | GetFederationTokenCommandOutput | GetMetricDataCommandOutput | GetMetricDataV2CommandOutput | GetPromptFileCommandOutput | GetTaskTemplateCommandOutput | GetTrafficDistributionCommandOutput | ListAgentStatusesCommandOutput | ListApprovedOriginsCommandOutput | ListBotsCommandOutput | ListContactEvaluationsCommandOutput | ListContactFlowModulesCommandOutput | ListContactFlowsCommandOutput | ListContactReferencesCommandOutput | ListDefaultVocabulariesCommandOutput | ListEvaluationFormVersionsCommandOutput | ListEvaluationFormsCommandOutput | ListHoursOfOperationsCommandOutput | ListInstanceAttributesCommandOutput | ListInstanceStorageConfigsCommandOutput | ListInstancesCommandOutput | ListIntegrationAssociationsCommandOutput | ListLambdaFunctionsCommandOutput | ListLexBotsCommandOutput | ListPhoneNumbersCommandOutput | ListPhoneNumbersV2CommandOutput | ListPromptsCommandOutput | ListQueueQuickConnectsCommandOutput | ListQueuesCommandOutput | ListQuickConnectsCommandOutput | ListRoutingProfileQueuesCommandOutput | ListRoutingProfilesCommandOutput | ListRulesCommandOutput | ListSecurityKeysCommandOutput | ListSecurityProfilePermissionsCommandOutput | ListSecurityProfilesCommandOutput | ListTagsForResourceCommandOutput | ListTaskTemplatesCommandOutput | ListTrafficDistributionGroupUsersCommandOutput | ListTrafficDistributionGroupsCommandOutput | ListUseCasesCommandOutput | ListUserHierarchyGroupsCommandOutput | ListUsersCommandOutput | MonitorContactCommandOutput | PutUserStatusCommandOutput | ReleasePhoneNumberCommandOutput | ReplicateInstanceCommandOutput | ResumeContactRecordingCommandOutput | SearchAvailablePhoneNumbersCommandOutput | SearchHoursOfOperationsCommandOutput | SearchPromptsCommandOutput | SearchQueuesCommandOutput | SearchQuickConnectsCommandOutput | SearchResourceTagsCommandOutput | SearchRoutingProfilesCommandOutput | SearchSecurityProfilesCommandOutput | SearchUsersCommandOutput | SearchVocabulariesCommandOutput | StartChatContactCommandOutput | StartContactEvaluationCommandOutput | StartContactRecordingCommandOutput | StartContactStreamingCommandOutput | StartOutboundVoiceContactCommandOutput | StartTaskContactCommandOutput | StopContactCommandOutput | StopContactRecordingCommandOutput | StopContactStreamingCommandOutput | SubmitContactEvaluationCommandOutput | SuspendContactRecordingCommandOutput | TagResourceCommandOutput | TransferContactCommandOutput | UntagResourceCommandOutput | UpdateAgentStatusCommandOutput | UpdateContactAttributesCommandOutput | UpdateContactCommandOutput | UpdateContactEvaluationCommandOutput | UpdateContactFlowContentCommandOutput | UpdateContactFlowMetadataCommandOutput | UpdateContactFlowModuleContentCommandOutput | UpdateContactFlowModuleMetadataCommandOutput | UpdateContactFlowNameCommandOutput | UpdateContactScheduleCommandOutput | UpdateEvaluationFormCommandOutput | UpdateHoursOfOperationCommandOutput | UpdateInstanceAttributeCommandOutput | UpdateInstanceStorageConfigCommandOutput | UpdateParticipantRoleConfigCommandOutput | UpdatePhoneNumberCommandOutput | UpdatePromptCommandOutput | UpdateQueueHoursOfOperationCommandOutput | UpdateQueueMaxContactsCommandOutput | UpdateQueueNameCommandOutput | UpdateQueueOutboundCallerConfigCommandOutput | UpdateQueueStatusCommandOutput | UpdateQuickConnectConfigCommandOutput | UpdateQuickConnectNameCommandOutput | UpdateRoutingProfileAgentAvailabilityTimerCommandOutput | UpdateRoutingProfileConcurrencyCommandOutput | UpdateRoutingProfileDefaultOutboundQueueCommandOutput | UpdateRoutingProfileNameCommandOutput | UpdateRoutingProfileQueuesCommandOutput | UpdateRuleCommandOutput | UpdateSecurityProfileCommandOutput | UpdateTaskTemplateCommandOutput | UpdateTrafficDistributionCommandOutput | UpdateUserHierarchyCommandOutput | UpdateUserHierarchyGroupNameCommandOutput | UpdateUserHierarchyStructureCommandOutput | UpdateUserIdentityInfoCommandOutput | UpdateUserPhoneConfigCommandOutput | UpdateUserRoutingProfileCommandOutput | UpdateUserSecurityProfilesCommandOutput;
|
|
230
|
+
export type ServiceOutputTypes = ActivateEvaluationFormCommandOutput | AssociateApprovedOriginCommandOutput | AssociateBotCommandOutput | AssociateDefaultVocabularyCommandOutput | AssociateInstanceStorageConfigCommandOutput | AssociateLambdaFunctionCommandOutput | AssociateLexBotCommandOutput | AssociatePhoneNumberContactFlowCommandOutput | AssociateQueueQuickConnectsCommandOutput | AssociateRoutingProfileQueuesCommandOutput | AssociateSecurityKeyCommandOutput | AssociateTrafficDistributionGroupUserCommandOutput | ClaimPhoneNumberCommandOutput | CreateAgentStatusCommandOutput | CreateContactFlowCommandOutput | CreateContactFlowModuleCommandOutput | CreateEvaluationFormCommandOutput | CreateHoursOfOperationCommandOutput | CreateInstanceCommandOutput | CreateIntegrationAssociationCommandOutput | CreateParticipantCommandOutput | CreatePromptCommandOutput | CreateQueueCommandOutput | CreateQuickConnectCommandOutput | CreateRoutingProfileCommandOutput | CreateRuleCommandOutput | CreateSecurityProfileCommandOutput | CreateTaskTemplateCommandOutput | CreateTrafficDistributionGroupCommandOutput | CreateUseCaseCommandOutput | CreateUserCommandOutput | CreateUserHierarchyGroupCommandOutput | CreateViewCommandOutput | CreateViewVersionCommandOutput | CreateVocabularyCommandOutput | DeactivateEvaluationFormCommandOutput | DeleteContactEvaluationCommandOutput | DeleteContactFlowCommandOutput | DeleteContactFlowModuleCommandOutput | DeleteEvaluationFormCommandOutput | DeleteHoursOfOperationCommandOutput | DeleteInstanceCommandOutput | DeleteIntegrationAssociationCommandOutput | DeletePromptCommandOutput | DeleteQueueCommandOutput | DeleteQuickConnectCommandOutput | DeleteRoutingProfileCommandOutput | DeleteRuleCommandOutput | DeleteSecurityProfileCommandOutput | DeleteTaskTemplateCommandOutput | DeleteTrafficDistributionGroupCommandOutput | DeleteUseCaseCommandOutput | DeleteUserCommandOutput | DeleteUserHierarchyGroupCommandOutput | DeleteViewCommandOutput | DeleteViewVersionCommandOutput | DeleteVocabularyCommandOutput | DescribeAgentStatusCommandOutput | DescribeContactCommandOutput | DescribeContactEvaluationCommandOutput | DescribeContactFlowCommandOutput | DescribeContactFlowModuleCommandOutput | DescribeEvaluationFormCommandOutput | DescribeHoursOfOperationCommandOutput | DescribeInstanceAttributeCommandOutput | DescribeInstanceCommandOutput | DescribeInstanceStorageConfigCommandOutput | DescribePhoneNumberCommandOutput | DescribePromptCommandOutput | DescribeQueueCommandOutput | DescribeQuickConnectCommandOutput | DescribeRoutingProfileCommandOutput | DescribeRuleCommandOutput | DescribeSecurityProfileCommandOutput | DescribeTrafficDistributionGroupCommandOutput | DescribeUserCommandOutput | DescribeUserHierarchyGroupCommandOutput | DescribeUserHierarchyStructureCommandOutput | DescribeViewCommandOutput | DescribeVocabularyCommandOutput | DisassociateApprovedOriginCommandOutput | DisassociateBotCommandOutput | DisassociateInstanceStorageConfigCommandOutput | DisassociateLambdaFunctionCommandOutput | DisassociateLexBotCommandOutput | DisassociatePhoneNumberContactFlowCommandOutput | DisassociateQueueQuickConnectsCommandOutput | DisassociateRoutingProfileQueuesCommandOutput | DisassociateSecurityKeyCommandOutput | DisassociateTrafficDistributionGroupUserCommandOutput | DismissUserContactCommandOutput | GetContactAttributesCommandOutput | GetCurrentMetricDataCommandOutput | GetCurrentUserDataCommandOutput | GetFederationTokenCommandOutput | GetMetricDataCommandOutput | GetMetricDataV2CommandOutput | GetPromptFileCommandOutput | GetTaskTemplateCommandOutput | GetTrafficDistributionCommandOutput | ListAgentStatusesCommandOutput | ListApprovedOriginsCommandOutput | ListBotsCommandOutput | ListContactEvaluationsCommandOutput | ListContactFlowModulesCommandOutput | ListContactFlowsCommandOutput | ListContactReferencesCommandOutput | ListDefaultVocabulariesCommandOutput | ListEvaluationFormVersionsCommandOutput | ListEvaluationFormsCommandOutput | ListHoursOfOperationsCommandOutput | ListInstanceAttributesCommandOutput | ListInstanceStorageConfigsCommandOutput | ListInstancesCommandOutput | ListIntegrationAssociationsCommandOutput | ListLambdaFunctionsCommandOutput | ListLexBotsCommandOutput | ListPhoneNumbersCommandOutput | ListPhoneNumbersV2CommandOutput | ListPromptsCommandOutput | ListQueueQuickConnectsCommandOutput | ListQueuesCommandOutput | ListQuickConnectsCommandOutput | ListRoutingProfileQueuesCommandOutput | ListRoutingProfilesCommandOutput | ListRulesCommandOutput | ListSecurityKeysCommandOutput | ListSecurityProfilePermissionsCommandOutput | ListSecurityProfilesCommandOutput | ListTagsForResourceCommandOutput | ListTaskTemplatesCommandOutput | ListTrafficDistributionGroupUsersCommandOutput | ListTrafficDistributionGroupsCommandOutput | ListUseCasesCommandOutput | ListUserHierarchyGroupsCommandOutput | ListUsersCommandOutput | ListViewVersionsCommandOutput | ListViewsCommandOutput | MonitorContactCommandOutput | PutUserStatusCommandOutput | ReleasePhoneNumberCommandOutput | ReplicateInstanceCommandOutput | ResumeContactRecordingCommandOutput | SearchAvailablePhoneNumbersCommandOutput | SearchHoursOfOperationsCommandOutput | SearchPromptsCommandOutput | SearchQueuesCommandOutput | SearchQuickConnectsCommandOutput | SearchResourceTagsCommandOutput | SearchRoutingProfilesCommandOutput | SearchSecurityProfilesCommandOutput | SearchUsersCommandOutput | SearchVocabulariesCommandOutput | StartChatContactCommandOutput | StartContactEvaluationCommandOutput | StartContactRecordingCommandOutput | StartContactStreamingCommandOutput | StartOutboundVoiceContactCommandOutput | StartTaskContactCommandOutput | StopContactCommandOutput | StopContactRecordingCommandOutput | StopContactStreamingCommandOutput | SubmitContactEvaluationCommandOutput | SuspendContactRecordingCommandOutput | TagResourceCommandOutput | TransferContactCommandOutput | UntagResourceCommandOutput | UpdateAgentStatusCommandOutput | UpdateContactAttributesCommandOutput | UpdateContactCommandOutput | UpdateContactEvaluationCommandOutput | UpdateContactFlowContentCommandOutput | UpdateContactFlowMetadataCommandOutput | UpdateContactFlowModuleContentCommandOutput | UpdateContactFlowModuleMetadataCommandOutput | UpdateContactFlowNameCommandOutput | UpdateContactScheduleCommandOutput | UpdateEvaluationFormCommandOutput | UpdateHoursOfOperationCommandOutput | UpdateInstanceAttributeCommandOutput | UpdateInstanceStorageConfigCommandOutput | UpdateParticipantRoleConfigCommandOutput | UpdatePhoneNumberCommandOutput | UpdatePromptCommandOutput | UpdateQueueHoursOfOperationCommandOutput | UpdateQueueMaxContactsCommandOutput | UpdateQueueNameCommandOutput | UpdateQueueOutboundCallerConfigCommandOutput | UpdateQueueStatusCommandOutput | UpdateQuickConnectConfigCommandOutput | UpdateQuickConnectNameCommandOutput | UpdateRoutingProfileAgentAvailabilityTimerCommandOutput | UpdateRoutingProfileConcurrencyCommandOutput | UpdateRoutingProfileDefaultOutboundQueueCommandOutput | UpdateRoutingProfileNameCommandOutput | UpdateRoutingProfileQueuesCommandOutput | UpdateRuleCommandOutput | UpdateSecurityProfileCommandOutput | UpdateTaskTemplateCommandOutput | UpdateTrafficDistributionCommandOutput | UpdateUserHierarchyCommandOutput | UpdateUserHierarchyGroupNameCommandOutput | UpdateUserHierarchyStructureCommandOutput | UpdateUserIdentityInfoCommandOutput | UpdateUserPhoneConfigCommandOutput | UpdateUserRoutingProfileCommandOutput | UpdateUserSecurityProfilesCommandOutput | UpdateViewContentCommandOutput | UpdateViewMetadataCommandOutput;
|
|
222
231
|
/**
|
|
223
232
|
* @public
|
|
224
233
|
*/
|
|
@@ -26,19 +26,26 @@ export interface CreateQueueCommandOutput extends CreateQueueResponse, __Metadat
|
|
|
26
26
|
* <p>This API is in preview release for Amazon Connect and is subject to change.</p>
|
|
27
27
|
* <p>Creates a new queue for the specified Amazon Connect instance.</p>
|
|
28
28
|
* <important>
|
|
29
|
-
* <
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
29
|
+
* <ul>
|
|
30
|
+
* <li>
|
|
31
|
+
* <p>If the phone number is claimed to a traffic distribution group that was created in the
|
|
32
|
+
* same Region as the Amazon Connect instance where you are calling this API, then you can use a
|
|
33
|
+
* full phone number ARN or a UUID for <code>OutboundCallerIdNumberId</code>. However, if the phone number is claimed
|
|
34
|
+
* to a traffic distribution group that is in one Region, and you are calling this API from an instance in another Amazon Web Services Region that is associated with the traffic distribution group, you must provide a full phone number ARN. If a
|
|
35
|
+
* UUID is provided in this scenario, you will receive a
|
|
36
|
+
* <code>ResourceNotFoundException</code>.</p>
|
|
37
|
+
* </li>
|
|
38
|
+
* <li>
|
|
39
|
+
* <p>Only use the phone number ARN format that doesn't contain <code>instance</code> in the
|
|
40
|
+
* path, for example, <code>arn:aws:connect:us-east-1:1234567890:phone-number/uuid</code>. This
|
|
41
|
+
* is the same ARN format that is returned when you call the <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_ListPhoneNumbersV2.html">ListPhoneNumbersV2</a>
|
|
42
|
+
* API.</p>
|
|
43
|
+
* </li>
|
|
44
|
+
* <li>
|
|
45
|
+
* <p>If you plan to use IAM policies to allow/deny access to this API for phone
|
|
46
|
+
* number resources claimed to a traffic distribution group, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/security_iam_resource-level-policy-examples.html#allow-deny-queue-actions-replica-region">Allow or Deny queue API actions for phone numbers in a replica Region</a>.</p>
|
|
47
|
+
* </li>
|
|
48
|
+
* </ul>
|
|
42
49
|
* </important>
|
|
43
50
|
* @example
|
|
44
51
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -24,6 +24,14 @@ export interface CreateTrafficDistributionGroupCommandOutput extends CreateTraff
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Creates a traffic distribution group given an Amazon Connect instance that has been replicated. </p>
|
|
27
|
+
* <note>
|
|
28
|
+
* <p>You can change the <code>SignInConfig</code> distribution only for a
|
|
29
|
+
* default <code>TrafficDistributionGroup</code> (see the <code>IsDefault</code> parameter in the
|
|
30
|
+
* <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_TrafficDistributionGroup.html">TrafficDistributionGroup</a>
|
|
31
|
+
* data type). If you call
|
|
32
|
+
* <code>UpdateTrafficDistribution</code> with a modified <code>SignInConfig</code> and a non-default <code>TrafficDistributionGroup</code>,
|
|
33
|
+
* an <code>InvalidRequestException</code> is returned.</p>
|
|
34
|
+
* </note>
|
|
27
35
|
* <p>For more information about creating traffic distribution groups, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/setup-traffic-distribution-groups.html">Set up traffic distribution groups</a> in
|
|
28
36
|
* the <i>Amazon Connect Administrator Guide</i>. </p>
|
|
29
37
|
* @example
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
5
|
+
import { CreateViewRequest, CreateViewResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateViewCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateViewCommandInput extends CreateViewRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateViewCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateViewCommandOutput extends CreateViewResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Creates a new view with the possible status of <code>SAVED</code> or <code>PUBLISHED</code>.</p>
|
|
27
|
+
* <p>The views will have a unique name for each connect instance.</p>
|
|
28
|
+
* <p>It performs basic content validation if the status is <code>SAVED</code> or full content validation if the status
|
|
29
|
+
* is set to <code>PUBLISHED</code>. An error is returned if validation fails. It associates either
|
|
30
|
+
* the <code>$SAVED</code> qualifier or both of the <code>$SAVED</code> and <code>$LATEST</code> qualifiers with the
|
|
31
|
+
* provided view content based on the status. The view is idempotent if ClientToken is provided.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { ConnectClient, CreateViewCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
36
|
+
* // const { ConnectClient, CreateViewCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
37
|
+
* const client = new ConnectClient(config);
|
|
38
|
+
* const input = { // CreateViewRequest
|
|
39
|
+
* InstanceId: "STRING_VALUE", // required
|
|
40
|
+
* ClientToken: "STRING_VALUE",
|
|
41
|
+
* Status: "PUBLISHED" || "SAVED", // required
|
|
42
|
+
* Content: { // ViewInputContent
|
|
43
|
+
* Template: "STRING_VALUE",
|
|
44
|
+
* Actions: [ // ViewActions
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
47
|
+
* },
|
|
48
|
+
* Description: "STRING_VALUE",
|
|
49
|
+
* Name: "STRING_VALUE", // required
|
|
50
|
+
* Tags: { // TagMap
|
|
51
|
+
* "<keys>": "STRING_VALUE",
|
|
52
|
+
* },
|
|
53
|
+
* };
|
|
54
|
+
* const command = new CreateViewCommand(input);
|
|
55
|
+
* const response = await client.send(command);
|
|
56
|
+
* // { // CreateViewResponse
|
|
57
|
+
* // View: { // View
|
|
58
|
+
* // Id: "STRING_VALUE",
|
|
59
|
+
* // Arn: "STRING_VALUE",
|
|
60
|
+
* // Name: "STRING_VALUE",
|
|
61
|
+
* // Status: "PUBLISHED" || "SAVED",
|
|
62
|
+
* // Type: "CUSTOMER_MANAGED" || "AWS_MANAGED",
|
|
63
|
+
* // Description: "STRING_VALUE",
|
|
64
|
+
* // Version: Number("int"),
|
|
65
|
+
* // VersionDescription: "STRING_VALUE",
|
|
66
|
+
* // Content: { // ViewContent
|
|
67
|
+
* // InputSchema: "STRING_VALUE",
|
|
68
|
+
* // Template: "STRING_VALUE",
|
|
69
|
+
* // Actions: [ // ViewActions
|
|
70
|
+
* // "STRING_VALUE",
|
|
71
|
+
* // ],
|
|
72
|
+
* // },
|
|
73
|
+
* // Tags: { // TagMap
|
|
74
|
+
* // "<keys>": "STRING_VALUE",
|
|
75
|
+
* // },
|
|
76
|
+
* // CreatedTime: new Date("TIMESTAMP"),
|
|
77
|
+
* // LastModifiedTime: new Date("TIMESTAMP"),
|
|
78
|
+
* // ViewContentSha256: "STRING_VALUE",
|
|
79
|
+
* // },
|
|
80
|
+
* // };
|
|
81
|
+
*
|
|
82
|
+
* ```
|
|
83
|
+
*
|
|
84
|
+
* @param CreateViewCommandInput - {@link CreateViewCommandInput}
|
|
85
|
+
* @returns {@link CreateViewCommandOutput}
|
|
86
|
+
* @see {@link CreateViewCommandInput} for command's `input` shape.
|
|
87
|
+
* @see {@link CreateViewCommandOutput} for command's `response` shape.
|
|
88
|
+
* @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
91
|
+
* <p>You do not have sufficient permissions to perform this action.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link DuplicateResourceException} (client fault)
|
|
94
|
+
* <p>A resource with the specified name already exists.</p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
97
|
+
* <p>Request processing failed because of an error or failure with the service.</p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
100
|
+
* <p>One or more of the specified parameters are not valid.</p>
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
103
|
+
* <p>The request is not valid.</p>
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link ResourceInUseException} (client fault)
|
|
106
|
+
* <p>That resource is already in use. Please try another.</p>
|
|
107
|
+
*
|
|
108
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
109
|
+
* <p>The specified resource was not found.</p>
|
|
110
|
+
*
|
|
111
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
112
|
+
* <p>The service quota has been exceeded.</p>
|
|
113
|
+
*
|
|
114
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
115
|
+
* <p>Displayed when rate-related API limits are exceeded.</p>
|
|
116
|
+
*
|
|
117
|
+
* @throws {@link ConnectServiceException}
|
|
118
|
+
* <p>Base exception class for all service exceptions from Connect service.</p>
|
|
119
|
+
*
|
|
120
|
+
*/
|
|
121
|
+
export declare class CreateViewCommand extends $Command<CreateViewCommandInput, CreateViewCommandOutput, ConnectClientResolvedConfig> {
|
|
122
|
+
readonly input: CreateViewCommandInput;
|
|
123
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
124
|
+
/**
|
|
125
|
+
* @public
|
|
126
|
+
*/
|
|
127
|
+
constructor(input: CreateViewCommandInput);
|
|
128
|
+
/**
|
|
129
|
+
* @internal
|
|
130
|
+
*/
|
|
131
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateViewCommandInput, CreateViewCommandOutput>;
|
|
132
|
+
/**
|
|
133
|
+
* @internal
|
|
134
|
+
*/
|
|
135
|
+
private serialize;
|
|
136
|
+
/**
|
|
137
|
+
* @internal
|
|
138
|
+
*/
|
|
139
|
+
private deserialize;
|
|
140
|
+
}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
5
|
+
import { CreateViewVersionRequest, CreateViewVersionResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateViewVersionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateViewVersionCommandInput extends CreateViewVersionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateViewVersionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateViewVersionCommandOutput extends CreateViewVersionResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Publishes a new version of the view identifier.</p>
|
|
27
|
+
* <p>Versions are immutable and monotonically increasing.</p>
|
|
28
|
+
* <p>It returns the highest version if there is no change in content compared to that version. An error
|
|
29
|
+
* is displayed if the supplied ViewContentSha256 is different from the ViewContentSha256 of the
|
|
30
|
+
* <code>$LATEST</code> alias.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ConnectClient, CreateViewVersionCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
35
|
+
* // const { ConnectClient, CreateViewVersionCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
36
|
+
* const client = new ConnectClient(config);
|
|
37
|
+
* const input = { // CreateViewVersionRequest
|
|
38
|
+
* InstanceId: "STRING_VALUE", // required
|
|
39
|
+
* ViewId: "STRING_VALUE", // required
|
|
40
|
+
* VersionDescription: "STRING_VALUE",
|
|
41
|
+
* ViewContentSha256: "STRING_VALUE",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new CreateViewVersionCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // CreateViewVersionResponse
|
|
46
|
+
* // View: { // View
|
|
47
|
+
* // Id: "STRING_VALUE",
|
|
48
|
+
* // Arn: "STRING_VALUE",
|
|
49
|
+
* // Name: "STRING_VALUE",
|
|
50
|
+
* // Status: "PUBLISHED" || "SAVED",
|
|
51
|
+
* // Type: "CUSTOMER_MANAGED" || "AWS_MANAGED",
|
|
52
|
+
* // Description: "STRING_VALUE",
|
|
53
|
+
* // Version: Number("int"),
|
|
54
|
+
* // VersionDescription: "STRING_VALUE",
|
|
55
|
+
* // Content: { // ViewContent
|
|
56
|
+
* // InputSchema: "STRING_VALUE",
|
|
57
|
+
* // Template: "STRING_VALUE",
|
|
58
|
+
* // Actions: [ // ViewActions
|
|
59
|
+
* // "STRING_VALUE",
|
|
60
|
+
* // ],
|
|
61
|
+
* // },
|
|
62
|
+
* // Tags: { // TagMap
|
|
63
|
+
* // "<keys>": "STRING_VALUE",
|
|
64
|
+
* // },
|
|
65
|
+
* // CreatedTime: new Date("TIMESTAMP"),
|
|
66
|
+
* // LastModifiedTime: new Date("TIMESTAMP"),
|
|
67
|
+
* // ViewContentSha256: "STRING_VALUE",
|
|
68
|
+
* // },
|
|
69
|
+
* // };
|
|
70
|
+
*
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* @param CreateViewVersionCommandInput - {@link CreateViewVersionCommandInput}
|
|
74
|
+
* @returns {@link CreateViewVersionCommandOutput}
|
|
75
|
+
* @see {@link CreateViewVersionCommandInput} for command's `input` shape.
|
|
76
|
+
* @see {@link CreateViewVersionCommandOutput} for command's `response` shape.
|
|
77
|
+
* @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
80
|
+
* <p>You do not have sufficient permissions to perform this action.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
83
|
+
* <p>Request processing failed because of an error or failure with the service.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
86
|
+
* <p>One or more of the specified parameters are not valid.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
89
|
+
* <p>The request is not valid.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ResourceInUseException} (client fault)
|
|
92
|
+
* <p>That resource is already in use. Please try another.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
95
|
+
* <p>The specified resource was not found.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
98
|
+
* <p>The service quota has been exceeded.</p>
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
101
|
+
* <p>Displayed when rate-related API limits are exceeded.</p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link ConnectServiceException}
|
|
104
|
+
* <p>Base exception class for all service exceptions from Connect service.</p>
|
|
105
|
+
*
|
|
106
|
+
*/
|
|
107
|
+
export declare class CreateViewVersionCommand extends $Command<CreateViewVersionCommandInput, CreateViewVersionCommandOutput, ConnectClientResolvedConfig> {
|
|
108
|
+
readonly input: CreateViewVersionCommandInput;
|
|
109
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
110
|
+
/**
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
constructor(input: CreateViewVersionCommandInput);
|
|
114
|
+
/**
|
|
115
|
+
* @internal
|
|
116
|
+
*/
|
|
117
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateViewVersionCommandInput, CreateViewVersionCommandOutput>;
|
|
118
|
+
/**
|
|
119
|
+
* @internal
|
|
120
|
+
*/
|
|
121
|
+
private serialize;
|
|
122
|
+
/**
|
|
123
|
+
* @internal
|
|
124
|
+
*/
|
|
125
|
+
private deserialize;
|
|
126
|
+
}
|