@aws-sdk/client-connect 3.972.0 → 3.975.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 +77 -0
- package/dist-cjs/index.js +548 -24
- package/dist-es/Connect.js +22 -0
- package/dist-es/commands/CreateTestCaseCommand.js +16 -0
- package/dist-es/commands/DeleteTestCaseCommand.js +16 -0
- package/dist-es/commands/DescribeTestCaseCommand.js +16 -0
- package/dist-es/commands/GetTestCaseExecutionSummaryCommand.js +16 -0
- package/dist-es/commands/ListTestCaseExecutionRecordsCommand.js +16 -0
- package/dist-es/commands/ListTestCaseExecutionsCommand.js +16 -0
- package/dist-es/commands/ListTestCasesCommand.js +16 -0
- package/dist-es/commands/SearchTestCasesCommand.js +16 -0
- package/dist-es/commands/StartTestCaseExecutionCommand.js +16 -0
- package/dist-es/commands/StopTestCaseExecutionCommand.js +16 -0
- package/dist-es/commands/UpdateTestCaseCommand.js +16 -0
- package/dist-es/commands/index.js +11 -0
- package/dist-es/models/enums.js +20 -0
- package/dist-es/models/errors.js +14 -0
- package/dist-es/pagination/ListTestCasesPaginator.js +4 -0
- package/dist-es/pagination/SearchTestCasesPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +307 -25
- package/dist-types/Connect.d.ts +77 -0
- package/dist-types/ConnectClient.d.ts +13 -2
- package/dist-types/commands/CreateTestCaseCommand.d.ts +127 -0
- package/dist-types/commands/CreateWorkspacePageCommand.d.ts +1 -1
- package/dist-types/commands/DeactivateEvaluationFormCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTestCaseCommand.d.ts +91 -0
- package/dist-types/commands/DescribeTestCaseCommand.d.ts +116 -0
- package/dist-types/commands/GetTestCaseExecutionSummaryCommand.d.ts +101 -0
- package/dist-types/commands/ListAnalyticsDataLakeDataSetsCommand.d.ts +2 -1
- package/dist-types/commands/ListApprovedOriginsCommand.d.ts +1 -1
- package/dist-types/commands/ListAssociatedContactsCommand.d.ts +1 -1
- package/dist-types/commands/ListAuthenticationProfilesCommand.d.ts +1 -1
- package/dist-types/commands/ListBotsCommand.d.ts +1 -1
- package/dist-types/commands/ListTestCaseExecutionRecordsCommand.d.ts +105 -0
- package/dist-types/commands/ListTestCaseExecutionsCommand.d.ts +111 -0
- package/dist-types/commands/ListTestCasesCommand.d.ts +104 -0
- package/dist-types/commands/SearchTestCasesCommand.d.ts +167 -0
- package/dist-types/commands/SendChatIntegrationEventCommand.d.ts +1 -1
- package/dist-types/commands/SendOutboundEmailCommand.d.ts +1 -1
- package/dist-types/commands/StartAttachedFileUploadCommand.d.ts +1 -1
- package/dist-types/commands/StartChatContactCommand.d.ts +1 -2
- package/dist-types/commands/StartTestCaseExecutionCommand.d.ts +99 -0
- package/dist-types/commands/StopTestCaseExecutionCommand.d.ts +93 -0
- package/dist-types/commands/UpdateTestCaseCommand.d.ts +112 -0
- package/dist-types/commands/index.d.ts +11 -0
- package/dist-types/models/enums.d.ts +52 -0
- package/dist-types/models/errors.d.ts +17 -0
- package/dist-types/models/models_0.d.ts +113 -84
- package/dist-types/models/models_1.d.ts +267 -282
- package/dist-types/models/models_2.d.ts +578 -599
- package/dist-types/models/models_3.d.ts +774 -3
- package/dist-types/pagination/ListTestCasesPaginator.d.ts +7 -0
- package/dist-types/pagination/SearchTestCasesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +43 -0
- package/dist-types/ts3.4/Connect.d.ts +187 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +66 -0
- package/dist-types/ts3.4/commands/CreateTestCaseCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateWorkspacePageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeactivateEvaluationFormCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteTestCaseCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DescribeTestCaseCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetTestCaseExecutionSummaryCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAnalyticsDataLakeDataSetsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListApprovedOriginsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAssociatedContactsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAuthenticationProfilesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListBotsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTestCaseExecutionRecordsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTestCaseExecutionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTestCasesCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/SearchTestCasesCommand.d.ts +48 -0
- package/dist-types/ts3.4/commands/SendChatIntegrationEventCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SendOutboundEmailCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartAttachedFileUploadCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartChatContactCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/StartTestCaseExecutionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StopTestCaseExecutionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateTestCaseCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +11 -0
- package/dist-types/ts3.4/models/enums.d.ts +28 -0
- package/dist-types/ts3.4/models/errors.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +28 -19
- package/dist-types/ts3.4/models/models_1.d.ts +65 -67
- package/dist-types/ts3.4/models/models_2.d.ts +137 -121
- package/dist-types/ts3.4/models/models_3.d.ts +167 -10
- package/dist-types/ts3.4/pagination/ListTestCasesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/SearchTestCasesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +43 -0
- package/package.json +17 -17
package/dist-es/Connect.js
CHANGED
|
@@ -56,6 +56,7 @@ import { CreateRoutingProfileCommand, } from "./commands/CreateRoutingProfileCom
|
|
|
56
56
|
import { CreateRuleCommand } from "./commands/CreateRuleCommand";
|
|
57
57
|
import { CreateSecurityProfileCommand, } from "./commands/CreateSecurityProfileCommand";
|
|
58
58
|
import { CreateTaskTemplateCommand, } from "./commands/CreateTaskTemplateCommand";
|
|
59
|
+
import { CreateTestCaseCommand, } from "./commands/CreateTestCaseCommand";
|
|
59
60
|
import { CreateTrafficDistributionGroupCommand, } from "./commands/CreateTrafficDistributionGroupCommand";
|
|
60
61
|
import { CreateUseCaseCommand, } from "./commands/CreateUseCaseCommand";
|
|
61
62
|
import { CreateUserCommand } from "./commands/CreateUserCommand";
|
|
@@ -90,6 +91,7 @@ import { DeleteRoutingProfileCommand, } from "./commands/DeleteRoutingProfileCom
|
|
|
90
91
|
import { DeleteRuleCommand } from "./commands/DeleteRuleCommand";
|
|
91
92
|
import { DeleteSecurityProfileCommand, } from "./commands/DeleteSecurityProfileCommand";
|
|
92
93
|
import { DeleteTaskTemplateCommand, } from "./commands/DeleteTaskTemplateCommand";
|
|
94
|
+
import { DeleteTestCaseCommand, } from "./commands/DeleteTestCaseCommand";
|
|
93
95
|
import { DeleteTrafficDistributionGroupCommand, } from "./commands/DeleteTrafficDistributionGroupCommand";
|
|
94
96
|
import { DeleteUseCaseCommand, } from "./commands/DeleteUseCaseCommand";
|
|
95
97
|
import { DeleteUserCommand } from "./commands/DeleteUserCommand";
|
|
@@ -124,6 +126,7 @@ import { DescribeQuickConnectCommand, } from "./commands/DescribeQuickConnectCom
|
|
|
124
126
|
import { DescribeRoutingProfileCommand, } from "./commands/DescribeRoutingProfileCommand";
|
|
125
127
|
import { DescribeRuleCommand, } from "./commands/DescribeRuleCommand";
|
|
126
128
|
import { DescribeSecurityProfileCommand, } from "./commands/DescribeSecurityProfileCommand";
|
|
129
|
+
import { DescribeTestCaseCommand, } from "./commands/DescribeTestCaseCommand";
|
|
127
130
|
import { DescribeTrafficDistributionGroupCommand, } from "./commands/DescribeTrafficDistributionGroupCommand";
|
|
128
131
|
import { DescribeUserCommand, } from "./commands/DescribeUserCommand";
|
|
129
132
|
import { DescribeUserHierarchyGroupCommand, } from "./commands/DescribeUserHierarchyGroupCommand";
|
|
@@ -162,6 +165,7 @@ import { GetMetricDataCommand, } from "./commands/GetMetricDataCommand";
|
|
|
162
165
|
import { GetMetricDataV2Command, } from "./commands/GetMetricDataV2Command";
|
|
163
166
|
import { GetPromptFileCommand, } from "./commands/GetPromptFileCommand";
|
|
164
167
|
import { GetTaskTemplateCommand, } from "./commands/GetTaskTemplateCommand";
|
|
168
|
+
import { GetTestCaseExecutionSummaryCommand, } from "./commands/GetTestCaseExecutionSummaryCommand";
|
|
165
169
|
import { GetTrafficDistributionCommand, } from "./commands/GetTrafficDistributionCommand";
|
|
166
170
|
import { ImportPhoneNumberCommand, } from "./commands/ImportPhoneNumberCommand";
|
|
167
171
|
import { ImportWorkspaceMediaCommand, } from "./commands/ImportWorkspaceMediaCommand";
|
|
@@ -216,6 +220,9 @@ import { ListSecurityProfilePermissionsCommand, } from "./commands/ListSecurityP
|
|
|
216
220
|
import { ListSecurityProfilesCommand, } from "./commands/ListSecurityProfilesCommand";
|
|
217
221
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
218
222
|
import { ListTaskTemplatesCommand, } from "./commands/ListTaskTemplatesCommand";
|
|
223
|
+
import { ListTestCaseExecutionRecordsCommand, } from "./commands/ListTestCaseExecutionRecordsCommand";
|
|
224
|
+
import { ListTestCaseExecutionsCommand, } from "./commands/ListTestCaseExecutionsCommand";
|
|
225
|
+
import { ListTestCasesCommand, } from "./commands/ListTestCasesCommand";
|
|
219
226
|
import { ListTrafficDistributionGroupsCommand, } from "./commands/ListTrafficDistributionGroupsCommand";
|
|
220
227
|
import { ListTrafficDistributionGroupUsersCommand, } from "./commands/ListTrafficDistributionGroupUsersCommand";
|
|
221
228
|
import { ListUseCasesCommand, } from "./commands/ListUseCasesCommand";
|
|
@@ -252,6 +259,7 @@ import { SearchQuickConnectsCommand, } from "./commands/SearchQuickConnectsComma
|
|
|
252
259
|
import { SearchResourceTagsCommand, } from "./commands/SearchResourceTagsCommand";
|
|
253
260
|
import { SearchRoutingProfilesCommand, } from "./commands/SearchRoutingProfilesCommand";
|
|
254
261
|
import { SearchSecurityProfilesCommand, } from "./commands/SearchSecurityProfilesCommand";
|
|
262
|
+
import { SearchTestCasesCommand, } from "./commands/SearchTestCasesCommand";
|
|
255
263
|
import { SearchUserHierarchyGroupsCommand, } from "./commands/SearchUserHierarchyGroupsCommand";
|
|
256
264
|
import { SearchUsersCommand } from "./commands/SearchUsersCommand";
|
|
257
265
|
import { SearchViewsCommand } from "./commands/SearchViewsCommand";
|
|
@@ -272,11 +280,13 @@ import { StartOutboundEmailContactCommand, } from "./commands/StartOutboundEmail
|
|
|
272
280
|
import { StartOutboundVoiceContactCommand, } from "./commands/StartOutboundVoiceContactCommand";
|
|
273
281
|
import { StartScreenSharingCommand, } from "./commands/StartScreenSharingCommand";
|
|
274
282
|
import { StartTaskContactCommand, } from "./commands/StartTaskContactCommand";
|
|
283
|
+
import { StartTestCaseExecutionCommand, } from "./commands/StartTestCaseExecutionCommand";
|
|
275
284
|
import { StartWebRTCContactCommand, } from "./commands/StartWebRTCContactCommand";
|
|
276
285
|
import { StopContactCommand } from "./commands/StopContactCommand";
|
|
277
286
|
import { StopContactMediaProcessingCommand, } from "./commands/StopContactMediaProcessingCommand";
|
|
278
287
|
import { StopContactRecordingCommand, } from "./commands/StopContactRecordingCommand";
|
|
279
288
|
import { StopContactStreamingCommand, } from "./commands/StopContactStreamingCommand";
|
|
289
|
+
import { StopTestCaseExecutionCommand, } from "./commands/StopTestCaseExecutionCommand";
|
|
280
290
|
import { SubmitContactEvaluationCommand, } from "./commands/SubmitContactEvaluationCommand";
|
|
281
291
|
import { SuspendContactRecordingCommand, } from "./commands/SuspendContactRecordingCommand";
|
|
282
292
|
import { TagContactCommand } from "./commands/TagContactCommand";
|
|
@@ -328,6 +338,7 @@ import { UpdateRoutingProfileQueuesCommand, } from "./commands/UpdateRoutingProf
|
|
|
328
338
|
import { UpdateRuleCommand } from "./commands/UpdateRuleCommand";
|
|
329
339
|
import { UpdateSecurityProfileCommand, } from "./commands/UpdateSecurityProfileCommand";
|
|
330
340
|
import { UpdateTaskTemplateCommand, } from "./commands/UpdateTaskTemplateCommand";
|
|
341
|
+
import { UpdateTestCaseCommand, } from "./commands/UpdateTestCaseCommand";
|
|
331
342
|
import { UpdateTrafficDistributionCommand, } from "./commands/UpdateTrafficDistributionCommand";
|
|
332
343
|
import { UpdateUserHierarchyCommand, } from "./commands/UpdateUserHierarchyCommand";
|
|
333
344
|
import { UpdateUserHierarchyGroupNameCommand, } from "./commands/UpdateUserHierarchyGroupNameCommand";
|
|
@@ -402,6 +413,7 @@ const commands = {
|
|
|
402
413
|
CreateRuleCommand,
|
|
403
414
|
CreateSecurityProfileCommand,
|
|
404
415
|
CreateTaskTemplateCommand,
|
|
416
|
+
CreateTestCaseCommand,
|
|
405
417
|
CreateTrafficDistributionGroupCommand,
|
|
406
418
|
CreateUseCaseCommand,
|
|
407
419
|
CreateUserCommand,
|
|
@@ -436,6 +448,7 @@ const commands = {
|
|
|
436
448
|
DeleteRuleCommand,
|
|
437
449
|
DeleteSecurityProfileCommand,
|
|
438
450
|
DeleteTaskTemplateCommand,
|
|
451
|
+
DeleteTestCaseCommand,
|
|
439
452
|
DeleteTrafficDistributionGroupCommand,
|
|
440
453
|
DeleteUseCaseCommand,
|
|
441
454
|
DeleteUserCommand,
|
|
@@ -470,6 +483,7 @@ const commands = {
|
|
|
470
483
|
DescribeRoutingProfileCommand,
|
|
471
484
|
DescribeRuleCommand,
|
|
472
485
|
DescribeSecurityProfileCommand,
|
|
486
|
+
DescribeTestCaseCommand,
|
|
473
487
|
DescribeTrafficDistributionGroupCommand,
|
|
474
488
|
DescribeUserCommand,
|
|
475
489
|
DescribeUserHierarchyGroupCommand,
|
|
@@ -508,6 +522,7 @@ const commands = {
|
|
|
508
522
|
GetMetricDataV2Command,
|
|
509
523
|
GetPromptFileCommand,
|
|
510
524
|
GetTaskTemplateCommand,
|
|
525
|
+
GetTestCaseExecutionSummaryCommand,
|
|
511
526
|
GetTrafficDistributionCommand,
|
|
512
527
|
ImportPhoneNumberCommand,
|
|
513
528
|
ImportWorkspaceMediaCommand,
|
|
@@ -562,6 +577,9 @@ const commands = {
|
|
|
562
577
|
ListSecurityProfilesCommand,
|
|
563
578
|
ListTagsForResourceCommand,
|
|
564
579
|
ListTaskTemplatesCommand,
|
|
580
|
+
ListTestCaseExecutionRecordsCommand,
|
|
581
|
+
ListTestCaseExecutionsCommand,
|
|
582
|
+
ListTestCasesCommand,
|
|
565
583
|
ListTrafficDistributionGroupsCommand,
|
|
566
584
|
ListTrafficDistributionGroupUsersCommand,
|
|
567
585
|
ListUseCasesCommand,
|
|
@@ -598,6 +616,7 @@ const commands = {
|
|
|
598
616
|
SearchResourceTagsCommand,
|
|
599
617
|
SearchRoutingProfilesCommand,
|
|
600
618
|
SearchSecurityProfilesCommand,
|
|
619
|
+
SearchTestCasesCommand,
|
|
601
620
|
SearchUserHierarchyGroupsCommand,
|
|
602
621
|
SearchUsersCommand,
|
|
603
622
|
SearchViewsCommand,
|
|
@@ -618,11 +637,13 @@ const commands = {
|
|
|
618
637
|
StartOutboundVoiceContactCommand,
|
|
619
638
|
StartScreenSharingCommand,
|
|
620
639
|
StartTaskContactCommand,
|
|
640
|
+
StartTestCaseExecutionCommand,
|
|
621
641
|
StartWebRTCContactCommand,
|
|
622
642
|
StopContactCommand,
|
|
623
643
|
StopContactMediaProcessingCommand,
|
|
624
644
|
StopContactRecordingCommand,
|
|
625
645
|
StopContactStreamingCommand,
|
|
646
|
+
StopTestCaseExecutionCommand,
|
|
626
647
|
SubmitContactEvaluationCommand,
|
|
627
648
|
SuspendContactRecordingCommand,
|
|
628
649
|
TagContactCommand,
|
|
@@ -674,6 +695,7 @@ const commands = {
|
|
|
674
695
|
UpdateRuleCommand,
|
|
675
696
|
UpdateSecurityProfileCommand,
|
|
676
697
|
UpdateTaskTemplateCommand,
|
|
698
|
+
UpdateTestCaseCommand,
|
|
677
699
|
UpdateTrafficDistributionCommand,
|
|
678
700
|
UpdateUserHierarchyCommand,
|
|
679
701
|
UpdateUserHierarchyGroupNameCommand,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { CreateTestCase$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class CreateTestCaseCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonConnectService", "CreateTestCase", {})
|
|
13
|
+
.n("ConnectClient", "CreateTestCaseCommand")
|
|
14
|
+
.sc(CreateTestCase$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { DeleteTestCase$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeleteTestCaseCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonConnectService", "DeleteTestCase", {})
|
|
13
|
+
.n("ConnectClient", "DeleteTestCaseCommand")
|
|
14
|
+
.sc(DeleteTestCase$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { DescribeTestCase$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DescribeTestCaseCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonConnectService", "DescribeTestCase", {})
|
|
13
|
+
.n("ConnectClient", "DescribeTestCaseCommand")
|
|
14
|
+
.sc(DescribeTestCase$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetTestCaseExecutionSummary$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class GetTestCaseExecutionSummaryCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonConnectService", "GetTestCaseExecutionSummary", {})
|
|
13
|
+
.n("ConnectClient", "GetTestCaseExecutionSummaryCommand")
|
|
14
|
+
.sc(GetTestCaseExecutionSummary$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ListTestCaseExecutionRecords$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListTestCaseExecutionRecordsCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonConnectService", "ListTestCaseExecutionRecords", {})
|
|
13
|
+
.n("ConnectClient", "ListTestCaseExecutionRecordsCommand")
|
|
14
|
+
.sc(ListTestCaseExecutionRecords$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ListTestCaseExecutions$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListTestCaseExecutionsCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonConnectService", "ListTestCaseExecutions", {})
|
|
13
|
+
.n("ConnectClient", "ListTestCaseExecutionsCommand")
|
|
14
|
+
.sc(ListTestCaseExecutions$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ListTestCases$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListTestCasesCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonConnectService", "ListTestCases", {})
|
|
13
|
+
.n("ConnectClient", "ListTestCasesCommand")
|
|
14
|
+
.sc(ListTestCases$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { SearchTestCases$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class SearchTestCasesCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonConnectService", "SearchTestCases", {})
|
|
13
|
+
.n("ConnectClient", "SearchTestCasesCommand")
|
|
14
|
+
.sc(SearchTestCases$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { StartTestCaseExecution$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class StartTestCaseExecutionCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonConnectService", "StartTestCaseExecution", {})
|
|
13
|
+
.n("ConnectClient", "StartTestCaseExecutionCommand")
|
|
14
|
+
.sc(StartTestCaseExecution$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { StopTestCaseExecution$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class StopTestCaseExecutionCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonConnectService", "StopTestCaseExecution", {})
|
|
13
|
+
.n("ConnectClient", "StopTestCaseExecutionCommand")
|
|
14
|
+
.sc(StopTestCaseExecution$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { UpdateTestCase$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class UpdateTestCaseCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonConnectService", "UpdateTestCase", {})
|
|
13
|
+
.n("ConnectClient", "UpdateTestCaseCommand")
|
|
14
|
+
.sc(UpdateTestCase$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -55,6 +55,7 @@ export * from "./CreateRoutingProfileCommand";
|
|
|
55
55
|
export * from "./CreateRuleCommand";
|
|
56
56
|
export * from "./CreateSecurityProfileCommand";
|
|
57
57
|
export * from "./CreateTaskTemplateCommand";
|
|
58
|
+
export * from "./CreateTestCaseCommand";
|
|
58
59
|
export * from "./CreateTrafficDistributionGroupCommand";
|
|
59
60
|
export * from "./CreateUseCaseCommand";
|
|
60
61
|
export * from "./CreateUserCommand";
|
|
@@ -89,6 +90,7 @@ export * from "./DeleteRoutingProfileCommand";
|
|
|
89
90
|
export * from "./DeleteRuleCommand";
|
|
90
91
|
export * from "./DeleteSecurityProfileCommand";
|
|
91
92
|
export * from "./DeleteTaskTemplateCommand";
|
|
93
|
+
export * from "./DeleteTestCaseCommand";
|
|
92
94
|
export * from "./DeleteTrafficDistributionGroupCommand";
|
|
93
95
|
export * from "./DeleteUseCaseCommand";
|
|
94
96
|
export * from "./DeleteUserCommand";
|
|
@@ -123,6 +125,7 @@ export * from "./DescribeQuickConnectCommand";
|
|
|
123
125
|
export * from "./DescribeRoutingProfileCommand";
|
|
124
126
|
export * from "./DescribeRuleCommand";
|
|
125
127
|
export * from "./DescribeSecurityProfileCommand";
|
|
128
|
+
export * from "./DescribeTestCaseCommand";
|
|
126
129
|
export * from "./DescribeTrafficDistributionGroupCommand";
|
|
127
130
|
export * from "./DescribeUserCommand";
|
|
128
131
|
export * from "./DescribeUserHierarchyGroupCommand";
|
|
@@ -161,6 +164,7 @@ export * from "./GetMetricDataCommand";
|
|
|
161
164
|
export * from "./GetMetricDataV2Command";
|
|
162
165
|
export * from "./GetPromptFileCommand";
|
|
163
166
|
export * from "./GetTaskTemplateCommand";
|
|
167
|
+
export * from "./GetTestCaseExecutionSummaryCommand";
|
|
164
168
|
export * from "./GetTrafficDistributionCommand";
|
|
165
169
|
export * from "./ImportPhoneNumberCommand";
|
|
166
170
|
export * from "./ImportWorkspaceMediaCommand";
|
|
@@ -215,6 +219,9 @@ export * from "./ListSecurityProfilePermissionsCommand";
|
|
|
215
219
|
export * from "./ListSecurityProfilesCommand";
|
|
216
220
|
export * from "./ListTagsForResourceCommand";
|
|
217
221
|
export * from "./ListTaskTemplatesCommand";
|
|
222
|
+
export * from "./ListTestCaseExecutionRecordsCommand";
|
|
223
|
+
export * from "./ListTestCaseExecutionsCommand";
|
|
224
|
+
export * from "./ListTestCasesCommand";
|
|
218
225
|
export * from "./ListTrafficDistributionGroupUsersCommand";
|
|
219
226
|
export * from "./ListTrafficDistributionGroupsCommand";
|
|
220
227
|
export * from "./ListUseCasesCommand";
|
|
@@ -251,6 +258,7 @@ export * from "./SearchQuickConnectsCommand";
|
|
|
251
258
|
export * from "./SearchResourceTagsCommand";
|
|
252
259
|
export * from "./SearchRoutingProfilesCommand";
|
|
253
260
|
export * from "./SearchSecurityProfilesCommand";
|
|
261
|
+
export * from "./SearchTestCasesCommand";
|
|
254
262
|
export * from "./SearchUserHierarchyGroupsCommand";
|
|
255
263
|
export * from "./SearchUsersCommand";
|
|
256
264
|
export * from "./SearchViewsCommand";
|
|
@@ -271,11 +279,13 @@ export * from "./StartOutboundEmailContactCommand";
|
|
|
271
279
|
export * from "./StartOutboundVoiceContactCommand";
|
|
272
280
|
export * from "./StartScreenSharingCommand";
|
|
273
281
|
export * from "./StartTaskContactCommand";
|
|
282
|
+
export * from "./StartTestCaseExecutionCommand";
|
|
274
283
|
export * from "./StartWebRTCContactCommand";
|
|
275
284
|
export * from "./StopContactCommand";
|
|
276
285
|
export * from "./StopContactMediaProcessingCommand";
|
|
277
286
|
export * from "./StopContactRecordingCommand";
|
|
278
287
|
export * from "./StopContactStreamingCommand";
|
|
288
|
+
export * from "./StopTestCaseExecutionCommand";
|
|
279
289
|
export * from "./SubmitContactEvaluationCommand";
|
|
280
290
|
export * from "./SuspendContactRecordingCommand";
|
|
281
291
|
export * from "./TagContactCommand";
|
|
@@ -327,6 +337,7 @@ export * from "./UpdateRoutingProfileQueuesCommand";
|
|
|
327
337
|
export * from "./UpdateRuleCommand";
|
|
328
338
|
export * from "./UpdateSecurityProfileCommand";
|
|
329
339
|
export * from "./UpdateTaskTemplateCommand";
|
|
340
|
+
export * from "./UpdateTestCaseCommand";
|
|
330
341
|
export * from "./UpdateTrafficDistributionCommand";
|
|
331
342
|
export * from "./UpdateUserHierarchyCommand";
|
|
332
343
|
export * from "./UpdateUserHierarchyGroupNameCommand";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -491,6 +491,13 @@ export const PropertyValidationExceptionReason = {
|
|
|
491
491
|
RESOURCE_NAME_ALREADY_EXISTS: "RESOURCE_NAME_ALREADY_EXISTS",
|
|
492
492
|
UNIQUE_CONSTRAINT_VIOLATED: "UNIQUE_CONSTRAINT_VIOLATED",
|
|
493
493
|
};
|
|
494
|
+
export const TestCaseEntryPointType = {
|
|
495
|
+
VOICE_CALL: "VOICE_CALL",
|
|
496
|
+
};
|
|
497
|
+
export const TestCaseStatus = {
|
|
498
|
+
PUBLISHED: "PUBLISHED",
|
|
499
|
+
SAVED: "SAVED",
|
|
500
|
+
};
|
|
494
501
|
export const UseCaseType = {
|
|
495
502
|
CONNECT_CAMPAIGNS: "CONNECT_CAMPAIGNS",
|
|
496
503
|
RULES_EVALUATION: "RULES_EVALUATION",
|
|
@@ -1019,6 +1026,13 @@ export const IntervalPeriod = {
|
|
|
1019
1026
|
TOTAL: "TOTAL",
|
|
1020
1027
|
WEEK: "WEEK",
|
|
1021
1028
|
};
|
|
1029
|
+
export const TestCaseExecutionStatus = {
|
|
1030
|
+
FAILED: "FAILED",
|
|
1031
|
+
INITIATED: "INITIATED",
|
|
1032
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
1033
|
+
PASSED: "PASSED",
|
|
1034
|
+
STOPPED: "STOPPED",
|
|
1035
|
+
};
|
|
1022
1036
|
export const LexVersion = {
|
|
1023
1037
|
V1: "V1",
|
|
1024
1038
|
V2: "V2",
|
|
@@ -1069,6 +1083,12 @@ export const RealTimeContactAnalysisStatus = {
|
|
|
1069
1083
|
FAILED: "FAILED",
|
|
1070
1084
|
IN_PROGRESS: "IN_PROGRESS",
|
|
1071
1085
|
};
|
|
1086
|
+
export const ExecutionRecordStatus = {
|
|
1087
|
+
FAILED: "FAILED",
|
|
1088
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
1089
|
+
PASSED: "PASSED",
|
|
1090
|
+
STOPPED: "STOPPED",
|
|
1091
|
+
};
|
|
1072
1092
|
export const ContactRecordingType = {
|
|
1073
1093
|
AGENT: "AGENT",
|
|
1074
1094
|
IVR: "IVR",
|
package/dist-es/models/errors.js
CHANGED
|
@@ -229,6 +229,20 @@ export class PropertyValidationException extends __BaseException {
|
|
|
229
229
|
this.PropertyList = opts.PropertyList;
|
|
230
230
|
}
|
|
231
231
|
}
|
|
232
|
+
export class InvalidTestCaseException extends __BaseException {
|
|
233
|
+
name = "InvalidTestCaseException";
|
|
234
|
+
$fault = "client";
|
|
235
|
+
Problems;
|
|
236
|
+
constructor(opts) {
|
|
237
|
+
super({
|
|
238
|
+
name: "InvalidTestCaseException",
|
|
239
|
+
$fault: "client",
|
|
240
|
+
...opts,
|
|
241
|
+
});
|
|
242
|
+
Object.setPrototypeOf(this, InvalidTestCaseException.prototype);
|
|
243
|
+
this.Problems = opts.Problems;
|
|
244
|
+
}
|
|
245
|
+
}
|
|
232
246
|
export class ResourceNotReadyException extends __BaseException {
|
|
233
247
|
name = "ResourceNotReadyException";
|
|
234
248
|
$fault = "client";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListTestCasesCommand, } from "../commands/ListTestCasesCommand";
|
|
3
|
+
import { ConnectClient } from "../ConnectClient";
|
|
4
|
+
export const paginateListTestCases = createPaginator(ConnectClient, ListTestCasesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { SearchTestCasesCommand, } from "../commands/SearchTestCasesCommand";
|
|
3
|
+
import { ConnectClient } from "../ConnectClient";
|
|
4
|
+
export const paginateSearchTestCases = createPaginator(ConnectClient, SearchTestCasesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -51,6 +51,7 @@ export * from "./ListSecurityProfileFlowModulesPaginator";
|
|
|
51
51
|
export * from "./ListSecurityProfilePermissionsPaginator";
|
|
52
52
|
export * from "./ListSecurityProfilesPaginator";
|
|
53
53
|
export * from "./ListTaskTemplatesPaginator";
|
|
54
|
+
export * from "./ListTestCasesPaginator";
|
|
54
55
|
export * from "./ListTrafficDistributionGroupsPaginator";
|
|
55
56
|
export * from "./ListTrafficDistributionGroupUsersPaginator";
|
|
56
57
|
export * from "./ListUseCasesPaginator";
|
|
@@ -76,6 +77,7 @@ export * from "./SearchQuickConnectsPaginator";
|
|
|
76
77
|
export * from "./SearchResourceTagsPaginator";
|
|
77
78
|
export * from "./SearchRoutingProfilesPaginator";
|
|
78
79
|
export * from "./SearchSecurityProfilesPaginator";
|
|
80
|
+
export * from "./SearchTestCasesPaginator";
|
|
79
81
|
export * from "./SearchUserHierarchyGroupsPaginator";
|
|
80
82
|
export * from "./SearchUsersPaginator";
|
|
81
83
|
export * from "./SearchViewsPaginator";
|