aws-sdk-workmail 1.37.0 → 1.41.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-workmail/client.rb +213 -1
- data/lib/aws-sdk-workmail/client_api.rb +118 -0
- data/lib/aws-sdk-workmail/types.rb +291 -0
- data/lib/aws-sdk-workmail.rb +1 -1
- metadata +6 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 032ada5029a013996b7e83b931126e023a843403e7f758ea6a35421d96956640
|
4
|
+
data.tar.gz: cc5508a9cd5f2012aa072a76f7c4fd50c27ac49d4492500fbb1ea6feaef9c656
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1ef6a7e4e24da375c1b40517aaa082e59ae2dfa5f2b8d868849f59e1bca7164442fa592a5b77e421eb78382f778677aa5f8ad47588b266ac6f883a540499bdf
|
7
|
+
data.tar.gz: aa3ae4e7e4c18831d81bac97a4d87c6e822c2125e63824ebd2bf351b42d51789aee1b9091eadbed3786bb71a35381cc4b1de28ca9c2e666e8f77103158cc03a7
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.41.0 (2021-09-30)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for mobile device access overrides management in Amazon WorkMail.
|
8
|
+
|
9
|
+
1.40.0 (2021-09-01)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.39.0 (2021-07-30)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.38.0 (2021-07-28)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.37.0 (2021-03-31)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.41.0
|
@@ -867,6 +867,47 @@ module Aws::WorkMail
|
|
867
867
|
req.send_request(options)
|
868
868
|
end
|
869
869
|
|
870
|
+
# Deletes the mobile device access override for the given WorkMail
|
871
|
+
# organization, user, and device.
|
872
|
+
#
|
873
|
+
# @option params [required, String] :organization_id
|
874
|
+
# The Amazon WorkMail organization for which the access override will be
|
875
|
+
# deleted.
|
876
|
+
#
|
877
|
+
# @option params [required, String] :user_id
|
878
|
+
# The WorkMail user for which you want to delete the override. Accepts
|
879
|
+
# the following types of user identities:
|
880
|
+
#
|
881
|
+
# * User ID: `12345678-1234-1234-1234-123456789012` or
|
882
|
+
# `S-1-1-12-1234567890-123456789-123456789-1234`
|
883
|
+
#
|
884
|
+
# * Email address: `user@domain.tld`
|
885
|
+
#
|
886
|
+
# * User name: `user`
|
887
|
+
#
|
888
|
+
# @option params [required, String] :device_id
|
889
|
+
# The mobile device for which you delete the override. `DeviceId` is
|
890
|
+
# case insensitive.
|
891
|
+
#
|
892
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
893
|
+
#
|
894
|
+
# @example Request syntax with placeholder values
|
895
|
+
#
|
896
|
+
# resp = client.delete_mobile_device_access_override({
|
897
|
+
# organization_id: "OrganizationId", # required
|
898
|
+
# user_id: "EntityIdentifier", # required
|
899
|
+
# device_id: "DeviceId", # required
|
900
|
+
# })
|
901
|
+
#
|
902
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteMobileDeviceAccessOverride AWS API Documentation
|
903
|
+
#
|
904
|
+
# @overload delete_mobile_device_access_override(params = {})
|
905
|
+
# @param [Hash] params ({})
|
906
|
+
def delete_mobile_device_access_override(params = {}, options = {})
|
907
|
+
req = build_request(:delete_mobile_device_access_override, params)
|
908
|
+
req.send_request(options)
|
909
|
+
end
|
910
|
+
|
870
911
|
# Deletes a mobile device access rule for the specified Amazon WorkMail
|
871
912
|
# organization.
|
872
913
|
#
|
@@ -1528,6 +1569,63 @@ module Aws::WorkMail
|
|
1528
1569
|
req.send_request(options)
|
1529
1570
|
end
|
1530
1571
|
|
1572
|
+
# Gets the mobile device access override for the given WorkMail
|
1573
|
+
# organization, user, and device.
|
1574
|
+
#
|
1575
|
+
# @option params [required, String] :organization_id
|
1576
|
+
# The Amazon WorkMail organization to which you want to apply the
|
1577
|
+
# override.
|
1578
|
+
#
|
1579
|
+
# @option params [required, String] :user_id
|
1580
|
+
# Identifies the WorkMail user for the override. Accepts the following
|
1581
|
+
# types of user identities:
|
1582
|
+
#
|
1583
|
+
# * User ID: `12345678-1234-1234-1234-123456789012` or
|
1584
|
+
# `S-1-1-12-1234567890-123456789-123456789-1234`
|
1585
|
+
#
|
1586
|
+
# * Email address: `user@domain.tld`
|
1587
|
+
#
|
1588
|
+
# * User name: `user`
|
1589
|
+
#
|
1590
|
+
# @option params [required, String] :device_id
|
1591
|
+
# The mobile device to which the override applies. `DeviceId` is case
|
1592
|
+
# insensitive.
|
1593
|
+
#
|
1594
|
+
# @return [Types::GetMobileDeviceAccessOverrideResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1595
|
+
#
|
1596
|
+
# * {Types::GetMobileDeviceAccessOverrideResponse#user_id #user_id} => String
|
1597
|
+
# * {Types::GetMobileDeviceAccessOverrideResponse#device_id #device_id} => String
|
1598
|
+
# * {Types::GetMobileDeviceAccessOverrideResponse#effect #effect} => String
|
1599
|
+
# * {Types::GetMobileDeviceAccessOverrideResponse#description #description} => String
|
1600
|
+
# * {Types::GetMobileDeviceAccessOverrideResponse#date_created #date_created} => Time
|
1601
|
+
# * {Types::GetMobileDeviceAccessOverrideResponse#date_modified #date_modified} => Time
|
1602
|
+
#
|
1603
|
+
# @example Request syntax with placeholder values
|
1604
|
+
#
|
1605
|
+
# resp = client.get_mobile_device_access_override({
|
1606
|
+
# organization_id: "OrganizationId", # required
|
1607
|
+
# user_id: "EntityIdentifier", # required
|
1608
|
+
# device_id: "DeviceId", # required
|
1609
|
+
# })
|
1610
|
+
#
|
1611
|
+
# @example Response structure
|
1612
|
+
#
|
1613
|
+
# resp.user_id #=> String
|
1614
|
+
# resp.device_id #=> String
|
1615
|
+
# resp.effect #=> String, one of "ALLOW", "DENY"
|
1616
|
+
# resp.description #=> String
|
1617
|
+
# resp.date_created #=> Time
|
1618
|
+
# resp.date_modified #=> Time
|
1619
|
+
#
|
1620
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/GetMobileDeviceAccessOverride AWS API Documentation
|
1621
|
+
#
|
1622
|
+
# @overload get_mobile_device_access_override(params = {})
|
1623
|
+
# @param [Hash] params ({})
|
1624
|
+
def get_mobile_device_access_override(params = {}, options = {})
|
1625
|
+
req = build_request(:get_mobile_device_access_override, params)
|
1626
|
+
req.send_request(options)
|
1627
|
+
end
|
1628
|
+
|
1531
1629
|
# Lists the access control rules for the specified organization.
|
1532
1630
|
#
|
1533
1631
|
# @option params [required, String] :organization_id
|
@@ -1822,6 +1920,71 @@ module Aws::WorkMail
|
|
1822
1920
|
req.send_request(options)
|
1823
1921
|
end
|
1824
1922
|
|
1923
|
+
# Lists all the mobile device access overrides for any given combination
|
1924
|
+
# of WorkMail organization, user, or device.
|
1925
|
+
#
|
1926
|
+
# @option params [required, String] :organization_id
|
1927
|
+
# The Amazon WorkMail organization under which to list mobile device
|
1928
|
+
# access overrides.
|
1929
|
+
#
|
1930
|
+
# @option params [String] :user_id
|
1931
|
+
# The WorkMail user under which you list the mobile device access
|
1932
|
+
# overrides. Accepts the following types of user identities:
|
1933
|
+
#
|
1934
|
+
# * User ID: `12345678-1234-1234-1234-123456789012` or
|
1935
|
+
# `S-1-1-12-1234567890-123456789-123456789-1234`
|
1936
|
+
#
|
1937
|
+
# * Email address: `user@domain.tld`
|
1938
|
+
#
|
1939
|
+
# * User name: `user`
|
1940
|
+
#
|
1941
|
+
# @option params [String] :device_id
|
1942
|
+
# The mobile device to which the access override applies.
|
1943
|
+
#
|
1944
|
+
# @option params [String] :next_token
|
1945
|
+
# The token to use to retrieve the next page of results. The first call
|
1946
|
+
# does not require a token.
|
1947
|
+
#
|
1948
|
+
# @option params [Integer] :max_results
|
1949
|
+
# The maximum number of results to return in a single call.
|
1950
|
+
#
|
1951
|
+
# @return [Types::ListMobileDeviceAccessOverridesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1952
|
+
#
|
1953
|
+
# * {Types::ListMobileDeviceAccessOverridesResponse#overrides #overrides} => Array<Types::MobileDeviceAccessOverride>
|
1954
|
+
# * {Types::ListMobileDeviceAccessOverridesResponse#next_token #next_token} => String
|
1955
|
+
#
|
1956
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1957
|
+
#
|
1958
|
+
# @example Request syntax with placeholder values
|
1959
|
+
#
|
1960
|
+
# resp = client.list_mobile_device_access_overrides({
|
1961
|
+
# organization_id: "OrganizationId", # required
|
1962
|
+
# user_id: "EntityIdentifier",
|
1963
|
+
# device_id: "DeviceId",
|
1964
|
+
# next_token: "NextToken",
|
1965
|
+
# max_results: 1,
|
1966
|
+
# })
|
1967
|
+
#
|
1968
|
+
# @example Response structure
|
1969
|
+
#
|
1970
|
+
# resp.overrides #=> Array
|
1971
|
+
# resp.overrides[0].user_id #=> String
|
1972
|
+
# resp.overrides[0].device_id #=> String
|
1973
|
+
# resp.overrides[0].effect #=> String, one of "ALLOW", "DENY"
|
1974
|
+
# resp.overrides[0].description #=> String
|
1975
|
+
# resp.overrides[0].date_created #=> Time
|
1976
|
+
# resp.overrides[0].date_modified #=> Time
|
1977
|
+
# resp.next_token #=> String
|
1978
|
+
#
|
1979
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListMobileDeviceAccessOverrides AWS API Documentation
|
1980
|
+
#
|
1981
|
+
# @overload list_mobile_device_access_overrides(params = {})
|
1982
|
+
# @param [Hash] params ({})
|
1983
|
+
def list_mobile_device_access_overrides(params = {}, options = {})
|
1984
|
+
req = build_request(:list_mobile_device_access_overrides, params)
|
1985
|
+
req.send_request(options)
|
1986
|
+
end
|
1987
|
+
|
1825
1988
|
# Lists the mobile device access rules for the specified Amazon WorkMail
|
1826
1989
|
# organization.
|
1827
1990
|
#
|
@@ -2200,6 +2363,55 @@ module Aws::WorkMail
|
|
2200
2363
|
req.send_request(options)
|
2201
2364
|
end
|
2202
2365
|
|
2366
|
+
# Creates or updates a mobile device access override for the given
|
2367
|
+
# WorkMail organization, user, and device.
|
2368
|
+
#
|
2369
|
+
# @option params [required, String] :organization_id
|
2370
|
+
# Identifies the Amazon WorkMail organization for which you create the
|
2371
|
+
# override.
|
2372
|
+
#
|
2373
|
+
# @option params [required, String] :user_id
|
2374
|
+
# The WorkMail user for which you create the override. Accepts the
|
2375
|
+
# following types of user identities:
|
2376
|
+
#
|
2377
|
+
# * User ID: `12345678-1234-1234-1234-123456789012` or
|
2378
|
+
# `S-1-1-12-1234567890-123456789-123456789-1234`
|
2379
|
+
#
|
2380
|
+
# * Email address: `user@domain.tld`
|
2381
|
+
#
|
2382
|
+
# * User name: `user`
|
2383
|
+
#
|
2384
|
+
# @option params [required, String] :device_id
|
2385
|
+
# The mobile device for which you create the override. `DeviceId` is
|
2386
|
+
# case insensitive.
|
2387
|
+
#
|
2388
|
+
# @option params [required, String] :effect
|
2389
|
+
# The effect of the override, `ALLOW` or `DENY`.
|
2390
|
+
#
|
2391
|
+
# @option params [String] :description
|
2392
|
+
# A description of the override.
|
2393
|
+
#
|
2394
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2395
|
+
#
|
2396
|
+
# @example Request syntax with placeholder values
|
2397
|
+
#
|
2398
|
+
# resp = client.put_mobile_device_access_override({
|
2399
|
+
# organization_id: "OrganizationId", # required
|
2400
|
+
# user_id: "EntityIdentifier", # required
|
2401
|
+
# device_id: "DeviceId", # required
|
2402
|
+
# effect: "ALLOW", # required, accepts ALLOW, DENY
|
2403
|
+
# description: "MobileDeviceAccessRuleDescription",
|
2404
|
+
# })
|
2405
|
+
#
|
2406
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutMobileDeviceAccessOverride AWS API Documentation
|
2407
|
+
#
|
2408
|
+
# @overload put_mobile_device_access_override(params = {})
|
2409
|
+
# @param [Hash] params ({})
|
2410
|
+
def put_mobile_device_access_override(params = {}, options = {})
|
2411
|
+
req = build_request(:put_mobile_device_access_override, params)
|
2412
|
+
req.send_request(options)
|
2413
|
+
end
|
2414
|
+
|
2203
2415
|
# Puts a retention policy to the specified organization.
|
2204
2416
|
#
|
2205
2417
|
# @option params [required, String] :organization_id
|
@@ -2644,7 +2856,7 @@ module Aws::WorkMail
|
|
2644
2856
|
params: params,
|
2645
2857
|
config: config)
|
2646
2858
|
context[:gem_name] = 'aws-sdk-workmail'
|
2647
|
-
context[:gem_version] = '1.
|
2859
|
+
context[:gem_version] = '1.41.0'
|
2648
2860
|
Seahorse::Client::Request.new(handlers, context)
|
2649
2861
|
end
|
2650
2862
|
|
@@ -52,6 +52,8 @@ module Aws::WorkMail
|
|
52
52
|
DeleteGroupResponse = Shapes::StructureShape.new(name: 'DeleteGroupResponse')
|
53
53
|
DeleteMailboxPermissionsRequest = Shapes::StructureShape.new(name: 'DeleteMailboxPermissionsRequest')
|
54
54
|
DeleteMailboxPermissionsResponse = Shapes::StructureShape.new(name: 'DeleteMailboxPermissionsResponse')
|
55
|
+
DeleteMobileDeviceAccessOverrideRequest = Shapes::StructureShape.new(name: 'DeleteMobileDeviceAccessOverrideRequest')
|
56
|
+
DeleteMobileDeviceAccessOverrideResponse = Shapes::StructureShape.new(name: 'DeleteMobileDeviceAccessOverrideResponse')
|
55
57
|
DeleteMobileDeviceAccessRuleRequest = Shapes::StructureShape.new(name: 'DeleteMobileDeviceAccessRuleRequest')
|
56
58
|
DeleteMobileDeviceAccessRuleResponse = Shapes::StructureShape.new(name: 'DeleteMobileDeviceAccessRuleResponse')
|
57
59
|
DeleteOrganizationRequest = Shapes::StructureShape.new(name: 'DeleteOrganizationRequest')
|
@@ -75,6 +77,7 @@ module Aws::WorkMail
|
|
75
77
|
DescribeUserRequest = Shapes::StructureShape.new(name: 'DescribeUserRequest')
|
76
78
|
DescribeUserResponse = Shapes::StructureShape.new(name: 'DescribeUserResponse')
|
77
79
|
Description = Shapes::StringShape.new(name: 'Description')
|
80
|
+
DeviceId = Shapes::StringShape.new(name: 'DeviceId')
|
78
81
|
DeviceModel = Shapes::StringShape.new(name: 'DeviceModel')
|
79
82
|
DeviceModelList = Shapes::ListShape.new(name: 'DeviceModelList')
|
80
83
|
DeviceOperatingSystem = Shapes::StringShape.new(name: 'DeviceOperatingSystem')
|
@@ -97,6 +100,7 @@ module Aws::WorkMail
|
|
97
100
|
EmailAddress = Shapes::StringShape.new(name: 'EmailAddress')
|
98
101
|
EmailAddressInUseException = Shapes::StructureShape.new(name: 'EmailAddressInUseException')
|
99
102
|
EntityAlreadyRegisteredException = Shapes::StructureShape.new(name: 'EntityAlreadyRegisteredException')
|
103
|
+
EntityIdentifier = Shapes::StringShape.new(name: 'EntityIdentifier')
|
100
104
|
EntityNotFoundException = Shapes::StructureShape.new(name: 'EntityNotFoundException')
|
101
105
|
EntityState = Shapes::StringShape.new(name: 'EntityState')
|
102
106
|
EntityStateException = Shapes::StructureShape.new(name: 'EntityStateException')
|
@@ -111,6 +115,8 @@ module Aws::WorkMail
|
|
111
115
|
GetMailboxDetailsResponse = Shapes::StructureShape.new(name: 'GetMailboxDetailsResponse')
|
112
116
|
GetMobileDeviceAccessEffectRequest = Shapes::StructureShape.new(name: 'GetMobileDeviceAccessEffectRequest')
|
113
117
|
GetMobileDeviceAccessEffectResponse = Shapes::StructureShape.new(name: 'GetMobileDeviceAccessEffectResponse')
|
118
|
+
GetMobileDeviceAccessOverrideRequest = Shapes::StructureShape.new(name: 'GetMobileDeviceAccessOverrideRequest')
|
119
|
+
GetMobileDeviceAccessOverrideResponse = Shapes::StructureShape.new(name: 'GetMobileDeviceAccessOverrideResponse')
|
114
120
|
Group = Shapes::StructureShape.new(name: 'Group')
|
115
121
|
GroupName = Shapes::StringShape.new(name: 'GroupName')
|
116
122
|
Groups = Shapes::ListShape.new(name: 'Groups')
|
@@ -137,6 +143,8 @@ module Aws::WorkMail
|
|
137
143
|
ListMailboxExportJobsResponse = Shapes::StructureShape.new(name: 'ListMailboxExportJobsResponse')
|
138
144
|
ListMailboxPermissionsRequest = Shapes::StructureShape.new(name: 'ListMailboxPermissionsRequest')
|
139
145
|
ListMailboxPermissionsResponse = Shapes::StructureShape.new(name: 'ListMailboxPermissionsResponse')
|
146
|
+
ListMobileDeviceAccessOverridesRequest = Shapes::StructureShape.new(name: 'ListMobileDeviceAccessOverridesRequest')
|
147
|
+
ListMobileDeviceAccessOverridesResponse = Shapes::StructureShape.new(name: 'ListMobileDeviceAccessOverridesResponse')
|
140
148
|
ListMobileDeviceAccessRulesRequest = Shapes::StructureShape.new(name: 'ListMobileDeviceAccessRulesRequest')
|
141
149
|
ListMobileDeviceAccessRulesResponse = Shapes::StructureShape.new(name: 'ListMobileDeviceAccessRulesResponse')
|
142
150
|
ListOrganizationsRequest = Shapes::StructureShape.new(name: 'ListOrganizationsRequest')
|
@@ -163,6 +171,8 @@ module Aws::WorkMail
|
|
163
171
|
Members = Shapes::ListShape.new(name: 'Members')
|
164
172
|
MobileDeviceAccessMatchedRule = Shapes::StructureShape.new(name: 'MobileDeviceAccessMatchedRule')
|
165
173
|
MobileDeviceAccessMatchedRuleList = Shapes::ListShape.new(name: 'MobileDeviceAccessMatchedRuleList')
|
174
|
+
MobileDeviceAccessOverride = Shapes::StructureShape.new(name: 'MobileDeviceAccessOverride')
|
175
|
+
MobileDeviceAccessOverridesList = Shapes::ListShape.new(name: 'MobileDeviceAccessOverridesList')
|
166
176
|
MobileDeviceAccessRule = Shapes::StructureShape.new(name: 'MobileDeviceAccessRule')
|
167
177
|
MobileDeviceAccessRuleDescription = Shapes::StringShape.new(name: 'MobileDeviceAccessRuleDescription')
|
168
178
|
MobileDeviceAccessRuleEffect = Shapes::StringShape.new(name: 'MobileDeviceAccessRuleEffect')
|
@@ -188,6 +198,8 @@ module Aws::WorkMail
|
|
188
198
|
PutAccessControlRuleResponse = Shapes::StructureShape.new(name: 'PutAccessControlRuleResponse')
|
189
199
|
PutMailboxPermissionsRequest = Shapes::StructureShape.new(name: 'PutMailboxPermissionsRequest')
|
190
200
|
PutMailboxPermissionsResponse = Shapes::StructureShape.new(name: 'PutMailboxPermissionsResponse')
|
201
|
+
PutMobileDeviceAccessOverrideRequest = Shapes::StructureShape.new(name: 'PutMobileDeviceAccessOverrideRequest')
|
202
|
+
PutMobileDeviceAccessOverrideResponse = Shapes::StructureShape.new(name: 'PutMobileDeviceAccessOverrideResponse')
|
191
203
|
PutRetentionPolicyRequest = Shapes::StructureShape.new(name: 'PutRetentionPolicyRequest')
|
192
204
|
PutRetentionPolicyResponse = Shapes::StructureShape.new(name: 'PutRetentionPolicyResponse')
|
193
205
|
RegisterToWorkMailRequest = Shapes::StructureShape.new(name: 'RegisterToWorkMailRequest')
|
@@ -375,6 +387,13 @@ module Aws::WorkMail
|
|
375
387
|
|
376
388
|
DeleteMailboxPermissionsResponse.struct_class = Types::DeleteMailboxPermissionsResponse
|
377
389
|
|
390
|
+
DeleteMobileDeviceAccessOverrideRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
391
|
+
DeleteMobileDeviceAccessOverrideRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "UserId"))
|
392
|
+
DeleteMobileDeviceAccessOverrideRequest.add_member(:device_id, Shapes::ShapeRef.new(shape: DeviceId, required: true, location_name: "DeviceId"))
|
393
|
+
DeleteMobileDeviceAccessOverrideRequest.struct_class = Types::DeleteMobileDeviceAccessOverrideRequest
|
394
|
+
|
395
|
+
DeleteMobileDeviceAccessOverrideResponse.struct_class = Types::DeleteMobileDeviceAccessOverrideResponse
|
396
|
+
|
378
397
|
DeleteMobileDeviceAccessRuleRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
379
398
|
DeleteMobileDeviceAccessRuleRequest.add_member(:mobile_device_access_rule_id, Shapes::ShapeRef.new(shape: MobileDeviceAccessRuleId, required: true, location_name: "MobileDeviceAccessRuleId"))
|
380
399
|
DeleteMobileDeviceAccessRuleRequest.struct_class = Types::DeleteMobileDeviceAccessRuleRequest
|
@@ -580,6 +599,19 @@ module Aws::WorkMail
|
|
580
599
|
GetMobileDeviceAccessEffectResponse.add_member(:matched_rules, Shapes::ShapeRef.new(shape: MobileDeviceAccessMatchedRuleList, location_name: "MatchedRules"))
|
581
600
|
GetMobileDeviceAccessEffectResponse.struct_class = Types::GetMobileDeviceAccessEffectResponse
|
582
601
|
|
602
|
+
GetMobileDeviceAccessOverrideRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
603
|
+
GetMobileDeviceAccessOverrideRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "UserId"))
|
604
|
+
GetMobileDeviceAccessOverrideRequest.add_member(:device_id, Shapes::ShapeRef.new(shape: DeviceId, required: true, location_name: "DeviceId"))
|
605
|
+
GetMobileDeviceAccessOverrideRequest.struct_class = Types::GetMobileDeviceAccessOverrideRequest
|
606
|
+
|
607
|
+
GetMobileDeviceAccessOverrideResponse.add_member(:user_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, location_name: "UserId"))
|
608
|
+
GetMobileDeviceAccessOverrideResponse.add_member(:device_id, Shapes::ShapeRef.new(shape: DeviceId, location_name: "DeviceId"))
|
609
|
+
GetMobileDeviceAccessOverrideResponse.add_member(:effect, Shapes::ShapeRef.new(shape: MobileDeviceAccessRuleEffect, location_name: "Effect"))
|
610
|
+
GetMobileDeviceAccessOverrideResponse.add_member(:description, Shapes::ShapeRef.new(shape: MobileDeviceAccessRuleDescription, location_name: "Description"))
|
611
|
+
GetMobileDeviceAccessOverrideResponse.add_member(:date_created, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DateCreated"))
|
612
|
+
GetMobileDeviceAccessOverrideResponse.add_member(:date_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DateModified"))
|
613
|
+
GetMobileDeviceAccessOverrideResponse.struct_class = Types::GetMobileDeviceAccessOverrideResponse
|
614
|
+
|
583
615
|
Group.add_member(:id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, location_name: "Id"))
|
584
616
|
Group.add_member(:email, Shapes::ShapeRef.new(shape: EmailAddress, location_name: "Email"))
|
585
617
|
Group.add_member(:name, Shapes::ShapeRef.new(shape: GroupName, location_name: "Name"))
|
@@ -660,6 +692,17 @@ module Aws::WorkMail
|
|
660
692
|
ListMailboxPermissionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
661
693
|
ListMailboxPermissionsResponse.struct_class = Types::ListMailboxPermissionsResponse
|
662
694
|
|
695
|
+
ListMobileDeviceAccessOverridesRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
696
|
+
ListMobileDeviceAccessOverridesRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: EntityIdentifier, location_name: "UserId"))
|
697
|
+
ListMobileDeviceAccessOverridesRequest.add_member(:device_id, Shapes::ShapeRef.new(shape: DeviceId, location_name: "DeviceId"))
|
698
|
+
ListMobileDeviceAccessOverridesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
699
|
+
ListMobileDeviceAccessOverridesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
700
|
+
ListMobileDeviceAccessOverridesRequest.struct_class = Types::ListMobileDeviceAccessOverridesRequest
|
701
|
+
|
702
|
+
ListMobileDeviceAccessOverridesResponse.add_member(:overrides, Shapes::ShapeRef.new(shape: MobileDeviceAccessOverridesList, location_name: "Overrides"))
|
703
|
+
ListMobileDeviceAccessOverridesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
704
|
+
ListMobileDeviceAccessOverridesResponse.struct_class = Types::ListMobileDeviceAccessOverridesResponse
|
705
|
+
|
663
706
|
ListMobileDeviceAccessRulesRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
664
707
|
ListMobileDeviceAccessRulesRequest.struct_class = Types::ListMobileDeviceAccessRulesRequest
|
665
708
|
|
@@ -741,6 +784,16 @@ module Aws::WorkMail
|
|
741
784
|
|
742
785
|
MobileDeviceAccessMatchedRuleList.member = Shapes::ShapeRef.new(shape: MobileDeviceAccessMatchedRule)
|
743
786
|
|
787
|
+
MobileDeviceAccessOverride.add_member(:user_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, location_name: "UserId"))
|
788
|
+
MobileDeviceAccessOverride.add_member(:device_id, Shapes::ShapeRef.new(shape: DeviceId, location_name: "DeviceId"))
|
789
|
+
MobileDeviceAccessOverride.add_member(:effect, Shapes::ShapeRef.new(shape: MobileDeviceAccessRuleEffect, location_name: "Effect"))
|
790
|
+
MobileDeviceAccessOverride.add_member(:description, Shapes::ShapeRef.new(shape: MobileDeviceAccessRuleDescription, location_name: "Description"))
|
791
|
+
MobileDeviceAccessOverride.add_member(:date_created, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DateCreated"))
|
792
|
+
MobileDeviceAccessOverride.add_member(:date_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DateModified"))
|
793
|
+
MobileDeviceAccessOverride.struct_class = Types::MobileDeviceAccessOverride
|
794
|
+
|
795
|
+
MobileDeviceAccessOverridesList.member = Shapes::ShapeRef.new(shape: MobileDeviceAccessOverride)
|
796
|
+
|
744
797
|
MobileDeviceAccessRule.add_member(:mobile_device_access_rule_id, Shapes::ShapeRef.new(shape: MobileDeviceAccessRuleId, location_name: "MobileDeviceAccessRuleId"))
|
745
798
|
MobileDeviceAccessRule.add_member(:name, Shapes::ShapeRef.new(shape: MobileDeviceAccessRuleName, location_name: "Name"))
|
746
799
|
MobileDeviceAccessRule.add_member(:description, Shapes::ShapeRef.new(shape: MobileDeviceAccessRuleDescription, location_name: "Description"))
|
@@ -808,6 +861,15 @@ module Aws::WorkMail
|
|
808
861
|
|
809
862
|
PutMailboxPermissionsResponse.struct_class = Types::PutMailboxPermissionsResponse
|
810
863
|
|
864
|
+
PutMobileDeviceAccessOverrideRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
865
|
+
PutMobileDeviceAccessOverrideRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "UserId"))
|
866
|
+
PutMobileDeviceAccessOverrideRequest.add_member(:device_id, Shapes::ShapeRef.new(shape: DeviceId, required: true, location_name: "DeviceId"))
|
867
|
+
PutMobileDeviceAccessOverrideRequest.add_member(:effect, Shapes::ShapeRef.new(shape: MobileDeviceAccessRuleEffect, required: true, location_name: "Effect"))
|
868
|
+
PutMobileDeviceAccessOverrideRequest.add_member(:description, Shapes::ShapeRef.new(shape: MobileDeviceAccessRuleDescription, location_name: "Description"))
|
869
|
+
PutMobileDeviceAccessOverrideRequest.struct_class = Types::PutMobileDeviceAccessOverrideRequest
|
870
|
+
|
871
|
+
PutMobileDeviceAccessOverrideResponse.struct_class = Types::PutMobileDeviceAccessOverrideResponse
|
872
|
+
|
811
873
|
PutRetentionPolicyRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
812
874
|
PutRetentionPolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: ShortString, location_name: "Id"))
|
813
875
|
PutRetentionPolicyRequest.add_member(:name, Shapes::ShapeRef.new(shape: ShortString, required: true, location_name: "Name"))
|
@@ -1142,6 +1204,18 @@ module Aws::WorkMail
|
|
1142
1204
|
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1143
1205
|
end)
|
1144
1206
|
|
1207
|
+
api.add_operation(:delete_mobile_device_access_override, Seahorse::Model::Operation.new.tap do |o|
|
1208
|
+
o.name = "DeleteMobileDeviceAccessOverride"
|
1209
|
+
o.http_method = "POST"
|
1210
|
+
o.http_request_uri = "/"
|
1211
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteMobileDeviceAccessOverrideRequest)
|
1212
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteMobileDeviceAccessOverrideResponse)
|
1213
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1214
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
1215
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1216
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
1217
|
+
end)
|
1218
|
+
|
1145
1219
|
api.add_operation(:delete_mobile_device_access_rule, Seahorse::Model::Operation.new.tap do |o|
|
1146
1220
|
o.name = "DeleteMobileDeviceAccessRule"
|
1147
1221
|
o.http_method = "POST"
|
@@ -1348,6 +1422,19 @@ module Aws::WorkMail
|
|
1348
1422
|
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1349
1423
|
end)
|
1350
1424
|
|
1425
|
+
api.add_operation(:get_mobile_device_access_override, Seahorse::Model::Operation.new.tap do |o|
|
1426
|
+
o.name = "GetMobileDeviceAccessOverride"
|
1427
|
+
o.http_method = "POST"
|
1428
|
+
o.http_request_uri = "/"
|
1429
|
+
o.input = Shapes::ShapeRef.new(shape: GetMobileDeviceAccessOverrideRequest)
|
1430
|
+
o.output = Shapes::ShapeRef.new(shape: GetMobileDeviceAccessOverrideResponse)
|
1431
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1432
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
1433
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1434
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
1435
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1436
|
+
end)
|
1437
|
+
|
1351
1438
|
api.add_operation(:list_access_control_rules, Seahorse::Model::Operation.new.tap do |o|
|
1352
1439
|
o.name = "ListAccessControlRules"
|
1353
1440
|
o.http_method = "POST"
|
@@ -1449,6 +1536,24 @@ module Aws::WorkMail
|
|
1449
1536
|
)
|
1450
1537
|
end)
|
1451
1538
|
|
1539
|
+
api.add_operation(:list_mobile_device_access_overrides, Seahorse::Model::Operation.new.tap do |o|
|
1540
|
+
o.name = "ListMobileDeviceAccessOverrides"
|
1541
|
+
o.http_method = "POST"
|
1542
|
+
o.http_request_uri = "/"
|
1543
|
+
o.input = Shapes::ShapeRef.new(shape: ListMobileDeviceAccessOverridesRequest)
|
1544
|
+
o.output = Shapes::ShapeRef.new(shape: ListMobileDeviceAccessOverridesResponse)
|
1545
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1546
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
1547
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1548
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
1549
|
+
o[:pager] = Aws::Pager.new(
|
1550
|
+
limit_key: "max_results",
|
1551
|
+
tokens: {
|
1552
|
+
"next_token" => "next_token"
|
1553
|
+
}
|
1554
|
+
)
|
1555
|
+
end)
|
1556
|
+
|
1452
1557
|
api.add_operation(:list_mobile_device_access_rules, Seahorse::Model::Operation.new.tap do |o|
|
1453
1558
|
o.name = "ListMobileDeviceAccessRules"
|
1454
1559
|
o.http_method = "POST"
|
@@ -1563,6 +1668,19 @@ module Aws::WorkMail
|
|
1563
1668
|
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1564
1669
|
end)
|
1565
1670
|
|
1671
|
+
api.add_operation(:put_mobile_device_access_override, Seahorse::Model::Operation.new.tap do |o|
|
1672
|
+
o.name = "PutMobileDeviceAccessOverride"
|
1673
|
+
o.http_method = "POST"
|
1674
|
+
o.http_request_uri = "/"
|
1675
|
+
o.input = Shapes::ShapeRef.new(shape: PutMobileDeviceAccessOverrideRequest)
|
1676
|
+
o.output = Shapes::ShapeRef.new(shape: PutMobileDeviceAccessOverrideResponse)
|
1677
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1678
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
1679
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1680
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
1681
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityStateException)
|
1682
|
+
end)
|
1683
|
+
|
1566
1684
|
api.add_operation(:put_retention_policy, Seahorse::Model::Operation.new.tap do |o|
|
1567
1685
|
o.name = "PutRetentionPolicy"
|
1568
1686
|
o.http_method = "POST"
|
@@ -728,6 +728,51 @@ module Aws::WorkMail
|
|
728
728
|
#
|
729
729
|
class DeleteMailboxPermissionsResponse < Aws::EmptyStructure; end
|
730
730
|
|
731
|
+
# @note When making an API call, you may pass DeleteMobileDeviceAccessOverrideRequest
|
732
|
+
# data as a hash:
|
733
|
+
#
|
734
|
+
# {
|
735
|
+
# organization_id: "OrganizationId", # required
|
736
|
+
# user_id: "EntityIdentifier", # required
|
737
|
+
# device_id: "DeviceId", # required
|
738
|
+
# }
|
739
|
+
#
|
740
|
+
# @!attribute [rw] organization_id
|
741
|
+
# The Amazon WorkMail organization for which the access override will
|
742
|
+
# be deleted.
|
743
|
+
# @return [String]
|
744
|
+
#
|
745
|
+
# @!attribute [rw] user_id
|
746
|
+
# The WorkMail user for which you want to delete the override. Accepts
|
747
|
+
# the following types of user identities:
|
748
|
+
#
|
749
|
+
# * User ID: `12345678-1234-1234-1234-123456789012` or
|
750
|
+
# `S-1-1-12-1234567890-123456789-123456789-1234`
|
751
|
+
#
|
752
|
+
# * Email address: `user@domain.tld`
|
753
|
+
#
|
754
|
+
# * User name: `user`
|
755
|
+
# @return [String]
|
756
|
+
#
|
757
|
+
# @!attribute [rw] device_id
|
758
|
+
# The mobile device for which you delete the override. `DeviceId` is
|
759
|
+
# case insensitive.
|
760
|
+
# @return [String]
|
761
|
+
#
|
762
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteMobileDeviceAccessOverrideRequest AWS API Documentation
|
763
|
+
#
|
764
|
+
class DeleteMobileDeviceAccessOverrideRequest < Struct.new(
|
765
|
+
:organization_id,
|
766
|
+
:user_id,
|
767
|
+
:device_id)
|
768
|
+
SENSITIVE = []
|
769
|
+
include Aws::Structure
|
770
|
+
end
|
771
|
+
|
772
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteMobileDeviceAccessOverrideResponse AWS API Documentation
|
773
|
+
#
|
774
|
+
class DeleteMobileDeviceAccessOverrideResponse < Aws::EmptyStructure; end
|
775
|
+
|
731
776
|
# @note When making an API call, you may pass DeleteMobileDeviceAccessRuleRequest
|
732
777
|
# data as a hash:
|
733
778
|
#
|
@@ -1773,6 +1818,84 @@ module Aws::WorkMail
|
|
1773
1818
|
include Aws::Structure
|
1774
1819
|
end
|
1775
1820
|
|
1821
|
+
# @note When making an API call, you may pass GetMobileDeviceAccessOverrideRequest
|
1822
|
+
# data as a hash:
|
1823
|
+
#
|
1824
|
+
# {
|
1825
|
+
# organization_id: "OrganizationId", # required
|
1826
|
+
# user_id: "EntityIdentifier", # required
|
1827
|
+
# device_id: "DeviceId", # required
|
1828
|
+
# }
|
1829
|
+
#
|
1830
|
+
# @!attribute [rw] organization_id
|
1831
|
+
# The Amazon WorkMail organization to which you want to apply the
|
1832
|
+
# override.
|
1833
|
+
# @return [String]
|
1834
|
+
#
|
1835
|
+
# @!attribute [rw] user_id
|
1836
|
+
# Identifies the WorkMail user for the override. Accepts the following
|
1837
|
+
# types of user identities:
|
1838
|
+
#
|
1839
|
+
# * User ID: `12345678-1234-1234-1234-123456789012` or
|
1840
|
+
# `S-1-1-12-1234567890-123456789-123456789-1234`
|
1841
|
+
#
|
1842
|
+
# * Email address: `user@domain.tld`
|
1843
|
+
#
|
1844
|
+
# * User name: `user`
|
1845
|
+
# @return [String]
|
1846
|
+
#
|
1847
|
+
# @!attribute [rw] device_id
|
1848
|
+
# The mobile device to which the override applies. `DeviceId` is case
|
1849
|
+
# insensitive.
|
1850
|
+
# @return [String]
|
1851
|
+
#
|
1852
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/GetMobileDeviceAccessOverrideRequest AWS API Documentation
|
1853
|
+
#
|
1854
|
+
class GetMobileDeviceAccessOverrideRequest < Struct.new(
|
1855
|
+
:organization_id,
|
1856
|
+
:user_id,
|
1857
|
+
:device_id)
|
1858
|
+
SENSITIVE = []
|
1859
|
+
include Aws::Structure
|
1860
|
+
end
|
1861
|
+
|
1862
|
+
# @!attribute [rw] user_id
|
1863
|
+
# The WorkMail user to which the access override applies.
|
1864
|
+
# @return [String]
|
1865
|
+
#
|
1866
|
+
# @!attribute [rw] device_id
|
1867
|
+
# The device to which the access override applies.
|
1868
|
+
# @return [String]
|
1869
|
+
#
|
1870
|
+
# @!attribute [rw] effect
|
1871
|
+
# The effect of the override, `ALLOW` or `DENY`.
|
1872
|
+
# @return [String]
|
1873
|
+
#
|
1874
|
+
# @!attribute [rw] description
|
1875
|
+
# A description of the override.
|
1876
|
+
# @return [String]
|
1877
|
+
#
|
1878
|
+
# @!attribute [rw] date_created
|
1879
|
+
# The date the override was first created.
|
1880
|
+
# @return [Time]
|
1881
|
+
#
|
1882
|
+
# @!attribute [rw] date_modified
|
1883
|
+
# The date the description was last modified.
|
1884
|
+
# @return [Time]
|
1885
|
+
#
|
1886
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/GetMobileDeviceAccessOverrideResponse AWS API Documentation
|
1887
|
+
#
|
1888
|
+
class GetMobileDeviceAccessOverrideResponse < Struct.new(
|
1889
|
+
:user_id,
|
1890
|
+
:device_id,
|
1891
|
+
:effect,
|
1892
|
+
:description,
|
1893
|
+
:date_created,
|
1894
|
+
:date_modified)
|
1895
|
+
SENSITIVE = []
|
1896
|
+
include Aws::Structure
|
1897
|
+
end
|
1898
|
+
|
1776
1899
|
# The representation of an Amazon WorkMail group.
|
1777
1900
|
#
|
1778
1901
|
# @!attribute [rw] id
|
@@ -2170,6 +2293,78 @@ module Aws::WorkMail
|
|
2170
2293
|
include Aws::Structure
|
2171
2294
|
end
|
2172
2295
|
|
2296
|
+
# @note When making an API call, you may pass ListMobileDeviceAccessOverridesRequest
|
2297
|
+
# data as a hash:
|
2298
|
+
#
|
2299
|
+
# {
|
2300
|
+
# organization_id: "OrganizationId", # required
|
2301
|
+
# user_id: "EntityIdentifier",
|
2302
|
+
# device_id: "DeviceId",
|
2303
|
+
# next_token: "NextToken",
|
2304
|
+
# max_results: 1,
|
2305
|
+
# }
|
2306
|
+
#
|
2307
|
+
# @!attribute [rw] organization_id
|
2308
|
+
# The Amazon WorkMail organization under which to list mobile device
|
2309
|
+
# access overrides.
|
2310
|
+
# @return [String]
|
2311
|
+
#
|
2312
|
+
# @!attribute [rw] user_id
|
2313
|
+
# The WorkMail user under which you list the mobile device access
|
2314
|
+
# overrides. Accepts the following types of user identities:
|
2315
|
+
#
|
2316
|
+
# * User ID: `12345678-1234-1234-1234-123456789012` or
|
2317
|
+
# `S-1-1-12-1234567890-123456789-123456789-1234`
|
2318
|
+
#
|
2319
|
+
# * Email address: `user@domain.tld`
|
2320
|
+
#
|
2321
|
+
# * User name: `user`
|
2322
|
+
# @return [String]
|
2323
|
+
#
|
2324
|
+
# @!attribute [rw] device_id
|
2325
|
+
# The mobile device to which the access override applies.
|
2326
|
+
# @return [String]
|
2327
|
+
#
|
2328
|
+
# @!attribute [rw] next_token
|
2329
|
+
# The token to use to retrieve the next page of results. The first
|
2330
|
+
# call does not require a token.
|
2331
|
+
# @return [String]
|
2332
|
+
#
|
2333
|
+
# @!attribute [rw] max_results
|
2334
|
+
# The maximum number of results to return in a single call.
|
2335
|
+
# @return [Integer]
|
2336
|
+
#
|
2337
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListMobileDeviceAccessOverridesRequest AWS API Documentation
|
2338
|
+
#
|
2339
|
+
class ListMobileDeviceAccessOverridesRequest < Struct.new(
|
2340
|
+
:organization_id,
|
2341
|
+
:user_id,
|
2342
|
+
:device_id,
|
2343
|
+
:next_token,
|
2344
|
+
:max_results)
|
2345
|
+
SENSITIVE = []
|
2346
|
+
include Aws::Structure
|
2347
|
+
end
|
2348
|
+
|
2349
|
+
# @!attribute [rw] overrides
|
2350
|
+
# The list of mobile device access overrides that exist for the
|
2351
|
+
# specified Amazon WorkMail organization and user.
|
2352
|
+
# @return [Array<Types::MobileDeviceAccessOverride>]
|
2353
|
+
#
|
2354
|
+
# @!attribute [rw] next_token
|
2355
|
+
# The token to use to retrieve the next page of results. The value is
|
2356
|
+
# “null” when there are no more results to return.
|
2357
|
+
# @return [String]
|
2358
|
+
#
|
2359
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListMobileDeviceAccessOverridesResponse AWS API Documentation
|
2360
|
+
#
|
2361
|
+
class ListMobileDeviceAccessOverridesResponse < Struct.new(
|
2362
|
+
:overrides,
|
2363
|
+
:next_token)
|
2364
|
+
SENSITIVE = []
|
2365
|
+
include Aws::Structure
|
2366
|
+
end
|
2367
|
+
|
2173
2368
|
# @note When making an API call, you may pass ListMobileDeviceAccessRulesRequest
|
2174
2369
|
# data as a hash:
|
2175
2370
|
#
|
@@ -2583,6 +2778,45 @@ module Aws::WorkMail
|
|
2583
2778
|
include Aws::Structure
|
2584
2779
|
end
|
2585
2780
|
|
2781
|
+
# The override object.
|
2782
|
+
#
|
2783
|
+
# @!attribute [rw] user_id
|
2784
|
+
# The WorkMail user to which the access override applies.
|
2785
|
+
# @return [String]
|
2786
|
+
#
|
2787
|
+
# @!attribute [rw] device_id
|
2788
|
+
# The device to which the override applies.
|
2789
|
+
# @return [String]
|
2790
|
+
#
|
2791
|
+
# @!attribute [rw] effect
|
2792
|
+
# The effect of the override, `ALLOW` or `DENY`.
|
2793
|
+
# @return [String]
|
2794
|
+
#
|
2795
|
+
# @!attribute [rw] description
|
2796
|
+
# A description of the override.
|
2797
|
+
# @return [String]
|
2798
|
+
#
|
2799
|
+
# @!attribute [rw] date_created
|
2800
|
+
# The date the override was first created.
|
2801
|
+
# @return [Time]
|
2802
|
+
#
|
2803
|
+
# @!attribute [rw] date_modified
|
2804
|
+
# The date the override was last modified.
|
2805
|
+
# @return [Time]
|
2806
|
+
#
|
2807
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/MobileDeviceAccessOverride AWS API Documentation
|
2808
|
+
#
|
2809
|
+
class MobileDeviceAccessOverride < Struct.new(
|
2810
|
+
:user_id,
|
2811
|
+
:device_id,
|
2812
|
+
:effect,
|
2813
|
+
:description,
|
2814
|
+
:date_created,
|
2815
|
+
:date_modified)
|
2816
|
+
SENSITIVE = []
|
2817
|
+
include Aws::Structure
|
2818
|
+
end
|
2819
|
+
|
2586
2820
|
# A rule that controls access to mobile devices for an Amazon WorkMail
|
2587
2821
|
# group.
|
2588
2822
|
#
|
@@ -2909,6 +3143,63 @@ module Aws::WorkMail
|
|
2909
3143
|
#
|
2910
3144
|
class PutMailboxPermissionsResponse < Aws::EmptyStructure; end
|
2911
3145
|
|
3146
|
+
# @note When making an API call, you may pass PutMobileDeviceAccessOverrideRequest
|
3147
|
+
# data as a hash:
|
3148
|
+
#
|
3149
|
+
# {
|
3150
|
+
# organization_id: "OrganizationId", # required
|
3151
|
+
# user_id: "EntityIdentifier", # required
|
3152
|
+
# device_id: "DeviceId", # required
|
3153
|
+
# effect: "ALLOW", # required, accepts ALLOW, DENY
|
3154
|
+
# description: "MobileDeviceAccessRuleDescription",
|
3155
|
+
# }
|
3156
|
+
#
|
3157
|
+
# @!attribute [rw] organization_id
|
3158
|
+
# Identifies the Amazon WorkMail organization for which you create the
|
3159
|
+
# override.
|
3160
|
+
# @return [String]
|
3161
|
+
#
|
3162
|
+
# @!attribute [rw] user_id
|
3163
|
+
# The WorkMail user for which you create the override. Accepts the
|
3164
|
+
# following types of user identities:
|
3165
|
+
#
|
3166
|
+
# * User ID: `12345678-1234-1234-1234-123456789012` or
|
3167
|
+
# `S-1-1-12-1234567890-123456789-123456789-1234`
|
3168
|
+
#
|
3169
|
+
# * Email address: `user@domain.tld`
|
3170
|
+
#
|
3171
|
+
# * User name: `user`
|
3172
|
+
# @return [String]
|
3173
|
+
#
|
3174
|
+
# @!attribute [rw] device_id
|
3175
|
+
# The mobile device for which you create the override. `DeviceId` is
|
3176
|
+
# case insensitive.
|
3177
|
+
# @return [String]
|
3178
|
+
#
|
3179
|
+
# @!attribute [rw] effect
|
3180
|
+
# The effect of the override, `ALLOW` or `DENY`.
|
3181
|
+
# @return [String]
|
3182
|
+
#
|
3183
|
+
# @!attribute [rw] description
|
3184
|
+
# A description of the override.
|
3185
|
+
# @return [String]
|
3186
|
+
#
|
3187
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutMobileDeviceAccessOverrideRequest AWS API Documentation
|
3188
|
+
#
|
3189
|
+
class PutMobileDeviceAccessOverrideRequest < Struct.new(
|
3190
|
+
:organization_id,
|
3191
|
+
:user_id,
|
3192
|
+
:device_id,
|
3193
|
+
:effect,
|
3194
|
+
:description)
|
3195
|
+
SENSITIVE = []
|
3196
|
+
include Aws::Structure
|
3197
|
+
end
|
3198
|
+
|
3199
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutMobileDeviceAccessOverrideResponse AWS API Documentation
|
3200
|
+
#
|
3201
|
+
class PutMobileDeviceAccessOverrideResponse < Aws::EmptyStructure; end
|
3202
|
+
|
2912
3203
|
# @note When making an API call, you may pass PutRetentionPolicyRequest
|
2913
3204
|
# data as a hash:
|
2914
3205
|
#
|
data/lib/aws-sdk-workmail.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-workmail
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.41.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.120.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.120.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -76,15 +76,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
76
76
|
requirements:
|
77
77
|
- - ">="
|
78
78
|
- !ruby/object:Gem::Version
|
79
|
-
version: '
|
79
|
+
version: '2.3'
|
80
80
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
82
|
- - ">="
|
83
83
|
- !ruby/object:Gem::Version
|
84
84
|
version: '0'
|
85
85
|
requirements: []
|
86
|
-
|
87
|
-
rubygems_version: 2.7.6.2
|
86
|
+
rubygems_version: 3.1.6
|
88
87
|
signing_key:
|
89
88
|
specification_version: 4
|
90
89
|
summary: AWS SDK for Ruby - Amazon WorkMail
|