aws-sdk-workspaces 1.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,535 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing for info on making contributions:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module WorkSpaces
10
+ # @api private
11
+ module ClientApi
12
+
13
+ include Seahorse::Model
14
+
15
+ ARN = Shapes::StringShape.new(name: 'ARN')
16
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
+ Alias = Shapes::StringShape.new(name: 'Alias')
18
+ BooleanObject = Shapes::BooleanShape.new(name: 'BooleanObject')
19
+ BundleId = Shapes::StringShape.new(name: 'BundleId')
20
+ BundleIdList = Shapes::ListShape.new(name: 'BundleIdList')
21
+ BundleList = Shapes::ListShape.new(name: 'BundleList')
22
+ BundleOwner = Shapes::StringShape.new(name: 'BundleOwner')
23
+ Compute = Shapes::StringShape.new(name: 'Compute')
24
+ ComputeType = Shapes::StructureShape.new(name: 'ComputeType')
25
+ ComputerName = Shapes::StringShape.new(name: 'ComputerName')
26
+ ConnectionState = Shapes::StringShape.new(name: 'ConnectionState')
27
+ CreateTagsRequest = Shapes::StructureShape.new(name: 'CreateTagsRequest')
28
+ CreateTagsResult = Shapes::StructureShape.new(name: 'CreateTagsResult')
29
+ CreateWorkspacesRequest = Shapes::StructureShape.new(name: 'CreateWorkspacesRequest')
30
+ CreateWorkspacesResult = Shapes::StructureShape.new(name: 'CreateWorkspacesResult')
31
+ DefaultOu = Shapes::StringShape.new(name: 'DefaultOu')
32
+ DefaultWorkspaceCreationProperties = Shapes::StructureShape.new(name: 'DefaultWorkspaceCreationProperties')
33
+ DeleteTagsRequest = Shapes::StructureShape.new(name: 'DeleteTagsRequest')
34
+ DeleteTagsResult = Shapes::StructureShape.new(name: 'DeleteTagsResult')
35
+ DescribeTagsRequest = Shapes::StructureShape.new(name: 'DescribeTagsRequest')
36
+ DescribeTagsResult = Shapes::StructureShape.new(name: 'DescribeTagsResult')
37
+ DescribeWorkspaceBundlesRequest = Shapes::StructureShape.new(name: 'DescribeWorkspaceBundlesRequest')
38
+ DescribeWorkspaceBundlesResult = Shapes::StructureShape.new(name: 'DescribeWorkspaceBundlesResult')
39
+ DescribeWorkspaceDirectoriesRequest = Shapes::StructureShape.new(name: 'DescribeWorkspaceDirectoriesRequest')
40
+ DescribeWorkspaceDirectoriesResult = Shapes::StructureShape.new(name: 'DescribeWorkspaceDirectoriesResult')
41
+ DescribeWorkspacesConnectionStatusRequest = Shapes::StructureShape.new(name: 'DescribeWorkspacesConnectionStatusRequest')
42
+ DescribeWorkspacesConnectionStatusResult = Shapes::StructureShape.new(name: 'DescribeWorkspacesConnectionStatusResult')
43
+ DescribeWorkspacesRequest = Shapes::StructureShape.new(name: 'DescribeWorkspacesRequest')
44
+ DescribeWorkspacesResult = Shapes::StructureShape.new(name: 'DescribeWorkspacesResult')
45
+ Description = Shapes::StringShape.new(name: 'Description')
46
+ DirectoryId = Shapes::StringShape.new(name: 'DirectoryId')
47
+ DirectoryIdList = Shapes::ListShape.new(name: 'DirectoryIdList')
48
+ DirectoryList = Shapes::ListShape.new(name: 'DirectoryList')
49
+ DirectoryName = Shapes::StringShape.new(name: 'DirectoryName')
50
+ DnsIpAddresses = Shapes::ListShape.new(name: 'DnsIpAddresses')
51
+ ErrorType = Shapes::StringShape.new(name: 'ErrorType')
52
+ ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
53
+ FailedCreateWorkspaceRequest = Shapes::StructureShape.new(name: 'FailedCreateWorkspaceRequest')
54
+ FailedCreateWorkspaceRequests = Shapes::ListShape.new(name: 'FailedCreateWorkspaceRequests')
55
+ FailedRebootWorkspaceRequests = Shapes::ListShape.new(name: 'FailedRebootWorkspaceRequests')
56
+ FailedRebuildWorkspaceRequests = Shapes::ListShape.new(name: 'FailedRebuildWorkspaceRequests')
57
+ FailedStartWorkspaceRequests = Shapes::ListShape.new(name: 'FailedStartWorkspaceRequests')
58
+ FailedStopWorkspaceRequests = Shapes::ListShape.new(name: 'FailedStopWorkspaceRequests')
59
+ FailedTerminateWorkspaceRequests = Shapes::ListShape.new(name: 'FailedTerminateWorkspaceRequests')
60
+ FailedWorkspaceChangeRequest = Shapes::StructureShape.new(name: 'FailedWorkspaceChangeRequest')
61
+ InvalidParameterValuesException = Shapes::StructureShape.new(name: 'InvalidParameterValuesException')
62
+ InvalidResourceStateException = Shapes::StructureShape.new(name: 'InvalidResourceStateException')
63
+ IpAddress = Shapes::StringShape.new(name: 'IpAddress')
64
+ Limit = Shapes::IntegerShape.new(name: 'Limit')
65
+ ModifyWorkspacePropertiesRequest = Shapes::StructureShape.new(name: 'ModifyWorkspacePropertiesRequest')
66
+ ModifyWorkspacePropertiesResult = Shapes::StructureShape.new(name: 'ModifyWorkspacePropertiesResult')
67
+ NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
68
+ OperationInProgressException = Shapes::StructureShape.new(name: 'OperationInProgressException')
69
+ PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
70
+ RebootRequest = Shapes::StructureShape.new(name: 'RebootRequest')
71
+ RebootWorkspaceRequests = Shapes::ListShape.new(name: 'RebootWorkspaceRequests')
72
+ RebootWorkspacesRequest = Shapes::StructureShape.new(name: 'RebootWorkspacesRequest')
73
+ RebootWorkspacesResult = Shapes::StructureShape.new(name: 'RebootWorkspacesResult')
74
+ RebuildRequest = Shapes::StructureShape.new(name: 'RebuildRequest')
75
+ RebuildWorkspaceRequests = Shapes::ListShape.new(name: 'RebuildWorkspaceRequests')
76
+ RebuildWorkspacesRequest = Shapes::StructureShape.new(name: 'RebuildWorkspacesRequest')
77
+ RebuildWorkspacesResult = Shapes::StructureShape.new(name: 'RebuildWorkspacesResult')
78
+ RegistrationCode = Shapes::StringShape.new(name: 'RegistrationCode')
79
+ ResourceLimitExceededException = Shapes::StructureShape.new(name: 'ResourceLimitExceededException')
80
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
81
+ ResourceUnavailableException = Shapes::StructureShape.new(name: 'ResourceUnavailableException')
82
+ RunningMode = Shapes::StringShape.new(name: 'RunningMode')
83
+ RunningModeAutoStopTimeoutInMinutes = Shapes::IntegerShape.new(name: 'RunningModeAutoStopTimeoutInMinutes')
84
+ SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
85
+ StartRequest = Shapes::StructureShape.new(name: 'StartRequest')
86
+ StartWorkspaceRequests = Shapes::ListShape.new(name: 'StartWorkspaceRequests')
87
+ StartWorkspacesRequest = Shapes::StructureShape.new(name: 'StartWorkspacesRequest')
88
+ StartWorkspacesResult = Shapes::StructureShape.new(name: 'StartWorkspacesResult')
89
+ StopRequest = Shapes::StructureShape.new(name: 'StopRequest')
90
+ StopWorkspaceRequests = Shapes::ListShape.new(name: 'StopWorkspaceRequests')
91
+ StopWorkspacesRequest = Shapes::StructureShape.new(name: 'StopWorkspacesRequest')
92
+ StopWorkspacesResult = Shapes::StructureShape.new(name: 'StopWorkspacesResult')
93
+ SubnetId = Shapes::StringShape.new(name: 'SubnetId')
94
+ SubnetIds = Shapes::ListShape.new(name: 'SubnetIds')
95
+ Tag = Shapes::StructureShape.new(name: 'Tag')
96
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
97
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
98
+ TagList = Shapes::ListShape.new(name: 'TagList')
99
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
100
+ TerminateRequest = Shapes::StructureShape.new(name: 'TerminateRequest')
101
+ TerminateWorkspaceRequests = Shapes::ListShape.new(name: 'TerminateWorkspaceRequests')
102
+ TerminateWorkspacesRequest = Shapes::StructureShape.new(name: 'TerminateWorkspacesRequest')
103
+ TerminateWorkspacesResult = Shapes::StructureShape.new(name: 'TerminateWorkspacesResult')
104
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
105
+ UnsupportedWorkspaceConfigurationException = Shapes::StructureShape.new(name: 'UnsupportedWorkspaceConfigurationException')
106
+ UserName = Shapes::StringShape.new(name: 'UserName')
107
+ UserStorage = Shapes::StructureShape.new(name: 'UserStorage')
108
+ VolumeEncryptionKey = Shapes::StringShape.new(name: 'VolumeEncryptionKey')
109
+ Workspace = Shapes::StructureShape.new(name: 'Workspace')
110
+ WorkspaceBundle = Shapes::StructureShape.new(name: 'WorkspaceBundle')
111
+ WorkspaceConnectionStatus = Shapes::StructureShape.new(name: 'WorkspaceConnectionStatus')
112
+ WorkspaceConnectionStatusList = Shapes::ListShape.new(name: 'WorkspaceConnectionStatusList')
113
+ WorkspaceDirectory = Shapes::StructureShape.new(name: 'WorkspaceDirectory')
114
+ WorkspaceDirectoryState = Shapes::StringShape.new(name: 'WorkspaceDirectoryState')
115
+ WorkspaceDirectoryType = Shapes::StringShape.new(name: 'WorkspaceDirectoryType')
116
+ WorkspaceErrorCode = Shapes::StringShape.new(name: 'WorkspaceErrorCode')
117
+ WorkspaceId = Shapes::StringShape.new(name: 'WorkspaceId')
118
+ WorkspaceIdList = Shapes::ListShape.new(name: 'WorkspaceIdList')
119
+ WorkspaceList = Shapes::ListShape.new(name: 'WorkspaceList')
120
+ WorkspaceProperties = Shapes::StructureShape.new(name: 'WorkspaceProperties')
121
+ WorkspaceRequest = Shapes::StructureShape.new(name: 'WorkspaceRequest')
122
+ WorkspaceRequestList = Shapes::ListShape.new(name: 'WorkspaceRequestList')
123
+ WorkspaceState = Shapes::StringShape.new(name: 'WorkspaceState')
124
+
125
+ BundleIdList.member = Shapes::ShapeRef.new(shape: BundleId)
126
+
127
+ BundleList.member = Shapes::ShapeRef.new(shape: WorkspaceBundle)
128
+
129
+ ComputeType.add_member(:name, Shapes::ShapeRef.new(shape: Compute, location_name: "Name"))
130
+ ComputeType.struct_class = Types::ComputeType
131
+
132
+ CreateTagsRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "ResourceId"))
133
+ CreateTagsRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
134
+ CreateTagsRequest.struct_class = Types::CreateTagsRequest
135
+
136
+ CreateTagsResult.struct_class = Types::CreateTagsResult
137
+
138
+ CreateWorkspacesRequest.add_member(:workspaces, Shapes::ShapeRef.new(shape: WorkspaceRequestList, required: true, location_name: "Workspaces"))
139
+ CreateWorkspacesRequest.struct_class = Types::CreateWorkspacesRequest
140
+
141
+ CreateWorkspacesResult.add_member(:failed_requests, Shapes::ShapeRef.new(shape: FailedCreateWorkspaceRequests, location_name: "FailedRequests"))
142
+ CreateWorkspacesResult.add_member(:pending_requests, Shapes::ShapeRef.new(shape: WorkspaceList, location_name: "PendingRequests"))
143
+ CreateWorkspacesResult.struct_class = Types::CreateWorkspacesResult
144
+
145
+ DefaultWorkspaceCreationProperties.add_member(:enable_work_docs, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "EnableWorkDocs"))
146
+ DefaultWorkspaceCreationProperties.add_member(:enable_internet_access, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "EnableInternetAccess"))
147
+ DefaultWorkspaceCreationProperties.add_member(:default_ou, Shapes::ShapeRef.new(shape: DefaultOu, location_name: "DefaultOu"))
148
+ DefaultWorkspaceCreationProperties.add_member(:custom_security_group_id, Shapes::ShapeRef.new(shape: SecurityGroupId, location_name: "CustomSecurityGroupId"))
149
+ DefaultWorkspaceCreationProperties.add_member(:user_enabled_as_local_administrator, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "UserEnabledAsLocalAdministrator"))
150
+ DefaultWorkspaceCreationProperties.struct_class = Types::DefaultWorkspaceCreationProperties
151
+
152
+ DeleteTagsRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "ResourceId"))
153
+ DeleteTagsRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
154
+ DeleteTagsRequest.struct_class = Types::DeleteTagsRequest
155
+
156
+ DeleteTagsResult.struct_class = Types::DeleteTagsResult
157
+
158
+ DescribeTagsRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "ResourceId"))
159
+ DescribeTagsRequest.struct_class = Types::DescribeTagsRequest
160
+
161
+ DescribeTagsResult.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, location_name: "TagList"))
162
+ DescribeTagsResult.struct_class = Types::DescribeTagsResult
163
+
164
+ DescribeWorkspaceBundlesRequest.add_member(:bundle_ids, Shapes::ShapeRef.new(shape: BundleIdList, location_name: "BundleIds"))
165
+ DescribeWorkspaceBundlesRequest.add_member(:owner, Shapes::ShapeRef.new(shape: BundleOwner, location_name: "Owner"))
166
+ DescribeWorkspaceBundlesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
167
+ DescribeWorkspaceBundlesRequest.struct_class = Types::DescribeWorkspaceBundlesRequest
168
+
169
+ DescribeWorkspaceBundlesResult.add_member(:bundles, Shapes::ShapeRef.new(shape: BundleList, location_name: "Bundles"))
170
+ DescribeWorkspaceBundlesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
171
+ DescribeWorkspaceBundlesResult.struct_class = Types::DescribeWorkspaceBundlesResult
172
+
173
+ DescribeWorkspaceDirectoriesRequest.add_member(:directory_ids, Shapes::ShapeRef.new(shape: DirectoryIdList, location_name: "DirectoryIds"))
174
+ DescribeWorkspaceDirectoriesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
175
+ DescribeWorkspaceDirectoriesRequest.struct_class = Types::DescribeWorkspaceDirectoriesRequest
176
+
177
+ DescribeWorkspaceDirectoriesResult.add_member(:directories, Shapes::ShapeRef.new(shape: DirectoryList, location_name: "Directories"))
178
+ DescribeWorkspaceDirectoriesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
179
+ DescribeWorkspaceDirectoriesResult.struct_class = Types::DescribeWorkspaceDirectoriesResult
180
+
181
+ DescribeWorkspacesConnectionStatusRequest.add_member(:workspace_ids, Shapes::ShapeRef.new(shape: WorkspaceIdList, location_name: "WorkspaceIds"))
182
+ DescribeWorkspacesConnectionStatusRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
183
+ DescribeWorkspacesConnectionStatusRequest.struct_class = Types::DescribeWorkspacesConnectionStatusRequest
184
+
185
+ DescribeWorkspacesConnectionStatusResult.add_member(:workspaces_connection_status, Shapes::ShapeRef.new(shape: WorkspaceConnectionStatusList, location_name: "WorkspacesConnectionStatus"))
186
+ DescribeWorkspacesConnectionStatusResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
187
+ DescribeWorkspacesConnectionStatusResult.struct_class = Types::DescribeWorkspacesConnectionStatusResult
188
+
189
+ DescribeWorkspacesRequest.add_member(:workspace_ids, Shapes::ShapeRef.new(shape: WorkspaceIdList, location_name: "WorkspaceIds"))
190
+ DescribeWorkspacesRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
191
+ DescribeWorkspacesRequest.add_member(:user_name, Shapes::ShapeRef.new(shape: UserName, location_name: "UserName"))
192
+ DescribeWorkspacesRequest.add_member(:bundle_id, Shapes::ShapeRef.new(shape: BundleId, location_name: "BundleId"))
193
+ DescribeWorkspacesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: Limit, location_name: "Limit"))
194
+ DescribeWorkspacesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
195
+ DescribeWorkspacesRequest.struct_class = Types::DescribeWorkspacesRequest
196
+
197
+ DescribeWorkspacesResult.add_member(:workspaces, Shapes::ShapeRef.new(shape: WorkspaceList, location_name: "Workspaces"))
198
+ DescribeWorkspacesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
199
+ DescribeWorkspacesResult.struct_class = Types::DescribeWorkspacesResult
200
+
201
+ DirectoryIdList.member = Shapes::ShapeRef.new(shape: DirectoryId)
202
+
203
+ DirectoryList.member = Shapes::ShapeRef.new(shape: WorkspaceDirectory)
204
+
205
+ DnsIpAddresses.member = Shapes::ShapeRef.new(shape: IpAddress)
206
+
207
+ FailedCreateWorkspaceRequest.add_member(:workspace_request, Shapes::ShapeRef.new(shape: WorkspaceRequest, location_name: "WorkspaceRequest"))
208
+ FailedCreateWorkspaceRequest.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorType, location_name: "ErrorCode"))
209
+ FailedCreateWorkspaceRequest.add_member(:error_message, Shapes::ShapeRef.new(shape: Description, location_name: "ErrorMessage"))
210
+ FailedCreateWorkspaceRequest.struct_class = Types::FailedCreateWorkspaceRequest
211
+
212
+ FailedCreateWorkspaceRequests.member = Shapes::ShapeRef.new(shape: FailedCreateWorkspaceRequest)
213
+
214
+ FailedRebootWorkspaceRequests.member = Shapes::ShapeRef.new(shape: FailedWorkspaceChangeRequest)
215
+
216
+ FailedRebuildWorkspaceRequests.member = Shapes::ShapeRef.new(shape: FailedWorkspaceChangeRequest)
217
+
218
+ FailedStartWorkspaceRequests.member = Shapes::ShapeRef.new(shape: FailedWorkspaceChangeRequest)
219
+
220
+ FailedStopWorkspaceRequests.member = Shapes::ShapeRef.new(shape: FailedWorkspaceChangeRequest)
221
+
222
+ FailedTerminateWorkspaceRequests.member = Shapes::ShapeRef.new(shape: FailedWorkspaceChangeRequest)
223
+
224
+ FailedWorkspaceChangeRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, location_name: "WorkspaceId"))
225
+ FailedWorkspaceChangeRequest.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorType, location_name: "ErrorCode"))
226
+ FailedWorkspaceChangeRequest.add_member(:error_message, Shapes::ShapeRef.new(shape: Description, location_name: "ErrorMessage"))
227
+ FailedWorkspaceChangeRequest.struct_class = Types::FailedWorkspaceChangeRequest
228
+
229
+ ModifyWorkspacePropertiesRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "WorkspaceId"))
230
+ ModifyWorkspacePropertiesRequest.add_member(:workspace_properties, Shapes::ShapeRef.new(shape: WorkspaceProperties, required: true, location_name: "WorkspaceProperties"))
231
+ ModifyWorkspacePropertiesRequest.struct_class = Types::ModifyWorkspacePropertiesRequest
232
+
233
+ ModifyWorkspacePropertiesResult.struct_class = Types::ModifyWorkspacePropertiesResult
234
+
235
+ RebootRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "WorkspaceId"))
236
+ RebootRequest.struct_class = Types::RebootRequest
237
+
238
+ RebootWorkspaceRequests.member = Shapes::ShapeRef.new(shape: RebootRequest)
239
+
240
+ RebootWorkspacesRequest.add_member(:reboot_workspace_requests, Shapes::ShapeRef.new(shape: RebootWorkspaceRequests, required: true, location_name: "RebootWorkspaceRequests"))
241
+ RebootWorkspacesRequest.struct_class = Types::RebootWorkspacesRequest
242
+
243
+ RebootWorkspacesResult.add_member(:failed_requests, Shapes::ShapeRef.new(shape: FailedRebootWorkspaceRequests, location_name: "FailedRequests"))
244
+ RebootWorkspacesResult.struct_class = Types::RebootWorkspacesResult
245
+
246
+ RebuildRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "WorkspaceId"))
247
+ RebuildRequest.struct_class = Types::RebuildRequest
248
+
249
+ RebuildWorkspaceRequests.member = Shapes::ShapeRef.new(shape: RebuildRequest)
250
+
251
+ RebuildWorkspacesRequest.add_member(:rebuild_workspace_requests, Shapes::ShapeRef.new(shape: RebuildWorkspaceRequests, required: true, location_name: "RebuildWorkspaceRequests"))
252
+ RebuildWorkspacesRequest.struct_class = Types::RebuildWorkspacesRequest
253
+
254
+ RebuildWorkspacesResult.add_member(:failed_requests, Shapes::ShapeRef.new(shape: FailedRebuildWorkspaceRequests, location_name: "FailedRequests"))
255
+ RebuildWorkspacesResult.struct_class = Types::RebuildWorkspacesResult
256
+
257
+ StartRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, location_name: "WorkspaceId"))
258
+ StartRequest.struct_class = Types::StartRequest
259
+
260
+ StartWorkspaceRequests.member = Shapes::ShapeRef.new(shape: StartRequest)
261
+
262
+ StartWorkspacesRequest.add_member(:start_workspace_requests, Shapes::ShapeRef.new(shape: StartWorkspaceRequests, required: true, location_name: "StartWorkspaceRequests"))
263
+ StartWorkspacesRequest.struct_class = Types::StartWorkspacesRequest
264
+
265
+ StartWorkspacesResult.add_member(:failed_requests, Shapes::ShapeRef.new(shape: FailedStartWorkspaceRequests, location_name: "FailedRequests"))
266
+ StartWorkspacesResult.struct_class = Types::StartWorkspacesResult
267
+
268
+ StopRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, location_name: "WorkspaceId"))
269
+ StopRequest.struct_class = Types::StopRequest
270
+
271
+ StopWorkspaceRequests.member = Shapes::ShapeRef.new(shape: StopRequest)
272
+
273
+ StopWorkspacesRequest.add_member(:stop_workspace_requests, Shapes::ShapeRef.new(shape: StopWorkspaceRequests, required: true, location_name: "StopWorkspaceRequests"))
274
+ StopWorkspacesRequest.struct_class = Types::StopWorkspacesRequest
275
+
276
+ StopWorkspacesResult.add_member(:failed_requests, Shapes::ShapeRef.new(shape: FailedStopWorkspaceRequests, location_name: "FailedRequests"))
277
+ StopWorkspacesResult.struct_class = Types::StopWorkspacesResult
278
+
279
+ SubnetIds.member = Shapes::ShapeRef.new(shape: SubnetId)
280
+
281
+ Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
282
+ Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "Value"))
283
+ Tag.struct_class = Types::Tag
284
+
285
+ TagKeyList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
286
+
287
+ TagList.member = Shapes::ShapeRef.new(shape: Tag)
288
+
289
+ TerminateRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "WorkspaceId"))
290
+ TerminateRequest.struct_class = Types::TerminateRequest
291
+
292
+ TerminateWorkspaceRequests.member = Shapes::ShapeRef.new(shape: TerminateRequest)
293
+
294
+ TerminateWorkspacesRequest.add_member(:terminate_workspace_requests, Shapes::ShapeRef.new(shape: TerminateWorkspaceRequests, required: true, location_name: "TerminateWorkspaceRequests"))
295
+ TerminateWorkspacesRequest.struct_class = Types::TerminateWorkspacesRequest
296
+
297
+ TerminateWorkspacesResult.add_member(:failed_requests, Shapes::ShapeRef.new(shape: FailedTerminateWorkspaceRequests, location_name: "FailedRequests"))
298
+ TerminateWorkspacesResult.struct_class = Types::TerminateWorkspacesResult
299
+
300
+ UserStorage.add_member(:capacity, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Capacity"))
301
+ UserStorage.struct_class = Types::UserStorage
302
+
303
+ Workspace.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, location_name: "WorkspaceId"))
304
+ Workspace.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
305
+ Workspace.add_member(:user_name, Shapes::ShapeRef.new(shape: UserName, location_name: "UserName"))
306
+ Workspace.add_member(:ip_address, Shapes::ShapeRef.new(shape: IpAddress, location_name: "IpAddress"))
307
+ Workspace.add_member(:state, Shapes::ShapeRef.new(shape: WorkspaceState, location_name: "State"))
308
+ Workspace.add_member(:bundle_id, Shapes::ShapeRef.new(shape: BundleId, location_name: "BundleId"))
309
+ Workspace.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, location_name: "SubnetId"))
310
+ Workspace.add_member(:error_message, Shapes::ShapeRef.new(shape: Description, location_name: "ErrorMessage"))
311
+ Workspace.add_member(:error_code, Shapes::ShapeRef.new(shape: WorkspaceErrorCode, location_name: "ErrorCode"))
312
+ Workspace.add_member(:computer_name, Shapes::ShapeRef.new(shape: ComputerName, location_name: "ComputerName"))
313
+ Workspace.add_member(:volume_encryption_key, Shapes::ShapeRef.new(shape: VolumeEncryptionKey, location_name: "VolumeEncryptionKey"))
314
+ Workspace.add_member(:user_volume_encryption_enabled, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "UserVolumeEncryptionEnabled"))
315
+ Workspace.add_member(:root_volume_encryption_enabled, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "RootVolumeEncryptionEnabled"))
316
+ Workspace.add_member(:workspace_properties, Shapes::ShapeRef.new(shape: WorkspaceProperties, location_name: "WorkspaceProperties"))
317
+ Workspace.struct_class = Types::Workspace
318
+
319
+ WorkspaceBundle.add_member(:bundle_id, Shapes::ShapeRef.new(shape: BundleId, location_name: "BundleId"))
320
+ WorkspaceBundle.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Name"))
321
+ WorkspaceBundle.add_member(:owner, Shapes::ShapeRef.new(shape: BundleOwner, location_name: "Owner"))
322
+ WorkspaceBundle.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
323
+ WorkspaceBundle.add_member(:user_storage, Shapes::ShapeRef.new(shape: UserStorage, location_name: "UserStorage"))
324
+ WorkspaceBundle.add_member(:compute_type, Shapes::ShapeRef.new(shape: ComputeType, location_name: "ComputeType"))
325
+ WorkspaceBundle.struct_class = Types::WorkspaceBundle
326
+
327
+ WorkspaceConnectionStatus.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, location_name: "WorkspaceId"))
328
+ WorkspaceConnectionStatus.add_member(:connection_state, Shapes::ShapeRef.new(shape: ConnectionState, location_name: "ConnectionState"))
329
+ WorkspaceConnectionStatus.add_member(:connection_state_check_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ConnectionStateCheckTimestamp"))
330
+ WorkspaceConnectionStatus.add_member(:last_known_user_connection_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastKnownUserConnectionTimestamp"))
331
+ WorkspaceConnectionStatus.struct_class = Types::WorkspaceConnectionStatus
332
+
333
+ WorkspaceConnectionStatusList.member = Shapes::ShapeRef.new(shape: WorkspaceConnectionStatus)
334
+
335
+ WorkspaceDirectory.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
336
+ WorkspaceDirectory.add_member(:alias, Shapes::ShapeRef.new(shape: Alias, location_name: "Alias"))
337
+ WorkspaceDirectory.add_member(:directory_name, Shapes::ShapeRef.new(shape: DirectoryName, location_name: "DirectoryName"))
338
+ WorkspaceDirectory.add_member(:registration_code, Shapes::ShapeRef.new(shape: RegistrationCode, location_name: "RegistrationCode"))
339
+ WorkspaceDirectory.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, location_name: "SubnetIds"))
340
+ WorkspaceDirectory.add_member(:dns_ip_addresses, Shapes::ShapeRef.new(shape: DnsIpAddresses, location_name: "DnsIpAddresses"))
341
+ WorkspaceDirectory.add_member(:customer_user_name, Shapes::ShapeRef.new(shape: UserName, location_name: "CustomerUserName"))
342
+ WorkspaceDirectory.add_member(:iam_role_id, Shapes::ShapeRef.new(shape: ARN, location_name: "IamRoleId"))
343
+ WorkspaceDirectory.add_member(:directory_type, Shapes::ShapeRef.new(shape: WorkspaceDirectoryType, location_name: "DirectoryType"))
344
+ WorkspaceDirectory.add_member(:workspace_security_group_id, Shapes::ShapeRef.new(shape: SecurityGroupId, location_name: "WorkspaceSecurityGroupId"))
345
+ WorkspaceDirectory.add_member(:state, Shapes::ShapeRef.new(shape: WorkspaceDirectoryState, location_name: "State"))
346
+ WorkspaceDirectory.add_member(:workspace_creation_properties, Shapes::ShapeRef.new(shape: DefaultWorkspaceCreationProperties, location_name: "WorkspaceCreationProperties"))
347
+ WorkspaceDirectory.struct_class = Types::WorkspaceDirectory
348
+
349
+ WorkspaceIdList.member = Shapes::ShapeRef.new(shape: WorkspaceId)
350
+
351
+ WorkspaceList.member = Shapes::ShapeRef.new(shape: Workspace)
352
+
353
+ WorkspaceProperties.add_member(:running_mode, Shapes::ShapeRef.new(shape: RunningMode, location_name: "RunningMode"))
354
+ WorkspaceProperties.add_member(:running_mode_auto_stop_timeout_in_minutes, Shapes::ShapeRef.new(shape: RunningModeAutoStopTimeoutInMinutes, location_name: "RunningModeAutoStopTimeoutInMinutes"))
355
+ WorkspaceProperties.struct_class = Types::WorkspaceProperties
356
+
357
+ WorkspaceRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
358
+ WorkspaceRequest.add_member(:user_name, Shapes::ShapeRef.new(shape: UserName, required: true, location_name: "UserName"))
359
+ WorkspaceRequest.add_member(:bundle_id, Shapes::ShapeRef.new(shape: BundleId, required: true, location_name: "BundleId"))
360
+ WorkspaceRequest.add_member(:volume_encryption_key, Shapes::ShapeRef.new(shape: VolumeEncryptionKey, location_name: "VolumeEncryptionKey"))
361
+ WorkspaceRequest.add_member(:user_volume_encryption_enabled, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "UserVolumeEncryptionEnabled"))
362
+ WorkspaceRequest.add_member(:root_volume_encryption_enabled, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "RootVolumeEncryptionEnabled"))
363
+ WorkspaceRequest.add_member(:workspace_properties, Shapes::ShapeRef.new(shape: WorkspaceProperties, location_name: "WorkspaceProperties"))
364
+ WorkspaceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
365
+ WorkspaceRequest.struct_class = Types::WorkspaceRequest
366
+
367
+ WorkspaceRequestList.member = Shapes::ShapeRef.new(shape: WorkspaceRequest)
368
+
369
+
370
+ # @api private
371
+ API = Seahorse::Model::Api.new.tap do |api|
372
+
373
+ api.version = "2015-04-08"
374
+
375
+ api.metadata = {
376
+ "endpointPrefix" => "workspaces",
377
+ "jsonVersion" => "1.1",
378
+ "protocol" => "json",
379
+ "serviceFullName" => "Amazon WorkSpaces",
380
+ "signatureVersion" => "v4",
381
+ "targetPrefix" => "WorkspacesService",
382
+ }
383
+
384
+ api.add_operation(:create_tags, Seahorse::Model::Operation.new.tap do |o|
385
+ o.name = "CreateTags"
386
+ o.http_method = "POST"
387
+ o.http_request_uri = "/"
388
+ o.input = Shapes::ShapeRef.new(shape: CreateTagsRequest)
389
+ o.output = Shapes::ShapeRef.new(shape: CreateTagsResult)
390
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
391
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
392
+ o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
393
+ end)
394
+
395
+ api.add_operation(:create_workspaces, Seahorse::Model::Operation.new.tap do |o|
396
+ o.name = "CreateWorkspaces"
397
+ o.http_method = "POST"
398
+ o.http_request_uri = "/"
399
+ o.input = Shapes::ShapeRef.new(shape: CreateWorkspacesRequest)
400
+ o.output = Shapes::ShapeRef.new(shape: CreateWorkspacesResult)
401
+ o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
402
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
403
+ end)
404
+
405
+ api.add_operation(:delete_tags, Seahorse::Model::Operation.new.tap do |o|
406
+ o.name = "DeleteTags"
407
+ o.http_method = "POST"
408
+ o.http_request_uri = "/"
409
+ o.input = Shapes::ShapeRef.new(shape: DeleteTagsRequest)
410
+ o.output = Shapes::ShapeRef.new(shape: DeleteTagsResult)
411
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
412
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
413
+ end)
414
+
415
+ api.add_operation(:describe_tags, Seahorse::Model::Operation.new.tap do |o|
416
+ o.name = "DescribeTags"
417
+ o.http_method = "POST"
418
+ o.http_request_uri = "/"
419
+ o.input = Shapes::ShapeRef.new(shape: DescribeTagsRequest)
420
+ o.output = Shapes::ShapeRef.new(shape: DescribeTagsResult)
421
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
422
+ end)
423
+
424
+ api.add_operation(:describe_workspace_bundles, Seahorse::Model::Operation.new.tap do |o|
425
+ o.name = "DescribeWorkspaceBundles"
426
+ o.http_method = "POST"
427
+ o.http_request_uri = "/"
428
+ o.input = Shapes::ShapeRef.new(shape: DescribeWorkspaceBundlesRequest)
429
+ o.output = Shapes::ShapeRef.new(shape: DescribeWorkspaceBundlesResult)
430
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
431
+ o[:pager] = Aws::Pager.new(
432
+ tokens: {
433
+ "next_token" => "next_token"
434
+ }
435
+ )
436
+ end)
437
+
438
+ api.add_operation(:describe_workspace_directories, Seahorse::Model::Operation.new.tap do |o|
439
+ o.name = "DescribeWorkspaceDirectories"
440
+ o.http_method = "POST"
441
+ o.http_request_uri = "/"
442
+ o.input = Shapes::ShapeRef.new(shape: DescribeWorkspaceDirectoriesRequest)
443
+ o.output = Shapes::ShapeRef.new(shape: DescribeWorkspaceDirectoriesResult)
444
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
445
+ o[:pager] = Aws::Pager.new(
446
+ tokens: {
447
+ "next_token" => "next_token"
448
+ }
449
+ )
450
+ end)
451
+
452
+ api.add_operation(:describe_workspaces, Seahorse::Model::Operation.new.tap do |o|
453
+ o.name = "DescribeWorkspaces"
454
+ o.http_method = "POST"
455
+ o.http_request_uri = "/"
456
+ o.input = Shapes::ShapeRef.new(shape: DescribeWorkspacesRequest)
457
+ o.output = Shapes::ShapeRef.new(shape: DescribeWorkspacesResult)
458
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
459
+ o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
460
+ o[:pager] = Aws::Pager.new(
461
+ limit_key: "limit",
462
+ tokens: {
463
+ "next_token" => "next_token"
464
+ }
465
+ )
466
+ end)
467
+
468
+ api.add_operation(:describe_workspaces_connection_status, Seahorse::Model::Operation.new.tap do |o|
469
+ o.name = "DescribeWorkspacesConnectionStatus"
470
+ o.http_method = "POST"
471
+ o.http_request_uri = "/"
472
+ o.input = Shapes::ShapeRef.new(shape: DescribeWorkspacesConnectionStatusRequest)
473
+ o.output = Shapes::ShapeRef.new(shape: DescribeWorkspacesConnectionStatusResult)
474
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
475
+ end)
476
+
477
+ api.add_operation(:modify_workspace_properties, Seahorse::Model::Operation.new.tap do |o|
478
+ o.name = "ModifyWorkspaceProperties"
479
+ o.http_method = "POST"
480
+ o.http_request_uri = "/"
481
+ o.input = Shapes::ShapeRef.new(shape: ModifyWorkspacePropertiesRequest)
482
+ o.output = Shapes::ShapeRef.new(shape: ModifyWorkspacePropertiesResult)
483
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
484
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateException)
485
+ o.errors << Shapes::ShapeRef.new(shape: OperationInProgressException)
486
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedWorkspaceConfigurationException)
487
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
488
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
489
+ o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
490
+ end)
491
+
492
+ api.add_operation(:reboot_workspaces, Seahorse::Model::Operation.new.tap do |o|
493
+ o.name = "RebootWorkspaces"
494
+ o.http_method = "POST"
495
+ o.http_request_uri = "/"
496
+ o.input = Shapes::ShapeRef.new(shape: RebootWorkspacesRequest)
497
+ o.output = Shapes::ShapeRef.new(shape: RebootWorkspacesResult)
498
+ end)
499
+
500
+ api.add_operation(:rebuild_workspaces, Seahorse::Model::Operation.new.tap do |o|
501
+ o.name = "RebuildWorkspaces"
502
+ o.http_method = "POST"
503
+ o.http_request_uri = "/"
504
+ o.input = Shapes::ShapeRef.new(shape: RebuildWorkspacesRequest)
505
+ o.output = Shapes::ShapeRef.new(shape: RebuildWorkspacesResult)
506
+ end)
507
+
508
+ api.add_operation(:start_workspaces, Seahorse::Model::Operation.new.tap do |o|
509
+ o.name = "StartWorkspaces"
510
+ o.http_method = "POST"
511
+ o.http_request_uri = "/"
512
+ o.input = Shapes::ShapeRef.new(shape: StartWorkspacesRequest)
513
+ o.output = Shapes::ShapeRef.new(shape: StartWorkspacesResult)
514
+ end)
515
+
516
+ api.add_operation(:stop_workspaces, Seahorse::Model::Operation.new.tap do |o|
517
+ o.name = "StopWorkspaces"
518
+ o.http_method = "POST"
519
+ o.http_request_uri = "/"
520
+ o.input = Shapes::ShapeRef.new(shape: StopWorkspacesRequest)
521
+ o.output = Shapes::ShapeRef.new(shape: StopWorkspacesResult)
522
+ end)
523
+
524
+ api.add_operation(:terminate_workspaces, Seahorse::Model::Operation.new.tap do |o|
525
+ o.name = "TerminateWorkspaces"
526
+ o.http_method = "POST"
527
+ o.http_request_uri = "/"
528
+ o.input = Shapes::ShapeRef.new(shape: TerminateWorkspacesRequest)
529
+ o.output = Shapes::ShapeRef.new(shape: TerminateWorkspacesResult)
530
+ end)
531
+ end
532
+
533
+ end
534
+ end
535
+ end