@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.
Files changed (92) hide show
  1. package/README.md +77 -0
  2. package/dist-cjs/index.js +548 -24
  3. package/dist-es/Connect.js +22 -0
  4. package/dist-es/commands/CreateTestCaseCommand.js +16 -0
  5. package/dist-es/commands/DeleteTestCaseCommand.js +16 -0
  6. package/dist-es/commands/DescribeTestCaseCommand.js +16 -0
  7. package/dist-es/commands/GetTestCaseExecutionSummaryCommand.js +16 -0
  8. package/dist-es/commands/ListTestCaseExecutionRecordsCommand.js +16 -0
  9. package/dist-es/commands/ListTestCaseExecutionsCommand.js +16 -0
  10. package/dist-es/commands/ListTestCasesCommand.js +16 -0
  11. package/dist-es/commands/SearchTestCasesCommand.js +16 -0
  12. package/dist-es/commands/StartTestCaseExecutionCommand.js +16 -0
  13. package/dist-es/commands/StopTestCaseExecutionCommand.js +16 -0
  14. package/dist-es/commands/UpdateTestCaseCommand.js +16 -0
  15. package/dist-es/commands/index.js +11 -0
  16. package/dist-es/models/enums.js +20 -0
  17. package/dist-es/models/errors.js +14 -0
  18. package/dist-es/pagination/ListTestCasesPaginator.js +4 -0
  19. package/dist-es/pagination/SearchTestCasesPaginator.js +4 -0
  20. package/dist-es/pagination/index.js +2 -0
  21. package/dist-es/schemas/schemas_0.js +307 -25
  22. package/dist-types/Connect.d.ts +77 -0
  23. package/dist-types/ConnectClient.d.ts +13 -2
  24. package/dist-types/commands/CreateTestCaseCommand.d.ts +127 -0
  25. package/dist-types/commands/CreateWorkspacePageCommand.d.ts +1 -1
  26. package/dist-types/commands/DeactivateEvaluationFormCommand.d.ts +1 -1
  27. package/dist-types/commands/DeleteTestCaseCommand.d.ts +91 -0
  28. package/dist-types/commands/DescribeTestCaseCommand.d.ts +116 -0
  29. package/dist-types/commands/GetTestCaseExecutionSummaryCommand.d.ts +101 -0
  30. package/dist-types/commands/ListAnalyticsDataLakeDataSetsCommand.d.ts +2 -1
  31. package/dist-types/commands/ListApprovedOriginsCommand.d.ts +1 -1
  32. package/dist-types/commands/ListAssociatedContactsCommand.d.ts +1 -1
  33. package/dist-types/commands/ListAuthenticationProfilesCommand.d.ts +1 -1
  34. package/dist-types/commands/ListBotsCommand.d.ts +1 -1
  35. package/dist-types/commands/ListTestCaseExecutionRecordsCommand.d.ts +105 -0
  36. package/dist-types/commands/ListTestCaseExecutionsCommand.d.ts +111 -0
  37. package/dist-types/commands/ListTestCasesCommand.d.ts +104 -0
  38. package/dist-types/commands/SearchTestCasesCommand.d.ts +167 -0
  39. package/dist-types/commands/SendChatIntegrationEventCommand.d.ts +1 -1
  40. package/dist-types/commands/SendOutboundEmailCommand.d.ts +1 -1
  41. package/dist-types/commands/StartAttachedFileUploadCommand.d.ts +1 -1
  42. package/dist-types/commands/StartChatContactCommand.d.ts +1 -2
  43. package/dist-types/commands/StartTestCaseExecutionCommand.d.ts +99 -0
  44. package/dist-types/commands/StopTestCaseExecutionCommand.d.ts +93 -0
  45. package/dist-types/commands/UpdateTestCaseCommand.d.ts +112 -0
  46. package/dist-types/commands/index.d.ts +11 -0
  47. package/dist-types/models/enums.d.ts +52 -0
  48. package/dist-types/models/errors.d.ts +17 -0
  49. package/dist-types/models/models_0.d.ts +113 -84
  50. package/dist-types/models/models_1.d.ts +267 -282
  51. package/dist-types/models/models_2.d.ts +578 -599
  52. package/dist-types/models/models_3.d.ts +774 -3
  53. package/dist-types/pagination/ListTestCasesPaginator.d.ts +7 -0
  54. package/dist-types/pagination/SearchTestCasesPaginator.d.ts +7 -0
  55. package/dist-types/pagination/index.d.ts +2 -0
  56. package/dist-types/schemas/schemas_0.d.ts +43 -0
  57. package/dist-types/ts3.4/Connect.d.ts +187 -0
  58. package/dist-types/ts3.4/ConnectClient.d.ts +66 -0
  59. package/dist-types/ts3.4/commands/CreateTestCaseCommand.d.ts +50 -0
  60. package/dist-types/ts3.4/commands/CreateWorkspacePageCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/DeactivateEvaluationFormCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/DeleteTestCaseCommand.d.ts +50 -0
  63. package/dist-types/ts3.4/commands/DescribeTestCaseCommand.d.ts +50 -0
  64. package/dist-types/ts3.4/commands/GetTestCaseExecutionSummaryCommand.d.ts +51 -0
  65. package/dist-types/ts3.4/commands/ListAnalyticsDataLakeDataSetsCommand.d.ts +2 -4
  66. package/dist-types/ts3.4/commands/ListApprovedOriginsCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/ListAssociatedContactsCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/ListAuthenticationProfilesCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/ListBotsCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/ListTestCaseExecutionRecordsCommand.d.ts +51 -0
  71. package/dist-types/ts3.4/commands/ListTestCaseExecutionsCommand.d.ts +51 -0
  72. package/dist-types/ts3.4/commands/ListTestCasesCommand.d.ts +50 -0
  73. package/dist-types/ts3.4/commands/SearchTestCasesCommand.d.ts +48 -0
  74. package/dist-types/ts3.4/commands/SendChatIntegrationEventCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/SendOutboundEmailCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/StartAttachedFileUploadCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/StartChatContactCommand.d.ts +4 -2
  78. package/dist-types/ts3.4/commands/StartTestCaseExecutionCommand.d.ts +51 -0
  79. package/dist-types/ts3.4/commands/StopTestCaseExecutionCommand.d.ts +51 -0
  80. package/dist-types/ts3.4/commands/UpdateTestCaseCommand.d.ts +50 -0
  81. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  82. package/dist-types/ts3.4/models/enums.d.ts +28 -0
  83. package/dist-types/ts3.4/models/errors.d.ts +8 -0
  84. package/dist-types/ts3.4/models/models_0.d.ts +28 -19
  85. package/dist-types/ts3.4/models/models_1.d.ts +65 -67
  86. package/dist-types/ts3.4/models/models_2.d.ts +137 -121
  87. package/dist-types/ts3.4/models/models_3.d.ts +167 -10
  88. package/dist-types/ts3.4/pagination/ListTestCasesPaginator.d.ts +11 -0
  89. package/dist-types/ts3.4/pagination/SearchTestCasesPaginator.d.ts +11 -0
  90. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  91. package/dist-types/ts3.4/schemas/schemas_0.d.ts +43 -0
  92. package/package.json +17 -17
@@ -0,0 +1,91 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
+ import type { DeleteTestCaseRequest, DeleteTestCaseResponse } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteTestCaseCommand}.
14
+ */
15
+ export interface DeleteTestCaseCommandInput extends DeleteTestCaseRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteTestCaseCommand}.
21
+ */
22
+ export interface DeleteTestCaseCommandOutput extends DeleteTestCaseResponse, __MetadataBearer {
23
+ }
24
+ declare const DeleteTestCaseCommand_base: {
25
+ new (input: DeleteTestCaseCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteTestCaseCommandInput, DeleteTestCaseCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteTestCaseCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteTestCaseCommandInput, DeleteTestCaseCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes the test case that has already been created for the specified Amazon Connect instance.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ConnectClient, DeleteTestCaseCommand } from "@aws-sdk/client-connect"; // ES Modules import
35
+ * // const { ConnectClient, DeleteTestCaseCommand } = require("@aws-sdk/client-connect"); // CommonJS import
36
+ * // import type { ConnectClientConfig } from "@aws-sdk/client-connect";
37
+ * const config = {}; // type is ConnectClientConfig
38
+ * const client = new ConnectClient(config);
39
+ * const input = { // DeleteTestCaseRequest
40
+ * InstanceId: "STRING_VALUE", // required
41
+ * TestCaseId: "STRING_VALUE", // required
42
+ * };
43
+ * const command = new DeleteTestCaseCommand(input);
44
+ * const response = await client.send(command);
45
+ * // {};
46
+ *
47
+ * ```
48
+ *
49
+ * @param DeleteTestCaseCommandInput - {@link DeleteTestCaseCommandInput}
50
+ * @returns {@link DeleteTestCaseCommandOutput}
51
+ * @see {@link DeleteTestCaseCommandInput} for command's `input` shape.
52
+ * @see {@link DeleteTestCaseCommandOutput} for command's `response` shape.
53
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
54
+ *
55
+ * @throws {@link AccessDeniedException} (client fault)
56
+ * <p>You do not have sufficient permissions to perform this action.</p>
57
+ *
58
+ * @throws {@link InternalServiceException} (server fault)
59
+ * <p>Request processing failed because of an error or failure with the service.</p>
60
+ *
61
+ * @throws {@link InvalidParameterException} (client fault)
62
+ * <p>One or more of the specified parameters are not valid.</p>
63
+ *
64
+ * @throws {@link InvalidRequestException} (client fault)
65
+ * <p>The request is not valid.</p>
66
+ *
67
+ * @throws {@link ResourceNotFoundException} (client fault)
68
+ * <p>The specified resource was not found.</p>
69
+ *
70
+ * @throws {@link ThrottlingException} (client fault)
71
+ * <p>The throttling limit has been exceeded.</p>
72
+ *
73
+ * @throws {@link ConnectServiceException}
74
+ * <p>Base exception class for all service exceptions from Connect service.</p>
75
+ *
76
+ *
77
+ * @public
78
+ */
79
+ export declare class DeleteTestCaseCommand extends DeleteTestCaseCommand_base {
80
+ /** @internal type navigation helper, not in runtime. */
81
+ protected static __types: {
82
+ api: {
83
+ input: DeleteTestCaseRequest;
84
+ output: {};
85
+ };
86
+ sdk: {
87
+ input: DeleteTestCaseCommandInput;
88
+ output: DeleteTestCaseCommandOutput;
89
+ };
90
+ };
91
+ }
@@ -0,0 +1,116 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
+ import type { DescribeTestCaseRequest, DescribeTestCaseResponse } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeTestCaseCommand}.
14
+ */
15
+ export interface DescribeTestCaseCommandInput extends DescribeTestCaseRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeTestCaseCommand}.
21
+ */
22
+ export interface DescribeTestCaseCommandOutput extends DescribeTestCaseResponse, __MetadataBearer {
23
+ }
24
+ declare const DescribeTestCaseCommand_base: {
25
+ new (input: DescribeTestCaseCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeTestCaseCommandInput, DescribeTestCaseCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DescribeTestCaseCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeTestCaseCommandInput, DescribeTestCaseCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Describes the specified test case and allows you to get the content and metadata of the test case for the specified Amazon Connect instance.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ConnectClient, DescribeTestCaseCommand } from "@aws-sdk/client-connect"; // ES Modules import
35
+ * // const { ConnectClient, DescribeTestCaseCommand } = require("@aws-sdk/client-connect"); // CommonJS import
36
+ * // import type { ConnectClientConfig } from "@aws-sdk/client-connect";
37
+ * const config = {}; // type is ConnectClientConfig
38
+ * const client = new ConnectClient(config);
39
+ * const input = { // DescribeTestCaseRequest
40
+ * InstanceId: "STRING_VALUE", // required
41
+ * TestCaseId: "STRING_VALUE", // required
42
+ * Status: "PUBLISHED" || "SAVED",
43
+ * };
44
+ * const command = new DescribeTestCaseCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // DescribeTestCaseResponse
47
+ * // TestCase: { // TestCase
48
+ * // Arn: "STRING_VALUE",
49
+ * // Id: "STRING_VALUE",
50
+ * // Name: "STRING_VALUE",
51
+ * // Content: "STRING_VALUE",
52
+ * // EntryPoint: { // TestCaseEntryPoint
53
+ * // Type: "VOICE_CALL",
54
+ * // VoiceCallEntryPointParameters: { // VoiceCallEntryPointParameters
55
+ * // SourcePhoneNumber: "STRING_VALUE",
56
+ * // DestinationPhoneNumber: "STRING_VALUE",
57
+ * // FlowId: "STRING_VALUE",
58
+ * // },
59
+ * // },
60
+ * // InitializationData: "STRING_VALUE",
61
+ * // Description: "STRING_VALUE",
62
+ * // Status: "PUBLISHED" || "SAVED",
63
+ * // LastModifiedTime: new Date("TIMESTAMP"),
64
+ * // LastModifiedRegion: "STRING_VALUE",
65
+ * // Tags: { // TagMap
66
+ * // "<keys>": "STRING_VALUE",
67
+ * // },
68
+ * // TestCaseSha256: "STRING_VALUE",
69
+ * // },
70
+ * // };
71
+ *
72
+ * ```
73
+ *
74
+ * @param DescribeTestCaseCommandInput - {@link DescribeTestCaseCommandInput}
75
+ * @returns {@link DescribeTestCaseCommandOutput}
76
+ * @see {@link DescribeTestCaseCommandInput} for command's `input` shape.
77
+ * @see {@link DescribeTestCaseCommandOutput} for command's `response` shape.
78
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
79
+ *
80
+ * @throws {@link AccessDeniedException} (client fault)
81
+ * <p>You do not have sufficient permissions to perform this action.</p>
82
+ *
83
+ * @throws {@link InternalServiceException} (server fault)
84
+ * <p>Request processing failed because of an error or failure with the service.</p>
85
+ *
86
+ * @throws {@link InvalidParameterException} (client fault)
87
+ * <p>One or more of the specified parameters are not valid.</p>
88
+ *
89
+ * @throws {@link InvalidRequestException} (client fault)
90
+ * <p>The request is not valid.</p>
91
+ *
92
+ * @throws {@link ResourceNotFoundException} (client fault)
93
+ * <p>The specified resource was not found.</p>
94
+ *
95
+ * @throws {@link ThrottlingException} (client fault)
96
+ * <p>The throttling limit has been exceeded.</p>
97
+ *
98
+ * @throws {@link ConnectServiceException}
99
+ * <p>Base exception class for all service exceptions from Connect service.</p>
100
+ *
101
+ *
102
+ * @public
103
+ */
104
+ export declare class DescribeTestCaseCommand extends DescribeTestCaseCommand_base {
105
+ /** @internal type navigation helper, not in runtime. */
106
+ protected static __types: {
107
+ api: {
108
+ input: DescribeTestCaseRequest;
109
+ output: DescribeTestCaseResponse;
110
+ };
111
+ sdk: {
112
+ input: DescribeTestCaseCommandInput;
113
+ output: DescribeTestCaseCommandOutput;
114
+ };
115
+ };
116
+ }
@@ -0,0 +1,101 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
+ import type { GetTestCaseExecutionSummaryRequest, GetTestCaseExecutionSummaryResponse } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetTestCaseExecutionSummaryCommand}.
14
+ */
15
+ export interface GetTestCaseExecutionSummaryCommandInput extends GetTestCaseExecutionSummaryRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetTestCaseExecutionSummaryCommand}.
21
+ */
22
+ export interface GetTestCaseExecutionSummaryCommandOutput extends GetTestCaseExecutionSummaryResponse, __MetadataBearer {
23
+ }
24
+ declare const GetTestCaseExecutionSummaryCommand_base: {
25
+ new (input: GetTestCaseExecutionSummaryCommandInput): import("@smithy/smithy-client").CommandImpl<GetTestCaseExecutionSummaryCommandInput, GetTestCaseExecutionSummaryCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetTestCaseExecutionSummaryCommandInput): import("@smithy/smithy-client").CommandImpl<GetTestCaseExecutionSummaryCommandInput, GetTestCaseExecutionSummaryCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves an overview of a test execution that includes the status of the execution, start and end time, and observation summary.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ConnectClient, GetTestCaseExecutionSummaryCommand } from "@aws-sdk/client-connect"; // ES Modules import
35
+ * // const { ConnectClient, GetTestCaseExecutionSummaryCommand } = require("@aws-sdk/client-connect"); // CommonJS import
36
+ * // import type { ConnectClientConfig } from "@aws-sdk/client-connect";
37
+ * const config = {}; // type is ConnectClientConfig
38
+ * const client = new ConnectClient(config);
39
+ * const input = { // GetTestCaseExecutionSummaryRequest
40
+ * InstanceId: "STRING_VALUE", // required
41
+ * TestCaseId: "STRING_VALUE", // required
42
+ * TestCaseExecutionId: "STRING_VALUE", // required
43
+ * };
44
+ * const command = new GetTestCaseExecutionSummaryCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // GetTestCaseExecutionSummaryResponse
47
+ * // StartTime: new Date("TIMESTAMP"),
48
+ * // EndTime: new Date("TIMESTAMP"),
49
+ * // Status: "INITIATED" || "PASSED" || "FAILED" || "IN_PROGRESS" || "STOPPED",
50
+ * // ObservationSummary: { // ObservationSummary
51
+ * // TotalObservations: Number("int"),
52
+ * // ObservationsPassed: Number("int"),
53
+ * // ObservationsFailed: Number("int"),
54
+ * // },
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param GetTestCaseExecutionSummaryCommandInput - {@link GetTestCaseExecutionSummaryCommandInput}
60
+ * @returns {@link GetTestCaseExecutionSummaryCommandOutput}
61
+ * @see {@link GetTestCaseExecutionSummaryCommandInput} for command's `input` shape.
62
+ * @see {@link GetTestCaseExecutionSummaryCommandOutput} for command's `response` shape.
63
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
64
+ *
65
+ * @throws {@link AccessDeniedException} (client fault)
66
+ * <p>You do not have sufficient permissions to perform this action.</p>
67
+ *
68
+ * @throws {@link InternalServiceException} (server fault)
69
+ * <p>Request processing failed because of an error or failure with the service.</p>
70
+ *
71
+ * @throws {@link InvalidParameterException} (client fault)
72
+ * <p>One or more of the specified parameters are not valid.</p>
73
+ *
74
+ * @throws {@link InvalidRequestException} (client fault)
75
+ * <p>The request is not valid.</p>
76
+ *
77
+ * @throws {@link ResourceNotFoundException} (client fault)
78
+ * <p>The specified resource was not found.</p>
79
+ *
80
+ * @throws {@link ThrottlingException} (client fault)
81
+ * <p>The throttling limit has been exceeded.</p>
82
+ *
83
+ * @throws {@link ConnectServiceException}
84
+ * <p>Base exception class for all service exceptions from Connect service.</p>
85
+ *
86
+ *
87
+ * @public
88
+ */
89
+ export declare class GetTestCaseExecutionSummaryCommand extends GetTestCaseExecutionSummaryCommand_base {
90
+ /** @internal type navigation helper, not in runtime. */
91
+ protected static __types: {
92
+ api: {
93
+ input: GetTestCaseExecutionSummaryRequest;
94
+ output: GetTestCaseExecutionSummaryResponse;
95
+ };
96
+ sdk: {
97
+ input: GetTestCaseExecutionSummaryCommandInput;
98
+ output: GetTestCaseExecutionSummaryCommandOutput;
99
+ };
100
+ };
101
+ }
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import type { ListAnalyticsDataLakeDataSetsRequest, ListAnalyticsDataLakeDataSetsResponse } from "../models/models_1";
4
+ import type { ListAnalyticsDataLakeDataSetsRequest } from "../models/models_1";
5
+ import type { ListAnalyticsDataLakeDataSetsResponse } from "../models/models_2";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import type { ListApprovedOriginsRequest, ListApprovedOriginsResponse } from "../models/models_1";
4
+ import type { ListApprovedOriginsRequest, ListApprovedOriginsResponse } from "../models/models_2";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import type { ListAssociatedContactsRequest, ListAssociatedContactsResponse } from "../models/models_1";
4
+ import type { ListAssociatedContactsRequest, ListAssociatedContactsResponse } from "../models/models_2";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import type { ListAuthenticationProfilesRequest, ListAuthenticationProfilesResponse } from "../models/models_1";
4
+ import type { ListAuthenticationProfilesRequest, ListAuthenticationProfilesResponse } from "../models/models_2";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import type { ListBotsRequest, ListBotsResponse } from "../models/models_1";
4
+ import type { ListBotsRequest, ListBotsResponse } from "../models/models_2";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -0,0 +1,105 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
+ import type { ListTestCaseExecutionRecordsRequest, ListTestCaseExecutionRecordsResponse } from "../models/models_2";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListTestCaseExecutionRecordsCommand}.
14
+ */
15
+ export interface ListTestCaseExecutionRecordsCommandInput extends ListTestCaseExecutionRecordsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListTestCaseExecutionRecordsCommand}.
21
+ */
22
+ export interface ListTestCaseExecutionRecordsCommandOutput extends ListTestCaseExecutionRecordsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListTestCaseExecutionRecordsCommand_base: {
25
+ new (input: ListTestCaseExecutionRecordsCommandInput): import("@smithy/smithy-client").CommandImpl<ListTestCaseExecutionRecordsCommandInput, ListTestCaseExecutionRecordsCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListTestCaseExecutionRecordsCommandInput): import("@smithy/smithy-client").CommandImpl<ListTestCaseExecutionRecordsCommandInput, ListTestCaseExecutionRecordsCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists detailed steps of test case execution that includes all observations along with actions taken and data associated in the specified Amazon Connect instance.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ConnectClient, ListTestCaseExecutionRecordsCommand } from "@aws-sdk/client-connect"; // ES Modules import
35
+ * // const { ConnectClient, ListTestCaseExecutionRecordsCommand } = require("@aws-sdk/client-connect"); // CommonJS import
36
+ * // import type { ConnectClientConfig } from "@aws-sdk/client-connect";
37
+ * const config = {}; // type is ConnectClientConfig
38
+ * const client = new ConnectClient(config);
39
+ * const input = { // ListTestCaseExecutionRecordsRequest
40
+ * InstanceId: "STRING_VALUE", // required
41
+ * TestCaseId: "STRING_VALUE", // required
42
+ * TestCaseExecutionId: "STRING_VALUE", // required
43
+ * Status: "INITIATED" || "PASSED" || "FAILED" || "IN_PROGRESS" || "STOPPED",
44
+ * NextToken: "STRING_VALUE",
45
+ * MaxResults: Number("int"),
46
+ * };
47
+ * const command = new ListTestCaseExecutionRecordsCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // ListTestCaseExecutionRecordsResponse
50
+ * // ExecutionRecords: [ // ExecutionRecordList
51
+ * // { // ExecutionRecord
52
+ * // ObservationId: "STRING_VALUE",
53
+ * // Status: "PASSED" || "FAILED" || "IN_PROGRESS" || "STOPPED",
54
+ * // Timestamp: new Date("TIMESTAMP"),
55
+ * // Record: "STRING_VALUE",
56
+ * // },
57
+ * // ],
58
+ * // NextToken: "STRING_VALUE",
59
+ * // };
60
+ *
61
+ * ```
62
+ *
63
+ * @param ListTestCaseExecutionRecordsCommandInput - {@link ListTestCaseExecutionRecordsCommandInput}
64
+ * @returns {@link ListTestCaseExecutionRecordsCommandOutput}
65
+ * @see {@link ListTestCaseExecutionRecordsCommandInput} for command's `input` shape.
66
+ * @see {@link ListTestCaseExecutionRecordsCommandOutput} for command's `response` shape.
67
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
68
+ *
69
+ * @throws {@link AccessDeniedException} (client fault)
70
+ * <p>You do not have sufficient permissions to perform this action.</p>
71
+ *
72
+ * @throws {@link InternalServiceException} (server fault)
73
+ * <p>Request processing failed because of an error or failure with the service.</p>
74
+ *
75
+ * @throws {@link InvalidParameterException} (client fault)
76
+ * <p>One or more of the specified parameters are not valid.</p>
77
+ *
78
+ * @throws {@link InvalidRequestException} (client fault)
79
+ * <p>The request is not valid.</p>
80
+ *
81
+ * @throws {@link ResourceNotFoundException} (client fault)
82
+ * <p>The specified resource was not found.</p>
83
+ *
84
+ * @throws {@link ThrottlingException} (client fault)
85
+ * <p>The throttling limit has been exceeded.</p>
86
+ *
87
+ * @throws {@link ConnectServiceException}
88
+ * <p>Base exception class for all service exceptions from Connect service.</p>
89
+ *
90
+ *
91
+ * @public
92
+ */
93
+ export declare class ListTestCaseExecutionRecordsCommand extends ListTestCaseExecutionRecordsCommand_base {
94
+ /** @internal type navigation helper, not in runtime. */
95
+ protected static __types: {
96
+ api: {
97
+ input: ListTestCaseExecutionRecordsRequest;
98
+ output: ListTestCaseExecutionRecordsResponse;
99
+ };
100
+ sdk: {
101
+ input: ListTestCaseExecutionRecordsCommandInput;
102
+ output: ListTestCaseExecutionRecordsCommandOutput;
103
+ };
104
+ };
105
+ }
@@ -0,0 +1,111 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
+ import type { ListTestCaseExecutionsRequest, ListTestCaseExecutionsResponse } from "../models/models_2";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListTestCaseExecutionsCommand}.
14
+ */
15
+ export interface ListTestCaseExecutionsCommandInput extends ListTestCaseExecutionsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListTestCaseExecutionsCommand}.
21
+ */
22
+ export interface ListTestCaseExecutionsCommandOutput extends ListTestCaseExecutionsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListTestCaseExecutionsCommand_base: {
25
+ new (input: ListTestCaseExecutionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListTestCaseExecutionsCommandInput, ListTestCaseExecutionsCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListTestCaseExecutionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListTestCaseExecutionsCommandInput, ListTestCaseExecutionsCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists all test case executions and allows filtering by test case id, test case name, start time, end time or status of the execution for the specified Amazon Connect instance.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ConnectClient, ListTestCaseExecutionsCommand } from "@aws-sdk/client-connect"; // ES Modules import
35
+ * // const { ConnectClient, ListTestCaseExecutionsCommand } = require("@aws-sdk/client-connect"); // CommonJS import
36
+ * // import type { ConnectClientConfig } from "@aws-sdk/client-connect";
37
+ * const config = {}; // type is ConnectClientConfig
38
+ * const client = new ConnectClient(config);
39
+ * const input = { // ListTestCaseExecutionsRequest
40
+ * InstanceId: "STRING_VALUE", // required
41
+ * TestCaseId: "STRING_VALUE",
42
+ * TestCaseName: "STRING_VALUE",
43
+ * StartTime: new Date("TIMESTAMP"),
44
+ * EndTime: new Date("TIMESTAMP"),
45
+ * Status: "INITIATED" || "PASSED" || "FAILED" || "IN_PROGRESS" || "STOPPED",
46
+ * NextToken: "STRING_VALUE",
47
+ * MaxResults: Number("int"),
48
+ * };
49
+ * const command = new ListTestCaseExecutionsCommand(input);
50
+ * const response = await client.send(command);
51
+ * // { // ListTestCaseExecutionsResponse
52
+ * // TestCaseExecutions: [ // TestCaseExecutionList
53
+ * // { // TestCaseExecution
54
+ * // StartTime: new Date("TIMESTAMP"),
55
+ * // EndTime: new Date("TIMESTAMP"),
56
+ * // TestCaseExecutionId: "STRING_VALUE",
57
+ * // TestCaseId: "STRING_VALUE",
58
+ * // TestCaseExecutionStatus: "INITIATED" || "PASSED" || "FAILED" || "IN_PROGRESS" || "STOPPED",
59
+ * // Tags: { // TagMap
60
+ * // "<keys>": "STRING_VALUE",
61
+ * // },
62
+ * // },
63
+ * // ],
64
+ * // NextToken: "STRING_VALUE",
65
+ * // };
66
+ *
67
+ * ```
68
+ *
69
+ * @param ListTestCaseExecutionsCommandInput - {@link ListTestCaseExecutionsCommandInput}
70
+ * @returns {@link ListTestCaseExecutionsCommandOutput}
71
+ * @see {@link ListTestCaseExecutionsCommandInput} for command's `input` shape.
72
+ * @see {@link ListTestCaseExecutionsCommandOutput} for command's `response` shape.
73
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
74
+ *
75
+ * @throws {@link AccessDeniedException} (client fault)
76
+ * <p>You do not have sufficient permissions to perform this action.</p>
77
+ *
78
+ * @throws {@link InternalServiceException} (server fault)
79
+ * <p>Request processing failed because of an error or failure with the service.</p>
80
+ *
81
+ * @throws {@link InvalidParameterException} (client fault)
82
+ * <p>One or more of the specified parameters are not valid.</p>
83
+ *
84
+ * @throws {@link InvalidRequestException} (client fault)
85
+ * <p>The request is not valid.</p>
86
+ *
87
+ * @throws {@link ResourceNotFoundException} (client fault)
88
+ * <p>The specified resource was not found.</p>
89
+ *
90
+ * @throws {@link ThrottlingException} (client fault)
91
+ * <p>The throttling limit has been exceeded.</p>
92
+ *
93
+ * @throws {@link ConnectServiceException}
94
+ * <p>Base exception class for all service exceptions from Connect service.</p>
95
+ *
96
+ *
97
+ * @public
98
+ */
99
+ export declare class ListTestCaseExecutionsCommand extends ListTestCaseExecutionsCommand_base {
100
+ /** @internal type navigation helper, not in runtime. */
101
+ protected static __types: {
102
+ api: {
103
+ input: ListTestCaseExecutionsRequest;
104
+ output: ListTestCaseExecutionsResponse;
105
+ };
106
+ sdk: {
107
+ input: ListTestCaseExecutionsCommandInput;
108
+ output: ListTestCaseExecutionsCommandOutput;
109
+ };
110
+ };
111
+ }