aws-sdk-gamelift 1.59.0 → 1.61.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-gamelift/client.rb +920 -1066
- data/lib/aws-sdk-gamelift/client_api.rb +291 -11
- data/lib/aws-sdk-gamelift/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-gamelift/endpoint_provider.rb +35 -95
- data/lib/aws-sdk-gamelift/endpoints.rb +126 -0
- data/lib/aws-sdk-gamelift/plugins/endpoints.rb +18 -0
- data/lib/aws-sdk-gamelift/types.rb +1006 -2122
- data/lib/aws-sdk-gamelift.rb +1 -1
- metadata +2 -2
@@ -50,6 +50,9 @@ module Aws::GameLift
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
+
if self[:region].nil?
|
54
|
+
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
+
end
|
53
56
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
57
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
58
|
if self[:use_dual_stack].nil?
|
@@ -9,103 +9,43 @@
|
|
9
9
|
|
10
10
|
module Aws::GameLift
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
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://gamelift-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://gamelift-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://gamelift.#{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://gamelift.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
21
46
|
end
|
22
|
-
|
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
|
-
dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
|
36
|
-
ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
|
37
|
-
ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
|
38
|
-
ZW5kcG9pbnQgZG9lcyBub3Qgc3VwcG9ydCBkdWFsLXN0YWNrLCBkaXNwYXRj
|
39
|
-
aGluZyB0aGUgcmVxdWVzdCBNQVkgcmV0dXJuIGFuIGVycm9yLiIsInR5cGUi
|
40
|
-
OiJCb29sZWFuIn0sIlVzZUZJUFMiOnsiYnVpbHRJbiI6IkFXUzo6VXNlRklQ
|
41
|
-
UyIsInJlcXVpcmVkIjp0cnVlLCJkZWZhdWx0IjpmYWxzZSwiZG9jdW1lbnRh
|
42
|
-
dGlvbiI6IldoZW4gdHJ1ZSwgc2VuZCB0aGlzIHJlcXVlc3QgdG8gdGhlIEZJ
|
43
|
-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aW9u
|
105
|
-
cyI6W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vZ2FtZWxpZnQue1Jl
|
106
|
-
Z2lvbn0ue1BhcnRpdGlvblJlc3VsdCNkbnNTdWZmaXh9IiwicHJvcGVydGll
|
107
|
-
cyI6e30sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In1dfV19
|
108
|
-
|
109
|
-
JSON
|
110
50
|
end
|
111
51
|
end
|
@@ -137,6 +137,20 @@ module Aws::GameLift
|
|
137
137
|
end
|
138
138
|
end
|
139
139
|
|
140
|
+
class CreateLocation
|
141
|
+
def self.build(context)
|
142
|
+
unless context.config.regional_endpoint
|
143
|
+
endpoint = context.config.endpoint.to_s
|
144
|
+
end
|
145
|
+
Aws::GameLift::EndpointParameters.new(
|
146
|
+
region: context.config.region,
|
147
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
148
|
+
use_fips: context.config.use_fips_endpoint,
|
149
|
+
endpoint: endpoint,
|
150
|
+
)
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
140
154
|
class CreateMatchmakingConfiguration
|
141
155
|
def self.build(context)
|
142
156
|
unless context.config.regional_endpoint
|
@@ -319,6 +333,20 @@ module Aws::GameLift
|
|
319
333
|
end
|
320
334
|
end
|
321
335
|
|
336
|
+
class DeleteLocation
|
337
|
+
def self.build(context)
|
338
|
+
unless context.config.regional_endpoint
|
339
|
+
endpoint = context.config.endpoint.to_s
|
340
|
+
end
|
341
|
+
Aws::GameLift::EndpointParameters.new(
|
342
|
+
region: context.config.region,
|
343
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
344
|
+
use_fips: context.config.use_fips_endpoint,
|
345
|
+
endpoint: endpoint,
|
346
|
+
)
|
347
|
+
end
|
348
|
+
end
|
349
|
+
|
322
350
|
class DeleteMatchmakingConfiguration
|
323
351
|
def self.build(context)
|
324
352
|
unless context.config.regional_endpoint
|
@@ -403,6 +431,20 @@ module Aws::GameLift
|
|
403
431
|
end
|
404
432
|
end
|
405
433
|
|
434
|
+
class DeregisterCompute
|
435
|
+
def self.build(context)
|
436
|
+
unless context.config.regional_endpoint
|
437
|
+
endpoint = context.config.endpoint.to_s
|
438
|
+
end
|
439
|
+
Aws::GameLift::EndpointParameters.new(
|
440
|
+
region: context.config.region,
|
441
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
442
|
+
use_fips: context.config.use_fips_endpoint,
|
443
|
+
endpoint: endpoint,
|
444
|
+
)
|
445
|
+
end
|
446
|
+
end
|
447
|
+
|
406
448
|
class DeregisterGameServer
|
407
449
|
def self.build(context)
|
408
450
|
unless context.config.regional_endpoint
|
@@ -445,6 +487,20 @@ module Aws::GameLift
|
|
445
487
|
end
|
446
488
|
end
|
447
489
|
|
490
|
+
class DescribeCompute
|
491
|
+
def self.build(context)
|
492
|
+
unless context.config.regional_endpoint
|
493
|
+
endpoint = context.config.endpoint.to_s
|
494
|
+
end
|
495
|
+
Aws::GameLift::EndpointParameters.new(
|
496
|
+
region: context.config.region,
|
497
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
498
|
+
use_fips: context.config.use_fips_endpoint,
|
499
|
+
endpoint: endpoint,
|
500
|
+
)
|
501
|
+
end
|
502
|
+
end
|
503
|
+
|
448
504
|
class DescribeEC2InstanceLimits
|
449
505
|
def self.build(context)
|
450
506
|
unless context.config.regional_endpoint
|
@@ -809,6 +865,34 @@ module Aws::GameLift
|
|
809
865
|
end
|
810
866
|
end
|
811
867
|
|
868
|
+
class GetComputeAccess
|
869
|
+
def self.build(context)
|
870
|
+
unless context.config.regional_endpoint
|
871
|
+
endpoint = context.config.endpoint.to_s
|
872
|
+
end
|
873
|
+
Aws::GameLift::EndpointParameters.new(
|
874
|
+
region: context.config.region,
|
875
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
876
|
+
use_fips: context.config.use_fips_endpoint,
|
877
|
+
endpoint: endpoint,
|
878
|
+
)
|
879
|
+
end
|
880
|
+
end
|
881
|
+
|
882
|
+
class GetComputeAuthToken
|
883
|
+
def self.build(context)
|
884
|
+
unless context.config.regional_endpoint
|
885
|
+
endpoint = context.config.endpoint.to_s
|
886
|
+
end
|
887
|
+
Aws::GameLift::EndpointParameters.new(
|
888
|
+
region: context.config.region,
|
889
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
890
|
+
use_fips: context.config.use_fips_endpoint,
|
891
|
+
endpoint: endpoint,
|
892
|
+
)
|
893
|
+
end
|
894
|
+
end
|
895
|
+
|
812
896
|
class GetGameSessionLogUrl
|
813
897
|
def self.build(context)
|
814
898
|
unless context.config.regional_endpoint
|
@@ -865,6 +949,20 @@ module Aws::GameLift
|
|
865
949
|
end
|
866
950
|
end
|
867
951
|
|
952
|
+
class ListCompute
|
953
|
+
def self.build(context)
|
954
|
+
unless context.config.regional_endpoint
|
955
|
+
endpoint = context.config.endpoint.to_s
|
956
|
+
end
|
957
|
+
Aws::GameLift::EndpointParameters.new(
|
958
|
+
region: context.config.region,
|
959
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
960
|
+
use_fips: context.config.use_fips_endpoint,
|
961
|
+
endpoint: endpoint,
|
962
|
+
)
|
963
|
+
end
|
964
|
+
end
|
965
|
+
|
868
966
|
class ListFleets
|
869
967
|
def self.build(context)
|
870
968
|
unless context.config.regional_endpoint
|
@@ -907,6 +1005,20 @@ module Aws::GameLift
|
|
907
1005
|
end
|
908
1006
|
end
|
909
1007
|
|
1008
|
+
class ListLocations
|
1009
|
+
def self.build(context)
|
1010
|
+
unless context.config.regional_endpoint
|
1011
|
+
endpoint = context.config.endpoint.to_s
|
1012
|
+
end
|
1013
|
+
Aws::GameLift::EndpointParameters.new(
|
1014
|
+
region: context.config.region,
|
1015
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
1016
|
+
use_fips: context.config.use_fips_endpoint,
|
1017
|
+
endpoint: endpoint,
|
1018
|
+
)
|
1019
|
+
end
|
1020
|
+
end
|
1021
|
+
|
910
1022
|
class ListScripts
|
911
1023
|
def self.build(context)
|
912
1024
|
unless context.config.regional_endpoint
|
@@ -949,6 +1061,20 @@ module Aws::GameLift
|
|
949
1061
|
end
|
950
1062
|
end
|
951
1063
|
|
1064
|
+
class RegisterCompute
|
1065
|
+
def self.build(context)
|
1066
|
+
unless context.config.regional_endpoint
|
1067
|
+
endpoint = context.config.endpoint.to_s
|
1068
|
+
end
|
1069
|
+
Aws::GameLift::EndpointParameters.new(
|
1070
|
+
region: context.config.region,
|
1071
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
1072
|
+
use_fips: context.config.use_fips_endpoint,
|
1073
|
+
endpoint: endpoint,
|
1074
|
+
)
|
1075
|
+
end
|
1076
|
+
end
|
1077
|
+
|
952
1078
|
class RegisterGameServer
|
953
1079
|
def self.build(context)
|
954
1080
|
unless context.config.regional_endpoint
|
@@ -74,6 +74,8 @@ module Aws::GameLift
|
|
74
74
|
Aws::GameLift::Endpoints::CreateGameSession.build(context)
|
75
75
|
when :create_game_session_queue
|
76
76
|
Aws::GameLift::Endpoints::CreateGameSessionQueue.build(context)
|
77
|
+
when :create_location
|
78
|
+
Aws::GameLift::Endpoints::CreateLocation.build(context)
|
77
79
|
when :create_matchmaking_configuration
|
78
80
|
Aws::GameLift::Endpoints::CreateMatchmakingConfiguration.build(context)
|
79
81
|
when :create_matchmaking_rule_set
|
@@ -100,6 +102,8 @@ module Aws::GameLift
|
|
100
102
|
Aws::GameLift::Endpoints::DeleteGameServerGroup.build(context)
|
101
103
|
when :delete_game_session_queue
|
102
104
|
Aws::GameLift::Endpoints::DeleteGameSessionQueue.build(context)
|
105
|
+
when :delete_location
|
106
|
+
Aws::GameLift::Endpoints::DeleteLocation.build(context)
|
103
107
|
when :delete_matchmaking_configuration
|
104
108
|
Aws::GameLift::Endpoints::DeleteMatchmakingConfiguration.build(context)
|
105
109
|
when :delete_matchmaking_rule_set
|
@@ -112,12 +116,16 @@ module Aws::GameLift
|
|
112
116
|
Aws::GameLift::Endpoints::DeleteVpcPeeringAuthorization.build(context)
|
113
117
|
when :delete_vpc_peering_connection
|
114
118
|
Aws::GameLift::Endpoints::DeleteVpcPeeringConnection.build(context)
|
119
|
+
when :deregister_compute
|
120
|
+
Aws::GameLift::Endpoints::DeregisterCompute.build(context)
|
115
121
|
when :deregister_game_server
|
116
122
|
Aws::GameLift::Endpoints::DeregisterGameServer.build(context)
|
117
123
|
when :describe_alias
|
118
124
|
Aws::GameLift::Endpoints::DescribeAlias.build(context)
|
119
125
|
when :describe_build
|
120
126
|
Aws::GameLift::Endpoints::DescribeBuild.build(context)
|
127
|
+
when :describe_compute
|
128
|
+
Aws::GameLift::Endpoints::DescribeCompute.build(context)
|
121
129
|
when :describe_ec2_instance_limits
|
122
130
|
Aws::GameLift::Endpoints::DescribeEC2InstanceLimits.build(context)
|
123
131
|
when :describe_fleet_attributes
|
@@ -170,6 +178,10 @@ module Aws::GameLift
|
|
170
178
|
Aws::GameLift::Endpoints::DescribeVpcPeeringAuthorizations.build(context)
|
171
179
|
when :describe_vpc_peering_connections
|
172
180
|
Aws::GameLift::Endpoints::DescribeVpcPeeringConnections.build(context)
|
181
|
+
when :get_compute_access
|
182
|
+
Aws::GameLift::Endpoints::GetComputeAccess.build(context)
|
183
|
+
when :get_compute_auth_token
|
184
|
+
Aws::GameLift::Endpoints::GetComputeAuthToken.build(context)
|
173
185
|
when :get_game_session_log_url
|
174
186
|
Aws::GameLift::Endpoints::GetGameSessionLogUrl.build(context)
|
175
187
|
when :get_instance_access
|
@@ -178,18 +190,24 @@ module Aws::GameLift
|
|
178
190
|
Aws::GameLift::Endpoints::ListAliases.build(context)
|
179
191
|
when :list_builds
|
180
192
|
Aws::GameLift::Endpoints::ListBuilds.build(context)
|
193
|
+
when :list_compute
|
194
|
+
Aws::GameLift::Endpoints::ListCompute.build(context)
|
181
195
|
when :list_fleets
|
182
196
|
Aws::GameLift::Endpoints::ListFleets.build(context)
|
183
197
|
when :list_game_server_groups
|
184
198
|
Aws::GameLift::Endpoints::ListGameServerGroups.build(context)
|
185
199
|
when :list_game_servers
|
186
200
|
Aws::GameLift::Endpoints::ListGameServers.build(context)
|
201
|
+
when :list_locations
|
202
|
+
Aws::GameLift::Endpoints::ListLocations.build(context)
|
187
203
|
when :list_scripts
|
188
204
|
Aws::GameLift::Endpoints::ListScripts.build(context)
|
189
205
|
when :list_tags_for_resource
|
190
206
|
Aws::GameLift::Endpoints::ListTagsForResource.build(context)
|
191
207
|
when :put_scaling_policy
|
192
208
|
Aws::GameLift::Endpoints::PutScalingPolicy.build(context)
|
209
|
+
when :register_compute
|
210
|
+
Aws::GameLift::Endpoints::RegisterCompute.build(context)
|
193
211
|
when :register_game_server
|
194
212
|
Aws::GameLift::Endpoints::RegisterGameServer.build(context)
|
195
213
|
when :request_upload_credentials
|