2
2
import { createAggregatedClient } from "@smithy/smithy-client" ;
3
3
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types" ;
4
4
5
+ import {
6
+ BatchGetCaseRuleCommand ,
7
+ BatchGetCaseRuleCommandInput ,
8
+ BatchGetCaseRuleCommandOutput ,
9
+ } from "./commands/BatchGetCaseRuleCommand" ;
5
10
import {
6
11
BatchGetFieldCommand ,
7
12
BatchGetFieldCommandInput ,
@@ -13,6 +18,11 @@ import {
13
18
BatchPutFieldOptionsCommandOutput ,
14
19
} from "./commands/BatchPutFieldOptionsCommand" ;
15
20
import { CreateCaseCommand , CreateCaseCommandInput , CreateCaseCommandOutput } from "./commands/CreateCaseCommand" ;
21
+ import {
22
+ CreateCaseRuleCommand ,
23
+ CreateCaseRuleCommandInput ,
24
+ CreateCaseRuleCommandOutput ,
25
+ } from "./commands/CreateCaseRuleCommand" ;
16
26
import {
17
27
CreateDomainCommand ,
18
28
CreateDomainCommandInput ,
@@ -34,6 +44,11 @@ import {
34
44
CreateTemplateCommandInput ,
35
45
CreateTemplateCommandOutput ,
36
46
} from "./commands/CreateTemplateCommand" ;
47
+ import {
48
+ DeleteCaseRuleCommand ,
49
+ DeleteCaseRuleCommandInput ,
50
+ DeleteCaseRuleCommandOutput ,
51
+ } from "./commands/DeleteCaseRuleCommand" ;
37
52
import {
38
53
DeleteDomainCommand ,
39
54
DeleteDomainCommandInput ,
@@ -64,6 +79,11 @@ import {
64
79
import { GetDomainCommand , GetDomainCommandInput , GetDomainCommandOutput } from "./commands/GetDomainCommand" ;
65
80
import { GetLayoutCommand , GetLayoutCommandInput , GetLayoutCommandOutput } from "./commands/GetLayoutCommand" ;
66
81
import { GetTemplateCommand , GetTemplateCommandInput , GetTemplateCommandOutput } from "./commands/GetTemplateCommand" ;
82
+ import {
83
+ ListCaseRulesCommand ,
84
+ ListCaseRulesCommandInput ,
85
+ ListCaseRulesCommandOutput ,
86
+ } from "./commands/ListCaseRulesCommand" ;
67
87
import {
68
88
ListCasesForContactCommand ,
69
89
ListCasesForContactCommandInput ,
@@ -105,6 +125,11 @@ import {
105
125
UntagResourceCommandOutput ,
106
126
} from "./commands/UntagResourceCommand" ;
107
127
import { UpdateCaseCommand , UpdateCaseCommandInput , UpdateCaseCommandOutput } from "./commands/UpdateCaseCommand" ;
128
+ import {
129
+ UpdateCaseRuleCommand ,
130
+ UpdateCaseRuleCommandInput ,
131
+ UpdateCaseRuleCommandOutput ,
132
+ } from "./commands/UpdateCaseRuleCommand" ;
108
133
import { UpdateFieldCommand , UpdateFieldCommandInput , UpdateFieldCommandOutput } from "./commands/UpdateFieldCommand" ;
109
134
import {
110
135
UpdateLayoutCommand ,
@@ -119,14 +144,17 @@ import {
119
144
import { ConnectCasesClient , ConnectCasesClientConfig } from "./ConnectCasesClient" ;
120
145
121
146
const commands = {
147
+ BatchGetCaseRuleCommand,
122
148
BatchGetFieldCommand,
123
149
BatchPutFieldOptionsCommand,
124
150
CreateCaseCommand,
151
+ CreateCaseRuleCommand,
125
152
CreateDomainCommand,
126
153
CreateFieldCommand,
127
154
CreateLayoutCommand,
128
155
CreateRelatedItemCommand,
129
156
CreateTemplateCommand,
157
+ DeleteCaseRuleCommand,
130
158
DeleteDomainCommand,
131
159
DeleteFieldCommand,
132
160
DeleteLayoutCommand,
@@ -137,6 +165,7 @@ const commands = {
137
165
GetDomainCommand,
138
166
GetLayoutCommand,
139
167
GetTemplateCommand,
168
+ ListCaseRulesCommand,
140
169
ListCasesForContactCommand,
141
170
ListDomainsCommand,
142
171
ListFieldOptionsCommand,
@@ -150,12 +179,30 @@ const commands = {
150
179
TagResourceCommand,
151
180
UntagResourceCommand,
152
181
UpdateCaseCommand,
182
+ UpdateCaseRuleCommand,
153
183
UpdateFieldCommand,
154
184
UpdateLayoutCommand,
155
185
UpdateTemplateCommand,
156
186
} ;
157
187
158
188
export interface ConnectCases {
189
+ /**
190
+ * @see {@link BatchGetCaseRuleCommand }
191
+ */
192
+ batchGetCaseRule (
193
+ args : BatchGetCaseRuleCommandInput ,
194
+ options ?: __HttpHandlerOptions
195
+ ) : Promise < BatchGetCaseRuleCommandOutput > ;
196
+ batchGetCaseRule (
197
+ args : BatchGetCaseRuleCommandInput ,
198
+ cb : ( err : any , data ?: BatchGetCaseRuleCommandOutput ) => void
199
+ ) : void ;
200
+ batchGetCaseRule (
201
+ args : BatchGetCaseRuleCommandInput ,
202
+ options : __HttpHandlerOptions ,
203
+ cb : ( err : any , data ?: BatchGetCaseRuleCommandOutput ) => void
204
+ ) : void ;
205
+
159
206
/**
160
207
* @see {@link BatchGetFieldCommand }
161
208
*/
@@ -195,6 +242,20 @@ export interface ConnectCases {
195
242
cb : ( err : any , data ?: CreateCaseCommandOutput ) => void
196
243
) : void ;
197
244
245
+ /**
246
+ * @see {@link CreateCaseRuleCommand }
247
+ */
248
+ createCaseRule (
249
+ args : CreateCaseRuleCommandInput ,
250
+ options ?: __HttpHandlerOptions
251
+ ) : Promise < CreateCaseRuleCommandOutput > ;
252
+ createCaseRule ( args : CreateCaseRuleCommandInput , cb : ( err : any , data ?: CreateCaseRuleCommandOutput ) => void ) : void ;
253
+ createCaseRule (
254
+ args : CreateCaseRuleCommandInput ,
255
+ options : __HttpHandlerOptions ,
256
+ cb : ( err : any , data ?: CreateCaseRuleCommandOutput ) => void
257
+ ) : void ;
258
+
198
259
/**
199
260
* @see {@link CreateDomainCommand }
200
261
*/
@@ -259,6 +320,20 @@ export interface ConnectCases {
259
320
cb : ( err : any , data ?: CreateTemplateCommandOutput ) => void
260
321
) : void ;
261
322
323
+ /**
324
+ * @see {@link DeleteCaseRuleCommand }
325
+ */
326
+ deleteCaseRule (
327
+ args : DeleteCaseRuleCommandInput ,
328
+ options ?: __HttpHandlerOptions
329
+ ) : Promise < DeleteCaseRuleCommandOutput > ;
330
+ deleteCaseRule ( args : DeleteCaseRuleCommandInput , cb : ( err : any , data ?: DeleteCaseRuleCommandOutput ) => void ) : void ;
331
+ deleteCaseRule (
332
+ args : DeleteCaseRuleCommandInput ,
333
+ options : __HttpHandlerOptions ,
334
+ cb : ( err : any , data ?: DeleteCaseRuleCommandOutput ) => void
335
+ ) : void ;
336
+
262
337
/**
263
338
* @see {@link DeleteDomainCommand }
264
339
*/
@@ -384,6 +459,17 @@ export interface ConnectCases {
384
459
cb : ( err : any , data ?: GetTemplateCommandOutput ) => void
385
460
) : void ;
386
461
462
+ /**
463
+ * @see {@link ListCaseRulesCommand }
464
+ */
465
+ listCaseRules ( args : ListCaseRulesCommandInput , options ?: __HttpHandlerOptions ) : Promise < ListCaseRulesCommandOutput > ;
466
+ listCaseRules ( args : ListCaseRulesCommandInput , cb : ( err : any , data ?: ListCaseRulesCommandOutput ) => void ) : void ;
467
+ listCaseRules (
468
+ args : ListCaseRulesCommandInput ,
469
+ options : __HttpHandlerOptions ,
470
+ cb : ( err : any , data ?: ListCaseRulesCommandOutput ) => void
471
+ ) : void ;
472
+
387
473
/**
388
474
* @see {@link ListCasesForContactCommand }
389
475
*/
@@ -558,6 +644,20 @@ export interface ConnectCases {
558
644
cb : ( err : any , data ?: UpdateCaseCommandOutput ) => void
559
645
) : void ;
560
646
647
+ /**
648
+ * @see {@link UpdateCaseRuleCommand }
649
+ */
650
+ updateCaseRule (
651
+ args : UpdateCaseRuleCommandInput ,
652
+ options ?: __HttpHandlerOptions
653
+ ) : Promise < UpdateCaseRuleCommandOutput > ;
654
+ updateCaseRule ( args : UpdateCaseRuleCommandInput , cb : ( err : any , data ?: UpdateCaseRuleCommandOutput ) => void ) : void ;
655
+ updateCaseRule (
656
+ args : UpdateCaseRuleCommandInput ,
657
+ options : __HttpHandlerOptions ,
658
+ cb : ( err : any , data ?: UpdateCaseRuleCommandOutput ) => void
659
+ ) : void ;
660
+
561
661
/**
562
662
* @see {@link UpdateFieldCommand }
563
663
*/
@@ -596,7 +696,21 @@ export interface ConnectCases {
596
696
}
597
697
598
698
/**
599
- * <p>With Amazon Connect Cases, your agents can track and manage customer issues that require
699
+ * <ul>
700
+ * <li>
701
+ * <p>
702
+ * <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Operations_Amazon_Connect_Cases.html">Cases
703
+ * actions</a>
704
+ * </p>
705
+ * </li>
706
+ * <li>
707
+ * <p>
708
+ * <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Types_Amazon_Connect_Cases.html">Cases data
709
+ * types</a>
710
+ * </p>
711
+ * </li>
712
+ * </ul>
713
+ * <p>With Amazon Connect Cases, your agents can track and manage customer issues that require
600
714
* multiple interactions, follow-up tasks, and teams in your contact center. A case represents a
601
715
* customer issue. It records the issue, the steps and interactions taken to resolve the issue,
602
716
* and the outcome. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/cases.html">Amazon Connect Cases</a> in the
0 commit comments