aws-sdk-core 2.9.43 → 2.9.44
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/apis/workdocs/2016-05-01/api-2.json +263 -5
- data/lib/aws-sdk-core/client_stubs.rb +13 -0
- data/lib/aws-sdk-core/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 440592f3f6409519e7a1ed1f9d6e9ed490d5968e
|
4
|
+
data.tar.gz: 4ffc90aba8537aa2a738bf52d64d46f13e8e95d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7fb3fb74b76ed36c8af578e9d8e20bf63bf54adf6343ab839d7ac74f57feb056bc7a600117f7ebfb2115dfbf4d5c71725953c4ea87614c5d371d70b7c175e78f
|
7
|
+
data.tar.gz: 231ef4b8775da33a1b4f3a4e1794e7178e261bbcd3ad02b4ceeeb69281668626c31cc68d4e7476b6c392eab368f8b16358050f648b3b0e2f0d72d9ed82ad7c72
|
@@ -320,6 +320,23 @@
|
|
320
320
|
{"shape":"ServiceUnavailableException"}
|
321
321
|
]
|
322
322
|
},
|
323
|
+
"DescribeActivities":{
|
324
|
+
"name":"DescribeActivities",
|
325
|
+
"http":{
|
326
|
+
"method":"GET",
|
327
|
+
"requestUri":"/api/v1/activities",
|
328
|
+
"responseCode":200
|
329
|
+
},
|
330
|
+
"input":{"shape":"DescribeActivitiesRequest"},
|
331
|
+
"output":{"shape":"DescribeActivitiesResponse"},
|
332
|
+
"errors":[
|
333
|
+
{"shape":"UnauthorizedOperationException"},
|
334
|
+
{"shape":"UnauthorizedResourceAccessException"},
|
335
|
+
{"shape":"InvalidArgumentException"},
|
336
|
+
{"shape":"FailedDependencyException"},
|
337
|
+
{"shape":"ServiceUnavailableException"}
|
338
|
+
]
|
339
|
+
},
|
323
340
|
"DescribeComments":{
|
324
341
|
"name":"DescribeComments",
|
325
342
|
"http":{
|
@@ -406,6 +423,23 @@
|
|
406
423
|
{"shape":"ServiceUnavailableException"}
|
407
424
|
]
|
408
425
|
},
|
426
|
+
"DescribeRootFolders":{
|
427
|
+
"name":"DescribeRootFolders",
|
428
|
+
"http":{
|
429
|
+
"method":"GET",
|
430
|
+
"requestUri":"/api/v1/me/root",
|
431
|
+
"responseCode":200
|
432
|
+
},
|
433
|
+
"input":{"shape":"DescribeRootFoldersRequest"},
|
434
|
+
"output":{"shape":"DescribeRootFoldersResponse"},
|
435
|
+
"errors":[
|
436
|
+
{"shape":"UnauthorizedOperationException"},
|
437
|
+
{"shape":"UnauthorizedResourceAccessException"},
|
438
|
+
{"shape":"InvalidArgumentException"},
|
439
|
+
{"shape":"FailedDependencyException"},
|
440
|
+
{"shape":"ServiceUnavailableException"}
|
441
|
+
]
|
442
|
+
},
|
409
443
|
"DescribeUsers":{
|
410
444
|
"name":"DescribeUsers",
|
411
445
|
"http":{
|
@@ -423,6 +457,23 @@
|
|
423
457
|
{"shape":"InvalidArgumentException"}
|
424
458
|
]
|
425
459
|
},
|
460
|
+
"GetCurrentUser":{
|
461
|
+
"name":"GetCurrentUser",
|
462
|
+
"http":{
|
463
|
+
"method":"GET",
|
464
|
+
"requestUri":"/api/v1/me",
|
465
|
+
"responseCode":200
|
466
|
+
},
|
467
|
+
"input":{"shape":"GetCurrentUserRequest"},
|
468
|
+
"output":{"shape":"GetCurrentUserResponse"},
|
469
|
+
"errors":[
|
470
|
+
{"shape":"EntityNotExistsException"},
|
471
|
+
{"shape":"UnauthorizedOperationException"},
|
472
|
+
{"shape":"UnauthorizedResourceAccessException"},
|
473
|
+
{"shape":"FailedDependencyException"},
|
474
|
+
{"shape":"ServiceUnavailableException"}
|
475
|
+
]
|
476
|
+
},
|
426
477
|
"GetDocument":{
|
427
478
|
"name":"GetDocument",
|
428
479
|
"http":{
|
@@ -691,6 +742,55 @@
|
|
691
742
|
"User":{"shape":"User"}
|
692
743
|
}
|
693
744
|
},
|
745
|
+
"Activity":{
|
746
|
+
"type":"structure",
|
747
|
+
"members":{
|
748
|
+
"Type":{"shape":"ActivityType"},
|
749
|
+
"TimeStamp":{"shape":"TimestampType"},
|
750
|
+
"OrganizationId":{"shape":"IdType"},
|
751
|
+
"Initiator":{"shape":"UserMetadata"},
|
752
|
+
"Participants":{"shape":"Participants"},
|
753
|
+
"ResourceMetadata":{"shape":"ResourceMetadata"},
|
754
|
+
"OriginalParent":{"shape":"ResourceMetadata"},
|
755
|
+
"CommentMetadata":{"shape":"CommentMetadata"}
|
756
|
+
}
|
757
|
+
},
|
758
|
+
"ActivityType":{
|
759
|
+
"type":"string",
|
760
|
+
"enum":[
|
761
|
+
"DOCUMENT_CHECKED_IN",
|
762
|
+
"DOCUMENT_CHECKED_OUT",
|
763
|
+
"DOCUMENT_RENAMED",
|
764
|
+
"DOCUMENT_VERSION_UPLOADED",
|
765
|
+
"DOCUMENT_VERSION_DELETED",
|
766
|
+
"DOCUMENT_RECYCLED",
|
767
|
+
"DOCUMENT_RESTORED",
|
768
|
+
"DOCUMENT_REVERTED",
|
769
|
+
"DOCUMENT_SHARED",
|
770
|
+
"DOCUMENT_UNSHARED",
|
771
|
+
"DOCUMENT_SHARE_PERMISSION_CHANGED",
|
772
|
+
"DOCUMENT_SHAREABLE_LINK_CREATED",
|
773
|
+
"DOCUMENT_SHAREABLE_LINK_REMOVED",
|
774
|
+
"DOCUMENT_SHAREABLE_LINK_PERMISSION_CHANGED",
|
775
|
+
"DOCUMENT_MOVED",
|
776
|
+
"DOCUMENT_COMMENT_ADDED",
|
777
|
+
"DOCUMENT_COMMENT_DELETED",
|
778
|
+
"DOCUMENT_ANNOTATION_ADDED",
|
779
|
+
"DOCUMENT_ANNOTATION_DELETED",
|
780
|
+
"FOLDER_CREATED",
|
781
|
+
"FOLDER_DELETED",
|
782
|
+
"FOLDER_RENAMED",
|
783
|
+
"FOLDER_RECYCLED",
|
784
|
+
"FOLDER_RESTORED",
|
785
|
+
"FOLDER_SHARED",
|
786
|
+
"FOLDER_UNSHARED",
|
787
|
+
"FOLDER_SHARE_PERMISSION_CHANGED",
|
788
|
+
"FOLDER_SHAREABLE_LINK_CREATED",
|
789
|
+
"FOLDER_SHAREABLE_LINK_REMOVED",
|
790
|
+
"FOLDER_SHAREABLE_LINK_PERMISSION_CHANGED",
|
791
|
+
"FOLDER_MOVED"
|
792
|
+
]
|
793
|
+
},
|
694
794
|
"AddResourcePermissionsRequest":{
|
695
795
|
"type":"structure",
|
696
796
|
"required":[
|
@@ -749,6 +849,16 @@
|
|
749
849
|
"type":"list",
|
750
850
|
"member":{"shape":"Comment"}
|
751
851
|
},
|
852
|
+
"CommentMetadata":{
|
853
|
+
"type":"structure",
|
854
|
+
"members":{
|
855
|
+
"CommentId":{"shape":"CommentIdType"},
|
856
|
+
"Contributor":{"shape":"User"},
|
857
|
+
"CreatedTimestamp":{"shape":"TimestampType"},
|
858
|
+
"CommentStatus":{"shape":"CommentStatusType"},
|
859
|
+
"RecipientId":{"shape":"IdType"}
|
860
|
+
}
|
861
|
+
},
|
752
862
|
"CommentStatusType":{
|
753
863
|
"type":"string",
|
754
864
|
"enum":[
|
@@ -952,7 +1062,7 @@
|
|
952
1062
|
"type":"string",
|
953
1063
|
"max":56,
|
954
1064
|
"min":1,
|
955
|
-
"pattern":"[a-zA-Z0-
|
1065
|
+
"pattern":"[a-zA-Z0-9._+-/=][a-zA-Z0-9 ._+-/=]*"
|
956
1066
|
},
|
957
1067
|
"CustomMetadataLimitExceededException":{
|
958
1068
|
"type":"structure",
|
@@ -971,9 +1081,9 @@
|
|
971
1081
|
},
|
972
1082
|
"CustomMetadataValueType":{
|
973
1083
|
"type":"string",
|
974
|
-
"max":
|
1084
|
+
"max":256,
|
975
1085
|
"min":1,
|
976
|
-
"pattern":"[a-zA-Z0-
|
1086
|
+
"pattern":"[a-zA-Z0-9._+-/=][a-zA-Z0-9 ._+-/=]*"
|
977
1087
|
},
|
978
1088
|
"DeactivateUserRequest":{
|
979
1089
|
"type":"structure",
|
@@ -1178,6 +1288,53 @@
|
|
1178
1288
|
}
|
1179
1289
|
}
|
1180
1290
|
},
|
1291
|
+
"DescribeActivitiesRequest":{
|
1292
|
+
"type":"structure",
|
1293
|
+
"members":{
|
1294
|
+
"AuthenticationToken":{
|
1295
|
+
"shape":"AuthenticationHeaderType",
|
1296
|
+
"location":"header",
|
1297
|
+
"locationName":"Authentication"
|
1298
|
+
},
|
1299
|
+
"StartTime":{
|
1300
|
+
"shape":"TimestampType",
|
1301
|
+
"location":"querystring",
|
1302
|
+
"locationName":"startTime"
|
1303
|
+
},
|
1304
|
+
"EndTime":{
|
1305
|
+
"shape":"TimestampType",
|
1306
|
+
"location":"querystring",
|
1307
|
+
"locationName":"endTime"
|
1308
|
+
},
|
1309
|
+
"OrganizationId":{
|
1310
|
+
"shape":"IdType",
|
1311
|
+
"location":"querystring",
|
1312
|
+
"locationName":"organizationId"
|
1313
|
+
},
|
1314
|
+
"UserId":{
|
1315
|
+
"shape":"IdType",
|
1316
|
+
"location":"querystring",
|
1317
|
+
"locationName":"userId"
|
1318
|
+
},
|
1319
|
+
"Limit":{
|
1320
|
+
"shape":"LimitType",
|
1321
|
+
"location":"querystring",
|
1322
|
+
"locationName":"limit"
|
1323
|
+
},
|
1324
|
+
"Marker":{
|
1325
|
+
"shape":"MarkerType",
|
1326
|
+
"location":"querystring",
|
1327
|
+
"locationName":"marker"
|
1328
|
+
}
|
1329
|
+
}
|
1330
|
+
},
|
1331
|
+
"DescribeActivitiesResponse":{
|
1332
|
+
"type":"structure",
|
1333
|
+
"members":{
|
1334
|
+
"UserActivities":{"shape":"UserActivities"},
|
1335
|
+
"Marker":{"shape":"MarkerType"}
|
1336
|
+
}
|
1337
|
+
},
|
1181
1338
|
"DescribeCommentsRequest":{
|
1182
1339
|
"type":"structure",
|
1183
1340
|
"required":[
|
@@ -1377,6 +1534,34 @@
|
|
1377
1534
|
"Marker":{"shape":"PageMarkerType"}
|
1378
1535
|
}
|
1379
1536
|
},
|
1537
|
+
"DescribeRootFoldersRequest":{
|
1538
|
+
"type":"structure",
|
1539
|
+
"required":["AuthenticationToken"],
|
1540
|
+
"members":{
|
1541
|
+
"AuthenticationToken":{
|
1542
|
+
"shape":"AuthenticationHeaderType",
|
1543
|
+
"location":"header",
|
1544
|
+
"locationName":"Authentication"
|
1545
|
+
},
|
1546
|
+
"Limit":{
|
1547
|
+
"shape":"LimitType",
|
1548
|
+
"location":"querystring",
|
1549
|
+
"locationName":"limit"
|
1550
|
+
},
|
1551
|
+
"Marker":{
|
1552
|
+
"shape":"PageMarkerType",
|
1553
|
+
"location":"querystring",
|
1554
|
+
"locationName":"marker"
|
1555
|
+
}
|
1556
|
+
}
|
1557
|
+
},
|
1558
|
+
"DescribeRootFoldersResponse":{
|
1559
|
+
"type":"structure",
|
1560
|
+
"members":{
|
1561
|
+
"Folders":{"shape":"FolderMetadataList"},
|
1562
|
+
"Marker":{"shape":"PageMarkerType"}
|
1563
|
+
}
|
1564
|
+
},
|
1380
1565
|
"DescribeUsersRequest":{
|
1381
1566
|
"type":"structure",
|
1382
1567
|
"members":{
|
@@ -1612,6 +1797,23 @@
|
|
1612
1797
|
"type":"list",
|
1613
1798
|
"member":{"shape":"FolderMetadata"}
|
1614
1799
|
},
|
1800
|
+
"GetCurrentUserRequest":{
|
1801
|
+
"type":"structure",
|
1802
|
+
"required":["AuthenticationToken"],
|
1803
|
+
"members":{
|
1804
|
+
"AuthenticationToken":{
|
1805
|
+
"shape":"AuthenticationHeaderType",
|
1806
|
+
"location":"header",
|
1807
|
+
"locationName":"Authentication"
|
1808
|
+
}
|
1809
|
+
}
|
1810
|
+
},
|
1811
|
+
"GetCurrentUserResponse":{
|
1812
|
+
"type":"structure",
|
1813
|
+
"members":{
|
1814
|
+
"User":{"shape":"User"}
|
1815
|
+
}
|
1816
|
+
},
|
1615
1817
|
"GetDocumentPathRequest":{
|
1616
1818
|
"type":"structure",
|
1617
1819
|
"required":["DocumentId"],
|
@@ -1783,6 +1985,18 @@
|
|
1783
1985
|
"CustomMetadata":{"shape":"CustomMetadataMap"}
|
1784
1986
|
}
|
1785
1987
|
},
|
1988
|
+
"GroupMetadata":{
|
1989
|
+
"type":"structure",
|
1990
|
+
"members":{
|
1991
|
+
"Id":{"shape":"IdType"},
|
1992
|
+
"Name":{"shape":"GroupNameType"}
|
1993
|
+
}
|
1994
|
+
},
|
1995
|
+
"GroupMetadataList":{
|
1996
|
+
"type":"list",
|
1997
|
+
"member":{"shape":"GroupMetadata"}
|
1998
|
+
},
|
1999
|
+
"GroupNameType":{"type":"string"},
|
1786
2000
|
"HashType":{
|
1787
2001
|
"type":"string",
|
1788
2002
|
"max":128,
|
@@ -1857,9 +2071,9 @@
|
|
1857
2071
|
},
|
1858
2072
|
"Label":{
|
1859
2073
|
"type":"string",
|
1860
|
-
"max":
|
2074
|
+
"max":32,
|
1861
2075
|
"min":1,
|
1862
|
-
"pattern":"[a-zA-Z0-
|
2076
|
+
"pattern":"[a-zA-Z0-9._+-/=][a-zA-Z0-9 ._+-/=]*"
|
1863
2077
|
},
|
1864
2078
|
"Labels":{
|
1865
2079
|
"type":"list",
|
@@ -1923,6 +2137,13 @@
|
|
1923
2137
|
"max":2048,
|
1924
2138
|
"min":1
|
1925
2139
|
},
|
2140
|
+
"Participants":{
|
2141
|
+
"type":"structure",
|
2142
|
+
"members":{
|
2143
|
+
"Users":{"shape":"UserMetadataList"},
|
2144
|
+
"Groups":{"shape":"GroupMetadataList"}
|
2145
|
+
}
|
2146
|
+
},
|
1926
2147
|
"PasswordType":{
|
1927
2148
|
"type":"string",
|
1928
2149
|
"max":32,
|
@@ -2034,6 +2255,18 @@
|
|
2034
2255
|
"min":1,
|
2035
2256
|
"pattern":"[\\w+-.@]+"
|
2036
2257
|
},
|
2258
|
+
"ResourceMetadata":{
|
2259
|
+
"type":"structure",
|
2260
|
+
"members":{
|
2261
|
+
"Type":{"shape":"ResourceType"},
|
2262
|
+
"Name":{"shape":"ResourceNameType"},
|
2263
|
+
"OriginalName":{"shape":"ResourceNameType"},
|
2264
|
+
"Id":{"shape":"ResourceIdType"},
|
2265
|
+
"VersionId":{"shape":"DocumentVersionIdType"},
|
2266
|
+
"Owner":{"shape":"UserMetadata"},
|
2267
|
+
"ParentId":{"shape":"ResourceIdType"}
|
2268
|
+
}
|
2269
|
+
},
|
2037
2270
|
"ResourceNameType":{
|
2038
2271
|
"type":"string",
|
2039
2272
|
"max":255,
|
@@ -2073,6 +2306,13 @@
|
|
2073
2306
|
"RECYCLED"
|
2074
2307
|
]
|
2075
2308
|
},
|
2309
|
+
"ResourceType":{
|
2310
|
+
"type":"string",
|
2311
|
+
"enum":[
|
2312
|
+
"FOLDER",
|
2313
|
+
"DOCUMENT"
|
2314
|
+
]
|
2315
|
+
},
|
2076
2316
|
"RolePermissionType":{
|
2077
2317
|
"type":"string",
|
2078
2318
|
"enum":[
|
@@ -2366,6 +2606,10 @@
|
|
2366
2606
|
"Storage":{"shape":"UserStorageMetadata"}
|
2367
2607
|
}
|
2368
2608
|
},
|
2609
|
+
"UserActivities":{
|
2610
|
+
"type":"list",
|
2611
|
+
"member":{"shape":"Activity"}
|
2612
|
+
},
|
2369
2613
|
"UserAttributeValueType":{
|
2370
2614
|
"type":"string",
|
2371
2615
|
"max":64,
|
@@ -2384,6 +2628,20 @@
|
|
2384
2628
|
"min":1,
|
2385
2629
|
"pattern":"[&\\w+-.@, ]+"
|
2386
2630
|
},
|
2631
|
+
"UserMetadata":{
|
2632
|
+
"type":"structure",
|
2633
|
+
"members":{
|
2634
|
+
"Id":{"shape":"IdType"},
|
2635
|
+
"Username":{"shape":"UsernameType"},
|
2636
|
+
"GivenName":{"shape":"UserAttributeValueType"},
|
2637
|
+
"Surname":{"shape":"UserAttributeValueType"},
|
2638
|
+
"EmailAddress":{"shape":"EmailAddressType"}
|
2639
|
+
}
|
2640
|
+
},
|
2641
|
+
"UserMetadataList":{
|
2642
|
+
"type":"list",
|
2643
|
+
"member":{"shape":"UserMetadata"}
|
2644
|
+
},
|
2387
2645
|
"UserSortType":{
|
2388
2646
|
"type":"string",
|
2389
2647
|
"enum":[
|
@@ -77,6 +77,19 @@ module Aws
|
|
77
77
|
# Aws::S3::Resource.new.buckets.map(&:name)
|
78
78
|
# #=> ['my-bucket']
|
79
79
|
#
|
80
|
+
# ## Dynamic Stubbing
|
81
|
+
#
|
82
|
+
# In addition to creating static stubs, it's also possible to generate
|
83
|
+
# stubs dynamically based on the parameters with which operations were
|
84
|
+
# called, by passing a `Proc` object:
|
85
|
+
#
|
86
|
+
# s3 = Aws::S3::Resource.new(stub_responses: true)
|
87
|
+
# s3.client.stub_responses(:put_object, -> (context) {
|
88
|
+
# s3.client.stub_responses(:get_object, content_type: context.params[:content_type])
|
89
|
+
# })
|
90
|
+
#
|
91
|
+
# The yielded object is an instance of {Seahorse::Client::RequestContext}.
|
92
|
+
#
|
80
93
|
# ## Stubbing Errors
|
81
94
|
#
|
82
95
|
# When stubbing is enabled, the SDK will default to generate
|
data/lib/aws-sdk-core/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.9.
|
4
|
+
version: 2.9.44
|
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: 2017-06-
|
11
|
+
date: 2017-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jmespath
|