aws-sdk-appstream 1.0.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,522 @@
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 AppStream
10
+ # @api private
11
+ module ClientApi
12
+
13
+ include Seahorse::Model
14
+
15
+ Application = Shapes::StructureShape.new(name: 'Application')
16
+ Applications = Shapes::ListShape.new(name: 'Applications')
17
+ Arn = Shapes::StringShape.new(name: 'Arn')
18
+ AssociateFleetRequest = Shapes::StructureShape.new(name: 'AssociateFleetRequest')
19
+ AssociateFleetResult = Shapes::StructureShape.new(name: 'AssociateFleetResult')
20
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
21
+ ComputeCapacity = Shapes::StructureShape.new(name: 'ComputeCapacity')
22
+ ComputeCapacityStatus = Shapes::StructureShape.new(name: 'ComputeCapacityStatus')
23
+ CreateFleetRequest = Shapes::StructureShape.new(name: 'CreateFleetRequest')
24
+ CreateFleetResult = Shapes::StructureShape.new(name: 'CreateFleetResult')
25
+ CreateStackRequest = Shapes::StructureShape.new(name: 'CreateStackRequest')
26
+ CreateStackResult = Shapes::StructureShape.new(name: 'CreateStackResult')
27
+ CreateStreamingURLRequest = Shapes::StructureShape.new(name: 'CreateStreamingURLRequest')
28
+ CreateStreamingURLResult = Shapes::StructureShape.new(name: 'CreateStreamingURLResult')
29
+ DeleteFleetRequest = Shapes::StructureShape.new(name: 'DeleteFleetRequest')
30
+ DeleteFleetResult = Shapes::StructureShape.new(name: 'DeleteFleetResult')
31
+ DeleteStackRequest = Shapes::StructureShape.new(name: 'DeleteStackRequest')
32
+ DeleteStackResult = Shapes::StructureShape.new(name: 'DeleteStackResult')
33
+ DescribeFleetsRequest = Shapes::StructureShape.new(name: 'DescribeFleetsRequest')
34
+ DescribeFleetsResult = Shapes::StructureShape.new(name: 'DescribeFleetsResult')
35
+ DescribeImagesRequest = Shapes::StructureShape.new(name: 'DescribeImagesRequest')
36
+ DescribeImagesResult = Shapes::StructureShape.new(name: 'DescribeImagesResult')
37
+ DescribeSessionsRequest = Shapes::StructureShape.new(name: 'DescribeSessionsRequest')
38
+ DescribeSessionsResult = Shapes::StructureShape.new(name: 'DescribeSessionsResult')
39
+ DescribeStacksRequest = Shapes::StructureShape.new(name: 'DescribeStacksRequest')
40
+ DescribeStacksResult = Shapes::StructureShape.new(name: 'DescribeStacksResult')
41
+ Description = Shapes::StringShape.new(name: 'Description')
42
+ DisassociateFleetRequest = Shapes::StructureShape.new(name: 'DisassociateFleetRequest')
43
+ DisassociateFleetResult = Shapes::StructureShape.new(name: 'DisassociateFleetResult')
44
+ DisplayName = Shapes::StringShape.new(name: 'DisplayName')
45
+ ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
46
+ ExpireSessionRequest = Shapes::StructureShape.new(name: 'ExpireSessionRequest')
47
+ ExpireSessionResult = Shapes::StructureShape.new(name: 'ExpireSessionResult')
48
+ Fleet = Shapes::StructureShape.new(name: 'Fleet')
49
+ FleetError = Shapes::StructureShape.new(name: 'FleetError')
50
+ FleetErrorCode = Shapes::StringShape.new(name: 'FleetErrorCode')
51
+ FleetErrors = Shapes::ListShape.new(name: 'FleetErrors')
52
+ FleetList = Shapes::ListShape.new(name: 'FleetList')
53
+ FleetState = Shapes::StringShape.new(name: 'FleetState')
54
+ Image = Shapes::StructureShape.new(name: 'Image')
55
+ ImageList = Shapes::ListShape.new(name: 'ImageList')
56
+ ImageState = Shapes::StringShape.new(name: 'ImageState')
57
+ ImageStateChangeReason = Shapes::StructureShape.new(name: 'ImageStateChangeReason')
58
+ ImageStateChangeReasonCode = Shapes::StringShape.new(name: 'ImageStateChangeReasonCode')
59
+ Integer = Shapes::IntegerShape.new(name: 'Integer')
60
+ InvalidRoleException = Shapes::StructureShape.new(name: 'InvalidRoleException')
61
+ LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
62
+ ListAssociatedFleetsRequest = Shapes::StructureShape.new(name: 'ListAssociatedFleetsRequest')
63
+ ListAssociatedFleetsResult = Shapes::StructureShape.new(name: 'ListAssociatedFleetsResult')
64
+ ListAssociatedStacksRequest = Shapes::StructureShape.new(name: 'ListAssociatedStacksRequest')
65
+ ListAssociatedStacksResult = Shapes::StructureShape.new(name: 'ListAssociatedStacksResult')
66
+ Long = Shapes::IntegerShape.new(name: 'Long')
67
+ Metadata = Shapes::MapShape.new(name: 'Metadata')
68
+ Name = Shapes::StringShape.new(name: 'Name')
69
+ OperationNotPermittedException = Shapes::StructureShape.new(name: 'OperationNotPermittedException')
70
+ PlatformType = Shapes::StringShape.new(name: 'PlatformType')
71
+ ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
72
+ ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
73
+ ResourceNotAvailableException = Shapes::StructureShape.new(name: 'ResourceNotAvailableException')
74
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
75
+ Session = Shapes::StructureShape.new(name: 'Session')
76
+ SessionList = Shapes::ListShape.new(name: 'SessionList')
77
+ SessionState = Shapes::StringShape.new(name: 'SessionState')
78
+ Stack = Shapes::StructureShape.new(name: 'Stack')
79
+ StackList = Shapes::ListShape.new(name: 'StackList')
80
+ StartFleetRequest = Shapes::StructureShape.new(name: 'StartFleetRequest')
81
+ StartFleetResult = Shapes::StructureShape.new(name: 'StartFleetResult')
82
+ StopFleetRequest = Shapes::StructureShape.new(name: 'StopFleetRequest')
83
+ StopFleetResult = Shapes::StructureShape.new(name: 'StopFleetResult')
84
+ String = Shapes::StringShape.new(name: 'String')
85
+ StringList = Shapes::ListShape.new(name: 'StringList')
86
+ SubnetIdList = Shapes::ListShape.new(name: 'SubnetIdList')
87
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
88
+ UpdateFleetRequest = Shapes::StructureShape.new(name: 'UpdateFleetRequest')
89
+ UpdateFleetResult = Shapes::StructureShape.new(name: 'UpdateFleetResult')
90
+ UpdateStackRequest = Shapes::StructureShape.new(name: 'UpdateStackRequest')
91
+ UpdateStackResult = Shapes::StructureShape.new(name: 'UpdateStackResult')
92
+ UserId = Shapes::StringShape.new(name: 'UserId')
93
+ VisibilityType = Shapes::StringShape.new(name: 'VisibilityType')
94
+ VpcConfig = Shapes::StructureShape.new(name: 'VpcConfig')
95
+
96
+ Application.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
97
+ Application.add_member(:display_name, Shapes::ShapeRef.new(shape: String, location_name: "DisplayName"))
98
+ Application.add_member(:icon_url, Shapes::ShapeRef.new(shape: String, location_name: "IconURL"))
99
+ Application.add_member(:launch_path, Shapes::ShapeRef.new(shape: String, location_name: "LaunchPath"))
100
+ Application.add_member(:launch_parameters, Shapes::ShapeRef.new(shape: String, location_name: "LaunchParameters"))
101
+ Application.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
102
+ Application.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "Metadata"))
103
+ Application.struct_class = Types::Application
104
+
105
+ Applications.member = Shapes::ShapeRef.new(shape: Application)
106
+
107
+ AssociateFleetRequest.add_member(:fleet_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "FleetName"))
108
+ AssociateFleetRequest.add_member(:stack_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "StackName"))
109
+ AssociateFleetRequest.struct_class = Types::AssociateFleetRequest
110
+
111
+ AssociateFleetResult.struct_class = Types::AssociateFleetResult
112
+
113
+ ComputeCapacity.add_member(:desired_instances, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "DesiredInstances"))
114
+ ComputeCapacity.struct_class = Types::ComputeCapacity
115
+
116
+ ComputeCapacityStatus.add_member(:desired, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "Desired"))
117
+ ComputeCapacityStatus.add_member(:running, Shapes::ShapeRef.new(shape: Integer, location_name: "Running"))
118
+ ComputeCapacityStatus.add_member(:in_use, Shapes::ShapeRef.new(shape: Integer, location_name: "InUse"))
119
+ ComputeCapacityStatus.add_member(:available, Shapes::ShapeRef.new(shape: Integer, location_name: "Available"))
120
+ ComputeCapacityStatus.struct_class = Types::ComputeCapacityStatus
121
+
122
+ CreateFleetRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
123
+ CreateFleetRequest.add_member(:image_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ImageName"))
124
+ CreateFleetRequest.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "InstanceType"))
125
+ CreateFleetRequest.add_member(:compute_capacity, Shapes::ShapeRef.new(shape: ComputeCapacity, required: true, location_name: "ComputeCapacity"))
126
+ CreateFleetRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
127
+ CreateFleetRequest.add_member(:max_user_duration_in_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxUserDurationInSeconds"))
128
+ CreateFleetRequest.add_member(:disconnect_timeout_in_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "DisconnectTimeoutInSeconds"))
129
+ CreateFleetRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
130
+ CreateFleetRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName"))
131
+ CreateFleetRequest.struct_class = Types::CreateFleetRequest
132
+
133
+ CreateFleetResult.add_member(:fleet, Shapes::ShapeRef.new(shape: Fleet, location_name: "Fleet"))
134
+ CreateFleetResult.struct_class = Types::CreateFleetResult
135
+
136
+ CreateStackRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
137
+ CreateStackRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
138
+ CreateStackRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName"))
139
+ CreateStackRequest.struct_class = Types::CreateStackRequest
140
+
141
+ CreateStackResult.add_member(:stack, Shapes::ShapeRef.new(shape: Stack, location_name: "Stack"))
142
+ CreateStackResult.struct_class = Types::CreateStackResult
143
+
144
+ CreateStreamingURLRequest.add_member(:stack_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "StackName"))
145
+ CreateStreamingURLRequest.add_member(:fleet_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "FleetName"))
146
+ CreateStreamingURLRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location_name: "UserId"))
147
+ CreateStreamingURLRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: String, location_name: "ApplicationId"))
148
+ CreateStreamingURLRequest.add_member(:validity, Shapes::ShapeRef.new(shape: Long, location_name: "Validity"))
149
+ CreateStreamingURLRequest.add_member(:session_context, Shapes::ShapeRef.new(shape: String, location_name: "SessionContext"))
150
+ CreateStreamingURLRequest.struct_class = Types::CreateStreamingURLRequest
151
+
152
+ CreateStreamingURLResult.add_member(:streaming_url, Shapes::ShapeRef.new(shape: String, location_name: "StreamingURL"))
153
+ CreateStreamingURLResult.add_member(:expires, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Expires"))
154
+ CreateStreamingURLResult.struct_class = Types::CreateStreamingURLResult
155
+
156
+ DeleteFleetRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
157
+ DeleteFleetRequest.struct_class = Types::DeleteFleetRequest
158
+
159
+ DeleteFleetResult.struct_class = Types::DeleteFleetResult
160
+
161
+ DeleteStackRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
162
+ DeleteStackRequest.struct_class = Types::DeleteStackRequest
163
+
164
+ DeleteStackResult.struct_class = Types::DeleteStackResult
165
+
166
+ DescribeFleetsRequest.add_member(:names, Shapes::ShapeRef.new(shape: StringList, location_name: "Names"))
167
+ DescribeFleetsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
168
+ DescribeFleetsRequest.struct_class = Types::DescribeFleetsRequest
169
+
170
+ DescribeFleetsResult.add_member(:fleets, Shapes::ShapeRef.new(shape: FleetList, location_name: "Fleets"))
171
+ DescribeFleetsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
172
+ DescribeFleetsResult.struct_class = Types::DescribeFleetsResult
173
+
174
+ DescribeImagesRequest.add_member(:names, Shapes::ShapeRef.new(shape: StringList, location_name: "Names"))
175
+ DescribeImagesRequest.struct_class = Types::DescribeImagesRequest
176
+
177
+ DescribeImagesResult.add_member(:images, Shapes::ShapeRef.new(shape: ImageList, location_name: "Images"))
178
+ DescribeImagesResult.struct_class = Types::DescribeImagesResult
179
+
180
+ DescribeSessionsRequest.add_member(:stack_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "StackName"))
181
+ DescribeSessionsRequest.add_member(:fleet_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "FleetName"))
182
+ DescribeSessionsRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, location_name: "UserId"))
183
+ DescribeSessionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
184
+ DescribeSessionsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: Integer, location_name: "Limit"))
185
+ DescribeSessionsRequest.struct_class = Types::DescribeSessionsRequest
186
+
187
+ DescribeSessionsResult.add_member(:sessions, Shapes::ShapeRef.new(shape: SessionList, location_name: "Sessions"))
188
+ DescribeSessionsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
189
+ DescribeSessionsResult.struct_class = Types::DescribeSessionsResult
190
+
191
+ DescribeStacksRequest.add_member(:names, Shapes::ShapeRef.new(shape: StringList, location_name: "Names"))
192
+ DescribeStacksRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
193
+ DescribeStacksRequest.struct_class = Types::DescribeStacksRequest
194
+
195
+ DescribeStacksResult.add_member(:stacks, Shapes::ShapeRef.new(shape: StackList, location_name: "Stacks"))
196
+ DescribeStacksResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
197
+ DescribeStacksResult.struct_class = Types::DescribeStacksResult
198
+
199
+ DisassociateFleetRequest.add_member(:fleet_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "FleetName"))
200
+ DisassociateFleetRequest.add_member(:stack_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "StackName"))
201
+ DisassociateFleetRequest.struct_class = Types::DisassociateFleetRequest
202
+
203
+ DisassociateFleetResult.struct_class = Types::DisassociateFleetResult
204
+
205
+ ExpireSessionRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SessionId"))
206
+ ExpireSessionRequest.struct_class = Types::ExpireSessionRequest
207
+
208
+ ExpireSessionResult.struct_class = Types::ExpireSessionResult
209
+
210
+ Fleet.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
211
+ Fleet.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
212
+ Fleet.add_member(:display_name, Shapes::ShapeRef.new(shape: String, location_name: "DisplayName"))
213
+ Fleet.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
214
+ Fleet.add_member(:image_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ImageName"))
215
+ Fleet.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "InstanceType"))
216
+ Fleet.add_member(:compute_capacity_status, Shapes::ShapeRef.new(shape: ComputeCapacityStatus, required: true, location_name: "ComputeCapacityStatus"))
217
+ Fleet.add_member(:max_user_duration_in_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxUserDurationInSeconds"))
218
+ Fleet.add_member(:disconnect_timeout_in_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "DisconnectTimeoutInSeconds"))
219
+ Fleet.add_member(:state, Shapes::ShapeRef.new(shape: FleetState, required: true, location_name: "State"))
220
+ Fleet.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
221
+ Fleet.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTime"))
222
+ Fleet.add_member(:fleet_errors, Shapes::ShapeRef.new(shape: FleetErrors, location_name: "FleetErrors"))
223
+ Fleet.struct_class = Types::Fleet
224
+
225
+ FleetError.add_member(:error_code, Shapes::ShapeRef.new(shape: FleetErrorCode, location_name: "ErrorCode"))
226
+ FleetError.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "ErrorMessage"))
227
+ FleetError.struct_class = Types::FleetError
228
+
229
+ FleetErrors.member = Shapes::ShapeRef.new(shape: FleetError)
230
+
231
+ FleetList.member = Shapes::ShapeRef.new(shape: Fleet)
232
+
233
+ Image.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
234
+ Image.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
235
+ Image.add_member(:base_image_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "BaseImageArn"))
236
+ Image.add_member(:display_name, Shapes::ShapeRef.new(shape: String, location_name: "DisplayName"))
237
+ Image.add_member(:state, Shapes::ShapeRef.new(shape: ImageState, location_name: "State"))
238
+ Image.add_member(:visibility, Shapes::ShapeRef.new(shape: VisibilityType, location_name: "Visibility"))
239
+ Image.add_member(:platform, Shapes::ShapeRef.new(shape: PlatformType, location_name: "Platform"))
240
+ Image.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
241
+ Image.add_member(:state_change_reason, Shapes::ShapeRef.new(shape: ImageStateChangeReason, location_name: "StateChangeReason"))
242
+ Image.add_member(:applications, Shapes::ShapeRef.new(shape: Applications, location_name: "Applications"))
243
+ Image.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTime"))
244
+ Image.struct_class = Types::Image
245
+
246
+ ImageList.member = Shapes::ShapeRef.new(shape: Image)
247
+
248
+ ImageStateChangeReason.add_member(:code, Shapes::ShapeRef.new(shape: ImageStateChangeReasonCode, location_name: "Code"))
249
+ ImageStateChangeReason.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
250
+ ImageStateChangeReason.struct_class = Types::ImageStateChangeReason
251
+
252
+ ListAssociatedFleetsRequest.add_member(:stack_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "StackName"))
253
+ ListAssociatedFleetsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
254
+ ListAssociatedFleetsRequest.struct_class = Types::ListAssociatedFleetsRequest
255
+
256
+ ListAssociatedFleetsResult.add_member(:names, Shapes::ShapeRef.new(shape: StringList, location_name: "Names"))
257
+ ListAssociatedFleetsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
258
+ ListAssociatedFleetsResult.struct_class = Types::ListAssociatedFleetsResult
259
+
260
+ ListAssociatedStacksRequest.add_member(:fleet_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "FleetName"))
261
+ ListAssociatedStacksRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
262
+ ListAssociatedStacksRequest.struct_class = Types::ListAssociatedStacksRequest
263
+
264
+ ListAssociatedStacksResult.add_member(:names, Shapes::ShapeRef.new(shape: StringList, location_name: "Names"))
265
+ ListAssociatedStacksResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
266
+ ListAssociatedStacksResult.struct_class = Types::ListAssociatedStacksResult
267
+
268
+ Metadata.key = Shapes::ShapeRef.new(shape: String)
269
+ Metadata.value = Shapes::ShapeRef.new(shape: String)
270
+
271
+ Session.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Id"))
272
+ Session.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location_name: "UserId"))
273
+ Session.add_member(:stack_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "StackName"))
274
+ Session.add_member(:fleet_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "FleetName"))
275
+ Session.add_member(:state, Shapes::ShapeRef.new(shape: SessionState, required: true, location_name: "State"))
276
+ Session.struct_class = Types::Session
277
+
278
+ SessionList.member = Shapes::ShapeRef.new(shape: Session)
279
+
280
+ Stack.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
281
+ Stack.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
282
+ Stack.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
283
+ Stack.add_member(:display_name, Shapes::ShapeRef.new(shape: String, location_name: "DisplayName"))
284
+ Stack.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTime"))
285
+ Stack.struct_class = Types::Stack
286
+
287
+ StackList.member = Shapes::ShapeRef.new(shape: Stack)
288
+
289
+ StartFleetRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
290
+ StartFleetRequest.struct_class = Types::StartFleetRequest
291
+
292
+ StartFleetResult.struct_class = Types::StartFleetResult
293
+
294
+ StopFleetRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
295
+ StopFleetRequest.struct_class = Types::StopFleetRequest
296
+
297
+ StopFleetResult.struct_class = Types::StopFleetResult
298
+
299
+ StringList.member = Shapes::ShapeRef.new(shape: String)
300
+
301
+ SubnetIdList.member = Shapes::ShapeRef.new(shape: String)
302
+
303
+ UpdateFleetRequest.add_member(:image_name, Shapes::ShapeRef.new(shape: String, location_name: "ImageName"))
304
+ UpdateFleetRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
305
+ UpdateFleetRequest.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "InstanceType"))
306
+ UpdateFleetRequest.add_member(:compute_capacity, Shapes::ShapeRef.new(shape: ComputeCapacity, location_name: "ComputeCapacity"))
307
+ UpdateFleetRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
308
+ UpdateFleetRequest.add_member(:max_user_duration_in_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxUserDurationInSeconds"))
309
+ UpdateFleetRequest.add_member(:disconnect_timeout_in_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "DisconnectTimeoutInSeconds"))
310
+ UpdateFleetRequest.add_member(:delete_vpc_config, Shapes::ShapeRef.new(shape: Boolean, location_name: "DeleteVpcConfig"))
311
+ UpdateFleetRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
312
+ UpdateFleetRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName"))
313
+ UpdateFleetRequest.struct_class = Types::UpdateFleetRequest
314
+
315
+ UpdateFleetResult.add_member(:fleet, Shapes::ShapeRef.new(shape: Fleet, location_name: "Fleet"))
316
+ UpdateFleetResult.struct_class = Types::UpdateFleetResult
317
+
318
+ UpdateStackRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName"))
319
+ UpdateStackRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
320
+ UpdateStackRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
321
+ UpdateStackRequest.struct_class = Types::UpdateStackRequest
322
+
323
+ UpdateStackResult.add_member(:stack, Shapes::ShapeRef.new(shape: Stack, location_name: "Stack"))
324
+ UpdateStackResult.struct_class = Types::UpdateStackResult
325
+
326
+ VpcConfig.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIdList, required: true, location_name: "SubnetIds"))
327
+ VpcConfig.struct_class = Types::VpcConfig
328
+
329
+
330
+ # @api private
331
+ API = Seahorse::Model::Api.new.tap do |api|
332
+
333
+ api.version = "2016-12-01"
334
+
335
+ api.metadata = {
336
+ "endpointPrefix" => "appstream2",
337
+ "jsonVersion" => "1.1",
338
+ "protocol" => "json",
339
+ "serviceFullName" => "Amazon AppStream",
340
+ "signatureVersion" => "v4",
341
+ "signingName" => "appstream",
342
+ "targetPrefix" => "PhotonAdminProxyService",
343
+ }
344
+
345
+ api.add_operation(:associate_fleet, Seahorse::Model::Operation.new.tap do |o|
346
+ o.name = "AssociateFleet"
347
+ o.http_method = "POST"
348
+ o.http_request_uri = "/"
349
+ o.input = Shapes::ShapeRef.new(shape: AssociateFleetRequest)
350
+ o.output = Shapes::ShapeRef.new(shape: AssociateFleetResult)
351
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
352
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
353
+ end)
354
+
355
+ api.add_operation(:create_fleet, Seahorse::Model::Operation.new.tap do |o|
356
+ o.name = "CreateFleet"
357
+ o.http_method = "POST"
358
+ o.http_request_uri = "/"
359
+ o.input = Shapes::ShapeRef.new(shape: CreateFleetRequest)
360
+ o.output = Shapes::ShapeRef.new(shape: CreateFleetResult)
361
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
362
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotAvailableException)
363
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
364
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
365
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRoleException)
366
+ end)
367
+
368
+ api.add_operation(:create_stack, Seahorse::Model::Operation.new.tap do |o|
369
+ o.name = "CreateStack"
370
+ o.http_method = "POST"
371
+ o.http_request_uri = "/"
372
+ o.input = Shapes::ShapeRef.new(shape: CreateStackRequest)
373
+ o.output = Shapes::ShapeRef.new(shape: CreateStackResult)
374
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
375
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
376
+ end)
377
+
378
+ api.add_operation(:create_streaming_url, Seahorse::Model::Operation.new.tap do |o|
379
+ o.name = "CreateStreamingURL"
380
+ o.http_method = "POST"
381
+ o.http_request_uri = "/"
382
+ o.input = Shapes::ShapeRef.new(shape: CreateStreamingURLRequest)
383
+ o.output = Shapes::ShapeRef.new(shape: CreateStreamingURLResult)
384
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
385
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotAvailableException)
386
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
387
+ end)
388
+
389
+ api.add_operation(:delete_fleet, Seahorse::Model::Operation.new.tap do |o|
390
+ o.name = "DeleteFleet"
391
+ o.http_method = "POST"
392
+ o.http_request_uri = "/"
393
+ o.input = Shapes::ShapeRef.new(shape: DeleteFleetRequest)
394
+ o.output = Shapes::ShapeRef.new(shape: DeleteFleetResult)
395
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
396
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
397
+ end)
398
+
399
+ api.add_operation(:delete_stack, Seahorse::Model::Operation.new.tap do |o|
400
+ o.name = "DeleteStack"
401
+ o.http_method = "POST"
402
+ o.http_request_uri = "/"
403
+ o.input = Shapes::ShapeRef.new(shape: DeleteStackRequest)
404
+ o.output = Shapes::ShapeRef.new(shape: DeleteStackResult)
405
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
406
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
407
+ end)
408
+
409
+ api.add_operation(:describe_fleets, Seahorse::Model::Operation.new.tap do |o|
410
+ o.name = "DescribeFleets"
411
+ o.http_method = "POST"
412
+ o.http_request_uri = "/"
413
+ o.input = Shapes::ShapeRef.new(shape: DescribeFleetsRequest)
414
+ o.output = Shapes::ShapeRef.new(shape: DescribeFleetsResult)
415
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
416
+ end)
417
+
418
+ api.add_operation(:describe_images, Seahorse::Model::Operation.new.tap do |o|
419
+ o.name = "DescribeImages"
420
+ o.http_method = "POST"
421
+ o.http_request_uri = "/"
422
+ o.input = Shapes::ShapeRef.new(shape: DescribeImagesRequest)
423
+ o.output = Shapes::ShapeRef.new(shape: DescribeImagesResult)
424
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
425
+ end)
426
+
427
+ api.add_operation(:describe_sessions, Seahorse::Model::Operation.new.tap do |o|
428
+ o.name = "DescribeSessions"
429
+ o.http_method = "POST"
430
+ o.http_request_uri = "/"
431
+ o.input = Shapes::ShapeRef.new(shape: DescribeSessionsRequest)
432
+ o.output = Shapes::ShapeRef.new(shape: DescribeSessionsResult)
433
+ end)
434
+
435
+ api.add_operation(:describe_stacks, Seahorse::Model::Operation.new.tap do |o|
436
+ o.name = "DescribeStacks"
437
+ o.http_method = "POST"
438
+ o.http_request_uri = "/"
439
+ o.input = Shapes::ShapeRef.new(shape: DescribeStacksRequest)
440
+ o.output = Shapes::ShapeRef.new(shape: DescribeStacksResult)
441
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
442
+ end)
443
+
444
+ api.add_operation(:disassociate_fleet, Seahorse::Model::Operation.new.tap do |o|
445
+ o.name = "DisassociateFleet"
446
+ o.http_method = "POST"
447
+ o.http_request_uri = "/"
448
+ o.input = Shapes::ShapeRef.new(shape: DisassociateFleetRequest)
449
+ o.output = Shapes::ShapeRef.new(shape: DisassociateFleetResult)
450
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
451
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
452
+ end)
453
+
454
+ api.add_operation(:expire_session, Seahorse::Model::Operation.new.tap do |o|
455
+ o.name = "ExpireSession"
456
+ o.http_method = "POST"
457
+ o.http_request_uri = "/"
458
+ o.input = Shapes::ShapeRef.new(shape: ExpireSessionRequest)
459
+ o.output = Shapes::ShapeRef.new(shape: ExpireSessionResult)
460
+ end)
461
+
462
+ api.add_operation(:list_associated_fleets, Seahorse::Model::Operation.new.tap do |o|
463
+ o.name = "ListAssociatedFleets"
464
+ o.http_method = "POST"
465
+ o.http_request_uri = "/"
466
+ o.input = Shapes::ShapeRef.new(shape: ListAssociatedFleetsRequest)
467
+ o.output = Shapes::ShapeRef.new(shape: ListAssociatedFleetsResult)
468
+ end)
469
+
470
+ api.add_operation(:list_associated_stacks, Seahorse::Model::Operation.new.tap do |o|
471
+ o.name = "ListAssociatedStacks"
472
+ o.http_method = "POST"
473
+ o.http_request_uri = "/"
474
+ o.input = Shapes::ShapeRef.new(shape: ListAssociatedStacksRequest)
475
+ o.output = Shapes::ShapeRef.new(shape: ListAssociatedStacksResult)
476
+ end)
477
+
478
+ api.add_operation(:start_fleet, Seahorse::Model::Operation.new.tap do |o|
479
+ o.name = "StartFleet"
480
+ o.http_method = "POST"
481
+ o.http_request_uri = "/"
482
+ o.input = Shapes::ShapeRef.new(shape: StartFleetRequest)
483
+ o.output = Shapes::ShapeRef.new(shape: StartFleetResult)
484
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
485
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
486
+ end)
487
+
488
+ api.add_operation(:stop_fleet, Seahorse::Model::Operation.new.tap do |o|
489
+ o.name = "StopFleet"
490
+ o.http_method = "POST"
491
+ o.http_request_uri = "/"
492
+ o.input = Shapes::ShapeRef.new(shape: StopFleetRequest)
493
+ o.output = Shapes::ShapeRef.new(shape: StopFleetResult)
494
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
495
+ end)
496
+
497
+ api.add_operation(:update_fleet, Seahorse::Model::Operation.new.tap do |o|
498
+ o.name = "UpdateFleet"
499
+ o.http_method = "POST"
500
+ o.http_request_uri = "/"
501
+ o.input = Shapes::ShapeRef.new(shape: UpdateFleetRequest)
502
+ o.output = Shapes::ShapeRef.new(shape: UpdateFleetResult)
503
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
504
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
505
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRoleException)
506
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
507
+ end)
508
+
509
+ api.add_operation(:update_stack, Seahorse::Model::Operation.new.tap do |o|
510
+ o.name = "UpdateStack"
511
+ o.http_method = "POST"
512
+ o.http_request_uri = "/"
513
+ o.input = Shapes::ShapeRef.new(shape: UpdateStackRequest)
514
+ o.output = Shapes::ShapeRef.new(shape: UpdateStackResult)
515
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
516
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
517
+ end)
518
+ end
519
+
520
+ end
521
+ end
522
+ end