aws-sdk-gamelift 1.2.0 → 1.3.0

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: 5d96827b89b2d0d801203e3020389b939ad61f41
4
- data.tar.gz: e711bce8e22058bb7ce288a074eae56124c3adf6
3
+ metadata.gz: 5f050fba33f11975b4569c5d958604900689cbe5
4
+ data.tar.gz: 821601211a46fb840760d635f6e72c440d74e24f
5
5
  SHA512:
6
- metadata.gz: 770a0b7f4630e3947a1f5eece2813833a072feb078ddf7a32317633aad427685ee9c861b55508dcd27592589bf629bdaf0745b9b8c77eec1300e15892ff59db0
7
- data.tar.gz: eb91ca3456d1b925c854fc93383b94ce87868188357f437e63b1f0b5a24ed6440d9b3f71afb8ae1dbb201d5bca8bf75db0db08840fd7e0505f6f50320e66fc51
6
+ metadata.gz: 3977cf3c75cbabd2166e111291057bd457fb91dc15fea11ccd4743a0a4e9cc1894c3216a6a283a683e028adcf1ffafb4731e5d9e658fd6479ba67ccc21fc76c5
7
+ data.tar.gz: e25095ea262c989676f538cf3394c55d90f63748fbc436704ea486028d89a78223ed1e3e089e564f0f85b377b4707ddc7d1de19c10ebd78d30240dccd2716ece
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-gamelift/customizations'
42
42
  # @service
43
43
  module Aws::GameLift
44
44
 
45
- GEM_VERSION = '1.2.0'
45
+ GEM_VERSION = '1.3.0'
46
46
 
47
47
  end
@@ -191,6 +191,8 @@ module Aws::GameLift
191
191
  #
192
192
  # * AcceptMatch
193
193
  #
194
+ # * StartMatchBackfill
195
+ #
194
196
  # @option params [required, String] :ticket_id
195
197
  # Unique identifier for a matchmaking ticket. The ticket must be in
196
198
  # status `REQUIRES_ACCEPTANCE`; otherwise this request will fail.
@@ -433,19 +435,17 @@ module Aws::GameLift
433
435
 
434
436
  # Creates a new fleet to run your game servers. A fleet is a set of
435
437
  # Amazon Elastic Compute Cloud (Amazon EC2) instances, each of which can
436
- # run multiple server processes to host game sessions. You configure a
437
- # fleet to create instances with certain hardware specifications (see
438
- # [Amazon EC2 Instance Types][1] for more information), and deploy a
439
- # specified game build to each instance. A newly created fleet passes
440
- # through several statuses; once it reaches the `ACTIVE` status, it can
441
- # begin hosting game sessions.
442
- #
443
- # To create a new fleet, you must specify the following: (1) fleet name,
444
- # (2) build ID of an uploaded game build, (3) an EC2 instance type, and
445
- # (4) a run-time configuration that describes which server processes to
446
- # run on each instance in the fleet. (Although the run-time
447
- # configuration is not a required parameter, the fleet cannot be
448
- # successfully activated without it.)
438
+ # run multiple server processes to host game sessions. You set up a
439
+ # fleet to use instances with certain hardware specifications (see
440
+ # [Amazon EC2 Instance Types][1] for more information), and deploy your
441
+ # game build to run on each instance.
442
+ #
443
+ # To create a new fleet, you must specify the following: (1) a fleet
444
+ # name, (2) the build ID of a successfully uploaded game build, (3) an
445
+ # EC2 instance type, and (4) a run-time configuration, which describes
446
+ # the server processes to run on each instance in the fleet. If you
447
+ # don't specify a fleet type (on-demand or spot), the new fleet uses
448
+ # on-demand instances by default.
449
449
  #
450
450
  # You can also configure the new fleet with the following settings:
451
451
  #
@@ -455,35 +455,40 @@ module Aws::GameLift
455
455
  #
456
456
  # * Fleet-wide game session protection
457
457
  #
458
- # * Resource creation limit
458
+ # * Resource usage limits
459
+ # ^
460
+ #
461
+ # * VPC peering connection (see [VPC Peering with Amazon GameLift
462
+ # Fleets][2])
463
+ #
464
+ # ^
459
465
  #
460
466
  # If you use Amazon CloudWatch for metrics, you can add the new fleet to
461
- # a metric group. This allows you to view aggregated metrics for a set
462
- # of fleets. Once you specify a metric group, the new fleet's metrics
463
- # are included in the metric group's data.
467
+ # a metric group. By adding multiple fleets to a metric group, you can
468
+ # view aggregated metrics for all the fleets in the group.
464
469
  #
465
- # You have the option of creating a VPC peering connection with the new
466
- # fleet. For more information, see [VPC Peering with Amazon GameLift
467
- # Fleets][2].
470
+ # If the `CreateFleet` call is successful, Amazon GameLift performs the
471
+ # following tasks. You can track the process of a fleet by checking the
472
+ # fleet status or by monitoring fleet creation events:
468
473
  #
469
- # If the CreateFleet call is successful, Amazon GameLift performs the
470
- # following tasks:
474
+ # * Creates a fleet record. Status: `NEW`.
471
475
  #
472
- # * Creates a fleet record and sets the status to `NEW` (followed by
473
- # other statuses as the fleet is activated).
476
+ # * Begins writing events to the fleet event log, which can be accessed
477
+ # in the Amazon GameLift console.
474
478
  #
475
- # * Sets the fleet's target capacity to 1 (desired instances), which
476
- # causes Amazon GameLift to start one new EC2 instance.
479
+ # Sets the fleet's target capacity to 1 (desired instances), which
480
+ # triggers Amazon GameLift to start one new EC2 instance.
481
+ #
482
+ # * Downloads the game build to the new instance and installs it.
483
+ # Statuses: `DOWNLOADING`, `VALIDATING`, `BUILDING`.
477
484
  #
478
485
  # * Starts launching server processes on the instance. If the fleet is
479
486
  # configured to run multiple server processes per instance, Amazon
480
- # GameLift staggers each launch by a few seconds.
481
- #
482
- # * Begins writing events to the fleet event log, which can be accessed
483
- # in the Amazon GameLift console.
487
+ # GameLift staggers each launch by a few seconds. Status:
488
+ # `ACTIVATING`.
484
489
  #
485
490
  # * Sets the fleet's status to `ACTIVE` as soon as one server process
486
- # in the fleet is ready to host a game session.
491
+ # is ready to host a game session.
487
492
  #
488
493
  # Fleet-related operations include:
489
494
  #
@@ -639,6 +644,21 @@ module Aws::GameLift
639
644
  # Virtual Private Cloud service tools, including the VPC Dashboard in
640
645
  # the AWS Management Console.
641
646
  #
647
+ # @option params [String] :fleet_type
648
+ # Indicates whether to use on-demand instances or spot instances for
649
+ # this fleet. If empty, the default is ON\_DEMAND. Both categories of
650
+ # instances use identical hardware and configurations, based on the
651
+ # instance type selected for this fleet. You can acquire on-demand
652
+ # instances at any time for a fixed price and keep them as long as you
653
+ # need them. Spot instances have lower prices, but spot pricing is
654
+ # variable, and while in use they can be interrupted (with a two-minute
655
+ # notification). Learn more about Amazon GameLift spot instances with at
656
+ # [ Choose Computing Resources][1].
657
+ #
658
+ #
659
+ #
660
+ # [1]: http://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-ec2-instances.html
661
+ #
642
662
  # @return [Types::CreateFleetOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
643
663
  #
644
664
  # * {Types::CreateFleetOutput#fleet_attributes #fleet_attributes} => Types::FleetAttributes
@@ -680,12 +700,15 @@ module Aws::GameLift
680
700
  # metric_groups: ["MetricGroup"],
681
701
  # peer_vpc_aws_account_id: "NonZeroAndMaxString",
682
702
  # peer_vpc_id: "NonZeroAndMaxString",
703
+ # fleet_type: "ON_DEMAND", # accepts ON_DEMAND, SPOT
683
704
  # })
684
705
  #
685
706
  # @example Response structure
686
707
  #
687
708
  # resp.fleet_attributes.fleet_id #=> String
688
709
  # resp.fleet_attributes.fleet_arn #=> String
710
+ # resp.fleet_attributes.fleet_type #=> String, one of "ON_DEMAND", "SPOT"
711
+ # resp.fleet_attributes.instance_type #=> String, one of "t2.micro", "t2.small", "t2.medium", "t2.large", "c3.large", "c3.xlarge", "c3.2xlarge", "c3.4xlarge", "c3.8xlarge", "c4.large", "c4.xlarge", "c4.2xlarge", "c4.4xlarge", "c4.8xlarge", "r3.large", "r3.xlarge", "r3.2xlarge", "r3.4xlarge", "r3.8xlarge", "r4.large", "r4.xlarge", "r4.2xlarge", "r4.4xlarge", "r4.8xlarge", "r4.16xlarge", "m3.medium", "m3.large", "m3.xlarge", "m3.2xlarge", "m4.large", "m4.xlarge", "m4.2xlarge", "m4.4xlarge", "m4.10xlarge"
689
712
  # resp.fleet_attributes.description #=> String
690
713
  # resp.fleet_attributes.name #=> String
691
714
  # resp.fleet_attributes.creation_time #=> Time
@@ -863,6 +886,7 @@ module Aws::GameLift
863
886
  # resp.game_session.current_player_session_count #=> Integer
864
887
  # resp.game_session.maximum_player_session_count #=> Integer
865
888
  # resp.game_session.status #=> String, one of "ACTIVE", "ACTIVATING", "TERMINATED", "TERMINATING", "ERROR"
889
+ # resp.game_session.status_reason #=> String, one of "INTERRUPTED"
866
890
  # resp.game_session.game_properties #=> Array
867
891
  # resp.game_session.game_properties[0].key #=> String
868
892
  # resp.game_session.game_properties[0].value #=> String
@@ -1001,9 +1025,9 @@ module Aws::GameLift
1001
1025
  # matchmaking configuration sets out guidelines for matching players and
1002
1026
  # getting the matches into games. You can set up multiple matchmaking
1003
1027
  # configurations to handle the scenarios needed for your game. Each
1004
- # matchmaking request (StartMatchmaking) specifies a configuration for
1005
- # the match and provides player attributes to support the configuration
1006
- # being used.
1028
+ # matchmaking ticket (StartMatchmaking or StartMatchBackfill) specifies
1029
+ # a configuration for the match and provides player attributes to
1030
+ # support the configuration being used.
1007
1031
  #
1008
1032
  # To create a matchmaking configuration, at a minimum you must specify
1009
1033
  # the following: configuration name; a rule set that governs how to
@@ -1192,7 +1216,7 @@ module Aws::GameLift
1192
1216
  #
1193
1217
  # Once created, matchmaking rule sets cannot be changed or deleted, so
1194
1218
  # we recommend checking the rule set syntax using
1195
- # ValidateMatchmakingRuleSetbefore creating the rule set.
1219
+ # ValidateMatchmakingRuleSet before creating the rule set.
1196
1220
  #
1197
1221
  # To create a matchmaking rule set, provide the set of rules and a
1198
1222
  # unique name. Rule sets must be defined in the same region as the
@@ -2269,6 +2293,8 @@ module Aws::GameLift
2269
2293
  # resp.fleet_attributes #=> Array
2270
2294
  # resp.fleet_attributes[0].fleet_id #=> String
2271
2295
  # resp.fleet_attributes[0].fleet_arn #=> String
2296
+ # resp.fleet_attributes[0].fleet_type #=> String, one of "ON_DEMAND", "SPOT"
2297
+ # resp.fleet_attributes[0].instance_type #=> String, one of "t2.micro", "t2.small", "t2.medium", "t2.large", "c3.large", "c3.xlarge", "c3.2xlarge", "c3.4xlarge", "c3.8xlarge", "c4.large", "c4.xlarge", "c4.2xlarge", "c4.4xlarge", "c4.8xlarge", "r3.large", "r3.xlarge", "r3.2xlarge", "r3.4xlarge", "r3.8xlarge", "r4.large", "r4.xlarge", "r4.2xlarge", "r4.4xlarge", "r4.8xlarge", "r4.16xlarge", "m3.medium", "m3.large", "m3.xlarge", "m3.2xlarge", "m4.large", "m4.xlarge", "m4.2xlarge", "m4.4xlarge", "m4.10xlarge"
2272
2298
  # resp.fleet_attributes[0].description #=> String
2273
2299
  # resp.fleet_attributes[0].name #=> String
2274
2300
  # resp.fleet_attributes[0].creation_time #=> Time
@@ -2504,7 +2530,7 @@ module Aws::GameLift
2504
2530
  # resp.events #=> Array
2505
2531
  # resp.events[0].event_id #=> String
2506
2532
  # resp.events[0].resource_id #=> String
2507
- # resp.events[0].event_code #=> String, one of "GENERIC_EVENT", "FLEET_CREATED", "FLEET_DELETED", "FLEET_SCALING_EVENT", "FLEET_STATE_DOWNLOADING", "FLEET_STATE_VALIDATING", "FLEET_STATE_BUILDING", "FLEET_STATE_ACTIVATING", "FLEET_STATE_ACTIVE", "FLEET_STATE_ERROR", "FLEET_INITIALIZATION_FAILED", "FLEET_BINARY_DOWNLOAD_FAILED", "FLEET_VALIDATION_LAUNCH_PATH_NOT_FOUND", "FLEET_VALIDATION_EXECUTABLE_RUNTIME_FAILURE", "FLEET_VALIDATION_TIMED_OUT", "FLEET_ACTIVATION_FAILED", "FLEET_ACTIVATION_FAILED_NO_INSTANCES", "FLEET_NEW_GAME_SESSION_PROTECTION_POLICY_UPDATED", "SERVER_PROCESS_INVALID_PATH", "SERVER_PROCESS_SDK_INITIALIZATION_TIMEOUT", "SERVER_PROCESS_PROCESS_READY_TIMEOUT", "SERVER_PROCESS_CRASHED", "SERVER_PROCESS_TERMINATED_UNHEALTHY", "SERVER_PROCESS_FORCE_TERMINATED", "SERVER_PROCESS_PROCESS_EXIT_TIMEOUT", "GAME_SESSION_ACTIVATION_TIMEOUT", "FLEET_CREATION_EXTRACTING_BUILD", "FLEET_CREATION_RUNNING_INSTALLER", "FLEET_CREATION_VALIDATING_RUNTIME_CONFIG", "FLEET_VPC_PEERING_SUCCEEDED", "FLEET_VPC_PEERING_FAILED", "FLEET_VPC_PEERING_DELETED"
2533
+ # resp.events[0].event_code #=> String, one of "GENERIC_EVENT", "FLEET_CREATED", "FLEET_DELETED", "FLEET_SCALING_EVENT", "FLEET_STATE_DOWNLOADING", "FLEET_STATE_VALIDATING", "FLEET_STATE_BUILDING", "FLEET_STATE_ACTIVATING", "FLEET_STATE_ACTIVE", "FLEET_STATE_ERROR", "FLEET_INITIALIZATION_FAILED", "FLEET_BINARY_DOWNLOAD_FAILED", "FLEET_VALIDATION_LAUNCH_PATH_NOT_FOUND", "FLEET_VALIDATION_EXECUTABLE_RUNTIME_FAILURE", "FLEET_VALIDATION_TIMED_OUT", "FLEET_ACTIVATION_FAILED", "FLEET_ACTIVATION_FAILED_NO_INSTANCES", "FLEET_NEW_GAME_SESSION_PROTECTION_POLICY_UPDATED", "SERVER_PROCESS_INVALID_PATH", "SERVER_PROCESS_SDK_INITIALIZATION_TIMEOUT", "SERVER_PROCESS_PROCESS_READY_TIMEOUT", "SERVER_PROCESS_CRASHED", "SERVER_PROCESS_TERMINATED_UNHEALTHY", "SERVER_PROCESS_FORCE_TERMINATED", "SERVER_PROCESS_PROCESS_EXIT_TIMEOUT", "GAME_SESSION_ACTIVATION_TIMEOUT", "FLEET_CREATION_EXTRACTING_BUILD", "FLEET_CREATION_RUNNING_INSTALLER", "FLEET_CREATION_VALIDATING_RUNTIME_CONFIG", "FLEET_VPC_PEERING_SUCCEEDED", "FLEET_VPC_PEERING_FAILED", "FLEET_VPC_PEERING_DELETED", "INSTANCE_INTERRUPTED"
2508
2534
  # resp.events[0].message #=> String
2509
2535
  # resp.events[0].event_time #=> Time
2510
2536
  # resp.events[0].pre_signed_log_url #=> String
@@ -2795,6 +2821,7 @@ module Aws::GameLift
2795
2821
  # resp.game_session_details[0].game_session.current_player_session_count #=> Integer
2796
2822
  # resp.game_session_details[0].game_session.maximum_player_session_count #=> Integer
2797
2823
  # resp.game_session_details[0].game_session.status #=> String, one of "ACTIVE", "ACTIVATING", "TERMINATED", "TERMINATING", "ERROR"
2824
+ # resp.game_session_details[0].game_session.status_reason #=> String, one of "INTERRUPTED"
2798
2825
  # resp.game_session_details[0].game_session.game_properties #=> Array
2799
2826
  # resp.game_session_details[0].game_session.game_properties[0].key #=> String
2800
2827
  # resp.game_session_details[0].game_session.game_properties[0].value #=> String
@@ -3044,6 +3071,7 @@ module Aws::GameLift
3044
3071
  # resp.game_sessions[0].current_player_session_count #=> Integer
3045
3072
  # resp.game_sessions[0].maximum_player_session_count #=> Integer
3046
3073
  # resp.game_sessions[0].status #=> String, one of "ACTIVE", "ACTIVATING", "TERMINATED", "TERMINATING", "ERROR"
3074
+ # resp.game_sessions[0].status_reason #=> String, one of "INTERRUPTED"
3047
3075
  # resp.game_sessions[0].game_properties #=> Array
3048
3076
  # resp.game_sessions[0].game_properties[0].key #=> String
3049
3077
  # resp.game_sessions[0].game_properties[0].value #=> String
@@ -3148,6 +3176,8 @@ module Aws::GameLift
3148
3176
  #
3149
3177
  # * AcceptMatch
3150
3178
  #
3179
+ # * StartMatchBackfill
3180
+ #
3151
3181
  # @option params [required, Array<String>] :ticket_ids
3152
3182
  # Unique identifier for a matchmaking ticket. You can include up to 10
3153
3183
  # ID values.
@@ -4584,6 +4614,7 @@ module Aws::GameLift
4584
4614
  # resp.game_sessions[0].current_player_session_count #=> Integer
4585
4615
  # resp.game_sessions[0].maximum_player_session_count #=> Integer
4586
4616
  # resp.game_sessions[0].status #=> String, one of "ACTIVE", "ACTIVATING", "TERMINATED", "TERMINATING", "ERROR"
4617
+ # resp.game_sessions[0].status_reason #=> String, one of "INTERRUPTED"
4587
4618
  # resp.game_sessions[0].game_properties #=> Array
4588
4619
  # resp.game_sessions[0].game_properties[0].key #=> String
4589
4620
  # resp.game_sessions[0].game_properties[0].value #=> String
@@ -4800,8 +4831,8 @@ module Aws::GameLift
4800
4831
  # a match backfill ticket is created and returned with status set to
4801
4832
  # QUEUED. The ticket is placed in the matchmaker's ticket pool and
4802
4833
  # processed. Track the status of the ticket to respond as needed. For
4803
- # more detail how to set up backfilling, see [ Set up Match
4804
- # Backfilling][1].
4834
+ # more detail how to set up backfilling, see [ Backfill Existing Games
4835
+ # with FlexMatch][1].
4805
4836
  #
4806
4837
  # The process of finding backfill matches is essentially identical to
4807
4838
  # the initial matchmaking process. The matchmaker searches the pool and
@@ -4823,6 +4854,8 @@ module Aws::GameLift
4823
4854
  #
4824
4855
  # * AcceptMatch
4825
4856
  #
4857
+ # * StartMatchBackfill
4858
+ #
4826
4859
  #
4827
4860
  #
4828
4861
  # [1]: http://docs.aws.amazon.com/gamelift/latest/developerguide/match-backfill.html
@@ -4857,13 +4890,13 @@ module Aws::GameLift
4857
4890
  # game session. This information is used by the matchmaker to find new
4858
4891
  # players and add them to the existing game.
4859
4892
  #
4860
- # * PlayerID, PlayerAttributes, Team -- This information is maintained
4861
- # in the GameSession object, `MatchmakerData` property, for all
4862
- # players who are currently assigned to the game session. The
4893
+ # * PlayerID, PlayerAttributes, Team -\\\\- This information is
4894
+ # maintained in the GameSession object, `MatchmakerData` property, for
4895
+ # all players who are currently assigned to the game session. The
4863
4896
  # matchmaker data is in JSON syntax, formatted as a string. For more
4864
4897
  # details, see [ Match Data][1].
4865
4898
  #
4866
- # * LatencyInMs -- If the matchmaker uses player latency, include a
4899
+ # * LatencyInMs -\\\\- If the matchmaker uses player latency, include a
4867
4900
  # latency value, in milliseconds, for the region that the game session
4868
4901
  # is currently in. Do not include latency values for any other region.
4869
4902
  #
@@ -5007,6 +5040,8 @@ module Aws::GameLift
5007
5040
  #
5008
5041
  # * AcceptMatch
5009
5042
  #
5043
+ # * StartMatchBackfill
5044
+ #
5010
5045
  #
5011
5046
  #
5012
5047
  # [1]: http://docs.aws.amazon.com/gamelift/latest/developerguide/match-intro.html
@@ -5175,6 +5210,8 @@ module Aws::GameLift
5175
5210
  #
5176
5211
  # * AcceptMatch
5177
5212
  #
5213
+ # * StartMatchBackfill
5214
+ #
5178
5215
  # @option params [required, String] :ticket_id
5179
5216
  # Unique identifier for a matchmaking ticket.
5180
5217
  #
@@ -5722,6 +5759,7 @@ module Aws::GameLift
5722
5759
  # resp.game_session.current_player_session_count #=> Integer
5723
5760
  # resp.game_session.maximum_player_session_count #=> Integer
5724
5761
  # resp.game_session.status #=> String, one of "ACTIVE", "ACTIVATING", "TERMINATED", "TERMINATING", "ERROR"
5762
+ # resp.game_session.status_reason #=> String, one of "INTERRUPTED"
5725
5763
  # resp.game_session.game_properties #=> Array
5726
5764
  # resp.game_session.game_properties[0].key #=> String
5727
5765
  # resp.game_session.game_properties[0].value #=> String
@@ -6154,7 +6192,7 @@ module Aws::GameLift
6154
6192
  params: params,
6155
6193
  config: config)
6156
6194
  context[:gem_name] = 'aws-sdk-gamelift'
6157
- context[:gem_version] = '1.2.0'
6195
+ context[:gem_version] = '1.3.0'
6158
6196
  Seahorse::Client::Request.new(handlers, context)
6159
6197
  end
6160
6198
 
@@ -123,6 +123,7 @@ module Aws::GameLift
123
123
  FleetId = Shapes::StringShape.new(name: 'FleetId')
124
124
  FleetIdList = Shapes::ListShape.new(name: 'FleetIdList')
125
125
  FleetStatus = Shapes::StringShape.new(name: 'FleetStatus')
126
+ FleetType = Shapes::StringShape.new(name: 'FleetType')
126
127
  FleetUtilization = Shapes::StructureShape.new(name: 'FleetUtilization')
127
128
  FleetUtilizationList = Shapes::ListShape.new(name: 'FleetUtilizationList')
128
129
  Float = Shapes::FloatShape.new(name: 'Float')
@@ -148,6 +149,7 @@ module Aws::GameLift
148
149
  GameSessionQueueName = Shapes::StringShape.new(name: 'GameSessionQueueName')
149
150
  GameSessionQueueNameList = Shapes::ListShape.new(name: 'GameSessionQueueNameList')
150
151
  GameSessionStatus = Shapes::StringShape.new(name: 'GameSessionStatus')
152
+ GameSessionStatusReason = Shapes::StringShape.new(name: 'GameSessionStatusReason')
151
153
  GetGameSessionLogUrlInput = Shapes::StructureShape.new(name: 'GetGameSessionLogUrlInput')
152
154
  GetGameSessionLogUrlOutput = Shapes::StructureShape.new(name: 'GetGameSessionLogUrlOutput')
153
155
  GetInstanceAccessInput = Shapes::StructureShape.new(name: 'GetInstanceAccessInput')
@@ -363,6 +365,7 @@ module Aws::GameLift
363
365
  CreateFleetInput.add_member(:metric_groups, Shapes::ShapeRef.new(shape: MetricGroupList, location_name: "MetricGroups"))
364
366
  CreateFleetInput.add_member(:peer_vpc_aws_account_id, Shapes::ShapeRef.new(shape: NonZeroAndMaxString, location_name: "PeerVpcAwsAccountId"))
365
367
  CreateFleetInput.add_member(:peer_vpc_id, Shapes::ShapeRef.new(shape: NonZeroAndMaxString, location_name: "PeerVpcId"))
368
+ CreateFleetInput.add_member(:fleet_type, Shapes::ShapeRef.new(shape: FleetType, location_name: "FleetType"))
366
369
  CreateFleetInput.struct_class = Types::CreateFleetInput
367
370
 
368
371
  CreateFleetOutput.add_member(:fleet_attributes, Shapes::ShapeRef.new(shape: FleetAttributes, location_name: "FleetAttributes"))
@@ -689,6 +692,8 @@ module Aws::GameLift
689
692
 
690
693
  FleetAttributes.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetId, location_name: "FleetId"))
691
694
  FleetAttributes.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: ArnStringModel, location_name: "FleetArn"))
695
+ FleetAttributes.add_member(:fleet_type, Shapes::ShapeRef.new(shape: FleetType, location_name: "FleetType"))
696
+ FleetAttributes.add_member(:instance_type, Shapes::ShapeRef.new(shape: EC2InstanceType, location_name: "InstanceType"))
692
697
  FleetAttributes.add_member(:description, Shapes::ShapeRef.new(shape: NonZeroAndMaxString, location_name: "Description"))
693
698
  FleetAttributes.add_member(:name, Shapes::ShapeRef.new(shape: NonZeroAndMaxString, location_name: "Name"))
694
699
  FleetAttributes.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
@@ -738,6 +743,7 @@ module Aws::GameLift
738
743
  GameSession.add_member(:current_player_session_count, Shapes::ShapeRef.new(shape: WholeNumber, location_name: "CurrentPlayerSessionCount"))
739
744
  GameSession.add_member(:maximum_player_session_count, Shapes::ShapeRef.new(shape: WholeNumber, location_name: "MaximumPlayerSessionCount"))
740
745
  GameSession.add_member(:status, Shapes::ShapeRef.new(shape: GameSessionStatus, location_name: "Status"))
746
+ GameSession.add_member(:status_reason, Shapes::ShapeRef.new(shape: GameSessionStatusReason, location_name: "StatusReason"))
741
747
  GameSession.add_member(:game_properties, Shapes::ShapeRef.new(shape: GamePropertyList, location_name: "GameProperties"))
742
748
  GameSession.add_member(:ip_address, Shapes::ShapeRef.new(shape: IpAddress, location_name: "IpAddress"))
743
749
  GameSession.add_member(:port, Shapes::ShapeRef.new(shape: PortNumber, location_name: "Port"))
@@ -441,6 +441,7 @@ module Aws::GameLift
441
441
  # metric_groups: ["MetricGroup"],
442
442
  # peer_vpc_aws_account_id: "NonZeroAndMaxString",
443
443
  # peer_vpc_id: "NonZeroAndMaxString",
444
+ # fleet_type: "ON_DEMAND", # accepts ON_DEMAND, SPOT
444
445
  # }
445
446
  #
446
447
  # @!attribute [rw] name
@@ -564,6 +565,22 @@ module Aws::GameLift
564
565
  # the AWS Management Console.
565
566
  # @return [String]
566
567
  #
568
+ # @!attribute [rw] fleet_type
569
+ # Indicates whether to use on-demand instances or spot instances for
570
+ # this fleet. If empty, the default is ON\_DEMAND. Both categories of
571
+ # instances use identical hardware and configurations, based on the
572
+ # instance type selected for this fleet. You can acquire on-demand
573
+ # instances at any time for a fixed price and keep them as long as you
574
+ # need them. Spot instances have lower prices, but spot pricing is
575
+ # variable, and while in use they can be interrupted (with a
576
+ # two-minute notification). Learn more about Amazon GameLift spot
577
+ # instances with at [ Choose Computing Resources][1].
578
+ #
579
+ #
580
+ #
581
+ # [1]: http://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-ec2-instances.html
582
+ # @return [String]
583
+ #
567
584
  # @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateFleetInput AWS API Documentation
568
585
  #
569
586
  class CreateFleetInput < Struct.new(
@@ -580,7 +597,8 @@ module Aws::GameLift
580
597
  :resource_creation_limit_policy,
581
598
  :metric_groups,
582
599
  :peer_vpc_aws_account_id,
583
- :peer_vpc_id)
600
+ :peer_vpc_id,
601
+ :fleet_type)
584
602
  include Aws::Structure
585
603
  end
586
604
 
@@ -2683,12 +2701,6 @@ module Aws::GameLift
2683
2701
  # Type of event being logged. The following events are currently in
2684
2702
  # use:
2685
2703
  #
2686
- # **General events:**
2687
- #
2688
- # * GENERIC\_EVENT -- An unspecified event has occurred.
2689
- #
2690
- # ^
2691
- #
2692
2704
  # **Fleet creation events:**
2693
2705
  #
2694
2706
  # * FLEET\_CREATED -- A fleet record was successfully created with a
@@ -2775,6 +2787,13 @@ module Aws::GameLift
2775
2787
  # * FLEET\_VPC\_PEERING\_DELETED -- A VPC peering connection has been
2776
2788
  # successfully deleted.
2777
2789
  #
2790
+ # **Spot instance events:**
2791
+ #
2792
+ # * INSTANCE\_INTERRUPTED -- A spot instance was interrupted by EC2
2793
+ # with a two-minute notification.
2794
+ #
2795
+ # ^
2796
+ #
2778
2797
  # **Other fleet events:**
2779
2798
  #
2780
2799
  # * FLEET\_SCALING\_EVENT -- A change was made to the fleet's
@@ -2787,6 +2806,8 @@ module Aws::GameLift
2787
2806
  #
2788
2807
  # * FLEET\_DELETED -- A request to delete a fleet was initiated.
2789
2808
  #
2809
+ # * GENERIC\_EVENT -- An unspecified event has occurred.
2810
+ #
2790
2811
  #
2791
2812
  #
2792
2813
  # [1]: http://docs.aws.amazon.com/AmazonVPC/latest/PeeringGuide/invalid-peering-configurations.html
@@ -2875,6 +2896,22 @@ module Aws::GameLift
2875
2896
  # Identifier for a fleet that is unique across all regions.
2876
2897
  # @return [String]
2877
2898
  #
2899
+ # @!attribute [rw] fleet_type
2900
+ # Indicates whether the fleet uses on-demand or spot instances. A spot
2901
+ # instance in use may be interrupted with a two-minute notification.
2902
+ # @return [String]
2903
+ #
2904
+ # @!attribute [rw] instance_type
2905
+ # EC2 instance type indicating the computing resources of each
2906
+ # instance in the fleet, including CPU, memory, storage, and
2907
+ # networking capacity. See [Amazon EC2 Instance Types][1] for detailed
2908
+ # descriptions.
2909
+ #
2910
+ #
2911
+ #
2912
+ # [1]: http://aws.amazon.com/ec2/instance-types/
2913
+ # @return [String]
2914
+ #
2878
2915
  # @!attribute [rw] description
2879
2916
  # Human-readable description of the fleet.
2880
2917
  # @return [String]
@@ -2985,6 +3022,8 @@ module Aws::GameLift
2985
3022
  class FleetAttributes < Struct.new(
2986
3023
  :fleet_id,
2987
3024
  :fleet_arn,
3025
+ :fleet_type,
3026
+ :instance_type,
2988
3027
  :description,
2989
3028
  :name,
2990
3029
  :creation_time,
@@ -3270,6 +3309,13 @@ module Aws::GameLift
3270
3309
  # `ACTIVE` status to have player sessions.
3271
3310
  # @return [String]
3272
3311
  #
3312
+ # @!attribute [rw] status_reason
3313
+ # Provides additional information about game session status.
3314
+ # `INTERRUPTED` indicates that the game session was hosted on a spot
3315
+ # instance that was reclaimed, causing the active game session to be
3316
+ # terminated.
3317
+ # @return [String]
3318
+ #
3273
3319
  # @!attribute [rw] game_properties
3274
3320
  # Set of custom properties for a game session, formatted as key:value
3275
3321
  # pairs. These properties are passed to a game server process in the
@@ -3339,6 +3385,7 @@ module Aws::GameLift
3339
3385
  :current_player_session_count,
3340
3386
  :maximum_player_session_count,
3341
3387
  :status,
3388
+ :status_reason,
3342
3389
  :game_properties,
3343
3390
  :ip_address,
3344
3391
  :port,
@@ -3551,8 +3598,8 @@ module Aws::GameLift
3551
3598
  # JSON syntax, formated as a string. It identifies the matchmaking
3552
3599
  # configuration used to create the match, and contains data on all
3553
3600
  # players assigned to the match, including player attributes and team
3554
- # assignments. For more details on matchmaker data, see
3555
- # [http://docs.aws.amazon.com/gamelift/latest/developerguide/match-server.html#match-server-data][1].
3601
+ # assignments. For more details on matchmaker data, see [Match
3602
+ # Data][1].
3556
3603
  #
3557
3604
  #
3558
3605
  #
@@ -4420,10 +4467,10 @@ module Aws::GameLift
4420
4467
  # @return [Time]
4421
4468
  #
4422
4469
  # @!attribute [rw] end_time
4423
- # Time stamp indicating when the matchmaking request stopped being
4424
- # processed due to successful completion, timeout, or cancellation.
4425
- # Format is a number expressed in Unix time as milliseconds (for
4426
- # example "1469498468.057").
4470
+ # Time stamp indicating when this matchmaking request stopped being
4471
+ # processed due to success, failure, or cancellation. Format is a
4472
+ # number expressed in Unix time as milliseconds (for example
4473
+ # "1469498468.057").
4427
4474
  # @return [Time]
4428
4475
  #
4429
4476
  # @!attribute [rw] players
@@ -5729,14 +5776,14 @@ module Aws::GameLift
5729
5776
  # game session. This information is used by the matchmaker to find new
5730
5777
  # players and add them to the existing game.
5731
5778
  #
5732
- # * PlayerID, PlayerAttributes, Team -- This information is maintained
5733
- # in the GameSession object, `MatchmakerData` property, for all
5734
- # players who are currently assigned to the game session. The
5735
- # matchmaker data is in JSON syntax, formatted as a string. For more
5736
- # details, see [ Match Data][1].
5779
+ # * PlayerID, PlayerAttributes, Team -\\\\- This information is
5780
+ # maintained in the GameSession object, `MatchmakerData` property,
5781
+ # for all players who are currently assigned to the game session.
5782
+ # The matchmaker data is in JSON syntax, formatted as a string. For
5783
+ # more details, see [ Match Data][1].
5737
5784
  #
5738
- # * LatencyInMs -- If the matchmaker uses player latency, include a
5739
- # latency value, in milliseconds, for the region that the game
5785
+ # * LatencyInMs -\\\\- If the matchmaker uses player latency, include
5786
+ # a latency value, in milliseconds, for the region that the game
5740
5787
  # session is currently in. Do not include latency values for any
5741
5788
  # other region.
5742
5789
  #
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.2.0
4
+ version: 1.3.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: 2018-02-08 00:00:00.000000000 Z
11
+ date: 2018-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core