aws-sdk-gamesparks 1.3.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fd36fe1492c47730eb2b3b4bb3a236db62237cb2e57b83c66cbf5bf580b95931
4
- data.tar.gz: 8b8f04d7ae93a5d383e3524f0fcf95830691da6ad4112fc1ab4e0f1fb407c02f
3
+ metadata.gz: e6b1f9592d4eae958aa0c27066f6533639d4e9db6e6420856a45c73628e5a3e9
4
+ data.tar.gz: 7443816a7464738de844f89f6e6bb368a24b0c8b4f2f54d579e27cf82ac0f042
5
5
  SHA512:
6
- metadata.gz: ab2bf649209e2d9031ecb993a12492942c655182f734c6bf4f48df3a3a664d0e5bfd01e9bfee8f11b2089b90edf7557bce7d5a8a9c9e1ba1241a94bf9672c886
7
- data.tar.gz: be31535737b674e32034c69df8f78c6226cde1c8536b84909f27afcb84d919aec670a6eaa2311dde26e24ef40adb6c54929aed2dbf01d706dbbcf7b7a4339415
6
+ metadata.gz: cb3b3b50d7b762f738a924e15bbe88dd8577afe42d5e1c9761245ff38fbcfd856e2de3d7bd80892143ddca340d2c01cd0078b5b2cd1b264fe90f983de45e014a
7
+ data.tar.gz: e61aac6270190022e0f7d667d628caa5cf6023e5c98a7e2f49cf6e04750a95df9590ce10a044ef55a99e5ac41d0752cc51a06d02df275759140ccfeb0be31dbb
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.4.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
4
11
  1.3.0 (2022-10-28)
5
12
  ------------------
6
13
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.0
1
+ 1.4.0
@@ -1790,7 +1790,7 @@ module Aws::GameSparks
1790
1790
  params: params,
1791
1791
  config: config)
1792
1792
  context[:gem_name] = 'aws-sdk-gamesparks'
1793
- context[:gem_version] = '1.3.0'
1793
+ context[:gem_version] = '1.4.0'
1794
1794
  Seahorse::Client::Request.new(handlers, context)
1795
1795
  end
1796
1796
 
@@ -9,104 +9,43 @@
9
9
 
10
10
  module Aws::GameSparks
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
+ end
25
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
+ return Aws::Endpoints::Endpoint.new(url: "https://gamesparks-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
+ end
31
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
+ end
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ return Aws::Endpoints::Endpoint.new(url: "https://gamesparks-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
+ end
37
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
38
+ end
39
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
+ return Aws::Endpoints::Endpoint.new(url: "https://gamesparks.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
+ end
45
+ return Aws::Endpoints::Endpoint.new(url: "https://gamesparks.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
46
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
47
+ raise ArgumentError, 'No endpoint could be resolved'
24
48
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
49
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
- cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
35
- dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZ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J9XX0seyJjb25kaXRpb25zIjpbXSwiZXJyb3IiOiJE
103
- dWFsU3RhY2sgaXMgZW5hYmxlZCBidXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBu
104
- b3Qgc3VwcG9ydCBEdWFsU3RhY2siLCJ0eXBlIjoiZXJyb3IifV19LHsiY29u
105
- ZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vZ2FtZXNw
106
- YXJrcy57UmVnaW9ufS57UGFydGl0aW9uUmVzdWx0I2Ruc1N1ZmZpeH0iLCJw
107
- cm9wZXJ0aWVzIjp7fSwiaGVhZGVycyI6e319LCJ0eXBlIjoiZW5kcG9pbnQi
108
- fV19XX0=
109
-
110
- JSON
111
50
  end
112
51
  end
@@ -55,18 +55,6 @@ module Aws::GameSparks
55
55
  include Aws::Structure
56
56
  end
57
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
58
  # @!attribute [rw] client_token
71
59
  # A client-defined token. With an active client token in the request,
72
60
  # this action is idempotent.
@@ -107,14 +95,6 @@ module Aws::GameSparks
107
95
  include Aws::Structure
108
96
  end
109
97
 
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
98
  # @!attribute [rw] description
119
99
  # The description of the snapshot.
120
100
  # @return [String]
@@ -144,20 +124,6 @@ module Aws::GameSparks
144
124
  include Aws::Structure
145
125
  end
146
126
 
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
127
  # @!attribute [rw] client_token
162
128
  # A client-defined token. With an active client token in the request,
163
129
  # this action is idempotent.
@@ -210,13 +176,6 @@ module Aws::GameSparks
210
176
  include Aws::Structure
211
177
  end
212
178
 
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
179
  # @!attribute [rw] game_name
221
180
  # The name of the game to delete.
222
181
  # @return [String]
@@ -233,14 +192,6 @@ module Aws::GameSparks
233
192
  #
234
193
  class DeleteGameResult < Aws::EmptyStructure; end
235
194
 
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
195
  # @!attribute [rw] game_name
245
196
  # The name of the game.
246
197
  # @return [String]
@@ -281,15 +232,6 @@ module Aws::GameSparks
281
232
  include Aws::Structure
282
233
  end
283
234
 
284
- # @note When making an API call, you may pass DisconnectPlayerRequest
285
- # data as a hash:
286
- #
287
- # {
288
- # game_name: "GameName", # required
289
- # player_id: "PlayerId", # required
290
- # stage_name: "StageName", # required
291
- # }
292
- #
293
235
  # @!attribute [rw] game_name
294
236
  # The name of the game.
295
237
  # @return [String]
@@ -329,14 +271,6 @@ module Aws::GameSparks
329
271
  include Aws::Structure
330
272
  end
331
273
 
332
- # @note When making an API call, you may pass ExportSnapshotRequest
333
- # data as a hash:
334
- #
335
- # {
336
- # game_name: "GameName", # required
337
- # snapshot_id: "SnapshotId", # required
338
- # }
339
- #
340
274
  # @!attribute [rw] game_name
341
275
  # The name of the game.
342
276
  # @return [String]
@@ -569,15 +503,6 @@ module Aws::GameSparks
569
503
 
570
504
  # Properties that specify the code generator for a generated code job.
571
505
  #
572
- # @note When making an API call, you may pass Generator
573
- # data as a hash:
574
- #
575
- # {
576
- # game_sdk_version: "GameSdkVersion",
577
- # language: "Language",
578
- # target_platform: "TargetPlatform",
579
- # }
580
- #
581
506
  # @!attribute [rw] game_sdk_version
582
507
  # The target version of the GameSparks Game SDK.
583
508
  # @return [String]
@@ -605,14 +530,6 @@ module Aws::GameSparks
605
530
  include Aws::Structure
606
531
  end
607
532
 
608
- # @note When making an API call, you may pass GetExtensionRequest
609
- # data as a hash:
610
- #
611
- # {
612
- # name: "ExtensionName", # required
613
- # namespace: "ExtensionNamespace", # required
614
- # }
615
- #
616
533
  # @!attribute [rw] name
617
534
  # The name of the extension.
618
535
  # @return [String]
@@ -642,15 +559,6 @@ module Aws::GameSparks
642
559
  include Aws::Structure
643
560
  end
644
561
 
645
- # @note When making an API call, you may pass GetExtensionVersionRequest
646
- # data as a hash:
647
- #
648
- # {
649
- # extension_version: "ExtensionVersion", # required
650
- # name: "ExtensionName", # required
651
- # namespace: "ExtensionNamespace", # required
652
- # }
653
- #
654
562
  # @!attribute [rw] extension_version
655
563
  # The version of the extension.
656
564
  # @return [String]
@@ -685,14 +593,6 @@ module Aws::GameSparks
685
593
  include Aws::Structure
686
594
  end
687
595
 
688
- # @note When making an API call, you may pass GetGameConfigurationRequest
689
- # data as a hash:
690
- #
691
- # {
692
- # game_name: "GameName", # required
693
- # sections: ["SectionName"],
694
- # }
695
- #
696
596
  # @!attribute [rw] game_name
697
597
  # The name of the game.
698
598
  # @return [String]
@@ -722,13 +622,6 @@ module Aws::GameSparks
722
622
  include Aws::Structure
723
623
  end
724
624
 
725
- # @note When making an API call, you may pass GetGameRequest
726
- # data as a hash:
727
- #
728
- # {
729
- # game_name: "GameName", # required
730
- # }
731
- #
732
625
  # @!attribute [rw] game_name
733
626
  # The name of the game.
734
627
  # @return [String]
@@ -753,15 +646,6 @@ module Aws::GameSparks
753
646
  include Aws::Structure
754
647
  end
755
648
 
756
- # @note When making an API call, you may pass GetGeneratedCodeJobRequest
757
- # data as a hash:
758
- #
759
- # {
760
- # game_name: "GameName", # required
761
- # job_id: "GeneratedCodeJobId", # required
762
- # snapshot_id: "SnapshotId", # required
763
- # }
764
- #
765
649
  # @!attribute [rw] game_name
766
650
  # The name of the game.
767
651
  # @return [String]
@@ -796,15 +680,6 @@ module Aws::GameSparks
796
680
  include Aws::Structure
797
681
  end
798
682
 
799
- # @note When making an API call, you may pass GetPlayerConnectionStatusRequest
800
- # data as a hash:
801
- #
802
- # {
803
- # game_name: "GameName", # required
804
- # player_id: "PlayerId", # required
805
- # stage_name: "StageName", # required
806
- # }
807
- #
808
683
  # @!attribute [rw] game_name
809
684
  # The name of the game.
810
685
  # @return [String]
@@ -840,15 +715,6 @@ module Aws::GameSparks
840
715
  include Aws::Structure
841
716
  end
842
717
 
843
- # @note When making an API call, you may pass GetSnapshotRequest
844
- # data as a hash:
845
- #
846
- # {
847
- # game_name: "GameName", # required
848
- # sections: ["SectionName"],
849
- # snapshot_id: "SnapshotId", # required
850
- # }
851
- #
852
718
  # @!attribute [rw] game_name
853
719
  # The name of the game.
854
720
  # @return [String]
@@ -883,15 +749,6 @@ module Aws::GameSparks
883
749
  include Aws::Structure
884
750
  end
885
751
 
886
- # @note When making an API call, you may pass GetStageDeploymentRequest
887
- # data as a hash:
888
- #
889
- # {
890
- # deployment_id: "DeploymentId",
891
- # game_name: "GameName", # required
892
- # stage_name: "StageName", # required
893
- # }
894
- #
895
752
  # @!attribute [rw] deployment_id
896
753
  # The identifier of the stage deployment. `StartStageDeployment`
897
754
  # returns the identifier that you use here.
@@ -927,14 +784,6 @@ module Aws::GameSparks
927
784
  include Aws::Structure
928
785
  end
929
786
 
930
- # @note When making an API call, you may pass GetStageRequest
931
- # data as a hash:
932
- #
933
- # {
934
- # game_name: "GameName", # required
935
- # stage_name: "StageName", # required
936
- # }
937
- #
938
787
  # @!attribute [rw] game_name
939
788
  # The name of the game.
940
789
  # @return [String]
@@ -964,16 +813,6 @@ module Aws::GameSparks
964
813
  include Aws::Structure
965
814
  end
966
815
 
967
- # @note When making an API call, you may pass ImportGameConfigurationRequest
968
- # data as a hash:
969
- #
970
- # {
971
- # game_name: "GameName", # required
972
- # import_source: { # required
973
- # file: "data", # required
974
- # },
975
- # }
976
- #
977
816
  # @!attribute [rw] game_name
978
817
  # The name of the game.
979
818
  # @return [String]
@@ -1005,13 +844,6 @@ module Aws::GameSparks
1005
844
 
1006
845
  # The source used to import configuration sections.
1007
846
  #
1008
- # @note When making an API call, you may pass ImportGameConfigurationSource
1009
- # data as a hash:
1010
- #
1011
- # {
1012
- # file: "data", # required
1013
- # }
1014
- #
1015
847
  # @!attribute [rw] file
1016
848
  # The JSON string containing the configuration sections.
1017
849
  # @return [String]
@@ -1037,16 +869,6 @@ module Aws::GameSparks
1037
869
  include Aws::Structure
1038
870
  end
1039
871
 
1040
- # @note When making an API call, you may pass ListExtensionVersionsRequest
1041
- # data as a hash:
1042
- #
1043
- # {
1044
- # max_results: 1,
1045
- # name: "ExtensionName", # required
1046
- # namespace: "ExtensionNamespace", # required
1047
- # next_token: "NextToken",
1048
- # }
1049
- #
1050
872
  # @!attribute [rw] max_results
1051
873
  # The maximum number of results to return.
1052
874
  #
@@ -1103,14 +925,6 @@ module Aws::GameSparks
1103
925
  include Aws::Structure
1104
926
  end
1105
927
 
1106
- # @note When making an API call, you may pass ListExtensionsRequest
1107
- # data as a hash:
1108
- #
1109
- # {
1110
- # max_results: 1,
1111
- # next_token: "NextToken",
1112
- # }
1113
- #
1114
928
  # @!attribute [rw] max_results
1115
929
  # The maximum number of results to return.
1116
930
  #
@@ -1157,14 +971,6 @@ module Aws::GameSparks
1157
971
  include Aws::Structure
1158
972
  end
1159
973
 
1160
- # @note When making an API call, you may pass ListGamesRequest
1161
- # data as a hash:
1162
- #
1163
- # {
1164
- # max_results: 1,
1165
- # next_token: "NextToken",
1166
- # }
1167
- #
1168
974
  # @!attribute [rw] max_results
1169
975
  # The maximum number of results to return.
1170
976
  #
@@ -1211,16 +1017,6 @@ module Aws::GameSparks
1211
1017
  include Aws::Structure
1212
1018
  end
1213
1019
 
1214
- # @note When making an API call, you may pass ListGeneratedCodeJobsRequest
1215
- # data as a hash:
1216
- #
1217
- # {
1218
- # game_name: "GameName", # required
1219
- # max_results: 1,
1220
- # next_token: "NextToken",
1221
- # snapshot_id: "SnapshotId", # required
1222
- # }
1223
- #
1224
1020
  # @!attribute [rw] game_name
1225
1021
  # The name of the game.
1226
1022
  # @return [String]
@@ -1277,15 +1073,6 @@ module Aws::GameSparks
1277
1073
  include Aws::Structure
1278
1074
  end
1279
1075
 
1280
- # @note When making an API call, you may pass ListSnapshotsRequest
1281
- # data as a hash:
1282
- #
1283
- # {
1284
- # game_name: "GameName", # required
1285
- # max_results: 1,
1286
- # next_token: "NextToken",
1287
- # }
1288
- #
1289
1076
  # @!attribute [rw] game_name
1290
1077
  # The name of the game.
1291
1078
  # @return [String]
@@ -1338,16 +1125,6 @@ module Aws::GameSparks
1338
1125
  include Aws::Structure
1339
1126
  end
1340
1127
 
1341
- # @note When making an API call, you may pass ListStageDeploymentsRequest
1342
- # data as a hash:
1343
- #
1344
- # {
1345
- # game_name: "GameName", # required
1346
- # max_results: 1,
1347
- # next_token: "NextToken",
1348
- # stage_name: "StageName", # required
1349
- # }
1350
- #
1351
1128
  # @!attribute [rw] game_name
1352
1129
  # The name of the game.
1353
1130
  # @return [String]
@@ -1405,15 +1182,6 @@ module Aws::GameSparks
1405
1182
  include Aws::Structure
1406
1183
  end
1407
1184
 
1408
- # @note When making an API call, you may pass ListStagesRequest
1409
- # data as a hash:
1410
- #
1411
- # {
1412
- # game_name: "GameName", # required
1413
- # max_results: 1,
1414
- # next_token: "NextToken",
1415
- # }
1416
- #
1417
1185
  # @!attribute [rw] game_name
1418
1186
  # The name of the game.
1419
1187
  # @return [String]
@@ -1466,13 +1234,6 @@ module Aws::GameSparks
1466
1234
  include Aws::Structure
1467
1235
  end
1468
1236
 
1469
- # @note When making an API call, you may pass ListTagsForResourceRequest
1470
- # data as a hash:
1471
- #
1472
- # {
1473
- # resource_arn: "ResourceArn", # required
1474
- # }
1475
- #
1476
1237
  # @!attribute [rw] resource_arn
1477
1238
  # The Amazon Resource Name (ARN) of the GameSparks resource.
1478
1239
  # @return [String]
@@ -1536,17 +1297,6 @@ module Aws::GameSparks
1536
1297
 
1537
1298
  # A single modification to the configuration section.
1538
1299
  #
1539
- # @note When making an API call, you may pass SectionModification
1540
- # data as a hash:
1541
- #
1542
- # {
1543
- # operation: "ADD", # required, accepts ADD, REMOVE, REPLACE
1544
- # path: "Path", # required
1545
- # section: "SectionName", # required
1546
- # value: {
1547
- # },
1548
- # }
1549
- #
1550
1300
  # @!attribute [rw] operation
1551
1301
  # The operation to be performed on a configuration section.
1552
1302
  #
@@ -1838,19 +1588,6 @@ module Aws::GameSparks
1838
1588
  include Aws::Structure
1839
1589
  end
1840
1590
 
1841
- # @note When making an API call, you may pass StartGeneratedCodeJobRequest
1842
- # data as a hash:
1843
- #
1844
- # {
1845
- # game_name: "GameName", # required
1846
- # generator: { # required
1847
- # game_sdk_version: "GameSdkVersion",
1848
- # language: "Language",
1849
- # target_platform: "TargetPlatform",
1850
- # },
1851
- # snapshot_id: "SnapshotId", # required
1852
- # }
1853
- #
1854
1591
  # @!attribute [rw] game_name
1855
1592
  # The name of the game.
1856
1593
  # @return [String]
@@ -1886,16 +1623,6 @@ module Aws::GameSparks
1886
1623
  include Aws::Structure
1887
1624
  end
1888
1625
 
1889
- # @note When making an API call, you may pass StartStageDeploymentRequest
1890
- # data as a hash:
1891
- #
1892
- # {
1893
- # client_token: "ClientToken",
1894
- # game_name: "GameName", # required
1895
- # snapshot_id: "SnapshotId", # required
1896
- # stage_name: "StageName", # required
1897
- # }
1898
- #
1899
1626
  # @!attribute [rw] client_token
1900
1627
  # A client-defined token. With an active client token in the request,
1901
1628
  # this action is idempotent.
@@ -1936,16 +1663,6 @@ module Aws::GameSparks
1936
1663
  include Aws::Structure
1937
1664
  end
1938
1665
 
1939
- # @note When making an API call, you may pass TagResourceRequest
1940
- # data as a hash:
1941
- #
1942
- # {
1943
- # resource_arn: "ResourceArn", # required
1944
- # tags: { # required
1945
- # "TagKey" => "TagValue",
1946
- # },
1947
- # }
1948
- #
1949
1666
  # @!attribute [rw] resource_arn
1950
1667
  # The Amazon Resource Name (ARN) of the resource to add the tags to.
1951
1668
  # @return [String]
@@ -1980,14 +1697,6 @@ module Aws::GameSparks
1980
1697
  include Aws::Structure
1981
1698
  end
1982
1699
 
1983
- # @note When making an API call, you may pass UntagResourceRequest
1984
- # data as a hash:
1985
- #
1986
- # {
1987
- # resource_arn: "ResourceArn", # required
1988
- # tag_keys: ["TagKey"], # required
1989
- # }
1990
- #
1991
1700
  # @!attribute [rw] resource_arn
1992
1701
  # The Amazon Resource Name (ARN) of the resource to remove the tags
1993
1702
  # from.
@@ -2010,22 +1719,6 @@ module Aws::GameSparks
2010
1719
  #
2011
1720
  class UntagResourceResult < Aws::EmptyStructure; end
2012
1721
 
2013
- # @note When making an API call, you may pass UpdateGameConfigurationRequest
2014
- # data as a hash:
2015
- #
2016
- # {
2017
- # game_name: "GameName", # required
2018
- # modifications: [ # required
2019
- # {
2020
- # operation: "ADD", # required, accepts ADD, REMOVE, REPLACE
2021
- # path: "Path", # required
2022
- # section: "SectionName", # required
2023
- # value: {
2024
- # },
2025
- # },
2026
- # ],
2027
- # }
2028
- #
2029
1722
  # @!attribute [rw] game_name
2030
1723
  # The name of the game.
2031
1724
  # @return [String]
@@ -2055,14 +1748,6 @@ module Aws::GameSparks
2055
1748
  include Aws::Structure
2056
1749
  end
2057
1750
 
2058
- # @note When making an API call, you may pass UpdateGameRequest
2059
- # data as a hash:
2060
- #
2061
- # {
2062
- # description: "GameDescription",
2063
- # game_name: "GameName", # required
2064
- # }
2065
- #
2066
1751
  # @!attribute [rw] description
2067
1752
  # The description of the game.
2068
1753
  # @return [String]
@@ -2092,15 +1777,6 @@ module Aws::GameSparks
2092
1777
  include Aws::Structure
2093
1778
  end
2094
1779
 
2095
- # @note When making an API call, you may pass UpdateSnapshotRequest
2096
- # data as a hash:
2097
- #
2098
- # {
2099
- # description: "SnapshotDescription",
2100
- # game_name: "GameName", # required
2101
- # snapshot_id: "SnapshotId", # required
2102
- # }
2103
- #
2104
1780
  # @!attribute [rw] description
2105
1781
  # The description of the snapshot.
2106
1782
  # @return [String]
@@ -2135,16 +1811,6 @@ module Aws::GameSparks
2135
1811
  include Aws::Structure
2136
1812
  end
2137
1813
 
2138
- # @note When making an API call, you may pass UpdateStageRequest
2139
- # data as a hash:
2140
- #
2141
- # {
2142
- # description: "StageDescription",
2143
- # game_name: "GameName", # required
2144
- # role: "RoleARN",
2145
- # stage_name: "StageName", # required
2146
- # }
2147
- #
2148
1814
  # @!attribute [rw] description
2149
1815
  # The description of the stage.
2150
1816
  # @return [String]
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-gamesparks/customizations'
52
52
  # @!group service
53
53
  module Aws::GameSparks
54
54
 
55
- GEM_VERSION = '1.3.0'
55
+ GEM_VERSION = '1.4.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-gamesparks
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-28 00:00:00.000000000 Z
11
+ date: 2023-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core