Skip to content

Commit 368e1ba

Browse files
author
AWS
committed
Amazon WorkMail Update: This release adds support for mobile device access overrides management in Amazon WorkMail.
1 parent f7978c8 commit 368e1ba

File tree

3 files changed

+276
-0
lines changed

3 files changed

+276
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon WorkMail",
4+
"contributor": "",
5+
"description": "This release adds support for mobile device access overrides management in Amazon WorkMail."
6+
}

services/workmail/src/main/resources/codegen-resources/paginators-1.json

+5
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@
2525
"output_token": "NextToken",
2626
"limit_key": "MaxResults"
2727
},
28+
"ListMobileDeviceAccessOverrides": {
29+
"input_token": "NextToken",
30+
"output_token": "NextToken",
31+
"limit_key": "MaxResults"
32+
},
2833
"ListOrganizations": {
2934
"input_token": "NextToken",
3035
"output_token": "NextToken",

services/workmail/src/main/resources/codegen-resources/service-2.json

+265
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,22 @@
257257
"documentation":"<p>Deletes permissions granted to a member (user or group).</p>",
258258
"idempotent":true
259259
},
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+
},
260276
"DeleteMobileDeviceAccessRule":{
261277
"name":"DeleteMobileDeviceAccessRule",
262278
"http":{
@@ -545,6 +561,23 @@
545561
],
546562
"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>"
547563
},
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+
},
548581
"ListAccessControlRules":{
549582
"name":"ListAccessControlRules",
550583
"http":{
@@ -645,6 +678,22 @@
645678
"documentation":"<p>Lists the mailbox permissions associated with a user, group, or resource mailbox.</p>",
646679
"idempotent":true
647680
},
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+
},
648697
"ListMobileDeviceAccessRules":{
649698
"name":"ListMobileDeviceAccessRules",
650699
"http":{
@@ -772,6 +821,23 @@
772821
"documentation":"<p>Sets permissions for a user, group, or resource. This replaces any pre-existing permissions.</p>",
773822
"idempotent":true
774823
},
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+
},
775841
"PutRetentionPolicy":{
776842
"name":"PutRetentionPolicy",
777843
"http":{
@@ -1516,6 +1582,33 @@
15161582
"members":{
15171583
}
15181584
},
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+
},
15191612
"DeleteMobileDeviceAccessRuleRequest":{
15201613
"type":"structure",
15211614
"required":[
@@ -1942,6 +2035,12 @@
19422035
"min":0,
19432036
"pattern":"[\\S\\s]*"
19442037
},
2038+
"DeviceId":{
2039+
"type":"string",
2040+
"max":32,
2041+
"min":1,
2042+
"pattern":"[A-Za-z0-9]+"
2043+
},
19452044
"DeviceModel":{
19462045
"type":"string",
19472046
"max":256,
@@ -2122,6 +2221,12 @@
21222221
"documentation":"<p>The user, group, or resource that you're trying to register is already registered.</p>",
21232222
"exception":true
21242223
},
2224+
"EntityIdentifier":{
2225+
"type":"string",
2226+
"max":256,
2227+
"min":1,
2228+
"pattern":"[a-zA-Z0-9._%+@-]+"
2229+
},
21252230
"EntityNotFoundException":{
21262231
"type":"structure",
21272232
"members":{
@@ -2322,6 +2427,57 @@
23222427
}
23232428
}
23242429
},
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+
},
23252481
"Group":{
23262482
"type":"structure",
23272483
"members":{
@@ -2629,6 +2785,45 @@
26292785
}
26302786
}
26312787
},
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+
},
26322827
"ListMobileDeviceAccessRulesRequest":{
26332828
"type":"structure",
26342829
"required":["OrganizationId"],
@@ -2948,6 +3143,40 @@
29483143
"max":10,
29493144
"min":0
29503145
},
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+
},
29513180
"MobileDeviceAccessRule":{
29523181
"type":"structure",
29533182
"members":{
@@ -3257,6 +3486,42 @@
32573486
"members":{
32583487
}
32593488
},
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+
},
32603525
"PutRetentionPolicyRequest":{
32613526
"type":"structure",
32623527
"required":[

0 commit comments

Comments
 (0)