22import { createAggregatedClient } from "@smithy/smithy-client" ;
33import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types" ;
44
5+ import {
6+ BatchGetCaseRuleCommand ,
7+ BatchGetCaseRuleCommandInput ,
8+ BatchGetCaseRuleCommandOutput ,
9+ } from "./commands/BatchGetCaseRuleCommand" ;
510import {
611 BatchGetFieldCommand ,
712 BatchGetFieldCommandInput ,
@@ -13,6 +18,11 @@ import {
1318 BatchPutFieldOptionsCommandOutput ,
1419} from "./commands/BatchPutFieldOptionsCommand" ;
1520import { CreateCaseCommand , CreateCaseCommandInput , CreateCaseCommandOutput } from "./commands/CreateCaseCommand" ;
21+ import {
22+ CreateCaseRuleCommand ,
23+ CreateCaseRuleCommandInput ,
24+ CreateCaseRuleCommandOutput ,
25+ } from "./commands/CreateCaseRuleCommand" ;
1626import {
1727 CreateDomainCommand ,
1828 CreateDomainCommandInput ,
@@ -34,6 +44,11 @@ import {
3444 CreateTemplateCommandInput ,
3545 CreateTemplateCommandOutput ,
3646} from "./commands/CreateTemplateCommand" ;
47+ import {
48+ DeleteCaseRuleCommand ,
49+ DeleteCaseRuleCommandInput ,
50+ DeleteCaseRuleCommandOutput ,
51+ } from "./commands/DeleteCaseRuleCommand" ;
3752import {
3853 DeleteDomainCommand ,
3954 DeleteDomainCommandInput ,
@@ -64,6 +79,11 @@ import {
6479import { GetDomainCommand , GetDomainCommandInput , GetDomainCommandOutput } from "./commands/GetDomainCommand" ;
6580import { GetLayoutCommand , GetLayoutCommandInput , GetLayoutCommandOutput } from "./commands/GetLayoutCommand" ;
6681import { GetTemplateCommand , GetTemplateCommandInput , GetTemplateCommandOutput } from "./commands/GetTemplateCommand" ;
82+ import {
83+ ListCaseRulesCommand ,
84+ ListCaseRulesCommandInput ,
85+ ListCaseRulesCommandOutput ,
86+ } from "./commands/ListCaseRulesCommand" ;
6787import {
6888 ListCasesForContactCommand ,
6989 ListCasesForContactCommandInput ,
@@ -105,6 +125,11 @@ import {
105125 UntagResourceCommandOutput ,
106126} from "./commands/UntagResourceCommand" ;
107127import { UpdateCaseCommand , UpdateCaseCommandInput , UpdateCaseCommandOutput } from "./commands/UpdateCaseCommand" ;
128+ import {
129+ UpdateCaseRuleCommand ,
130+ UpdateCaseRuleCommandInput ,
131+ UpdateCaseRuleCommandOutput ,
132+ } from "./commands/UpdateCaseRuleCommand" ;
108133import { UpdateFieldCommand , UpdateFieldCommandInput , UpdateFieldCommandOutput } from "./commands/UpdateFieldCommand" ;
109134import {
110135 UpdateLayoutCommand ,
@@ -119,14 +144,17 @@ import {
119144import { ConnectCasesClient , ConnectCasesClientConfig } from "./ConnectCasesClient" ;
120145
121146const commands = {
147+ BatchGetCaseRuleCommand,
122148 BatchGetFieldCommand,
123149 BatchPutFieldOptionsCommand,
124150 CreateCaseCommand,
151+ CreateCaseRuleCommand,
125152 CreateDomainCommand,
126153 CreateFieldCommand,
127154 CreateLayoutCommand,
128155 CreateRelatedItemCommand,
129156 CreateTemplateCommand,
157+ DeleteCaseRuleCommand,
130158 DeleteDomainCommand,
131159 DeleteFieldCommand,
132160 DeleteLayoutCommand,
@@ -137,6 +165,7 @@ const commands = {
137165 GetDomainCommand,
138166 GetLayoutCommand,
139167 GetTemplateCommand,
168+ ListCaseRulesCommand,
140169 ListCasesForContactCommand,
141170 ListDomainsCommand,
142171 ListFieldOptionsCommand,
@@ -150,12 +179,30 @@ const commands = {
150179 TagResourceCommand,
151180 UntagResourceCommand,
152181 UpdateCaseCommand,
182+ UpdateCaseRuleCommand,
153183 UpdateFieldCommand,
154184 UpdateLayoutCommand,
155185 UpdateTemplateCommand,
156186} ;
157187
158188export 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+
159206 /**
160207 * @see {@link BatchGetFieldCommand }
161208 */
@@ -195,6 +242,20 @@ export interface ConnectCases {
195242 cb : ( err : any , data ?: CreateCaseCommandOutput ) => void
196243 ) : void ;
197244
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+
198259 /**
199260 * @see {@link CreateDomainCommand }
200261 */
@@ -259,6 +320,20 @@ export interface ConnectCases {
259320 cb : ( err : any , data ?: CreateTemplateCommandOutput ) => void
260321 ) : void ;
261322
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+
262337 /**
263338 * @see {@link DeleteDomainCommand }
264339 */
@@ -384,6 +459,17 @@ export interface ConnectCases {
384459 cb : ( err : any , data ?: GetTemplateCommandOutput ) => void
385460 ) : void ;
386461
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+
387473 /**
388474 * @see {@link ListCasesForContactCommand }
389475 */
@@ -558,6 +644,20 @@ export interface ConnectCases {
558644 cb : ( err : any , data ?: UpdateCaseCommandOutput ) => void
559645 ) : void ;
560646
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+
561661 /**
562662 * @see {@link UpdateFieldCommand }
563663 */
@@ -596,7 +696,21 @@ export interface ConnectCases {
596696}
597697
598698/**
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
600714 * multiple interactions, follow-up tasks, and teams in your contact center. A case represents a
601715 * customer issue. It records the issue, the steps and interactions taken to resolve the issue,
602716 * 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