aws-sdk-gamelift 1.96.0 → 1.98.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.
@@ -407,6 +407,7 @@ module Aws::GameLift
407
407
  LocationList = Shapes::ListShape.new(name: 'LocationList')
408
408
  LocationModel = Shapes::StructureShape.new(name: 'LocationModel')
409
409
  LocationModelList = Shapes::ListShape.new(name: 'LocationModelList')
410
+ LocationOrderOverrideList = Shapes::ListShape.new(name: 'LocationOrderOverrideList')
410
411
  LocationState = Shapes::StructureShape.new(name: 'LocationState')
411
412
  LocationStateList = Shapes::ListShape.new(name: 'LocationStateList')
412
413
  LocationStringModel = Shapes::StringShape.new(name: 'LocationStringModel')
@@ -455,6 +456,7 @@ module Aws::GameLift
455
456
  OutOfCapacityException = Shapes::StructureShape.new(name: 'OutOfCapacityException')
456
457
  PlacedPlayerSession = Shapes::StructureShape.new(name: 'PlacedPlayerSession')
457
458
  PlacedPlayerSessionList = Shapes::ListShape.new(name: 'PlacedPlayerSessionList')
459
+ PlacementFallbackStrategy = Shapes::StringShape.new(name: 'PlacementFallbackStrategy')
458
460
  Player = Shapes::StructureShape.new(name: 'Player')
459
461
  PlayerAttributeMap = Shapes::MapShape.new(name: 'PlayerAttributeMap')
460
462
  PlayerAttributeString = Shapes::StringShape.new(name: 'PlayerAttributeString')
@@ -480,6 +482,7 @@ module Aws::GameLift
480
482
  PositiveInteger = Shapes::IntegerShape.new(name: 'PositiveInteger')
481
483
  PositiveLong = Shapes::IntegerShape.new(name: 'PositiveLong')
482
484
  PriorityConfiguration = Shapes::StructureShape.new(name: 'PriorityConfiguration')
485
+ PriorityConfigurationOverride = Shapes::StructureShape.new(name: 'PriorityConfigurationOverride')
483
486
  PriorityType = Shapes::StringShape.new(name: 'PriorityType')
484
487
  PriorityTypeList = Shapes::ListShape.new(name: 'PriorityTypeList')
485
488
  ProtectionPolicy = Shapes::StringShape.new(name: 'ProtectionPolicy')
@@ -556,6 +559,9 @@ module Aws::GameLift
556
559
  TargetConfiguration = Shapes::StructureShape.new(name: 'TargetConfiguration')
557
560
  TargetTrackingConfiguration = Shapes::StructureShape.new(name: 'TargetTrackingConfiguration')
558
561
  TerminalRoutingStrategyException = Shapes::StructureShape.new(name: 'TerminalRoutingStrategyException')
562
+ TerminateGameSessionInput = Shapes::StructureShape.new(name: 'TerminateGameSessionInput')
563
+ TerminateGameSessionOutput = Shapes::StructureShape.new(name: 'TerminateGameSessionOutput')
564
+ TerminationMode = Shapes::StringShape.new(name: 'TerminationMode')
559
565
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
560
566
  UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
561
567
  UnsupportedRegionException = Shapes::StructureShape.new(name: 'UnsupportedRegionException')
@@ -711,7 +717,7 @@ module Aws::GameLift
711
717
 
712
718
  ContainerFleet.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetId, location_name: "FleetId"))
713
719
  ContainerFleet.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, location_name: "FleetArn"))
714
- ContainerFleet.add_member(:fleet_role_arn, Shapes::ShapeRef.new(shape: ArnStringModel, location_name: "FleetRoleArn"))
720
+ ContainerFleet.add_member(:fleet_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "FleetRoleArn"))
715
721
  ContainerFleet.add_member(:game_server_container_group_definition_name, Shapes::ShapeRef.new(shape: ContainerGroupDefinitionName, location_name: "GameServerContainerGroupDefinitionName"))
716
722
  ContainerFleet.add_member(:game_server_container_group_definition_arn, Shapes::ShapeRef.new(shape: ContainerGroupDefinitionArn, location_name: "GameServerContainerGroupDefinitionArn"))
717
723
  ContainerFleet.add_member(:per_instance_container_group_definition_name, Shapes::ShapeRef.new(shape: ContainerGroupDefinitionName, location_name: "PerInstanceContainerGroupDefinitionName"))
@@ -812,7 +818,7 @@ module Aws::GameLift
812
818
  CreateBuildOutput.add_member(:storage_location, Shapes::ShapeRef.new(shape: S3Location, location_name: "StorageLocation"))
813
819
  CreateBuildOutput.struct_class = Types::CreateBuildOutput
814
820
 
815
- CreateContainerFleetInput.add_member(:fleet_role_arn, Shapes::ShapeRef.new(shape: ArnStringModel, required: true, location_name: "FleetRoleArn"))
821
+ CreateContainerFleetInput.add_member(:fleet_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "FleetRoleArn"))
816
822
  CreateContainerFleetInput.add_member(:description, Shapes::ShapeRef.new(shape: NonZeroAndMaxString, location_name: "Description"))
817
823
  CreateContainerFleetInput.add_member(:game_server_container_group_definition_name, Shapes::ShapeRef.new(shape: ContainerGroupDefinitionNameOrArn, location_name: "GameServerContainerGroupDefinitionName"))
818
824
  CreateContainerFleetInput.add_member(:per_instance_container_group_definition_name, Shapes::ShapeRef.new(shape: ContainerGroupDefinitionNameOrArn, location_name: "PerInstanceContainerGroupDefinitionName"))
@@ -1617,6 +1623,7 @@ module Aws::GameLift
1617
1623
  GameSessionPlacement.add_member(:placed_player_sessions, Shapes::ShapeRef.new(shape: PlacedPlayerSessionList, location_name: "PlacedPlayerSessions"))
1618
1624
  GameSessionPlacement.add_member(:game_session_data, Shapes::ShapeRef.new(shape: LargeGameSessionData, location_name: "GameSessionData"))
1619
1625
  GameSessionPlacement.add_member(:matchmaker_data, Shapes::ShapeRef.new(shape: MatchmakerData, location_name: "MatchmakerData"))
1626
+ GameSessionPlacement.add_member(:priority_configuration_override, Shapes::ShapeRef.new(shape: PriorityConfigurationOverride, location_name: "PriorityConfigurationOverride"))
1620
1627
  GameSessionPlacement.struct_class = Types::GameSessionPlacement
1621
1628
 
1622
1629
  GameSessionQueue.add_member(:name, Shapes::ShapeRef.new(shape: GameSessionQueueName, location_name: "Name"))
@@ -1882,6 +1889,8 @@ module Aws::GameLift
1882
1889
 
1883
1890
  LocationModelList.member = Shapes::ShapeRef.new(shape: LocationModel)
1884
1891
 
1892
+ LocationOrderOverrideList.member = Shapes::ShapeRef.new(shape: LocationStringModel)
1893
+
1885
1894
  LocationState.add_member(:location, Shapes::ShapeRef.new(shape: LocationStringModel, location_name: "Location"))
1886
1895
  LocationState.add_member(:status, Shapes::ShapeRef.new(shape: FleetStatus, location_name: "Status"))
1887
1896
  LocationState.struct_class = Types::LocationState
@@ -2028,6 +2037,10 @@ module Aws::GameLift
2028
2037
  PriorityConfiguration.add_member(:location_order, Shapes::ShapeRef.new(shape: LocationList, location_name: "LocationOrder"))
2029
2038
  PriorityConfiguration.struct_class = Types::PriorityConfiguration
2030
2039
 
2040
+ PriorityConfigurationOverride.add_member(:placement_fallback_strategy, Shapes::ShapeRef.new(shape: PlacementFallbackStrategy, location_name: "PlacementFallbackStrategy"))
2041
+ PriorityConfigurationOverride.add_member(:location_order, Shapes::ShapeRef.new(shape: LocationOrderOverrideList, required: true, location_name: "LocationOrder"))
2042
+ PriorityConfigurationOverride.struct_class = Types::PriorityConfigurationOverride
2043
+
2031
2044
  PriorityTypeList.member = Shapes::ShapeRef.new(shape: PriorityType)
2032
2045
 
2033
2046
  PutScalingPolicyInput.add_member(:name, Shapes::ShapeRef.new(shape: NonZeroAndMaxString, required: true, location_name: "Name"))
@@ -2175,6 +2188,7 @@ module Aws::GameLift
2175
2188
  StartGameSessionPlacementInput.add_member(:player_latencies, Shapes::ShapeRef.new(shape: PlayerLatencyList, location_name: "PlayerLatencies"))
2176
2189
  StartGameSessionPlacementInput.add_member(:desired_player_sessions, Shapes::ShapeRef.new(shape: DesiredPlayerSessionList, location_name: "DesiredPlayerSessions"))
2177
2190
  StartGameSessionPlacementInput.add_member(:game_session_data, Shapes::ShapeRef.new(shape: LargeGameSessionData, location_name: "GameSessionData"))
2191
+ StartGameSessionPlacementInput.add_member(:priority_configuration_override, Shapes::ShapeRef.new(shape: PriorityConfigurationOverride, location_name: "PriorityConfigurationOverride"))
2178
2192
  StartGameSessionPlacementInput.struct_class = Types::StartGameSessionPlacementInput
2179
2193
 
2180
2194
  StartGameSessionPlacementOutput.add_member(:game_session_placement, Shapes::ShapeRef.new(shape: GameSessionPlacement, location_name: "GameSessionPlacement"))
@@ -2281,6 +2295,13 @@ module Aws::GameLift
2281
2295
  TerminalRoutingStrategyException.add_member(:message, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Message"))
2282
2296
  TerminalRoutingStrategyException.struct_class = Types::TerminalRoutingStrategyException
2283
2297
 
2298
+ TerminateGameSessionInput.add_member(:game_session_id, Shapes::ShapeRef.new(shape: ArnStringModel, required: true, location_name: "GameSessionId"))
2299
+ TerminateGameSessionInput.add_member(:termination_mode, Shapes::ShapeRef.new(shape: TerminationMode, required: true, location_name: "TerminationMode"))
2300
+ TerminateGameSessionInput.struct_class = Types::TerminateGameSessionInput
2301
+
2302
+ TerminateGameSessionOutput.add_member(:game_session, Shapes::ShapeRef.new(shape: GameSession, location_name: "GameSession"))
2303
+ TerminateGameSessionOutput.struct_class = Types::TerminateGameSessionOutput
2304
+
2284
2305
  UnauthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Message"))
2285
2306
  UnauthorizedException.struct_class = Types::UnauthorizedException
2286
2307
 
@@ -3873,6 +3894,7 @@ module Aws::GameLift
3873
3894
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3874
3895
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
3875
3896
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
3897
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedRegionException)
3876
3898
  end)
3877
3899
 
3878
3900
  api.add_operation(:start_match_backfill, Seahorse::Model::Operation.new.tap do |o|
@@ -3961,6 +3983,20 @@ module Aws::GameLift
3961
3983
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedRegionException)
3962
3984
  end)
3963
3985
 
3986
+ api.add_operation(:terminate_game_session, Seahorse::Model::Operation.new.tap do |o|
3987
+ o.name = "TerminateGameSession"
3988
+ o.http_method = "POST"
3989
+ o.http_request_uri = "/"
3990
+ o.input = Shapes::ShapeRef.new(shape: TerminateGameSessionInput)
3991
+ o.output = Shapes::ShapeRef.new(shape: TerminateGameSessionOutput)
3992
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3993
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3994
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
3995
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
3996
+ o.errors << Shapes::ShapeRef.new(shape: InvalidGameSessionStatusException)
3997
+ o.errors << Shapes::ShapeRef.new(shape: NotReadyException)
3998
+ end)
3999
+
3964
4000
  api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
3965
4001
  o.name = "UntagResource"
3966
4002
  o.http_method = "POST"