aws-sdk-workmail 1.34.0 → 1.38.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: 798b6d05d4b70fe67a34a6601d3d92c2ab97bd7b9d69d2b2425c2e7013a92db9
4
- data.tar.gz: e95f04bd22f24ab8ca165bc3fbef6ded750a28bbc6e507a366691fc172e1df30
3
+ metadata.gz: 1d197e9384a46f9e54a42840b94d9162e05a94ce0791e9df6d38931c0dfc5739
4
+ data.tar.gz: b7f0013f3514327e679f6bb801a6e8caa20344377a15380fe8309d861ea2de73
5
5
  SHA512:
6
- metadata.gz: 87073ce4099d1e3f1f8470442e36fe3a31c711ddf68598a6f1d7782c77272777cdcba432566cd33acf9f50eaea91bb66c422246577449c42c4261133c000abbc
7
- data.tar.gz: 406dfea96bfc77b5e5e109a52009e5de65c2faef0154b74a6d72b5d5d82ce8ef8e1aa66257ad75228ec64f122d95328038edbb9fbb15c9f13bc1e2880971598f
6
+ metadata.gz: 6be0469c125a183dfec298c2515a8ad20417941b09e0757890b31265f1aa2bef435da688ca1aef67f42244532b2a07cc12168c566c980999f1ab5224f3c5ddff
7
+ data.tar.gz: 54a68934dcece6222eb9807638a4d0ebd642f48470ddbab62d610f40bf48bc4caa064298c17375c2e05d31a86ce82688b205b280f7b6c25a647bd33dd5bce171
data/CHANGELOG.md ADDED
@@ -0,0 +1,203 @@
1
+ Unreleased Changes
2
+ ------------------
3
+
4
+ 1.38.0 (2021-07-28)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.37.0 (2021-03-31)
10
+ ------------------
11
+
12
+ * Feature - This release adds support for mobile device access rules management in Amazon WorkMail.
13
+
14
+ 1.36.0 (2021-03-10)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.35.0 (2021-02-03)
20
+ ------------------
21
+
22
+ * Feature - Increased maximum length of ipRanges values for Access Control Rules from 10 to 1024.
23
+
24
+ 1.34.0 (2021-02-02)
25
+ ------------------
26
+
27
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
28
+
29
+ 1.33.0 (2020-10-28)
30
+ ------------------
31
+
32
+ * Feature - Documentation update for Amazon WorkMail
33
+
34
+ 1.32.0 (2020-10-15)
35
+ ------------------
36
+
37
+ * Feature - Add CreateOrganization and DeleteOrganization API operations.
38
+
39
+ 1.31.0 (2020-09-30)
40
+ ------------------
41
+
42
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
43
+
44
+ 1.30.0 (2020-09-22)
45
+ ------------------
46
+
47
+ * Feature - Adding support for Mailbox Export APIs
48
+
49
+ 1.29.0 (2020-09-15)
50
+ ------------------
51
+
52
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
53
+
54
+ 1.28.0 (2020-08-25)
55
+ ------------------
56
+
57
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
58
+
59
+ 1.27.0 (2020-06-23)
60
+ ------------------
61
+
62
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
63
+
64
+ 1.26.1 (2020-06-11)
65
+ ------------------
66
+
67
+ * Issue - Republish previous version with correct dependency on `aws-sdk-core`.
68
+
69
+ 1.26.0 (2020-06-10)
70
+ ------------------
71
+
72
+ * Issue - This version has been yanked. (#2327).
73
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
74
+
75
+ 1.25.0 (2020-05-28)
76
+ ------------------
77
+
78
+ * Feature - This release adds support for Amazon WorkMail organization-level retention policies.
79
+
80
+ 1.24.0 (2020-05-12)
81
+ ------------------
82
+
83
+ * Feature - Minor API fixes and updates to the documentation.
84
+
85
+ 1.23.0 (2020-05-07)
86
+ ------------------
87
+
88
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
89
+
90
+ 1.22.0 (2020-03-09)
91
+ ------------------
92
+
93
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
94
+
95
+ 1.21.0 (2020-02-12)
96
+ ------------------
97
+
98
+ * Feature - This release adds support for access control rules management in Amazon WorkMail.
99
+
100
+ 1.20.0 (2020-02-04)
101
+ ------------------
102
+
103
+ * Feature - This release adds support for tagging Amazon WorkMail organizations.
104
+
105
+ 1.19.0 (2019-10-23)
106
+ ------------------
107
+
108
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
109
+
110
+ 1.18.0 (2019-07-25)
111
+ ------------------
112
+
113
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
114
+
115
+ 1.17.0 (2019-07-01)
116
+ ------------------
117
+
118
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
119
+
120
+ 1.16.0 (2019-06-17)
121
+ ------------------
122
+
123
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
124
+
125
+ 1.15.0 (2019-05-21)
126
+ ------------------
127
+
128
+ * Feature - API update.
129
+
130
+ 1.14.0 (2019-05-15)
131
+ ------------------
132
+
133
+ * Feature - API update.
134
+
135
+ 1.13.0 (2019-05-14)
136
+ ------------------
137
+
138
+ * Feature - API update.
139
+
140
+ 1.12.0 (2019-05-03)
141
+ ------------------
142
+
143
+ * Feature - API update.
144
+
145
+ 1.11.0 (2019-03-26)
146
+ ------------------
147
+
148
+ * Feature - API update.
149
+
150
+ 1.10.0 (2019-03-21)
151
+ ------------------
152
+
153
+ * Feature - API update.
154
+
155
+ 1.9.0 (2019-03-18)
156
+ ------------------
157
+
158
+ * Feature - API update.
159
+
160
+ 1.8.0 (2019-03-14)
161
+ ------------------
162
+
163
+ * Feature - API update.
164
+
165
+ 1.7.0 (2018-11-20)
166
+ ------------------
167
+
168
+ * Feature - API update.
169
+
170
+ 1.6.0 (2018-10-24)
171
+ ------------------
172
+
173
+ * Feature - API update.
174
+
175
+ 1.5.0 (2018-10-23)
176
+ ------------------
177
+
178
+ * Feature - API update.
179
+
180
+ 1.4.0 (2018-09-06)
181
+ ------------------
182
+
183
+ * Feature - Adds code paths and plugins for future SDK instrumentation and telemetry.
184
+
185
+ 1.3.0 (2018-09-05)
186
+ ------------------
187
+
188
+ * Feature - API update.
189
+
190
+ 1.2.0 (2018-06-26)
191
+ ------------------
192
+
193
+ * Feature - API update.
194
+
195
+ 1.1.0 (2018-04-10)
196
+ ------------------
197
+
198
+ * Feature - API update.
199
+
200
+ 1.0.0 (2017-12-12)
201
+ ------------------
202
+
203
+ * Feature - Initial release of `aws-sdk-workmail`.
data/LICENSE.txt ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.38.0
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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.34.0'
51
+ GEM_VERSION = '1.38.0'
52
52
 
53
53
  end
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -499,6 +499,91 @@ module Aws::WorkMail
499
499
  req.send_request(options)
500
500
  end
501
501
 
502
+ # Creates a new mobile device access rule for the specified Amazon
503
+ # WorkMail organization.
504
+ #
505
+ # @option params [required, String] :organization_id
506
+ # The Amazon WorkMail organization under which the rule will be created.
507
+ #
508
+ # @option params [String] :client_token
509
+ # The idempotency token for the client request.
510
+ #
511
+ # **A suitable default value is auto-generated.** You should normally
512
+ # not need to pass this option.**
513
+ #
514
+ # @option params [required, String] :name
515
+ # The rule name.
516
+ #
517
+ # @option params [String] :description
518
+ # The rule description.
519
+ #
520
+ # @option params [required, String] :effect
521
+ # The effect of the rule when it matches. Allowed values are `ALLOW` or
522
+ # `DENY`.
523
+ #
524
+ # @option params [Array<String>] :device_types
525
+ # Device types that the rule will match.
526
+ #
527
+ # @option params [Array<String>] :not_device_types
528
+ # Device types that the rule **will not** match. All other device types
529
+ # will match.
530
+ #
531
+ # @option params [Array<String>] :device_models
532
+ # Device models that the rule will match.
533
+ #
534
+ # @option params [Array<String>] :not_device_models
535
+ # Device models that the rule **will not** match. All other device
536
+ # models will match.
537
+ #
538
+ # @option params [Array<String>] :device_operating_systems
539
+ # Device operating systems that the rule will match.
540
+ #
541
+ # @option params [Array<String>] :not_device_operating_systems
542
+ # Device operating systems that the rule **will not** match. All other
543
+ # device operating systems will match.
544
+ #
545
+ # @option params [Array<String>] :device_user_agents
546
+ # Device user agents that the rule will match.
547
+ #
548
+ # @option params [Array<String>] :not_device_user_agents
549
+ # Device user agents that the rule **will not** match. All other device
550
+ # user agents will match.
551
+ #
552
+ # @return [Types::CreateMobileDeviceAccessRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
553
+ #
554
+ # * {Types::CreateMobileDeviceAccessRuleResponse#mobile_device_access_rule_id #mobile_device_access_rule_id} => String
555
+ #
556
+ # @example Request syntax with placeholder values
557
+ #
558
+ # resp = client.create_mobile_device_access_rule({
559
+ # organization_id: "OrganizationId", # required
560
+ # client_token: "IdempotencyClientToken",
561
+ # name: "MobileDeviceAccessRuleName", # required
562
+ # description: "MobileDeviceAccessRuleDescription",
563
+ # effect: "ALLOW", # required, accepts ALLOW, DENY
564
+ # device_types: ["DeviceType"],
565
+ # not_device_types: ["DeviceType"],
566
+ # device_models: ["DeviceModel"],
567
+ # not_device_models: ["DeviceModel"],
568
+ # device_operating_systems: ["DeviceOperatingSystem"],
569
+ # not_device_operating_systems: ["DeviceOperatingSystem"],
570
+ # device_user_agents: ["DeviceUserAgent"],
571
+ # not_device_user_agents: ["DeviceUserAgent"],
572
+ # })
573
+ #
574
+ # @example Response structure
575
+ #
576
+ # resp.mobile_device_access_rule_id #=> String
577
+ #
578
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateMobileDeviceAccessRule AWS API Documentation
579
+ #
580
+ # @overload create_mobile_device_access_rule(params = {})
581
+ # @param [Hash] params ({})
582
+ def create_mobile_device_access_rule(params = {}, options = {})
583
+ req = build_request(:create_mobile_device_access_rule, params)
584
+ req.send_request(options)
585
+ end
586
+
502
587
  # Creates a new Amazon WorkMail organization. Optionally, you can choose
503
588
  # to associate an existing AWS Directory Service directory with your
504
589
  # organization. If an AWS Directory Service directory ID is specified,
@@ -782,6 +867,33 @@ module Aws::WorkMail
782
867
  req.send_request(options)
783
868
  end
784
869
 
870
+ # Deletes a mobile device access rule for the specified Amazon WorkMail
871
+ # organization.
872
+ #
873
+ # @option params [required, String] :organization_id
874
+ # The Amazon WorkMail organization under which the rule will be deleted.
875
+ #
876
+ # @option params [required, String] :mobile_device_access_rule_id
877
+ # The identifier of the rule to be deleted.
878
+ #
879
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
880
+ #
881
+ # @example Request syntax with placeholder values
882
+ #
883
+ # resp = client.delete_mobile_device_access_rule({
884
+ # organization_id: "OrganizationId", # required
885
+ # mobile_device_access_rule_id: "MobileDeviceAccessRuleId", # required
886
+ # })
887
+ #
888
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteMobileDeviceAccessRule AWS API Documentation
889
+ #
890
+ # @overload delete_mobile_device_access_rule(params = {})
891
+ # @param [Hash] params ({})
892
+ def delete_mobile_device_access_rule(params = {}, options = {})
893
+ req = build_request(:delete_mobile_device_access_rule, params)
894
+ req.send_request(options)
895
+ end
896
+
785
897
  # Deletes an Amazon WorkMail organization and all underlying AWS
786
898
  # resources managed by Amazon WorkMail as part of the organization. You
787
899
  # can choose whether to delete the associated directory. For more
@@ -1365,6 +1477,57 @@ module Aws::WorkMail
1365
1477
  req.send_request(options)
1366
1478
  end
1367
1479
 
1480
+ # Simulates the effect of the mobile device access rules for the given
1481
+ # attributes of a sample access event. Use this method to test the
1482
+ # effects of the current set of mobile device access rules for the
1483
+ # Amazon WorkMail organization for a particular user's attributes.
1484
+ #
1485
+ # @option params [required, String] :organization_id
1486
+ # The Amazon WorkMail organization to simulate the access effect for.
1487
+ #
1488
+ # @option params [String] :device_type
1489
+ # Device type the simulated user will report.
1490
+ #
1491
+ # @option params [String] :device_model
1492
+ # Device model the simulated user will report.
1493
+ #
1494
+ # @option params [String] :device_operating_system
1495
+ # Device operating system the simulated user will report.
1496
+ #
1497
+ # @option params [String] :device_user_agent
1498
+ # Device user agent the simulated user will report.
1499
+ #
1500
+ # @return [Types::GetMobileDeviceAccessEffectResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1501
+ #
1502
+ # * {Types::GetMobileDeviceAccessEffectResponse#effect #effect} => String
1503
+ # * {Types::GetMobileDeviceAccessEffectResponse#matched_rules #matched_rules} => Array&lt;Types::MobileDeviceAccessMatchedRule&gt;
1504
+ #
1505
+ # @example Request syntax with placeholder values
1506
+ #
1507
+ # resp = client.get_mobile_device_access_effect({
1508
+ # organization_id: "OrganizationId", # required
1509
+ # device_type: "DeviceType",
1510
+ # device_model: "DeviceModel",
1511
+ # device_operating_system: "DeviceOperatingSystem",
1512
+ # device_user_agent: "DeviceUserAgent",
1513
+ # })
1514
+ #
1515
+ # @example Response structure
1516
+ #
1517
+ # resp.effect #=> String, one of "ALLOW", "DENY"
1518
+ # resp.matched_rules #=> Array
1519
+ # resp.matched_rules[0].mobile_device_access_rule_id #=> String
1520
+ # resp.matched_rules[0].name #=> String
1521
+ #
1522
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/GetMobileDeviceAccessEffect AWS API Documentation
1523
+ #
1524
+ # @overload get_mobile_device_access_effect(params = {})
1525
+ # @param [Hash] params ({})
1526
+ def get_mobile_device_access_effect(params = {}, options = {})
1527
+ req = build_request(:get_mobile_device_access_effect, params)
1528
+ req.send_request(options)
1529
+ end
1530
+
1368
1531
  # Lists the access control rules for the specified organization.
1369
1532
  #
1370
1533
  # @option params [required, String] :organization_id
@@ -1659,6 +1822,57 @@ module Aws::WorkMail
1659
1822
  req.send_request(options)
1660
1823
  end
1661
1824
 
1825
+ # Lists the mobile device access rules for the specified Amazon WorkMail
1826
+ # organization.
1827
+ #
1828
+ # @option params [required, String] :organization_id
1829
+ # The Amazon WorkMail organization for which to list the rules.
1830
+ #
1831
+ # @return [Types::ListMobileDeviceAccessRulesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1832
+ #
1833
+ # * {Types::ListMobileDeviceAccessRulesResponse#rules #rules} => Array&lt;Types::MobileDeviceAccessRule&gt;
1834
+ #
1835
+ # @example Request syntax with placeholder values
1836
+ #
1837
+ # resp = client.list_mobile_device_access_rules({
1838
+ # organization_id: "OrganizationId", # required
1839
+ # })
1840
+ #
1841
+ # @example Response structure
1842
+ #
1843
+ # resp.rules #=> Array
1844
+ # resp.rules[0].mobile_device_access_rule_id #=> String
1845
+ # resp.rules[0].name #=> String
1846
+ # resp.rules[0].description #=> String
1847
+ # resp.rules[0].effect #=> String, one of "ALLOW", "DENY"
1848
+ # resp.rules[0].device_types #=> Array
1849
+ # resp.rules[0].device_types[0] #=> String
1850
+ # resp.rules[0].not_device_types #=> Array
1851
+ # resp.rules[0].not_device_types[0] #=> String
1852
+ # resp.rules[0].device_models #=> Array
1853
+ # resp.rules[0].device_models[0] #=> String
1854
+ # resp.rules[0].not_device_models #=> Array
1855
+ # resp.rules[0].not_device_models[0] #=> String
1856
+ # resp.rules[0].device_operating_systems #=> Array
1857
+ # resp.rules[0].device_operating_systems[0] #=> String
1858
+ # resp.rules[0].not_device_operating_systems #=> Array
1859
+ # resp.rules[0].not_device_operating_systems[0] #=> String
1860
+ # resp.rules[0].device_user_agents #=> Array
1861
+ # resp.rules[0].device_user_agents[0] #=> String
1862
+ # resp.rules[0].not_device_user_agents #=> Array
1863
+ # resp.rules[0].not_device_user_agents[0] #=> String
1864
+ # resp.rules[0].date_created #=> Time
1865
+ # resp.rules[0].date_modified #=> Time
1866
+ #
1867
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListMobileDeviceAccessRules AWS API Documentation
1868
+ #
1869
+ # @overload list_mobile_device_access_rules(params = {})
1870
+ # @param [Hash] params ({})
1871
+ def list_mobile_device_access_rules(params = {}, options = {})
1872
+ req = build_request(:list_mobile_device_access_rules, params)
1873
+ req.send_request(options)
1874
+ end
1875
+
1662
1876
  # Returns summaries of the customer's organizations.
1663
1877
  #
1664
1878
  # @option params [String] :next_token
@@ -2266,6 +2480,82 @@ module Aws::WorkMail
2266
2480
  req.send_request(options)
2267
2481
  end
2268
2482
 
2483
+ # Updates a mobile device access rule for the specified Amazon WorkMail
2484
+ # organization.
2485
+ #
2486
+ # @option params [required, String] :organization_id
2487
+ # The Amazon WorkMail organization under which the rule will be updated.
2488
+ #
2489
+ # @option params [required, String] :mobile_device_access_rule_id
2490
+ # The identifier of the rule to be updated.
2491
+ #
2492
+ # @option params [required, String] :name
2493
+ # The updated rule name.
2494
+ #
2495
+ # @option params [String] :description
2496
+ # The updated rule description.
2497
+ #
2498
+ # @option params [required, String] :effect
2499
+ # The effect of the rule when it matches. Allowed values are `ALLOW` or
2500
+ # `DENY`.
2501
+ #
2502
+ # @option params [Array<String>] :device_types
2503
+ # Device types that the updated rule will match.
2504
+ #
2505
+ # @option params [Array<String>] :not_device_types
2506
+ # Device types that the updated rule **will not** match. All other
2507
+ # device types will match.
2508
+ #
2509
+ # @option params [Array<String>] :device_models
2510
+ # Device models that the updated rule will match.
2511
+ #
2512
+ # @option params [Array<String>] :not_device_models
2513
+ # Device models that the updated rule **will not** match. All other
2514
+ # device models will match.
2515
+ #
2516
+ # @option params [Array<String>] :device_operating_systems
2517
+ # Device operating systems that the updated rule will match.
2518
+ #
2519
+ # @option params [Array<String>] :not_device_operating_systems
2520
+ # Device operating systems that the updated rule **will not** match. All
2521
+ # other device operating systems will match.
2522
+ #
2523
+ # @option params [Array<String>] :device_user_agents
2524
+ # User agents that the updated rule will match.
2525
+ #
2526
+ # @option params [Array<String>] :not_device_user_agents
2527
+ # User agents that the updated rule **will not** match. All other user
2528
+ # agents will match.
2529
+ #
2530
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2531
+ #
2532
+ # @example Request syntax with placeholder values
2533
+ #
2534
+ # resp = client.update_mobile_device_access_rule({
2535
+ # organization_id: "OrganizationId", # required
2536
+ # mobile_device_access_rule_id: "MobileDeviceAccessRuleId", # required
2537
+ # name: "MobileDeviceAccessRuleName", # required
2538
+ # description: "MobileDeviceAccessRuleDescription",
2539
+ # effect: "ALLOW", # required, accepts ALLOW, DENY
2540
+ # device_types: ["DeviceType"],
2541
+ # not_device_types: ["DeviceType"],
2542
+ # device_models: ["DeviceModel"],
2543
+ # not_device_models: ["DeviceModel"],
2544
+ # device_operating_systems: ["DeviceOperatingSystem"],
2545
+ # not_device_operating_systems: ["DeviceOperatingSystem"],
2546
+ # device_user_agents: ["DeviceUserAgent"],
2547
+ # not_device_user_agents: ["DeviceUserAgent"],
2548
+ # })
2549
+ #
2550
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/UpdateMobileDeviceAccessRule AWS API Documentation
2551
+ #
2552
+ # @overload update_mobile_device_access_rule(params = {})
2553
+ # @param [Hash] params ({})
2554
+ def update_mobile_device_access_rule(params = {}, options = {})
2555
+ req = build_request(:update_mobile_device_access_rule, params)
2556
+ req.send_request(options)
2557
+ end
2558
+
2269
2559
  # Updates the primary email for a user, group, or resource. The current
2270
2560
  # email is moved into the list of aliases (or swapped between an
2271
2561
  # existing alias and the current primary email), and the email provided
@@ -2354,7 +2644,7 @@ module Aws::WorkMail
2354
2644
  params: params,
2355
2645
  config: config)
2356
2646
  context[:gem_name] = 'aws-sdk-workmail'
2357
- context[:gem_version] = '1.34.0'
2647
+ context[:gem_version] = '1.38.0'
2358
2648
  Seahorse::Client::Request.new(handlers, context)
2359
2649
  end
2360
2650