aws-sdk-workmail 1.14.0 → 1.15.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
  SHA1:
3
- metadata.gz: ba173d8f808bd476bc5b2afca1d00ed549a41543
4
- data.tar.gz: 207d1a107b5d72fd6bd875b0366c00105883268d
3
+ metadata.gz: ed8c0dfb07e8ed07fc2c7f3f8a483bc7163f2d0b
4
+ data.tar.gz: 502d4170d3e766af7b93ef1d666704bab8b54925
5
5
  SHA512:
6
- metadata.gz: c704f6ecd798615c60b6844471e12ccf0b733fba6567256441db6bd9202351058fa75fa52890a93f7d1395324386ebaf934029ded59b5fad3b044d34809916ed
7
- data.tar.gz: c3bed024db146ca4f8dc8f05e421ef7aff89cc30b303f9056b40cb511d3135148524f34d6d8d00744823b984ac8c4571453e172e64821c8fa1c63137704efcc0
6
+ metadata.gz: 6c46c2a380064ad1fdaa140482337acc43a66ad39eccbdd31bca6db7b3f99d5a76f64815f92587c7976c6fb443295a8a4739a0ecdc989507c230b89c215dbc06
7
+ data.tar.gz: 4565e4cab434221b2bc5420646fbeb57ee59b0709b4f4b666226321373e53b0399a86332f75d46d3c03f8b73bfb5249db7abc9ed0e36b08a765ab3c4bf8e8169
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-workmail/customizations'
42
42
  # @service
43
43
  module Aws::WorkMail
44
44
 
45
- GEM_VERSION = '1.14.0'
45
+ GEM_VERSION = '1.15.0'
46
46
 
47
47
  end
@@ -1532,7 +1532,7 @@ module Aws::WorkMail
1532
1532
  params: params,
1533
1533
  config: config)
1534
1534
  context[:gem_name] = 'aws-sdk-workmail'
1535
- context[:gem_version] = '1.14.0'
1535
+ context[:gem_version] = '1.15.0'
1536
1536
  Seahorse::Client::Request.new(handlers, context)
1537
1537
  end
1538
1538
 
@@ -279,6 +279,12 @@ module Aws::WorkMail
279
279
  DescribeUserResponse.add_member(:disabled_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DisabledDate"))
280
280
  DescribeUserResponse.struct_class = Types::DescribeUserResponse
281
281
 
282
+ DirectoryServiceAuthenticationFailedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
283
+ DirectoryServiceAuthenticationFailedException.struct_class = Types::DirectoryServiceAuthenticationFailedException
284
+
285
+ DirectoryUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
286
+ DirectoryUnavailableException.struct_class = Types::DirectoryUnavailableException
287
+
282
288
  DisassociateDelegateFromResourceRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
283
289
  DisassociateDelegateFromResourceRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ResourceId"))
284
290
  DisassociateDelegateFromResourceRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "EntityId"))
@@ -293,6 +299,18 @@ module Aws::WorkMail
293
299
 
294
300
  DisassociateMemberFromGroupResponse.struct_class = Types::DisassociateMemberFromGroupResponse
295
301
 
302
+ EmailAddressInUseException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
303
+ EmailAddressInUseException.struct_class = Types::EmailAddressInUseException
304
+
305
+ EntityAlreadyRegisteredException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
306
+ EntityAlreadyRegisteredException.struct_class = Types::EntityAlreadyRegisteredException
307
+
308
+ EntityNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
309
+ EntityNotFoundException.struct_class = Types::EntityNotFoundException
310
+
311
+ EntityStateException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
312
+ EntityStateException.struct_class = Types::EntityStateException
313
+
296
314
  GetMailboxDetailsRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
297
315
  GetMailboxDetailsRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "UserId"))
298
316
  GetMailboxDetailsRequest.struct_class = Types::GetMailboxDetailsRequest
@@ -311,6 +329,15 @@ module Aws::WorkMail
311
329
 
312
330
  Groups.member = Shapes::ShapeRef.new(shape: Group)
313
331
 
332
+ InvalidConfigurationException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
333
+ InvalidConfigurationException.struct_class = Types::InvalidConfigurationException
334
+
335
+ InvalidParameterException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
336
+ InvalidParameterException.struct_class = Types::InvalidParameterException
337
+
338
+ InvalidPasswordException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
339
+ InvalidPasswordException.struct_class = Types::InvalidPasswordException
340
+
314
341
  ListAliasesRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
315
342
  ListAliasesRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "EntityId"))
316
343
  ListAliasesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
@@ -386,6 +413,12 @@ module Aws::WorkMail
386
413
  ListUsersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
387
414
  ListUsersResponse.struct_class = Types::ListUsersResponse
388
415
 
416
+ MailDomainNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
417
+ MailDomainNotFoundException.struct_class = Types::MailDomainNotFoundException
418
+
419
+ MailDomainStateException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
420
+ MailDomainStateException.struct_class = Types::MailDomainStateException
421
+
389
422
  Member.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "Id"))
390
423
  Member.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
391
424
  Member.add_member(:type, Shapes::ShapeRef.new(shape: MemberType, location_name: "Type"))
@@ -396,6 +429,15 @@ module Aws::WorkMail
396
429
 
397
430
  Members.member = Shapes::ShapeRef.new(shape: Member)
398
431
 
432
+ NameAvailabilityException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
433
+ NameAvailabilityException.struct_class = Types::NameAvailabilityException
434
+
435
+ OrganizationNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
436
+ OrganizationNotFoundException.struct_class = Types::OrganizationNotFoundException
437
+
438
+ OrganizationStateException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
439
+ OrganizationStateException.struct_class = Types::OrganizationStateException
440
+
399
441
  OrganizationSummaries.member = Shapes::ShapeRef.new(shape: OrganizationSummary)
400
442
 
401
443
  OrganizationSummary.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, location_name: "OrganizationId"))
@@ -428,6 +470,9 @@ module Aws::WorkMail
428
470
 
429
471
  RegisterToWorkMailResponse.struct_class = Types::RegisterToWorkMailResponse
430
472
 
473
+ ReservedNameException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
474
+ ReservedNameException.struct_class = Types::ReservedNameException
475
+
431
476
  ResetPasswordRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
432
477
  ResetPasswordRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "UserId"))
433
478
  ResetPasswordRequest.add_member(:password, Shapes::ShapeRef.new(shape: Password, required: true, location_name: "Password"))
@@ -448,6 +493,9 @@ module Aws::WorkMail
448
493
 
449
494
  Resources.member = Shapes::ShapeRef.new(shape: Resource)
450
495
 
496
+ UnsupportedOperationException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
497
+ UnsupportedOperationException.struct_class = Types::UnsupportedOperationException
498
+
451
499
  UpdateMailboxQuotaRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
452
500
  UpdateMailboxQuotaRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "UserId"))
453
501
  UpdateMailboxQuotaRequest.add_member(:mailbox_quota, Shapes::ShapeRef.new(shape: MailboxQuota, required: true, location_name: "MailboxQuota"))
@@ -10,5 +10,261 @@ module Aws::WorkMail
10
10
 
11
11
  extend Aws::Errors::DynamicErrors
12
12
 
13
+ class DirectoryServiceAuthenticationFailedException < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::WorkMail::Types::DirectoryServiceAuthenticationFailedException] data
18
+ def initialize(context, message, data = Aws::EmptyStructure.new)
19
+ super(context, message, data)
20
+ end
21
+
22
+ # @return [String]
23
+ def message
24
+ @message || @data[:message]
25
+ end
26
+
27
+ end
28
+
29
+ class DirectoryUnavailableException < ServiceError
30
+
31
+ # @param [Seahorse::Client::RequestContext] context
32
+ # @param [String] message
33
+ # @param [Aws::WorkMail::Types::DirectoryUnavailableException] data
34
+ def initialize(context, message, data = Aws::EmptyStructure.new)
35
+ super(context, message, data)
36
+ end
37
+
38
+ # @return [String]
39
+ def message
40
+ @message || @data[:message]
41
+ end
42
+
43
+ end
44
+
45
+ class EmailAddressInUseException < ServiceError
46
+
47
+ # @param [Seahorse::Client::RequestContext] context
48
+ # @param [String] message
49
+ # @param [Aws::WorkMail::Types::EmailAddressInUseException] data
50
+ def initialize(context, message, data = Aws::EmptyStructure.new)
51
+ super(context, message, data)
52
+ end
53
+
54
+ # @return [String]
55
+ def message
56
+ @message || @data[:message]
57
+ end
58
+
59
+ end
60
+
61
+ class EntityAlreadyRegisteredException < ServiceError
62
+
63
+ # @param [Seahorse::Client::RequestContext] context
64
+ # @param [String] message
65
+ # @param [Aws::WorkMail::Types::EntityAlreadyRegisteredException] data
66
+ def initialize(context, message, data = Aws::EmptyStructure.new)
67
+ super(context, message, data)
68
+ end
69
+
70
+ # @return [String]
71
+ def message
72
+ @message || @data[:message]
73
+ end
74
+
75
+ end
76
+
77
+ class EntityNotFoundException < ServiceError
78
+
79
+ # @param [Seahorse::Client::RequestContext] context
80
+ # @param [String] message
81
+ # @param [Aws::WorkMail::Types::EntityNotFoundException] data
82
+ def initialize(context, message, data = Aws::EmptyStructure.new)
83
+ super(context, message, data)
84
+ end
85
+
86
+ # @return [String]
87
+ def message
88
+ @message || @data[:message]
89
+ end
90
+
91
+ end
92
+
93
+ class EntityStateException < ServiceError
94
+
95
+ # @param [Seahorse::Client::RequestContext] context
96
+ # @param [String] message
97
+ # @param [Aws::WorkMail::Types::EntityStateException] data
98
+ def initialize(context, message, data = Aws::EmptyStructure.new)
99
+ super(context, message, data)
100
+ end
101
+
102
+ # @return [String]
103
+ def message
104
+ @message || @data[:message]
105
+ end
106
+
107
+ end
108
+
109
+ class InvalidConfigurationException < ServiceError
110
+
111
+ # @param [Seahorse::Client::RequestContext] context
112
+ # @param [String] message
113
+ # @param [Aws::WorkMail::Types::InvalidConfigurationException] data
114
+ def initialize(context, message, data = Aws::EmptyStructure.new)
115
+ super(context, message, data)
116
+ end
117
+
118
+ # @return [String]
119
+ def message
120
+ @message || @data[:message]
121
+ end
122
+
123
+ end
124
+
125
+ class InvalidParameterException < ServiceError
126
+
127
+ # @param [Seahorse::Client::RequestContext] context
128
+ # @param [String] message
129
+ # @param [Aws::WorkMail::Types::InvalidParameterException] data
130
+ def initialize(context, message, data = Aws::EmptyStructure.new)
131
+ super(context, message, data)
132
+ end
133
+
134
+ # @return [String]
135
+ def message
136
+ @message || @data[:message]
137
+ end
138
+
139
+ end
140
+
141
+ class InvalidPasswordException < ServiceError
142
+
143
+ # @param [Seahorse::Client::RequestContext] context
144
+ # @param [String] message
145
+ # @param [Aws::WorkMail::Types::InvalidPasswordException] data
146
+ def initialize(context, message, data = Aws::EmptyStructure.new)
147
+ super(context, message, data)
148
+ end
149
+
150
+ # @return [String]
151
+ def message
152
+ @message || @data[:message]
153
+ end
154
+
155
+ end
156
+
157
+ class MailDomainNotFoundException < ServiceError
158
+
159
+ # @param [Seahorse::Client::RequestContext] context
160
+ # @param [String] message
161
+ # @param [Aws::WorkMail::Types::MailDomainNotFoundException] data
162
+ def initialize(context, message, data = Aws::EmptyStructure.new)
163
+ super(context, message, data)
164
+ end
165
+
166
+ # @return [String]
167
+ def message
168
+ @message || @data[:message]
169
+ end
170
+
171
+ end
172
+
173
+ class MailDomainStateException < ServiceError
174
+
175
+ # @param [Seahorse::Client::RequestContext] context
176
+ # @param [String] message
177
+ # @param [Aws::WorkMail::Types::MailDomainStateException] data
178
+ def initialize(context, message, data = Aws::EmptyStructure.new)
179
+ super(context, message, data)
180
+ end
181
+
182
+ # @return [String]
183
+ def message
184
+ @message || @data[:message]
185
+ end
186
+
187
+ end
188
+
189
+ class NameAvailabilityException < ServiceError
190
+
191
+ # @param [Seahorse::Client::RequestContext] context
192
+ # @param [String] message
193
+ # @param [Aws::WorkMail::Types::NameAvailabilityException] data
194
+ def initialize(context, message, data = Aws::EmptyStructure.new)
195
+ super(context, message, data)
196
+ end
197
+
198
+ # @return [String]
199
+ def message
200
+ @message || @data[:message]
201
+ end
202
+
203
+ end
204
+
205
+ class OrganizationNotFoundException < ServiceError
206
+
207
+ # @param [Seahorse::Client::RequestContext] context
208
+ # @param [String] message
209
+ # @param [Aws::WorkMail::Types::OrganizationNotFoundException] data
210
+ def initialize(context, message, data = Aws::EmptyStructure.new)
211
+ super(context, message, data)
212
+ end
213
+
214
+ # @return [String]
215
+ def message
216
+ @message || @data[:message]
217
+ end
218
+
219
+ end
220
+
221
+ class OrganizationStateException < ServiceError
222
+
223
+ # @param [Seahorse::Client::RequestContext] context
224
+ # @param [String] message
225
+ # @param [Aws::WorkMail::Types::OrganizationStateException] data
226
+ def initialize(context, message, data = Aws::EmptyStructure.new)
227
+ super(context, message, data)
228
+ end
229
+
230
+ # @return [String]
231
+ def message
232
+ @message || @data[:message]
233
+ end
234
+
235
+ end
236
+
237
+ class ReservedNameException < ServiceError
238
+
239
+ # @param [Seahorse::Client::RequestContext] context
240
+ # @param [String] message
241
+ # @param [Aws::WorkMail::Types::ReservedNameException] data
242
+ def initialize(context, message, data = Aws::EmptyStructure.new)
243
+ super(context, message, data)
244
+ end
245
+
246
+ # @return [String]
247
+ def message
248
+ @message || @data[:message]
249
+ end
250
+
251
+ end
252
+
253
+ class UnsupportedOperationException < ServiceError
254
+
255
+ # @param [Seahorse::Client::RequestContext] context
256
+ # @param [String] message
257
+ # @param [Aws::WorkMail::Types::UnsupportedOperationException] data
258
+ def initialize(context, message, data = Aws::EmptyStructure.new)
259
+ super(context, message, data)
260
+ end
261
+
262
+ # @return [String]
263
+ def message
264
+ @message || @data[:message]
265
+ end
266
+
267
+ end
268
+
13
269
  end
14
270
  end
@@ -762,6 +762,32 @@ module Aws::WorkMail
762
762
  include Aws::Structure
763
763
  end
764
764
 
765
+ # The directory service doesn't recognize the credentials supplied by
766
+ # WorkMail.
767
+ #
768
+ # @!attribute [rw] message
769
+ # @return [String]
770
+ #
771
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DirectoryServiceAuthenticationFailedException AWS API Documentation
772
+ #
773
+ class DirectoryServiceAuthenticationFailedException < Struct.new(
774
+ :message)
775
+ include Aws::Structure
776
+ end
777
+
778
+ # The directory on which you are trying to perform operations isn't
779
+ # available.
780
+ #
781
+ # @!attribute [rw] message
782
+ # @return [String]
783
+ #
784
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DirectoryUnavailableException AWS API Documentation
785
+ #
786
+ class DirectoryUnavailableException < Struct.new(
787
+ :message)
788
+ include Aws::Structure
789
+ end
790
+
765
791
  # @note When making an API call, you may pass DisassociateDelegateFromResourceRequest
766
792
  # data as a hash:
767
793
  #
@@ -832,6 +858,58 @@ module Aws::WorkMail
832
858
  #
833
859
  class DisassociateMemberFromGroupResponse < Aws::EmptyStructure; end
834
860
 
861
+ # The email address that you're trying to assign is already created for
862
+ # a different user, group, or resource.
863
+ #
864
+ # @!attribute [rw] message
865
+ # @return [String]
866
+ #
867
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/EmailAddressInUseException AWS API Documentation
868
+ #
869
+ class EmailAddressInUseException < Struct.new(
870
+ :message)
871
+ include Aws::Structure
872
+ end
873
+
874
+ # The user, group, or resource that you're trying to register is
875
+ # already registered.
876
+ #
877
+ # @!attribute [rw] message
878
+ # @return [String]
879
+ #
880
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/EntityAlreadyRegisteredException AWS API Documentation
881
+ #
882
+ class EntityAlreadyRegisteredException < Struct.new(
883
+ :message)
884
+ include Aws::Structure
885
+ end
886
+
887
+ # The identifier supplied for the user, group, or resource does not
888
+ # exist in your organization.
889
+ #
890
+ # @!attribute [rw] message
891
+ # @return [String]
892
+ #
893
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/EntityNotFoundException AWS API Documentation
894
+ #
895
+ class EntityNotFoundException < Struct.new(
896
+ :message)
897
+ include Aws::Structure
898
+ end
899
+
900
+ # You are performing an operation on a user, group, or resource that
901
+ # isn't in the expected state, such as trying to delete an active user.
902
+ #
903
+ # @!attribute [rw] message
904
+ # @return [String]
905
+ #
906
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/EntityStateException AWS API Documentation
907
+ #
908
+ class EntityStateException < Struct.new(
909
+ :message)
910
+ include Aws::Structure
911
+ end
912
+
835
913
  # @note When making an API call, you may pass GetMailboxDetailsRequest
836
914
  # data as a hash:
837
915
  #
@@ -914,6 +992,46 @@ module Aws::WorkMail
914
992
  include Aws::Structure
915
993
  end
916
994
 
995
+ # The configuration for a resource isn't valid. A resource must either
996
+ # be able to auto-respond to requests or have at least one delegate
997
+ # associated that can do so on its behalf.
998
+ #
999
+ # @!attribute [rw] message
1000
+ # @return [String]
1001
+ #
1002
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/InvalidConfigurationException AWS API Documentation
1003
+ #
1004
+ class InvalidConfigurationException < Struct.new(
1005
+ :message)
1006
+ include Aws::Structure
1007
+ end
1008
+
1009
+ # One or more of the input parameters don't match the service's
1010
+ # restrictions.
1011
+ #
1012
+ # @!attribute [rw] message
1013
+ # @return [String]
1014
+ #
1015
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/InvalidParameterException AWS API Documentation
1016
+ #
1017
+ class InvalidParameterException < Struct.new(
1018
+ :message)
1019
+ include Aws::Structure
1020
+ end
1021
+
1022
+ # The supplied password doesn't match the minimum security constraints,
1023
+ # such as length or use of special characters.
1024
+ #
1025
+ # @!attribute [rw] message
1026
+ # @return [String]
1027
+ #
1028
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/InvalidPasswordException AWS API Documentation
1029
+ #
1030
+ class InvalidPasswordException < Struct.new(
1031
+ :message)
1032
+ include Aws::Structure
1033
+ end
1034
+
917
1035
  # @note When making an API call, you may pass ListAliasesRequest
918
1036
  # data as a hash:
919
1037
  #
@@ -1323,6 +1441,32 @@ module Aws::WorkMail
1323
1441
  include Aws::Structure
1324
1442
  end
1325
1443
 
1444
+ # For an email or alias to be created in Amazon WorkMail, the included
1445
+ # domain must be defined in the organization.
1446
+ #
1447
+ # @!attribute [rw] message
1448
+ # @return [String]
1449
+ #
1450
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/MailDomainNotFoundException AWS API Documentation
1451
+ #
1452
+ class MailDomainNotFoundException < Struct.new(
1453
+ :message)
1454
+ include Aws::Structure
1455
+ end
1456
+
1457
+ # After a domain has been added to the organization, it must be
1458
+ # verified. The domain is not yet verified.
1459
+ #
1460
+ # @!attribute [rw] message
1461
+ # @return [String]
1462
+ #
1463
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/MailDomainStateException AWS API Documentation
1464
+ #
1465
+ class MailDomainStateException < Struct.new(
1466
+ :message)
1467
+ include Aws::Structure
1468
+ end
1469
+
1326
1470
  # The representation of a user or group.
1327
1471
  #
1328
1472
  # @!attribute [rw] id
@@ -1363,6 +1507,44 @@ module Aws::WorkMail
1363
1507
  include Aws::Structure
1364
1508
  end
1365
1509
 
1510
+ # The user, group, or resource name isn't unique in Amazon WorkMail.
1511
+ #
1512
+ # @!attribute [rw] message
1513
+ # @return [String]
1514
+ #
1515
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/NameAvailabilityException AWS API Documentation
1516
+ #
1517
+ class NameAvailabilityException < Struct.new(
1518
+ :message)
1519
+ include Aws::Structure
1520
+ end
1521
+
1522
+ # An operation received a valid organization identifier that either
1523
+ # doesn't belong or exist in the system.
1524
+ #
1525
+ # @!attribute [rw] message
1526
+ # @return [String]
1527
+ #
1528
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/OrganizationNotFoundException AWS API Documentation
1529
+ #
1530
+ class OrganizationNotFoundException < Struct.new(
1531
+ :message)
1532
+ include Aws::Structure
1533
+ end
1534
+
1535
+ # The organization must have a valid state (Active or Synchronizing) to
1536
+ # perform certain operations on the organization or its members.
1537
+ #
1538
+ # @!attribute [rw] message
1539
+ # @return [String]
1540
+ #
1541
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/OrganizationStateException AWS API Documentation
1542
+ #
1543
+ class OrganizationStateException < Struct.new(
1544
+ :message)
1545
+ include Aws::Structure
1546
+ end
1547
+
1366
1548
  # The representation of an organization.
1367
1549
  #
1368
1550
  # @!attribute [rw] organization_id
@@ -1509,6 +1691,18 @@ module Aws::WorkMail
1509
1691
  #
1510
1692
  class RegisterToWorkMailResponse < Aws::EmptyStructure; end
1511
1693
 
1694
+ # This user, group, or resource name is not allowed in Amazon WorkMail.
1695
+ #
1696
+ # @!attribute [rw] message
1697
+ # @return [String]
1698
+ #
1699
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ReservedNameException AWS API Documentation
1700
+ #
1701
+ class ReservedNameException < Struct.new(
1702
+ :message)
1703
+ include Aws::Structure
1704
+ end
1705
+
1512
1706
  # @note When making an API call, you may pass ResetPasswordRequest
1513
1707
  # data as a hash:
1514
1708
  #
@@ -1590,6 +1784,18 @@ module Aws::WorkMail
1590
1784
  include Aws::Structure
1591
1785
  end
1592
1786
 
1787
+ # You can't perform a write operation against a read-only directory.
1788
+ #
1789
+ # @!attribute [rw] message
1790
+ # @return [String]
1791
+ #
1792
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/UnsupportedOperationException AWS API Documentation
1793
+ #
1794
+ class UnsupportedOperationException < Struct.new(
1795
+ :message)
1796
+ include Aws::Structure
1797
+ end
1798
+
1593
1799
  # @note When making an API call, you may pass UpdateMailboxQuotaRequest
1594
1800
  # data as a hash:
1595
1801
  #
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.14.0
4
+ version: 1.15.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: 2019-05-15 00:00:00.000000000 Z
11
+ date: 2019-05-21 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.52.1
22
+ version: 3.53.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.52.1
32
+ version: 3.53.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement