@aws-sdk/client-gamelift 3.428.0 → 3.430.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -32,7 +32,7 @@ export interface AcceptMatchInput {
32
32
  * @public
33
33
  * <p>Player response to the proposed match.</p>
34
34
  */
35
- AcceptanceType: AcceptanceType | string | undefined;
35
+ AcceptanceType: AcceptanceType | undefined;
36
36
  }
37
37
  /**
38
38
  * @public
@@ -134,7 +134,7 @@ export interface RoutingStrategy {
134
134
  * </li>
135
135
  * </ul>
136
136
  */
137
- Type?: RoutingStrategyType | string;
137
+ Type?: RoutingStrategyType;
138
138
  /**
139
139
  * @public
140
140
  * <p>A unique identifier for the fleet that the alias points to. This value is the fleet ID, not the fleet ARN.</p>
@@ -383,7 +383,7 @@ export interface Build {
383
383
  * </li>
384
384
  * </ul>
385
385
  */
386
- Status?: BuildStatus | string;
386
+ Status?: BuildStatus;
387
387
  /**
388
388
  * @public
389
389
  * <p>File size of the uploaded game build, expressed in bytes. When the build status is
@@ -396,7 +396,7 @@ export interface Build {
396
396
  * <p>Operating system that the game server binaries are built to run on. This value
397
397
  * determines the type of fleet resources that you can use for this build.</p>
398
398
  */
399
- OperatingSystem?: OperatingSystem | string;
399
+ OperatingSystem?: OperatingSystem;
400
400
  /**
401
401
  * @public
402
402
  * <p>A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example <code>"1469498468.057"</code>).</p>
@@ -445,7 +445,7 @@ export interface CertificateConfiguration {
445
445
  * </li>
446
446
  * </ul>
447
447
  */
448
- CertificateType: CertificateType | string | undefined;
448
+ CertificateType: CertificateType | undefined;
449
449
  }
450
450
  /**
451
451
  * @public
@@ -474,7 +474,7 @@ export interface ClaimFilterOption {
474
474
  * <p>List of instance statuses that game servers may be claimed on. If provided, the list must contain the
475
475
  * <code>ACTIVE</code> status.</p>
476
476
  */
477
- InstanceStatuses?: (FilterInstanceStatus | string)[];
477
+ InstanceStatuses?: FilterInstanceStatus[];
478
478
  }
479
479
  /**
480
480
  * @public
@@ -583,7 +583,7 @@ export interface GameServer {
583
583
  * update its utilization status. After one minute, the game server claim status reverts to
584
584
  * null.</p>
585
585
  */
586
- ClaimStatus?: GameServerClaimStatus | string;
586
+ ClaimStatus?: GameServerClaimStatus;
587
587
  /**
588
588
  * @public
589
589
  * <p>Indicates whether the game server is currently available for new games or is busy.
@@ -602,7 +602,7 @@ export interface GameServer {
602
602
  * </li>
603
603
  * </ul>
604
604
  */
605
- UtilizationStatus?: GameServerUtilizationStatus | string;
605
+ UtilizationStatus?: GameServerUtilizationStatus;
606
606
  /**
607
607
  * @public
608
608
  * <p>Timestamp that indicates when the game server registered. The format is a number expressed in Unix
@@ -938,7 +938,7 @@ export interface Compute {
938
938
  * <p>Current status of the compute. A compute must have an <code>ACTIVE</code> status to
939
939
  * host game sessions.</p>
940
940
  */
941
- ComputeStatus?: ComputeStatus | string;
941
+ ComputeStatus?: ComputeStatus;
942
942
  /**
943
943
  * @public
944
944
  * <p>The name of the custom location you added to the fleet that this compute resource
@@ -954,12 +954,12 @@ export interface Compute {
954
954
  * @public
955
955
  * <p>The type of operating system on the compute resource.</p>
956
956
  */
957
- OperatingSystem?: OperatingSystem | string;
957
+ OperatingSystem?: OperatingSystem;
958
958
  /**
959
959
  * @public
960
960
  * <p>The Amazon EC2 instance type that the fleet uses. For registered computes in an Amazon GameLift Anywhere fleet, this property is empty. </p>
961
961
  */
962
- Type?: EC2InstanceType | string;
962
+ Type?: EC2InstanceType;
963
963
  /**
964
964
  * @public
965
965
  * <p>The Amazon GameLift SDK endpoint connection for a registered compute resource in an Anywhere
@@ -1155,7 +1155,7 @@ export interface CreateBuildInput {
1155
1155
  * builds.</p>
1156
1156
  * </note>
1157
1157
  */
1158
- OperatingSystem?: OperatingSystem | string;
1158
+ OperatingSystem?: OperatingSystem;
1159
1159
  /**
1160
1160
  * @public
1161
1161
  * <p>A list of labels to assign to the new build resource. Tags are developer defined
@@ -1246,7 +1246,7 @@ export interface IpPermission {
1246
1246
  * @public
1247
1247
  * <p>The network communication protocol used by the fleet.</p>
1248
1248
  */
1249
- Protocol: IpProtocol | string | undefined;
1249
+ Protocol: IpProtocol | undefined;
1250
1250
  }
1251
1251
  /**
1252
1252
  * @public
@@ -1453,7 +1453,7 @@ export interface CreateFleetInput {
1453
1453
  * including CPU, memory, storage, and networking capacity. See <a href="http://aws.amazon.com/ec2/instance-types/">Amazon Elastic Compute Cloud Instance Types</a> for detailed descriptions
1454
1454
  * of Amazon EC2 instance types.</p>
1455
1455
  */
1456
- EC2InstanceType?: EC2InstanceType | string;
1456
+ EC2InstanceType?: EC2InstanceType;
1457
1457
  /**
1458
1458
  * @public
1459
1459
  * <p>The allowed IP address ranges and port settings that allow inbound traffic to access
@@ -1481,7 +1481,7 @@ export interface CreateFleetInput {
1481
1481
  * </li>
1482
1482
  * </ul>
1483
1483
  */
1484
- NewGameSessionProtectionPolicy?: ProtectionPolicy | string;
1484
+ NewGameSessionProtectionPolicy?: ProtectionPolicy;
1485
1485
  /**
1486
1486
  * @public
1487
1487
  * <p>Instructions for how to launch and maintain server processes on instances in the
@@ -1531,7 +1531,7 @@ export interface CreateFleetInput {
1531
1531
  * property is set to <code>ON_DEMAND</code>. Learn more about when to use <a href="https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-ec2-instances.html#gamelift-ec2-instances-spot"> On-Demand versus Spot Instances</a>. This property cannot be changed after the
1532
1532
  * fleet is created.</p>
1533
1533
  */
1534
- FleetType?: FleetType | string;
1534
+ FleetType?: FleetType;
1535
1535
  /**
1536
1536
  * @public
1537
1537
  * <p>A unique identifier for an IAM role that manages access to your Amazon Web Services services.
@@ -1587,7 +1587,7 @@ export interface CreateFleetInput {
1587
1587
  * compute resources with Amazon GameLift Anywhere or use Amazon EC2 instances with managed
1588
1588
  * Amazon GameLift. By default, this property is set to <code>EC2</code>.</p>
1589
1589
  */
1590
- ComputeType?: ComputeType | string;
1590
+ ComputeType?: ComputeType;
1591
1591
  /**
1592
1592
  * @public
1593
1593
  * <p>Amazon GameLift Anywhere configuration options.</p>
@@ -1650,7 +1650,7 @@ export interface FleetAttributes {
1650
1650
  * property is set to <code>ON_DEMAND</code>. Learn more about when to use <a href="https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-ec2-instances.html#gamelift-ec2-instances-spot"> On-Demand versus Spot Instances</a>. This property cannot be changed after the
1651
1651
  * fleet is created.</p>
1652
1652
  */
1653
- FleetType?: FleetType | string;
1653
+ FleetType?: FleetType;
1654
1654
  /**
1655
1655
  * @public
1656
1656
  * <p>The Amazon EC2 instance type that determines the computing resources of each instance in
@@ -1658,7 +1658,7 @@ export interface FleetAttributes {
1658
1658
  * <a href="http://aws.amazon.com/ec2/instance-types/">Amazon Elastic Compute Cloud Instance Types</a>
1659
1659
  * for detailed descriptions.</p>
1660
1660
  */
1661
- InstanceType?: EC2InstanceType | string;
1661
+ InstanceType?: EC2InstanceType;
1662
1662
  /**
1663
1663
  * @public
1664
1664
  * <p>A human-readable description of the fleet.</p>
@@ -1716,7 +1716,7 @@ export interface FleetAttributes {
1716
1716
  * </li>
1717
1717
  * </ul>
1718
1718
  */
1719
- Status?: FleetStatus | string;
1719
+ Status?: FleetStatus;
1720
1720
  /**
1721
1721
  * @public
1722
1722
  * <p>A unique identifier for the build resource that is deployed on instances in this fleet.</p>
@@ -1784,13 +1784,13 @@ export interface FleetAttributes {
1784
1784
  * </li>
1785
1785
  * </ul>
1786
1786
  */
1787
- NewGameSessionProtectionPolicy?: ProtectionPolicy | string;
1787
+ NewGameSessionProtectionPolicy?: ProtectionPolicy;
1788
1788
  /**
1789
1789
  * @public
1790
1790
  * <p>The operating system of the fleet's computing resources. A fleet's operating system is
1791
1791
  * determined by the OS of the build or script that is deployed on this fleet.</p>
1792
1792
  */
1793
- OperatingSystem?: OperatingSystem | string;
1793
+ OperatingSystem?: OperatingSystem;
1794
1794
  /**
1795
1795
  * @public
1796
1796
  * <p>A policy that puts limits on the number of game sessions that a player can create
@@ -1813,7 +1813,7 @@ export interface FleetAttributes {
1813
1813
  * @public
1814
1814
  * <p>A list of fleet activity that has been suspended using <a href="https://docs.aws.amazon.com/gamelift/latest/apireference/API_StopFleetActions.html">StopFleetActions</a> . This includes fleet auto-scaling.</p>
1815
1815
  */
1816
- StoppedActions?: (FleetAction | string)[];
1816
+ StoppedActions?: FleetAction[];
1817
1817
  /**
1818
1818
  * @public
1819
1819
  * <p>A unique identifier for an IAM role that manages access to your Amazon Web Services services.
@@ -1839,7 +1839,7 @@ export interface FleetAttributes {
1839
1839
  * compute resources with Amazon GameLift Anywhere or use Amazon EC2 instances with managed
1840
1840
  * Amazon GameLift.</p>
1841
1841
  */
1842
- ComputeType?: ComputeType | string;
1842
+ ComputeType?: ComputeType;
1843
1843
  /**
1844
1844
  * @public
1845
1845
  * <p>Amazon GameLift Anywhere configuration options for your Anywhere fleets.</p>
@@ -1902,7 +1902,7 @@ export interface LocationState {
1902
1902
  * @public
1903
1903
  * <p>The life-cycle status of a fleet location. </p>
1904
1904
  */
1905
- Status?: FleetStatus | string;
1905
+ Status?: FleetStatus;
1906
1906
  }
1907
1907
  /**
1908
1908
  * @public
@@ -2155,7 +2155,7 @@ export interface InstanceDefinition {
2155
2155
  * @public
2156
2156
  * <p>An Amazon EC2 instance type designation.</p>
2157
2157
  */
2158
- InstanceType: GameServerGroupInstanceType | string | undefined;
2158
+ InstanceType: GameServerGroupInstanceType | undefined;
2159
2159
  /**
2160
2160
  * @public
2161
2161
  * <p>Instance weighting that indicates how much this instance type contributes to the total
@@ -2298,7 +2298,7 @@ export interface CreateGameServerGroupInput {
2298
2298
  * </li>
2299
2299
  * </ul>
2300
2300
  */
2301
- BalancingStrategy?: BalancingStrategy | string;
2301
+ BalancingStrategy?: BalancingStrategy;
2302
2302
  /**
2303
2303
  * @public
2304
2304
  * <p>A flag that indicates whether instances in the game server group are protected
@@ -2308,7 +2308,7 @@ export interface CreateGameServerGroupInput {
2308
2308
  * in the event of a forced game server group deletion (see ). An exception to this is with Spot
2309
2309
  * Instances, which can be terminated by Amazon Web Services regardless of protection status. This property is set to <code>NO_PROTECTION</code> by default.</p>
2310
2310
  */
2311
- GameServerProtectionPolicy?: GameServerProtectionPolicy | string;
2311
+ GameServerProtectionPolicy?: GameServerProtectionPolicy;
2312
2312
  /**
2313
2313
  * @public
2314
2314
  * <p>A list of virtual private cloud (VPC) subnets to use with instances in the game server
@@ -2423,7 +2423,7 @@ export interface GameServerGroup {
2423
2423
  * </li>
2424
2424
  * </ul>
2425
2425
  */
2426
- BalancingStrategy?: BalancingStrategy | string;
2426
+ BalancingStrategy?: BalancingStrategy;
2427
2427
  /**
2428
2428
  * @public
2429
2429
  * <p>A flag that indicates whether instances in the game server group are protected
@@ -2433,7 +2433,7 @@ export interface GameServerGroup {
2433
2433
  * in the event of a forced game server group deletion (see ). An exception to this is with Spot
2434
2434
  * Instances, which can be terminated by Amazon Web Services regardless of protection status. </p>
2435
2435
  */
2436
- GameServerProtectionPolicy?: GameServerProtectionPolicy | string;
2436
+ GameServerProtectionPolicy?: GameServerProtectionPolicy;
2437
2437
  /**
2438
2438
  * @public
2439
2439
  * <p>A generated unique ID for the Amazon EC2 Auto Scaling group that is associated with this
@@ -2483,7 +2483,7 @@ export interface GameServerGroup {
2483
2483
  * </li>
2484
2484
  * </ul>
2485
2485
  */
2486
- Status?: GameServerGroupStatus | string;
2486
+ Status?: GameServerGroupStatus;
2487
2487
  /**
2488
2488
  * @public
2489
2489
  * <p>Additional information about the current game server group status. This information
@@ -2495,7 +2495,7 @@ export interface GameServerGroup {
2495
2495
  * <p>A list of activities that are currently suspended for this game server group. If this
2496
2496
  * property is empty, all activities are occurring.</p>
2497
2497
  */
2498
- SuspendedActions?: (GameServerGroupAction | string)[];
2498
+ SuspendedActions?: GameServerGroupAction[];
2499
2499
  /**
2500
2500
  * @public
2501
2501
  * <p>A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example <code>"1469498468.057"</code>).</p>
@@ -2722,14 +2722,14 @@ export interface GameSession {
2722
2722
  * <p>Current status of the game session. A game session must have an <code>ACTIVE</code>
2723
2723
  * status to have player sessions.</p>
2724
2724
  */
2725
- Status?: GameSessionStatus | string;
2725
+ Status?: GameSessionStatus;
2726
2726
  /**
2727
2727
  * @public
2728
2728
  * <p>Provides additional information about game session status. <code>INTERRUPTED</code>
2729
2729
  * indicates that the game session was hosted on a spot instance that was reclaimed,
2730
2730
  * causing the active game session to be terminated.</p>
2731
2731
  */
2732
- StatusReason?: GameSessionStatusReason | string;
2732
+ StatusReason?: GameSessionStatusReason;
2733
2733
  /**
2734
2734
  * @public
2735
2735
  * <p>A set of custom properties for a game session, formatted as key:value pairs. These properties are passed to a game server process with a request to start a new game session (see <a href="https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-api.html#gamelift-sdk-server-startsession">Start a Game Session</a>).</p>
@@ -2765,7 +2765,7 @@ export interface GameSession {
2765
2765
  * @public
2766
2766
  * <p>Indicates whether or not the game session is accepting new players.</p>
2767
2767
  */
2768
- PlayerSessionCreationPolicy?: PlayerSessionCreationPolicy | string;
2768
+ PlayerSessionCreationPolicy?: PlayerSessionCreationPolicy;
2769
2769
  /**
2770
2770
  * @public
2771
2771
  * <p>A unique identifier for a player. This ID is used to enforce a resource protection policy (if one exists),
@@ -2970,7 +2970,7 @@ export interface PriorityConfiguration {
2970
2970
  * </li>
2971
2971
  * </ul>
2972
2972
  */
2973
- PriorityOrder?: (PriorityType | string)[];
2973
+ PriorityOrder?: PriorityType[];
2974
2974
  /**
2975
2975
  * @public
2976
2976
  * <p>The prioritization order to use for fleet locations, when the
@@ -3272,7 +3272,7 @@ export interface CreateMatchmakingConfigurationInput {
3272
3272
  * with FlexMatch</a>. Automatic backfill is not available when
3273
3273
  * <code>FlexMatchMode</code> is set to <code>STANDALONE</code>.</p>
3274
3274
  */
3275
- BackfillMode?: BackfillMode | string;
3275
+ BackfillMode?: BackfillMode;
3276
3276
  /**
3277
3277
  * @public
3278
3278
  * <p>Indicates whether this matchmaking configuration is being used with Amazon GameLift hosting or
@@ -3290,7 +3290,7 @@ export interface CreateMatchmakingConfigurationInput {
3290
3290
  * </li>
3291
3291
  * </ul>
3292
3292
  */
3293
- FlexMatchMode?: FlexMatchMode | string;
3293
+ FlexMatchMode?: FlexMatchMode;
3294
3294
  /**
3295
3295
  * @public
3296
3296
  * <p>A list of labels to assign to the new matchmaking configuration resource. Tags are
@@ -3410,7 +3410,7 @@ export interface MatchmakingConfiguration {
3410
3410
  * in <a href="https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-backfill.html">Backfill existing games with FlexMatch</a>. Automatic backfill is not available
3411
3411
  * when <code>FlexMatchMode</code> is set to <code>STANDALONE</code>.</p>
3412
3412
  */
3413
- BackfillMode?: BackfillMode | string;
3413
+ BackfillMode?: BackfillMode;
3414
3414
  /**
3415
3415
  * @public
3416
3416
  * <p>Indicates whether this matchmaking configuration is being used with Amazon GameLift hosting or
@@ -3428,7 +3428,7 @@ export interface MatchmakingConfiguration {
3428
3428
  * </li>
3429
3429
  * </ul>
3430
3430
  */
3431
- FlexMatchMode?: FlexMatchMode | string;
3431
+ FlexMatchMode?: FlexMatchMode;
3432
3432
  }
3433
3433
  /**
3434
3434
  * @public
@@ -3657,7 +3657,7 @@ export interface PlayerSession {
3657
3657
  * </li>
3658
3658
  * </ul>
3659
3659
  */
3660
- Status?: PlayerSessionStatus | string;
3660
+ Status?: PlayerSessionStatus;
3661
3661
  /**
3662
3662
  * @public
3663
3663
  * <p>The IP address of the game session. To connect to a Amazon GameLift game server, an app needs both the IP address and port number.</p>
@@ -4101,7 +4101,7 @@ export interface DeleteGameServerGroupInput {
4101
4101
  * </li>
4102
4102
  * </ul>
4103
4103
  */
4104
- DeleteOption?: GameServerGroupDeleteOption | string;
4104
+ DeleteOption?: GameServerGroupDeleteOption;
4105
4105
  }
4106
4106
  /**
4107
4107
  * @public
@@ -4361,7 +4361,7 @@ export interface DescribeEC2InstanceLimitsInput {
4361
4361
  * storage, and networking capacity. Do not specify a value for this parameter to retrieve
4362
4362
  * limits for all instance types.</p>
4363
4363
  */
4364
- EC2InstanceType?: EC2InstanceType | string;
4364
+ EC2InstanceType?: EC2InstanceType;
4365
4365
  /**
4366
4366
  * @public
4367
4367
  * <p>The name of a remote location to request instance limits for, in the form of an Amazon Web Services
@@ -4383,7 +4383,7 @@ export interface EC2InstanceLimit {
4383
4383
  * <p>The name of an Amazon EC2 instance type. See <a href="http://aws.amazon.com/ec2/instance-types/">Amazon Elastic Compute Cloud Instance Types</a> for detailed
4384
4384
  * descriptions. </p>
4385
4385
  */
4386
- EC2InstanceType?: EC2InstanceType | string;
4386
+ EC2InstanceType?: EC2InstanceType;
4387
4387
  /**
4388
4388
  * @public
4389
4389
  * <p>The number of instances for the specified type and location that are currently being
@@ -4551,7 +4551,7 @@ export interface FleetCapacity {
4551
4551
  * networking capacity. See <a href="http://aws.amazon.com/ec2/instance-types/">Amazon Elastic Compute Cloud
4552
4552
  * Instance Types</a> for detailed descriptions.</p>
4553
4553
  */
4554
- InstanceType?: EC2InstanceType | string;
4554
+ InstanceType?: EC2InstanceType;
4555
4555
  /**
4556
4556
  * @public
4557
4557
  * <p>Resource capacity settings. Fleet capacity is measured in Amazon EC2 instances. Pending and
@@ -4894,7 +4894,7 @@ export interface Event {
4894
4894
  * </li>
4895
4895
  * </ul>
4896
4896
  */
4897
- EventCode?: EventCode | string;
4897
+ EventCode?: EventCode;
4898
4898
  /**
4899
4899
  * @public
4900
4900
  * <p>Additional information related to the event.</p>
@@ -4980,7 +4980,7 @@ export interface LocationAttributes {
4980
4980
  * @public
4981
4981
  * <p>A list of fleet actions that have been suspended in the fleet location.</p>
4982
4982
  */
4983
- StoppedActions?: (FleetAction | string)[];
4983
+ StoppedActions?: FleetAction[];
4984
4984
  /**
4985
4985
  * @public
4986
4986
  * <p>The status of fleet activity updates to the location. The status
@@ -4988,7 +4988,7 @@ export interface LocationAttributes {
4988
4988
  * <code>StartFleetActions</code> has been requested but the update has not yet been
4989
4989
  * completed for the location.</p>
4990
4990
  */
4991
- UpdateStatus?: LocationUpdateStatus | string;
4991
+ UpdateStatus?: LocationUpdateStatus;
4992
4992
  }
4993
4993
  /**
4994
4994
  * @public
@@ -5164,7 +5164,7 @@ export interface DescribeFleetPortSettingsOutput {
5164
5164
  * location. A status of <code>PENDING_UPDATE</code> indicates that an update was requested
5165
5165
  * for the fleet but has not yet been completed for the location.</p>
5166
5166
  */
5167
- UpdateStatus?: LocationUpdateStatus | string;
5167
+ UpdateStatus?: LocationUpdateStatus;
5168
5168
  /**
5169
5169
  * @public
5170
5170
  * <p>The requested fleet location, expressed as an Amazon Web Services Region code, such as
@@ -5334,7 +5334,7 @@ export interface GameServerInstance {
5334
5334
  * @public
5335
5335
  * <p>Current status of the game server instance</p>
5336
5336
  */
5337
- InstanceStatus?: GameServerInstanceStatus | string;
5337
+ InstanceStatus?: GameServerInstanceStatus;
5338
5338
  }
5339
5339
  /**
5340
5340
  * @public
@@ -5424,7 +5424,7 @@ export interface GameSessionDetail {
5424
5424
  * </li>
5425
5425
  * </ul>
5426
5426
  */
5427
- ProtectionPolicy?: ProtectionPolicy | string;
5427
+ ProtectionPolicy?: ProtectionPolicy;
5428
5428
  }
5429
5429
  /**
5430
5430
  * @public
@@ -5569,7 +5569,7 @@ export interface GameSessionPlacement {
5569
5569
  * </li>
5570
5570
  * </ul>
5571
5571
  */
5572
- Status?: GameSessionPlacementState | string;
5572
+ Status?: GameSessionPlacementState;
5573
5573
  /**
5574
5574
  * @public
5575
5575
  * <p>A set of custom properties for a game session, formatted as key:value pairs. These properties are passed to a game server process with a request to start a new game session (see <a href="https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-api.html#gamelift-sdk-server-startsession">Start a Game Session</a>).</p>
@@ -5871,12 +5871,12 @@ export interface Instance {
5871
5871
  * @public
5872
5872
  * <p>Operating system that is running on this EC2 instance. </p>
5873
5873
  */
5874
- OperatingSystem?: OperatingSystem | string;
5874
+ OperatingSystem?: OperatingSystem;
5875
5875
  /**
5876
5876
  * @public
5877
5877
  * <p>EC2 instance type that defines the computing resources of this instance. </p>
5878
5878
  */
5879
- Type?: EC2InstanceType | string;
5879
+ Type?: EC2InstanceType;
5880
5880
  /**
5881
5881
  * @public
5882
5882
  * <p>Current status of the instance. Possible statuses include the following:</p>
@@ -5902,7 +5902,7 @@ export interface Instance {
5902
5902
  * </li>
5903
5903
  * </ul>
5904
5904
  */
5905
- Status?: InstanceStatus | string;
5905
+ Status?: InstanceStatus;
5906
5906
  /**
5907
5907
  * @public
5908
5908
  * <p>A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example <code>"1469498468.057"</code>).</p>
@@ -6143,7 +6143,7 @@ export interface MatchmakingTicket {
6143
6143
  * CANCELLED, TIMED_OUT) can be resubmitted as new requests with new ticket IDs.</p>
6144
6144
  * </note>
6145
6145
  */
6146
- Status?: MatchmakingConfigurationStatus | string;
6146
+ Status?: MatchmakingConfigurationStatus;
6147
6147
  /**
6148
6148
  * @public
6149
6149
  * <p>Code to explain the current status. For example, a status reason may indicate when a
@@ -6447,7 +6447,7 @@ export interface DescribeScalingPoliciesInput {
6447
6447
  * </li>
6448
6448
  * </ul>
6449
6449
  */
6450
- StatusFilter?: ScalingStatusType | string;
6450
+ StatusFilter?: ScalingStatusType;
6451
6451
  /**
6452
6452
  * @public
6453
6453
  * <p>The maximum number of results to return. Use this parameter with <code>NextToken</code> to get results as a set of sequential pages.</p>
@@ -6595,7 +6595,7 @@ export interface ScalingPolicy {
6595
6595
  * </li>
6596
6596
  * </ul>
6597
6597
  */
6598
- Status?: ScalingStatusType | string;
6598
+ Status?: ScalingStatusType;
6599
6599
  /**
6600
6600
  * @public
6601
6601
  * <p>Amount of adjustment to make, based on the scaling adjustment type.</p>
@@ -6624,12 +6624,12 @@ export interface ScalingPolicy {
6624
6624
  * </li>
6625
6625
  * </ul>
6626
6626
  */
6627
- ScalingAdjustmentType?: ScalingAdjustmentType | string;
6627
+ ScalingAdjustmentType?: ScalingAdjustmentType;
6628
6628
  /**
6629
6629
  * @public
6630
6630
  * <p>Comparison operator to use when measuring a metric against the threshold value.</p>
6631
6631
  */
6632
- ComparisonOperator?: ComparisonOperatorType | string;
6632
+ ComparisonOperator?: ComparisonOperatorType;
6633
6633
  /**
6634
6634
  * @public
6635
6635
  * <p>Metric value used to trigger a scaling event.</p>
@@ -6711,7 +6711,7 @@ export interface ScalingPolicy {
6711
6711
  * </li>
6712
6712
  * </ul>
6713
6713
  */
6714
- MetricName?: MetricName | string;
6714
+ MetricName?: MetricName;
6715
6715
  /**
6716
6716
  * @public
6717
6717
  * <p>The type of scaling policy to create. For a target-based policy, set the parameter
@@ -6722,7 +6722,7 @@ export interface ScalingPolicy {
6722
6722
  * <i>ScalingAdjustmentType</i>, and
6723
6723
  * <i>ScalingAdjustment</i>.</p>
6724
6724
  */
6725
- PolicyType?: PolicyType | string;
6725
+ PolicyType?: PolicyType;
6726
6726
  /**
6727
6727
  * @public
6728
6728
  * <p>An object that contains settings for a target-based scaling policy.</p>
@@ -6734,7 +6734,7 @@ export interface ScalingPolicy {
6734
6734
  * status <code>PENDING_UPDATE</code> indicates that an update was requested for the fleet
6735
6735
  * but has not yet been completed for the location.</p>
6736
6736
  */
6737
- UpdateStatus?: LocationUpdateStatus | string;
6737
+ UpdateStatus?: LocationUpdateStatus;
6738
6738
  /**
6739
6739
  * @public
6740
6740
  * <p> The fleet location. </p>
@@ -7096,7 +7096,7 @@ export interface InstanceAccess {
7096
7096
  * @public
7097
7097
  * <p>Operating system that is running on the instance.</p>
7098
7098
  */
7099
- OperatingSystem?: OperatingSystem | string;
7099
+ OperatingSystem?: OperatingSystem;
7100
7100
  /**
7101
7101
  * @public
7102
7102
  * <p>Security credentials that are required to access the instance.</p>
@@ -7137,7 +7137,7 @@ export interface ListAliasesInput {
7137
7137
  * </li>
7138
7138
  * </ul>
7139
7139
  */
7140
- RoutingStrategyType?: RoutingStrategyType | string;
7140
+ RoutingStrategyType?: RoutingStrategyType;
7141
7141
  /**
7142
7142
  * @public
7143
7143
  * <p>A descriptive label that is associated with an alias. Alias names do not need to be unique.</p>
@@ -7198,7 +7198,7 @@ export interface ListBuildsInput {
7198
7198
  * </li>
7199
7199
  * </ul>
7200
7200
  */
7201
- Status?: BuildStatus | string;
7201
+ Status?: BuildStatus;
7202
7202
  /**
7203
7203
  * @public
7204
7204
  * <p>The maximum number of results to return. Use this parameter with <code>NextToken</code> to get results as a set of sequential pages.</p>
@@ -7368,7 +7368,7 @@ export interface ListGameServersInput {
7368
7368
  * <code>DESCENDING</code> to retrieve newest game servers first. If this parameter is
7369
7369
  * left empty, game servers are returned in no particular order.</p>
7370
7370
  */
7371
- SortOrder?: SortOrder | string;
7371
+ SortOrder?: SortOrder;
7372
7372
  /**
7373
7373
  * @public
7374
7374
  * <p>The maximum number of results to return. Use this parameter with <code>NextToken</code> to get results as a set of sequential pages.</p>
@@ -7415,7 +7415,7 @@ export interface ListLocationsInput {
7415
7415
  * @public
7416
7416
  * <p>Filters the list for <code>AWS</code> or <code>CUSTOM</code> locations.</p>
7417
7417
  */
7418
- Filters?: (LocationFilter | string)[];
7418
+ Filters?: LocationFilter[];
7419
7419
  /**
7420
7420
  * @public
7421
7421
  * <p>The maximum number of results to return. Use this parameter with <code>NextToken</code> to get results as a set of sequential pages.</p>
@@ -7539,7 +7539,7 @@ export interface PutScalingPolicyInput {
7539
7539
  * </li>
7540
7540
  * </ul>
7541
7541
  */
7542
- ScalingAdjustmentType?: ScalingAdjustmentType | string;
7542
+ ScalingAdjustmentType?: ScalingAdjustmentType;
7543
7543
  /**
7544
7544
  * @public
7545
7545
  * <p>Metric value used to trigger a scaling event.</p>
@@ -7550,7 +7550,7 @@ export interface PutScalingPolicyInput {
7550
7550
  * <p>Comparison operator to use when measuring the metric against the threshold
7551
7551
  * value.</p>
7552
7552
  */
7553
- ComparisonOperator?: ComparisonOperatorType | string;
7553
+ ComparisonOperator?: ComparisonOperatorType;
7554
7554
  /**
7555
7555
  * @public
7556
7556
  * <p>Length of time (in minutes) the metric must be at or beyond the threshold before a
@@ -7627,7 +7627,7 @@ export interface PutScalingPolicyInput {
7627
7627
  * </li>
7628
7628
  * </ul>
7629
7629
  */
7630
- MetricName: MetricName | string | undefined;
7630
+ MetricName: MetricName | undefined;
7631
7631
  /**
7632
7632
  * @public
7633
7633
  * <p>The type of scaling policy to create. For a target-based policy, set the parameter
@@ -7638,7 +7638,7 @@ export interface PutScalingPolicyInput {
7638
7638
  * <i>ScalingAdjustmentType</i>, and
7639
7639
  * <i>ScalingAdjustment</i>.</p>
7640
7640
  */
7641
- PolicyType?: PolicyType | string;
7641
+ PolicyType?: PolicyType;
7642
7642
  /**
7643
7643
  * @public
7644
7644
  * <p>An object that contains settings for a target-based scaling policy.</p>
@@ -7816,7 +7816,7 @@ export interface ResumeGameServerGroupInput {
7816
7816
  * @public
7817
7817
  * <p>The activity to resume for this game server group.</p>
7818
7818
  */
7819
- ResumeActions: (GameServerGroupAction | string)[] | undefined;
7819
+ ResumeActions: GameServerGroupAction[] | undefined;
7820
7820
  }
7821
7821
  /**
7822
7822
  * @public
@@ -7984,7 +7984,7 @@ export interface StartFleetActionsInput {
7984
7984
  * @public
7985
7985
  * <p>List of actions to restart on the fleet.</p>
7986
7986
  */
7987
- Actions: (FleetAction | string)[] | undefined;
7987
+ Actions: FleetAction[] | undefined;
7988
7988
  /**
7989
7989
  * @public
7990
7990
  * <p>The fleet location to restart fleet actions for. Specify a location in the form of an
@@ -8186,7 +8186,7 @@ export interface StopFleetActionsInput {
8186
8186
  * @public
8187
8187
  * <p>List of actions to suspend on the fleet. </p>
8188
8188
  */
8189
- Actions: (FleetAction | string)[] | undefined;
8189
+ Actions: FleetAction[] | undefined;
8190
8190
  /**
8191
8191
  * @public
8192
8192
  * <p>The fleet location to stop fleet actions for. Specify a location in the form of an
@@ -8258,7 +8258,7 @@ export interface SuspendGameServerGroupInput {
8258
8258
  * @public
8259
8259
  * <p>The activity to suspend for this game server group.</p>
8260
8260
  */
8261
- SuspendActions: (GameServerGroupAction | string)[] | undefined;
8261
+ SuspendActions: GameServerGroupAction[] | undefined;
8262
8262
  }
8263
8263
  /**
8264
8264
  * @public
@@ -8427,7 +8427,7 @@ export interface UpdateFleetAttributesInput {
8427
8427
  * </li>
8428
8428
  * </ul>
8429
8429
  */
8430
- NewGameSessionProtectionPolicy?: ProtectionPolicy | string;
8430
+ NewGameSessionProtectionPolicy?: ProtectionPolicy;
8431
8431
  /**
8432
8432
  * @public
8433
8433
  * <p>Policy settings that limit the number of game sessions an individual player can create
@@ -94,13 +94,13 @@ export interface UpdateGameServerInput {
94
94
  * you can't change a the status from <code>UTILIZED</code> to
95
95
  * <code>AVAILABLE</code>.</p>
96
96
  */
97
- UtilizationStatus?: GameServerUtilizationStatus | string;
97
+ UtilizationStatus?: GameServerUtilizationStatus;
98
98
  /**
99
99
  * @public
100
100
  * <p>Indicates health status of the game server. A request that includes this parameter
101
101
  * updates the game server's <i>LastHealthCheckTime</i> timestamp. </p>
102
102
  */
103
- HealthCheck?: GameServerHealthCheck | string;
103
+ HealthCheck?: GameServerHealthCheck;
104
104
  }
105
105
  /**
106
106
  * @public
@@ -149,7 +149,7 @@ export interface UpdateGameServerGroupInput {
149
149
  * in the event of a forced game server group deletion (see ). An exception to this is with Spot
150
150
  * Instances, which can be terminated by Amazon Web Services regardless of protection status. This property is set to <code>NO_PROTECTION</code> by default.</p>
151
151
  */
152
- GameServerProtectionPolicy?: GameServerProtectionPolicy | string;
152
+ GameServerProtectionPolicy?: GameServerProtectionPolicy;
153
153
  /**
154
154
  * @public
155
155
  * <p>Indicates how Amazon GameLift FleetIQ balances the use of Spot Instances and On-Demand Instances in the
@@ -179,7 +179,7 @@ export interface UpdateGameServerGroupInput {
179
179
  * </li>
180
180
  * </ul>
181
181
  */
182
- BalancingStrategy?: BalancingStrategy | string;
182
+ BalancingStrategy?: BalancingStrategy;
183
183
  }
184
184
  /**
185
185
  * @public
@@ -215,7 +215,7 @@ export interface UpdateGameSessionInput {
215
215
  * @public
216
216
  * <p>A policy that determines whether the game session is accepting new players.</p>
217
217
  */
218
- PlayerSessionCreationPolicy?: PlayerSessionCreationPolicy | string;
218
+ PlayerSessionCreationPolicy?: PlayerSessionCreationPolicy;
219
219
  /**
220
220
  * @public
221
221
  * <p>Game session protection policy to apply to this game session only.</p>
@@ -233,7 +233,7 @@ export interface UpdateGameSessionInput {
233
233
  * </li>
234
234
  * </ul>
235
235
  */
236
- ProtectionPolicy?: ProtectionPolicy | string;
236
+ ProtectionPolicy?: ProtectionPolicy;
237
237
  }
238
238
  /**
239
239
  * @public
@@ -404,7 +404,7 @@ export interface UpdateMatchmakingConfigurationInput {
404
404
  * with FlexMatch</a>. Automatic backfill is not available when
405
405
  * <code>FlexMatchMode</code> is set to <code>STANDALONE</code>.</p>
406
406
  */
407
- BackfillMode?: BackfillMode | string;
407
+ BackfillMode?: BackfillMode;
408
408
  /**
409
409
  * @public
410
410
  * <p>Indicates whether this matchmaking configuration is being used with Amazon GameLift hosting or
@@ -422,7 +422,7 @@ export interface UpdateMatchmakingConfigurationInput {
422
422
  * </li>
423
423
  * </ul>
424
424
  */
425
- FlexMatchMode?: FlexMatchMode | string;
425
+ FlexMatchMode?: FlexMatchMode;
426
426
  }
427
427
  /**
428
428
  * @public
@@ -9,7 +9,7 @@ export type AcceptanceType =
9
9
  export interface AcceptMatchInput {
10
10
  TicketId: string | undefined;
11
11
  PlayerIds: string[] | undefined;
12
- AcceptanceType: AcceptanceType | string | undefined;
12
+ AcceptanceType: AcceptanceType | undefined;
13
13
  }
14
14
  export interface AcceptMatchOutput {}
15
15
  export declare class InternalServiceException extends __BaseException {
@@ -49,7 +49,7 @@ export declare const RoutingStrategyType: {
49
49
  export type RoutingStrategyType =
50
50
  (typeof RoutingStrategyType)[keyof typeof RoutingStrategyType];
51
51
  export interface RoutingStrategy {
52
- Type?: RoutingStrategyType | string;
52
+ Type?: RoutingStrategyType;
53
53
  FleetId?: string;
54
54
  Message?: string;
55
55
  }
@@ -108,9 +108,9 @@ export interface Build {
108
108
  BuildArn?: string;
109
109
  Name?: string;
110
110
  Version?: string;
111
- Status?: BuildStatus | string;
111
+ Status?: BuildStatus;
112
112
  SizeOnDisk?: number;
113
- OperatingSystem?: OperatingSystem | string;
113
+ OperatingSystem?: OperatingSystem;
114
114
  CreationTime?: Date;
115
115
  ServerSdkVersion?: string;
116
116
  }
@@ -121,7 +121,7 @@ export declare const CertificateType: {
121
121
  export type CertificateType =
122
122
  (typeof CertificateType)[keyof typeof CertificateType];
123
123
  export interface CertificateConfiguration {
124
- CertificateType: CertificateType | string | undefined;
124
+ CertificateType: CertificateType | undefined;
125
125
  }
126
126
  export declare const FilterInstanceStatus: {
127
127
  readonly ACTIVE: "ACTIVE";
@@ -130,7 +130,7 @@ export declare const FilterInstanceStatus: {
130
130
  export type FilterInstanceStatus =
131
131
  (typeof FilterInstanceStatus)[keyof typeof FilterInstanceStatus];
132
132
  export interface ClaimFilterOption {
133
- InstanceStatuses?: (FilterInstanceStatus | string)[];
133
+ InstanceStatuses?: FilterInstanceStatus[];
134
134
  }
135
135
  export interface ClaimGameServerInput {
136
136
  GameServerGroupName: string | undefined;
@@ -156,8 +156,8 @@ export interface GameServer {
156
156
  InstanceId?: string;
157
157
  ConnectionInfo?: string;
158
158
  GameServerData?: string;
159
- ClaimStatus?: GameServerClaimStatus | string;
160
- UtilizationStatus?: GameServerUtilizationStatus | string;
159
+ ClaimStatus?: GameServerClaimStatus;
160
+ UtilizationStatus?: GameServerUtilizationStatus;
161
161
  RegistrationTime?: Date;
162
162
  LastClaimTime?: Date;
163
163
  LastHealthCheckTime?: Date;
@@ -387,11 +387,11 @@ export interface Compute {
387
387
  ComputeArn?: string;
388
388
  IpAddress?: string;
389
389
  DnsName?: string;
390
- ComputeStatus?: ComputeStatus | string;
390
+ ComputeStatus?: ComputeStatus;
391
391
  Location?: string;
392
392
  CreationTime?: Date;
393
- OperatingSystem?: OperatingSystem | string;
394
- Type?: EC2InstanceType | string;
393
+ OperatingSystem?: OperatingSystem;
394
+ Type?: EC2InstanceType;
395
395
  GameLiftServiceSdkEndpoint?: string;
396
396
  }
397
397
  export declare const ComputeType: {
@@ -438,7 +438,7 @@ export interface CreateBuildInput {
438
438
  Name?: string;
439
439
  Version?: string;
440
440
  StorageLocation?: S3Location;
441
- OperatingSystem?: OperatingSystem | string;
441
+ OperatingSystem?: OperatingSystem;
442
442
  Tags?: Tag[];
443
443
  ServerSdkVersion?: string;
444
444
  }
@@ -456,7 +456,7 @@ export interface IpPermission {
456
456
  FromPort: number | undefined;
457
457
  ToPort: number | undefined;
458
458
  IpRange: string | undefined;
459
- Protocol: IpProtocol | string | undefined;
459
+ Protocol: IpProtocol | undefined;
460
460
  }
461
461
  export declare const FleetType: {
462
462
  readonly OnDemand: "ON_DEMAND";
@@ -494,20 +494,20 @@ export interface CreateFleetInput {
494
494
  ServerLaunchPath?: string;
495
495
  ServerLaunchParameters?: string;
496
496
  LogPaths?: string[];
497
- EC2InstanceType?: EC2InstanceType | string;
497
+ EC2InstanceType?: EC2InstanceType;
498
498
  EC2InboundPermissions?: IpPermission[];
499
- NewGameSessionProtectionPolicy?: ProtectionPolicy | string;
499
+ NewGameSessionProtectionPolicy?: ProtectionPolicy;
500
500
  RuntimeConfiguration?: RuntimeConfiguration;
501
501
  ResourceCreationLimitPolicy?: ResourceCreationLimitPolicy;
502
502
  MetricGroups?: string[];
503
503
  PeerVpcAwsAccountId?: string;
504
504
  PeerVpcId?: string;
505
- FleetType?: FleetType | string;
505
+ FleetType?: FleetType;
506
506
  InstanceRoleArn?: string;
507
507
  CertificateConfiguration?: CertificateConfiguration;
508
508
  Locations?: LocationConfiguration[];
509
509
  Tags?: Tag[];
510
- ComputeType?: ComputeType | string;
510
+ ComputeType?: ComputeType;
511
511
  AnywhereConfiguration?: AnywhereConfiguration;
512
512
  }
513
513
  export declare const FleetStatus: {
@@ -530,13 +530,13 @@ export type FleetAction = (typeof FleetAction)[keyof typeof FleetAction];
530
530
  export interface FleetAttributes {
531
531
  FleetId?: string;
532
532
  FleetArn?: string;
533
- FleetType?: FleetType | string;
534
- InstanceType?: EC2InstanceType | string;
533
+ FleetType?: FleetType;
534
+ InstanceType?: EC2InstanceType;
535
535
  Description?: string;
536
536
  Name?: string;
537
537
  CreationTime?: Date;
538
538
  TerminationTime?: Date;
539
- Status?: FleetStatus | string;
539
+ Status?: FleetStatus;
540
540
  BuildId?: string;
541
541
  BuildArn?: string;
542
542
  ScriptId?: string;
@@ -544,19 +544,19 @@ export interface FleetAttributes {
544
544
  ServerLaunchPath?: string;
545
545
  ServerLaunchParameters?: string;
546
546
  LogPaths?: string[];
547
- NewGameSessionProtectionPolicy?: ProtectionPolicy | string;
548
- OperatingSystem?: OperatingSystem | string;
547
+ NewGameSessionProtectionPolicy?: ProtectionPolicy;
548
+ OperatingSystem?: OperatingSystem;
549
549
  ResourceCreationLimitPolicy?: ResourceCreationLimitPolicy;
550
550
  MetricGroups?: string[];
551
- StoppedActions?: (FleetAction | string)[];
551
+ StoppedActions?: FleetAction[];
552
552
  InstanceRoleArn?: string;
553
553
  CertificateConfiguration?: CertificateConfiguration;
554
- ComputeType?: ComputeType | string;
554
+ ComputeType?: ComputeType;
555
555
  AnywhereConfiguration?: AnywhereConfiguration;
556
556
  }
557
557
  export interface LocationState {
558
558
  Location?: string;
559
- Status?: FleetStatus | string;
559
+ Status?: FleetStatus;
560
560
  }
561
561
  export interface CreateFleetOutput {
562
562
  FleetAttributes?: FleetAttributes;
@@ -685,7 +685,7 @@ export declare const GameServerGroupInstanceType: {
685
685
  export type GameServerGroupInstanceType =
686
686
  (typeof GameServerGroupInstanceType)[keyof typeof GameServerGroupInstanceType];
687
687
  export interface InstanceDefinition {
688
- InstanceType: GameServerGroupInstanceType | string | undefined;
688
+ InstanceType: GameServerGroupInstanceType | undefined;
689
689
  WeightedCapacity?: string;
690
690
  }
691
691
  export interface LaunchTemplateSpecification {
@@ -701,8 +701,8 @@ export interface CreateGameServerGroupInput {
701
701
  LaunchTemplate: LaunchTemplateSpecification | undefined;
702
702
  InstanceDefinitions: InstanceDefinition[] | undefined;
703
703
  AutoScalingPolicy?: GameServerGroupAutoScalingPolicy;
704
- BalancingStrategy?: BalancingStrategy | string;
705
- GameServerProtectionPolicy?: GameServerProtectionPolicy | string;
704
+ BalancingStrategy?: BalancingStrategy;
705
+ GameServerProtectionPolicy?: GameServerProtectionPolicy;
706
706
  VpcSubnets?: string[];
707
707
  Tags?: Tag[];
708
708
  }
@@ -727,12 +727,12 @@ export interface GameServerGroup {
727
727
  GameServerGroupArn?: string;
728
728
  RoleArn?: string;
729
729
  InstanceDefinitions?: InstanceDefinition[];
730
- BalancingStrategy?: BalancingStrategy | string;
731
- GameServerProtectionPolicy?: GameServerProtectionPolicy | string;
730
+ BalancingStrategy?: BalancingStrategy;
731
+ GameServerProtectionPolicy?: GameServerProtectionPolicy;
732
732
  AutoScalingGroupArn?: string;
733
- Status?: GameServerGroupStatus | string;
733
+ Status?: GameServerGroupStatus;
734
734
  StatusReason?: string;
735
- SuspendedActions?: (GameServerGroupAction | string)[];
735
+ SuspendedActions?: GameServerGroupAction[];
736
736
  CreationTime?: Date;
737
737
  LastUpdatedTime?: Date;
738
738
  }
@@ -784,13 +784,13 @@ export interface GameSession {
784
784
  TerminationTime?: Date;
785
785
  CurrentPlayerSessionCount?: number;
786
786
  MaximumPlayerSessionCount?: number;
787
- Status?: GameSessionStatus | string;
788
- StatusReason?: GameSessionStatusReason | string;
787
+ Status?: GameSessionStatus;
788
+ StatusReason?: GameSessionStatusReason;
789
789
  GameProperties?: GameProperty[];
790
790
  IpAddress?: string;
791
791
  DnsName?: string;
792
792
  Port?: number;
793
- PlayerSessionCreationPolicy?: PlayerSessionCreationPolicy | string;
793
+ PlayerSessionCreationPolicy?: PlayerSessionCreationPolicy;
794
794
  CreatorId?: string;
795
795
  GameSessionData?: string;
796
796
  MatchmakerData?: string;
@@ -847,7 +847,7 @@ export declare const PriorityType: {
847
847
  };
848
848
  export type PriorityType = (typeof PriorityType)[keyof typeof PriorityType];
849
849
  export interface PriorityConfiguration {
850
- PriorityOrder?: (PriorityType | string)[];
850
+ PriorityOrder?: PriorityType[];
851
851
  LocationOrder?: string[];
852
852
  }
853
853
  export interface CreateGameSessionQueueInput {
@@ -904,8 +904,8 @@ export interface CreateMatchmakingConfigurationInput {
904
904
  CustomEventData?: string;
905
905
  GameProperties?: GameProperty[];
906
906
  GameSessionData?: string;
907
- BackfillMode?: BackfillMode | string;
908
- FlexMatchMode?: FlexMatchMode | string;
907
+ BackfillMode?: BackfillMode;
908
+ FlexMatchMode?: FlexMatchMode;
909
909
  Tags?: Tag[];
910
910
  }
911
911
  export interface MatchmakingConfiguration {
@@ -924,8 +924,8 @@ export interface MatchmakingConfiguration {
924
924
  CreationTime?: Date;
925
925
  GameProperties?: GameProperty[];
926
926
  GameSessionData?: string;
927
- BackfillMode?: BackfillMode | string;
928
- FlexMatchMode?: FlexMatchMode | string;
927
+ BackfillMode?: BackfillMode;
928
+ FlexMatchMode?: FlexMatchMode;
929
929
  }
930
930
  export interface CreateMatchmakingConfigurationOutput {
931
931
  Configuration?: MatchmakingConfiguration;
@@ -965,7 +965,7 @@ export interface PlayerSession {
965
965
  FleetArn?: string;
966
966
  CreationTime?: Date;
967
967
  TerminationTime?: Date;
968
- Status?: PlayerSessionStatus | string;
968
+ Status?: PlayerSessionStatus;
969
969
  IpAddress?: string;
970
970
  DnsName?: string;
971
971
  Port?: number;
@@ -1067,7 +1067,7 @@ export type GameServerGroupDeleteOption =
1067
1067
  (typeof GameServerGroupDeleteOption)[keyof typeof GameServerGroupDeleteOption];
1068
1068
  export interface DeleteGameServerGroupInput {
1069
1069
  GameServerGroupName: string | undefined;
1070
- DeleteOption?: GameServerGroupDeleteOption | string;
1070
+ DeleteOption?: GameServerGroupDeleteOption;
1071
1071
  }
1072
1072
  export interface DeleteGameServerGroupOutput {
1073
1073
  GameServerGroup?: GameServerGroup;
@@ -1134,11 +1134,11 @@ export interface DescribeComputeOutput {
1134
1134
  Compute?: Compute;
1135
1135
  }
1136
1136
  export interface DescribeEC2InstanceLimitsInput {
1137
- EC2InstanceType?: EC2InstanceType | string;
1137
+ EC2InstanceType?: EC2InstanceType;
1138
1138
  Location?: string;
1139
1139
  }
1140
1140
  export interface EC2InstanceLimit {
1141
- EC2InstanceType?: EC2InstanceType | string;
1141
+ EC2InstanceType?: EC2InstanceType;
1142
1142
  CurrentInstances?: number;
1143
1143
  InstanceLimit?: number;
1144
1144
  Location?: string;
@@ -1172,7 +1172,7 @@ export interface EC2InstanceCounts {
1172
1172
  export interface FleetCapacity {
1173
1173
  FleetId?: string;
1174
1174
  FleetArn?: string;
1175
- InstanceType?: EC2InstanceType | string;
1175
+ InstanceType?: EC2InstanceType;
1176
1176
  InstanceCounts?: EC2InstanceCounts;
1177
1177
  Location?: string;
1178
1178
  }
@@ -1227,7 +1227,7 @@ export type EventCode = (typeof EventCode)[keyof typeof EventCode];
1227
1227
  export interface Event {
1228
1228
  EventId?: string;
1229
1229
  ResourceId?: string;
1230
- EventCode?: EventCode | string;
1230
+ EventCode?: EventCode;
1231
1231
  Message?: string;
1232
1232
  EventTime?: Date;
1233
1233
  PreSignedLogUrl?: string;
@@ -1249,8 +1249,8 @@ export type LocationUpdateStatus =
1249
1249
  (typeof LocationUpdateStatus)[keyof typeof LocationUpdateStatus];
1250
1250
  export interface LocationAttributes {
1251
1251
  LocationState?: LocationState;
1252
- StoppedActions?: (FleetAction | string)[];
1253
- UpdateStatus?: LocationUpdateStatus | string;
1252
+ StoppedActions?: FleetAction[];
1253
+ UpdateStatus?: LocationUpdateStatus;
1254
1254
  }
1255
1255
  export interface DescribeFleetLocationAttributesOutput {
1256
1256
  FleetId?: string;
@@ -1289,7 +1289,7 @@ export interface DescribeFleetPortSettingsOutput {
1289
1289
  FleetId?: string;
1290
1290
  FleetArn?: string;
1291
1291
  InboundPermissions?: IpPermission[];
1292
- UpdateStatus?: LocationUpdateStatus | string;
1292
+ UpdateStatus?: LocationUpdateStatus;
1293
1293
  Location?: string;
1294
1294
  }
1295
1295
  export interface DescribeFleetUtilizationInput {
@@ -1331,7 +1331,7 @@ export interface GameServerInstance {
1331
1331
  GameServerGroupName?: string;
1332
1332
  GameServerGroupArn?: string;
1333
1333
  InstanceId?: string;
1334
- InstanceStatus?: GameServerInstanceStatus | string;
1334
+ InstanceStatus?: GameServerInstanceStatus;
1335
1335
  }
1336
1336
  export interface DescribeGameServerInstancesOutput {
1337
1337
  GameServerInstances?: GameServerInstance[];
@@ -1348,7 +1348,7 @@ export interface DescribeGameSessionDetailsInput {
1348
1348
  }
1349
1349
  export interface GameSessionDetail {
1350
1350
  GameSession?: GameSession;
1351
- ProtectionPolicy?: ProtectionPolicy | string;
1351
+ ProtectionPolicy?: ProtectionPolicy;
1352
1352
  }
1353
1353
  export interface DescribeGameSessionDetailsOutput {
1354
1354
  GameSessionDetails?: GameSessionDetail[];
@@ -1378,7 +1378,7 @@ export type GameSessionPlacementState =
1378
1378
  export interface GameSessionPlacement {
1379
1379
  PlacementId?: string;
1380
1380
  GameSessionQueueName?: string;
1381
- Status?: GameSessionPlacementState | string;
1381
+ Status?: GameSessionPlacementState;
1382
1382
  GameProperties?: GameProperty[];
1383
1383
  MaximumPlayerSessionCount?: number;
1384
1384
  GameSessionName?: string;
@@ -1440,9 +1440,9 @@ export interface Instance {
1440
1440
  InstanceId?: string;
1441
1441
  IpAddress?: string;
1442
1442
  DnsName?: string;
1443
- OperatingSystem?: OperatingSystem | string;
1444
- Type?: EC2InstanceType | string;
1445
- Status?: InstanceStatus | string;
1443
+ OperatingSystem?: OperatingSystem;
1444
+ Type?: EC2InstanceType;
1445
+ Status?: InstanceStatus;
1446
1446
  CreationTime?: Date;
1447
1447
  Location?: string;
1448
1448
  }
@@ -1486,7 +1486,7 @@ export interface MatchmakingTicket {
1486
1486
  TicketId?: string;
1487
1487
  ConfigurationName?: string;
1488
1488
  ConfigurationArn?: string;
1489
- Status?: MatchmakingConfigurationStatus | string;
1489
+ Status?: MatchmakingConfigurationStatus;
1490
1490
  StatusReason?: string;
1491
1491
  StatusMessage?: string;
1492
1492
  StartTime?: Date;
@@ -1548,7 +1548,7 @@ export type ScalingStatusType =
1548
1548
  (typeof ScalingStatusType)[keyof typeof ScalingStatusType];
1549
1549
  export interface DescribeScalingPoliciesInput {
1550
1550
  FleetId: string | undefined;
1551
- StatusFilter?: ScalingStatusType | string;
1551
+ StatusFilter?: ScalingStatusType;
1552
1552
  Limit?: number;
1553
1553
  NextToken?: string;
1554
1554
  Location?: string;
@@ -1587,16 +1587,16 @@ export interface ScalingPolicy {
1587
1587
  FleetId?: string;
1588
1588
  FleetArn?: string;
1589
1589
  Name?: string;
1590
- Status?: ScalingStatusType | string;
1590
+ Status?: ScalingStatusType;
1591
1591
  ScalingAdjustment?: number;
1592
- ScalingAdjustmentType?: ScalingAdjustmentType | string;
1593
- ComparisonOperator?: ComparisonOperatorType | string;
1592
+ ScalingAdjustmentType?: ScalingAdjustmentType;
1593
+ ComparisonOperator?: ComparisonOperatorType;
1594
1594
  Threshold?: number;
1595
1595
  EvaluationPeriods?: number;
1596
- MetricName?: MetricName | string;
1597
- PolicyType?: PolicyType | string;
1596
+ MetricName?: MetricName;
1597
+ PolicyType?: PolicyType;
1598
1598
  TargetConfiguration?: TargetConfiguration;
1599
- UpdateStatus?: LocationUpdateStatus | string;
1599
+ UpdateStatus?: LocationUpdateStatus;
1600
1600
  Location?: string;
1601
1601
  }
1602
1602
  export interface DescribeScalingPoliciesOutput {
@@ -1677,14 +1677,14 @@ export interface InstanceAccess {
1677
1677
  FleetId?: string;
1678
1678
  InstanceId?: string;
1679
1679
  IpAddress?: string;
1680
- OperatingSystem?: OperatingSystem | string;
1680
+ OperatingSystem?: OperatingSystem;
1681
1681
  Credentials?: InstanceCredentials;
1682
1682
  }
1683
1683
  export interface GetInstanceAccessOutput {
1684
1684
  InstanceAccess?: InstanceAccess;
1685
1685
  }
1686
1686
  export interface ListAliasesInput {
1687
- RoutingStrategyType?: RoutingStrategyType | string;
1687
+ RoutingStrategyType?: RoutingStrategyType;
1688
1688
  Name?: string;
1689
1689
  Limit?: number;
1690
1690
  NextToken?: string;
@@ -1694,7 +1694,7 @@ export interface ListAliasesOutput {
1694
1694
  NextToken?: string;
1695
1695
  }
1696
1696
  export interface ListBuildsInput {
1697
- Status?: BuildStatus | string;
1697
+ Status?: BuildStatus;
1698
1698
  Limit?: number;
1699
1699
  NextToken?: string;
1700
1700
  }
@@ -1737,7 +1737,7 @@ export declare const SortOrder: {
1737
1737
  export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
1738
1738
  export interface ListGameServersInput {
1739
1739
  GameServerGroupName: string | undefined;
1740
- SortOrder?: SortOrder | string;
1740
+ SortOrder?: SortOrder;
1741
1741
  Limit?: number;
1742
1742
  NextToken?: string;
1743
1743
  }
@@ -1752,7 +1752,7 @@ export declare const LocationFilter: {
1752
1752
  export type LocationFilter =
1753
1753
  (typeof LocationFilter)[keyof typeof LocationFilter];
1754
1754
  export interface ListLocationsInput {
1755
- Filters?: (LocationFilter | string)[];
1755
+ Filters?: LocationFilter[];
1756
1756
  Limit?: number;
1757
1757
  NextToken?: string;
1758
1758
  }
@@ -1778,12 +1778,12 @@ export interface PutScalingPolicyInput {
1778
1778
  Name: string | undefined;
1779
1779
  FleetId: string | undefined;
1780
1780
  ScalingAdjustment?: number;
1781
- ScalingAdjustmentType?: ScalingAdjustmentType | string;
1781
+ ScalingAdjustmentType?: ScalingAdjustmentType;
1782
1782
  Threshold?: number;
1783
- ComparisonOperator?: ComparisonOperatorType | string;
1783
+ ComparisonOperator?: ComparisonOperatorType;
1784
1784
  EvaluationPeriods?: number;
1785
- MetricName: MetricName | string | undefined;
1786
- PolicyType?: PolicyType | string;
1785
+ MetricName: MetricName | undefined;
1786
+ PolicyType?: PolicyType;
1787
1787
  TargetConfiguration?: TargetConfiguration;
1788
1788
  }
1789
1789
  export interface PutScalingPolicyOutput {
@@ -1826,7 +1826,7 @@ export interface ResolveAliasOutput {
1826
1826
  }
1827
1827
  export interface ResumeGameServerGroupInput {
1828
1828
  GameServerGroupName: string | undefined;
1829
- ResumeActions: (GameServerGroupAction | string)[] | undefined;
1829
+ ResumeActions: GameServerGroupAction[] | undefined;
1830
1830
  }
1831
1831
  export interface ResumeGameServerGroupOutput {
1832
1832
  GameServerGroup?: GameServerGroup;
@@ -1846,7 +1846,7 @@ export interface SearchGameSessionsOutput {
1846
1846
  }
1847
1847
  export interface StartFleetActionsInput {
1848
1848
  FleetId: string | undefined;
1849
- Actions: (FleetAction | string)[] | undefined;
1849
+ Actions: FleetAction[] | undefined;
1850
1850
  Location?: string;
1851
1851
  }
1852
1852
  export interface StartFleetActionsOutput {
@@ -1885,7 +1885,7 @@ export interface StartMatchmakingOutput {
1885
1885
  }
1886
1886
  export interface StopFleetActionsInput {
1887
1887
  FleetId: string | undefined;
1888
- Actions: (FleetAction | string)[] | undefined;
1888
+ Actions: FleetAction[] | undefined;
1889
1889
  Location?: string;
1890
1890
  }
1891
1891
  export interface StopFleetActionsOutput {
@@ -1904,7 +1904,7 @@ export interface StopMatchmakingInput {
1904
1904
  export interface StopMatchmakingOutput {}
1905
1905
  export interface SuspendGameServerGroupInput {
1906
1906
  GameServerGroupName: string | undefined;
1907
- SuspendActions: (GameServerGroupAction | string)[] | undefined;
1907
+ SuspendActions: GameServerGroupAction[] | undefined;
1908
1908
  }
1909
1909
  export interface SuspendGameServerGroupOutput {
1910
1910
  GameServerGroup?: GameServerGroup;
@@ -1940,7 +1940,7 @@ export interface UpdateFleetAttributesInput {
1940
1940
  FleetId: string | undefined;
1941
1941
  Name?: string;
1942
1942
  Description?: string;
1943
- NewGameSessionProtectionPolicy?: ProtectionPolicy | string;
1943
+ NewGameSessionProtectionPolicy?: ProtectionPolicy;
1944
1944
  ResourceCreationLimitPolicy?: ResourceCreationLimitPolicy;
1945
1945
  MetricGroups?: string[];
1946
1946
  AnywhereConfiguration?: AnywhereConfiguration;
@@ -45,8 +45,8 @@ export interface UpdateGameServerInput {
45
45
  GameServerGroupName: string | undefined;
46
46
  GameServerId: string | undefined;
47
47
  GameServerData?: string;
48
- UtilizationStatus?: GameServerUtilizationStatus | string;
49
- HealthCheck?: GameServerHealthCheck | string;
48
+ UtilizationStatus?: GameServerUtilizationStatus;
49
+ HealthCheck?: GameServerHealthCheck;
50
50
  }
51
51
  export interface UpdateGameServerOutput {
52
52
  GameServer?: GameServer;
@@ -55,8 +55,8 @@ export interface UpdateGameServerGroupInput {
55
55
  GameServerGroupName: string | undefined;
56
56
  RoleArn?: string;
57
57
  InstanceDefinitions?: InstanceDefinition[];
58
- GameServerProtectionPolicy?: GameServerProtectionPolicy | string;
59
- BalancingStrategy?: BalancingStrategy | string;
58
+ GameServerProtectionPolicy?: GameServerProtectionPolicy;
59
+ BalancingStrategy?: BalancingStrategy;
60
60
  }
61
61
  export interface UpdateGameServerGroupOutput {
62
62
  GameServerGroup?: GameServerGroup;
@@ -65,8 +65,8 @@ export interface UpdateGameSessionInput {
65
65
  GameSessionId: string | undefined;
66
66
  MaximumPlayerSessionCount?: number;
67
67
  Name?: string;
68
- PlayerSessionCreationPolicy?: PlayerSessionCreationPolicy | string;
69
- ProtectionPolicy?: ProtectionPolicy | string;
68
+ PlayerSessionCreationPolicy?: PlayerSessionCreationPolicy;
69
+ ProtectionPolicy?: ProtectionPolicy;
70
70
  }
71
71
  export interface UpdateGameSessionOutput {
72
72
  GameSession?: GameSession;
@@ -97,8 +97,8 @@ export interface UpdateMatchmakingConfigurationInput {
97
97
  CustomEventData?: string;
98
98
  GameProperties?: GameProperty[];
99
99
  GameSessionData?: string;
100
- BackfillMode?: BackfillMode | string;
101
- FlexMatchMode?: FlexMatchMode | string;
100
+ BackfillMode?: BackfillMode;
101
+ FlexMatchMode?: FlexMatchMode;
102
102
  }
103
103
  export interface UpdateMatchmakingConfigurationOutput {
104
104
  Configuration?: MatchmakingConfiguration;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-gamelift",
3
3
  "description": "AWS SDK for JavaScript Gamelift Client for Node.js, Browser and React Native",
4
- "version": "3.428.0",
4
+ "version": "3.430.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,28 +21,28 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.428.0",
25
- "@aws-sdk/credential-provider-node": "3.428.0",
26
- "@aws-sdk/middleware-host-header": "3.428.0",
24
+ "@aws-sdk/client-sts": "3.430.0",
25
+ "@aws-sdk/credential-provider-node": "3.430.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
27
  "@aws-sdk/middleware-logger": "3.428.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
29
  "@aws-sdk/middleware-signing": "3.428.0",
30
30
  "@aws-sdk/middleware-user-agent": "3.428.0",
31
- "@aws-sdk/region-config-resolver": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.430.0",
32
32
  "@aws-sdk/types": "3.428.0",
33
33
  "@aws-sdk/util-endpoints": "3.428.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.428.0",
35
- "@aws-sdk/util-user-agent-node": "3.428.0",
36
- "@smithy/config-resolver": "^2.0.14",
35
+ "@aws-sdk/util-user-agent-node": "3.430.0",
36
+ "@smithy/config-resolver": "^2.0.15",
37
37
  "@smithy/fetch-http-handler": "^2.2.3",
38
38
  "@smithy/hash-node": "^2.0.11",
39
39
  "@smithy/invalid-dependency": "^2.0.11",
40
40
  "@smithy/middleware-content-length": "^2.0.13",
41
- "@smithy/middleware-endpoint": "^2.1.0",
42
- "@smithy/middleware-retry": "^2.0.16",
41
+ "@smithy/middleware-endpoint": "^2.1.2",
42
+ "@smithy/middleware-retry": "^2.0.17",
43
43
  "@smithy/middleware-serde": "^2.0.11",
44
44
  "@smithy/middleware-stack": "^2.0.5",
45
- "@smithy/node-config-provider": "^2.1.1",
45
+ "@smithy/node-config-provider": "^2.1.2",
46
46
  "@smithy/node-http-handler": "^2.1.7",
47
47
  "@smithy/protocol-http": "^3.0.7",
48
48
  "@smithy/smithy-client": "^2.1.11",
@@ -52,7 +52,7 @@
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
54
  "@smithy/util-defaults-mode-browser": "^2.0.15",
55
- "@smithy/util-defaults-mode-node": "^2.0.19",
55
+ "@smithy/util-defaults-mode-node": "^2.0.20",
56
56
  "@smithy/util-retry": "^2.0.4",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
58
  "tslib": "^2.5.0"