@aws-sdk/client-connectcases 3.1014.0 → 3.1016.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/README.md CHANGED
@@ -468,6 +468,13 @@ UpdateLayout
468
468
  </details>
469
469
  <details>
470
470
  <summary>
471
+ UpdateRelatedItem
472
+ </summary>
473
+
474
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connectcases/command/UpdateRelatedItemCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connectcases/Interface/UpdateRelatedItemCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connectcases/Interface/UpdateRelatedItemCommandOutput/)
475
+ </details>
476
+ <details>
477
+ <summary>
471
478
  UpdateTemplate
472
479
  </summary>
473
480
 
package/dist-cjs/index.js CHANGED
@@ -605,6 +605,18 @@ class UpdateLayoutCommand extends smithyClient.Command
605
605
  .build() {
606
606
  }
607
607
 
608
+ class UpdateRelatedItemCommand extends smithyClient.Command
609
+ .classBuilder()
610
+ .ep(commonParams)
611
+ .m(function (Command, cs, config, o) {
612
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
613
+ })
614
+ .s("AmazonConnectCases", "UpdateRelatedItem", {})
615
+ .n("ConnectCasesClient", "UpdateRelatedItemCommand")
616
+ .sc(schemas_0.UpdateRelatedItem$)
617
+ .build() {
618
+ }
619
+
608
620
  class UpdateTemplateCommand extends smithyClient.Command
609
621
  .classBuilder()
610
622
  .ep(commonParams)
@@ -683,6 +695,7 @@ const commands = {
683
695
  UpdateCaseRuleCommand,
684
696
  UpdateFieldCommand,
685
697
  UpdateLayoutCommand,
698
+ UpdateRelatedItemCommand,
686
699
  UpdateTemplateCommand,
687
700
  };
688
701
  const paginators = {
@@ -715,6 +728,8 @@ const AuditEventType = {
715
728
  CASE_CREATED: "Case.Created",
716
729
  CASE_UPDATED: "Case.Updated",
717
730
  RELATED_ITEM_CREATED: "RelatedItem.Created",
731
+ RELATED_ITEM_DELETED: "RelatedItem.Deleted",
732
+ RELATED_ITEM_UPDATED: "RelatedItem.Updated",
718
733
  };
719
734
  const CommentBodyTextType = {
720
735
  PLAINTEXT: "Text/Plain",
@@ -826,6 +841,7 @@ exports.UpdateCaseCommand = UpdateCaseCommand;
826
841
  exports.UpdateCaseRuleCommand = UpdateCaseRuleCommand;
827
842
  exports.UpdateFieldCommand = UpdateFieldCommand;
828
843
  exports.UpdateLayoutCommand = UpdateLayoutCommand;
844
+ exports.UpdateRelatedItemCommand = UpdateRelatedItemCommand;
829
845
  exports.UpdateTemplateCommand = UpdateTemplateCommand;
830
846
  exports.paginateGetCase = paginateGetCase;
831
847
  exports.paginateGetCaseAuditEvents = paginateGetCaseAuditEvents;
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CustomFilter$ = exports.CustomContent$ = exports.CreateTemplateResponse$ = exports.CreateTemplateRequest$ = exports.CreateRelatedItemResponse$ = exports.CreateRelatedItemRequest$ = exports.CreateLayoutResponse$ = exports.CreateLayoutRequest$ = exports.CreateFieldResponse$ = exports.CreateFieldRequest$ = exports.CreateDomainResponse$ = exports.CreateDomainRequest$ = exports.CreateCaseRuleResponse$ = exports.CreateCaseRuleRequest$ = exports.CreateCaseResponse$ = exports.CreateCaseRequest$ = exports.ContactFilter$ = exports.ContactContent$ = exports.Contact$ = exports.ConnectCaseInputContent$ = exports.ConnectCaseFilter$ = exports.ConnectCaseContent$ = exports.CompoundCondition$ = exports.CommentFilter$ = exports.CommentContent$ = exports.CaseSummary$ = exports.CaseRuleSummary$ = exports.CaseRuleIdentifier$ = exports.CaseRuleError$ = exports.CaseEventIncludedData$ = exports.BooleanOperands$ = exports.BatchPutFieldOptionsResponse$ = exports.BatchPutFieldOptionsRequest$ = exports.BatchGetFieldResponse$ = exports.BatchGetFieldRequest$ = exports.BatchGetCaseRuleResponse$ = exports.BatchGetCaseRuleRequest$ = exports.BasicLayout$ = exports.AuditEventPerformedBy$ = exports.AuditEventField$ = exports.AuditEvent$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.ConnectCasesServiceException$ = void 0;
4
- exports.ListCaseRulesRequest$ = exports.LayoutSummary$ = exports.LayoutSections$ = exports.LayoutConfiguration$ = exports.HiddenCaseRule$ = exports.GetTemplateResponse$ = exports.GetTemplateRequest$ = exports.GetLayoutResponse$ = exports.GetLayoutRequest$ = exports.GetFieldResponse$ = exports.GetDomainResponse$ = exports.GetDomainRequest$ = exports.GetCaseRuleResponse$ = exports.GetCaseResponse$ = exports.GetCaseRequest$ = exports.GetCaseEventConfigurationResponse$ = exports.GetCaseEventConfigurationRequest$ = exports.GetCaseAuditEventsResponse$ = exports.GetCaseAuditEventsRequest$ = exports.FileFilter$ = exports.FileContent$ = exports.FieldValue$ = exports.FieldSummary$ = exports.FieldOptionsCaseRule$ = exports.FieldOptionError$ = exports.FieldOption$ = exports.FieldItem$ = exports.FieldIdentifier$ = exports.FieldGroup$ = exports.FieldError$ = exports.EventIncludedData$ = exports.EventBridgeConfiguration$ = exports.EmptyOperandValue$ = exports.EmptyFieldValue$ = exports.DomainSummary$ = exports.DeleteTemplateResponse$ = exports.DeleteTemplateRequest$ = exports.DeleteRelatedItemResponse$ = exports.DeleteRelatedItemRequest$ = exports.DeleteLayoutResponse$ = exports.DeleteLayoutRequest$ = exports.DeleteFieldResponse$ = exports.DeleteFieldRequest$ = exports.DeleteDomainResponse$ = exports.DeleteDomainRequest$ = exports.DeleteCaseRuleResponse$ = exports.DeleteCaseRuleRequest$ = exports.DeleteCaseResponse$ = exports.DeleteCaseRequest$ = exports.CustomInputContent$ = void 0;
5
- exports.UpdateLayoutRequest$ = exports.UpdateFieldResponse$ = exports.UpdateFieldRequest$ = exports.UpdateCaseRuleResponse$ = exports.UpdateCaseRuleRequest$ = exports.UpdateCaseResponse$ = exports.UpdateCaseRequest$ = exports.UntagResourceRequest$ = exports.TextAttributes$ = exports.TemplateSummary$ = exports.TemplateRule$ = exports.TagValue$ = exports.TagResourceRequest$ = exports.TagPropagationConfiguration$ = exports.Sort$ = exports.SlaInputConfiguration$ = exports.SlaFilter$ = exports.SlaContent$ = exports.SlaConfiguration$ = exports.SearchRelatedItemsResponseItem$ = exports.SearchRelatedItemsResponse$ = exports.SearchRelatedItemsRequest$ = exports.SearchCasesResponseItem$ = exports.SearchCasesResponse$ = exports.SearchCasesRequest$ = exports.SearchAllRelatedItemsSort$ = exports.SearchAllRelatedItemsResponseItem$ = exports.SearchAllRelatedItemsResponse$ = exports.SearchAllRelatedItemsRequest$ = exports.RequiredField$ = exports.RequiredCaseRule$ = exports.RelatedItemEventIncludedData$ = exports.PutCaseEventConfigurationResponse$ = exports.PutCaseEventConfigurationRequest$ = exports.ParentChildFieldOptionsMapping$ = exports.ListTemplatesResponse$ = exports.ListTemplatesRequest$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListLayoutsResponse$ = exports.ListLayoutsRequest$ = exports.ListFieldsResponse$ = exports.ListFieldsRequest$ = exports.ListFieldOptionsResponse$ = exports.ListFieldOptionsRequest$ = exports.ListDomainsResponse$ = exports.ListDomainsRequest$ = exports.ListCasesForContactResponse$ = exports.ListCasesForContactRequest$ = exports.ListCaseRulesResponse$ = void 0;
6
- exports.ListLayouts$ = exports.ListFields$ = exports.ListFieldOptions$ = exports.ListDomains$ = exports.ListCasesForContact$ = exports.ListCaseRules$ = exports.GetTemplate$ = exports.GetLayout$ = exports.GetDomain$ = exports.GetCaseEventConfiguration$ = exports.GetCaseAuditEvents$ = exports.GetCase$ = exports.DeleteTemplate$ = exports.DeleteRelatedItem$ = exports.DeleteLayout$ = exports.DeleteField$ = exports.DeleteDomain$ = exports.DeleteCaseRule$ = exports.DeleteCase$ = exports.CreateTemplate$ = exports.CreateRelatedItem$ = exports.CreateLayout$ = exports.CreateField$ = exports.CreateDomain$ = exports.CreateCaseRule$ = exports.CreateCase$ = exports.BatchPutFieldOptions$ = exports.BatchGetField$ = exports.BatchGetCaseRule$ = exports.UserUnion$ = exports.TagFilter$ = exports.SlaInputContent$ = exports.Section$ = exports.RelatedItemTypeFilter$ = exports.RelatedItemInputContent$ = exports.RelatedItemContent$ = exports.OperandTwo$ = exports.OperandOne$ = exports.LayoutContent$ = exports.FieldValueUnion$ = exports.FieldFilter$ = exports.FieldAttributes$ = exports.CustomFieldsFilter$ = exports.CaseRuleDetails$ = exports.CaseFilter$ = exports.BooleanCondition$ = exports.AuditEventFieldValueUnion$ = exports.UpdateTemplateResponse$ = exports.UpdateTemplateRequest$ = exports.UpdateLayoutResponse$ = void 0;
7
- exports.UpdateTemplate$ = exports.UpdateLayout$ = exports.UpdateField$ = exports.UpdateCaseRule$ = exports.UpdateCase$ = exports.UntagResource$ = exports.TagResource$ = exports.SearchRelatedItems$ = exports.SearchCases$ = exports.SearchAllRelatedItems$ = exports.PutCaseEventConfiguration$ = exports.ListTemplates$ = exports.ListTagsForResource$ = void 0;
3
+ exports.CustomContent$ = exports.CreateTemplateResponse$ = exports.CreateTemplateRequest$ = exports.CreateRelatedItemResponse$ = exports.CreateRelatedItemRequest$ = exports.CreateLayoutResponse$ = exports.CreateLayoutRequest$ = exports.CreateFieldResponse$ = exports.CreateFieldRequest$ = exports.CreateDomainResponse$ = exports.CreateDomainRequest$ = exports.CreateCaseRuleResponse$ = exports.CreateCaseRuleRequest$ = exports.CreateCaseResponse$ = exports.CreateCaseRequest$ = exports.ContactFilter$ = exports.ContactContent$ = exports.Contact$ = exports.ConnectCaseInputContent$ = exports.ConnectCaseFilter$ = exports.ConnectCaseContent$ = exports.CompoundCondition$ = exports.CommentUpdateContent$ = exports.CommentFilter$ = exports.CommentContent$ = exports.CaseSummary$ = exports.CaseRuleSummary$ = exports.CaseRuleIdentifier$ = exports.CaseRuleError$ = exports.CaseEventIncludedData$ = exports.BooleanOperands$ = exports.BatchPutFieldOptionsResponse$ = exports.BatchPutFieldOptionsRequest$ = exports.BatchGetFieldResponse$ = exports.BatchGetFieldRequest$ = exports.BatchGetCaseRuleResponse$ = exports.BatchGetCaseRuleRequest$ = exports.BasicLayout$ = exports.AuditEventPerformedBy$ = exports.AuditEventField$ = exports.AuditEvent$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.ConnectCasesServiceException$ = void 0;
4
+ exports.LayoutSections$ = exports.LayoutConfiguration$ = exports.HiddenCaseRule$ = exports.GetTemplateResponse$ = exports.GetTemplateRequest$ = exports.GetLayoutResponse$ = exports.GetLayoutRequest$ = exports.GetFieldResponse$ = exports.GetDomainResponse$ = exports.GetDomainRequest$ = exports.GetCaseRuleResponse$ = exports.GetCaseResponse$ = exports.GetCaseRequest$ = exports.GetCaseEventConfigurationResponse$ = exports.GetCaseEventConfigurationRequest$ = exports.GetCaseAuditEventsResponse$ = exports.GetCaseAuditEventsRequest$ = exports.FileFilter$ = exports.FileContent$ = exports.FieldValue$ = exports.FieldSummary$ = exports.FieldOptionsCaseRule$ = exports.FieldOptionError$ = exports.FieldOption$ = exports.FieldItem$ = exports.FieldIdentifier$ = exports.FieldGroup$ = exports.FieldError$ = exports.EventIncludedData$ = exports.EventBridgeConfiguration$ = exports.EmptyOperandValue$ = exports.EmptyFieldValue$ = exports.DomainSummary$ = exports.DeleteTemplateResponse$ = exports.DeleteTemplateRequest$ = exports.DeleteRelatedItemResponse$ = exports.DeleteRelatedItemRequest$ = exports.DeleteLayoutResponse$ = exports.DeleteLayoutRequest$ = exports.DeleteFieldResponse$ = exports.DeleteFieldRequest$ = exports.DeleteDomainResponse$ = exports.DeleteDomainRequest$ = exports.DeleteCaseRuleResponse$ = exports.DeleteCaseRuleRequest$ = exports.DeleteCaseResponse$ = exports.DeleteCaseRequest$ = exports.CustomUpdateContent$ = exports.CustomInputContent$ = exports.CustomFilter$ = void 0;
5
+ exports.UpdateFieldRequest$ = exports.UpdateCaseRuleResponse$ = exports.UpdateCaseRuleRequest$ = exports.UpdateCaseResponse$ = exports.UpdateCaseRequest$ = exports.UntagResourceRequest$ = exports.TextAttributes$ = exports.TemplateSummary$ = exports.TemplateRule$ = exports.TagValue$ = exports.TagResourceRequest$ = exports.TagPropagationConfiguration$ = exports.Sort$ = exports.SlaInputConfiguration$ = exports.SlaFilter$ = exports.SlaContent$ = exports.SlaConfiguration$ = exports.SearchRelatedItemsResponseItem$ = exports.SearchRelatedItemsResponse$ = exports.SearchRelatedItemsRequest$ = exports.SearchCasesResponseItem$ = exports.SearchCasesResponse$ = exports.SearchCasesRequest$ = exports.SearchAllRelatedItemsSort$ = exports.SearchAllRelatedItemsResponseItem$ = exports.SearchAllRelatedItemsResponse$ = exports.SearchAllRelatedItemsRequest$ = exports.RequiredField$ = exports.RequiredCaseRule$ = exports.RelatedItemEventIncludedData$ = exports.PutCaseEventConfigurationResponse$ = exports.PutCaseEventConfigurationRequest$ = exports.ParentChildFieldOptionsMapping$ = exports.ListTemplatesResponse$ = exports.ListTemplatesRequest$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListLayoutsResponse$ = exports.ListLayoutsRequest$ = exports.ListFieldsResponse$ = exports.ListFieldsRequest$ = exports.ListFieldOptionsResponse$ = exports.ListFieldOptionsRequest$ = exports.ListDomainsResponse$ = exports.ListDomainsRequest$ = exports.ListCasesForContactResponse$ = exports.ListCasesForContactRequest$ = exports.ListCaseRulesResponse$ = exports.ListCaseRulesRequest$ = exports.LayoutSummary$ = void 0;
6
+ exports.ListCaseRules$ = exports.GetTemplate$ = exports.GetLayout$ = exports.GetDomain$ = exports.GetCaseEventConfiguration$ = exports.GetCaseAuditEvents$ = exports.GetCase$ = exports.DeleteTemplate$ = exports.DeleteRelatedItem$ = exports.DeleteLayout$ = exports.DeleteField$ = exports.DeleteDomain$ = exports.DeleteCaseRule$ = exports.DeleteCase$ = exports.CreateTemplate$ = exports.CreateRelatedItem$ = exports.CreateLayout$ = exports.CreateField$ = exports.CreateDomain$ = exports.CreateCaseRule$ = exports.CreateCase$ = exports.BatchPutFieldOptions$ = exports.BatchGetField$ = exports.BatchGetCaseRule$ = exports.UserUnion$ = exports.TagFilter$ = exports.SlaInputContent$ = exports.Section$ = exports.RelatedItemUpdateContent$ = exports.RelatedItemTypeFilter$ = exports.RelatedItemInputContent$ = exports.RelatedItemContent$ = exports.OperandTwo$ = exports.OperandOne$ = exports.LayoutContent$ = exports.FieldValueUnion$ = exports.FieldFilter$ = exports.FieldAttributes$ = exports.CustomFieldsFilter$ = exports.CaseRuleDetails$ = exports.CaseFilter$ = exports.BooleanCondition$ = exports.AuditEventFieldValueUnion$ = exports.UpdateTemplateResponse$ = exports.UpdateTemplateRequest$ = exports.UpdateRelatedItemResponse$ = exports.UpdateRelatedItemRequest$ = exports.UpdateLayoutResponse$ = exports.UpdateLayoutRequest$ = exports.UpdateFieldResponse$ = void 0;
7
+ exports.UpdateTemplate$ = exports.UpdateRelatedItem$ = exports.UpdateLayout$ = exports.UpdateField$ = exports.UpdateCaseRule$ = exports.UpdateCase$ = exports.UntagResource$ = exports.TagResource$ = exports.SearchRelatedItems$ = exports.SearchCases$ = exports.SearchAllRelatedItems$ = exports.PutCaseEventConfiguration$ = exports.ListTemplates$ = exports.ListTagsForResource$ = exports.ListLayouts$ = exports.ListFields$ = exports.ListFieldOptions$ = exports.ListDomains$ = exports.ListCasesForContact$ = void 0;
8
8
  const _ADE = "AccessDeniedException";
9
9
  const _AE = "AuditEvent";
10
10
  const _AEF = "AuditEventField";
@@ -78,6 +78,8 @@ const _CSL = "CaseSummaryList";
78
78
  const _CT = "CreateTemplate";
79
79
  const _CTR = "CreateTemplateRequest";
80
80
  const _CTRr = "CreateTemplateResponse";
81
+ const _CUC = "CommentUpdateContent";
82
+ const _CUCu = "CustomUpdateContent";
81
83
  const _DC = "DeleteCase";
82
84
  const _DCR = "DeleteCaseRequest";
83
85
  const _DCRR = "DeleteCaseRuleRequest";
@@ -192,6 +194,7 @@ const _RIEID = "RelatedItemEventIncludedData";
192
194
  const _RIFL = "RelatedItemFilterList";
193
195
  const _RIIC = "RelatedItemInputContent";
194
196
  const _RITF = "RelatedItemTypeFilter";
197
+ const _RIUC = "RelatedItemUpdateContent";
195
198
  const _RNFE = "ResourceNotFoundException";
196
199
  const _S = "Sort";
197
200
  const _SARI = "SearchAllRelatedItems";
@@ -248,6 +251,9 @@ const _UL = "UpdateLayout";
248
251
  const _ULR = "UpdateLayoutRequest";
249
252
  const _ULRp = "UpdateLayoutResponse";
250
253
  const _UR = "UntagResource";
254
+ const _URI = "UpdateRelatedItem";
255
+ const _URIR = "UpdateRelatedItemRequest";
256
+ const _URIRp = "UpdateRelatedItemResponse";
251
257
  const _URR = "UntagResourceRequest";
252
258
  const _UT = "UpdateTemplate";
253
259
  const _UTR = "UpdateTemplateRequest";
@@ -266,6 +272,7 @@ const _ba = "basic";
266
272
  const _c = "client";
267
273
  const _cA = "contactArn";
268
274
  const _cAa = "caseArn";
275
+ const _cB = "createdBy";
269
276
  const _cC = "connectCase";
270
277
  const _cD = "caseData";
271
278
  const _cE = "customEntity";
@@ -336,6 +343,7 @@ const _lI = "layoutId";
336
343
  const _lMT = "lastModifiedTime";
337
344
  const _lT = "lessThan";
338
345
  const _lTOET = "lessThanOrEqualTo";
346
+ const _lUU = "lastUpdatedUser";
339
347
  const _m = "message";
340
348
  const _mI = "moreInfo";
341
349
  const _mR = "maxResults";
@@ -549,6 +557,11 @@ exports.CommentFilter$ = [3, n0, _CF,
549
557
  [],
550
558
  []
551
559
  ];
560
+ exports.CommentUpdateContent$ = [3, n0, _CUC,
561
+ 0,
562
+ [_b, _cT],
563
+ [0, 0], 2
564
+ ];
552
565
  exports.CompoundCondition$ = [3, n0, _CCo,
553
566
  0,
554
567
  [_co],
@@ -669,6 +682,11 @@ exports.CustomInputContent$ = [3, n0, _CIC,
669
682
  [_f],
670
683
  [() => FieldValueList], 1
671
684
  ];
685
+ exports.CustomUpdateContent$ = [3, n0, _CUCu,
686
+ 0,
687
+ [_f],
688
+ [() => FieldValueList], 1
689
+ ];
672
690
  exports.DeleteCaseRequest$ = [3, n0, _DCR,
673
691
  0,
674
692
  [_dI, _cI],
@@ -1169,6 +1187,16 @@ exports.UpdateLayoutResponse$ = [3, n0, _ULRp,
1169
1187
  [],
1170
1188
  []
1171
1189
  ];
1190
+ exports.UpdateRelatedItemRequest$ = [3, n0, _URIR,
1191
+ 0,
1192
+ [_dI, _cI, _rII, _con, _pB],
1193
+ [[0, 1], [0, 1], [0, 1], () => exports.RelatedItemUpdateContent$, [() => exports.UserUnion$, 0]], 4
1194
+ ];
1195
+ exports.UpdateRelatedItemResponse$ = [3, n0, _URIRp,
1196
+ 0,
1197
+ [_rII, _rIA, _t, _con, _aT, _ta, _lUU, _cB],
1198
+ [0, 0, 0, [() => exports.RelatedItemContent$, 0], 5, [() => Tags, 0], [() => exports.UserUnion$, 0], [() => exports.UserUnion$, 0]], 5
1199
+ ];
1172
1200
  exports.UpdateTemplateRequest$ = [3, n0, _UTR,
1173
1201
  0,
1174
1202
  [_dI, _tI, _n, _d, _lC, _rF, _st, _rul, _tPC],
@@ -1369,6 +1397,11 @@ exports.RelatedItemTypeFilter$ = [4, n0, _RITF,
1369
1397
  [_conta, _com, _file, _sl, _cC, _cu],
1370
1398
  [() => exports.ContactFilter$, () => exports.CommentFilter$, () => exports.FileFilter$, [() => exports.SlaFilter$, 0], () => exports.ConnectCaseFilter$, () => exports.CustomFilter$]
1371
1399
  ];
1400
+ exports.RelatedItemUpdateContent$ = [4, n0, _RIUC,
1401
+ 0,
1402
+ [_com, _cu],
1403
+ [() => exports.CommentUpdateContent$, () => exports.CustomUpdateContent$]
1404
+ ];
1372
1405
  exports.Section$ = [4, n0, _Se,
1373
1406
  0,
1374
1407
  [_fG],
@@ -1512,6 +1545,9 @@ exports.UpdateField$ = [9, n0, _UF,
1512
1545
  exports.UpdateLayout$ = [9, n0, _UL,
1513
1546
  { [_ht]: ["PUT", "/domains/{domainId}/layouts/{layoutId}", 200] }, () => exports.UpdateLayoutRequest$, () => exports.UpdateLayoutResponse$
1514
1547
  ];
1548
+ exports.UpdateRelatedItem$ = [9, n0, _URI,
1549
+ { [_ht]: ["PUT", "/domains/{domainId}/cases/{caseId}/related-items/{relatedItemId}", 200] }, () => exports.UpdateRelatedItemRequest$, () => exports.UpdateRelatedItemResponse$
1550
+ ];
1515
1551
  exports.UpdateTemplate$ = [9, n0, _UT,
1516
1552
  { [_ht]: ["PUT", "/domains/{domainId}/templates/{templateId}", 200] }, () => exports.UpdateTemplateRequest$, () => exports.UpdateTemplateResponse$
1517
1553
  ];
@@ -40,6 +40,7 @@ import { UpdateCaseCommand } from "./commands/UpdateCaseCommand";
40
40
  import { UpdateCaseRuleCommand, } from "./commands/UpdateCaseRuleCommand";
41
41
  import { UpdateFieldCommand } from "./commands/UpdateFieldCommand";
42
42
  import { UpdateLayoutCommand, } from "./commands/UpdateLayoutCommand";
43
+ import { UpdateRelatedItemCommand, } from "./commands/UpdateRelatedItemCommand";
43
44
  import { UpdateTemplateCommand, } from "./commands/UpdateTemplateCommand";
44
45
  import { ConnectCasesClient } from "./ConnectCasesClient";
45
46
  import { paginateGetCaseAuditEvents } from "./pagination/GetCaseAuditEventsPaginator";
@@ -96,6 +97,7 @@ const commands = {
96
97
  UpdateCaseRuleCommand,
97
98
  UpdateFieldCommand,
98
99
  UpdateLayoutCommand,
100
+ UpdateRelatedItemCommand,
99
101
  UpdateTemplateCommand,
100
102
  };
101
103
  const paginators = {
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { UpdateRelatedItem$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class UpdateRelatedItemCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AmazonConnectCases", "UpdateRelatedItem", {})
13
+ .n("ConnectCasesClient", "UpdateRelatedItemCommand")
14
+ .sc(UpdateRelatedItem$)
15
+ .build() {
16
+ }
@@ -39,4 +39,5 @@ export * from "./UpdateCaseCommand";
39
39
  export * from "./UpdateCaseRuleCommand";
40
40
  export * from "./UpdateFieldCommand";
41
41
  export * from "./UpdateLayoutCommand";
42
+ export * from "./UpdateRelatedItemCommand";
42
43
  export * from "./UpdateTemplateCommand";
@@ -10,6 +10,8 @@ export const AuditEventType = {
10
10
  CASE_CREATED: "Case.Created",
11
11
  CASE_UPDATED: "Case.Updated",
12
12
  RELATED_ITEM_CREATED: "RelatedItem.Created",
13
+ RELATED_ITEM_DELETED: "RelatedItem.Deleted",
14
+ RELATED_ITEM_UPDATED: "RelatedItem.Updated",
13
15
  };
14
16
  export const CommentBodyTextType = {
15
17
  PLAINTEXT: "Text/Plain",
@@ -71,6 +71,8 @@ const _CSL = "CaseSummaryList";
71
71
  const _CT = "CreateTemplate";
72
72
  const _CTR = "CreateTemplateRequest";
73
73
  const _CTRr = "CreateTemplateResponse";
74
+ const _CUC = "CommentUpdateContent";
75
+ const _CUCu = "CustomUpdateContent";
74
76
  const _DC = "DeleteCase";
75
77
  const _DCR = "DeleteCaseRequest";
76
78
  const _DCRR = "DeleteCaseRuleRequest";
@@ -185,6 +187,7 @@ const _RIEID = "RelatedItemEventIncludedData";
185
187
  const _RIFL = "RelatedItemFilterList";
186
188
  const _RIIC = "RelatedItemInputContent";
187
189
  const _RITF = "RelatedItemTypeFilter";
190
+ const _RIUC = "RelatedItemUpdateContent";
188
191
  const _RNFE = "ResourceNotFoundException";
189
192
  const _S = "Sort";
190
193
  const _SARI = "SearchAllRelatedItems";
@@ -241,6 +244,9 @@ const _UL = "UpdateLayout";
241
244
  const _ULR = "UpdateLayoutRequest";
242
245
  const _ULRp = "UpdateLayoutResponse";
243
246
  const _UR = "UntagResource";
247
+ const _URI = "UpdateRelatedItem";
248
+ const _URIR = "UpdateRelatedItemRequest";
249
+ const _URIRp = "UpdateRelatedItemResponse";
244
250
  const _URR = "UntagResourceRequest";
245
251
  const _UT = "UpdateTemplate";
246
252
  const _UTR = "UpdateTemplateRequest";
@@ -259,6 +265,7 @@ const _ba = "basic";
259
265
  const _c = "client";
260
266
  const _cA = "contactArn";
261
267
  const _cAa = "caseArn";
268
+ const _cB = "createdBy";
262
269
  const _cC = "connectCase";
263
270
  const _cD = "caseData";
264
271
  const _cE = "customEntity";
@@ -329,6 +336,7 @@ const _lI = "layoutId";
329
336
  const _lMT = "lastModifiedTime";
330
337
  const _lT = "lessThan";
331
338
  const _lTOET = "lessThanOrEqualTo";
339
+ const _lUU = "lastUpdatedUser";
332
340
  const _m = "message";
333
341
  const _mI = "moreInfo";
334
342
  const _mR = "maxResults";
@@ -542,6 +550,11 @@ export var CommentFilter$ = [3, n0, _CF,
542
550
  [],
543
551
  []
544
552
  ];
553
+ export var CommentUpdateContent$ = [3, n0, _CUC,
554
+ 0,
555
+ [_b, _cT],
556
+ [0, 0], 2
557
+ ];
545
558
  export var CompoundCondition$ = [3, n0, _CCo,
546
559
  0,
547
560
  [_co],
@@ -662,6 +675,11 @@ export var CustomInputContent$ = [3, n0, _CIC,
662
675
  [_f],
663
676
  [() => FieldValueList], 1
664
677
  ];
678
+ export var CustomUpdateContent$ = [3, n0, _CUCu,
679
+ 0,
680
+ [_f],
681
+ [() => FieldValueList], 1
682
+ ];
665
683
  export var DeleteCaseRequest$ = [3, n0, _DCR,
666
684
  0,
667
685
  [_dI, _cI],
@@ -1162,6 +1180,16 @@ export var UpdateLayoutResponse$ = [3, n0, _ULRp,
1162
1180
  [],
1163
1181
  []
1164
1182
  ];
1183
+ export var UpdateRelatedItemRequest$ = [3, n0, _URIR,
1184
+ 0,
1185
+ [_dI, _cI, _rII, _con, _pB],
1186
+ [[0, 1], [0, 1], [0, 1], () => RelatedItemUpdateContent$, [() => UserUnion$, 0]], 4
1187
+ ];
1188
+ export var UpdateRelatedItemResponse$ = [3, n0, _URIRp,
1189
+ 0,
1190
+ [_rII, _rIA, _t, _con, _aT, _ta, _lUU, _cB],
1191
+ [0, 0, 0, [() => RelatedItemContent$, 0], 5, [() => Tags, 0], [() => UserUnion$, 0], [() => UserUnion$, 0]], 5
1192
+ ];
1165
1193
  export var UpdateTemplateRequest$ = [3, n0, _UTR,
1166
1194
  0,
1167
1195
  [_dI, _tI, _n, _d, _lC, _rF, _st, _rul, _tPC],
@@ -1362,6 +1390,11 @@ export var RelatedItemTypeFilter$ = [4, n0, _RITF,
1362
1390
  [_conta, _com, _file, _sl, _cC, _cu],
1363
1391
  [() => ContactFilter$, () => CommentFilter$, () => FileFilter$, [() => SlaFilter$, 0], () => ConnectCaseFilter$, () => CustomFilter$]
1364
1392
  ];
1393
+ export var RelatedItemUpdateContent$ = [4, n0, _RIUC,
1394
+ 0,
1395
+ [_com, _cu],
1396
+ [() => CommentUpdateContent$, () => CustomUpdateContent$]
1397
+ ];
1365
1398
  export var Section$ = [4, n0, _Se,
1366
1399
  0,
1367
1400
  [_fG],
@@ -1505,6 +1538,9 @@ export var UpdateField$ = [9, n0, _UF,
1505
1538
  export var UpdateLayout$ = [9, n0, _UL,
1506
1539
  { [_ht]: ["PUT", "/domains/{domainId}/layouts/{layoutId}", 200] }, () => UpdateLayoutRequest$, () => UpdateLayoutResponse$
1507
1540
  ];
1541
+ export var UpdateRelatedItem$ = [9, n0, _URI,
1542
+ { [_ht]: ["PUT", "/domains/{domainId}/cases/{caseId}/related-items/{relatedItemId}", 200] }, () => UpdateRelatedItemRequest$, () => UpdateRelatedItemResponse$
1543
+ ];
1508
1544
  export var UpdateTemplate$ = [9, n0, _UT,
1509
1545
  { [_ht]: ["PUT", "/domains/{domainId}/templates/{templateId}", 200] }, () => UpdateTemplateRequest$, () => UpdateTemplateResponse$
1510
1546
  ];
@@ -40,6 +40,7 @@ import { UpdateCaseCommandInput, UpdateCaseCommandOutput } from "./commands/Upda
40
40
  import { UpdateCaseRuleCommandInput, UpdateCaseRuleCommandOutput } from "./commands/UpdateCaseRuleCommand";
41
41
  import { UpdateFieldCommandInput, UpdateFieldCommandOutput } from "./commands/UpdateFieldCommand";
42
42
  import { UpdateLayoutCommandInput, UpdateLayoutCommandOutput } from "./commands/UpdateLayoutCommand";
43
+ import { UpdateRelatedItemCommandInput, UpdateRelatedItemCommandOutput } from "./commands/UpdateRelatedItemCommand";
43
44
  import { UpdateTemplateCommandInput, UpdateTemplateCommandOutput } from "./commands/UpdateTemplateCommand";
44
45
  import { ConnectCasesClient } from "./ConnectCasesClient";
45
46
  export interface ConnectCases {
@@ -290,6 +291,12 @@ export interface ConnectCases {
290
291
  updateLayout(args: UpdateLayoutCommandInput, options?: __HttpHandlerOptions): Promise<UpdateLayoutCommandOutput>;
291
292
  updateLayout(args: UpdateLayoutCommandInput, cb: (err: any, data?: UpdateLayoutCommandOutput) => void): void;
292
293
  updateLayout(args: UpdateLayoutCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateLayoutCommandOutput) => void): void;
294
+ /**
295
+ * @see {@link UpdateRelatedItemCommand}
296
+ */
297
+ updateRelatedItem(args: UpdateRelatedItemCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRelatedItemCommandOutput>;
298
+ updateRelatedItem(args: UpdateRelatedItemCommandInput, cb: (err: any, data?: UpdateRelatedItemCommandOutput) => void): void;
299
+ updateRelatedItem(args: UpdateRelatedItemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRelatedItemCommandOutput) => void): void;
293
300
  /**
294
301
  * @see {@link UpdateTemplateCommand}
295
302
  */
@@ -48,6 +48,7 @@ import { UpdateCaseCommandInput, UpdateCaseCommandOutput } from "./commands/Upda
48
48
  import { UpdateCaseRuleCommandInput, UpdateCaseRuleCommandOutput } from "./commands/UpdateCaseRuleCommand";
49
49
  import { UpdateFieldCommandInput, UpdateFieldCommandOutput } from "./commands/UpdateFieldCommand";
50
50
  import { UpdateLayoutCommandInput, UpdateLayoutCommandOutput } from "./commands/UpdateLayoutCommand";
51
+ import { UpdateRelatedItemCommandInput, UpdateRelatedItemCommandOutput } from "./commands/UpdateRelatedItemCommand";
51
52
  import { UpdateTemplateCommandInput, UpdateTemplateCommandOutput } from "./commands/UpdateTemplateCommand";
52
53
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
53
54
  import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
@@ -55,11 +56,11 @@ export { __Client };
55
56
  /**
56
57
  * @public
57
58
  */
58
- export type ServiceInputTypes = BatchGetCaseRuleCommandInput | BatchGetFieldCommandInput | BatchPutFieldOptionsCommandInput | CreateCaseCommandInput | CreateCaseRuleCommandInput | CreateDomainCommandInput | CreateFieldCommandInput | CreateLayoutCommandInput | CreateRelatedItemCommandInput | CreateTemplateCommandInput | DeleteCaseCommandInput | DeleteCaseRuleCommandInput | DeleteDomainCommandInput | DeleteFieldCommandInput | DeleteLayoutCommandInput | DeleteRelatedItemCommandInput | DeleteTemplateCommandInput | GetCaseAuditEventsCommandInput | GetCaseCommandInput | GetCaseEventConfigurationCommandInput | GetDomainCommandInput | GetLayoutCommandInput | GetTemplateCommandInput | ListCaseRulesCommandInput | ListCasesForContactCommandInput | ListDomainsCommandInput | ListFieldOptionsCommandInput | ListFieldsCommandInput | ListLayoutsCommandInput | ListTagsForResourceCommandInput | ListTemplatesCommandInput | PutCaseEventConfigurationCommandInput | SearchAllRelatedItemsCommandInput | SearchCasesCommandInput | SearchRelatedItemsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCaseCommandInput | UpdateCaseRuleCommandInput | UpdateFieldCommandInput | UpdateLayoutCommandInput | UpdateTemplateCommandInput;
59
+ export type ServiceInputTypes = BatchGetCaseRuleCommandInput | BatchGetFieldCommandInput | BatchPutFieldOptionsCommandInput | CreateCaseCommandInput | CreateCaseRuleCommandInput | CreateDomainCommandInput | CreateFieldCommandInput | CreateLayoutCommandInput | CreateRelatedItemCommandInput | CreateTemplateCommandInput | DeleteCaseCommandInput | DeleteCaseRuleCommandInput | DeleteDomainCommandInput | DeleteFieldCommandInput | DeleteLayoutCommandInput | DeleteRelatedItemCommandInput | DeleteTemplateCommandInput | GetCaseAuditEventsCommandInput | GetCaseCommandInput | GetCaseEventConfigurationCommandInput | GetDomainCommandInput | GetLayoutCommandInput | GetTemplateCommandInput | ListCaseRulesCommandInput | ListCasesForContactCommandInput | ListDomainsCommandInput | ListFieldOptionsCommandInput | ListFieldsCommandInput | ListLayoutsCommandInput | ListTagsForResourceCommandInput | ListTemplatesCommandInput | PutCaseEventConfigurationCommandInput | SearchAllRelatedItemsCommandInput | SearchCasesCommandInput | SearchRelatedItemsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCaseCommandInput | UpdateCaseRuleCommandInput | UpdateFieldCommandInput | UpdateLayoutCommandInput | UpdateRelatedItemCommandInput | UpdateTemplateCommandInput;
59
60
  /**
60
61
  * @public
61
62
  */
62
- export type ServiceOutputTypes = BatchGetCaseRuleCommandOutput | BatchGetFieldCommandOutput | BatchPutFieldOptionsCommandOutput | CreateCaseCommandOutput | CreateCaseRuleCommandOutput | CreateDomainCommandOutput | CreateFieldCommandOutput | CreateLayoutCommandOutput | CreateRelatedItemCommandOutput | CreateTemplateCommandOutput | DeleteCaseCommandOutput | DeleteCaseRuleCommandOutput | DeleteDomainCommandOutput | DeleteFieldCommandOutput | DeleteLayoutCommandOutput | DeleteRelatedItemCommandOutput | DeleteTemplateCommandOutput | GetCaseAuditEventsCommandOutput | GetCaseCommandOutput | GetCaseEventConfigurationCommandOutput | GetDomainCommandOutput | GetLayoutCommandOutput | GetTemplateCommandOutput | ListCaseRulesCommandOutput | ListCasesForContactCommandOutput | ListDomainsCommandOutput | ListFieldOptionsCommandOutput | ListFieldsCommandOutput | ListLayoutsCommandOutput | ListTagsForResourceCommandOutput | ListTemplatesCommandOutput | PutCaseEventConfigurationCommandOutput | SearchAllRelatedItemsCommandOutput | SearchCasesCommandOutput | SearchRelatedItemsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCaseCommandOutput | UpdateCaseRuleCommandOutput | UpdateFieldCommandOutput | UpdateLayoutCommandOutput | UpdateTemplateCommandOutput;
63
+ export type ServiceOutputTypes = BatchGetCaseRuleCommandOutput | BatchGetFieldCommandOutput | BatchPutFieldOptionsCommandOutput | CreateCaseCommandOutput | CreateCaseRuleCommandOutput | CreateDomainCommandOutput | CreateFieldCommandOutput | CreateLayoutCommandOutput | CreateRelatedItemCommandOutput | CreateTemplateCommandOutput | DeleteCaseCommandOutput | DeleteCaseRuleCommandOutput | DeleteDomainCommandOutput | DeleteFieldCommandOutput | DeleteLayoutCommandOutput | DeleteRelatedItemCommandOutput | DeleteTemplateCommandOutput | GetCaseAuditEventsCommandOutput | GetCaseCommandOutput | GetCaseEventConfigurationCommandOutput | GetDomainCommandOutput | GetLayoutCommandOutput | GetTemplateCommandOutput | ListCaseRulesCommandOutput | ListCasesForContactCommandOutput | ListDomainsCommandOutput | ListFieldOptionsCommandOutput | ListFieldsCommandOutput | ListLayoutsCommandOutput | ListTagsForResourceCommandOutput | ListTemplatesCommandOutput | PutCaseEventConfigurationCommandOutput | SearchAllRelatedItemsCommandOutput | SearchCasesCommandOutput | SearchRelatedItemsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCaseCommandOutput | UpdateCaseRuleCommandOutput | UpdateFieldCommandOutput | UpdateLayoutCommandOutput | UpdateRelatedItemCommandOutput | UpdateTemplateCommandOutput;
63
64
  /**
64
65
  * @public
65
66
  */
@@ -0,0 +1,179 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ConnectCasesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCasesClient";
4
+ import type { UpdateRelatedItemRequest, UpdateRelatedItemResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateRelatedItemCommand}.
14
+ */
15
+ export interface UpdateRelatedItemCommandInput extends UpdateRelatedItemRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateRelatedItemCommand}.
21
+ */
22
+ export interface UpdateRelatedItemCommandOutput extends UpdateRelatedItemResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateRelatedItemCommand_base: {
25
+ new (input: UpdateRelatedItemCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateRelatedItemCommandInput, UpdateRelatedItemCommandOutput, ConnectCasesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateRelatedItemCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateRelatedItemCommandInput, UpdateRelatedItemCommandOutput, ConnectCasesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates the content of a related item associated with a case. The following related item types are supported:</p> <ul> <li> <p> <b>Comment</b> - Update the text content of an existing comment</p> </li> <li> <p> <b>Custom</b> - Update the fields of a custom related item. You can add, modify, and remove fields from a custom related item. There's a quota for the number of fields allowed in a Custom type related item. See <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html#cases-quotas">Amazon Connect Cases quotas</a>.</p> </li> </ul> <p> <b>Important things to know</b> </p> <ul> <li> <p>When updating a Custom related item, all existing and new fields, and their associated values should be included in the request. Fields not included as part of this request will be removed.</p> </li> <li> <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">DescribeUser</a> permission on the ARN of the user that you provide.</p> </li> <li> <p> <a href="https://docs.aws.amazon.com/connect/latest/adminguide/case-fields.html#system-case-fields">System case fields</a> cannot be used in a custom related item.</p> </li> </ul> <p> <b>Endpoints</b>: See <a href="https://docs.aws.amazon.com/general/latest/gr/connect_region.html">Amazon Connect endpoints and quotas</a>.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ConnectCasesClient, UpdateRelatedItemCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
35
+ * // const { ConnectCasesClient, UpdateRelatedItemCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
36
+ * // import type { ConnectCasesClientConfig } from "@aws-sdk/client-connectcases";
37
+ * const config = {}; // type is ConnectCasesClientConfig
38
+ * const client = new ConnectCasesClient(config);
39
+ * const input = { // UpdateRelatedItemRequest
40
+ * domainId: "STRING_VALUE", // required
41
+ * caseId: "STRING_VALUE", // required
42
+ * relatedItemId: "STRING_VALUE", // required
43
+ * content: { // RelatedItemUpdateContent Union: only one key present
44
+ * comment: { // CommentUpdateContent
45
+ * body: "STRING_VALUE", // required
46
+ * contentType: "STRING_VALUE", // required
47
+ * },
48
+ * custom: { // CustomUpdateContent
49
+ * fields: [ // FieldValueList // required
50
+ * { // FieldValue
51
+ * id: "STRING_VALUE", // required
52
+ * value: { // FieldValueUnion Union: only one key present
53
+ * stringValue: "STRING_VALUE",
54
+ * doubleValue: Number("double"),
55
+ * booleanValue: true || false,
56
+ * emptyValue: {},
57
+ * userArnValue: "STRING_VALUE",
58
+ * },
59
+ * },
60
+ * ],
61
+ * },
62
+ * },
63
+ * performedBy: { // UserUnion Union: only one key present
64
+ * userArn: "STRING_VALUE",
65
+ * customEntity: "STRING_VALUE",
66
+ * },
67
+ * };
68
+ * const command = new UpdateRelatedItemCommand(input);
69
+ * const response = await client.send(command);
70
+ * // { // UpdateRelatedItemResponse
71
+ * // relatedItemId: "STRING_VALUE", // required
72
+ * // relatedItemArn: "STRING_VALUE", // required
73
+ * // type: "STRING_VALUE", // required
74
+ * // content: { // RelatedItemContent Union: only one key present
75
+ * // contact: { // ContactContent
76
+ * // contactArn: "STRING_VALUE", // required
77
+ * // channel: "STRING_VALUE", // required
78
+ * // connectedToSystemTime: new Date("TIMESTAMP"), // required
79
+ * // },
80
+ * // comment: { // CommentContent
81
+ * // body: "STRING_VALUE", // required
82
+ * // contentType: "STRING_VALUE", // required
83
+ * // },
84
+ * // file: { // FileContent
85
+ * // fileArn: "STRING_VALUE", // required
86
+ * // },
87
+ * // sla: { // SlaContent
88
+ * // slaConfiguration: { // SlaConfiguration
89
+ * // name: "STRING_VALUE", // required
90
+ * // type: "STRING_VALUE", // required
91
+ * // status: "STRING_VALUE", // required
92
+ * // fieldId: "STRING_VALUE",
93
+ * // targetFieldValues: [ // SlaFieldValueUnionList
94
+ * // { // FieldValueUnion Union: only one key present
95
+ * // stringValue: "STRING_VALUE",
96
+ * // doubleValue: Number("double"),
97
+ * // booleanValue: true || false,
98
+ * // emptyValue: {},
99
+ * // userArnValue: "STRING_VALUE",
100
+ * // },
101
+ * // ],
102
+ * // targetTime: new Date("TIMESTAMP"), // required
103
+ * // completionTime: new Date("TIMESTAMP"),
104
+ * // },
105
+ * // },
106
+ * // connectCase: { // ConnectCaseContent
107
+ * // caseId: "STRING_VALUE", // required
108
+ * // },
109
+ * // custom: { // CustomContent
110
+ * // fields: [ // FieldValueList // required
111
+ * // { // FieldValue
112
+ * // id: "STRING_VALUE", // required
113
+ * // value: {// Union: only one key present
114
+ * // stringValue: "STRING_VALUE",
115
+ * // doubleValue: Number("double"),
116
+ * // booleanValue: true || false,
117
+ * // emptyValue: {},
118
+ * // userArnValue: "STRING_VALUE",
119
+ * // },
120
+ * // },
121
+ * // ],
122
+ * // },
123
+ * // },
124
+ * // associationTime: new Date("TIMESTAMP"), // required
125
+ * // tags: { // Tags
126
+ * // "<keys>": "STRING_VALUE",
127
+ * // },
128
+ * // lastUpdatedUser: { // UserUnion Union: only one key present
129
+ * // userArn: "STRING_VALUE",
130
+ * // customEntity: "STRING_VALUE",
131
+ * // },
132
+ * // createdBy: {// Union: only one key present
133
+ * // userArn: "STRING_VALUE",
134
+ * // customEntity: "STRING_VALUE",
135
+ * // },
136
+ * // };
137
+ *
138
+ * ```
139
+ *
140
+ * @param UpdateRelatedItemCommandInput - {@link UpdateRelatedItemCommandInput}
141
+ * @returns {@link UpdateRelatedItemCommandOutput}
142
+ * @see {@link UpdateRelatedItemCommandInput} for command's `input` shape.
143
+ * @see {@link UpdateRelatedItemCommandOutput} for command's `response` shape.
144
+ * @see {@link ConnectCasesClientResolvedConfig | config} for ConnectCasesClient's `config` shape.
145
+ *
146
+ * @throws {@link AccessDeniedException} (client fault)
147
+ * <p>You do not have sufficient access to perform this action.</p>
148
+ *
149
+ * @throws {@link InternalServerException} (server fault)
150
+ * <p>We couldn't process your request because of an issue with the server. Try again later.</p>
151
+ *
152
+ * @throws {@link ResourceNotFoundException} (client fault)
153
+ * <p>We couldn't find the requested resource. Check that your resources exists and were created in the same Amazon Web Services Region as your request, and try your request again.</p>
154
+ *
155
+ * @throws {@link ThrottlingException} (client fault)
156
+ * <p>The rate has been exceeded for this API. Please try again after a few minutes.</p>
157
+ *
158
+ * @throws {@link ValidationException} (client fault)
159
+ * <p>The request isn't valid. Check the syntax and try again.</p>
160
+ *
161
+ * @throws {@link ConnectCasesServiceException}
162
+ * <p>Base exception class for all service exceptions from ConnectCases service.</p>
163
+ *
164
+ *
165
+ * @public
166
+ */
167
+ export declare class UpdateRelatedItemCommand extends UpdateRelatedItemCommand_base {
168
+ /** @internal type navigation helper, not in runtime. */
169
+ protected static __types: {
170
+ api: {
171
+ input: UpdateRelatedItemRequest;
172
+ output: UpdateRelatedItemResponse;
173
+ };
174
+ sdk: {
175
+ input: UpdateRelatedItemCommandInput;
176
+ output: UpdateRelatedItemCommandOutput;
177
+ };
178
+ };
179
+ }
@@ -39,4 +39,5 @@ export * from "./UpdateCaseCommand";
39
39
  export * from "./UpdateCaseRuleCommand";
40
40
  export * from "./UpdateFieldCommand";
41
41
  export * from "./UpdateLayoutCommand";
42
+ export * from "./UpdateRelatedItemCommand";
42
43
  export * from "./UpdateTemplateCommand";
@@ -22,6 +22,8 @@ export declare const AuditEventType: {
22
22
  readonly CASE_CREATED: "Case.Created";
23
23
  readonly CASE_UPDATED: "Case.Updated";
24
24
  readonly RELATED_ITEM_CREATED: "RelatedItem.Created";
25
+ readonly RELATED_ITEM_DELETED: "RelatedItem.Deleted";
26
+ readonly RELATED_ITEM_UPDATED: "RelatedItem.Updated";
25
27
  };
26
28
  /**
27
29
  * @public
@@ -456,7 +456,7 @@ export interface AuditEvent {
456
456
  */
457
457
  eventId: string | undefined;
458
458
  /**
459
- * <p>The Type of an audit history event.</p>
459
+ * <p>The type of audit history event.</p> <p>Valid Values: <code>Case.Created</code> | <code>Case.Updated</code> | <code>RelatedItem.Created</code> | <code>RelatedItem.Updated</code> | <code>RelatedItem.Deleted</code> </p>
460
460
  * @public
461
461
  */
462
462
  type: AuditEventType | undefined;
@@ -1291,6 +1291,153 @@ export interface SearchRelatedItemsResponse {
1291
1291
  */
1292
1292
  relatedItems: SearchRelatedItemsResponseItem[] | undefined;
1293
1293
  }
1294
+ /**
1295
+ * <p>Represents the updated content of a <code>Comment</code> related item.</p>
1296
+ * @public
1297
+ */
1298
+ export interface CommentUpdateContent {
1299
+ /**
1300
+ * <p>Updated text in the body of a <code>Comment</code> on a case.</p>
1301
+ * @public
1302
+ */
1303
+ body: string | undefined;
1304
+ /**
1305
+ * <p>Type of the text in the box of a <code>Comment</code> on a case.</p>
1306
+ * @public
1307
+ */
1308
+ contentType: CommentBodyTextType | undefined;
1309
+ }
1310
+ /**
1311
+ * <p>Represents the updated content of a <code>Custom</code> related item.</p>
1312
+ * @public
1313
+ */
1314
+ export interface CustomUpdateContent {
1315
+ /**
1316
+ * <p>List of updated field values for the <code>Custom</code> related item. All existing and new fields, and their associated values should be included. Fields not included as part of this request will be removed.</p>
1317
+ * @public
1318
+ */
1319
+ fields: FieldValue[] | undefined;
1320
+ }
1321
+ /**
1322
+ * <p>Represents the content of a related item to be updated. This is a union type that can contain either comment content or custom content.</p>
1323
+ * @public
1324
+ */
1325
+ export type RelatedItemUpdateContent = RelatedItemUpdateContent.CommentMember | RelatedItemUpdateContent.CustomMember | RelatedItemUpdateContent.$UnknownMember;
1326
+ /**
1327
+ * @public
1328
+ */
1329
+ export declare namespace RelatedItemUpdateContent {
1330
+ /**
1331
+ * <p>Represents the updated content of a <code>Comment</code> related item.</p>
1332
+ * @public
1333
+ */
1334
+ interface CommentMember {
1335
+ comment: CommentUpdateContent;
1336
+ custom?: never;
1337
+ $unknown?: never;
1338
+ }
1339
+ /**
1340
+ * <p>Represents the updated content of a <code>Custom</code> related item.</p>
1341
+ * @public
1342
+ */
1343
+ interface CustomMember {
1344
+ comment?: never;
1345
+ custom: CustomUpdateContent;
1346
+ $unknown?: never;
1347
+ }
1348
+ /**
1349
+ * @public
1350
+ */
1351
+ interface $UnknownMember {
1352
+ comment?: never;
1353
+ custom?: never;
1354
+ $unknown: [string, any];
1355
+ }
1356
+ /**
1357
+ * @deprecated unused in schema-serde mode.
1358
+ *
1359
+ */
1360
+ interface Visitor<T> {
1361
+ comment: (value: CommentUpdateContent) => T;
1362
+ custom: (value: CustomUpdateContent) => T;
1363
+ _: (name: string, value: any) => T;
1364
+ }
1365
+ }
1366
+ /**
1367
+ * @public
1368
+ */
1369
+ export interface UpdateRelatedItemRequest {
1370
+ /**
1371
+ * <p>The unique identifier of the Cases domain. </p>
1372
+ * @public
1373
+ */
1374
+ domainId: string | undefined;
1375
+ /**
1376
+ * <p>A unique identifier of the case.</p>
1377
+ * @public
1378
+ */
1379
+ caseId: string | undefined;
1380
+ /**
1381
+ * <p>Unique identifier of a related item.</p>
1382
+ * @public
1383
+ */
1384
+ relatedItemId: string | undefined;
1385
+ /**
1386
+ * <p>The content of a related item to be updated.</p>
1387
+ * @public
1388
+ */
1389
+ content: RelatedItemUpdateContent | undefined;
1390
+ /**
1391
+ * <p>Represents the user who performed the update of the related item.</p>
1392
+ * @public
1393
+ */
1394
+ performedBy?: UserUnion | undefined;
1395
+ }
1396
+ /**
1397
+ * @public
1398
+ */
1399
+ export interface UpdateRelatedItemResponse {
1400
+ /**
1401
+ * <p>The unique identifier of the updated related item.</p>
1402
+ * @public
1403
+ */
1404
+ relatedItemId: string | undefined;
1405
+ /**
1406
+ * <p>The Amazon Resource Name (ARN) of the updated related item.</p>
1407
+ * @public
1408
+ */
1409
+ relatedItemArn: string | undefined;
1410
+ /**
1411
+ * <p>Type of the updated related item.</p>
1412
+ * @public
1413
+ */
1414
+ type: RelatedItemType | undefined;
1415
+ /**
1416
+ * <p>Represents the content of the updated related item.</p>
1417
+ * @public
1418
+ */
1419
+ content: RelatedItemContent | undefined;
1420
+ /**
1421
+ * <p>Time at which the related item was associated with the case.</p>
1422
+ * @public
1423
+ */
1424
+ associationTime: Date | undefined;
1425
+ /**
1426
+ * <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>
1427
+ * @public
1428
+ */
1429
+ tags?: Record<string, string> | undefined;
1430
+ /**
1431
+ * <p>Represents the last user that updated the related item.</p>
1432
+ * @public
1433
+ */
1434
+ lastUpdatedUser?: UserUnion | undefined;
1435
+ /**
1436
+ * <p>Represents the creator of the related item.</p>
1437
+ * @public
1438
+ */
1439
+ createdBy?: UserUnion | undefined;
1440
+ }
1294
1441
  /**
1295
1442
  * <p>Object for case tag filter values.</p>
1296
1443
  * @public
@@ -32,6 +32,7 @@ export declare var CaseRuleSummary$: StaticStructureSchema;
32
32
  export declare var CaseSummary$: StaticStructureSchema;
33
33
  export declare var CommentContent$: StaticStructureSchema;
34
34
  export declare var CommentFilter$: StaticStructureSchema;
35
+ export declare var CommentUpdateContent$: StaticStructureSchema;
35
36
  export declare var CompoundCondition$: StaticStructureSchema;
36
37
  export declare var ConnectCaseContent$: StaticStructureSchema;
37
38
  export declare var ConnectCaseFilter$: StaticStructureSchema;
@@ -56,6 +57,7 @@ export declare var CreateTemplateResponse$: StaticStructureSchema;
56
57
  export declare var CustomContent$: StaticStructureSchema;
57
58
  export declare var CustomFilter$: StaticStructureSchema;
58
59
  export declare var CustomInputContent$: StaticStructureSchema;
60
+ export declare var CustomUpdateContent$: StaticStructureSchema;
59
61
  export declare var DeleteCaseRequest$: StaticStructureSchema;
60
62
  export declare var DeleteCaseResponse$: StaticStructureSchema;
61
63
  export declare var DeleteCaseRuleRequest$: StaticStructureSchema;
@@ -156,6 +158,8 @@ export declare var UpdateFieldRequest$: StaticStructureSchema;
156
158
  export declare var UpdateFieldResponse$: StaticStructureSchema;
157
159
  export declare var UpdateLayoutRequest$: StaticStructureSchema;
158
160
  export declare var UpdateLayoutResponse$: StaticStructureSchema;
161
+ export declare var UpdateRelatedItemRequest$: StaticStructureSchema;
162
+ export declare var UpdateRelatedItemResponse$: StaticStructureSchema;
159
163
  export declare var UpdateTemplateRequest$: StaticStructureSchema;
160
164
  export declare var UpdateTemplateResponse$: StaticStructureSchema;
161
165
  export declare var AuditEventFieldValueUnion$: StaticUnionSchema;
@@ -172,6 +176,7 @@ export declare var OperandTwo$: StaticUnionSchema;
172
176
  export declare var RelatedItemContent$: StaticUnionSchema;
173
177
  export declare var RelatedItemInputContent$: StaticUnionSchema;
174
178
  export declare var RelatedItemTypeFilter$: StaticUnionSchema;
179
+ export declare var RelatedItemUpdateContent$: StaticUnionSchema;
175
180
  export declare var Section$: StaticUnionSchema;
176
181
  export declare var SlaInputContent$: StaticUnionSchema;
177
182
  export declare var TagFilter$: StaticUnionSchema;
@@ -217,4 +222,5 @@ export declare var UpdateCase$: StaticOperationSchema;
217
222
  export declare var UpdateCaseRule$: StaticOperationSchema;
218
223
  export declare var UpdateField$: StaticOperationSchema;
219
224
  export declare var UpdateLayout$: StaticOperationSchema;
225
+ export declare var UpdateRelatedItem$: StaticOperationSchema;
220
226
  export declare var UpdateTemplate$: StaticOperationSchema;
@@ -167,6 +167,10 @@ import {
167
167
  UpdateLayoutCommandInput,
168
168
  UpdateLayoutCommandOutput,
169
169
  } from "./commands/UpdateLayoutCommand";
170
+ import {
171
+ UpdateRelatedItemCommandInput,
172
+ UpdateRelatedItemCommandOutput,
173
+ } from "./commands/UpdateRelatedItemCommand";
170
174
  import {
171
175
  UpdateTemplateCommandInput,
172
176
  UpdateTemplateCommandOutput,
@@ -707,6 +711,19 @@ export interface ConnectCases {
707
711
  options: __HttpHandlerOptions,
708
712
  cb: (err: any, data?: UpdateLayoutCommandOutput) => void
709
713
  ): void;
714
+ updateRelatedItem(
715
+ args: UpdateRelatedItemCommandInput,
716
+ options?: __HttpHandlerOptions
717
+ ): Promise<UpdateRelatedItemCommandOutput>;
718
+ updateRelatedItem(
719
+ args: UpdateRelatedItemCommandInput,
720
+ cb: (err: any, data?: UpdateRelatedItemCommandOutput) => void
721
+ ): void;
722
+ updateRelatedItem(
723
+ args: UpdateRelatedItemCommandInput,
724
+ options: __HttpHandlerOptions,
725
+ cb: (err: any, data?: UpdateRelatedItemCommandOutput) => void
726
+ ): void;
710
727
  updateTemplate(
711
728
  args: UpdateTemplateCommandInput,
712
729
  options?: __HttpHandlerOptions
@@ -209,6 +209,10 @@ import {
209
209
  UpdateLayoutCommandInput,
210
210
  UpdateLayoutCommandOutput,
211
211
  } from "./commands/UpdateLayoutCommand";
212
+ import {
213
+ UpdateRelatedItemCommandInput,
214
+ UpdateRelatedItemCommandOutput,
215
+ } from "./commands/UpdateRelatedItemCommand";
212
216
  import {
213
217
  UpdateTemplateCommandInput,
214
218
  UpdateTemplateCommandOutput,
@@ -262,6 +266,7 @@ export type ServiceInputTypes =
262
266
  | UpdateCaseRuleCommandInput
263
267
  | UpdateFieldCommandInput
264
268
  | UpdateLayoutCommandInput
269
+ | UpdateRelatedItemCommandInput
265
270
  | UpdateTemplateCommandInput;
266
271
  export type ServiceOutputTypes =
267
272
  | BatchGetCaseRuleCommandOutput
@@ -305,6 +310,7 @@ export type ServiceOutputTypes =
305
310
  | UpdateCaseRuleCommandOutput
306
311
  | UpdateFieldCommandOutput
307
312
  | UpdateLayoutCommandOutput
313
+ | UpdateRelatedItemCommandOutput
308
314
  | UpdateTemplateCommandOutput;
309
315
  export interface ClientDefaults
310
316
  extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ConnectCasesClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../ConnectCasesClient";
8
+ import {
9
+ UpdateRelatedItemRequest,
10
+ UpdateRelatedItemResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface UpdateRelatedItemCommandInput
15
+ extends UpdateRelatedItemRequest {}
16
+ export interface UpdateRelatedItemCommandOutput
17
+ extends UpdateRelatedItemResponse,
18
+ __MetadataBearer {}
19
+ declare const UpdateRelatedItemCommand_base: {
20
+ new (
21
+ input: UpdateRelatedItemCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ UpdateRelatedItemCommandInput,
24
+ UpdateRelatedItemCommandOutput,
25
+ ConnectCasesClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: UpdateRelatedItemCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ UpdateRelatedItemCommandInput,
33
+ UpdateRelatedItemCommandOutput,
34
+ ConnectCasesClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class UpdateRelatedItemCommand extends UpdateRelatedItemCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: UpdateRelatedItemRequest;
44
+ output: UpdateRelatedItemResponse;
45
+ };
46
+ sdk: {
47
+ input: UpdateRelatedItemCommandInput;
48
+ output: UpdateRelatedItemCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -39,4 +39,5 @@ export * from "./UpdateCaseCommand";
39
39
  export * from "./UpdateCaseRuleCommand";
40
40
  export * from "./UpdateFieldCommand";
41
41
  export * from "./UpdateLayoutCommand";
42
+ export * from "./UpdateRelatedItemCommand";
42
43
  export * from "./UpdateTemplateCommand";
@@ -12,6 +12,8 @@ export declare const AuditEventType: {
12
12
  readonly CASE_CREATED: "Case.Created";
13
13
  readonly CASE_UPDATED: "Case.Updated";
14
14
  readonly RELATED_ITEM_CREATED: "RelatedItem.Created";
15
+ readonly RELATED_ITEM_DELETED: "RelatedItem.Deleted";
16
+ readonly RELATED_ITEM_UPDATED: "RelatedItem.Updated";
15
17
  };
16
18
  export type AuditEventType =
17
19
  (typeof AuditEventType)[keyof typeof AuditEventType];
@@ -600,6 +600,56 @@ export interface SearchRelatedItemsResponse {
600
600
  nextToken?: string | undefined;
601
601
  relatedItems: SearchRelatedItemsResponseItem[] | undefined;
602
602
  }
603
+ export interface CommentUpdateContent {
604
+ body: string | undefined;
605
+ contentType: CommentBodyTextType | undefined;
606
+ }
607
+ export interface CustomUpdateContent {
608
+ fields: FieldValue[] | undefined;
609
+ }
610
+ export type RelatedItemUpdateContent =
611
+ | RelatedItemUpdateContent.CommentMember
612
+ | RelatedItemUpdateContent.CustomMember
613
+ | RelatedItemUpdateContent.$UnknownMember;
614
+ export declare namespace RelatedItemUpdateContent {
615
+ interface CommentMember {
616
+ comment: CommentUpdateContent;
617
+ custom?: never;
618
+ $unknown?: never;
619
+ }
620
+ interface CustomMember {
621
+ comment?: never;
622
+ custom: CustomUpdateContent;
623
+ $unknown?: never;
624
+ }
625
+ interface $UnknownMember {
626
+ comment?: never;
627
+ custom?: never;
628
+ $unknown: [string, any];
629
+ }
630
+ interface Visitor<T> {
631
+ comment: (value: CommentUpdateContent) => T;
632
+ custom: (value: CustomUpdateContent) => T;
633
+ _: (name: string, value: any) => T;
634
+ }
635
+ }
636
+ export interface UpdateRelatedItemRequest {
637
+ domainId: string | undefined;
638
+ caseId: string | undefined;
639
+ relatedItemId: string | undefined;
640
+ content: RelatedItemUpdateContent | undefined;
641
+ performedBy?: UserUnion | undefined;
642
+ }
643
+ export interface UpdateRelatedItemResponse {
644
+ relatedItemId: string | undefined;
645
+ relatedItemArn: string | undefined;
646
+ type: RelatedItemType | undefined;
647
+ content: RelatedItemContent | undefined;
648
+ associationTime: Date | undefined;
649
+ tags?: Record<string, string> | undefined;
650
+ lastUpdatedUser?: UserUnion | undefined;
651
+ createdBy?: UserUnion | undefined;
652
+ }
603
653
  export interface TagValue {
604
654
  key?: string | undefined;
605
655
  value?: string | undefined;
@@ -32,6 +32,7 @@ export declare var CaseRuleSummary$: StaticStructureSchema;
32
32
  export declare var CaseSummary$: StaticStructureSchema;
33
33
  export declare var CommentContent$: StaticStructureSchema;
34
34
  export declare var CommentFilter$: StaticStructureSchema;
35
+ export declare var CommentUpdateContent$: StaticStructureSchema;
35
36
  export declare var CompoundCondition$: StaticStructureSchema;
36
37
  export declare var ConnectCaseContent$: StaticStructureSchema;
37
38
  export declare var ConnectCaseFilter$: StaticStructureSchema;
@@ -56,6 +57,7 @@ export declare var CreateTemplateResponse$: StaticStructureSchema;
56
57
  export declare var CustomContent$: StaticStructureSchema;
57
58
  export declare var CustomFilter$: StaticStructureSchema;
58
59
  export declare var CustomInputContent$: StaticStructureSchema;
60
+ export declare var CustomUpdateContent$: StaticStructureSchema;
59
61
  export declare var DeleteCaseRequest$: StaticStructureSchema;
60
62
  export declare var DeleteCaseResponse$: StaticStructureSchema;
61
63
  export declare var DeleteCaseRuleRequest$: StaticStructureSchema;
@@ -156,6 +158,8 @@ export declare var UpdateFieldRequest$: StaticStructureSchema;
156
158
  export declare var UpdateFieldResponse$: StaticStructureSchema;
157
159
  export declare var UpdateLayoutRequest$: StaticStructureSchema;
158
160
  export declare var UpdateLayoutResponse$: StaticStructureSchema;
161
+ export declare var UpdateRelatedItemRequest$: StaticStructureSchema;
162
+ export declare var UpdateRelatedItemResponse$: StaticStructureSchema;
159
163
  export declare var UpdateTemplateRequest$: StaticStructureSchema;
160
164
  export declare var UpdateTemplateResponse$: StaticStructureSchema;
161
165
  export declare var AuditEventFieldValueUnion$: StaticUnionSchema;
@@ -172,6 +176,7 @@ export declare var OperandTwo$: StaticUnionSchema;
172
176
  export declare var RelatedItemContent$: StaticUnionSchema;
173
177
  export declare var RelatedItemInputContent$: StaticUnionSchema;
174
178
  export declare var RelatedItemTypeFilter$: StaticUnionSchema;
179
+ export declare var RelatedItemUpdateContent$: StaticUnionSchema;
175
180
  export declare var Section$: StaticUnionSchema;
176
181
  export declare var SlaInputContent$: StaticUnionSchema;
177
182
  export declare var TagFilter$: StaticUnionSchema;
@@ -217,4 +222,5 @@ export declare var UpdateCase$: StaticOperationSchema;
217
222
  export declare var UpdateCaseRule$: StaticOperationSchema;
218
223
  export declare var UpdateField$: StaticOperationSchema;
219
224
  export declare var UpdateLayout$: StaticOperationSchema;
225
+ export declare var UpdateRelatedItem$: StaticOperationSchema;
220
226
  export declare var UpdateTemplate$: 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.1014.0",
4
+ "version": "3.1016.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.23",
25
- "@aws-sdk/credential-provider-node": "^3.972.24",
24
+ "@aws-sdk/core": "^3.973.24",
25
+ "@aws-sdk/credential-provider-node": "^3.972.25",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.8",
27
27
  "@aws-sdk/middleware-logger": "^3.972.8",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.8",
29
- "@aws-sdk/middleware-user-agent": "^3.972.24",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.25",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.9",
31
31
  "@aws-sdk/types": "^3.973.6",
32
32
  "@aws-sdk/util-endpoints": "^3.996.5",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.8",
34
- "@aws-sdk/util-user-agent-node": "^3.973.10",
34
+ "@aws-sdk/util-user-agent-node": "^3.973.11",
35
35
  "@smithy/config-resolver": "^4.4.13",
36
36
  "@smithy/core": "^3.23.12",
37
37
  "@smithy/fetch-http-handler": "^5.3.15",