@aws-sdk/client-connectcases 3.975.0 → 3.976.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/dist-cjs/index.js +45 -12
- package/dist-es/models/enums.js +3 -0
- package/dist-es/schemas/schemas_0.js +39 -12
- package/dist-types/commands/CreateCaseCommand.d.ts +4 -1
- package/dist-types/commands/CreateTemplateCommand.d.ts +8 -0
- package/dist-types/commands/GetTemplateCommand.d.ts +8 -0
- package/dist-types/commands/ListTemplatesCommand.d.ts +8 -0
- package/dist-types/commands/SearchCasesCommand.d.ts +12 -0
- package/dist-types/commands/UpdateTemplateCommand.d.ts +8 -0
- package/dist-types/models/enums.d.ts +14 -0
- package/dist-types/models/models_0.d.ts +110 -2
- package/dist-types/schemas/schemas_0.d.ts +3 -0
- package/dist-types/ts3.4/models/enums.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +44 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
- package/package.json +11 -11
package/dist-cjs/index.js
CHANGED
|
@@ -428,11 +428,15 @@ const _Se = "Section";
|
|
|
428
428
|
const _T = "Tags";
|
|
429
429
|
const _TCRL = "TemplateCaseRuleList";
|
|
430
430
|
const _TE = "ThrottlingException";
|
|
431
|
+
const _TF = "TagFilter";
|
|
432
|
+
const _TPC = "TagPropagationConfiguration";
|
|
433
|
+
const _TPCL = "TagPropagationConfigurationList";
|
|
431
434
|
const _TR = "TemplateRule";
|
|
432
435
|
const _TRR = "TagResourceRequest";
|
|
433
436
|
const _TRa = "TagResource";
|
|
434
437
|
const _TS = "TemplateSummary";
|
|
435
438
|
const _TSL = "TemplateSummaryList";
|
|
439
|
+
const _TV = "TagValue";
|
|
436
440
|
const _UC = "UpdateCase";
|
|
437
441
|
const _UCR = "UpdateCaseRequest";
|
|
438
442
|
const _UCRR = "UpdateCaseRuleRequest";
|
|
@@ -524,6 +528,7 @@ const _i = "id";
|
|
|
524
528
|
const _iC = "includeContent";
|
|
525
529
|
const _iD = "includedData";
|
|
526
530
|
const _iPA = "iamPrincipalArn";
|
|
531
|
+
const _k = "key";
|
|
527
532
|
const _l = "layouts";
|
|
528
533
|
const _lA = "layoutArn";
|
|
529
534
|
const _lC = "layoutConfiguration";
|
|
@@ -582,10 +587,13 @@ const _tA = "templateArn";
|
|
|
582
587
|
const _tFV = "targetFieldValues";
|
|
583
588
|
const _tI = "templateId";
|
|
584
589
|
const _tK = "tagKeys";
|
|
590
|
+
const _tM = "tagMap";
|
|
585
591
|
const _tP = "topPanel";
|
|
592
|
+
const _tPC = "tagPropagationConfigurations";
|
|
586
593
|
const _tSM = "targetSlaMinutes";
|
|
587
594
|
const _tT = "targetTime";
|
|
588
595
|
const _ta = "tags";
|
|
596
|
+
const _tag = "tag";
|
|
589
597
|
const _te = "templates";
|
|
590
598
|
const _u = "user";
|
|
591
599
|
const _uA = "userArn";
|
|
@@ -730,8 +738,8 @@ var ContactFilter$ = [3, n0, _CFo,
|
|
|
730
738
|
];
|
|
731
739
|
var CreateCaseRequest$ = [3, n0, _CCR,
|
|
732
740
|
0,
|
|
733
|
-
[_dI, _tI, _f, _cTl, _pB],
|
|
734
|
-
[[0, 1], 0, () => FieldValueList, [0, 4], [() => UserUnion$, 0]], 3
|
|
741
|
+
[_dI, _tI, _f, _cTl, _pB, _ta],
|
|
742
|
+
[[0, 1], 0, () => FieldValueList, [0, 4], [() => UserUnion$, 0], 128 | 0], 3
|
|
735
743
|
];
|
|
736
744
|
var CreateCaseResponse$ = [3, n0, _CCRr,
|
|
737
745
|
0,
|
|
@@ -790,8 +798,8 @@ var CreateRelatedItemResponse$ = [3, n0, _CRIRr,
|
|
|
790
798
|
];
|
|
791
799
|
var CreateTemplateRequest$ = [3, n0, _CTR,
|
|
792
800
|
0,
|
|
793
|
-
[_dI, _n, _d, _lC, _rF, _s, _rul],
|
|
794
|
-
[[0, 1], 0, 0, () => LayoutConfiguration$, () => RequiredFieldList, 0, () => TemplateCaseRuleList], 2
|
|
801
|
+
[_dI, _n, _d, _lC, _rF, _s, _rul, _tPC],
|
|
802
|
+
[[0, 1], 0, 0, () => LayoutConfiguration$, () => RequiredFieldList, 0, () => TemplateCaseRuleList, () => TagPropagationConfigurationList], 2
|
|
795
803
|
];
|
|
796
804
|
var CreateTemplateResponse$ = [3, n0, _CTRr,
|
|
797
805
|
0,
|
|
@@ -1030,8 +1038,8 @@ var GetTemplateRequest$ = [3, n0, _GTR,
|
|
|
1030
1038
|
];
|
|
1031
1039
|
var GetTemplateResponse$ = [3, n0, _GTRe,
|
|
1032
1040
|
0,
|
|
1033
|
-
[_tI, _tA, _n, _s, _d, _lC, _rF, _ta, _de, _cTr, _lMT, _rul],
|
|
1034
|
-
[0, 0, 0, 0, 0, () => LayoutConfiguration$, () => RequiredFieldList, [() => Tags, 0], 2, 5, 5, () => TemplateCaseRuleList], 4
|
|
1041
|
+
[_tI, _tA, _n, _s, _d, _lC, _rF, _ta, _de, _cTr, _lMT, _rul, _tPC],
|
|
1042
|
+
[0, 0, 0, 0, 0, () => LayoutConfiguration$, () => RequiredFieldList, [() => Tags, 0], 2, 5, 5, () => TemplateCaseRuleList, () => TagPropagationConfigurationList], 4
|
|
1035
1043
|
];
|
|
1036
1044
|
var HiddenCaseRule$ = [3, n0, _HCR,
|
|
1037
1045
|
0,
|
|
@@ -1256,11 +1264,21 @@ var Sort$ = [3, n0, _S,
|
|
|
1256
1264
|
[_fI, _sO],
|
|
1257
1265
|
[0, 0], 2
|
|
1258
1266
|
];
|
|
1267
|
+
var TagPropagationConfiguration$ = [3, n0, _TPC,
|
|
1268
|
+
0,
|
|
1269
|
+
[_rTe, _tM],
|
|
1270
|
+
[0, 128 | 0], 2
|
|
1271
|
+
];
|
|
1259
1272
|
var TagResourceRequest$ = [3, n0, _TRR,
|
|
1260
1273
|
0,
|
|
1261
1274
|
[_ar, _ta],
|
|
1262
1275
|
[[0, 1], [() => Tags, 0]], 2
|
|
1263
1276
|
];
|
|
1277
|
+
var TagValue$ = [3, n0, _TV,
|
|
1278
|
+
0,
|
|
1279
|
+
[_k, _v],
|
|
1280
|
+
[0, 0]
|
|
1281
|
+
];
|
|
1264
1282
|
var TemplateRule$ = [3, n0, _TR,
|
|
1265
1283
|
0,
|
|
1266
1284
|
[_cRI, _fI],
|
|
@@ -1268,8 +1286,8 @@ var TemplateRule$ = [3, n0, _TR,
|
|
|
1268
1286
|
];
|
|
1269
1287
|
var TemplateSummary$ = [3, n0, _TS,
|
|
1270
1288
|
0,
|
|
1271
|
-
[_tI, _tA, _n, _s],
|
|
1272
|
-
[0, 0, 0, 0], 4
|
|
1289
|
+
[_tI, _tA, _n, _s, _tPC],
|
|
1290
|
+
[0, 0, 0, 0, () => TagPropagationConfigurationList], 4
|
|
1273
1291
|
];
|
|
1274
1292
|
var ThrottlingException$ = [-3, n0, _TE,
|
|
1275
1293
|
{ [_e]: _c, [_hE]: 429 },
|
|
@@ -1324,8 +1342,8 @@ var UpdateLayoutResponse$ = [3, n0, _ULRp,
|
|
|
1324
1342
|
];
|
|
1325
1343
|
var UpdateTemplateRequest$ = [3, n0, _UTR,
|
|
1326
1344
|
0,
|
|
1327
|
-
[_dI, _tI, _n, _d, _lC, _rF, _s, _rul],
|
|
1328
|
-
[[0, 1], [0, 1], 0, 0, () => LayoutConfiguration$, () => RequiredFieldList, 0, () => TemplateCaseRuleList], 2
|
|
1345
|
+
[_dI, _tI, _n, _d, _lC, _rF, _s, _rul, _tPC],
|
|
1346
|
+
[[0, 1], [0, 1], 0, 0, () => LayoutConfiguration$, () => RequiredFieldList, 0, () => TemplateCaseRuleList, () => TagPropagationConfigurationList], 2
|
|
1329
1347
|
];
|
|
1330
1348
|
var UpdateTemplateResponse$ = [3, n0, _UTRp,
|
|
1331
1349
|
0,
|
|
@@ -1441,6 +1459,9 @@ var SlaFieldValueUnionList = [1, n0, _SFVUL,
|
|
|
1441
1459
|
var SortList = [1, n0, _SLo,
|
|
1442
1460
|
0, () => Sort$
|
|
1443
1461
|
];
|
|
1462
|
+
var TagPropagationConfigurationList = [1, n0, _TPCL,
|
|
1463
|
+
0, () => TagPropagationConfiguration$
|
|
1464
|
+
];
|
|
1444
1465
|
var TemplateCaseRuleList = [1, n0, _TCRL,
|
|
1445
1466
|
0, () => TemplateRule$
|
|
1446
1467
|
];
|
|
@@ -1462,8 +1483,8 @@ var BooleanCondition$ = [4, n0, _BC,
|
|
|
1462
1483
|
];
|
|
1463
1484
|
var CaseFilter$ = [4, n0, _CFa,
|
|
1464
1485
|
0,
|
|
1465
|
-
[_fie, _no, _aA, _oA],
|
|
1466
|
-
[() => FieldFilter$, () => CaseFilter$, () => CaseFilterList, () => CaseFilterList]
|
|
1486
|
+
[_fie, _no, _tag, _aA, _oA],
|
|
1487
|
+
[() => FieldFilter$, () => CaseFilter$, () => TagFilter$, () => CaseFilterList, () => CaseFilterList]
|
|
1467
1488
|
];
|
|
1468
1489
|
var CaseRuleDetails$ = [4, n0, _CRD,
|
|
1469
1490
|
0,
|
|
@@ -1525,6 +1546,11 @@ var SlaInputContent$ = [4, n0, _SICl,
|
|
|
1525
1546
|
[_sIC],
|
|
1526
1547
|
[[() => SlaInputConfiguration$, 0]]
|
|
1527
1548
|
];
|
|
1549
|
+
var TagFilter$ = [4, n0, _TF,
|
|
1550
|
+
0,
|
|
1551
|
+
[_eT],
|
|
1552
|
+
[() => TagValue$]
|
|
1553
|
+
];
|
|
1528
1554
|
var UserUnion$ = [4, n0, _UU,
|
|
1529
1555
|
0,
|
|
1530
1556
|
[_uA, _cE],
|
|
@@ -2293,6 +2319,9 @@ const TemplateStatus = {
|
|
|
2293
2319
|
ACTIVE: "Active",
|
|
2294
2320
|
INACTIVE: "Inactive",
|
|
2295
2321
|
};
|
|
2322
|
+
const TagPropagationResourceType = {
|
|
2323
|
+
CASES: "Cases",
|
|
2324
|
+
};
|
|
2296
2325
|
|
|
2297
2326
|
Object.defineProperty(exports, "$Command", {
|
|
2298
2327
|
enumerable: true,
|
|
@@ -2538,9 +2567,13 @@ exports.SlaInputContent$ = SlaInputContent$;
|
|
|
2538
2567
|
exports.SlaStatus = SlaStatus;
|
|
2539
2568
|
exports.SlaType = SlaType;
|
|
2540
2569
|
exports.Sort$ = Sort$;
|
|
2570
|
+
exports.TagFilter$ = TagFilter$;
|
|
2571
|
+
exports.TagPropagationConfiguration$ = TagPropagationConfiguration$;
|
|
2572
|
+
exports.TagPropagationResourceType = TagPropagationResourceType;
|
|
2541
2573
|
exports.TagResource$ = TagResource$;
|
|
2542
2574
|
exports.TagResourceCommand = TagResourceCommand;
|
|
2543
2575
|
exports.TagResourceRequest$ = TagResourceRequest$;
|
|
2576
|
+
exports.TagValue$ = TagValue$;
|
|
2544
2577
|
exports.TemplateRule$ = TemplateRule$;
|
|
2545
2578
|
exports.TemplateStatus = TemplateStatus;
|
|
2546
2579
|
exports.TemplateSummary$ = TemplateSummary$;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -216,11 +216,15 @@ const _Se = "Section";
|
|
|
216
216
|
const _T = "Tags";
|
|
217
217
|
const _TCRL = "TemplateCaseRuleList";
|
|
218
218
|
const _TE = "ThrottlingException";
|
|
219
|
+
const _TF = "TagFilter";
|
|
220
|
+
const _TPC = "TagPropagationConfiguration";
|
|
221
|
+
const _TPCL = "TagPropagationConfigurationList";
|
|
219
222
|
const _TR = "TemplateRule";
|
|
220
223
|
const _TRR = "TagResourceRequest";
|
|
221
224
|
const _TRa = "TagResource";
|
|
222
225
|
const _TS = "TemplateSummary";
|
|
223
226
|
const _TSL = "TemplateSummaryList";
|
|
227
|
+
const _TV = "TagValue";
|
|
224
228
|
const _UC = "UpdateCase";
|
|
225
229
|
const _UCR = "UpdateCaseRequest";
|
|
226
230
|
const _UCRR = "UpdateCaseRuleRequest";
|
|
@@ -312,6 +316,7 @@ const _i = "id";
|
|
|
312
316
|
const _iC = "includeContent";
|
|
313
317
|
const _iD = "includedData";
|
|
314
318
|
const _iPA = "iamPrincipalArn";
|
|
319
|
+
const _k = "key";
|
|
315
320
|
const _l = "layouts";
|
|
316
321
|
const _lA = "layoutArn";
|
|
317
322
|
const _lC = "layoutConfiguration";
|
|
@@ -370,10 +375,13 @@ const _tA = "templateArn";
|
|
|
370
375
|
const _tFV = "targetFieldValues";
|
|
371
376
|
const _tI = "templateId";
|
|
372
377
|
const _tK = "tagKeys";
|
|
378
|
+
const _tM = "tagMap";
|
|
373
379
|
const _tP = "topPanel";
|
|
380
|
+
const _tPC = "tagPropagationConfigurations";
|
|
374
381
|
const _tSM = "targetSlaMinutes";
|
|
375
382
|
const _tT = "targetTime";
|
|
376
383
|
const _ta = "tags";
|
|
384
|
+
const _tag = "tag";
|
|
377
385
|
const _te = "templates";
|
|
378
386
|
const _u = "user";
|
|
379
387
|
const _uA = "userArn";
|
|
@@ -521,8 +529,8 @@ export var ContactFilter$ = [3, n0, _CFo,
|
|
|
521
529
|
];
|
|
522
530
|
export var CreateCaseRequest$ = [3, n0, _CCR,
|
|
523
531
|
0,
|
|
524
|
-
[_dI, _tI, _f, _cTl, _pB],
|
|
525
|
-
[[0, 1], 0, () => FieldValueList, [0, 4], [() => UserUnion$, 0]], 3
|
|
532
|
+
[_dI, _tI, _f, _cTl, _pB, _ta],
|
|
533
|
+
[[0, 1], 0, () => FieldValueList, [0, 4], [() => UserUnion$, 0], 128 | 0], 3
|
|
526
534
|
];
|
|
527
535
|
export var CreateCaseResponse$ = [3, n0, _CCRr,
|
|
528
536
|
0,
|
|
@@ -581,8 +589,8 @@ export var CreateRelatedItemResponse$ = [3, n0, _CRIRr,
|
|
|
581
589
|
];
|
|
582
590
|
export var CreateTemplateRequest$ = [3, n0, _CTR,
|
|
583
591
|
0,
|
|
584
|
-
[_dI, _n, _d, _lC, _rF, _s, _rul],
|
|
585
|
-
[[0, 1], 0, 0, () => LayoutConfiguration$, () => RequiredFieldList, 0, () => TemplateCaseRuleList], 2
|
|
592
|
+
[_dI, _n, _d, _lC, _rF, _s, _rul, _tPC],
|
|
593
|
+
[[0, 1], 0, 0, () => LayoutConfiguration$, () => RequiredFieldList, 0, () => TemplateCaseRuleList, () => TagPropagationConfigurationList], 2
|
|
586
594
|
];
|
|
587
595
|
export var CreateTemplateResponse$ = [3, n0, _CTRr,
|
|
588
596
|
0,
|
|
@@ -821,8 +829,8 @@ export var GetTemplateRequest$ = [3, n0, _GTR,
|
|
|
821
829
|
];
|
|
822
830
|
export var GetTemplateResponse$ = [3, n0, _GTRe,
|
|
823
831
|
0,
|
|
824
|
-
[_tI, _tA, _n, _s, _d, _lC, _rF, _ta, _de, _cTr, _lMT, _rul],
|
|
825
|
-
[0, 0, 0, 0, 0, () => LayoutConfiguration$, () => RequiredFieldList, [() => Tags, 0], 2, 5, 5, () => TemplateCaseRuleList], 4
|
|
832
|
+
[_tI, _tA, _n, _s, _d, _lC, _rF, _ta, _de, _cTr, _lMT, _rul, _tPC],
|
|
833
|
+
[0, 0, 0, 0, 0, () => LayoutConfiguration$, () => RequiredFieldList, [() => Tags, 0], 2, 5, 5, () => TemplateCaseRuleList, () => TagPropagationConfigurationList], 4
|
|
826
834
|
];
|
|
827
835
|
export var HiddenCaseRule$ = [3, n0, _HCR,
|
|
828
836
|
0,
|
|
@@ -1047,11 +1055,21 @@ export var Sort$ = [3, n0, _S,
|
|
|
1047
1055
|
[_fI, _sO],
|
|
1048
1056
|
[0, 0], 2
|
|
1049
1057
|
];
|
|
1058
|
+
export var TagPropagationConfiguration$ = [3, n0, _TPC,
|
|
1059
|
+
0,
|
|
1060
|
+
[_rTe, _tM],
|
|
1061
|
+
[0, 128 | 0], 2
|
|
1062
|
+
];
|
|
1050
1063
|
export var TagResourceRequest$ = [3, n0, _TRR,
|
|
1051
1064
|
0,
|
|
1052
1065
|
[_ar, _ta],
|
|
1053
1066
|
[[0, 1], [() => Tags, 0]], 2
|
|
1054
1067
|
];
|
|
1068
|
+
export var TagValue$ = [3, n0, _TV,
|
|
1069
|
+
0,
|
|
1070
|
+
[_k, _v],
|
|
1071
|
+
[0, 0]
|
|
1072
|
+
];
|
|
1055
1073
|
export var TemplateRule$ = [3, n0, _TR,
|
|
1056
1074
|
0,
|
|
1057
1075
|
[_cRI, _fI],
|
|
@@ -1059,8 +1077,8 @@ export var TemplateRule$ = [3, n0, _TR,
|
|
|
1059
1077
|
];
|
|
1060
1078
|
export var TemplateSummary$ = [3, n0, _TS,
|
|
1061
1079
|
0,
|
|
1062
|
-
[_tI, _tA, _n, _s],
|
|
1063
|
-
[0, 0, 0, 0], 4
|
|
1080
|
+
[_tI, _tA, _n, _s, _tPC],
|
|
1081
|
+
[0, 0, 0, 0, () => TagPropagationConfigurationList], 4
|
|
1064
1082
|
];
|
|
1065
1083
|
export var ThrottlingException$ = [-3, n0, _TE,
|
|
1066
1084
|
{ [_e]: _c, [_hE]: 429 },
|
|
@@ -1115,8 +1133,8 @@ export var UpdateLayoutResponse$ = [3, n0, _ULRp,
|
|
|
1115
1133
|
];
|
|
1116
1134
|
export var UpdateTemplateRequest$ = [3, n0, _UTR,
|
|
1117
1135
|
0,
|
|
1118
|
-
[_dI, _tI, _n, _d, _lC, _rF, _s, _rul],
|
|
1119
|
-
[[0, 1], [0, 1], 0, 0, () => LayoutConfiguration$, () => RequiredFieldList, 0, () => TemplateCaseRuleList], 2
|
|
1136
|
+
[_dI, _tI, _n, _d, _lC, _rF, _s, _rul, _tPC],
|
|
1137
|
+
[[0, 1], [0, 1], 0, 0, () => LayoutConfiguration$, () => RequiredFieldList, 0, () => TemplateCaseRuleList, () => TagPropagationConfigurationList], 2
|
|
1120
1138
|
];
|
|
1121
1139
|
export var UpdateTemplateResponse$ = [3, n0, _UTRp,
|
|
1122
1140
|
0,
|
|
@@ -1236,6 +1254,9 @@ var SortList = [1, n0, _SLo,
|
|
|
1236
1254
|
0, () => Sort$
|
|
1237
1255
|
];
|
|
1238
1256
|
var TagKeyList = 64 | 0;
|
|
1257
|
+
var TagPropagationConfigurationList = [1, n0, _TPCL,
|
|
1258
|
+
0, () => TagPropagationConfiguration$
|
|
1259
|
+
];
|
|
1239
1260
|
var TemplateCaseRuleList = [1, n0, _TCRL,
|
|
1240
1261
|
0, () => TemplateRule$
|
|
1241
1262
|
];
|
|
@@ -1244,6 +1265,7 @@ var TemplateSummaryList = [1, n0, _TSL,
|
|
|
1244
1265
|
0, () => TemplateSummary$
|
|
1245
1266
|
];
|
|
1246
1267
|
var ValuesList = 64 | 0;
|
|
1268
|
+
var MutableTags = 128 | 0;
|
|
1247
1269
|
var Tags = [2, n0, _T,
|
|
1248
1270
|
{ [_sp]: 1 }, 0, 0
|
|
1249
1271
|
];
|
|
@@ -1259,8 +1281,8 @@ export var BooleanCondition$ = [4, n0, _BC,
|
|
|
1259
1281
|
];
|
|
1260
1282
|
export var CaseFilter$ = [4, n0, _CFa,
|
|
1261
1283
|
0,
|
|
1262
|
-
[_fie, _no, _aA, _oA],
|
|
1263
|
-
[() => FieldFilter$, () => CaseFilter$, () => CaseFilterList, () => CaseFilterList]
|
|
1284
|
+
[_fie, _no, _tag, _aA, _oA],
|
|
1285
|
+
[() => FieldFilter$, () => CaseFilter$, () => TagFilter$, () => CaseFilterList, () => CaseFilterList]
|
|
1264
1286
|
];
|
|
1265
1287
|
export var CaseRuleDetails$ = [4, n0, _CRD,
|
|
1266
1288
|
0,
|
|
@@ -1322,6 +1344,11 @@ export var SlaInputContent$ = [4, n0, _SICl,
|
|
|
1322
1344
|
[_sIC],
|
|
1323
1345
|
[[() => SlaInputConfiguration$, 0]]
|
|
1324
1346
|
];
|
|
1347
|
+
export var TagFilter$ = [4, n0, _TF,
|
|
1348
|
+
0,
|
|
1349
|
+
[_eT],
|
|
1350
|
+
[() => TagValue$]
|
|
1351
|
+
];
|
|
1325
1352
|
export var UserUnion$ = [4, n0, _UU,
|
|
1326
1353
|
0,
|
|
1327
1354
|
[_uA, _cE],
|
|
@@ -27,7 +27,7 @@ declare const CreateCaseCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <note> <p>If you provide a value for <code>PerformedBy.UserArn</code> you must also have <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribeUser.html">connect:DescribeUser</a> permission on the User ARN resource that you provide</p> </note> <p>Creates a case in the specified Cases domain. Case system and custom fields are taken as an array id/value pairs with a declared data types.</p> <p>The following fields are required when creating a case:</p> <ul> <li> <p> <code>customer_id</code> - You must provide the full customer profile ARN in this format: <code>arn:aws:profile:your_AWS_Region:your_AWS_account ID:domains/your_profiles_domain_name/profiles/profile_ID</code> </p> </li> <li> <p> <code>title</code> </p> </li> </ul>
|
|
30
|
+
* <note> <p>If you provide a value for <code>PerformedBy.UserArn</code> you must also have <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribeUser.html">connect:DescribeUser</a> permission on the User ARN resource that you provide</p> </note> <p>Creates a case in the specified Cases domain. Case system and custom fields are taken as an array id/value pairs with a declared data types.</p> <p>When creating a case from a template that has tag propagation configurations, the specified tags are automatically applied to the case.</p> <p>The following fields are required when creating a case:</p> <ul> <li> <p> <code>customer_id</code> - You must provide the full customer profile ARN in this format: <code>arn:aws:profile:your_AWS_Region:your_AWS_account ID:domains/your_profiles_domain_name/profiles/profile_ID</code> </p> </li> <li> <p> <code>title</code> </p> </li> </ul>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -56,6 +56,9 @@ declare const CreateCaseCommand_base: {
|
|
|
56
56
|
* userArn: "STRING_VALUE",
|
|
57
57
|
* customEntity: "STRING_VALUE",
|
|
58
58
|
* },
|
|
59
|
+
* tags: { // MutableTags
|
|
60
|
+
* "<keys>": "STRING_VALUE",
|
|
61
|
+
* },
|
|
59
62
|
* };
|
|
60
63
|
* const command = new CreateCaseCommand(input);
|
|
61
64
|
* const response = await client.send(command);
|
|
@@ -55,6 +55,14 @@ declare const CreateTemplateCommand_base: {
|
|
|
55
55
|
* fieldId: "STRING_VALUE",
|
|
56
56
|
* },
|
|
57
57
|
* ],
|
|
58
|
+
* tagPropagationConfigurations: [ // TagPropagationConfigurationList
|
|
59
|
+
* { // TagPropagationConfiguration
|
|
60
|
+
* resourceType: "STRING_VALUE", // required
|
|
61
|
+
* tagMap: { // MutableTags // required
|
|
62
|
+
* "<keys>": "STRING_VALUE",
|
|
63
|
+
* },
|
|
64
|
+
* },
|
|
65
|
+
* ],
|
|
58
66
|
* };
|
|
59
67
|
* const command = new CreateTemplateCommand(input);
|
|
60
68
|
* const response = await client.send(command);
|
|
@@ -68,6 +68,14 @@ declare const GetTemplateCommand_base: {
|
|
|
68
68
|
* // fieldId: "STRING_VALUE",
|
|
69
69
|
* // },
|
|
70
70
|
* // ],
|
|
71
|
+
* // tagPropagationConfigurations: [ // TagPropagationConfigurationList
|
|
72
|
+
* // { // TagPropagationConfiguration
|
|
73
|
+
* // resourceType: "STRING_VALUE", // required
|
|
74
|
+
* // tagMap: { // MutableTags // required
|
|
75
|
+
* // "<keys>": "STRING_VALUE",
|
|
76
|
+
* // },
|
|
77
|
+
* // },
|
|
78
|
+
* // ],
|
|
71
79
|
* // };
|
|
72
80
|
*
|
|
73
81
|
* ```
|
|
@@ -53,6 +53,14 @@ declare const ListTemplatesCommand_base: {
|
|
|
53
53
|
* // templateArn: "STRING_VALUE", // required
|
|
54
54
|
* // name: "STRING_VALUE", // required
|
|
55
55
|
* // status: "STRING_VALUE", // required
|
|
56
|
+
* // tagPropagationConfigurations: [ // TagPropagationConfigurationList
|
|
57
|
+
* // { // TagPropagationConfiguration
|
|
58
|
+
* // resourceType: "STRING_VALUE", // required
|
|
59
|
+
* // tagMap: { // MutableTags // required
|
|
60
|
+
* // "<keys>": "STRING_VALUE",
|
|
61
|
+
* // },
|
|
62
|
+
* // },
|
|
63
|
+
* // ],
|
|
56
64
|
* // },
|
|
57
65
|
* // ],
|
|
58
66
|
* // nextToken: "STRING_VALUE",
|
|
@@ -105,6 +105,12 @@ declare const SearchCasesCommand_base: {
|
|
|
105
105
|
* lessThanOrEqualTo: "<FieldValue>",
|
|
106
106
|
* },
|
|
107
107
|
* not: "<CaseFilter>",
|
|
108
|
+
* tag: { // TagFilter Union: only one key present
|
|
109
|
+
* equalTo: { // TagValue
|
|
110
|
+
* key: "STRING_VALUE",
|
|
111
|
+
* value: "STRING_VALUE",
|
|
112
|
+
* },
|
|
113
|
+
* },
|
|
108
114
|
* andAll: [ // CaseFilterList
|
|
109
115
|
* "<CaseFilter>",
|
|
110
116
|
* ],
|
|
@@ -112,6 +118,12 @@ declare const SearchCasesCommand_base: {
|
|
|
112
118
|
* "<CaseFilter>",
|
|
113
119
|
* ],
|
|
114
120
|
* },
|
|
121
|
+
* tag: {// Union: only one key present
|
|
122
|
+
* equalTo: {
|
|
123
|
+
* key: "STRING_VALUE",
|
|
124
|
+
* value: "STRING_VALUE",
|
|
125
|
+
* },
|
|
126
|
+
* },
|
|
115
127
|
* andAll: [
|
|
116
128
|
* "<CaseFilter>",
|
|
117
129
|
* ],
|
|
@@ -56,6 +56,14 @@ declare const UpdateTemplateCommand_base: {
|
|
|
56
56
|
* fieldId: "STRING_VALUE",
|
|
57
57
|
* },
|
|
58
58
|
* ],
|
|
59
|
+
* tagPropagationConfigurations: [ // TagPropagationConfigurationList
|
|
60
|
+
* { // TagPropagationConfiguration
|
|
61
|
+
* resourceType: "STRING_VALUE", // required
|
|
62
|
+
* tagMap: { // MutableTags // required
|
|
63
|
+
* "<keys>": "STRING_VALUE",
|
|
64
|
+
* },
|
|
65
|
+
* },
|
|
66
|
+
* ],
|
|
59
67
|
* };
|
|
60
68
|
* const command = new UpdateTemplateCommand(input);
|
|
61
69
|
* const response = await client.send(command);
|
|
@@ -154,3 +154,17 @@ export declare const TemplateStatus: {
|
|
|
154
154
|
* @public
|
|
155
155
|
*/
|
|
156
156
|
export type TemplateStatus = (typeof TemplateStatus)[keyof typeof TemplateStatus];
|
|
157
|
+
/**
|
|
158
|
+
* @public
|
|
159
|
+
* @enum
|
|
160
|
+
*/
|
|
161
|
+
export declare const TagPropagationResourceType: {
|
|
162
|
+
/**
|
|
163
|
+
* Cases resources created within the domain
|
|
164
|
+
*/
|
|
165
|
+
readonly CASES: "Cases";
|
|
166
|
+
};
|
|
167
|
+
/**
|
|
168
|
+
* @public
|
|
169
|
+
*/
|
|
170
|
+
export type TagPropagationResourceType = (typeof TagPropagationResourceType)[keyof typeof TagPropagationResourceType];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AuditEventType, CommentBodyTextType, DomainStatus, FieldNamespace, FieldType, Order, RelatedItemType, RuleType, SearchAllRelatedItemsSortProperty, SlaStatus, SlaType, TemplateStatus } from "./enums";
|
|
1
|
+
import { AuditEventType, CommentBodyTextType, DomainStatus, FieldNamespace, FieldType, Order, RelatedItemType, RuleType, SearchAllRelatedItemsSortProperty, SlaStatus, SlaType, TagPropagationResourceType, TemplateStatus } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>An empty value. You cannot set <code>EmptyFieldValue</code> on a field that is required on a case template.</p> <p>This structure will never have any data members. It signifies an empty value on a case field.</p>
|
|
4
4
|
* @public
|
|
@@ -188,6 +188,11 @@ export interface CreateCaseRequest {
|
|
|
188
188
|
* @public
|
|
189
189
|
*/
|
|
190
190
|
performedBy?: UserUnion | undefined;
|
|
191
|
+
/**
|
|
192
|
+
* <p>A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.</p>
|
|
193
|
+
* @public
|
|
194
|
+
*/
|
|
195
|
+
tags?: Record<string, string> | undefined;
|
|
191
196
|
}
|
|
192
197
|
/**
|
|
193
198
|
* @public
|
|
@@ -1286,6 +1291,55 @@ export interface SearchRelatedItemsResponse {
|
|
|
1286
1291
|
*/
|
|
1287
1292
|
relatedItems: SearchRelatedItemsResponseItem[] | undefined;
|
|
1288
1293
|
}
|
|
1294
|
+
/**
|
|
1295
|
+
* <p>Object for case tag filter values.</p>
|
|
1296
|
+
* @public
|
|
1297
|
+
*/
|
|
1298
|
+
export interface TagValue {
|
|
1299
|
+
/**
|
|
1300
|
+
* <p>The tag key in the tag filter value.</p>
|
|
1301
|
+
* @public
|
|
1302
|
+
*/
|
|
1303
|
+
key?: string | undefined;
|
|
1304
|
+
/**
|
|
1305
|
+
* <p>The tag value in the tag filter value.</p>
|
|
1306
|
+
* @public
|
|
1307
|
+
*/
|
|
1308
|
+
value?: string | undefined;
|
|
1309
|
+
}
|
|
1310
|
+
/**
|
|
1311
|
+
* <p>A filter for tags. Only one value can be provided.</p>
|
|
1312
|
+
* @public
|
|
1313
|
+
*/
|
|
1314
|
+
export type TagFilter = TagFilter.EqualToMember | TagFilter.$UnknownMember;
|
|
1315
|
+
/**
|
|
1316
|
+
* @public
|
|
1317
|
+
*/
|
|
1318
|
+
export declare namespace TagFilter {
|
|
1319
|
+
/**
|
|
1320
|
+
* <p>Object containing tag key and value information.</p>
|
|
1321
|
+
* @public
|
|
1322
|
+
*/
|
|
1323
|
+
interface EqualToMember {
|
|
1324
|
+
equalTo: TagValue;
|
|
1325
|
+
$unknown?: never;
|
|
1326
|
+
}
|
|
1327
|
+
/**
|
|
1328
|
+
* @public
|
|
1329
|
+
*/
|
|
1330
|
+
interface $UnknownMember {
|
|
1331
|
+
equalTo?: never;
|
|
1332
|
+
$unknown: [string, any];
|
|
1333
|
+
}
|
|
1334
|
+
/**
|
|
1335
|
+
* @deprecated unused in schema-serde mode.
|
|
1336
|
+
*
|
|
1337
|
+
*/
|
|
1338
|
+
interface Visitor<T> {
|
|
1339
|
+
equalTo: (value: TagValue) => T;
|
|
1340
|
+
_: (name: string, value: any) => T;
|
|
1341
|
+
}
|
|
1342
|
+
}
|
|
1289
1343
|
/**
|
|
1290
1344
|
* <p>A structured set of sort terms.</p>
|
|
1291
1345
|
* @public
|
|
@@ -3041,6 +3095,22 @@ export interface TemplateRule {
|
|
|
3041
3095
|
*/
|
|
3042
3096
|
fieldId?: string | undefined;
|
|
3043
3097
|
}
|
|
3098
|
+
/**
|
|
3099
|
+
* <p>Defines tag propagation configuration for resources created within a domain. Tags specified here will be automatically applied to resources being created for the specified resource type.</p>
|
|
3100
|
+
* @public
|
|
3101
|
+
*/
|
|
3102
|
+
export interface TagPropagationConfiguration {
|
|
3103
|
+
/**
|
|
3104
|
+
* <p>Supported resource types for tag propagation. Determines which resources will receive automatically propagated tags.</p>
|
|
3105
|
+
* @public
|
|
3106
|
+
*/
|
|
3107
|
+
resourceType: TagPropagationResourceType | undefined;
|
|
3108
|
+
/**
|
|
3109
|
+
* <p>The tags that will be applied to the created resource.</p>
|
|
3110
|
+
* @public
|
|
3111
|
+
*/
|
|
3112
|
+
tagMap: Record<string, string> | undefined;
|
|
3113
|
+
}
|
|
3044
3114
|
/**
|
|
3045
3115
|
* @public
|
|
3046
3116
|
*/
|
|
@@ -3080,6 +3150,11 @@ export interface CreateTemplateRequest {
|
|
|
3080
3150
|
* @public
|
|
3081
3151
|
*/
|
|
3082
3152
|
rules?: TemplateRule[] | undefined;
|
|
3153
|
+
/**
|
|
3154
|
+
* <p>Defines tag propagation configuration for resources created within a domain. Tags specified here will be automatically applied to resources being created for the specified resource type.</p>
|
|
3155
|
+
* @public
|
|
3156
|
+
*/
|
|
3157
|
+
tagPropagationConfigurations?: TagPropagationConfiguration[] | undefined;
|
|
3083
3158
|
}
|
|
3084
3159
|
/**
|
|
3085
3160
|
* @public
|
|
@@ -3195,6 +3270,11 @@ export interface GetTemplateResponse {
|
|
|
3195
3270
|
* @public
|
|
3196
3271
|
*/
|
|
3197
3272
|
rules?: TemplateRule[] | undefined;
|
|
3273
|
+
/**
|
|
3274
|
+
* <p>Defines tag propagation configuration for resources created within a domain. Tags specified here will be automatically applied to resources being created for the specified resource type.</p>
|
|
3275
|
+
* @public
|
|
3276
|
+
*/
|
|
3277
|
+
tagPropagationConfigurations?: TagPropagationConfiguration[] | undefined;
|
|
3198
3278
|
}
|
|
3199
3279
|
/**
|
|
3200
3280
|
* @public
|
|
@@ -3246,6 +3326,11 @@ export interface TemplateSummary {
|
|
|
3246
3326
|
* @public
|
|
3247
3327
|
*/
|
|
3248
3328
|
status: TemplateStatus | undefined;
|
|
3329
|
+
/**
|
|
3330
|
+
* <p>Defines tag propagation configuration for resources created within a domain. Tags specified here will be automatically applied to resources being created for the specified resource type.</p>
|
|
3331
|
+
* @public
|
|
3332
|
+
*/
|
|
3333
|
+
tagPropagationConfigurations?: TagPropagationConfiguration[] | undefined;
|
|
3249
3334
|
}
|
|
3250
3335
|
/**
|
|
3251
3336
|
* @public
|
|
@@ -3306,6 +3391,11 @@ export interface UpdateTemplateRequest {
|
|
|
3306
3391
|
* @public
|
|
3307
3392
|
*/
|
|
3308
3393
|
rules?: TemplateRule[] | undefined;
|
|
3394
|
+
/**
|
|
3395
|
+
* <p>Defines tag propagation configuration for resources created within a domain. Tags specified here will be automatically applied to resources being created for the specified resource type.</p>
|
|
3396
|
+
* @public
|
|
3397
|
+
*/
|
|
3398
|
+
tagPropagationConfigurations?: TagPropagationConfiguration[] | undefined;
|
|
3309
3399
|
}
|
|
3310
3400
|
/**
|
|
3311
3401
|
* @public
|
|
@@ -3331,7 +3421,7 @@ export interface UntagResourceRequest {
|
|
|
3331
3421
|
* <p>A filter for cases. Only one value can be provided.</p>
|
|
3332
3422
|
* @public
|
|
3333
3423
|
*/
|
|
3334
|
-
export type CaseFilter = CaseFilter.AndAllMember | CaseFilter.FieldMember | CaseFilter.NotMember | CaseFilter.OrAllMember | CaseFilter.$UnknownMember;
|
|
3424
|
+
export type CaseFilter = CaseFilter.AndAllMember | CaseFilter.FieldMember | CaseFilter.NotMember | CaseFilter.OrAllMember | CaseFilter.TagMember | CaseFilter.$UnknownMember;
|
|
3335
3425
|
/**
|
|
3336
3426
|
* @public
|
|
3337
3427
|
*/
|
|
@@ -3343,6 +3433,7 @@ export declare namespace CaseFilter {
|
|
|
3343
3433
|
interface FieldMember {
|
|
3344
3434
|
field: FieldFilter;
|
|
3345
3435
|
not?: never;
|
|
3436
|
+
tag?: never;
|
|
3346
3437
|
andAll?: never;
|
|
3347
3438
|
orAll?: never;
|
|
3348
3439
|
$unknown?: never;
|
|
@@ -3354,6 +3445,19 @@ export declare namespace CaseFilter {
|
|
|
3354
3445
|
interface NotMember {
|
|
3355
3446
|
field?: never;
|
|
3356
3447
|
not: CaseFilter;
|
|
3448
|
+
tag?: never;
|
|
3449
|
+
andAll?: never;
|
|
3450
|
+
orAll?: never;
|
|
3451
|
+
$unknown?: never;
|
|
3452
|
+
}
|
|
3453
|
+
/**
|
|
3454
|
+
* <p>A list of tags to filter on.</p>
|
|
3455
|
+
* @public
|
|
3456
|
+
*/
|
|
3457
|
+
interface TagMember {
|
|
3458
|
+
field?: never;
|
|
3459
|
+
not?: never;
|
|
3460
|
+
tag: TagFilter;
|
|
3357
3461
|
andAll?: never;
|
|
3358
3462
|
orAll?: never;
|
|
3359
3463
|
$unknown?: never;
|
|
@@ -3365,6 +3469,7 @@ export declare namespace CaseFilter {
|
|
|
3365
3469
|
interface AndAllMember {
|
|
3366
3470
|
field?: never;
|
|
3367
3471
|
not?: never;
|
|
3472
|
+
tag?: never;
|
|
3368
3473
|
andAll: CaseFilter[];
|
|
3369
3474
|
orAll?: never;
|
|
3370
3475
|
$unknown?: never;
|
|
@@ -3376,6 +3481,7 @@ export declare namespace CaseFilter {
|
|
|
3376
3481
|
interface OrAllMember {
|
|
3377
3482
|
field?: never;
|
|
3378
3483
|
not?: never;
|
|
3484
|
+
tag?: never;
|
|
3379
3485
|
andAll?: never;
|
|
3380
3486
|
orAll: CaseFilter[];
|
|
3381
3487
|
$unknown?: never;
|
|
@@ -3386,6 +3492,7 @@ export declare namespace CaseFilter {
|
|
|
3386
3492
|
interface $UnknownMember {
|
|
3387
3493
|
field?: never;
|
|
3388
3494
|
not?: never;
|
|
3495
|
+
tag?: never;
|
|
3389
3496
|
andAll?: never;
|
|
3390
3497
|
orAll?: never;
|
|
3391
3498
|
$unknown: [string, any];
|
|
@@ -3397,6 +3504,7 @@ export declare namespace CaseFilter {
|
|
|
3397
3504
|
interface Visitor<T> {
|
|
3398
3505
|
field: (value: FieldFilter) => T;
|
|
3399
3506
|
not: (value: CaseFilter) => T;
|
|
3507
|
+
tag: (value: TagFilter) => T;
|
|
3400
3508
|
andAll: (value: CaseFilter[]) => T;
|
|
3401
3509
|
orAll: (value: CaseFilter[]) => T;
|
|
3402
3510
|
_: (name: string, value: any) => T;
|
|
@@ -130,7 +130,9 @@ export declare var SlaContent$: StaticStructureSchema;
|
|
|
130
130
|
export declare var SlaFilter$: StaticStructureSchema;
|
|
131
131
|
export declare var SlaInputConfiguration$: StaticStructureSchema;
|
|
132
132
|
export declare var Sort$: StaticStructureSchema;
|
|
133
|
+
export declare var TagPropagationConfiguration$: StaticStructureSchema;
|
|
133
134
|
export declare var TagResourceRequest$: StaticStructureSchema;
|
|
135
|
+
export declare var TagValue$: StaticStructureSchema;
|
|
134
136
|
export declare var TemplateRule$: StaticStructureSchema;
|
|
135
137
|
export declare var TemplateSummary$: StaticStructureSchema;
|
|
136
138
|
export declare var ThrottlingException$: StaticErrorSchema;
|
|
@@ -162,6 +164,7 @@ export declare var RelatedItemInputContent$: StaticUnionSchema;
|
|
|
162
164
|
export declare var RelatedItemTypeFilter$: StaticUnionSchema;
|
|
163
165
|
export declare var Section$: StaticUnionSchema;
|
|
164
166
|
export declare var SlaInputContent$: StaticUnionSchema;
|
|
167
|
+
export declare var TagFilter$: StaticUnionSchema;
|
|
165
168
|
export declare var UserUnion$: StaticUnionSchema;
|
|
166
169
|
export declare var BatchGetCaseRule$: StaticOperationSchema;
|
|
167
170
|
export declare var BatchGetField$: StaticOperationSchema;
|
|
@@ -76,3 +76,8 @@ export declare const TemplateStatus: {
|
|
|
76
76
|
};
|
|
77
77
|
export type TemplateStatus =
|
|
78
78
|
(typeof TemplateStatus)[keyof typeof TemplateStatus];
|
|
79
|
+
export declare const TagPropagationResourceType: {
|
|
80
|
+
readonly CASES: "Cases";
|
|
81
|
+
};
|
|
82
|
+
export type TagPropagationResourceType =
|
|
83
|
+
(typeof TagPropagationResourceType)[keyof typeof TagPropagationResourceType];
|
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
SearchAllRelatedItemsSortProperty,
|
|
11
11
|
SlaStatus,
|
|
12
12
|
SlaType,
|
|
13
|
+
TagPropagationResourceType,
|
|
13
14
|
TemplateStatus,
|
|
14
15
|
} from "./enums";
|
|
15
16
|
export interface EmptyFieldValue {}
|
|
@@ -114,6 +115,7 @@ export interface CreateCaseRequest {
|
|
|
114
115
|
fields: FieldValue[] | undefined;
|
|
115
116
|
clientToken?: string | undefined;
|
|
116
117
|
performedBy?: UserUnion | undefined;
|
|
118
|
+
tags?: Record<string, string> | undefined;
|
|
117
119
|
}
|
|
118
120
|
export interface CreateCaseResponse {
|
|
119
121
|
caseId: string | undefined;
|
|
@@ -598,6 +600,25 @@ export interface SearchRelatedItemsResponse {
|
|
|
598
600
|
nextToken?: string | undefined;
|
|
599
601
|
relatedItems: SearchRelatedItemsResponseItem[] | undefined;
|
|
600
602
|
}
|
|
603
|
+
export interface TagValue {
|
|
604
|
+
key?: string | undefined;
|
|
605
|
+
value?: string | undefined;
|
|
606
|
+
}
|
|
607
|
+
export type TagFilter = TagFilter.EqualToMember | TagFilter.$UnknownMember;
|
|
608
|
+
export declare namespace TagFilter {
|
|
609
|
+
interface EqualToMember {
|
|
610
|
+
equalTo: TagValue;
|
|
611
|
+
$unknown?: never;
|
|
612
|
+
}
|
|
613
|
+
interface $UnknownMember {
|
|
614
|
+
equalTo?: never;
|
|
615
|
+
$unknown: [string, any];
|
|
616
|
+
}
|
|
617
|
+
interface Visitor<T> {
|
|
618
|
+
equalTo: (value: TagValue) => T;
|
|
619
|
+
_: (name: string, value: any) => T;
|
|
620
|
+
}
|
|
621
|
+
}
|
|
601
622
|
export interface Sort {
|
|
602
623
|
fieldId: string | undefined;
|
|
603
624
|
sortOrder: Order | undefined;
|
|
@@ -1122,6 +1143,10 @@ export interface TemplateRule {
|
|
|
1122
1143
|
caseRuleId: string | undefined;
|
|
1123
1144
|
fieldId?: string | undefined;
|
|
1124
1145
|
}
|
|
1146
|
+
export interface TagPropagationConfiguration {
|
|
1147
|
+
resourceType: TagPropagationResourceType | undefined;
|
|
1148
|
+
tagMap: Record<string, string> | undefined;
|
|
1149
|
+
}
|
|
1125
1150
|
export interface CreateTemplateRequest {
|
|
1126
1151
|
domainId: string | undefined;
|
|
1127
1152
|
name: string | undefined;
|
|
@@ -1130,6 +1155,7 @@ export interface CreateTemplateRequest {
|
|
|
1130
1155
|
requiredFields?: RequiredField[] | undefined;
|
|
1131
1156
|
status?: TemplateStatus | undefined;
|
|
1132
1157
|
rules?: TemplateRule[] | undefined;
|
|
1158
|
+
tagPropagationConfigurations?: TagPropagationConfiguration[] | undefined;
|
|
1133
1159
|
}
|
|
1134
1160
|
export interface CreateTemplateResponse {
|
|
1135
1161
|
templateId: string | undefined;
|
|
@@ -1157,6 +1183,7 @@ export interface GetTemplateResponse {
|
|
|
1157
1183
|
createdTime?: Date | undefined;
|
|
1158
1184
|
lastModifiedTime?: Date | undefined;
|
|
1159
1185
|
rules?: TemplateRule[] | undefined;
|
|
1186
|
+
tagPropagationConfigurations?: TagPropagationConfiguration[] | undefined;
|
|
1160
1187
|
}
|
|
1161
1188
|
export interface ListTemplatesRequest {
|
|
1162
1189
|
domainId: string | undefined;
|
|
@@ -1169,6 +1196,7 @@ export interface TemplateSummary {
|
|
|
1169
1196
|
templateArn: string | undefined;
|
|
1170
1197
|
name: string | undefined;
|
|
1171
1198
|
status: TemplateStatus | undefined;
|
|
1199
|
+
tagPropagationConfigurations?: TagPropagationConfiguration[] | undefined;
|
|
1172
1200
|
}
|
|
1173
1201
|
export interface ListTemplatesResponse {
|
|
1174
1202
|
templates: TemplateSummary[] | undefined;
|
|
@@ -1183,6 +1211,7 @@ export interface UpdateTemplateRequest {
|
|
|
1183
1211
|
requiredFields?: RequiredField[] | undefined;
|
|
1184
1212
|
status?: TemplateStatus | undefined;
|
|
1185
1213
|
rules?: TemplateRule[] | undefined;
|
|
1214
|
+
tagPropagationConfigurations?: TagPropagationConfiguration[] | undefined;
|
|
1186
1215
|
}
|
|
1187
1216
|
export interface UpdateTemplateResponse {}
|
|
1188
1217
|
export interface UntagResourceRequest {
|
|
@@ -1194,11 +1223,13 @@ export type CaseFilter =
|
|
|
1194
1223
|
| CaseFilter.FieldMember
|
|
1195
1224
|
| CaseFilter.NotMember
|
|
1196
1225
|
| CaseFilter.OrAllMember
|
|
1226
|
+
| CaseFilter.TagMember
|
|
1197
1227
|
| CaseFilter.$UnknownMember;
|
|
1198
1228
|
export declare namespace CaseFilter {
|
|
1199
1229
|
interface FieldMember {
|
|
1200
1230
|
field: FieldFilter;
|
|
1201
1231
|
not?: never;
|
|
1232
|
+
tag?: never;
|
|
1202
1233
|
andAll?: never;
|
|
1203
1234
|
orAll?: never;
|
|
1204
1235
|
$unknown?: never;
|
|
@@ -1206,6 +1237,15 @@ export declare namespace CaseFilter {
|
|
|
1206
1237
|
interface NotMember {
|
|
1207
1238
|
field?: never;
|
|
1208
1239
|
not: CaseFilter;
|
|
1240
|
+
tag?: never;
|
|
1241
|
+
andAll?: never;
|
|
1242
|
+
orAll?: never;
|
|
1243
|
+
$unknown?: never;
|
|
1244
|
+
}
|
|
1245
|
+
interface TagMember {
|
|
1246
|
+
field?: never;
|
|
1247
|
+
not?: never;
|
|
1248
|
+
tag: TagFilter;
|
|
1209
1249
|
andAll?: never;
|
|
1210
1250
|
orAll?: never;
|
|
1211
1251
|
$unknown?: never;
|
|
@@ -1213,6 +1253,7 @@ export declare namespace CaseFilter {
|
|
|
1213
1253
|
interface AndAllMember {
|
|
1214
1254
|
field?: never;
|
|
1215
1255
|
not?: never;
|
|
1256
|
+
tag?: never;
|
|
1216
1257
|
andAll: CaseFilter[];
|
|
1217
1258
|
orAll?: never;
|
|
1218
1259
|
$unknown?: never;
|
|
@@ -1220,6 +1261,7 @@ export declare namespace CaseFilter {
|
|
|
1220
1261
|
interface OrAllMember {
|
|
1221
1262
|
field?: never;
|
|
1222
1263
|
not?: never;
|
|
1264
|
+
tag?: never;
|
|
1223
1265
|
andAll?: never;
|
|
1224
1266
|
orAll: CaseFilter[];
|
|
1225
1267
|
$unknown?: never;
|
|
@@ -1227,6 +1269,7 @@ export declare namespace CaseFilter {
|
|
|
1227
1269
|
interface $UnknownMember {
|
|
1228
1270
|
field?: never;
|
|
1229
1271
|
not?: never;
|
|
1272
|
+
tag?: never;
|
|
1230
1273
|
andAll?: never;
|
|
1231
1274
|
orAll?: never;
|
|
1232
1275
|
$unknown: [string, any];
|
|
@@ -1234,6 +1277,7 @@ export declare namespace CaseFilter {
|
|
|
1234
1277
|
interface Visitor<T> {
|
|
1235
1278
|
field: (value: FieldFilter) => T;
|
|
1236
1279
|
not: (value: CaseFilter) => T;
|
|
1280
|
+
tag: (value: TagFilter) => T;
|
|
1237
1281
|
andAll: (value: CaseFilter[]) => T;
|
|
1238
1282
|
orAll: (value: CaseFilter[]) => T;
|
|
1239
1283
|
_: (name: string, value: any) => T;
|
|
@@ -135,7 +135,9 @@ export declare var SlaContent$: StaticStructureSchema;
|
|
|
135
135
|
export declare var SlaFilter$: StaticStructureSchema;
|
|
136
136
|
export declare var SlaInputConfiguration$: StaticStructureSchema;
|
|
137
137
|
export declare var Sort$: StaticStructureSchema;
|
|
138
|
+
export declare var TagPropagationConfiguration$: StaticStructureSchema;
|
|
138
139
|
export declare var TagResourceRequest$: StaticStructureSchema;
|
|
140
|
+
export declare var TagValue$: StaticStructureSchema;
|
|
139
141
|
export declare var TemplateRule$: StaticStructureSchema;
|
|
140
142
|
export declare var TemplateSummary$: StaticStructureSchema;
|
|
141
143
|
export declare var ThrottlingException$: StaticErrorSchema;
|
|
@@ -167,6 +169,7 @@ export declare var RelatedItemInputContent$: StaticUnionSchema;
|
|
|
167
169
|
export declare var RelatedItemTypeFilter$: StaticUnionSchema;
|
|
168
170
|
export declare var Section$: StaticUnionSchema;
|
|
169
171
|
export declare var SlaInputContent$: StaticUnionSchema;
|
|
172
|
+
export declare var TagFilter$: StaticUnionSchema;
|
|
170
173
|
export declare var UserUnion$: StaticUnionSchema;
|
|
171
174
|
export declare var BatchGetCaseRule$: StaticOperationSchema;
|
|
172
175
|
export declare var BatchGetField$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-connectcases",
|
|
3
3
|
"description": "AWS SDK for JavaScript Connectcases Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.976.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-connectcases",
|
|
@@ -21,17 +21,17 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
24
|
+
"@aws-sdk/core": "^3.973.2",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.3",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
36
|
"@smithy/core": "^3.21.1",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|