aws-sdk-workmail 1.31.0 → 1.36.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: aa262f787229c1ac22030ca5e42509a565316c1fb27982390307da801d695f58
4
- data.tar.gz: 05177c05acb9c022b8b1de2b545c6b6b7b761550331e8f2d729bf529d723a853
3
+ metadata.gz: dda04d1b3b97636df23d342c6ed0c681b53eafb0dd51bf1975066ebc419db222
4
+ data.tar.gz: ac2d561621e53271ed9596838695ef97081e79dbf590e20efd3129bd6fae6245
5
5
  SHA512:
6
- metadata.gz: b5e976757c3654755bd02bb994781811b48cd43477eafdb1dcbdc1579b85ab66a888deb603a6c9044af8128d4495ed91c98f10f51734f3bcb6dcf2e86ab2a41f
7
- data.tar.gz: 933caa91ecfd21111ee7fcc8b50dc3be65d4910ec9422cc8d413078a5c80d7e394f6781101b0195a448f660ba22bc7ea6d514bf82048b58c5c50ccc5f37dbda9
6
+ metadata.gz: 4a0a59795a4db4e4e1c74d8a6920fdaeea2d2c5e9926af67824dbacd995d468af5d1cf8b3c761fdec91f41d613225ca7da34cc791a1a7cd40d20ff6ce49a5b51
7
+ data.tar.gz: e1a22aee04470996fea101297697222af988f69284080700abcc8bc31cf42f6b469e2d83e04a831cb21b949e722ef07b2b10347e0b8d0c4331472887ad0e0d8b
data/CHANGELOG.md ADDED
@@ -0,0 +1,193 @@
1
+ Unreleased Changes
2
+ ------------------
3
+
4
+ 1.36.0 (2021-03-10)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.35.0 (2021-02-03)
10
+ ------------------
11
+
12
+ * Feature - Increased maximum length of ipRanges values for Access Control Rules from 10 to 1024.
13
+
14
+ 1.34.0 (2021-02-02)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.33.0 (2020-10-28)
20
+ ------------------
21
+
22
+ * Feature - Documentation update for Amazon WorkMail
23
+
24
+ 1.32.0 (2020-10-15)
25
+ ------------------
26
+
27
+ * Feature - Add CreateOrganization and DeleteOrganization API operations.
28
+
29
+ 1.31.0 (2020-09-30)
30
+ ------------------
31
+
32
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
33
+
34
+ 1.30.0 (2020-09-22)
35
+ ------------------
36
+
37
+ * Feature - Adding support for Mailbox Export APIs
38
+
39
+ 1.29.0 (2020-09-15)
40
+ ------------------
41
+
42
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
43
+
44
+ 1.28.0 (2020-08-25)
45
+ ------------------
46
+
47
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
48
+
49
+ 1.27.0 (2020-06-23)
50
+ ------------------
51
+
52
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
53
+
54
+ 1.26.1 (2020-06-11)
55
+ ------------------
56
+
57
+ * Issue - Republish previous version with correct dependency on `aws-sdk-core`.
58
+
59
+ 1.26.0 (2020-06-10)
60
+ ------------------
61
+
62
+ * Issue - This version has been yanked. (#2327).
63
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
64
+
65
+ 1.25.0 (2020-05-28)
66
+ ------------------
67
+
68
+ * Feature - This release adds support for Amazon WorkMail organization-level retention policies.
69
+
70
+ 1.24.0 (2020-05-12)
71
+ ------------------
72
+
73
+ * Feature - Minor API fixes and updates to the documentation.
74
+
75
+ 1.23.0 (2020-05-07)
76
+ ------------------
77
+
78
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
79
+
80
+ 1.22.0 (2020-03-09)
81
+ ------------------
82
+
83
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
84
+
85
+ 1.21.0 (2020-02-12)
86
+ ------------------
87
+
88
+ * Feature - This release adds support for access control rules management in Amazon WorkMail.
89
+
90
+ 1.20.0 (2020-02-04)
91
+ ------------------
92
+
93
+ * Feature - This release adds support for tagging Amazon WorkMail organizations.
94
+
95
+ 1.19.0 (2019-10-23)
96
+ ------------------
97
+
98
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
99
+
100
+ 1.18.0 (2019-07-25)
101
+ ------------------
102
+
103
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
104
+
105
+ 1.17.0 (2019-07-01)
106
+ ------------------
107
+
108
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
109
+
110
+ 1.16.0 (2019-06-17)
111
+ ------------------
112
+
113
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
114
+
115
+ 1.15.0 (2019-05-21)
116
+ ------------------
117
+
118
+ * Feature - API update.
119
+
120
+ 1.14.0 (2019-05-15)
121
+ ------------------
122
+
123
+ * Feature - API update.
124
+
125
+ 1.13.0 (2019-05-14)
126
+ ------------------
127
+
128
+ * Feature - API update.
129
+
130
+ 1.12.0 (2019-05-03)
131
+ ------------------
132
+
133
+ * Feature - API update.
134
+
135
+ 1.11.0 (2019-03-26)
136
+ ------------------
137
+
138
+ * Feature - API update.
139
+
140
+ 1.10.0 (2019-03-21)
141
+ ------------------
142
+
143
+ * Feature - API update.
144
+
145
+ 1.9.0 (2019-03-18)
146
+ ------------------
147
+
148
+ * Feature - API update.
149
+
150
+ 1.8.0 (2019-03-14)
151
+ ------------------
152
+
153
+ * Feature - API update.
154
+
155
+ 1.7.0 (2018-11-20)
156
+ ------------------
157
+
158
+ * Feature - API update.
159
+
160
+ 1.6.0 (2018-10-24)
161
+ ------------------
162
+
163
+ * Feature - API update.
164
+
165
+ 1.5.0 (2018-10-23)
166
+ ------------------
167
+
168
+ * Feature - API update.
169
+
170
+ 1.4.0 (2018-09-06)
171
+ ------------------
172
+
173
+ * Feature - Adds code paths and plugins for future SDK instrumentation and telemetry.
174
+
175
+ 1.3.0 (2018-09-05)
176
+ ------------------
177
+
178
+ * Feature - API update.
179
+
180
+ 1.2.0 (2018-06-26)
181
+ ------------------
182
+
183
+ * Feature - API update.
184
+
185
+ 1.1.0 (2018-04-10)
186
+ ------------------
187
+
188
+ * Feature - API update.
189
+
190
+ 1.0.0 (2017-12-12)
191
+ ------------------
192
+
193
+ * 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.36.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.31.0'
51
+ GEM_VERSION = '1.36.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,90 @@ module Aws::WorkMail
499
499
  req.send_request(options)
500
500
  end
501
501
 
502
+ # Creates a new Amazon WorkMail organization. Optionally, you can choose
503
+ # to associate an existing AWS Directory Service directory with your
504
+ # organization. If an AWS Directory Service directory ID is specified,
505
+ # the organization alias must match the directory alias. If you choose
506
+ # not to associate an existing directory with your organization, then we
507
+ # create a new Amazon WorkMail directory for you. For more information,
508
+ # see [Adding an organization][1] in the *Amazon WorkMail Administrator
509
+ # Guide*.
510
+ #
511
+ # You can associate multiple email domains with an organization, then
512
+ # set your default email domain from the Amazon WorkMail console. You
513
+ # can also associate a domain that is managed in an Amazon Route 53
514
+ # public hosted zone. For more information, see [Adding a domain][2] and
515
+ # [Choosing the default domain][3] in the *Amazon WorkMail Administrator
516
+ # Guide*.
517
+ #
518
+ # Optionally, you can use a customer managed master key from AWS Key
519
+ # Management Service (AWS KMS) to encrypt email for your organization.
520
+ # If you don't associate an AWS KMS key, Amazon WorkMail creates a
521
+ # default AWS managed master key for you.
522
+ #
523
+ #
524
+ #
525
+ # [1]: https://docs.aws.amazon.com/workmail/latest/adminguide/add_new_organization.html
526
+ # [2]: https://docs.aws.amazon.com/workmail/latest/adminguide/add_domain.html
527
+ # [3]: https://docs.aws.amazon.com/workmail/latest/adminguide/default_domain.html
528
+ #
529
+ # @option params [String] :directory_id
530
+ # The AWS Directory Service directory ID.
531
+ #
532
+ # @option params [required, String] :alias
533
+ # The organization alias.
534
+ #
535
+ # @option params [String] :client_token
536
+ # The idempotency token associated with the request.
537
+ #
538
+ # **A suitable default value is auto-generated.** You should normally
539
+ # not need to pass this option.**
540
+ #
541
+ # @option params [Array<Types::Domain>] :domains
542
+ # The email domains to associate with the organization.
543
+ #
544
+ # @option params [String] :kms_key_arn
545
+ # The Amazon Resource Name (ARN) of a customer managed master key from
546
+ # AWS KMS.
547
+ #
548
+ # @option params [Boolean] :enable_interoperability
549
+ # When `true`, allows organization interoperability between Amazon
550
+ # WorkMail and Microsoft Exchange. Can only be set to `true` if an AD
551
+ # Connector directory ID is included in the request.
552
+ #
553
+ # @return [Types::CreateOrganizationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
554
+ #
555
+ # * {Types::CreateOrganizationResponse#organization_id #organization_id} => String
556
+ #
557
+ # @example Request syntax with placeholder values
558
+ #
559
+ # resp = client.create_organization({
560
+ # directory_id: "DirectoryId",
561
+ # alias: "OrganizationName", # required
562
+ # client_token: "IdempotencyClientToken",
563
+ # domains: [
564
+ # {
565
+ # domain_name: "DomainName",
566
+ # hosted_zone_id: "HostedZoneId",
567
+ # },
568
+ # ],
569
+ # kms_key_arn: "KmsKeyArn",
570
+ # enable_interoperability: false,
571
+ # })
572
+ #
573
+ # @example Response structure
574
+ #
575
+ # resp.organization_id #=> String
576
+ #
577
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateOrganization AWS API Documentation
578
+ #
579
+ # @overload create_organization(params = {})
580
+ # @param [Hash] params ({})
581
+ def create_organization(params = {}, options = {})
582
+ req = build_request(:create_organization, params)
583
+ req.send_request(options)
584
+ end
585
+
502
586
  # Creates a new Amazon WorkMail resource.
503
587
  #
504
588
  # @option params [required, String] :organization_id
@@ -544,8 +628,8 @@ module Aws::WorkMail
544
628
  # The identifier of the organization for which the user is created.
545
629
  #
546
630
  # @option params [required, String] :name
547
- # The name for the new user. Simple AD or AD Connector user names have a
548
- # maximum length of 20. All others have a maximum length of 64.
631
+ # The name for the new user. WorkMail directory user names have a
632
+ # maximum length of 64. All others have a maximum length of 20.
549
633
  #
550
634
  # @option params [required, String] :display_name
551
635
  # The display name for the new user.
@@ -673,7 +757,7 @@ module Aws::WorkMail
673
757
  # group) exists.
674
758
  #
675
759
  # @option params [required, String] :entity_id
676
- # The identifier of the member (user or group)that owns the mailbox.
760
+ # The identifier of the member (user or group) that owns the mailbox.
677
761
  #
678
762
  # @option params [required, String] :grantee_id
679
763
  # The identifier of the member (user or group) for which to delete
@@ -698,6 +782,56 @@ module Aws::WorkMail
698
782
  req.send_request(options)
699
783
  end
700
784
 
785
+ # Deletes an Amazon WorkMail organization and all underlying AWS
786
+ # resources managed by Amazon WorkMail as part of the organization. You
787
+ # can choose whether to delete the associated directory. For more
788
+ # information, see [Removing an organization][1] in the *Amazon WorkMail
789
+ # Administrator Guide*.
790
+ #
791
+ #
792
+ #
793
+ # [1]: https://docs.aws.amazon.com/workmail/latest/adminguide/remove_organization.html
794
+ #
795
+ # @option params [String] :client_token
796
+ # The idempotency token associated with the request.
797
+ #
798
+ # **A suitable default value is auto-generated.** You should normally
799
+ # not need to pass this option.**
800
+ #
801
+ # @option params [required, String] :organization_id
802
+ # The organization ID.
803
+ #
804
+ # @option params [required, Boolean] :delete_directory
805
+ # If true, deletes the AWS Directory Service directory associated with
806
+ # the organization.
807
+ #
808
+ # @return [Types::DeleteOrganizationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
809
+ #
810
+ # * {Types::DeleteOrganizationResponse#organization_id #organization_id} => String
811
+ # * {Types::DeleteOrganizationResponse#state #state} => String
812
+ #
813
+ # @example Request syntax with placeholder values
814
+ #
815
+ # resp = client.delete_organization({
816
+ # client_token: "IdempotencyClientToken",
817
+ # organization_id: "OrganizationId", # required
818
+ # delete_directory: false, # required
819
+ # })
820
+ #
821
+ # @example Response structure
822
+ #
823
+ # resp.organization_id #=> String
824
+ # resp.state #=> String
825
+ #
826
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteOrganization AWS API Documentation
827
+ #
828
+ # @overload delete_organization(params = {})
829
+ # @param [Hash] params ({})
830
+ def delete_organization(params = {}, options = {})
831
+ req = build_request(:delete_organization, params)
832
+ req.send_request(options)
833
+ end
834
+
701
835
  # Deletes the specified resource.
702
836
  #
703
837
  # @option params [required, String] :organization_id
@@ -1553,6 +1687,7 @@ module Aws::WorkMail
1553
1687
  # resp.organization_summaries #=> Array
1554
1688
  # resp.organization_summaries[0].organization_id #=> String
1555
1689
  # resp.organization_summaries[0].alias #=> String
1690
+ # resp.organization_summaries[0].default_mail_domain #=> String
1556
1691
  # resp.organization_summaries[0].error_message #=> String
1557
1692
  # resp.organization_summaries[0].state #=> String
1558
1693
  # resp.next_token #=> String
@@ -2219,7 +2354,7 @@ module Aws::WorkMail
2219
2354
  params: params,
2220
2355
  config: config)
2221
2356
  context[:gem_name] = 'aws-sdk-workmail'
2222
- context[:gem_version] = '1.31.0'
2357
+ context[:gem_version] = '1.36.0'
2223
2358
  Seahorse::Client::Request.new(handlers, context)
2224
2359
  end
2225
2360
 
@@ -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
 
@@ -35,6 +35,8 @@ module Aws::WorkMail
35
35
  CreateAliasResponse = Shapes::StructureShape.new(name: 'CreateAliasResponse')
36
36
  CreateGroupRequest = Shapes::StructureShape.new(name: 'CreateGroupRequest')
37
37
  CreateGroupResponse = Shapes::StructureShape.new(name: 'CreateGroupResponse')
38
+ CreateOrganizationRequest = Shapes::StructureShape.new(name: 'CreateOrganizationRequest')
39
+ CreateOrganizationResponse = Shapes::StructureShape.new(name: 'CreateOrganizationResponse')
38
40
  CreateResourceRequest = Shapes::StructureShape.new(name: 'CreateResourceRequest')
39
41
  CreateResourceResponse = Shapes::StructureShape.new(name: 'CreateResourceResponse')
40
42
  CreateUserRequest = Shapes::StructureShape.new(name: 'CreateUserRequest')
@@ -48,6 +50,8 @@ module Aws::WorkMail
48
50
  DeleteGroupResponse = Shapes::StructureShape.new(name: 'DeleteGroupResponse')
49
51
  DeleteMailboxPermissionsRequest = Shapes::StructureShape.new(name: 'DeleteMailboxPermissionsRequest')
50
52
  DeleteMailboxPermissionsResponse = Shapes::StructureShape.new(name: 'DeleteMailboxPermissionsResponse')
53
+ DeleteOrganizationRequest = Shapes::StructureShape.new(name: 'DeleteOrganizationRequest')
54
+ DeleteOrganizationResponse = Shapes::StructureShape.new(name: 'DeleteOrganizationResponse')
51
55
  DeleteResourceRequest = Shapes::StructureShape.new(name: 'DeleteResourceRequest')
52
56
  DeleteResourceResponse = Shapes::StructureShape.new(name: 'DeleteResourceResponse')
53
57
  DeleteRetentionPolicyRequest = Shapes::StructureShape.new(name: 'DeleteRetentionPolicyRequest')
@@ -67,12 +71,17 @@ module Aws::WorkMail
67
71
  DescribeUserRequest = Shapes::StructureShape.new(name: 'DescribeUserRequest')
68
72
  DescribeUserResponse = Shapes::StructureShape.new(name: 'DescribeUserResponse')
69
73
  Description = Shapes::StringShape.new(name: 'Description')
74
+ DirectoryId = Shapes::StringShape.new(name: 'DirectoryId')
75
+ DirectoryInUseException = Shapes::StructureShape.new(name: 'DirectoryInUseException')
70
76
  DirectoryServiceAuthenticationFailedException = Shapes::StructureShape.new(name: 'DirectoryServiceAuthenticationFailedException')
71
77
  DirectoryUnavailableException = Shapes::StructureShape.new(name: 'DirectoryUnavailableException')
72
78
  DisassociateDelegateFromResourceRequest = Shapes::StructureShape.new(name: 'DisassociateDelegateFromResourceRequest')
73
79
  DisassociateDelegateFromResourceResponse = Shapes::StructureShape.new(name: 'DisassociateDelegateFromResourceResponse')
74
80
  DisassociateMemberFromGroupRequest = Shapes::StructureShape.new(name: 'DisassociateMemberFromGroupRequest')
75
81
  DisassociateMemberFromGroupResponse = Shapes::StructureShape.new(name: 'DisassociateMemberFromGroupResponse')
82
+ Domain = Shapes::StructureShape.new(name: 'Domain')
83
+ DomainName = Shapes::StringShape.new(name: 'DomainName')
84
+ Domains = Shapes::ListShape.new(name: 'Domains')
76
85
  EmailAddress = Shapes::StringShape.new(name: 'EmailAddress')
77
86
  EmailAddressInUseException = Shapes::StructureShape.new(name: 'EmailAddressInUseException')
78
87
  EntityAlreadyRegisteredException = Shapes::StructureShape.new(name: 'EntityAlreadyRegisteredException')
@@ -91,6 +100,7 @@ module Aws::WorkMail
91
100
  Group = Shapes::StructureShape.new(name: 'Group')
92
101
  GroupName = Shapes::StringShape.new(name: 'GroupName')
93
102
  Groups = Shapes::ListShape.new(name: 'Groups')
103
+ HostedZoneId = Shapes::StringShape.new(name: 'HostedZoneId')
94
104
  IdempotencyClientToken = Shapes::StringShape.new(name: 'IdempotencyClientToken')
95
105
  InvalidConfigurationException = Shapes::StructureShape.new(name: 'InvalidConfigurationException')
96
106
  InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
@@ -263,6 +273,17 @@ module Aws::WorkMail
263
273
  CreateGroupResponse.add_member(:group_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, location_name: "GroupId"))
264
274
  CreateGroupResponse.struct_class = Types::CreateGroupResponse
265
275
 
276
+ CreateOrganizationRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
277
+ CreateOrganizationRequest.add_member(:alias, Shapes::ShapeRef.new(shape: OrganizationName, required: true, location_name: "Alias"))
278
+ CreateOrganizationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
279
+ CreateOrganizationRequest.add_member(:domains, Shapes::ShapeRef.new(shape: Domains, location_name: "Domains"))
280
+ CreateOrganizationRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "KmsKeyArn"))
281
+ CreateOrganizationRequest.add_member(:enable_interoperability, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableInteroperability"))
282
+ CreateOrganizationRequest.struct_class = Types::CreateOrganizationRequest
283
+
284
+ CreateOrganizationResponse.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, location_name: "OrganizationId"))
285
+ CreateOrganizationResponse.struct_class = Types::CreateOrganizationResponse
286
+
266
287
  CreateResourceRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
267
288
  CreateResourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "Name"))
268
289
  CreateResourceRequest.add_member(:type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "Type"))
@@ -310,6 +331,15 @@ module Aws::WorkMail
310
331
 
311
332
  DeleteMailboxPermissionsResponse.struct_class = Types::DeleteMailboxPermissionsResponse
312
333
 
334
+ DeleteOrganizationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
335
+ DeleteOrganizationRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
336
+ DeleteOrganizationRequest.add_member(:delete_directory, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "DeleteDirectory"))
337
+ DeleteOrganizationRequest.struct_class = Types::DeleteOrganizationRequest
338
+
339
+ DeleteOrganizationResponse.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, location_name: "OrganizationId"))
340
+ DeleteOrganizationResponse.add_member(:state, Shapes::ShapeRef.new(shape: String, location_name: "State"))
341
+ DeleteOrganizationResponse.struct_class = Types::DeleteOrganizationResponse
342
+
313
343
  DeleteResourceRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
314
344
  DeleteResourceRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ResourceId"))
315
345
  DeleteResourceRequest.struct_class = Types::DeleteResourceRequest
@@ -406,6 +436,9 @@ module Aws::WorkMail
406
436
  DescribeUserResponse.add_member(:disabled_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DisabledDate"))
407
437
  DescribeUserResponse.struct_class = Types::DescribeUserResponse
408
438
 
439
+ DirectoryInUseException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
440
+ DirectoryInUseException.struct_class = Types::DirectoryInUseException
441
+
409
442
  DirectoryServiceAuthenticationFailedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
410
443
  DirectoryServiceAuthenticationFailedException.struct_class = Types::DirectoryServiceAuthenticationFailedException
411
444
 
@@ -426,6 +459,12 @@ module Aws::WorkMail
426
459
 
427
460
  DisassociateMemberFromGroupResponse.struct_class = Types::DisassociateMemberFromGroupResponse
428
461
 
462
+ Domain.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "DomainName"))
463
+ Domain.add_member(:hosted_zone_id, Shapes::ShapeRef.new(shape: HostedZoneId, location_name: "HostedZoneId"))
464
+ Domain.struct_class = Types::Domain
465
+
466
+ Domains.member = Shapes::ShapeRef.new(shape: Domain)
467
+
429
468
  EmailAddressInUseException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
430
469
  EmailAddressInUseException.struct_class = Types::EmailAddressInUseException
431
470
 
@@ -634,6 +673,7 @@ module Aws::WorkMail
634
673
 
635
674
  OrganizationSummary.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, location_name: "OrganizationId"))
636
675
  OrganizationSummary.add_member(:alias, Shapes::ShapeRef.new(shape: OrganizationName, location_name: "Alias"))
676
+ OrganizationSummary.add_member(:default_mail_domain, Shapes::ShapeRef.new(shape: DomainName, location_name: "DefaultMailDomain"))
637
677
  OrganizationSummary.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "ErrorMessage"))
638
678
  OrganizationSummary.add_member(:state, Shapes::ShapeRef.new(shape: String, location_name: "State"))
639
679
  OrganizationSummary.struct_class = Types::OrganizationSummary
@@ -878,6 +918,19 @@ module Aws::WorkMail
878
918
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
879
919
  end)
880
920
 
921
+ api.add_operation(:create_organization, Seahorse::Model::Operation.new.tap do |o|
922
+ o.name = "CreateOrganization"
923
+ o.http_method = "POST"
924
+ o.http_request_uri = "/"
925
+ o.input = Shapes::ShapeRef.new(shape: CreateOrganizationRequest)
926
+ o.output = Shapes::ShapeRef.new(shape: CreateOrganizationResponse)
927
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
928
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryInUseException)
929
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
930
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
931
+ o.errors << Shapes::ShapeRef.new(shape: NameAvailabilityException)
932
+ end)
933
+
881
934
  api.add_operation(:create_resource, Seahorse::Model::Operation.new.tap do |o|
882
935
  o.name = "CreateResource"
883
936
  o.http_method = "POST"
@@ -961,6 +1014,17 @@ module Aws::WorkMail
961
1014
  o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
962
1015
  end)
963
1016
 
1017
+ api.add_operation(:delete_organization, Seahorse::Model::Operation.new.tap do |o|
1018
+ o.name = "DeleteOrganization"
1019
+ o.http_method = "POST"
1020
+ o.http_request_uri = "/"
1021
+ o.input = Shapes::ShapeRef.new(shape: DeleteOrganizationRequest)
1022
+ o.output = Shapes::ShapeRef.new(shape: DeleteOrganizationResponse)
1023
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1024
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
1025
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
1026
+ end)
1027
+
964
1028
  api.add_operation(:delete_resource, Seahorse::Model::Operation.new.tap do |o|
965
1029
  o.name = "DeleteResource"
966
1030
  o.http_method = "POST"
@@ -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
 
@@ -27,6 +27,7 @@ module Aws::WorkMail
27
27
  # See {Seahorse::Client::RequestContext} for more information.
28
28
  #
29
29
  # ## Error Classes
30
+ # * {DirectoryInUseException}
30
31
  # * {DirectoryServiceAuthenticationFailedException}
31
32
  # * {DirectoryUnavailableException}
32
33
  # * {EmailAddressInUseException}
@@ -53,6 +54,21 @@ module Aws::WorkMail
53
54
 
54
55
  extend Aws::Errors::DynamicErrors
55
56
 
57
+ class DirectoryInUseException < ServiceError
58
+
59
+ # @param [Seahorse::Client::RequestContext] context
60
+ # @param [String] message
61
+ # @param [Aws::WorkMail::Types::DirectoryInUseException] data
62
+ def initialize(context, message, data = Aws::EmptyStructure.new)
63
+ super(context, message, data)
64
+ end
65
+
66
+ # @return [String]
67
+ def message
68
+ @message || @data[:message]
69
+ end
70
+ end
71
+
56
72
  class DirectoryServiceAuthenticationFailedException < ServiceError
57
73
 
58
74
  # @param [Seahorse::Client::RequestContext] context
@@ -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
 
@@ -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
 
@@ -295,6 +295,78 @@ module Aws::WorkMail
295
295
  include Aws::Structure
296
296
  end
297
297
 
298
+ # @note When making an API call, you may pass CreateOrganizationRequest
299
+ # data as a hash:
300
+ #
301
+ # {
302
+ # directory_id: "DirectoryId",
303
+ # alias: "OrganizationName", # required
304
+ # client_token: "IdempotencyClientToken",
305
+ # domains: [
306
+ # {
307
+ # domain_name: "DomainName",
308
+ # hosted_zone_id: "HostedZoneId",
309
+ # },
310
+ # ],
311
+ # kms_key_arn: "KmsKeyArn",
312
+ # enable_interoperability: false,
313
+ # }
314
+ #
315
+ # @!attribute [rw] directory_id
316
+ # The AWS Directory Service directory ID.
317
+ # @return [String]
318
+ #
319
+ # @!attribute [rw] alias
320
+ # The organization alias.
321
+ # @return [String]
322
+ #
323
+ # @!attribute [rw] client_token
324
+ # The idempotency token associated with the request.
325
+ #
326
+ # **A suitable default value is auto-generated.** You should normally
327
+ # not need to pass this option.
328
+ # @return [String]
329
+ #
330
+ # @!attribute [rw] domains
331
+ # The email domains to associate with the organization.
332
+ # @return [Array<Types::Domain>]
333
+ #
334
+ # @!attribute [rw] kms_key_arn
335
+ # The Amazon Resource Name (ARN) of a customer managed master key from
336
+ # AWS KMS.
337
+ # @return [String]
338
+ #
339
+ # @!attribute [rw] enable_interoperability
340
+ # When `true`, allows organization interoperability between Amazon
341
+ # WorkMail and Microsoft Exchange. Can only be set to `true` if an AD
342
+ # Connector directory ID is included in the request.
343
+ # @return [Boolean]
344
+ #
345
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateOrganizationRequest AWS API Documentation
346
+ #
347
+ class CreateOrganizationRequest < Struct.new(
348
+ :directory_id,
349
+ :alias,
350
+ :client_token,
351
+ :domains,
352
+ :kms_key_arn,
353
+ :enable_interoperability)
354
+ SENSITIVE = []
355
+ include Aws::Structure
356
+ end
357
+
358
+ # @!attribute [rw] organization_id
359
+ # The organization ID.
360
+ # @return [String]
361
+ #
362
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateOrganizationResponse AWS API Documentation
363
+ #
364
+ class CreateOrganizationResponse < Struct.new(
365
+ :organization_id)
366
+ SENSITIVE = []
367
+ include Aws::Structure
368
+ end
369
+
298
370
  # @note When making an API call, you may pass CreateResourceRequest
299
371
  # data as a hash:
300
372
  #
@@ -355,8 +427,8 @@ module Aws::WorkMail
355
427
  # @return [String]
356
428
  #
357
429
  # @!attribute [rw] name
358
- # The name for the new user. Simple AD or AD Connector user names have
359
- # a maximum length of 20. All others have a maximum length of 64.
430
+ # The name for the new user. WorkMail directory user names have a
431
+ # maximum length of 64. All others have a maximum length of 20.
360
432
  # @return [String]
361
433
  #
362
434
  # @!attribute [rw] display_name
@@ -522,7 +594,7 @@ module Aws::WorkMail
522
594
  # @return [String]
523
595
  #
524
596
  # @!attribute [rw] entity_id
525
- # The identifier of the member (user or group)that owns the mailbox.
597
+ # The identifier of the member (user or group) that owns the mailbox.
526
598
  # @return [String]
527
599
  #
528
600
  # @!attribute [rw] grantee_id
@@ -544,6 +616,58 @@ module Aws::WorkMail
544
616
  #
545
617
  class DeleteMailboxPermissionsResponse < Aws::EmptyStructure; end
546
618
 
619
+ # @note When making an API call, you may pass DeleteOrganizationRequest
620
+ # data as a hash:
621
+ #
622
+ # {
623
+ # client_token: "IdempotencyClientToken",
624
+ # organization_id: "OrganizationId", # required
625
+ # delete_directory: false, # required
626
+ # }
627
+ #
628
+ # @!attribute [rw] client_token
629
+ # The idempotency token associated with the request.
630
+ #
631
+ # **A suitable default value is auto-generated.** You should normally
632
+ # not need to pass this option.
633
+ # @return [String]
634
+ #
635
+ # @!attribute [rw] organization_id
636
+ # The organization ID.
637
+ # @return [String]
638
+ #
639
+ # @!attribute [rw] delete_directory
640
+ # If true, deletes the AWS Directory Service directory associated with
641
+ # the organization.
642
+ # @return [Boolean]
643
+ #
644
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteOrganizationRequest AWS API Documentation
645
+ #
646
+ class DeleteOrganizationRequest < Struct.new(
647
+ :client_token,
648
+ :organization_id,
649
+ :delete_directory)
650
+ SENSITIVE = []
651
+ include Aws::Structure
652
+ end
653
+
654
+ # @!attribute [rw] organization_id
655
+ # The organization ID.
656
+ # @return [String]
657
+ #
658
+ # @!attribute [rw] state
659
+ # The state of the organization.
660
+ # @return [String]
661
+ #
662
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteOrganizationResponse AWS API Documentation
663
+ #
664
+ class DeleteOrganizationResponse < Struct.new(
665
+ :organization_id,
666
+ :state)
667
+ SENSITIVE = []
668
+ include Aws::Structure
669
+ end
670
+
547
671
  # @note When making an API call, you may pass DeleteResourceRequest
548
672
  # data as a hash:
549
673
  #
@@ -1055,6 +1179,20 @@ module Aws::WorkMail
1055
1179
  include Aws::Structure
1056
1180
  end
1057
1181
 
1182
+ # The directory is already in use by another WorkMail organization in
1183
+ # the same account and Region.
1184
+ #
1185
+ # @!attribute [rw] message
1186
+ # @return [String]
1187
+ #
1188
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DirectoryInUseException AWS API Documentation
1189
+ #
1190
+ class DirectoryInUseException < Struct.new(
1191
+ :message)
1192
+ SENSITIVE = []
1193
+ include Aws::Structure
1194
+ end
1195
+
1058
1196
  # The directory service doesn't recognize the credentials supplied by
1059
1197
  # WorkMail.
1060
1198
  #
@@ -1069,8 +1207,8 @@ module Aws::WorkMail
1069
1207
  include Aws::Structure
1070
1208
  end
1071
1209
 
1072
- # The directory on which you are trying to perform operations isn't
1073
- # available.
1210
+ # The directory is unavailable. It might be located in another Region or
1211
+ # deleted.
1074
1212
  #
1075
1213
  # @!attribute [rw] message
1076
1214
  # @return [String]
@@ -1155,6 +1293,43 @@ module Aws::WorkMail
1155
1293
  #
1156
1294
  class DisassociateMemberFromGroupResponse < Aws::EmptyStructure; end
1157
1295
 
1296
+ # The domain to associate with an Amazon WorkMail organization.
1297
+ #
1298
+ # When you configure a domain hosted in Amazon Route 53 (Route 53), all
1299
+ # recommended DNS records are added to the organization when you create
1300
+ # it. For more information, see [Adding a domain][1] in the *Amazon
1301
+ # WorkMail Administrator Guide*.
1302
+ #
1303
+ #
1304
+ #
1305
+ # [1]: https://docs.aws.amazon.com/workmail/latest/adminguide/add_domain.html
1306
+ #
1307
+ # @note When making an API call, you may pass Domain
1308
+ # data as a hash:
1309
+ #
1310
+ # {
1311
+ # domain_name: "DomainName",
1312
+ # hosted_zone_id: "HostedZoneId",
1313
+ # }
1314
+ #
1315
+ # @!attribute [rw] domain_name
1316
+ # The fully qualified domain name.
1317
+ # @return [String]
1318
+ #
1319
+ # @!attribute [rw] hosted_zone_id
1320
+ # The hosted zone ID for a domain hosted in Route 53. Required when
1321
+ # configuring a domain hosted in Route 53.
1322
+ # @return [String]
1323
+ #
1324
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/Domain AWS API Documentation
1325
+ #
1326
+ class Domain < Struct.new(
1327
+ :domain_name,
1328
+ :hosted_zone_id)
1329
+ SENSITIVE = []
1330
+ include Aws::Structure
1331
+ end
1332
+
1158
1333
  # The email address that you're trying to assign is already created for
1159
1334
  # a different user, group, or resource.
1160
1335
  #
@@ -2179,8 +2354,8 @@ module Aws::WorkMail
2179
2354
  include Aws::Structure
2180
2355
  end
2181
2356
 
2182
- # The organization must have a valid state (Active or Synchronizing) to
2183
- # perform certain operations on the organization or its members.
2357
+ # The organization must have a valid state to perform certain operations
2358
+ # on the organization or its members.
2184
2359
  #
2185
2360
  # @!attribute [rw] message
2186
2361
  # @return [String]
@@ -2203,6 +2378,10 @@ module Aws::WorkMail
2203
2378
  # The alias associated with the organization.
2204
2379
  # @return [String]
2205
2380
  #
2381
+ # @!attribute [rw] default_mail_domain
2382
+ # The default email domain associated with the organization.
2383
+ # @return [String]
2384
+ #
2206
2385
  # @!attribute [rw] error_message
2207
2386
  # The error message associated with the organization. It is only
2208
2387
  # present if unexpected behavior has occurred with regards to the
@@ -2219,6 +2398,7 @@ module Aws::WorkMail
2219
2398
  class OrganizationSummary < Struct.new(
2220
2399
  :organization_id,
2221
2400
  :alias,
2401
+ :default_mail_domain,
2222
2402
  :error_message,
2223
2403
  :state)
2224
2404
  SENSITIVE = []
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.31.0
4
+ version: 1.36.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: 2020-09-30 00:00:00.000000000 Z
11
+ date: 2021-03-10 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.109.0
22
+ version: 3.112.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.109.0
32
+ version: 3.112.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -47,11 +47,14 @@ dependencies:
47
47
  description: Official AWS Ruby gem for Amazon WorkMail. This gem is part of the AWS
48
48
  SDK for Ruby.
49
49
  email:
50
- - trevrowe@amazon.com
50
+ - aws-dr-rubygems@amazon.com
51
51
  executables: []
52
52
  extensions: []
53
53
  extra_rdoc_files: []
54
54
  files:
55
+ - CHANGELOG.md
56
+ - LICENSE.txt
57
+ - VERSION
55
58
  - lib/aws-sdk-workmail.rb
56
59
  - lib/aws-sdk-workmail/client.rb
57
60
  - lib/aws-sdk-workmail/client_api.rb