aws-sdk-gamesparks 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2173 @@
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::GameSparks
11
+ module Types
12
+
13
+ # You do not have sufficient access to perform this action.
14
+ #
15
+ # @!attribute [rw] message
16
+ # @return [String]
17
+ #
18
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/AccessDeniedException AWS API Documentation
19
+ #
20
+ class AccessDeniedException < Struct.new(
21
+ :message)
22
+ SENSITIVE = []
23
+ include Aws::Structure
24
+ end
25
+
26
+ # The resource already exists, or another operation is in progress.
27
+ #
28
+ # @!attribute [rw] message
29
+ # @return [String]
30
+ #
31
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ConflictException AWS API Documentation
32
+ #
33
+ class ConflictException < Struct.new(
34
+ :message)
35
+ SENSITIVE = []
36
+ include Aws::Structure
37
+ end
38
+
39
+ # Details about a WebSocket connection.
40
+ #
41
+ # @!attribute [rw] created
42
+ # The date and time when the connection was created.
43
+ # @return [Time]
44
+ #
45
+ # @!attribute [rw] id
46
+ # The identifier used to indicate a specific WebSocket connection.
47
+ # @return [String]
48
+ #
49
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/Connection AWS API Documentation
50
+ #
51
+ class Connection < Struct.new(
52
+ :created,
53
+ :id)
54
+ SENSITIVE = []
55
+ include Aws::Structure
56
+ end
57
+
58
+ # @note When making an API call, you may pass CreateGameRequest
59
+ # data as a hash:
60
+ #
61
+ # {
62
+ # client_token: "ClientToken",
63
+ # description: "GameDescription",
64
+ # game_name: "GameName", # required
65
+ # tags: {
66
+ # "TagKey" => "TagValue",
67
+ # },
68
+ # }
69
+ #
70
+ # @!attribute [rw] client_token
71
+ # A client-defined token. With an active client token in the request,
72
+ # this action is idempotent.
73
+ # @return [String]
74
+ #
75
+ # @!attribute [rw] description
76
+ # The description of the game.
77
+ # @return [String]
78
+ #
79
+ # @!attribute [rw] game_name
80
+ # The name of the game.
81
+ # @return [String]
82
+ #
83
+ # @!attribute [rw] tags
84
+ # The list of tags to apply to the game.
85
+ # @return [Hash<String,String>]
86
+ #
87
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/CreateGameRequest AWS API Documentation
88
+ #
89
+ class CreateGameRequest < Struct.new(
90
+ :client_token,
91
+ :description,
92
+ :game_name,
93
+ :tags)
94
+ SENSITIVE = []
95
+ include Aws::Structure
96
+ end
97
+
98
+ # @!attribute [rw] game
99
+ # Details about the game that was created.
100
+ # @return [Types::GameDetails]
101
+ #
102
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/CreateGameResult AWS API Documentation
103
+ #
104
+ class CreateGameResult < Struct.new(
105
+ :game)
106
+ SENSITIVE = []
107
+ include Aws::Structure
108
+ end
109
+
110
+ # @note When making an API call, you may pass CreateSnapshotRequest
111
+ # data as a hash:
112
+ #
113
+ # {
114
+ # description: "SnapshotDescription",
115
+ # game_name: "GameName", # required
116
+ # }
117
+ #
118
+ # @!attribute [rw] description
119
+ # The description of the snapshot.
120
+ # @return [String]
121
+ #
122
+ # @!attribute [rw] game_name
123
+ # The name of the game.
124
+ # @return [String]
125
+ #
126
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/CreateSnapshotRequest AWS API Documentation
127
+ #
128
+ class CreateSnapshotRequest < Struct.new(
129
+ :description,
130
+ :game_name)
131
+ SENSITIVE = []
132
+ include Aws::Structure
133
+ end
134
+
135
+ # @!attribute [rw] snapshot
136
+ # Properties that provide details of the created snapshot.
137
+ # @return [Types::SnapshotDetails]
138
+ #
139
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/CreateSnapshotResult AWS API Documentation
140
+ #
141
+ class CreateSnapshotResult < Struct.new(
142
+ :snapshot)
143
+ SENSITIVE = []
144
+ include Aws::Structure
145
+ end
146
+
147
+ # @note When making an API call, you may pass CreateStageRequest
148
+ # data as a hash:
149
+ #
150
+ # {
151
+ # client_token: "ClientToken",
152
+ # description: "StageDescription",
153
+ # game_name: "GameName", # required
154
+ # role: "RoleARN", # required
155
+ # stage_name: "StageName", # required
156
+ # tags: {
157
+ # "TagKey" => "TagValue",
158
+ # },
159
+ # }
160
+ #
161
+ # @!attribute [rw] client_token
162
+ # A client-defined token. With an active client token in the request,
163
+ # this action is idempotent.
164
+ # @return [String]
165
+ #
166
+ # @!attribute [rw] description
167
+ # The description of the stage.
168
+ # @return [String]
169
+ #
170
+ # @!attribute [rw] game_name
171
+ # The name of the game.
172
+ # @return [String]
173
+ #
174
+ # @!attribute [rw] role
175
+ # The Amazon Resource Name (ARN) of the role to run the game with.
176
+ # This role can be a game-defined role or the default role that
177
+ # GameSparks created.
178
+ # @return [String]
179
+ #
180
+ # @!attribute [rw] stage_name
181
+ # The name of the stage.
182
+ # @return [String]
183
+ #
184
+ # @!attribute [rw] tags
185
+ # The list of tags to apply to the stage.
186
+ # @return [Hash<String,String>]
187
+ #
188
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/CreateStageRequest AWS API Documentation
189
+ #
190
+ class CreateStageRequest < Struct.new(
191
+ :client_token,
192
+ :description,
193
+ :game_name,
194
+ :role,
195
+ :stage_name,
196
+ :tags)
197
+ SENSITIVE = []
198
+ include Aws::Structure
199
+ end
200
+
201
+ # @!attribute [rw] stage
202
+ # Properties that describe the stage.
203
+ # @return [Types::StageDetails]
204
+ #
205
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/CreateStageResult AWS API Documentation
206
+ #
207
+ class CreateStageResult < Struct.new(
208
+ :stage)
209
+ SENSITIVE = []
210
+ include Aws::Structure
211
+ end
212
+
213
+ # @note When making an API call, you may pass DeleteGameRequest
214
+ # data as a hash:
215
+ #
216
+ # {
217
+ # game_name: "GameName", # required
218
+ # }
219
+ #
220
+ # @!attribute [rw] game_name
221
+ # The name of the game to delete.
222
+ # @return [String]
223
+ #
224
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/DeleteGameRequest AWS API Documentation
225
+ #
226
+ class DeleteGameRequest < Struct.new(
227
+ :game_name)
228
+ SENSITIVE = []
229
+ include Aws::Structure
230
+ end
231
+
232
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/DeleteGameResult AWS API Documentation
233
+ #
234
+ class DeleteGameResult < Aws::EmptyStructure; end
235
+
236
+ # @note When making an API call, you may pass DeleteStageRequest
237
+ # data as a hash:
238
+ #
239
+ # {
240
+ # game_name: "GameName", # required
241
+ # stage_name: "StageName", # required
242
+ # }
243
+ #
244
+ # @!attribute [rw] game_name
245
+ # The name of the game.
246
+ # @return [String]
247
+ #
248
+ # @!attribute [rw] stage_name
249
+ # The name of the stage to delete.
250
+ # @return [String]
251
+ #
252
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/DeleteStageRequest AWS API Documentation
253
+ #
254
+ class DeleteStageRequest < Struct.new(
255
+ :game_name,
256
+ :stage_name)
257
+ SENSITIVE = []
258
+ include Aws::Structure
259
+ end
260
+
261
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/DeleteStageResult AWS API Documentation
262
+ #
263
+ class DeleteStageResult < Aws::EmptyStructure; end
264
+
265
+ # @note When making an API call, you may pass DisconnectPlayerRequest
266
+ # data as a hash:
267
+ #
268
+ # {
269
+ # game_name: "GameName", # required
270
+ # player_id: "PlayerId", # required
271
+ # stage_name: "StageName", # required
272
+ # }
273
+ #
274
+ # @!attribute [rw] game_name
275
+ # The name of the game.
276
+ # @return [String]
277
+ #
278
+ # @!attribute [rw] player_id
279
+ # The unique identifier representing a player.
280
+ # @return [String]
281
+ #
282
+ # @!attribute [rw] stage_name
283
+ # The name of the stage.
284
+ # @return [String]
285
+ #
286
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/DisconnectPlayerRequest AWS API Documentation
287
+ #
288
+ class DisconnectPlayerRequest < Struct.new(
289
+ :game_name,
290
+ :player_id,
291
+ :stage_name)
292
+ SENSITIVE = []
293
+ include Aws::Structure
294
+ end
295
+
296
+ # @!attribute [rw] disconnect_failures
297
+ # The list of the connection ids that could not be disconnected.
298
+ # @return [Array<String>]
299
+ #
300
+ # @!attribute [rw] disconnect_successes
301
+ # The list of the connection ids that were disconnected.
302
+ # @return [Array<String>]
303
+ #
304
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/DisconnectPlayerResult AWS API Documentation
305
+ #
306
+ class DisconnectPlayerResult < Struct.new(
307
+ :disconnect_failures,
308
+ :disconnect_successes)
309
+ SENSITIVE = []
310
+ include Aws::Structure
311
+ end
312
+
313
+ # @note When making an API call, you may pass ExportSnapshotRequest
314
+ # data as a hash:
315
+ #
316
+ # {
317
+ # game_name: "GameName", # required
318
+ # snapshot_id: "SnapshotId", # required
319
+ # }
320
+ #
321
+ # @!attribute [rw] game_name
322
+ # The name of the game.
323
+ # @return [String]
324
+ #
325
+ # @!attribute [rw] snapshot_id
326
+ # The identifier of the snapshot to export.
327
+ # @return [String]
328
+ #
329
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ExportSnapshotRequest AWS API Documentation
330
+ #
331
+ class ExportSnapshotRequest < Struct.new(
332
+ :game_name,
333
+ :snapshot_id)
334
+ SENSITIVE = []
335
+ include Aws::Structure
336
+ end
337
+
338
+ # @!attribute [rw] s3_url
339
+ # The presigned URL for the snapshot data.
340
+ #
341
+ # This URL will be available for 10 minutes, and can be used to
342
+ # download the snapshot content. If the URL expires, a new one can be
343
+ # requested using the same operation.
344
+ # @return [String]
345
+ #
346
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ExportSnapshotResult AWS API Documentation
347
+ #
348
+ class ExportSnapshotResult < Struct.new(
349
+ :s3_url)
350
+ SENSITIVE = []
351
+ include Aws::Structure
352
+ end
353
+
354
+ # Details about the extension.
355
+ #
356
+ # @!attribute [rw] description
357
+ # The description of the extension.
358
+ # @return [String]
359
+ #
360
+ # @!attribute [rw] name
361
+ # The name of the extension.
362
+ # @return [String]
363
+ #
364
+ # @!attribute [rw] namespace
365
+ # The namespace (qualifier) of the extension.
366
+ # @return [String]
367
+ #
368
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ExtensionDetails AWS API Documentation
369
+ #
370
+ class ExtensionDetails < Struct.new(
371
+ :description,
372
+ :name,
373
+ :namespace)
374
+ SENSITIVE = []
375
+ include Aws::Structure
376
+ end
377
+
378
+ # Details about the extension version.
379
+ #
380
+ # @!attribute [rw] name
381
+ # The name of the extension.
382
+ # @return [String]
383
+ #
384
+ # @!attribute [rw] namespace
385
+ # The namespace (qualifier) of the extension.
386
+ # @return [String]
387
+ #
388
+ # @!attribute [rw] schema
389
+ # The model that defines the interface for this extension version.
390
+ # @return [String]
391
+ #
392
+ # @!attribute [rw] version
393
+ # The version of the extension.
394
+ # @return [String]
395
+ #
396
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ExtensionVersionDetails AWS API Documentation
397
+ #
398
+ class ExtensionVersionDetails < Struct.new(
399
+ :name,
400
+ :namespace,
401
+ :schema,
402
+ :version)
403
+ SENSITIVE = []
404
+ include Aws::Structure
405
+ end
406
+
407
+ # Details about the game configuration.
408
+ #
409
+ # The game configuration is organized into named sections, where the
410
+ # schema of each section is defined by an extension. The schema for
411
+ # these sections can be retrieved using the `GetExtensionVersion`
412
+ # operation.
413
+ #
414
+ # @!attribute [rw] created
415
+ # The date when the game was created.
416
+ # @return [Time]
417
+ #
418
+ # @!attribute [rw] last_updated
419
+ # The date when the game was last modified.
420
+ # @return [Time]
421
+ #
422
+ # @!attribute [rw] sections
423
+ # Configuration data, organized by section name.
424
+ # @return [Hash<String,Types::Section>]
425
+ #
426
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/GameConfigurationDetails AWS API Documentation
427
+ #
428
+ class GameConfigurationDetails < Struct.new(
429
+ :created,
430
+ :last_updated,
431
+ :sections)
432
+ SENSITIVE = []
433
+ include Aws::Structure
434
+ end
435
+
436
+ # Details about a game.
437
+ #
438
+ # @!attribute [rw] arn
439
+ # The Amazon Resource Name (ARN) of this game.
440
+ # @return [String]
441
+ #
442
+ # @!attribute [rw] created
443
+ # The date when the game was created.
444
+ # @return [Time]
445
+ #
446
+ # @!attribute [rw] description
447
+ # The description of the game.
448
+ # @return [String]
449
+ #
450
+ # @!attribute [rw] enable_termination_protection
451
+ # Determines if the game can be deleted.
452
+ # @return [Boolean]
453
+ #
454
+ # @!attribute [rw] last_updated
455
+ # The date when the game was last modified.
456
+ # @return [Time]
457
+ #
458
+ # @!attribute [rw] name
459
+ # The name of the game.
460
+ # @return [String]
461
+ #
462
+ # @!attribute [rw] state
463
+ # The state of the game.
464
+ # @return [String]
465
+ #
466
+ # @!attribute [rw] tags
467
+ # The tags associated with the game.
468
+ # @return [Hash<String,String>]
469
+ #
470
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/GameDetails AWS API Documentation
471
+ #
472
+ class GameDetails < Struct.new(
473
+ :arn,
474
+ :created,
475
+ :description,
476
+ :enable_termination_protection,
477
+ :last_updated,
478
+ :name,
479
+ :state,
480
+ :tags)
481
+ SENSITIVE = []
482
+ include Aws::Structure
483
+ end
484
+
485
+ # The summary of the properties of a game.
486
+ #
487
+ # @!attribute [rw] description
488
+ # The description of the game.
489
+ # @return [String]
490
+ #
491
+ # @!attribute [rw] name
492
+ # The name of the game.
493
+ # @return [String]
494
+ #
495
+ # @!attribute [rw] state
496
+ # The state of the game.
497
+ # @return [String]
498
+ #
499
+ # @!attribute [rw] tags
500
+ # The tags associated with the game.
501
+ # @return [Hash<String,String>]
502
+ #
503
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/GameSummary AWS API Documentation
504
+ #
505
+ class GameSummary < Struct.new(
506
+ :description,
507
+ :name,
508
+ :state,
509
+ :tags)
510
+ SENSITIVE = []
511
+ include Aws::Structure
512
+ end
513
+
514
+ # Details about a generated code job.
515
+ #
516
+ # @!attribute [rw] description
517
+ # The description of the generated code job.
518
+ # @return [String]
519
+ #
520
+ # @!attribute [rw] expiration_time
521
+ # The expiration date and time for the download URL.
522
+ #
523
+ # The download URL us guaranteed to be available until at least this
524
+ # time.
525
+ # @return [Time]
526
+ #
527
+ # @!attribute [rw] generated_code_job_id
528
+ # The identifier for the generated code job.
529
+ # @return [String]
530
+ #
531
+ # @!attribute [rw] s3_url
532
+ # A presigned URL that can be used to download the generated code.
533
+ # @return [String]
534
+ #
535
+ # @!attribute [rw] status
536
+ # The status of the generated code job
537
+ # @return [String]
538
+ #
539
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/GeneratedCodeJobDetails AWS API Documentation
540
+ #
541
+ class GeneratedCodeJobDetails < Struct.new(
542
+ :description,
543
+ :expiration_time,
544
+ :generated_code_job_id,
545
+ :s3_url,
546
+ :status)
547
+ SENSITIVE = []
548
+ include Aws::Structure
549
+ end
550
+
551
+ # Properties that specify the code generator for a generated code job.
552
+ #
553
+ # @note When making an API call, you may pass Generator
554
+ # data as a hash:
555
+ #
556
+ # {
557
+ # game_sdk_version: "GameSdkVersion",
558
+ # language: "Language",
559
+ # target_platform: "TargetPlatform",
560
+ # }
561
+ #
562
+ # @!attribute [rw] game_sdk_version
563
+ # The target version of the GameSparks Game SDK.
564
+ # @return [String]
565
+ #
566
+ # @!attribute [rw] language
567
+ # The programming language for the generated code.
568
+ #
569
+ # Not all languages are supported for each platform. For cases where
570
+ # multiple languages are supported, this parameter specifies the
571
+ # language to be used. If this value is omitted, the default language
572
+ # for the target platform will be used.
573
+ # @return [String]
574
+ #
575
+ # @!attribute [rw] target_platform
576
+ # The platform that will be used to run the generated code.
577
+ # @return [String]
578
+ #
579
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/Generator AWS API Documentation
580
+ #
581
+ class Generator < Struct.new(
582
+ :game_sdk_version,
583
+ :language,
584
+ :target_platform)
585
+ SENSITIVE = []
586
+ include Aws::Structure
587
+ end
588
+
589
+ # @note When making an API call, you may pass GetExtensionRequest
590
+ # data as a hash:
591
+ #
592
+ # {
593
+ # name: "ExtensionName", # required
594
+ # namespace: "ExtensionNamespace", # required
595
+ # }
596
+ #
597
+ # @!attribute [rw] name
598
+ # The name of the extension.
599
+ # @return [String]
600
+ #
601
+ # @!attribute [rw] namespace
602
+ # The namespace (qualifier) of the extension.
603
+ # @return [String]
604
+ #
605
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/GetExtensionRequest AWS API Documentation
606
+ #
607
+ class GetExtensionRequest < Struct.new(
608
+ :name,
609
+ :namespace)
610
+ SENSITIVE = []
611
+ include Aws::Structure
612
+ end
613
+
614
+ # @!attribute [rw] extension
615
+ # Details about the extension.
616
+ # @return [Types::ExtensionDetails]
617
+ #
618
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/GetExtensionResult AWS API Documentation
619
+ #
620
+ class GetExtensionResult < Struct.new(
621
+ :extension)
622
+ SENSITIVE = []
623
+ include Aws::Structure
624
+ end
625
+
626
+ # @note When making an API call, you may pass GetExtensionVersionRequest
627
+ # data as a hash:
628
+ #
629
+ # {
630
+ # extension_version: "ExtensionVersion", # required
631
+ # name: "ExtensionName", # required
632
+ # namespace: "ExtensionNamespace", # required
633
+ # }
634
+ #
635
+ # @!attribute [rw] extension_version
636
+ # The version of the extension.
637
+ # @return [String]
638
+ #
639
+ # @!attribute [rw] name
640
+ # The name of the extension.
641
+ # @return [String]
642
+ #
643
+ # @!attribute [rw] namespace
644
+ # The namespace (qualifier) of the extension.
645
+ # @return [String]
646
+ #
647
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/GetExtensionVersionRequest AWS API Documentation
648
+ #
649
+ class GetExtensionVersionRequest < Struct.new(
650
+ :extension_version,
651
+ :name,
652
+ :namespace)
653
+ SENSITIVE = []
654
+ include Aws::Structure
655
+ end
656
+
657
+ # @!attribute [rw] extension_version
658
+ # The version of the extension.
659
+ # @return [Types::ExtensionVersionDetails]
660
+ #
661
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/GetExtensionVersionResult AWS API Documentation
662
+ #
663
+ class GetExtensionVersionResult < Struct.new(
664
+ :extension_version)
665
+ SENSITIVE = []
666
+ include Aws::Structure
667
+ end
668
+
669
+ # @note When making an API call, you may pass GetGameConfigurationRequest
670
+ # data as a hash:
671
+ #
672
+ # {
673
+ # game_name: "GameName", # required
674
+ # sections: ["SectionName"],
675
+ # }
676
+ #
677
+ # @!attribute [rw] game_name
678
+ # The name of the game.
679
+ # @return [String]
680
+ #
681
+ # @!attribute [rw] sections
682
+ # The list of sections to return.
683
+ # @return [Array<String>]
684
+ #
685
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/GetGameConfigurationRequest AWS API Documentation
686
+ #
687
+ class GetGameConfigurationRequest < Struct.new(
688
+ :game_name,
689
+ :sections)
690
+ SENSITIVE = []
691
+ include Aws::Structure
692
+ end
693
+
694
+ # @!attribute [rw] game_configuration
695
+ # Details about the game configuration.
696
+ # @return [Types::GameConfigurationDetails]
697
+ #
698
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/GetGameConfigurationResult AWS API Documentation
699
+ #
700
+ class GetGameConfigurationResult < Struct.new(
701
+ :game_configuration)
702
+ SENSITIVE = []
703
+ include Aws::Structure
704
+ end
705
+
706
+ # @note When making an API call, you may pass GetGameRequest
707
+ # data as a hash:
708
+ #
709
+ # {
710
+ # game_name: "GameName", # required
711
+ # }
712
+ #
713
+ # @!attribute [rw] game_name
714
+ # The name of the game.
715
+ # @return [String]
716
+ #
717
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/GetGameRequest AWS API Documentation
718
+ #
719
+ class GetGameRequest < Struct.new(
720
+ :game_name)
721
+ SENSITIVE = []
722
+ include Aws::Structure
723
+ end
724
+
725
+ # @!attribute [rw] game
726
+ # The details of the game.
727
+ # @return [Types::GameDetails]
728
+ #
729
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/GetGameResult AWS API Documentation
730
+ #
731
+ class GetGameResult < Struct.new(
732
+ :game)
733
+ SENSITIVE = []
734
+ include Aws::Structure
735
+ end
736
+
737
+ # @note When making an API call, you may pass GetGeneratedCodeJobRequest
738
+ # data as a hash:
739
+ #
740
+ # {
741
+ # game_name: "GameName", # required
742
+ # job_id: "GeneratedCodeJobId", # required
743
+ # snapshot_id: "SnapshotId", # required
744
+ # }
745
+ #
746
+ # @!attribute [rw] game_name
747
+ # The name of the game.
748
+ # @return [String]
749
+ #
750
+ # @!attribute [rw] job_id
751
+ # The identifier of the code generation job.
752
+ # @return [String]
753
+ #
754
+ # @!attribute [rw] snapshot_id
755
+ # The identifier of the snapshot for the code generation job.
756
+ # @return [String]
757
+ #
758
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/GetGeneratedCodeJobRequest AWS API Documentation
759
+ #
760
+ class GetGeneratedCodeJobRequest < Struct.new(
761
+ :game_name,
762
+ :job_id,
763
+ :snapshot_id)
764
+ SENSITIVE = []
765
+ include Aws::Structure
766
+ end
767
+
768
+ # @!attribute [rw] generated_code_job
769
+ # Details about the generated code job.
770
+ # @return [Types::GeneratedCodeJobDetails]
771
+ #
772
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/GetGeneratedCodeJobResult AWS API Documentation
773
+ #
774
+ class GetGeneratedCodeJobResult < Struct.new(
775
+ :generated_code_job)
776
+ SENSITIVE = []
777
+ include Aws::Structure
778
+ end
779
+
780
+ # @note When making an API call, you may pass GetPlayerConnectionStatusRequest
781
+ # data as a hash:
782
+ #
783
+ # {
784
+ # game_name: "GameName", # required
785
+ # player_id: "PlayerId", # required
786
+ # stage_name: "StageName", # required
787
+ # }
788
+ #
789
+ # @!attribute [rw] game_name
790
+ # The name of the game.
791
+ # @return [String]
792
+ #
793
+ # @!attribute [rw] player_id
794
+ # The unique identifier representing a player.
795
+ # @return [String]
796
+ #
797
+ # @!attribute [rw] stage_name
798
+ # The name of the stage.
799
+ # @return [String]
800
+ #
801
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/GetPlayerConnectionStatusRequest AWS API Documentation
802
+ #
803
+ class GetPlayerConnectionStatusRequest < Struct.new(
804
+ :game_name,
805
+ :player_id,
806
+ :stage_name)
807
+ SENSITIVE = []
808
+ include Aws::Structure
809
+ end
810
+
811
+ # @!attribute [rw] connections
812
+ # The list of connection ids, one for each connection in use by the
813
+ # player.
814
+ # @return [Array<Types::Connection>]
815
+ #
816
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/GetPlayerConnectionStatusResult AWS API Documentation
817
+ #
818
+ class GetPlayerConnectionStatusResult < Struct.new(
819
+ :connections)
820
+ SENSITIVE = []
821
+ include Aws::Structure
822
+ end
823
+
824
+ # @note When making an API call, you may pass GetSnapshotRequest
825
+ # data as a hash:
826
+ #
827
+ # {
828
+ # game_name: "GameName", # required
829
+ # sections: ["SectionName"],
830
+ # snapshot_id: "SnapshotId", # required
831
+ # }
832
+ #
833
+ # @!attribute [rw] game_name
834
+ # The name of the game.
835
+ # @return [String]
836
+ #
837
+ # @!attribute [rw] sections
838
+ # The list of game configuration sections to be described.
839
+ # @return [Array<String>]
840
+ #
841
+ # @!attribute [rw] snapshot_id
842
+ # The identifier of the snapshot.
843
+ # @return [String]
844
+ #
845
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/GetSnapshotRequest AWS API Documentation
846
+ #
847
+ class GetSnapshotRequest < Struct.new(
848
+ :game_name,
849
+ :sections,
850
+ :snapshot_id)
851
+ SENSITIVE = []
852
+ include Aws::Structure
853
+ end
854
+
855
+ # @!attribute [rw] snapshot
856
+ # Properties that provide details of the snapshot.
857
+ # @return [Types::SnapshotDetails]
858
+ #
859
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/GetSnapshotResult AWS API Documentation
860
+ #
861
+ class GetSnapshotResult < Struct.new(
862
+ :snapshot)
863
+ SENSITIVE = []
864
+ include Aws::Structure
865
+ end
866
+
867
+ # @note When making an API call, you may pass GetStageDeploymentRequest
868
+ # data as a hash:
869
+ #
870
+ # {
871
+ # deployment_id: "DeploymentId",
872
+ # game_name: "GameName", # required
873
+ # stage_name: "StageName", # required
874
+ # }
875
+ #
876
+ # @!attribute [rw] deployment_id
877
+ # The identifier of the stage deployment. `StartStageDeployment`
878
+ # returns the identifier that you use here.
879
+ # @return [String]
880
+ #
881
+ # @!attribute [rw] game_name
882
+ # The name of the game.
883
+ # @return [String]
884
+ #
885
+ # @!attribute [rw] stage_name
886
+ # The name of the stage.
887
+ # @return [String]
888
+ #
889
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/GetStageDeploymentRequest AWS API Documentation
890
+ #
891
+ class GetStageDeploymentRequest < Struct.new(
892
+ :deployment_id,
893
+ :game_name,
894
+ :stage_name)
895
+ SENSITIVE = []
896
+ include Aws::Structure
897
+ end
898
+
899
+ # @!attribute [rw] stage_deployment
900
+ # Properties that provide details of the stage deployment.
901
+ # @return [Types::StageDeploymentDetails]
902
+ #
903
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/GetStageDeploymentResult AWS API Documentation
904
+ #
905
+ class GetStageDeploymentResult < Struct.new(
906
+ :stage_deployment)
907
+ SENSITIVE = []
908
+ include Aws::Structure
909
+ end
910
+
911
+ # @note When making an API call, you may pass GetStageRequest
912
+ # data as a hash:
913
+ #
914
+ # {
915
+ # game_name: "GameName", # required
916
+ # stage_name: "StageName", # required
917
+ # }
918
+ #
919
+ # @!attribute [rw] game_name
920
+ # The name of the game.
921
+ # @return [String]
922
+ #
923
+ # @!attribute [rw] stage_name
924
+ # The name of the stage.
925
+ # @return [String]
926
+ #
927
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/GetStageRequest AWS API Documentation
928
+ #
929
+ class GetStageRequest < Struct.new(
930
+ :game_name,
931
+ :stage_name)
932
+ SENSITIVE = []
933
+ include Aws::Structure
934
+ end
935
+
936
+ # @!attribute [rw] stage
937
+ # Properties that provide details of the stage.
938
+ # @return [Types::StageDetails]
939
+ #
940
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/GetStageResult AWS API Documentation
941
+ #
942
+ class GetStageResult < Struct.new(
943
+ :stage)
944
+ SENSITIVE = []
945
+ include Aws::Structure
946
+ end
947
+
948
+ # @note When making an API call, you may pass ImportGameConfigurationRequest
949
+ # data as a hash:
950
+ #
951
+ # {
952
+ # game_name: "GameName", # required
953
+ # import_source: { # required
954
+ # file: "data", # required
955
+ # },
956
+ # }
957
+ #
958
+ # @!attribute [rw] game_name
959
+ # The name of the game.
960
+ # @return [String]
961
+ #
962
+ # @!attribute [rw] import_source
963
+ # The source used to import configuration sections.
964
+ # @return [Types::ImportGameConfigurationSource]
965
+ #
966
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ImportGameConfigurationRequest AWS API Documentation
967
+ #
968
+ class ImportGameConfigurationRequest < Struct.new(
969
+ :game_name,
970
+ :import_source)
971
+ SENSITIVE = []
972
+ include Aws::Structure
973
+ end
974
+
975
+ # @!attribute [rw] game_configuration
976
+ # Details about the game configuration.
977
+ # @return [Types::GameConfigurationDetails]
978
+ #
979
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ImportGameConfigurationResult AWS API Documentation
980
+ #
981
+ class ImportGameConfigurationResult < Struct.new(
982
+ :game_configuration)
983
+ SENSITIVE = []
984
+ include Aws::Structure
985
+ end
986
+
987
+ # The source used to import configuration sections.
988
+ #
989
+ # @note When making an API call, you may pass ImportGameConfigurationSource
990
+ # data as a hash:
991
+ #
992
+ # {
993
+ # file: "data", # required
994
+ # }
995
+ #
996
+ # @!attribute [rw] file
997
+ # The JSON string containing the configuration sections.
998
+ # @return [String]
999
+ #
1000
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ImportGameConfigurationSource AWS API Documentation
1001
+ #
1002
+ class ImportGameConfigurationSource < Struct.new(
1003
+ :file)
1004
+ SENSITIVE = []
1005
+ include Aws::Structure
1006
+ end
1007
+
1008
+ # The service encountered an internal error.
1009
+ #
1010
+ # @!attribute [rw] message
1011
+ # @return [String]
1012
+ #
1013
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/InternalServerException AWS API Documentation
1014
+ #
1015
+ class InternalServerException < Struct.new(
1016
+ :message)
1017
+ SENSITIVE = []
1018
+ include Aws::Structure
1019
+ end
1020
+
1021
+ # @note When making an API call, you may pass ListExtensionVersionsRequest
1022
+ # data as a hash:
1023
+ #
1024
+ # {
1025
+ # max_results: 1,
1026
+ # name: "ExtensionName", # required
1027
+ # namespace: "ExtensionNamespace", # required
1028
+ # next_token: "NextToken",
1029
+ # }
1030
+ #
1031
+ # @!attribute [rw] max_results
1032
+ # The maximum number of results to return.
1033
+ #
1034
+ # Use this parameter with NextToken to get results as a set of
1035
+ # sequential pages.
1036
+ # @return [Integer]
1037
+ #
1038
+ # @!attribute [rw] name
1039
+ # The name of the extension.
1040
+ # @return [String]
1041
+ #
1042
+ # @!attribute [rw] namespace
1043
+ # The namespace (qualifier) of the extension.
1044
+ # @return [String]
1045
+ #
1046
+ # @!attribute [rw] next_token
1047
+ # The token that indicates the start of the next sequential page of
1048
+ # results.
1049
+ #
1050
+ # Use the token that is returned with a previous call to this
1051
+ # operation. To start at the beginning of the result set, do not
1052
+ # specify a value.
1053
+ # @return [String]
1054
+ #
1055
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ListExtensionVersionsRequest AWS API Documentation
1056
+ #
1057
+ class ListExtensionVersionsRequest < Struct.new(
1058
+ :max_results,
1059
+ :name,
1060
+ :namespace,
1061
+ :next_token)
1062
+ SENSITIVE = []
1063
+ include Aws::Structure
1064
+ end
1065
+
1066
+ # @!attribute [rw] extension_versions
1067
+ # The list of extension versions.
1068
+ # @return [Array<Types::ExtensionVersionDetails>]
1069
+ #
1070
+ # @!attribute [rw] next_token
1071
+ # The token that indicates the start of the next sequential page of
1072
+ # results.
1073
+ #
1074
+ # Use this value when making the next call to this operation to
1075
+ # continue where the last one finished.
1076
+ # @return [String]
1077
+ #
1078
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ListExtensionVersionsResult AWS API Documentation
1079
+ #
1080
+ class ListExtensionVersionsResult < Struct.new(
1081
+ :extension_versions,
1082
+ :next_token)
1083
+ SENSITIVE = []
1084
+ include Aws::Structure
1085
+ end
1086
+
1087
+ # @note When making an API call, you may pass ListExtensionsRequest
1088
+ # data as a hash:
1089
+ #
1090
+ # {
1091
+ # max_results: 1,
1092
+ # next_token: "NextToken",
1093
+ # }
1094
+ #
1095
+ # @!attribute [rw] max_results
1096
+ # The maximum number of results to return.
1097
+ #
1098
+ # Use this parameter with NextToken to get results as a set of
1099
+ # sequential pages.
1100
+ # @return [Integer]
1101
+ #
1102
+ # @!attribute [rw] next_token
1103
+ # The token that indicates the start of the next sequential page of
1104
+ # results.
1105
+ #
1106
+ # Use the token that is returned with a previous call to this
1107
+ # operation. To start at the beginning of the result set, do not
1108
+ # specify a value.
1109
+ # @return [String]
1110
+ #
1111
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ListExtensionsRequest AWS API Documentation
1112
+ #
1113
+ class ListExtensionsRequest < Struct.new(
1114
+ :max_results,
1115
+ :next_token)
1116
+ SENSITIVE = []
1117
+ include Aws::Structure
1118
+ end
1119
+
1120
+ # @!attribute [rw] extensions
1121
+ # The list of extensions.
1122
+ # @return [Array<Types::ExtensionDetails>]
1123
+ #
1124
+ # @!attribute [rw] next_token
1125
+ # The token that indicates the start of the next sequential page of
1126
+ # results.
1127
+ #
1128
+ # Use this value when making the next call to this operation to
1129
+ # continue where the last one finished.
1130
+ # @return [String]
1131
+ #
1132
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ListExtensionsResult AWS API Documentation
1133
+ #
1134
+ class ListExtensionsResult < Struct.new(
1135
+ :extensions,
1136
+ :next_token)
1137
+ SENSITIVE = []
1138
+ include Aws::Structure
1139
+ end
1140
+
1141
+ # @note When making an API call, you may pass ListGamesRequest
1142
+ # data as a hash:
1143
+ #
1144
+ # {
1145
+ # max_results: 1,
1146
+ # next_token: "NextToken",
1147
+ # }
1148
+ #
1149
+ # @!attribute [rw] max_results
1150
+ # The maximum number of results to return.
1151
+ #
1152
+ # Use this parameter with NextToken to get results as a set of
1153
+ # sequential pages.
1154
+ # @return [Integer]
1155
+ #
1156
+ # @!attribute [rw] next_token
1157
+ # The token that indicates the start of the next sequential page of
1158
+ # results.
1159
+ #
1160
+ # Use the token that is returned with a previous call to this
1161
+ # operation. To start at the beginning of the result set, do not
1162
+ # specify a value.
1163
+ # @return [String]
1164
+ #
1165
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ListGamesRequest AWS API Documentation
1166
+ #
1167
+ class ListGamesRequest < Struct.new(
1168
+ :max_results,
1169
+ :next_token)
1170
+ SENSITIVE = []
1171
+ include Aws::Structure
1172
+ end
1173
+
1174
+ # @!attribute [rw] games
1175
+ # The list of games.
1176
+ # @return [Array<Types::GameSummary>]
1177
+ #
1178
+ # @!attribute [rw] next_token
1179
+ # The token that indicates the start of the next sequential page of
1180
+ # results.
1181
+ #
1182
+ # Use this value when making the next call to this operation to
1183
+ # continue where the last one finished.
1184
+ # @return [String]
1185
+ #
1186
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ListGamesResult AWS API Documentation
1187
+ #
1188
+ class ListGamesResult < Struct.new(
1189
+ :games,
1190
+ :next_token)
1191
+ SENSITIVE = []
1192
+ include Aws::Structure
1193
+ end
1194
+
1195
+ # @note When making an API call, you may pass ListGeneratedCodeJobsRequest
1196
+ # data as a hash:
1197
+ #
1198
+ # {
1199
+ # game_name: "GameName", # required
1200
+ # max_results: 1,
1201
+ # next_token: "NextToken",
1202
+ # snapshot_id: "SnapshotId", # required
1203
+ # }
1204
+ #
1205
+ # @!attribute [rw] game_name
1206
+ # The name of the game.
1207
+ # @return [String]
1208
+ #
1209
+ # @!attribute [rw] max_results
1210
+ # The maximum number of results to return.
1211
+ #
1212
+ # Use this parameter with NextToken to get results as a set of
1213
+ # sequential pages.
1214
+ # @return [Integer]
1215
+ #
1216
+ # @!attribute [rw] next_token
1217
+ # The token that indicates the start of the next sequential page of
1218
+ # results.
1219
+ #
1220
+ # Use the token that is returned with a previous call to this
1221
+ # operation. To start at the beginning of the result set, do not
1222
+ # specify a value.
1223
+ # @return [String]
1224
+ #
1225
+ # @!attribute [rw] snapshot_id
1226
+ # The identifier of the snapshot.
1227
+ # @return [String]
1228
+ #
1229
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ListGeneratedCodeJobsRequest AWS API Documentation
1230
+ #
1231
+ class ListGeneratedCodeJobsRequest < Struct.new(
1232
+ :game_name,
1233
+ :max_results,
1234
+ :next_token,
1235
+ :snapshot_id)
1236
+ SENSITIVE = []
1237
+ include Aws::Structure
1238
+ end
1239
+
1240
+ # @!attribute [rw] generated_code_jobs
1241
+ # The list of generated code jobs.
1242
+ # @return [Array<Types::GeneratedCodeJobDetails>]
1243
+ #
1244
+ # @!attribute [rw] next_token
1245
+ # The token that indicates the start of the next sequential page of
1246
+ # results.
1247
+ #
1248
+ # Use this value when making the next call to this operation to
1249
+ # continue where the last one finished.
1250
+ # @return [String]
1251
+ #
1252
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ListGeneratedCodeJobsResult AWS API Documentation
1253
+ #
1254
+ class ListGeneratedCodeJobsResult < Struct.new(
1255
+ :generated_code_jobs,
1256
+ :next_token)
1257
+ SENSITIVE = []
1258
+ include Aws::Structure
1259
+ end
1260
+
1261
+ # @note When making an API call, you may pass ListSnapshotsRequest
1262
+ # data as a hash:
1263
+ #
1264
+ # {
1265
+ # game_name: "GameName", # required
1266
+ # max_results: 1,
1267
+ # next_token: "NextToken",
1268
+ # }
1269
+ #
1270
+ # @!attribute [rw] game_name
1271
+ # The name of the game.
1272
+ # @return [String]
1273
+ #
1274
+ # @!attribute [rw] max_results
1275
+ # The maximum number of results to return.
1276
+ #
1277
+ # Use this parameter with NextToken to get results as a set of
1278
+ # sequential pages.
1279
+ # @return [Integer]
1280
+ #
1281
+ # @!attribute [rw] next_token
1282
+ # The token that indicates the start of the next sequential page of
1283
+ # results.
1284
+ #
1285
+ # Use the token that is returned with a previous call to this
1286
+ # operation. To start at the beginning of the result set, do not
1287
+ # specify a value.
1288
+ # @return [String]
1289
+ #
1290
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ListSnapshotsRequest AWS API Documentation
1291
+ #
1292
+ class ListSnapshotsRequest < Struct.new(
1293
+ :game_name,
1294
+ :max_results,
1295
+ :next_token)
1296
+ SENSITIVE = []
1297
+ include Aws::Structure
1298
+ end
1299
+
1300
+ # @!attribute [rw] next_token
1301
+ # The token that indicates the start of the next sequential page of
1302
+ # results.
1303
+ #
1304
+ # Use this value when making the next call to this operation to
1305
+ # continue where the last one finished.
1306
+ # @return [String]
1307
+ #
1308
+ # @!attribute [rw] snapshots
1309
+ # A list of snapshot summaries. You can use the returned snapshot IDs
1310
+ # in the `UpdateSnapshot` and `GetSnapshot` operations.
1311
+ # @return [Array<Types::SnapshotSummary>]
1312
+ #
1313
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ListSnapshotsResult AWS API Documentation
1314
+ #
1315
+ class ListSnapshotsResult < Struct.new(
1316
+ :next_token,
1317
+ :snapshots)
1318
+ SENSITIVE = []
1319
+ include Aws::Structure
1320
+ end
1321
+
1322
+ # @note When making an API call, you may pass ListStageDeploymentsRequest
1323
+ # data as a hash:
1324
+ #
1325
+ # {
1326
+ # game_name: "GameName", # required
1327
+ # max_results: 1,
1328
+ # next_token: "NextToken",
1329
+ # stage_name: "StageName", # required
1330
+ # }
1331
+ #
1332
+ # @!attribute [rw] game_name
1333
+ # The name of the game.
1334
+ # @return [String]
1335
+ #
1336
+ # @!attribute [rw] max_results
1337
+ # The maximum number of results to return.
1338
+ #
1339
+ # Use this parameter with NextToken to get results as a set of
1340
+ # sequential pages.
1341
+ # @return [Integer]
1342
+ #
1343
+ # @!attribute [rw] next_token
1344
+ # The token that indicates the start of the next sequential page of
1345
+ # results.
1346
+ #
1347
+ # Use the token that is returned with a previous call to this
1348
+ # operation. To start at the beginning of the result set, do not
1349
+ # specify a value.
1350
+ # @return [String]
1351
+ #
1352
+ # @!attribute [rw] stage_name
1353
+ # The name of the stage.
1354
+ # @return [String]
1355
+ #
1356
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ListStageDeploymentsRequest AWS API Documentation
1357
+ #
1358
+ class ListStageDeploymentsRequest < Struct.new(
1359
+ :game_name,
1360
+ :max_results,
1361
+ :next_token,
1362
+ :stage_name)
1363
+ SENSITIVE = []
1364
+ include Aws::Structure
1365
+ end
1366
+
1367
+ # @!attribute [rw] next_token
1368
+ # The token that indicates the start of the next sequential page of
1369
+ # results.
1370
+ #
1371
+ # Use this value when making the next call to this operation to
1372
+ # continue where the last one finished.
1373
+ # @return [String]
1374
+ #
1375
+ # @!attribute [rw] stage_deployments
1376
+ # A list of stage deployment summaries. You can use the deployment IDs
1377
+ # in the `UpdateStageDeployment` and `GetStageDeployment` actions.
1378
+ # @return [Array<Types::StageDeploymentSummary>]
1379
+ #
1380
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ListStageDeploymentsResult AWS API Documentation
1381
+ #
1382
+ class ListStageDeploymentsResult < Struct.new(
1383
+ :next_token,
1384
+ :stage_deployments)
1385
+ SENSITIVE = []
1386
+ include Aws::Structure
1387
+ end
1388
+
1389
+ # @note When making an API call, you may pass ListStagesRequest
1390
+ # data as a hash:
1391
+ #
1392
+ # {
1393
+ # game_name: "GameName", # required
1394
+ # max_results: 1,
1395
+ # next_token: "NextToken",
1396
+ # }
1397
+ #
1398
+ # @!attribute [rw] game_name
1399
+ # The name of the game.
1400
+ # @return [String]
1401
+ #
1402
+ # @!attribute [rw] max_results
1403
+ # The maximum number of results to return.
1404
+ #
1405
+ # Use this parameter with NextToken to get results as a set of
1406
+ # sequential pages.
1407
+ # @return [Integer]
1408
+ #
1409
+ # @!attribute [rw] next_token
1410
+ # The token that indicates the start of the next sequential page of
1411
+ # results.
1412
+ #
1413
+ # Use the token that is returned with a previous call to this
1414
+ # operation. To start at the beginning of the result set, do not
1415
+ # specify a value.
1416
+ # @return [String]
1417
+ #
1418
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ListStagesRequest AWS API Documentation
1419
+ #
1420
+ class ListStagesRequest < Struct.new(
1421
+ :game_name,
1422
+ :max_results,
1423
+ :next_token)
1424
+ SENSITIVE = []
1425
+ include Aws::Structure
1426
+ end
1427
+
1428
+ # @!attribute [rw] next_token
1429
+ # The token that indicates the start of the next sequential page of
1430
+ # results.
1431
+ #
1432
+ # Use this value when making the next call to this operation to
1433
+ # continue where the last one finished.
1434
+ # @return [String]
1435
+ #
1436
+ # @!attribute [rw] stages
1437
+ # A list of stage summaries. You can use the stage names in the
1438
+ # `UpdateStage` and `GetStage` actions.
1439
+ # @return [Array<Types::StageSummary>]
1440
+ #
1441
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ListStagesResult AWS API Documentation
1442
+ #
1443
+ class ListStagesResult < Struct.new(
1444
+ :next_token,
1445
+ :stages)
1446
+ SENSITIVE = []
1447
+ include Aws::Structure
1448
+ end
1449
+
1450
+ # @note When making an API call, you may pass ListTagsForResourceRequest
1451
+ # data as a hash:
1452
+ #
1453
+ # {
1454
+ # resource_arn: "ResourceArn", # required
1455
+ # }
1456
+ #
1457
+ # @!attribute [rw] resource_arn
1458
+ # The Amazon Resource Name (ARN) of the GameSparks resource.
1459
+ # @return [String]
1460
+ #
1461
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ListTagsForResourceRequest AWS API Documentation
1462
+ #
1463
+ class ListTagsForResourceRequest < Struct.new(
1464
+ :resource_arn)
1465
+ SENSITIVE = []
1466
+ include Aws::Structure
1467
+ end
1468
+
1469
+ # @!attribute [rw] tags
1470
+ # The tags associated with the resource.
1471
+ # @return [Hash<String,String>]
1472
+ #
1473
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ListTagsForResourceResult AWS API Documentation
1474
+ #
1475
+ class ListTagsForResourceResult < Struct.new(
1476
+ :tags)
1477
+ SENSITIVE = []
1478
+ include Aws::Structure
1479
+ end
1480
+
1481
+ # The resource specified in the request does not exist.
1482
+ #
1483
+ # @!attribute [rw] message
1484
+ # @return [String]
1485
+ #
1486
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ResourceNotFoundException AWS API Documentation
1487
+ #
1488
+ class ResourceNotFoundException < Struct.new(
1489
+ :message)
1490
+ SENSITIVE = []
1491
+ include Aws::Structure
1492
+ end
1493
+
1494
+ # The configuration section.
1495
+ #
1496
+ # @!attribute [rw] attributes
1497
+ # The content of a configuration section.
1498
+ # @return [Hash,Array,String,Numeric,Boolean]
1499
+ #
1500
+ # @!attribute [rw] name
1501
+ # The name of the section.
1502
+ # @return [String]
1503
+ #
1504
+ # @!attribute [rw] size
1505
+ # The size, in bytes, of the section contents.
1506
+ # @return [Integer]
1507
+ #
1508
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/Section AWS API Documentation
1509
+ #
1510
+ class Section < Struct.new(
1511
+ :attributes,
1512
+ :name,
1513
+ :size)
1514
+ SENSITIVE = []
1515
+ include Aws::Structure
1516
+ end
1517
+
1518
+ # A single modification to the configuration section.
1519
+ #
1520
+ # @note When making an API call, you may pass SectionModification
1521
+ # data as a hash:
1522
+ #
1523
+ # {
1524
+ # operation: "ADD", # required, accepts ADD, REMOVE, REPLACE
1525
+ # path: "Path", # required
1526
+ # section: "SectionName", # required
1527
+ # value: {
1528
+ # },
1529
+ # }
1530
+ #
1531
+ # @!attribute [rw] operation
1532
+ # The operation to be performed on a configuration section.
1533
+ #
1534
+ # Content can be added, deleted, or replaced within a section.
1535
+ # @return [String]
1536
+ #
1537
+ # @!attribute [rw] path
1538
+ # The path within the section content to be modified.
1539
+ # @return [String]
1540
+ #
1541
+ # @!attribute [rw] section
1542
+ # The name of the section to be modified.
1543
+ # @return [String]
1544
+ #
1545
+ # @!attribute [rw] value
1546
+ # For add and replace operations, this is the value that will be used.
1547
+ #
1548
+ # This field should be omitted for delete operations.
1549
+ # @return [Hash,Array,String,Numeric,Boolean]
1550
+ #
1551
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/SectionModification AWS API Documentation
1552
+ #
1553
+ class SectionModification < Struct.new(
1554
+ :operation,
1555
+ :path,
1556
+ :section,
1557
+ :value)
1558
+ SENSITIVE = []
1559
+ include Aws::Structure
1560
+ end
1561
+
1562
+ # The request would result in exceeding service quota.
1563
+ #
1564
+ # @!attribute [rw] message
1565
+ # @return [String]
1566
+ #
1567
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ServiceQuotaExceededException AWS API Documentation
1568
+ #
1569
+ class ServiceQuotaExceededException < Struct.new(
1570
+ :message)
1571
+ SENSITIVE = []
1572
+ include Aws::Structure
1573
+ end
1574
+
1575
+ # Properties that provide details of a snapshot.
1576
+ #
1577
+ # @!attribute [rw] created
1578
+ # The timestamp of when the snapshot was created.
1579
+ # @return [Time]
1580
+ #
1581
+ # @!attribute [rw] description
1582
+ # The description of the snapshot.
1583
+ # @return [String]
1584
+ #
1585
+ # @!attribute [rw] id
1586
+ # The identifier of the snapshot.
1587
+ # @return [String]
1588
+ #
1589
+ # @!attribute [rw] last_updated
1590
+ # The timestamp of when the snapshot was last updated.
1591
+ # @return [Time]
1592
+ #
1593
+ # @!attribute [rw] sections
1594
+ # The sections in the snapshot.
1595
+ # @return [Hash<String,Types::Section>]
1596
+ #
1597
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/SnapshotDetails AWS API Documentation
1598
+ #
1599
+ class SnapshotDetails < Struct.new(
1600
+ :created,
1601
+ :description,
1602
+ :id,
1603
+ :last_updated,
1604
+ :sections)
1605
+ SENSITIVE = []
1606
+ include Aws::Structure
1607
+ end
1608
+
1609
+ # The summary of the properties of a snapshot.
1610
+ #
1611
+ # @!attribute [rw] created
1612
+ # The timestamp of when the snapshot was created.
1613
+ # @return [Time]
1614
+ #
1615
+ # @!attribute [rw] description
1616
+ # The description of the snapshot.
1617
+ # @return [String]
1618
+ #
1619
+ # @!attribute [rw] id
1620
+ # The identifier of the snapshot.
1621
+ # @return [String]
1622
+ #
1623
+ # @!attribute [rw] last_updated
1624
+ # Then timestamp of when the snapshot was last updated.
1625
+ # @return [Time]
1626
+ #
1627
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/SnapshotSummary AWS API Documentation
1628
+ #
1629
+ class SnapshotSummary < Struct.new(
1630
+ :created,
1631
+ :description,
1632
+ :id,
1633
+ :last_updated)
1634
+ SENSITIVE = []
1635
+ include Aws::Structure
1636
+ end
1637
+
1638
+ # Properties that provide details of a stage deployment.
1639
+ #
1640
+ # @!attribute [rw] created
1641
+ # The timestamp of when the stage deployment was created.
1642
+ # @return [Time]
1643
+ #
1644
+ # @!attribute [rw] deployment_action
1645
+ # The type of action of the stage deployment.
1646
+ # @return [String]
1647
+ #
1648
+ # @!attribute [rw] deployment_id
1649
+ # The identifier of the deployment.
1650
+ # @return [String]
1651
+ #
1652
+ # @!attribute [rw] deployment_state
1653
+ # The state of the deployment.
1654
+ # @return [String]
1655
+ #
1656
+ # @!attribute [rw] last_updated
1657
+ # The timestamp of when the deployment was last updated.
1658
+ # @return [Time]
1659
+ #
1660
+ # @!attribute [rw] snapshot_id
1661
+ # The identifier of the snapshot associated with the stage deployment.
1662
+ # @return [String]
1663
+ #
1664
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/StageDeploymentDetails AWS API Documentation
1665
+ #
1666
+ class StageDeploymentDetails < Struct.new(
1667
+ :created,
1668
+ :deployment_action,
1669
+ :deployment_id,
1670
+ :deployment_state,
1671
+ :last_updated,
1672
+ :snapshot_id)
1673
+ SENSITIVE = []
1674
+ include Aws::Structure
1675
+ end
1676
+
1677
+ # The summary of the properties of a stage deployment.
1678
+ #
1679
+ # @!attribute [rw] deployment_action
1680
+ # The type of action of the deployment.
1681
+ # @return [String]
1682
+ #
1683
+ # @!attribute [rw] deployment_id
1684
+ # The identifier of the deployment.
1685
+ # @return [String]
1686
+ #
1687
+ # @!attribute [rw] deployment_state
1688
+ # The state of the deployment.
1689
+ # @return [String]
1690
+ #
1691
+ # @!attribute [rw] last_updated
1692
+ # The timestamp of when the deployment was last updated.
1693
+ # @return [Time]
1694
+ #
1695
+ # @!attribute [rw] snapshot_id
1696
+ # The identifier of the snapshot associated with the stage deployment.
1697
+ # @return [String]
1698
+ #
1699
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/StageDeploymentSummary AWS API Documentation
1700
+ #
1701
+ class StageDeploymentSummary < Struct.new(
1702
+ :deployment_action,
1703
+ :deployment_id,
1704
+ :deployment_state,
1705
+ :last_updated,
1706
+ :snapshot_id)
1707
+ SENSITIVE = []
1708
+ include Aws::Structure
1709
+ end
1710
+
1711
+ # Properties that provide details of a stage.
1712
+ #
1713
+ # @!attribute [rw] arn
1714
+ # The Amazon Resource Name (ARN) of the stage.
1715
+ # @return [String]
1716
+ #
1717
+ # @!attribute [rw] created
1718
+ # The timestamp of when the stage was created.
1719
+ # @return [Time]
1720
+ #
1721
+ # @!attribute [rw] description
1722
+ # The description of the stage.
1723
+ # @return [String]
1724
+ #
1725
+ # @!attribute [rw] game_key
1726
+ # The game key associated with the stage.
1727
+ #
1728
+ # The game key is a unique identifier that the game client uses to
1729
+ # connect to the GameSparks backend.
1730
+ # @return [String]
1731
+ #
1732
+ # @!attribute [rw] last_updated
1733
+ # The timestamp of when the stage was last updated.
1734
+ # @return [Time]
1735
+ #
1736
+ # @!attribute [rw] log_group
1737
+ # The Amazon CloudWatch log group for game runtimes deployed to the
1738
+ # stage.
1739
+ # @return [String]
1740
+ #
1741
+ # @!attribute [rw] name
1742
+ # The name of the stage.
1743
+ # @return [String]
1744
+ #
1745
+ # @!attribute [rw] role
1746
+ # The Amazon Resource Name (ARN) of the role used to run the game
1747
+ # runtimes deployed to the stage.
1748
+ # @return [String]
1749
+ #
1750
+ # @!attribute [rw] state
1751
+ # The state of the stage.
1752
+ # @return [String]
1753
+ #
1754
+ # @!attribute [rw] tags
1755
+ # The tags associated with the stage.
1756
+ # @return [Hash<String,String>]
1757
+ #
1758
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/StageDetails AWS API Documentation
1759
+ #
1760
+ class StageDetails < Struct.new(
1761
+ :arn,
1762
+ :created,
1763
+ :description,
1764
+ :game_key,
1765
+ :last_updated,
1766
+ :log_group,
1767
+ :name,
1768
+ :role,
1769
+ :state,
1770
+ :tags)
1771
+ SENSITIVE = []
1772
+ include Aws::Structure
1773
+ end
1774
+
1775
+ # The summary of the properties of a stage.
1776
+ #
1777
+ # @!attribute [rw] description
1778
+ # The description of the stage.
1779
+ # @return [String]
1780
+ #
1781
+ # @!attribute [rw] game_key
1782
+ # The game key associated with the stage.
1783
+ #
1784
+ # The game key is a unique identifier that the game client uses to
1785
+ # connect to the GameSparks backend.
1786
+ # @return [String]
1787
+ #
1788
+ # @!attribute [rw] name
1789
+ # The name of the stage.
1790
+ # @return [String]
1791
+ #
1792
+ # @!attribute [rw] state
1793
+ # The state of the stage.
1794
+ # @return [String]
1795
+ #
1796
+ # @!attribute [rw] tags
1797
+ # The tags associated with the stage.
1798
+ # @return [Hash<String,String>]
1799
+ #
1800
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/StageSummary AWS API Documentation
1801
+ #
1802
+ class StageSummary < Struct.new(
1803
+ :description,
1804
+ :game_key,
1805
+ :name,
1806
+ :state,
1807
+ :tags)
1808
+ SENSITIVE = []
1809
+ include Aws::Structure
1810
+ end
1811
+
1812
+ # @note When making an API call, you may pass StartGeneratedCodeJobRequest
1813
+ # data as a hash:
1814
+ #
1815
+ # {
1816
+ # game_name: "GameName", # required
1817
+ # generator: { # required
1818
+ # game_sdk_version: "GameSdkVersion",
1819
+ # language: "Language",
1820
+ # target_platform: "TargetPlatform",
1821
+ # },
1822
+ # snapshot_id: "SnapshotId", # required
1823
+ # }
1824
+ #
1825
+ # @!attribute [rw] game_name
1826
+ # The name of the game.
1827
+ # @return [String]
1828
+ #
1829
+ # @!attribute [rw] generator
1830
+ # Properties of the generator to use for the job.
1831
+ # @return [Types::Generator]
1832
+ #
1833
+ # @!attribute [rw] snapshot_id
1834
+ # The identifier of the snapshot for which to generate code.
1835
+ # @return [String]
1836
+ #
1837
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/StartGeneratedCodeJobRequest AWS API Documentation
1838
+ #
1839
+ class StartGeneratedCodeJobRequest < Struct.new(
1840
+ :game_name,
1841
+ :generator,
1842
+ :snapshot_id)
1843
+ SENSITIVE = []
1844
+ include Aws::Structure
1845
+ end
1846
+
1847
+ # @!attribute [rw] generated_code_job_id
1848
+ # The identifier of the code generation job. You can use this
1849
+ # identifier in the `GetGeneratedCodeJob` operation.
1850
+ # @return [String]
1851
+ #
1852
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/StartGeneratedCodeJobResult AWS API Documentation
1853
+ #
1854
+ class StartGeneratedCodeJobResult < Struct.new(
1855
+ :generated_code_job_id)
1856
+ SENSITIVE = []
1857
+ include Aws::Structure
1858
+ end
1859
+
1860
+ # @note When making an API call, you may pass StartStageDeploymentRequest
1861
+ # data as a hash:
1862
+ #
1863
+ # {
1864
+ # client_token: "ClientToken",
1865
+ # game_name: "GameName", # required
1866
+ # snapshot_id: "SnapshotId", # required
1867
+ # stage_name: "StageName", # required
1868
+ # }
1869
+ #
1870
+ # @!attribute [rw] client_token
1871
+ # A client-defined token. With an active client token in the request,
1872
+ # this action is idempotent.
1873
+ # @return [String]
1874
+ #
1875
+ # @!attribute [rw] game_name
1876
+ # The name of the game.
1877
+ # @return [String]
1878
+ #
1879
+ # @!attribute [rw] snapshot_id
1880
+ # The identifier of the snapshot to deploy.
1881
+ # @return [String]
1882
+ #
1883
+ # @!attribute [rw] stage_name
1884
+ # The name of the stage to deploy the snapshot onto.
1885
+ # @return [String]
1886
+ #
1887
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/StartStageDeploymentRequest AWS API Documentation
1888
+ #
1889
+ class StartStageDeploymentRequest < Struct.new(
1890
+ :client_token,
1891
+ :game_name,
1892
+ :snapshot_id,
1893
+ :stage_name)
1894
+ SENSITIVE = []
1895
+ include Aws::Structure
1896
+ end
1897
+
1898
+ # @!attribute [rw] stage_deployment
1899
+ # Properties that describe the stage deployment.
1900
+ # @return [Types::StageDeploymentDetails]
1901
+ #
1902
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/StartStageDeploymentResult AWS API Documentation
1903
+ #
1904
+ class StartStageDeploymentResult < Struct.new(
1905
+ :stage_deployment)
1906
+ SENSITIVE = []
1907
+ include Aws::Structure
1908
+ end
1909
+
1910
+ # @note When making an API call, you may pass TagResourceRequest
1911
+ # data as a hash:
1912
+ #
1913
+ # {
1914
+ # resource_arn: "ResourceArn", # required
1915
+ # tags: { # required
1916
+ # "TagKey" => "TagValue",
1917
+ # },
1918
+ # }
1919
+ #
1920
+ # @!attribute [rw] resource_arn
1921
+ # The Amazon Resource Name (ARN) of the resource to add the tags to.
1922
+ # @return [String]
1923
+ #
1924
+ # @!attribute [rw] tags
1925
+ # The tags to add to the resource.
1926
+ # @return [Hash<String,String>]
1927
+ #
1928
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/TagResourceRequest AWS API Documentation
1929
+ #
1930
+ class TagResourceRequest < Struct.new(
1931
+ :resource_arn,
1932
+ :tags)
1933
+ SENSITIVE = []
1934
+ include Aws::Structure
1935
+ end
1936
+
1937
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/TagResourceResult AWS API Documentation
1938
+ #
1939
+ class TagResourceResult < Aws::EmptyStructure; end
1940
+
1941
+ # The request throughput limit was exceeded.
1942
+ #
1943
+ # @!attribute [rw] message
1944
+ # @return [String]
1945
+ #
1946
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ThrottlingException AWS API Documentation
1947
+ #
1948
+ class ThrottlingException < Struct.new(
1949
+ :message)
1950
+ SENSITIVE = []
1951
+ include Aws::Structure
1952
+ end
1953
+
1954
+ # @note When making an API call, you may pass UntagResourceRequest
1955
+ # data as a hash:
1956
+ #
1957
+ # {
1958
+ # resource_arn: "ResourceArn", # required
1959
+ # tag_keys: ["TagKey"], # required
1960
+ # }
1961
+ #
1962
+ # @!attribute [rw] resource_arn
1963
+ # The Amazon Resource Name (ARN) of the resource to remove the tags
1964
+ # from.
1965
+ # @return [String]
1966
+ #
1967
+ # @!attribute [rw] tag_keys
1968
+ # The keys of the tags to remove.
1969
+ # @return [Array<String>]
1970
+ #
1971
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/UntagResourceRequest AWS API Documentation
1972
+ #
1973
+ class UntagResourceRequest < Struct.new(
1974
+ :resource_arn,
1975
+ :tag_keys)
1976
+ SENSITIVE = []
1977
+ include Aws::Structure
1978
+ end
1979
+
1980
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/UntagResourceResult AWS API Documentation
1981
+ #
1982
+ class UntagResourceResult < Aws::EmptyStructure; end
1983
+
1984
+ # @note When making an API call, you may pass UpdateGameConfigurationRequest
1985
+ # data as a hash:
1986
+ #
1987
+ # {
1988
+ # game_name: "GameName", # required
1989
+ # modifications: [ # required
1990
+ # {
1991
+ # operation: "ADD", # required, accepts ADD, REMOVE, REPLACE
1992
+ # path: "Path", # required
1993
+ # section: "SectionName", # required
1994
+ # value: {
1995
+ # },
1996
+ # },
1997
+ # ],
1998
+ # }
1999
+ #
2000
+ # @!attribute [rw] game_name
2001
+ # The name of the game.
2002
+ # @return [String]
2003
+ #
2004
+ # @!attribute [rw] modifications
2005
+ # The list of modifications to make.
2006
+ # @return [Array<Types::SectionModification>]
2007
+ #
2008
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/UpdateGameConfigurationRequest AWS API Documentation
2009
+ #
2010
+ class UpdateGameConfigurationRequest < Struct.new(
2011
+ :game_name,
2012
+ :modifications)
2013
+ SENSITIVE = []
2014
+ include Aws::Structure
2015
+ end
2016
+
2017
+ # @!attribute [rw] game_configuration
2018
+ # Details about the game configuration.
2019
+ # @return [Types::GameConfigurationDetails]
2020
+ #
2021
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/UpdateGameConfigurationResult AWS API Documentation
2022
+ #
2023
+ class UpdateGameConfigurationResult < Struct.new(
2024
+ :game_configuration)
2025
+ SENSITIVE = []
2026
+ include Aws::Structure
2027
+ end
2028
+
2029
+ # @note When making an API call, you may pass UpdateGameRequest
2030
+ # data as a hash:
2031
+ #
2032
+ # {
2033
+ # description: "GameDescription",
2034
+ # game_name: "GameName", # required
2035
+ # }
2036
+ #
2037
+ # @!attribute [rw] description
2038
+ # The description of the game.
2039
+ # @return [String]
2040
+ #
2041
+ # @!attribute [rw] game_name
2042
+ # The name of the game.
2043
+ # @return [String]
2044
+ #
2045
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/UpdateGameRequest AWS API Documentation
2046
+ #
2047
+ class UpdateGameRequest < Struct.new(
2048
+ :description,
2049
+ :game_name)
2050
+ SENSITIVE = []
2051
+ include Aws::Structure
2052
+ end
2053
+
2054
+ # @!attribute [rw] game
2055
+ # The details of the game.
2056
+ # @return [Types::GameDetails]
2057
+ #
2058
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/UpdateGameResult AWS API Documentation
2059
+ #
2060
+ class UpdateGameResult < Struct.new(
2061
+ :game)
2062
+ SENSITIVE = []
2063
+ include Aws::Structure
2064
+ end
2065
+
2066
+ # @note When making an API call, you may pass UpdateSnapshotRequest
2067
+ # data as a hash:
2068
+ #
2069
+ # {
2070
+ # description: "SnapshotDescription",
2071
+ # game_name: "GameName", # required
2072
+ # snapshot_id: "SnapshotId", # required
2073
+ # }
2074
+ #
2075
+ # @!attribute [rw] description
2076
+ # The description of the snapshot.
2077
+ # @return [String]
2078
+ #
2079
+ # @!attribute [rw] game_name
2080
+ # The name of the game.
2081
+ # @return [String]
2082
+ #
2083
+ # @!attribute [rw] snapshot_id
2084
+ # The identifier of the snapshot.
2085
+ # @return [String]
2086
+ #
2087
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/UpdateSnapshotRequest AWS API Documentation
2088
+ #
2089
+ class UpdateSnapshotRequest < Struct.new(
2090
+ :description,
2091
+ :game_name,
2092
+ :snapshot_id)
2093
+ SENSITIVE = []
2094
+ include Aws::Structure
2095
+ end
2096
+
2097
+ # @!attribute [rw] snapshot
2098
+ # Properties that provide details of the updated snapshot.
2099
+ # @return [Types::SnapshotDetails]
2100
+ #
2101
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/UpdateSnapshotResult AWS API Documentation
2102
+ #
2103
+ class UpdateSnapshotResult < Struct.new(
2104
+ :snapshot)
2105
+ SENSITIVE = []
2106
+ include Aws::Structure
2107
+ end
2108
+
2109
+ # @note When making an API call, you may pass UpdateStageRequest
2110
+ # data as a hash:
2111
+ #
2112
+ # {
2113
+ # description: "StageDescription",
2114
+ # game_name: "GameName", # required
2115
+ # role: "RoleARN",
2116
+ # stage_name: "StageName", # required
2117
+ # }
2118
+ #
2119
+ # @!attribute [rw] description
2120
+ # The description of the stage.
2121
+ # @return [String]
2122
+ #
2123
+ # @!attribute [rw] game_name
2124
+ # The name of the game.
2125
+ # @return [String]
2126
+ #
2127
+ # @!attribute [rw] role
2128
+ # The Amazon Resource Name (ARN) of the role to use for the game
2129
+ # snapshots deployed to this stage.
2130
+ # @return [String]
2131
+ #
2132
+ # @!attribute [rw] stage_name
2133
+ # The name of the stage.
2134
+ # @return [String]
2135
+ #
2136
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/UpdateStageRequest AWS API Documentation
2137
+ #
2138
+ class UpdateStageRequest < Struct.new(
2139
+ :description,
2140
+ :game_name,
2141
+ :role,
2142
+ :stage_name)
2143
+ SENSITIVE = []
2144
+ include Aws::Structure
2145
+ end
2146
+
2147
+ # @!attribute [rw] stage
2148
+ # Properties that provide details of the updated stage.
2149
+ # @return [Types::StageDetails]
2150
+ #
2151
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/UpdateStageResult AWS API Documentation
2152
+ #
2153
+ class UpdateStageResult < Struct.new(
2154
+ :stage)
2155
+ SENSITIVE = []
2156
+ include Aws::Structure
2157
+ end
2158
+
2159
+ # One of the parameters in the request is invalid.
2160
+ #
2161
+ # @!attribute [rw] message
2162
+ # @return [String]
2163
+ #
2164
+ # @see http://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ValidationException AWS API Documentation
2165
+ #
2166
+ class ValidationException < Struct.new(
2167
+ :message)
2168
+ SENSITIVE = []
2169
+ include Aws::Structure
2170
+ end
2171
+
2172
+ end
2173
+ end