aws-sdk-gamelift 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-gamelift.rb +1 -1
- data/lib/aws-sdk-gamelift/client.rb +412 -331
- data/lib/aws-sdk-gamelift/client_api.rb +59 -5
- data/lib/aws-sdk-gamelift/types.rb +310 -161
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3490f8a8fd11ed72635b8ece5844cdd514d6036b
|
4
|
+
data.tar.gz: a24efd9e21c4b309ee40ca9af1eb859c525aed45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2922540a388f5882dc784804abf2cbad181b866d44a8e80969c571bf245e197aecb9e2e80ea1241a1426c6660fe9241cc033af7004094f8200150ac96da876bf
|
7
|
+
data.tar.gz: 6ac70ace856ff03d12e46c8d96f8d7d2b0af0f85fccf8b869571bdb1155b20264cbdb0e3a10b929e56195c200bb3973dc8e5a6275a2ae01099cab64470544346
|
data/lib/aws-sdk-gamelift.rb
CHANGED
@@ -496,16 +496,22 @@ module Aws::GameLift
|
|
496
496
|
#
|
497
497
|
# * ListFleets
|
498
498
|
#
|
499
|
+
# * DeleteFleet
|
500
|
+
#
|
499
501
|
# * Describe fleets:
|
500
502
|
#
|
501
503
|
# * DescribeFleetAttributes
|
502
504
|
#
|
505
|
+
# * DescribeFleetCapacity
|
506
|
+
#
|
503
507
|
# * DescribeFleetPortSettings
|
504
508
|
#
|
505
509
|
# * DescribeFleetUtilization
|
506
510
|
#
|
507
511
|
# * DescribeRuntimeConfiguration
|
508
512
|
#
|
513
|
+
# * DescribeEC2InstanceLimits
|
514
|
+
#
|
509
515
|
# * DescribeFleetEvents
|
510
516
|
#
|
511
517
|
# * Update fleets:
|
@@ -518,21 +524,11 @@ module Aws::GameLift
|
|
518
524
|
#
|
519
525
|
# * UpdateRuntimeConfiguration
|
520
526
|
#
|
521
|
-
# * Manage fleet
|
522
|
-
#
|
523
|
-
# * DescribeFleetCapacity
|
524
|
-
#
|
525
|
-
# * UpdateFleetCapacity
|
526
|
-
#
|
527
|
-
# * PutScalingPolicy (automatic scaling)
|
527
|
+
# * Manage fleet actions:
|
528
528
|
#
|
529
|
-
# *
|
529
|
+
# * StartFleetActions
|
530
530
|
#
|
531
|
-
# *
|
532
|
-
#
|
533
|
-
# * DescribeEC2InstanceLimits
|
534
|
-
#
|
535
|
-
# * DeleteFleet
|
531
|
+
# * StopFleetActions
|
536
532
|
#
|
537
533
|
#
|
538
534
|
#
|
@@ -725,6 +721,8 @@ module Aws::GameLift
|
|
725
721
|
# resp.fleet_attributes.resource_creation_limit_policy.policy_period_in_minutes #=> Integer
|
726
722
|
# resp.fleet_attributes.metric_groups #=> Array
|
727
723
|
# resp.fleet_attributes.metric_groups[0] #=> String
|
724
|
+
# resp.fleet_attributes.stopped_actions #=> Array
|
725
|
+
# resp.fleet_attributes.stopped_actions[0] #=> String, one of "AUTO_SCALING"
|
728
726
|
#
|
729
727
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateFleet AWS API Documentation
|
730
728
|
#
|
@@ -1695,16 +1693,22 @@ module Aws::GameLift
|
|
1695
1693
|
#
|
1696
1694
|
# * ListFleets
|
1697
1695
|
#
|
1696
|
+
# * DeleteFleet
|
1697
|
+
#
|
1698
1698
|
# * Describe fleets:
|
1699
1699
|
#
|
1700
1700
|
# * DescribeFleetAttributes
|
1701
1701
|
#
|
1702
|
+
# * DescribeFleetCapacity
|
1703
|
+
#
|
1702
1704
|
# * DescribeFleetPortSettings
|
1703
1705
|
#
|
1704
1706
|
# * DescribeFleetUtilization
|
1705
1707
|
#
|
1706
1708
|
# * DescribeRuntimeConfiguration
|
1707
1709
|
#
|
1710
|
+
# * DescribeEC2InstanceLimits
|
1711
|
+
#
|
1708
1712
|
# * DescribeFleetEvents
|
1709
1713
|
#
|
1710
1714
|
# * Update fleets:
|
@@ -1717,21 +1721,11 @@ module Aws::GameLift
|
|
1717
1721
|
#
|
1718
1722
|
# * UpdateRuntimeConfiguration
|
1719
1723
|
#
|
1720
|
-
# * Manage fleet
|
1721
|
-
#
|
1722
|
-
# * DescribeFleetCapacity
|
1723
|
-
#
|
1724
|
-
# * UpdateFleetCapacity
|
1724
|
+
# * Manage fleet actions:
|
1725
1725
|
#
|
1726
|
-
# *
|
1726
|
+
# * StartFleetActions
|
1727
1727
|
#
|
1728
|
-
# *
|
1729
|
-
#
|
1730
|
-
# * DeleteScalingPolicy (automatic scaling)
|
1731
|
-
#
|
1732
|
-
# * DescribeEC2InstanceLimits
|
1733
|
-
#
|
1734
|
-
# * DeleteFleet
|
1728
|
+
# * StopFleetActions
|
1735
1729
|
#
|
1736
1730
|
# @option params [required, String] :fleet_id
|
1737
1731
|
# Unique identifier for a fleet to be deleted.
|
@@ -1833,49 +1827,30 @@ module Aws::GameLift
|
|
1833
1827
|
# policy, specify both the scaling policy name and the fleet ID it is
|
1834
1828
|
# associated with.
|
1835
1829
|
#
|
1836
|
-
#
|
1837
|
-
#
|
1838
|
-
# * CreateFleet
|
1839
|
-
#
|
1840
|
-
# * ListFleets
|
1841
|
-
#
|
1842
|
-
# * Describe fleets:
|
1843
|
-
#
|
1844
|
-
# * DescribeFleetAttributes
|
1845
|
-
#
|
1846
|
-
# * DescribeFleetPortSettings
|
1847
|
-
#
|
1848
|
-
# * DescribeFleetUtilization
|
1849
|
-
#
|
1850
|
-
# * DescribeRuntimeConfiguration
|
1830
|
+
# To temporarily suspend scaling policies, call StopFleetActions. This
|
1831
|
+
# operation suspends all policies for the fleet.
|
1851
1832
|
#
|
1852
|
-
#
|
1833
|
+
# Operations related to fleet capacity scaling include:
|
1853
1834
|
#
|
1854
|
-
# *
|
1835
|
+
# * DescribeFleetCapacity
|
1855
1836
|
#
|
1856
|
-
#
|
1837
|
+
# * UpdateFleetCapacity
|
1857
1838
|
#
|
1858
|
-
#
|
1839
|
+
# * DescribeEC2InstanceLimits
|
1859
1840
|
#
|
1860
|
-
#
|
1861
|
-
#
|
1862
|
-
# * UpdateRuntimeConfiguration
|
1863
|
-
#
|
1864
|
-
# * Manage fleet capacity:
|
1865
|
-
#
|
1866
|
-
# * DescribeFleetCapacity
|
1841
|
+
# * Manage scaling policies:
|
1867
1842
|
#
|
1868
|
-
# *
|
1843
|
+
# * PutScalingPolicy (auto-scaling)
|
1869
1844
|
#
|
1870
|
-
# *
|
1845
|
+
# * DescribeScalingPolicies (auto-scaling)
|
1871
1846
|
#
|
1872
|
-
# *
|
1847
|
+
# * DeleteScalingPolicy (auto-scaling)
|
1873
1848
|
#
|
1874
|
-
#
|
1849
|
+
# * Manage fleet actions:
|
1875
1850
|
#
|
1876
|
-
# *
|
1851
|
+
# * StartFleetActions
|
1877
1852
|
#
|
1878
|
-
#
|
1853
|
+
# * StopFleetActions
|
1879
1854
|
#
|
1880
1855
|
# @option params [required, String] :name
|
1881
1856
|
# Descriptive label that is associated with a scaling policy. Policy
|
@@ -2123,16 +2098,22 @@ module Aws::GameLift
|
|
2123
2098
|
#
|
2124
2099
|
# * ListFleets
|
2125
2100
|
#
|
2101
|
+
# * DeleteFleet
|
2102
|
+
#
|
2126
2103
|
# * Describe fleets:
|
2127
2104
|
#
|
2128
2105
|
# * DescribeFleetAttributes
|
2129
2106
|
#
|
2107
|
+
# * DescribeFleetCapacity
|
2108
|
+
#
|
2130
2109
|
# * DescribeFleetPortSettings
|
2131
2110
|
#
|
2132
2111
|
# * DescribeFleetUtilization
|
2133
2112
|
#
|
2134
2113
|
# * DescribeRuntimeConfiguration
|
2135
2114
|
#
|
2115
|
+
# * DescribeEC2InstanceLimits
|
2116
|
+
#
|
2136
2117
|
# * DescribeFleetEvents
|
2137
2118
|
#
|
2138
2119
|
# * Update fleets:
|
@@ -2145,21 +2126,11 @@ module Aws::GameLift
|
|
2145
2126
|
#
|
2146
2127
|
# * UpdateRuntimeConfiguration
|
2147
2128
|
#
|
2148
|
-
# * Manage fleet
|
2149
|
-
#
|
2150
|
-
# * DescribeFleetCapacity
|
2151
|
-
#
|
2152
|
-
# * UpdateFleetCapacity
|
2153
|
-
#
|
2154
|
-
# * PutScalingPolicy (automatic scaling)
|
2129
|
+
# * Manage fleet actions:
|
2155
2130
|
#
|
2156
|
-
# *
|
2131
|
+
# * StartFleetActions
|
2157
2132
|
#
|
2158
|
-
# *
|
2159
|
-
#
|
2160
|
-
# * DescribeEC2InstanceLimits
|
2161
|
-
#
|
2162
|
-
# * DeleteFleet
|
2133
|
+
# * StopFleetActions
|
2163
2134
|
#
|
2164
2135
|
# @option params [String] :ec2_instance_type
|
2165
2136
|
# Name of an EC2 instance type that is supported in Amazon GameLift. A
|
@@ -2220,16 +2191,22 @@ module Aws::GameLift
|
|
2220
2191
|
#
|
2221
2192
|
# * ListFleets
|
2222
2193
|
#
|
2194
|
+
# * DeleteFleet
|
2195
|
+
#
|
2223
2196
|
# * Describe fleets:
|
2224
2197
|
#
|
2225
2198
|
# * DescribeFleetAttributes
|
2226
2199
|
#
|
2200
|
+
# * DescribeFleetCapacity
|
2201
|
+
#
|
2227
2202
|
# * DescribeFleetPortSettings
|
2228
2203
|
#
|
2229
2204
|
# * DescribeFleetUtilization
|
2230
2205
|
#
|
2231
2206
|
# * DescribeRuntimeConfiguration
|
2232
2207
|
#
|
2208
|
+
# * DescribeEC2InstanceLimits
|
2209
|
+
#
|
2233
2210
|
# * DescribeFleetEvents
|
2234
2211
|
#
|
2235
2212
|
# * Update fleets:
|
@@ -2242,21 +2219,11 @@ module Aws::GameLift
|
|
2242
2219
|
#
|
2243
2220
|
# * UpdateRuntimeConfiguration
|
2244
2221
|
#
|
2245
|
-
# * Manage fleet
|
2246
|
-
#
|
2247
|
-
# * DescribeFleetCapacity
|
2248
|
-
#
|
2249
|
-
# * UpdateFleetCapacity
|
2222
|
+
# * Manage fleet actions:
|
2250
2223
|
#
|
2251
|
-
# *
|
2224
|
+
# * StartFleetActions
|
2252
2225
|
#
|
2253
|
-
# *
|
2254
|
-
#
|
2255
|
-
# * DeleteScalingPolicy (automatic scaling)
|
2256
|
-
#
|
2257
|
-
# * DescribeEC2InstanceLimits
|
2258
|
-
#
|
2259
|
-
# * DeleteFleet
|
2226
|
+
# * StopFleetActions
|
2260
2227
|
#
|
2261
2228
|
# @option params [Array<String>] :fleet_ids
|
2262
2229
|
# Unique identifier for a fleet(s) to retrieve attributes for. To
|
@@ -2311,6 +2278,8 @@ module Aws::GameLift
|
|
2311
2278
|
# resp.fleet_attributes[0].resource_creation_limit_policy.policy_period_in_minutes #=> Integer
|
2312
2279
|
# resp.fleet_attributes[0].metric_groups #=> Array
|
2313
2280
|
# resp.fleet_attributes[0].metric_groups[0] #=> String
|
2281
|
+
# resp.fleet_attributes[0].stopped_actions #=> Array
|
2282
|
+
# resp.fleet_attributes[0].stopped_actions[0] #=> String, one of "AUTO_SCALING"
|
2314
2283
|
# resp.next_token #=> String
|
2315
2284
|
#
|
2316
2285
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeFleetAttributes AWS API Documentation
|
@@ -2344,16 +2313,22 @@ module Aws::GameLift
|
|
2344
2313
|
#
|
2345
2314
|
# * ListFleets
|
2346
2315
|
#
|
2316
|
+
# * DeleteFleet
|
2317
|
+
#
|
2347
2318
|
# * Describe fleets:
|
2348
2319
|
#
|
2349
2320
|
# * DescribeFleetAttributes
|
2350
2321
|
#
|
2322
|
+
# * DescribeFleetCapacity
|
2323
|
+
#
|
2351
2324
|
# * DescribeFleetPortSettings
|
2352
2325
|
#
|
2353
2326
|
# * DescribeFleetUtilization
|
2354
2327
|
#
|
2355
2328
|
# * DescribeRuntimeConfiguration
|
2356
2329
|
#
|
2330
|
+
# * DescribeEC2InstanceLimits
|
2331
|
+
#
|
2357
2332
|
# * DescribeFleetEvents
|
2358
2333
|
#
|
2359
2334
|
# * Update fleets:
|
@@ -2366,21 +2341,11 @@ module Aws::GameLift
|
|
2366
2341
|
#
|
2367
2342
|
# * UpdateRuntimeConfiguration
|
2368
2343
|
#
|
2369
|
-
# * Manage fleet
|
2370
|
-
#
|
2371
|
-
# * DescribeFleetCapacity
|
2372
|
-
#
|
2373
|
-
# * UpdateFleetCapacity
|
2374
|
-
#
|
2375
|
-
# * PutScalingPolicy (automatic scaling)
|
2344
|
+
# * Manage fleet actions:
|
2376
2345
|
#
|
2377
|
-
# *
|
2346
|
+
# * StartFleetActions
|
2378
2347
|
#
|
2379
|
-
# *
|
2380
|
-
#
|
2381
|
-
# * DescribeEC2InstanceLimits
|
2382
|
-
#
|
2383
|
-
# * DeleteFleet
|
2348
|
+
# * StopFleetActions
|
2384
2349
|
#
|
2385
2350
|
# @option params [Array<String>] :fleet_ids
|
2386
2351
|
# Unique identifier for a fleet(s) to retrieve capacity information for.
|
@@ -2448,16 +2413,22 @@ module Aws::GameLift
|
|
2448
2413
|
#
|
2449
2414
|
# * ListFleets
|
2450
2415
|
#
|
2416
|
+
# * DeleteFleet
|
2417
|
+
#
|
2451
2418
|
# * Describe fleets:
|
2452
2419
|
#
|
2453
2420
|
# * DescribeFleetAttributes
|
2454
2421
|
#
|
2422
|
+
# * DescribeFleetCapacity
|
2423
|
+
#
|
2455
2424
|
# * DescribeFleetPortSettings
|
2456
2425
|
#
|
2457
2426
|
# * DescribeFleetUtilization
|
2458
2427
|
#
|
2459
2428
|
# * DescribeRuntimeConfiguration
|
2460
2429
|
#
|
2430
|
+
# * DescribeEC2InstanceLimits
|
2431
|
+
#
|
2461
2432
|
# * DescribeFleetEvents
|
2462
2433
|
#
|
2463
2434
|
# * Update fleets:
|
@@ -2470,21 +2441,11 @@ module Aws::GameLift
|
|
2470
2441
|
#
|
2471
2442
|
# * UpdateRuntimeConfiguration
|
2472
2443
|
#
|
2473
|
-
# * Manage fleet
|
2474
|
-
#
|
2475
|
-
# * DescribeFleetCapacity
|
2476
|
-
#
|
2477
|
-
# * UpdateFleetCapacity
|
2444
|
+
# * Manage fleet actions:
|
2478
2445
|
#
|
2479
|
-
# *
|
2446
|
+
# * StartFleetActions
|
2480
2447
|
#
|
2481
|
-
# *
|
2482
|
-
#
|
2483
|
-
# * DeleteScalingPolicy (automatic scaling)
|
2484
|
-
#
|
2485
|
-
# * DescribeEC2InstanceLimits
|
2486
|
-
#
|
2487
|
-
# * DeleteFleet
|
2448
|
+
# * StopFleetActions
|
2488
2449
|
#
|
2489
2450
|
# @option params [required, String] :fleet_id
|
2490
2451
|
# Unique identifier for a fleet to get event logs for.
|
@@ -2559,16 +2520,22 @@ module Aws::GameLift
|
|
2559
2520
|
#
|
2560
2521
|
# * ListFleets
|
2561
2522
|
#
|
2523
|
+
# * DeleteFleet
|
2524
|
+
#
|
2562
2525
|
# * Describe fleets:
|
2563
2526
|
#
|
2564
2527
|
# * DescribeFleetAttributes
|
2565
2528
|
#
|
2529
|
+
# * DescribeFleetCapacity
|
2530
|
+
#
|
2566
2531
|
# * DescribeFleetPortSettings
|
2567
2532
|
#
|
2568
2533
|
# * DescribeFleetUtilization
|
2569
2534
|
#
|
2570
2535
|
# * DescribeRuntimeConfiguration
|
2571
2536
|
#
|
2537
|
+
# * DescribeEC2InstanceLimits
|
2538
|
+
#
|
2572
2539
|
# * DescribeFleetEvents
|
2573
2540
|
#
|
2574
2541
|
# * Update fleets:
|
@@ -2581,21 +2548,11 @@ module Aws::GameLift
|
|
2581
2548
|
#
|
2582
2549
|
# * UpdateRuntimeConfiguration
|
2583
2550
|
#
|
2584
|
-
# * Manage fleet
|
2551
|
+
# * Manage fleet actions:
|
2585
2552
|
#
|
2586
|
-
# *
|
2587
|
-
#
|
2588
|
-
# * UpdateFleetCapacity
|
2589
|
-
#
|
2590
|
-
# * PutScalingPolicy (automatic scaling)
|
2591
|
-
#
|
2592
|
-
# * DescribeScalingPolicies (automatic scaling)
|
2593
|
-
#
|
2594
|
-
# * DeleteScalingPolicy (automatic scaling)
|
2595
|
-
#
|
2596
|
-
# * DescribeEC2InstanceLimits
|
2553
|
+
# * StartFleetActions
|
2597
2554
|
#
|
2598
|
-
#
|
2555
|
+
# * StopFleetActions
|
2599
2556
|
#
|
2600
2557
|
# @option params [required, String] :fleet_id
|
2601
2558
|
# Unique identifier for a fleet to retrieve port settings for.
|
@@ -2647,16 +2604,22 @@ module Aws::GameLift
|
|
2647
2604
|
#
|
2648
2605
|
# * ListFleets
|
2649
2606
|
#
|
2607
|
+
# * DeleteFleet
|
2608
|
+
#
|
2650
2609
|
# * Describe fleets:
|
2651
2610
|
#
|
2652
2611
|
# * DescribeFleetAttributes
|
2653
2612
|
#
|
2613
|
+
# * DescribeFleetCapacity
|
2614
|
+
#
|
2654
2615
|
# * DescribeFleetPortSettings
|
2655
2616
|
#
|
2656
2617
|
# * DescribeFleetUtilization
|
2657
2618
|
#
|
2658
2619
|
# * DescribeRuntimeConfiguration
|
2659
2620
|
#
|
2621
|
+
# * DescribeEC2InstanceLimits
|
2622
|
+
#
|
2660
2623
|
# * DescribeFleetEvents
|
2661
2624
|
#
|
2662
2625
|
# * Update fleets:
|
@@ -2669,21 +2632,11 @@ module Aws::GameLift
|
|
2669
2632
|
#
|
2670
2633
|
# * UpdateRuntimeConfiguration
|
2671
2634
|
#
|
2672
|
-
# * Manage fleet
|
2673
|
-
#
|
2674
|
-
# * DescribeFleetCapacity
|
2675
|
-
#
|
2676
|
-
# * UpdateFleetCapacity
|
2677
|
-
#
|
2678
|
-
# * PutScalingPolicy (automatic scaling)
|
2679
|
-
#
|
2680
|
-
# * DescribeScalingPolicies (automatic scaling)
|
2681
|
-
#
|
2682
|
-
# * DeleteScalingPolicy (automatic scaling)
|
2635
|
+
# * Manage fleet actions:
|
2683
2636
|
#
|
2684
|
-
# *
|
2637
|
+
# * StartFleetActions
|
2685
2638
|
#
|
2686
|
-
#
|
2639
|
+
# * StopFleetActions
|
2687
2640
|
#
|
2688
2641
|
# @option params [Array<String>] :fleet_ids
|
2689
2642
|
# Unique identifier for a fleet(s) to retrieve utilization data for. To
|
@@ -3500,16 +3453,22 @@ module Aws::GameLift
|
|
3500
3453
|
#
|
3501
3454
|
# * ListFleets
|
3502
3455
|
#
|
3456
|
+
# * DeleteFleet
|
3457
|
+
#
|
3503
3458
|
# * Describe fleets:
|
3504
3459
|
#
|
3505
3460
|
# * DescribeFleetAttributes
|
3506
3461
|
#
|
3462
|
+
# * DescribeFleetCapacity
|
3463
|
+
#
|
3507
3464
|
# * DescribeFleetPortSettings
|
3508
3465
|
#
|
3509
3466
|
# * DescribeFleetUtilization
|
3510
3467
|
#
|
3511
3468
|
# * DescribeRuntimeConfiguration
|
3512
3469
|
#
|
3470
|
+
# * DescribeEC2InstanceLimits
|
3471
|
+
#
|
3513
3472
|
# * DescribeFleetEvents
|
3514
3473
|
#
|
3515
3474
|
# * Update fleets:
|
@@ -3522,21 +3481,11 @@ module Aws::GameLift
|
|
3522
3481
|
#
|
3523
3482
|
# * UpdateRuntimeConfiguration
|
3524
3483
|
#
|
3525
|
-
# * Manage fleet
|
3484
|
+
# * Manage fleet actions:
|
3526
3485
|
#
|
3527
|
-
# *
|
3528
|
-
#
|
3529
|
-
# * UpdateFleetCapacity
|
3486
|
+
# * StartFleetActions
|
3530
3487
|
#
|
3531
|
-
# *
|
3532
|
-
#
|
3533
|
-
# * DescribeScalingPolicies (automatic scaling)
|
3534
|
-
#
|
3535
|
-
# * DeleteScalingPolicy (automatic scaling)
|
3536
|
-
#
|
3537
|
-
# * DescribeEC2InstanceLimits
|
3538
|
-
#
|
3539
|
-
# * DeleteFleet
|
3488
|
+
# * StopFleetActions
|
3540
3489
|
#
|
3541
3490
|
# @option params [required, String] :fleet_id
|
3542
3491
|
# Unique identifier for a fleet to get the run-time configuration for.
|
@@ -3577,49 +3526,33 @@ module Aws::GameLift
|
|
3577
3526
|
# a set of sequential pages. If successful, set of ScalingPolicy objects
|
3578
3527
|
# is returned for the fleet.
|
3579
3528
|
#
|
3580
|
-
#
|
3581
|
-
#
|
3582
|
-
#
|
3583
|
-
#
|
3584
|
-
#
|
3585
|
-
#
|
3586
|
-
# * Describe fleets:
|
3587
|
-
#
|
3588
|
-
# * DescribeFleetAttributes
|
3589
|
-
#
|
3590
|
-
# * DescribeFleetPortSettings
|
3591
|
-
#
|
3592
|
-
# * DescribeFleetUtilization
|
3593
|
-
#
|
3594
|
-
# * DescribeRuntimeConfiguration
|
3595
|
-
#
|
3596
|
-
# * DescribeFleetEvents
|
3529
|
+
# A fleet may have all of its scaling policies suspended
|
3530
|
+
# (StopFleetActions). This action does not affect the status of the
|
3531
|
+
# scaling policies, which remains ACTIVE. To see whether a fleet's
|
3532
|
+
# scaling policies are in force or suspended, call
|
3533
|
+
# DescribeFleetAttributes and check the stopped actions.
|
3597
3534
|
#
|
3598
|
-
#
|
3535
|
+
# Operations related to fleet capacity scaling include:
|
3599
3536
|
#
|
3600
|
-
#
|
3537
|
+
# * DescribeFleetCapacity
|
3601
3538
|
#
|
3602
|
-
#
|
3603
|
-
#
|
3604
|
-
# * UpdateFleetPortSettings
|
3605
|
-
#
|
3606
|
-
# * UpdateRuntimeConfiguration
|
3539
|
+
# * UpdateFleetCapacity
|
3607
3540
|
#
|
3608
|
-
# *
|
3541
|
+
# * DescribeEC2InstanceLimits
|
3609
3542
|
#
|
3610
|
-
#
|
3543
|
+
# * Manage scaling policies:
|
3611
3544
|
#
|
3612
|
-
# *
|
3545
|
+
# * PutScalingPolicy (auto-scaling)
|
3613
3546
|
#
|
3614
|
-
# *
|
3547
|
+
# * DescribeScalingPolicies (auto-scaling)
|
3615
3548
|
#
|
3616
|
-
# *
|
3549
|
+
# * DeleteScalingPolicy (auto-scaling)
|
3617
3550
|
#
|
3618
|
-
#
|
3551
|
+
# * Manage fleet actions:
|
3619
3552
|
#
|
3620
|
-
# *
|
3553
|
+
# * StartFleetActions
|
3621
3554
|
#
|
3622
|
-
#
|
3555
|
+
# * StopFleetActions
|
3623
3556
|
#
|
3624
3557
|
# @option params [required, String] :fleet_id
|
3625
3558
|
# Unique identifier for a fleet to retrieve scaling policies for.
|
@@ -3680,6 +3613,8 @@ module Aws::GameLift
|
|
3680
3613
|
# resp.scaling_policies[0].threshold #=> Float
|
3681
3614
|
# resp.scaling_policies[0].evaluation_periods #=> Integer
|
3682
3615
|
# resp.scaling_policies[0].metric_name #=> String, one of "ActivatingGameSessions", "ActiveGameSessions", "ActiveInstances", "AvailableGameSessions", "AvailablePlayerSessions", "CurrentPlayerSessions", "IdleInstances", "PercentAvailableGameSessions", "PercentIdleInstances", "QueueDepth", "WaitTime"
|
3616
|
+
# resp.scaling_policies[0].policy_type #=> String, one of "RuleBased", "TargetBased"
|
3617
|
+
# resp.scaling_policies[0].target_configuration.target_value #=> Float
|
3683
3618
|
# resp.next_token #=> String
|
3684
3619
|
#
|
3685
3620
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeScalingPolicies AWS API Documentation
|
@@ -4097,16 +4032,22 @@ module Aws::GameLift
|
|
4097
4032
|
#
|
4098
4033
|
# * ListFleets
|
4099
4034
|
#
|
4035
|
+
# * DeleteFleet
|
4036
|
+
#
|
4100
4037
|
# * Describe fleets:
|
4101
4038
|
#
|
4102
4039
|
# * DescribeFleetAttributes
|
4103
4040
|
#
|
4041
|
+
# * DescribeFleetCapacity
|
4042
|
+
#
|
4104
4043
|
# * DescribeFleetPortSettings
|
4105
4044
|
#
|
4106
4045
|
# * DescribeFleetUtilization
|
4107
4046
|
#
|
4108
4047
|
# * DescribeRuntimeConfiguration
|
4109
4048
|
#
|
4049
|
+
# * DescribeEC2InstanceLimits
|
4050
|
+
#
|
4110
4051
|
# * DescribeFleetEvents
|
4111
4052
|
#
|
4112
4053
|
# * Update fleets:
|
@@ -4119,21 +4060,11 @@ module Aws::GameLift
|
|
4119
4060
|
#
|
4120
4061
|
# * UpdateRuntimeConfiguration
|
4121
4062
|
#
|
4122
|
-
# * Manage fleet
|
4123
|
-
#
|
4124
|
-
# * DescribeFleetCapacity
|
4125
|
-
#
|
4126
|
-
# * UpdateFleetCapacity
|
4063
|
+
# * Manage fleet actions:
|
4127
4064
|
#
|
4128
|
-
# *
|
4065
|
+
# * StartFleetActions
|
4129
4066
|
#
|
4130
|
-
# *
|
4131
|
-
#
|
4132
|
-
# * DeleteScalingPolicy (automatic scaling)
|
4133
|
-
#
|
4134
|
-
# * DescribeEC2InstanceLimits
|
4135
|
-
#
|
4136
|
-
# * DeleteFleet
|
4067
|
+
# * StopFleetActions
|
4137
4068
|
#
|
4138
4069
|
# @option params [String] :build_id
|
4139
4070
|
# Unique identifier for a build to return fleets for. Use this parameter
|
@@ -4177,74 +4108,115 @@ module Aws::GameLift
|
|
4177
4108
|
req.send_request(options)
|
4178
4109
|
end
|
4179
4110
|
|
4180
|
-
# Creates or updates a scaling policy for a fleet.
|
4181
|
-
#
|
4182
|
-
#
|
4183
|
-
#
|
4184
|
-
#
|
4185
|
-
#
|
4186
|
-
#
|
4111
|
+
# Creates or updates a scaling policy for a fleet. Scaling policies are
|
4112
|
+
# used to automatically scale a fleet's hosting capacity to meet player
|
4113
|
+
# demand. An active scaling policy instructs Amazon GameLift to track a
|
4114
|
+
# fleet metric and automatically change the fleet's capacity when a
|
4115
|
+
# certain threshold is reached. There are two types of scaling policies:
|
4116
|
+
# target-based and rule-based. Use a target-based policy to quickly and
|
4117
|
+
# efficiently manage fleet scaling; this option is the most commonly
|
4118
|
+
# used. Use rule-based policies when you need to exert fine-grained
|
4119
|
+
# control over auto-scaling.
|
4120
|
+
#
|
4121
|
+
# Fleets can have multiple scaling policies of each type in force at the
|
4122
|
+
# same time; you can have one target-based policy, one or multiple
|
4123
|
+
# rule-based scaling policies, or both. We recommend caution, however,
|
4124
|
+
# because multiple auto-scaling policies can have unintended
|
4125
|
+
# consequences.
|
4126
|
+
#
|
4127
|
+
# You can temporarily suspend all scaling policies for a fleet by
|
4128
|
+
# calling StopFleetActions with the fleet action AUTO\_SCALING. To
|
4129
|
+
# resume scaling policies, call StartFleetActions with the same fleet
|
4130
|
+
# action. To stop just one scaling policy--or to permanently remove it,
|
4131
|
+
# you must delete the policy with DeleteScalingPolicy.
|
4132
|
+
#
|
4133
|
+
# Learn more about how to work with auto-scaling in [Set Up Fleet
|
4134
|
+
# Automatic Scaling][1].
|
4135
|
+
#
|
4136
|
+
# **Target-based policy**
|
4137
|
+
#
|
4138
|
+
# A target-based policy tracks a single metric:
|
4139
|
+
# PercentAvailableGameSessions. This metric tells us how much of a
|
4140
|
+
# fleet's hosting capacity is ready to host game sessions but is not
|
4141
|
+
# currently in use. This is the fleet's buffer; it measures the
|
4142
|
+
# additional player demand that the fleet could handle at current
|
4143
|
+
# capacity. With a target-based policy, you set your ideal buffer size
|
4144
|
+
# and leave it to Amazon GameLift to take whatever action is needed to
|
4145
|
+
# maintain that target.
|
4146
|
+
#
|
4147
|
+
# For example, you might choose to maintain a 10% buffer for a fleet
|
4148
|
+
# that has the capacity to host 100 simultaneous game sessions. This
|
4149
|
+
# policy tells Amazon GameLift to take action whenever the fleet's
|
4150
|
+
# available capacity falls below or rises above 10 game sessions. Amazon
|
4151
|
+
# GameLift will start new instances or stop unused instances in order to
|
4152
|
+
# return to the 10% buffer.
|
4153
|
+
#
|
4154
|
+
# To create or update a target-based policy, specify a fleet ID and
|
4155
|
+
# name, and set the policy type to "TargetBased". Specify the metric
|
4156
|
+
# to track (PercentAvailableGameSessions) and reference a
|
4157
|
+
# TargetConfiguration object with your desired buffer value. Exclude all
|
4158
|
+
# other parameters. On a successful request, the policy name is
|
4159
|
+
# returned. The scaling policy is automatically in force as soon as
|
4160
|
+
# it's successfully created. If the fleet's auto-scaling actions are
|
4161
|
+
# temporarily suspended, the new policy will be in force once the fleet
|
4162
|
+
# actions are restarted.
|
4163
|
+
#
|
4164
|
+
# **Rule-based policy**
|
4165
|
+
#
|
4166
|
+
# A rule-based policy tracks specified fleet metric, sets a threshold
|
4167
|
+
# value, and specifies the type of action to initiate when triggered.
|
4168
|
+
# With a rule-based policy, you can select from several available fleet
|
4169
|
+
# metrics. Each policy specifies whether to scale up or scale down (and
|
4170
|
+
# by how much), so you need one policy for each type of action.
|
4171
|
+
#
|
4172
|
+
# For example, a policy may make the following statement: "If the
|
4173
|
+
# percentage of idle instances is greater than 20% for more than 15
|
4174
|
+
# minutes, then reduce the fleet capacity by 10%."
|
4175
|
+
#
|
4176
|
+
# A policy's rule statement has the following structure:
|
4187
4177
|
#
|
4188
4178
|
# If `[MetricName]` is `[ComparisonOperator]` `[Threshold]` for
|
4189
4179
|
# `[EvaluationPeriods]` minutes, then `[ScalingAdjustmentType]` to/by
|
4190
4180
|
# `[ScalingAdjustment]`.
|
4191
4181
|
#
|
4192
|
-
#
|
4193
|
-
# for more than 15 minutes, then reduce the fleet capacity by 10
|
4194
|
-
# instances" could be implemented as the following rule statement:
|
4182
|
+
# To implement the example, the rule statement would look like this:
|
4195
4183
|
#
|
4196
|
-
# If
|
4197
|
-
#
|
4184
|
+
# If `[PercentIdleInstances]` is `[GreaterThanThreshold]` `[20]` for
|
4185
|
+
# `[15]` minutes, then `[PercentChangeInCapacity]` to/by `[10]`.
|
4198
4186
|
#
|
4199
4187
|
# To create or update a scaling policy, specify a unique combination of
|
4200
|
-
# name and fleet ID, and set the
|
4201
|
-
#
|
4202
|
-
#
|
4203
|
-
#
|
4204
|
-
#
|
4205
|
-
#
|
4206
|
-
#
|
4207
|
-
# * CreateFleet
|
4208
|
-
#
|
4209
|
-
# * ListFleets
|
4210
|
-
#
|
4211
|
-
# * Describe fleets:
|
4212
|
-
#
|
4213
|
-
# * DescribeFleetAttributes
|
4214
|
-
#
|
4215
|
-
# * DescribeFleetPortSettings
|
4216
|
-
#
|
4217
|
-
# * DescribeFleetUtilization
|
4188
|
+
# name and fleet ID, and set the policy type to "RuleBased". Specify
|
4189
|
+
# the parameter values for a policy rule statement. On a successful
|
4190
|
+
# request, the policy name is returned. Scaling policies are
|
4191
|
+
# automatically in force as soon as they're successfully created. If
|
4192
|
+
# the fleet's auto-scaling actions are temporarily suspended, the new
|
4193
|
+
# policy will be in force once the fleet actions are restarted.
|
4218
4194
|
#
|
4219
|
-
#
|
4195
|
+
# Operations related to fleet capacity scaling include:
|
4220
4196
|
#
|
4221
|
-
#
|
4197
|
+
# * DescribeFleetCapacity
|
4222
4198
|
#
|
4223
|
-
# *
|
4199
|
+
# * UpdateFleetCapacity
|
4224
4200
|
#
|
4225
|
-
#
|
4201
|
+
# * DescribeEC2InstanceLimits
|
4226
4202
|
#
|
4227
|
-
#
|
4203
|
+
# * Manage scaling policies:
|
4228
4204
|
#
|
4229
|
-
# *
|
4205
|
+
# * PutScalingPolicy (auto-scaling)
|
4230
4206
|
#
|
4231
|
-
# *
|
4207
|
+
# * DescribeScalingPolicies (auto-scaling)
|
4232
4208
|
#
|
4233
|
-
#
|
4209
|
+
# * DeleteScalingPolicy (auto-scaling)
|
4234
4210
|
#
|
4235
|
-
#
|
4236
|
-
#
|
4237
|
-
# * UpdateFleetCapacity
|
4211
|
+
# * Manage fleet actions:
|
4238
4212
|
#
|
4239
|
-
# *
|
4213
|
+
# * StartFleetActions
|
4240
4214
|
#
|
4241
|
-
# *
|
4215
|
+
# * StopFleetActions
|
4242
4216
|
#
|
4243
|
-
# * DeleteScalingPolicy (automatic scaling)
|
4244
4217
|
#
|
4245
|
-
# * DescribeEC2InstanceLimits
|
4246
4218
|
#
|
4247
|
-
#
|
4219
|
+
# [1]: http://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-autoscaling.html
|
4248
4220
|
#
|
4249
4221
|
# @option params [required, String] :name
|
4250
4222
|
# Descriptive label that is associated with a scaling policy. Policy
|
@@ -4252,12 +4224,13 @@ module Aws::GameLift
|
|
4252
4224
|
# policy with the same name.
|
4253
4225
|
#
|
4254
4226
|
# @option params [required, String] :fleet_id
|
4255
|
-
# Unique identifier for a fleet to apply this policy to.
|
4227
|
+
# Unique identifier for a fleet to apply this policy to. The fleet
|
4228
|
+
# cannot be in any of the following statuses: ERROR or DELETING.
|
4256
4229
|
#
|
4257
|
-
# @option params [
|
4230
|
+
# @option params [Integer] :scaling_adjustment
|
4258
4231
|
# Amount of adjustment to make, based on the scaling adjustment type.
|
4259
4232
|
#
|
4260
|
-
# @option params [
|
4233
|
+
# @option params [String] :scaling_adjustment_type
|
4261
4234
|
# Type of adjustment to make to a fleet's instance count (see
|
4262
4235
|
# FleetCapacity):
|
4263
4236
|
#
|
@@ -4273,42 +4246,71 @@ module Aws::GameLift
|
|
4273
4246
|
# Positive values scale up while negative values scale down; for
|
4274
4247
|
# example, a value of "-10" scales the fleet down by 10%.
|
4275
4248
|
#
|
4276
|
-
# @option params [
|
4249
|
+
# @option params [Float] :threshold
|
4277
4250
|
# Metric value used to trigger a scaling event.
|
4278
4251
|
#
|
4279
|
-
# @option params [
|
4252
|
+
# @option params [String] :comparison_operator
|
4280
4253
|
# Comparison operator to use when measuring the metric against the
|
4281
4254
|
# threshold value.
|
4282
4255
|
#
|
4283
|
-
# @option params [
|
4256
|
+
# @option params [Integer] :evaluation_periods
|
4284
4257
|
# Length of time (in minutes) the metric must be at or beyond the
|
4285
4258
|
# threshold before a scaling event is triggered.
|
4286
4259
|
#
|
4287
4260
|
# @option params [required, String] :metric_name
|
4288
|
-
# Name of the Amazon GameLift-defined metric that is used to trigger
|
4289
|
-
# adjustment.
|
4261
|
+
# Name of the Amazon GameLift-defined metric that is used to trigger a
|
4262
|
+
# scaling adjustment. For detailed descriptions of fleet metrics, see
|
4263
|
+
# [Monitor Amazon GameLift with Amazon CloudWatch][1].
|
4264
|
+
#
|
4265
|
+
# * **ActivatingGameSessions** -- Game sessions in the process of being
|
4266
|
+
# created.
|
4267
|
+
#
|
4268
|
+
# * **ActiveGameSessions** -- Game sessions that are currently running.
|
4269
|
+
#
|
4270
|
+
# * **ActiveInstances** -- Fleet instances that are currently running at
|
4271
|
+
# least one game session.
|
4272
|
+
#
|
4273
|
+
# * **AvailableGameSessions** -- Additional game sessions that fleet
|
4274
|
+
# could host simultaneously, given current capacity.
|
4275
|
+
#
|
4276
|
+
# * **AvailablePlayerSessions** -- Empty player slots in currently
|
4277
|
+
# active game sessions. This includes game sessions that are not
|
4278
|
+
# currently accepting players. Reserved player slots are not included.
|
4279
|
+
#
|
4280
|
+
# * **CurrentPlayerSessions** -- Player slots in active game sessions
|
4281
|
+
# that are being used by a player or are reserved for a player.
|
4282
|
+
#
|
4283
|
+
# * **IdleInstances** -- Active instances that are currently hosting
|
4284
|
+
# zero game sessions.
|
4285
|
+
#
|
4286
|
+
# * **PercentAvailableGameSessions** -- Unused percentage of the total
|
4287
|
+
# number of game sessions that a fleet could host simultaneously,
|
4288
|
+
# given current capacity. Use this metric for a target-based scaling
|
4289
|
+
# policy.
|
4290
|
+
#
|
4291
|
+
# * **PercentIdleInstances** -- Percentage of the total number of active
|
4292
|
+
# instances that are hosting zero game sessions.
|
4290
4293
|
#
|
4291
|
-
# * **
|
4292
|
-
#
|
4294
|
+
# * **QueueDepth** -- Pending game session placement requests, in any
|
4295
|
+
# queue, where the current fleet is the top-priority destination.
|
4293
4296
|
#
|
4294
|
-
# * **
|
4295
|
-
#
|
4297
|
+
# * **WaitTime** -- Current wait time for pending game session placement
|
4298
|
+
# requests, in any queue, where the current fleet is the top-priority
|
4299
|
+
# destination.
|
4296
4300
|
#
|
4297
|
-
# * **CurrentPlayerSessions** -- number of active or reserved player
|
4298
|
-
# sessions (player session status = `ACTIVE` or `RESERVED`).
|
4299
4301
|
#
|
4300
|
-
# * **AvailablePlayerSessions** -- number of player session slots
|
4301
|
-
# currently available in active game sessions across the fleet,
|
4302
|
-
# calculated by subtracting a game session's current player session
|
4303
|
-
# count from its maximum player session count. This number includes
|
4304
|
-
# game sessions that are not currently accepting players (game session
|
4305
|
-
# `PlayerSessionCreationPolicy` = `DENY_ALL`).
|
4306
4302
|
#
|
4307
|
-
#
|
4308
|
-
# session.
|
4303
|
+
# [1]: http://docs.aws.amazon.com/gamelift/latest/developerguide/monitoring-cloudwatch.html
|
4309
4304
|
#
|
4310
|
-
#
|
4311
|
-
#
|
4305
|
+
# @option params [String] :policy_type
|
4306
|
+
# Type of scaling policy to create. For a target-based policy, set the
|
4307
|
+
# parameter *MetricName* to 'PercentAvailableGameSessions' and specify
|
4308
|
+
# a *TargetConfiguration*. For a rule-based policy set the following
|
4309
|
+
# parameters: *MetricName*, *ComparisonOperator*, *Threshold*,
|
4310
|
+
# *EvaluationPeriods*, *ScalingAdjustmentType*, and *ScalingAdjustment*.
|
4311
|
+
#
|
4312
|
+
# @option params [Types::TargetConfiguration] :target_configuration
|
4313
|
+
# Object that contains settings for a target-based scaling policy.
|
4312
4314
|
#
|
4313
4315
|
# @return [Types::PutScalingPolicyOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4314
4316
|
#
|
@@ -4319,12 +4321,16 @@ module Aws::GameLift
|
|
4319
4321
|
# resp = client.put_scaling_policy({
|
4320
4322
|
# name: "NonZeroAndMaxString", # required
|
4321
4323
|
# fleet_id: "FleetId", # required
|
4322
|
-
# scaling_adjustment: 1,
|
4323
|
-
# scaling_adjustment_type: "ChangeInCapacity", #
|
4324
|
-
# threshold: 1.0,
|
4325
|
-
# comparison_operator: "GreaterThanOrEqualToThreshold", #
|
4326
|
-
# evaluation_periods: 1,
|
4324
|
+
# scaling_adjustment: 1,
|
4325
|
+
# scaling_adjustment_type: "ChangeInCapacity", # accepts ChangeInCapacity, ExactCapacity, PercentChangeInCapacity
|
4326
|
+
# threshold: 1.0,
|
4327
|
+
# comparison_operator: "GreaterThanOrEqualToThreshold", # accepts GreaterThanOrEqualToThreshold, GreaterThanThreshold, LessThanThreshold, LessThanOrEqualToThreshold
|
4328
|
+
# evaluation_periods: 1,
|
4327
4329
|
# metric_name: "ActivatingGameSessions", # required, accepts ActivatingGameSessions, ActiveGameSessions, ActiveInstances, AvailableGameSessions, AvailablePlayerSessions, CurrentPlayerSessions, IdleInstances, PercentAvailableGameSessions, PercentIdleInstances, QueueDepth, WaitTime
|
4330
|
+
# policy_type: "RuleBased", # accepts RuleBased, TargetBased
|
4331
|
+
# target_configuration: {
|
4332
|
+
# target_value: 1.0, # required
|
4333
|
+
# },
|
4328
4334
|
# })
|
4329
4335
|
#
|
4330
4336
|
# @example Response structure
|
@@ -4442,7 +4448,7 @@ module Aws::GameLift
|
|
4442
4448
|
# key and a string to search the data values for. For example, to
|
4443
4449
|
# search for game sessions with custom data containing the key:value
|
4444
4450
|
# pair "gameMode:brawl", specify the following:
|
4445
|
-
# gameSessionProperties.gameMode = "brawl"
|
4451
|
+
# `gameSessionProperties.gameMode = "brawl"`. All custom data values
|
4446
4452
|
# are searched as strings.
|
4447
4453
|
#
|
4448
4454
|
# * **maximumSessions** -- Maximum number of player sessions allowed for
|
@@ -4635,6 +4641,63 @@ module Aws::GameLift
|
|
4635
4641
|
req.send_request(options)
|
4636
4642
|
end
|
4637
4643
|
|
4644
|
+
# Resumes activity on a fleet that was suspended with StopFleetActions.
|
4645
|
+
# Currently, this operation is used to restart a fleet's auto-scaling
|
4646
|
+
# activity.
|
4647
|
+
#
|
4648
|
+
# To start fleet actions, specify the fleet ID and the type of actions
|
4649
|
+
# to restart. When auto-scaling fleet actions are restarted, Amazon
|
4650
|
+
# GameLift once again initiates scaling events as triggered by the
|
4651
|
+
# fleet's scaling policies. If actions on the fleet were never stopped,
|
4652
|
+
# this operation will have no effect. You can view a fleet's stopped
|
4653
|
+
# actions using DescribeFleetAttributes.
|
4654
|
+
#
|
4655
|
+
# Operations related to fleet capacity scaling include:
|
4656
|
+
#
|
4657
|
+
# * DescribeFleetCapacity
|
4658
|
+
#
|
4659
|
+
# * UpdateFleetCapacity
|
4660
|
+
#
|
4661
|
+
# * DescribeEC2InstanceLimits
|
4662
|
+
#
|
4663
|
+
# * Manage scaling policies:
|
4664
|
+
#
|
4665
|
+
# * PutScalingPolicy (auto-scaling)
|
4666
|
+
#
|
4667
|
+
# * DescribeScalingPolicies (auto-scaling)
|
4668
|
+
#
|
4669
|
+
# * DeleteScalingPolicy (auto-scaling)
|
4670
|
+
#
|
4671
|
+
# * Manage fleet actions:
|
4672
|
+
#
|
4673
|
+
# * StartFleetActions
|
4674
|
+
#
|
4675
|
+
# * StopFleetActions
|
4676
|
+
#
|
4677
|
+
# @option params [required, String] :fleet_id
|
4678
|
+
# Unique identifier for a fleet
|
4679
|
+
#
|
4680
|
+
# @option params [required, Array<String>] :actions
|
4681
|
+
# List of actions to restart on the fleet.
|
4682
|
+
#
|
4683
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4684
|
+
#
|
4685
|
+
# @example Request syntax with placeholder values
|
4686
|
+
#
|
4687
|
+
# resp = client.start_fleet_actions({
|
4688
|
+
# fleet_id: "FleetId", # required
|
4689
|
+
# actions: ["AUTO_SCALING"], # required, accepts AUTO_SCALING
|
4690
|
+
# })
|
4691
|
+
#
|
4692
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/StartFleetActions AWS API Documentation
|
4693
|
+
#
|
4694
|
+
# @overload start_fleet_actions(params = {})
|
4695
|
+
# @param [Hash] params ({})
|
4696
|
+
def start_fleet_actions(params = {}, options = {})
|
4697
|
+
req = build_request(:start_fleet_actions, params)
|
4698
|
+
req.send_request(options)
|
4699
|
+
end
|
4700
|
+
|
4638
4701
|
# Places a request for a new game session in a queue (see
|
4639
4702
|
# CreateGameSessionQueue). When processing a placement request, Amazon
|
4640
4703
|
# GameLift searches for available resources on the queue's
|
@@ -5120,6 +5183,43 @@ module Aws::GameLift
|
|
5120
5183
|
req.send_request(options)
|
5121
5184
|
end
|
5122
5185
|
|
5186
|
+
# Suspends activity on a fleet. Currently, this operation is used to
|
5187
|
+
# stop a fleet's auto-scaling activity. It is used to temporarily stop
|
5188
|
+
# scaling events triggered by the fleet's scaling policies. The
|
5189
|
+
# policies can be retained and auto-scaling activity can be restarted
|
5190
|
+
# using StartFleetActions. You can view a fleet's stopped actions using
|
5191
|
+
# DescribeFleetAttributes.
|
5192
|
+
#
|
5193
|
+
# To stop fleet actions, specify the fleet ID and the type of actions to
|
5194
|
+
# suspend. When auto-scaling fleet actions are stopped, Amazon GameLift
|
5195
|
+
# no longer initiates scaling events except to maintain the fleet's
|
5196
|
+
# desired instances setting (FleetCapacity. Changes to the fleet's
|
5197
|
+
# capacity must be done manually using UpdateFleetCapacity.
|
5198
|
+
#
|
5199
|
+
# @option params [required, String] :fleet_id
|
5200
|
+
# Unique identifier for a fleet
|
5201
|
+
#
|
5202
|
+
# @option params [required, Array<String>] :actions
|
5203
|
+
# List of actions to suspend on the fleet.
|
5204
|
+
#
|
5205
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
5206
|
+
#
|
5207
|
+
# @example Request syntax with placeholder values
|
5208
|
+
#
|
5209
|
+
# resp = client.stop_fleet_actions({
|
5210
|
+
# fleet_id: "FleetId", # required
|
5211
|
+
# actions: ["AUTO_SCALING"], # required, accepts AUTO_SCALING
|
5212
|
+
# })
|
5213
|
+
#
|
5214
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/StopFleetActions AWS API Documentation
|
5215
|
+
#
|
5216
|
+
# @overload stop_fleet_actions(params = {})
|
5217
|
+
# @param [Hash] params ({})
|
5218
|
+
def stop_fleet_actions(params = {}, options = {})
|
5219
|
+
req = build_request(:stop_fleet_actions, params)
|
5220
|
+
req.send_request(options)
|
5221
|
+
end
|
5222
|
+
|
5123
5223
|
# Cancels a game session placement that is in `PENDING` status. To stop
|
5124
5224
|
# a placement, provide the placement ID values. If successful, the
|
5125
5225
|
# placement is moved to `CANCELLED` status.
|
@@ -5373,16 +5473,22 @@ module Aws::GameLift
|
|
5373
5473
|
#
|
5374
5474
|
# * ListFleets
|
5375
5475
|
#
|
5476
|
+
# * DeleteFleet
|
5477
|
+
#
|
5376
5478
|
# * Describe fleets:
|
5377
5479
|
#
|
5378
5480
|
# * DescribeFleetAttributes
|
5379
5481
|
#
|
5482
|
+
# * DescribeFleetCapacity
|
5483
|
+
#
|
5380
5484
|
# * DescribeFleetPortSettings
|
5381
5485
|
#
|
5382
5486
|
# * DescribeFleetUtilization
|
5383
5487
|
#
|
5384
5488
|
# * DescribeRuntimeConfiguration
|
5385
5489
|
#
|
5490
|
+
# * DescribeEC2InstanceLimits
|
5491
|
+
#
|
5386
5492
|
# * DescribeFleetEvents
|
5387
5493
|
#
|
5388
5494
|
# * Update fleets:
|
@@ -5395,21 +5501,11 @@ module Aws::GameLift
|
|
5395
5501
|
#
|
5396
5502
|
# * UpdateRuntimeConfiguration
|
5397
5503
|
#
|
5398
|
-
# * Manage fleet
|
5399
|
-
#
|
5400
|
-
# * DescribeFleetCapacity
|
5401
|
-
#
|
5402
|
-
# * UpdateFleetCapacity
|
5403
|
-
#
|
5404
|
-
# * PutScalingPolicy (automatic scaling)
|
5405
|
-
#
|
5406
|
-
# * DescribeScalingPolicies (automatic scaling)
|
5504
|
+
# * Manage fleet actions:
|
5407
5505
|
#
|
5408
|
-
# *
|
5506
|
+
# * StartFleetActions
|
5409
5507
|
#
|
5410
|
-
# *
|
5411
|
-
#
|
5412
|
-
# * DeleteFleet
|
5508
|
+
# * StopFleetActions
|
5413
5509
|
#
|
5414
5510
|
# @option params [required, String] :fleet_id
|
5415
5511
|
# Unique identifier for a fleet to update attribute metadata for.
|
@@ -5480,10 +5576,11 @@ module Aws::GameLift
|
|
5480
5576
|
# DescribeEC2InstanceLimits to get the maximum capacity based on the
|
5481
5577
|
# fleet's EC2 instance type.
|
5482
5578
|
#
|
5483
|
-
#
|
5484
|
-
#
|
5485
|
-
#
|
5486
|
-
#
|
5579
|
+
# Specify minimum and maximum number of instances. Amazon GameLift will
|
5580
|
+
# not change fleet capacity to values fall outside of this range. This
|
5581
|
+
# is particularly important when using auto-scaling (see
|
5582
|
+
# PutScalingPolicy) to allow capacity to adjust based on player demand
|
5583
|
+
# while imposing limits on automatic adjustments.
|
5487
5584
|
#
|
5488
5585
|
# To update fleet capacity, specify the fleet ID and the number of
|
5489
5586
|
# instances you want the fleet to host. If successful, Amazon GameLift
|
@@ -5499,16 +5596,22 @@ module Aws::GameLift
|
|
5499
5596
|
#
|
5500
5597
|
# * ListFleets
|
5501
5598
|
#
|
5599
|
+
# * DeleteFleet
|
5600
|
+
#
|
5502
5601
|
# * Describe fleets:
|
5503
5602
|
#
|
5504
5603
|
# * DescribeFleetAttributes
|
5505
5604
|
#
|
5605
|
+
# * DescribeFleetCapacity
|
5606
|
+
#
|
5506
5607
|
# * DescribeFleetPortSettings
|
5507
5608
|
#
|
5508
5609
|
# * DescribeFleetUtilization
|
5509
5610
|
#
|
5510
5611
|
# * DescribeRuntimeConfiguration
|
5511
5612
|
#
|
5613
|
+
# * DescribeEC2InstanceLimits
|
5614
|
+
#
|
5512
5615
|
# * DescribeFleetEvents
|
5513
5616
|
#
|
5514
5617
|
# * Update fleets:
|
@@ -5521,25 +5624,11 @@ module Aws::GameLift
|
|
5521
5624
|
#
|
5522
5625
|
# * UpdateRuntimeConfiguration
|
5523
5626
|
#
|
5524
|
-
# * Manage fleet
|
5525
|
-
#
|
5526
|
-
# * DescribeFleetCapacity
|
5527
|
-
#
|
5528
|
-
# * UpdateFleetCapacity
|
5529
|
-
#
|
5530
|
-
# * PutScalingPolicy (automatic scaling)
|
5531
|
-
#
|
5532
|
-
# * DescribeScalingPolicies (automatic scaling)
|
5533
|
-
#
|
5534
|
-
# * DeleteScalingPolicy (automatic scaling)
|
5535
|
-
#
|
5536
|
-
# * DescribeEC2InstanceLimits
|
5537
|
-
#
|
5538
|
-
# * DeleteFleet
|
5539
|
-
#
|
5627
|
+
# * Manage fleet actions:
|
5540
5628
|
#
|
5629
|
+
# * StartFleetActions
|
5541
5630
|
#
|
5542
|
-
#
|
5631
|
+
# * StopFleetActions
|
5543
5632
|
#
|
5544
5633
|
# @option params [required, String] :fleet_id
|
5545
5634
|
# Unique identifier for a fleet to update capacity for.
|
@@ -5595,16 +5684,22 @@ module Aws::GameLift
|
|
5595
5684
|
#
|
5596
5685
|
# * ListFleets
|
5597
5686
|
#
|
5687
|
+
# * DeleteFleet
|
5688
|
+
#
|
5598
5689
|
# * Describe fleets:
|
5599
5690
|
#
|
5600
5691
|
# * DescribeFleetAttributes
|
5601
5692
|
#
|
5693
|
+
# * DescribeFleetCapacity
|
5694
|
+
#
|
5602
5695
|
# * DescribeFleetPortSettings
|
5603
5696
|
#
|
5604
5697
|
# * DescribeFleetUtilization
|
5605
5698
|
#
|
5606
5699
|
# * DescribeRuntimeConfiguration
|
5607
5700
|
#
|
5701
|
+
# * DescribeEC2InstanceLimits
|
5702
|
+
#
|
5608
5703
|
# * DescribeFleetEvents
|
5609
5704
|
#
|
5610
5705
|
# * Update fleets:
|
@@ -5617,21 +5712,11 @@ module Aws::GameLift
|
|
5617
5712
|
#
|
5618
5713
|
# * UpdateRuntimeConfiguration
|
5619
5714
|
#
|
5620
|
-
# * Manage fleet
|
5621
|
-
#
|
5622
|
-
# * DescribeFleetCapacity
|
5623
|
-
#
|
5624
|
-
# * UpdateFleetCapacity
|
5625
|
-
#
|
5626
|
-
# * PutScalingPolicy (automatic scaling)
|
5715
|
+
# * Manage fleet actions:
|
5627
5716
|
#
|
5628
|
-
# *
|
5717
|
+
# * StartFleetActions
|
5629
5718
|
#
|
5630
|
-
# *
|
5631
|
-
#
|
5632
|
-
# * DescribeEC2InstanceLimits
|
5633
|
-
#
|
5634
|
-
# * DeleteFleet
|
5719
|
+
# * StopFleetActions
|
5635
5720
|
#
|
5636
5721
|
# @option params [required, String] :fleet_id
|
5637
5722
|
# Unique identifier for a fleet to update port settings for.
|
@@ -6042,16 +6127,22 @@ module Aws::GameLift
|
|
6042
6127
|
#
|
6043
6128
|
# * ListFleets
|
6044
6129
|
#
|
6130
|
+
# * DeleteFleet
|
6131
|
+
#
|
6045
6132
|
# * Describe fleets:
|
6046
6133
|
#
|
6047
6134
|
# * DescribeFleetAttributes
|
6048
6135
|
#
|
6136
|
+
# * DescribeFleetCapacity
|
6137
|
+
#
|
6049
6138
|
# * DescribeFleetPortSettings
|
6050
6139
|
#
|
6051
6140
|
# * DescribeFleetUtilization
|
6052
6141
|
#
|
6053
6142
|
# * DescribeRuntimeConfiguration
|
6054
6143
|
#
|
6144
|
+
# * DescribeEC2InstanceLimits
|
6145
|
+
#
|
6055
6146
|
# * DescribeFleetEvents
|
6056
6147
|
#
|
6057
6148
|
# * Update fleets:
|
@@ -6064,21 +6155,11 @@ module Aws::GameLift
|
|
6064
6155
|
#
|
6065
6156
|
# * UpdateRuntimeConfiguration
|
6066
6157
|
#
|
6067
|
-
# * Manage fleet
|
6068
|
-
#
|
6069
|
-
# * DescribeFleetCapacity
|
6070
|
-
#
|
6071
|
-
# * UpdateFleetCapacity
|
6158
|
+
# * Manage fleet actions:
|
6072
6159
|
#
|
6073
|
-
# *
|
6160
|
+
# * StartFleetActions
|
6074
6161
|
#
|
6075
|
-
# *
|
6076
|
-
#
|
6077
|
-
# * DeleteScalingPolicy (automatic scaling)
|
6078
|
-
#
|
6079
|
-
# * DescribeEC2InstanceLimits
|
6080
|
-
#
|
6081
|
-
# * DeleteFleet
|
6162
|
+
# * StopFleetActions
|
6082
6163
|
#
|
6083
6164
|
# @option params [required, String] :fleet_id
|
6084
6165
|
# Unique identifier for a fleet to update run-time configuration for.
|
@@ -6192,7 +6273,7 @@ module Aws::GameLift
|
|
6192
6273
|
params: params,
|
6193
6274
|
config: config)
|
6194
6275
|
context[:gem_name] = 'aws-sdk-gamelift'
|
6195
|
-
context[:gem_version] = '1.
|
6276
|
+
context[:gem_version] = '1.4.0'
|
6196
6277
|
Seahorse::Client::Request.new(handlers, context)
|
6197
6278
|
end
|
6198
6279
|
|