aws-sdk-simspaceweaver 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,533 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::SimSpaceWeaver
11
+ # @api private
12
+ module ClientApi
13
+
14
+ include Seahorse::Model
15
+
16
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
+ AppPortMappings = Shapes::ListShape.new(name: 'AppPortMappings')
18
+ BucketName = Shapes::StringShape.new(name: 'BucketName')
19
+ ClientToken = Shapes::StringShape.new(name: 'ClientToken')
20
+ ClockStatus = Shapes::StringShape.new(name: 'ClockStatus')
21
+ ClockTargetStatus = Shapes::StringShape.new(name: 'ClockTargetStatus')
22
+ CloudWatchLogsLogGroup = Shapes::StructureShape.new(name: 'CloudWatchLogsLogGroup')
23
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
24
+ DeleteAppInput = Shapes::StructureShape.new(name: 'DeleteAppInput')
25
+ DeleteAppOutput = Shapes::StructureShape.new(name: 'DeleteAppOutput')
26
+ DeleteSimulationInput = Shapes::StructureShape.new(name: 'DeleteSimulationInput')
27
+ DeleteSimulationOutput = Shapes::StructureShape.new(name: 'DeleteSimulationOutput')
28
+ DescribeAppInput = Shapes::StructureShape.new(name: 'DescribeAppInput')
29
+ DescribeAppOutput = Shapes::StructureShape.new(name: 'DescribeAppOutput')
30
+ DescribeSimulationInput = Shapes::StructureShape.new(name: 'DescribeSimulationInput')
31
+ DescribeSimulationOutput = Shapes::StructureShape.new(name: 'DescribeSimulationOutput')
32
+ Description = Shapes::StringShape.new(name: 'Description')
33
+ Domain = Shapes::StructureShape.new(name: 'Domain')
34
+ DomainList = Shapes::ListShape.new(name: 'DomainList')
35
+ InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
36
+ LaunchCommandList = Shapes::ListShape.new(name: 'LaunchCommandList')
37
+ LaunchOverrides = Shapes::StructureShape.new(name: 'LaunchOverrides')
38
+ LifecycleManagementStrategy = Shapes::StringShape.new(name: 'LifecycleManagementStrategy')
39
+ ListAppsInput = Shapes::StructureShape.new(name: 'ListAppsInput')
40
+ ListAppsOutput = Shapes::StructureShape.new(name: 'ListAppsOutput')
41
+ ListSimulationsInput = Shapes::StructureShape.new(name: 'ListSimulationsInput')
42
+ ListSimulationsOutput = Shapes::StructureShape.new(name: 'ListSimulationsOutput')
43
+ ListTagsForResourceInput = Shapes::StructureShape.new(name: 'ListTagsForResourceInput')
44
+ ListTagsForResourceOutput = Shapes::StructureShape.new(name: 'ListTagsForResourceOutput')
45
+ LiveSimulationState = Shapes::StructureShape.new(name: 'LiveSimulationState')
46
+ LogDestination = Shapes::StructureShape.new(name: 'LogDestination')
47
+ LogDestinations = Shapes::ListShape.new(name: 'LogDestinations')
48
+ LogGroupArn = Shapes::StringShape.new(name: 'LogGroupArn')
49
+ LoggingConfiguration = Shapes::StructureShape.new(name: 'LoggingConfiguration')
50
+ NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
51
+ ObjectKey = Shapes::StringShape.new(name: 'ObjectKey')
52
+ OptionalString = Shapes::StringShape.new(name: 'OptionalString')
53
+ PortNumber = Shapes::IntegerShape.new(name: 'PortNumber')
54
+ PositiveInteger = Shapes::IntegerShape.new(name: 'PositiveInteger')
55
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
56
+ RoleArn = Shapes::StringShape.new(name: 'RoleArn')
57
+ S3Location = Shapes::StructureShape.new(name: 'S3Location')
58
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
59
+ SimSpaceWeaverArn = Shapes::StringShape.new(name: 'SimSpaceWeaverArn')
60
+ SimSpaceWeaverResourceName = Shapes::StringShape.new(name: 'SimSpaceWeaverResourceName')
61
+ SimulationAppEndpointInfo = Shapes::StructureShape.new(name: 'SimulationAppEndpointInfo')
62
+ SimulationAppList = Shapes::ListShape.new(name: 'SimulationAppList')
63
+ SimulationAppMetadata = Shapes::StructureShape.new(name: 'SimulationAppMetadata')
64
+ SimulationAppPortMapping = Shapes::StructureShape.new(name: 'SimulationAppPortMapping')
65
+ SimulationAppStatus = Shapes::StringShape.new(name: 'SimulationAppStatus')
66
+ SimulationAppTargetStatus = Shapes::StringShape.new(name: 'SimulationAppTargetStatus')
67
+ SimulationClock = Shapes::StructureShape.new(name: 'SimulationClock')
68
+ SimulationClockList = Shapes::ListShape.new(name: 'SimulationClockList')
69
+ SimulationList = Shapes::ListShape.new(name: 'SimulationList')
70
+ SimulationMetadata = Shapes::StructureShape.new(name: 'SimulationMetadata')
71
+ SimulationStatus = Shapes::StringShape.new(name: 'SimulationStatus')
72
+ SimulationTargetStatus = Shapes::StringShape.new(name: 'SimulationTargetStatus')
73
+ StartAppInput = Shapes::StructureShape.new(name: 'StartAppInput')
74
+ StartAppOutput = Shapes::StructureShape.new(name: 'StartAppOutput')
75
+ StartClockInput = Shapes::StructureShape.new(name: 'StartClockInput')
76
+ StartClockOutput = Shapes::StructureShape.new(name: 'StartClockOutput')
77
+ StartSimulationInput = Shapes::StructureShape.new(name: 'StartSimulationInput')
78
+ StartSimulationOutput = Shapes::StructureShape.new(name: 'StartSimulationOutput')
79
+ StopAppInput = Shapes::StructureShape.new(name: 'StopAppInput')
80
+ StopAppOutput = Shapes::StructureShape.new(name: 'StopAppOutput')
81
+ StopClockInput = Shapes::StructureShape.new(name: 'StopClockInput')
82
+ StopClockOutput = Shapes::StructureShape.new(name: 'StopClockOutput')
83
+ StopSimulationInput = Shapes::StructureShape.new(name: 'StopSimulationInput')
84
+ StopSimulationOutput = Shapes::StructureShape.new(name: 'StopSimulationOutput')
85
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
86
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
87
+ TagMap = Shapes::MapShape.new(name: 'TagMap')
88
+ TagResourceInput = Shapes::StructureShape.new(name: 'TagResourceInput')
89
+ TagResourceOutput = Shapes::StructureShape.new(name: 'TagResourceOutput')
90
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
91
+ TimeToLiveString = Shapes::StringShape.new(name: 'TimeToLiveString')
92
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
93
+ TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
94
+ UUID = Shapes::StringShape.new(name: 'UUID')
95
+ UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
96
+ UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
97
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
98
+
99
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Message"))
100
+ AccessDeniedException.struct_class = Types::AccessDeniedException
101
+
102
+ AppPortMappings.member = Shapes::ShapeRef.new(shape: SimulationAppPortMapping)
103
+
104
+ CloudWatchLogsLogGroup.add_member(:log_group_arn, Shapes::ShapeRef.new(shape: LogGroupArn, location_name: "LogGroupArn"))
105
+ CloudWatchLogsLogGroup.struct_class = Types::CloudWatchLogsLogGroup
106
+
107
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Message"))
108
+ ConflictException.struct_class = Types::ConflictException
109
+
110
+ DeleteAppInput.add_member(:app, Shapes::ShapeRef.new(shape: SimSpaceWeaverResourceName, required: true, location: "querystring", location_name: "app"))
111
+ DeleteAppInput.add_member(:domain, Shapes::ShapeRef.new(shape: SimSpaceWeaverResourceName, required: true, location: "querystring", location_name: "domain"))
112
+ DeleteAppInput.add_member(:simulation, Shapes::ShapeRef.new(shape: SimSpaceWeaverResourceName, required: true, location: "querystring", location_name: "simulation"))
113
+ DeleteAppInput.struct_class = Types::DeleteAppInput
114
+
115
+ DeleteAppOutput.struct_class = Types::DeleteAppOutput
116
+
117
+ DeleteSimulationInput.add_member(:simulation, Shapes::ShapeRef.new(shape: SimSpaceWeaverResourceName, required: true, location: "querystring", location_name: "simulation"))
118
+ DeleteSimulationInput.struct_class = Types::DeleteSimulationInput
119
+
120
+ DeleteSimulationOutput.struct_class = Types::DeleteSimulationOutput
121
+
122
+ DescribeAppInput.add_member(:app, Shapes::ShapeRef.new(shape: SimSpaceWeaverResourceName, required: true, location: "querystring", location_name: "app"))
123
+ DescribeAppInput.add_member(:domain, Shapes::ShapeRef.new(shape: SimSpaceWeaverResourceName, required: true, location: "querystring", location_name: "domain"))
124
+ DescribeAppInput.add_member(:simulation, Shapes::ShapeRef.new(shape: SimSpaceWeaverResourceName, required: true, location: "querystring", location_name: "simulation"))
125
+ DescribeAppInput.struct_class = Types::DescribeAppInput
126
+
127
+ DescribeAppOutput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
128
+ DescribeAppOutput.add_member(:domain, Shapes::ShapeRef.new(shape: SimSpaceWeaverResourceName, location_name: "Domain"))
129
+ DescribeAppOutput.add_member(:endpoint_info, Shapes::ShapeRef.new(shape: SimulationAppEndpointInfo, location_name: "EndpointInfo"))
130
+ DescribeAppOutput.add_member(:launch_overrides, Shapes::ShapeRef.new(shape: LaunchOverrides, location_name: "LaunchOverrides"))
131
+ DescribeAppOutput.add_member(:name, Shapes::ShapeRef.new(shape: SimSpaceWeaverResourceName, location_name: "Name"))
132
+ DescribeAppOutput.add_member(:simulation, Shapes::ShapeRef.new(shape: SimSpaceWeaverResourceName, location_name: "Simulation"))
133
+ DescribeAppOutput.add_member(:status, Shapes::ShapeRef.new(shape: SimulationAppStatus, location_name: "Status"))
134
+ DescribeAppOutput.add_member(:target_status, Shapes::ShapeRef.new(shape: SimulationAppTargetStatus, location_name: "TargetStatus"))
135
+ DescribeAppOutput.struct_class = Types::DescribeAppOutput
136
+
137
+ DescribeSimulationInput.add_member(:simulation, Shapes::ShapeRef.new(shape: SimSpaceWeaverResourceName, required: true, location: "querystring", location_name: "simulation"))
138
+ DescribeSimulationInput.struct_class = Types::DescribeSimulationInput
139
+
140
+ DescribeSimulationOutput.add_member(:arn, Shapes::ShapeRef.new(shape: SimSpaceWeaverArn, location_name: "Arn"))
141
+ DescribeSimulationOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
142
+ DescribeSimulationOutput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
143
+ DescribeSimulationOutput.add_member(:execution_id, Shapes::ShapeRef.new(shape: UUID, location_name: "ExecutionId"))
144
+ DescribeSimulationOutput.add_member(:live_simulation_state, Shapes::ShapeRef.new(shape: LiveSimulationState, location_name: "LiveSimulationState"))
145
+ DescribeSimulationOutput.add_member(:logging_configuration, Shapes::ShapeRef.new(shape: LoggingConfiguration, location_name: "LoggingConfiguration"))
146
+ DescribeSimulationOutput.add_member(:maximum_duration, Shapes::ShapeRef.new(shape: TimeToLiveString, location_name: "MaximumDuration"))
147
+ DescribeSimulationOutput.add_member(:name, Shapes::ShapeRef.new(shape: SimSpaceWeaverResourceName, location_name: "Name"))
148
+ DescribeSimulationOutput.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
149
+ DescribeSimulationOutput.add_member(:schema_error, Shapes::ShapeRef.new(shape: OptionalString, location_name: "SchemaError"))
150
+ DescribeSimulationOutput.add_member(:schema_s3_location, Shapes::ShapeRef.new(shape: S3Location, location_name: "SchemaS3Location"))
151
+ DescribeSimulationOutput.add_member(:status, Shapes::ShapeRef.new(shape: SimulationStatus, location_name: "Status"))
152
+ DescribeSimulationOutput.add_member(:target_status, Shapes::ShapeRef.new(shape: SimulationTargetStatus, location_name: "TargetStatus"))
153
+ DescribeSimulationOutput.struct_class = Types::DescribeSimulationOutput
154
+
155
+ Domain.add_member(:lifecycle, Shapes::ShapeRef.new(shape: LifecycleManagementStrategy, location_name: "Lifecycle"))
156
+ Domain.add_member(:name, Shapes::ShapeRef.new(shape: SimSpaceWeaverResourceName, location_name: "Name"))
157
+ Domain.struct_class = Types::Domain
158
+
159
+ DomainList.member = Shapes::ShapeRef.new(shape: Domain)
160
+
161
+ InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Message"))
162
+ InternalServerException.struct_class = Types::InternalServerException
163
+
164
+ LaunchCommandList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
165
+
166
+ LaunchOverrides.add_member(:launch_commands, Shapes::ShapeRef.new(shape: LaunchCommandList, location_name: "LaunchCommands"))
167
+ LaunchOverrides.struct_class = Types::LaunchOverrides
168
+
169
+ ListAppsInput.add_member(:domain, Shapes::ShapeRef.new(shape: SimSpaceWeaverResourceName, location: "querystring", location_name: "domain"))
170
+ ListAppsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: PositiveInteger, location: "querystring", location_name: "maxResults"))
171
+ ListAppsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: OptionalString, location: "querystring", location_name: "nextToken"))
172
+ ListAppsInput.add_member(:simulation, Shapes::ShapeRef.new(shape: SimSpaceWeaverResourceName, required: true, location: "querystring", location_name: "simulation"))
173
+ ListAppsInput.struct_class = Types::ListAppsInput
174
+
175
+ ListAppsOutput.add_member(:apps, Shapes::ShapeRef.new(shape: SimulationAppList, location_name: "Apps"))
176
+ ListAppsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: OptionalString, location_name: "NextToken"))
177
+ ListAppsOutput.struct_class = Types::ListAppsOutput
178
+
179
+ ListSimulationsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: PositiveInteger, location: "querystring", location_name: "maxResults"))
180
+ ListSimulationsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: OptionalString, location: "querystring", location_name: "nextToken"))
181
+ ListSimulationsInput.struct_class = Types::ListSimulationsInput
182
+
183
+ ListSimulationsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: OptionalString, location_name: "NextToken"))
184
+ ListSimulationsOutput.add_member(:simulations, Shapes::ShapeRef.new(shape: SimulationList, location_name: "Simulations"))
185
+ ListSimulationsOutput.struct_class = Types::ListSimulationsOutput
186
+
187
+ ListTagsForResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: SimSpaceWeaverArn, required: true, location: "uri", location_name: "ResourceArn"))
188
+ ListTagsForResourceInput.struct_class = Types::ListTagsForResourceInput
189
+
190
+ ListTagsForResourceOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
191
+ ListTagsForResourceOutput.struct_class = Types::ListTagsForResourceOutput
192
+
193
+ LiveSimulationState.add_member(:clocks, Shapes::ShapeRef.new(shape: SimulationClockList, location_name: "Clocks"))
194
+ LiveSimulationState.add_member(:domains, Shapes::ShapeRef.new(shape: DomainList, location_name: "Domains"))
195
+ LiveSimulationState.struct_class = Types::LiveSimulationState
196
+
197
+ LogDestination.add_member(:cloud_watch_logs_log_group, Shapes::ShapeRef.new(shape: CloudWatchLogsLogGroup, location_name: "CloudWatchLogsLogGroup"))
198
+ LogDestination.struct_class = Types::LogDestination
199
+
200
+ LogDestinations.member = Shapes::ShapeRef.new(shape: LogDestination)
201
+
202
+ LoggingConfiguration.add_member(:destinations, Shapes::ShapeRef.new(shape: LogDestinations, location_name: "Destinations"))
203
+ LoggingConfiguration.struct_class = Types::LoggingConfiguration
204
+
205
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Message"))
206
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
207
+
208
+ S3Location.add_member(:bucket_name, Shapes::ShapeRef.new(shape: BucketName, location_name: "BucketName"))
209
+ S3Location.add_member(:object_key, Shapes::ShapeRef.new(shape: ObjectKey, location_name: "ObjectKey"))
210
+ S3Location.struct_class = Types::S3Location
211
+
212
+ ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Message"))
213
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
214
+
215
+ SimulationAppEndpointInfo.add_member(:address, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Address"))
216
+ SimulationAppEndpointInfo.add_member(:ingress_port_mappings, Shapes::ShapeRef.new(shape: AppPortMappings, location_name: "IngressPortMappings"))
217
+ SimulationAppEndpointInfo.struct_class = Types::SimulationAppEndpointInfo
218
+
219
+ SimulationAppList.member = Shapes::ShapeRef.new(shape: SimulationAppMetadata)
220
+
221
+ SimulationAppMetadata.add_member(:domain, Shapes::ShapeRef.new(shape: SimSpaceWeaverResourceName, location_name: "Domain"))
222
+ SimulationAppMetadata.add_member(:name, Shapes::ShapeRef.new(shape: SimSpaceWeaverResourceName, location_name: "Name"))
223
+ SimulationAppMetadata.add_member(:simulation, Shapes::ShapeRef.new(shape: SimSpaceWeaverResourceName, location_name: "Simulation"))
224
+ SimulationAppMetadata.add_member(:status, Shapes::ShapeRef.new(shape: SimulationAppStatus, location_name: "Status"))
225
+ SimulationAppMetadata.add_member(:target_status, Shapes::ShapeRef.new(shape: SimulationAppTargetStatus, location_name: "TargetStatus"))
226
+ SimulationAppMetadata.struct_class = Types::SimulationAppMetadata
227
+
228
+ SimulationAppPortMapping.add_member(:actual, Shapes::ShapeRef.new(shape: PortNumber, location_name: "Actual"))
229
+ SimulationAppPortMapping.add_member(:declared, Shapes::ShapeRef.new(shape: PortNumber, location_name: "Declared"))
230
+ SimulationAppPortMapping.struct_class = Types::SimulationAppPortMapping
231
+
232
+ SimulationClock.add_member(:status, Shapes::ShapeRef.new(shape: ClockStatus, location_name: "Status"))
233
+ SimulationClock.add_member(:target_status, Shapes::ShapeRef.new(shape: ClockTargetStatus, location_name: "TargetStatus"))
234
+ SimulationClock.struct_class = Types::SimulationClock
235
+
236
+ SimulationClockList.member = Shapes::ShapeRef.new(shape: SimulationClock)
237
+
238
+ SimulationList.member = Shapes::ShapeRef.new(shape: SimulationMetadata)
239
+
240
+ SimulationMetadata.add_member(:arn, Shapes::ShapeRef.new(shape: SimSpaceWeaverArn, location_name: "Arn"))
241
+ SimulationMetadata.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
242
+ SimulationMetadata.add_member(:name, Shapes::ShapeRef.new(shape: SimSpaceWeaverResourceName, location_name: "Name"))
243
+ SimulationMetadata.add_member(:status, Shapes::ShapeRef.new(shape: SimulationStatus, location_name: "Status"))
244
+ SimulationMetadata.add_member(:target_status, Shapes::ShapeRef.new(shape: SimulationTargetStatus, location_name: "TargetStatus"))
245
+ SimulationMetadata.struct_class = Types::SimulationMetadata
246
+
247
+ StartAppInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
248
+ StartAppInput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
249
+ StartAppInput.add_member(:domain, Shapes::ShapeRef.new(shape: SimSpaceWeaverResourceName, required: true, location_name: "Domain"))
250
+ StartAppInput.add_member(:launch_overrides, Shapes::ShapeRef.new(shape: LaunchOverrides, location_name: "LaunchOverrides"))
251
+ StartAppInput.add_member(:name, Shapes::ShapeRef.new(shape: SimSpaceWeaverResourceName, required: true, location_name: "Name"))
252
+ StartAppInput.add_member(:simulation, Shapes::ShapeRef.new(shape: SimSpaceWeaverResourceName, required: true, location_name: "Simulation"))
253
+ StartAppInput.struct_class = Types::StartAppInput
254
+
255
+ StartAppOutput.add_member(:domain, Shapes::ShapeRef.new(shape: SimSpaceWeaverResourceName, location_name: "Domain"))
256
+ StartAppOutput.add_member(:name, Shapes::ShapeRef.new(shape: SimSpaceWeaverResourceName, location_name: "Name"))
257
+ StartAppOutput.add_member(:simulation, Shapes::ShapeRef.new(shape: SimSpaceWeaverResourceName, location_name: "Simulation"))
258
+ StartAppOutput.struct_class = Types::StartAppOutput
259
+
260
+ StartClockInput.add_member(:simulation, Shapes::ShapeRef.new(shape: SimSpaceWeaverResourceName, required: true, location_name: "Simulation"))
261
+ StartClockInput.struct_class = Types::StartClockInput
262
+
263
+ StartClockOutput.struct_class = Types::StartClockOutput
264
+
265
+ StartSimulationInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
266
+ StartSimulationInput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
267
+ StartSimulationInput.add_member(:maximum_duration, Shapes::ShapeRef.new(shape: TimeToLiveString, location_name: "MaximumDuration"))
268
+ StartSimulationInput.add_member(:name, Shapes::ShapeRef.new(shape: SimSpaceWeaverResourceName, required: true, location_name: "Name"))
269
+ StartSimulationInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "RoleArn"))
270
+ StartSimulationInput.add_member(:schema_s3_location, Shapes::ShapeRef.new(shape: S3Location, required: true, location_name: "SchemaS3Location"))
271
+ StartSimulationInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
272
+ StartSimulationInput.struct_class = Types::StartSimulationInput
273
+
274
+ StartSimulationOutput.add_member(:arn, Shapes::ShapeRef.new(shape: SimSpaceWeaverArn, location_name: "Arn"))
275
+ StartSimulationOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
276
+ StartSimulationOutput.add_member(:execution_id, Shapes::ShapeRef.new(shape: UUID, location_name: "ExecutionId"))
277
+ StartSimulationOutput.struct_class = Types::StartSimulationOutput
278
+
279
+ StopAppInput.add_member(:app, Shapes::ShapeRef.new(shape: SimSpaceWeaverResourceName, required: true, location_name: "App"))
280
+ StopAppInput.add_member(:domain, Shapes::ShapeRef.new(shape: SimSpaceWeaverResourceName, required: true, location_name: "Domain"))
281
+ StopAppInput.add_member(:simulation, Shapes::ShapeRef.new(shape: SimSpaceWeaverResourceName, required: true, location_name: "Simulation"))
282
+ StopAppInput.struct_class = Types::StopAppInput
283
+
284
+ StopAppOutput.struct_class = Types::StopAppOutput
285
+
286
+ StopClockInput.add_member(:simulation, Shapes::ShapeRef.new(shape: SimSpaceWeaverResourceName, required: true, location_name: "Simulation"))
287
+ StopClockInput.struct_class = Types::StopClockInput
288
+
289
+ StopClockOutput.struct_class = Types::StopClockOutput
290
+
291
+ StopSimulationInput.add_member(:simulation, Shapes::ShapeRef.new(shape: SimSpaceWeaverResourceName, required: true, location_name: "Simulation"))
292
+ StopSimulationInput.struct_class = Types::StopSimulationInput
293
+
294
+ StopSimulationOutput.struct_class = Types::StopSimulationOutput
295
+
296
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
297
+
298
+ TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
299
+ TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
300
+
301
+ TagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: SimSpaceWeaverArn, required: true, location: "uri", location_name: "ResourceArn"))
302
+ TagResourceInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "Tags"))
303
+ TagResourceInput.struct_class = Types::TagResourceInput
304
+
305
+ TagResourceOutput.struct_class = Types::TagResourceOutput
306
+
307
+ TooManyTagsException.add_member(:message, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Message"))
308
+ TooManyTagsException.struct_class = Types::TooManyTagsException
309
+
310
+ UntagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: SimSpaceWeaverArn, required: true, location: "uri", location_name: "ResourceArn"))
311
+ UntagResourceInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
312
+ UntagResourceInput.struct_class = Types::UntagResourceInput
313
+
314
+ UntagResourceOutput.struct_class = Types::UntagResourceOutput
315
+
316
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Message"))
317
+ ValidationException.struct_class = Types::ValidationException
318
+
319
+
320
+ # @api private
321
+ API = Seahorse::Model::Api.new.tap do |api|
322
+
323
+ api.version = "2022-10-28"
324
+
325
+ api.metadata = {
326
+ "apiVersion" => "2022-10-28",
327
+ "endpointPrefix" => "simspaceweaver",
328
+ "jsonVersion" => "1.1",
329
+ "protocol" => "rest-json",
330
+ "serviceFullName" => "AWS SimSpace Weaver",
331
+ "serviceId" => "SimSpaceWeaver",
332
+ "signatureVersion" => "v4",
333
+ "signingName" => "simspaceweaver",
334
+ "uid" => "simspaceweaver-2022-10-28",
335
+ }
336
+
337
+ api.add_operation(:delete_app, Seahorse::Model::Operation.new.tap do |o|
338
+ o.name = "DeleteApp"
339
+ o.http_method = "DELETE"
340
+ o.http_request_uri = "/deleteapp"
341
+ o.input = Shapes::ShapeRef.new(shape: DeleteAppInput)
342
+ o.output = Shapes::ShapeRef.new(shape: DeleteAppOutput)
343
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
344
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
345
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
346
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
347
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
348
+ end)
349
+
350
+ api.add_operation(:delete_simulation, Seahorse::Model::Operation.new.tap do |o|
351
+ o.name = "DeleteSimulation"
352
+ o.http_method = "DELETE"
353
+ o.http_request_uri = "/deletesimulation"
354
+ o.input = Shapes::ShapeRef.new(shape: DeleteSimulationInput)
355
+ o.output = Shapes::ShapeRef.new(shape: DeleteSimulationOutput)
356
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
357
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
358
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
359
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
360
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
361
+ end)
362
+
363
+ api.add_operation(:describe_app, Seahorse::Model::Operation.new.tap do |o|
364
+ o.name = "DescribeApp"
365
+ o.http_method = "GET"
366
+ o.http_request_uri = "/describeapp"
367
+ o.input = Shapes::ShapeRef.new(shape: DescribeAppInput)
368
+ o.output = Shapes::ShapeRef.new(shape: DescribeAppOutput)
369
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
370
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
371
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
372
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
373
+ end)
374
+
375
+ api.add_operation(:describe_simulation, Seahorse::Model::Operation.new.tap do |o|
376
+ o.name = "DescribeSimulation"
377
+ o.http_method = "GET"
378
+ o.http_request_uri = "/describesimulation"
379
+ o.input = Shapes::ShapeRef.new(shape: DescribeSimulationInput)
380
+ o.output = Shapes::ShapeRef.new(shape: DescribeSimulationOutput)
381
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
382
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
383
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
384
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
385
+ end)
386
+
387
+ api.add_operation(:list_apps, Seahorse::Model::Operation.new.tap do |o|
388
+ o.name = "ListApps"
389
+ o.http_method = "GET"
390
+ o.http_request_uri = "/listapps"
391
+ o.input = Shapes::ShapeRef.new(shape: ListAppsInput)
392
+ o.output = Shapes::ShapeRef.new(shape: ListAppsOutput)
393
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
394
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
395
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
396
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
397
+ o[:pager] = Aws::Pager.new(
398
+ limit_key: "max_results",
399
+ tokens: {
400
+ "next_token" => "next_token"
401
+ }
402
+ )
403
+ end)
404
+
405
+ api.add_operation(:list_simulations, Seahorse::Model::Operation.new.tap do |o|
406
+ o.name = "ListSimulations"
407
+ o.http_method = "GET"
408
+ o.http_request_uri = "/listsimulations"
409
+ o.input = Shapes::ShapeRef.new(shape: ListSimulationsInput)
410
+ o.output = Shapes::ShapeRef.new(shape: ListSimulationsOutput)
411
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
412
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
413
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
414
+ o[:pager] = Aws::Pager.new(
415
+ limit_key: "max_results",
416
+ tokens: {
417
+ "next_token" => "next_token"
418
+ }
419
+ )
420
+ end)
421
+
422
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
423
+ o.name = "ListTagsForResource"
424
+ o.http_method = "GET"
425
+ o.http_request_uri = "/tags/{ResourceArn}"
426
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceInput)
427
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceOutput)
428
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
429
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
430
+ end)
431
+
432
+ api.add_operation(:start_app, Seahorse::Model::Operation.new.tap do |o|
433
+ o.name = "StartApp"
434
+ o.http_method = "POST"
435
+ o.http_request_uri = "/startapp"
436
+ o.input = Shapes::ShapeRef.new(shape: StartAppInput)
437
+ o.output = Shapes::ShapeRef.new(shape: StartAppOutput)
438
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
439
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
440
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
441
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
442
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
443
+ end)
444
+
445
+ api.add_operation(:start_clock, Seahorse::Model::Operation.new.tap do |o|
446
+ o.name = "StartClock"
447
+ o.http_method = "POST"
448
+ o.http_request_uri = "/startclock"
449
+ o.input = Shapes::ShapeRef.new(shape: StartClockInput)
450
+ o.output = Shapes::ShapeRef.new(shape: StartClockOutput)
451
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
452
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
453
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
454
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
455
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
456
+ end)
457
+
458
+ api.add_operation(:start_simulation, Seahorse::Model::Operation.new.tap do |o|
459
+ o.name = "StartSimulation"
460
+ o.http_method = "POST"
461
+ o.http_request_uri = "/startsimulation"
462
+ o.input = Shapes::ShapeRef.new(shape: StartSimulationInput)
463
+ o.output = Shapes::ShapeRef.new(shape: StartSimulationOutput)
464
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
465
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
466
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
467
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
468
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
469
+ end)
470
+
471
+ api.add_operation(:stop_app, Seahorse::Model::Operation.new.tap do |o|
472
+ o.name = "StopApp"
473
+ o.http_method = "POST"
474
+ o.http_request_uri = "/stopapp"
475
+ o.input = Shapes::ShapeRef.new(shape: StopAppInput)
476
+ o.output = Shapes::ShapeRef.new(shape: StopAppOutput)
477
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
478
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
479
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
480
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
481
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
482
+ end)
483
+
484
+ api.add_operation(:stop_clock, Seahorse::Model::Operation.new.tap do |o|
485
+ o.name = "StopClock"
486
+ o.http_method = "POST"
487
+ o.http_request_uri = "/stopclock"
488
+ o.input = Shapes::ShapeRef.new(shape: StopClockInput)
489
+ o.output = Shapes::ShapeRef.new(shape: StopClockOutput)
490
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
491
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
492
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
493
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
494
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
495
+ end)
496
+
497
+ api.add_operation(:stop_simulation, Seahorse::Model::Operation.new.tap do |o|
498
+ o.name = "StopSimulation"
499
+ o.http_method = "POST"
500
+ o.http_request_uri = "/stopsimulation"
501
+ o.input = Shapes::ShapeRef.new(shape: StopSimulationInput)
502
+ o.output = Shapes::ShapeRef.new(shape: StopSimulationOutput)
503
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
504
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
505
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
506
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
507
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
508
+ end)
509
+
510
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
511
+ o.name = "TagResource"
512
+ o.http_method = "POST"
513
+ o.http_request_uri = "/tags/{ResourceArn}"
514
+ o.input = Shapes::ShapeRef.new(shape: TagResourceInput)
515
+ o.output = Shapes::ShapeRef.new(shape: TagResourceOutput)
516
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
517
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
518
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
519
+ end)
520
+
521
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
522
+ o.name = "UntagResource"
523
+ o.http_method = "DELETE"
524
+ o.http_request_uri = "/tags/{ResourceArn}"
525
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceInput)
526
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceOutput)
527
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
528
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
529
+ end)
530
+ end
531
+
532
+ end
533
+ end
File without changes
@@ -0,0 +1,66 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::SimSpaceWeaver
11
+ # Endpoint parameters used to influence endpoints per request.
12
+ #
13
+ # @!attribute region
14
+ # The AWS region used to dispatch the request.
15
+ #
16
+ # @return [String]
17
+ #
18
+ # @!attribute use_dual_stack
19
+ # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
+ #
21
+ # @return [Boolean]
22
+ #
23
+ # @!attribute use_fips
24
+ # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
25
+ #
26
+ # @return [Boolean]
27
+ #
28
+ # @!attribute endpoint
29
+ # Override the endpoint used to send this request
30
+ #
31
+ # @return [String]
32
+ #
33
+ EndpointParameters = Struct.new(
34
+ :region,
35
+ :use_dual_stack,
36
+ :use_fips,
37
+ :endpoint,
38
+ ) do
39
+ include Aws::Structure
40
+
41
+ # @api private
42
+ class << self
43
+ PARAM_MAP = {
44
+ 'Region' => :region,
45
+ 'UseDualStack' => :use_dual_stack,
46
+ 'UseFIPS' => :use_fips,
47
+ 'Endpoint' => :endpoint,
48
+ }.freeze
49
+ end
50
+
51
+ def initialize(options = {})
52
+ self[:region] = options[:region]
53
+ self[:use_dual_stack] = options[:use_dual_stack]
54
+ self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
+ if self[:use_dual_stack].nil?
56
+ raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
+ end
58
+ self[:use_fips] = options[:use_fips]
59
+ self[:use_fips] = false if self[:use_fips].nil?
60
+ if self[:use_fips].nil?
61
+ raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
+ end
63
+ self[:endpoint] = options[:endpoint]
64
+ end
65
+ end
66
+ end