aws-sdk-gamelift 1.96.0 → 1.98.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -54,7 +54,7 @@ module Aws::GameLift
54
54
  autoload :EndpointProvider, 'aws-sdk-gamelift/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-gamelift/endpoints'
56
56
 
57
- GEM_VERSION = '1.96.0'
57
+ GEM_VERSION = '1.98.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -1529,7 +1529,11 @@ module Aws
1529
1529
  player_data: ::String?
1530
1530
  },
1531
1531
  ],
1532
- ?game_session_data: ::String
1532
+ ?game_session_data: ::String,
1533
+ ?priority_configuration_override: {
1534
+ placement_fallback_strategy: ("DEFAULT_AFTER_SINGLE_PASS" | "NONE")?,
1535
+ location_order: Array[::String]
1536
+ }
1533
1537
  ) -> _StartGameSessionPlacementResponseSuccess
1534
1538
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartGameSessionPlacementResponseSuccess
1535
1539
 
@@ -1630,6 +1634,17 @@ module Aws
1630
1634
  ) -> _TagResourceResponseSuccess
1631
1635
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
1632
1636
 
1637
+ interface _TerminateGameSessionResponseSuccess
1638
+ include ::Seahorse::Client::_ResponseSuccess[Types::TerminateGameSessionOutput]
1639
+ def game_session: () -> Types::GameSession
1640
+ end
1641
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GameLift/Client.html#terminate_game_session-instance_method
1642
+ def terminate_game_session: (
1643
+ game_session_id: ::String,
1644
+ termination_mode: ("TRIGGER_ON_PROCESS_TERMINATE" | "FORCE_TERMINATE")
1645
+ ) -> _TerminateGameSessionResponseSuccess
1646
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TerminateGameSessionResponseSuccess
1647
+
1633
1648
  interface _UntagResourceResponseSuccess
1634
1649
  include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
1635
1650
  end
data/sig/types.rbs CHANGED
@@ -1240,7 +1240,7 @@ module Aws::GameLift
1240
1240
  attr_accessor current_player_session_count: ::Integer
1241
1241
  attr_accessor maximum_player_session_count: ::Integer
1242
1242
  attr_accessor status: ("ACTIVE" | "ACTIVATING" | "TERMINATED" | "TERMINATING" | "ERROR")
1243
- attr_accessor status_reason: ("INTERRUPTED")
1243
+ attr_accessor status_reason: ("INTERRUPTED" | "TRIGGERED_ON_PROCESS_TERMINATE" | "FORCE_TERMINATED")
1244
1244
  attr_accessor game_properties: ::Array[Types::GameProperty]
1245
1245
  attr_accessor ip_address: ::String
1246
1246
  attr_accessor dns_name: ::String
@@ -1298,6 +1298,7 @@ module Aws::GameLift
1298
1298
  attr_accessor placed_player_sessions: ::Array[Types::PlacedPlayerSession]
1299
1299
  attr_accessor game_session_data: ::String
1300
1300
  attr_accessor matchmaker_data: ::String
1301
+ attr_accessor priority_configuration_override: Types::PriorityConfigurationOverride
1301
1302
  SENSITIVE: [:ip_address, :port]
1302
1303
  end
1303
1304
 
@@ -1773,6 +1774,12 @@ module Aws::GameLift
1773
1774
  SENSITIVE: []
1774
1775
  end
1775
1776
 
1777
+ class PriorityConfigurationOverride
1778
+ attr_accessor placement_fallback_strategy: ("DEFAULT_AFTER_SINGLE_PASS" | "NONE")
1779
+ attr_accessor location_order: ::Array[::String]
1780
+ SENSITIVE: []
1781
+ end
1782
+
1776
1783
  class PutScalingPolicyInput
1777
1784
  attr_accessor name: ::String
1778
1785
  attr_accessor fleet_id: ::String
@@ -1957,6 +1964,7 @@ module Aws::GameLift
1957
1964
  attr_accessor player_latencies: ::Array[Types::PlayerLatency]
1958
1965
  attr_accessor desired_player_sessions: ::Array[Types::DesiredPlayerSession]
1959
1966
  attr_accessor game_session_data: ::String
1967
+ attr_accessor priority_configuration_override: Types::PriorityConfigurationOverride
1960
1968
  SENSITIVE: []
1961
1969
  end
1962
1970
 
@@ -2096,6 +2104,17 @@ module Aws::GameLift
2096
2104
  SENSITIVE: []
2097
2105
  end
2098
2106
 
2107
+ class TerminateGameSessionInput
2108
+ attr_accessor game_session_id: ::String
2109
+ attr_accessor termination_mode: ("TRIGGER_ON_PROCESS_TERMINATE" | "FORCE_TERMINATE")
2110
+ SENSITIVE: []
2111
+ end
2112
+
2113
+ class TerminateGameSessionOutput
2114
+ attr_accessor game_session: Types::GameSession
2115
+ SENSITIVE: []
2116
+ end
2117
+
2099
2118
  class UnauthorizedException
2100
2119
  attr_accessor message: ::String
2101
2120
  SENSITIVE: []
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-gamelift
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.96.0
4
+ version: 1.98.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: 2024-11-18 00:00:00.000000000 Z
11
+ date: 2025-01-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core