aws-sdk-workdocs 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: 543c0beb243406509c1ce16bad11f6df28a92597
4
- data.tar.gz: bf64f8266587eb85b91d0d20fe5035d186b60d98
3
+ metadata.gz: 56945f5e6c854e4dad7ffae077dcf640885ce025
4
+ data.tar.gz: db6391f1e8556bb649665556a89a7ab0d74c6e10
5
5
  SHA512:
6
- metadata.gz: ee8c7247d2cd93df570d8fd0919927b1d2c122ccae8d3cc2c557184574981f673c38196ebb4ae08abb96c17dea4646d53f0eed997cff7b1249d0bce73150461c
7
- data.tar.gz: b7f837b2c10f89ef8fdcc33a304a911e374aadfcaa85be96c20dfbcace447da7eaee7572f4eecf7930cbc81a97db2f5700fe68de16d7f911b3e8d59b44ff44d9
6
+ metadata.gz: 8f3d90b153a542ce8db2ec473ca1ff1b0b034991ebfe923b7acaa155923bb0ae11b797b3a40842aeeacbe8057caaa63a62b20404f6f7d49245cc9c457936aebc
7
+ data.tar.gz: fa7087db1733c3f2f010d294c336526ac36b86b25c38e5c34c0eb98a2ccc025037a570ec6cd7b1eb7aecb291a17d03414b5123c35dd33ca9d1750ce4fa03eeae
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-workdocs/customizations'
42
42
  # @service
43
43
  module Aws::WorkDocs
44
44
 
45
- GEM_VERSION = '1.14.0'
45
+ GEM_VERSION = '1.15.0'
46
46
 
47
47
  end
@@ -2523,7 +2523,7 @@ module Aws::WorkDocs
2523
2523
  params: params,
2524
2524
  config: config)
2525
2525
  context[:gem_name] = 'aws-sdk-workdocs'
2526
- context[:gem_version] = '1.14.0'
2526
+ context[:gem_version] = '1.15.0'
2527
2527
  Seahorse::Client::Request.new(handlers, context)
2528
2528
  end
2529
2529
 
@@ -263,6 +263,12 @@ module Aws::WorkDocs
263
263
  CommentMetadata.add_member(:recipient_id, Shapes::ShapeRef.new(shape: IdType, location_name: "RecipientId"))
264
264
  CommentMetadata.struct_class = Types::CommentMetadata
265
265
 
266
+ ConcurrentModificationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message"))
267
+ ConcurrentModificationException.struct_class = Types::ConcurrentModificationException
268
+
269
+ ConflictingOperationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message"))
270
+ ConflictingOperationException.struct_class = Types::ConflictingOperationException
271
+
266
272
  CreateCommentRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication"))
267
273
  CreateCommentRequest.add_member(:document_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "DocumentId"))
268
274
  CreateCommentRequest.add_member(:version_id, Shapes::ShapeRef.new(shape: DocumentVersionIdType, required: true, location: "uri", location_name: "VersionId"))
@@ -324,6 +330,9 @@ module Aws::WorkDocs
324
330
 
325
331
  CustomMetadataKeyList.member = Shapes::ShapeRef.new(shape: CustomMetadataKeyType)
326
332
 
333
+ CustomMetadataLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message"))
334
+ CustomMetadataLimitExceededException.struct_class = Types::CustomMetadataLimitExceededException
335
+
327
336
  CustomMetadataMap.key = Shapes::ShapeRef.new(shape: CustomMetadataKeyType)
328
337
  CustomMetadataMap.value = Shapes::ShapeRef.new(shape: CustomMetadataValueType)
329
338
 
@@ -485,6 +494,9 @@ module Aws::WorkDocs
485
494
  DescribeUsersResponse.add_member(:marker, Shapes::ShapeRef.new(shape: PageMarkerType, location_name: "Marker"))
486
495
  DescribeUsersResponse.struct_class = Types::DescribeUsersResponse
487
496
 
497
+ DocumentLockedForCommentsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message"))
498
+ DocumentLockedForCommentsException.struct_class = Types::DocumentLockedForCommentsException
499
+
488
500
  DocumentMetadata.add_member(:id, Shapes::ShapeRef.new(shape: ResourceIdType, location_name: "Id"))
489
501
  DocumentMetadata.add_member(:creator_id, Shapes::ShapeRef.new(shape: IdType, location_name: "CreatorId"))
490
502
  DocumentMetadata.add_member(:parent_folder_id, Shapes::ShapeRef.new(shape: ResourceIdType, location_name: "ParentFolderId"))
@@ -520,8 +532,21 @@ module Aws::WorkDocs
520
532
 
521
533
  DocumentVersionMetadataList.member = Shapes::ShapeRef.new(shape: DocumentVersionMetadata)
522
534
 
535
+ DraftUploadOutOfSyncException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message"))
536
+ DraftUploadOutOfSyncException.struct_class = Types::DraftUploadOutOfSyncException
537
+
538
+ EntityAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message"))
539
+ EntityAlreadyExistsException.struct_class = Types::EntityAlreadyExistsException
540
+
523
541
  EntityIdList.member = Shapes::ShapeRef.new(shape: IdType)
524
542
 
543
+ EntityNotExistsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message"))
544
+ EntityNotExistsException.add_member(:entity_ids, Shapes::ShapeRef.new(shape: EntityIdList, location_name: "EntityIds"))
545
+ EntityNotExistsException.struct_class = Types::EntityNotExistsException
546
+
547
+ FailedDependencyException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message"))
548
+ FailedDependencyException.struct_class = Types::FailedDependencyException
549
+
525
550
  FolderMetadata.add_member(:id, Shapes::ShapeRef.new(shape: ResourceIdType, location_name: "Id"))
526
551
  FolderMetadata.add_member(:name, Shapes::ShapeRef.new(shape: ResourceNameType, location_name: "Name"))
527
552
  FolderMetadata.add_member(:creator_id, Shapes::ShapeRef.new(shape: IdType, location_name: "CreatorId"))
@@ -610,6 +635,9 @@ module Aws::WorkDocs
610
635
 
611
636
  GroupMetadataList.member = Shapes::ShapeRef.new(shape: GroupMetadata)
612
637
 
638
+ IllegalUserStateException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message"))
639
+ IllegalUserStateException.struct_class = Types::IllegalUserStateException
640
+
613
641
  InitiateDocumentVersionUploadRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication"))
614
642
  InitiateDocumentVersionUploadRequest.add_member(:id, Shapes::ShapeRef.new(shape: ResourceIdType, location_name: "Id"))
615
643
  InitiateDocumentVersionUploadRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceNameType, location_name: "Name"))
@@ -624,6 +652,21 @@ module Aws::WorkDocs
624
652
  InitiateDocumentVersionUploadResponse.add_member(:upload_metadata, Shapes::ShapeRef.new(shape: UploadMetadata, location_name: "UploadMetadata"))
625
653
  InitiateDocumentVersionUploadResponse.struct_class = Types::InitiateDocumentVersionUploadResponse
626
654
 
655
+ InvalidArgumentException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message"))
656
+ InvalidArgumentException.struct_class = Types::InvalidArgumentException
657
+
658
+ InvalidCommentOperationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message"))
659
+ InvalidCommentOperationException.struct_class = Types::InvalidCommentOperationException
660
+
661
+ InvalidOperationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message"))
662
+ InvalidOperationException.struct_class = Types::InvalidOperationException
663
+
664
+ InvalidPasswordException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message"))
665
+ InvalidPasswordException.struct_class = Types::InvalidPasswordException
666
+
667
+ LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message"))
668
+ LimitExceededException.struct_class = Types::LimitExceededException
669
+
627
670
  NotificationOptions.add_member(:send_email, Shapes::ShapeRef.new(shape: BooleanType, location_name: "SendEmail"))
628
671
  NotificationOptions.add_member(:email_message, Shapes::ShapeRef.new(shape: MessageType, location_name: "EmailMessage"))
629
672
  NotificationOptions.struct_class = Types::NotificationOptions
@@ -647,6 +690,9 @@ module Aws::WorkDocs
647
690
 
648
691
  PrincipalList.member = Shapes::ShapeRef.new(shape: Principal)
649
692
 
693
+ ProhibitedStateException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message"))
694
+ ProhibitedStateException.struct_class = Types::ProhibitedStateException
695
+
650
696
  RemoveAllResourcePermissionsRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication"))
651
697
  RemoveAllResourcePermissionsRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "ResourceId"))
652
698
  RemoveAllResourcePermissionsRequest.struct_class = Types::RemoveAllResourcePermissionsRequest
@@ -657,6 +703,12 @@ module Aws::WorkDocs
657
703
  RemoveResourcePermissionRequest.add_member(:principal_type, Shapes::ShapeRef.new(shape: PrincipalType, location: "querystring", location_name: "type"))
658
704
  RemoveResourcePermissionRequest.struct_class = Types::RemoveResourcePermissionRequest
659
705
 
706
+ RequestedEntityTooLargeException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message"))
707
+ RequestedEntityTooLargeException.struct_class = Types::RequestedEntityTooLargeException
708
+
709
+ ResourceAlreadyCheckedOutException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message"))
710
+ ResourceAlreadyCheckedOutException.struct_class = Types::ResourceAlreadyCheckedOutException
711
+
660
712
  ResourceMetadata.add_member(:type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "Type"))
661
713
  ResourceMetadata.add_member(:name, Shapes::ShapeRef.new(shape: ResourceNameType, location_name: "Name"))
662
714
  ResourceMetadata.add_member(:original_name, Shapes::ShapeRef.new(shape: ResourceNameType, location_name: "OriginalName"))
@@ -675,6 +727,9 @@ module Aws::WorkDocs
675
727
 
676
728
  ResourcePathComponentList.member = Shapes::ShapeRef.new(shape: ResourcePathComponent)
677
729
 
730
+ ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message"))
731
+ ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
732
+
678
733
  SharePrincipal.add_member(:id, Shapes::ShapeRef.new(shape: IdType, required: true, location_name: "Id"))
679
734
  SharePrincipal.add_member(:type, Shapes::ShapeRef.new(shape: PrincipalType, required: true, location_name: "Type"))
680
735
  SharePrincipal.add_member(:role, Shapes::ShapeRef.new(shape: RoleType, required: true, location_name: "Role"))
@@ -697,6 +752,12 @@ module Aws::WorkDocs
697
752
  SignedHeaderMap.key = Shapes::ShapeRef.new(shape: HeaderNameType)
698
753
  SignedHeaderMap.value = Shapes::ShapeRef.new(shape: HeaderValueType)
699
754
 
755
+ StorageLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message"))
756
+ StorageLimitExceededException.struct_class = Types::StorageLimitExceededException
757
+
758
+ StorageLimitWillExceedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message"))
759
+ StorageLimitWillExceedException.struct_class = Types::StorageLimitWillExceedException
760
+
700
761
  StorageRuleType.add_member(:storage_allocated_in_bytes, Shapes::ShapeRef.new(shape: PositiveSizeType, location_name: "StorageAllocatedInBytes"))
701
762
  StorageRuleType.add_member(:storage_type, Shapes::ShapeRef.new(shape: StorageType, location_name: "StorageType"))
702
763
  StorageRuleType.struct_class = Types::StorageRuleType
@@ -708,6 +769,15 @@ module Aws::WorkDocs
708
769
 
709
770
  SubscriptionList.member = Shapes::ShapeRef.new(shape: Subscription)
710
771
 
772
+ TooManyLabelsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message"))
773
+ TooManyLabelsException.struct_class = Types::TooManyLabelsException
774
+
775
+ TooManySubscriptionsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message"))
776
+ TooManySubscriptionsException.struct_class = Types::TooManySubscriptionsException
777
+
778
+ UnauthorizedResourceAccessException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message"))
779
+ UnauthorizedResourceAccessException.struct_class = Types::UnauthorizedResourceAccessException
780
+
711
781
  UpdateDocumentRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication"))
712
782
  UpdateDocumentRequest.add_member(:document_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "DocumentId"))
713
783
  UpdateDocumentRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceNameType, location_name: "Name"))
@@ -10,5 +10,378 @@ module Aws::WorkDocs
10
10
 
11
11
  extend Aws::Errors::DynamicErrors
12
12
 
13
+ class ConcurrentModificationException < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::WorkDocs::Types::ConcurrentModificationException] 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 ConflictingOperationException < ServiceError
30
+
31
+ # @param [Seahorse::Client::RequestContext] context
32
+ # @param [String] message
33
+ # @param [Aws::WorkDocs::Types::ConflictingOperationException] 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 CustomMetadataLimitExceededException < ServiceError
46
+
47
+ # @param [Seahorse::Client::RequestContext] context
48
+ # @param [String] message
49
+ # @param [Aws::WorkDocs::Types::CustomMetadataLimitExceededException] 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 DocumentLockedForCommentsException < ServiceError
62
+
63
+ # @param [Seahorse::Client::RequestContext] context
64
+ # @param [String] message
65
+ # @param [Aws::WorkDocs::Types::DocumentLockedForCommentsException] 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 DraftUploadOutOfSyncException < ServiceError
78
+
79
+ # @param [Seahorse::Client::RequestContext] context
80
+ # @param [String] message
81
+ # @param [Aws::WorkDocs::Types::DraftUploadOutOfSyncException] 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 EntityAlreadyExistsException < ServiceError
94
+
95
+ # @param [Seahorse::Client::RequestContext] context
96
+ # @param [String] message
97
+ # @param [Aws::WorkDocs::Types::EntityAlreadyExistsException] 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 EntityNotExistsException < ServiceError
110
+
111
+ # @param [Seahorse::Client::RequestContext] context
112
+ # @param [String] message
113
+ # @param [Aws::WorkDocs::Types::EntityNotExistsException] 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
+ # @return [String]
124
+ def entity_ids
125
+ @data[:entity_ids]
126
+ end
127
+
128
+ end
129
+
130
+ class FailedDependencyException < ServiceError
131
+
132
+ # @param [Seahorse::Client::RequestContext] context
133
+ # @param [String] message
134
+ # @param [Aws::WorkDocs::Types::FailedDependencyException] data
135
+ def initialize(context, message, data = Aws::EmptyStructure.new)
136
+ super(context, message, data)
137
+ end
138
+
139
+ # @return [String]
140
+ def message
141
+ @message || @data[:message]
142
+ end
143
+
144
+ end
145
+
146
+ class IllegalUserStateException < ServiceError
147
+
148
+ # @param [Seahorse::Client::RequestContext] context
149
+ # @param [String] message
150
+ # @param [Aws::WorkDocs::Types::IllegalUserStateException] data
151
+ def initialize(context, message, data = Aws::EmptyStructure.new)
152
+ super(context, message, data)
153
+ end
154
+
155
+ # @return [String]
156
+ def message
157
+ @message || @data[:message]
158
+ end
159
+
160
+ end
161
+
162
+ class InvalidArgumentException < ServiceError
163
+
164
+ # @param [Seahorse::Client::RequestContext] context
165
+ # @param [String] message
166
+ # @param [Aws::WorkDocs::Types::InvalidArgumentException] data
167
+ def initialize(context, message, data = Aws::EmptyStructure.new)
168
+ super(context, message, data)
169
+ end
170
+
171
+ # @return [String]
172
+ def message
173
+ @message || @data[:message]
174
+ end
175
+
176
+ end
177
+
178
+ class InvalidCommentOperationException < ServiceError
179
+
180
+ # @param [Seahorse::Client::RequestContext] context
181
+ # @param [String] message
182
+ # @param [Aws::WorkDocs::Types::InvalidCommentOperationException] data
183
+ def initialize(context, message, data = Aws::EmptyStructure.new)
184
+ super(context, message, data)
185
+ end
186
+
187
+ # @return [String]
188
+ def message
189
+ @message || @data[:message]
190
+ end
191
+
192
+ end
193
+
194
+ class InvalidOperationException < ServiceError
195
+
196
+ # @param [Seahorse::Client::RequestContext] context
197
+ # @param [String] message
198
+ # @param [Aws::WorkDocs::Types::InvalidOperationException] data
199
+ def initialize(context, message, data = Aws::EmptyStructure.new)
200
+ super(context, message, data)
201
+ end
202
+
203
+ # @return [String]
204
+ def message
205
+ @message || @data[:message]
206
+ end
207
+
208
+ end
209
+
210
+ class InvalidPasswordException < ServiceError
211
+
212
+ # @param [Seahorse::Client::RequestContext] context
213
+ # @param [String] message
214
+ # @param [Aws::WorkDocs::Types::InvalidPasswordException] data
215
+ def initialize(context, message, data = Aws::EmptyStructure.new)
216
+ super(context, message, data)
217
+ end
218
+
219
+ # @return [String]
220
+ def message
221
+ @message || @data[:message]
222
+ end
223
+
224
+ end
225
+
226
+ class LimitExceededException < ServiceError
227
+
228
+ # @param [Seahorse::Client::RequestContext] context
229
+ # @param [String] message
230
+ # @param [Aws::WorkDocs::Types::LimitExceededException] data
231
+ def initialize(context, message, data = Aws::EmptyStructure.new)
232
+ super(context, message, data)
233
+ end
234
+
235
+ # @return [String]
236
+ def message
237
+ @message || @data[:message]
238
+ end
239
+
240
+ end
241
+
242
+ class ProhibitedStateException < ServiceError
243
+
244
+ # @param [Seahorse::Client::RequestContext] context
245
+ # @param [String] message
246
+ # @param [Aws::WorkDocs::Types::ProhibitedStateException] data
247
+ def initialize(context, message, data = Aws::EmptyStructure.new)
248
+ super(context, message, data)
249
+ end
250
+
251
+ # @return [String]
252
+ def message
253
+ @message || @data[:message]
254
+ end
255
+
256
+ end
257
+
258
+ class RequestedEntityTooLargeException < ServiceError
259
+
260
+ # @param [Seahorse::Client::RequestContext] context
261
+ # @param [String] message
262
+ # @param [Aws::WorkDocs::Types::RequestedEntityTooLargeException] data
263
+ def initialize(context, message, data = Aws::EmptyStructure.new)
264
+ super(context, message, data)
265
+ end
266
+
267
+ # @return [String]
268
+ def message
269
+ @message || @data[:message]
270
+ end
271
+
272
+ end
273
+
274
+ class ResourceAlreadyCheckedOutException < ServiceError
275
+
276
+ # @param [Seahorse::Client::RequestContext] context
277
+ # @param [String] message
278
+ # @param [Aws::WorkDocs::Types::ResourceAlreadyCheckedOutException] data
279
+ def initialize(context, message, data = Aws::EmptyStructure.new)
280
+ super(context, message, data)
281
+ end
282
+
283
+ # @return [String]
284
+ def message
285
+ @message || @data[:message]
286
+ end
287
+
288
+ end
289
+
290
+ class ServiceUnavailableException < ServiceError
291
+
292
+ # @param [Seahorse::Client::RequestContext] context
293
+ # @param [String] message
294
+ # @param [Aws::WorkDocs::Types::ServiceUnavailableException] data
295
+ def initialize(context, message, data = Aws::EmptyStructure.new)
296
+ super(context, message, data)
297
+ end
298
+
299
+ # @return [String]
300
+ def message
301
+ @message || @data[:message]
302
+ end
303
+
304
+ end
305
+
306
+ class StorageLimitExceededException < ServiceError
307
+
308
+ # @param [Seahorse::Client::RequestContext] context
309
+ # @param [String] message
310
+ # @param [Aws::WorkDocs::Types::StorageLimitExceededException] data
311
+ def initialize(context, message, data = Aws::EmptyStructure.new)
312
+ super(context, message, data)
313
+ end
314
+
315
+ # @return [String]
316
+ def message
317
+ @message || @data[:message]
318
+ end
319
+
320
+ end
321
+
322
+ class StorageLimitWillExceedException < ServiceError
323
+
324
+ # @param [Seahorse::Client::RequestContext] context
325
+ # @param [String] message
326
+ # @param [Aws::WorkDocs::Types::StorageLimitWillExceedException] data
327
+ def initialize(context, message, data = Aws::EmptyStructure.new)
328
+ super(context, message, data)
329
+ end
330
+
331
+ # @return [String]
332
+ def message
333
+ @message || @data[:message]
334
+ end
335
+
336
+ end
337
+
338
+ class TooManyLabelsException < ServiceError
339
+
340
+ # @param [Seahorse::Client::RequestContext] context
341
+ # @param [String] message
342
+ # @param [Aws::WorkDocs::Types::TooManyLabelsException] data
343
+ def initialize(context, message, data = Aws::EmptyStructure.new)
344
+ super(context, message, data)
345
+ end
346
+
347
+ # @return [String]
348
+ def message
349
+ @message || @data[:message]
350
+ end
351
+
352
+ end
353
+
354
+ class TooManySubscriptionsException < ServiceError
355
+
356
+ # @param [Seahorse::Client::RequestContext] context
357
+ # @param [String] message
358
+ # @param [Aws::WorkDocs::Types::TooManySubscriptionsException] data
359
+ def initialize(context, message, data = Aws::EmptyStructure.new)
360
+ super(context, message, data)
361
+ end
362
+
363
+ # @return [String]
364
+ def message
365
+ @message || @data[:message]
366
+ end
367
+
368
+ end
369
+
370
+ class UnauthorizedResourceAccessException < ServiceError
371
+
372
+ # @param [Seahorse::Client::RequestContext] context
373
+ # @param [String] message
374
+ # @param [Aws::WorkDocs::Types::UnauthorizedResourceAccessException] data
375
+ def initialize(context, message, data = Aws::EmptyStructure.new)
376
+ super(context, message, data)
377
+ end
378
+
379
+ # @return [String]
380
+ def message
381
+ @message || @data[:message]
382
+ end
383
+
384
+ end
385
+
13
386
  end
14
387
  end
@@ -287,6 +287,31 @@ module Aws::WorkDocs
287
287
  include Aws::Structure
288
288
  end
289
289
 
290
+ # The resource hierarchy is changing.
291
+ #
292
+ # @!attribute [rw] message
293
+ # @return [String]
294
+ #
295
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/ConcurrentModificationException AWS API Documentation
296
+ #
297
+ class ConcurrentModificationException < Struct.new(
298
+ :message)
299
+ include Aws::Structure
300
+ end
301
+
302
+ # Another operation is in progress on the resource that conflicts with
303
+ # the current operation.
304
+ #
305
+ # @!attribute [rw] message
306
+ # @return [String]
307
+ #
308
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/ConflictingOperationException AWS API Documentation
309
+ #
310
+ class ConflictingOperationException < Struct.new(
311
+ :message)
312
+ include Aws::Structure
313
+ end
314
+
290
315
  # @note When making an API call, you may pass CreateCommentRequest
291
316
  # data as a hash:
292
317
  #
@@ -619,6 +644,19 @@ module Aws::WorkDocs
619
644
  include Aws::Structure
620
645
  end
621
646
 
647
+ # The limit has been reached on the number of custom properties for the
648
+ # specified resource.
649
+ #
650
+ # @!attribute [rw] message
651
+ # @return [String]
652
+ #
653
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CustomMetadataLimitExceededException AWS API Documentation
654
+ #
655
+ class CustomMetadataLimitExceededException < Struct.new(
656
+ :message)
657
+ include Aws::Structure
658
+ end
659
+
622
660
  # @note When making an API call, you may pass DeactivateUserRequest
623
661
  # data as a hash:
624
662
  #
@@ -1541,6 +1579,19 @@ module Aws::WorkDocs
1541
1579
  include Aws::Structure
1542
1580
  end
1543
1581
 
1582
+ # This exception is thrown when the document is locked for comments and
1583
+ # user tries to create or delete a comment on that document.
1584
+ #
1585
+ # @!attribute [rw] message
1586
+ # @return [String]
1587
+ #
1588
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DocumentLockedForCommentsException AWS API Documentation
1589
+ #
1590
+ class DocumentLockedForCommentsException < Struct.new(
1591
+ :message)
1592
+ include Aws::Structure
1593
+ end
1594
+
1544
1595
  # Describes the document.
1545
1596
  #
1546
1597
  # @!attribute [rw] id
@@ -1663,6 +1714,62 @@ module Aws::WorkDocs
1663
1714
  include Aws::Structure
1664
1715
  end
1665
1716
 
1717
+ # This exception is thrown when a valid checkout ID is not presented on
1718
+ # document version upload calls for a document that has been checked out
1719
+ # from Web client.
1720
+ #
1721
+ # @!attribute [rw] message
1722
+ # @return [String]
1723
+ #
1724
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DraftUploadOutOfSyncException AWS API Documentation
1725
+ #
1726
+ class DraftUploadOutOfSyncException < Struct.new(
1727
+ :message)
1728
+ include Aws::Structure
1729
+ end
1730
+
1731
+ # The resource already exists.
1732
+ #
1733
+ # @!attribute [rw] message
1734
+ # @return [String]
1735
+ #
1736
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/EntityAlreadyExistsException AWS API Documentation
1737
+ #
1738
+ class EntityAlreadyExistsException < Struct.new(
1739
+ :message)
1740
+ include Aws::Structure
1741
+ end
1742
+
1743
+ # The resource does not exist.
1744
+ #
1745
+ # @!attribute [rw] message
1746
+ # @return [String]
1747
+ #
1748
+ # @!attribute [rw] entity_ids
1749
+ # @return [Array<String>]
1750
+ #
1751
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/EntityNotExistsException AWS API Documentation
1752
+ #
1753
+ class EntityNotExistsException < Struct.new(
1754
+ :message,
1755
+ :entity_ids)
1756
+ include Aws::Structure
1757
+ end
1758
+
1759
+ # The AWS Directory Service cannot reach an on-premises instance. Or a
1760
+ # dependency under the control of the organization is failing, such as a
1761
+ # connected Active Directory.
1762
+ #
1763
+ # @!attribute [rw] message
1764
+ # @return [String]
1765
+ #
1766
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/FailedDependencyException AWS API Documentation
1767
+ #
1768
+ class FailedDependencyException < Struct.new(
1769
+ :message)
1770
+ include Aws::Structure
1771
+ end
1772
+
1666
1773
  # Describes a folder.
1667
1774
  #
1668
1775
  # @!attribute [rw] id
@@ -2113,6 +2220,18 @@ module Aws::WorkDocs
2113
2220
  include Aws::Structure
2114
2221
  end
2115
2222
 
2223
+ # The user is undergoing transfer of ownership.
2224
+ #
2225
+ # @!attribute [rw] message
2226
+ # @return [String]
2227
+ #
2228
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/IllegalUserStateException AWS API Documentation
2229
+ #
2230
+ class IllegalUserStateException < Struct.new(
2231
+ :message)
2232
+ include Aws::Structure
2233
+ end
2234
+
2116
2235
  # @note When making an API call, you may pass InitiateDocumentVersionUploadRequest
2117
2236
  # data as a hash:
2118
2237
  #
@@ -2192,6 +2311,68 @@ module Aws::WorkDocs
2192
2311
  include Aws::Structure
2193
2312
  end
2194
2313
 
2314
+ # The pagination marker or limit fields are not valid.
2315
+ #
2316
+ # @!attribute [rw] message
2317
+ # @return [String]
2318
+ #
2319
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/InvalidArgumentException AWS API Documentation
2320
+ #
2321
+ class InvalidArgumentException < Struct.new(
2322
+ :message)
2323
+ include Aws::Structure
2324
+ end
2325
+
2326
+ # The requested operation is not allowed on the specified comment
2327
+ # object.
2328
+ #
2329
+ # @!attribute [rw] message
2330
+ # @return [String]
2331
+ #
2332
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/InvalidCommentOperationException AWS API Documentation
2333
+ #
2334
+ class InvalidCommentOperationException < Struct.new(
2335
+ :message)
2336
+ include Aws::Structure
2337
+ end
2338
+
2339
+ # The operation is invalid.
2340
+ #
2341
+ # @!attribute [rw] message
2342
+ # @return [String]
2343
+ #
2344
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/InvalidOperationException AWS API Documentation
2345
+ #
2346
+ class InvalidOperationException < Struct.new(
2347
+ :message)
2348
+ include Aws::Structure
2349
+ end
2350
+
2351
+ # The password is invalid.
2352
+ #
2353
+ # @!attribute [rw] message
2354
+ # @return [String]
2355
+ #
2356
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/InvalidPasswordException AWS API Documentation
2357
+ #
2358
+ class InvalidPasswordException < Struct.new(
2359
+ :message)
2360
+ include Aws::Structure
2361
+ end
2362
+
2363
+ # The maximum of 100,000 folders under the parent folder has been
2364
+ # exceeded.
2365
+ #
2366
+ # @!attribute [rw] message
2367
+ # @return [String]
2368
+ #
2369
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/LimitExceededException AWS API Documentation
2370
+ #
2371
+ class LimitExceededException < Struct.new(
2372
+ :message)
2373
+ include Aws::Structure
2374
+ end
2375
+
2195
2376
  # Set of options which defines notification preferences of given action.
2196
2377
  #
2197
2378
  # @note When making an API call, you may pass NotificationOptions
@@ -2278,6 +2459,18 @@ module Aws::WorkDocs
2278
2459
  include Aws::Structure
2279
2460
  end
2280
2461
 
2462
+ # The specified document version is not in the INITIALIZED state.
2463
+ #
2464
+ # @!attribute [rw] message
2465
+ # @return [String]
2466
+ #
2467
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/ProhibitedStateException AWS API Documentation
2468
+ #
2469
+ class ProhibitedStateException < Struct.new(
2470
+ :message)
2471
+ include Aws::Structure
2472
+ end
2473
+
2281
2474
  # @note When making an API call, you may pass RemoveAllResourcePermissionsRequest
2282
2475
  # data as a hash:
2283
2476
  #
@@ -2342,6 +2535,31 @@ module Aws::WorkDocs
2342
2535
  include Aws::Structure
2343
2536
  end
2344
2537
 
2538
+ # The response is too large to return. The request must include a filter
2539
+ # to reduce the size of the response.
2540
+ #
2541
+ # @!attribute [rw] message
2542
+ # @return [String]
2543
+ #
2544
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/RequestedEntityTooLargeException AWS API Documentation
2545
+ #
2546
+ class RequestedEntityTooLargeException < Struct.new(
2547
+ :message)
2548
+ include Aws::Structure
2549
+ end
2550
+
2551
+ # The resource is already checked out.
2552
+ #
2553
+ # @!attribute [rw] message
2554
+ # @return [String]
2555
+ #
2556
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/ResourceAlreadyCheckedOutException AWS API Documentation
2557
+ #
2558
+ class ResourceAlreadyCheckedOutException < Struct.new(
2559
+ :message)
2560
+ include Aws::Structure
2561
+ end
2562
+
2345
2563
  # Describes the metadata of a resource.
2346
2564
  #
2347
2565
  # @!attribute [rw] type
@@ -2417,6 +2635,18 @@ module Aws::WorkDocs
2417
2635
  include Aws::Structure
2418
2636
  end
2419
2637
 
2638
+ # One or more of the dependencies is unavailable.
2639
+ #
2640
+ # @!attribute [rw] message
2641
+ # @return [String]
2642
+ #
2643
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/ServiceUnavailableException AWS API Documentation
2644
+ #
2645
+ class ServiceUnavailableException < Struct.new(
2646
+ :message)
2647
+ include Aws::Structure
2648
+ end
2649
+
2420
2650
  # Describes the recipient type and ID, if available.
2421
2651
  #
2422
2652
  # @note When making an API call, you may pass SharePrincipal
@@ -2487,6 +2717,30 @@ module Aws::WorkDocs
2487
2717
  include Aws::Structure
2488
2718
  end
2489
2719
 
2720
+ # The storage limit has been exceeded.
2721
+ #
2722
+ # @!attribute [rw] message
2723
+ # @return [String]
2724
+ #
2725
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/StorageLimitExceededException AWS API Documentation
2726
+ #
2727
+ class StorageLimitExceededException < Struct.new(
2728
+ :message)
2729
+ include Aws::Structure
2730
+ end
2731
+
2732
+ # The storage limit will be exceeded.
2733
+ #
2734
+ # @!attribute [rw] message
2735
+ # @return [String]
2736
+ #
2737
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/StorageLimitWillExceedException AWS API Documentation
2738
+ #
2739
+ class StorageLimitWillExceedException < Struct.new(
2740
+ :message)
2741
+ include Aws::Structure
2742
+ end
2743
+
2490
2744
  # Describes the storage for a user.
2491
2745
  #
2492
2746
  # @note When making an API call, you may pass StorageRuleType
@@ -2536,6 +2790,44 @@ module Aws::WorkDocs
2536
2790
  include Aws::Structure
2537
2791
  end
2538
2792
 
2793
+ # The limit has been reached on the number of labels for the specified
2794
+ # resource.
2795
+ #
2796
+ # @!attribute [rw] message
2797
+ # @return [String]
2798
+ #
2799
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/TooManyLabelsException AWS API Documentation
2800
+ #
2801
+ class TooManyLabelsException < Struct.new(
2802
+ :message)
2803
+ include Aws::Structure
2804
+ end
2805
+
2806
+ # You've reached the limit on the number of subscriptions for the
2807
+ # WorkDocs instance.
2808
+ #
2809
+ # @!attribute [rw] message
2810
+ # @return [String]
2811
+ #
2812
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/TooManySubscriptionsException AWS API Documentation
2813
+ #
2814
+ class TooManySubscriptionsException < Struct.new(
2815
+ :message)
2816
+ include Aws::Structure
2817
+ end
2818
+
2819
+ # The caller does not have access to perform the action on the resource.
2820
+ #
2821
+ # @!attribute [rw] message
2822
+ # @return [String]
2823
+ #
2824
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/UnauthorizedResourceAccessException AWS API Documentation
2825
+ #
2826
+ class UnauthorizedResourceAccessException < Struct.new(
2827
+ :message)
2828
+ include Aws::Structure
2829
+ end
2830
+
2539
2831
  # @note When making an API call, you may pass UpdateDocumentRequest
2540
2832
  # data as a hash:
2541
2833
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-workdocs
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