Skip to content

Commit 33e1ed5

Browse files
author
awstools
committed
feat(client-connectcases): This release adds support for two new related item types: ConnectCase for linking Amazon Connect cases and Custom for user-defined related items with configurable fields.
1 parent 45a8e7f commit 33e1ed5

File tree

6 files changed

+7980
-7286
lines changed

6 files changed

+7980
-7286
lines changed

clients/client-connectcases/src/commands/CreateRelatedItemCommand.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,23 @@ export interface CreateRelatedItemCommandOutput extends CreateRelatedItemRespons
7373
* targetSlaMinutes: Number("long"), // required
7474
* },
7575
* },
76+
* connectCase: { // ConnectCaseInputContent
77+
* caseId: "STRING_VALUE", // required
78+
* },
79+
* custom: { // CustomInputContent
80+
* fields: [ // FieldValueList // required
81+
* { // FieldValue
82+
* id: "STRING_VALUE", // required
83+
* value: {// Union: only one key present
84+
* stringValue: "STRING_VALUE",
85+
* doubleValue: Number("double"),
86+
* booleanValue: true || false,
87+
* emptyValue: {},
88+
* userArnValue: "STRING_VALUE",
89+
* },
90+
* },
91+
* ],
92+
* },
7693
* },
7794
* performedBy: { // UserUnion Union: only one key present
7895
* userArn: "STRING_VALUE",

clients/client-connectcases/src/commands/DeleteCaseCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export interface DeleteCaseCommandInput extends DeleteCaseRequest {}
2828
export interface DeleteCaseCommandOutput extends DeleteCaseResponse, __MetadataBearer {}
2929

3030
/**
31-
* <p> The DeleteCase API permanently deletes a case and all its associated resources from the cases data store. After a successful deletion, you cannot:</p> <ul> <li> <p>Retrieve related items</p> </li> <li> <p>Access audit history</p> </li> <li> <p>Perform any operations that require the CaseID</p> </li> </ul> <important> <p>This action is irreversible. Once you delete a case, you cannot recover its data.</p> </important>
31+
* <p> The DeleteCase API permanently deletes a case and all its associated resources from the cases data store. After a successful deletion, you cannot:</p> <ul> <li> <p>Retrieve related items</p> </li> <li> <p>Access audit history</p> </li> <li> <p>Perform any operations that require the CaseID</p> </li> </ul> <important> <p>This action is irreversible. After you delete a case, you cannot recover its data.</p> </important>
3232
* @example
3333
* Use a bare-bones client and the command you need to make an API call.
3434
* ```javascript

clients/client-connectcases/src/commands/SearchRelatedItemsCommand.ts

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,89 @@ export interface SearchRelatedItemsCommandOutput extends SearchRelatedItemsRespo
6363
* name: "STRING_VALUE",
6464
* status: "STRING_VALUE",
6565
* },
66+
* connectCase: { // ConnectCaseFilter
67+
* caseId: "STRING_VALUE",
68+
* },
69+
* custom: { // CustomFilter
70+
* fields: { // CustomFieldsFilter Union: only one key present
71+
* field: { // FieldFilter Union: only one key present
72+
* equalTo: { // FieldValue
73+
* id: "STRING_VALUE", // required
74+
* value: { // FieldValueUnion Union: only one key present
75+
* stringValue: "STRING_VALUE",
76+
* doubleValue: Number("double"),
77+
* booleanValue: true || false,
78+
* emptyValue: {},
79+
* userArnValue: "STRING_VALUE",
80+
* },
81+
* },
82+
* contains: {
83+
* id: "STRING_VALUE", // required
84+
* value: {// Union: only one key present
85+
* stringValue: "STRING_VALUE",
86+
* doubleValue: Number("double"),
87+
* booleanValue: true || false,
88+
* emptyValue: {},
89+
* userArnValue: "STRING_VALUE",
90+
* },
91+
* },
92+
* greaterThan: {
93+
* id: "STRING_VALUE", // required
94+
* value: {// 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+
* greaterThanOrEqualTo: {
103+
* id: "STRING_VALUE", // required
104+
* value: {// Union: only one key present
105+
* stringValue: "STRING_VALUE",
106+
* doubleValue: Number("double"),
107+
* booleanValue: true || false,
108+
* emptyValue: {},
109+
* userArnValue: "STRING_VALUE",
110+
* },
111+
* },
112+
* lessThan: {
113+
* id: "STRING_VALUE", // required
114+
* value: {// Union: only one key present
115+
* stringValue: "STRING_VALUE",
116+
* doubleValue: Number("double"),
117+
* booleanValue: true || false,
118+
* emptyValue: {},
119+
* userArnValue: "STRING_VALUE",
120+
* },
121+
* },
122+
* lessThanOrEqualTo: "<FieldValue>",
123+
* },
124+
* not: {// Union: only one key present
125+
* field: {// Union: only one key present
126+
* equalTo: "<FieldValue>",
127+
* contains: "<FieldValue>",
128+
* greaterThan: "<FieldValue>",
129+
* greaterThanOrEqualTo: "<FieldValue>",
130+
* lessThan: "<FieldValue>",
131+
* lessThanOrEqualTo: "<FieldValue>",
132+
* },
133+
* not: "<CustomFieldsFilter>",
134+
* andAll: [ // CustomFieldsFilterList
135+
* "<CustomFieldsFilter>",
136+
* ],
137+
* orAll: [
138+
* "<CustomFieldsFilter>",
139+
* ],
140+
* },
141+
* andAll: [
142+
* "<CustomFieldsFilter>",
143+
* ],
144+
* orAll: [
145+
* "<CustomFieldsFilter>",
146+
* ],
147+
* },
148+
* },
66149
* },
67150
* ],
68151
* };
@@ -107,6 +190,23 @@ export interface SearchRelatedItemsCommandOutput extends SearchRelatedItemsRespo
107190
* // completionTime: new Date("TIMESTAMP"),
108191
* // },
109192
* // },
193+
* // connectCase: { // ConnectCaseContent
194+
* // caseId: "STRING_VALUE", // required
195+
* // },
196+
* // custom: { // CustomContent
197+
* // fields: [ // FieldValueList // required
198+
* // { // FieldValue
199+
* // id: "STRING_VALUE", // required
200+
* // value: {// Union: only one key present
201+
* // stringValue: "STRING_VALUE",
202+
* // doubleValue: Number("double"),
203+
* // booleanValue: true || false,
204+
* // emptyValue: {},
205+
* // userArnValue: "STRING_VALUE",
206+
* // },
207+
* // },
208+
* // ],
209+
* // },
110210
* // },
111211
* // tags: { // Tags
112212
* // "<keys>": "STRING_VALUE",

0 commit comments

Comments
 (0)