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,1242 @@
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
+ module Types
12
+
13
+ # @!attribute [rw] message
14
+ # @return [String]
15
+ #
16
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/AccessDeniedException AWS API Documentation
17
+ #
18
+ class AccessDeniedException < Struct.new(
19
+ :message)
20
+ SENSITIVE = []
21
+ include Aws::Structure
22
+ end
23
+
24
+ # The Amazon CloudWatch Logs log group for the simulation. For more
25
+ # information about log groups, see [Working with log groups and log
26
+ # streams][1] in the *Amazon CloudWatch Logs User Guide*.
27
+ #
28
+ #
29
+ #
30
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html
31
+ #
32
+ # @!attribute [rw] log_group_arn
33
+ # The Amazon Resource Name (ARN) of the Amazon CloudWatch Logs log
34
+ # group for the simulation. For more information about ARNs, see
35
+ # [Amazon Resource Names (ARNs)][1] in the *Amazon Web Services
36
+ # General Reference*. For more information about log groups, see
37
+ # [Working with log groups and log streams][2] in the *Amazon
38
+ # CloudWatch Logs User Guide*.
39
+ #
40
+ #
41
+ #
42
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
43
+ # [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html
44
+ # @return [String]
45
+ #
46
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/CloudWatchLogsLogGroup AWS API Documentation
47
+ #
48
+ class CloudWatchLogsLogGroup < Struct.new(
49
+ :log_group_arn)
50
+ SENSITIVE = []
51
+ include Aws::Structure
52
+ end
53
+
54
+ # @!attribute [rw] message
55
+ # @return [String]
56
+ #
57
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/ConflictException AWS API Documentation
58
+ #
59
+ class ConflictException < Struct.new(
60
+ :message)
61
+ SENSITIVE = []
62
+ include Aws::Structure
63
+ end
64
+
65
+ # @note When making an API call, you may pass DeleteAppInput
66
+ # data as a hash:
67
+ #
68
+ # {
69
+ # app: "SimSpaceWeaverResourceName", # required
70
+ # domain: "SimSpaceWeaverResourceName", # required
71
+ # simulation: "SimSpaceWeaverResourceName", # required
72
+ # }
73
+ #
74
+ # @!attribute [rw] app
75
+ # The name of the app.
76
+ # @return [String]
77
+ #
78
+ # @!attribute [rw] domain
79
+ # The name of the domain of the app.
80
+ # @return [String]
81
+ #
82
+ # @!attribute [rw] simulation
83
+ # The name of the simulation of the app.
84
+ # @return [String]
85
+ #
86
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/DeleteAppInput AWS API Documentation
87
+ #
88
+ class DeleteAppInput < Struct.new(
89
+ :app,
90
+ :domain,
91
+ :simulation)
92
+ SENSITIVE = []
93
+ include Aws::Structure
94
+ end
95
+
96
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/DeleteAppOutput AWS API Documentation
97
+ #
98
+ class DeleteAppOutput < Aws::EmptyStructure; end
99
+
100
+ # @note When making an API call, you may pass DeleteSimulationInput
101
+ # data as a hash:
102
+ #
103
+ # {
104
+ # simulation: "SimSpaceWeaverResourceName", # required
105
+ # }
106
+ #
107
+ # @!attribute [rw] simulation
108
+ # The name of the simulation.
109
+ # @return [String]
110
+ #
111
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/DeleteSimulationInput AWS API Documentation
112
+ #
113
+ class DeleteSimulationInput < Struct.new(
114
+ :simulation)
115
+ SENSITIVE = []
116
+ include Aws::Structure
117
+ end
118
+
119
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/DeleteSimulationOutput AWS API Documentation
120
+ #
121
+ class DeleteSimulationOutput < Aws::EmptyStructure; end
122
+
123
+ # @note When making an API call, you may pass DescribeAppInput
124
+ # data as a hash:
125
+ #
126
+ # {
127
+ # app: "SimSpaceWeaverResourceName", # required
128
+ # domain: "SimSpaceWeaverResourceName", # required
129
+ # simulation: "SimSpaceWeaverResourceName", # required
130
+ # }
131
+ #
132
+ # @!attribute [rw] app
133
+ # The name of the app.
134
+ # @return [String]
135
+ #
136
+ # @!attribute [rw] domain
137
+ # The name of the domain of the app.
138
+ # @return [String]
139
+ #
140
+ # @!attribute [rw] simulation
141
+ # The name of the simulation of the app.
142
+ # @return [String]
143
+ #
144
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/DescribeAppInput AWS API Documentation
145
+ #
146
+ class DescribeAppInput < Struct.new(
147
+ :app,
148
+ :domain,
149
+ :simulation)
150
+ SENSITIVE = []
151
+ include Aws::Structure
152
+ end
153
+
154
+ # @!attribute [rw] description
155
+ # The description of the app.
156
+ # @return [String]
157
+ #
158
+ # @!attribute [rw] domain
159
+ # The name of the domain of the app.
160
+ # @return [String]
161
+ #
162
+ # @!attribute [rw] endpoint_info
163
+ # Information about the network endpoint for the custom app. You can
164
+ # use the endpoint to connect to the custom app.
165
+ # @return [Types::SimulationAppEndpointInfo]
166
+ #
167
+ # @!attribute [rw] launch_overrides
168
+ # Options that apply when the app starts. These optiAons override
169
+ # default behavior.
170
+ # @return [Types::LaunchOverrides]
171
+ #
172
+ # @!attribute [rw] name
173
+ # The name of the app.
174
+ # @return [String]
175
+ #
176
+ # @!attribute [rw] simulation
177
+ # The name of the simulation of the app.
178
+ # @return [String]
179
+ #
180
+ # @!attribute [rw] status
181
+ # The current lifecycle state of the custom app.
182
+ # @return [String]
183
+ #
184
+ # @!attribute [rw] target_status
185
+ # The desired lifecycle state of the custom app.
186
+ # @return [String]
187
+ #
188
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/DescribeAppOutput AWS API Documentation
189
+ #
190
+ class DescribeAppOutput < Struct.new(
191
+ :description,
192
+ :domain,
193
+ :endpoint_info,
194
+ :launch_overrides,
195
+ :name,
196
+ :simulation,
197
+ :status,
198
+ :target_status)
199
+ SENSITIVE = []
200
+ include Aws::Structure
201
+ end
202
+
203
+ # @note When making an API call, you may pass DescribeSimulationInput
204
+ # data as a hash:
205
+ #
206
+ # {
207
+ # simulation: "SimSpaceWeaverResourceName", # required
208
+ # }
209
+ #
210
+ # @!attribute [rw] simulation
211
+ # The name of the simulation.
212
+ # @return [String]
213
+ #
214
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/DescribeSimulationInput AWS API Documentation
215
+ #
216
+ class DescribeSimulationInput < Struct.new(
217
+ :simulation)
218
+ SENSITIVE = []
219
+ include Aws::Structure
220
+ end
221
+
222
+ # @!attribute [rw] arn
223
+ # The Amazon Resource Name (ARN) of the simulation. For more
224
+ # information about ARNs, see [Amazon Resource Names (ARNs)][1] in the
225
+ # *Amazon Web Services General Reference*.
226
+ #
227
+ #
228
+ #
229
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
230
+ # @return [String]
231
+ #
232
+ # @!attribute [rw] creation_time
233
+ # The time when the simulation was created, expressed as the number of
234
+ # seconds and milliseconds in UTC since the Unix epoch (0:0:0.000,
235
+ # January 1, 1970).
236
+ # @return [Time]
237
+ #
238
+ # @!attribute [rw] description
239
+ # The description of the simulation.
240
+ # @return [String]
241
+ #
242
+ # @!attribute [rw] execution_id
243
+ # A universally unique identifier (UUID) for this simulation.
244
+ # @return [String]
245
+ #
246
+ # @!attribute [rw] live_simulation_state
247
+ # A collection of additional state information, such as domain and
248
+ # clock configuration.
249
+ # @return [Types::LiveSimulationState]
250
+ #
251
+ # @!attribute [rw] logging_configuration
252
+ # Settings that control how SimSpace Weaver handles your simulation
253
+ # log data.
254
+ # @return [Types::LoggingConfiguration]
255
+ #
256
+ # @!attribute [rw] maximum_duration
257
+ # The maximum running time of the simulation, specified as a number of
258
+ # months (m or M), hours (h or H), or days (d or D). The simulation
259
+ # stops when it reaches this limit.
260
+ # @return [String]
261
+ #
262
+ # @!attribute [rw] name
263
+ # The name of the simulation.
264
+ # @return [String]
265
+ #
266
+ # @!attribute [rw] role_arn
267
+ # The Amazon Resource Name (ARN) of the Identity and Access Management
268
+ # (IAM) role that the simulation assumes to perform actions. For more
269
+ # information about ARNs, see [Amazon Resource Names (ARNs)][1] in the
270
+ # *Amazon Web Services General Reference*. For more information about
271
+ # IAM roles, see [IAM roles][2] in the *Identity and Access Management
272
+ # User Guide*.
273
+ #
274
+ #
275
+ #
276
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
277
+ # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html
278
+ # @return [String]
279
+ #
280
+ # @!attribute [rw] schema_error
281
+ # An error message that SimSpace Weaver returns only if there is a
282
+ # problem with the simulation schema.
283
+ # @return [String]
284
+ #
285
+ # @!attribute [rw] schema_s3_location
286
+ # The location of the simulation schema in Amazon Simple Storage
287
+ # Service (Amazon S3). For more information about Amazon S3, see the [
288
+ # *Amazon Simple Storage Service User Guide* ][1].
289
+ #
290
+ #
291
+ #
292
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/Welcome.html
293
+ # @return [Types::S3Location]
294
+ #
295
+ # @!attribute [rw] status
296
+ # The current lifecycle state of the simulation.
297
+ # @return [String]
298
+ #
299
+ # @!attribute [rw] target_status
300
+ # The desired lifecycle state of the simulation.
301
+ # @return [String]
302
+ #
303
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/DescribeSimulationOutput AWS API Documentation
304
+ #
305
+ class DescribeSimulationOutput < Struct.new(
306
+ :arn,
307
+ :creation_time,
308
+ :description,
309
+ :execution_id,
310
+ :live_simulation_state,
311
+ :logging_configuration,
312
+ :maximum_duration,
313
+ :name,
314
+ :role_arn,
315
+ :schema_error,
316
+ :schema_s3_location,
317
+ :status,
318
+ :target_status)
319
+ SENSITIVE = []
320
+ include Aws::Structure
321
+ end
322
+
323
+ # A collection of app instances that run the same executable app code
324
+ # and have the same launch options and commands.
325
+ #
326
+ # For more information about domains, see [Key concepts][1] in the
327
+ # *Amazon Web Services SimSpace Weaver User Guide*.
328
+ #
329
+ #
330
+ #
331
+ # [1]: https://docs.aws.amazon.com/simspaceweaver/latest/userguide/what-is_key-concepts.html
332
+ #
333
+ # @!attribute [rw] lifecycle
334
+ # The type of lifecycle management for apps in the domain. This value
335
+ # indicates whether apps in this domain are *managed* (SimSpace Weaver
336
+ # starts and stops the apps) or *unmanaged* (you must start and stop
337
+ # the apps).
338
+ #
339
+ # **Lifecycle types**
340
+ #
341
+ # * `PerWorker` – Managed: SimSpace Weaver starts 1 app on each worker
342
+ #
343
+ # * `BySpatialSubdivision` – Managed: SimSpace Weaver starts 1 app for
344
+ # each spatial partition
345
+ #
346
+ # * `ByRequest` – Unmanaged: You use the **StartApp** API to start the
347
+ # apps and use the **StopApp** API to stop the apps.
348
+ #
349
+ # <note markdown="1"> The lifecycle types will change when the service is released for
350
+ # general availability (GA).
351
+ #
352
+ # </note>
353
+ # @return [String]
354
+ #
355
+ # @!attribute [rw] name
356
+ # The name of the domain.
357
+ # @return [String]
358
+ #
359
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/Domain AWS API Documentation
360
+ #
361
+ class Domain < Struct.new(
362
+ :lifecycle,
363
+ :name)
364
+ SENSITIVE = []
365
+ include Aws::Structure
366
+ end
367
+
368
+ # @!attribute [rw] message
369
+ # @return [String]
370
+ #
371
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/InternalServerException AWS API Documentation
372
+ #
373
+ class InternalServerException < Struct.new(
374
+ :message)
375
+ SENSITIVE = []
376
+ include Aws::Structure
377
+ end
378
+
379
+ # Options that apply when the app starts. These optiAons override
380
+ # default behavior.
381
+ #
382
+ # @note When making an API call, you may pass LaunchOverrides
383
+ # data as a hash:
384
+ #
385
+ # {
386
+ # launch_commands: ["NonEmptyString"],
387
+ # }
388
+ #
389
+ # @!attribute [rw] launch_commands
390
+ # App launch commands and command line parameters that override the
391
+ # launch command configured in the simulation schema.
392
+ # @return [Array<String>]
393
+ #
394
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/LaunchOverrides AWS API Documentation
395
+ #
396
+ class LaunchOverrides < Struct.new(
397
+ :launch_commands)
398
+ SENSITIVE = []
399
+ include Aws::Structure
400
+ end
401
+
402
+ # @note When making an API call, you may pass ListAppsInput
403
+ # data as a hash:
404
+ #
405
+ # {
406
+ # domain: "SimSpaceWeaverResourceName",
407
+ # max_results: 1,
408
+ # next_token: "OptionalString",
409
+ # simulation: "SimSpaceWeaverResourceName", # required
410
+ # }
411
+ #
412
+ # @!attribute [rw] domain
413
+ # The name of the domain that you want to list apps for.
414
+ # @return [String]
415
+ #
416
+ # @!attribute [rw] max_results
417
+ # The maximum number of apps to list.
418
+ # @return [Integer]
419
+ #
420
+ # @!attribute [rw] next_token
421
+ # If SimSpace Weaver returns `nextToken`, there are more results
422
+ # available. The value of `nextToken` is a unique pagination token for
423
+ # each page. To retrieve the next page, call the operation again using
424
+ # the returned token. Keep all other arguments unchanged. If no
425
+ # results remain, `nextToken` is set to `null`. Each pagination token
426
+ # expires after 24 hours. If you provide a token that isn't valid,
427
+ # you receive an *HTTP 400 ValidationException* error.
428
+ # @return [String]
429
+ #
430
+ # @!attribute [rw] simulation
431
+ # The name of the simulation that you want to list apps for.
432
+ # @return [String]
433
+ #
434
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/ListAppsInput AWS API Documentation
435
+ #
436
+ class ListAppsInput < Struct.new(
437
+ :domain,
438
+ :max_results,
439
+ :next_token,
440
+ :simulation)
441
+ SENSITIVE = []
442
+ include Aws::Structure
443
+ end
444
+
445
+ # @!attribute [rw] apps
446
+ # The list of apps for the given simulation and domain.
447
+ # @return [Array<Types::SimulationAppMetadata>]
448
+ #
449
+ # @!attribute [rw] next_token
450
+ # If SimSpace Weaver returns `nextToken`, there are more results
451
+ # available. The value of `nextToken` is a unique pagination token for
452
+ # each page. To retrieve the next page, call the operation again using
453
+ # the returned token. Keep all other arguments unchanged. If no
454
+ # results remain, `nextToken` is set to `null`. Each pagination token
455
+ # expires after 24 hours. If you provide a token that isn't valid,
456
+ # you receive an *HTTP 400 ValidationException* error.
457
+ # @return [String]
458
+ #
459
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/ListAppsOutput AWS API Documentation
460
+ #
461
+ class ListAppsOutput < Struct.new(
462
+ :apps,
463
+ :next_token)
464
+ SENSITIVE = []
465
+ include Aws::Structure
466
+ end
467
+
468
+ # @note When making an API call, you may pass ListSimulationsInput
469
+ # data as a hash:
470
+ #
471
+ # {
472
+ # max_results: 1,
473
+ # next_token: "OptionalString",
474
+ # }
475
+ #
476
+ # @!attribute [rw] max_results
477
+ # The maximum number of simulations to list.
478
+ # @return [Integer]
479
+ #
480
+ # @!attribute [rw] next_token
481
+ # If SimSpace Weaver returns `nextToken`, there are more results
482
+ # available. The value of `nextToken` is a unique pagination token for
483
+ # each page. To retrieve the next page, call the operation again using
484
+ # the returned token. Keep all other arguments unchanged. If no
485
+ # results remain, `nextToken` is set to `null`. Each pagination token
486
+ # expires after 24 hours. If you provide a token that isn't valid,
487
+ # you receive an *HTTP 400 ValidationException* error.
488
+ # @return [String]
489
+ #
490
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/ListSimulationsInput AWS API Documentation
491
+ #
492
+ class ListSimulationsInput < Struct.new(
493
+ :max_results,
494
+ :next_token)
495
+ SENSITIVE = []
496
+ include Aws::Structure
497
+ end
498
+
499
+ # @!attribute [rw] next_token
500
+ # If SimSpace Weaver returns `nextToken`, there are more results
501
+ # available. The value of `nextToken` is a unique pagination token for
502
+ # each page. To retrieve the next page, call the operation again using
503
+ # the returned token. Keep all other arguments unchanged. If no
504
+ # results remain, `nextToken` is set to `null`. Each pagination token
505
+ # expires after 24 hours. If you provide a token that isn't valid,
506
+ # you receive an *HTTP 400 ValidationException* error.
507
+ # @return [String]
508
+ #
509
+ # @!attribute [rw] simulations
510
+ # The list of simulations.
511
+ # @return [Array<Types::SimulationMetadata>]
512
+ #
513
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/ListSimulationsOutput AWS API Documentation
514
+ #
515
+ class ListSimulationsOutput < Struct.new(
516
+ :next_token,
517
+ :simulations)
518
+ SENSITIVE = []
519
+ include Aws::Structure
520
+ end
521
+
522
+ # @note When making an API call, you may pass ListTagsForResourceInput
523
+ # data as a hash:
524
+ #
525
+ # {
526
+ # resource_arn: "SimSpaceWeaverArn", # required
527
+ # }
528
+ #
529
+ # @!attribute [rw] resource_arn
530
+ # The Amazon Resource Name (ARN) of the resource. For more information
531
+ # about ARNs, see [Amazon Resource Names (ARNs)][1] in the *Amazon Web
532
+ # Services General Reference*.
533
+ #
534
+ #
535
+ #
536
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
537
+ # @return [String]
538
+ #
539
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/ListTagsForResourceInput AWS API Documentation
540
+ #
541
+ class ListTagsForResourceInput < Struct.new(
542
+ :resource_arn)
543
+ SENSITIVE = []
544
+ include Aws::Structure
545
+ end
546
+
547
+ # @!attribute [rw] tags
548
+ # The list of tags for the resource.
549
+ # @return [Hash<String,String>]
550
+ #
551
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/ListTagsForResourceOutput AWS API Documentation
552
+ #
553
+ class ListTagsForResourceOutput < Struct.new(
554
+ :tags)
555
+ SENSITIVE = []
556
+ include Aws::Structure
557
+ end
558
+
559
+ # A collection of additional state information, such as domain and clock
560
+ # configuration.
561
+ #
562
+ # @!attribute [rw] clocks
563
+ # A list of simulation clocks.
564
+ #
565
+ # <note markdown="1"> At this time, a simulation has only one clock.
566
+ #
567
+ # </note>
568
+ # @return [Array<Types::SimulationClock>]
569
+ #
570
+ # @!attribute [rw] domains
571
+ # A list of domains for the simulation. For more information about
572
+ # domains, see [Key concepts][1] in the *Amazon Web Services SimSpace
573
+ # Weaver User Guide*.
574
+ #
575
+ #
576
+ #
577
+ # [1]: https://docs.aws.amazon.com/simspaceweaver/latest/userguide/what-is_key-concepts.html
578
+ # @return [Array<Types::Domain>]
579
+ #
580
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/LiveSimulationState AWS API Documentation
581
+ #
582
+ class LiveSimulationState < Struct.new(
583
+ :clocks,
584
+ :domains)
585
+ SENSITIVE = []
586
+ include Aws::Structure
587
+ end
588
+
589
+ # The location where SimSpace Weaver sends simulation log data.
590
+ #
591
+ # @!attribute [rw] cloud_watch_logs_log_group
592
+ # An Amazon CloudWatch Logs log group that stores simulation log data.
593
+ # For more information about log groups, see [Working with log groups
594
+ # and log streams][1] in the *Amazon CloudWatch Logs User Guide*.
595
+ #
596
+ #
597
+ #
598
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html
599
+ # @return [Types::CloudWatchLogsLogGroup]
600
+ #
601
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/LogDestination AWS API Documentation
602
+ #
603
+ class LogDestination < Struct.new(
604
+ :cloud_watch_logs_log_group)
605
+ SENSITIVE = []
606
+ include Aws::Structure
607
+ end
608
+
609
+ # The logging configuration for a simulation.
610
+ #
611
+ # @!attribute [rw] destinations
612
+ # A list of the locations where SimSpace Weaver sends simulation log
613
+ # data.
614
+ # @return [Array<Types::LogDestination>]
615
+ #
616
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/LoggingConfiguration AWS API Documentation
617
+ #
618
+ class LoggingConfiguration < Struct.new(
619
+ :destinations)
620
+ SENSITIVE = []
621
+ include Aws::Structure
622
+ end
623
+
624
+ # @!attribute [rw] message
625
+ # @return [String]
626
+ #
627
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/ResourceNotFoundException AWS API Documentation
628
+ #
629
+ class ResourceNotFoundException < Struct.new(
630
+ :message)
631
+ SENSITIVE = []
632
+ include Aws::Structure
633
+ end
634
+
635
+ # A location in Amazon Simple Storage Service (Amazon S3) where SimSpace
636
+ # Weaver stores simulation data, such as your app zip files and schema
637
+ # file. For more information about Amazon S3, see the [ *Amazon Simple
638
+ # Storage Service User Guide* ][1].
639
+ #
640
+ #
641
+ #
642
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/Welcome.html
643
+ #
644
+ # @note When making an API call, you may pass S3Location
645
+ # data as a hash:
646
+ #
647
+ # {
648
+ # bucket_name: "BucketName",
649
+ # object_key: "ObjectKey",
650
+ # }
651
+ #
652
+ # @!attribute [rw] bucket_name
653
+ # The name of an Amazon S3 bucket. For more information about buckets,
654
+ # see [Creating, configuring, and working with Amazon S3 buckets][1]
655
+ # in the *Amazon Simple Storage Service User Guide*.
656
+ #
657
+ #
658
+ #
659
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/creating-buckets-s3.html
660
+ # @return [String]
661
+ #
662
+ # @!attribute [rw] object_key
663
+ # The key name of an object in Amazon S3. For more information about
664
+ # Amazon S3 objects and object keys, see [Uploading, downloading, and
665
+ # working with objects in Amazon S3][1] in the *Amazon Simple Storage
666
+ # Service User Guide*.
667
+ #
668
+ #
669
+ #
670
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/uploading-downloading-objects.html
671
+ # @return [String]
672
+ #
673
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/S3Location AWS API Documentation
674
+ #
675
+ class S3Location < Struct.new(
676
+ :bucket_name,
677
+ :object_key)
678
+ SENSITIVE = []
679
+ include Aws::Structure
680
+ end
681
+
682
+ # @!attribute [rw] message
683
+ # @return [String]
684
+ #
685
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/ServiceQuotaExceededException AWS API Documentation
686
+ #
687
+ class ServiceQuotaExceededException < Struct.new(
688
+ :message)
689
+ SENSITIVE = []
690
+ include Aws::Structure
691
+ end
692
+
693
+ # Information about the network endpoint that you can use to connect to
694
+ # your custom or service app.
695
+ #
696
+ # @!attribute [rw] address
697
+ # The IP address of the app. SimSpace Weaver dynamically assigns this
698
+ # IP address when the app starts.
699
+ # @return [String]
700
+ #
701
+ # @!attribute [rw] ingress_port_mappings
702
+ # The inbound TCP/UDP port numbers of the app. The combination of an
703
+ # IP address and a port number form a network endpoint.
704
+ # @return [Array<Types::SimulationAppPortMapping>]
705
+ #
706
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/SimulationAppEndpointInfo AWS API Documentation
707
+ #
708
+ class SimulationAppEndpointInfo < Struct.new(
709
+ :address,
710
+ :ingress_port_mappings)
711
+ SENSITIVE = []
712
+ include Aws::Structure
713
+ end
714
+
715
+ # A collection of metadata about an app.
716
+ #
717
+ # @!attribute [rw] domain
718
+ # The domain of the app. For more information about domains, see [Key
719
+ # concepts][1] in the *Amazon Web Services SimSpace Weaver User
720
+ # Guide*.
721
+ #
722
+ #
723
+ #
724
+ # [1]: https://docs.aws.amazon.com/simspaceweaver/latest/userguide/what-is_key-concepts.html
725
+ # @return [String]
726
+ #
727
+ # @!attribute [rw] name
728
+ # The name of the app.
729
+ # @return [String]
730
+ #
731
+ # @!attribute [rw] simulation
732
+ # The name of the simulation of the app.
733
+ # @return [String]
734
+ #
735
+ # @!attribute [rw] status
736
+ # The current status of the app.
737
+ # @return [String]
738
+ #
739
+ # @!attribute [rw] target_status
740
+ # The desired status of the app.
741
+ # @return [String]
742
+ #
743
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/SimulationAppMetadata AWS API Documentation
744
+ #
745
+ class SimulationAppMetadata < Struct.new(
746
+ :domain,
747
+ :name,
748
+ :simulation,
749
+ :status,
750
+ :target_status)
751
+ SENSITIVE = []
752
+ include Aws::Structure
753
+ end
754
+
755
+ # A collection of TCP/UDP ports for a custom or service app.
756
+ #
757
+ # @!attribute [rw] actual
758
+ # The TCP/UDP port number of the running app. SimSpace Weaver
759
+ # dynamically assigns this port number when the app starts. SimSpace
760
+ # Weaver maps the `Declared` port to the `Actual` port. Clients
761
+ # connect to the app using the app's IP address and the `Actual` port
762
+ # number.
763
+ # @return [Integer]
764
+ #
765
+ # @!attribute [rw] declared
766
+ # The TCP/UDP port number of the app, declared in the simulation
767
+ # schema. SimSpace Weaver maps the `Declared` port to the `Actual`
768
+ # port. The source code for the app should bind to the `Declared`
769
+ # port.
770
+ # @return [Integer]
771
+ #
772
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/SimulationAppPortMapping AWS API Documentation
773
+ #
774
+ class SimulationAppPortMapping < Struct.new(
775
+ :actual,
776
+ :declared)
777
+ SENSITIVE = []
778
+ include Aws::Structure
779
+ end
780
+
781
+ # Status information about the simulation clock.
782
+ #
783
+ # @!attribute [rw] status
784
+ # The current status of the simulation clock.
785
+ # @return [String]
786
+ #
787
+ # @!attribute [rw] target_status
788
+ # The desired status of the simulation clock.
789
+ # @return [String]
790
+ #
791
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/SimulationClock AWS API Documentation
792
+ #
793
+ class SimulationClock < Struct.new(
794
+ :status,
795
+ :target_status)
796
+ SENSITIVE = []
797
+ include Aws::Structure
798
+ end
799
+
800
+ # A collection of data about the simulation.
801
+ #
802
+ # @!attribute [rw] arn
803
+ # The Amazon Resource Name (ARN) of the simulation. For more
804
+ # information about ARNs, see [Amazon Resource Names (ARNs)][1] in the
805
+ # *Amazon Web Services General Reference*.
806
+ #
807
+ #
808
+ #
809
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
810
+ # @return [String]
811
+ #
812
+ # @!attribute [rw] creation_time
813
+ # The time when the simulation was created, expressed as the number of
814
+ # seconds and milliseconds in UTC since the Unix epoch (0:0:0.000,
815
+ # January 1, 1970).
816
+ # @return [Time]
817
+ #
818
+ # @!attribute [rw] name
819
+ # The name of the simulation.
820
+ # @return [String]
821
+ #
822
+ # @!attribute [rw] status
823
+ # The current status of the simulation.
824
+ # @return [String]
825
+ #
826
+ # @!attribute [rw] target_status
827
+ # The desired status of the simulation.
828
+ # @return [String]
829
+ #
830
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/SimulationMetadata AWS API Documentation
831
+ #
832
+ class SimulationMetadata < Struct.new(
833
+ :arn,
834
+ :creation_time,
835
+ :name,
836
+ :status,
837
+ :target_status)
838
+ SENSITIVE = []
839
+ include Aws::Structure
840
+ end
841
+
842
+ # @note When making an API call, you may pass StartAppInput
843
+ # data as a hash:
844
+ #
845
+ # {
846
+ # client_token: "ClientToken",
847
+ # description: "Description",
848
+ # domain: "SimSpaceWeaverResourceName", # required
849
+ # launch_overrides: {
850
+ # launch_commands: ["NonEmptyString"],
851
+ # },
852
+ # name: "SimSpaceWeaverResourceName", # required
853
+ # simulation: "SimSpaceWeaverResourceName", # required
854
+ # }
855
+ #
856
+ # @!attribute [rw] client_token
857
+ # A value that you provide to ensure that repeated calls to this API
858
+ # operation using the same parameters complete only once. A
859
+ # `ClientToken` is also known as an *idempotency token*. A
860
+ # `ClientToken` expires after 24 hours.
861
+ #
862
+ # **A suitable default value is auto-generated.** You should normally
863
+ # not need to pass this option.
864
+ # @return [String]
865
+ #
866
+ # @!attribute [rw] description
867
+ # The description of the app.
868
+ # @return [String]
869
+ #
870
+ # @!attribute [rw] domain
871
+ # The name of the domain of the app.
872
+ # @return [String]
873
+ #
874
+ # @!attribute [rw] launch_overrides
875
+ # Options that apply when the app starts. These optiAons override
876
+ # default behavior.
877
+ # @return [Types::LaunchOverrides]
878
+ #
879
+ # @!attribute [rw] name
880
+ # The name of the app.
881
+ # @return [String]
882
+ #
883
+ # @!attribute [rw] simulation
884
+ # The name of the simulation of the app.
885
+ # @return [String]
886
+ #
887
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/StartAppInput AWS API Documentation
888
+ #
889
+ class StartAppInput < Struct.new(
890
+ :client_token,
891
+ :description,
892
+ :domain,
893
+ :launch_overrides,
894
+ :name,
895
+ :simulation)
896
+ SENSITIVE = [:client_token]
897
+ include Aws::Structure
898
+ end
899
+
900
+ # @!attribute [rw] domain
901
+ # The name of the domain of the app.
902
+ # @return [String]
903
+ #
904
+ # @!attribute [rw] name
905
+ # The name of the app.
906
+ # @return [String]
907
+ #
908
+ # @!attribute [rw] simulation
909
+ # The name of the simulation of the app.
910
+ # @return [String]
911
+ #
912
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/StartAppOutput AWS API Documentation
913
+ #
914
+ class StartAppOutput < Struct.new(
915
+ :domain,
916
+ :name,
917
+ :simulation)
918
+ SENSITIVE = []
919
+ include Aws::Structure
920
+ end
921
+
922
+ # @note When making an API call, you may pass StartClockInput
923
+ # data as a hash:
924
+ #
925
+ # {
926
+ # simulation: "SimSpaceWeaverResourceName", # required
927
+ # }
928
+ #
929
+ # @!attribute [rw] simulation
930
+ # The name of the simulation.
931
+ # @return [String]
932
+ #
933
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/StartClockInput AWS API Documentation
934
+ #
935
+ class StartClockInput < Struct.new(
936
+ :simulation)
937
+ SENSITIVE = []
938
+ include Aws::Structure
939
+ end
940
+
941
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/StartClockOutput AWS API Documentation
942
+ #
943
+ class StartClockOutput < Aws::EmptyStructure; end
944
+
945
+ # @note When making an API call, you may pass StartSimulationInput
946
+ # data as a hash:
947
+ #
948
+ # {
949
+ # client_token: "ClientToken",
950
+ # description: "Description",
951
+ # maximum_duration: "TimeToLiveString",
952
+ # name: "SimSpaceWeaverResourceName", # required
953
+ # role_arn: "RoleArn", # required
954
+ # schema_s3_location: { # required
955
+ # bucket_name: "BucketName",
956
+ # object_key: "ObjectKey",
957
+ # },
958
+ # tags: {
959
+ # "TagKey" => "TagValue",
960
+ # },
961
+ # }
962
+ #
963
+ # @!attribute [rw] client_token
964
+ # A value that you provide to ensure that repeated calls to this API
965
+ # operation using the same parameters complete only once. A
966
+ # `ClientToken` is also known as an *idempotency token*. A
967
+ # `ClientToken` expires after 24 hours.
968
+ #
969
+ # **A suitable default value is auto-generated.** You should normally
970
+ # not need to pass this option.
971
+ # @return [String]
972
+ #
973
+ # @!attribute [rw] description
974
+ # The description of the simulation.
975
+ # @return [String]
976
+ #
977
+ # @!attribute [rw] maximum_duration
978
+ # The maximum running time of the simulation, specified as a number of
979
+ # months (m or M), hours (h or H), or days (d or D). The simulation
980
+ # stops when it reaches this limit.
981
+ # @return [String]
982
+ #
983
+ # @!attribute [rw] name
984
+ # The name of the simulation.
985
+ # @return [String]
986
+ #
987
+ # @!attribute [rw] role_arn
988
+ # The Amazon Resource Name (ARN) of the Identity and Access Management
989
+ # (IAM) role that the simulation assumes to perform actions. For more
990
+ # information about ARNs, see [Amazon Resource Names (ARNs)][1] in the
991
+ # *Amazon Web Services General Reference*. For more information about
992
+ # IAM roles, see [IAM roles][2] in the *Identity and Access Management
993
+ # User Guide*.
994
+ #
995
+ #
996
+ #
997
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
998
+ # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html
999
+ # @return [String]
1000
+ #
1001
+ # @!attribute [rw] schema_s3_location
1002
+ # The location of the simulation schema in Amazon Simple Storage
1003
+ # Service (Amazon S3). For more information about Amazon S3, see the [
1004
+ # *Amazon Simple Storage Service User Guide* ][1].
1005
+ #
1006
+ #
1007
+ #
1008
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/Welcome.html
1009
+ # @return [Types::S3Location]
1010
+ #
1011
+ # @!attribute [rw] tags
1012
+ # A list of tags for the simulation. For more information about tags,
1013
+ # see [Tagging Amazon Web Services resources][1] in the *Amazon Web
1014
+ # Services General Reference*.
1015
+ #
1016
+ #
1017
+ #
1018
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
1019
+ # @return [Hash<String,String>]
1020
+ #
1021
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/StartSimulationInput AWS API Documentation
1022
+ #
1023
+ class StartSimulationInput < Struct.new(
1024
+ :client_token,
1025
+ :description,
1026
+ :maximum_duration,
1027
+ :name,
1028
+ :role_arn,
1029
+ :schema_s3_location,
1030
+ :tags)
1031
+ SENSITIVE = [:client_token]
1032
+ include Aws::Structure
1033
+ end
1034
+
1035
+ # @!attribute [rw] arn
1036
+ # The Amazon Resource Name (ARN) of the simulation. For more
1037
+ # information about ARNs, see [Amazon Resource Names (ARNs)][1] in the
1038
+ # *Amazon Web Services General Reference*.
1039
+ #
1040
+ #
1041
+ #
1042
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1043
+ # @return [String]
1044
+ #
1045
+ # @!attribute [rw] creation_time
1046
+ # The time when the simulation was created, expressed as the number of
1047
+ # seconds and milliseconds in UTC since the Unix epoch (0:0:0.000,
1048
+ # January 1, 1970).
1049
+ # @return [Time]
1050
+ #
1051
+ # @!attribute [rw] execution_id
1052
+ # A universally unique identifier (UUID) for this simulation.
1053
+ # @return [String]
1054
+ #
1055
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/StartSimulationOutput AWS API Documentation
1056
+ #
1057
+ class StartSimulationOutput < Struct.new(
1058
+ :arn,
1059
+ :creation_time,
1060
+ :execution_id)
1061
+ SENSITIVE = []
1062
+ include Aws::Structure
1063
+ end
1064
+
1065
+ # @note When making an API call, you may pass StopAppInput
1066
+ # data as a hash:
1067
+ #
1068
+ # {
1069
+ # app: "SimSpaceWeaverResourceName", # required
1070
+ # domain: "SimSpaceWeaverResourceName", # required
1071
+ # simulation: "SimSpaceWeaverResourceName", # required
1072
+ # }
1073
+ #
1074
+ # @!attribute [rw] app
1075
+ # The name of the app.
1076
+ # @return [String]
1077
+ #
1078
+ # @!attribute [rw] domain
1079
+ # The name of the domain of the app.
1080
+ # @return [String]
1081
+ #
1082
+ # @!attribute [rw] simulation
1083
+ # The name of the simulation of the app.
1084
+ # @return [String]
1085
+ #
1086
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/StopAppInput AWS API Documentation
1087
+ #
1088
+ class StopAppInput < Struct.new(
1089
+ :app,
1090
+ :domain,
1091
+ :simulation)
1092
+ SENSITIVE = []
1093
+ include Aws::Structure
1094
+ end
1095
+
1096
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/StopAppOutput AWS API Documentation
1097
+ #
1098
+ class StopAppOutput < Aws::EmptyStructure; end
1099
+
1100
+ # @note When making an API call, you may pass StopClockInput
1101
+ # data as a hash:
1102
+ #
1103
+ # {
1104
+ # simulation: "SimSpaceWeaverResourceName", # required
1105
+ # }
1106
+ #
1107
+ # @!attribute [rw] simulation
1108
+ # The name of the simulation.
1109
+ # @return [String]
1110
+ #
1111
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/StopClockInput AWS API Documentation
1112
+ #
1113
+ class StopClockInput < Struct.new(
1114
+ :simulation)
1115
+ SENSITIVE = []
1116
+ include Aws::Structure
1117
+ end
1118
+
1119
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/StopClockOutput AWS API Documentation
1120
+ #
1121
+ class StopClockOutput < Aws::EmptyStructure; end
1122
+
1123
+ # @note When making an API call, you may pass StopSimulationInput
1124
+ # data as a hash:
1125
+ #
1126
+ # {
1127
+ # simulation: "SimSpaceWeaverResourceName", # required
1128
+ # }
1129
+ #
1130
+ # @!attribute [rw] simulation
1131
+ # The name of the simulation.
1132
+ # @return [String]
1133
+ #
1134
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/StopSimulationInput AWS API Documentation
1135
+ #
1136
+ class StopSimulationInput < Struct.new(
1137
+ :simulation)
1138
+ SENSITIVE = []
1139
+ include Aws::Structure
1140
+ end
1141
+
1142
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/StopSimulationOutput AWS API Documentation
1143
+ #
1144
+ class StopSimulationOutput < Aws::EmptyStructure; end
1145
+
1146
+ # @note When making an API call, you may pass TagResourceInput
1147
+ # data as a hash:
1148
+ #
1149
+ # {
1150
+ # resource_arn: "SimSpaceWeaverArn", # required
1151
+ # tags: { # required
1152
+ # "TagKey" => "TagValue",
1153
+ # },
1154
+ # }
1155
+ #
1156
+ # @!attribute [rw] resource_arn
1157
+ # The Amazon Resource Name (ARN) of the resource that you want to add
1158
+ # tags to. For more information about ARNs, see [Amazon Resource Names
1159
+ # (ARNs)][1] in the *Amazon Web Services General Reference*.
1160
+ #
1161
+ #
1162
+ #
1163
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1164
+ # @return [String]
1165
+ #
1166
+ # @!attribute [rw] tags
1167
+ # A list of tags to apply to the resource.
1168
+ # @return [Hash<String,String>]
1169
+ #
1170
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/TagResourceInput AWS API Documentation
1171
+ #
1172
+ class TagResourceInput < Struct.new(
1173
+ :resource_arn,
1174
+ :tags)
1175
+ SENSITIVE = []
1176
+ include Aws::Structure
1177
+ end
1178
+
1179
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/TagResourceOutput AWS API Documentation
1180
+ #
1181
+ class TagResourceOutput < Aws::EmptyStructure; end
1182
+
1183
+ # @!attribute [rw] message
1184
+ # @return [String]
1185
+ #
1186
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/TooManyTagsException AWS API Documentation
1187
+ #
1188
+ class TooManyTagsException < Struct.new(
1189
+ :message)
1190
+ SENSITIVE = []
1191
+ include Aws::Structure
1192
+ end
1193
+
1194
+ # @note When making an API call, you may pass UntagResourceInput
1195
+ # data as a hash:
1196
+ #
1197
+ # {
1198
+ # resource_arn: "SimSpaceWeaverArn", # required
1199
+ # tag_keys: ["TagKey"], # required
1200
+ # }
1201
+ #
1202
+ # @!attribute [rw] resource_arn
1203
+ # The Amazon Resource Name (ARN) of the resource that you want to
1204
+ # remove tags from. For more information about ARNs, see [Amazon
1205
+ # Resource Names (ARNs)][1] in the *Amazon Web Services General
1206
+ # Reference*.
1207
+ #
1208
+ #
1209
+ #
1210
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1211
+ # @return [String]
1212
+ #
1213
+ # @!attribute [rw] tag_keys
1214
+ # A list of tag keys to remove from the resource.
1215
+ # @return [Array<String>]
1216
+ #
1217
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/UntagResourceInput AWS API Documentation
1218
+ #
1219
+ class UntagResourceInput < Struct.new(
1220
+ :resource_arn,
1221
+ :tag_keys)
1222
+ SENSITIVE = []
1223
+ include Aws::Structure
1224
+ end
1225
+
1226
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/UntagResourceOutput AWS API Documentation
1227
+ #
1228
+ class UntagResourceOutput < Aws::EmptyStructure; end
1229
+
1230
+ # @!attribute [rw] message
1231
+ # @return [String]
1232
+ #
1233
+ # @see http://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/ValidationException AWS API Documentation
1234
+ #
1235
+ class ValidationException < Struct.new(
1236
+ :message)
1237
+ SENSITIVE = []
1238
+ include Aws::Structure
1239
+ end
1240
+
1241
+ end
1242
+ end