@aws-sdk/client-connectcases 3.299.0 → 3.301.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.
Files changed (31) hide show
  1. package/dist-types/commands/BatchGetFieldCommand.d.ts +8 -0
  2. package/dist-types/commands/BatchPutFieldOptionsCommand.d.ts +11 -0
  3. package/dist-types/commands/CreateCaseCommand.d.ts +15 -0
  4. package/dist-types/commands/CreateDomainCommand.d.ts +3 -0
  5. package/dist-types/commands/CreateFieldCommand.d.ts +6 -0
  6. package/dist-types/commands/CreateLayoutCommand.d.ts +36 -0
  7. package/dist-types/commands/CreateRelatedItemCommand.d.ts +14 -0
  8. package/dist-types/commands/CreateTemplateCommand.d.ts +14 -0
  9. package/dist-types/commands/DeleteDomainCommand.d.ts +3 -0
  10. package/dist-types/commands/GetCaseCommand.d.ts +10 -0
  11. package/dist-types/commands/GetCaseEventConfigurationCommand.d.ts +3 -0
  12. package/dist-types/commands/GetDomainCommand.d.ts +3 -0
  13. package/dist-types/commands/GetLayoutCommand.d.ts +4 -0
  14. package/dist-types/commands/GetTemplateCommand.d.ts +4 -0
  15. package/dist-types/commands/ListCasesForContactCommand.d.ts +6 -0
  16. package/dist-types/commands/ListDomainsCommand.d.ts +4 -0
  17. package/dist-types/commands/ListFieldOptionsCommand.d.ts +9 -0
  18. package/dist-types/commands/ListFieldsCommand.d.ts +5 -0
  19. package/dist-types/commands/ListLayoutsCommand.d.ts +5 -0
  20. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  21. package/dist-types/commands/ListTemplatesCommand.d.ts +8 -0
  22. package/dist-types/commands/PutCaseEventConfigurationCommand.d.ts +18 -0
  23. package/dist-types/commands/SearchCasesCommand.d.ts +79 -0
  24. package/dist-types/commands/SearchRelatedItemsCommand.d.ts +17 -0
  25. package/dist-types/commands/TagResourceCommand.d.ts +6 -0
  26. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  27. package/dist-types/commands/UpdateCaseCommand.d.ts +14 -0
  28. package/dist-types/commands/UpdateFieldCommand.d.ts +6 -0
  29. package/dist-types/commands/UpdateLayoutCommand.d.ts +37 -0
  30. package/dist-types/commands/UpdateTemplateCommand.d.ts +15 -0
  31. package/package.json +8 -8
@@ -26,6 +26,14 @@ export interface BatchGetFieldCommandOutput extends BatchGetFieldResponse, __Met
26
26
  * import { ConnectCasesClient, BatchGetFieldCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
27
27
  * // const { ConnectCasesClient, BatchGetFieldCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
28
28
  * const client = new ConnectCasesClient(config);
29
+ * const input = { // BatchGetFieldRequest
30
+ * domainId: "STRING_VALUE", // required
31
+ * fields: [ // BatchGetFieldIdentifierList // required
32
+ * { // FieldIdentifier
33
+ * id: "STRING_VALUE", // required
34
+ * },
35
+ * ],
36
+ * };
29
37
  * const command = new BatchGetFieldCommand(input);
30
38
  * const response = await client.send(command);
31
39
  * ```
@@ -27,6 +27,17 @@ export interface BatchPutFieldOptionsCommandOutput extends BatchPutFieldOptionsR
27
27
  * import { ConnectCasesClient, BatchPutFieldOptionsCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
28
28
  * // const { ConnectCasesClient, BatchPutFieldOptionsCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
29
29
  * const client = new ConnectCasesClient(config);
30
+ * const input = { // BatchPutFieldOptionsRequest
31
+ * domainId: "STRING_VALUE", // required
32
+ * fieldId: "STRING_VALUE", // required
33
+ * options: [ // FieldOptionsList // required
34
+ * { // FieldOption
35
+ * name: "STRING_VALUE", // required
36
+ * value: "STRING_VALUE", // required
37
+ * active: true || false, // required
38
+ * },
39
+ * ],
40
+ * };
30
41
  * const command = new BatchPutFieldOptionsCommand(input);
31
42
  * const response = await client.send(command);
32
43
  * ```
@@ -46,6 +46,21 @@ export interface CreateCaseCommandOutput extends CreateCaseResponse, __MetadataB
46
46
  * import { ConnectCasesClient, CreateCaseCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
47
47
  * // const { ConnectCasesClient, CreateCaseCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
48
48
  * const client = new ConnectCasesClient(config);
49
+ * const input = { // CreateCaseRequest
50
+ * domainId: "STRING_VALUE", // required
51
+ * templateId: "STRING_VALUE", // required
52
+ * fields: [ // FieldValueList // required
53
+ * { // FieldValue
54
+ * id: "STRING_VALUE", // required
55
+ * value: { // FieldValueUnion Union: only one key present
56
+ * stringValue: "STRING_VALUE",
57
+ * doubleValue: Number("double"),
58
+ * booleanValue: true || false,
59
+ * },
60
+ * },
61
+ * ],
62
+ * clientToken: "STRING_VALUE",
63
+ * };
49
64
  * const command = new CreateCaseCommand(input);
50
65
  * const response = await client.send(command);
51
66
  * ```
@@ -35,6 +35,9 @@ export interface CreateDomainCommandOutput extends CreateDomainResponse, __Metad
35
35
  * import { ConnectCasesClient, CreateDomainCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
36
36
  * // const { ConnectCasesClient, CreateDomainCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
37
37
  * const client = new ConnectCasesClient(config);
38
+ * const input = { // CreateDomainRequest
39
+ * name: "STRING_VALUE", // required
40
+ * };
38
41
  * const command = new CreateDomainCommand(input);
39
42
  * const response = await client.send(command);
40
43
  * ```
@@ -27,6 +27,12 @@ export interface CreateFieldCommandOutput extends CreateFieldResponse, __Metadat
27
27
  * import { ConnectCasesClient, CreateFieldCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
28
28
  * // const { ConnectCasesClient, CreateFieldCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
29
29
  * const client = new ConnectCasesClient(config);
30
+ * const input = { // CreateFieldRequest
31
+ * domainId: "STRING_VALUE", // required
32
+ * name: "STRING_VALUE", // required
33
+ * type: "STRING_VALUE", // required
34
+ * description: "STRING_VALUE",
35
+ * };
30
36
  * const command = new CreateFieldCommand(input);
31
37
  * const response = await client.send(command);
32
38
  * ```
@@ -39,6 +39,42 @@ export interface CreateLayoutCommandOutput extends CreateLayoutResponse, __Metad
39
39
  * import { ConnectCasesClient, CreateLayoutCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
40
40
  * // const { ConnectCasesClient, CreateLayoutCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
41
41
  * const client = new ConnectCasesClient(config);
42
+ * const input = { // CreateLayoutRequest
43
+ * domainId: "STRING_VALUE", // required
44
+ * name: "STRING_VALUE", // required
45
+ * content: { // LayoutContent Union: only one key present
46
+ * basic: { // BasicLayout
47
+ * topPanel: { // LayoutSections
48
+ * sections: [ // SectionsList
49
+ * { // Section Union: only one key present
50
+ * fieldGroup: { // FieldGroup
51
+ * name: "STRING_VALUE",
52
+ * fields: [ // FieldList // required
53
+ * { // FieldItem
54
+ * id: "STRING_VALUE", // required
55
+ * },
56
+ * ],
57
+ * },
58
+ * },
59
+ * ],
60
+ * },
61
+ * moreInfo: {
62
+ * sections: [
63
+ * {// Union: only one key present
64
+ * fieldGroup: {
65
+ * name: "STRING_VALUE",
66
+ * fields: [ // required
67
+ * {
68
+ * id: "STRING_VALUE", // required
69
+ * },
70
+ * ],
71
+ * },
72
+ * },
73
+ * ],
74
+ * },
75
+ * },
76
+ * },
77
+ * };
42
78
  * const command = new CreateLayoutCommand(input);
43
79
  * const response = await client.send(command);
44
80
  * ```
@@ -34,6 +34,20 @@ export interface CreateRelatedItemCommandOutput extends CreateRelatedItemRespons
34
34
  * import { ConnectCasesClient, CreateRelatedItemCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
35
35
  * // const { ConnectCasesClient, CreateRelatedItemCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
36
36
  * const client = new ConnectCasesClient(config);
37
+ * const input = { // CreateRelatedItemRequest
38
+ * domainId: "STRING_VALUE", // required
39
+ * caseId: "STRING_VALUE", // required
40
+ * type: "STRING_VALUE", // required
41
+ * content: { // RelatedItemInputContent Union: only one key present
42
+ * contact: { // Contact
43
+ * contactArn: "STRING_VALUE", // required
44
+ * },
45
+ * comment: { // CommentContent
46
+ * body: "STRING_VALUE", // required
47
+ * contentType: "STRING_VALUE", // required
48
+ * },
49
+ * },
50
+ * };
37
51
  * const command = new CreateRelatedItemCommand(input);
38
52
  * const response = await client.send(command);
39
53
  * ```
@@ -31,6 +31,20 @@ export interface CreateTemplateCommandOutput extends CreateTemplateResponse, __M
31
31
  * import { ConnectCasesClient, CreateTemplateCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
32
32
  * // const { ConnectCasesClient, CreateTemplateCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
33
33
  * const client = new ConnectCasesClient(config);
34
+ * const input = { // CreateTemplateRequest
35
+ * domainId: "STRING_VALUE", // required
36
+ * name: "STRING_VALUE", // required
37
+ * description: "STRING_VALUE",
38
+ * layoutConfiguration: { // LayoutConfiguration
39
+ * defaultLayout: "STRING_VALUE",
40
+ * },
41
+ * requiredFields: [ // RequiredFieldList
42
+ * { // RequiredField
43
+ * fieldId: "STRING_VALUE", // required
44
+ * },
45
+ * ],
46
+ * status: "STRING_VALUE",
47
+ * };
34
48
  * const command = new CreateTemplateCommand(input);
35
49
  * const response = await client.send(command);
36
50
  * ```
@@ -26,6 +26,9 @@ export interface DeleteDomainCommandOutput extends DeleteDomainResponse, __Metad
26
26
  * import { ConnectCasesClient, DeleteDomainCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
27
27
  * // const { ConnectCasesClient, DeleteDomainCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
28
28
  * const client = new ConnectCasesClient(config);
29
+ * const input = { // DeleteDomainRequest
30
+ * domainId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DeleteDomainCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,16 @@ export interface GetCaseCommandOutput extends GetCaseResponse, __MetadataBearer
26
26
  * import { ConnectCasesClient, GetCaseCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
27
27
  * // const { ConnectCasesClient, GetCaseCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
28
28
  * const client = new ConnectCasesClient(config);
29
+ * const input = { // GetCaseRequest
30
+ * caseId: "STRING_VALUE", // required
31
+ * domainId: "STRING_VALUE", // required
32
+ * fields: [ // FieldIdentifierList // required
33
+ * { // FieldIdentifier
34
+ * id: "STRING_VALUE", // required
35
+ * },
36
+ * ],
37
+ * nextToken: "STRING_VALUE",
38
+ * };
29
39
  * const command = new GetCaseCommand(input);
30
40
  * const response = await client.send(command);
31
41
  * ```
@@ -26,6 +26,9 @@ export interface GetCaseEventConfigurationCommandOutput extends GetCaseEventConf
26
26
  * import { ConnectCasesClient, GetCaseEventConfigurationCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
27
27
  * // const { ConnectCasesClient, GetCaseEventConfigurationCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
28
28
  * const client = new ConnectCasesClient(config);
29
+ * const input = { // GetCaseEventConfigurationRequest
30
+ * domainId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new GetCaseEventConfigurationCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface GetDomainCommandOutput extends GetDomainResponse, __MetadataBea
26
26
  * import { ConnectCasesClient, GetDomainCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
27
27
  * // const { ConnectCasesClient, GetDomainCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
28
28
  * const client = new ConnectCasesClient(config);
29
+ * const input = { // GetDomainRequest
30
+ * domainId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new GetDomainCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,10 @@ export interface GetLayoutCommandOutput extends GetLayoutResponse, __MetadataBea
26
26
  * import { ConnectCasesClient, GetLayoutCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
27
27
  * // const { ConnectCasesClient, GetLayoutCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
28
28
  * const client = new ConnectCasesClient(config);
29
+ * const input = { // GetLayoutRequest
30
+ * domainId: "STRING_VALUE", // required
31
+ * layoutId: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new GetLayoutCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,10 @@ export interface GetTemplateCommandOutput extends GetTemplateResponse, __Metadat
26
26
  * import { ConnectCasesClient, GetTemplateCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
27
27
  * // const { ConnectCasesClient, GetTemplateCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
28
28
  * const client = new ConnectCasesClient(config);
29
+ * const input = { // GetTemplateRequest
30
+ * domainId: "STRING_VALUE", // required
31
+ * templateId: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new GetTemplateCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,12 @@ export interface ListCasesForContactCommandOutput extends ListCasesForContactRes
26
26
  * import { ConnectCasesClient, ListCasesForContactCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
27
27
  * // const { ConnectCasesClient, ListCasesForContactCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
28
28
  * const client = new ConnectCasesClient(config);
29
+ * const input = { // ListCasesForContactRequest
30
+ * domainId: "STRING_VALUE", // required
31
+ * contactArn: "STRING_VALUE", // required
32
+ * maxResults: Number("int"),
33
+ * nextToken: "STRING_VALUE",
34
+ * };
29
35
  * const command = new ListCasesForContactCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -27,6 +27,10 @@ export interface ListDomainsCommandOutput extends ListDomainsResponse, __Metadat
27
27
  * import { ConnectCasesClient, ListDomainsCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
28
28
  * // const { ConnectCasesClient, ListDomainsCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
29
29
  * const client = new ConnectCasesClient(config);
30
+ * const input = { // ListDomainsRequest
31
+ * maxResults: Number("int"),
32
+ * nextToken: "STRING_VALUE",
33
+ * };
30
34
  * const command = new ListDomainsCommand(input);
31
35
  * const response = await client.send(command);
32
36
  * ```
@@ -26,6 +26,15 @@ export interface ListFieldOptionsCommandOutput extends ListFieldOptionsResponse,
26
26
  * import { ConnectCasesClient, ListFieldOptionsCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
27
27
  * // const { ConnectCasesClient, ListFieldOptionsCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
28
28
  * const client = new ConnectCasesClient(config);
29
+ * const input = { // ListFieldOptionsRequest
30
+ * domainId: "STRING_VALUE", // required
31
+ * fieldId: "STRING_VALUE", // required
32
+ * maxResults: Number("int"),
33
+ * nextToken: "STRING_VALUE",
34
+ * values: [ // ValuesList
35
+ * "STRING_VALUE",
36
+ * ],
37
+ * };
29
38
  * const command = new ListFieldOptionsCommand(input);
30
39
  * const response = await client.send(command);
31
40
  * ```
@@ -26,6 +26,11 @@ export interface ListFieldsCommandOutput extends ListFieldsResponse, __MetadataB
26
26
  * import { ConnectCasesClient, ListFieldsCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
27
27
  * // const { ConnectCasesClient, ListFieldsCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
28
28
  * const client = new ConnectCasesClient(config);
29
+ * const input = { // ListFieldsRequest
30
+ * domainId: "STRING_VALUE", // required
31
+ * maxResults: Number("int"),
32
+ * nextToken: "STRING_VALUE",
33
+ * };
29
34
  * const command = new ListFieldsCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -27,6 +27,11 @@ export interface ListLayoutsCommandOutput extends ListLayoutsResponse, __Metadat
27
27
  * import { ConnectCasesClient, ListLayoutsCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
28
28
  * // const { ConnectCasesClient, ListLayoutsCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
29
29
  * const client = new ConnectCasesClient(config);
30
+ * const input = { // ListLayoutsRequest
31
+ * domainId: "STRING_VALUE", // required
32
+ * maxResults: Number("int"),
33
+ * nextToken: "STRING_VALUE",
34
+ * };
30
35
  * const command = new ListLayoutsCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
26
26
  * import { ConnectCasesClient, ListTagsForResourceCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
27
27
  * // const { ConnectCasesClient, ListTagsForResourceCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
28
28
  * const client = new ConnectCasesClient(config);
29
+ * const input = { // ListTagsForResourceRequest
30
+ * arn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new ListTagsForResourceCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -27,6 +27,14 @@ export interface ListTemplatesCommandOutput extends ListTemplatesResponse, __Met
27
27
  * import { ConnectCasesClient, ListTemplatesCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
28
28
  * // const { ConnectCasesClient, ListTemplatesCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
29
29
  * const client = new ConnectCasesClient(config);
30
+ * const input = { // ListTemplatesRequest
31
+ * domainId: "STRING_VALUE", // required
32
+ * maxResults: Number("int"),
33
+ * nextToken: "STRING_VALUE",
34
+ * status: [ // TemplateStatusFilters
35
+ * "STRING_VALUE",
36
+ * ],
37
+ * };
30
38
  * const command = new ListTemplatesCommand(input);
31
39
  * const response = await client.send(command);
32
40
  * ```
@@ -26,6 +26,24 @@ export interface PutCaseEventConfigurationCommandOutput extends PutCaseEventConf
26
26
  * import { ConnectCasesClient, PutCaseEventConfigurationCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
27
27
  * // const { ConnectCasesClient, PutCaseEventConfigurationCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
28
28
  * const client = new ConnectCasesClient(config);
29
+ * const input = { // PutCaseEventConfigurationRequest
30
+ * domainId: "STRING_VALUE", // required
31
+ * eventBridge: { // EventBridgeConfiguration
32
+ * enabled: true || false, // required
33
+ * includedData: { // EventIncludedData
34
+ * caseData: { // CaseEventIncludedData
35
+ * fields: [ // FieldIdentifierList // required
36
+ * { // FieldIdentifier
37
+ * id: "STRING_VALUE", // required
38
+ * },
39
+ * ],
40
+ * },
41
+ * relatedItemData: { // RelatedItemEventIncludedData
42
+ * includeContent: true || false, // required
43
+ * },
44
+ * },
45
+ * },
46
+ * };
29
47
  * const command = new PutCaseEventConfigurationCommand(input);
30
48
  * const response = await client.send(command);
31
49
  * ```
@@ -32,6 +32,85 @@ export interface SearchCasesCommandOutput extends SearchCasesResponse, __Metadat
32
32
  * import { ConnectCasesClient, SearchCasesCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
33
33
  * // const { ConnectCasesClient, SearchCasesCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
34
34
  * const client = new ConnectCasesClient(config);
35
+ * const input = { // SearchCasesRequest
36
+ * domainId: "STRING_VALUE", // required
37
+ * maxResults: Number("int"),
38
+ * nextToken: "STRING_VALUE",
39
+ * searchTerm: "STRING_VALUE",
40
+ * filter: { // CaseFilter Union: only one key present
41
+ * field: { // FieldFilter Union: only one key present
42
+ * equalTo: { // FieldValue
43
+ * id: "STRING_VALUE", // required
44
+ * value: { // FieldValueUnion Union: only one key present
45
+ * stringValue: "STRING_VALUE",
46
+ * doubleValue: Number("double"),
47
+ * booleanValue: true || false,
48
+ * },
49
+ * },
50
+ * contains: {
51
+ * id: "STRING_VALUE", // required
52
+ * value: {// Union: only one key present
53
+ * stringValue: "STRING_VALUE",
54
+ * doubleValue: Number("double"),
55
+ * booleanValue: true || false,
56
+ * },
57
+ * },
58
+ * greaterThan: {
59
+ * id: "STRING_VALUE", // required
60
+ * value: {// Union: only one key present
61
+ * stringValue: "STRING_VALUE",
62
+ * doubleValue: Number("double"),
63
+ * booleanValue: true || false,
64
+ * },
65
+ * },
66
+ * greaterThanOrEqualTo: {
67
+ * id: "STRING_VALUE", // required
68
+ * value: {// Union: only one key present
69
+ * stringValue: "STRING_VALUE",
70
+ * doubleValue: Number("double"),
71
+ * booleanValue: true || false,
72
+ * },
73
+ * },
74
+ * lessThan: {
75
+ * id: "STRING_VALUE", // required
76
+ * value: {// Union: only one key present
77
+ * stringValue: "STRING_VALUE",
78
+ * doubleValue: Number("double"),
79
+ * booleanValue: true || false,
80
+ * },
81
+ * },
82
+ * lessThanOrEqualTo: "<FieldValue>",
83
+ * },
84
+ * not: {// Union: only one key present
85
+ * field: {// Union: only one key present
86
+ * equalTo: "<FieldValue>",
87
+ * contains: "<FieldValue>",
88
+ * greaterThan: "<FieldValue>",
89
+ * greaterThanOrEqualTo: "<FieldValue>",
90
+ * lessThan: "<FieldValue>",
91
+ * lessThanOrEqualTo: "<FieldValue>",
92
+ * },
93
+ * not: "<CaseFilter>",
94
+ * andAll: [ // CaseFilterList
95
+ * "<CaseFilter>",
96
+ * ],
97
+ * },
98
+ * andAll: [
99
+ * "<CaseFilter>",
100
+ * ],
101
+ * },
102
+ * sorts: [ // SortList
103
+ * { // Sort
104
+ * fieldId: "STRING_VALUE", // required
105
+ * sortOrder: "STRING_VALUE", // required
106
+ * },
107
+ * ],
108
+ * fields: [ // FieldIdentifierList
109
+ * { // FieldIdentifier
110
+ * id: "STRING_VALUE", // required
111
+ * },
112
+ * ],
113
+ * };
35
114
  * const command = new SearchCasesCommand(input);
36
115
  * const response = await client.send(command);
37
116
  * ```
@@ -30,6 +30,23 @@ export interface SearchRelatedItemsCommandOutput extends SearchRelatedItemsRespo
30
30
  * import { ConnectCasesClient, SearchRelatedItemsCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
31
31
  * // const { ConnectCasesClient, SearchRelatedItemsCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
32
32
  * const client = new ConnectCasesClient(config);
33
+ * const input = { // SearchRelatedItemsRequest
34
+ * domainId: "STRING_VALUE", // required
35
+ * caseId: "STRING_VALUE", // required
36
+ * maxResults: Number("int"),
37
+ * nextToken: "STRING_VALUE",
38
+ * filters: [ // RelatedItemFilterList
39
+ * { // RelatedItemTypeFilter Union: only one key present
40
+ * contact: { // ContactFilter
41
+ * channel: [ // ChannelList
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * contactArn: "STRING_VALUE",
45
+ * },
46
+ * comment: {},
47
+ * },
48
+ * ],
49
+ * };
33
50
  * const command = new SearchRelatedItemsCommand(input);
34
51
  * const response = await client.send(command);
35
52
  * ```
@@ -26,6 +26,12 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
26
26
  * import { ConnectCasesClient, TagResourceCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
27
27
  * // const { ConnectCasesClient, TagResourceCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
28
28
  * const client = new ConnectCasesClient(config);
29
+ * const input = { // TagResourceRequest
30
+ * arn: "STRING_VALUE", // required
31
+ * tags: { // Tags // required
32
+ * "<keys>": "STRING_VALUE",
33
+ * },
34
+ * };
29
35
  * const command = new TagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
26
26
  * import { ConnectCasesClient, UntagResourceCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
27
27
  * // const { ConnectCasesClient, UntagResourceCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
28
28
  * const client = new ConnectCasesClient(config);
29
+ * const input = { // UntagResourceRequest
30
+ * arn: "STRING_VALUE", // required
31
+ * tagKeys: [ // TagKeyList // required
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * };
29
35
  * const command = new UntagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -29,6 +29,20 @@ export interface UpdateCaseCommandOutput extends UpdateCaseResponse, __MetadataB
29
29
  * import { ConnectCasesClient, UpdateCaseCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
30
30
  * // const { ConnectCasesClient, UpdateCaseCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
31
31
  * const client = new ConnectCasesClient(config);
32
+ * const input = { // UpdateCaseRequest
33
+ * domainId: "STRING_VALUE", // required
34
+ * caseId: "STRING_VALUE", // required
35
+ * fields: [ // FieldValueList // required
36
+ * { // FieldValue
37
+ * id: "STRING_VALUE", // required
38
+ * value: { // FieldValueUnion Union: only one key present
39
+ * stringValue: "STRING_VALUE",
40
+ * doubleValue: Number("double"),
41
+ * booleanValue: true || false,
42
+ * },
43
+ * },
44
+ * ],
45
+ * };
32
46
  * const command = new UpdateCaseCommand(input);
33
47
  * const response = await client.send(command);
34
48
  * ```
@@ -26,6 +26,12 @@ export interface UpdateFieldCommandOutput extends UpdateFieldResponse, __Metadat
26
26
  * import { ConnectCasesClient, UpdateFieldCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
27
27
  * // const { ConnectCasesClient, UpdateFieldCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
28
28
  * const client = new ConnectCasesClient(config);
29
+ * const input = { // UpdateFieldRequest
30
+ * domainId: "STRING_VALUE", // required
31
+ * fieldId: "STRING_VALUE", // required
32
+ * name: "STRING_VALUE",
33
+ * description: "STRING_VALUE",
34
+ * };
29
35
  * const command = new UpdateFieldCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -34,6 +34,43 @@ export interface UpdateLayoutCommandOutput extends UpdateLayoutResponse, __Metad
34
34
  * import { ConnectCasesClient, UpdateLayoutCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
35
35
  * // const { ConnectCasesClient, UpdateLayoutCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
36
36
  * const client = new ConnectCasesClient(config);
37
+ * const input = { // UpdateLayoutRequest
38
+ * domainId: "STRING_VALUE", // required
39
+ * layoutId: "STRING_VALUE", // required
40
+ * name: "STRING_VALUE",
41
+ * content: { // LayoutContent Union: only one key present
42
+ * basic: { // BasicLayout
43
+ * topPanel: { // LayoutSections
44
+ * sections: [ // SectionsList
45
+ * { // Section Union: only one key present
46
+ * fieldGroup: { // FieldGroup
47
+ * name: "STRING_VALUE",
48
+ * fields: [ // FieldList // required
49
+ * { // FieldItem
50
+ * id: "STRING_VALUE", // required
51
+ * },
52
+ * ],
53
+ * },
54
+ * },
55
+ * ],
56
+ * },
57
+ * moreInfo: {
58
+ * sections: [
59
+ * {// Union: only one key present
60
+ * fieldGroup: {
61
+ * name: "STRING_VALUE",
62
+ * fields: [ // required
63
+ * {
64
+ * id: "STRING_VALUE", // required
65
+ * },
66
+ * ],
67
+ * },
68
+ * },
69
+ * ],
70
+ * },
71
+ * },
72
+ * },
73
+ * };
37
74
  * const command = new UpdateLayoutCommand(input);
38
75
  * const response = await client.send(command);
39
76
  * ```
@@ -30,6 +30,21 @@ export interface UpdateTemplateCommandOutput extends UpdateTemplateResponse, __M
30
30
  * import { ConnectCasesClient, UpdateTemplateCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
31
31
  * // const { ConnectCasesClient, UpdateTemplateCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
32
32
  * const client = new ConnectCasesClient(config);
33
+ * const input = { // UpdateTemplateRequest
34
+ * domainId: "STRING_VALUE", // required
35
+ * templateId: "STRING_VALUE", // required
36
+ * name: "STRING_VALUE",
37
+ * description: "STRING_VALUE",
38
+ * layoutConfiguration: { // LayoutConfiguration
39
+ * defaultLayout: "STRING_VALUE",
40
+ * },
41
+ * requiredFields: [ // RequiredFieldList
42
+ * { // RequiredField
43
+ * fieldId: "STRING_VALUE", // required
44
+ * },
45
+ * ],
46
+ * status: "STRING_VALUE",
47
+ * };
33
48
  * const command = new UpdateTemplateCommand(input);
34
49
  * const response = await client.send(command);
35
50
  * ```
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.299.0",
4
+ "version": "3.301.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.301.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.301.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0",
57
57
  "uuid": "^8.3.2"