aws-sdk-workdocs 1.0.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/aws-sdk-workdocs.rb +47 -0
- data/lib/aws-sdk-workdocs/client.rb +1486 -0
- data/lib/aws-sdk-workdocs/client_api.rb +922 -0
- data/lib/aws-sdk-workdocs/customizations.rb +0 -0
- data/lib/aws-sdk-workdocs/errors.rb +14 -0
- data/lib/aws-sdk-workdocs/resource.rb +23 -0
- data/lib/aws-sdk-workdocs/types.rb +1656 -0
- metadata +80 -0
@@ -0,0 +1,922 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::WorkDocs
|
9
|
+
# @api private
|
10
|
+
module ClientApi
|
11
|
+
|
12
|
+
include Seahorse::Model
|
13
|
+
|
14
|
+
AbortDocumentVersionUploadRequest = Shapes::StructureShape.new(name: 'AbortDocumentVersionUploadRequest')
|
15
|
+
ActivateUserRequest = Shapes::StructureShape.new(name: 'ActivateUserRequest')
|
16
|
+
ActivateUserResponse = Shapes::StructureShape.new(name: 'ActivateUserResponse')
|
17
|
+
AddResourcePermissionsRequest = Shapes::StructureShape.new(name: 'AddResourcePermissionsRequest')
|
18
|
+
AddResourcePermissionsResponse = Shapes::StructureShape.new(name: 'AddResourcePermissionsResponse')
|
19
|
+
ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException')
|
20
|
+
CreateFolderRequest = Shapes::StructureShape.new(name: 'CreateFolderRequest')
|
21
|
+
CreateFolderResponse = Shapes::StructureShape.new(name: 'CreateFolderResponse')
|
22
|
+
CreateNotificationSubscriptionRequest = Shapes::StructureShape.new(name: 'CreateNotificationSubscriptionRequest')
|
23
|
+
CreateNotificationSubscriptionResponse = Shapes::StructureShape.new(name: 'CreateNotificationSubscriptionResponse')
|
24
|
+
CreateUserRequest = Shapes::StructureShape.new(name: 'CreateUserRequest')
|
25
|
+
CreateUserResponse = Shapes::StructureShape.new(name: 'CreateUserResponse')
|
26
|
+
DeactivateUserRequest = Shapes::StructureShape.new(name: 'DeactivateUserRequest')
|
27
|
+
DeactivatingLastSystemUserException = Shapes::StructureShape.new(name: 'DeactivatingLastSystemUserException')
|
28
|
+
DeleteDocumentRequest = Shapes::StructureShape.new(name: 'DeleteDocumentRequest')
|
29
|
+
DeleteFolderContentsRequest = Shapes::StructureShape.new(name: 'DeleteFolderContentsRequest')
|
30
|
+
DeleteFolderRequest = Shapes::StructureShape.new(name: 'DeleteFolderRequest')
|
31
|
+
DeleteNotificationSubscriptionRequest = Shapes::StructureShape.new(name: 'DeleteNotificationSubscriptionRequest')
|
32
|
+
DeleteUserRequest = Shapes::StructureShape.new(name: 'DeleteUserRequest')
|
33
|
+
DescribeDocumentVersionsRequest = Shapes::StructureShape.new(name: 'DescribeDocumentVersionsRequest')
|
34
|
+
DescribeDocumentVersionsResponse = Shapes::StructureShape.new(name: 'DescribeDocumentVersionsResponse')
|
35
|
+
DescribeFolderContentsRequest = Shapes::StructureShape.new(name: 'DescribeFolderContentsRequest')
|
36
|
+
DescribeFolderContentsResponse = Shapes::StructureShape.new(name: 'DescribeFolderContentsResponse')
|
37
|
+
DescribeNotificationSubscriptionsRequest = Shapes::StructureShape.new(name: 'DescribeNotificationSubscriptionsRequest')
|
38
|
+
DescribeNotificationSubscriptionsResponse = Shapes::StructureShape.new(name: 'DescribeNotificationSubscriptionsResponse')
|
39
|
+
DescribeResourcePermissionsRequest = Shapes::StructureShape.new(name: 'DescribeResourcePermissionsRequest')
|
40
|
+
DescribeResourcePermissionsResponse = Shapes::StructureShape.new(name: 'DescribeResourcePermissionsResponse')
|
41
|
+
DescribeUsersRequest = Shapes::StructureShape.new(name: 'DescribeUsersRequest')
|
42
|
+
DescribeUsersResponse = Shapes::StructureShape.new(name: 'DescribeUsersResponse')
|
43
|
+
DocumentContentType = Shapes::StringShape.new(name: 'DocumentContentType')
|
44
|
+
DocumentMetadata = Shapes::StructureShape.new(name: 'DocumentMetadata')
|
45
|
+
DocumentMetadataList = Shapes::ListShape.new(name: 'DocumentMetadataList')
|
46
|
+
DocumentSourceType = Shapes::StringShape.new(name: 'DocumentSourceType')
|
47
|
+
DocumentSourceUrlMap = Shapes::MapShape.new(name: 'DocumentSourceUrlMap')
|
48
|
+
DocumentStatusType = Shapes::StringShape.new(name: 'DocumentStatusType')
|
49
|
+
DocumentThumbnailType = Shapes::StringShape.new(name: 'DocumentThumbnailType')
|
50
|
+
DocumentThumbnailUrlMap = Shapes::MapShape.new(name: 'DocumentThumbnailUrlMap')
|
51
|
+
DocumentVersionIdType = Shapes::StringShape.new(name: 'DocumentVersionIdType')
|
52
|
+
DocumentVersionMetadata = Shapes::StructureShape.new(name: 'DocumentVersionMetadata')
|
53
|
+
DocumentVersionMetadataList = Shapes::ListShape.new(name: 'DocumentVersionMetadataList')
|
54
|
+
DocumentVersionStatus = Shapes::StringShape.new(name: 'DocumentVersionStatus')
|
55
|
+
EmailAddressType = Shapes::StringShape.new(name: 'EmailAddressType')
|
56
|
+
EntityAlreadyExistsException = Shapes::StructureShape.new(name: 'EntityAlreadyExistsException')
|
57
|
+
EntityIdList = Shapes::ListShape.new(name: 'EntityIdList')
|
58
|
+
EntityNotExistsException = Shapes::StructureShape.new(name: 'EntityNotExistsException')
|
59
|
+
ErrorMessageType = Shapes::StringShape.new(name: 'ErrorMessageType')
|
60
|
+
FailedDependencyException = Shapes::StructureShape.new(name: 'FailedDependencyException')
|
61
|
+
FieldNamesType = Shapes::StringShape.new(name: 'FieldNamesType')
|
62
|
+
FolderContentType = Shapes::StringShape.new(name: 'FolderContentType')
|
63
|
+
FolderMetadata = Shapes::StructureShape.new(name: 'FolderMetadata')
|
64
|
+
FolderMetadataList = Shapes::ListShape.new(name: 'FolderMetadataList')
|
65
|
+
GetDocumentPathRequest = Shapes::StructureShape.new(name: 'GetDocumentPathRequest')
|
66
|
+
GetDocumentPathResponse = Shapes::StructureShape.new(name: 'GetDocumentPathResponse')
|
67
|
+
GetDocumentRequest = Shapes::StructureShape.new(name: 'GetDocumentRequest')
|
68
|
+
GetDocumentResponse = Shapes::StructureShape.new(name: 'GetDocumentResponse')
|
69
|
+
GetDocumentVersionRequest = Shapes::StructureShape.new(name: 'GetDocumentVersionRequest')
|
70
|
+
GetDocumentVersionResponse = Shapes::StructureShape.new(name: 'GetDocumentVersionResponse')
|
71
|
+
GetFolderPathRequest = Shapes::StructureShape.new(name: 'GetFolderPathRequest')
|
72
|
+
GetFolderPathResponse = Shapes::StructureShape.new(name: 'GetFolderPathResponse')
|
73
|
+
GetFolderRequest = Shapes::StructureShape.new(name: 'GetFolderRequest')
|
74
|
+
GetFolderResponse = Shapes::StructureShape.new(name: 'GetFolderResponse')
|
75
|
+
HashType = Shapes::StringShape.new(name: 'HashType')
|
76
|
+
HeaderNameType = Shapes::StringShape.new(name: 'HeaderNameType')
|
77
|
+
HeaderValueType = Shapes::StringShape.new(name: 'HeaderValueType')
|
78
|
+
IdType = Shapes::StringShape.new(name: 'IdType')
|
79
|
+
IllegalUserStateException = Shapes::StructureShape.new(name: 'IllegalUserStateException')
|
80
|
+
InitiateDocumentVersionUploadRequest = Shapes::StructureShape.new(name: 'InitiateDocumentVersionUploadRequest')
|
81
|
+
InitiateDocumentVersionUploadResponse = Shapes::StructureShape.new(name: 'InitiateDocumentVersionUploadResponse')
|
82
|
+
InvalidArgumentException = Shapes::StructureShape.new(name: 'InvalidArgumentException')
|
83
|
+
InvalidOperationException = Shapes::StructureShape.new(name: 'InvalidOperationException')
|
84
|
+
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
85
|
+
LimitType = Shapes::IntegerShape.new(name: 'LimitType')
|
86
|
+
LocaleType = Shapes::StringShape.new(name: 'LocaleType')
|
87
|
+
MessageType = Shapes::StringShape.new(name: 'MessageType')
|
88
|
+
OrderType = Shapes::StringShape.new(name: 'OrderType')
|
89
|
+
OrganizationUserList = Shapes::ListShape.new(name: 'OrganizationUserList')
|
90
|
+
PageMarkerType = Shapes::StringShape.new(name: 'PageMarkerType')
|
91
|
+
PasswordType = Shapes::StringShape.new(name: 'PasswordType')
|
92
|
+
PermissionInfo = Shapes::StructureShape.new(name: 'PermissionInfo')
|
93
|
+
PermissionInfoList = Shapes::ListShape.new(name: 'PermissionInfoList')
|
94
|
+
PositiveSizeType = Shapes::IntegerShape.new(name: 'PositiveSizeType')
|
95
|
+
Principal = Shapes::StructureShape.new(name: 'Principal')
|
96
|
+
PrincipalList = Shapes::ListShape.new(name: 'PrincipalList')
|
97
|
+
PrincipalType = Shapes::StringShape.new(name: 'PrincipalType')
|
98
|
+
ProhibitedStateException = Shapes::StructureShape.new(name: 'ProhibitedStateException')
|
99
|
+
RemoveAllResourcePermissionsRequest = Shapes::StructureShape.new(name: 'RemoveAllResourcePermissionsRequest')
|
100
|
+
RemoveResourcePermissionRequest = Shapes::StructureShape.new(name: 'RemoveResourcePermissionRequest')
|
101
|
+
ResourceIdType = Shapes::StringShape.new(name: 'ResourceIdType')
|
102
|
+
ResourceNameType = Shapes::StringShape.new(name: 'ResourceNameType')
|
103
|
+
ResourcePath = Shapes::StructureShape.new(name: 'ResourcePath')
|
104
|
+
ResourcePathComponent = Shapes::StructureShape.new(name: 'ResourcePathComponent')
|
105
|
+
ResourcePathComponentList = Shapes::ListShape.new(name: 'ResourcePathComponentList')
|
106
|
+
ResourceSortType = Shapes::StringShape.new(name: 'ResourceSortType')
|
107
|
+
ResourceStateType = Shapes::StringShape.new(name: 'ResourceStateType')
|
108
|
+
RolePermissionType = Shapes::StringShape.new(name: 'RolePermissionType')
|
109
|
+
RoleType = Shapes::StringShape.new(name: 'RoleType')
|
110
|
+
SearchQueryType = Shapes::StringShape.new(name: 'SearchQueryType')
|
111
|
+
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
112
|
+
SharePrincipal = Shapes::StructureShape.new(name: 'SharePrincipal')
|
113
|
+
SharePrincipalList = Shapes::ListShape.new(name: 'SharePrincipalList')
|
114
|
+
ShareResult = Shapes::StructureShape.new(name: 'ShareResult')
|
115
|
+
ShareResultsList = Shapes::ListShape.new(name: 'ShareResultsList')
|
116
|
+
ShareStatusType = Shapes::StringShape.new(name: 'ShareStatusType')
|
117
|
+
SignedHeaderMap = Shapes::MapShape.new(name: 'SignedHeaderMap')
|
118
|
+
SizeType = Shapes::IntegerShape.new(name: 'SizeType')
|
119
|
+
StorageLimitExceededException = Shapes::StructureShape.new(name: 'StorageLimitExceededException')
|
120
|
+
StorageLimitWillExceedException = Shapes::StructureShape.new(name: 'StorageLimitWillExceedException')
|
121
|
+
StorageRuleType = Shapes::StructureShape.new(name: 'StorageRuleType')
|
122
|
+
StorageType = Shapes::StringShape.new(name: 'StorageType')
|
123
|
+
Subscription = Shapes::StructureShape.new(name: 'Subscription')
|
124
|
+
SubscriptionEndPointType = Shapes::StringShape.new(name: 'SubscriptionEndPointType')
|
125
|
+
SubscriptionList = Shapes::ListShape.new(name: 'SubscriptionList')
|
126
|
+
SubscriptionProtocolType = Shapes::StringShape.new(name: 'SubscriptionProtocolType')
|
127
|
+
SubscriptionType = Shapes::StringShape.new(name: 'SubscriptionType')
|
128
|
+
TimeZoneIdType = Shapes::StringShape.new(name: 'TimeZoneIdType')
|
129
|
+
TimestampType = Shapes::TimestampShape.new(name: 'TimestampType')
|
130
|
+
TooManySubscriptionsException = Shapes::StructureShape.new(name: 'TooManySubscriptionsException')
|
131
|
+
UnauthorizedOperationException = Shapes::StructureShape.new(name: 'UnauthorizedOperationException')
|
132
|
+
UnauthorizedResourceAccessException = Shapes::StructureShape.new(name: 'UnauthorizedResourceAccessException')
|
133
|
+
UpdateDocumentRequest = Shapes::StructureShape.new(name: 'UpdateDocumentRequest')
|
134
|
+
UpdateDocumentVersionRequest = Shapes::StructureShape.new(name: 'UpdateDocumentVersionRequest')
|
135
|
+
UpdateFolderRequest = Shapes::StructureShape.new(name: 'UpdateFolderRequest')
|
136
|
+
UpdateUserRequest = Shapes::StructureShape.new(name: 'UpdateUserRequest')
|
137
|
+
UpdateUserResponse = Shapes::StructureShape.new(name: 'UpdateUserResponse')
|
138
|
+
UploadMetadata = Shapes::StructureShape.new(name: 'UploadMetadata')
|
139
|
+
UrlType = Shapes::StringShape.new(name: 'UrlType')
|
140
|
+
User = Shapes::StructureShape.new(name: 'User')
|
141
|
+
UserAttributeValueType = Shapes::StringShape.new(name: 'UserAttributeValueType')
|
142
|
+
UserFilterType = Shapes::StringShape.new(name: 'UserFilterType')
|
143
|
+
UserIdsType = Shapes::StringShape.new(name: 'UserIdsType')
|
144
|
+
UserSortType = Shapes::StringShape.new(name: 'UserSortType')
|
145
|
+
UserStatusType = Shapes::StringShape.new(name: 'UserStatusType')
|
146
|
+
UserStorageMetadata = Shapes::StructureShape.new(name: 'UserStorageMetadata')
|
147
|
+
UserType = Shapes::StringShape.new(name: 'UserType')
|
148
|
+
UsernameType = Shapes::StringShape.new(name: 'UsernameType')
|
149
|
+
|
150
|
+
AbortDocumentVersionUploadRequest.add_member(:document_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "DocumentId"))
|
151
|
+
AbortDocumentVersionUploadRequest.add_member(:version_id, Shapes::ShapeRef.new(shape: DocumentVersionIdType, required: true, location: "uri", location_name: "VersionId"))
|
152
|
+
AbortDocumentVersionUploadRequest.struct_class = Types::AbortDocumentVersionUploadRequest
|
153
|
+
|
154
|
+
ActivateUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: IdType, required: true, location: "uri", location_name: "UserId"))
|
155
|
+
ActivateUserRequest.struct_class = Types::ActivateUserRequest
|
156
|
+
|
157
|
+
ActivateUserResponse.add_member(:user, Shapes::ShapeRef.new(shape: User, location_name: "User"))
|
158
|
+
ActivateUserResponse.struct_class = Types::ActivateUserResponse
|
159
|
+
|
160
|
+
AddResourcePermissionsRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "ResourceId"))
|
161
|
+
AddResourcePermissionsRequest.add_member(:principals, Shapes::ShapeRef.new(shape: SharePrincipalList, required: true, location_name: "Principals"))
|
162
|
+
AddResourcePermissionsRequest.struct_class = Types::AddResourcePermissionsRequest
|
163
|
+
|
164
|
+
AddResourcePermissionsResponse.add_member(:share_results, Shapes::ShapeRef.new(shape: ShareResultsList, location_name: "ShareResults"))
|
165
|
+
AddResourcePermissionsResponse.struct_class = Types::AddResourcePermissionsResponse
|
166
|
+
|
167
|
+
CreateFolderRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceNameType, location_name: "Name"))
|
168
|
+
CreateFolderRequest.add_member(:parent_folder_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location_name: "ParentFolderId"))
|
169
|
+
CreateFolderRequest.struct_class = Types::CreateFolderRequest
|
170
|
+
|
171
|
+
CreateFolderResponse.add_member(:metadata, Shapes::ShapeRef.new(shape: FolderMetadata, location_name: "Metadata"))
|
172
|
+
CreateFolderResponse.struct_class = Types::CreateFolderResponse
|
173
|
+
|
174
|
+
CreateNotificationSubscriptionRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: IdType, required: true, location: "uri", location_name: "OrganizationId"))
|
175
|
+
CreateNotificationSubscriptionRequest.add_member(:endpoint, Shapes::ShapeRef.new(shape: SubscriptionEndPointType, required: true, location_name: "Endpoint"))
|
176
|
+
CreateNotificationSubscriptionRequest.add_member(:protocol, Shapes::ShapeRef.new(shape: SubscriptionProtocolType, required: true, location_name: "Protocol"))
|
177
|
+
CreateNotificationSubscriptionRequest.add_member(:subscription_type, Shapes::ShapeRef.new(shape: SubscriptionType, required: true, location_name: "SubscriptionType"))
|
178
|
+
CreateNotificationSubscriptionRequest.struct_class = Types::CreateNotificationSubscriptionRequest
|
179
|
+
|
180
|
+
CreateNotificationSubscriptionResponse.add_member(:subscription, Shapes::ShapeRef.new(shape: Subscription, location_name: "Subscription"))
|
181
|
+
CreateNotificationSubscriptionResponse.struct_class = Types::CreateNotificationSubscriptionResponse
|
182
|
+
|
183
|
+
CreateUserRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: IdType, location_name: "OrganizationId"))
|
184
|
+
CreateUserRequest.add_member(:username, Shapes::ShapeRef.new(shape: UsernameType, required: true, location_name: "Username"))
|
185
|
+
CreateUserRequest.add_member(:given_name, Shapes::ShapeRef.new(shape: UserAttributeValueType, required: true, location_name: "GivenName"))
|
186
|
+
CreateUserRequest.add_member(:surname, Shapes::ShapeRef.new(shape: UserAttributeValueType, required: true, location_name: "Surname"))
|
187
|
+
CreateUserRequest.add_member(:password, Shapes::ShapeRef.new(shape: PasswordType, required: true, location_name: "Password"))
|
188
|
+
CreateUserRequest.add_member(:time_zone_id, Shapes::ShapeRef.new(shape: TimeZoneIdType, location_name: "TimeZoneId"))
|
189
|
+
CreateUserRequest.add_member(:storage_rule, Shapes::ShapeRef.new(shape: StorageRuleType, location_name: "StorageRule"))
|
190
|
+
CreateUserRequest.struct_class = Types::CreateUserRequest
|
191
|
+
|
192
|
+
CreateUserResponse.add_member(:user, Shapes::ShapeRef.new(shape: User, location_name: "User"))
|
193
|
+
CreateUserResponse.struct_class = Types::CreateUserResponse
|
194
|
+
|
195
|
+
DeactivateUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: IdType, required: true, location: "uri", location_name: "UserId"))
|
196
|
+
DeactivateUserRequest.struct_class = Types::DeactivateUserRequest
|
197
|
+
|
198
|
+
DeleteDocumentRequest.add_member(:document_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "DocumentId"))
|
199
|
+
DeleteDocumentRequest.struct_class = Types::DeleteDocumentRequest
|
200
|
+
|
201
|
+
DeleteFolderContentsRequest.add_member(:folder_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "FolderId"))
|
202
|
+
DeleteFolderContentsRequest.struct_class = Types::DeleteFolderContentsRequest
|
203
|
+
|
204
|
+
DeleteFolderRequest.add_member(:folder_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "FolderId"))
|
205
|
+
DeleteFolderRequest.struct_class = Types::DeleteFolderRequest
|
206
|
+
|
207
|
+
DeleteNotificationSubscriptionRequest.add_member(:subscription_id, Shapes::ShapeRef.new(shape: IdType, required: true, location: "uri", location_name: "SubscriptionId"))
|
208
|
+
DeleteNotificationSubscriptionRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: IdType, required: true, location: "uri", location_name: "OrganizationId"))
|
209
|
+
DeleteNotificationSubscriptionRequest.struct_class = Types::DeleteNotificationSubscriptionRequest
|
210
|
+
|
211
|
+
DeleteUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: IdType, required: true, location: "uri", location_name: "UserId"))
|
212
|
+
DeleteUserRequest.struct_class = Types::DeleteUserRequest
|
213
|
+
|
214
|
+
DescribeDocumentVersionsRequest.add_member(:document_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "DocumentId"))
|
215
|
+
DescribeDocumentVersionsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: PageMarkerType, location: "querystring", location_name: "marker"))
|
216
|
+
DescribeDocumentVersionsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitType, location: "querystring", location_name: "limit"))
|
217
|
+
DescribeDocumentVersionsRequest.add_member(:include, Shapes::ShapeRef.new(shape: FieldNamesType, location: "querystring", location_name: "include"))
|
218
|
+
DescribeDocumentVersionsRequest.add_member(:fields, Shapes::ShapeRef.new(shape: FieldNamesType, location: "querystring", location_name: "fields"))
|
219
|
+
DescribeDocumentVersionsRequest.struct_class = Types::DescribeDocumentVersionsRequest
|
220
|
+
|
221
|
+
DescribeDocumentVersionsResponse.add_member(:document_versions, Shapes::ShapeRef.new(shape: DocumentVersionMetadataList, location_name: "DocumentVersions"))
|
222
|
+
DescribeDocumentVersionsResponse.add_member(:marker, Shapes::ShapeRef.new(shape: PageMarkerType, location_name: "Marker"))
|
223
|
+
DescribeDocumentVersionsResponse.struct_class = Types::DescribeDocumentVersionsResponse
|
224
|
+
|
225
|
+
DescribeFolderContentsRequest.add_member(:folder_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "FolderId"))
|
226
|
+
DescribeFolderContentsRequest.add_member(:sort, Shapes::ShapeRef.new(shape: ResourceSortType, location: "querystring", location_name: "sort"))
|
227
|
+
DescribeFolderContentsRequest.add_member(:order, Shapes::ShapeRef.new(shape: OrderType, location: "querystring", location_name: "order"))
|
228
|
+
DescribeFolderContentsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitType, location: "querystring", location_name: "limit"))
|
229
|
+
DescribeFolderContentsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: PageMarkerType, location: "querystring", location_name: "marker"))
|
230
|
+
DescribeFolderContentsRequest.add_member(:type, Shapes::ShapeRef.new(shape: FolderContentType, location: "querystring", location_name: "type"))
|
231
|
+
DescribeFolderContentsRequest.add_member(:include, Shapes::ShapeRef.new(shape: FieldNamesType, location: "querystring", location_name: "include"))
|
232
|
+
DescribeFolderContentsRequest.struct_class = Types::DescribeFolderContentsRequest
|
233
|
+
|
234
|
+
DescribeFolderContentsResponse.add_member(:folders, Shapes::ShapeRef.new(shape: FolderMetadataList, location_name: "Folders"))
|
235
|
+
DescribeFolderContentsResponse.add_member(:documents, Shapes::ShapeRef.new(shape: DocumentMetadataList, location_name: "Documents"))
|
236
|
+
DescribeFolderContentsResponse.add_member(:marker, Shapes::ShapeRef.new(shape: PageMarkerType, location_name: "Marker"))
|
237
|
+
DescribeFolderContentsResponse.struct_class = Types::DescribeFolderContentsResponse
|
238
|
+
|
239
|
+
DescribeNotificationSubscriptionsRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: IdType, required: true, location: "uri", location_name: "OrganizationId"))
|
240
|
+
DescribeNotificationSubscriptionsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: PageMarkerType, location: "querystring", location_name: "marker"))
|
241
|
+
DescribeNotificationSubscriptionsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitType, location: "querystring", location_name: "limit"))
|
242
|
+
DescribeNotificationSubscriptionsRequest.struct_class = Types::DescribeNotificationSubscriptionsRequest
|
243
|
+
|
244
|
+
DescribeNotificationSubscriptionsResponse.add_member(:subscriptions, Shapes::ShapeRef.new(shape: SubscriptionList, location_name: "Subscriptions"))
|
245
|
+
DescribeNotificationSubscriptionsResponse.add_member(:marker, Shapes::ShapeRef.new(shape: PageMarkerType, location_name: "Marker"))
|
246
|
+
DescribeNotificationSubscriptionsResponse.struct_class = Types::DescribeNotificationSubscriptionsResponse
|
247
|
+
|
248
|
+
DescribeResourcePermissionsRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "ResourceId"))
|
249
|
+
DescribeResourcePermissionsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitType, location: "querystring", location_name: "limit"))
|
250
|
+
DescribeResourcePermissionsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: PageMarkerType, location: "querystring", location_name: "marker"))
|
251
|
+
DescribeResourcePermissionsRequest.struct_class = Types::DescribeResourcePermissionsRequest
|
252
|
+
|
253
|
+
DescribeResourcePermissionsResponse.add_member(:principals, Shapes::ShapeRef.new(shape: PrincipalList, location_name: "Principals"))
|
254
|
+
DescribeResourcePermissionsResponse.add_member(:marker, Shapes::ShapeRef.new(shape: PageMarkerType, location_name: "Marker"))
|
255
|
+
DescribeResourcePermissionsResponse.struct_class = Types::DescribeResourcePermissionsResponse
|
256
|
+
|
257
|
+
DescribeUsersRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: IdType, location: "querystring", location_name: "organizationId"))
|
258
|
+
DescribeUsersRequest.add_member(:user_ids, Shapes::ShapeRef.new(shape: UserIdsType, location: "querystring", location_name: "userIds"))
|
259
|
+
DescribeUsersRequest.add_member(:query, Shapes::ShapeRef.new(shape: SearchQueryType, location: "querystring", location_name: "query"))
|
260
|
+
DescribeUsersRequest.add_member(:include, Shapes::ShapeRef.new(shape: UserFilterType, location: "querystring", location_name: "include"))
|
261
|
+
DescribeUsersRequest.add_member(:order, Shapes::ShapeRef.new(shape: OrderType, location: "querystring", location_name: "order"))
|
262
|
+
DescribeUsersRequest.add_member(:sort, Shapes::ShapeRef.new(shape: UserSortType, location: "querystring", location_name: "sort"))
|
263
|
+
DescribeUsersRequest.add_member(:marker, Shapes::ShapeRef.new(shape: PageMarkerType, location: "querystring", location_name: "marker"))
|
264
|
+
DescribeUsersRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitType, location: "querystring", location_name: "limit"))
|
265
|
+
DescribeUsersRequest.add_member(:fields, Shapes::ShapeRef.new(shape: FieldNamesType, location: "querystring", location_name: "fields"))
|
266
|
+
DescribeUsersRequest.struct_class = Types::DescribeUsersRequest
|
267
|
+
|
268
|
+
DescribeUsersResponse.add_member(:users, Shapes::ShapeRef.new(shape: OrganizationUserList, location_name: "Users"))
|
269
|
+
DescribeUsersResponse.add_member(:total_number_of_users, Shapes::ShapeRef.new(shape: SizeType, location_name: "TotalNumberOfUsers"))
|
270
|
+
DescribeUsersResponse.add_member(:marker, Shapes::ShapeRef.new(shape: PageMarkerType, location_name: "Marker"))
|
271
|
+
DescribeUsersResponse.struct_class = Types::DescribeUsersResponse
|
272
|
+
|
273
|
+
DocumentMetadata.add_member(:id, Shapes::ShapeRef.new(shape: ResourceIdType, location_name: "Id"))
|
274
|
+
DocumentMetadata.add_member(:creator_id, Shapes::ShapeRef.new(shape: IdType, location_name: "CreatorId"))
|
275
|
+
DocumentMetadata.add_member(:parent_folder_id, Shapes::ShapeRef.new(shape: ResourceIdType, location_name: "ParentFolderId"))
|
276
|
+
DocumentMetadata.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: TimestampType, location_name: "CreatedTimestamp"))
|
277
|
+
DocumentMetadata.add_member(:modified_timestamp, Shapes::ShapeRef.new(shape: TimestampType, location_name: "ModifiedTimestamp"))
|
278
|
+
DocumentMetadata.add_member(:latest_version_metadata, Shapes::ShapeRef.new(shape: DocumentVersionMetadata, location_name: "LatestVersionMetadata"))
|
279
|
+
DocumentMetadata.add_member(:resource_state, Shapes::ShapeRef.new(shape: ResourceStateType, location_name: "ResourceState"))
|
280
|
+
DocumentMetadata.struct_class = Types::DocumentMetadata
|
281
|
+
|
282
|
+
DocumentMetadataList.member = Shapes::ShapeRef.new(shape: DocumentMetadata)
|
283
|
+
|
284
|
+
DocumentSourceUrlMap.key = Shapes::ShapeRef.new(shape: DocumentSourceType)
|
285
|
+
DocumentSourceUrlMap.value = Shapes::ShapeRef.new(shape: UrlType)
|
286
|
+
|
287
|
+
DocumentThumbnailUrlMap.key = Shapes::ShapeRef.new(shape: DocumentThumbnailType)
|
288
|
+
DocumentThumbnailUrlMap.value = Shapes::ShapeRef.new(shape: UrlType)
|
289
|
+
|
290
|
+
DocumentVersionMetadata.add_member(:id, Shapes::ShapeRef.new(shape: DocumentVersionIdType, location_name: "Id"))
|
291
|
+
DocumentVersionMetadata.add_member(:name, Shapes::ShapeRef.new(shape: ResourceNameType, location_name: "Name"))
|
292
|
+
DocumentVersionMetadata.add_member(:content_type, Shapes::ShapeRef.new(shape: DocumentContentType, location_name: "ContentType"))
|
293
|
+
DocumentVersionMetadata.add_member(:size, Shapes::ShapeRef.new(shape: SizeType, location_name: "Size"))
|
294
|
+
DocumentVersionMetadata.add_member(:signature, Shapes::ShapeRef.new(shape: HashType, location_name: "Signature"))
|
295
|
+
DocumentVersionMetadata.add_member(:status, Shapes::ShapeRef.new(shape: DocumentStatusType, location_name: "Status"))
|
296
|
+
DocumentVersionMetadata.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: TimestampType, location_name: "CreatedTimestamp"))
|
297
|
+
DocumentVersionMetadata.add_member(:modified_timestamp, Shapes::ShapeRef.new(shape: TimestampType, location_name: "ModifiedTimestamp"))
|
298
|
+
DocumentVersionMetadata.add_member(:content_created_timestamp, Shapes::ShapeRef.new(shape: TimestampType, location_name: "ContentCreatedTimestamp"))
|
299
|
+
DocumentVersionMetadata.add_member(:content_modified_timestamp, Shapes::ShapeRef.new(shape: TimestampType, location_name: "ContentModifiedTimestamp"))
|
300
|
+
DocumentVersionMetadata.add_member(:creator_id, Shapes::ShapeRef.new(shape: IdType, location_name: "CreatorId"))
|
301
|
+
DocumentVersionMetadata.add_member(:thumbnail, Shapes::ShapeRef.new(shape: DocumentThumbnailUrlMap, location_name: "Thumbnail"))
|
302
|
+
DocumentVersionMetadata.add_member(:source, Shapes::ShapeRef.new(shape: DocumentSourceUrlMap, location_name: "Source"))
|
303
|
+
DocumentVersionMetadata.struct_class = Types::DocumentVersionMetadata
|
304
|
+
|
305
|
+
DocumentVersionMetadataList.member = Shapes::ShapeRef.new(shape: DocumentVersionMetadata)
|
306
|
+
|
307
|
+
EntityIdList.member = Shapes::ShapeRef.new(shape: IdType)
|
308
|
+
|
309
|
+
FolderMetadata.add_member(:id, Shapes::ShapeRef.new(shape: ResourceIdType, location_name: "Id"))
|
310
|
+
FolderMetadata.add_member(:name, Shapes::ShapeRef.new(shape: ResourceNameType, location_name: "Name"))
|
311
|
+
FolderMetadata.add_member(:creator_id, Shapes::ShapeRef.new(shape: IdType, location_name: "CreatorId"))
|
312
|
+
FolderMetadata.add_member(:parent_folder_id, Shapes::ShapeRef.new(shape: ResourceIdType, location_name: "ParentFolderId"))
|
313
|
+
FolderMetadata.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: TimestampType, location_name: "CreatedTimestamp"))
|
314
|
+
FolderMetadata.add_member(:modified_timestamp, Shapes::ShapeRef.new(shape: TimestampType, location_name: "ModifiedTimestamp"))
|
315
|
+
FolderMetadata.add_member(:resource_state, Shapes::ShapeRef.new(shape: ResourceStateType, location_name: "ResourceState"))
|
316
|
+
FolderMetadata.add_member(:signature, Shapes::ShapeRef.new(shape: HashType, location_name: "Signature"))
|
317
|
+
FolderMetadata.struct_class = Types::FolderMetadata
|
318
|
+
|
319
|
+
FolderMetadataList.member = Shapes::ShapeRef.new(shape: FolderMetadata)
|
320
|
+
|
321
|
+
GetDocumentPathRequest.add_member(:document_id, Shapes::ShapeRef.new(shape: IdType, required: true, location: "uri", location_name: "DocumentId"))
|
322
|
+
GetDocumentPathRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitType, location: "querystring", location_name: "limit"))
|
323
|
+
GetDocumentPathRequest.add_member(:fields, Shapes::ShapeRef.new(shape: FieldNamesType, location: "querystring", location_name: "fields"))
|
324
|
+
GetDocumentPathRequest.add_member(:marker, Shapes::ShapeRef.new(shape: PageMarkerType, location: "querystring", location_name: "marker"))
|
325
|
+
GetDocumentPathRequest.struct_class = Types::GetDocumentPathRequest
|
326
|
+
|
327
|
+
GetDocumentPathResponse.add_member(:path, Shapes::ShapeRef.new(shape: ResourcePath, location_name: "Path"))
|
328
|
+
GetDocumentPathResponse.struct_class = Types::GetDocumentPathResponse
|
329
|
+
|
330
|
+
GetDocumentRequest.add_member(:document_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "DocumentId"))
|
331
|
+
GetDocumentRequest.struct_class = Types::GetDocumentRequest
|
332
|
+
|
333
|
+
GetDocumentResponse.add_member(:metadata, Shapes::ShapeRef.new(shape: DocumentMetadata, location_name: "Metadata"))
|
334
|
+
GetDocumentResponse.struct_class = Types::GetDocumentResponse
|
335
|
+
|
336
|
+
GetDocumentVersionRequest.add_member(:document_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "DocumentId"))
|
337
|
+
GetDocumentVersionRequest.add_member(:version_id, Shapes::ShapeRef.new(shape: DocumentVersionIdType, required: true, location: "uri", location_name: "VersionId"))
|
338
|
+
GetDocumentVersionRequest.add_member(:fields, Shapes::ShapeRef.new(shape: FieldNamesType, location: "querystring", location_name: "fields"))
|
339
|
+
GetDocumentVersionRequest.struct_class = Types::GetDocumentVersionRequest
|
340
|
+
|
341
|
+
GetDocumentVersionResponse.add_member(:metadata, Shapes::ShapeRef.new(shape: DocumentVersionMetadata, location_name: "Metadata"))
|
342
|
+
GetDocumentVersionResponse.struct_class = Types::GetDocumentVersionResponse
|
343
|
+
|
344
|
+
GetFolderPathRequest.add_member(:folder_id, Shapes::ShapeRef.new(shape: IdType, required: true, location: "uri", location_name: "FolderId"))
|
345
|
+
GetFolderPathRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitType, location: "querystring", location_name: "limit"))
|
346
|
+
GetFolderPathRequest.add_member(:fields, Shapes::ShapeRef.new(shape: FieldNamesType, location: "querystring", location_name: "fields"))
|
347
|
+
GetFolderPathRequest.add_member(:marker, Shapes::ShapeRef.new(shape: PageMarkerType, location: "querystring", location_name: "marker"))
|
348
|
+
GetFolderPathRequest.struct_class = Types::GetFolderPathRequest
|
349
|
+
|
350
|
+
GetFolderPathResponse.add_member(:path, Shapes::ShapeRef.new(shape: ResourcePath, location_name: "Path"))
|
351
|
+
GetFolderPathResponse.struct_class = Types::GetFolderPathResponse
|
352
|
+
|
353
|
+
GetFolderRequest.add_member(:folder_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "FolderId"))
|
354
|
+
GetFolderRequest.struct_class = Types::GetFolderRequest
|
355
|
+
|
356
|
+
GetFolderResponse.add_member(:metadata, Shapes::ShapeRef.new(shape: FolderMetadata, location_name: "Metadata"))
|
357
|
+
GetFolderResponse.struct_class = Types::GetFolderResponse
|
358
|
+
|
359
|
+
InitiateDocumentVersionUploadRequest.add_member(:id, Shapes::ShapeRef.new(shape: ResourceIdType, location_name: "Id"))
|
360
|
+
InitiateDocumentVersionUploadRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceNameType, location_name: "Name"))
|
361
|
+
InitiateDocumentVersionUploadRequest.add_member(:content_created_timestamp, Shapes::ShapeRef.new(shape: TimestampType, location_name: "ContentCreatedTimestamp"))
|
362
|
+
InitiateDocumentVersionUploadRequest.add_member(:content_modified_timestamp, Shapes::ShapeRef.new(shape: TimestampType, location_name: "ContentModifiedTimestamp"))
|
363
|
+
InitiateDocumentVersionUploadRequest.add_member(:content_type, Shapes::ShapeRef.new(shape: DocumentContentType, location_name: "ContentType"))
|
364
|
+
InitiateDocumentVersionUploadRequest.add_member(:document_size_in_bytes, Shapes::ShapeRef.new(shape: SizeType, location_name: "DocumentSizeInBytes"))
|
365
|
+
InitiateDocumentVersionUploadRequest.add_member(:parent_folder_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location_name: "ParentFolderId"))
|
366
|
+
InitiateDocumentVersionUploadRequest.struct_class = Types::InitiateDocumentVersionUploadRequest
|
367
|
+
|
368
|
+
InitiateDocumentVersionUploadResponse.add_member(:metadata, Shapes::ShapeRef.new(shape: DocumentMetadata, location_name: "Metadata"))
|
369
|
+
InitiateDocumentVersionUploadResponse.add_member(:upload_metadata, Shapes::ShapeRef.new(shape: UploadMetadata, location_name: "UploadMetadata"))
|
370
|
+
InitiateDocumentVersionUploadResponse.struct_class = Types::InitiateDocumentVersionUploadResponse
|
371
|
+
|
372
|
+
OrganizationUserList.member = Shapes::ShapeRef.new(shape: User)
|
373
|
+
|
374
|
+
PermissionInfo.add_member(:role, Shapes::ShapeRef.new(shape: RoleType, location_name: "Role"))
|
375
|
+
PermissionInfo.add_member(:type, Shapes::ShapeRef.new(shape: RolePermissionType, location_name: "Type"))
|
376
|
+
PermissionInfo.struct_class = Types::PermissionInfo
|
377
|
+
|
378
|
+
PermissionInfoList.member = Shapes::ShapeRef.new(shape: PermissionInfo)
|
379
|
+
|
380
|
+
Principal.add_member(:id, Shapes::ShapeRef.new(shape: IdType, location_name: "Id"))
|
381
|
+
Principal.add_member(:type, Shapes::ShapeRef.new(shape: PrincipalType, location_name: "Type"))
|
382
|
+
Principal.add_member(:roles, Shapes::ShapeRef.new(shape: PermissionInfoList, location_name: "Roles"))
|
383
|
+
Principal.struct_class = Types::Principal
|
384
|
+
|
385
|
+
PrincipalList.member = Shapes::ShapeRef.new(shape: Principal)
|
386
|
+
|
387
|
+
RemoveAllResourcePermissionsRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "ResourceId"))
|
388
|
+
RemoveAllResourcePermissionsRequest.struct_class = Types::RemoveAllResourcePermissionsRequest
|
389
|
+
|
390
|
+
RemoveResourcePermissionRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "ResourceId"))
|
391
|
+
RemoveResourcePermissionRequest.add_member(:principal_id, Shapes::ShapeRef.new(shape: IdType, required: true, location: "uri", location_name: "PrincipalId"))
|
392
|
+
RemoveResourcePermissionRequest.add_member(:principal_type, Shapes::ShapeRef.new(shape: PrincipalType, location: "querystring", location_name: "type"))
|
393
|
+
RemoveResourcePermissionRequest.struct_class = Types::RemoveResourcePermissionRequest
|
394
|
+
|
395
|
+
ResourcePath.add_member(:components, Shapes::ShapeRef.new(shape: ResourcePathComponentList, location_name: "Components"))
|
396
|
+
ResourcePath.struct_class = Types::ResourcePath
|
397
|
+
|
398
|
+
ResourcePathComponent.add_member(:id, Shapes::ShapeRef.new(shape: IdType, location_name: "Id"))
|
399
|
+
ResourcePathComponent.add_member(:name, Shapes::ShapeRef.new(shape: ResourceNameType, location_name: "Name"))
|
400
|
+
ResourcePathComponent.struct_class = Types::ResourcePathComponent
|
401
|
+
|
402
|
+
ResourcePathComponentList.member = Shapes::ShapeRef.new(shape: ResourcePathComponent)
|
403
|
+
|
404
|
+
SharePrincipal.add_member(:id, Shapes::ShapeRef.new(shape: IdType, required: true, location_name: "Id"))
|
405
|
+
SharePrincipal.add_member(:type, Shapes::ShapeRef.new(shape: PrincipalType, required: true, location_name: "Type"))
|
406
|
+
SharePrincipal.add_member(:role, Shapes::ShapeRef.new(shape: RoleType, required: true, location_name: "Role"))
|
407
|
+
SharePrincipal.struct_class = Types::SharePrincipal
|
408
|
+
|
409
|
+
SharePrincipalList.member = Shapes::ShapeRef.new(shape: SharePrincipal)
|
410
|
+
|
411
|
+
ShareResult.add_member(:principal_id, Shapes::ShapeRef.new(shape: IdType, location_name: "PrincipalId"))
|
412
|
+
ShareResult.add_member(:role, Shapes::ShapeRef.new(shape: RoleType, location_name: "Role"))
|
413
|
+
ShareResult.add_member(:status, Shapes::ShapeRef.new(shape: ShareStatusType, location_name: "Status"))
|
414
|
+
ShareResult.add_member(:share_id, Shapes::ShapeRef.new(shape: ResourceIdType, location_name: "ShareId"))
|
415
|
+
ShareResult.add_member(:status_message, Shapes::ShapeRef.new(shape: MessageType, location_name: "StatusMessage"))
|
416
|
+
ShareResult.struct_class = Types::ShareResult
|
417
|
+
|
418
|
+
ShareResultsList.member = Shapes::ShapeRef.new(shape: ShareResult)
|
419
|
+
|
420
|
+
SignedHeaderMap.key = Shapes::ShapeRef.new(shape: HeaderNameType)
|
421
|
+
SignedHeaderMap.value = Shapes::ShapeRef.new(shape: HeaderValueType)
|
422
|
+
|
423
|
+
StorageRuleType.add_member(:storage_allocated_in_bytes, Shapes::ShapeRef.new(shape: PositiveSizeType, location_name: "StorageAllocatedInBytes"))
|
424
|
+
StorageRuleType.add_member(:storage_type, Shapes::ShapeRef.new(shape: StorageType, location_name: "StorageType"))
|
425
|
+
StorageRuleType.struct_class = Types::StorageRuleType
|
426
|
+
|
427
|
+
Subscription.add_member(:subscription_id, Shapes::ShapeRef.new(shape: IdType, location_name: "SubscriptionId"))
|
428
|
+
Subscription.add_member(:end_point, Shapes::ShapeRef.new(shape: SubscriptionEndPointType, location_name: "EndPoint"))
|
429
|
+
Subscription.add_member(:protocol, Shapes::ShapeRef.new(shape: SubscriptionProtocolType, location_name: "Protocol"))
|
430
|
+
Subscription.struct_class = Types::Subscription
|
431
|
+
|
432
|
+
SubscriptionList.member = Shapes::ShapeRef.new(shape: Subscription)
|
433
|
+
|
434
|
+
UpdateDocumentRequest.add_member(:document_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "DocumentId"))
|
435
|
+
UpdateDocumentRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceNameType, location_name: "Name"))
|
436
|
+
UpdateDocumentRequest.add_member(:parent_folder_id, Shapes::ShapeRef.new(shape: ResourceIdType, location_name: "ParentFolderId"))
|
437
|
+
UpdateDocumentRequest.add_member(:resource_state, Shapes::ShapeRef.new(shape: ResourceStateType, location_name: "ResourceState"))
|
438
|
+
UpdateDocumentRequest.struct_class = Types::UpdateDocumentRequest
|
439
|
+
|
440
|
+
UpdateDocumentVersionRequest.add_member(:document_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "DocumentId"))
|
441
|
+
UpdateDocumentVersionRequest.add_member(:version_id, Shapes::ShapeRef.new(shape: DocumentVersionIdType, required: true, location: "uri", location_name: "VersionId"))
|
442
|
+
UpdateDocumentVersionRequest.add_member(:version_status, Shapes::ShapeRef.new(shape: DocumentVersionStatus, location_name: "VersionStatus"))
|
443
|
+
UpdateDocumentVersionRequest.struct_class = Types::UpdateDocumentVersionRequest
|
444
|
+
|
445
|
+
UpdateFolderRequest.add_member(:folder_id, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location: "uri", location_name: "FolderId"))
|
446
|
+
UpdateFolderRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceNameType, location_name: "Name"))
|
447
|
+
UpdateFolderRequest.add_member(:parent_folder_id, Shapes::ShapeRef.new(shape: ResourceIdType, location_name: "ParentFolderId"))
|
448
|
+
UpdateFolderRequest.add_member(:resource_state, Shapes::ShapeRef.new(shape: ResourceStateType, location_name: "ResourceState"))
|
449
|
+
UpdateFolderRequest.struct_class = Types::UpdateFolderRequest
|
450
|
+
|
451
|
+
UpdateUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: IdType, required: true, location: "uri", location_name: "UserId"))
|
452
|
+
UpdateUserRequest.add_member(:given_name, Shapes::ShapeRef.new(shape: UserAttributeValueType, location_name: "GivenName"))
|
453
|
+
UpdateUserRequest.add_member(:surname, Shapes::ShapeRef.new(shape: UserAttributeValueType, location_name: "Surname"))
|
454
|
+
UpdateUserRequest.add_member(:type, Shapes::ShapeRef.new(shape: UserType, location_name: "Type"))
|
455
|
+
UpdateUserRequest.add_member(:storage_rule, Shapes::ShapeRef.new(shape: StorageRuleType, location_name: "StorageRule"))
|
456
|
+
UpdateUserRequest.add_member(:time_zone_id, Shapes::ShapeRef.new(shape: TimeZoneIdType, location_name: "TimeZoneId"))
|
457
|
+
UpdateUserRequest.add_member(:locale, Shapes::ShapeRef.new(shape: LocaleType, location_name: "Locale"))
|
458
|
+
UpdateUserRequest.struct_class = Types::UpdateUserRequest
|
459
|
+
|
460
|
+
UpdateUserResponse.add_member(:user, Shapes::ShapeRef.new(shape: User, location_name: "User"))
|
461
|
+
UpdateUserResponse.struct_class = Types::UpdateUserResponse
|
462
|
+
|
463
|
+
UploadMetadata.add_member(:upload_url, Shapes::ShapeRef.new(shape: UrlType, location_name: "UploadUrl"))
|
464
|
+
UploadMetadata.add_member(:signed_headers, Shapes::ShapeRef.new(shape: SignedHeaderMap, location_name: "SignedHeaders"))
|
465
|
+
UploadMetadata.struct_class = Types::UploadMetadata
|
466
|
+
|
467
|
+
User.add_member(:id, Shapes::ShapeRef.new(shape: IdType, location_name: "Id"))
|
468
|
+
User.add_member(:username, Shapes::ShapeRef.new(shape: UsernameType, location_name: "Username"))
|
469
|
+
User.add_member(:email_address, Shapes::ShapeRef.new(shape: EmailAddressType, location_name: "EmailAddress"))
|
470
|
+
User.add_member(:given_name, Shapes::ShapeRef.new(shape: UserAttributeValueType, location_name: "GivenName"))
|
471
|
+
User.add_member(:surname, Shapes::ShapeRef.new(shape: UserAttributeValueType, location_name: "Surname"))
|
472
|
+
User.add_member(:organization_id, Shapes::ShapeRef.new(shape: IdType, location_name: "OrganizationId"))
|
473
|
+
User.add_member(:root_folder_id, Shapes::ShapeRef.new(shape: ResourceIdType, location_name: "RootFolderId"))
|
474
|
+
User.add_member(:recycle_bin_folder_id, Shapes::ShapeRef.new(shape: ResourceIdType, location_name: "RecycleBinFolderId"))
|
475
|
+
User.add_member(:status, Shapes::ShapeRef.new(shape: UserStatusType, location_name: "Status"))
|
476
|
+
User.add_member(:type, Shapes::ShapeRef.new(shape: UserType, location_name: "Type"))
|
477
|
+
User.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: TimestampType, location_name: "CreatedTimestamp"))
|
478
|
+
User.add_member(:modified_timestamp, Shapes::ShapeRef.new(shape: TimestampType, location_name: "ModifiedTimestamp"))
|
479
|
+
User.add_member(:time_zone_id, Shapes::ShapeRef.new(shape: TimeZoneIdType, location_name: "TimeZoneId"))
|
480
|
+
User.add_member(:locale, Shapes::ShapeRef.new(shape: LocaleType, location_name: "Locale"))
|
481
|
+
User.add_member(:storage, Shapes::ShapeRef.new(shape: UserStorageMetadata, location_name: "Storage"))
|
482
|
+
User.struct_class = Types::User
|
483
|
+
|
484
|
+
UserStorageMetadata.add_member(:storage_utilized_in_bytes, Shapes::ShapeRef.new(shape: SizeType, location_name: "StorageUtilizedInBytes"))
|
485
|
+
UserStorageMetadata.add_member(:storage_rule, Shapes::ShapeRef.new(shape: StorageRuleType, location_name: "StorageRule"))
|
486
|
+
UserStorageMetadata.struct_class = Types::UserStorageMetadata
|
487
|
+
|
488
|
+
|
489
|
+
# @api private
|
490
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
491
|
+
|
492
|
+
api.version = "2016-05-01"
|
493
|
+
|
494
|
+
api.metadata = {
|
495
|
+
"endpointPrefix" => "workdocs",
|
496
|
+
"jsonVersion" => "1.1",
|
497
|
+
"protocol" => "rest-json",
|
498
|
+
"serviceFullName" => "Amazon WorkDocs",
|
499
|
+
"signatureVersion" => "v4",
|
500
|
+
}
|
501
|
+
|
502
|
+
api.add_operation(:abort_document_version_upload, Seahorse::Model::Operation.new.tap do |o|
|
503
|
+
o.name = "AbortDocumentVersionUpload"
|
504
|
+
o.http_method = "DELETE"
|
505
|
+
o.http_request_uri = "/api/v1/documents/{DocumentId}/versions/{VersionId}"
|
506
|
+
o.input = Shapes::ShapeRef.new(shape: AbortDocumentVersionUploadRequest)
|
507
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
508
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException)
|
509
|
+
o.errors << Shapes::ShapeRef.new(shape: ProhibitedStateException)
|
510
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
511
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException)
|
512
|
+
o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException)
|
513
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
514
|
+
end)
|
515
|
+
|
516
|
+
api.add_operation(:activate_user, Seahorse::Model::Operation.new.tap do |o|
|
517
|
+
o.name = "ActivateUser"
|
518
|
+
o.http_method = "POST"
|
519
|
+
o.http_request_uri = "/api/v1/users/{UserId}/activation"
|
520
|
+
o.input = Shapes::ShapeRef.new(shape: ActivateUserRequest)
|
521
|
+
o.output = Shapes::ShapeRef.new(shape: ActivateUserResponse)
|
522
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException)
|
523
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
524
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException)
|
525
|
+
o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException)
|
526
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
527
|
+
end)
|
528
|
+
|
529
|
+
api.add_operation(:add_resource_permissions, Seahorse::Model::Operation.new.tap do |o|
|
530
|
+
o.name = "AddResourcePermissions"
|
531
|
+
o.http_method = "POST"
|
532
|
+
o.http_request_uri = "/api/v1/resources/{ResourceId}/permissions"
|
533
|
+
o.input = Shapes::ShapeRef.new(shape: AddResourcePermissionsRequest)
|
534
|
+
o.output = Shapes::ShapeRef.new(shape: AddResourcePermissionsResponse)
|
535
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
536
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException)
|
537
|
+
o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException)
|
538
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
539
|
+
end)
|
540
|
+
|
541
|
+
api.add_operation(:create_folder, Seahorse::Model::Operation.new.tap do |o|
|
542
|
+
o.name = "CreateFolder"
|
543
|
+
o.http_method = "POST"
|
544
|
+
o.http_request_uri = "/api/v1/folders"
|
545
|
+
o.input = Shapes::ShapeRef.new(shape: CreateFolderRequest)
|
546
|
+
o.output = Shapes::ShapeRef.new(shape: CreateFolderResponse)
|
547
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException)
|
548
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityAlreadyExistsException)
|
549
|
+
o.errors << Shapes::ShapeRef.new(shape: ProhibitedStateException)
|
550
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
551
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
552
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException)
|
553
|
+
o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException)
|
554
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
555
|
+
end)
|
556
|
+
|
557
|
+
api.add_operation(:create_notification_subscription, Seahorse::Model::Operation.new.tap do |o|
|
558
|
+
o.name = "CreateNotificationSubscription"
|
559
|
+
o.http_method = "POST"
|
560
|
+
o.http_request_uri = "/api/v1/organizations/{OrganizationId}/subscriptions"
|
561
|
+
o.input = Shapes::ShapeRef.new(shape: CreateNotificationSubscriptionRequest)
|
562
|
+
o.output = Shapes::ShapeRef.new(shape: CreateNotificationSubscriptionResponse)
|
563
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException)
|
564
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManySubscriptionsException)
|
565
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
566
|
+
end)
|
567
|
+
|
568
|
+
api.add_operation(:create_user, Seahorse::Model::Operation.new.tap do |o|
|
569
|
+
o.name = "CreateUser"
|
570
|
+
o.http_method = "POST"
|
571
|
+
o.http_request_uri = "/api/v1/users"
|
572
|
+
o.input = Shapes::ShapeRef.new(shape: CreateUserRequest)
|
573
|
+
o.output = Shapes::ShapeRef.new(shape: CreateUserResponse)
|
574
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityAlreadyExistsException)
|
575
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
576
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException)
|
577
|
+
o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException)
|
578
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
579
|
+
end)
|
580
|
+
|
581
|
+
api.add_operation(:deactivate_user, Seahorse::Model::Operation.new.tap do |o|
|
582
|
+
o.name = "DeactivateUser"
|
583
|
+
o.http_method = "DELETE"
|
584
|
+
o.http_request_uri = "/api/v1/users/{UserId}/activation"
|
585
|
+
o.input = Shapes::ShapeRef.new(shape: DeactivateUserRequest)
|
586
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
587
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException)
|
588
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
589
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException)
|
590
|
+
o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException)
|
591
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
592
|
+
end)
|
593
|
+
|
594
|
+
api.add_operation(:delete_document, Seahorse::Model::Operation.new.tap do |o|
|
595
|
+
o.name = "DeleteDocument"
|
596
|
+
o.http_method = "DELETE"
|
597
|
+
o.http_request_uri = "/api/v1/documents/{DocumentId}"
|
598
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteDocumentRequest)
|
599
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
600
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException)
|
601
|
+
o.errors << Shapes::ShapeRef.new(shape: ProhibitedStateException)
|
602
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
603
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
604
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException)
|
605
|
+
o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException)
|
606
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
607
|
+
end)
|
608
|
+
|
609
|
+
api.add_operation(:delete_folder, Seahorse::Model::Operation.new.tap do |o|
|
610
|
+
o.name = "DeleteFolder"
|
611
|
+
o.http_method = "DELETE"
|
612
|
+
o.http_request_uri = "/api/v1/folders/{FolderId}"
|
613
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteFolderRequest)
|
614
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
615
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException)
|
616
|
+
o.errors << Shapes::ShapeRef.new(shape: ProhibitedStateException)
|
617
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
618
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
619
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException)
|
620
|
+
o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException)
|
621
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
622
|
+
end)
|
623
|
+
|
624
|
+
api.add_operation(:delete_folder_contents, Seahorse::Model::Operation.new.tap do |o|
|
625
|
+
o.name = "DeleteFolderContents"
|
626
|
+
o.http_method = "DELETE"
|
627
|
+
o.http_request_uri = "/api/v1/folders/{FolderId}/contents"
|
628
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteFolderContentsRequest)
|
629
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
630
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException)
|
631
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
632
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException)
|
633
|
+
o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException)
|
634
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
635
|
+
end)
|
636
|
+
|
637
|
+
api.add_operation(:delete_notification_subscription, Seahorse::Model::Operation.new.tap do |o|
|
638
|
+
o.name = "DeleteNotificationSubscription"
|
639
|
+
o.http_method = "DELETE"
|
640
|
+
o.http_request_uri = "/api/v1/organizations/{OrganizationId}/subscriptions/{SubscriptionId}"
|
641
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteNotificationSubscriptionRequest)
|
642
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
643
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException)
|
644
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException)
|
645
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
646
|
+
o.errors << Shapes::ShapeRef.new(shape: ProhibitedStateException)
|
647
|
+
end)
|
648
|
+
|
649
|
+
api.add_operation(:delete_user, Seahorse::Model::Operation.new.tap do |o|
|
650
|
+
o.name = "DeleteUser"
|
651
|
+
o.http_method = "DELETE"
|
652
|
+
o.http_request_uri = "/api/v1/users/{UserId}"
|
653
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteUserRequest)
|
654
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
655
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException)
|
656
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
657
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException)
|
658
|
+
o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException)
|
659
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
660
|
+
end)
|
661
|
+
|
662
|
+
api.add_operation(:describe_document_versions, Seahorse::Model::Operation.new.tap do |o|
|
663
|
+
o.name = "DescribeDocumentVersions"
|
664
|
+
o.http_method = "GET"
|
665
|
+
o.http_request_uri = "/api/v1/documents/{DocumentId}/versions"
|
666
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeDocumentVersionsRequest)
|
667
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeDocumentVersionsResponse)
|
668
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException)
|
669
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
670
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException)
|
671
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
672
|
+
o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException)
|
673
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
674
|
+
o.errors << Shapes::ShapeRef.new(shape: ProhibitedStateException)
|
675
|
+
o[:pager] = Aws::Pager.new(
|
676
|
+
limit_key: "limit",
|
677
|
+
tokens: {
|
678
|
+
"marker" => "marker"
|
679
|
+
}
|
680
|
+
)
|
681
|
+
end)
|
682
|
+
|
683
|
+
api.add_operation(:describe_folder_contents, Seahorse::Model::Operation.new.tap do |o|
|
684
|
+
o.name = "DescribeFolderContents"
|
685
|
+
o.http_method = "GET"
|
686
|
+
o.http_request_uri = "/api/v1/folders/{FolderId}/contents"
|
687
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeFolderContentsRequest)
|
688
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeFolderContentsResponse)
|
689
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException)
|
690
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException)
|
691
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
692
|
+
o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException)
|
693
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
694
|
+
o.errors << Shapes::ShapeRef.new(shape: ProhibitedStateException)
|
695
|
+
o[:pager] = Aws::Pager.new(
|
696
|
+
limit_key: "limit",
|
697
|
+
tokens: {
|
698
|
+
"marker" => "marker"
|
699
|
+
}
|
700
|
+
)
|
701
|
+
end)
|
702
|
+
|
703
|
+
api.add_operation(:describe_notification_subscriptions, Seahorse::Model::Operation.new.tap do |o|
|
704
|
+
o.name = "DescribeNotificationSubscriptions"
|
705
|
+
o.http_method = "GET"
|
706
|
+
o.http_request_uri = "/api/v1/organizations/{OrganizationId}/subscriptions"
|
707
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeNotificationSubscriptionsRequest)
|
708
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeNotificationSubscriptionsResponse)
|
709
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException)
|
710
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException)
|
711
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
712
|
+
end)
|
713
|
+
|
714
|
+
api.add_operation(:describe_resource_permissions, Seahorse::Model::Operation.new.tap do |o|
|
715
|
+
o.name = "DescribeResourcePermissions"
|
716
|
+
o.http_method = "GET"
|
717
|
+
o.http_request_uri = "/api/v1/resources/{ResourceId}/permissions"
|
718
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeResourcePermissionsRequest)
|
719
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeResourcePermissionsResponse)
|
720
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
721
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException)
|
722
|
+
o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException)
|
723
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
724
|
+
end)
|
725
|
+
|
726
|
+
api.add_operation(:describe_users, Seahorse::Model::Operation.new.tap do |o|
|
727
|
+
o.name = "DescribeUsers"
|
728
|
+
o.http_method = "GET"
|
729
|
+
o.http_request_uri = "/api/v1/users"
|
730
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeUsersRequest)
|
731
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeUsersResponse)
|
732
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
733
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException)
|
734
|
+
o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException)
|
735
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
736
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
737
|
+
o[:pager] = Aws::Pager.new(
|
738
|
+
limit_key: "limit",
|
739
|
+
tokens: {
|
740
|
+
"marker" => "marker"
|
741
|
+
}
|
742
|
+
)
|
743
|
+
end)
|
744
|
+
|
745
|
+
api.add_operation(:get_document, Seahorse::Model::Operation.new.tap do |o|
|
746
|
+
o.name = "GetDocument"
|
747
|
+
o.http_method = "GET"
|
748
|
+
o.http_request_uri = "/api/v1/documents/{DocumentId}"
|
749
|
+
o.input = Shapes::ShapeRef.new(shape: GetDocumentRequest)
|
750
|
+
o.output = Shapes::ShapeRef.new(shape: GetDocumentResponse)
|
751
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException)
|
752
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
753
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException)
|
754
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
755
|
+
o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException)
|
756
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
757
|
+
end)
|
758
|
+
|
759
|
+
api.add_operation(:get_document_path, Seahorse::Model::Operation.new.tap do |o|
|
760
|
+
o.name = "GetDocumentPath"
|
761
|
+
o.http_method = "GET"
|
762
|
+
o.http_request_uri = "/api/v1/documents/{DocumentId}/path"
|
763
|
+
o.input = Shapes::ShapeRef.new(shape: GetDocumentPathRequest)
|
764
|
+
o.output = Shapes::ShapeRef.new(shape: GetDocumentPathResponse)
|
765
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException)
|
766
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
767
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException)
|
768
|
+
o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException)
|
769
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
770
|
+
end)
|
771
|
+
|
772
|
+
api.add_operation(:get_document_version, Seahorse::Model::Operation.new.tap do |o|
|
773
|
+
o.name = "GetDocumentVersion"
|
774
|
+
o.http_method = "GET"
|
775
|
+
o.http_request_uri = "/api/v1/documents/{DocumentId}/versions/{VersionId}"
|
776
|
+
o.input = Shapes::ShapeRef.new(shape: GetDocumentVersionRequest)
|
777
|
+
o.output = Shapes::ShapeRef.new(shape: GetDocumentVersionResponse)
|
778
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException)
|
779
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
780
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException)
|
781
|
+
o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException)
|
782
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
783
|
+
o.errors << Shapes::ShapeRef.new(shape: ProhibitedStateException)
|
784
|
+
end)
|
785
|
+
|
786
|
+
api.add_operation(:get_folder, Seahorse::Model::Operation.new.tap do |o|
|
787
|
+
o.name = "GetFolder"
|
788
|
+
o.http_method = "GET"
|
789
|
+
o.http_request_uri = "/api/v1/folders/{FolderId}"
|
790
|
+
o.input = Shapes::ShapeRef.new(shape: GetFolderRequest)
|
791
|
+
o.output = Shapes::ShapeRef.new(shape: GetFolderResponse)
|
792
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException)
|
793
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
794
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException)
|
795
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
796
|
+
o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException)
|
797
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
798
|
+
o.errors << Shapes::ShapeRef.new(shape: ProhibitedStateException)
|
799
|
+
end)
|
800
|
+
|
801
|
+
api.add_operation(:get_folder_path, Seahorse::Model::Operation.new.tap do |o|
|
802
|
+
o.name = "GetFolderPath"
|
803
|
+
o.http_method = "GET"
|
804
|
+
o.http_request_uri = "/api/v1/folders/{FolderId}/path"
|
805
|
+
o.input = Shapes::ShapeRef.new(shape: GetFolderPathRequest)
|
806
|
+
o.output = Shapes::ShapeRef.new(shape: GetFolderPathResponse)
|
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: FailedDependencyException)
|
811
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
812
|
+
end)
|
813
|
+
|
814
|
+
api.add_operation(:initiate_document_version_upload, Seahorse::Model::Operation.new.tap do |o|
|
815
|
+
o.name = "InitiateDocumentVersionUpload"
|
816
|
+
o.http_method = "POST"
|
817
|
+
o.http_request_uri = "/api/v1/documents"
|
818
|
+
o.input = Shapes::ShapeRef.new(shape: InitiateDocumentVersionUploadRequest)
|
819
|
+
o.output = Shapes::ShapeRef.new(shape: InitiateDocumentVersionUploadResponse)
|
820
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException)
|
821
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityAlreadyExistsException)
|
822
|
+
o.errors << Shapes::ShapeRef.new(shape: StorageLimitExceededException)
|
823
|
+
o.errors << Shapes::ShapeRef.new(shape: StorageLimitWillExceedException)
|
824
|
+
o.errors << Shapes::ShapeRef.new(shape: ProhibitedStateException)
|
825
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
826
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException)
|
827
|
+
o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException)
|
828
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
829
|
+
end)
|
830
|
+
|
831
|
+
api.add_operation(:remove_all_resource_permissions, Seahorse::Model::Operation.new.tap do |o|
|
832
|
+
o.name = "RemoveAllResourcePermissions"
|
833
|
+
o.http_method = "DELETE"
|
834
|
+
o.http_request_uri = "/api/v1/resources/{ResourceId}/permissions"
|
835
|
+
o.input = Shapes::ShapeRef.new(shape: RemoveAllResourcePermissionsRequest)
|
836
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
837
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
838
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException)
|
839
|
+
o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException)
|
840
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
841
|
+
end)
|
842
|
+
|
843
|
+
api.add_operation(:remove_resource_permission, Seahorse::Model::Operation.new.tap do |o|
|
844
|
+
o.name = "RemoveResourcePermission"
|
845
|
+
o.http_method = "DELETE"
|
846
|
+
o.http_request_uri = "/api/v1/resources/{ResourceId}/permissions/{PrincipalId}"
|
847
|
+
o.input = Shapes::ShapeRef.new(shape: RemoveResourcePermissionRequest)
|
848
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
849
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
850
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException)
|
851
|
+
o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException)
|
852
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
853
|
+
end)
|
854
|
+
|
855
|
+
api.add_operation(:update_document, Seahorse::Model::Operation.new.tap do |o|
|
856
|
+
o.name = "UpdateDocument"
|
857
|
+
o.http_method = "PATCH"
|
858
|
+
o.http_request_uri = "/api/v1/documents/{DocumentId}"
|
859
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateDocumentRequest)
|
860
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
861
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException)
|
862
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityAlreadyExistsException)
|
863
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
864
|
+
o.errors << Shapes::ShapeRef.new(shape: ProhibitedStateException)
|
865
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
866
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
867
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException)
|
868
|
+
o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException)
|
869
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
870
|
+
end)
|
871
|
+
|
872
|
+
api.add_operation(:update_document_version, Seahorse::Model::Operation.new.tap do |o|
|
873
|
+
o.name = "UpdateDocumentVersion"
|
874
|
+
o.http_method = "PATCH"
|
875
|
+
o.http_request_uri = "/api/v1/documents/{DocumentId}/versions/{VersionId}"
|
876
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateDocumentVersionRequest)
|
877
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
878
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException)
|
879
|
+
o.errors << Shapes::ShapeRef.new(shape: ProhibitedStateException)
|
880
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
881
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException)
|
882
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
883
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException)
|
884
|
+
o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException)
|
885
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
886
|
+
end)
|
887
|
+
|
888
|
+
api.add_operation(:update_folder, Seahorse::Model::Operation.new.tap do |o|
|
889
|
+
o.name = "UpdateFolder"
|
890
|
+
o.http_method = "PATCH"
|
891
|
+
o.http_request_uri = "/api/v1/folders/{FolderId}"
|
892
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateFolderRequest)
|
893
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
894
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException)
|
895
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityAlreadyExistsException)
|
896
|
+
o.errors << Shapes::ShapeRef.new(shape: ProhibitedStateException)
|
897
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
898
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
899
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
900
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException)
|
901
|
+
o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException)
|
902
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
903
|
+
end)
|
904
|
+
|
905
|
+
api.add_operation(:update_user, Seahorse::Model::Operation.new.tap do |o|
|
906
|
+
o.name = "UpdateUser"
|
907
|
+
o.http_method = "PATCH"
|
908
|
+
o.http_request_uri = "/api/v1/users/{UserId}"
|
909
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateUserRequest)
|
910
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateUserResponse)
|
911
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotExistsException)
|
912
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperationException)
|
913
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedResourceAccessException)
|
914
|
+
o.errors << Shapes::ShapeRef.new(shape: IllegalUserStateException)
|
915
|
+
o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException)
|
916
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
917
|
+
o.errors << Shapes::ShapeRef.new(shape: DeactivatingLastSystemUserException)
|
918
|
+
end)
|
919
|
+
end
|
920
|
+
|
921
|
+
end
|
922
|
+
end
|