aws-sdk-workdocs 1.42.0 → 1.43.0

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
  SHA256:
3
- metadata.gz: 9df40970297efdff7fbd6d6d41b3fa69053a4d8c6e85b80fe7de23a6c2e5b090
4
- data.tar.gz: 6396088600aa5a71b69f936f97d966cbecf2d74829642a3e978f77c99582e42f
3
+ metadata.gz: 95b7b0d42e5e0d7a9236215ea6135a0d05ee895c58180d31fe4ee99a76a34016
4
+ data.tar.gz: aaa3b5226c6c561580371b99d8fd71b97cd47dd44a5ecf7715d3d02c05c62bb2
5
5
  SHA512:
6
- metadata.gz: 53f5fd47db229ec4578bf651019e6fc13aa4d73e67bb3907ab03419e34d8ce5e73be9ef9a7b75dff5e2dcbe5e1541e15c74ec3a0d9bf89fe28968d586d9afe5b
7
- data.tar.gz: 868218a65e307dccddfda3505043348cff6217d3ec6e2467df60594c317827ef465e66e2ec6294fb87716f360b21bf6cb0632e328ee63f866eab9b7da5254175
6
+ metadata.gz: bb260d427fbb578370a4d87bd8db01f04714c1ec57c60816ff00e3862b76ba2384de9c337ce7e2e9d75613101bb46bfc31116577bc432d5dde29d50d5c75d78f
7
+ data.tar.gz: da66acff527a4142fd01001965b681f84236621472e7c98e6438248cacd1d7b951c1e0b5aad284683503e1aa756f06d8a6b3c0522b006e81a61c6b4c1feccfa2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.43.0 (2023-02-09)
5
+ ------------------
6
+
7
+ * Feature - Doc only update for the WorkDocs APIs.
8
+
4
9
  1.42.0 (2023-01-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.42.0
1
+ 1.43.0
@@ -374,8 +374,8 @@ module Aws::WorkDocs
374
374
  # document version, or fails to do so.
375
375
  #
376
376
  # @option params [String] :authentication_token
377
- # Amazon WorkDocs authentication token. Not required when using AWS
378
- # administrator credentials to access the API.
377
+ # Amazon WorkDocs authentication token. Not required when using Amazon
378
+ # Web Services administrator credentials to access the API.
379
379
  #
380
380
  # @option params [required, String] :document_id
381
381
  # The ID of the document.
@@ -409,8 +409,8 @@ module Aws::WorkDocs
409
409
  # The ID of the user.
410
410
  #
411
411
  # @option params [String] :authentication_token
412
- # Amazon WorkDocs authentication token. Not required when using AWS
413
- # administrator credentials to access the API.
412
+ # Amazon WorkDocs authentication token. Not required when using Amazon
413
+ # Web Services administrator credentials to access the API.
414
414
  #
415
415
  # @return [Types::ActivateUserResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
416
416
  #
@@ -457,8 +457,8 @@ module Aws::WorkDocs
457
457
  # different permissions.
458
458
  #
459
459
  # @option params [String] :authentication_token
460
- # Amazon WorkDocs authentication token. Not required when using AWS
461
- # administrator credentials to access the API.
460
+ # Amazon WorkDocs authentication token. Not required when using Amazon
461
+ # Web Services administrator credentials to access the API.
462
462
  #
463
463
  # @option params [required, String] :resource_id
464
464
  # The ID of the resource.
@@ -513,8 +513,8 @@ module Aws::WorkDocs
513
513
  # Adds a new comment to the specified document version.
514
514
  #
515
515
  # @option params [String] :authentication_token
516
- # Amazon WorkDocs authentication token. Not required when using AWS
517
- # administrator credentials to access the API.
516
+ # Amazon WorkDocs authentication token. Not required when using Amazon
517
+ # Web Services administrator credentials to access the API.
518
518
  #
519
519
  # @option params [required, String] :document_id
520
520
  # The ID of the document.
@@ -599,8 +599,8 @@ module Aws::WorkDocs
599
599
  # folder, document, or version).
600
600
  #
601
601
  # @option params [String] :authentication_token
602
- # Amazon WorkDocs authentication token. Not required when using AWS
603
- # administrator credentials to access the API.
602
+ # Amazon WorkDocs authentication token. Not required when using Amazon
603
+ # Web Services administrator credentials to access the API.
604
604
  #
605
605
  # @option params [required, String] :resource_id
606
606
  # The ID of the resource.
@@ -637,8 +637,8 @@ module Aws::WorkDocs
637
637
  # Creates a folder with the specified name and parent folder.
638
638
  #
639
639
  # @option params [String] :authentication_token
640
- # Amazon WorkDocs authentication token. Not required when using AWS
641
- # administrator credentials to access the API.
640
+ # Amazon WorkDocs authentication token. Not required when using Amazon
641
+ # Web Services administrator credentials to access the API.
642
642
  #
643
643
  # @option params [String] :name
644
644
  # The name of the new folder.
@@ -692,8 +692,8 @@ module Aws::WorkDocs
692
692
  # List of labels to add to the resource.
693
693
  #
694
694
  # @option params [String] :authentication_token
695
- # Amazon WorkDocs authentication token. Not required when using AWS
696
- # administrator credentials to access the API.
695
+ # Amazon WorkDocs authentication token. Not required when using Amazon
696
+ # Web Services administrator credentials to access the API.
697
697
  #
698
698
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
699
699
  #
@@ -796,8 +796,8 @@ module Aws::WorkDocs
796
796
  # The amount of storage for the user.
797
797
  #
798
798
  # @option params [String] :authentication_token
799
- # Amazon WorkDocs authentication token. Not required when using AWS
800
- # administrator credentials to access the API.
799
+ # Amazon WorkDocs authentication token. Not required when using Amazon
800
+ # Web Services administrator credentials to access the API.
801
801
  #
802
802
  # @return [Types::CreateUserResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
803
803
  #
@@ -856,8 +856,8 @@ module Aws::WorkDocs
856
856
  # The ID of the user.
857
857
  #
858
858
  # @option params [String] :authentication_token
859
- # Amazon WorkDocs authentication token. Not required when using AWS
860
- # administrator credentials to access the API.
859
+ # Amazon WorkDocs authentication token. Not required when using Amazon
860
+ # Web Services administrator credentials to access the API.
861
861
  #
862
862
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
863
863
  #
@@ -880,8 +880,8 @@ module Aws::WorkDocs
880
880
  # Deletes the specified comment from the document version.
881
881
  #
882
882
  # @option params [String] :authentication_token
883
- # Amazon WorkDocs authentication token. Not required when using AWS
884
- # administrator credentials to access the API.
883
+ # Amazon WorkDocs authentication token. Not required when using Amazon
884
+ # Web Services administrator credentials to access the API.
885
885
  #
886
886
  # @option params [required, String] :document_id
887
887
  # The ID of the document.
@@ -915,8 +915,8 @@ module Aws::WorkDocs
915
915
  # Deletes custom metadata from the specified resource.
916
916
  #
917
917
  # @option params [String] :authentication_token
918
- # Amazon WorkDocs authentication token. Not required when using AWS
919
- # administrator credentials to access the API.
918
+ # Amazon WorkDocs authentication token. Not required when using Amazon
919
+ # Web Services administrator credentials to access the API.
920
920
  #
921
921
  # @option params [required, String] :resource_id
922
922
  # The ID of the resource, either a document or folder.
@@ -957,8 +957,8 @@ module Aws::WorkDocs
957
957
  # metadata.
958
958
  #
959
959
  # @option params [String] :authentication_token
960
- # Amazon WorkDocs authentication token. Not required when using AWS
961
- # administrator credentials to access the API.
960
+ # Amazon WorkDocs authentication token. Not required when using Amazon
961
+ # Web Services administrator credentials to access the API.
962
962
  #
963
963
  # @option params [required, String] :document_id
964
964
  # The ID of the document.
@@ -981,22 +981,20 @@ module Aws::WorkDocs
981
981
  req.send_request(options)
982
982
  end
983
983
 
984
- # Deletes a version of an Amazon WorkDocs document. Use the
985
- # `DeletePriorVersions` parameter to delete prior versions.
984
+ # Deletes a specific version of a document.
986
985
  #
987
986
  # @option params [String] :authentication_token
988
- # Amazon WorkDocs authentication token. Not required when using AWS
989
- # administrator credentials to access the API.
987
+ # Amazon WorkDocs authentication token. Not required when using Amazon
988
+ # Web Services administrator credentials to access the API.
990
989
  #
991
990
  # @option params [required, String] :document_id
992
- # The ID of a document.
991
+ # The ID of the document associated with the version being deleted.
993
992
  #
994
993
  # @option params [required, String] :version_id
995
- # The version ID of a document.
994
+ # The ID of the version being deleted.
996
995
  #
997
996
  # @option params [required, Boolean] :delete_prior_versions
998
- # When set to `TRUE`, deletes the specified version and *all prior
999
- # versions* of a document.
997
+ # Deletes all versions of a document prior to the current version.
1000
998
  #
1001
999
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1002
1000
  #
@@ -1021,8 +1019,8 @@ module Aws::WorkDocs
1021
1019
  # Permanently deletes the specified folder and its contents.
1022
1020
  #
1023
1021
  # @option params [String] :authentication_token
1024
- # Amazon WorkDocs authentication token. Not required when using AWS
1025
- # administrator credentials to access the API.
1022
+ # Amazon WorkDocs authentication token. Not required when using Amazon
1023
+ # Web Services administrator credentials to access the API.
1026
1024
  #
1027
1025
  # @option params [required, String] :folder_id
1028
1026
  # The ID of the folder.
@@ -1048,8 +1046,8 @@ module Aws::WorkDocs
1048
1046
  # Deletes the contents of the specified folder.
1049
1047
  #
1050
1048
  # @option params [String] :authentication_token
1051
- # Amazon WorkDocs authentication token. Not required when using AWS
1052
- # administrator credentials to access the API.
1049
+ # Amazon WorkDocs authentication token. Not required when using Amazon
1050
+ # Web Services administrator credentials to access the API.
1053
1051
  #
1054
1052
  # @option params [required, String] :folder_id
1055
1053
  # The ID of the folder.
@@ -1078,8 +1076,8 @@ module Aws::WorkDocs
1078
1076
  # The ID of the resource.
1079
1077
  #
1080
1078
  # @option params [String] :authentication_token
1081
- # Amazon WorkDocs authentication token. Not required when using AWS
1082
- # administrator credentials to access the API.
1079
+ # Amazon WorkDocs authentication token. Not required when using Amazon
1080
+ # Web Services administrator credentials to access the API.
1083
1081
  #
1084
1082
  # @option params [Array<String>] :labels
1085
1083
  # List of labels to delete from the resource.
@@ -1135,10 +1133,14 @@ module Aws::WorkDocs
1135
1133
 
1136
1134
  # Deletes the specified user from a Simple AD or Microsoft AD directory.
1137
1135
  #
1136
+ # Deleting a user immediately and permanently deletes all content in
1137
+ # that user's folder structure. Site retention policies do NOT apply to
1138
+ # this type of deletion.
1139
+ #
1138
1140
  # @option params [String] :authentication_token
1139
1141
  # Amazon WorkDocs authentication token. Do not set this field when using
1140
- # administrative API actions, as in accessing the API using AWS
1141
- # credentials.
1142
+ # administrative API actions, as in accessing the API using Amazon Web
1143
+ # Services credentials.
1142
1144
  #
1143
1145
  # @option params [required, String] :user_id
1144
1146
  # The ID of the user.
@@ -1164,8 +1166,8 @@ module Aws::WorkDocs
1164
1166
  # Describes the user activities in a specified time period.
1165
1167
  #
1166
1168
  # @option params [String] :authentication_token
1167
- # Amazon WorkDocs authentication token. Not required when using AWS
1168
- # administrator credentials to access the API.
1169
+ # Amazon WorkDocs authentication token. Not required when using Amazon
1170
+ # Web Services administrator credentials to access the API.
1169
1171
  #
1170
1172
  # @option params [Time,DateTime,Date,Integer,String] :start_time
1171
1173
  # The timestamp that determines the starting time of the activities. The
@@ -1303,8 +1305,8 @@ module Aws::WorkDocs
1303
1305
  # List all the comments for the specified document version.
1304
1306
  #
1305
1307
  # @option params [String] :authentication_token
1306
- # Amazon WorkDocs authentication token. Not required when using AWS
1307
- # administrator credentials to access the API.
1308
+ # Amazon WorkDocs authentication token. Not required when using Amazon
1309
+ # Web Services administrator credentials to access the API.
1308
1310
  #
1309
1311
  # @option params [required, String] :document_id
1310
1312
  # The ID of the document.
@@ -1378,8 +1380,8 @@ module Aws::WorkDocs
1378
1380
  # By default, only active versions are returned.
1379
1381
  #
1380
1382
  # @option params [String] :authentication_token
1381
- # Amazon WorkDocs authentication token. Not required when using AWS
1382
- # administrator credentials to access the API.
1383
+ # Amazon WorkDocs authentication token. Not required when using Amazon
1384
+ # Web Services administrator credentials to access the API.
1383
1385
  #
1384
1386
  # @option params [required, String] :document_id
1385
1387
  # The ID of the document.
@@ -1455,8 +1457,8 @@ module Aws::WorkDocs
1455
1457
  # You can also request initialized documents.
1456
1458
  #
1457
1459
  # @option params [String] :authentication_token
1458
- # Amazon WorkDocs authentication token. Not required when using AWS
1459
- # administrator credentials to access the API.
1460
+ # Amazon WorkDocs authentication token. Not required when using Amazon
1461
+ # Web Services administrator credentials to access the API.
1460
1462
  #
1461
1463
  # @option params [required, String] :folder_id
1462
1464
  # The ID of the folder.
@@ -1556,8 +1558,8 @@ module Aws::WorkDocs
1556
1558
  # underlying Active Directory.
1557
1559
  #
1558
1560
  # @option params [String] :authentication_token
1559
- # Amazon WorkDocs authentication token. Not required when using AWS
1560
- # administrator credentials to access the API.
1561
+ # Amazon WorkDocs authentication token. Not required when using Amazon
1562
+ # Web Services administrator credentials to access the API.
1561
1563
  #
1562
1564
  # @option params [required, String] :search_query
1563
1565
  # A query to describe groups by group name.
@@ -1648,8 +1650,8 @@ module Aws::WorkDocs
1648
1650
  # Describes the permissions of a specified resource.
1649
1651
  #
1650
1652
  # @option params [String] :authentication_token
1651
- # Amazon WorkDocs authentication token. Not required when using AWS
1652
- # administrator credentials to access the API.
1653
+ # Amazon WorkDocs authentication token. Not required when using Amazon
1654
+ # Web Services administrator credentials to access the API.
1653
1655
  #
1654
1656
  # @option params [required, String] :resource_id
1655
1657
  # The ID of the resource.
@@ -1769,8 +1771,8 @@ module Aws::WorkDocs
1769
1771
  # you can use to request the next set of results.
1770
1772
  #
1771
1773
  # @option params [String] :authentication_token
1772
- # Amazon WorkDocs authentication token. Not required when using AWS
1773
- # administrator credentials to access the API.
1774
+ # Amazon WorkDocs authentication token. Not required when using Amazon
1775
+ # Web Services administrator credentials to access the API.
1774
1776
  #
1775
1777
  # @option params [String] :organization_id
1776
1778
  # The ID of the organization.
@@ -1935,8 +1937,8 @@ module Aws::WorkDocs
1935
1937
  # Retrieves details of a document.
1936
1938
  #
1937
1939
  # @option params [String] :authentication_token
1938
- # Amazon WorkDocs authentication token. Not required when using AWS
1939
- # administrator credentials to access the API.
1940
+ # Amazon WorkDocs authentication token. Not required when using Amazon
1941
+ # Web Services administrator credentials to access the API.
1940
1942
  #
1941
1943
  # @option params [required, String] :document_id
1942
1944
  # The ID of the document.
@@ -2003,8 +2005,8 @@ module Aws::WorkDocs
2003
2005
  # can also request the names of the parent folders.
2004
2006
  #
2005
2007
  # @option params [String] :authentication_token
2006
- # Amazon WorkDocs authentication token. Not required when using AWS
2007
- # administrator credentials to access the API.
2008
+ # Amazon WorkDocs authentication token. Not required when using Amazon
2009
+ # Web Services administrator credentials to access the API.
2008
2010
  #
2009
2011
  # @option params [required, String] :document_id
2010
2012
  # The ID of the document.
@@ -2051,8 +2053,8 @@ module Aws::WorkDocs
2051
2053
  # Retrieves version metadata for the specified document.
2052
2054
  #
2053
2055
  # @option params [String] :authentication_token
2054
- # Amazon WorkDocs authentication token. Not required when using AWS
2055
- # administrator credentials to access the API.
2056
+ # Amazon WorkDocs authentication token. Not required when using Amazon
2057
+ # Web Services administrator credentials to access the API.
2056
2058
  #
2057
2059
  # @option params [required, String] :document_id
2058
2060
  # The ID of the document.
@@ -2114,8 +2116,8 @@ module Aws::WorkDocs
2114
2116
  # Retrieves the metadata of the specified folder.
2115
2117
  #
2116
2118
  # @option params [String] :authentication_token
2117
- # Amazon WorkDocs authentication token. Not required when using AWS
2118
- # administrator credentials to access the API.
2119
+ # Amazon WorkDocs authentication token. Not required when using Amazon
2120
+ # Web Services administrator credentials to access the API.
2119
2121
  #
2120
2122
  # @option params [required, String] :folder_id
2121
2123
  # The ID of the folder.
@@ -2171,8 +2173,8 @@ module Aws::WorkDocs
2171
2173
  # can also request the parent folder names.
2172
2174
  #
2173
2175
  # @option params [String] :authentication_token
2174
- # Amazon WorkDocs authentication token. Not required when using AWS
2175
- # administrator credentials to access the API.
2176
+ # Amazon WorkDocs authentication token. Not required when using Amazon
2177
+ # Web Services administrator credentials to access the API.
2176
2178
  #
2177
2179
  # @option params [required, String] :folder_id
2178
2180
  # The ID of the folder.
@@ -2220,8 +2222,8 @@ module Aws::WorkDocs
2220
2222
  # The only `CollectionType` supported is `SHARED_WITH_ME`.
2221
2223
  #
2222
2224
  # @option params [String] :authentication_token
2223
- # The Amazon WorkDocs authentication token. Not required when using AWS
2224
- # administrator credentials to access the API.
2225
+ # The Amazon WorkDocs authentication token. Not required when using
2226
+ # Amazon Web Services administrator credentials to access the API.
2225
2227
  #
2226
2228
  # @option params [String] :user_id
2227
2229
  # The user ID for the resource collection. This is a required field for
@@ -2314,8 +2316,8 @@ module Aws::WorkDocs
2314
2316
  # To cancel the document upload, call AbortDocumentVersionUpload.
2315
2317
  #
2316
2318
  # @option params [String] :authentication_token
2317
- # Amazon WorkDocs authentication token. Not required when using AWS
2318
- # administrator credentials to access the API.
2319
+ # Amazon WorkDocs authentication token. Not required when using Amazon
2320
+ # Web Services administrator credentials to access the API.
2319
2321
  #
2320
2322
  # @option params [String] :id
2321
2323
  # The ID of the document.
@@ -2397,8 +2399,8 @@ module Aws::WorkDocs
2397
2399
  # Removes all the permissions from the specified resource.
2398
2400
  #
2399
2401
  # @option params [String] :authentication_token
2400
- # Amazon WorkDocs authentication token. Not required when using AWS
2401
- # administrator credentials to access the API.
2402
+ # Amazon WorkDocs authentication token. Not required when using Amazon
2403
+ # Web Services administrator credentials to access the API.
2402
2404
  #
2403
2405
  # @option params [required, String] :resource_id
2404
2406
  # The ID of the resource.
@@ -2425,8 +2427,8 @@ module Aws::WorkDocs
2425
2427
  # resource.
2426
2428
  #
2427
2429
  # @option params [String] :authentication_token
2428
- # Amazon WorkDocs authentication token. Not required when using AWS
2429
- # administrator credentials to access the API.
2430
+ # Amazon WorkDocs authentication token. Not required when using Amazon
2431
+ # Web Services administrator credentials to access the API.
2430
2432
  #
2431
2433
  # @option params [required, String] :resource_id
2432
2434
  # The ID of the resource.
@@ -2460,8 +2462,8 @@ module Aws::WorkDocs
2460
2462
  # Recovers a deleted version of an Amazon WorkDocs document.
2461
2463
  #
2462
2464
  # @option params [String] :authentication_token
2463
- # Amazon WorkDocs authentication token. Not required when using AWS
2464
- # administrator credentials to access the API.
2465
+ # Amazon WorkDocs authentication token. Not required when using Amazon
2466
+ # Web Services administrator credentials to access the API.
2465
2467
  #
2466
2468
  # @option params [required, String] :document_id
2467
2469
  # The ID of the document.
@@ -2488,8 +2490,8 @@ module Aws::WorkDocs
2488
2490
  # access to both the document and its parent folder, if applicable.
2489
2491
  #
2490
2492
  # @option params [String] :authentication_token
2491
- # Amazon WorkDocs authentication token. Not required when using AWS
2492
- # administrator credentials to access the API.
2493
+ # Amazon WorkDocs authentication token. Not required when using Amazon
2494
+ # Web Services administrator credentials to access the API.
2493
2495
  #
2494
2496
  # @option params [required, String] :document_id
2495
2497
  # The ID of the document.
@@ -2533,8 +2535,8 @@ module Aws::WorkDocs
2533
2535
  # InitiateDocumentVersionUpload.
2534
2536
  #
2535
2537
  # @option params [String] :authentication_token
2536
- # Amazon WorkDocs authentication token. Not required when using AWS
2537
- # administrator credentials to access the API.
2538
+ # Amazon WorkDocs authentication token. Not required when using Amazon
2539
+ # Web Services administrator credentials to access the API.
2538
2540
  #
2539
2541
  # @option params [required, String] :document_id
2540
2542
  # The ID of the document.
@@ -2570,8 +2572,8 @@ module Aws::WorkDocs
2570
2572
  # applicable.
2571
2573
  #
2572
2574
  # @option params [String] :authentication_token
2573
- # Amazon WorkDocs authentication token. Not required when using AWS
2574
- # administrator credentials to access the API.
2575
+ # Amazon WorkDocs authentication token. Not required when using Amazon
2576
+ # Web Services administrator credentials to access the API.
2575
2577
  #
2576
2578
  # @option params [required, String] :folder_id
2577
2579
  # The ID of the folder.
@@ -2611,8 +2613,8 @@ module Aws::WorkDocs
2611
2613
  # revokes administrative privileges to the Amazon WorkDocs site.
2612
2614
  #
2613
2615
  # @option params [String] :authentication_token
2614
- # Amazon WorkDocs authentication token. Not required when using AWS
2615
- # administrator credentials to access the API.
2616
+ # Amazon WorkDocs authentication token. Not required when using Amazon
2617
+ # Web Services administrator credentials to access the API.
2616
2618
  #
2617
2619
  # @option params [required, String] :user_id
2618
2620
  # The ID of the user.
@@ -2636,7 +2638,7 @@ module Aws::WorkDocs
2636
2638
  # The locale of the user.
2637
2639
  #
2638
2640
  # @option params [String] :grant_poweruser_privileges
2639
- # Boolean value to determine whether the user is granted Poweruser
2641
+ # Boolean value to determine whether the user is granted Power user
2640
2642
  # privileges.
2641
2643
  #
2642
2644
  # @return [Types::UpdateUserResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -2702,7 +2704,7 @@ module Aws::WorkDocs
2702
2704
  params: params,
2703
2705
  config: config)
2704
2706
  context[:gem_name] = 'aws-sdk-workdocs'
2705
- context[:gem_version] = '1.42.0'
2707
+ context[:gem_version] = '1.43.0'
2706
2708
  Seahorse::Client::Request.new(handlers, context)
2707
2709
  end
2708
2710
 
@@ -50,6 +50,9 @@ module Aws::WorkDocs
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
+ if self[:region].nil?
54
+ raise ArgumentError, "Missing required EndpointParameter: :region"
55
+ end
53
56
  self[:use_dual_stack] = options[:use_dual_stack]
54
57
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
58
  if self[:use_dual_stack].nil?
@@ -15,7 +15,7 @@ module Aws::WorkDocs
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
17
  if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
18
+ if Aws::Endpoints::Matchers.set?(endpoint)
19
19
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
20
  raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
21
  end
@@ -11,8 +11,8 @@ module Aws::WorkDocs
11
11
  module Types
12
12
 
13
13
  # @!attribute [rw] authentication_token
14
- # Amazon WorkDocs authentication token. Not required when using AWS
15
- # administrator credentials to access the API.
14
+ # Amazon WorkDocs authentication token. Not required when using Amazon
15
+ # Web Services administrator credentials to access the API.
16
16
  # @return [String]
17
17
  #
18
18
  # @!attribute [rw] document_id
@@ -38,8 +38,8 @@ module Aws::WorkDocs
38
38
  # @return [String]
39
39
  #
40
40
  # @!attribute [rw] authentication_token
41
- # Amazon WorkDocs authentication token. Not required when using AWS
42
- # administrator credentials to access the API.
41
+ # Amazon WorkDocs authentication token. Not required when using Amazon
42
+ # Web Services administrator credentials to access the API.
43
43
  # @return [String]
44
44
  #
45
45
  # @see http://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/ActivateUserRequest AWS API Documentation
@@ -127,8 +127,8 @@ module Aws::WorkDocs
127
127
  end
128
128
 
129
129
  # @!attribute [rw] authentication_token
130
- # Amazon WorkDocs authentication token. Not required when using AWS
131
- # administrator credentials to access the API.
130
+ # Amazon WorkDocs authentication token. Not required when using Amazon
131
+ # Web Services administrator credentials to access the API.
132
132
  # @return [String]
133
133
  #
134
134
  # @!attribute [rw] resource_id
@@ -286,8 +286,8 @@ module Aws::WorkDocs
286
286
  end
287
287
 
288
288
  # @!attribute [rw] authentication_token
289
- # Amazon WorkDocs authentication token. Not required when using AWS
290
- # administrator credentials to access the API.
289
+ # Amazon WorkDocs authentication token. Not required when using Amazon
290
+ # Web Services administrator credentials to access the API.
291
291
  # @return [String]
292
292
  #
293
293
  # @!attribute [rw] document_id
@@ -350,8 +350,8 @@ module Aws::WorkDocs
350
350
  end
351
351
 
352
352
  # @!attribute [rw] authentication_token
353
- # Amazon WorkDocs authentication token. Not required when using AWS
354
- # administrator credentials to access the API.
353
+ # Amazon WorkDocs authentication token. Not required when using Amazon
354
+ # Web Services administrator credentials to access the API.
355
355
  # @return [String]
356
356
  #
357
357
  # @!attribute [rw] resource_id
@@ -383,8 +383,8 @@ module Aws::WorkDocs
383
383
  class CreateCustomMetadataResponse < Aws::EmptyStructure; end
384
384
 
385
385
  # @!attribute [rw] authentication_token
386
- # Amazon WorkDocs authentication token. Not required when using AWS
387
- # administrator credentials to access the API.
386
+ # Amazon WorkDocs authentication token. Not required when using Amazon
387
+ # Web Services administrator credentials to access the API.
388
388
  # @return [String]
389
389
  #
390
390
  # @!attribute [rw] name
@@ -426,8 +426,8 @@ module Aws::WorkDocs
426
426
  # @return [Array<String>]
427
427
  #
428
428
  # @!attribute [rw] authentication_token
429
- # Amazon WorkDocs authentication token. Not required when using AWS
430
- # administrator credentials to access the API.
429
+ # Amazon WorkDocs authentication token. Not required when using Amazon
430
+ # Web Services administrator credentials to access the API.
431
431
  # @return [String]
432
432
  #
433
433
  # @see http://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateLabelsRequest AWS API Documentation
@@ -518,8 +518,8 @@ module Aws::WorkDocs
518
518
  # @return [Types::StorageRuleType]
519
519
  #
520
520
  # @!attribute [rw] authentication_token
521
- # Amazon WorkDocs authentication token. Not required when using AWS
522
- # administrator credentials to access the API.
521
+ # Amazon WorkDocs authentication token. Not required when using Amazon
522
+ # Web Services administrator credentials to access the API.
523
523
  # @return [String]
524
524
  #
525
525
  # @see http://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateUserRequest AWS API Documentation
@@ -569,8 +569,8 @@ module Aws::WorkDocs
569
569
  # @return [String]
570
570
  #
571
571
  # @!attribute [rw] authentication_token
572
- # Amazon WorkDocs authentication token. Not required when using AWS
573
- # administrator credentials to access the API.
572
+ # Amazon WorkDocs authentication token. Not required when using Amazon
573
+ # Web Services administrator credentials to access the API.
574
574
  # @return [String]
575
575
  #
576
576
  # @see http://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeactivateUserRequest AWS API Documentation
@@ -589,8 +589,8 @@ module Aws::WorkDocs
589
589
  class DeactivatingLastSystemUserException < Aws::EmptyStructure; end
590
590
 
591
591
  # @!attribute [rw] authentication_token
592
- # Amazon WorkDocs authentication token. Not required when using AWS
593
- # administrator credentials to access the API.
592
+ # Amazon WorkDocs authentication token. Not required when using Amazon
593
+ # Web Services administrator credentials to access the API.
594
594
  # @return [String]
595
595
  #
596
596
  # @!attribute [rw] document_id
@@ -617,8 +617,8 @@ module Aws::WorkDocs
617
617
  end
618
618
 
619
619
  # @!attribute [rw] authentication_token
620
- # Amazon WorkDocs authentication token. Not required when using AWS
621
- # administrator credentials to access the API.
620
+ # Amazon WorkDocs authentication token. Not required when using Amazon
621
+ # Web Services administrator credentials to access the API.
622
622
  # @return [String]
623
623
  #
624
624
  # @!attribute [rw] resource_id
@@ -656,8 +656,8 @@ module Aws::WorkDocs
656
656
  class DeleteCustomMetadataResponse < Aws::EmptyStructure; end
657
657
 
658
658
  # @!attribute [rw] authentication_token
659
- # Amazon WorkDocs authentication token. Not required when using AWS
660
- # administrator credentials to access the API.
659
+ # Amazon WorkDocs authentication token. Not required when using Amazon
660
+ # Web Services administrator credentials to access the API.
661
661
  # @return [String]
662
662
  #
663
663
  # @!attribute [rw] document_id
@@ -674,21 +674,20 @@ module Aws::WorkDocs
674
674
  end
675
675
 
676
676
  # @!attribute [rw] authentication_token
677
- # Amazon WorkDocs authentication token. Not required when using AWS
678
- # administrator credentials to access the API.
677
+ # Amazon WorkDocs authentication token. Not required when using Amazon
678
+ # Web Services administrator credentials to access the API.
679
679
  # @return [String]
680
680
  #
681
681
  # @!attribute [rw] document_id
682
- # The ID of a document.
682
+ # The ID of the document associated with the version being deleted.
683
683
  # @return [String]
684
684
  #
685
685
  # @!attribute [rw] version_id
686
- # The version ID of a document.
686
+ # The ID of the version being deleted.
687
687
  # @return [String]
688
688
  #
689
689
  # @!attribute [rw] delete_prior_versions
690
- # When set to `TRUE`, deletes the specified version and *all prior
691
- # versions* of a document.
690
+ # Deletes all versions of a document prior to the current version.
692
691
  # @return [Boolean]
693
692
  #
694
693
  # @see http://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteDocumentVersionRequest AWS API Documentation
@@ -703,8 +702,8 @@ module Aws::WorkDocs
703
702
  end
704
703
 
705
704
  # @!attribute [rw] authentication_token
706
- # Amazon WorkDocs authentication token. Not required when using AWS
707
- # administrator credentials to access the API.
705
+ # Amazon WorkDocs authentication token. Not required when using Amazon
706
+ # Web Services administrator credentials to access the API.
708
707
  # @return [String]
709
708
  #
710
709
  # @!attribute [rw] folder_id
@@ -721,8 +720,8 @@ module Aws::WorkDocs
721
720
  end
722
721
 
723
722
  # @!attribute [rw] authentication_token
724
- # Amazon WorkDocs authentication token. Not required when using AWS
725
- # administrator credentials to access the API.
723
+ # Amazon WorkDocs authentication token. Not required when using Amazon
724
+ # Web Services administrator credentials to access the API.
726
725
  # @return [String]
727
726
  #
728
727
  # @!attribute [rw] folder_id
@@ -743,8 +742,8 @@ module Aws::WorkDocs
743
742
  # @return [String]
744
743
  #
745
744
  # @!attribute [rw] authentication_token
746
- # Amazon WorkDocs authentication token. Not required when using AWS
747
- # administrator credentials to access the API.
745
+ # Amazon WorkDocs authentication token. Not required when using Amazon
746
+ # Web Services administrator credentials to access the API.
748
747
  # @return [String]
749
748
  #
750
749
  # @!attribute [rw] labels
@@ -789,8 +788,8 @@ module Aws::WorkDocs
789
788
 
790
789
  # @!attribute [rw] authentication_token
791
790
  # Amazon WorkDocs authentication token. Do not set this field when
792
- # using administrative API actions, as in accessing the API using AWS
793
- # credentials.
791
+ # using administrative API actions, as in accessing the API using
792
+ # Amazon Web Services credentials.
794
793
  # @return [String]
795
794
  #
796
795
  # @!attribute [rw] user_id
@@ -807,8 +806,8 @@ module Aws::WorkDocs
807
806
  end
808
807
 
809
808
  # @!attribute [rw] authentication_token
810
- # Amazon WorkDocs authentication token. Not required when using AWS
811
- # administrator credentials to access the API.
809
+ # Amazon WorkDocs authentication token. Not required when using Amazon
810
+ # Web Services administrator credentials to access the API.
812
811
  # @return [String]
813
812
  #
814
813
  # @!attribute [rw] start_time
@@ -893,8 +892,8 @@ module Aws::WorkDocs
893
892
  end
894
893
 
895
894
  # @!attribute [rw] authentication_token
896
- # Amazon WorkDocs authentication token. Not required when using AWS
897
- # administrator credentials to access the API.
895
+ # Amazon WorkDocs authentication token. Not required when using Amazon
896
+ # Web Services administrator credentials to access the API.
898
897
  # @return [String]
899
898
  #
900
899
  # @!attribute [rw] document_id
@@ -945,8 +944,8 @@ module Aws::WorkDocs
945
944
  end
946
945
 
947
946
  # @!attribute [rw] authentication_token
948
- # Amazon WorkDocs authentication token. Not required when using AWS
949
- # administrator credentials to access the API.
947
+ # Amazon WorkDocs authentication token. Not required when using Amazon
948
+ # Web Services administrator credentials to access the API.
950
949
  # @return [String]
951
950
  #
952
951
  # @!attribute [rw] document_id
@@ -1004,8 +1003,8 @@ module Aws::WorkDocs
1004
1003
  end
1005
1004
 
1006
1005
  # @!attribute [rw] authentication_token
1007
- # Amazon WorkDocs authentication token. Not required when using AWS
1008
- # administrator credentials to access the API.
1006
+ # Amazon WorkDocs authentication token. Not required when using Amazon
1007
+ # Web Services administrator credentials to access the API.
1009
1008
  # @return [String]
1010
1009
  #
1011
1010
  # @!attribute [rw] folder_id
@@ -1077,8 +1076,8 @@ module Aws::WorkDocs
1077
1076
  end
1078
1077
 
1079
1078
  # @!attribute [rw] authentication_token
1080
- # Amazon WorkDocs authentication token. Not required when using AWS
1081
- # administrator credentials to access the API.
1079
+ # Amazon WorkDocs authentication token. Not required when using Amazon
1080
+ # Web Services administrator credentials to access the API.
1082
1081
  # @return [String]
1083
1082
  #
1084
1083
  # @!attribute [rw] search_query
@@ -1170,8 +1169,8 @@ module Aws::WorkDocs
1170
1169
  end
1171
1170
 
1172
1171
  # @!attribute [rw] authentication_token
1173
- # Amazon WorkDocs authentication token. Not required when using AWS
1174
- # administrator credentials to access the API.
1172
+ # Amazon WorkDocs authentication token. Not required when using Amazon
1173
+ # Web Services administrator credentials to access the API.
1175
1174
  # @return [String]
1176
1175
  #
1177
1176
  # @!attribute [rw] resource_id
@@ -1262,8 +1261,8 @@ module Aws::WorkDocs
1262
1261
  end
1263
1262
 
1264
1263
  # @!attribute [rw] authentication_token
1265
- # Amazon WorkDocs authentication token. Not required when using AWS
1266
- # administrator credentials to access the API.
1264
+ # Amazon WorkDocs authentication token. Not required when using Amazon
1265
+ # Web Services administrator credentials to access the API.
1267
1266
  # @return [String]
1268
1267
  #
1269
1268
  # @!attribute [rw] organization_id
@@ -1549,7 +1548,7 @@ module Aws::WorkDocs
1549
1548
  include Aws::Structure
1550
1549
  end
1551
1550
 
1552
- # The AWS Directory Service cannot reach an on-premises instance. Or a
1551
+ # The Directory Service cannot reach an on-premises instance. Or a
1553
1552
  # dependency under the control of the organization is failing, such as a
1554
1553
  # connected Active Directory.
1555
1554
  #
@@ -1654,8 +1653,8 @@ module Aws::WorkDocs
1654
1653
  end
1655
1654
 
1656
1655
  # @!attribute [rw] authentication_token
1657
- # Amazon WorkDocs authentication token. Not required when using AWS
1658
- # administrator credentials to access the API.
1656
+ # Amazon WorkDocs authentication token. Not required when using Amazon
1657
+ # Web Services administrator credentials to access the API.
1659
1658
  # @return [String]
1660
1659
  #
1661
1660
  # @!attribute [rw] document_id
@@ -1700,8 +1699,8 @@ module Aws::WorkDocs
1700
1699
  end
1701
1700
 
1702
1701
  # @!attribute [rw] authentication_token
1703
- # Amazon WorkDocs authentication token. Not required when using AWS
1704
- # administrator credentials to access the API.
1702
+ # Amazon WorkDocs authentication token. Not required when using Amazon
1703
+ # Web Services administrator credentials to access the API.
1705
1704
  # @return [String]
1706
1705
  #
1707
1706
  # @!attribute [rw] document_id
@@ -1740,8 +1739,8 @@ module Aws::WorkDocs
1740
1739
  end
1741
1740
 
1742
1741
  # @!attribute [rw] authentication_token
1743
- # Amazon WorkDocs authentication token. Not required when using AWS
1744
- # administrator credentials to access the API.
1742
+ # Amazon WorkDocs authentication token. Not required when using Amazon
1743
+ # Web Services administrator credentials to access the API.
1745
1744
  # @return [String]
1746
1745
  #
1747
1746
  # @!attribute [rw] document_id
@@ -1791,8 +1790,8 @@ module Aws::WorkDocs
1791
1790
  end
1792
1791
 
1793
1792
  # @!attribute [rw] authentication_token
1794
- # Amazon WorkDocs authentication token. Not required when using AWS
1795
- # administrator credentials to access the API.
1793
+ # Amazon WorkDocs authentication token. Not required when using Amazon
1794
+ # Web Services administrator credentials to access the API.
1796
1795
  # @return [String]
1797
1796
  #
1798
1797
  # @!attribute [rw] folder_id
@@ -1837,8 +1836,8 @@ module Aws::WorkDocs
1837
1836
  end
1838
1837
 
1839
1838
  # @!attribute [rw] authentication_token
1840
- # Amazon WorkDocs authentication token. Not required when using AWS
1841
- # administrator credentials to access the API.
1839
+ # Amazon WorkDocs authentication token. Not required when using Amazon
1840
+ # Web Services administrator credentials to access the API.
1842
1841
  # @return [String]
1843
1842
  #
1844
1843
  # @!attribute [rw] folder_id
@@ -1878,7 +1877,7 @@ module Aws::WorkDocs
1878
1877
 
1879
1878
  # @!attribute [rw] authentication_token
1880
1879
  # The Amazon WorkDocs authentication token. Not required when using
1881
- # AWS administrator credentials to access the API.
1880
+ # Amazon Web Services administrator credentials to access the API.
1882
1881
  # @return [String]
1883
1882
  #
1884
1883
  # @!attribute [rw] user_id
@@ -1967,8 +1966,8 @@ module Aws::WorkDocs
1967
1966
  end
1968
1967
 
1969
1968
  # @!attribute [rw] authentication_token
1970
- # Amazon WorkDocs authentication token. Not required when using AWS
1971
- # administrator credentials to access the API.
1969
+ # Amazon WorkDocs authentication token. Not required when using Amazon
1970
+ # Web Services administrator credentials to access the API.
1972
1971
  # @return [String]
1973
1972
  #
1974
1973
  # @!attribute [rw] id
@@ -2103,7 +2102,7 @@ module Aws::WorkDocs
2103
2102
  #
2104
2103
  # @!attribute [rw] send_email
2105
2104
  # Boolean value to indicate an email notification should be sent to
2106
- # the receipients.
2105
+ # the recipients.
2107
2106
  # @return [Boolean]
2108
2107
  #
2109
2108
  # @!attribute [rw] email_message
@@ -2195,8 +2194,8 @@ module Aws::WorkDocs
2195
2194
  end
2196
2195
 
2197
2196
  # @!attribute [rw] authentication_token
2198
- # Amazon WorkDocs authentication token. Not required when using AWS
2199
- # administrator credentials to access the API.
2197
+ # Amazon WorkDocs authentication token. Not required when using Amazon
2198
+ # Web Services administrator credentials to access the API.
2200
2199
  # @return [String]
2201
2200
  #
2202
2201
  # @!attribute [rw] resource_id
@@ -2213,8 +2212,8 @@ module Aws::WorkDocs
2213
2212
  end
2214
2213
 
2215
2214
  # @!attribute [rw] authentication_token
2216
- # Amazon WorkDocs authentication token. Not required when using AWS
2217
- # administrator credentials to access the API.
2215
+ # Amazon WorkDocs authentication token. Not required when using Amazon
2216
+ # Web Services administrator credentials to access the API.
2218
2217
  # @return [String]
2219
2218
  #
2220
2219
  # @!attribute [rw] resource_id
@@ -2346,8 +2345,8 @@ module Aws::WorkDocs
2346
2345
  end
2347
2346
 
2348
2347
  # @!attribute [rw] authentication_token
2349
- # Amazon WorkDocs authentication token. Not required when using AWS
2350
- # administrator credentials to access the API.
2348
+ # Amazon WorkDocs authentication token. Not required when using Amazon
2349
+ # Web Services administrator credentials to access the API.
2351
2350
  # @return [String]
2352
2351
  #
2353
2352
  # @!attribute [rw] document_id
@@ -2556,8 +2555,8 @@ module Aws::WorkDocs
2556
2555
  end
2557
2556
 
2558
2557
  # @!attribute [rw] authentication_token
2559
- # Amazon WorkDocs authentication token. Not required when using AWS
2560
- # administrator credentials to access the API.
2558
+ # Amazon WorkDocs authentication token. Not required when using Amazon
2559
+ # Web Services administrator credentials to access the API.
2561
2560
  # @return [String]
2562
2561
  #
2563
2562
  # @!attribute [rw] document_id
@@ -2590,8 +2589,8 @@ module Aws::WorkDocs
2590
2589
  end
2591
2590
 
2592
2591
  # @!attribute [rw] authentication_token
2593
- # Amazon WorkDocs authentication token. Not required when using AWS
2594
- # administrator credentials to access the API.
2592
+ # Amazon WorkDocs authentication token. Not required when using Amazon
2593
+ # Web Services administrator credentials to access the API.
2595
2594
  # @return [String]
2596
2595
  #
2597
2596
  # @!attribute [rw] document_id
@@ -2618,8 +2617,8 @@ module Aws::WorkDocs
2618
2617
  end
2619
2618
 
2620
2619
  # @!attribute [rw] authentication_token
2621
- # Amazon WorkDocs authentication token. Not required when using AWS
2622
- # administrator credentials to access the API.
2620
+ # Amazon WorkDocs authentication token. Not required when using Amazon
2621
+ # Web Services administrator credentials to access the API.
2623
2622
  # @return [String]
2624
2623
  #
2625
2624
  # @!attribute [rw] folder_id
@@ -2652,8 +2651,8 @@ module Aws::WorkDocs
2652
2651
  end
2653
2652
 
2654
2653
  # @!attribute [rw] authentication_token
2655
- # Amazon WorkDocs authentication token. Not required when using AWS
2656
- # administrator credentials to access the API.
2654
+ # Amazon WorkDocs authentication token. Not required when using Amazon
2655
+ # Web Services administrator credentials to access the API.
2657
2656
  # @return [String]
2658
2657
  #
2659
2658
  # @!attribute [rw] user_id
@@ -2685,7 +2684,7 @@ module Aws::WorkDocs
2685
2684
  # @return [String]
2686
2685
  #
2687
2686
  # @!attribute [rw] grant_poweruser_privileges
2688
- # Boolean value to determine whether the user is granted Poweruser
2687
+ # Boolean value to determine whether the user is granted Power user
2689
2688
  # privileges.
2690
2689
  # @return [String]
2691
2690
  #
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-workdocs/customizations'
52
52
  # @!group service
53
53
  module Aws::WorkDocs
54
54
 
55
- GEM_VERSION = '1.42.0'
55
+ GEM_VERSION = '1.43.0'
56
56
 
57
57
  end
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.42.0
4
+ version: 1.43.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: 2023-01-18 00:00:00.000000000 Z
11
+ date: 2023-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core