aws-sdk-gamelift 1.0.0.rc5 → 1.0.0.rc6

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
  SHA1:
3
- metadata.gz: 3db0d4fd4a6a35a10b3c141033be8f6ef87d0ba0
4
- data.tar.gz: 032d9b0c7e37107659b71fbe367ae980e0765f5b
3
+ metadata.gz: 83fcd213553cac490bfcab281c66e5064c1b2543
4
+ data.tar.gz: 3d6be4bde87fb4ded9110ad1a34dd518d718cc3d
5
5
  SHA512:
6
- metadata.gz: 0c44ef2f0d4dffb431bbe5268588921ebf3d67a17b854309dcaba26ae042bf21be2f00df9530886f6a3b62e6be252610e5122ad46bd997648ffea3b7ebac6b3c
7
- data.tar.gz: 65a7ed4f6299fef26c95d00b36a5621b3a0a1a1e70288871f67f629d5479beae9e1c8b641a7cf58c2d2f7f3bea0cdecfc4131ad2f7d50746d5b38f205fc242fa
6
+ metadata.gz: 2222b679565c52d7ce2b337bca85b27088e47dd1dd3e9ca7183ccbf719bf96a225b041da54e7a9e2cc59ff05d561ee6a5e99703eca1a984e52da4a00617404e7
7
+ data.tar.gz: d75180b79109de7e02d1611354f3327dcaf4682f57ce207a3a10fe81abea0744ee134a0128c115fe12e421484763cec693def8807a6a3a90840e270c51860260
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-gamelift/customizations'
42
42
  # @service
43
43
  module Aws::GameLift
44
44
 
45
- GEM_VERSION = '1.0.0.rc5'
45
+ GEM_VERSION = '1.0.0.rc6'
46
46
 
47
47
  end
@@ -327,13 +327,18 @@ module Aws::GameLift
327
327
  # through several statuses; once it reaches the `ACTIVE` status, it can
328
328
  # begin hosting game sessions.
329
329
  #
330
- # To create a new fleet, provide a fleet name, an EC2 instance type, and
331
- # a build ID of the game build to deploy. You can also configure the new
332
- # fleet with the following settings: (1) a runtime configuration
333
- # describing what server processes to run on each instance in the fleet
334
- # (required to create fleet), (2) access permissions for inbound
335
- # traffic, (3) fleet-wide game session protection, and (4) the location
336
- # of default log files for Amazon GameLift to upload and store.
330
+ # To create a new fleet, you must specify the following: (1) fleet name,
331
+ # (2) build ID of an uploaded game build, (3) an EC2 instance type, and
332
+ # (4) a runtime configuration that describes which server processes to
333
+ # run on each instance in the fleet. (Although the runtime configuration
334
+ # is not a required parameter, the fleet cannot be successfully created
335
+ # without it.) You can also configure the new fleet with the following
336
+ # settings: fleet description, access permissions for inbound traffic,
337
+ # fleet-wide game session protection, and resource creation limit. If
338
+ # you use Amazon CloudWatch for metrics, you can add the new fleet to a
339
+ # metric group, which allows you to view aggregated metrics for a set of
340
+ # fleets. Once you specify a metric group, the new fleet's metrics are
341
+ # included in the metric group's data.
337
342
  #
338
343
  # If the CreateFleet call is successful, Amazon GameLift performs the
339
344
  # following tasks:
@@ -463,6 +468,12 @@ module Aws::GameLift
463
468
  # Policy that limits the number of game sessions an individual player
464
469
  # can create over a span of time for this fleet.
465
470
  #
471
+ # @option params [Array<String>] :metric_groups
472
+ # Names of metric groups to add this fleet to. Use an existing metric
473
+ # group name to add this fleet to the group, or use a new name to create
474
+ # a new metric group. Currently, a fleet can only be included in one
475
+ # metric group at a time.
476
+ #
466
477
  # @return [Types::CreateFleetOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
467
478
  #
468
479
  # * {Types::CreateFleetOutput#fleet_attributes #fleet_attributes} => Types::FleetAttributes
@@ -494,11 +505,14 @@ module Aws::GameLift
494
505
  # concurrent_executions: 1, # required
495
506
  # },
496
507
  # ],
508
+ # max_concurrent_game_session_activations: 1,
509
+ # game_session_activation_timeout_seconds: 1,
497
510
  # },
498
511
  # resource_creation_limit_policy: {
499
512
  # new_game_sessions_per_creator: 1,
500
513
  # policy_period_in_minutes: 1,
501
514
  # },
515
+ # metric_groups: ["MetricGroup"],
502
516
  # })
503
517
  #
504
518
  # @example Response structure
@@ -519,6 +533,8 @@ module Aws::GameLift
519
533
  # resp.fleet_attributes.operating_system #=> String, one of "WINDOWS_2012", "AMAZON_LINUX"
520
534
  # resp.fleet_attributes.resource_creation_limit_policy.new_game_sessions_per_creator #=> Integer
521
535
  # resp.fleet_attributes.resource_creation_limit_policy.policy_period_in_minutes #=> Integer
536
+ # resp.fleet_attributes.metric_groups #=> Array
537
+ # resp.fleet_attributes.metric_groups[0] #=> String
522
538
  #
523
539
  # @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateFleet AWS API Documentation
524
540
  #
@@ -1204,6 +1220,8 @@ module Aws::GameLift
1204
1220
  # resp.fleet_attributes[0].operating_system #=> String, one of "WINDOWS_2012", "AMAZON_LINUX"
1205
1221
  # resp.fleet_attributes[0].resource_creation_limit_policy.new_game_sessions_per_creator #=> Integer
1206
1222
  # resp.fleet_attributes[0].resource_creation_limit_policy.policy_period_in_minutes #=> Integer
1223
+ # resp.fleet_attributes[0].metric_groups #=> Array
1224
+ # resp.fleet_attributes[0].metric_groups[0] #=> String
1207
1225
  # resp.next_token #=> String
1208
1226
  #
1209
1227
  # @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeFleetAttributes AWS API Documentation
@@ -1902,6 +1920,8 @@ module Aws::GameLift
1902
1920
  # resp.runtime_configuration.server_processes[0].launch_path #=> String
1903
1921
  # resp.runtime_configuration.server_processes[0].parameters #=> String
1904
1922
  # resp.runtime_configuration.server_processes[0].concurrent_executions #=> Integer
1923
+ # resp.runtime_configuration.max_concurrent_game_session_activations #=> Integer
1924
+ # resp.runtime_configuration.game_session_activation_timeout_seconds #=> Integer
1905
1925
  #
1906
1926
  # @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeRuntimeConfiguration AWS API Documentation
1907
1927
  #
@@ -1978,7 +1998,7 @@ module Aws::GameLift
1978
1998
  # resp.scaling_policies[0].comparison_operator #=> String, one of "GreaterThanOrEqualToThreshold", "GreaterThanThreshold", "LessThanThreshold", "LessThanOrEqualToThreshold"
1979
1999
  # resp.scaling_policies[0].threshold #=> Float
1980
2000
  # resp.scaling_policies[0].evaluation_periods #=> Integer
1981
- # resp.scaling_policies[0].metric_name #=> String, one of "ActivatingGameSessions", "ActiveGameSessions", "ActiveInstances", "AvailablePlayerSessions", "CurrentPlayerSessions", "IdleInstances", "QueueDepth", "WaitTime"
2001
+ # resp.scaling_policies[0].metric_name #=> String, one of "ActivatingGameSessions", "ActiveGameSessions", "ActiveInstances", "AvailableGameSessions", "AvailablePlayerSessions", "CurrentPlayerSessions", "IdleInstances", "PercentAvailableGameSessions", "PercentIdleInstances", "QueueDepth", "WaitTime"
1982
2002
  # resp.next_token #=> String
1983
2003
  #
1984
2004
  # @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeScalingPolicies AWS API Documentation
@@ -2388,7 +2408,7 @@ module Aws::GameLift
2388
2408
  # threshold: 1.0, # required
2389
2409
  # comparison_operator: "GreaterThanOrEqualToThreshold", # required, accepts GreaterThanOrEqualToThreshold, GreaterThanThreshold, LessThanThreshold, LessThanOrEqualToThreshold
2390
2410
  # evaluation_periods: 1, # required
2391
- # metric_name: "ActivatingGameSessions", # required, accepts ActivatingGameSessions, ActiveGameSessions, ActiveInstances, AvailablePlayerSessions, CurrentPlayerSessions, IdleInstances, QueueDepth, WaitTime
2411
+ # metric_name: "ActivatingGameSessions", # required, accepts ActivatingGameSessions, ActiveGameSessions, ActiveInstances, AvailableGameSessions, AvailablePlayerSessions, CurrentPlayerSessions, IdleInstances, PercentAvailableGameSessions, PercentIdleInstances, QueueDepth, WaitTime
2392
2412
  # })
2393
2413
  #
2394
2414
  # @example Response structure
@@ -2653,14 +2673,16 @@ module Aws::GameLift
2653
2673
  # CreateGameSessionQueue). When processing a placement request, Amazon
2654
2674
  # GameLift searches for available resources on the queue's
2655
2675
  # destinations, scanning each until it finds resources or the placement
2656
- # request times out. A game session placement request can also request
2657
- # player sessions. When a new game session is successfully created,
2658
- # Amazon GameLift creates a player session for each player included in
2659
- # the request.
2676
+ # request times out.
2677
+ #
2678
+ # A game session placement request can also request player sessions.
2679
+ # When a new game session is successfully created, Amazon GameLift
2680
+ # creates a player session for each player included in the request.
2660
2681
  #
2661
2682
  # When placing a game session, by default Amazon GameLift tries each
2662
2683
  # fleet in the order they are listed in the queue configuration.
2663
2684
  # Ideally, a queue's destinations are listed in preference order.
2685
+ #
2664
2686
  # Alternatively, when requesting a game session with players, you can
2665
2687
  # also provide latency data for each player in relevant regions. Latency
2666
2688
  # data indicates the performance lag a player experiences when connected
@@ -2670,19 +2692,26 @@ module Aws::GameLift
2670
2692
  # GameLift calculates each region's average lag for all players and
2671
2693
  # reorders to get the best game play across all players.
2672
2694
  #
2673
- # To place a new game session request, specify the queue name and a set
2674
- # of game session properties and settings. Also provide a unique ID
2675
- # (such as a UUID) for the placement. You'll use this ID to track the
2676
- # status of the placement request. Optionally, provide a set of IDs and
2677
- # player data for each player you want to join to the new game session.
2678
- # To optimize game play for the players, also provide latency data for
2679
- # all players. If successful, a new game session placement is created.
2695
+ # To place a new game session request, specify the following:
2696
+ #
2697
+ # * The queue name and a set of game session properties and settings
2698
+ #
2699
+ # * A unique ID (such as a UUID) for the placement. You use this ID to
2700
+ # track the status of the placement request
2701
+ #
2702
+ # * (Optional) A set of IDs and player data for each player you want to
2703
+ # join to the new game session
2704
+ #
2705
+ # * Latency data for all players (if you want to optimize game play for
2706
+ # the players)
2707
+ #
2708
+ # If successful, a new game session placement is created.
2709
+ #
2680
2710
  # To track the status of a placement request, call
2681
2711
  # DescribeGameSessionPlacement and check the request's status. If the
2682
- # status is Fulfilled, a new game session has been created and a game
2712
+ # status is `Fulfilled`, a new game session has been created and a game
2683
2713
  # session ARN and region are referenced. If the placement request times
2684
- # out, you have the option of resubmitting the request or retrying it
2685
- # with a different queue.
2714
+ # out, you can resubmit the request or retry it with a different queue.
2686
2715
  #
2687
2716
  # @option params [required, String] :placement_id
2688
2717
  # Unique identifier to assign to the new game session placement. This
@@ -2965,6 +2994,13 @@ module Aws::GameLift
2965
2994
  # Policy that limits the number of game sessions an individual player
2966
2995
  # can create over a span of time.
2967
2996
  #
2997
+ # @option params [Array<String>] :metric_groups
2998
+ # Names of metric groups to include this fleet with. A fleet metric
2999
+ # group is used in Amazon CloudWatch to aggregate metrics from multiple
3000
+ # fleets. Use an existing metric group name to add this fleet to the
3001
+ # group, or use a new name to create a new metric group. Currently, a
3002
+ # fleet can only be included in one metric group at a time.
3003
+ #
2968
3004
  # @return [Types::UpdateFleetAttributesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2969
3005
  #
2970
3006
  # * {Types::UpdateFleetAttributesOutput#fleet_id #fleet_id} => String
@@ -2980,6 +3016,7 @@ module Aws::GameLift
2980
3016
  # new_game_sessions_per_creator: 1,
2981
3017
  # policy_period_in_minutes: 1,
2982
3018
  # },
3019
+ # metric_groups: ["MetricGroup"],
2983
3020
  # })
2984
3021
  #
2985
3022
  # @example Response structure
@@ -3310,6 +3347,8 @@ module Aws::GameLift
3310
3347
  # concurrent_executions: 1, # required
3311
3348
  # },
3312
3349
  # ],
3350
+ # max_concurrent_game_session_activations: 1,
3351
+ # game_session_activation_timeout_seconds: 1,
3313
3352
  # },
3314
3353
  # })
3315
3354
  #
@@ -3319,6 +3358,8 @@ module Aws::GameLift
3319
3358
  # resp.runtime_configuration.server_processes[0].launch_path #=> String
3320
3359
  # resp.runtime_configuration.server_processes[0].parameters #=> String
3321
3360
  # resp.runtime_configuration.server_processes[0].concurrent_executions #=> Integer
3361
+ # resp.runtime_configuration.max_concurrent_game_session_activations #=> Integer
3362
+ # resp.runtime_configuration.game_session_activation_timeout_seconds #=> Integer
3322
3363
  #
3323
3364
  # @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateRuntimeConfiguration AWS API Documentation
3324
3365
  #
@@ -3342,7 +3383,7 @@ module Aws::GameLift
3342
3383
  params: params,
3343
3384
  config: config)
3344
3385
  context[:gem_name] = 'aws-sdk-gamelift'
3345
- context[:gem_version] = '1.0.0.rc5'
3386
+ context[:gem_version] = '1.0.0.rc6'
3346
3387
  Seahorse::Client::Request.new(handlers, context)
3347
3388
  end
3348
3389
 
@@ -101,6 +101,7 @@ module Aws::GameLift
101
101
  GamePropertyList = Shapes::ListShape.new(name: 'GamePropertyList')
102
102
  GamePropertyValue = Shapes::StringShape.new(name: 'GamePropertyValue')
103
103
  GameSession = Shapes::StructureShape.new(name: 'GameSession')
104
+ GameSessionActivationTimeoutSeconds = Shapes::IntegerShape.new(name: 'GameSessionActivationTimeoutSeconds')
104
105
  GameSessionDetail = Shapes::StructureShape.new(name: 'GameSessionDetail')
105
106
  GameSessionDetailList = Shapes::ListShape.new(name: 'GameSessionDetailList')
106
107
  GameSessionFullException = Shapes::StructureShape.new(name: 'GameSessionFullException')
@@ -142,6 +143,9 @@ module Aws::GameLift
142
143
  ListBuildsOutput = Shapes::StructureShape.new(name: 'ListBuildsOutput')
143
144
  ListFleetsInput = Shapes::StructureShape.new(name: 'ListFleetsInput')
144
145
  ListFleetsOutput = Shapes::StructureShape.new(name: 'ListFleetsOutput')
146
+ MaxConcurrentGameSessionActivations = Shapes::IntegerShape.new(name: 'MaxConcurrentGameSessionActivations')
147
+ MetricGroup = Shapes::StringShape.new(name: 'MetricGroup')
148
+ MetricGroupList = Shapes::ListShape.new(name: 'MetricGroupList')
145
149
  MetricName = Shapes::StringShape.new(name: 'MetricName')
146
150
  NonBlankAndLengthConstraintString = Shapes::StringShape.new(name: 'NonBlankAndLengthConstraintString')
147
151
  NonBlankString = Shapes::StringShape.new(name: 'NonBlankString')
@@ -269,6 +273,7 @@ module Aws::GameLift
269
273
  CreateFleetInput.add_member(:new_game_session_protection_policy, Shapes::ShapeRef.new(shape: ProtectionPolicy, location_name: "NewGameSessionProtectionPolicy"))
270
274
  CreateFleetInput.add_member(:runtime_configuration, Shapes::ShapeRef.new(shape: RuntimeConfiguration, location_name: "RuntimeConfiguration"))
271
275
  CreateFleetInput.add_member(:resource_creation_limit_policy, Shapes::ShapeRef.new(shape: ResourceCreationLimitPolicy, location_name: "ResourceCreationLimitPolicy"))
276
+ CreateFleetInput.add_member(:metric_groups, Shapes::ShapeRef.new(shape: MetricGroupList, location_name: "MetricGroups"))
272
277
  CreateFleetInput.struct_class = Types::CreateFleetInput
273
278
 
274
279
  CreateFleetOutput.add_member(:fleet_attributes, Shapes::ShapeRef.new(shape: FleetAttributes, location_name: "FleetAttributes"))
@@ -514,6 +519,7 @@ module Aws::GameLift
514
519
  FleetAttributes.add_member(:new_game_session_protection_policy, Shapes::ShapeRef.new(shape: ProtectionPolicy, location_name: "NewGameSessionProtectionPolicy"))
515
520
  FleetAttributes.add_member(:operating_system, Shapes::ShapeRef.new(shape: OperatingSystem, location_name: "OperatingSystem"))
516
521
  FleetAttributes.add_member(:resource_creation_limit_policy, Shapes::ShapeRef.new(shape: ResourceCreationLimitPolicy, location_name: "ResourceCreationLimitPolicy"))
522
+ FleetAttributes.add_member(:metric_groups, Shapes::ShapeRef.new(shape: MetricGroupList, location_name: "MetricGroups"))
517
523
  FleetAttributes.struct_class = Types::FleetAttributes
518
524
 
519
525
  FleetAttributesList.member = Shapes::ShapeRef.new(shape: FleetAttributes)
@@ -669,6 +675,8 @@ module Aws::GameLift
669
675
  ListFleetsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NonZeroAndMaxString, location_name: "NextToken"))
670
676
  ListFleetsOutput.struct_class = Types::ListFleetsOutput
671
677
 
678
+ MetricGroupList.member = Shapes::ShapeRef.new(shape: MetricGroup)
679
+
672
680
  PlacedPlayerSession.add_member(:player_id, Shapes::ShapeRef.new(shape: NonZeroAndMaxString, location_name: "PlayerId"))
673
681
  PlacedPlayerSession.add_member(:player_session_id, Shapes::ShapeRef.new(shape: PlayerSessionId, location_name: "PlayerSessionId"))
674
682
  PlacedPlayerSession.struct_class = Types::PlacedPlayerSession
@@ -743,6 +751,8 @@ module Aws::GameLift
743
751
  RoutingStrategy.struct_class = Types::RoutingStrategy
744
752
 
745
753
  RuntimeConfiguration.add_member(:server_processes, Shapes::ShapeRef.new(shape: ServerProcessList, location_name: "ServerProcesses"))
754
+ RuntimeConfiguration.add_member(:max_concurrent_game_session_activations, Shapes::ShapeRef.new(shape: MaxConcurrentGameSessionActivations, location_name: "MaxConcurrentGameSessionActivations"))
755
+ RuntimeConfiguration.add_member(:game_session_activation_timeout_seconds, Shapes::ShapeRef.new(shape: GameSessionActivationTimeoutSeconds, location_name: "GameSessionActivationTimeoutSeconds"))
746
756
  RuntimeConfiguration.struct_class = Types::RuntimeConfiguration
747
757
 
748
758
  S3Location.add_member(:bucket, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Bucket"))
@@ -824,6 +834,7 @@ module Aws::GameLift
824
834
  UpdateFleetAttributesInput.add_member(:description, Shapes::ShapeRef.new(shape: NonZeroAndMaxString, location_name: "Description"))
825
835
  UpdateFleetAttributesInput.add_member(:new_game_session_protection_policy, Shapes::ShapeRef.new(shape: ProtectionPolicy, location_name: "NewGameSessionProtectionPolicy"))
826
836
  UpdateFleetAttributesInput.add_member(:resource_creation_limit_policy, Shapes::ShapeRef.new(shape: ResourceCreationLimitPolicy, location_name: "ResourceCreationLimitPolicy"))
837
+ UpdateFleetAttributesInput.add_member(:metric_groups, Shapes::ShapeRef.new(shape: MetricGroupList, location_name: "MetricGroups"))
827
838
  UpdateFleetAttributesInput.struct_class = Types::UpdateFleetAttributesInput
828
839
 
829
840
  UpdateFleetAttributesOutput.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetId, location_name: "FleetId"))
@@ -953,6 +964,7 @@ module Aws::GameLift
953
964
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
954
965
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
955
966
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
967
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
956
968
  end)
957
969
 
958
970
  api.add_operation(:create_player_session, Seahorse::Model::Operation.new.tap do |o|
@@ -337,11 +337,14 @@ module Aws::GameLift
337
337
  # concurrent_executions: 1, # required
338
338
  # },
339
339
  # ],
340
+ # max_concurrent_game_session_activations: 1,
341
+ # game_session_activation_timeout_seconds: 1,
340
342
  # },
341
343
  # resource_creation_limit_policy: {
342
344
  # new_game_sessions_per_creator: 1,
343
345
  # policy_period_in_minutes: 1,
344
346
  # },
347
+ # metric_groups: ["MetricGroup"],
345
348
  # }
346
349
  #
347
350
  # @!attribute [rw] name
@@ -443,6 +446,13 @@ module Aws::GameLift
443
446
  # can create over a span of time for this fleet.
444
447
  # @return [Types::ResourceCreationLimitPolicy]
445
448
  #
449
+ # @!attribute [rw] metric_groups
450
+ # Names of metric groups to add this fleet to. Use an existing metric
451
+ # group name to add this fleet to the group, or use a new name to
452
+ # create a new metric group. Currently, a fleet can only be included
453
+ # in one metric group at a time.
454
+ # @return [Array<String>]
455
+ #
446
456
  # @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateFleetInput AWS API Documentation
447
457
  #
448
458
  class CreateFleetInput < Struct.new(
@@ -456,7 +466,8 @@ module Aws::GameLift
456
466
  :ec2_inbound_permissions,
457
467
  :new_game_session_protection_policy,
458
468
  :runtime_configuration,
459
- :resource_creation_limit_policy)
469
+ :resource_creation_limit_policy,
470
+ :metric_groups)
460
471
  include Aws::Structure
461
472
  end
462
473
 
@@ -2049,6 +2060,14 @@ module Aws::GameLift
2049
2060
  # player can create over a span of time.
2050
2061
  # @return [Types::ResourceCreationLimitPolicy]
2051
2062
  #
2063
+ # @!attribute [rw] metric_groups
2064
+ # Names of metric groups that this fleet is included in. In Amazon
2065
+ # CloudWatch, you can view metrics for an individual fleet or
2066
+ # aggregated metrics for a fleets that are in a fleet metric group.
2067
+ # Currently, a fleet can be included in only one metric group at a
2068
+ # time.
2069
+ # @return [Array<String>]
2070
+ #
2052
2071
  # @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/FleetAttributes AWS API Documentation
2053
2072
  #
2054
2073
  class FleetAttributes < Struct.new(
@@ -2065,7 +2084,8 @@ module Aws::GameLift
2065
2084
  :log_paths,
2066
2085
  :new_game_session_protection_policy,
2067
2086
  :operating_system,
2068
- :resource_creation_limit_policy)
2087
+ :resource_creation_limit_policy,
2088
+ :metric_groups)
2069
2089
  include Aws::Structure
2070
2090
  end
2071
2091
 
@@ -2463,7 +2483,7 @@ module Aws::GameLift
2463
2483
  #
2464
2484
  #
2465
2485
  #
2466
- # [1]: http://docs.aws.amazon.com/docs.aws.amazon.com/AmazonS3/latest/dev/s3-arn-format.html
2486
+ # [1]: http://docs.aws.amazon.com/AmazonS3/latest/dev/s3-arn-format.html
2467
2487
  # @return [String]
2468
2488
  #
2469
2489
  # @!attribute [rw] timeout_in_seconds
@@ -3184,7 +3204,7 @@ module Aws::GameLift
3184
3204
  # threshold: 1.0, # required
3185
3205
  # comparison_operator: "GreaterThanOrEqualToThreshold", # required, accepts GreaterThanOrEqualToThreshold, GreaterThanThreshold, LessThanThreshold, LessThanOrEqualToThreshold
3186
3206
  # evaluation_periods: 1, # required
3187
- # metric_name: "ActivatingGameSessions", # required, accepts ActivatingGameSessions, ActiveGameSessions, ActiveInstances, AvailablePlayerSessions, CurrentPlayerSessions, IdleInstances, QueueDepth, WaitTime
3207
+ # metric_name: "ActivatingGameSessions", # required, accepts ActivatingGameSessions, ActiveGameSessions, ActiveInstances, AvailableGameSessions, AvailablePlayerSessions, CurrentPlayerSessions, IdleInstances, PercentAvailableGameSessions, PercentIdleInstances, QueueDepth, WaitTime
3188
3208
  # }
3189
3209
  #
3190
3210
  # @!attribute [rw] name
@@ -3474,17 +3494,35 @@ module Aws::GameLift
3474
3494
  # concurrent_executions: 1, # required
3475
3495
  # },
3476
3496
  # ],
3497
+ # max_concurrent_game_session_activations: 1,
3498
+ # game_session_activation_timeout_seconds: 1,
3477
3499
  # }
3478
3500
  #
3479
3501
  # @!attribute [rw] server_processes
3480
- # Collection of server process configurations describing what server
3481
- # processes to run on each instance in a fleet
3502
+ # Collection of server process configurations that describe which
3503
+ # server processes to run on each instance in a fleet.
3482
3504
  # @return [Array<Types::ServerProcess>]
3483
3505
  #
3506
+ # @!attribute [rw] max_concurrent_game_session_activations
3507
+ # Maximum number of game sessions with status ACTIVATING to allow on
3508
+ # an instance simultaneously. This setting limits the amount of
3509
+ # instance resources that can be used for new game activations at any
3510
+ # one time.
3511
+ # @return [Integer]
3512
+ #
3513
+ # @!attribute [rw] game_session_activation_timeout_seconds
3514
+ # Maximum amount of time (in seconds) that a game session can remain
3515
+ # in status ACTIVATING. If the game session is not active before the
3516
+ # timeout, activation is terminated and the game session status is
3517
+ # changed to TERMINATED.
3518
+ # @return [Integer]
3519
+ #
3484
3520
  # @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/RuntimeConfiguration AWS API Documentation
3485
3521
  #
3486
3522
  class RuntimeConfiguration < Struct.new(
3487
- :server_processes)
3523
+ :server_processes,
3524
+ :max_concurrent_game_session_activations,
3525
+ :game_session_activation_timeout_seconds)
3488
3526
  include Aws::Structure
3489
3527
  end
3490
3528
 
@@ -4076,6 +4114,7 @@ module Aws::GameLift
4076
4114
  # new_game_sessions_per_creator: 1,
4077
4115
  # policy_period_in_minutes: 1,
4078
4116
  # },
4117
+ # metric_groups: ["MetricGroup"],
4079
4118
  # }
4080
4119
  #
4081
4120
  # @!attribute [rw] fleet_id
@@ -4108,6 +4147,15 @@ module Aws::GameLift
4108
4147
  # can create over a span of time.
4109
4148
  # @return [Types::ResourceCreationLimitPolicy]
4110
4149
  #
4150
+ # @!attribute [rw] metric_groups
4151
+ # Names of metric groups to include this fleet with. A fleet metric
4152
+ # group is used in Amazon CloudWatch to aggregate metrics from
4153
+ # multiple fleets. Use an existing metric group name to add this fleet
4154
+ # to the group, or use a new name to create a new metric group.
4155
+ # Currently, a fleet can only be included in one metric group at a
4156
+ # time.
4157
+ # @return [Array<String>]
4158
+ #
4111
4159
  # @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateFleetAttributesInput AWS API Documentation
4112
4160
  #
4113
4161
  class UpdateFleetAttributesInput < Struct.new(
@@ -4115,7 +4163,8 @@ module Aws::GameLift
4115
4163
  :name,
4116
4164
  :description,
4117
4165
  :new_game_session_protection_policy,
4118
- :resource_creation_limit_policy)
4166
+ :resource_creation_limit_policy,
4167
+ :metric_groups)
4119
4168
  include Aws::Structure
4120
4169
  end
4121
4170
 
@@ -4401,6 +4450,8 @@ module Aws::GameLift
4401
4450
  # concurrent_executions: 1, # required
4402
4451
  # },
4403
4452
  # ],
4453
+ # max_concurrent_game_session_activations: 1,
4454
+ # game_session_activation_timeout_seconds: 1,
4404
4455
  # },
4405
4456
  # }
4406
4457
  #
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-gamelift
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc5
4
+ version: 1.0.0.rc6
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: 2017-05-09 00:00:00.000000000 Z
11
+ date: 2017-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '='
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 3.0.0.rc9
19
+ version: 3.0.0.rc12
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '='
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 3.0.0.rc9
26
+ version: 3.0.0.rc12
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: aws-sigv4
29
29
  requirement: !ruby/object:Gem::Requirement