aws-sdk-workdocs 1.41.0 → 1.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-workdocs/client.rb +1 -1
- data/lib/aws-sdk-workdocs/endpoint_provider.rb +35 -95
- data/lib/aws-sdk-workdocs/types.rb +0 -490
- data/lib/aws-sdk-workdocs.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9df40970297efdff7fbd6d6d41b3fa69053a4d8c6e85b80fe7de23a6c2e5b090
|
4
|
+
data.tar.gz: 6396088600aa5a71b69f936f97d966cbecf2d74829642a3e978f77c99582e42f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53f5fd47db229ec4578bf651019e6fc13aa4d73e67bb3907ab03419e34d8ce5e73be9ef9a7b75dff5e2dcbe5e1541e15c74ec3a0d9bf89fe28968d586d9afe5b
|
7
|
+
data.tar.gz: 868218a65e307dccddfda3505043348cff6217d3ec6e2467df60594c317827ef465e66e2ec6294fb87716f360b21bf6cb0632e328ee63f866eab9b7da5254175
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.42.0 (2023-01-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
10
|
+
|
4
11
|
1.41.0 (2022-11-14)
|
5
12
|
------------------
|
6
13
|
|
@@ -276,4 +283,4 @@ Unreleased Changes
|
|
276
283
|
1.0.0.rc1 (2017-03-09)
|
277
284
|
------------------
|
278
285
|
|
279
|
-
* Feature - Initial release of `aws-sdk-workdocs`.
|
286
|
+
* Feature - Initial release of `aws-sdk-workdocs`.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.42.0
|
@@ -2702,7 +2702,7 @@ module Aws::WorkDocs
|
|
2702
2702
|
params: params,
|
2703
2703
|
config: config)
|
2704
2704
|
context[:gem_name] = 'aws-sdk-workdocs'
|
2705
|
-
context[:gem_version] = '1.
|
2705
|
+
context[:gem_version] = '1.42.0'
|
2706
2706
|
Seahorse::Client::Request.new(handlers, context)
|
2707
2707
|
end
|
2708
2708
|
|
@@ -9,103 +9,43 @@
|
|
9
9
|
|
10
10
|
module Aws::WorkDocs
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
19
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
+
end
|
22
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
+
end
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
+
end
|
27
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
+
return Aws::Endpoints::Endpoint.new(url: "https://workdocs-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
+
end
|
31
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
+
end
|
33
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
35
|
+
return Aws::Endpoints::Endpoint.new(url: "https://workdocs-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
+
end
|
37
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
38
|
+
end
|
39
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
41
|
+
return Aws::Endpoints::Endpoint.new(url: "https://workdocs.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
42
|
+
end
|
43
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
44
|
+
end
|
45
|
+
return Aws::Endpoints::Endpoint.new(url: "https://workdocs.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
21
46
|
end
|
22
|
-
|
23
|
-
end
|
47
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
48
|
|
25
|
-
def resolve_endpoint(parameters)
|
26
|
-
@provider.resolve_endpoint(parameters)
|
27
49
|
end
|
28
|
-
|
29
|
-
# @api private
|
30
|
-
RULES = <<-JSON
|
31
|
-
eyJ2ZXJz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
50
|
end
|
111
51
|
end
|
@@ -10,15 +10,6 @@
|
|
10
10
|
module Aws::WorkDocs
|
11
11
|
module Types
|
12
12
|
|
13
|
-
# @note When making an API call, you may pass AbortDocumentVersionUploadRequest
|
14
|
-
# data as a hash:
|
15
|
-
#
|
16
|
-
# {
|
17
|
-
# authentication_token: "AuthenticationHeaderType",
|
18
|
-
# document_id: "ResourceIdType", # required
|
19
|
-
# version_id: "DocumentVersionIdType", # required
|
20
|
-
# }
|
21
|
-
#
|
22
13
|
# @!attribute [rw] authentication_token
|
23
14
|
# Amazon WorkDocs authentication token. Not required when using AWS
|
24
15
|
# administrator credentials to access the API.
|
@@ -42,14 +33,6 @@ module Aws::WorkDocs
|
|
42
33
|
include Aws::Structure
|
43
34
|
end
|
44
35
|
|
45
|
-
# @note When making an API call, you may pass ActivateUserRequest
|
46
|
-
# data as a hash:
|
47
|
-
#
|
48
|
-
# {
|
49
|
-
# user_id: "IdType", # required
|
50
|
-
# authentication_token: "AuthenticationHeaderType",
|
51
|
-
# }
|
52
|
-
#
|
53
36
|
# @!attribute [rw] user_id
|
54
37
|
# The ID of the user.
|
55
38
|
# @return [String]
|
@@ -143,25 +126,6 @@ module Aws::WorkDocs
|
|
143
126
|
include Aws::Structure
|
144
127
|
end
|
145
128
|
|
146
|
-
# @note When making an API call, you may pass AddResourcePermissionsRequest
|
147
|
-
# data as a hash:
|
148
|
-
#
|
149
|
-
# {
|
150
|
-
# authentication_token: "AuthenticationHeaderType",
|
151
|
-
# resource_id: "ResourceIdType", # required
|
152
|
-
# principals: [ # required
|
153
|
-
# {
|
154
|
-
# id: "IdType", # required
|
155
|
-
# type: "USER", # required, accepts USER, GROUP, INVITE, ANONYMOUS, ORGANIZATION
|
156
|
-
# role: "VIEWER", # required, accepts VIEWER, CONTRIBUTOR, OWNER, COOWNER
|
157
|
-
# },
|
158
|
-
# ],
|
159
|
-
# notification_options: {
|
160
|
-
# send_email: false,
|
161
|
-
# email_message: "MessageType",
|
162
|
-
# },
|
163
|
-
# }
|
164
|
-
#
|
165
129
|
# @!attribute [rw] authentication_token
|
166
130
|
# Amazon WorkDocs authentication token. Not required when using AWS
|
167
131
|
# administrator credentials to access the API.
|
@@ -321,20 +285,6 @@ module Aws::WorkDocs
|
|
321
285
|
include Aws::Structure
|
322
286
|
end
|
323
287
|
|
324
|
-
# @note When making an API call, you may pass CreateCommentRequest
|
325
|
-
# data as a hash:
|
326
|
-
#
|
327
|
-
# {
|
328
|
-
# authentication_token: "AuthenticationHeaderType",
|
329
|
-
# document_id: "ResourceIdType", # required
|
330
|
-
# version_id: "DocumentVersionIdType", # required
|
331
|
-
# parent_id: "CommentIdType",
|
332
|
-
# thread_id: "CommentIdType",
|
333
|
-
# text: "CommentTextType", # required
|
334
|
-
# visibility: "PUBLIC", # accepts PUBLIC, PRIVATE
|
335
|
-
# notify_collaborators: false,
|
336
|
-
# }
|
337
|
-
#
|
338
288
|
# @!attribute [rw] authentication_token
|
339
289
|
# Amazon WorkDocs authentication token. Not required when using AWS
|
340
290
|
# administrator credentials to access the API.
|
@@ -399,18 +349,6 @@ module Aws::WorkDocs
|
|
399
349
|
include Aws::Structure
|
400
350
|
end
|
401
351
|
|
402
|
-
# @note When making an API call, you may pass CreateCustomMetadataRequest
|
403
|
-
# data as a hash:
|
404
|
-
#
|
405
|
-
# {
|
406
|
-
# authentication_token: "AuthenticationHeaderType",
|
407
|
-
# resource_id: "ResourceIdType", # required
|
408
|
-
# version_id: "DocumentVersionIdType",
|
409
|
-
# custom_metadata: { # required
|
410
|
-
# "CustomMetadataKeyType" => "CustomMetadataValueType",
|
411
|
-
# },
|
412
|
-
# }
|
413
|
-
#
|
414
352
|
# @!attribute [rw] authentication_token
|
415
353
|
# Amazon WorkDocs authentication token. Not required when using AWS
|
416
354
|
# administrator credentials to access the API.
|
@@ -444,15 +382,6 @@ module Aws::WorkDocs
|
|
444
382
|
#
|
445
383
|
class CreateCustomMetadataResponse < Aws::EmptyStructure; end
|
446
384
|
|
447
|
-
# @note When making an API call, you may pass CreateFolderRequest
|
448
|
-
# data as a hash:
|
449
|
-
#
|
450
|
-
# {
|
451
|
-
# authentication_token: "AuthenticationHeaderType",
|
452
|
-
# name: "ResourceNameType",
|
453
|
-
# parent_folder_id: "ResourceIdType", # required
|
454
|
-
# }
|
455
|
-
#
|
456
385
|
# @!attribute [rw] authentication_token
|
457
386
|
# Amazon WorkDocs authentication token. Not required when using AWS
|
458
387
|
# administrator credentials to access the API.
|
@@ -488,15 +417,6 @@ module Aws::WorkDocs
|
|
488
417
|
include Aws::Structure
|
489
418
|
end
|
490
419
|
|
491
|
-
# @note When making an API call, you may pass CreateLabelsRequest
|
492
|
-
# data as a hash:
|
493
|
-
#
|
494
|
-
# {
|
495
|
-
# resource_id: "ResourceIdType", # required
|
496
|
-
# labels: ["SharedLabel"], # required
|
497
|
-
# authentication_token: "AuthenticationHeaderType",
|
498
|
-
# }
|
499
|
-
#
|
500
420
|
# @!attribute [rw] resource_id
|
501
421
|
# The ID of the resource.
|
502
422
|
# @return [String]
|
@@ -524,16 +444,6 @@ module Aws::WorkDocs
|
|
524
444
|
#
|
525
445
|
class CreateLabelsResponse < Aws::EmptyStructure; end
|
526
446
|
|
527
|
-
# @note When making an API call, you may pass CreateNotificationSubscriptionRequest
|
528
|
-
# data as a hash:
|
529
|
-
#
|
530
|
-
# {
|
531
|
-
# organization_id: "IdType", # required
|
532
|
-
# endpoint: "SubscriptionEndPointType", # required
|
533
|
-
# protocol: "HTTPS", # required, accepts HTTPS, SQS
|
534
|
-
# subscription_type: "ALL", # required, accepts ALL
|
535
|
-
# }
|
536
|
-
#
|
537
447
|
# @!attribute [rw] organization_id
|
538
448
|
# The ID of the organization.
|
539
449
|
# @return [String]
|
@@ -575,24 +485,6 @@ module Aws::WorkDocs
|
|
575
485
|
include Aws::Structure
|
576
486
|
end
|
577
487
|
|
578
|
-
# @note When making an API call, you may pass CreateUserRequest
|
579
|
-
# data as a hash:
|
580
|
-
#
|
581
|
-
# {
|
582
|
-
# organization_id: "IdType",
|
583
|
-
# username: "UsernameType", # required
|
584
|
-
# email_address: "EmailAddressType",
|
585
|
-
# given_name: "UserAttributeValueType", # required
|
586
|
-
# surname: "UserAttributeValueType", # required
|
587
|
-
# password: "PasswordType", # required
|
588
|
-
# time_zone_id: "TimeZoneIdType",
|
589
|
-
# storage_rule: {
|
590
|
-
# storage_allocated_in_bytes: 1,
|
591
|
-
# storage_type: "UNLIMITED", # accepts UNLIMITED, QUOTA
|
592
|
-
# },
|
593
|
-
# authentication_token: "AuthenticationHeaderType",
|
594
|
-
# }
|
595
|
-
#
|
596
488
|
# @!attribute [rw] organization_id
|
597
489
|
# The ID of the organization.
|
598
490
|
# @return [String]
|
@@ -672,14 +564,6 @@ module Aws::WorkDocs
|
|
672
564
|
include Aws::Structure
|
673
565
|
end
|
674
566
|
|
675
|
-
# @note When making an API call, you may pass DeactivateUserRequest
|
676
|
-
# data as a hash:
|
677
|
-
#
|
678
|
-
# {
|
679
|
-
# user_id: "IdType", # required
|
680
|
-
# authentication_token: "AuthenticationHeaderType",
|
681
|
-
# }
|
682
|
-
#
|
683
567
|
# @!attribute [rw] user_id
|
684
568
|
# The ID of the user.
|
685
569
|
# @return [String]
|
@@ -704,16 +588,6 @@ module Aws::WorkDocs
|
|
704
588
|
#
|
705
589
|
class DeactivatingLastSystemUserException < Aws::EmptyStructure; end
|
706
590
|
|
707
|
-
# @note When making an API call, you may pass DeleteCommentRequest
|
708
|
-
# data as a hash:
|
709
|
-
#
|
710
|
-
# {
|
711
|
-
# authentication_token: "AuthenticationHeaderType",
|
712
|
-
# document_id: "ResourceIdType", # required
|
713
|
-
# version_id: "DocumentVersionIdType", # required
|
714
|
-
# comment_id: "CommentIdType", # required
|
715
|
-
# }
|
716
|
-
#
|
717
591
|
# @!attribute [rw] authentication_token
|
718
592
|
# Amazon WorkDocs authentication token. Not required when using AWS
|
719
593
|
# administrator credentials to access the API.
|
@@ -742,17 +616,6 @@ module Aws::WorkDocs
|
|
742
616
|
include Aws::Structure
|
743
617
|
end
|
744
618
|
|
745
|
-
# @note When making an API call, you may pass DeleteCustomMetadataRequest
|
746
|
-
# data as a hash:
|
747
|
-
#
|
748
|
-
# {
|
749
|
-
# authentication_token: "AuthenticationHeaderType",
|
750
|
-
# resource_id: "ResourceIdType", # required
|
751
|
-
# version_id: "DocumentVersionIdType",
|
752
|
-
# keys: ["CustomMetadataKeyType"],
|
753
|
-
# delete_all: false,
|
754
|
-
# }
|
755
|
-
#
|
756
619
|
# @!attribute [rw] authentication_token
|
757
620
|
# Amazon WorkDocs authentication token. Not required when using AWS
|
758
621
|
# administrator credentials to access the API.
|
@@ -792,14 +655,6 @@ module Aws::WorkDocs
|
|
792
655
|
#
|
793
656
|
class DeleteCustomMetadataResponse < Aws::EmptyStructure; end
|
794
657
|
|
795
|
-
# @note When making an API call, you may pass DeleteDocumentRequest
|
796
|
-
# data as a hash:
|
797
|
-
#
|
798
|
-
# {
|
799
|
-
# authentication_token: "AuthenticationHeaderType",
|
800
|
-
# document_id: "ResourceIdType", # required
|
801
|
-
# }
|
802
|
-
#
|
803
658
|
# @!attribute [rw] authentication_token
|
804
659
|
# Amazon WorkDocs authentication token. Not required when using AWS
|
805
660
|
# administrator credentials to access the API.
|
@@ -818,16 +673,6 @@ module Aws::WorkDocs
|
|
818
673
|
include Aws::Structure
|
819
674
|
end
|
820
675
|
|
821
|
-
# @note When making an API call, you may pass DeleteDocumentVersionRequest
|
822
|
-
# data as a hash:
|
823
|
-
#
|
824
|
-
# {
|
825
|
-
# authentication_token: "AuthenticationHeaderType",
|
826
|
-
# document_id: "ResourceIdType", # required
|
827
|
-
# version_id: "DocumentVersionIdType", # required
|
828
|
-
# delete_prior_versions: false, # required
|
829
|
-
# }
|
830
|
-
#
|
831
676
|
# @!attribute [rw] authentication_token
|
832
677
|
# Amazon WorkDocs authentication token. Not required when using AWS
|
833
678
|
# administrator credentials to access the API.
|
@@ -857,14 +702,6 @@ module Aws::WorkDocs
|
|
857
702
|
include Aws::Structure
|
858
703
|
end
|
859
704
|
|
860
|
-
# @note When making an API call, you may pass DeleteFolderContentsRequest
|
861
|
-
# data as a hash:
|
862
|
-
#
|
863
|
-
# {
|
864
|
-
# authentication_token: "AuthenticationHeaderType",
|
865
|
-
# folder_id: "ResourceIdType", # required
|
866
|
-
# }
|
867
|
-
#
|
868
705
|
# @!attribute [rw] authentication_token
|
869
706
|
# Amazon WorkDocs authentication token. Not required when using AWS
|
870
707
|
# administrator credentials to access the API.
|
@@ -883,14 +720,6 @@ module Aws::WorkDocs
|
|
883
720
|
include Aws::Structure
|
884
721
|
end
|
885
722
|
|
886
|
-
# @note When making an API call, you may pass DeleteFolderRequest
|
887
|
-
# data as a hash:
|
888
|
-
#
|
889
|
-
# {
|
890
|
-
# authentication_token: "AuthenticationHeaderType",
|
891
|
-
# folder_id: "ResourceIdType", # required
|
892
|
-
# }
|
893
|
-
#
|
894
723
|
# @!attribute [rw] authentication_token
|
895
724
|
# Amazon WorkDocs authentication token. Not required when using AWS
|
896
725
|
# administrator credentials to access the API.
|
@@ -909,16 +738,6 @@ module Aws::WorkDocs
|
|
909
738
|
include Aws::Structure
|
910
739
|
end
|
911
740
|
|
912
|
-
# @note When making an API call, you may pass DeleteLabelsRequest
|
913
|
-
# data as a hash:
|
914
|
-
#
|
915
|
-
# {
|
916
|
-
# resource_id: "ResourceIdType", # required
|
917
|
-
# authentication_token: "AuthenticationHeaderType",
|
918
|
-
# labels: ["SharedLabel"],
|
919
|
-
# delete_all: false,
|
920
|
-
# }
|
921
|
-
#
|
922
741
|
# @!attribute [rw] resource_id
|
923
742
|
# The ID of the resource.
|
924
743
|
# @return [String]
|
@@ -951,14 +770,6 @@ module Aws::WorkDocs
|
|
951
770
|
#
|
952
771
|
class DeleteLabelsResponse < Aws::EmptyStructure; end
|
953
772
|
|
954
|
-
# @note When making an API call, you may pass DeleteNotificationSubscriptionRequest
|
955
|
-
# data as a hash:
|
956
|
-
#
|
957
|
-
# {
|
958
|
-
# subscription_id: "IdType", # required
|
959
|
-
# organization_id: "IdType", # required
|
960
|
-
# }
|
961
|
-
#
|
962
773
|
# @!attribute [rw] subscription_id
|
963
774
|
# The ID of the subscription.
|
964
775
|
# @return [String]
|
@@ -976,14 +787,6 @@ module Aws::WorkDocs
|
|
976
787
|
include Aws::Structure
|
977
788
|
end
|
978
789
|
|
979
|
-
# @note When making an API call, you may pass DeleteUserRequest
|
980
|
-
# data as a hash:
|
981
|
-
#
|
982
|
-
# {
|
983
|
-
# authentication_token: "AuthenticationHeaderType",
|
984
|
-
# user_id: "IdType", # required
|
985
|
-
# }
|
986
|
-
#
|
987
790
|
# @!attribute [rw] authentication_token
|
988
791
|
# Amazon WorkDocs authentication token. Do not set this field when
|
989
792
|
# using administrative API actions, as in accessing the API using AWS
|
@@ -1003,22 +806,6 @@ module Aws::WorkDocs
|
|
1003
806
|
include Aws::Structure
|
1004
807
|
end
|
1005
808
|
|
1006
|
-
# @note When making an API call, you may pass DescribeActivitiesRequest
|
1007
|
-
# data as a hash:
|
1008
|
-
#
|
1009
|
-
# {
|
1010
|
-
# authentication_token: "AuthenticationHeaderType",
|
1011
|
-
# start_time: Time.now,
|
1012
|
-
# end_time: Time.now,
|
1013
|
-
# organization_id: "IdType",
|
1014
|
-
# activity_types: "ActivityNamesFilterType",
|
1015
|
-
# resource_id: "IdType",
|
1016
|
-
# user_id: "IdType",
|
1017
|
-
# include_indirect_activities: false,
|
1018
|
-
# limit: 1,
|
1019
|
-
# marker: "SearchMarkerType",
|
1020
|
-
# }
|
1021
|
-
#
|
1022
809
|
# @!attribute [rw] authentication_token
|
1023
810
|
# Amazon WorkDocs authentication token. Not required when using AWS
|
1024
811
|
# administrator credentials to access the API.
|
@@ -1105,17 +892,6 @@ module Aws::WorkDocs
|
|
1105
892
|
include Aws::Structure
|
1106
893
|
end
|
1107
894
|
|
1108
|
-
# @note When making an API call, you may pass DescribeCommentsRequest
|
1109
|
-
# data as a hash:
|
1110
|
-
#
|
1111
|
-
# {
|
1112
|
-
# authentication_token: "AuthenticationHeaderType",
|
1113
|
-
# document_id: "ResourceIdType", # required
|
1114
|
-
# version_id: "DocumentVersionIdType", # required
|
1115
|
-
# limit: 1,
|
1116
|
-
# marker: "MarkerType",
|
1117
|
-
# }
|
1118
|
-
#
|
1119
895
|
# @!attribute [rw] authentication_token
|
1120
896
|
# Amazon WorkDocs authentication token. Not required when using AWS
|
1121
897
|
# administrator credentials to access the API.
|
@@ -1168,18 +944,6 @@ module Aws::WorkDocs
|
|
1168
944
|
include Aws::Structure
|
1169
945
|
end
|
1170
946
|
|
1171
|
-
# @note When making an API call, you may pass DescribeDocumentVersionsRequest
|
1172
|
-
# data as a hash:
|
1173
|
-
#
|
1174
|
-
# {
|
1175
|
-
# authentication_token: "AuthenticationHeaderType",
|
1176
|
-
# document_id: "ResourceIdType", # required
|
1177
|
-
# marker: "PageMarkerType",
|
1178
|
-
# limit: 1,
|
1179
|
-
# include: "FieldNamesType",
|
1180
|
-
# fields: "FieldNamesType",
|
1181
|
-
# }
|
1182
|
-
#
|
1183
947
|
# @!attribute [rw] authentication_token
|
1184
948
|
# Amazon WorkDocs authentication token. Not required when using AWS
|
1185
949
|
# administrator credentials to access the API.
|
@@ -1239,20 +1003,6 @@ module Aws::WorkDocs
|
|
1239
1003
|
include Aws::Structure
|
1240
1004
|
end
|
1241
1005
|
|
1242
|
-
# @note When making an API call, you may pass DescribeFolderContentsRequest
|
1243
|
-
# data as a hash:
|
1244
|
-
#
|
1245
|
-
# {
|
1246
|
-
# authentication_token: "AuthenticationHeaderType",
|
1247
|
-
# folder_id: "ResourceIdType", # required
|
1248
|
-
# sort: "DATE", # accepts DATE, NAME
|
1249
|
-
# order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
1250
|
-
# limit: 1,
|
1251
|
-
# marker: "PageMarkerType",
|
1252
|
-
# type: "ALL", # accepts ALL, DOCUMENT, FOLDER
|
1253
|
-
# include: "FieldNamesType",
|
1254
|
-
# }
|
1255
|
-
#
|
1256
1006
|
# @!attribute [rw] authentication_token
|
1257
1007
|
# Amazon WorkDocs authentication token. Not required when using AWS
|
1258
1008
|
# administrator credentials to access the API.
|
@@ -1326,17 +1076,6 @@ module Aws::WorkDocs
|
|
1326
1076
|
include Aws::Structure
|
1327
1077
|
end
|
1328
1078
|
|
1329
|
-
# @note When making an API call, you may pass DescribeGroupsRequest
|
1330
|
-
# data as a hash:
|
1331
|
-
#
|
1332
|
-
# {
|
1333
|
-
# authentication_token: "AuthenticationHeaderType",
|
1334
|
-
# search_query: "SearchQueryType", # required
|
1335
|
-
# organization_id: "IdType",
|
1336
|
-
# marker: "MarkerType",
|
1337
|
-
# limit: 1,
|
1338
|
-
# }
|
1339
|
-
#
|
1340
1079
|
# @!attribute [rw] authentication_token
|
1341
1080
|
# Amazon WorkDocs authentication token. Not required when using AWS
|
1342
1081
|
# administrator credentials to access the API.
|
@@ -1389,15 +1128,6 @@ module Aws::WorkDocs
|
|
1389
1128
|
include Aws::Structure
|
1390
1129
|
end
|
1391
1130
|
|
1392
|
-
# @note When making an API call, you may pass DescribeNotificationSubscriptionsRequest
|
1393
|
-
# data as a hash:
|
1394
|
-
#
|
1395
|
-
# {
|
1396
|
-
# organization_id: "IdType", # required
|
1397
|
-
# marker: "PageMarkerType",
|
1398
|
-
# limit: 1,
|
1399
|
-
# }
|
1400
|
-
#
|
1401
1131
|
# @!attribute [rw] organization_id
|
1402
1132
|
# The ID of the organization.
|
1403
1133
|
# @return [String]
|
@@ -1439,17 +1169,6 @@ module Aws::WorkDocs
|
|
1439
1169
|
include Aws::Structure
|
1440
1170
|
end
|
1441
1171
|
|
1442
|
-
# @note When making an API call, you may pass DescribeResourcePermissionsRequest
|
1443
|
-
# data as a hash:
|
1444
|
-
#
|
1445
|
-
# {
|
1446
|
-
# authentication_token: "AuthenticationHeaderType",
|
1447
|
-
# resource_id: "ResourceIdType", # required
|
1448
|
-
# principal_id: "IdType",
|
1449
|
-
# limit: 1,
|
1450
|
-
# marker: "PageMarkerType",
|
1451
|
-
# }
|
1452
|
-
#
|
1453
1172
|
# @!attribute [rw] authentication_token
|
1454
1173
|
# Amazon WorkDocs authentication token. Not required when using AWS
|
1455
1174
|
# administrator credentials to access the API.
|
@@ -1502,15 +1221,6 @@ module Aws::WorkDocs
|
|
1502
1221
|
include Aws::Structure
|
1503
1222
|
end
|
1504
1223
|
|
1505
|
-
# @note When making an API call, you may pass DescribeRootFoldersRequest
|
1506
|
-
# data as a hash:
|
1507
|
-
#
|
1508
|
-
# {
|
1509
|
-
# authentication_token: "AuthenticationHeaderType", # required
|
1510
|
-
# limit: 1,
|
1511
|
-
# marker: "PageMarkerType",
|
1512
|
-
# }
|
1513
|
-
#
|
1514
1224
|
# @!attribute [rw] authentication_token
|
1515
1225
|
# Amazon WorkDocs authentication token.
|
1516
1226
|
# @return [String]
|
@@ -1551,22 +1261,6 @@ module Aws::WorkDocs
|
|
1551
1261
|
include Aws::Structure
|
1552
1262
|
end
|
1553
1263
|
|
1554
|
-
# @note When making an API call, you may pass DescribeUsersRequest
|
1555
|
-
# data as a hash:
|
1556
|
-
#
|
1557
|
-
# {
|
1558
|
-
# authentication_token: "AuthenticationHeaderType",
|
1559
|
-
# organization_id: "IdType",
|
1560
|
-
# user_ids: "UserIdsType",
|
1561
|
-
# query: "SearchQueryType",
|
1562
|
-
# include: "ALL", # accepts ALL, ACTIVE_PENDING
|
1563
|
-
# order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
1564
|
-
# sort: "USER_NAME", # accepts USER_NAME, FULL_NAME, STORAGE_LIMIT, USER_STATUS, STORAGE_USED
|
1565
|
-
# marker: "PageMarkerType",
|
1566
|
-
# limit: 1,
|
1567
|
-
# fields: "FieldNamesType",
|
1568
|
-
# }
|
1569
|
-
#
|
1570
1264
|
# @!attribute [rw] authentication_token
|
1571
1265
|
# Amazon WorkDocs authentication token. Not required when using AWS
|
1572
1266
|
# administrator credentials to access the API.
|
@@ -1935,13 +1629,6 @@ module Aws::WorkDocs
|
|
1935
1629
|
include Aws::Structure
|
1936
1630
|
end
|
1937
1631
|
|
1938
|
-
# @note When making an API call, you may pass GetCurrentUserRequest
|
1939
|
-
# data as a hash:
|
1940
|
-
#
|
1941
|
-
# {
|
1942
|
-
# authentication_token: "AuthenticationHeaderType", # required
|
1943
|
-
# }
|
1944
|
-
#
|
1945
1632
|
# @!attribute [rw] authentication_token
|
1946
1633
|
# Amazon WorkDocs authentication token.
|
1947
1634
|
# @return [String]
|
@@ -1966,17 +1653,6 @@ module Aws::WorkDocs
|
|
1966
1653
|
include Aws::Structure
|
1967
1654
|
end
|
1968
1655
|
|
1969
|
-
# @note When making an API call, you may pass GetDocumentPathRequest
|
1970
|
-
# data as a hash:
|
1971
|
-
#
|
1972
|
-
# {
|
1973
|
-
# authentication_token: "AuthenticationHeaderType",
|
1974
|
-
# document_id: "IdType", # required
|
1975
|
-
# limit: 1,
|
1976
|
-
# fields: "FieldNamesType",
|
1977
|
-
# marker: "PageMarkerType",
|
1978
|
-
# }
|
1979
|
-
#
|
1980
1656
|
# @!attribute [rw] authentication_token
|
1981
1657
|
# Amazon WorkDocs authentication token. Not required when using AWS
|
1982
1658
|
# administrator credentials to access the API.
|
@@ -2023,15 +1699,6 @@ module Aws::WorkDocs
|
|
2023
1699
|
include Aws::Structure
|
2024
1700
|
end
|
2025
1701
|
|
2026
|
-
# @note When making an API call, you may pass GetDocumentRequest
|
2027
|
-
# data as a hash:
|
2028
|
-
#
|
2029
|
-
# {
|
2030
|
-
# authentication_token: "AuthenticationHeaderType",
|
2031
|
-
# document_id: "ResourceIdType", # required
|
2032
|
-
# include_custom_metadata: false,
|
2033
|
-
# }
|
2034
|
-
#
|
2035
1702
|
# @!attribute [rw] authentication_token
|
2036
1703
|
# Amazon WorkDocs authentication token. Not required when using AWS
|
2037
1704
|
# administrator credentials to access the API.
|
@@ -2072,17 +1739,6 @@ module Aws::WorkDocs
|
|
2072
1739
|
include Aws::Structure
|
2073
1740
|
end
|
2074
1741
|
|
2075
|
-
# @note When making an API call, you may pass GetDocumentVersionRequest
|
2076
|
-
# data as a hash:
|
2077
|
-
#
|
2078
|
-
# {
|
2079
|
-
# authentication_token: "AuthenticationHeaderType",
|
2080
|
-
# document_id: "ResourceIdType", # required
|
2081
|
-
# version_id: "DocumentVersionIdType", # required
|
2082
|
-
# fields: "FieldNamesType",
|
2083
|
-
# include_custom_metadata: false,
|
2084
|
-
# }
|
2085
|
-
#
|
2086
1742
|
# @!attribute [rw] authentication_token
|
2087
1743
|
# Amazon WorkDocs authentication token. Not required when using AWS
|
2088
1744
|
# administrator credentials to access the API.
|
@@ -2134,17 +1790,6 @@ module Aws::WorkDocs
|
|
2134
1790
|
include Aws::Structure
|
2135
1791
|
end
|
2136
1792
|
|
2137
|
-
# @note When making an API call, you may pass GetFolderPathRequest
|
2138
|
-
# data as a hash:
|
2139
|
-
#
|
2140
|
-
# {
|
2141
|
-
# authentication_token: "AuthenticationHeaderType",
|
2142
|
-
# folder_id: "IdType", # required
|
2143
|
-
# limit: 1,
|
2144
|
-
# fields: "FieldNamesType",
|
2145
|
-
# marker: "PageMarkerType",
|
2146
|
-
# }
|
2147
|
-
#
|
2148
1793
|
# @!attribute [rw] authentication_token
|
2149
1794
|
# Amazon WorkDocs authentication token. Not required when using AWS
|
2150
1795
|
# administrator credentials to access the API.
|
@@ -2191,15 +1836,6 @@ module Aws::WorkDocs
|
|
2191
1836
|
include Aws::Structure
|
2192
1837
|
end
|
2193
1838
|
|
2194
|
-
# @note When making an API call, you may pass GetFolderRequest
|
2195
|
-
# data as a hash:
|
2196
|
-
#
|
2197
|
-
# {
|
2198
|
-
# authentication_token: "AuthenticationHeaderType",
|
2199
|
-
# folder_id: "ResourceIdType", # required
|
2200
|
-
# include_custom_metadata: false,
|
2201
|
-
# }
|
2202
|
-
#
|
2203
1839
|
# @!attribute [rw] authentication_token
|
2204
1840
|
# Amazon WorkDocs authentication token. Not required when using AWS
|
2205
1841
|
# administrator credentials to access the API.
|
@@ -2240,17 +1876,6 @@ module Aws::WorkDocs
|
|
2240
1876
|
include Aws::Structure
|
2241
1877
|
end
|
2242
1878
|
|
2243
|
-
# @note When making an API call, you may pass GetResourcesRequest
|
2244
|
-
# data as a hash:
|
2245
|
-
#
|
2246
|
-
# {
|
2247
|
-
# authentication_token: "AuthenticationHeaderType",
|
2248
|
-
# user_id: "IdType",
|
2249
|
-
# collection_type: "SHARED_WITH_ME", # accepts SHARED_WITH_ME
|
2250
|
-
# limit: 1,
|
2251
|
-
# marker: "PageMarkerType",
|
2252
|
-
# }
|
2253
|
-
#
|
2254
1879
|
# @!attribute [rw] authentication_token
|
2255
1880
|
# The Amazon WorkDocs authentication token. Not required when using
|
2256
1881
|
# AWS administrator credentials to access the API.
|
@@ -2341,20 +1966,6 @@ module Aws::WorkDocs
|
|
2341
1966
|
include Aws::Structure
|
2342
1967
|
end
|
2343
1968
|
|
2344
|
-
# @note When making an API call, you may pass InitiateDocumentVersionUploadRequest
|
2345
|
-
# data as a hash:
|
2346
|
-
#
|
2347
|
-
# {
|
2348
|
-
# authentication_token: "AuthenticationHeaderType",
|
2349
|
-
# id: "ResourceIdType",
|
2350
|
-
# name: "ResourceNameType",
|
2351
|
-
# content_created_timestamp: Time.now,
|
2352
|
-
# content_modified_timestamp: Time.now,
|
2353
|
-
# content_type: "DocumentContentType",
|
2354
|
-
# document_size_in_bytes: 1,
|
2355
|
-
# parent_folder_id: "ResourceIdType",
|
2356
|
-
# }
|
2357
|
-
#
|
2358
1969
|
# @!attribute [rw] authentication_token
|
2359
1970
|
# Amazon WorkDocs authentication token. Not required when using AWS
|
2360
1971
|
# administrator credentials to access the API.
|
@@ -2490,14 +2101,6 @@ module Aws::WorkDocs
|
|
2490
2101
|
|
2491
2102
|
# Set of options which defines notification preferences of given action.
|
2492
2103
|
#
|
2493
|
-
# @note When making an API call, you may pass NotificationOptions
|
2494
|
-
# data as a hash:
|
2495
|
-
#
|
2496
|
-
# {
|
2497
|
-
# send_email: false,
|
2498
|
-
# email_message: "MessageType",
|
2499
|
-
# }
|
2500
|
-
#
|
2501
2104
|
# @!attribute [rw] send_email
|
2502
2105
|
# Boolean value to indicate an email notification should be sent to
|
2503
2106
|
# the receipients.
|
@@ -2591,14 +2194,6 @@ module Aws::WorkDocs
|
|
2591
2194
|
include Aws::Structure
|
2592
2195
|
end
|
2593
2196
|
|
2594
|
-
# @note When making an API call, you may pass RemoveAllResourcePermissionsRequest
|
2595
|
-
# data as a hash:
|
2596
|
-
#
|
2597
|
-
# {
|
2598
|
-
# authentication_token: "AuthenticationHeaderType",
|
2599
|
-
# resource_id: "ResourceIdType", # required
|
2600
|
-
# }
|
2601
|
-
#
|
2602
2197
|
# @!attribute [rw] authentication_token
|
2603
2198
|
# Amazon WorkDocs authentication token. Not required when using AWS
|
2604
2199
|
# administrator credentials to access the API.
|
@@ -2617,16 +2212,6 @@ module Aws::WorkDocs
|
|
2617
2212
|
include Aws::Structure
|
2618
2213
|
end
|
2619
2214
|
|
2620
|
-
# @note When making an API call, you may pass RemoveResourcePermissionRequest
|
2621
|
-
# data as a hash:
|
2622
|
-
#
|
2623
|
-
# {
|
2624
|
-
# authentication_token: "AuthenticationHeaderType",
|
2625
|
-
# resource_id: "ResourceIdType", # required
|
2626
|
-
# principal_id: "IdType", # required
|
2627
|
-
# principal_type: "USER", # accepts USER, GROUP, INVITE, ANONYMOUS, ORGANIZATION
|
2628
|
-
# }
|
2629
|
-
#
|
2630
2215
|
# @!attribute [rw] authentication_token
|
2631
2216
|
# Amazon WorkDocs authentication token. Not required when using AWS
|
2632
2217
|
# administrator credentials to access the API.
|
@@ -2760,14 +2345,6 @@ module Aws::WorkDocs
|
|
2760
2345
|
include Aws::Structure
|
2761
2346
|
end
|
2762
2347
|
|
2763
|
-
# @note When making an API call, you may pass RestoreDocumentVersionsRequest
|
2764
|
-
# data as a hash:
|
2765
|
-
#
|
2766
|
-
# {
|
2767
|
-
# authentication_token: "AuthenticationHeaderType",
|
2768
|
-
# document_id: "ResourceIdType", # required
|
2769
|
-
# }
|
2770
|
-
#
|
2771
2348
|
# @!attribute [rw] authentication_token
|
2772
2349
|
# Amazon WorkDocs authentication token. Not required when using AWS
|
2773
2350
|
# administrator credentials to access the API.
|
@@ -2801,15 +2378,6 @@ module Aws::WorkDocs
|
|
2801
2378
|
|
2802
2379
|
# Describes the recipient type and ID, if available.
|
2803
2380
|
#
|
2804
|
-
# @note When making an API call, you may pass SharePrincipal
|
2805
|
-
# data as a hash:
|
2806
|
-
#
|
2807
|
-
# {
|
2808
|
-
# id: "IdType", # required
|
2809
|
-
# type: "USER", # required, accepts USER, GROUP, INVITE, ANONYMOUS, ORGANIZATION
|
2810
|
-
# role: "VIEWER", # required, accepts VIEWER, CONTRIBUTOR, OWNER, COOWNER
|
2811
|
-
# }
|
2812
|
-
#
|
2813
2381
|
# @!attribute [rw] id
|
2814
2382
|
# The ID of the recipient.
|
2815
2383
|
# @return [String]
|
@@ -2899,14 +2467,6 @@ module Aws::WorkDocs
|
|
2899
2467
|
|
2900
2468
|
# Describes the storage for a user.
|
2901
2469
|
#
|
2902
|
-
# @note When making an API call, you may pass StorageRuleType
|
2903
|
-
# data as a hash:
|
2904
|
-
#
|
2905
|
-
# {
|
2906
|
-
# storage_allocated_in_bytes: 1,
|
2907
|
-
# storage_type: "UNLIMITED", # accepts UNLIMITED, QUOTA
|
2908
|
-
# }
|
2909
|
-
#
|
2910
2470
|
# @!attribute [rw] storage_allocated_in_bytes
|
2911
2471
|
# The amount of storage allocated, in bytes.
|
2912
2472
|
# @return [Integer]
|
@@ -2995,17 +2555,6 @@ module Aws::WorkDocs
|
|
2995
2555
|
include Aws::Structure
|
2996
2556
|
end
|
2997
2557
|
|
2998
|
-
# @note When making an API call, you may pass UpdateDocumentRequest
|
2999
|
-
# data as a hash:
|
3000
|
-
#
|
3001
|
-
# {
|
3002
|
-
# authentication_token: "AuthenticationHeaderType",
|
3003
|
-
# document_id: "ResourceIdType", # required
|
3004
|
-
# name: "ResourceNameType",
|
3005
|
-
# parent_folder_id: "ResourceIdType",
|
3006
|
-
# resource_state: "ACTIVE", # accepts ACTIVE, RESTORING, RECYCLING, RECYCLED
|
3007
|
-
# }
|
3008
|
-
#
|
3009
2558
|
# @!attribute [rw] authentication_token
|
3010
2559
|
# Amazon WorkDocs authentication token. Not required when using AWS
|
3011
2560
|
# administrator credentials to access the API.
|
@@ -3040,16 +2589,6 @@ module Aws::WorkDocs
|
|
3040
2589
|
include Aws::Structure
|
3041
2590
|
end
|
3042
2591
|
|
3043
|
-
# @note When making an API call, you may pass UpdateDocumentVersionRequest
|
3044
|
-
# data as a hash:
|
3045
|
-
#
|
3046
|
-
# {
|
3047
|
-
# authentication_token: "AuthenticationHeaderType",
|
3048
|
-
# document_id: "ResourceIdType", # required
|
3049
|
-
# version_id: "DocumentVersionIdType", # required
|
3050
|
-
# version_status: "ACTIVE", # accepts ACTIVE
|
3051
|
-
# }
|
3052
|
-
#
|
3053
2592
|
# @!attribute [rw] authentication_token
|
3054
2593
|
# Amazon WorkDocs authentication token. Not required when using AWS
|
3055
2594
|
# administrator credentials to access the API.
|
@@ -3078,17 +2617,6 @@ module Aws::WorkDocs
|
|
3078
2617
|
include Aws::Structure
|
3079
2618
|
end
|
3080
2619
|
|
3081
|
-
# @note When making an API call, you may pass UpdateFolderRequest
|
3082
|
-
# data as a hash:
|
3083
|
-
#
|
3084
|
-
# {
|
3085
|
-
# authentication_token: "AuthenticationHeaderType",
|
3086
|
-
# folder_id: "ResourceIdType", # required
|
3087
|
-
# name: "ResourceNameType",
|
3088
|
-
# parent_folder_id: "ResourceIdType",
|
3089
|
-
# resource_state: "ACTIVE", # accepts ACTIVE, RESTORING, RECYCLING, RECYCLED
|
3090
|
-
# }
|
3091
|
-
#
|
3092
2620
|
# @!attribute [rw] authentication_token
|
3093
2621
|
# Amazon WorkDocs authentication token. Not required when using AWS
|
3094
2622
|
# administrator credentials to access the API.
|
@@ -3123,24 +2651,6 @@ module Aws::WorkDocs
|
|
3123
2651
|
include Aws::Structure
|
3124
2652
|
end
|
3125
2653
|
|
3126
|
-
# @note When making an API call, you may pass UpdateUserRequest
|
3127
|
-
# data as a hash:
|
3128
|
-
#
|
3129
|
-
# {
|
3130
|
-
# authentication_token: "AuthenticationHeaderType",
|
3131
|
-
# user_id: "IdType", # required
|
3132
|
-
# given_name: "UserAttributeValueType",
|
3133
|
-
# surname: "UserAttributeValueType",
|
3134
|
-
# type: "USER", # accepts USER, ADMIN, POWERUSER, MINIMALUSER, WORKSPACESUSER
|
3135
|
-
# storage_rule: {
|
3136
|
-
# storage_allocated_in_bytes: 1,
|
3137
|
-
# storage_type: "UNLIMITED", # accepts UNLIMITED, QUOTA
|
3138
|
-
# },
|
3139
|
-
# time_zone_id: "TimeZoneIdType",
|
3140
|
-
# locale: "en", # accepts en, fr, ko, de, es, ja, ru, zh_CN, zh_TW, pt_BR, default
|
3141
|
-
# grant_poweruser_privileges: "TRUE", # accepts TRUE, FALSE
|
3142
|
-
# }
|
3143
|
-
#
|
3144
2654
|
# @!attribute [rw] authentication_token
|
3145
2655
|
# Amazon WorkDocs authentication token. Not required when using AWS
|
3146
2656
|
# administrator credentials to access the API.
|
data/lib/aws-sdk-workdocs.rb
CHANGED
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.
|
4
|
+
version: 1.42.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:
|
11
|
+
date: 2023-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|