aws-sdk-workmail 1.38.0 → 1.42.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1d197e9384a46f9e54a42840b94d9162e05a94ce0791e9df6d38931c0dfc5739
4
- data.tar.gz: b7f0013f3514327e679f6bb801a6e8caa20344377a15380fe8309d861ea2de73
3
+ metadata.gz: ee764cc930fa873e5d5451146198734652a19a5743441a9f9887ef21e1b85e95
4
+ data.tar.gz: caffb0ae719006055ea8399b61c4ee0181b21621a3fbc4e75879bcae3145ac56
5
5
  SHA512:
6
- metadata.gz: 6be0469c125a183dfec298c2515a8ad20417941b09e0757890b31265f1aa2bef435da688ca1aef67f42244532b2a07cc12168c566c980999f1ab5224f3c5ddff
7
- data.tar.gz: 54a68934dcece6222eb9807638a4d0ebd642f48470ddbab62d610f40bf48bc4caa064298c17375c2e05d31a86ce82688b205b280f7b6c25a647bd33dd5bce171
6
+ metadata.gz: bbb5a17633a971aa0357b015a9583b3f78d6fbe602bca8c879ee843f24430063c1d89b93601fdee09b29d9341a090d8842f05c704737a429f702ff7c7d9db4c0
7
+ data.tar.gz: 35dd562b4aee5e9f235cf1b84dfdc2b8be0065af12f5e455cb5d3095dc08b1bd6e10cb4cd0737a54198598ee0ab19d2b69b747fe5a92d9ad73a4463895ee5dca
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.42.0 (2021-10-05)
5
+ ------------------
6
+
7
+ * Feature - This release allows customers to change their inbound DMARC settings in Amazon WorkMail.
8
+
9
+ 1.41.0 (2021-09-30)
10
+ ------------------
11
+
12
+ * Feature - This release adds support for mobile device access overrides management in Amazon WorkMail.
13
+
14
+ 1.40.0 (2021-09-01)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.39.0 (2021-07-30)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.38.0 (2021-07-28)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.38.0
1
+ 1.42.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
  #
@@ -1101,6 +1142,34 @@ module Aws::WorkMail
1101
1142
  req.send_request(options)
1102
1143
  end
1103
1144
 
1145
+ # Lists the settings in a DMARC policy for a specified organization.
1146
+ #
1147
+ # @option params [required, String] :organization_id
1148
+ # Lists the ID of the given organization.
1149
+ #
1150
+ # @return [Types::DescribeInboundDmarcSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1151
+ #
1152
+ # * {Types::DescribeInboundDmarcSettingsResponse#enforced #enforced} => Boolean
1153
+ #
1154
+ # @example Request syntax with placeholder values
1155
+ #
1156
+ # resp = client.describe_inbound_dmarc_settings({
1157
+ # organization_id: "OrganizationId", # required
1158
+ # })
1159
+ #
1160
+ # @example Response structure
1161
+ #
1162
+ # resp.enforced #=> Boolean
1163
+ #
1164
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeInboundDmarcSettings AWS API Documentation
1165
+ #
1166
+ # @overload describe_inbound_dmarc_settings(params = {})
1167
+ # @param [Hash] params ({})
1168
+ def describe_inbound_dmarc_settings(params = {}, options = {})
1169
+ req = build_request(:describe_inbound_dmarc_settings, params)
1170
+ req.send_request(options)
1171
+ end
1172
+
1104
1173
  # Describes the current status of a mailbox export job.
1105
1174
  #
1106
1175
  # @option params [required, String] :job_id
@@ -1528,6 +1597,63 @@ module Aws::WorkMail
1528
1597
  req.send_request(options)
1529
1598
  end
1530
1599
 
1600
+ # Gets the mobile device access override for the given WorkMail
1601
+ # organization, user, and device.
1602
+ #
1603
+ # @option params [required, String] :organization_id
1604
+ # The Amazon WorkMail organization to which you want to apply the
1605
+ # override.
1606
+ #
1607
+ # @option params [required, String] :user_id
1608
+ # Identifies the WorkMail user for the override. Accepts the following
1609
+ # types of user identities:
1610
+ #
1611
+ # * User ID: `12345678-1234-1234-1234-123456789012` or
1612
+ # `S-1-1-12-1234567890-123456789-123456789-1234`
1613
+ #
1614
+ # * Email address: `user@domain.tld`
1615
+ #
1616
+ # * User name: `user`
1617
+ #
1618
+ # @option params [required, String] :device_id
1619
+ # The mobile device to which the override applies. `DeviceId` is case
1620
+ # insensitive.
1621
+ #
1622
+ # @return [Types::GetMobileDeviceAccessOverrideResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1623
+ #
1624
+ # * {Types::GetMobileDeviceAccessOverrideResponse#user_id #user_id} => String
1625
+ # * {Types::GetMobileDeviceAccessOverrideResponse#device_id #device_id} => String
1626
+ # * {Types::GetMobileDeviceAccessOverrideResponse#effect #effect} => String
1627
+ # * {Types::GetMobileDeviceAccessOverrideResponse#description #description} => String
1628
+ # * {Types::GetMobileDeviceAccessOverrideResponse#date_created #date_created} => Time
1629
+ # * {Types::GetMobileDeviceAccessOverrideResponse#date_modified #date_modified} => Time
1630
+ #
1631
+ # @example Request syntax with placeholder values
1632
+ #
1633
+ # resp = client.get_mobile_device_access_override({
1634
+ # organization_id: "OrganizationId", # required
1635
+ # user_id: "EntityIdentifier", # required
1636
+ # device_id: "DeviceId", # required
1637
+ # })
1638
+ #
1639
+ # @example Response structure
1640
+ #
1641
+ # resp.user_id #=> String
1642
+ # resp.device_id #=> String
1643
+ # resp.effect #=> String, one of "ALLOW", "DENY"
1644
+ # resp.description #=> String
1645
+ # resp.date_created #=> Time
1646
+ # resp.date_modified #=> Time
1647
+ #
1648
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/GetMobileDeviceAccessOverride AWS API Documentation
1649
+ #
1650
+ # @overload get_mobile_device_access_override(params = {})
1651
+ # @param [Hash] params ({})
1652
+ def get_mobile_device_access_override(params = {}, options = {})
1653
+ req = build_request(:get_mobile_device_access_override, params)
1654
+ req.send_request(options)
1655
+ end
1656
+
1531
1657
  # Lists the access control rules for the specified organization.
1532
1658
  #
1533
1659
  # @option params [required, String] :organization_id
@@ -1822,6 +1948,71 @@ module Aws::WorkMail
1822
1948
  req.send_request(options)
1823
1949
  end
1824
1950
 
1951
+ # Lists all the mobile device access overrides for any given combination
1952
+ # of WorkMail organization, user, or device.
1953
+ #
1954
+ # @option params [required, String] :organization_id
1955
+ # The Amazon WorkMail organization under which to list mobile device
1956
+ # access overrides.
1957
+ #
1958
+ # @option params [String] :user_id
1959
+ # The WorkMail user under which you list the mobile device access
1960
+ # overrides. Accepts the following types of user identities:
1961
+ #
1962
+ # * User ID: `12345678-1234-1234-1234-123456789012` or
1963
+ # `S-1-1-12-1234567890-123456789-123456789-1234`
1964
+ #
1965
+ # * Email address: `user@domain.tld`
1966
+ #
1967
+ # * User name: `user`
1968
+ #
1969
+ # @option params [String] :device_id
1970
+ # The mobile device to which the access override applies.
1971
+ #
1972
+ # @option params [String] :next_token
1973
+ # The token to use to retrieve the next page of results. The first call
1974
+ # does not require a token.
1975
+ #
1976
+ # @option params [Integer] :max_results
1977
+ # The maximum number of results to return in a single call.
1978
+ #
1979
+ # @return [Types::ListMobileDeviceAccessOverridesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1980
+ #
1981
+ # * {Types::ListMobileDeviceAccessOverridesResponse#overrides #overrides} => Array<Types::MobileDeviceAccessOverride>
1982
+ # * {Types::ListMobileDeviceAccessOverridesResponse#next_token #next_token} => String
1983
+ #
1984
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1985
+ #
1986
+ # @example Request syntax with placeholder values
1987
+ #
1988
+ # resp = client.list_mobile_device_access_overrides({
1989
+ # organization_id: "OrganizationId", # required
1990
+ # user_id: "EntityIdentifier",
1991
+ # device_id: "DeviceId",
1992
+ # next_token: "NextToken",
1993
+ # max_results: 1,
1994
+ # })
1995
+ #
1996
+ # @example Response structure
1997
+ #
1998
+ # resp.overrides #=> Array
1999
+ # resp.overrides[0].user_id #=> String
2000
+ # resp.overrides[0].device_id #=> String
2001
+ # resp.overrides[0].effect #=> String, one of "ALLOW", "DENY"
2002
+ # resp.overrides[0].description #=> String
2003
+ # resp.overrides[0].date_created #=> Time
2004
+ # resp.overrides[0].date_modified #=> Time
2005
+ # resp.next_token #=> String
2006
+ #
2007
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListMobileDeviceAccessOverrides AWS API Documentation
2008
+ #
2009
+ # @overload list_mobile_device_access_overrides(params = {})
2010
+ # @param [Hash] params ({})
2011
+ def list_mobile_device_access_overrides(params = {}, options = {})
2012
+ req = build_request(:list_mobile_device_access_overrides, params)
2013
+ req.send_request(options)
2014
+ end
2015
+
1825
2016
  # Lists the mobile device access rules for the specified Amazon WorkMail
1826
2017
  # organization.
1827
2018
  #
@@ -2156,6 +2347,32 @@ module Aws::WorkMail
2156
2347
  req.send_request(options)
2157
2348
  end
2158
2349
 
2350
+ # Enables or disables a DMARC policy for a given organization.
2351
+ #
2352
+ # @option params [required, String] :organization_id
2353
+ # The ID of the organization that you are applying the DMARC policy to.
2354
+ #
2355
+ # @option params [required, Boolean] :enforced
2356
+ # Enforces or suspends a policy after it's applied.
2357
+ #
2358
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2359
+ #
2360
+ # @example Request syntax with placeholder values
2361
+ #
2362
+ # resp = client.put_inbound_dmarc_settings({
2363
+ # organization_id: "OrganizationId", # required
2364
+ # enforced: false, # required
2365
+ # })
2366
+ #
2367
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutInboundDmarcSettings AWS API Documentation
2368
+ #
2369
+ # @overload put_inbound_dmarc_settings(params = {})
2370
+ # @param [Hash] params ({})
2371
+ def put_inbound_dmarc_settings(params = {}, options = {})
2372
+ req = build_request(:put_inbound_dmarc_settings, params)
2373
+ req.send_request(options)
2374
+ end
2375
+
2159
2376
  # Sets permissions for a user, group, or resource. This replaces any
2160
2377
  # pre-existing permissions.
2161
2378
  #
@@ -2200,6 +2417,55 @@ module Aws::WorkMail
2200
2417
  req.send_request(options)
2201
2418
  end
2202
2419
 
2420
+ # Creates or updates a mobile device access override for the given
2421
+ # WorkMail organization, user, and device.
2422
+ #
2423
+ # @option params [required, String] :organization_id
2424
+ # Identifies the Amazon WorkMail organization for which you create the
2425
+ # override.
2426
+ #
2427
+ # @option params [required, String] :user_id
2428
+ # The WorkMail user for which you create the override. Accepts the
2429
+ # following types of user identities:
2430
+ #
2431
+ # * User ID: `12345678-1234-1234-1234-123456789012` or
2432
+ # `S-1-1-12-1234567890-123456789-123456789-1234`
2433
+ #
2434
+ # * Email address: `user@domain.tld`
2435
+ #
2436
+ # * User name: `user`
2437
+ #
2438
+ # @option params [required, String] :device_id
2439
+ # The mobile device for which you create the override. `DeviceId` is
2440
+ # case insensitive.
2441
+ #
2442
+ # @option params [required, String] :effect
2443
+ # The effect of the override, `ALLOW` or `DENY`.
2444
+ #
2445
+ # @option params [String] :description
2446
+ # A description of the override.
2447
+ #
2448
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2449
+ #
2450
+ # @example Request syntax with placeholder values
2451
+ #
2452
+ # resp = client.put_mobile_device_access_override({
2453
+ # organization_id: "OrganizationId", # required
2454
+ # user_id: "EntityIdentifier", # required
2455
+ # device_id: "DeviceId", # required
2456
+ # effect: "ALLOW", # required, accepts ALLOW, DENY
2457
+ # description: "MobileDeviceAccessRuleDescription",
2458
+ # })
2459
+ #
2460
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutMobileDeviceAccessOverride AWS API Documentation
2461
+ #
2462
+ # @overload put_mobile_device_access_override(params = {})
2463
+ # @param [Hash] params ({})
2464
+ def put_mobile_device_access_override(params = {}, options = {})
2465
+ req = build_request(:put_mobile_device_access_override, params)
2466
+ req.send_request(options)
2467
+ end
2468
+
2203
2469
  # Puts a retention policy to the specified organization.
2204
2470
  #
2205
2471
  # @option params [required, String] :organization_id
@@ -2644,7 +2910,7 @@ module Aws::WorkMail
2644
2910
  params: params,
2645
2911
  config: config)
2646
2912
  context[:gem_name] = 'aws-sdk-workmail'
2647
- context[:gem_version] = '1.38.0'
2913
+ context[:gem_version] = '1.42.0'
2648
2914
  Seahorse::Client::Request.new(handlers, context)
2649
2915
  end
2650
2916
 
@@ -29,6 +29,7 @@ module Aws::WorkMail
29
29
  AssociateMemberToGroupResponse = Shapes::StructureShape.new(name: 'AssociateMemberToGroupResponse')
30
30
  BookingOptions = Shapes::StructureShape.new(name: 'BookingOptions')
31
31
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
32
+ BooleanObject = Shapes::BooleanShape.new(name: 'BooleanObject')
32
33
  CancelMailboxExportJobRequest = Shapes::StructureShape.new(name: 'CancelMailboxExportJobRequest')
33
34
  CancelMailboxExportJobResponse = Shapes::StructureShape.new(name: 'CancelMailboxExportJobResponse')
34
35
  CreateAliasRequest = Shapes::StructureShape.new(name: 'CreateAliasRequest')
@@ -52,6 +53,8 @@ module Aws::WorkMail
52
53
  DeleteGroupResponse = Shapes::StructureShape.new(name: 'DeleteGroupResponse')
53
54
  DeleteMailboxPermissionsRequest = Shapes::StructureShape.new(name: 'DeleteMailboxPermissionsRequest')
54
55
  DeleteMailboxPermissionsResponse = Shapes::StructureShape.new(name: 'DeleteMailboxPermissionsResponse')
56
+ DeleteMobileDeviceAccessOverrideRequest = Shapes::StructureShape.new(name: 'DeleteMobileDeviceAccessOverrideRequest')
57
+ DeleteMobileDeviceAccessOverrideResponse = Shapes::StructureShape.new(name: 'DeleteMobileDeviceAccessOverrideResponse')
55
58
  DeleteMobileDeviceAccessRuleRequest = Shapes::StructureShape.new(name: 'DeleteMobileDeviceAccessRuleRequest')
56
59
  DeleteMobileDeviceAccessRuleResponse = Shapes::StructureShape.new(name: 'DeleteMobileDeviceAccessRuleResponse')
57
60
  DeleteOrganizationRequest = Shapes::StructureShape.new(name: 'DeleteOrganizationRequest')
@@ -66,6 +69,8 @@ module Aws::WorkMail
66
69
  DeregisterFromWorkMailResponse = Shapes::StructureShape.new(name: 'DeregisterFromWorkMailResponse')
67
70
  DescribeGroupRequest = Shapes::StructureShape.new(name: 'DescribeGroupRequest')
68
71
  DescribeGroupResponse = Shapes::StructureShape.new(name: 'DescribeGroupResponse')
72
+ DescribeInboundDmarcSettingsRequest = Shapes::StructureShape.new(name: 'DescribeInboundDmarcSettingsRequest')
73
+ DescribeInboundDmarcSettingsResponse = Shapes::StructureShape.new(name: 'DescribeInboundDmarcSettingsResponse')
69
74
  DescribeMailboxExportJobRequest = Shapes::StructureShape.new(name: 'DescribeMailboxExportJobRequest')
70
75
  DescribeMailboxExportJobResponse = Shapes::StructureShape.new(name: 'DescribeMailboxExportJobResponse')
71
76
  DescribeOrganizationRequest = Shapes::StructureShape.new(name: 'DescribeOrganizationRequest')
@@ -75,6 +80,7 @@ module Aws::WorkMail
75
80
  DescribeUserRequest = Shapes::StructureShape.new(name: 'DescribeUserRequest')
76
81
  DescribeUserResponse = Shapes::StructureShape.new(name: 'DescribeUserResponse')
77
82
  Description = Shapes::StringShape.new(name: 'Description')
83
+ DeviceId = Shapes::StringShape.new(name: 'DeviceId')
78
84
  DeviceModel = Shapes::StringShape.new(name: 'DeviceModel')
79
85
  DeviceModelList = Shapes::ListShape.new(name: 'DeviceModelList')
80
86
  DeviceOperatingSystem = Shapes::StringShape.new(name: 'DeviceOperatingSystem')
@@ -97,6 +103,7 @@ module Aws::WorkMail
97
103
  EmailAddress = Shapes::StringShape.new(name: 'EmailAddress')
98
104
  EmailAddressInUseException = Shapes::StructureShape.new(name: 'EmailAddressInUseException')
99
105
  EntityAlreadyRegisteredException = Shapes::StructureShape.new(name: 'EntityAlreadyRegisteredException')
106
+ EntityIdentifier = Shapes::StringShape.new(name: 'EntityIdentifier')
100
107
  EntityNotFoundException = Shapes::StructureShape.new(name: 'EntityNotFoundException')
101
108
  EntityState = Shapes::StringShape.new(name: 'EntityState')
102
109
  EntityStateException = Shapes::StructureShape.new(name: 'EntityStateException')
@@ -111,6 +118,8 @@ module Aws::WorkMail
111
118
  GetMailboxDetailsResponse = Shapes::StructureShape.new(name: 'GetMailboxDetailsResponse')
112
119
  GetMobileDeviceAccessEffectRequest = Shapes::StructureShape.new(name: 'GetMobileDeviceAccessEffectRequest')
113
120
  GetMobileDeviceAccessEffectResponse = Shapes::StructureShape.new(name: 'GetMobileDeviceAccessEffectResponse')
121
+ GetMobileDeviceAccessOverrideRequest = Shapes::StructureShape.new(name: 'GetMobileDeviceAccessOverrideRequest')
122
+ GetMobileDeviceAccessOverrideResponse = Shapes::StructureShape.new(name: 'GetMobileDeviceAccessOverrideResponse')
114
123
  Group = Shapes::StructureShape.new(name: 'Group')
115
124
  GroupName = Shapes::StringShape.new(name: 'GroupName')
116
125
  Groups = Shapes::ListShape.new(name: 'Groups')
@@ -137,6 +146,8 @@ module Aws::WorkMail
137
146
  ListMailboxExportJobsResponse = Shapes::StructureShape.new(name: 'ListMailboxExportJobsResponse')
138
147
  ListMailboxPermissionsRequest = Shapes::StructureShape.new(name: 'ListMailboxPermissionsRequest')
139
148
  ListMailboxPermissionsResponse = Shapes::StructureShape.new(name: 'ListMailboxPermissionsResponse')
149
+ ListMobileDeviceAccessOverridesRequest = Shapes::StructureShape.new(name: 'ListMobileDeviceAccessOverridesRequest')
150
+ ListMobileDeviceAccessOverridesResponse = Shapes::StructureShape.new(name: 'ListMobileDeviceAccessOverridesResponse')
140
151
  ListMobileDeviceAccessRulesRequest = Shapes::StructureShape.new(name: 'ListMobileDeviceAccessRulesRequest')
141
152
  ListMobileDeviceAccessRulesResponse = Shapes::StructureShape.new(name: 'ListMobileDeviceAccessRulesResponse')
142
153
  ListOrganizationsRequest = Shapes::StructureShape.new(name: 'ListOrganizationsRequest')
@@ -163,6 +174,8 @@ module Aws::WorkMail
163
174
  Members = Shapes::ListShape.new(name: 'Members')
164
175
  MobileDeviceAccessMatchedRule = Shapes::StructureShape.new(name: 'MobileDeviceAccessMatchedRule')
165
176
  MobileDeviceAccessMatchedRuleList = Shapes::ListShape.new(name: 'MobileDeviceAccessMatchedRuleList')
177
+ MobileDeviceAccessOverride = Shapes::StructureShape.new(name: 'MobileDeviceAccessOverride')
178
+ MobileDeviceAccessOverridesList = Shapes::ListShape.new(name: 'MobileDeviceAccessOverridesList')
166
179
  MobileDeviceAccessRule = Shapes::StructureShape.new(name: 'MobileDeviceAccessRule')
167
180
  MobileDeviceAccessRuleDescription = Shapes::StringShape.new(name: 'MobileDeviceAccessRuleDescription')
168
181
  MobileDeviceAccessRuleEffect = Shapes::StringShape.new(name: 'MobileDeviceAccessRuleEffect')
@@ -186,8 +199,12 @@ module Aws::WorkMail
186
199
  PolicyDescription = Shapes::StringShape.new(name: 'PolicyDescription')
187
200
  PutAccessControlRuleRequest = Shapes::StructureShape.new(name: 'PutAccessControlRuleRequest')
188
201
  PutAccessControlRuleResponse = Shapes::StructureShape.new(name: 'PutAccessControlRuleResponse')
202
+ PutInboundDmarcSettingsRequest = Shapes::StructureShape.new(name: 'PutInboundDmarcSettingsRequest')
203
+ PutInboundDmarcSettingsResponse = Shapes::StructureShape.new(name: 'PutInboundDmarcSettingsResponse')
189
204
  PutMailboxPermissionsRequest = Shapes::StructureShape.new(name: 'PutMailboxPermissionsRequest')
190
205
  PutMailboxPermissionsResponse = Shapes::StructureShape.new(name: 'PutMailboxPermissionsResponse')
206
+ PutMobileDeviceAccessOverrideRequest = Shapes::StructureShape.new(name: 'PutMobileDeviceAccessOverrideRequest')
207
+ PutMobileDeviceAccessOverrideResponse = Shapes::StructureShape.new(name: 'PutMobileDeviceAccessOverrideResponse')
191
208
  PutRetentionPolicyRequest = Shapes::StructureShape.new(name: 'PutRetentionPolicyRequest')
192
209
  PutRetentionPolicyResponse = Shapes::StructureShape.new(name: 'PutRetentionPolicyResponse')
193
210
  RegisterToWorkMailRequest = Shapes::StructureShape.new(name: 'RegisterToWorkMailRequest')
@@ -375,6 +392,13 @@ module Aws::WorkMail
375
392
 
376
393
  DeleteMailboxPermissionsResponse.struct_class = Types::DeleteMailboxPermissionsResponse
377
394
 
395
+ DeleteMobileDeviceAccessOverrideRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
396
+ DeleteMobileDeviceAccessOverrideRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "UserId"))
397
+ DeleteMobileDeviceAccessOverrideRequest.add_member(:device_id, Shapes::ShapeRef.new(shape: DeviceId, required: true, location_name: "DeviceId"))
398
+ DeleteMobileDeviceAccessOverrideRequest.struct_class = Types::DeleteMobileDeviceAccessOverrideRequest
399
+
400
+ DeleteMobileDeviceAccessOverrideResponse.struct_class = Types::DeleteMobileDeviceAccessOverrideResponse
401
+
378
402
  DeleteMobileDeviceAccessRuleRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
379
403
  DeleteMobileDeviceAccessRuleRequest.add_member(:mobile_device_access_rule_id, Shapes::ShapeRef.new(shape: MobileDeviceAccessRuleId, required: true, location_name: "MobileDeviceAccessRuleId"))
380
404
  DeleteMobileDeviceAccessRuleRequest.struct_class = Types::DeleteMobileDeviceAccessRuleRequest
@@ -426,6 +450,12 @@ module Aws::WorkMail
426
450
  DescribeGroupResponse.add_member(:disabled_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DisabledDate"))
427
451
  DescribeGroupResponse.struct_class = Types::DescribeGroupResponse
428
452
 
453
+ DescribeInboundDmarcSettingsRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
454
+ DescribeInboundDmarcSettingsRequest.struct_class = Types::DescribeInboundDmarcSettingsRequest
455
+
456
+ DescribeInboundDmarcSettingsResponse.add_member(:enforced, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enforced"))
457
+ DescribeInboundDmarcSettingsResponse.struct_class = Types::DescribeInboundDmarcSettingsResponse
458
+
429
459
  DescribeMailboxExportJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: MailboxExportJobId, required: true, location_name: "JobId"))
430
460
  DescribeMailboxExportJobRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
431
461
  DescribeMailboxExportJobRequest.struct_class = Types::DescribeMailboxExportJobRequest
@@ -580,6 +610,19 @@ module Aws::WorkMail
580
610
  GetMobileDeviceAccessEffectResponse.add_member(:matched_rules, Shapes::ShapeRef.new(shape: MobileDeviceAccessMatchedRuleList, location_name: "MatchedRules"))
581
611
  GetMobileDeviceAccessEffectResponse.struct_class = Types::GetMobileDeviceAccessEffectResponse
582
612
 
613
+ GetMobileDeviceAccessOverrideRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
614
+ GetMobileDeviceAccessOverrideRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "UserId"))
615
+ GetMobileDeviceAccessOverrideRequest.add_member(:device_id, Shapes::ShapeRef.new(shape: DeviceId, required: true, location_name: "DeviceId"))
616
+ GetMobileDeviceAccessOverrideRequest.struct_class = Types::GetMobileDeviceAccessOverrideRequest
617
+
618
+ GetMobileDeviceAccessOverrideResponse.add_member(:user_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, location_name: "UserId"))
619
+ GetMobileDeviceAccessOverrideResponse.add_member(:device_id, Shapes::ShapeRef.new(shape: DeviceId, location_name: "DeviceId"))
620
+ GetMobileDeviceAccessOverrideResponse.add_member(:effect, Shapes::ShapeRef.new(shape: MobileDeviceAccessRuleEffect, location_name: "Effect"))
621
+ GetMobileDeviceAccessOverrideResponse.add_member(:description, Shapes::ShapeRef.new(shape: MobileDeviceAccessRuleDescription, location_name: "Description"))
622
+ GetMobileDeviceAccessOverrideResponse.add_member(:date_created, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DateCreated"))
623
+ GetMobileDeviceAccessOverrideResponse.add_member(:date_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DateModified"))
624
+ GetMobileDeviceAccessOverrideResponse.struct_class = Types::GetMobileDeviceAccessOverrideResponse
625
+
583
626
  Group.add_member(:id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, location_name: "Id"))
584
627
  Group.add_member(:email, Shapes::ShapeRef.new(shape: EmailAddress, location_name: "Email"))
585
628
  Group.add_member(:name, Shapes::ShapeRef.new(shape: GroupName, location_name: "Name"))
@@ -660,6 +703,17 @@ module Aws::WorkMail
660
703
  ListMailboxPermissionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
661
704
  ListMailboxPermissionsResponse.struct_class = Types::ListMailboxPermissionsResponse
662
705
 
706
+ ListMobileDeviceAccessOverridesRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
707
+ ListMobileDeviceAccessOverridesRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: EntityIdentifier, location_name: "UserId"))
708
+ ListMobileDeviceAccessOverridesRequest.add_member(:device_id, Shapes::ShapeRef.new(shape: DeviceId, location_name: "DeviceId"))
709
+ ListMobileDeviceAccessOverridesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
710
+ ListMobileDeviceAccessOverridesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
711
+ ListMobileDeviceAccessOverridesRequest.struct_class = Types::ListMobileDeviceAccessOverridesRequest
712
+
713
+ ListMobileDeviceAccessOverridesResponse.add_member(:overrides, Shapes::ShapeRef.new(shape: MobileDeviceAccessOverridesList, location_name: "Overrides"))
714
+ ListMobileDeviceAccessOverridesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
715
+ ListMobileDeviceAccessOverridesResponse.struct_class = Types::ListMobileDeviceAccessOverridesResponse
716
+
663
717
  ListMobileDeviceAccessRulesRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
664
718
  ListMobileDeviceAccessRulesRequest.struct_class = Types::ListMobileDeviceAccessRulesRequest
665
719
 
@@ -741,6 +795,16 @@ module Aws::WorkMail
741
795
 
742
796
  MobileDeviceAccessMatchedRuleList.member = Shapes::ShapeRef.new(shape: MobileDeviceAccessMatchedRule)
743
797
 
798
+ MobileDeviceAccessOverride.add_member(:user_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, location_name: "UserId"))
799
+ MobileDeviceAccessOverride.add_member(:device_id, Shapes::ShapeRef.new(shape: DeviceId, location_name: "DeviceId"))
800
+ MobileDeviceAccessOverride.add_member(:effect, Shapes::ShapeRef.new(shape: MobileDeviceAccessRuleEffect, location_name: "Effect"))
801
+ MobileDeviceAccessOverride.add_member(:description, Shapes::ShapeRef.new(shape: MobileDeviceAccessRuleDescription, location_name: "Description"))
802
+ MobileDeviceAccessOverride.add_member(:date_created, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DateCreated"))
803
+ MobileDeviceAccessOverride.add_member(:date_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DateModified"))
804
+ MobileDeviceAccessOverride.struct_class = Types::MobileDeviceAccessOverride
805
+
806
+ MobileDeviceAccessOverridesList.member = Shapes::ShapeRef.new(shape: MobileDeviceAccessOverride)
807
+
744
808
  MobileDeviceAccessRule.add_member(:mobile_device_access_rule_id, Shapes::ShapeRef.new(shape: MobileDeviceAccessRuleId, location_name: "MobileDeviceAccessRuleId"))
745
809
  MobileDeviceAccessRule.add_member(:name, Shapes::ShapeRef.new(shape: MobileDeviceAccessRuleName, location_name: "Name"))
746
810
  MobileDeviceAccessRule.add_member(:description, Shapes::ShapeRef.new(shape: MobileDeviceAccessRuleDescription, location_name: "Description"))
@@ -800,6 +864,12 @@ module Aws::WorkMail
800
864
 
801
865
  PutAccessControlRuleResponse.struct_class = Types::PutAccessControlRuleResponse
802
866
 
867
+ PutInboundDmarcSettingsRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
868
+ PutInboundDmarcSettingsRequest.add_member(:enforced, Shapes::ShapeRef.new(shape: BooleanObject, required: true, location_name: "Enforced"))
869
+ PutInboundDmarcSettingsRequest.struct_class = Types::PutInboundDmarcSettingsRequest
870
+
871
+ PutInboundDmarcSettingsResponse.struct_class = Types::PutInboundDmarcSettingsResponse
872
+
803
873
  PutMailboxPermissionsRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
804
874
  PutMailboxPermissionsRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "EntityId"))
805
875
  PutMailboxPermissionsRequest.add_member(:grantee_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "GranteeId"))
@@ -808,6 +878,15 @@ module Aws::WorkMail
808
878
 
809
879
  PutMailboxPermissionsResponse.struct_class = Types::PutMailboxPermissionsResponse
810
880
 
881
+ PutMobileDeviceAccessOverrideRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
882
+ PutMobileDeviceAccessOverrideRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "UserId"))
883
+ PutMobileDeviceAccessOverrideRequest.add_member(:device_id, Shapes::ShapeRef.new(shape: DeviceId, required: true, location_name: "DeviceId"))
884
+ PutMobileDeviceAccessOverrideRequest.add_member(:effect, Shapes::ShapeRef.new(shape: MobileDeviceAccessRuleEffect, required: true, location_name: "Effect"))
885
+ PutMobileDeviceAccessOverrideRequest.add_member(:description, Shapes::ShapeRef.new(shape: MobileDeviceAccessRuleDescription, location_name: "Description"))
886
+ PutMobileDeviceAccessOverrideRequest.struct_class = Types::PutMobileDeviceAccessOverrideRequest
887
+
888
+ PutMobileDeviceAccessOverrideResponse.struct_class = Types::PutMobileDeviceAccessOverrideResponse
889
+
811
890
  PutRetentionPolicyRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
812
891
  PutRetentionPolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: ShortString, location_name: "Id"))
813
892
  PutRetentionPolicyRequest.add_member(:name, Shapes::ShapeRef.new(shape: ShortString, required: true, location_name: "Name"))
@@ -1142,6 +1221,18 @@ module Aws::WorkMail
1142
1221
  o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
1143
1222
  end)
1144
1223
 
1224
+ api.add_operation(:delete_mobile_device_access_override, Seahorse::Model::Operation.new.tap do |o|
1225
+ o.name = "DeleteMobileDeviceAccessOverride"
1226
+ o.http_method = "POST"
1227
+ o.http_request_uri = "/"
1228
+ o.input = Shapes::ShapeRef.new(shape: DeleteMobileDeviceAccessOverrideRequest)
1229
+ o.output = Shapes::ShapeRef.new(shape: DeleteMobileDeviceAccessOverrideResponse)
1230
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1231
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
1232
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
1233
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
1234
+ end)
1235
+
1145
1236
  api.add_operation(:delete_mobile_device_access_rule, Seahorse::Model::Operation.new.tap do |o|
1146
1237
  o.name = "DeleteMobileDeviceAccessRule"
1147
1238
  o.http_method = "POST"
@@ -1227,6 +1318,16 @@ module Aws::WorkMail
1227
1318
  o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
1228
1319
  end)
1229
1320
 
1321
+ api.add_operation(:describe_inbound_dmarc_settings, Seahorse::Model::Operation.new.tap do |o|
1322
+ o.name = "DescribeInboundDmarcSettings"
1323
+ o.http_method = "POST"
1324
+ o.http_request_uri = "/"
1325
+ o.input = Shapes::ShapeRef.new(shape: DescribeInboundDmarcSettingsRequest)
1326
+ o.output = Shapes::ShapeRef.new(shape: DescribeInboundDmarcSettingsResponse)
1327
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
1328
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
1329
+ end)
1330
+
1230
1331
  api.add_operation(:describe_mailbox_export_job, Seahorse::Model::Operation.new.tap do |o|
1231
1332
  o.name = "DescribeMailboxExportJob"
1232
1333
  o.http_method = "POST"
@@ -1348,6 +1449,19 @@ module Aws::WorkMail
1348
1449
  o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
1349
1450
  end)
1350
1451
 
1452
+ api.add_operation(:get_mobile_device_access_override, Seahorse::Model::Operation.new.tap do |o|
1453
+ o.name = "GetMobileDeviceAccessOverride"
1454
+ o.http_method = "POST"
1455
+ o.http_request_uri = "/"
1456
+ o.input = Shapes::ShapeRef.new(shape: GetMobileDeviceAccessOverrideRequest)
1457
+ o.output = Shapes::ShapeRef.new(shape: GetMobileDeviceAccessOverrideResponse)
1458
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1459
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
1460
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
1461
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
1462
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1463
+ end)
1464
+
1351
1465
  api.add_operation(:list_access_control_rules, Seahorse::Model::Operation.new.tap do |o|
1352
1466
  o.name = "ListAccessControlRules"
1353
1467
  o.http_method = "POST"
@@ -1449,6 +1563,24 @@ module Aws::WorkMail
1449
1563
  )
1450
1564
  end)
1451
1565
 
1566
+ api.add_operation(:list_mobile_device_access_overrides, Seahorse::Model::Operation.new.tap do |o|
1567
+ o.name = "ListMobileDeviceAccessOverrides"
1568
+ o.http_method = "POST"
1569
+ o.http_request_uri = "/"
1570
+ o.input = Shapes::ShapeRef.new(shape: ListMobileDeviceAccessOverridesRequest)
1571
+ o.output = Shapes::ShapeRef.new(shape: ListMobileDeviceAccessOverridesResponse)
1572
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1573
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
1574
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
1575
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
1576
+ o[:pager] = Aws::Pager.new(
1577
+ limit_key: "max_results",
1578
+ tokens: {
1579
+ "next_token" => "next_token"
1580
+ }
1581
+ )
1582
+ end)
1583
+
1452
1584
  api.add_operation(:list_mobile_device_access_rules, Seahorse::Model::Operation.new.tap do |o|
1453
1585
  o.name = "ListMobileDeviceAccessRules"
1454
1586
  o.http_method = "POST"
@@ -1550,6 +1682,16 @@ module Aws::WorkMail
1550
1682
  o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
1551
1683
  end)
1552
1684
 
1685
+ api.add_operation(:put_inbound_dmarc_settings, Seahorse::Model::Operation.new.tap do |o|
1686
+ o.name = "PutInboundDmarcSettings"
1687
+ o.http_method = "POST"
1688
+ o.http_request_uri = "/"
1689
+ o.input = Shapes::ShapeRef.new(shape: PutInboundDmarcSettingsRequest)
1690
+ o.output = Shapes::ShapeRef.new(shape: PutInboundDmarcSettingsResponse)
1691
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
1692
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
1693
+ end)
1694
+
1553
1695
  api.add_operation(:put_mailbox_permissions, Seahorse::Model::Operation.new.tap do |o|
1554
1696
  o.name = "PutMailboxPermissions"
1555
1697
  o.http_method = "POST"
@@ -1563,6 +1705,19 @@ module Aws::WorkMail
1563
1705
  o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
1564
1706
  end)
1565
1707
 
1708
+ api.add_operation(:put_mobile_device_access_override, Seahorse::Model::Operation.new.tap do |o|
1709
+ o.name = "PutMobileDeviceAccessOverride"
1710
+ o.http_method = "POST"
1711
+ o.http_request_uri = "/"
1712
+ o.input = Shapes::ShapeRef.new(shape: PutMobileDeviceAccessOverrideRequest)
1713
+ o.output = Shapes::ShapeRef.new(shape: PutMobileDeviceAccessOverrideResponse)
1714
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1715
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
1716
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
1717
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
1718
+ o.errors << Shapes::ShapeRef.new(shape: EntityStateException)
1719
+ end)
1720
+
1566
1721
  api.add_operation(:put_retention_policy, Seahorse::Model::Operation.new.tap do |o|
1567
1722
  o.name = "PutRetentionPolicy"
1568
1723
  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
  #
@@ -993,6 +1038,37 @@ module Aws::WorkMail
993
1038
  include Aws::Structure
994
1039
  end
995
1040
 
1041
+ # @note When making an API call, you may pass DescribeInboundDmarcSettingsRequest
1042
+ # data as a hash:
1043
+ #
1044
+ # {
1045
+ # organization_id: "OrganizationId", # required
1046
+ # }
1047
+ #
1048
+ # @!attribute [rw] organization_id
1049
+ # Lists the ID of the given organization.
1050
+ # @return [String]
1051
+ #
1052
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeInboundDmarcSettingsRequest AWS API Documentation
1053
+ #
1054
+ class DescribeInboundDmarcSettingsRequest < Struct.new(
1055
+ :organization_id)
1056
+ SENSITIVE = []
1057
+ include Aws::Structure
1058
+ end
1059
+
1060
+ # @!attribute [rw] enforced
1061
+ # Lists the enforcement setting of the applied policy.
1062
+ # @return [Boolean]
1063
+ #
1064
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeInboundDmarcSettingsResponse AWS API Documentation
1065
+ #
1066
+ class DescribeInboundDmarcSettingsResponse < Struct.new(
1067
+ :enforced)
1068
+ SENSITIVE = []
1069
+ include Aws::Structure
1070
+ end
1071
+
996
1072
  # @note When making an API call, you may pass DescribeMailboxExportJobRequest
997
1073
  # data as a hash:
998
1074
  #
@@ -1773,6 +1849,84 @@ module Aws::WorkMail
1773
1849
  include Aws::Structure
1774
1850
  end
1775
1851
 
1852
+ # @note When making an API call, you may pass GetMobileDeviceAccessOverrideRequest
1853
+ # data as a hash:
1854
+ #
1855
+ # {
1856
+ # organization_id: "OrganizationId", # required
1857
+ # user_id: "EntityIdentifier", # required
1858
+ # device_id: "DeviceId", # required
1859
+ # }
1860
+ #
1861
+ # @!attribute [rw] organization_id
1862
+ # The Amazon WorkMail organization to which you want to apply the
1863
+ # override.
1864
+ # @return [String]
1865
+ #
1866
+ # @!attribute [rw] user_id
1867
+ # Identifies the WorkMail user for the override. Accepts the following
1868
+ # types of user identities:
1869
+ #
1870
+ # * User ID: `12345678-1234-1234-1234-123456789012` or
1871
+ # `S-1-1-12-1234567890-123456789-123456789-1234`
1872
+ #
1873
+ # * Email address: `user@domain.tld`
1874
+ #
1875
+ # * User name: `user`
1876
+ # @return [String]
1877
+ #
1878
+ # @!attribute [rw] device_id
1879
+ # The mobile device to which the override applies. `DeviceId` is case
1880
+ # insensitive.
1881
+ # @return [String]
1882
+ #
1883
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/GetMobileDeviceAccessOverrideRequest AWS API Documentation
1884
+ #
1885
+ class GetMobileDeviceAccessOverrideRequest < Struct.new(
1886
+ :organization_id,
1887
+ :user_id,
1888
+ :device_id)
1889
+ SENSITIVE = []
1890
+ include Aws::Structure
1891
+ end
1892
+
1893
+ # @!attribute [rw] user_id
1894
+ # The WorkMail user to which the access override applies.
1895
+ # @return [String]
1896
+ #
1897
+ # @!attribute [rw] device_id
1898
+ # The device to which the access override applies.
1899
+ # @return [String]
1900
+ #
1901
+ # @!attribute [rw] effect
1902
+ # The effect of the override, `ALLOW` or `DENY`.
1903
+ # @return [String]
1904
+ #
1905
+ # @!attribute [rw] description
1906
+ # A description of the override.
1907
+ # @return [String]
1908
+ #
1909
+ # @!attribute [rw] date_created
1910
+ # The date the override was first created.
1911
+ # @return [Time]
1912
+ #
1913
+ # @!attribute [rw] date_modified
1914
+ # The date the description was last modified.
1915
+ # @return [Time]
1916
+ #
1917
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/GetMobileDeviceAccessOverrideResponse AWS API Documentation
1918
+ #
1919
+ class GetMobileDeviceAccessOverrideResponse < Struct.new(
1920
+ :user_id,
1921
+ :device_id,
1922
+ :effect,
1923
+ :description,
1924
+ :date_created,
1925
+ :date_modified)
1926
+ SENSITIVE = []
1927
+ include Aws::Structure
1928
+ end
1929
+
1776
1930
  # The representation of an Amazon WorkMail group.
1777
1931
  #
1778
1932
  # @!attribute [rw] id
@@ -2170,6 +2324,78 @@ module Aws::WorkMail
2170
2324
  include Aws::Structure
2171
2325
  end
2172
2326
 
2327
+ # @note When making an API call, you may pass ListMobileDeviceAccessOverridesRequest
2328
+ # data as a hash:
2329
+ #
2330
+ # {
2331
+ # organization_id: "OrganizationId", # required
2332
+ # user_id: "EntityIdentifier",
2333
+ # device_id: "DeviceId",
2334
+ # next_token: "NextToken",
2335
+ # max_results: 1,
2336
+ # }
2337
+ #
2338
+ # @!attribute [rw] organization_id
2339
+ # The Amazon WorkMail organization under which to list mobile device
2340
+ # access overrides.
2341
+ # @return [String]
2342
+ #
2343
+ # @!attribute [rw] user_id
2344
+ # The WorkMail user under which you list the mobile device access
2345
+ # overrides. Accepts the following types of user identities:
2346
+ #
2347
+ # * User ID: `12345678-1234-1234-1234-123456789012` or
2348
+ # `S-1-1-12-1234567890-123456789-123456789-1234`
2349
+ #
2350
+ # * Email address: `user@domain.tld`
2351
+ #
2352
+ # * User name: `user`
2353
+ # @return [String]
2354
+ #
2355
+ # @!attribute [rw] device_id
2356
+ # The mobile device to which the access override applies.
2357
+ # @return [String]
2358
+ #
2359
+ # @!attribute [rw] next_token
2360
+ # The token to use to retrieve the next page of results. The first
2361
+ # call does not require a token.
2362
+ # @return [String]
2363
+ #
2364
+ # @!attribute [rw] max_results
2365
+ # The maximum number of results to return in a single call.
2366
+ # @return [Integer]
2367
+ #
2368
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListMobileDeviceAccessOverridesRequest AWS API Documentation
2369
+ #
2370
+ class ListMobileDeviceAccessOverridesRequest < Struct.new(
2371
+ :organization_id,
2372
+ :user_id,
2373
+ :device_id,
2374
+ :next_token,
2375
+ :max_results)
2376
+ SENSITIVE = []
2377
+ include Aws::Structure
2378
+ end
2379
+
2380
+ # @!attribute [rw] overrides
2381
+ # The list of mobile device access overrides that exist for the
2382
+ # specified Amazon WorkMail organization and user.
2383
+ # @return [Array<Types::MobileDeviceAccessOverride>]
2384
+ #
2385
+ # @!attribute [rw] next_token
2386
+ # The token to use to retrieve the next page of results. The value is
2387
+ # “null” when there are no more results to return.
2388
+ # @return [String]
2389
+ #
2390
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListMobileDeviceAccessOverridesResponse AWS API Documentation
2391
+ #
2392
+ class ListMobileDeviceAccessOverridesResponse < Struct.new(
2393
+ :overrides,
2394
+ :next_token)
2395
+ SENSITIVE = []
2396
+ include Aws::Structure
2397
+ end
2398
+
2173
2399
  # @note When making an API call, you may pass ListMobileDeviceAccessRulesRequest
2174
2400
  # data as a hash:
2175
2401
  #
@@ -2583,6 +2809,45 @@ module Aws::WorkMail
2583
2809
  include Aws::Structure
2584
2810
  end
2585
2811
 
2812
+ # The override object.
2813
+ #
2814
+ # @!attribute [rw] user_id
2815
+ # The WorkMail user to which the access override applies.
2816
+ # @return [String]
2817
+ #
2818
+ # @!attribute [rw] device_id
2819
+ # The device to which the override applies.
2820
+ # @return [String]
2821
+ #
2822
+ # @!attribute [rw] effect
2823
+ # The effect of the override, `ALLOW` or `DENY`.
2824
+ # @return [String]
2825
+ #
2826
+ # @!attribute [rw] description
2827
+ # A description of the override.
2828
+ # @return [String]
2829
+ #
2830
+ # @!attribute [rw] date_created
2831
+ # The date the override was first created.
2832
+ # @return [Time]
2833
+ #
2834
+ # @!attribute [rw] date_modified
2835
+ # The date the override was last modified.
2836
+ # @return [Time]
2837
+ #
2838
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/MobileDeviceAccessOverride AWS API Documentation
2839
+ #
2840
+ class MobileDeviceAccessOverride < Struct.new(
2841
+ :user_id,
2842
+ :device_id,
2843
+ :effect,
2844
+ :description,
2845
+ :date_created,
2846
+ :date_modified)
2847
+ SENSITIVE = []
2848
+ include Aws::Structure
2849
+ end
2850
+
2586
2851
  # A rule that controls access to mobile devices for an Amazon WorkMail
2587
2852
  # group.
2588
2853
  #
@@ -2859,6 +3124,36 @@ module Aws::WorkMail
2859
3124
  #
2860
3125
  class PutAccessControlRuleResponse < Aws::EmptyStructure; end
2861
3126
 
3127
+ # @note When making an API call, you may pass PutInboundDmarcSettingsRequest
3128
+ # data as a hash:
3129
+ #
3130
+ # {
3131
+ # organization_id: "OrganizationId", # required
3132
+ # enforced: false, # required
3133
+ # }
3134
+ #
3135
+ # @!attribute [rw] organization_id
3136
+ # The ID of the organization that you are applying the DMARC policy
3137
+ # to.
3138
+ # @return [String]
3139
+ #
3140
+ # @!attribute [rw] enforced
3141
+ # Enforces or suspends a policy after it's applied.
3142
+ # @return [Boolean]
3143
+ #
3144
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutInboundDmarcSettingsRequest AWS API Documentation
3145
+ #
3146
+ class PutInboundDmarcSettingsRequest < Struct.new(
3147
+ :organization_id,
3148
+ :enforced)
3149
+ SENSITIVE = []
3150
+ include Aws::Structure
3151
+ end
3152
+
3153
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutInboundDmarcSettingsResponse AWS API Documentation
3154
+ #
3155
+ class PutInboundDmarcSettingsResponse < Aws::EmptyStructure; end
3156
+
2862
3157
  # @note When making an API call, you may pass PutMailboxPermissionsRequest
2863
3158
  # data as a hash:
2864
3159
  #
@@ -2909,6 +3204,63 @@ module Aws::WorkMail
2909
3204
  #
2910
3205
  class PutMailboxPermissionsResponse < Aws::EmptyStructure; end
2911
3206
 
3207
+ # @note When making an API call, you may pass PutMobileDeviceAccessOverrideRequest
3208
+ # data as a hash:
3209
+ #
3210
+ # {
3211
+ # organization_id: "OrganizationId", # required
3212
+ # user_id: "EntityIdentifier", # required
3213
+ # device_id: "DeviceId", # required
3214
+ # effect: "ALLOW", # required, accepts ALLOW, DENY
3215
+ # description: "MobileDeviceAccessRuleDescription",
3216
+ # }
3217
+ #
3218
+ # @!attribute [rw] organization_id
3219
+ # Identifies the Amazon WorkMail organization for which you create the
3220
+ # override.
3221
+ # @return [String]
3222
+ #
3223
+ # @!attribute [rw] user_id
3224
+ # The WorkMail user for which you create the override. Accepts the
3225
+ # following types of user identities:
3226
+ #
3227
+ # * User ID: `12345678-1234-1234-1234-123456789012` or
3228
+ # `S-1-1-12-1234567890-123456789-123456789-1234`
3229
+ #
3230
+ # * Email address: `user@domain.tld`
3231
+ #
3232
+ # * User name: `user`
3233
+ # @return [String]
3234
+ #
3235
+ # @!attribute [rw] device_id
3236
+ # The mobile device for which you create the override. `DeviceId` is
3237
+ # case insensitive.
3238
+ # @return [String]
3239
+ #
3240
+ # @!attribute [rw] effect
3241
+ # The effect of the override, `ALLOW` or `DENY`.
3242
+ # @return [String]
3243
+ #
3244
+ # @!attribute [rw] description
3245
+ # A description of the override.
3246
+ # @return [String]
3247
+ #
3248
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutMobileDeviceAccessOverrideRequest AWS API Documentation
3249
+ #
3250
+ class PutMobileDeviceAccessOverrideRequest < Struct.new(
3251
+ :organization_id,
3252
+ :user_id,
3253
+ :device_id,
3254
+ :effect,
3255
+ :description)
3256
+ SENSITIVE = []
3257
+ include Aws::Structure
3258
+ end
3259
+
3260
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutMobileDeviceAccessOverrideResponse AWS API Documentation
3261
+ #
3262
+ class PutMobileDeviceAccessOverrideResponse < Aws::EmptyStructure; end
3263
+
2912
3264
  # @note When making an API call, you may pass PutRetentionPolicyRequest
2913
3265
  # data as a hash:
2914
3266
  #
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-workmail/customizations'
48
48
  # @!group service
49
49
  module Aws::WorkMail
50
50
 
51
- GEM_VERSION = '1.38.0'
51
+ GEM_VERSION = '1.42.0'
52
52
 
53
53
  end
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.38.0
4
+ version: 1.42.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-07-28 00:00:00.000000000 Z
11
+ date: 2021-10-05 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.118.0
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.118.0
32
+ version: 3.120.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -76,7 +76,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
76
76
  requirements:
77
77
  - - ">="
78
78
  - !ruby/object:Gem::Version
79
- version: '0'
79
+ version: '2.3'
80
80
  required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  requirements:
82
82
  - - ">="