aws-sdk-workdocs 1.19.0 → 1.20.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2b86523c237bf58bd736ea7109a5ee642819d765
4
- data.tar.gz: 5ecf129bfe63aaa2fcd426c3e29b32e33e0f6f93
3
+ metadata.gz: 2e571db84aef9c82687b7ab0da7228750d2ab771
4
+ data.tar.gz: b2b8d085a96be2c878c2eac8c6db02445006dece
5
5
  SHA512:
6
- metadata.gz: 5df617eff2cb8e6abc4e29b5fe01f23479069148e596e5e4017b27a5ead5e4ed9cc57aec72db852e0b315ef96638b44d28f805bebd8c2f261ae1846d8d0f9f83
7
- data.tar.gz: 58ccf2123f919d9e73d54fd909c7299e644a16459be1d4b2c070a66c46be9ab6d1076dd9179ec930ccf17ea914d12f084acbc35bd62272d0b2384c75087d613b
6
+ metadata.gz: a198e25b472226da847b537b382a5074e3a1f078c63dfc4ae45a0192e94219d35565cc5369530c3cee1d9bc0fe4524baef2d245c470f39fa2355938d4c522a0c
7
+ data.tar.gz: 5d7075c9ee7ee38c900d84b73bd665d9abe96b3901e9fd32593cea23b6b5426962f8545054d944eda34204ac41241b56b7e4cb3b0592719033c50f2baaabb785
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-workdocs/customizations'
42
42
  # @service
43
43
  module Aws::WorkDocs
44
44
 
45
- GEM_VERSION = '1.19.0'
45
+ GEM_VERSION = '1.20.1'
46
46
 
47
47
  end
@@ -260,9 +260,8 @@ module Aws::WorkDocs
260
260
  # document version, or fails to do so.
261
261
  #
262
262
  # @option params [String] :authentication_token
263
- # Amazon WorkDocs authentication token. Do not set this field when using
264
- # administrative API actions, as in accessing the API using AWS
265
- # credentials.
263
+ # Amazon WorkDocs authentication token. Not required when using AWS
264
+ # administrator credentials to access the API.
266
265
  #
267
266
  # @option params [required, String] :document_id
268
267
  # The ID of the document.
@@ -296,9 +295,8 @@ module Aws::WorkDocs
296
295
  # The ID of the user.
297
296
  #
298
297
  # @option params [String] :authentication_token
299
- # Amazon WorkDocs authentication token. Do not set this field when using
300
- # administrative API actions, as in accessing the API using AWS
301
- # credentials.
298
+ # Amazon WorkDocs authentication token. Not required when using AWS
299
+ # administrator credentials to access the API.
302
300
  #
303
301
  # @return [Types::ActivateUserResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
304
302
  #
@@ -345,9 +343,8 @@ module Aws::WorkDocs
345
343
  # different permissions.
346
344
  #
347
345
  # @option params [String] :authentication_token
348
- # Amazon WorkDocs authentication token. Do not set this field when using
349
- # administrative API actions, as in accessing the API using AWS
350
- # credentials.
346
+ # Amazon WorkDocs authentication token. Not required when using AWS
347
+ # administrator credentials to access the API.
351
348
  #
352
349
  # @option params [required, String] :resource_id
353
350
  # The ID of the resource.
@@ -402,9 +399,8 @@ module Aws::WorkDocs
402
399
  # Adds a new comment to the specified document version.
403
400
  #
404
401
  # @option params [String] :authentication_token
405
- # Amazon WorkDocs authentication token. Do not set this field when using
406
- # administrative API actions, as in accessing the API using AWS
407
- # credentials.
402
+ # Amazon WorkDocs authentication token. Not required when using AWS
403
+ # administrator credentials to access the API.
408
404
  #
409
405
  # @option params [required, String] :document_id
410
406
  # The ID of the document.
@@ -489,9 +485,8 @@ module Aws::WorkDocs
489
485
  # folder, document, or version).
490
486
  #
491
487
  # @option params [String] :authentication_token
492
- # Amazon WorkDocs authentication token. Do not set this field when using
493
- # administrative API actions, as in accessing the API using AWS
494
- # credentials.
488
+ # Amazon WorkDocs authentication token. Not required when using AWS
489
+ # administrator credentials to access the API.
495
490
  #
496
491
  # @option params [required, String] :resource_id
497
492
  # The ID of the resource.
@@ -528,9 +523,8 @@ module Aws::WorkDocs
528
523
  # Creates a folder with the specified name and parent folder.
529
524
  #
530
525
  # @option params [String] :authentication_token
531
- # Amazon WorkDocs authentication token. Do not set this field when using
532
- # administrative API actions, as in accessing the API using AWS
533
- # credentials.
526
+ # Amazon WorkDocs authentication token. Not required when using AWS
527
+ # administrator credentials to access the API.
534
528
  #
535
529
  # @option params [String] :name
536
530
  # The name of the new folder.
@@ -584,9 +578,8 @@ module Aws::WorkDocs
584
578
  # List of labels to add to the resource.
585
579
  #
586
580
  # @option params [String] :authentication_token
587
- # Amazon WorkDocs authentication token. Do not set this field when using
588
- # administrative API actions, as in accessing the API using AWS
589
- # credentials.
581
+ # Amazon WorkDocs authentication token. Not required when using AWS
582
+ # administrator credentials to access the API.
590
583
  #
591
584
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
592
585
  #
@@ -689,9 +682,8 @@ module Aws::WorkDocs
689
682
  # The amount of storage for the user.
690
683
  #
691
684
  # @option params [String] :authentication_token
692
- # Amazon WorkDocs authentication token. Do not set this field when using
693
- # administrative API actions, as in accessing the API using AWS
694
- # credentials.
685
+ # Amazon WorkDocs authentication token. Not required when using AWS
686
+ # administrator credentials to access the API.
695
687
  #
696
688
  # @return [Types::CreateUserResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
697
689
  #
@@ -750,9 +742,8 @@ module Aws::WorkDocs
750
742
  # The ID of the user.
751
743
  #
752
744
  # @option params [String] :authentication_token
753
- # Amazon WorkDocs authentication token. Do not set this field when using
754
- # administrative API actions, as in accessing the API using AWS
755
- # credentials.
745
+ # Amazon WorkDocs authentication token. Not required when using AWS
746
+ # administrator credentials to access the API.
756
747
  #
757
748
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
758
749
  #
@@ -775,9 +766,8 @@ module Aws::WorkDocs
775
766
  # Deletes the specified comment from the document version.
776
767
  #
777
768
  # @option params [String] :authentication_token
778
- # Amazon WorkDocs authentication token. Do not set this field when using
779
- # administrative API actions, as in accessing the API using AWS
780
- # credentials.
769
+ # Amazon WorkDocs authentication token. Not required when using AWS
770
+ # administrator credentials to access the API.
781
771
  #
782
772
  # @option params [required, String] :document_id
783
773
  # The ID of the document.
@@ -811,9 +801,8 @@ module Aws::WorkDocs
811
801
  # Deletes custom metadata from the specified resource.
812
802
  #
813
803
  # @option params [String] :authentication_token
814
- # Amazon WorkDocs authentication token. Do not set this field when using
815
- # administrative API actions, as in accessing the API using AWS
816
- # credentials.
804
+ # Amazon WorkDocs authentication token. Not required when using AWS
805
+ # administrator credentials to access the API.
817
806
  #
818
807
  # @option params [required, String] :resource_id
819
808
  # The ID of the resource, either a document or folder.
@@ -854,9 +843,8 @@ module Aws::WorkDocs
854
843
  # metadata.
855
844
  #
856
845
  # @option params [String] :authentication_token
857
- # Amazon WorkDocs authentication token. Do not set this field when using
858
- # administrative API actions, as in accessing the API using AWS
859
- # credentials.
846
+ # Amazon WorkDocs authentication token. Not required when using AWS
847
+ # administrator credentials to access the API.
860
848
  #
861
849
  # @option params [required, String] :document_id
862
850
  # The ID of the document.
@@ -882,9 +870,8 @@ module Aws::WorkDocs
882
870
  # Permanently deletes the specified folder and its contents.
883
871
  #
884
872
  # @option params [String] :authentication_token
885
- # Amazon WorkDocs authentication token. Do not set this field when using
886
- # administrative API actions, as in accessing the API using AWS
887
- # credentials.
873
+ # Amazon WorkDocs authentication token. Not required when using AWS
874
+ # administrator credentials to access the API.
888
875
  #
889
876
  # @option params [required, String] :folder_id
890
877
  # The ID of the folder.
@@ -910,9 +897,8 @@ module Aws::WorkDocs
910
897
  # Deletes the contents of the specified folder.
911
898
  #
912
899
  # @option params [String] :authentication_token
913
- # Amazon WorkDocs authentication token. Do not set this field when using
914
- # administrative API actions, as in accessing the API using AWS
915
- # credentials.
900
+ # Amazon WorkDocs authentication token. Not required when using AWS
901
+ # administrator credentials to access the API.
916
902
  #
917
903
  # @option params [required, String] :folder_id
918
904
  # The ID of the folder.
@@ -941,9 +927,8 @@ module Aws::WorkDocs
941
927
  # The ID of the resource.
942
928
  #
943
929
  # @option params [String] :authentication_token
944
- # Amazon WorkDocs authentication token. Do not set this field when using
945
- # administrative API actions, as in accessing the API using AWS
946
- # credentials.
930
+ # Amazon WorkDocs authentication token. Not required when using AWS
931
+ # administrator credentials to access the API.
947
932
  #
948
933
  # @option params [Array<String>] :labels
949
934
  # List of labels to delete from the resource.
@@ -1028,9 +1013,8 @@ module Aws::WorkDocs
1028
1013
  # Describes the user activities in a specified time period.
1029
1014
  #
1030
1015
  # @option params [String] :authentication_token
1031
- # Amazon WorkDocs authentication token. Do not set this field when using
1032
- # administrative API actions, as in accessing the API using AWS
1033
- # credentials.
1016
+ # Amazon WorkDocs authentication token. Not required when using AWS
1017
+ # administrator credentials to access the API.
1034
1018
  #
1035
1019
  # @option params [Time,DateTime,Date,Integer,String] :start_time
1036
1020
  # The timestamp that determines the starting time of the activities. The
@@ -1168,9 +1152,8 @@ module Aws::WorkDocs
1168
1152
  # List all the comments for the specified document version.
1169
1153
  #
1170
1154
  # @option params [String] :authentication_token
1171
- # Amazon WorkDocs authentication token. Do not set this field when using
1172
- # administrative API actions, as in accessing the API using AWS
1173
- # credentials.
1155
+ # Amazon WorkDocs authentication token. Not required when using AWS
1156
+ # administrator credentials to access the API.
1174
1157
  #
1175
1158
  # @option params [required, String] :document_id
1176
1159
  # The ID of the document.
@@ -1244,9 +1227,8 @@ module Aws::WorkDocs
1244
1227
  # By default, only active versions are returned.
1245
1228
  #
1246
1229
  # @option params [String] :authentication_token
1247
- # Amazon WorkDocs authentication token. Do not set this field when using
1248
- # administrative API actions, as in accessing the API using AWS
1249
- # credentials.
1230
+ # Amazon WorkDocs authentication token. Not required when using AWS
1231
+ # administrator credentials to access the API.
1250
1232
  #
1251
1233
  # @option params [required, String] :document_id
1252
1234
  # The ID of the document.
@@ -1320,9 +1302,8 @@ module Aws::WorkDocs
1320
1302
  # You can also request initialized documents.
1321
1303
  #
1322
1304
  # @option params [String] :authentication_token
1323
- # Amazon WorkDocs authentication token. Do not set this field when using
1324
- # administrative API actions, as in accessing the API using AWS
1325
- # credentials.
1305
+ # Amazon WorkDocs authentication token. Not required when using AWS
1306
+ # administrator credentials to access the API.
1326
1307
  #
1327
1308
  # @option params [required, String] :folder_id
1328
1309
  # The ID of the folder.
@@ -1420,9 +1401,8 @@ module Aws::WorkDocs
1420
1401
  # underlying Active Directory.
1421
1402
  #
1422
1403
  # @option params [String] :authentication_token
1423
- # Amazon WorkDocs authentication token. Do not set this field when using
1424
- # administrative API actions, as in accessing the API using AWS
1425
- # credentials.
1404
+ # Amazon WorkDocs authentication token. Not required when using AWS
1405
+ # administrator credentials to access the API.
1426
1406
  #
1427
1407
  # @option params [required, String] :search_query
1428
1408
  # A query to describe groups by group name.
@@ -1513,9 +1493,8 @@ module Aws::WorkDocs
1513
1493
  # Describes the permissions of a specified resource.
1514
1494
  #
1515
1495
  # @option params [String] :authentication_token
1516
- # Amazon WorkDocs authentication token. Do not set this field when using
1517
- # administrative API actions, as in accessing the API using AWS
1518
- # credentials.
1496
+ # Amazon WorkDocs authentication token. Not required when using AWS
1497
+ # administrator credentials to access the API.
1519
1498
  #
1520
1499
  # @option params [required, String] :resource_id
1521
1500
  # The ID of the resource.
@@ -1579,9 +1558,7 @@ module Aws::WorkDocs
1579
1558
  # [1]: https://docs.aws.amazon.com/workdocs/latest/developerguide/wd-auth-user.html
1580
1559
  #
1581
1560
  # @option params [required, String] :authentication_token
1582
- # Amazon WorkDocs authentication token. Do not set this field when using
1583
- # administrative API actions, as in accessing the API using AWS
1584
- # credentials.
1561
+ # Amazon WorkDocs authentication token.
1585
1562
  #
1586
1563
  # @option params [Integer] :limit
1587
1564
  # The maximum number of items to return.
@@ -1637,9 +1614,8 @@ module Aws::WorkDocs
1637
1614
  # you can use to request the next set of results.
1638
1615
  #
1639
1616
  # @option params [String] :authentication_token
1640
- # Amazon WorkDocs authentication token. Do not set this field when using
1641
- # administrative API actions, as in accessing the API using AWS
1642
- # credentials.
1617
+ # Amazon WorkDocs authentication token. Not required when using AWS
1618
+ # administrator credentials to access the API.
1643
1619
  #
1644
1620
  # @option params [String] :organization_id
1645
1621
  # The ID of the organization.
@@ -1727,10 +1703,17 @@ module Aws::WorkDocs
1727
1703
  # token was generated. This is not a valid action for SigV4
1728
1704
  # (administrative API) clients.
1729
1705
  #
1706
+ # This action requires an authentication token. To get an authentication
1707
+ # token, register an application with Amazon WorkDocs. For more
1708
+ # information, see [Authentication and Access Control for User
1709
+ # Applications][1] in the *Amazon WorkDocs Developer Guide*.
1710
+ #
1711
+ #
1712
+ #
1713
+ # [1]: https://docs.aws.amazon.com/workdocs/latest/developerguide/wd-auth-user.html
1714
+ #
1730
1715
  # @option params [required, String] :authentication_token
1731
- # Amazon WorkDocs authentication token. Do not set this field when using
1732
- # administrative API actions, as in accessing the API using AWS
1733
- # credentials.
1716
+ # Amazon WorkDocs authentication token.
1734
1717
  #
1735
1718
  # @return [Types::GetCurrentUserResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1736
1719
  #
@@ -1774,9 +1757,8 @@ module Aws::WorkDocs
1774
1757
  # Retrieves details of a document.
1775
1758
  #
1776
1759
  # @option params [String] :authentication_token
1777
- # Amazon WorkDocs authentication token. Do not set this field when using
1778
- # administrative API actions, as in accessing the API using AWS
1779
- # credentials.
1760
+ # Amazon WorkDocs authentication token. Not required when using AWS
1761
+ # administrator credentials to access the API.
1780
1762
  #
1781
1763
  # @option params [required, String] :document_id
1782
1764
  # The ID of the document.
@@ -1843,9 +1825,8 @@ module Aws::WorkDocs
1843
1825
  # can also request the names of the parent folders.
1844
1826
  #
1845
1827
  # @option params [String] :authentication_token
1846
- # Amazon WorkDocs authentication token. Do not set this field when using
1847
- # administrative API actions, as in accessing the API using AWS
1848
- # credentials.
1828
+ # Amazon WorkDocs authentication token. Not required when using AWS
1829
+ # administrator credentials to access the API.
1849
1830
  #
1850
1831
  # @option params [required, String] :document_id
1851
1832
  # The ID of the document.
@@ -1892,9 +1873,8 @@ module Aws::WorkDocs
1892
1873
  # Retrieves version metadata for the specified document.
1893
1874
  #
1894
1875
  # @option params [String] :authentication_token
1895
- # Amazon WorkDocs authentication token. Do not set this field when using
1896
- # administrative API actions, as in accessing the API using AWS
1897
- # credentials.
1876
+ # Amazon WorkDocs authentication token. Not required when using AWS
1877
+ # administrator credentials to access the API.
1898
1878
  #
1899
1879
  # @option params [required, String] :document_id
1900
1880
  # The ID of the document.
@@ -1956,9 +1936,8 @@ module Aws::WorkDocs
1956
1936
  # Retrieves the metadata of the specified folder.
1957
1937
  #
1958
1938
  # @option params [String] :authentication_token
1959
- # Amazon WorkDocs authentication token. Do not set this field when using
1960
- # administrative API actions, as in accessing the API using AWS
1961
- # credentials.
1939
+ # Amazon WorkDocs authentication token. Not required when using AWS
1940
+ # administrator credentials to access the API.
1962
1941
  #
1963
1942
  # @option params [required, String] :folder_id
1964
1943
  # The ID of the folder.
@@ -2014,9 +1993,8 @@ module Aws::WorkDocs
2014
1993
  # can also request the parent folder names.
2015
1994
  #
2016
1995
  # @option params [String] :authentication_token
2017
- # Amazon WorkDocs authentication token. Do not set this field when using
2018
- # administrative API actions, as in accessing the API using AWS
2019
- # credentials.
1996
+ # Amazon WorkDocs authentication token. Not required when using AWS
1997
+ # administrator credentials to access the API.
2020
1998
  #
2021
1999
  # @option params [required, String] :folder_id
2022
2000
  # The ID of the folder.
@@ -2064,9 +2042,8 @@ module Aws::WorkDocs
2064
2042
  # The only `CollectionType` supported is `SHARED_WITH_ME`.
2065
2043
  #
2066
2044
  # @option params [String] :authentication_token
2067
- # The Amazon WorkDocs authentication token. Do not set this field when
2068
- # using administrative API actions, as in accessing the API operation
2069
- # using AWS credentials.
2045
+ # The Amazon WorkDocs authentication token. Not required when using AWS
2046
+ # administrator credentials to access the API.
2070
2047
  #
2071
2048
  # @option params [String] :user_id
2072
2049
  # The user ID for the resource collection. This is a required field for
@@ -2159,9 +2136,8 @@ module Aws::WorkDocs
2159
2136
  # To cancel the document upload, call AbortDocumentVersionUpload.
2160
2137
  #
2161
2138
  # @option params [String] :authentication_token
2162
- # Amazon WorkDocs authentication token. Do not set this field when using
2163
- # administrative API actions, as in accessing the API using AWS
2164
- # credentials.
2139
+ # Amazon WorkDocs authentication token. Not required when using AWS
2140
+ # administrator credentials to access the API.
2165
2141
  #
2166
2142
  # @option params [String] :id
2167
2143
  # The ID of the document.
@@ -2243,9 +2219,8 @@ module Aws::WorkDocs
2243
2219
  # Removes all the permissions from the specified resource.
2244
2220
  #
2245
2221
  # @option params [String] :authentication_token
2246
- # Amazon WorkDocs authentication token. Do not set this field when using
2247
- # administrative API actions, as in accessing the API using AWS
2248
- # credentials.
2222
+ # Amazon WorkDocs authentication token. Not required when using AWS
2223
+ # administrator credentials to access the API.
2249
2224
  #
2250
2225
  # @option params [required, String] :resource_id
2251
2226
  # The ID of the resource.
@@ -2272,9 +2247,8 @@ module Aws::WorkDocs
2272
2247
  # resource.
2273
2248
  #
2274
2249
  # @option params [String] :authentication_token
2275
- # Amazon WorkDocs authentication token. Do not set this field when using
2276
- # administrative API actions, as in accessing the API using AWS
2277
- # credentials.
2250
+ # Amazon WorkDocs authentication token. Not required when using AWS
2251
+ # administrator credentials to access the API.
2278
2252
  #
2279
2253
  # @option params [required, String] :resource_id
2280
2254
  # The ID of the resource.
@@ -2309,9 +2283,8 @@ module Aws::WorkDocs
2309
2283
  # access to both the document and its parent folder, if applicable.
2310
2284
  #
2311
2285
  # @option params [String] :authentication_token
2312
- # Amazon WorkDocs authentication token. Do not set this field when using
2313
- # administrative API actions, as in accessing the API using AWS
2314
- # credentials.
2286
+ # Amazon WorkDocs authentication token. Not required when using AWS
2287
+ # administrator credentials to access the API.
2315
2288
  #
2316
2289
  # @option params [required, String] :document_id
2317
2290
  # The ID of the document.
@@ -2355,9 +2328,8 @@ module Aws::WorkDocs
2355
2328
  # InitiateDocumentVersionUpload.
2356
2329
  #
2357
2330
  # @option params [String] :authentication_token
2358
- # Amazon WorkDocs authentication token. Do not set this field when using
2359
- # administrative API actions, as in accessing the API using AWS
2360
- # credentials.
2331
+ # Amazon WorkDocs authentication token. Not required when using AWS
2332
+ # administrator credentials to access the API.
2361
2333
  #
2362
2334
  # @option params [required, String] :document_id
2363
2335
  # The ID of the document.
@@ -2393,9 +2365,8 @@ module Aws::WorkDocs
2393
2365
  # applicable.
2394
2366
  #
2395
2367
  # @option params [String] :authentication_token
2396
- # Amazon WorkDocs authentication token. Do not set this field when using
2397
- # administrative API actions, as in accessing the API using AWS
2398
- # credentials.
2368
+ # Amazon WorkDocs authentication token. Not required when using AWS
2369
+ # administrator credentials to access the API.
2399
2370
  #
2400
2371
  # @option params [required, String] :folder_id
2401
2372
  # The ID of the folder.
@@ -2435,9 +2406,8 @@ module Aws::WorkDocs
2435
2406
  # revokes administrative privileges to the Amazon WorkDocs site.
2436
2407
  #
2437
2408
  # @option params [String] :authentication_token
2438
- # Amazon WorkDocs authentication token. Do not set this field when using
2439
- # administrative API actions, as in accessing the API using AWS
2440
- # credentials.
2409
+ # Amazon WorkDocs authentication token. Not required when using AWS
2410
+ # administrator credentials to access the API.
2441
2411
  #
2442
2412
  # @option params [required, String] :user_id
2443
2413
  # The ID of the user.
@@ -2527,7 +2497,7 @@ module Aws::WorkDocs
2527
2497
  params: params,
2528
2498
  config: config)
2529
2499
  context[:gem_name] = 'aws-sdk-workdocs'
2530
- context[:gem_version] = '1.19.0'
2500
+ context[:gem_version] = '1.20.1'
2531
2501
  Seahorse::Client::Request.new(handlers, context)
2532
2502
  end
2533
2503
 
@@ -340,6 +340,8 @@ module Aws::WorkDocs
340
340
  DeactivateUserRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication"))
341
341
  DeactivateUserRequest.struct_class = Types::DeactivateUserRequest
342
342
 
343
+ DeactivatingLastSystemUserException.struct_class = Types::DeactivatingLastSystemUserException
344
+
343
345
  DeleteCommentRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication"))
344
346
  DeleteCommentRequest.add_member(:document_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "DocumentId"))
345
347
  DeleteCommentRequest.add_member(:version_id, Shapes::ShapeRef.new(shape: DocumentVersionIdType, required: true, location: "uri", location_name: "VersionId"))
@@ -775,6 +777,8 @@ module Aws::WorkDocs
775
777
  TooManySubscriptionsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message"))
776
778
  TooManySubscriptionsException.struct_class = Types::TooManySubscriptionsException
777
779
 
780
+ UnauthorizedOperationException.struct_class = Types::UnauthorizedOperationException
781
+
778
782
  UnauthorizedResourceAccessException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "Message"))
779
783
  UnauthorizedResourceAccessException.struct_class = Types::UnauthorizedResourceAccessException
780
784
 
@@ -58,6 +58,17 @@ module Aws::WorkDocs
58
58
 
59
59
  end
60
60
 
61
+ class DeactivatingLastSystemUserException < ServiceError
62
+
63
+ # @param [Seahorse::Client::RequestContext] context
64
+ # @param [String] message
65
+ # @param [Aws::WorkDocs::Types::DeactivatingLastSystemUserException] data
66
+ def initialize(context, message, data = Aws::EmptyStructure.new)
67
+ super(context, message, data)
68
+ end
69
+
70
+ end
71
+
61
72
  class DocumentLockedForCommentsException < ServiceError
62
73
 
63
74
  # @param [Seahorse::Client::RequestContext] context
@@ -367,6 +378,17 @@ module Aws::WorkDocs
367
378
 
368
379
  end
369
380
 
381
+ class UnauthorizedOperationException < ServiceError
382
+
383
+ # @param [Seahorse::Client::RequestContext] context
384
+ # @param [String] message
385
+ # @param [Aws::WorkDocs::Types::UnauthorizedOperationException] data
386
+ def initialize(context, message, data = Aws::EmptyStructure.new)
387
+ super(context, message, data)
388
+ end
389
+
390
+ end
391
+
370
392
  class UnauthorizedResourceAccessException < ServiceError
371
393
 
372
394
  # @param [Seahorse::Client::RequestContext] context
@@ -18,9 +18,8 @@ module Aws::WorkDocs
18
18
  # }
19
19
  #
20
20
  # @!attribute [rw] authentication_token
21
- # Amazon WorkDocs authentication token. Do not set this field when
22
- # using administrative API actions, as in accessing the API using AWS
23
- # credentials.
21
+ # Amazon WorkDocs authentication token. Not required when using AWS
22
+ # administrator credentials to access the API.
24
23
  # @return [String]
25
24
  #
26
25
  # @!attribute [rw] document_id
@@ -53,9 +52,8 @@ module Aws::WorkDocs
53
52
  # @return [String]
54
53
  #
55
54
  # @!attribute [rw] authentication_token
56
- # Amazon WorkDocs authentication token. Do not set this field when
57
- # using administrative API actions, as in accessing the API using AWS
58
- # credentials.
55
+ # Amazon WorkDocs authentication token. Not required when using AWS
56
+ # administrator credentials to access the API.
59
57
  # @return [String]
60
58
  #
61
59
  # @see http://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/ActivateUserRequest AWS API Documentation
@@ -159,9 +157,8 @@ module Aws::WorkDocs
159
157
  # }
160
158
  #
161
159
  # @!attribute [rw] authentication_token
162
- # Amazon WorkDocs authentication token. Do not set this field when
163
- # using administrative API actions, as in accessing the API using AWS
164
- # credentials.
160
+ # Amazon WorkDocs authentication token. Not required when using AWS
161
+ # administrator credentials to access the API.
165
162
  # @return [String]
166
163
  #
167
164
  # @!attribute [rw] resource_id
@@ -327,9 +324,8 @@ module Aws::WorkDocs
327
324
  # }
328
325
  #
329
326
  # @!attribute [rw] authentication_token
330
- # Amazon WorkDocs authentication token. Do not set this field when
331
- # using administrative API actions, as in accessing the API using AWS
332
- # credentials.
327
+ # Amazon WorkDocs authentication token. Not required when using AWS
328
+ # administrator credentials to access the API.
333
329
  # @return [String]
334
330
  #
335
331
  # @!attribute [rw] document_id
@@ -402,9 +398,8 @@ module Aws::WorkDocs
402
398
  # }
403
399
  #
404
400
  # @!attribute [rw] authentication_token
405
- # Amazon WorkDocs authentication token. Do not set this field when
406
- # using administrative API actions, as in accessing the API using AWS
407
- # credentials.
401
+ # Amazon WorkDocs authentication token. Not required when using AWS
402
+ # administrator credentials to access the API.
408
403
  # @return [String]
409
404
  #
410
405
  # @!attribute [rw] resource_id
@@ -444,9 +439,8 @@ module Aws::WorkDocs
444
439
  # }
445
440
  #
446
441
  # @!attribute [rw] authentication_token
447
- # Amazon WorkDocs authentication token. Do not set this field when
448
- # using administrative API actions, as in accessing the API using AWS
449
- # credentials.
442
+ # Amazon WorkDocs authentication token. Not required when using AWS
443
+ # administrator credentials to access the API.
450
444
  # @return [String]
451
445
  #
452
446
  # @!attribute [rw] name
@@ -495,9 +489,8 @@ module Aws::WorkDocs
495
489
  # @return [Array<String>]
496
490
  #
497
491
  # @!attribute [rw] authentication_token
498
- # Amazon WorkDocs authentication token. Do not set this field when
499
- # using administrative API actions, as in accessing the API using AWS
500
- # credentials.
492
+ # Amazon WorkDocs authentication token. Not required when using AWS
493
+ # administrator credentials to access the API.
501
494
  # @return [String]
502
495
  #
503
496
  # @see http://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateLabelsRequest AWS API Documentation
@@ -613,9 +606,8 @@ module Aws::WorkDocs
613
606
  # @return [Types::StorageRuleType]
614
607
  #
615
608
  # @!attribute [rw] authentication_token
616
- # Amazon WorkDocs authentication token. Do not set this field when
617
- # using administrative API actions, as in accessing the API using AWS
618
- # credentials.
609
+ # Amazon WorkDocs authentication token. Not required when using AWS
610
+ # administrator credentials to access the API.
619
611
  # @return [String]
620
612
  #
621
613
  # @see http://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateUserRequest AWS API Documentation
@@ -670,9 +662,8 @@ module Aws::WorkDocs
670
662
  # @return [String]
671
663
  #
672
664
  # @!attribute [rw] authentication_token
673
- # Amazon WorkDocs authentication token. Do not set this field when
674
- # using administrative API actions, as in accessing the API using AWS
675
- # credentials.
665
+ # Amazon WorkDocs authentication token. Not required when using AWS
666
+ # administrator credentials to access the API.
676
667
  # @return [String]
677
668
  #
678
669
  # @see http://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeactivateUserRequest AWS API Documentation
@@ -683,6 +674,12 @@ module Aws::WorkDocs
683
674
  include Aws::Structure
684
675
  end
685
676
 
677
+ # The last user in the organization is being deactivated.
678
+ #
679
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeactivatingLastSystemUserException AWS API Documentation
680
+ #
681
+ class DeactivatingLastSystemUserException < Aws::EmptyStructure; end
682
+
686
683
  # @note When making an API call, you may pass DeleteCommentRequest
687
684
  # data as a hash:
688
685
  #
@@ -694,9 +691,8 @@ module Aws::WorkDocs
694
691
  # }
695
692
  #
696
693
  # @!attribute [rw] authentication_token
697
- # Amazon WorkDocs authentication token. Do not set this field when
698
- # using administrative API actions, as in accessing the API using AWS
699
- # credentials.
694
+ # Amazon WorkDocs authentication token. Not required when using AWS
695
+ # administrator credentials to access the API.
700
696
  # @return [String]
701
697
  #
702
698
  # @!attribute [rw] document_id
@@ -733,9 +729,8 @@ module Aws::WorkDocs
733
729
  # }
734
730
  #
735
731
  # @!attribute [rw] authentication_token
736
- # Amazon WorkDocs authentication token. Do not set this field when
737
- # using administrative API actions, as in accessing the API using AWS
738
- # credentials.
732
+ # Amazon WorkDocs authentication token. Not required when using AWS
733
+ # administrator credentials to access the API.
739
734
  # @return [String]
740
735
  #
741
736
  # @!attribute [rw] resource_id
@@ -780,9 +775,8 @@ module Aws::WorkDocs
780
775
  # }
781
776
  #
782
777
  # @!attribute [rw] authentication_token
783
- # Amazon WorkDocs authentication token. Do not set this field when
784
- # using administrative API actions, as in accessing the API using AWS
785
- # credentials.
778
+ # Amazon WorkDocs authentication token. Not required when using AWS
779
+ # administrator credentials to access the API.
786
780
  # @return [String]
787
781
  #
788
782
  # @!attribute [rw] document_id
@@ -806,9 +800,8 @@ module Aws::WorkDocs
806
800
  # }
807
801
  #
808
802
  # @!attribute [rw] authentication_token
809
- # Amazon WorkDocs authentication token. Do not set this field when
810
- # using administrative API actions, as in accessing the API using AWS
811
- # credentials.
803
+ # Amazon WorkDocs authentication token. Not required when using AWS
804
+ # administrator credentials to access the API.
812
805
  # @return [String]
813
806
  #
814
807
  # @!attribute [rw] folder_id
@@ -832,9 +825,8 @@ module Aws::WorkDocs
832
825
  # }
833
826
  #
834
827
  # @!attribute [rw] authentication_token
835
- # Amazon WorkDocs authentication token. Do not set this field when
836
- # using administrative API actions, as in accessing the API using AWS
837
- # credentials.
828
+ # Amazon WorkDocs authentication token. Not required when using AWS
829
+ # administrator credentials to access the API.
838
830
  # @return [String]
839
831
  #
840
832
  # @!attribute [rw] folder_id
@@ -864,9 +856,8 @@ module Aws::WorkDocs
864
856
  # @return [String]
865
857
  #
866
858
  # @!attribute [rw] authentication_token
867
- # Amazon WorkDocs authentication token. Do not set this field when
868
- # using administrative API actions, as in accessing the API using AWS
869
- # credentials.
859
+ # Amazon WorkDocs authentication token. Not required when using AWS
860
+ # administrator credentials to access the API.
870
861
  # @return [String]
871
862
  #
872
863
  # @!attribute [rw] labels
@@ -958,9 +949,8 @@ module Aws::WorkDocs
958
949
  # }
959
950
  #
960
951
  # @!attribute [rw] authentication_token
961
- # Amazon WorkDocs authentication token. Do not set this field when
962
- # using administrative API actions, as in accessing the API using AWS
963
- # credentials.
952
+ # Amazon WorkDocs authentication token. Not required when using AWS
953
+ # administrator credentials to access the API.
964
954
  # @return [String]
965
955
  #
966
956
  # @!attribute [rw] start_time
@@ -1054,9 +1044,8 @@ module Aws::WorkDocs
1054
1044
  # }
1055
1045
  #
1056
1046
  # @!attribute [rw] authentication_token
1057
- # Amazon WorkDocs authentication token. Do not set this field when
1058
- # using administrative API actions, as in accessing the API using AWS
1059
- # credentials.
1047
+ # Amazon WorkDocs authentication token. Not required when using AWS
1048
+ # administrator credentials to access the API.
1060
1049
  # @return [String]
1061
1050
  #
1062
1051
  # @!attribute [rw] document_id
@@ -1117,9 +1106,8 @@ module Aws::WorkDocs
1117
1106
  # }
1118
1107
  #
1119
1108
  # @!attribute [rw] authentication_token
1120
- # Amazon WorkDocs authentication token. Do not set this field when
1121
- # using administrative API actions, as in accessing the API using AWS
1122
- # credentials.
1109
+ # Amazon WorkDocs authentication token. Not required when using AWS
1110
+ # administrator credentials to access the API.
1123
1111
  # @return [String]
1124
1112
  #
1125
1113
  # @!attribute [rw] document_id
@@ -1189,9 +1177,8 @@ module Aws::WorkDocs
1189
1177
  # }
1190
1178
  #
1191
1179
  # @!attribute [rw] authentication_token
1192
- # Amazon WorkDocs authentication token. Do not set this field when
1193
- # using administrative API actions, as in accessing the API using AWS
1194
- # credentials.
1180
+ # Amazon WorkDocs authentication token. Not required when using AWS
1181
+ # administrator credentials to access the API.
1195
1182
  # @return [String]
1196
1183
  #
1197
1184
  # @!attribute [rw] folder_id
@@ -1272,9 +1259,8 @@ module Aws::WorkDocs
1272
1259
  # }
1273
1260
  #
1274
1261
  # @!attribute [rw] authentication_token
1275
- # Amazon WorkDocs authentication token. Do not set this field when
1276
- # using administrative API actions, as in accessing the API using AWS
1277
- # credentials.
1262
+ # Amazon WorkDocs authentication token. Not required when using AWS
1263
+ # administrator credentials to access the API.
1278
1264
  # @return [String]
1279
1265
  #
1280
1266
  # @!attribute [rw] search_query
@@ -1382,9 +1368,8 @@ module Aws::WorkDocs
1382
1368
  # }
1383
1369
  #
1384
1370
  # @!attribute [rw] authentication_token
1385
- # Amazon WorkDocs authentication token. Do not set this field when
1386
- # using administrative API actions, as in accessing the API using AWS
1387
- # credentials.
1371
+ # Amazon WorkDocs authentication token. Not required when using AWS
1372
+ # administrator credentials to access the API.
1388
1373
  # @return [String]
1389
1374
  #
1390
1375
  # @!attribute [rw] resource_id
@@ -1442,9 +1427,7 @@ module Aws::WorkDocs
1442
1427
  # }
1443
1428
  #
1444
1429
  # @!attribute [rw] authentication_token
1445
- # Amazon WorkDocs authentication token. Do not set this field when
1446
- # using administrative API actions, as in accessing the API using AWS
1447
- # credentials.
1430
+ # Amazon WorkDocs authentication token.
1448
1431
  # @return [String]
1449
1432
  #
1450
1433
  # @!attribute [rw] limit
@@ -1498,9 +1481,8 @@ module Aws::WorkDocs
1498
1481
  # }
1499
1482
  #
1500
1483
  # @!attribute [rw] authentication_token
1501
- # Amazon WorkDocs authentication token. Do not set this field when
1502
- # using administrative API actions, as in accessing the API using AWS
1503
- # credentials.
1484
+ # Amazon WorkDocs authentication token. Not required when using AWS
1485
+ # administrator credentials to access the API.
1504
1486
  # @return [String]
1505
1487
  #
1506
1488
  # @!attribute [rw] organization_id
@@ -1842,9 +1824,7 @@ module Aws::WorkDocs
1842
1824
  # }
1843
1825
  #
1844
1826
  # @!attribute [rw] authentication_token
1845
- # Amazon WorkDocs authentication token. Do not set this field when
1846
- # using administrative API actions, as in accessing the API using AWS
1847
- # credentials.
1827
+ # Amazon WorkDocs authentication token.
1848
1828
  # @return [String]
1849
1829
  #
1850
1830
  # @see http://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetCurrentUserRequest AWS API Documentation
@@ -1877,9 +1857,8 @@ module Aws::WorkDocs
1877
1857
  # }
1878
1858
  #
1879
1859
  # @!attribute [rw] authentication_token
1880
- # Amazon WorkDocs authentication token. Do not set this field when
1881
- # using administrative API actions, as in accessing the API using AWS
1882
- # credentials.
1860
+ # Amazon WorkDocs authentication token. Not required when using AWS
1861
+ # administrator credentials to access the API.
1883
1862
  # @return [String]
1884
1863
  #
1885
1864
  # @!attribute [rw] document_id
@@ -1931,9 +1910,8 @@ module Aws::WorkDocs
1931
1910
  # }
1932
1911
  #
1933
1912
  # @!attribute [rw] authentication_token
1934
- # Amazon WorkDocs authentication token. Do not set this field when
1935
- # using administrative API actions, as in accessing the API using AWS
1936
- # credentials.
1913
+ # Amazon WorkDocs authentication token. Not required when using AWS
1914
+ # administrator credentials to access the API.
1937
1915
  # @return [String]
1938
1916
  #
1939
1917
  # @!attribute [rw] document_id
@@ -1981,9 +1959,8 @@ module Aws::WorkDocs
1981
1959
  # }
1982
1960
  #
1983
1961
  # @!attribute [rw] authentication_token
1984
- # Amazon WorkDocs authentication token. Do not set this field when
1985
- # using administrative API actions, as in accessing the API using AWS
1986
- # credentials.
1962
+ # Amazon WorkDocs authentication token. Not required when using AWS
1963
+ # administrator credentials to access the API.
1987
1964
  # @return [String]
1988
1965
  #
1989
1966
  # @!attribute [rw] document_id
@@ -2042,9 +2019,8 @@ module Aws::WorkDocs
2042
2019
  # }
2043
2020
  #
2044
2021
  # @!attribute [rw] authentication_token
2045
- # Amazon WorkDocs authentication token. Do not set this field when
2046
- # using administrative API actions, as in accessing the API using AWS
2047
- # credentials.
2022
+ # Amazon WorkDocs authentication token. Not required when using AWS
2023
+ # administrator credentials to access the API.
2048
2024
  # @return [String]
2049
2025
  #
2050
2026
  # @!attribute [rw] folder_id
@@ -2096,9 +2072,8 @@ module Aws::WorkDocs
2096
2072
  # }
2097
2073
  #
2098
2074
  # @!attribute [rw] authentication_token
2099
- # Amazon WorkDocs authentication token. Do not set this field when
2100
- # using administrative API actions, as in accessing the API using AWS
2101
- # credentials.
2075
+ # Amazon WorkDocs authentication token. Not required when using AWS
2076
+ # administrator credentials to access the API.
2102
2077
  # @return [String]
2103
2078
  #
2104
2079
  # @!attribute [rw] folder_id
@@ -2146,9 +2121,8 @@ module Aws::WorkDocs
2146
2121
  # }
2147
2122
  #
2148
2123
  # @!attribute [rw] authentication_token
2149
- # The Amazon WorkDocs authentication token. Do not set this field when
2150
- # using administrative API actions, as in accessing the API operation
2151
- # using AWS credentials.
2124
+ # The Amazon WorkDocs authentication token. Not required when using
2125
+ # AWS administrator credentials to access the API.
2152
2126
  # @return [String]
2153
2127
  #
2154
2128
  # @!attribute [rw] user_id
@@ -2247,9 +2221,8 @@ module Aws::WorkDocs
2247
2221
  # }
2248
2222
  #
2249
2223
  # @!attribute [rw] authentication_token
2250
- # Amazon WorkDocs authentication token. Do not set this field when
2251
- # using administrative API actions, as in accessing the API using AWS
2252
- # credentials.
2224
+ # Amazon WorkDocs authentication token. Not required when using AWS
2225
+ # administrator credentials to access the API.
2253
2226
  # @return [String]
2254
2227
  #
2255
2228
  # @!attribute [rw] id
@@ -2480,9 +2453,8 @@ module Aws::WorkDocs
2480
2453
  # }
2481
2454
  #
2482
2455
  # @!attribute [rw] authentication_token
2483
- # Amazon WorkDocs authentication token. Do not set this field when
2484
- # using administrative API actions, as in accessing the API using AWS
2485
- # credentials.
2456
+ # Amazon WorkDocs authentication token. Not required when using AWS
2457
+ # administrator credentials to access the API.
2486
2458
  # @return [String]
2487
2459
  #
2488
2460
  # @!attribute [rw] resource_id
@@ -2508,9 +2480,8 @@ module Aws::WorkDocs
2508
2480
  # }
2509
2481
  #
2510
2482
  # @!attribute [rw] authentication_token
2511
- # Amazon WorkDocs authentication token. Do not set this field when
2512
- # using administrative API actions, as in accessing the API using AWS
2513
- # credentials.
2483
+ # Amazon WorkDocs authentication token. Not required when using AWS
2484
+ # administrator credentials to access the API.
2514
2485
  # @return [String]
2515
2486
  #
2516
2487
  # @!attribute [rw] resource_id
@@ -2816,6 +2787,12 @@ module Aws::WorkDocs
2816
2787
  include Aws::Structure
2817
2788
  end
2818
2789
 
2790
+ # The operation is not permitted.
2791
+ #
2792
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/UnauthorizedOperationException AWS API Documentation
2793
+ #
2794
+ class UnauthorizedOperationException < Aws::EmptyStructure; end
2795
+
2819
2796
  # The caller does not have access to perform the action on the resource.
2820
2797
  #
2821
2798
  # @!attribute [rw] message
@@ -2840,9 +2817,8 @@ module Aws::WorkDocs
2840
2817
  # }
2841
2818
  #
2842
2819
  # @!attribute [rw] authentication_token
2843
- # Amazon WorkDocs authentication token. Do not set this field when
2844
- # using administrative API actions, as in accessing the API using AWS
2845
- # credentials.
2820
+ # Amazon WorkDocs authentication token. Not required when using AWS
2821
+ # administrator credentials to access the API.
2846
2822
  # @return [String]
2847
2823
  #
2848
2824
  # @!attribute [rw] document_id
@@ -2884,9 +2860,8 @@ module Aws::WorkDocs
2884
2860
  # }
2885
2861
  #
2886
2862
  # @!attribute [rw] authentication_token
2887
- # Amazon WorkDocs authentication token. Do not set this field when
2888
- # using administrative API actions, as in accessing the API using AWS
2889
- # credentials.
2863
+ # Amazon WorkDocs authentication token. Not required when using AWS
2864
+ # administrator credentials to access the API.
2890
2865
  # @return [String]
2891
2866
  #
2892
2867
  # @!attribute [rw] document_id
@@ -2923,9 +2898,8 @@ module Aws::WorkDocs
2923
2898
  # }
2924
2899
  #
2925
2900
  # @!attribute [rw] authentication_token
2926
- # Amazon WorkDocs authentication token. Do not set this field when
2927
- # using administrative API actions, as in accessing the API using AWS
2928
- # credentials.
2901
+ # Amazon WorkDocs authentication token. Not required when using AWS
2902
+ # administrator credentials to access the API.
2929
2903
  # @return [String]
2930
2904
  #
2931
2905
  # @!attribute [rw] folder_id
@@ -2975,9 +2949,8 @@ module Aws::WorkDocs
2975
2949
  # }
2976
2950
  #
2977
2951
  # @!attribute [rw] authentication_token
2978
- # Amazon WorkDocs authentication token. Do not set this field when
2979
- # using administrative API actions, as in accessing the API using AWS
2980
- # credentials.
2952
+ # Amazon WorkDocs authentication token. Not required when using AWS
2953
+ # administrator credentials to access the API.
2981
2954
  # @return [String]
2982
2955
  #
2983
2956
  # @!attribute [rw] user_id
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.19.0
4
+ version: 1.20.1
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-10-23 00:00:00.000000000 Z
11
+ date: 2020-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core