|
223 | 223 | "documentation":"<p>Deletes the specified resource. </p>",
|
224 | 224 | "idempotent":true
|
225 | 225 | },
|
| 226 | + "DeleteRetentionPolicy":{ |
| 227 | + "name":"DeleteRetentionPolicy", |
| 228 | + "http":{ |
| 229 | + "method":"POST", |
| 230 | + "requestUri":"/" |
| 231 | + }, |
| 232 | + "input":{"shape":"DeleteRetentionPolicyRequest"}, |
| 233 | + "output":{"shape":"DeleteRetentionPolicyResponse"}, |
| 234 | + "errors":[ |
| 235 | + {"shape":"InvalidParameterException"}, |
| 236 | + {"shape":"OrganizationNotFoundException"}, |
| 237 | + {"shape":"OrganizationStateException"} |
| 238 | + ], |
| 239 | + "documentation":"<p>Deletes the specified retention policy from the specified organization.</p>", |
| 240 | + "idempotent":true |
| 241 | + }, |
226 | 242 | "DeleteUser":{
|
227 | 243 | "name":"DeleteUser",
|
228 | 244 | "http":{
|
|
382 | 398 | ],
|
383 | 399 | "documentation":"<p>Gets the effects of an organization's access control rules as they apply to a specified IPv4 address, access protocol action, or user ID. </p>"
|
384 | 400 | },
|
| 401 | + "GetDefaultRetentionPolicy":{ |
| 402 | + "name":"GetDefaultRetentionPolicy", |
| 403 | + "http":{ |
| 404 | + "method":"POST", |
| 405 | + "requestUri":"/" |
| 406 | + }, |
| 407 | + "input":{"shape":"GetDefaultRetentionPolicyRequest"}, |
| 408 | + "output":{"shape":"GetDefaultRetentionPolicyResponse"}, |
| 409 | + "errors":[ |
| 410 | + {"shape":"InvalidParameterException"}, |
| 411 | + {"shape":"OrganizationNotFoundException"}, |
| 412 | + {"shape":"OrganizationStateException"}, |
| 413 | + {"shape":"EntityNotFoundException"} |
| 414 | + ], |
| 415 | + "documentation":"<p>Gets the default retention policy details for the specified organization.</p>", |
| 416 | + "idempotent":true |
| 417 | + }, |
385 | 418 | "GetMailboxDetails":{
|
386 | 419 | "name":"GetMailboxDetails",
|
387 | 420 | "http":{
|
|
594 | 627 | "documentation":"<p>Sets permissions for a user, group, or resource. This replaces any pre-existing permissions.</p>",
|
595 | 628 | "idempotent":true
|
596 | 629 | },
|
| 630 | + "PutRetentionPolicy":{ |
| 631 | + "name":"PutRetentionPolicy", |
| 632 | + "http":{ |
| 633 | + "method":"POST", |
| 634 | + "requestUri":"/" |
| 635 | + }, |
| 636 | + "input":{"shape":"PutRetentionPolicyRequest"}, |
| 637 | + "output":{"shape":"PutRetentionPolicyResponse"}, |
| 638 | + "errors":[ |
| 639 | + {"shape":"InvalidParameterException"}, |
| 640 | + {"shape":"OrganizationNotFoundException"}, |
| 641 | + {"shape":"OrganizationStateException"}, |
| 642 | + {"shape":"LimitExceededException"} |
| 643 | + ], |
| 644 | + "documentation":"<p>Puts a retention policy to the specified organization.</p>", |
| 645 | + "idempotent":true |
| 646 | + }, |
597 | 647 | "RegisterToWorkMail":{
|
598 | 648 | "name":"RegisterToWorkMail",
|
599 | 649 | "http":{
|
|
1169 | 1219 | "members":{
|
1170 | 1220 | }
|
1171 | 1221 | },
|
| 1222 | + "DeleteRetentionPolicyRequest":{ |
| 1223 | + "type":"structure", |
| 1224 | + "required":[ |
| 1225 | + "OrganizationId", |
| 1226 | + "Id" |
| 1227 | + ], |
| 1228 | + "members":{ |
| 1229 | + "OrganizationId":{ |
| 1230 | + "shape":"OrganizationId", |
| 1231 | + "documentation":"<p>The organization ID.</p>" |
| 1232 | + }, |
| 1233 | + "Id":{ |
| 1234 | + "shape":"ShortString", |
| 1235 | + "documentation":"<p>The retention policy ID.</p>" |
| 1236 | + } |
| 1237 | + } |
| 1238 | + }, |
| 1239 | + "DeleteRetentionPolicyResponse":{ |
| 1240 | + "type":"structure", |
| 1241 | + "members":{ |
| 1242 | + } |
| 1243 | + }, |
1172 | 1244 | "DeleteUserRequest":{
|
1173 | 1245 | "type":"structure",
|
1174 | 1246 | "required":[
|
|
1534 | 1606 | "documentation":"<p>You are performing an operation on a user, group, or resource that isn't in the expected state, such as trying to delete an active user.</p>",
|
1535 | 1607 | "exception":true
|
1536 | 1608 | },
|
| 1609 | + "FolderConfiguration":{ |
| 1610 | + "type":"structure", |
| 1611 | + "required":[ |
| 1612 | + "Name", |
| 1613 | + "Action" |
| 1614 | + ], |
| 1615 | + "members":{ |
| 1616 | + "Name":{ |
| 1617 | + "shape":"FolderName", |
| 1618 | + "documentation":"<p>The folder name.</p>" |
| 1619 | + }, |
| 1620 | + "Action":{ |
| 1621 | + "shape":"RetentionAction", |
| 1622 | + "documentation":"<p>The action to take on the folder contents at the end of the folder configuration period.</p>" |
| 1623 | + }, |
| 1624 | + "Period":{ |
| 1625 | + "shape":"RetentionPeriod", |
| 1626 | + "documentation":"<p>The period of time at which the folder configuration action is applied.</p>" |
| 1627 | + } |
| 1628 | + }, |
| 1629 | + "documentation":"<p>The configuration applied to an organization's folders by its retention policy.</p>" |
| 1630 | + }, |
| 1631 | + "FolderConfigurations":{ |
| 1632 | + "type":"list", |
| 1633 | + "member":{"shape":"FolderConfiguration"} |
| 1634 | + }, |
| 1635 | + "FolderName":{ |
| 1636 | + "type":"string", |
| 1637 | + "enum":[ |
| 1638 | + "INBOX", |
| 1639 | + "DELETED_ITEMS", |
| 1640 | + "SENT_ITEMS", |
| 1641 | + "DRAFTS", |
| 1642 | + "JUNK_EMAIL" |
| 1643 | + ] |
| 1644 | + }, |
1537 | 1645 | "GetAccessControlEffectRequest":{
|
1538 | 1646 | "type":"structure",
|
1539 | 1647 | "required":[
|
|
1574 | 1682 | }
|
1575 | 1683 | }
|
1576 | 1684 | },
|
| 1685 | + "GetDefaultRetentionPolicyRequest":{ |
| 1686 | + "type":"structure", |
| 1687 | + "required":["OrganizationId"], |
| 1688 | + "members":{ |
| 1689 | + "OrganizationId":{ |
| 1690 | + "shape":"OrganizationId", |
| 1691 | + "documentation":"<p>The organization ID.</p>" |
| 1692 | + } |
| 1693 | + } |
| 1694 | + }, |
| 1695 | + "GetDefaultRetentionPolicyResponse":{ |
| 1696 | + "type":"structure", |
| 1697 | + "members":{ |
| 1698 | + "Id":{ |
| 1699 | + "shape":"ShortString", |
| 1700 | + "documentation":"<p>The retention policy ID.</p>" |
| 1701 | + }, |
| 1702 | + "Name":{ |
| 1703 | + "shape":"ShortString", |
| 1704 | + "documentation":"<p>The retention policy name.</p>" |
| 1705 | + }, |
| 1706 | + "Description":{ |
| 1707 | + "shape":"String", |
| 1708 | + "documentation":"<p>The retention policy description.</p>" |
| 1709 | + }, |
| 1710 | + "FolderConfigurations":{ |
| 1711 | + "shape":"FolderConfigurations", |
| 1712 | + "documentation":"<p>The retention policy folder configurations.</p>" |
| 1713 | + } |
| 1714 | + } |
| 1715 | + }, |
1577 | 1716 | "GetMailboxDetailsRequest":{
|
1578 | 1717 | "type":"structure",
|
1579 | 1718 | "required":[
|
|
2185 | 2324 | "type":"list",
|
2186 | 2325 | "member":{"shape":"Permission"}
|
2187 | 2326 | },
|
| 2327 | + "PolicyDescription":{ |
| 2328 | + "type":"string", |
| 2329 | + "max":256, |
| 2330 | + "pattern":"[\\w\\d\\s\\S\\-!?=,.;:'_]+" |
| 2331 | + }, |
2188 | 2332 | "PutAccessControlRuleRequest":{
|
2189 | 2333 | "type":"structure",
|
2190 | 2334 | "required":[
|
|
2273 | 2417 | "members":{
|
2274 | 2418 | }
|
2275 | 2419 | },
|
| 2420 | + "PutRetentionPolicyRequest":{ |
| 2421 | + "type":"structure", |
| 2422 | + "required":[ |
| 2423 | + "OrganizationId", |
| 2424 | + "Name", |
| 2425 | + "FolderConfigurations" |
| 2426 | + ], |
| 2427 | + "members":{ |
| 2428 | + "OrganizationId":{ |
| 2429 | + "shape":"OrganizationId", |
| 2430 | + "documentation":"<p>The organization ID.</p>" |
| 2431 | + }, |
| 2432 | + "Id":{ |
| 2433 | + "shape":"ShortString", |
| 2434 | + "documentation":"<p>The retention policy ID.</p>" |
| 2435 | + }, |
| 2436 | + "Name":{ |
| 2437 | + "shape":"ShortString", |
| 2438 | + "documentation":"<p>The retention policy name.</p>" |
| 2439 | + }, |
| 2440 | + "Description":{ |
| 2441 | + "shape":"PolicyDescription", |
| 2442 | + "documentation":"<p>The retention policy description.</p>" |
| 2443 | + }, |
| 2444 | + "FolderConfigurations":{ |
| 2445 | + "shape":"FolderConfigurations", |
| 2446 | + "documentation":"<p>The retention policy folder configurations.</p>" |
| 2447 | + } |
| 2448 | + } |
| 2449 | + }, |
| 2450 | + "PutRetentionPolicyResponse":{ |
| 2451 | + "type":"structure", |
| 2452 | + "members":{ |
| 2453 | + } |
| 2454 | + }, |
2276 | 2455 | "RegisterToWorkMailRequest":{
|
2277 | 2456 | "type":"structure",
|
2278 | 2457 | "required":[
|
|
2402 | 2581 | "type":"list",
|
2403 | 2582 | "member":{"shape":"Resource"}
|
2404 | 2583 | },
|
| 2584 | + "RetentionAction":{ |
| 2585 | + "type":"string", |
| 2586 | + "enum":[ |
| 2587 | + "NONE", |
| 2588 | + "DELETE", |
| 2589 | + "PERMANENTLY_DELETE" |
| 2590 | + ] |
| 2591 | + }, |
| 2592 | + "RetentionPeriod":{ |
| 2593 | + "type":"integer", |
| 2594 | + "box":true, |
| 2595 | + "max":730, |
| 2596 | + "min":1 |
| 2597 | + }, |
| 2598 | + "ShortString":{ |
| 2599 | + "type":"string", |
| 2600 | + "max":64, |
| 2601 | + "min":1, |
| 2602 | + "pattern":"[a-zA-Z0-9_-]+" |
| 2603 | + }, |
2405 | 2604 | "String":{
|
2406 | 2605 | "type":"string",
|
2407 | 2606 | "max":256
|
|
0 commit comments