@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,104 @@
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 { ListTestCasesRequest, ListTestCasesResponse } from "../models/models_2";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListTestCasesCommand}.
14
+ */
15
+ export interface ListTestCasesCommandInput extends ListTestCasesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListTestCasesCommand}.
21
+ */
22
+ export interface ListTestCasesCommandOutput extends ListTestCasesResponse, __MetadataBearer {
23
+ }
24
+ declare const ListTestCasesCommand_base: {
25
+ new (input: ListTestCasesCommandInput): import("@smithy/smithy-client").CommandImpl<ListTestCasesCommandInput, ListTestCasesCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListTestCasesCommandInput): import("@smithy/smithy-client").CommandImpl<ListTestCasesCommandInput, ListTestCasesCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists the test cases present in the specific 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, ListTestCasesCommand } from "@aws-sdk/client-connect"; // ES Modules import
35
+ * // const { ConnectClient, ListTestCasesCommand } = 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 = { // ListTestCasesRequest
40
+ * InstanceId: "STRING_VALUE", // required
41
+ * NextToken: "STRING_VALUE",
42
+ * MaxResults: Number("int"),
43
+ * };
44
+ * const command = new ListTestCasesCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // ListTestCasesResponse
47
+ * // TestCaseSummaryList: [ // TestCaseSummaryList
48
+ * // { // TestCaseSummary
49
+ * // Id: "STRING_VALUE",
50
+ * // Arn: "STRING_VALUE",
51
+ * // Name: "STRING_VALUE",
52
+ * // Status: "PUBLISHED" || "SAVED",
53
+ * // LastModifiedTime: new Date("TIMESTAMP"),
54
+ * // LastModifiedRegion: "STRING_VALUE",
55
+ * // },
56
+ * // ],
57
+ * // NextToken: "STRING_VALUE",
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param ListTestCasesCommandInput - {@link ListTestCasesCommandInput}
63
+ * @returns {@link ListTestCasesCommandOutput}
64
+ * @see {@link ListTestCasesCommandInput} for command's `input` shape.
65
+ * @see {@link ListTestCasesCommandOutput} for command's `response` shape.
66
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
67
+ *
68
+ * @throws {@link AccessDeniedException} (client fault)
69
+ * <p>You do not have sufficient permissions to perform this action.</p>
70
+ *
71
+ * @throws {@link InternalServiceException} (server fault)
72
+ * <p>Request processing failed because of an error or failure with the service.</p>
73
+ *
74
+ * @throws {@link InvalidParameterException} (client fault)
75
+ * <p>One or more of the specified parameters are not valid.</p>
76
+ *
77
+ * @throws {@link InvalidRequestException} (client fault)
78
+ * <p>The request is not valid.</p>
79
+ *
80
+ * @throws {@link ResourceNotFoundException} (client fault)
81
+ * <p>The specified resource was not found.</p>
82
+ *
83
+ * @throws {@link ThrottlingException} (client fault)
84
+ * <p>The throttling limit has been exceeded.</p>
85
+ *
86
+ * @throws {@link ConnectServiceException}
87
+ * <p>Base exception class for all service exceptions from Connect service.</p>
88
+ *
89
+ *
90
+ * @public
91
+ */
92
+ export declare class ListTestCasesCommand extends ListTestCasesCommand_base {
93
+ /** @internal type navigation helper, not in runtime. */
94
+ protected static __types: {
95
+ api: {
96
+ input: ListTestCasesRequest;
97
+ output: ListTestCasesResponse;
98
+ };
99
+ sdk: {
100
+ input: ListTestCasesCommandInput;
101
+ output: ListTestCasesCommandOutput;
102
+ };
103
+ };
104
+ }
@@ -0,0 +1,167 @@
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 { SearchTestCasesResponse } from "../models/models_2";
5
+ import type { SearchTestCasesRequest } from "../models/models_3";
6
+ /**
7
+ * @public
8
+ */
9
+ export type { __MetadataBearer };
10
+ export { $Command };
11
+ /**
12
+ * @public
13
+ *
14
+ * The input for {@link SearchTestCasesCommand}.
15
+ */
16
+ export interface SearchTestCasesCommandInput extends SearchTestCasesRequest {
17
+ }
18
+ /**
19
+ * @public
20
+ *
21
+ * The output of {@link SearchTestCasesCommand}.
22
+ */
23
+ export interface SearchTestCasesCommandOutput extends SearchTestCasesResponse, __MetadataBearer {
24
+ }
25
+ declare const SearchTestCasesCommand_base: {
26
+ new (input: SearchTestCasesCommandInput): import("@smithy/smithy-client").CommandImpl<SearchTestCasesCommandInput, SearchTestCasesCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ new (input: SearchTestCasesCommandInput): import("@smithy/smithy-client").CommandImpl<SearchTestCasesCommandInput, SearchTestCasesCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ /**
31
+ * <p>Searches for test cases in the specified Amazon Connect instance, with optional filtering.</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { ConnectClient, SearchTestCasesCommand } from "@aws-sdk/client-connect"; // ES Modules import
36
+ * // const { ConnectClient, SearchTestCasesCommand } = require("@aws-sdk/client-connect"); // CommonJS import
37
+ * // import type { ConnectClientConfig } from "@aws-sdk/client-connect";
38
+ * const config = {}; // type is ConnectClientConfig
39
+ * const client = new ConnectClient(config);
40
+ * const input = { // SearchTestCasesRequest
41
+ * InstanceId: "STRING_VALUE", // required
42
+ * NextToken: "STRING_VALUE",
43
+ * MaxResults: Number("int"),
44
+ * SearchFilter: { // TestCaseSearchFilter
45
+ * TagFilter: { // ControlPlaneTagFilter
46
+ * OrConditions: [ // TagOrConditionList
47
+ * [ // TagAndConditionList
48
+ * { // TagCondition
49
+ * TagKey: "STRING_VALUE",
50
+ * TagValue: "STRING_VALUE",
51
+ * },
52
+ * ],
53
+ * ],
54
+ * AndConditions: [
55
+ * {
56
+ * TagKey: "STRING_VALUE",
57
+ * TagValue: "STRING_VALUE",
58
+ * },
59
+ * ],
60
+ * TagCondition: "<TagCondition>",
61
+ * },
62
+ * },
63
+ * SearchCriteria: { // TestCaseSearchCriteria
64
+ * OrConditions: [ // TestCaseSearchConditionList
65
+ * {
66
+ * OrConditions: [
67
+ * "<TestCaseSearchCriteria>",
68
+ * ],
69
+ * AndConditions: [
70
+ * "<TestCaseSearchCriteria>",
71
+ * ],
72
+ * StringCondition: { // StringCondition
73
+ * FieldName: "STRING_VALUE",
74
+ * Value: "STRING_VALUE",
75
+ * ComparisonType: "STARTS_WITH" || "CONTAINS" || "EXACT",
76
+ * },
77
+ * StatusCondition: "PUBLISHED" || "SAVED",
78
+ * },
79
+ * ],
80
+ * AndConditions: [
81
+ * "<TestCaseSearchCriteria>",
82
+ * ],
83
+ * StringCondition: {
84
+ * FieldName: "STRING_VALUE",
85
+ * Value: "STRING_VALUE",
86
+ * ComparisonType: "STARTS_WITH" || "CONTAINS" || "EXACT",
87
+ * },
88
+ * StatusCondition: "PUBLISHED" || "SAVED",
89
+ * },
90
+ * };
91
+ * const command = new SearchTestCasesCommand(input);
92
+ * const response = await client.send(command);
93
+ * // { // SearchTestCasesResponse
94
+ * // TestCases: [ // TestCaseSearchSummaryList
95
+ * // { // TestCase
96
+ * // Arn: "STRING_VALUE",
97
+ * // Id: "STRING_VALUE",
98
+ * // Name: "STRING_VALUE",
99
+ * // Content: "STRING_VALUE",
100
+ * // EntryPoint: { // TestCaseEntryPoint
101
+ * // Type: "VOICE_CALL",
102
+ * // VoiceCallEntryPointParameters: { // VoiceCallEntryPointParameters
103
+ * // SourcePhoneNumber: "STRING_VALUE",
104
+ * // DestinationPhoneNumber: "STRING_VALUE",
105
+ * // FlowId: "STRING_VALUE",
106
+ * // },
107
+ * // },
108
+ * // InitializationData: "STRING_VALUE",
109
+ * // Description: "STRING_VALUE",
110
+ * // Status: "PUBLISHED" || "SAVED",
111
+ * // LastModifiedTime: new Date("TIMESTAMP"),
112
+ * // LastModifiedRegion: "STRING_VALUE",
113
+ * // Tags: { // TagMap
114
+ * // "<keys>": "STRING_VALUE",
115
+ * // },
116
+ * // TestCaseSha256: "STRING_VALUE",
117
+ * // },
118
+ * // ],
119
+ * // NextToken: "STRING_VALUE",
120
+ * // ApproximateTotalCount: Number("long"),
121
+ * // };
122
+ *
123
+ * ```
124
+ *
125
+ * @param SearchTestCasesCommandInput - {@link SearchTestCasesCommandInput}
126
+ * @returns {@link SearchTestCasesCommandOutput}
127
+ * @see {@link SearchTestCasesCommandInput} for command's `input` shape.
128
+ * @see {@link SearchTestCasesCommandOutput} for command's `response` shape.
129
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
130
+ *
131
+ * @throws {@link AccessDeniedException} (client fault)
132
+ * <p>You do not have sufficient permissions to perform this action.</p>
133
+ *
134
+ * @throws {@link InternalServiceException} (server fault)
135
+ * <p>Request processing failed because of an error or failure with the service.</p>
136
+ *
137
+ * @throws {@link InvalidParameterException} (client fault)
138
+ * <p>One or more of the specified parameters are not valid.</p>
139
+ *
140
+ * @throws {@link InvalidRequestException} (client fault)
141
+ * <p>The request is not valid.</p>
142
+ *
143
+ * @throws {@link ResourceNotFoundException} (client fault)
144
+ * <p>The specified resource was not found.</p>
145
+ *
146
+ * @throws {@link ThrottlingException} (client fault)
147
+ * <p>The throttling limit has been exceeded.</p>
148
+ *
149
+ * @throws {@link ConnectServiceException}
150
+ * <p>Base exception class for all service exceptions from Connect service.</p>
151
+ *
152
+ *
153
+ * @public
154
+ */
155
+ export declare class SearchTestCasesCommand extends SearchTestCasesCommand_base {
156
+ /** @internal type navigation helper, not in runtime. */
157
+ protected static __types: {
158
+ api: {
159
+ input: SearchTestCasesRequest;
160
+ output: SearchTestCasesResponse;
161
+ };
162
+ sdk: {
163
+ input: SearchTestCasesCommandInput;
164
+ output: SearchTestCasesCommandOutput;
165
+ };
166
+ };
167
+ }
@@ -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 { SendChatIntegrationEventRequest, SendChatIntegrationEventResponse } from "../models/models_2";
4
+ import type { SendChatIntegrationEventRequest, SendChatIntegrationEventResponse } from "../models/models_3";
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 { SendOutboundEmailRequest, SendOutboundEmailResponse } from "../models/models_2";
4
+ import type { SendOutboundEmailRequest, SendOutboundEmailResponse } from "../models/models_3";
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 { StartAttachedFileUploadRequest, StartAttachedFileUploadResponse } from "../models/models_2";
4
+ import type { StartAttachedFileUploadRequest, StartAttachedFileUploadResponse } from "../models/models_3";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,8 +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 { StartChatContactResponse } from "../models/models_2";
5
- import type { StartChatContactRequest } from "../models/models_3";
4
+ import type { StartChatContactRequest, StartChatContactResponse } from "../models/models_3";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -0,0 +1,99 @@
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 { StartTestCaseExecutionRequest, StartTestCaseExecutionResponse } from "../models/models_3";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StartTestCaseExecutionCommand}.
14
+ */
15
+ export interface StartTestCaseExecutionCommandInput extends StartTestCaseExecutionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StartTestCaseExecutionCommand}.
21
+ */
22
+ export interface StartTestCaseExecutionCommandOutput extends StartTestCaseExecutionResponse, __MetadataBearer {
23
+ }
24
+ declare const StartTestCaseExecutionCommand_base: {
25
+ new (input: StartTestCaseExecutionCommandInput): import("@smithy/smithy-client").CommandImpl<StartTestCaseExecutionCommandInput, StartTestCaseExecutionCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: StartTestCaseExecutionCommandInput): import("@smithy/smithy-client").CommandImpl<StartTestCaseExecutionCommandInput, StartTestCaseExecutionCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Starts executing a published test case.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ConnectClient, StartTestCaseExecutionCommand } from "@aws-sdk/client-connect"; // ES Modules import
35
+ * // const { ConnectClient, StartTestCaseExecutionCommand } = 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 = { // StartTestCaseExecutionRequest
40
+ * InstanceId: "STRING_VALUE", // required
41
+ * TestCaseId: "STRING_VALUE", // required
42
+ * ClientToken: "STRING_VALUE",
43
+ * };
44
+ * const command = new StartTestCaseExecutionCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // StartTestCaseExecutionResponse
47
+ * // TestCaseExecutionId: "STRING_VALUE",
48
+ * // TestCaseId: "STRING_VALUE",
49
+ * // Status: "INITIATED" || "PASSED" || "FAILED" || "IN_PROGRESS" || "STOPPED",
50
+ * // };
51
+ *
52
+ * ```
53
+ *
54
+ * @param StartTestCaseExecutionCommandInput - {@link StartTestCaseExecutionCommandInput}
55
+ * @returns {@link StartTestCaseExecutionCommandOutput}
56
+ * @see {@link StartTestCaseExecutionCommandInput} for command's `input` shape.
57
+ * @see {@link StartTestCaseExecutionCommandOutput} for command's `response` shape.
58
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
59
+ *
60
+ * @throws {@link AccessDeniedException} (client fault)
61
+ * <p>You do not have sufficient permissions to perform this action.</p>
62
+ *
63
+ * @throws {@link InternalServiceException} (server fault)
64
+ * <p>Request processing failed because of an error or failure with the service.</p>
65
+ *
66
+ * @throws {@link InvalidParameterException} (client fault)
67
+ * <p>One or more of the specified parameters are not valid.</p>
68
+ *
69
+ * @throws {@link InvalidRequestException} (client fault)
70
+ * <p>The request is not valid.</p>
71
+ *
72
+ * @throws {@link ResourceNotFoundException} (client fault)
73
+ * <p>The specified resource was not found.</p>
74
+ *
75
+ * @throws {@link ServiceQuotaExceededException} (client fault)
76
+ * <p>The service quota has been exceeded.</p>
77
+ *
78
+ * @throws {@link ThrottlingException} (client fault)
79
+ * <p>The throttling limit has been exceeded.</p>
80
+ *
81
+ * @throws {@link ConnectServiceException}
82
+ * <p>Base exception class for all service exceptions from Connect service.</p>
83
+ *
84
+ *
85
+ * @public
86
+ */
87
+ export declare class StartTestCaseExecutionCommand extends StartTestCaseExecutionCommand_base {
88
+ /** @internal type navigation helper, not in runtime. */
89
+ protected static __types: {
90
+ api: {
91
+ input: StartTestCaseExecutionRequest;
92
+ output: StartTestCaseExecutionResponse;
93
+ };
94
+ sdk: {
95
+ input: StartTestCaseExecutionCommandInput;
96
+ output: StartTestCaseExecutionCommandOutput;
97
+ };
98
+ };
99
+ }
@@ -0,0 +1,93 @@
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 { StopTestCaseExecutionRequest, StopTestCaseExecutionResponse } from "../models/models_3";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StopTestCaseExecutionCommand}.
14
+ */
15
+ export interface StopTestCaseExecutionCommandInput extends StopTestCaseExecutionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StopTestCaseExecutionCommand}.
21
+ */
22
+ export interface StopTestCaseExecutionCommandOutput extends StopTestCaseExecutionResponse, __MetadataBearer {
23
+ }
24
+ declare const StopTestCaseExecutionCommand_base: {
25
+ new (input: StopTestCaseExecutionCommandInput): import("@smithy/smithy-client").CommandImpl<StopTestCaseExecutionCommandInput, StopTestCaseExecutionCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: StopTestCaseExecutionCommandInput): import("@smithy/smithy-client").CommandImpl<StopTestCaseExecutionCommandInput, StopTestCaseExecutionCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Stops a running test execution.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ConnectClient, StopTestCaseExecutionCommand } from "@aws-sdk/client-connect"; // ES Modules import
35
+ * // const { ConnectClient, StopTestCaseExecutionCommand } = 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 = { // StopTestCaseExecutionRequest
40
+ * InstanceId: "STRING_VALUE", // required
41
+ * TestCaseExecutionId: "STRING_VALUE", // required
42
+ * TestCaseId: "STRING_VALUE", // required
43
+ * ClientToken: "STRING_VALUE",
44
+ * };
45
+ * const command = new StopTestCaseExecutionCommand(input);
46
+ * const response = await client.send(command);
47
+ * // {};
48
+ *
49
+ * ```
50
+ *
51
+ * @param StopTestCaseExecutionCommandInput - {@link StopTestCaseExecutionCommandInput}
52
+ * @returns {@link StopTestCaseExecutionCommandOutput}
53
+ * @see {@link StopTestCaseExecutionCommandInput} for command's `input` shape.
54
+ * @see {@link StopTestCaseExecutionCommandOutput} for command's `response` shape.
55
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
56
+ *
57
+ * @throws {@link AccessDeniedException} (client fault)
58
+ * <p>You do not have sufficient permissions to perform this action.</p>
59
+ *
60
+ * @throws {@link InternalServiceException} (server fault)
61
+ * <p>Request processing failed because of an error or failure with the service.</p>
62
+ *
63
+ * @throws {@link InvalidParameterException} (client fault)
64
+ * <p>One or more of the specified parameters are not valid.</p>
65
+ *
66
+ * @throws {@link InvalidRequestException} (client fault)
67
+ * <p>The request is not valid.</p>
68
+ *
69
+ * @throws {@link ResourceNotFoundException} (client fault)
70
+ * <p>The specified resource was not found.</p>
71
+ *
72
+ * @throws {@link ThrottlingException} (client fault)
73
+ * <p>The throttling limit has been exceeded.</p>
74
+ *
75
+ * @throws {@link ConnectServiceException}
76
+ * <p>Base exception class for all service exceptions from Connect service.</p>
77
+ *
78
+ *
79
+ * @public
80
+ */
81
+ export declare class StopTestCaseExecutionCommand extends StopTestCaseExecutionCommand_base {
82
+ /** @internal type navigation helper, not in runtime. */
83
+ protected static __types: {
84
+ api: {
85
+ input: StopTestCaseExecutionRequest;
86
+ output: {};
87
+ };
88
+ sdk: {
89
+ input: StopTestCaseExecutionCommandInput;
90
+ output: StopTestCaseExecutionCommandOutput;
91
+ };
92
+ };
93
+ }
@@ -0,0 +1,112 @@
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 { UpdateTestCaseRequest, UpdateTestCaseResponse } from "../models/models_3";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateTestCaseCommand}.
14
+ */
15
+ export interface UpdateTestCaseCommandInput extends UpdateTestCaseRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateTestCaseCommand}.
21
+ */
22
+ export interface UpdateTestCaseCommandOutput extends UpdateTestCaseResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateTestCaseCommand_base: {
25
+ new (input: UpdateTestCaseCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateTestCaseCommandInput, UpdateTestCaseCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateTestCaseCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateTestCaseCommandInput, UpdateTestCaseCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates any of the metadata for a test case, such as the name, description, and status or content of an existing test case. This API doesn't allow customers to update the tags of the test case resource 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, UpdateTestCaseCommand } from "@aws-sdk/client-connect"; // ES Modules import
35
+ * // const { ConnectClient, UpdateTestCaseCommand } = 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 = { // UpdateTestCaseRequest
40
+ * InstanceId: "STRING_VALUE", // required
41
+ * TestCaseId: "STRING_VALUE", // required
42
+ * Content: "STRING_VALUE",
43
+ * EntryPoint: { // TestCaseEntryPoint
44
+ * Type: "VOICE_CALL",
45
+ * VoiceCallEntryPointParameters: { // VoiceCallEntryPointParameters
46
+ * SourcePhoneNumber: "STRING_VALUE",
47
+ * DestinationPhoneNumber: "STRING_VALUE",
48
+ * FlowId: "STRING_VALUE",
49
+ * },
50
+ * },
51
+ * InitializationData: "STRING_VALUE",
52
+ * Name: "STRING_VALUE",
53
+ * Description: "STRING_VALUE",
54
+ * Status: "PUBLISHED" || "SAVED",
55
+ * LastModifiedTime: new Date("TIMESTAMP"),
56
+ * LastModifiedRegion: "STRING_VALUE",
57
+ * };
58
+ * const command = new UpdateTestCaseCommand(input);
59
+ * const response = await client.send(command);
60
+ * // {};
61
+ *
62
+ * ```
63
+ *
64
+ * @param UpdateTestCaseCommandInput - {@link UpdateTestCaseCommandInput}
65
+ * @returns {@link UpdateTestCaseCommandOutput}
66
+ * @see {@link UpdateTestCaseCommandInput} for command's `input` shape.
67
+ * @see {@link UpdateTestCaseCommandOutput} for command's `response` shape.
68
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
69
+ *
70
+ * @throws {@link AccessDeniedException} (client fault)
71
+ * <p>You do not have sufficient permissions to perform this action.</p>
72
+ *
73
+ * @throws {@link DuplicateResourceException} (client fault)
74
+ * <p>A resource with the specified name already exists.</p>
75
+ *
76
+ * @throws {@link InternalServiceException} (server fault)
77
+ * <p>Request processing failed because of an error or failure with the service.</p>
78
+ *
79
+ * @throws {@link InvalidParameterException} (client fault)
80
+ * <p>One or more of the specified parameters are not valid.</p>
81
+ *
82
+ * @throws {@link InvalidRequestException} (client fault)
83
+ * <p>The request is not valid.</p>
84
+ *
85
+ * @throws {@link InvalidTestCaseException} (client fault)
86
+ * <p>The test is not valid.</p>
87
+ *
88
+ * @throws {@link ResourceNotFoundException} (client fault)
89
+ * <p>The specified resource was not found.</p>
90
+ *
91
+ * @throws {@link ThrottlingException} (client fault)
92
+ * <p>The throttling limit has been exceeded.</p>
93
+ *
94
+ * @throws {@link ConnectServiceException}
95
+ * <p>Base exception class for all service exceptions from Connect service.</p>
96
+ *
97
+ *
98
+ * @public
99
+ */
100
+ export declare class UpdateTestCaseCommand extends UpdateTestCaseCommand_base {
101
+ /** @internal type navigation helper, not in runtime. */
102
+ protected static __types: {
103
+ api: {
104
+ input: UpdateTestCaseRequest;
105
+ output: {};
106
+ };
107
+ sdk: {
108
+ input: UpdateTestCaseCommandInput;
109
+ output: UpdateTestCaseCommandOutput;
110
+ };
111
+ };
112
+ }