|
257 | 257 | "documentation":"<p>Deletes permissions granted to a member (user or group).</p>",
|
258 | 258 | "idempotent":true
|
259 | 259 | },
|
| 260 | + "DeleteMobileDeviceAccessOverride":{ |
| 261 | + "name":"DeleteMobileDeviceAccessOverride", |
| 262 | + "http":{ |
| 263 | + "method":"POST", |
| 264 | + "requestUri":"/" |
| 265 | + }, |
| 266 | + "input":{"shape":"DeleteMobileDeviceAccessOverrideRequest"}, |
| 267 | + "output":{"shape":"DeleteMobileDeviceAccessOverrideResponse"}, |
| 268 | + "errors":[ |
| 269 | + {"shape":"InvalidParameterException"}, |
| 270 | + {"shape":"OrganizationNotFoundException"}, |
| 271 | + {"shape":"OrganizationStateException"}, |
| 272 | + {"shape":"EntityNotFoundException"} |
| 273 | + ], |
| 274 | + "documentation":"<p>Deletes the mobile device access override for the given WorkMail organization, user, and device.</p>" |
| 275 | + }, |
260 | 276 | "DeleteMobileDeviceAccessRule":{
|
261 | 277 | "name":"DeleteMobileDeviceAccessRule",
|
262 | 278 | "http":{
|
|
545 | 561 | ],
|
546 | 562 | "documentation":"<p>Simulates the effect of the mobile device access rules for the given attributes of a sample access event. Use this method to test the effects of the current set of mobile device access rules for the Amazon WorkMail organization for a particular user's attributes.</p>"
|
547 | 563 | },
|
| 564 | + "GetMobileDeviceAccessOverride":{ |
| 565 | + "name":"GetMobileDeviceAccessOverride", |
| 566 | + "http":{ |
| 567 | + "method":"POST", |
| 568 | + "requestUri":"/" |
| 569 | + }, |
| 570 | + "input":{"shape":"GetMobileDeviceAccessOverrideRequest"}, |
| 571 | + "output":{"shape":"GetMobileDeviceAccessOverrideResponse"}, |
| 572 | + "errors":[ |
| 573 | + {"shape":"InvalidParameterException"}, |
| 574 | + {"shape":"OrganizationNotFoundException"}, |
| 575 | + {"shape":"OrganizationStateException"}, |
| 576 | + {"shape":"EntityNotFoundException"}, |
| 577 | + {"shape":"ResourceNotFoundException"} |
| 578 | + ], |
| 579 | + "documentation":"<p>Gets the mobile device access override for the given WorkMail organization, user, and device.</p>" |
| 580 | + }, |
548 | 581 | "ListAccessControlRules":{
|
549 | 582 | "name":"ListAccessControlRules",
|
550 | 583 | "http":{
|
|
645 | 678 | "documentation":"<p>Lists the mailbox permissions associated with a user, group, or resource mailbox.</p>",
|
646 | 679 | "idempotent":true
|
647 | 680 | },
|
| 681 | + "ListMobileDeviceAccessOverrides":{ |
| 682 | + "name":"ListMobileDeviceAccessOverrides", |
| 683 | + "http":{ |
| 684 | + "method":"POST", |
| 685 | + "requestUri":"/" |
| 686 | + }, |
| 687 | + "input":{"shape":"ListMobileDeviceAccessOverridesRequest"}, |
| 688 | + "output":{"shape":"ListMobileDeviceAccessOverridesResponse"}, |
| 689 | + "errors":[ |
| 690 | + {"shape":"InvalidParameterException"}, |
| 691 | + {"shape":"OrganizationNotFoundException"}, |
| 692 | + {"shape":"OrganizationStateException"}, |
| 693 | + {"shape":"EntityNotFoundException"} |
| 694 | + ], |
| 695 | + "documentation":"<p>Lists all the mobile device access overrides for any given combination of WorkMail organization, user, or device.</p>" |
| 696 | + }, |
648 | 697 | "ListMobileDeviceAccessRules":{
|
649 | 698 | "name":"ListMobileDeviceAccessRules",
|
650 | 699 | "http":{
|
|
772 | 821 | "documentation":"<p>Sets permissions for a user, group, or resource. This replaces any pre-existing permissions.</p>",
|
773 | 822 | "idempotent":true
|
774 | 823 | },
|
| 824 | + "PutMobileDeviceAccessOverride":{ |
| 825 | + "name":"PutMobileDeviceAccessOverride", |
| 826 | + "http":{ |
| 827 | + "method":"POST", |
| 828 | + "requestUri":"/" |
| 829 | + }, |
| 830 | + "input":{"shape":"PutMobileDeviceAccessOverrideRequest"}, |
| 831 | + "output":{"shape":"PutMobileDeviceAccessOverrideResponse"}, |
| 832 | + "errors":[ |
| 833 | + {"shape":"InvalidParameterException"}, |
| 834 | + {"shape":"OrganizationNotFoundException"}, |
| 835 | + {"shape":"OrganizationStateException"}, |
| 836 | + {"shape":"EntityNotFoundException"}, |
| 837 | + {"shape":"EntityStateException"} |
| 838 | + ], |
| 839 | + "documentation":"<p>Creates or updates a mobile device access override for the given WorkMail organization, user, and device.</p>" |
| 840 | + }, |
775 | 841 | "PutRetentionPolicy":{
|
776 | 842 | "name":"PutRetentionPolicy",
|
777 | 843 | "http":{
|
|
1516 | 1582 | "members":{
|
1517 | 1583 | }
|
1518 | 1584 | },
|
| 1585 | + "DeleteMobileDeviceAccessOverrideRequest":{ |
| 1586 | + "type":"structure", |
| 1587 | + "required":[ |
| 1588 | + "OrganizationId", |
| 1589 | + "UserId", |
| 1590 | + "DeviceId" |
| 1591 | + ], |
| 1592 | + "members":{ |
| 1593 | + "OrganizationId":{ |
| 1594 | + "shape":"OrganizationId", |
| 1595 | + "documentation":"<p>The Amazon WorkMail organization for which the access override will be deleted.</p>" |
| 1596 | + }, |
| 1597 | + "UserId":{ |
| 1598 | + "shape":"EntityIdentifier", |
| 1599 | + "documentation": "<p>The WorkMail user for which you want to delete the override. Accepts the following types of user identities:</p> <ul> <li> <p>User ID: <code>12345678-1234-1234-1234-123456789012</code> or <code>S-1-1-12-1234567890-123456789-123456789-1234</code> </p> </li> <li> <p>Email address: <code>[email protected]</code> </p> </li> <li> <p>User name: <code>user</code> </p> </li> </ul>" |
| 1600 | + }, |
| 1601 | + "DeviceId":{ |
| 1602 | + "shape":"DeviceId", |
| 1603 | + "documentation":"<p>The mobile device for which you delete the override. <code>DeviceId</code> is case insensitive.</p>" |
| 1604 | + } |
| 1605 | + } |
| 1606 | + }, |
| 1607 | + "DeleteMobileDeviceAccessOverrideResponse":{ |
| 1608 | + "type":"structure", |
| 1609 | + "members":{ |
| 1610 | + } |
| 1611 | + }, |
1519 | 1612 | "DeleteMobileDeviceAccessRuleRequest":{
|
1520 | 1613 | "type":"structure",
|
1521 | 1614 | "required":[
|
|
1942 | 2035 | "min":0,
|
1943 | 2036 | "pattern":"[\\S\\s]*"
|
1944 | 2037 | },
|
| 2038 | + "DeviceId":{ |
| 2039 | + "type":"string", |
| 2040 | + "max":32, |
| 2041 | + "min":1, |
| 2042 | + "pattern":"[A-Za-z0-9]+" |
| 2043 | + }, |
1945 | 2044 | "DeviceModel":{
|
1946 | 2045 | "type":"string",
|
1947 | 2046 | "max":256,
|
|
2122 | 2221 | "documentation":"<p>The user, group, or resource that you're trying to register is already registered.</p>",
|
2123 | 2222 | "exception":true
|
2124 | 2223 | },
|
| 2224 | + "EntityIdentifier":{ |
| 2225 | + "type":"string", |
| 2226 | + "max":256, |
| 2227 | + "min":1, |
| 2228 | + "pattern":"[a-zA-Z0-9._%+@-]+" |
| 2229 | + }, |
2125 | 2230 | "EntityNotFoundException":{
|
2126 | 2231 | "type":"structure",
|
2127 | 2232 | "members":{
|
|
2322 | 2427 | }
|
2323 | 2428 | }
|
2324 | 2429 | },
|
| 2430 | + "GetMobileDeviceAccessOverrideRequest":{ |
| 2431 | + "type":"structure", |
| 2432 | + "required":[ |
| 2433 | + "OrganizationId", |
| 2434 | + "UserId", |
| 2435 | + "DeviceId" |
| 2436 | + ], |
| 2437 | + "members":{ |
| 2438 | + "OrganizationId":{ |
| 2439 | + "shape":"OrganizationId", |
| 2440 | + "documentation":"<p>The Amazon WorkMail organization to which you want to apply the override.</p>" |
| 2441 | + }, |
| 2442 | + "UserId":{ |
| 2443 | + "shape":"EntityIdentifier", |
| 2444 | + "documentation": "<p>Identifies the WorkMail user for the override. Accepts the following types of user identities: </p> <ul> <li> <p>User ID: <code>12345678-1234-1234-1234-123456789012</code> or <code>S-1-1-12-1234567890-123456789-123456789-1234</code> </p> </li> <li> <p>Email address: <code>[email protected]</code> </p> </li> <li> <p>User name: <code>user</code> </p> </li> </ul>" |
| 2445 | + }, |
| 2446 | + "DeviceId":{ |
| 2447 | + "shape":"DeviceId", |
| 2448 | + "documentation":"<p>The mobile device to which the override applies. <code>DeviceId</code> is case insensitive.</p>" |
| 2449 | + } |
| 2450 | + } |
| 2451 | + }, |
| 2452 | + "GetMobileDeviceAccessOverrideResponse":{ |
| 2453 | + "type":"structure", |
| 2454 | + "members":{ |
| 2455 | + "UserId":{ |
| 2456 | + "shape":"WorkMailIdentifier", |
| 2457 | + "documentation":"<p>The WorkMail user to which the access override applies.</p>" |
| 2458 | + }, |
| 2459 | + "DeviceId":{ |
| 2460 | + "shape":"DeviceId", |
| 2461 | + "documentation":"<p>The device to which the access override applies.</p>" |
| 2462 | + }, |
| 2463 | + "Effect":{ |
| 2464 | + "shape":"MobileDeviceAccessRuleEffect", |
| 2465 | + "documentation":"<p>The effect of the override, <code>ALLOW</code> or <code>DENY</code>.</p>" |
| 2466 | + }, |
| 2467 | + "Description":{ |
| 2468 | + "shape":"MobileDeviceAccessRuleDescription", |
| 2469 | + "documentation":"<p>A description of the override.</p>" |
| 2470 | + }, |
| 2471 | + "DateCreated":{ |
| 2472 | + "shape":"Timestamp", |
| 2473 | + "documentation":"<p>The date the override was first created.</p>" |
| 2474 | + }, |
| 2475 | + "DateModified":{ |
| 2476 | + "shape":"Timestamp", |
| 2477 | + "documentation":"<p>The date the description was last modified.</p>" |
| 2478 | + } |
| 2479 | + } |
| 2480 | + }, |
2325 | 2481 | "Group":{
|
2326 | 2482 | "type":"structure",
|
2327 | 2483 | "members":{
|
|
2629 | 2785 | }
|
2630 | 2786 | }
|
2631 | 2787 | },
|
| 2788 | + "ListMobileDeviceAccessOverridesRequest":{ |
| 2789 | + "type":"structure", |
| 2790 | + "required":["OrganizationId"], |
| 2791 | + "members":{ |
| 2792 | + "OrganizationId":{ |
| 2793 | + "shape":"OrganizationId", |
| 2794 | + "documentation":"<p>The Amazon WorkMail organization under which to list mobile device access overrides.</p>" |
| 2795 | + }, |
| 2796 | + "UserId":{ |
| 2797 | + "shape":"EntityIdentifier", |
| 2798 | + "documentation": "<p>The WorkMail user under which you list the mobile device access overrides. Accepts the following types of user identities:</p> <ul> <li> <p>User ID: <code>12345678-1234-1234-1234-123456789012</code> or <code>S-1-1-12-1234567890-123456789-123456789-1234</code> </p> </li> <li> <p>Email address: <code>[email protected]</code> </p> </li> <li> <p>User name: <code>user</code> </p> </li> </ul>" |
| 2799 | + }, |
| 2800 | + "DeviceId":{ |
| 2801 | + "shape":"DeviceId", |
| 2802 | + "documentation":"<p>The mobile device to which the access override applies.</p>" |
| 2803 | + }, |
| 2804 | + "NextToken":{ |
| 2805 | + "shape":"NextToken", |
| 2806 | + "documentation":"<p>The token to use to retrieve the next page of results. The first call does not require a token.</p>" |
| 2807 | + }, |
| 2808 | + "MaxResults":{ |
| 2809 | + "shape":"MaxResults", |
| 2810 | + "documentation":"<p>The maximum number of results to return in a single call.</p>" |
| 2811 | + } |
| 2812 | + } |
| 2813 | + }, |
| 2814 | + "ListMobileDeviceAccessOverridesResponse":{ |
| 2815 | + "type":"structure", |
| 2816 | + "members":{ |
| 2817 | + "Overrides":{ |
| 2818 | + "shape":"MobileDeviceAccessOverridesList", |
| 2819 | + "documentation":"<p>The list of mobile device access overrides that exist for the specified Amazon WorkMail organization and user.</p>" |
| 2820 | + }, |
| 2821 | + "NextToken":{ |
| 2822 | + "shape":"NextToken", |
| 2823 | + "documentation":"<p>The token to use to retrieve the next page of results. The value is “null” when there are no more results to return.</p>" |
| 2824 | + } |
| 2825 | + } |
| 2826 | + }, |
2632 | 2827 | "ListMobileDeviceAccessRulesRequest":{
|
2633 | 2828 | "type":"structure",
|
2634 | 2829 | "required":["OrganizationId"],
|
|
2948 | 3143 | "max":10,
|
2949 | 3144 | "min":0
|
2950 | 3145 | },
|
| 3146 | + "MobileDeviceAccessOverride":{ |
| 3147 | + "type":"structure", |
| 3148 | + "members":{ |
| 3149 | + "UserId":{ |
| 3150 | + "shape":"WorkMailIdentifier", |
| 3151 | + "documentation":"<p>The WorkMail user to which the access override applies.</p>" |
| 3152 | + }, |
| 3153 | + "DeviceId":{ |
| 3154 | + "shape":"DeviceId", |
| 3155 | + "documentation":"<p>The device to which the override applies.</p>" |
| 3156 | + }, |
| 3157 | + "Effect":{ |
| 3158 | + "shape":"MobileDeviceAccessRuleEffect", |
| 3159 | + "documentation":"<p>The effect of the override, <code>ALLOW</code> or <code>DENY</code>.</p>" |
| 3160 | + }, |
| 3161 | + "Description":{ |
| 3162 | + "shape":"MobileDeviceAccessRuleDescription", |
| 3163 | + "documentation":"<p>A description of the override.</p>" |
| 3164 | + }, |
| 3165 | + "DateCreated":{ |
| 3166 | + "shape":"Timestamp", |
| 3167 | + "documentation":"<p>The date the override was first created.</p>" |
| 3168 | + }, |
| 3169 | + "DateModified":{ |
| 3170 | + "shape":"Timestamp", |
| 3171 | + "documentation":"<p>The date the override was last modified.</p>" |
| 3172 | + } |
| 3173 | + }, |
| 3174 | + "documentation":"<p>The override object.</p>" |
| 3175 | + }, |
| 3176 | + "MobileDeviceAccessOverridesList":{ |
| 3177 | + "type":"list", |
| 3178 | + "member":{"shape":"MobileDeviceAccessOverride"} |
| 3179 | + }, |
2951 | 3180 | "MobileDeviceAccessRule":{
|
2952 | 3181 | "type":"structure",
|
2953 | 3182 | "members":{
|
|
3257 | 3486 | "members":{
|
3258 | 3487 | }
|
3259 | 3488 | },
|
| 3489 | + "PutMobileDeviceAccessOverrideRequest":{ |
| 3490 | + "type":"structure", |
| 3491 | + "required":[ |
| 3492 | + "OrganizationId", |
| 3493 | + "UserId", |
| 3494 | + "DeviceId", |
| 3495 | + "Effect" |
| 3496 | + ], |
| 3497 | + "members":{ |
| 3498 | + "OrganizationId":{ |
| 3499 | + "shape":"OrganizationId", |
| 3500 | + "documentation":"<p>Identifies the Amazon WorkMail organization for which you create the override.</p>" |
| 3501 | + }, |
| 3502 | + "UserId":{ |
| 3503 | + "shape":"EntityIdentifier", |
| 3504 | + "documentation": "<p>The WorkMail user for which you create the override. Accepts the following types of user identities:</p> <ul> <li> <p>User ID: <code>12345678-1234-1234-1234-123456789012</code> or <code>S-1-1-12-1234567890-123456789-123456789-1234</code> </p> </li> <li> <p>Email address: <code>[email protected]</code> </p> </li> <li> <p>User name: <code>user</code> </p> </li> </ul>" |
| 3505 | + }, |
| 3506 | + "DeviceId":{ |
| 3507 | + "shape":"DeviceId", |
| 3508 | + "documentation":"<p>The mobile device for which you create the override. <code>DeviceId</code> is case insensitive.</p>" |
| 3509 | + }, |
| 3510 | + "Effect":{ |
| 3511 | + "shape":"MobileDeviceAccessRuleEffect", |
| 3512 | + "documentation":"<p>The effect of the override, <code>ALLOW</code> or <code>DENY</code>.</p>" |
| 3513 | + }, |
| 3514 | + "Description":{ |
| 3515 | + "shape":"MobileDeviceAccessRuleDescription", |
| 3516 | + "documentation":"<p>A description of the override.</p>" |
| 3517 | + } |
| 3518 | + } |
| 3519 | + }, |
| 3520 | + "PutMobileDeviceAccessOverrideResponse":{ |
| 3521 | + "type":"structure", |
| 3522 | + "members":{ |
| 3523 | + } |
| 3524 | + }, |
3260 | 3525 | "PutRetentionPolicyRequest":{
|
3261 | 3526 | "type":"structure",
|
3262 | 3527 | "required":[
|
|
0 commit comments