|
193 | 193 | "documentation":"<p>Deletes a Cases domain.</p> <pre><code> <note> <p>After deleting your domain you must disassociate the deleted domain from your Amazon Connect instance with another API call before being able to use Cases again with this Amazon Connect instance. See <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_DeleteIntegrationAssociation.html">DeleteIntegrationAssociation</a>.</p> </note> </code></pre>",
|
194 | 194 | "idempotent":true
|
195 | 195 | },
|
| 196 | + "DeleteField":{ |
| 197 | + "name":"DeleteField", |
| 198 | + "http":{ |
| 199 | + "method":"DELETE", |
| 200 | + "requestUri":"/domains/{domainId}/fields/{fieldId}", |
| 201 | + "responseCode":200 |
| 202 | + }, |
| 203 | + "input":{"shape":"DeleteFieldRequest"}, |
| 204 | + "output":{"shape":"DeleteFieldResponse"}, |
| 205 | + "errors":[ |
| 206 | + {"shape":"InternalServerException"}, |
| 207 | + {"shape":"ResourceNotFoundException"}, |
| 208 | + {"shape":"ValidationException"}, |
| 209 | + {"shape":"ThrottlingException"}, |
| 210 | + {"shape":"AccessDeniedException"}, |
| 211 | + {"shape":"ConflictException"}, |
| 212 | + {"shape":"ServiceQuotaExceededException"} |
| 213 | + ], |
| 214 | + "documentation":"<p>Deletes a field from a cases template. You can delete up to 100 fields per domain.</p> <p>After a field is deleted:</p> <ul> <li> <p>You can still retrieve the field by calling <code>BatchGetField</code>.</p> </li> <li> <p>You cannot update a deleted field by calling <code>UpdateField</code>; it throws a <code>ValidationException</code>.</p> </li> <li> <p>Deleted fields are not included in the <code>ListFields</code> response.</p> </li> <li> <p>Calling <code>CreateCase</code> with a deleted field throws a <code>ValidationException</code> denoting which field IDs in the request have been deleted.</p> </li> <li> <p>Calling <code>GetCase</code> with a deleted field ID returns the deleted field's value if one exists.</p> </li> <li> <p>Calling <code>UpdateCase</code> with a deleted field ID throws a <code>ValidationException</code> if the case does not already contain a value for the deleted field. Otherwise it succeeds, allowing you to update or remove (using <code>emptyValue: {}</code>) the field's value from the case.</p> </li> <li> <p> <code>GetTemplate</code> does not return field IDs for deleted fields.</p> </li> <li> <p> <code>GetLayout</code> does not return field IDs for deleted fields.</p> </li> <li> <p>Calling <code>SearchCases</code> with the deleted field ID as a filter returns any cases that have a value for the deleted field that matches the filter criteria.</p> </li> <li> <p>Calling <code>SearchCases</code> with a <code>searchTerm</code> value that matches a deleted field's value on a case returns the case in the response.</p> </li> <li> <p>Calling <code>BatchPutFieldOptions</code> with a deleted field ID throw a <code>ValidationException</code>.</p> </li> <li> <p>Calling <code>GetCaseEventConfiguration</code> does not return field IDs for deleted fields.</p> </li> </ul>", |
| 215 | + "idempotent":true |
| 216 | + }, |
| 217 | + "DeleteLayout":{ |
| 218 | + "name":"DeleteLayout", |
| 219 | + "http":{ |
| 220 | + "method":"DELETE", |
| 221 | + "requestUri":"/domains/{domainId}/layouts/{layoutId}", |
| 222 | + "responseCode":200 |
| 223 | + }, |
| 224 | + "input":{"shape":"DeleteLayoutRequest"}, |
| 225 | + "output":{"shape":"DeleteLayoutResponse"}, |
| 226 | + "errors":[ |
| 227 | + {"shape":"InternalServerException"}, |
| 228 | + {"shape":"ResourceNotFoundException"}, |
| 229 | + {"shape":"ValidationException"}, |
| 230 | + {"shape":"ThrottlingException"}, |
| 231 | + {"shape":"AccessDeniedException"}, |
| 232 | + {"shape":"ConflictException"} |
| 233 | + ], |
| 234 | + "documentation":"<p>Deletes a layout from a cases template. You can delete up to 100 layouts per domain.</p> <pre><code> <p>After a layout is deleted:</p> <ul> <li> <p>You can still retrieve the layout by calling <code>GetLayout</code>.</p> </li> <li> <p>You cannot update a deleted layout by calling <code>UpdateLayout</code>; it throws a <code>ValidationException</code>.</p> </li> <li> <p>Deleted layouts are not included in the <code>ListLayouts</code> response.</p> </li> </ul> </code></pre>", |
| 235 | + "idempotent":true |
| 236 | + }, |
| 237 | + "DeleteTemplate":{ |
| 238 | + "name":"DeleteTemplate", |
| 239 | + "http":{ |
| 240 | + "method":"DELETE", |
| 241 | + "requestUri":"/domains/{domainId}/templates/{templateId}", |
| 242 | + "responseCode":200 |
| 243 | + }, |
| 244 | + "input":{"shape":"DeleteTemplateRequest"}, |
| 245 | + "output":{"shape":"DeleteTemplateResponse"}, |
| 246 | + "errors":[ |
| 247 | + {"shape":"InternalServerException"}, |
| 248 | + {"shape":"ResourceNotFoundException"}, |
| 249 | + {"shape":"ValidationException"}, |
| 250 | + {"shape":"ThrottlingException"}, |
| 251 | + {"shape":"AccessDeniedException"}, |
| 252 | + {"shape":"ConflictException"} |
| 253 | + ], |
| 254 | + "documentation":"<p>Deletes a cases template. You can delete up to 100 templates per domain.</p> <pre><code> <p>After a cases template is deleted:</p> <ul> <li> <p>You can still retrieve the template by calling <code>GetTemplate</code>.</p> </li> <li> <p>You cannot update the template. </p> </li> <li> <p>You cannot create a case by using the deleted template.</p> </li> <li> <p>Deleted templates are not included in the <code>ListTemplates</code> response.</p> </li> </ul> </code></pre>", |
| 255 | + "idempotent":true |
| 256 | + }, |
196 | 257 | "GetCase":{
|
197 | 258 | "name":"GetCase",
|
198 | 259 | "http":{
|
|
712 | 773 | "documentation":"<p>Can be either null, or have a String value type formatted as an ARN. Only one value can be provided.</p>"
|
713 | 774 | }
|
714 | 775 | },
|
715 |
| - "documentation":"<p>Object to store union of Field values.</p> <important> <p>This data type is a UNION, so only one of the following members can be specified when used or returned.</p> </important>", |
| 776 | + "documentation":"<p>Object to store union of Field values.</p>", |
716 | 777 | "union":true
|
717 | 778 | },
|
718 | 779 | "AuditEventFieldValueUnionStringValueString":{
|
|
1356 | 1417 | "members":{
|
1357 | 1418 | }
|
1358 | 1419 | },
|
| 1420 | + "DeleteFieldRequest":{ |
| 1421 | + "type":"structure", |
| 1422 | + "required":[ |
| 1423 | + "domainId", |
| 1424 | + "fieldId" |
| 1425 | + ], |
| 1426 | + "members":{ |
| 1427 | + "domainId":{ |
| 1428 | + "shape":"DomainId", |
| 1429 | + "documentation":"<p>The unique identifier of the Cases domain. </p>", |
| 1430 | + "location":"uri", |
| 1431 | + "locationName":"domainId" |
| 1432 | + }, |
| 1433 | + "fieldId":{ |
| 1434 | + "shape":"FieldId", |
| 1435 | + "documentation":"<p>The unique identifier of a field.</p>", |
| 1436 | + "location":"uri", |
| 1437 | + "locationName":"fieldId" |
| 1438 | + } |
| 1439 | + } |
| 1440 | + }, |
| 1441 | + "DeleteFieldResponse":{ |
| 1442 | + "type":"structure", |
| 1443 | + "members":{ |
| 1444 | + } |
| 1445 | + }, |
| 1446 | + "DeleteLayoutRequest":{ |
| 1447 | + "type":"structure", |
| 1448 | + "required":[ |
| 1449 | + "domainId", |
| 1450 | + "layoutId" |
| 1451 | + ], |
| 1452 | + "members":{ |
| 1453 | + "domainId":{ |
| 1454 | + "shape":"DomainId", |
| 1455 | + "documentation":"<p>The unique identifier of the Cases domain. </p>", |
| 1456 | + "location":"uri", |
| 1457 | + "locationName":"domainId" |
| 1458 | + }, |
| 1459 | + "layoutId":{ |
| 1460 | + "shape":"LayoutId", |
| 1461 | + "documentation":"<p>The unique identifier of the layout.</p>", |
| 1462 | + "location":"uri", |
| 1463 | + "locationName":"layoutId" |
| 1464 | + } |
| 1465 | + } |
| 1466 | + }, |
| 1467 | + "DeleteLayoutResponse":{ |
| 1468 | + "type":"structure", |
| 1469 | + "members":{ |
| 1470 | + } |
| 1471 | + }, |
| 1472 | + "DeleteTemplateRequest":{ |
| 1473 | + "type":"structure", |
| 1474 | + "required":[ |
| 1475 | + "domainId", |
| 1476 | + "templateId" |
| 1477 | + ], |
| 1478 | + "members":{ |
| 1479 | + "domainId":{ |
| 1480 | + "shape":"DomainId", |
| 1481 | + "documentation":"<p>The unique identifier of the Cases domain. </p>", |
| 1482 | + "location":"uri", |
| 1483 | + "locationName":"domainId" |
| 1484 | + }, |
| 1485 | + "templateId":{ |
| 1486 | + "shape":"TemplateId", |
| 1487 | + "documentation":"<p>A unique identifier of a template.</p>", |
| 1488 | + "location":"uri", |
| 1489 | + "locationName":"templateId" |
| 1490 | + } |
| 1491 | + } |
| 1492 | + }, |
| 1493 | + "DeleteTemplateResponse":{ |
| 1494 | + "type":"structure", |
| 1495 | + "members":{ |
| 1496 | + } |
| 1497 | + }, |
| 1498 | + "Deleted":{"type":"boolean"}, |
1359 | 1499 | "DomainArn":{
|
1360 | 1500 | "type":"string",
|
1361 | 1501 | "max":500,
|
|
1934 | 2074 | "type"
|
1935 | 2075 | ],
|
1936 | 2076 | "members":{
|
| 2077 | + "createdTime":{ |
| 2078 | + "shape":"CreatedTime", |
| 2079 | + "documentation":"<p>The timestamp for when the resource was created.</p>" |
| 2080 | + }, |
| 2081 | + "deleted":{ |
| 2082 | + "shape":"Deleted", |
| 2083 | + "documentation":"<p>Indicates whether the resource has been deleted.</p>" |
| 2084 | + }, |
1937 | 2085 | "description":{
|
1938 | 2086 | "shape":"FieldDescription",
|
1939 | 2087 | "documentation":"<p>Description of the field.</p>"
|
|
1946 | 2094 | "shape":"FieldId",
|
1947 | 2095 | "documentation":"<p>Unique identifier of the field.</p>"
|
1948 | 2096 | },
|
| 2097 | + "lastModifiedTime":{ |
| 2098 | + "shape":"LastModifiedTime", |
| 2099 | + "documentation":"<p>The timestamp for when the resource was created or last modified.</p>" |
| 2100 | + }, |
1949 | 2101 | "name":{
|
1950 | 2102 | "shape":"FieldName",
|
1951 | 2103 | "documentation":"<p>Name of the field.</p>"
|
|
1999 | 2151 | "shape":"LayoutContent",
|
2000 | 2152 | "documentation":"<p>Information about which fields will be present in the layout, the order of the fields, and read-only attribute of the field. </p>"
|
2001 | 2153 | },
|
| 2154 | + "createdTime":{ |
| 2155 | + "shape":"CreatedTime", |
| 2156 | + "documentation":"<p>The timestamp for when the resource was created.</p>" |
| 2157 | + }, |
| 2158 | + "deleted":{ |
| 2159 | + "shape":"Deleted", |
| 2160 | + "documentation":"<p>Indicates whether the resource has been deleted.</p>" |
| 2161 | + }, |
| 2162 | + "lastModifiedTime":{ |
| 2163 | + "shape":"LastModifiedTime", |
| 2164 | + "documentation":"<p>The timestamp for when the resource was created or last modified.</p>" |
| 2165 | + }, |
2002 | 2166 | "layoutArn":{
|
2003 | 2167 | "shape":"LayoutArn",
|
2004 | 2168 | "documentation":"<p>The Amazon Resource Name (ARN) of the newly created layout.</p>"
|
|
2047 | 2211 | "templateId"
|
2048 | 2212 | ],
|
2049 | 2213 | "members":{
|
| 2214 | + "createdTime":{ |
| 2215 | + "shape":"CreatedTime", |
| 2216 | + "documentation":"<p>The timestamp for when the resource was created.</p>" |
| 2217 | + }, |
| 2218 | + "deleted":{ |
| 2219 | + "shape":"Deleted", |
| 2220 | + "documentation":"<p>Indicates whether the resource has been deleted.</p>" |
| 2221 | + }, |
2050 | 2222 | "description":{
|
2051 | 2223 | "shape":"TemplateDescription",
|
2052 | 2224 | "documentation":"<p>A brief description of the template.</p>"
|
2053 | 2225 | },
|
| 2226 | + "lastModifiedTime":{ |
| 2227 | + "shape":"LastModifiedTime", |
| 2228 | + "documentation":"<p>The timestamp for when the resource was created or last modified.</p>" |
| 2229 | + }, |
2054 | 2230 | "layoutConfiguration":{
|
2055 | 2231 | "shape":"LayoutConfiguration",
|
2056 | 2232 | "documentation":"<p>Configuration of layouts associated to the template.</p>"
|
|
2108 | 2284 | "fault":true,
|
2109 | 2285 | "retryable":{"throttling":false}
|
2110 | 2286 | },
|
| 2287 | + "LastModifiedTime":{ |
| 2288 | + "type":"timestamp", |
| 2289 | + "timestampFormat":"iso8601" |
| 2290 | + }, |
2111 | 2291 | "LayoutArn":{
|
2112 | 2292 | "type":"string",
|
2113 | 2293 | "max":500,
|
|
0 commit comments