@aws-sdk/client-connectcases 3.738.0 → 3.743.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 (49) hide show
  1. package/README.md +54 -0
  2. package/dist-cjs/index.js +410 -1
  3. package/dist-es/ConnectCases.js +10 -0
  4. package/dist-es/commands/BatchGetCaseRuleCommand.js +22 -0
  5. package/dist-es/commands/CreateCaseRuleCommand.js +22 -0
  6. package/dist-es/commands/DeleteCaseRuleCommand.js +22 -0
  7. package/dist-es/commands/ListCaseRulesCommand.js +22 -0
  8. package/dist-es/commands/UpdateCaseRuleCommand.js +22 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/models_0.js +43 -0
  11. package/dist-es/pagination/ListCaseRulesPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/protocols/Aws_restJson1.js +261 -1
  14. package/dist-types/ConnectCases.d.ts +50 -1
  15. package/dist-types/ConnectCasesClient.d.ts +22 -3
  16. package/dist-types/commands/BatchGetCaseRuleCommand.d.ts +148 -0
  17. package/dist-types/commands/CreateCaseCommand.d.ts +0 -1
  18. package/dist-types/commands/CreateCaseRuleCommand.d.ts +135 -0
  19. package/dist-types/commands/CreateRelatedItemCommand.d.ts +3 -1
  20. package/dist-types/commands/CreateTemplateCommand.d.ts +29 -0
  21. package/dist-types/commands/DeleteCaseRuleCommand.d.ts +91 -0
  22. package/dist-types/commands/DeleteDomainCommand.d.ts +0 -1
  23. package/dist-types/commands/DeleteFieldCommand.d.ts +18 -15
  24. package/dist-types/commands/DeleteLayoutCommand.d.ts +3 -2
  25. package/dist-types/commands/GetTemplateCommand.d.ts +29 -1
  26. package/dist-types/commands/ListCaseRulesCommand.d.ts +101 -0
  27. package/dist-types/commands/ListTemplatesCommand.d.ts +23 -0
  28. package/dist-types/commands/UpdateCaseCommand.d.ts +0 -1
  29. package/dist-types/commands/UpdateCaseRuleCommand.d.ts +129 -0
  30. package/dist-types/commands/UpdateTemplateCommand.d.ts +29 -0
  31. package/dist-types/commands/index.d.ts +5 -0
  32. package/dist-types/index.d.ts +15 -1
  33. package/dist-types/models/models_0.d.ts +573 -1
  34. package/dist-types/pagination/ListCaseRulesPaginator.d.ts +7 -0
  35. package/dist-types/pagination/index.d.ts +1 -0
  36. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  37. package/dist-types/ts3.4/ConnectCases.d.ts +85 -0
  38. package/dist-types/ts3.4/ConnectCasesClient.d.ts +30 -0
  39. package/dist-types/ts3.4/commands/BatchGetCaseRuleCommand.d.ts +50 -0
  40. package/dist-types/ts3.4/commands/CreateCaseRuleCommand.d.ts +50 -0
  41. package/dist-types/ts3.4/commands/DeleteCaseRuleCommand.d.ts +50 -0
  42. package/dist-types/ts3.4/commands/ListCaseRulesCommand.d.ts +50 -0
  43. package/dist-types/ts3.4/commands/UpdateCaseRuleCommand.d.ts +50 -0
  44. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  45. package/dist-types/ts3.4/models/models_0.d.ts +199 -0
  46. package/dist-types/ts3.4/pagination/ListCaseRulesPaginator.d.ts +11 -0
  47. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  48. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  49. package/package.json +5 -5
@@ -35,24 +35,25 @@ declare const DeleteFieldCommand_base: {
35
35
  * </li>
36
36
  * <li>
37
37
  * <p>You cannot update a deleted field by calling <code>UpdateField</code>; it throws a
38
- * <code>ValidationException</code>.</p>
38
+ * <code>ValidationException</code>.</p>
39
39
  * </li>
40
40
  * <li>
41
41
  * <p>Deleted fields are not included in the <code>ListFields</code> response.</p>
42
42
  * </li>
43
43
  * <li>
44
- * <p>Calling <code>CreateCase</code> with a deleted field throws a <code>ValidationException</code> denoting
45
- * which field IDs in the request have been deleted.</p>
44
+ * <p>Calling <code>CreateCase</code> with a deleted field throws a
45
+ * <code>ValidationException</code> denoting which field IDs in the request have been
46
+ * deleted.</p>
46
47
  * </li>
47
48
  * <li>
48
- * <p>Calling <code>GetCase</code> with a deleted field ID returns the deleted field's value if one
49
- * exists.</p>
49
+ * <p>Calling <code>GetCase</code> with a deleted field ID returns the deleted field's value
50
+ * if one exists.</p>
50
51
  * </li>
51
52
  * <li>
52
- * <p>Calling <code>UpdateCase</code> with a deleted field ID throws a <code>ValidationException</code> if the
53
- * case does not already contain a value for the deleted field. Otherwise it succeeds,
54
- * allowing you to update or remove (using <code>emptyValue: \{\}</code>) the field's value from the
55
- * case.</p>
53
+ * <p>Calling <code>UpdateCase</code> with a deleted field ID throws a
54
+ * <code>ValidationException</code> if the case does not already contain a value for the
55
+ * deleted field. Otherwise it succeeds, allowing you to update or remove (using
56
+ * <code>emptyValue: \{\}</code>) the field's value from the case.</p>
56
57
  * </li>
57
58
  * <li>
58
59
  * <p>
@@ -63,18 +64,20 @@ declare const DeleteFieldCommand_base: {
63
64
  * <code>GetLayout</code> does not return field IDs for deleted fields.</p>
64
65
  * </li>
65
66
  * <li>
66
- * <p>Calling <code>SearchCases</code> with the deleted field ID as a filter returns any cases that
67
- * have a value for the deleted field that matches the filter criteria.</p>
67
+ * <p>Calling <code>SearchCases</code> with the deleted field ID as a filter returns any
68
+ * cases that have a value for the deleted field that matches the filter criteria.</p>
68
69
  * </li>
69
70
  * <li>
70
- * <p>Calling <code>SearchCases</code> with a <code>searchTerm</code> value that matches a deleted field's value on a
71
- * case returns the case in the response.</p>
71
+ * <p>Calling <code>SearchCases</code> with a <code>searchTerm</code> value that matches a
72
+ * deleted field's value on a case returns the case in the response.</p>
72
73
  * </li>
73
74
  * <li>
74
- * <p>Calling <code>BatchPutFieldOptions</code> with a deleted field ID throw a <code>ValidationException</code>.</p>
75
+ * <p>Calling <code>BatchPutFieldOptions</code> with a deleted field ID throw a
76
+ * <code>ValidationException</code>.</p>
75
77
  * </li>
76
78
  * <li>
77
- * <p>Calling <code>GetCaseEventConfiguration</code> does not return field IDs for deleted fields.</p>
79
+ * <p>Calling <code>GetCaseEventConfiguration</code> does not return field IDs for deleted
80
+ * fields.</p>
78
81
  * </li>
79
82
  * </ul>
80
83
  * @example
@@ -27,7 +27,8 @@ declare const DeleteLayoutCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Deletes a layout from a cases template. You can delete up to 100 layouts per domain.</p>
30
+ * <p>Deletes a layout from a cases template. You can delete up to 100 layouts per
31
+ * domain.</p>
31
32
  *
32
33
  * <p>After a layout is deleted:</p>
33
34
  * <ul>
@@ -36,7 +37,7 @@ declare const DeleteLayoutCommand_base: {
36
37
  * </li>
37
38
  * <li>
38
39
  * <p>You cannot update a deleted layout by calling <code>UpdateLayout</code>; it throws a
39
- * <code>ValidationException</code>.</p>
40
+ * <code>ValidationException</code>.</p>
40
41
  * </li>
41
42
  * <li>
42
43
  * <p>Deleted layouts are not included in the <code>ListLayouts</code> response.</p>
@@ -27,7 +27,29 @@ declare const GetTemplateCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Returns the details for the requested template. </p>
30
+ * <p>Returns the details for the requested template. Other template APIs are: </p>
31
+ * <ul>
32
+ * <li>
33
+ * <p>
34
+ * <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateTemplate.html">CreateTemplate</a>
35
+ * </p>
36
+ * </li>
37
+ * <li>
38
+ * <p>
39
+ * <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_DeleteTemplate.html">DeleteTemplate</a>
40
+ * </p>
41
+ * </li>
42
+ * <li>
43
+ * <p>
44
+ * <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_ListTemplates.html">ListTemplates</a>
45
+ * </p>
46
+ * </li>
47
+ * <li>
48
+ * <p>
49
+ * <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_UpdateTemplate.html">UpdateTemplate</a>
50
+ * </p>
51
+ * </li>
52
+ * </ul>
31
53
  * @example
32
54
  * Use a bare-bones client and the command you need to make an API call.
33
55
  * ```javascript
@@ -60,6 +82,12 @@ declare const GetTemplateCommand_base: {
60
82
  * // deleted: true || false,
61
83
  * // createdTime: new Date("TIMESTAMP"),
62
84
  * // lastModifiedTime: new Date("TIMESTAMP"),
85
+ * // rules: [ // TemplateCaseRuleList
86
+ * // { // TemplateRule
87
+ * // caseRuleId: "STRING_VALUE", // required
88
+ * // fieldId: "STRING_VALUE", // required
89
+ * // },
90
+ * // ],
63
91
  * // };
64
92
  *
65
93
  * ```
@@ -0,0 +1,101 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ConnectCasesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCasesClient";
4
+ import { ListCaseRulesRequest, ListCaseRulesResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListCaseRulesCommand}.
14
+ */
15
+ export interface ListCaseRulesCommandInput extends ListCaseRulesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListCaseRulesCommand}.
21
+ */
22
+ export interface ListCaseRulesCommandOutput extends ListCaseRulesResponse, __MetadataBearer {
23
+ }
24
+ declare const ListCaseRulesCommand_base: {
25
+ new (input: ListCaseRulesCommandInput): import("@smithy/smithy-client").CommandImpl<ListCaseRulesCommandInput, ListCaseRulesCommandOutput, ConnectCasesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListCaseRulesCommandInput): import("@smithy/smithy-client").CommandImpl<ListCaseRulesCommandInput, ListCaseRulesCommandOutput, ConnectCasesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists all case rules in a Cases domain. In the Amazon Connect admin website, case rules are known as <i>case field conditions</i>. For more
31
+ * information about case field conditions, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html">Add case field conditions to a
32
+ * case template</a>.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { ConnectCasesClient, ListCaseRulesCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
37
+ * // const { ConnectCasesClient, ListCaseRulesCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
38
+ * const client = new ConnectCasesClient(config);
39
+ * const input = { // ListCaseRulesRequest
40
+ * domainId: "STRING_VALUE", // required
41
+ * maxResults: Number("int"),
42
+ * nextToken: "STRING_VALUE",
43
+ * };
44
+ * const command = new ListCaseRulesCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // ListCaseRulesResponse
47
+ * // caseRules: [ // CaseRuleSummaryList // required
48
+ * // { // CaseRuleSummary
49
+ * // caseRuleId: "STRING_VALUE", // required
50
+ * // name: "STRING_VALUE", // required
51
+ * // caseRuleArn: "STRING_VALUE", // required
52
+ * // ruleType: "STRING_VALUE", // required
53
+ * // description: "STRING_VALUE",
54
+ * // },
55
+ * // ],
56
+ * // nextToken: "STRING_VALUE",
57
+ * // };
58
+ *
59
+ * ```
60
+ *
61
+ * @param ListCaseRulesCommandInput - {@link ListCaseRulesCommandInput}
62
+ * @returns {@link ListCaseRulesCommandOutput}
63
+ * @see {@link ListCaseRulesCommandInput} for command's `input` shape.
64
+ * @see {@link ListCaseRulesCommandOutput} for command's `response` shape.
65
+ * @see {@link ConnectCasesClientResolvedConfig | config} for ConnectCasesClient's `config` shape.
66
+ *
67
+ * @throws {@link AccessDeniedException} (client fault)
68
+ * <p>You do not have sufficient access to perform this action.</p>
69
+ *
70
+ * @throws {@link InternalServerException} (server fault)
71
+ * <p>We couldn't process your request because of an issue with the server. Try again
72
+ * later.</p>
73
+ *
74
+ * @throws {@link ResourceNotFoundException} (client fault)
75
+ * <p>We couldn't find the requested resource. Check that your resources exists and were created
76
+ * in the same Amazon Web Services Region as your request, and try your request again.</p>
77
+ *
78
+ * @throws {@link ThrottlingException} (client fault)
79
+ * <p>The rate has been exceeded for this API. Please try again after a few minutes.</p>
80
+ *
81
+ * @throws {@link ValidationException} (client fault)
82
+ * <p>The request isn't valid. Check the syntax and try again.</p>
83
+ *
84
+ * @throws {@link ConnectCasesServiceException}
85
+ * <p>Base exception class for all service exceptions from ConnectCases service.</p>
86
+ *
87
+ * @public
88
+ */
89
+ export declare class ListCaseRulesCommand extends ListCaseRulesCommand_base {
90
+ /** @internal type navigation helper, not in runtime. */
91
+ protected static __types: {
92
+ api: {
93
+ input: ListCaseRulesRequest;
94
+ output: ListCaseRulesResponse;
95
+ };
96
+ sdk: {
97
+ input: ListCaseRulesCommandInput;
98
+ output: ListCaseRulesCommandOutput;
99
+ };
100
+ };
101
+ }
@@ -29,6 +29,29 @@ declare const ListTemplatesCommand_base: {
29
29
  /**
30
30
  * <p>Lists all of the templates in a Cases domain. Each list item is a condensed summary
31
31
  * object of the template. </p>
32
+ * <p> Other template APIs are: </p>
33
+ * <ul>
34
+ * <li>
35
+ * <p>
36
+ * <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateTemplate.html">CreateTemplate</a>
37
+ * </p>
38
+ * </li>
39
+ * <li>
40
+ * <p>
41
+ * <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_DeleteTemplate.html">DeleteTemplate</a>
42
+ * </p>
43
+ * </li>
44
+ * <li>
45
+ * <p>
46
+ * <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_GetTemplate.html">GetTemplate</a>
47
+ * </p>
48
+ * </li>
49
+ * <li>
50
+ * <p>
51
+ * <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_UpdateTemplate.html">UpdateTemplate</a>
52
+ * </p>
53
+ * </li>
54
+ * </ul>
32
55
  * @example
33
56
  * Use a bare-bones client and the command you need to make an API call.
34
57
  * ```javascript
@@ -30,7 +30,6 @@ declare const UpdateCaseCommand_base: {
30
30
  * <note>
31
31
  * <p>If you provide a value for <code>PerformedBy.UserArn</code> you must also have <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribeUser.html">connect:DescribeUser</a> permission on the User ARN resource that you provide</p>
32
32
  * </note>
33
- *
34
33
  * <p>Updates the values of fields on a case. Fields to be updated are received as an array of
35
34
  * id/value pairs identical to the <code>CreateCase</code> input .</p>
36
35
  * <p>If the action is successful, the service sends back an HTTP 200 response with an empty
@@ -0,0 +1,129 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ConnectCasesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCasesClient";
4
+ import { UpdateCaseRuleRequest, UpdateCaseRuleResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateCaseRuleCommand}.
14
+ */
15
+ export interface UpdateCaseRuleCommandInput extends UpdateCaseRuleRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateCaseRuleCommand}.
21
+ */
22
+ export interface UpdateCaseRuleCommandOutput extends UpdateCaseRuleResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateCaseRuleCommand_base: {
25
+ new (input: UpdateCaseRuleCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateCaseRuleCommandInput, UpdateCaseRuleCommandOutput, ConnectCasesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateCaseRuleCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateCaseRuleCommandInput, UpdateCaseRuleCommandOutput, ConnectCasesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates a case rule. In the Amazon Connect admin website, case rules are known as <i>case field conditions</i>. For more
31
+ * information about case field conditions, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html">Add case field conditions to a
32
+ * case template</a>.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { ConnectCasesClient, UpdateCaseRuleCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
37
+ * // const { ConnectCasesClient, UpdateCaseRuleCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
38
+ * const client = new ConnectCasesClient(config);
39
+ * const input = { // UpdateCaseRuleRequest
40
+ * domainId: "STRING_VALUE", // required
41
+ * caseRuleId: "STRING_VALUE", // required
42
+ * name: "STRING_VALUE",
43
+ * description: "STRING_VALUE",
44
+ * rule: { // CaseRuleDetails Union: only one key present
45
+ * required: { // RequiredCaseRule
46
+ * defaultValue: true || false, // required
47
+ * conditions: [ // BooleanConditionList // required
48
+ * { // BooleanCondition Union: only one key present
49
+ * equalTo: { // BooleanOperands
50
+ * operandOne: { // OperandOne Union: only one key present
51
+ * fieldId: "STRING_VALUE",
52
+ * },
53
+ * operandTwo: { // OperandTwo Union: only one key present
54
+ * stringValue: "STRING_VALUE",
55
+ * booleanValue: true || false,
56
+ * doubleValue: Number("double"),
57
+ * emptyValue: {},
58
+ * },
59
+ * result: true || false, // required
60
+ * },
61
+ * notEqualTo: {
62
+ * operandOne: {// Union: only one key present
63
+ * fieldId: "STRING_VALUE",
64
+ * },
65
+ * operandTwo: {// Union: only one key present
66
+ * stringValue: "STRING_VALUE",
67
+ * booleanValue: true || false,
68
+ * doubleValue: Number("double"),
69
+ * emptyValue: {},
70
+ * },
71
+ * result: true || false, // required
72
+ * },
73
+ * },
74
+ * ],
75
+ * },
76
+ * },
77
+ * };
78
+ * const command = new UpdateCaseRuleCommand(input);
79
+ * const response = await client.send(command);
80
+ * // {};
81
+ *
82
+ * ```
83
+ *
84
+ * @param UpdateCaseRuleCommandInput - {@link UpdateCaseRuleCommandInput}
85
+ * @returns {@link UpdateCaseRuleCommandOutput}
86
+ * @see {@link UpdateCaseRuleCommandInput} for command's `input` shape.
87
+ * @see {@link UpdateCaseRuleCommandOutput} for command's `response` shape.
88
+ * @see {@link ConnectCasesClientResolvedConfig | config} for ConnectCasesClient's `config` shape.
89
+ *
90
+ * @throws {@link AccessDeniedException} (client fault)
91
+ * <p>You do not have sufficient access to perform this action.</p>
92
+ *
93
+ * @throws {@link ConflictException} (client fault)
94
+ * <p>The requested operation would cause a conflict with the current state of a service
95
+ * resource associated with the request. Resolve the conflict before retrying this request. See
96
+ * the accompanying error message for details.</p>
97
+ *
98
+ * @throws {@link InternalServerException} (server fault)
99
+ * <p>We couldn't process your request because of an issue with the server. Try again
100
+ * later.</p>
101
+ *
102
+ * @throws {@link ResourceNotFoundException} (client fault)
103
+ * <p>We couldn't find the requested resource. Check that your resources exists and were created
104
+ * in the same Amazon Web Services Region as your request, and try your request again.</p>
105
+ *
106
+ * @throws {@link ThrottlingException} (client fault)
107
+ * <p>The rate has been exceeded for this API. Please try again after a few minutes.</p>
108
+ *
109
+ * @throws {@link ValidationException} (client fault)
110
+ * <p>The request isn't valid. Check the syntax and try again.</p>
111
+ *
112
+ * @throws {@link ConnectCasesServiceException}
113
+ * <p>Base exception class for all service exceptions from ConnectCases service.</p>
114
+ *
115
+ * @public
116
+ */
117
+ export declare class UpdateCaseRuleCommand extends UpdateCaseRuleCommand_base {
118
+ /** @internal type navigation helper, not in runtime. */
119
+ protected static __types: {
120
+ api: {
121
+ input: UpdateCaseRuleRequest;
122
+ output: {};
123
+ };
124
+ sdk: {
125
+ input: UpdateCaseRuleCommandInput;
126
+ output: UpdateCaseRuleCommandOutput;
127
+ };
128
+ };
129
+ }
@@ -32,6 +32,29 @@ declare const UpdateTemplateCommand_base: {
32
32
  * <code>layoutConfiguration</code>, <code>requiredFields</code>, and <code>status</code>. At
33
33
  * least one of these attributes must not be null. If a null value is provided for a given
34
34
  * attribute, that attribute is ignored and its current value is preserved.</p>
35
+ * <p>Other template APIs are:</p>
36
+ * <ul>
37
+ * <li>
38
+ * <p>
39
+ * <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateTemplate.html">CreateTemplate</a>
40
+ * </p>
41
+ * </li>
42
+ * <li>
43
+ * <p>
44
+ * <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_DeleteTemplate.html">DeleteTemplate</a>
45
+ * </p>
46
+ * </li>
47
+ * <li>
48
+ * <p>
49
+ * <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_GetTemplate.html">GetTemplate</a>
50
+ * </p>
51
+ * </li>
52
+ * <li>
53
+ * <p>
54
+ * <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_ListTemplates.html">ListTemplates</a>
55
+ * </p>
56
+ * </li>
57
+ * </ul>
35
58
  * @example
36
59
  * Use a bare-bones client and the command you need to make an API call.
37
60
  * ```javascript
@@ -52,6 +75,12 @@ declare const UpdateTemplateCommand_base: {
52
75
  * },
53
76
  * ],
54
77
  * status: "STRING_VALUE",
78
+ * rules: [ // TemplateCaseRuleList
79
+ * { // TemplateRule
80
+ * caseRuleId: "STRING_VALUE", // required
81
+ * fieldId: "STRING_VALUE", // required
82
+ * },
83
+ * ],
55
84
  * };
56
85
  * const command = new UpdateTemplateCommand(input);
57
86
  * const response = await client.send(command);
@@ -1,11 +1,14 @@
1
+ export * from "./BatchGetCaseRuleCommand";
1
2
  export * from "./BatchGetFieldCommand";
2
3
  export * from "./BatchPutFieldOptionsCommand";
3
4
  export * from "./CreateCaseCommand";
5
+ export * from "./CreateCaseRuleCommand";
4
6
  export * from "./CreateDomainCommand";
5
7
  export * from "./CreateFieldCommand";
6
8
  export * from "./CreateLayoutCommand";
7
9
  export * from "./CreateRelatedItemCommand";
8
10
  export * from "./CreateTemplateCommand";
11
+ export * from "./DeleteCaseRuleCommand";
9
12
  export * from "./DeleteDomainCommand";
10
13
  export * from "./DeleteFieldCommand";
11
14
  export * from "./DeleteLayoutCommand";
@@ -16,6 +19,7 @@ export * from "./GetCaseEventConfigurationCommand";
16
19
  export * from "./GetDomainCommand";
17
20
  export * from "./GetLayoutCommand";
18
21
  export * from "./GetTemplateCommand";
22
+ export * from "./ListCaseRulesCommand";
19
23
  export * from "./ListCasesForContactCommand";
20
24
  export * from "./ListDomainsCommand";
21
25
  export * from "./ListFieldOptionsCommand";
@@ -29,6 +33,7 @@ export * from "./SearchRelatedItemsCommand";
29
33
  export * from "./TagResourceCommand";
30
34
  export * from "./UntagResourceCommand";
31
35
  export * from "./UpdateCaseCommand";
36
+ export * from "./UpdateCaseRuleCommand";
32
37
  export * from "./UpdateFieldCommand";
33
38
  export * from "./UpdateLayoutCommand";
34
39
  export * from "./UpdateTemplateCommand";
@@ -1,5 +1,19 @@
1
1
  /**
2
- * <p>With Amazon Connect Cases, your agents can track and manage customer issues that require
2
+ * <ul>
3
+ * <li>
4
+ * <p>
5
+ * <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Operations_Amazon_Connect_Cases.html">Cases
6
+ * actions</a>
7
+ * </p>
8
+ * </li>
9
+ * <li>
10
+ * <p>
11
+ * <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Types_Amazon_Connect_Cases.html">Cases data
12
+ * types</a>
13
+ * </p>
14
+ * </li>
15
+ * </ul>
16
+ * <p>With Amazon Connect Cases, your agents can track and manage customer issues that require
3
17
  * multiple interactions, follow-up tasks, and teams in your contact center. A case represents a
4
18
  * customer issue. It records the issue, the steps and interactions taken to resolve the issue,
5
19
  * and the outcome. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/cases.html">Amazon Connect Cases</a> in the