aws-sdk-workdocs 1.0.0.rc5 → 1.0.0.rc6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-workdocs.rb +1 -1
- data/lib/aws-sdk-workdocs/client.rb +784 -13
- data/lib/aws-sdk-workdocs/client_api.rb +386 -0
- data/lib/aws-sdk-workdocs/types.rb +1079 -50
- metadata +4 -4
@@ -14,22 +14,53 @@ module Aws::WorkDocs
|
|
14
14
|
AbortDocumentVersionUploadRequest = Shapes::StructureShape.new(name: 'AbortDocumentVersionUploadRequest')
|
15
15
|
ActivateUserRequest = Shapes::StructureShape.new(name: 'ActivateUserRequest')
|
16
16
|
ActivateUserResponse = Shapes::StructureShape.new(name: 'ActivateUserResponse')
|
17
|
+
Activity = Shapes::StructureShape.new(name: 'Activity')
|
18
|
+
ActivityType = Shapes::StringShape.new(name: 'ActivityType')
|
17
19
|
AddResourcePermissionsRequest = Shapes::StructureShape.new(name: 'AddResourcePermissionsRequest')
|
18
20
|
AddResourcePermissionsResponse = Shapes::StructureShape.new(name: 'AddResourcePermissionsResponse')
|
21
|
+
AuthenticationHeaderType = Shapes::StringShape.new(name: 'AuthenticationHeaderType')
|
22
|
+
BooleanType = Shapes::BooleanShape.new(name: 'BooleanType')
|
23
|
+
Comment = Shapes::StructureShape.new(name: 'Comment')
|
24
|
+
CommentIdType = Shapes::StringShape.new(name: 'CommentIdType')
|
25
|
+
CommentList = Shapes::ListShape.new(name: 'CommentList')
|
26
|
+
CommentMetadata = Shapes::StructureShape.new(name: 'CommentMetadata')
|
27
|
+
CommentStatusType = Shapes::StringShape.new(name: 'CommentStatusType')
|
28
|
+
CommentTextType = Shapes::StringShape.new(name: 'CommentTextType')
|
29
|
+
CommentVisibilityType = Shapes::StringShape.new(name: 'CommentVisibilityType')
|
19
30
|
ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException')
|
31
|
+
CreateCommentRequest = Shapes::StructureShape.new(name: 'CreateCommentRequest')
|
32
|
+
CreateCommentResponse = Shapes::StructureShape.new(name: 'CreateCommentResponse')
|
33
|
+
CreateCustomMetadataRequest = Shapes::StructureShape.new(name: 'CreateCustomMetadataRequest')
|
34
|
+
CreateCustomMetadataResponse = Shapes::StructureShape.new(name: 'CreateCustomMetadataResponse')
|
20
35
|
CreateFolderRequest = Shapes::StructureShape.new(name: 'CreateFolderRequest')
|
21
36
|
CreateFolderResponse = Shapes::StructureShape.new(name: 'CreateFolderResponse')
|
37
|
+
CreateLabelsRequest = Shapes::StructureShape.new(name: 'CreateLabelsRequest')
|
38
|
+
CreateLabelsResponse = Shapes::StructureShape.new(name: 'CreateLabelsResponse')
|
22
39
|
CreateNotificationSubscriptionRequest = Shapes::StructureShape.new(name: 'CreateNotificationSubscriptionRequest')
|
23
40
|
CreateNotificationSubscriptionResponse = Shapes::StructureShape.new(name: 'CreateNotificationSubscriptionResponse')
|
24
41
|
CreateUserRequest = Shapes::StructureShape.new(name: 'CreateUserRequest')
|
25
42
|
CreateUserResponse = Shapes::StructureShape.new(name: 'CreateUserResponse')
|
43
|
+
CustomMetadataKeyList = Shapes::ListShape.new(name: 'CustomMetadataKeyList')
|
44
|
+
CustomMetadataKeyType = Shapes::StringShape.new(name: 'CustomMetadataKeyType')
|
45
|
+
CustomMetadataLimitExceededException = Shapes::StructureShape.new(name: 'CustomMetadataLimitExceededException')
|
46
|
+
CustomMetadataMap = Shapes::MapShape.new(name: 'CustomMetadataMap')
|
47
|
+
CustomMetadataValueType = Shapes::StringShape.new(name: 'CustomMetadataValueType')
|
26
48
|
DeactivateUserRequest = Shapes::StructureShape.new(name: 'DeactivateUserRequest')
|
27
49
|
DeactivatingLastSystemUserException = Shapes::StructureShape.new(name: 'DeactivatingLastSystemUserException')
|
50
|
+
DeleteCommentRequest = Shapes::StructureShape.new(name: 'DeleteCommentRequest')
|
51
|
+
DeleteCustomMetadataRequest = Shapes::StructureShape.new(name: 'DeleteCustomMetadataRequest')
|
52
|
+
DeleteCustomMetadataResponse = Shapes::StructureShape.new(name: 'DeleteCustomMetadataResponse')
|
28
53
|
DeleteDocumentRequest = Shapes::StructureShape.new(name: 'DeleteDocumentRequest')
|
29
54
|
DeleteFolderContentsRequest = Shapes::StructureShape.new(name: 'DeleteFolderContentsRequest')
|
30
55
|
DeleteFolderRequest = Shapes::StructureShape.new(name: 'DeleteFolderRequest')
|
56
|
+
DeleteLabelsRequest = Shapes::StructureShape.new(name: 'DeleteLabelsRequest')
|
57
|
+
DeleteLabelsResponse = Shapes::StructureShape.new(name: 'DeleteLabelsResponse')
|
31
58
|
DeleteNotificationSubscriptionRequest = Shapes::StructureShape.new(name: 'DeleteNotificationSubscriptionRequest')
|
32
59
|
DeleteUserRequest = Shapes::StructureShape.new(name: 'DeleteUserRequest')
|
60
|
+
DescribeActivitiesRequest = Shapes::StructureShape.new(name: 'DescribeActivitiesRequest')
|
61
|
+
DescribeActivitiesResponse = Shapes::StructureShape.new(name: 'DescribeActivitiesResponse')
|
62
|
+
DescribeCommentsRequest = Shapes::StructureShape.new(name: 'DescribeCommentsRequest')
|
63
|
+
DescribeCommentsResponse = Shapes::StructureShape.new(name: 'DescribeCommentsResponse')
|
33
64
|
DescribeDocumentVersionsRequest = Shapes::StructureShape.new(name: 'DescribeDocumentVersionsRequest')
|
34
65
|
DescribeDocumentVersionsResponse = Shapes::StructureShape.new(name: 'DescribeDocumentVersionsResponse')
|
35
66
|
DescribeFolderContentsRequest = Shapes::StructureShape.new(name: 'DescribeFolderContentsRequest')
|
@@ -38,9 +69,12 @@ module Aws::WorkDocs
|
|
38
69
|
DescribeNotificationSubscriptionsResponse = Shapes::StructureShape.new(name: 'DescribeNotificationSubscriptionsResponse')
|
39
70
|
DescribeResourcePermissionsRequest = Shapes::StructureShape.new(name: 'DescribeResourcePermissionsRequest')
|
40
71
|
DescribeResourcePermissionsResponse = Shapes::StructureShape.new(name: 'DescribeResourcePermissionsResponse')
|
72
|
+
DescribeRootFoldersRequest = Shapes::StructureShape.new(name: 'DescribeRootFoldersRequest')
|
73
|
+
DescribeRootFoldersResponse = Shapes::StructureShape.new(name: 'DescribeRootFoldersResponse')
|
41
74
|
DescribeUsersRequest = Shapes::StructureShape.new(name: 'DescribeUsersRequest')
|
42
75
|
DescribeUsersResponse = Shapes::StructureShape.new(name: 'DescribeUsersResponse')
|
43
76
|
DocumentContentType = Shapes::StringShape.new(name: 'DocumentContentType')
|
77
|
+
DocumentLockedForCommentsException = Shapes::StructureShape.new(name: 'DocumentLockedForCommentsException')
|
44
78
|
DocumentMetadata = Shapes::StructureShape.new(name: 'DocumentMetadata')
|
45
79
|
DocumentMetadataList = Shapes::ListShape.new(name: 'DocumentMetadataList')
|
46
80
|
DocumentSourceType = Shapes::StringShape.new(name: 'DocumentSourceType')
|
@@ -52,6 +86,7 @@ module Aws::WorkDocs
|
|
52
86
|
DocumentVersionMetadata = Shapes::StructureShape.new(name: 'DocumentVersionMetadata')
|
53
87
|
DocumentVersionMetadataList = Shapes::ListShape.new(name: 'DocumentVersionMetadataList')
|
54
88
|
DocumentVersionStatus = Shapes::StringShape.new(name: 'DocumentVersionStatus')
|
89
|
+
DraftUploadOutOfSyncException = Shapes::StructureShape.new(name: 'DraftUploadOutOfSyncException')
|
55
90
|
EmailAddressType = Shapes::StringShape.new(name: 'EmailAddressType')
|
56
91
|
EntityAlreadyExistsException = Shapes::StructureShape.new(name: 'EntityAlreadyExistsException')
|
57
92
|
EntityIdList = Shapes::ListShape.new(name: 'EntityIdList')
|
@@ -62,6 +97,8 @@ module Aws::WorkDocs
|
|
62
97
|
FolderContentType = Shapes::StringShape.new(name: 'FolderContentType')
|
63
98
|
FolderMetadata = Shapes::StructureShape.new(name: 'FolderMetadata')
|
64
99
|
FolderMetadataList = Shapes::ListShape.new(name: 'FolderMetadataList')
|
100
|
+
GetCurrentUserRequest = Shapes::StructureShape.new(name: 'GetCurrentUserRequest')
|
101
|
+
GetCurrentUserResponse = Shapes::StructureShape.new(name: 'GetCurrentUserResponse')
|
65
102
|
GetDocumentPathRequest = Shapes::StructureShape.new(name: 'GetDocumentPathRequest')
|
66
103
|
GetDocumentPathResponse = Shapes::StructureShape.new(name: 'GetDocumentPathResponse')
|
67
104
|
GetDocumentRequest = Shapes::StructureShape.new(name: 'GetDocumentRequest')
|
@@ -72,6 +109,9 @@ module Aws::WorkDocs
|
|
72
109
|
GetFolderPathResponse = Shapes::StructureShape.new(name: 'GetFolderPathResponse')
|
73
110
|
GetFolderRequest = Shapes::StructureShape.new(name: 'GetFolderRequest')
|
74
111
|
GetFolderResponse = Shapes::StructureShape.new(name: 'GetFolderResponse')
|
112
|
+
GroupMetadata = Shapes::StructureShape.new(name: 'GroupMetadata')
|
113
|
+
GroupMetadataList = Shapes::ListShape.new(name: 'GroupMetadataList')
|
114
|
+
GroupNameType = Shapes::StringShape.new(name: 'GroupNameType')
|
75
115
|
HashType = Shapes::StringShape.new(name: 'HashType')
|
76
116
|
HeaderNameType = Shapes::StringShape.new(name: 'HeaderNameType')
|
77
117
|
HeaderValueType = Shapes::StringShape.new(name: 'HeaderValueType')
|
@@ -81,13 +121,17 @@ module Aws::WorkDocs
|
|
81
121
|
InitiateDocumentVersionUploadResponse = Shapes::StructureShape.new(name: 'InitiateDocumentVersionUploadResponse')
|
82
122
|
InvalidArgumentException = Shapes::StructureShape.new(name: 'InvalidArgumentException')
|
83
123
|
InvalidOperationException = Shapes::StructureShape.new(name: 'InvalidOperationException')
|
124
|
+
Label = Shapes::StringShape.new(name: 'Label')
|
125
|
+
Labels = Shapes::ListShape.new(name: 'Labels')
|
84
126
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
85
127
|
LimitType = Shapes::IntegerShape.new(name: 'LimitType')
|
86
128
|
LocaleType = Shapes::StringShape.new(name: 'LocaleType')
|
129
|
+
MarkerType = Shapes::StringShape.new(name: 'MarkerType')
|
87
130
|
MessageType = Shapes::StringShape.new(name: 'MessageType')
|
88
131
|
OrderType = Shapes::StringShape.new(name: 'OrderType')
|
89
132
|
OrganizationUserList = Shapes::ListShape.new(name: 'OrganizationUserList')
|
90
133
|
PageMarkerType = Shapes::StringShape.new(name: 'PageMarkerType')
|
134
|
+
Participants = Shapes::StructureShape.new(name: 'Participants')
|
91
135
|
PasswordType = Shapes::StringShape.new(name: 'PasswordType')
|
92
136
|
PermissionInfo = Shapes::StructureShape.new(name: 'PermissionInfo')
|
93
137
|
PermissionInfoList = Shapes::ListShape.new(name: 'PermissionInfoList')
|
@@ -98,13 +142,16 @@ module Aws::WorkDocs
|
|
98
142
|
ProhibitedStateException = Shapes::StructureShape.new(name: 'ProhibitedStateException')
|
99
143
|
RemoveAllResourcePermissionsRequest = Shapes::StructureShape.new(name: 'RemoveAllResourcePermissionsRequest')
|
100
144
|
RemoveResourcePermissionRequest = Shapes::StructureShape.new(name: 'RemoveResourcePermissionRequest')
|
145
|
+
ResourceAlreadyCheckedOutException = Shapes::StructureShape.new(name: 'ResourceAlreadyCheckedOutException')
|
101
146
|
ResourceIdType = Shapes::StringShape.new(name: 'ResourceIdType')
|
147
|
+
ResourceMetadata = Shapes::StructureShape.new(name: 'ResourceMetadata')
|
102
148
|
ResourceNameType = Shapes::StringShape.new(name: 'ResourceNameType')
|
103
149
|
ResourcePath = Shapes::StructureShape.new(name: 'ResourcePath')
|
104
150
|
ResourcePathComponent = Shapes::StructureShape.new(name: 'ResourcePathComponent')
|
105
151
|
ResourcePathComponentList = Shapes::ListShape.new(name: 'ResourcePathComponentList')
|
106
152
|
ResourceSortType = Shapes::StringShape.new(name: 'ResourceSortType')
|
107
153
|
ResourceStateType = Shapes::StringShape.new(name: 'ResourceStateType')
|
154
|
+
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
108
155
|
RolePermissionType = Shapes::StringShape.new(name: 'RolePermissionType')
|
109
156
|
RoleType = Shapes::StringShape.new(name: 'RoleType')
|
110
157
|
SearchQueryType = Shapes::StringShape.new(name: 'SearchQueryType')
|
@@ -127,6 +174,7 @@ module Aws::WorkDocs
|
|
127
174
|
SubscriptionType = Shapes::StringShape.new(name: 'SubscriptionType')
|
128
175
|
TimeZoneIdType = Shapes::StringShape.new(name: 'TimeZoneIdType')
|
129
176
|
TimestampType = Shapes::TimestampShape.new(name: 'TimestampType')
|
177
|
+
TooManyLabelsException = Shapes::StructureShape.new(name: 'TooManyLabelsException')
|
130
178
|
TooManySubscriptionsException = Shapes::StructureShape.new(name: 'TooManySubscriptionsException')
|
131
179
|
UnauthorizedOperationException = Shapes::StructureShape.new(name: 'UnauthorizedOperationException')
|
132
180
|
UnauthorizedResourceAccessException = Shapes::StructureShape.new(name: 'UnauthorizedResourceAccessException')
|
@@ -138,25 +186,41 @@ module Aws::WorkDocs
|
|
138
186
|
UploadMetadata = Shapes::StructureShape.new(name: 'UploadMetadata')
|
139
187
|
UrlType = Shapes::StringShape.new(name: 'UrlType')
|
140
188
|
User = Shapes::StructureShape.new(name: 'User')
|
189
|
+
UserActivities = Shapes::ListShape.new(name: 'UserActivities')
|
141
190
|
UserAttributeValueType = Shapes::StringShape.new(name: 'UserAttributeValueType')
|
142
191
|
UserFilterType = Shapes::StringShape.new(name: 'UserFilterType')
|
143
192
|
UserIdsType = Shapes::StringShape.new(name: 'UserIdsType')
|
193
|
+
UserMetadata = Shapes::StructureShape.new(name: 'UserMetadata')
|
194
|
+
UserMetadataList = Shapes::ListShape.new(name: 'UserMetadataList')
|
144
195
|
UserSortType = Shapes::StringShape.new(name: 'UserSortType')
|
145
196
|
UserStatusType = Shapes::StringShape.new(name: 'UserStatusType')
|
146
197
|
UserStorageMetadata = Shapes::StructureShape.new(name: 'UserStorageMetadata')
|
147
198
|
UserType = Shapes::StringShape.new(name: 'UserType')
|
148
199
|
UsernameType = Shapes::StringShape.new(name: 'UsernameType')
|
149
200
|
|
201
|
+
AbortDocumentVersionUploadRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication"))
|
150
202
|
AbortDocumentVersionUploadRequest.add_member(:document_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "DocumentId"))
|
151
203
|
AbortDocumentVersionUploadRequest.add_member(:version_id, Shapes::ShapeRef.new(shape: DocumentVersionIdType, required: true, location: "uri", location_name: "VersionId"))
|
152
204
|
AbortDocumentVersionUploadRequest.struct_class = Types::AbortDocumentVersionUploadRequest
|
153
205
|
|
154
206
|
ActivateUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: IdType, required: true, location: "uri", location_name: "UserId"))
|
207
|
+
ActivateUserRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication"))
|
155
208
|
ActivateUserRequest.struct_class = Types::ActivateUserRequest
|
156
209
|
|
157
210
|
ActivateUserResponse.add_member(:user, Shapes::ShapeRef.new(shape: User, location_name: "User"))
|
158
211
|
ActivateUserResponse.struct_class = Types::ActivateUserResponse
|
159
212
|
|
213
|
+
Activity.add_member(:type, Shapes::ShapeRef.new(shape: ActivityType, location_name: "Type"))
|
214
|
+
Activity.add_member(:time_stamp, Shapes::ShapeRef.new(shape: TimestampType, location_name: "TimeStamp"))
|
215
|
+
Activity.add_member(:organization_id, Shapes::ShapeRef.new(shape: IdType, location_name: "OrganizationId"))
|
216
|
+
Activity.add_member(:initiator, Shapes::ShapeRef.new(shape: UserMetadata, location_name: "Initiator"))
|
217
|
+
Activity.add_member(:participants, Shapes::ShapeRef.new(shape: Participants, location_name: "Participants"))
|
218
|
+
Activity.add_member(:resource_metadata, Shapes::ShapeRef.new(shape: ResourceMetadata, location_name: "ResourceMetadata"))
|
219
|
+
Activity.add_member(:original_parent, Shapes::ShapeRef.new(shape: ResourceMetadata, location_name: "OriginalParent"))
|
220
|
+
Activity.add_member(:comment_metadata, Shapes::ShapeRef.new(shape: CommentMetadata, location_name: "CommentMetadata"))
|
221
|
+
Activity.struct_class = Types::Activity
|
222
|
+
|
223
|
+
AddResourcePermissionsRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication"))
|
160
224
|
AddResourcePermissionsRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "ResourceId"))
|
161
225
|
AddResourcePermissionsRequest.add_member(:principals, Shapes::ShapeRef.new(shape: SharePrincipalList, required: true, location_name: "Principals"))
|
162
226
|
AddResourcePermissionsRequest.struct_class = Types::AddResourcePermissionsRequest
|
@@ -164,6 +228,48 @@ module Aws::WorkDocs
|
|
164
228
|
AddResourcePermissionsResponse.add_member(:share_results, Shapes::ShapeRef.new(shape: ShareResultsList, location_name: "ShareResults"))
|
165
229
|
AddResourcePermissionsResponse.struct_class = Types::AddResourcePermissionsResponse
|
166
230
|
|
231
|
+
Comment.add_member(:comment_id, Shapes::ShapeRef.new(shape: CommentIdType, required: true, location_name: "CommentId"))
|
232
|
+
Comment.add_member(:parent_id, Shapes::ShapeRef.new(shape: CommentIdType, location_name: "ParentId"))
|
233
|
+
Comment.add_member(:thread_id, Shapes::ShapeRef.new(shape: CommentIdType, location_name: "ThreadId"))
|
234
|
+
Comment.add_member(:text, Shapes::ShapeRef.new(shape: CommentTextType, location_name: "Text"))
|
235
|
+
Comment.add_member(:contributor, Shapes::ShapeRef.new(shape: User, location_name: "Contributor"))
|
236
|
+
Comment.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: TimestampType, location_name: "CreatedTimestamp"))
|
237
|
+
Comment.add_member(:status, Shapes::ShapeRef.new(shape: CommentStatusType, location_name: "Status"))
|
238
|
+
Comment.add_member(:visibility, Shapes::ShapeRef.new(shape: CommentVisibilityType, location_name: "Visibility"))
|
239
|
+
Comment.add_member(:recipient_id, Shapes::ShapeRef.new(shape: IdType, location_name: "RecipientId"))
|
240
|
+
Comment.struct_class = Types::Comment
|
241
|
+
|
242
|
+
CommentList.member = Shapes::ShapeRef.new(shape: Comment)
|
243
|
+
|
244
|
+
CommentMetadata.add_member(:comment_id, Shapes::ShapeRef.new(shape: CommentIdType, location_name: "CommentId"))
|
245
|
+
CommentMetadata.add_member(:contributor, Shapes::ShapeRef.new(shape: User, location_name: "Contributor"))
|
246
|
+
CommentMetadata.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: TimestampType, location_name: "CreatedTimestamp"))
|
247
|
+
CommentMetadata.add_member(:comment_status, Shapes::ShapeRef.new(shape: CommentStatusType, location_name: "CommentStatus"))
|
248
|
+
CommentMetadata.add_member(:recipient_id, Shapes::ShapeRef.new(shape: IdType, location_name: "RecipientId"))
|
249
|
+
CommentMetadata.struct_class = Types::CommentMetadata
|
250
|
+
|
251
|
+
CreateCommentRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication"))
|
252
|
+
CreateCommentRequest.add_member(:document_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "DocumentId"))
|
253
|
+
CreateCommentRequest.add_member(:version_id, Shapes::ShapeRef.new(shape: DocumentVersionIdType, required: true, location: "uri", location_name: "VersionId"))
|
254
|
+
CreateCommentRequest.add_member(:parent_id, Shapes::ShapeRef.new(shape: CommentIdType, location_name: "ParentId"))
|
255
|
+
CreateCommentRequest.add_member(:thread_id, Shapes::ShapeRef.new(shape: CommentIdType, location_name: "ThreadId"))
|
256
|
+
CreateCommentRequest.add_member(:text, Shapes::ShapeRef.new(shape: CommentTextType, required: true, location_name: "Text"))
|
257
|
+
CreateCommentRequest.add_member(:visibility, Shapes::ShapeRef.new(shape: CommentVisibilityType, location_name: "Visibility"))
|
258
|
+
CreateCommentRequest.add_member(:notify_collaborators, Shapes::ShapeRef.new(shape: BooleanType, location_name: "NotifyCollaborators"))
|
259
|
+
CreateCommentRequest.struct_class = Types::CreateCommentRequest
|
260
|
+
|
261
|
+
CreateCommentResponse.add_member(:comment, Shapes::ShapeRef.new(shape: Comment, location_name: "Comment"))
|
262
|
+
CreateCommentResponse.struct_class = Types::CreateCommentResponse
|
263
|
+
|
264
|
+
CreateCustomMetadataRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication"))
|
265
|
+
CreateCustomMetadataRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "ResourceId"))
|
266
|
+
CreateCustomMetadataRequest.add_member(:version_id, Shapes::ShapeRef.new(shape: DocumentVersionIdType, location: "querystring", location_name: "versionid"))
|
267
|
+
CreateCustomMetadataRequest.add_member(:custom_metadata, Shapes::ShapeRef.new(shape: CustomMetadataMap, required: true, location_name: "CustomMetadata"))
|
268
|
+
CreateCustomMetadataRequest.struct_class = Types::CreateCustomMetadataRequest
|
269
|
+
|
270
|
+
CreateCustomMetadataResponse.struct_class = Types::CreateCustomMetadataResponse
|
271
|
+
|
272
|
+
CreateFolderRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication"))
|
167
273
|
CreateFolderRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceNameType, location_name: "Name"))
|
168
274
|
CreateFolderRequest.add_member(:parent_folder_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location_name: "ParentFolderId"))
|
169
275
|
CreateFolderRequest.struct_class = Types::CreateFolderRequest
|
@@ -171,6 +277,13 @@ module Aws::WorkDocs
|
|
171
277
|
CreateFolderResponse.add_member(:metadata, Shapes::ShapeRef.new(shape: FolderMetadata, location_name: "Metadata"))
|
172
278
|
CreateFolderResponse.struct_class = Types::CreateFolderResponse
|
173
279
|
|
280
|
+
CreateLabelsRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "ResourceId"))
|
281
|
+
CreateLabelsRequest.add_member(:labels, Shapes::ShapeRef.new(shape: Labels, required: true, location_name: "Labels"))
|
282
|
+
CreateLabelsRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication"))
|
283
|
+
CreateLabelsRequest.struct_class = Types::CreateLabelsRequest
|
284
|
+
|
285
|
+
CreateLabelsResponse.struct_class = Types::CreateLabelsResponse
|
286
|
+
|
174
287
|
CreateNotificationSubscriptionRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: IdType, required: true, location: "uri", location_name: "OrganizationId"))
|
175
288
|
CreateNotificationSubscriptionRequest.add_member(:endpoint, Shapes::ShapeRef.new(shape: SubscriptionEndPointType, required: true, location_name: "Endpoint"))
|
176
289
|
CreateNotificationSubscriptionRequest.add_member(:protocol, Shapes::ShapeRef.new(shape: SubscriptionProtocolType, required: true, location_name: "Protocol"))
|
@@ -182,35 +295,95 @@ module Aws::WorkDocs
|
|
182
295
|
|
183
296
|
CreateUserRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: IdType, location_name: "OrganizationId"))
|
184
297
|
CreateUserRequest.add_member(:username, Shapes::ShapeRef.new(shape: UsernameType, required: true, location_name: "Username"))
|
298
|
+
CreateUserRequest.add_member(:email_address, Shapes::ShapeRef.new(shape: EmailAddressType, location_name: "EmailAddress"))
|
185
299
|
CreateUserRequest.add_member(:given_name, Shapes::ShapeRef.new(shape: UserAttributeValueType, required: true, location_name: "GivenName"))
|
186
300
|
CreateUserRequest.add_member(:surname, Shapes::ShapeRef.new(shape: UserAttributeValueType, required: true, location_name: "Surname"))
|
187
301
|
CreateUserRequest.add_member(:password, Shapes::ShapeRef.new(shape: PasswordType, required: true, location_name: "Password"))
|
188
302
|
CreateUserRequest.add_member(:time_zone_id, Shapes::ShapeRef.new(shape: TimeZoneIdType, location_name: "TimeZoneId"))
|
189
303
|
CreateUserRequest.add_member(:storage_rule, Shapes::ShapeRef.new(shape: StorageRuleType, location_name: "StorageRule"))
|
304
|
+
CreateUserRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication"))
|
190
305
|
CreateUserRequest.struct_class = Types::CreateUserRequest
|
191
306
|
|
192
307
|
CreateUserResponse.add_member(:user, Shapes::ShapeRef.new(shape: User, location_name: "User"))
|
193
308
|
CreateUserResponse.struct_class = Types::CreateUserResponse
|
194
309
|
|
310
|
+
CustomMetadataKeyList.member = Shapes::ShapeRef.new(shape: CustomMetadataKeyType)
|
311
|
+
|
312
|
+
CustomMetadataMap.key = Shapes::ShapeRef.new(shape: CustomMetadataKeyType)
|
313
|
+
CustomMetadataMap.value = Shapes::ShapeRef.new(shape: CustomMetadataValueType)
|
314
|
+
|
195
315
|
DeactivateUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: IdType, required: true, location: "uri", location_name: "UserId"))
|
316
|
+
DeactivateUserRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication"))
|
196
317
|
DeactivateUserRequest.struct_class = Types::DeactivateUserRequest
|
197
318
|
|
319
|
+
DeleteCommentRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication"))
|
320
|
+
DeleteCommentRequest.add_member(:document_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "DocumentId"))
|
321
|
+
DeleteCommentRequest.add_member(:version_id, Shapes::ShapeRef.new(shape: DocumentVersionIdType, required: true, location: "uri", location_name: "VersionId"))
|
322
|
+
DeleteCommentRequest.add_member(:comment_id, Shapes::ShapeRef.new(shape: CommentIdType, required: true, location: "uri", location_name: "CommentId"))
|
323
|
+
DeleteCommentRequest.struct_class = Types::DeleteCommentRequest
|
324
|
+
|
325
|
+
DeleteCustomMetadataRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication"))
|
326
|
+
DeleteCustomMetadataRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "ResourceId"))
|
327
|
+
DeleteCustomMetadataRequest.add_member(:version_id, Shapes::ShapeRef.new(shape: DocumentVersionIdType, location: "querystring", location_name: "versionId"))
|
328
|
+
DeleteCustomMetadataRequest.add_member(:keys, Shapes::ShapeRef.new(shape: CustomMetadataKeyList, location: "querystring", location_name: "keys"))
|
329
|
+
DeleteCustomMetadataRequest.add_member(:delete_all, Shapes::ShapeRef.new(shape: BooleanType, location: "querystring", location_name: "deleteAll"))
|
330
|
+
DeleteCustomMetadataRequest.struct_class = Types::DeleteCustomMetadataRequest
|
331
|
+
|
332
|
+
DeleteCustomMetadataResponse.struct_class = Types::DeleteCustomMetadataResponse
|
333
|
+
|
334
|
+
DeleteDocumentRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication"))
|
198
335
|
DeleteDocumentRequest.add_member(:document_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "DocumentId"))
|
199
336
|
DeleteDocumentRequest.struct_class = Types::DeleteDocumentRequest
|
200
337
|
|
338
|
+
DeleteFolderContentsRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication"))
|
201
339
|
DeleteFolderContentsRequest.add_member(:folder_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "FolderId"))
|
202
340
|
DeleteFolderContentsRequest.struct_class = Types::DeleteFolderContentsRequest
|
203
341
|
|
342
|
+
DeleteFolderRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication"))
|
204
343
|
DeleteFolderRequest.add_member(:folder_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "FolderId"))
|
205
344
|
DeleteFolderRequest.struct_class = Types::DeleteFolderRequest
|
206
345
|
|
346
|
+
DeleteLabelsRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "ResourceId"))
|
347
|
+
DeleteLabelsRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication"))
|
348
|
+
DeleteLabelsRequest.add_member(:labels, Shapes::ShapeRef.new(shape: Labels, location: "querystring", location_name: "labels"))
|
349
|
+
DeleteLabelsRequest.add_member(:delete_all, Shapes::ShapeRef.new(shape: BooleanType, location: "querystring", location_name: "deleteAll"))
|
350
|
+
DeleteLabelsRequest.struct_class = Types::DeleteLabelsRequest
|
351
|
+
|
352
|
+
DeleteLabelsResponse.struct_class = Types::DeleteLabelsResponse
|
353
|
+
|
207
354
|
DeleteNotificationSubscriptionRequest.add_member(:subscription_id, Shapes::ShapeRef.new(shape: IdType, required: true, location: "uri", location_name: "SubscriptionId"))
|
208
355
|
DeleteNotificationSubscriptionRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: IdType, required: true, location: "uri", location_name: "OrganizationId"))
|
209
356
|
DeleteNotificationSubscriptionRequest.struct_class = Types::DeleteNotificationSubscriptionRequest
|
210
357
|
|
358
|
+
DeleteUserRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication"))
|
211
359
|
DeleteUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: IdType, required: true, location: "uri", location_name: "UserId"))
|
212
360
|
DeleteUserRequest.struct_class = Types::DeleteUserRequest
|
213
361
|
|
362
|
+
DescribeActivitiesRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication"))
|
363
|
+
DescribeActivitiesRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: TimestampType, location: "querystring", location_name: "startTime"))
|
364
|
+
DescribeActivitiesRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: TimestampType, location: "querystring", location_name: "endTime"))
|
365
|
+
DescribeActivitiesRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: IdType, location: "querystring", location_name: "organizationId"))
|
366
|
+
DescribeActivitiesRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: IdType, location: "querystring", location_name: "userId"))
|
367
|
+
DescribeActivitiesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitType, location: "querystring", location_name: "limit"))
|
368
|
+
DescribeActivitiesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: MarkerType, location: "querystring", location_name: "marker"))
|
369
|
+
DescribeActivitiesRequest.struct_class = Types::DescribeActivitiesRequest
|
370
|
+
|
371
|
+
DescribeActivitiesResponse.add_member(:user_activities, Shapes::ShapeRef.new(shape: UserActivities, location_name: "UserActivities"))
|
372
|
+
DescribeActivitiesResponse.add_member(:marker, Shapes::ShapeRef.new(shape: MarkerType, location_name: "Marker"))
|
373
|
+
DescribeActivitiesResponse.struct_class = Types::DescribeActivitiesResponse
|
374
|
+
|
375
|
+
DescribeCommentsRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication"))
|
376
|
+
DescribeCommentsRequest.add_member(:document_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "DocumentId"))
|
377
|
+
DescribeCommentsRequest.add_member(:version_id, Shapes::ShapeRef.new(shape: DocumentVersionIdType, required: true, location: "uri", location_name: "VersionId"))
|
378
|
+
DescribeCommentsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitType, location: "querystring", location_name: "limit"))
|
379
|
+
DescribeCommentsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: MarkerType, location: "querystring", location_name: "marker"))
|
380
|
+
DescribeCommentsRequest.struct_class = Types::DescribeCommentsRequest
|
381
|
+
|
382
|
+
DescribeCommentsResponse.add_member(:comments, Shapes::ShapeRef.new(shape: CommentList, location_name: "Comments"))
|
383
|
+
DescribeCommentsResponse.add_member(:marker, Shapes::ShapeRef.new(shape: MarkerType, location_name: "Marker"))
|
384
|
+
DescribeCommentsResponse.struct_class = Types::DescribeCommentsResponse
|
385
|
+
|
386
|
+
DescribeDocumentVersionsRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication"))
|
214
387
|
DescribeDocumentVersionsRequest.add_member(:document_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "DocumentId"))
|
215
388
|
DescribeDocumentVersionsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: PageMarkerType, location: "querystring", location_name: "marker"))
|
216
389
|
DescribeDocumentVersionsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitType, location: "querystring", location_name: "limit"))
|
@@ -222,6 +395,7 @@ module Aws::WorkDocs
|
|
222
395
|
DescribeDocumentVersionsResponse.add_member(:marker, Shapes::ShapeRef.new(shape: PageMarkerType, location_name: "Marker"))
|
223
396
|
DescribeDocumentVersionsResponse.struct_class = Types::DescribeDocumentVersionsResponse
|
224
397
|
|
398
|
+
DescribeFolderContentsRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication"))
|
225
399
|
DescribeFolderContentsRequest.add_member(:folder_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "FolderId"))
|
226
400
|
DescribeFolderContentsRequest.add_member(:sort, Shapes::ShapeRef.new(shape: ResourceSortType, location: "querystring", location_name: "sort"))
|
227
401
|
DescribeFolderContentsRequest.add_member(:order, Shapes::ShapeRef.new(shape: OrderType, location: "querystring", location_name: "order"))
|
@@ -245,6 +419,7 @@ module Aws::WorkDocs
|
|
245
419
|
DescribeNotificationSubscriptionsResponse.add_member(:marker, Shapes::ShapeRef.new(shape: PageMarkerType, location_name: "Marker"))
|
246
420
|
DescribeNotificationSubscriptionsResponse.struct_class = Types::DescribeNotificationSubscriptionsResponse
|
247
421
|
|
422
|
+
DescribeResourcePermissionsRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication"))
|
248
423
|
DescribeResourcePermissionsRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "ResourceId"))
|
249
424
|
DescribeResourcePermissionsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitType, location: "querystring", location_name: "limit"))
|
250
425
|
DescribeResourcePermissionsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: PageMarkerType, location: "querystring", location_name: "marker"))
|
@@ -254,6 +429,16 @@ module Aws::WorkDocs
|
|
254
429
|
DescribeResourcePermissionsResponse.add_member(:marker, Shapes::ShapeRef.new(shape: PageMarkerType, location_name: "Marker"))
|
255
430
|
DescribeResourcePermissionsResponse.struct_class = Types::DescribeResourcePermissionsResponse
|
256
431
|
|
432
|
+
DescribeRootFoldersRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, required: true, location: "header", location_name: "Authentication"))
|
433
|
+
DescribeRootFoldersRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitType, location: "querystring", location_name: "limit"))
|
434
|
+
DescribeRootFoldersRequest.add_member(:marker, Shapes::ShapeRef.new(shape: PageMarkerType, location: "querystring", location_name: "marker"))
|
435
|
+
DescribeRootFoldersRequest.struct_class = Types::DescribeRootFoldersRequest
|
436
|
+
|
437
|
+
DescribeRootFoldersResponse.add_member(:folders, Shapes::ShapeRef.new(shape: FolderMetadataList, location_name: "Folders"))
|
438
|
+
DescribeRootFoldersResponse.add_member(:marker, Shapes::ShapeRef.new(shape: PageMarkerType, location_name: "Marker"))
|
439
|
+
DescribeRootFoldersResponse.struct_class = Types::DescribeRootFoldersResponse
|
440
|
+
|
441
|
+
DescribeUsersRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication"))
|
257
442
|
DescribeUsersRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: IdType, location: "querystring", location_name: "organizationId"))
|
258
443
|
DescribeUsersRequest.add_member(:user_ids, Shapes::ShapeRef.new(shape: UserIdsType, location: "querystring", location_name: "userIds"))
|
259
444
|
DescribeUsersRequest.add_member(:query, Shapes::ShapeRef.new(shape: SearchQueryType, location: "querystring", location_name: "query"))
|
@@ -277,6 +462,7 @@ module Aws::WorkDocs
|
|
277
462
|
DocumentMetadata.add_member(:modified_timestamp, Shapes::ShapeRef.new(shape: TimestampType, location_name: "ModifiedTimestamp"))
|
278
463
|
DocumentMetadata.add_member(:latest_version_metadata, Shapes::ShapeRef.new(shape: DocumentVersionMetadata, location_name: "LatestVersionMetadata"))
|
279
464
|
DocumentMetadata.add_member(:resource_state, Shapes::ShapeRef.new(shape: ResourceStateType, location_name: "ResourceState"))
|
465
|
+
DocumentMetadata.add_member(:labels, Shapes::ShapeRef.new(shape: Labels, location_name: "Labels"))
|
280
466
|
DocumentMetadata.struct_class = Types::DocumentMetadata
|
281
467
|
|
282
468
|
DocumentMetadataList.member = Shapes::ShapeRef.new(shape: DocumentMetadata)
|
@@ -314,10 +500,20 @@ module Aws::WorkDocs
|
|
314
500
|
FolderMetadata.add_member(:modified_timestamp, Shapes::ShapeRef.new(shape: TimestampType, location_name: "ModifiedTimestamp"))
|
315
501
|
FolderMetadata.add_member(:resource_state, Shapes::ShapeRef.new(shape: ResourceStateType, location_name: "ResourceState"))
|
316
502
|
FolderMetadata.add_member(:signature, Shapes::ShapeRef.new(shape: HashType, location_name: "Signature"))
|
503
|
+
FolderMetadata.add_member(:labels, Shapes::ShapeRef.new(shape: Labels, location_name: "Labels"))
|
504
|
+
FolderMetadata.add_member(:size, Shapes::ShapeRef.new(shape: SizeType, location_name: "Size"))
|
505
|
+
FolderMetadata.add_member(:latest_version_size, Shapes::ShapeRef.new(shape: SizeType, location_name: "LatestVersionSize"))
|
317
506
|
FolderMetadata.struct_class = Types::FolderMetadata
|
318
507
|
|
319
508
|
FolderMetadataList.member = Shapes::ShapeRef.new(shape: FolderMetadata)
|
320
509
|
|
510
|
+
GetCurrentUserRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, required: true, location: "header", location_name: "Authentication"))
|
511
|
+
GetCurrentUserRequest.struct_class = Types::GetCurrentUserRequest
|
512
|
+
|
513
|
+
GetCurrentUserResponse.add_member(:user, Shapes::ShapeRef.new(shape: User, location_name: "User"))
|
514
|
+
GetCurrentUserResponse.struct_class = Types::GetCurrentUserResponse
|
515
|
+
|
516
|
+
GetDocumentPathRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication"))
|
321
517
|
GetDocumentPathRequest.add_member(:document_id, Shapes::ShapeRef.new(shape: IdType, required: true, location: "uri", location_name: "DocumentId"))
|
322
518
|
GetDocumentPathRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitType, location: "querystring", location_name: "limit"))
|
323
519
|
GetDocumentPathRequest.add_member(:fields, Shapes::ShapeRef.new(shape: FieldNamesType, location: "querystring", location_name: "fields"))
|
@@ -327,20 +523,27 @@ module Aws::WorkDocs
|
|
327
523
|
GetDocumentPathResponse.add_member(:path, Shapes::ShapeRef.new(shape: ResourcePath, location_name: "Path"))
|
328
524
|
GetDocumentPathResponse.struct_class = Types::GetDocumentPathResponse
|
329
525
|
|
526
|
+
GetDocumentRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication"))
|
330
527
|
GetDocumentRequest.add_member(:document_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "DocumentId"))
|
528
|
+
GetDocumentRequest.add_member(:include_custom_metadata, Shapes::ShapeRef.new(shape: BooleanType, location: "querystring", location_name: "includeCustomMetadata"))
|
331
529
|
GetDocumentRequest.struct_class = Types::GetDocumentRequest
|
332
530
|
|
333
531
|
GetDocumentResponse.add_member(:metadata, Shapes::ShapeRef.new(shape: DocumentMetadata, location_name: "Metadata"))
|
532
|
+
GetDocumentResponse.add_member(:custom_metadata, Shapes::ShapeRef.new(shape: CustomMetadataMap, location_name: "CustomMetadata"))
|
334
533
|
GetDocumentResponse.struct_class = Types::GetDocumentResponse
|
335
534
|
|
535
|
+
GetDocumentVersionRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication"))
|
336
536
|
GetDocumentVersionRequest.add_member(:document_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "DocumentId"))
|
337
537
|
GetDocumentVersionRequest.add_member(:version_id, Shapes::ShapeRef.new(shape: DocumentVersionIdType, required: true, location: "uri", location_name: "VersionId"))
|
338
538
|
GetDocumentVersionRequest.add_member(:fields, Shapes::ShapeRef.new(shape: FieldNamesType, location: "querystring", location_name: "fields"))
|
539
|
+
GetDocumentVersionRequest.add_member(:include_custom_metadata, Shapes::ShapeRef.new(shape: BooleanType, location: "querystring", location_name: "includeCustomMetadata"))
|
339
540
|
GetDocumentVersionRequest.struct_class = Types::GetDocumentVersionRequest
|
340
541
|
|
341
542
|
GetDocumentVersionResponse.add_member(:metadata, Shapes::ShapeRef.new(shape: DocumentVersionMetadata, location_name: "Metadata"))
|
543
|
+
GetDocumentVersionResponse.add_member(:custom_metadata, Shapes::ShapeRef.new(shape: CustomMetadataMap, location_name: "CustomMetadata"))
|
342
544
|
GetDocumentVersionResponse.struct_class = Types::GetDocumentVersionResponse
|
343
545
|
|
546
|
+
GetFolderPathRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication"))
|
344
547
|
GetFolderPathRequest.add_member(:folder_id, Shapes::ShapeRef.new(shape: IdType, required: true, location: "uri", location_name: "FolderId"))
|
345
548
|
GetFolderPathRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitType, location: "querystring", location_name: "limit"))
|
346
549
|
GetFolderPathRequest.add_member(:fields, Shapes::ShapeRef.new(shape: FieldNamesType, location: "querystring", location_name: "fields"))
|
@@ -350,12 +553,22 @@ module Aws::WorkDocs
|
|
350
553
|
GetFolderPathResponse.add_member(:path, Shapes::ShapeRef.new(shape: ResourcePath, location_name: "Path"))
|
351
554
|
GetFolderPathResponse.struct_class = Types::GetFolderPathResponse
|
352
555
|
|
556
|
+
GetFolderRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication"))
|
353
557
|
GetFolderRequest.add_member(:folder_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "FolderId"))
|
558
|
+
GetFolderRequest.add_member(:include_custom_metadata, Shapes::ShapeRef.new(shape: BooleanType, location: "querystring", location_name: "includeCustomMetadata"))
|
354
559
|
GetFolderRequest.struct_class = Types::GetFolderRequest
|
355
560
|
|
356
561
|
GetFolderResponse.add_member(:metadata, Shapes::ShapeRef.new(shape: FolderMetadata, location_name: "Metadata"))
|
562
|
+
GetFolderResponse.add_member(:custom_metadata, Shapes::ShapeRef.new(shape: CustomMetadataMap, location_name: "CustomMetadata"))
|
357
563
|
GetFolderResponse.struct_class = Types::GetFolderResponse
|
358
564
|
|
565
|
+
GroupMetadata.add_member(:id, Shapes::ShapeRef.new(shape: IdType, location_name: "Id"))
|
566
|
+
GroupMetadata.add_member(:name, Shapes::ShapeRef.new(shape: GroupNameType, location_name: "Name"))
|
567
|
+
GroupMetadata.struct_class = Types::GroupMetadata
|
568
|
+
|
569
|
+
GroupMetadataList.member = Shapes::ShapeRef.new(shape: GroupMetadata)
|
570
|
+
|
571
|
+
InitiateDocumentVersionUploadRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication"))
|
359
572
|
InitiateDocumentVersionUploadRequest.add_member(:id, Shapes::ShapeRef.new(shape: ResourceIdType, location_name: "Id"))
|
360
573
|
InitiateDocumentVersionUploadRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceNameType, location_name: "Name"))
|
361
574
|
InitiateDocumentVersionUploadRequest.add_member(:content_created_timestamp, Shapes::ShapeRef.new(shape: TimestampType, location_name: "ContentCreatedTimestamp"))
|
@@ -369,8 +582,14 @@ module Aws::WorkDocs
|
|
369
582
|
InitiateDocumentVersionUploadResponse.add_member(:upload_metadata, Shapes::ShapeRef.new(shape: UploadMetadata, location_name: "UploadMetadata"))
|
370
583
|
InitiateDocumentVersionUploadResponse.struct_class = Types::InitiateDocumentVersionUploadResponse
|
371
584
|
|
585
|
+
Labels.member = Shapes::ShapeRef.new(shape: Label)
|
586
|
+
|
372
587
|
OrganizationUserList.member = Shapes::ShapeRef.new(shape: User)
|
373
588
|
|
589
|
+
Participants.add_member(:users, Shapes::ShapeRef.new(shape: UserMetadataList, location_name: "Users"))
|
590
|
+
Participants.add_member(:groups, Shapes::ShapeRef.new(shape: GroupMetadataList, location_name: "Groups"))
|
591
|
+
Participants.struct_class = Types::Participants
|
592
|
+
|
374
593
|
PermissionInfo.add_member(:role, Shapes::ShapeRef.new(shape: RoleType, location_name: "Role"))
|
375
594
|
PermissionInfo.add_member(:type, Shapes::ShapeRef.new(shape: RolePermissionType, location_name: "Type"))
|
376
595
|
PermissionInfo.struct_class = Types::PermissionInfo
|
@@ -384,14 +603,25 @@ module Aws::WorkDocs
|
|
384
603
|
|
385
604
|
PrincipalList.member = Shapes::ShapeRef.new(shape: Principal)
|
386
605
|
|
606
|
+
RemoveAllResourcePermissionsRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication"))
|
387
607
|
RemoveAllResourcePermissionsRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "ResourceId"))
|
388
608
|
RemoveAllResourcePermissionsRequest.struct_class = Types::RemoveAllResourcePermissionsRequest
|
389
609
|
|
610
|
+
RemoveResourcePermissionRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication"))
|
390
611
|
RemoveResourcePermissionRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "ResourceId"))
|
391
612
|
RemoveResourcePermissionRequest.add_member(:principal_id, Shapes::ShapeRef.new(shape: IdType, required: true, location: "uri", location_name: "PrincipalId"))
|
392
613
|
RemoveResourcePermissionRequest.add_member(:principal_type, Shapes::ShapeRef.new(shape: PrincipalType, location: "querystring", location_name: "type"))
|
393
614
|
RemoveResourcePermissionRequest.struct_class = Types::RemoveResourcePermissionRequest
|
394
615
|
|
616
|
+
ResourceMetadata.add_member(:type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "Type"))
|
617
|
+
ResourceMetadata.add_member(:name, Shapes::ShapeRef.new(shape: ResourceNameType, location_name: "Name"))
|
618
|
+
ResourceMetadata.add_member(:original_name, Shapes::ShapeRef.new(shape: ResourceNameType, location_name: "OriginalName"))
|
619
|
+
ResourceMetadata.add_member(:id, Shapes::ShapeRef.new(shape: ResourceIdType, location_name: "Id"))
|
620
|
+
ResourceMetadata.add_member(:version_id, Shapes::ShapeRef.new(shape: DocumentVersionIdType, location_name: "VersionId"))
|
621
|
+
ResourceMetadata.add_member(:owner, Shapes::ShapeRef.new(shape: UserMetadata, location_name: "Owner"))
|
622
|
+
ResourceMetadata.add_member(:parent_id, Shapes::ShapeRef.new(shape: ResourceIdType, location_name: "ParentId"))
|
623
|
+
ResourceMetadata.struct_class = Types::ResourceMetadata
|
624
|
+
|
395
625
|
ResourcePath.add_member(:components, Shapes::ShapeRef.new(shape: ResourcePathComponentList, location_name: "Components"))
|
396
626
|
ResourcePath.struct_class = Types::ResourcePath
|
397
627
|
|
@@ -431,23 +661,27 @@ module Aws::WorkDocs
|
|
431
661
|
|
432
662
|
SubscriptionList.member = Shapes::ShapeRef.new(shape: Subscription)
|
433
663
|
|
664
|
+
UpdateDocumentRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication"))
|
434
665
|
UpdateDocumentRequest.add_member(:document_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "DocumentId"))
|
435
666
|
UpdateDocumentRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceNameType, location_name: "Name"))
|
436
667
|
UpdateDocumentRequest.add_member(:parent_folder_id, Shapes::ShapeRef.new(shape: ResourceIdType, location_name: "ParentFolderId"))
|
437
668
|
UpdateDocumentRequest.add_member(:resource_state, Shapes::ShapeRef.new(shape: ResourceStateType, location_name: "ResourceState"))
|
438
669
|
UpdateDocumentRequest.struct_class = Types::UpdateDocumentRequest
|
439
670
|
|
671
|
+
UpdateDocumentVersionRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication"))
|
440
672
|
UpdateDocumentVersionRequest.add_member(:document_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "DocumentId"))
|
441
673
|
UpdateDocumentVersionRequest.add_member(:version_id, Shapes::ShapeRef.new(shape: DocumentVersionIdType, required: true, location: "uri", location_name: "VersionId"))
|
442
674
|
UpdateDocumentVersionRequest.add_member(:version_status, Shapes::ShapeRef.new(shape: DocumentVersionStatus, location_name: "VersionStatus"))
|
443
675
|
UpdateDocumentVersionRequest.struct_class = Types::UpdateDocumentVersionRequest
|
444
676
|
|
677
|
+
UpdateFolderRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication"))
|
445
678
|
UpdateFolderRequest.add_member(:folder_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "FolderId"))
|
446
679
|
UpdateFolderRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceNameType, location_name: "Name"))
|
447
680
|
UpdateFolderRequest.add_member(:parent_folder_id, Shapes::ShapeRef.new(shape: ResourceIdType, location_name: "ParentFolderId"))
|
448
681
|
UpdateFolderRequest.add_member(:resource_state, Shapes::ShapeRef.new(shape: ResourceStateType, location_name: "ResourceState"))
|
449
682
|
UpdateFolderRequest.struct_class = Types::UpdateFolderRequest
|
450
683
|
|
684
|
+
UpdateUserRequest.add_member(:authentication_token, Shapes::ShapeRef.new(shape: AuthenticationHeaderType, location: "header", location_name: "Authentication"))
|
451
685
|
UpdateUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: IdType, required: true, location: "uri", location_name: "UserId"))
|
452
686
|
UpdateUserRequest.add_member(:given_name, Shapes::ShapeRef.new(shape: UserAttributeValueType, location_name: "GivenName"))
|
453
687
|
UpdateUserRequest.add_member(:surname, Shapes::ShapeRef.new(shape: UserAttributeValueType, location_name: "Surname"))
|
@@ -481,6 +715,17 @@ module Aws::WorkDocs
|
|
481
715
|
User.add_member(:storage, Shapes::ShapeRef.new(shape: UserStorageMetadata, location_name: "Storage"))
|
482
716
|
User.struct_class = Types::User
|
483
717
|
|
718
|
+
UserActivities.member = Shapes::ShapeRef.new(shape: Activity)
|
719
|
+
|
720
|
+
UserMetadata.add_member(:id, Shapes::ShapeRef.new(shape: IdType, location_name: "Id"))
|
721
|
+
UserMetadata.add_member(:username, Shapes::ShapeRef.new(shape: UsernameType, location_name: "Username"))
|
722
|
+
UserMetadata.add_member(:given_name, Shapes::ShapeRef.new(shape: UserAttributeValueType, location_name: "GivenName"))
|
723
|
+
UserMetadata.add_member(:surname, Shapes::ShapeRef.new(shape: UserAttributeValueType, location_name: "Surname"))
|
724
|
+
UserMetadata.add_member(:email_address, Shapes::ShapeRef.new(shape: EmailAddressType, location_name: "EmailAddress"))
|
725
|
+
UserMetadata.struct_class = Types::UserMetadata
|
726
|
+
|
727
|
+
UserMetadataList.member = Shapes::ShapeRef.new(shape: UserMetadata)
|
728
|
+
|
484
729
|
UserStorageMetadata.add_member(:storage_utilized_in_bytes, Shapes::ShapeRef.new(shape: SizeType, location_name: "StorageUtilizedInBytes"))
|
485
730
|
UserStorageMetadata.add_member(:storage_rule, Shapes::ShapeRef.new(shape: StorageRuleType, location_name: "StorageRule"))
|
486
731
|
UserStorageMetadata.struct_class = Types::UserStorageMetadata
|
@@ -538,6 +783,36 @@ module Aws::WorkDocs
|
|
538
783
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
539
784
|
end)
|
540
785
|
|
786
|
+
api.add_operation(:create_comment, Seahorse::Model::Operation.new.tap do |o|
|
787
|
+
o.name = "CreateComment"
|
788
|
+
o.http_method = "POST"
|
789
|
+
o.http_request_uri = "/api/v1/documents/{DocumentId}/versions/{VersionId}/comment"
|
790
|
+
o.input = Shapes::ShapeRef.new(shape: CreateCommentRequest)
|
791
|
+
o.output = Shapes::ShapeRef.new(shape: CreateCommentResponse)
|
792
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException)
|
793
|
+
o.errors << Shapes::ShapeRef.new(shape: ProhibitedStateException)
|
794
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
795
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException)
|
796
|
+
o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException)
|
797
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
798
|
+
o.errors << Shapes::ShapeRef.new(shape: DocumentLockedForCommentsException)
|
799
|
+
end)
|
800
|
+
|
801
|
+
api.add_operation(:create_custom_metadata, Seahorse::Model::Operation.new.tap do |o|
|
802
|
+
o.name = "CreateCustomMetadata"
|
803
|
+
o.http_method = "PUT"
|
804
|
+
o.http_request_uri = "/api/v1/resources/{ResourceId}/customMetadata"
|
805
|
+
o.input = Shapes::ShapeRef.new(shape: CreateCustomMetadataRequest)
|
806
|
+
o.output = Shapes::ShapeRef.new(shape: CreateCustomMetadataResponse)
|
807
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException)
|
808
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
809
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException)
|
810
|
+
o.errors << Shapes::ShapeRef.new(shape: ProhibitedStateException)
|
811
|
+
o.errors << Shapes::ShapeRef.new(shape: CustomMetadataLimitExceededException)
|
812
|
+
o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException)
|
813
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
814
|
+
end)
|
815
|
+
|
541
816
|
api.add_operation(:create_folder, Seahorse::Model::Operation.new.tap do |o|
|
542
817
|
o.name = "CreateFolder"
|
543
818
|
o.http_method = "POST"
|
@@ -554,6 +829,20 @@ module Aws::WorkDocs
|
|
554
829
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
555
830
|
end)
|
556
831
|
|
832
|
+
api.add_operation(:create_labels, Seahorse::Model::Operation.new.tap do |o|
|
833
|
+
o.name = "CreateLabels"
|
834
|
+
o.http_method = "PUT"
|
835
|
+
o.http_request_uri = "/api/v1/resources/{ResourceId}/labels"
|
836
|
+
o.input = Shapes::ShapeRef.new(shape: CreateLabelsRequest)
|
837
|
+
o.output = Shapes::ShapeRef.new(shape: CreateLabelsResponse)
|
838
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException)
|
839
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
840
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException)
|
841
|
+
o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException)
|
842
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
843
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyLabelsException)
|
844
|
+
end)
|
845
|
+
|
557
846
|
api.add_operation(:create_notification_subscription, Seahorse::Model::Operation.new.tap do |o|
|
558
847
|
o.name = "CreateNotificationSubscription"
|
559
848
|
o.http_method = "POST"
|
@@ -591,6 +880,35 @@ module Aws::WorkDocs
|
|
591
880
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
592
881
|
end)
|
593
882
|
|
883
|
+
api.add_operation(:delete_comment, Seahorse::Model::Operation.new.tap do |o|
|
884
|
+
o.name = "DeleteComment"
|
885
|
+
o.http_method = "DELETE"
|
886
|
+
o.http_request_uri = "/api/v1/documents/{DocumentId}/versions/{VersionId}/comment/{CommentId}"
|
887
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteCommentRequest)
|
888
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
889
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException)
|
890
|
+
o.errors << Shapes::ShapeRef.new(shape: ProhibitedStateException)
|
891
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
892
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException)
|
893
|
+
o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException)
|
894
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
895
|
+
o.errors << Shapes::ShapeRef.new(shape: DocumentLockedForCommentsException)
|
896
|
+
end)
|
897
|
+
|
898
|
+
api.add_operation(:delete_custom_metadata, Seahorse::Model::Operation.new.tap do |o|
|
899
|
+
o.name = "DeleteCustomMetadata"
|
900
|
+
o.http_method = "DELETE"
|
901
|
+
o.http_request_uri = "/api/v1/resources/{ResourceId}/customMetadata"
|
902
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteCustomMetadataRequest)
|
903
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteCustomMetadataResponse)
|
904
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException)
|
905
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
906
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException)
|
907
|
+
o.errors << Shapes::ShapeRef.new(shape: ProhibitedStateException)
|
908
|
+
o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException)
|
909
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
910
|
+
end)
|
911
|
+
|
594
912
|
api.add_operation(:delete_document, Seahorse::Model::Operation.new.tap do |o|
|
595
913
|
o.name = "DeleteDocument"
|
596
914
|
o.http_method = "DELETE"
|
@@ -634,6 +952,19 @@ module Aws::WorkDocs
|
|
634
952
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
635
953
|
end)
|
636
954
|
|
955
|
+
api.add_operation(:delete_labels, Seahorse::Model::Operation.new.tap do |o|
|
956
|
+
o.name = "DeleteLabels"
|
957
|
+
o.http_method = "DELETE"
|
958
|
+
o.http_request_uri = "/api/v1/resources/{ResourceId}/labels"
|
959
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteLabelsRequest)
|
960
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteLabelsResponse)
|
961
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException)
|
962
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
963
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException)
|
964
|
+
o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException)
|
965
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
966
|
+
end)
|
967
|
+
|
637
968
|
api.add_operation(:delete_notification_subscription, Seahorse::Model::Operation.new.tap do |o|
|
638
969
|
o.name = "DeleteNotificationSubscription"
|
639
970
|
o.http_method = "DELETE"
|
@@ -659,6 +990,33 @@ module Aws::WorkDocs
|
|
659
990
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
660
991
|
end)
|
661
992
|
|
993
|
+
api.add_operation(:describe_activities, Seahorse::Model::Operation.new.tap do |o|
|
994
|
+
o.name = "DescribeActivities"
|
995
|
+
o.http_method = "GET"
|
996
|
+
o.http_request_uri = "/api/v1/activities"
|
997
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeActivitiesRequest)
|
998
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeActivitiesResponse)
|
999
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
1000
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException)
|
1001
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
1002
|
+
o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException)
|
1003
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1004
|
+
end)
|
1005
|
+
|
1006
|
+
api.add_operation(:describe_comments, Seahorse::Model::Operation.new.tap do |o|
|
1007
|
+
o.name = "DescribeComments"
|
1008
|
+
o.http_method = "GET"
|
1009
|
+
o.http_request_uri = "/api/v1/documents/{DocumentId}/versions/{VersionId}/comments"
|
1010
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeCommentsRequest)
|
1011
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeCommentsResponse)
|
1012
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException)
|
1013
|
+
o.errors << Shapes::ShapeRef.new(shape: ProhibitedStateException)
|
1014
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
1015
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException)
|
1016
|
+
o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException)
|
1017
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1018
|
+
end)
|
1019
|
+
|
662
1020
|
api.add_operation(:describe_document_versions, Seahorse::Model::Operation.new.tap do |o|
|
663
1021
|
o.name = "DescribeDocumentVersions"
|
664
1022
|
o.http_method = "GET"
|
@@ -723,6 +1081,19 @@ module Aws::WorkDocs
|
|
723
1081
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
724
1082
|
end)
|
725
1083
|
|
1084
|
+
api.add_operation(:describe_root_folders, Seahorse::Model::Operation.new.tap do |o|
|
1085
|
+
o.name = "DescribeRootFolders"
|
1086
|
+
o.http_method = "GET"
|
1087
|
+
o.http_request_uri = "/api/v1/me/root"
|
1088
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeRootFoldersRequest)
|
1089
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeRootFoldersResponse)
|
1090
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
1091
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException)
|
1092
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
1093
|
+
o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException)
|
1094
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1095
|
+
end)
|
1096
|
+
|
726
1097
|
api.add_operation(:describe_users, Seahorse::Model::Operation.new.tap do |o|
|
727
1098
|
o.name = "DescribeUsers"
|
728
1099
|
o.http_method = "GET"
|
@@ -742,6 +1113,19 @@ module Aws::WorkDocs
|
|
742
1113
|
)
|
743
1114
|
end)
|
744
1115
|
|
1116
|
+
api.add_operation(:get_current_user, Seahorse::Model::Operation.new.tap do |o|
|
1117
|
+
o.name = "GetCurrentUser"
|
1118
|
+
o.http_method = "GET"
|
1119
|
+
o.http_request_uri = "/api/v1/me"
|
1120
|
+
o.input = Shapes::ShapeRef.new(shape: GetCurrentUserRequest)
|
1121
|
+
o.output = Shapes::ShapeRef.new(shape: GetCurrentUserResponse)
|
1122
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException)
|
1123
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
1124
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException)
|
1125
|
+
o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException)
|
1126
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1127
|
+
end)
|
1128
|
+
|
745
1129
|
api.add_operation(:get_document, Seahorse::Model::Operation.new.tap do |o|
|
746
1130
|
o.name = "GetDocument"
|
747
1131
|
o.http_method = "GET"
|
@@ -826,6 +1210,8 @@ module Aws::WorkDocs
|
|
826
1210
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException)
|
827
1211
|
o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException)
|
828
1212
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1213
|
+
o.errors << Shapes::ShapeRef.new(shape: DraftUploadOutOfSyncException)
|
1214
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyCheckedOutException)
|
829
1215
|
end)
|
830
1216
|
|
831
1217
|
api.add_operation(:remove_all_resource_permissions, Seahorse::Model::Operation.new.tap do |o|
|