aws-sdk-gamelift 1.96.0 → 1.97.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.
@@ -556,6 +556,9 @@ module Aws::GameLift
556
556
  TargetConfiguration = Shapes::StructureShape.new(name: 'TargetConfiguration')
557
557
  TargetTrackingConfiguration = Shapes::StructureShape.new(name: 'TargetTrackingConfiguration')
558
558
  TerminalRoutingStrategyException = Shapes::StructureShape.new(name: 'TerminalRoutingStrategyException')
559
+ TerminateGameSessionInput = Shapes::StructureShape.new(name: 'TerminateGameSessionInput')
560
+ TerminateGameSessionOutput = Shapes::StructureShape.new(name: 'TerminateGameSessionOutput')
561
+ TerminationMode = Shapes::StringShape.new(name: 'TerminationMode')
559
562
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
560
563
  UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
561
564
  UnsupportedRegionException = Shapes::StructureShape.new(name: 'UnsupportedRegionException')
@@ -2281,6 +2284,13 @@ module Aws::GameLift
2281
2284
  TerminalRoutingStrategyException.add_member(:message, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Message"))
2282
2285
  TerminalRoutingStrategyException.struct_class = Types::TerminalRoutingStrategyException
2283
2286
 
2287
+ TerminateGameSessionInput.add_member(:game_session_id, Shapes::ShapeRef.new(shape: ArnStringModel, required: true, location_name: "GameSessionId"))
2288
+ TerminateGameSessionInput.add_member(:termination_mode, Shapes::ShapeRef.new(shape: TerminationMode, required: true, location_name: "TerminationMode"))
2289
+ TerminateGameSessionInput.struct_class = Types::TerminateGameSessionInput
2290
+
2291
+ TerminateGameSessionOutput.add_member(:game_session, Shapes::ShapeRef.new(shape: GameSession, location_name: "GameSession"))
2292
+ TerminateGameSessionOutput.struct_class = Types::TerminateGameSessionOutput
2293
+
2284
2294
  UnauthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Message"))
2285
2295
  UnauthorizedException.struct_class = Types::UnauthorizedException
2286
2296
 
@@ -3961,6 +3971,20 @@ module Aws::GameLift
3961
3971
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedRegionException)
3962
3972
  end)
3963
3973
 
3974
+ api.add_operation(:terminate_game_session, Seahorse::Model::Operation.new.tap do |o|
3975
+ o.name = "TerminateGameSession"
3976
+ o.http_method = "POST"
3977
+ o.http_request_uri = "/"
3978
+ o.input = Shapes::ShapeRef.new(shape: TerminateGameSessionInput)
3979
+ o.output = Shapes::ShapeRef.new(shape: TerminateGameSessionOutput)
3980
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3981
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3982
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
3983
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
3984
+ o.errors << Shapes::ShapeRef.new(shape: InvalidGameSessionStatusException)
3985
+ o.errors << Shapes::ShapeRef.new(shape: NotReadyException)
3986
+ end)
3987
+
3964
3988
  api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
3965
3989
  o.name = "UntagResource"
3966
3990
  o.http_method = "POST"