From dedcc866359119b4bce553222d8d4b3da0d91516 Mon Sep 17 00:00:00 2001 From: awstools Date: Thu, 17 Aug 2023 18:22:42 +0000 Subject: [PATCH] feat(client-gamelift): Amazon GameLift updates its instance types support. --- clients/client-gamelift/src/GameLiftClient.ts | 12 +- .../src/clientConfiguration.ts | 7 + .../src/commands/AcceptMatchCommand.ts | 28 +- .../src/commands/CreateFleetCommand.ts | 4 +- .../src/commands/CreateGameSessionCommand.ts | 27 +- .../src/commands/DeregisterComputeCommand.ts | 4 +- .../src/commands/DescribeComputeCommand.ts | 11 +- .../DescribeEC2InstanceLimitsCommand.ts | 4 +- .../DescribeFleetAttributesCommand.ts | 2 +- .../commands/DescribeFleetCapacityCommand.ts | 2 +- .../DescribeFleetLocationCapacityCommand.ts | 2 +- .../src/commands/DescribeInstancesCommand.ts | 34 +- .../commands/DescribePlayerSessionsCommand.ts | 5 +- .../src/commands/GetComputeAccessCommand.ts | 29 +- .../commands/GetComputeAuthTokenCommand.ts | 32 +- .../src/commands/GetInstanceAccessCommand.ts | 40 +- .../src/commands/ListComputeCommand.ts | 11 +- .../src/commands/RegisterComputeCommand.ts | 21 +- .../src/commands/UpdateGameServerCommand.ts | 16 +- .../client-gamelift/src/endpoint/ruleset.ts | 2 +- .../client-gamelift/src/models/models_0.ts | 350 ++++--- .../client-gamelift/src/models/models_1.ts | 6 +- .../src/runtimeConfig.shared.ts | 1 + .../client-gamelift/src/runtimeExtensions.ts | 36 + codegen/sdk-codegen/aws-models/gamelift.json | 880 ++++++++++++------ 25 files changed, 1056 insertions(+), 510 deletions(-) create mode 100644 clients/client-gamelift/src/clientConfiguration.ts create mode 100644 clients/client-gamelift/src/runtimeExtensions.ts diff --git a/clients/client-gamelift/src/GameLiftClient.ts b/clients/client-gamelift/src/GameLiftClient.ts index 911dc8e8e47b..37622be9ca46 100644 --- a/clients/client-gamelift/src/GameLiftClient.ts +++ b/clients/client-gamelift/src/GameLiftClient.ts @@ -335,6 +335,7 @@ import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters"; import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig"; +import { resolveRuntimeExtensions, RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions"; export { __Client }; @@ -674,6 +675,11 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__ */ logger?: __Logger; + /** + * Optional extensions + */ + extensions?: RuntimeExtension[]; + /** * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK. */ @@ -704,6 +710,7 @@ export interface GameLiftClientConfig extends GameLiftClientConfigType {} */ export type GameLiftClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required & + RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig & RetryResolvedConfig & @@ -799,8 +806,9 @@ export class GameLiftClient extends __Client< const _config_5 = resolveHostHeaderConfig(_config_4); const _config_6 = resolveAwsAuthConfig(_config_5); const _config_7 = resolveUserAgentConfig(_config_6); - super(_config_7); - this.config = _config_7; + const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); + super(_config_8); + this.config = _config_8; this.middlewareStack.use(getRetryPlugin(this.config)); this.middlewareStack.use(getContentLengthPlugin(this.config)); this.middlewareStack.use(getHostHeaderPlugin(this.config)); diff --git a/clients/client-gamelift/src/clientConfiguration.ts b/clients/client-gamelift/src/clientConfiguration.ts new file mode 100644 index 000000000000..bc982e6edc75 --- /dev/null +++ b/clients/client-gamelift/src/clientConfiguration.ts @@ -0,0 +1,7 @@ +// smithy-typescript generated code +import { DefaultClientConfiguration } from "@smithy/types"; + +/** + * @internal + */ +export interface GameLiftClientConfiguration extends DefaultClientConfiguration {} diff --git a/clients/client-gamelift/src/commands/AcceptMatchCommand.ts b/clients/client-gamelift/src/commands/AcceptMatchCommand.ts index 747954983081..1027b6cbe905 100644 --- a/clients/client-gamelift/src/commands/AcceptMatchCommand.ts +++ b/clients/client-gamelift/src/commands/AcceptMatchCommand.ts @@ -42,19 +42,25 @@ export interface AcceptMatchCommandOutput extends AcceptMatchOutput, __MetadataB * within a specified time limit.

*

When FlexMatch builds a match, all the matchmaking tickets involved in the proposed * match are placed into status REQUIRES_ACCEPTANCE. This is a trigger for - * your game to get acceptance from all players in the ticket. Acceptances are only valid - * for tickets when they are in this status; all other acceptances result in an + * your game to get acceptance from all players in each ticket. Calls to this action are only valid + * for tickets that are in this status; calls for tickets not in this status result in an * error.

- *

To register acceptance, specify the ticket ID, a response, and one or more players. - * Once all players have registered acceptance, the matchmaking tickets advance to status - * PLACING, where a new game session is created for the match.

+ *

To register acceptance, specify the ticket ID, one or more players, and an acceptance response. + * When all players have accepted, Amazon GameLift advances the matchmaking tickets to status + * PLACING, and attempts to create a new game session for the match.

*

If any player rejects the match, or if acceptances are not received before a specified - * timeout, the proposed match is dropped. The matchmaking tickets are then handled in one - * of two ways: For tickets where one or more players rejected the match or failed to - * respond, the ticket status is set to CANCELLED, and processing is - * terminated. For tickets where players have accepted or not yet responded, the ticket - * status is returned to SEARCHING to find a new match. A new matchmaking - * request for these players can be submitted as needed.

+ * timeout, the proposed match is dropped. Each matchmaking ticket in the failed match is handled as follows:

+ *
    + *
  • + *

    If the ticket has one or more players who rejected the match or failed to + * respond, the ticket status is set CANCELLED and processing is + * terminated.

    + *
  • + *
  • + *

    If all players in the ticket accepted the match, the ticket + * status is returned to SEARCHING to find a new match.

    + *
  • + *
*

* Learn more *

diff --git a/clients/client-gamelift/src/commands/CreateFleetCommand.ts b/clients/client-gamelift/src/commands/CreateFleetCommand.ts index c6b0c756993d..bac54b0027c6 100644 --- a/clients/client-gamelift/src/commands/CreateFleetCommand.ts +++ b/clients/client-gamelift/src/commands/CreateFleetCommand.ts @@ -88,7 +88,7 @@ export interface CreateFleetCommandOutput extends CreateFleetOutput, __MetadataB * LogPaths: [ // StringList * "STRING_VALUE", * ], - * EC2InstanceType: "t2.micro" || "t2.small" || "t2.medium" || "t2.large" || "c3.large" || "c3.xlarge" || "c3.2xlarge" || "c3.4xlarge" || "c3.8xlarge" || "c4.large" || "c4.xlarge" || "c4.2xlarge" || "c4.4xlarge" || "c4.8xlarge" || "c5.large" || "c5.xlarge" || "c5.2xlarge" || "c5.4xlarge" || "c5.9xlarge" || "c5.12xlarge" || "c5.18xlarge" || "c5.24xlarge" || "c5a.large" || "c5a.xlarge" || "c5a.2xlarge" || "c5a.4xlarge" || "c5a.8xlarge" || "c5a.12xlarge" || "c5a.16xlarge" || "c5a.24xlarge" || "r3.large" || "r3.xlarge" || "r3.2xlarge" || "r3.4xlarge" || "r3.8xlarge" || "r4.large" || "r4.xlarge" || "r4.2xlarge" || "r4.4xlarge" || "r4.8xlarge" || "r4.16xlarge" || "r5.large" || "r5.xlarge" || "r5.2xlarge" || "r5.4xlarge" || "r5.8xlarge" || "r5.12xlarge" || "r5.16xlarge" || "r5.24xlarge" || "r5a.large" || "r5a.xlarge" || "r5a.2xlarge" || "r5a.4xlarge" || "r5a.8xlarge" || "r5a.12xlarge" || "r5a.16xlarge" || "r5a.24xlarge" || "m3.medium" || "m3.large" || "m3.xlarge" || "m3.2xlarge" || "m4.large" || "m4.xlarge" || "m4.2xlarge" || "m4.4xlarge" || "m4.10xlarge" || "m5.large" || "m5.xlarge" || "m5.2xlarge" || "m5.4xlarge" || "m5.8xlarge" || "m5.12xlarge" || "m5.16xlarge" || "m5.24xlarge" || "m5a.large" || "m5a.xlarge" || "m5a.2xlarge" || "m5a.4xlarge" || "m5a.8xlarge" || "m5a.12xlarge" || "m5a.16xlarge" || "m5a.24xlarge" || "c5d.large" || "c5d.xlarge" || "c5d.2xlarge" || "c5d.4xlarge" || "c5d.9xlarge" || "c5d.12xlarge" || "c5d.18xlarge" || "c5d.24xlarge" || "c6a.large" || "c6a.xlarge" || "c6a.2xlarge" || "c6a.4xlarge" || "c6a.8xlarge" || "c6a.12xlarge" || "c6a.16xlarge" || "c6a.24xlarge" || "c6i.large" || "c6i.xlarge" || "c6i.2xlarge" || "c6i.4xlarge" || "c6i.8xlarge" || "c6i.12xlarge" || "c6i.16xlarge" || "c6i.24xlarge" || "r5d.large" || "r5d.xlarge" || "r5d.2xlarge" || "r5d.4xlarge" || "r5d.8xlarge" || "r5d.12xlarge" || "r5d.16xlarge" || "r5d.24xlarge", + * EC2InstanceType: "t2.micro" || "t2.small" || "t2.medium" || "t2.large" || "c3.large" || "c3.xlarge" || "c3.2xlarge" || "c3.4xlarge" || "c3.8xlarge" || "c4.large" || "c4.xlarge" || "c4.2xlarge" || "c4.4xlarge" || "c4.8xlarge" || "c5.large" || "c5.xlarge" || "c5.2xlarge" || "c5.4xlarge" || "c5.9xlarge" || "c5.12xlarge" || "c5.18xlarge" || "c5.24xlarge" || "c5a.large" || "c5a.xlarge" || "c5a.2xlarge" || "c5a.4xlarge" || "c5a.8xlarge" || "c5a.12xlarge" || "c5a.16xlarge" || "c5a.24xlarge" || "r3.large" || "r3.xlarge" || "r3.2xlarge" || "r3.4xlarge" || "r3.8xlarge" || "r4.large" || "r4.xlarge" || "r4.2xlarge" || "r4.4xlarge" || "r4.8xlarge" || "r4.16xlarge" || "r5.large" || "r5.xlarge" || "r5.2xlarge" || "r5.4xlarge" || "r5.8xlarge" || "r5.12xlarge" || "r5.16xlarge" || "r5.24xlarge" || "r5a.large" || "r5a.xlarge" || "r5a.2xlarge" || "r5a.4xlarge" || "r5a.8xlarge" || "r5a.12xlarge" || "r5a.16xlarge" || "r5a.24xlarge" || "m3.medium" || "m3.large" || "m3.xlarge" || "m3.2xlarge" || "m4.large" || "m4.xlarge" || "m4.2xlarge" || "m4.4xlarge" || "m4.10xlarge" || "m5.large" || "m5.xlarge" || "m5.2xlarge" || "m5.4xlarge" || "m5.8xlarge" || "m5.12xlarge" || "m5.16xlarge" || "m5.24xlarge" || "m5a.large" || "m5a.xlarge" || "m5a.2xlarge" || "m5a.4xlarge" || "m5a.8xlarge" || "m5a.12xlarge" || "m5a.16xlarge" || "m5a.24xlarge" || "c5d.large" || "c5d.xlarge" || "c5d.2xlarge" || "c5d.4xlarge" || "c5d.9xlarge" || "c5d.12xlarge" || "c5d.18xlarge" || "c5d.24xlarge" || "c6a.large" || "c6a.xlarge" || "c6a.2xlarge" || "c6a.4xlarge" || "c6a.8xlarge" || "c6a.12xlarge" || "c6a.16xlarge" || "c6a.24xlarge" || "c6i.large" || "c6i.xlarge" || "c6i.2xlarge" || "c6i.4xlarge" || "c6i.8xlarge" || "c6i.12xlarge" || "c6i.16xlarge" || "c6i.24xlarge" || "r5d.large" || "r5d.xlarge" || "r5d.2xlarge" || "r5d.4xlarge" || "r5d.8xlarge" || "r5d.12xlarge" || "r5d.16xlarge" || "r5d.24xlarge" || "m6g.medium" || "m6g.large" || "m6g.xlarge" || "m6g.2xlarge" || "m6g.4xlarge" || "m6g.8xlarge" || "m6g.12xlarge" || "m6g.16xlarge" || "c6g.medium" || "c6g.large" || "c6g.xlarge" || "c6g.2xlarge" || "c6g.4xlarge" || "c6g.8xlarge" || "c6g.12xlarge" || "c6g.16xlarge" || "r6g.medium" || "r6g.large" || "r6g.xlarge" || "r6g.2xlarge" || "r6g.4xlarge" || "r6g.8xlarge" || "r6g.12xlarge" || "r6g.16xlarge" || "c6gn.medium" || "c6gn.large" || "c6gn.xlarge" || "c6gn.2xlarge" || "c6gn.4xlarge" || "c6gn.8xlarge" || "c6gn.12xlarge" || "c6gn.16xlarge" || "c7g.medium" || "c7g.large" || "c7g.xlarge" || "c7g.2xlarge" || "c7g.4xlarge" || "c7g.8xlarge" || "c7g.12xlarge" || "c7g.16xlarge" || "r7g.medium" || "r7g.large" || "r7g.xlarge" || "r7g.2xlarge" || "r7g.4xlarge" || "r7g.8xlarge" || "r7g.12xlarge" || "r7g.16xlarge" || "m7g.medium" || "m7g.large" || "m7g.xlarge" || "m7g.2xlarge" || "m7g.4xlarge" || "m7g.8xlarge" || "m7g.12xlarge" || "m7g.16xlarge" || "g5g.xlarge" || "g5g.2xlarge" || "g5g.4xlarge" || "g5g.8xlarge" || "g5g.16xlarge", * EC2InboundPermissions: [ // IpPermissionsList * { // IpPermission * FromPort: Number("int"), // required @@ -146,7 +146,7 @@ export interface CreateFleetCommandOutput extends CreateFleetOutput, __MetadataB * // FleetId: "STRING_VALUE", * // FleetArn: "STRING_VALUE", * // FleetType: "ON_DEMAND" || "SPOT", - * // InstanceType: "t2.micro" || "t2.small" || "t2.medium" || "t2.large" || "c3.large" || "c3.xlarge" || "c3.2xlarge" || "c3.4xlarge" || "c3.8xlarge" || "c4.large" || "c4.xlarge" || "c4.2xlarge" || "c4.4xlarge" || "c4.8xlarge" || "c5.large" || "c5.xlarge" || "c5.2xlarge" || "c5.4xlarge" || "c5.9xlarge" || "c5.12xlarge" || "c5.18xlarge" || "c5.24xlarge" || "c5a.large" || "c5a.xlarge" || "c5a.2xlarge" || "c5a.4xlarge" || "c5a.8xlarge" || "c5a.12xlarge" || "c5a.16xlarge" || "c5a.24xlarge" || "r3.large" || "r3.xlarge" || "r3.2xlarge" || "r3.4xlarge" || "r3.8xlarge" || "r4.large" || "r4.xlarge" || "r4.2xlarge" || "r4.4xlarge" || "r4.8xlarge" || "r4.16xlarge" || "r5.large" || "r5.xlarge" || "r5.2xlarge" || "r5.4xlarge" || "r5.8xlarge" || "r5.12xlarge" || "r5.16xlarge" || "r5.24xlarge" || "r5a.large" || "r5a.xlarge" || "r5a.2xlarge" || "r5a.4xlarge" || "r5a.8xlarge" || "r5a.12xlarge" || "r5a.16xlarge" || "r5a.24xlarge" || "m3.medium" || "m3.large" || "m3.xlarge" || "m3.2xlarge" || "m4.large" || "m4.xlarge" || "m4.2xlarge" || "m4.4xlarge" || "m4.10xlarge" || "m5.large" || "m5.xlarge" || "m5.2xlarge" || "m5.4xlarge" || "m5.8xlarge" || "m5.12xlarge" || "m5.16xlarge" || "m5.24xlarge" || "m5a.large" || "m5a.xlarge" || "m5a.2xlarge" || "m5a.4xlarge" || "m5a.8xlarge" || "m5a.12xlarge" || "m5a.16xlarge" || "m5a.24xlarge" || "c5d.large" || "c5d.xlarge" || "c5d.2xlarge" || "c5d.4xlarge" || "c5d.9xlarge" || "c5d.12xlarge" || "c5d.18xlarge" || "c5d.24xlarge" || "c6a.large" || "c6a.xlarge" || "c6a.2xlarge" || "c6a.4xlarge" || "c6a.8xlarge" || "c6a.12xlarge" || "c6a.16xlarge" || "c6a.24xlarge" || "c6i.large" || "c6i.xlarge" || "c6i.2xlarge" || "c6i.4xlarge" || "c6i.8xlarge" || "c6i.12xlarge" || "c6i.16xlarge" || "c6i.24xlarge" || "r5d.large" || "r5d.xlarge" || "r5d.2xlarge" || "r5d.4xlarge" || "r5d.8xlarge" || "r5d.12xlarge" || "r5d.16xlarge" || "r5d.24xlarge", + * // InstanceType: "t2.micro" || "t2.small" || "t2.medium" || "t2.large" || "c3.large" || "c3.xlarge" || "c3.2xlarge" || "c3.4xlarge" || "c3.8xlarge" || "c4.large" || "c4.xlarge" || "c4.2xlarge" || "c4.4xlarge" || "c4.8xlarge" || "c5.large" || "c5.xlarge" || "c5.2xlarge" || "c5.4xlarge" || "c5.9xlarge" || "c5.12xlarge" || "c5.18xlarge" || "c5.24xlarge" || "c5a.large" || "c5a.xlarge" || "c5a.2xlarge" || "c5a.4xlarge" || "c5a.8xlarge" || "c5a.12xlarge" || "c5a.16xlarge" || "c5a.24xlarge" || "r3.large" || "r3.xlarge" || "r3.2xlarge" || "r3.4xlarge" || "r3.8xlarge" || "r4.large" || "r4.xlarge" || "r4.2xlarge" || "r4.4xlarge" || "r4.8xlarge" || "r4.16xlarge" || "r5.large" || "r5.xlarge" || "r5.2xlarge" || "r5.4xlarge" || "r5.8xlarge" || "r5.12xlarge" || "r5.16xlarge" || "r5.24xlarge" || "r5a.large" || "r5a.xlarge" || "r5a.2xlarge" || "r5a.4xlarge" || "r5a.8xlarge" || "r5a.12xlarge" || "r5a.16xlarge" || "r5a.24xlarge" || "m3.medium" || "m3.large" || "m3.xlarge" || "m3.2xlarge" || "m4.large" || "m4.xlarge" || "m4.2xlarge" || "m4.4xlarge" || "m4.10xlarge" || "m5.large" || "m5.xlarge" || "m5.2xlarge" || "m5.4xlarge" || "m5.8xlarge" || "m5.12xlarge" || "m5.16xlarge" || "m5.24xlarge" || "m5a.large" || "m5a.xlarge" || "m5a.2xlarge" || "m5a.4xlarge" || "m5a.8xlarge" || "m5a.12xlarge" || "m5a.16xlarge" || "m5a.24xlarge" || "c5d.large" || "c5d.xlarge" || "c5d.2xlarge" || "c5d.4xlarge" || "c5d.9xlarge" || "c5d.12xlarge" || "c5d.18xlarge" || "c5d.24xlarge" || "c6a.large" || "c6a.xlarge" || "c6a.2xlarge" || "c6a.4xlarge" || "c6a.8xlarge" || "c6a.12xlarge" || "c6a.16xlarge" || "c6a.24xlarge" || "c6i.large" || "c6i.xlarge" || "c6i.2xlarge" || "c6i.4xlarge" || "c6i.8xlarge" || "c6i.12xlarge" || "c6i.16xlarge" || "c6i.24xlarge" || "r5d.large" || "r5d.xlarge" || "r5d.2xlarge" || "r5d.4xlarge" || "r5d.8xlarge" || "r5d.12xlarge" || "r5d.16xlarge" || "r5d.24xlarge" || "m6g.medium" || "m6g.large" || "m6g.xlarge" || "m6g.2xlarge" || "m6g.4xlarge" || "m6g.8xlarge" || "m6g.12xlarge" || "m6g.16xlarge" || "c6g.medium" || "c6g.large" || "c6g.xlarge" || "c6g.2xlarge" || "c6g.4xlarge" || "c6g.8xlarge" || "c6g.12xlarge" || "c6g.16xlarge" || "r6g.medium" || "r6g.large" || "r6g.xlarge" || "r6g.2xlarge" || "r6g.4xlarge" || "r6g.8xlarge" || "r6g.12xlarge" || "r6g.16xlarge" || "c6gn.medium" || "c6gn.large" || "c6gn.xlarge" || "c6gn.2xlarge" || "c6gn.4xlarge" || "c6gn.8xlarge" || "c6gn.12xlarge" || "c6gn.16xlarge" || "c7g.medium" || "c7g.large" || "c7g.xlarge" || "c7g.2xlarge" || "c7g.4xlarge" || "c7g.8xlarge" || "c7g.12xlarge" || "c7g.16xlarge" || "r7g.medium" || "r7g.large" || "r7g.xlarge" || "r7g.2xlarge" || "r7g.4xlarge" || "r7g.8xlarge" || "r7g.12xlarge" || "r7g.16xlarge" || "m7g.medium" || "m7g.large" || "m7g.xlarge" || "m7g.2xlarge" || "m7g.4xlarge" || "m7g.8xlarge" || "m7g.12xlarge" || "m7g.16xlarge" || "g5g.xlarge" || "g5g.2xlarge" || "g5g.4xlarge" || "g5g.8xlarge" || "g5g.16xlarge", * // Description: "STRING_VALUE", * // Name: "STRING_VALUE", * // CreationTime: new Date("TIMESTAMP"), diff --git a/clients/client-gamelift/src/commands/CreateGameSessionCommand.ts b/clients/client-gamelift/src/commands/CreateGameSessionCommand.ts index 058e86972099..057c0ab85de7 100644 --- a/clients/client-gamelift/src/commands/CreateGameSessionCommand.ts +++ b/clients/client-gamelift/src/commands/CreateGameSessionCommand.ts @@ -39,12 +39,12 @@ export interface CreateGameSessionCommandOutput extends CreateGameSessionOutput, *

Creates a multiplayer game session for players in a specific fleet location. This * operation prompts an available server process to start a game session and retrieves * connection information for the new game session. As an alternative, consider using the - * Amazon GameLift game session placement feature with StartGameSessionPlacement , which uses FleetIQ algorithms and queues to + * Amazon GameLift game session placement feature with StartGameSessionPlacement , which uses the FleetIQ algorithm and queues to * optimize the placement process.

*

When creating a game session, you specify exactly where you want to place it and - * provide a set of game session configuration settings. The fleet must be in - * ACTIVE status before a game session can be created in it.

- *

This operation can be used in the following ways:

+ * provide a set of game session configuration settings. The target fleet must be in + * ACTIVE status.

+ *

You can use this operation in the following ways:

*
    *
  • *

    To create a game session on an instance in a fleet's home Region, provide a @@ -55,16 +55,19 @@ export interface CreateGameSessionCommandOutput extends CreateGameSessionOutput, * a fleet or alias ID and a location name, along with your game session * configuration.

    *
  • + *
  • + *

    To create a game session on an instance in an Anywhere fleet, specify the + * fleet's custom location.

    + *
  • *
- *

If successful, a workflow is initiated to start a new game session. A - * GameSession object is returned containing the game session - * configuration and status. When the status is ACTIVE, game session - * connection information is provided and player sessions can be created for the game - * session. By default, newly created game sessions are open to new players. You can - * restrict new player access by using UpdateGameSession to change the game session's player session creation + *

If successful, Amazon GameLift initiates a workflow to start a new game session and returns a + * GameSession object containing the game session configuration and + * status. When the game session status is ACTIVE, it is updated with + * connection information and you can create player sessions for the game session. By + * default, newly created game sessions are open to new players. You can restrict new + * player access by using UpdateGameSession to change the game session's player session creation * policy.

- *

Game session logs are retained for all active game sessions for 14 days. To access the - * logs, call GetGameSessionLogUrl to download the log files.

+ *

Amazon GameLift retains logs for active for 14 days. To access the logs, call GetGameSessionLogUrl to download the log files.

*

* Available in Amazon GameLift Local. *

diff --git a/clients/client-gamelift/src/commands/DeregisterComputeCommand.ts b/clients/client-gamelift/src/commands/DeregisterComputeCommand.ts index 1475e90abf12..992fd340a1c0 100644 --- a/clients/client-gamelift/src/commands/DeregisterComputeCommand.ts +++ b/clients/client-gamelift/src/commands/DeregisterComputeCommand.ts @@ -36,8 +36,8 @@ export interface DeregisterComputeCommandOutput extends DeregisterComputeOutput, /** * @public - *

Removes a compute resource from the specified fleet. Deregister your compute resources - * before you delete the compute.

+ *

Removes a compute resource from an Amazon GameLift Anywhere fleet. Deregistered computes can no + * longer host game sessions through Amazon GameLift.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-gamelift/src/commands/DescribeComputeCommand.ts b/clients/client-gamelift/src/commands/DescribeComputeCommand.ts index cbd9cf0bbc48..1242917abb44 100644 --- a/clients/client-gamelift/src/commands/DescribeComputeCommand.ts +++ b/clients/client-gamelift/src/commands/DescribeComputeCommand.ts @@ -36,9 +36,12 @@ export interface DescribeComputeCommandOutput extends DescribeComputeOutput, __M /** * @public - *

Retrieves properties for a compute resource. To request a compute resource specify the - * fleet ID and compute name. If successful, Amazon GameLift returns an object containing the build - * properties.

+ *

Retrieves properties for a compute resource in an Amazon GameLift fleet. Call ListCompute to get a list of compute resources in a fleet. You can + * request information for computes in either managed EC2 fleets or Anywhere fleets.

+ *

To request compute properties, specify the compute name and fleet ID.

+ *

If successful, this operation returns details for the requested compute resource. For + * managed EC2 fleets, this operation returns the fleet's EC2 instances. For Anywhere + * fleets, this operation returns the fleet's registered computes.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -63,7 +66,7 @@ export interface DescribeComputeCommandOutput extends DescribeComputeOutput, __M * // Location: "STRING_VALUE", * // CreationTime: new Date("TIMESTAMP"), * // OperatingSystem: "WINDOWS_2012" || "AMAZON_LINUX" || "AMAZON_LINUX_2" || "WINDOWS_2016" || "AMAZON_LINUX_2023", - * // Type: "t2.micro" || "t2.small" || "t2.medium" || "t2.large" || "c3.large" || "c3.xlarge" || "c3.2xlarge" || "c3.4xlarge" || "c3.8xlarge" || "c4.large" || "c4.xlarge" || "c4.2xlarge" || "c4.4xlarge" || "c4.8xlarge" || "c5.large" || "c5.xlarge" || "c5.2xlarge" || "c5.4xlarge" || "c5.9xlarge" || "c5.12xlarge" || "c5.18xlarge" || "c5.24xlarge" || "c5a.large" || "c5a.xlarge" || "c5a.2xlarge" || "c5a.4xlarge" || "c5a.8xlarge" || "c5a.12xlarge" || "c5a.16xlarge" || "c5a.24xlarge" || "r3.large" || "r3.xlarge" || "r3.2xlarge" || "r3.4xlarge" || "r3.8xlarge" || "r4.large" || "r4.xlarge" || "r4.2xlarge" || "r4.4xlarge" || "r4.8xlarge" || "r4.16xlarge" || "r5.large" || "r5.xlarge" || "r5.2xlarge" || "r5.4xlarge" || "r5.8xlarge" || "r5.12xlarge" || "r5.16xlarge" || "r5.24xlarge" || "r5a.large" || "r5a.xlarge" || "r5a.2xlarge" || "r5a.4xlarge" || "r5a.8xlarge" || "r5a.12xlarge" || "r5a.16xlarge" || "r5a.24xlarge" || "m3.medium" || "m3.large" || "m3.xlarge" || "m3.2xlarge" || "m4.large" || "m4.xlarge" || "m4.2xlarge" || "m4.4xlarge" || "m4.10xlarge" || "m5.large" || "m5.xlarge" || "m5.2xlarge" || "m5.4xlarge" || "m5.8xlarge" || "m5.12xlarge" || "m5.16xlarge" || "m5.24xlarge" || "m5a.large" || "m5a.xlarge" || "m5a.2xlarge" || "m5a.4xlarge" || "m5a.8xlarge" || "m5a.12xlarge" || "m5a.16xlarge" || "m5a.24xlarge" || "c5d.large" || "c5d.xlarge" || "c5d.2xlarge" || "c5d.4xlarge" || "c5d.9xlarge" || "c5d.12xlarge" || "c5d.18xlarge" || "c5d.24xlarge" || "c6a.large" || "c6a.xlarge" || "c6a.2xlarge" || "c6a.4xlarge" || "c6a.8xlarge" || "c6a.12xlarge" || "c6a.16xlarge" || "c6a.24xlarge" || "c6i.large" || "c6i.xlarge" || "c6i.2xlarge" || "c6i.4xlarge" || "c6i.8xlarge" || "c6i.12xlarge" || "c6i.16xlarge" || "c6i.24xlarge" || "r5d.large" || "r5d.xlarge" || "r5d.2xlarge" || "r5d.4xlarge" || "r5d.8xlarge" || "r5d.12xlarge" || "r5d.16xlarge" || "r5d.24xlarge", + * // Type: "t2.micro" || "t2.small" || "t2.medium" || "t2.large" || "c3.large" || "c3.xlarge" || "c3.2xlarge" || "c3.4xlarge" || "c3.8xlarge" || "c4.large" || "c4.xlarge" || "c4.2xlarge" || "c4.4xlarge" || "c4.8xlarge" || "c5.large" || "c5.xlarge" || "c5.2xlarge" || "c5.4xlarge" || "c5.9xlarge" || "c5.12xlarge" || "c5.18xlarge" || "c5.24xlarge" || "c5a.large" || "c5a.xlarge" || "c5a.2xlarge" || "c5a.4xlarge" || "c5a.8xlarge" || "c5a.12xlarge" || "c5a.16xlarge" || "c5a.24xlarge" || "r3.large" || "r3.xlarge" || "r3.2xlarge" || "r3.4xlarge" || "r3.8xlarge" || "r4.large" || "r4.xlarge" || "r4.2xlarge" || "r4.4xlarge" || "r4.8xlarge" || "r4.16xlarge" || "r5.large" || "r5.xlarge" || "r5.2xlarge" || "r5.4xlarge" || "r5.8xlarge" || "r5.12xlarge" || "r5.16xlarge" || "r5.24xlarge" || "r5a.large" || "r5a.xlarge" || "r5a.2xlarge" || "r5a.4xlarge" || "r5a.8xlarge" || "r5a.12xlarge" || "r5a.16xlarge" || "r5a.24xlarge" || "m3.medium" || "m3.large" || "m3.xlarge" || "m3.2xlarge" || "m4.large" || "m4.xlarge" || "m4.2xlarge" || "m4.4xlarge" || "m4.10xlarge" || "m5.large" || "m5.xlarge" || "m5.2xlarge" || "m5.4xlarge" || "m5.8xlarge" || "m5.12xlarge" || "m5.16xlarge" || "m5.24xlarge" || "m5a.large" || "m5a.xlarge" || "m5a.2xlarge" || "m5a.4xlarge" || "m5a.8xlarge" || "m5a.12xlarge" || "m5a.16xlarge" || "m5a.24xlarge" || "c5d.large" || "c5d.xlarge" || "c5d.2xlarge" || "c5d.4xlarge" || "c5d.9xlarge" || "c5d.12xlarge" || "c5d.18xlarge" || "c5d.24xlarge" || "c6a.large" || "c6a.xlarge" || "c6a.2xlarge" || "c6a.4xlarge" || "c6a.8xlarge" || "c6a.12xlarge" || "c6a.16xlarge" || "c6a.24xlarge" || "c6i.large" || "c6i.xlarge" || "c6i.2xlarge" || "c6i.4xlarge" || "c6i.8xlarge" || "c6i.12xlarge" || "c6i.16xlarge" || "c6i.24xlarge" || "r5d.large" || "r5d.xlarge" || "r5d.2xlarge" || "r5d.4xlarge" || "r5d.8xlarge" || "r5d.12xlarge" || "r5d.16xlarge" || "r5d.24xlarge" || "m6g.medium" || "m6g.large" || "m6g.xlarge" || "m6g.2xlarge" || "m6g.4xlarge" || "m6g.8xlarge" || "m6g.12xlarge" || "m6g.16xlarge" || "c6g.medium" || "c6g.large" || "c6g.xlarge" || "c6g.2xlarge" || "c6g.4xlarge" || "c6g.8xlarge" || "c6g.12xlarge" || "c6g.16xlarge" || "r6g.medium" || "r6g.large" || "r6g.xlarge" || "r6g.2xlarge" || "r6g.4xlarge" || "r6g.8xlarge" || "r6g.12xlarge" || "r6g.16xlarge" || "c6gn.medium" || "c6gn.large" || "c6gn.xlarge" || "c6gn.2xlarge" || "c6gn.4xlarge" || "c6gn.8xlarge" || "c6gn.12xlarge" || "c6gn.16xlarge" || "c7g.medium" || "c7g.large" || "c7g.xlarge" || "c7g.2xlarge" || "c7g.4xlarge" || "c7g.8xlarge" || "c7g.12xlarge" || "c7g.16xlarge" || "r7g.medium" || "r7g.large" || "r7g.xlarge" || "r7g.2xlarge" || "r7g.4xlarge" || "r7g.8xlarge" || "r7g.12xlarge" || "r7g.16xlarge" || "m7g.medium" || "m7g.large" || "m7g.xlarge" || "m7g.2xlarge" || "m7g.4xlarge" || "m7g.8xlarge" || "m7g.12xlarge" || "m7g.16xlarge" || "g5g.xlarge" || "g5g.2xlarge" || "g5g.4xlarge" || "g5g.8xlarge" || "g5g.16xlarge", * // GameLiftServiceSdkEndpoint: "STRING_VALUE", * // }, * // }; diff --git a/clients/client-gamelift/src/commands/DescribeEC2InstanceLimitsCommand.ts b/clients/client-gamelift/src/commands/DescribeEC2InstanceLimitsCommand.ts index 7243d5196418..f3ac8b51be1c 100644 --- a/clients/client-gamelift/src/commands/DescribeEC2InstanceLimitsCommand.ts +++ b/clients/client-gamelift/src/commands/DescribeEC2InstanceLimitsCommand.ts @@ -98,7 +98,7 @@ export interface DescribeEC2InstanceLimitsCommandOutput extends DescribeEC2Insta * // const { GameLiftClient, DescribeEC2InstanceLimitsCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import * const client = new GameLiftClient(config); * const input = { // DescribeEC2InstanceLimitsInput - * EC2InstanceType: "t2.micro" || "t2.small" || "t2.medium" || "t2.large" || "c3.large" || "c3.xlarge" || "c3.2xlarge" || "c3.4xlarge" || "c3.8xlarge" || "c4.large" || "c4.xlarge" || "c4.2xlarge" || "c4.4xlarge" || "c4.8xlarge" || "c5.large" || "c5.xlarge" || "c5.2xlarge" || "c5.4xlarge" || "c5.9xlarge" || "c5.12xlarge" || "c5.18xlarge" || "c5.24xlarge" || "c5a.large" || "c5a.xlarge" || "c5a.2xlarge" || "c5a.4xlarge" || "c5a.8xlarge" || "c5a.12xlarge" || "c5a.16xlarge" || "c5a.24xlarge" || "r3.large" || "r3.xlarge" || "r3.2xlarge" || "r3.4xlarge" || "r3.8xlarge" || "r4.large" || "r4.xlarge" || "r4.2xlarge" || "r4.4xlarge" || "r4.8xlarge" || "r4.16xlarge" || "r5.large" || "r5.xlarge" || "r5.2xlarge" || "r5.4xlarge" || "r5.8xlarge" || "r5.12xlarge" || "r5.16xlarge" || "r5.24xlarge" || "r5a.large" || "r5a.xlarge" || "r5a.2xlarge" || "r5a.4xlarge" || "r5a.8xlarge" || "r5a.12xlarge" || "r5a.16xlarge" || "r5a.24xlarge" || "m3.medium" || "m3.large" || "m3.xlarge" || "m3.2xlarge" || "m4.large" || "m4.xlarge" || "m4.2xlarge" || "m4.4xlarge" || "m4.10xlarge" || "m5.large" || "m5.xlarge" || "m5.2xlarge" || "m5.4xlarge" || "m5.8xlarge" || "m5.12xlarge" || "m5.16xlarge" || "m5.24xlarge" || "m5a.large" || "m5a.xlarge" || "m5a.2xlarge" || "m5a.4xlarge" || "m5a.8xlarge" || "m5a.12xlarge" || "m5a.16xlarge" || "m5a.24xlarge" || "c5d.large" || "c5d.xlarge" || "c5d.2xlarge" || "c5d.4xlarge" || "c5d.9xlarge" || "c5d.12xlarge" || "c5d.18xlarge" || "c5d.24xlarge" || "c6a.large" || "c6a.xlarge" || "c6a.2xlarge" || "c6a.4xlarge" || "c6a.8xlarge" || "c6a.12xlarge" || "c6a.16xlarge" || "c6a.24xlarge" || "c6i.large" || "c6i.xlarge" || "c6i.2xlarge" || "c6i.4xlarge" || "c6i.8xlarge" || "c6i.12xlarge" || "c6i.16xlarge" || "c6i.24xlarge" || "r5d.large" || "r5d.xlarge" || "r5d.2xlarge" || "r5d.4xlarge" || "r5d.8xlarge" || "r5d.12xlarge" || "r5d.16xlarge" || "r5d.24xlarge", + * EC2InstanceType: "t2.micro" || "t2.small" || "t2.medium" || "t2.large" || "c3.large" || "c3.xlarge" || "c3.2xlarge" || "c3.4xlarge" || "c3.8xlarge" || "c4.large" || "c4.xlarge" || "c4.2xlarge" || "c4.4xlarge" || "c4.8xlarge" || "c5.large" || "c5.xlarge" || "c5.2xlarge" || "c5.4xlarge" || "c5.9xlarge" || "c5.12xlarge" || "c5.18xlarge" || "c5.24xlarge" || "c5a.large" || "c5a.xlarge" || "c5a.2xlarge" || "c5a.4xlarge" || "c5a.8xlarge" || "c5a.12xlarge" || "c5a.16xlarge" || "c5a.24xlarge" || "r3.large" || "r3.xlarge" || "r3.2xlarge" || "r3.4xlarge" || "r3.8xlarge" || "r4.large" || "r4.xlarge" || "r4.2xlarge" || "r4.4xlarge" || "r4.8xlarge" || "r4.16xlarge" || "r5.large" || "r5.xlarge" || "r5.2xlarge" || "r5.4xlarge" || "r5.8xlarge" || "r5.12xlarge" || "r5.16xlarge" || "r5.24xlarge" || "r5a.large" || "r5a.xlarge" || "r5a.2xlarge" || "r5a.4xlarge" || "r5a.8xlarge" || "r5a.12xlarge" || "r5a.16xlarge" || "r5a.24xlarge" || "m3.medium" || "m3.large" || "m3.xlarge" || "m3.2xlarge" || "m4.large" || "m4.xlarge" || "m4.2xlarge" || "m4.4xlarge" || "m4.10xlarge" || "m5.large" || "m5.xlarge" || "m5.2xlarge" || "m5.4xlarge" || "m5.8xlarge" || "m5.12xlarge" || "m5.16xlarge" || "m5.24xlarge" || "m5a.large" || "m5a.xlarge" || "m5a.2xlarge" || "m5a.4xlarge" || "m5a.8xlarge" || "m5a.12xlarge" || "m5a.16xlarge" || "m5a.24xlarge" || "c5d.large" || "c5d.xlarge" || "c5d.2xlarge" || "c5d.4xlarge" || "c5d.9xlarge" || "c5d.12xlarge" || "c5d.18xlarge" || "c5d.24xlarge" || "c6a.large" || "c6a.xlarge" || "c6a.2xlarge" || "c6a.4xlarge" || "c6a.8xlarge" || "c6a.12xlarge" || "c6a.16xlarge" || "c6a.24xlarge" || "c6i.large" || "c6i.xlarge" || "c6i.2xlarge" || "c6i.4xlarge" || "c6i.8xlarge" || "c6i.12xlarge" || "c6i.16xlarge" || "c6i.24xlarge" || "r5d.large" || "r5d.xlarge" || "r5d.2xlarge" || "r5d.4xlarge" || "r5d.8xlarge" || "r5d.12xlarge" || "r5d.16xlarge" || "r5d.24xlarge" || "m6g.medium" || "m6g.large" || "m6g.xlarge" || "m6g.2xlarge" || "m6g.4xlarge" || "m6g.8xlarge" || "m6g.12xlarge" || "m6g.16xlarge" || "c6g.medium" || "c6g.large" || "c6g.xlarge" || "c6g.2xlarge" || "c6g.4xlarge" || "c6g.8xlarge" || "c6g.12xlarge" || "c6g.16xlarge" || "r6g.medium" || "r6g.large" || "r6g.xlarge" || "r6g.2xlarge" || "r6g.4xlarge" || "r6g.8xlarge" || "r6g.12xlarge" || "r6g.16xlarge" || "c6gn.medium" || "c6gn.large" || "c6gn.xlarge" || "c6gn.2xlarge" || "c6gn.4xlarge" || "c6gn.8xlarge" || "c6gn.12xlarge" || "c6gn.16xlarge" || "c7g.medium" || "c7g.large" || "c7g.xlarge" || "c7g.2xlarge" || "c7g.4xlarge" || "c7g.8xlarge" || "c7g.12xlarge" || "c7g.16xlarge" || "r7g.medium" || "r7g.large" || "r7g.xlarge" || "r7g.2xlarge" || "r7g.4xlarge" || "r7g.8xlarge" || "r7g.12xlarge" || "r7g.16xlarge" || "m7g.medium" || "m7g.large" || "m7g.xlarge" || "m7g.2xlarge" || "m7g.4xlarge" || "m7g.8xlarge" || "m7g.12xlarge" || "m7g.16xlarge" || "g5g.xlarge" || "g5g.2xlarge" || "g5g.4xlarge" || "g5g.8xlarge" || "g5g.16xlarge", * Location: "STRING_VALUE", * }; * const command = new DescribeEC2InstanceLimitsCommand(input); @@ -106,7 +106,7 @@ export interface DescribeEC2InstanceLimitsCommandOutput extends DescribeEC2Insta * // { // DescribeEC2InstanceLimitsOutput * // EC2InstanceLimits: [ // EC2InstanceLimitList * // { // EC2InstanceLimit - * // EC2InstanceType: "t2.micro" || "t2.small" || "t2.medium" || "t2.large" || "c3.large" || "c3.xlarge" || "c3.2xlarge" || "c3.4xlarge" || "c3.8xlarge" || "c4.large" || "c4.xlarge" || "c4.2xlarge" || "c4.4xlarge" || "c4.8xlarge" || "c5.large" || "c5.xlarge" || "c5.2xlarge" || "c5.4xlarge" || "c5.9xlarge" || "c5.12xlarge" || "c5.18xlarge" || "c5.24xlarge" || "c5a.large" || "c5a.xlarge" || "c5a.2xlarge" || "c5a.4xlarge" || "c5a.8xlarge" || "c5a.12xlarge" || "c5a.16xlarge" || "c5a.24xlarge" || "r3.large" || "r3.xlarge" || "r3.2xlarge" || "r3.4xlarge" || "r3.8xlarge" || "r4.large" || "r4.xlarge" || "r4.2xlarge" || "r4.4xlarge" || "r4.8xlarge" || "r4.16xlarge" || "r5.large" || "r5.xlarge" || "r5.2xlarge" || "r5.4xlarge" || "r5.8xlarge" || "r5.12xlarge" || "r5.16xlarge" || "r5.24xlarge" || "r5a.large" || "r5a.xlarge" || "r5a.2xlarge" || "r5a.4xlarge" || "r5a.8xlarge" || "r5a.12xlarge" || "r5a.16xlarge" || "r5a.24xlarge" || "m3.medium" || "m3.large" || "m3.xlarge" || "m3.2xlarge" || "m4.large" || "m4.xlarge" || "m4.2xlarge" || "m4.4xlarge" || "m4.10xlarge" || "m5.large" || "m5.xlarge" || "m5.2xlarge" || "m5.4xlarge" || "m5.8xlarge" || "m5.12xlarge" || "m5.16xlarge" || "m5.24xlarge" || "m5a.large" || "m5a.xlarge" || "m5a.2xlarge" || "m5a.4xlarge" || "m5a.8xlarge" || "m5a.12xlarge" || "m5a.16xlarge" || "m5a.24xlarge" || "c5d.large" || "c5d.xlarge" || "c5d.2xlarge" || "c5d.4xlarge" || "c5d.9xlarge" || "c5d.12xlarge" || "c5d.18xlarge" || "c5d.24xlarge" || "c6a.large" || "c6a.xlarge" || "c6a.2xlarge" || "c6a.4xlarge" || "c6a.8xlarge" || "c6a.12xlarge" || "c6a.16xlarge" || "c6a.24xlarge" || "c6i.large" || "c6i.xlarge" || "c6i.2xlarge" || "c6i.4xlarge" || "c6i.8xlarge" || "c6i.12xlarge" || "c6i.16xlarge" || "c6i.24xlarge" || "r5d.large" || "r5d.xlarge" || "r5d.2xlarge" || "r5d.4xlarge" || "r5d.8xlarge" || "r5d.12xlarge" || "r5d.16xlarge" || "r5d.24xlarge", + * // EC2InstanceType: "t2.micro" || "t2.small" || "t2.medium" || "t2.large" || "c3.large" || "c3.xlarge" || "c3.2xlarge" || "c3.4xlarge" || "c3.8xlarge" || "c4.large" || "c4.xlarge" || "c4.2xlarge" || "c4.4xlarge" || "c4.8xlarge" || "c5.large" || "c5.xlarge" || "c5.2xlarge" || "c5.4xlarge" || "c5.9xlarge" || "c5.12xlarge" || "c5.18xlarge" || "c5.24xlarge" || "c5a.large" || "c5a.xlarge" || "c5a.2xlarge" || "c5a.4xlarge" || "c5a.8xlarge" || "c5a.12xlarge" || "c5a.16xlarge" || "c5a.24xlarge" || "r3.large" || "r3.xlarge" || "r3.2xlarge" || "r3.4xlarge" || "r3.8xlarge" || "r4.large" || "r4.xlarge" || "r4.2xlarge" || "r4.4xlarge" || "r4.8xlarge" || "r4.16xlarge" || "r5.large" || "r5.xlarge" || "r5.2xlarge" || "r5.4xlarge" || "r5.8xlarge" || "r5.12xlarge" || "r5.16xlarge" || "r5.24xlarge" || "r5a.large" || "r5a.xlarge" || "r5a.2xlarge" || "r5a.4xlarge" || "r5a.8xlarge" || "r5a.12xlarge" || "r5a.16xlarge" || "r5a.24xlarge" || "m3.medium" || "m3.large" || "m3.xlarge" || "m3.2xlarge" || "m4.large" || "m4.xlarge" || "m4.2xlarge" || "m4.4xlarge" || "m4.10xlarge" || "m5.large" || "m5.xlarge" || "m5.2xlarge" || "m5.4xlarge" || "m5.8xlarge" || "m5.12xlarge" || "m5.16xlarge" || "m5.24xlarge" || "m5a.large" || "m5a.xlarge" || "m5a.2xlarge" || "m5a.4xlarge" || "m5a.8xlarge" || "m5a.12xlarge" || "m5a.16xlarge" || "m5a.24xlarge" || "c5d.large" || "c5d.xlarge" || "c5d.2xlarge" || "c5d.4xlarge" || "c5d.9xlarge" || "c5d.12xlarge" || "c5d.18xlarge" || "c5d.24xlarge" || "c6a.large" || "c6a.xlarge" || "c6a.2xlarge" || "c6a.4xlarge" || "c6a.8xlarge" || "c6a.12xlarge" || "c6a.16xlarge" || "c6a.24xlarge" || "c6i.large" || "c6i.xlarge" || "c6i.2xlarge" || "c6i.4xlarge" || "c6i.8xlarge" || "c6i.12xlarge" || "c6i.16xlarge" || "c6i.24xlarge" || "r5d.large" || "r5d.xlarge" || "r5d.2xlarge" || "r5d.4xlarge" || "r5d.8xlarge" || "r5d.12xlarge" || "r5d.16xlarge" || "r5d.24xlarge" || "m6g.medium" || "m6g.large" || "m6g.xlarge" || "m6g.2xlarge" || "m6g.4xlarge" || "m6g.8xlarge" || "m6g.12xlarge" || "m6g.16xlarge" || "c6g.medium" || "c6g.large" || "c6g.xlarge" || "c6g.2xlarge" || "c6g.4xlarge" || "c6g.8xlarge" || "c6g.12xlarge" || "c6g.16xlarge" || "r6g.medium" || "r6g.large" || "r6g.xlarge" || "r6g.2xlarge" || "r6g.4xlarge" || "r6g.8xlarge" || "r6g.12xlarge" || "r6g.16xlarge" || "c6gn.medium" || "c6gn.large" || "c6gn.xlarge" || "c6gn.2xlarge" || "c6gn.4xlarge" || "c6gn.8xlarge" || "c6gn.12xlarge" || "c6gn.16xlarge" || "c7g.medium" || "c7g.large" || "c7g.xlarge" || "c7g.2xlarge" || "c7g.4xlarge" || "c7g.8xlarge" || "c7g.12xlarge" || "c7g.16xlarge" || "r7g.medium" || "r7g.large" || "r7g.xlarge" || "r7g.2xlarge" || "r7g.4xlarge" || "r7g.8xlarge" || "r7g.12xlarge" || "r7g.16xlarge" || "m7g.medium" || "m7g.large" || "m7g.xlarge" || "m7g.2xlarge" || "m7g.4xlarge" || "m7g.8xlarge" || "m7g.12xlarge" || "m7g.16xlarge" || "g5g.xlarge" || "g5g.2xlarge" || "g5g.4xlarge" || "g5g.8xlarge" || "g5g.16xlarge", * // CurrentInstances: Number("int"), * // InstanceLimit: Number("int"), * // Location: "STRING_VALUE", diff --git a/clients/client-gamelift/src/commands/DescribeFleetAttributesCommand.ts b/clients/client-gamelift/src/commands/DescribeFleetAttributesCommand.ts index b654374022a3..bfb07cdaaafd 100644 --- a/clients/client-gamelift/src/commands/DescribeFleetAttributesCommand.ts +++ b/clients/client-gamelift/src/commands/DescribeFleetAttributesCommand.ts @@ -85,7 +85,7 @@ export interface DescribeFleetAttributesCommandOutput extends DescribeFleetAttri * // FleetId: "STRING_VALUE", * // FleetArn: "STRING_VALUE", * // FleetType: "ON_DEMAND" || "SPOT", - * // InstanceType: "t2.micro" || "t2.small" || "t2.medium" || "t2.large" || "c3.large" || "c3.xlarge" || "c3.2xlarge" || "c3.4xlarge" || "c3.8xlarge" || "c4.large" || "c4.xlarge" || "c4.2xlarge" || "c4.4xlarge" || "c4.8xlarge" || "c5.large" || "c5.xlarge" || "c5.2xlarge" || "c5.4xlarge" || "c5.9xlarge" || "c5.12xlarge" || "c5.18xlarge" || "c5.24xlarge" || "c5a.large" || "c5a.xlarge" || "c5a.2xlarge" || "c5a.4xlarge" || "c5a.8xlarge" || "c5a.12xlarge" || "c5a.16xlarge" || "c5a.24xlarge" || "r3.large" || "r3.xlarge" || "r3.2xlarge" || "r3.4xlarge" || "r3.8xlarge" || "r4.large" || "r4.xlarge" || "r4.2xlarge" || "r4.4xlarge" || "r4.8xlarge" || "r4.16xlarge" || "r5.large" || "r5.xlarge" || "r5.2xlarge" || "r5.4xlarge" || "r5.8xlarge" || "r5.12xlarge" || "r5.16xlarge" || "r5.24xlarge" || "r5a.large" || "r5a.xlarge" || "r5a.2xlarge" || "r5a.4xlarge" || "r5a.8xlarge" || "r5a.12xlarge" || "r5a.16xlarge" || "r5a.24xlarge" || "m3.medium" || "m3.large" || "m3.xlarge" || "m3.2xlarge" || "m4.large" || "m4.xlarge" || "m4.2xlarge" || "m4.4xlarge" || "m4.10xlarge" || "m5.large" || "m5.xlarge" || "m5.2xlarge" || "m5.4xlarge" || "m5.8xlarge" || "m5.12xlarge" || "m5.16xlarge" || "m5.24xlarge" || "m5a.large" || "m5a.xlarge" || "m5a.2xlarge" || "m5a.4xlarge" || "m5a.8xlarge" || "m5a.12xlarge" || "m5a.16xlarge" || "m5a.24xlarge" || "c5d.large" || "c5d.xlarge" || "c5d.2xlarge" || "c5d.4xlarge" || "c5d.9xlarge" || "c5d.12xlarge" || "c5d.18xlarge" || "c5d.24xlarge" || "c6a.large" || "c6a.xlarge" || "c6a.2xlarge" || "c6a.4xlarge" || "c6a.8xlarge" || "c6a.12xlarge" || "c6a.16xlarge" || "c6a.24xlarge" || "c6i.large" || "c6i.xlarge" || "c6i.2xlarge" || "c6i.4xlarge" || "c6i.8xlarge" || "c6i.12xlarge" || "c6i.16xlarge" || "c6i.24xlarge" || "r5d.large" || "r5d.xlarge" || "r5d.2xlarge" || "r5d.4xlarge" || "r5d.8xlarge" || "r5d.12xlarge" || "r5d.16xlarge" || "r5d.24xlarge", + * // InstanceType: "t2.micro" || "t2.small" || "t2.medium" || "t2.large" || "c3.large" || "c3.xlarge" || "c3.2xlarge" || "c3.4xlarge" || "c3.8xlarge" || "c4.large" || "c4.xlarge" || "c4.2xlarge" || "c4.4xlarge" || "c4.8xlarge" || "c5.large" || "c5.xlarge" || "c5.2xlarge" || "c5.4xlarge" || "c5.9xlarge" || "c5.12xlarge" || "c5.18xlarge" || "c5.24xlarge" || "c5a.large" || "c5a.xlarge" || "c5a.2xlarge" || "c5a.4xlarge" || "c5a.8xlarge" || "c5a.12xlarge" || "c5a.16xlarge" || "c5a.24xlarge" || "r3.large" || "r3.xlarge" || "r3.2xlarge" || "r3.4xlarge" || "r3.8xlarge" || "r4.large" || "r4.xlarge" || "r4.2xlarge" || "r4.4xlarge" || "r4.8xlarge" || "r4.16xlarge" || "r5.large" || "r5.xlarge" || "r5.2xlarge" || "r5.4xlarge" || "r5.8xlarge" || "r5.12xlarge" || "r5.16xlarge" || "r5.24xlarge" || "r5a.large" || "r5a.xlarge" || "r5a.2xlarge" || "r5a.4xlarge" || "r5a.8xlarge" || "r5a.12xlarge" || "r5a.16xlarge" || "r5a.24xlarge" || "m3.medium" || "m3.large" || "m3.xlarge" || "m3.2xlarge" || "m4.large" || "m4.xlarge" || "m4.2xlarge" || "m4.4xlarge" || "m4.10xlarge" || "m5.large" || "m5.xlarge" || "m5.2xlarge" || "m5.4xlarge" || "m5.8xlarge" || "m5.12xlarge" || "m5.16xlarge" || "m5.24xlarge" || "m5a.large" || "m5a.xlarge" || "m5a.2xlarge" || "m5a.4xlarge" || "m5a.8xlarge" || "m5a.12xlarge" || "m5a.16xlarge" || "m5a.24xlarge" || "c5d.large" || "c5d.xlarge" || "c5d.2xlarge" || "c5d.4xlarge" || "c5d.9xlarge" || "c5d.12xlarge" || "c5d.18xlarge" || "c5d.24xlarge" || "c6a.large" || "c6a.xlarge" || "c6a.2xlarge" || "c6a.4xlarge" || "c6a.8xlarge" || "c6a.12xlarge" || "c6a.16xlarge" || "c6a.24xlarge" || "c6i.large" || "c6i.xlarge" || "c6i.2xlarge" || "c6i.4xlarge" || "c6i.8xlarge" || "c6i.12xlarge" || "c6i.16xlarge" || "c6i.24xlarge" || "r5d.large" || "r5d.xlarge" || "r5d.2xlarge" || "r5d.4xlarge" || "r5d.8xlarge" || "r5d.12xlarge" || "r5d.16xlarge" || "r5d.24xlarge" || "m6g.medium" || "m6g.large" || "m6g.xlarge" || "m6g.2xlarge" || "m6g.4xlarge" || "m6g.8xlarge" || "m6g.12xlarge" || "m6g.16xlarge" || "c6g.medium" || "c6g.large" || "c6g.xlarge" || "c6g.2xlarge" || "c6g.4xlarge" || "c6g.8xlarge" || "c6g.12xlarge" || "c6g.16xlarge" || "r6g.medium" || "r6g.large" || "r6g.xlarge" || "r6g.2xlarge" || "r6g.4xlarge" || "r6g.8xlarge" || "r6g.12xlarge" || "r6g.16xlarge" || "c6gn.medium" || "c6gn.large" || "c6gn.xlarge" || "c6gn.2xlarge" || "c6gn.4xlarge" || "c6gn.8xlarge" || "c6gn.12xlarge" || "c6gn.16xlarge" || "c7g.medium" || "c7g.large" || "c7g.xlarge" || "c7g.2xlarge" || "c7g.4xlarge" || "c7g.8xlarge" || "c7g.12xlarge" || "c7g.16xlarge" || "r7g.medium" || "r7g.large" || "r7g.xlarge" || "r7g.2xlarge" || "r7g.4xlarge" || "r7g.8xlarge" || "r7g.12xlarge" || "r7g.16xlarge" || "m7g.medium" || "m7g.large" || "m7g.xlarge" || "m7g.2xlarge" || "m7g.4xlarge" || "m7g.8xlarge" || "m7g.12xlarge" || "m7g.16xlarge" || "g5g.xlarge" || "g5g.2xlarge" || "g5g.4xlarge" || "g5g.8xlarge" || "g5g.16xlarge", * // Description: "STRING_VALUE", * // Name: "STRING_VALUE", * // CreationTime: new Date("TIMESTAMP"), diff --git a/clients/client-gamelift/src/commands/DescribeFleetCapacityCommand.ts b/clients/client-gamelift/src/commands/DescribeFleetCapacityCommand.ts index d47b8a933f62..bbf797950fc9 100644 --- a/clients/client-gamelift/src/commands/DescribeFleetCapacityCommand.ts +++ b/clients/client-gamelift/src/commands/DescribeFleetCapacityCommand.ts @@ -92,7 +92,7 @@ export interface DescribeFleetCapacityCommandOutput extends DescribeFleetCapacit * // { // FleetCapacity * // FleetId: "STRING_VALUE", * // FleetArn: "STRING_VALUE", - * // InstanceType: "t2.micro" || "t2.small" || "t2.medium" || "t2.large" || "c3.large" || "c3.xlarge" || "c3.2xlarge" || "c3.4xlarge" || "c3.8xlarge" || "c4.large" || "c4.xlarge" || "c4.2xlarge" || "c4.4xlarge" || "c4.8xlarge" || "c5.large" || "c5.xlarge" || "c5.2xlarge" || "c5.4xlarge" || "c5.9xlarge" || "c5.12xlarge" || "c5.18xlarge" || "c5.24xlarge" || "c5a.large" || "c5a.xlarge" || "c5a.2xlarge" || "c5a.4xlarge" || "c5a.8xlarge" || "c5a.12xlarge" || "c5a.16xlarge" || "c5a.24xlarge" || "r3.large" || "r3.xlarge" || "r3.2xlarge" || "r3.4xlarge" || "r3.8xlarge" || "r4.large" || "r4.xlarge" || "r4.2xlarge" || "r4.4xlarge" || "r4.8xlarge" || "r4.16xlarge" || "r5.large" || "r5.xlarge" || "r5.2xlarge" || "r5.4xlarge" || "r5.8xlarge" || "r5.12xlarge" || "r5.16xlarge" || "r5.24xlarge" || "r5a.large" || "r5a.xlarge" || "r5a.2xlarge" || "r5a.4xlarge" || "r5a.8xlarge" || "r5a.12xlarge" || "r5a.16xlarge" || "r5a.24xlarge" || "m3.medium" || "m3.large" || "m3.xlarge" || "m3.2xlarge" || "m4.large" || "m4.xlarge" || "m4.2xlarge" || "m4.4xlarge" || "m4.10xlarge" || "m5.large" || "m5.xlarge" || "m5.2xlarge" || "m5.4xlarge" || "m5.8xlarge" || "m5.12xlarge" || "m5.16xlarge" || "m5.24xlarge" || "m5a.large" || "m5a.xlarge" || "m5a.2xlarge" || "m5a.4xlarge" || "m5a.8xlarge" || "m5a.12xlarge" || "m5a.16xlarge" || "m5a.24xlarge" || "c5d.large" || "c5d.xlarge" || "c5d.2xlarge" || "c5d.4xlarge" || "c5d.9xlarge" || "c5d.12xlarge" || "c5d.18xlarge" || "c5d.24xlarge" || "c6a.large" || "c6a.xlarge" || "c6a.2xlarge" || "c6a.4xlarge" || "c6a.8xlarge" || "c6a.12xlarge" || "c6a.16xlarge" || "c6a.24xlarge" || "c6i.large" || "c6i.xlarge" || "c6i.2xlarge" || "c6i.4xlarge" || "c6i.8xlarge" || "c6i.12xlarge" || "c6i.16xlarge" || "c6i.24xlarge" || "r5d.large" || "r5d.xlarge" || "r5d.2xlarge" || "r5d.4xlarge" || "r5d.8xlarge" || "r5d.12xlarge" || "r5d.16xlarge" || "r5d.24xlarge", + * // InstanceType: "t2.micro" || "t2.small" || "t2.medium" || "t2.large" || "c3.large" || "c3.xlarge" || "c3.2xlarge" || "c3.4xlarge" || "c3.8xlarge" || "c4.large" || "c4.xlarge" || "c4.2xlarge" || "c4.4xlarge" || "c4.8xlarge" || "c5.large" || "c5.xlarge" || "c5.2xlarge" || "c5.4xlarge" || "c5.9xlarge" || "c5.12xlarge" || "c5.18xlarge" || "c5.24xlarge" || "c5a.large" || "c5a.xlarge" || "c5a.2xlarge" || "c5a.4xlarge" || "c5a.8xlarge" || "c5a.12xlarge" || "c5a.16xlarge" || "c5a.24xlarge" || "r3.large" || "r3.xlarge" || "r3.2xlarge" || "r3.4xlarge" || "r3.8xlarge" || "r4.large" || "r4.xlarge" || "r4.2xlarge" || "r4.4xlarge" || "r4.8xlarge" || "r4.16xlarge" || "r5.large" || "r5.xlarge" || "r5.2xlarge" || "r5.4xlarge" || "r5.8xlarge" || "r5.12xlarge" || "r5.16xlarge" || "r5.24xlarge" || "r5a.large" || "r5a.xlarge" || "r5a.2xlarge" || "r5a.4xlarge" || "r5a.8xlarge" || "r5a.12xlarge" || "r5a.16xlarge" || "r5a.24xlarge" || "m3.medium" || "m3.large" || "m3.xlarge" || "m3.2xlarge" || "m4.large" || "m4.xlarge" || "m4.2xlarge" || "m4.4xlarge" || "m4.10xlarge" || "m5.large" || "m5.xlarge" || "m5.2xlarge" || "m5.4xlarge" || "m5.8xlarge" || "m5.12xlarge" || "m5.16xlarge" || "m5.24xlarge" || "m5a.large" || "m5a.xlarge" || "m5a.2xlarge" || "m5a.4xlarge" || "m5a.8xlarge" || "m5a.12xlarge" || "m5a.16xlarge" || "m5a.24xlarge" || "c5d.large" || "c5d.xlarge" || "c5d.2xlarge" || "c5d.4xlarge" || "c5d.9xlarge" || "c5d.12xlarge" || "c5d.18xlarge" || "c5d.24xlarge" || "c6a.large" || "c6a.xlarge" || "c6a.2xlarge" || "c6a.4xlarge" || "c6a.8xlarge" || "c6a.12xlarge" || "c6a.16xlarge" || "c6a.24xlarge" || "c6i.large" || "c6i.xlarge" || "c6i.2xlarge" || "c6i.4xlarge" || "c6i.8xlarge" || "c6i.12xlarge" || "c6i.16xlarge" || "c6i.24xlarge" || "r5d.large" || "r5d.xlarge" || "r5d.2xlarge" || "r5d.4xlarge" || "r5d.8xlarge" || "r5d.12xlarge" || "r5d.16xlarge" || "r5d.24xlarge" || "m6g.medium" || "m6g.large" || "m6g.xlarge" || "m6g.2xlarge" || "m6g.4xlarge" || "m6g.8xlarge" || "m6g.12xlarge" || "m6g.16xlarge" || "c6g.medium" || "c6g.large" || "c6g.xlarge" || "c6g.2xlarge" || "c6g.4xlarge" || "c6g.8xlarge" || "c6g.12xlarge" || "c6g.16xlarge" || "r6g.medium" || "r6g.large" || "r6g.xlarge" || "r6g.2xlarge" || "r6g.4xlarge" || "r6g.8xlarge" || "r6g.12xlarge" || "r6g.16xlarge" || "c6gn.medium" || "c6gn.large" || "c6gn.xlarge" || "c6gn.2xlarge" || "c6gn.4xlarge" || "c6gn.8xlarge" || "c6gn.12xlarge" || "c6gn.16xlarge" || "c7g.medium" || "c7g.large" || "c7g.xlarge" || "c7g.2xlarge" || "c7g.4xlarge" || "c7g.8xlarge" || "c7g.12xlarge" || "c7g.16xlarge" || "r7g.medium" || "r7g.large" || "r7g.xlarge" || "r7g.2xlarge" || "r7g.4xlarge" || "r7g.8xlarge" || "r7g.12xlarge" || "r7g.16xlarge" || "m7g.medium" || "m7g.large" || "m7g.xlarge" || "m7g.2xlarge" || "m7g.4xlarge" || "m7g.8xlarge" || "m7g.12xlarge" || "m7g.16xlarge" || "g5g.xlarge" || "g5g.2xlarge" || "g5g.4xlarge" || "g5g.8xlarge" || "g5g.16xlarge", * // InstanceCounts: { // EC2InstanceCounts * // DESIRED: Number("int"), * // MINIMUM: Number("int"), diff --git a/clients/client-gamelift/src/commands/DescribeFleetLocationCapacityCommand.ts b/clients/client-gamelift/src/commands/DescribeFleetLocationCapacityCommand.ts index 823af2c502e1..8de02d8ad323 100644 --- a/clients/client-gamelift/src/commands/DescribeFleetLocationCapacityCommand.ts +++ b/clients/client-gamelift/src/commands/DescribeFleetLocationCapacityCommand.ts @@ -75,7 +75,7 @@ export interface DescribeFleetLocationCapacityCommandOutput * // FleetCapacity: { // FleetCapacity * // FleetId: "STRING_VALUE", * // FleetArn: "STRING_VALUE", - * // InstanceType: "t2.micro" || "t2.small" || "t2.medium" || "t2.large" || "c3.large" || "c3.xlarge" || "c3.2xlarge" || "c3.4xlarge" || "c3.8xlarge" || "c4.large" || "c4.xlarge" || "c4.2xlarge" || "c4.4xlarge" || "c4.8xlarge" || "c5.large" || "c5.xlarge" || "c5.2xlarge" || "c5.4xlarge" || "c5.9xlarge" || "c5.12xlarge" || "c5.18xlarge" || "c5.24xlarge" || "c5a.large" || "c5a.xlarge" || "c5a.2xlarge" || "c5a.4xlarge" || "c5a.8xlarge" || "c5a.12xlarge" || "c5a.16xlarge" || "c5a.24xlarge" || "r3.large" || "r3.xlarge" || "r3.2xlarge" || "r3.4xlarge" || "r3.8xlarge" || "r4.large" || "r4.xlarge" || "r4.2xlarge" || "r4.4xlarge" || "r4.8xlarge" || "r4.16xlarge" || "r5.large" || "r5.xlarge" || "r5.2xlarge" || "r5.4xlarge" || "r5.8xlarge" || "r5.12xlarge" || "r5.16xlarge" || "r5.24xlarge" || "r5a.large" || "r5a.xlarge" || "r5a.2xlarge" || "r5a.4xlarge" || "r5a.8xlarge" || "r5a.12xlarge" || "r5a.16xlarge" || "r5a.24xlarge" || "m3.medium" || "m3.large" || "m3.xlarge" || "m3.2xlarge" || "m4.large" || "m4.xlarge" || "m4.2xlarge" || "m4.4xlarge" || "m4.10xlarge" || "m5.large" || "m5.xlarge" || "m5.2xlarge" || "m5.4xlarge" || "m5.8xlarge" || "m5.12xlarge" || "m5.16xlarge" || "m5.24xlarge" || "m5a.large" || "m5a.xlarge" || "m5a.2xlarge" || "m5a.4xlarge" || "m5a.8xlarge" || "m5a.12xlarge" || "m5a.16xlarge" || "m5a.24xlarge" || "c5d.large" || "c5d.xlarge" || "c5d.2xlarge" || "c5d.4xlarge" || "c5d.9xlarge" || "c5d.12xlarge" || "c5d.18xlarge" || "c5d.24xlarge" || "c6a.large" || "c6a.xlarge" || "c6a.2xlarge" || "c6a.4xlarge" || "c6a.8xlarge" || "c6a.12xlarge" || "c6a.16xlarge" || "c6a.24xlarge" || "c6i.large" || "c6i.xlarge" || "c6i.2xlarge" || "c6i.4xlarge" || "c6i.8xlarge" || "c6i.12xlarge" || "c6i.16xlarge" || "c6i.24xlarge" || "r5d.large" || "r5d.xlarge" || "r5d.2xlarge" || "r5d.4xlarge" || "r5d.8xlarge" || "r5d.12xlarge" || "r5d.16xlarge" || "r5d.24xlarge", + * // InstanceType: "t2.micro" || "t2.small" || "t2.medium" || "t2.large" || "c3.large" || "c3.xlarge" || "c3.2xlarge" || "c3.4xlarge" || "c3.8xlarge" || "c4.large" || "c4.xlarge" || "c4.2xlarge" || "c4.4xlarge" || "c4.8xlarge" || "c5.large" || "c5.xlarge" || "c5.2xlarge" || "c5.4xlarge" || "c5.9xlarge" || "c5.12xlarge" || "c5.18xlarge" || "c5.24xlarge" || "c5a.large" || "c5a.xlarge" || "c5a.2xlarge" || "c5a.4xlarge" || "c5a.8xlarge" || "c5a.12xlarge" || "c5a.16xlarge" || "c5a.24xlarge" || "r3.large" || "r3.xlarge" || "r3.2xlarge" || "r3.4xlarge" || "r3.8xlarge" || "r4.large" || "r4.xlarge" || "r4.2xlarge" || "r4.4xlarge" || "r4.8xlarge" || "r4.16xlarge" || "r5.large" || "r5.xlarge" || "r5.2xlarge" || "r5.4xlarge" || "r5.8xlarge" || "r5.12xlarge" || "r5.16xlarge" || "r5.24xlarge" || "r5a.large" || "r5a.xlarge" || "r5a.2xlarge" || "r5a.4xlarge" || "r5a.8xlarge" || "r5a.12xlarge" || "r5a.16xlarge" || "r5a.24xlarge" || "m3.medium" || "m3.large" || "m3.xlarge" || "m3.2xlarge" || "m4.large" || "m4.xlarge" || "m4.2xlarge" || "m4.4xlarge" || "m4.10xlarge" || "m5.large" || "m5.xlarge" || "m5.2xlarge" || "m5.4xlarge" || "m5.8xlarge" || "m5.12xlarge" || "m5.16xlarge" || "m5.24xlarge" || "m5a.large" || "m5a.xlarge" || "m5a.2xlarge" || "m5a.4xlarge" || "m5a.8xlarge" || "m5a.12xlarge" || "m5a.16xlarge" || "m5a.24xlarge" || "c5d.large" || "c5d.xlarge" || "c5d.2xlarge" || "c5d.4xlarge" || "c5d.9xlarge" || "c5d.12xlarge" || "c5d.18xlarge" || "c5d.24xlarge" || "c6a.large" || "c6a.xlarge" || "c6a.2xlarge" || "c6a.4xlarge" || "c6a.8xlarge" || "c6a.12xlarge" || "c6a.16xlarge" || "c6a.24xlarge" || "c6i.large" || "c6i.xlarge" || "c6i.2xlarge" || "c6i.4xlarge" || "c6i.8xlarge" || "c6i.12xlarge" || "c6i.16xlarge" || "c6i.24xlarge" || "r5d.large" || "r5d.xlarge" || "r5d.2xlarge" || "r5d.4xlarge" || "r5d.8xlarge" || "r5d.12xlarge" || "r5d.16xlarge" || "r5d.24xlarge" || "m6g.medium" || "m6g.large" || "m6g.xlarge" || "m6g.2xlarge" || "m6g.4xlarge" || "m6g.8xlarge" || "m6g.12xlarge" || "m6g.16xlarge" || "c6g.medium" || "c6g.large" || "c6g.xlarge" || "c6g.2xlarge" || "c6g.4xlarge" || "c6g.8xlarge" || "c6g.12xlarge" || "c6g.16xlarge" || "r6g.medium" || "r6g.large" || "r6g.xlarge" || "r6g.2xlarge" || "r6g.4xlarge" || "r6g.8xlarge" || "r6g.12xlarge" || "r6g.16xlarge" || "c6gn.medium" || "c6gn.large" || "c6gn.xlarge" || "c6gn.2xlarge" || "c6gn.4xlarge" || "c6gn.8xlarge" || "c6gn.12xlarge" || "c6gn.16xlarge" || "c7g.medium" || "c7g.large" || "c7g.xlarge" || "c7g.2xlarge" || "c7g.4xlarge" || "c7g.8xlarge" || "c7g.12xlarge" || "c7g.16xlarge" || "r7g.medium" || "r7g.large" || "r7g.xlarge" || "r7g.2xlarge" || "r7g.4xlarge" || "r7g.8xlarge" || "r7g.12xlarge" || "r7g.16xlarge" || "m7g.medium" || "m7g.large" || "m7g.xlarge" || "m7g.2xlarge" || "m7g.4xlarge" || "m7g.8xlarge" || "m7g.12xlarge" || "m7g.16xlarge" || "g5g.xlarge" || "g5g.2xlarge" || "g5g.4xlarge" || "g5g.8xlarge" || "g5g.16xlarge", * // InstanceCounts: { // EC2InstanceCounts * // DESIRED: Number("int"), * // MINIMUM: Number("int"), diff --git a/clients/client-gamelift/src/commands/DescribeInstancesCommand.ts b/clients/client-gamelift/src/commands/DescribeInstancesCommand.ts index b8a2d3f76599..714a94a1c01b 100644 --- a/clients/client-gamelift/src/commands/DescribeInstancesCommand.ts +++ b/clients/client-gamelift/src/commands/DescribeInstancesCommand.ts @@ -36,36 +36,40 @@ export interface DescribeInstancesCommandOutput extends DescribeInstancesOutput, /** * @public - *

Retrieves information about a fleet's instances, including instance IDs, connection - * data, and status.

- *

This operation can be used in the following ways:

+ *

Retrieves information about the EC2 instances in an Amazon GameLift managed fleet, including + * instance ID, connection data, and status. You can use this operation with a + * multi-location fleet to get location-specific instance information. As an alternative, + * use the operations ListCompute and DescribeCompute + * to retrieve information for compute resources, including EC2 and Anywhere fleets.

+ *

You can call this operation in the following ways:

*
    *
  • - *

    To get information on all instances that are deployed to a fleet's home - * Region, provide the fleet ID.

    + *

    To get information on all instances in a fleet's home Region, specify the + * fleet ID.

    *
  • *
  • - *

    To get information on all instances that are deployed to a fleet's remote - * location, provide the fleet ID and location name.

    + *

    To get information on all instances in a fleet's remote location, specify the + * fleet ID and location name.

    *
  • *
  • - *

    To get information on a specific instance in a fleet, provide the fleet ID and + *

    To get information on a specific instance in a fleet, specify the fleet ID and * instance ID.

    *
  • *
*

Use the pagination parameters to retrieve results as a set of sequential pages.

- *

If successful, an Instance object is returned for each requested - * instance. Instances are not returned in any particular order.

+ *

If successful, this operation returns Instance objects for each requested + * instance, listed in no particular order. If you call this operation for an Anywhere + * fleet, you receive an InvalidRequestException.

*

* Learn more *

*

- * Remotely Access Fleet - * Instances + * Remotely connect to + * fleet instances *

*

- * Debug Fleet - * Issues + * Debug fleet + * issues *

*

* Related actions @@ -97,7 +101,7 @@ export interface DescribeInstancesCommandOutput extends DescribeInstancesOutput, * // IpAddress: "STRING_VALUE", * // DnsName: "STRING_VALUE", * // OperatingSystem: "WINDOWS_2012" || "AMAZON_LINUX" || "AMAZON_LINUX_2" || "WINDOWS_2016" || "AMAZON_LINUX_2023", - * // Type: "t2.micro" || "t2.small" || "t2.medium" || "t2.large" || "c3.large" || "c3.xlarge" || "c3.2xlarge" || "c3.4xlarge" || "c3.8xlarge" || "c4.large" || "c4.xlarge" || "c4.2xlarge" || "c4.4xlarge" || "c4.8xlarge" || "c5.large" || "c5.xlarge" || "c5.2xlarge" || "c5.4xlarge" || "c5.9xlarge" || "c5.12xlarge" || "c5.18xlarge" || "c5.24xlarge" || "c5a.large" || "c5a.xlarge" || "c5a.2xlarge" || "c5a.4xlarge" || "c5a.8xlarge" || "c5a.12xlarge" || "c5a.16xlarge" || "c5a.24xlarge" || "r3.large" || "r3.xlarge" || "r3.2xlarge" || "r3.4xlarge" || "r3.8xlarge" || "r4.large" || "r4.xlarge" || "r4.2xlarge" || "r4.4xlarge" || "r4.8xlarge" || "r4.16xlarge" || "r5.large" || "r5.xlarge" || "r5.2xlarge" || "r5.4xlarge" || "r5.8xlarge" || "r5.12xlarge" || "r5.16xlarge" || "r5.24xlarge" || "r5a.large" || "r5a.xlarge" || "r5a.2xlarge" || "r5a.4xlarge" || "r5a.8xlarge" || "r5a.12xlarge" || "r5a.16xlarge" || "r5a.24xlarge" || "m3.medium" || "m3.large" || "m3.xlarge" || "m3.2xlarge" || "m4.large" || "m4.xlarge" || "m4.2xlarge" || "m4.4xlarge" || "m4.10xlarge" || "m5.large" || "m5.xlarge" || "m5.2xlarge" || "m5.4xlarge" || "m5.8xlarge" || "m5.12xlarge" || "m5.16xlarge" || "m5.24xlarge" || "m5a.large" || "m5a.xlarge" || "m5a.2xlarge" || "m5a.4xlarge" || "m5a.8xlarge" || "m5a.12xlarge" || "m5a.16xlarge" || "m5a.24xlarge" || "c5d.large" || "c5d.xlarge" || "c5d.2xlarge" || "c5d.4xlarge" || "c5d.9xlarge" || "c5d.12xlarge" || "c5d.18xlarge" || "c5d.24xlarge" || "c6a.large" || "c6a.xlarge" || "c6a.2xlarge" || "c6a.4xlarge" || "c6a.8xlarge" || "c6a.12xlarge" || "c6a.16xlarge" || "c6a.24xlarge" || "c6i.large" || "c6i.xlarge" || "c6i.2xlarge" || "c6i.4xlarge" || "c6i.8xlarge" || "c6i.12xlarge" || "c6i.16xlarge" || "c6i.24xlarge" || "r5d.large" || "r5d.xlarge" || "r5d.2xlarge" || "r5d.4xlarge" || "r5d.8xlarge" || "r5d.12xlarge" || "r5d.16xlarge" || "r5d.24xlarge", + * // Type: "t2.micro" || "t2.small" || "t2.medium" || "t2.large" || "c3.large" || "c3.xlarge" || "c3.2xlarge" || "c3.4xlarge" || "c3.8xlarge" || "c4.large" || "c4.xlarge" || "c4.2xlarge" || "c4.4xlarge" || "c4.8xlarge" || "c5.large" || "c5.xlarge" || "c5.2xlarge" || "c5.4xlarge" || "c5.9xlarge" || "c5.12xlarge" || "c5.18xlarge" || "c5.24xlarge" || "c5a.large" || "c5a.xlarge" || "c5a.2xlarge" || "c5a.4xlarge" || "c5a.8xlarge" || "c5a.12xlarge" || "c5a.16xlarge" || "c5a.24xlarge" || "r3.large" || "r3.xlarge" || "r3.2xlarge" || "r3.4xlarge" || "r3.8xlarge" || "r4.large" || "r4.xlarge" || "r4.2xlarge" || "r4.4xlarge" || "r4.8xlarge" || "r4.16xlarge" || "r5.large" || "r5.xlarge" || "r5.2xlarge" || "r5.4xlarge" || "r5.8xlarge" || "r5.12xlarge" || "r5.16xlarge" || "r5.24xlarge" || "r5a.large" || "r5a.xlarge" || "r5a.2xlarge" || "r5a.4xlarge" || "r5a.8xlarge" || "r5a.12xlarge" || "r5a.16xlarge" || "r5a.24xlarge" || "m3.medium" || "m3.large" || "m3.xlarge" || "m3.2xlarge" || "m4.large" || "m4.xlarge" || "m4.2xlarge" || "m4.4xlarge" || "m4.10xlarge" || "m5.large" || "m5.xlarge" || "m5.2xlarge" || "m5.4xlarge" || "m5.8xlarge" || "m5.12xlarge" || "m5.16xlarge" || "m5.24xlarge" || "m5a.large" || "m5a.xlarge" || "m5a.2xlarge" || "m5a.4xlarge" || "m5a.8xlarge" || "m5a.12xlarge" || "m5a.16xlarge" || "m5a.24xlarge" || "c5d.large" || "c5d.xlarge" || "c5d.2xlarge" || "c5d.4xlarge" || "c5d.9xlarge" || "c5d.12xlarge" || "c5d.18xlarge" || "c5d.24xlarge" || "c6a.large" || "c6a.xlarge" || "c6a.2xlarge" || "c6a.4xlarge" || "c6a.8xlarge" || "c6a.12xlarge" || "c6a.16xlarge" || "c6a.24xlarge" || "c6i.large" || "c6i.xlarge" || "c6i.2xlarge" || "c6i.4xlarge" || "c6i.8xlarge" || "c6i.12xlarge" || "c6i.16xlarge" || "c6i.24xlarge" || "r5d.large" || "r5d.xlarge" || "r5d.2xlarge" || "r5d.4xlarge" || "r5d.8xlarge" || "r5d.12xlarge" || "r5d.16xlarge" || "r5d.24xlarge" || "m6g.medium" || "m6g.large" || "m6g.xlarge" || "m6g.2xlarge" || "m6g.4xlarge" || "m6g.8xlarge" || "m6g.12xlarge" || "m6g.16xlarge" || "c6g.medium" || "c6g.large" || "c6g.xlarge" || "c6g.2xlarge" || "c6g.4xlarge" || "c6g.8xlarge" || "c6g.12xlarge" || "c6g.16xlarge" || "r6g.medium" || "r6g.large" || "r6g.xlarge" || "r6g.2xlarge" || "r6g.4xlarge" || "r6g.8xlarge" || "r6g.12xlarge" || "r6g.16xlarge" || "c6gn.medium" || "c6gn.large" || "c6gn.xlarge" || "c6gn.2xlarge" || "c6gn.4xlarge" || "c6gn.8xlarge" || "c6gn.12xlarge" || "c6gn.16xlarge" || "c7g.medium" || "c7g.large" || "c7g.xlarge" || "c7g.2xlarge" || "c7g.4xlarge" || "c7g.8xlarge" || "c7g.12xlarge" || "c7g.16xlarge" || "r7g.medium" || "r7g.large" || "r7g.xlarge" || "r7g.2xlarge" || "r7g.4xlarge" || "r7g.8xlarge" || "r7g.12xlarge" || "r7g.16xlarge" || "m7g.medium" || "m7g.large" || "m7g.xlarge" || "m7g.2xlarge" || "m7g.4xlarge" || "m7g.8xlarge" || "m7g.12xlarge" || "m7g.16xlarge" || "g5g.xlarge" || "g5g.2xlarge" || "g5g.4xlarge" || "g5g.8xlarge" || "g5g.16xlarge", * // Status: "PENDING" || "ACTIVE" || "TERMINATING", * // CreationTime: new Date("TIMESTAMP"), * // Location: "STRING_VALUE", diff --git a/clients/client-gamelift/src/commands/DescribePlayerSessionsCommand.ts b/clients/client-gamelift/src/commands/DescribePlayerSessionsCommand.ts index cb316690219f..5736b347f0eb 100644 --- a/clients/client-gamelift/src/commands/DescribePlayerSessionsCommand.ts +++ b/clients/client-gamelift/src/commands/DescribePlayerSessionsCommand.ts @@ -53,8 +53,9 @@ export interface DescribePlayerSessionsCommandOutput extends DescribePlayerSessi * * *

To request player sessions, specify either a player session ID, game session ID, or - * player ID. You can filter this request by player session status. Use the pagination - * parameters to retrieve results as a set of sequential pages.

+ * player ID. You can filter this request by player session status. If you provide + * a specific PlayerSessionId or PlayerId, Amazon GameLift ignores the filter criteria. + * Use the pagination parameters to retrieve results as a set of sequential pages.

*

If successful, a PlayerSession object is returned for each session that * matches the request.

*

diff --git a/clients/client-gamelift/src/commands/GetComputeAccessCommand.ts b/clients/client-gamelift/src/commands/GetComputeAccessCommand.ts index 172ca5c431fe..959edeb4bcf6 100644 --- a/clients/client-gamelift/src/commands/GetComputeAccessCommand.ts +++ b/clients/client-gamelift/src/commands/GetComputeAccessCommand.ts @@ -40,28 +40,25 @@ export interface GetComputeAccessCommandOutput extends GetComputeAccessOutput, _ /** * @public - *

Requests remote access to a fleet instance. Remote access is useful for debugging, - * gathering benchmarking data, or observing activity in real time.

- *

To remotely access an instance, you need credentials that match the operating system - * of the instance. For a Windows instance, Amazon GameLift returns a user name and password as - * strings for use with a Windows Remote Desktop client. For a Linux instance, Amazon GameLift - * returns a user name and RSA private key, also as strings, for use with an SSH client. - * The private key must be saved in the proper format to a .pem file before - * using. If you're making this request using the CLI, saving the secret can be handled - * as part of the GetInstanceAccess request, as shown in one of the examples - * for this operation.

- *

To request access to a specific instance, specify the IDs of both the instance and the - * fleet it belongs to.

+ *

Requests authorization to remotely connect to a compute resource in an Amazon GameLift fleet. + * Call this action to connect to an instance in a managed EC2 fleet if the fleet's game + * build uses Amazon GameLift server SDK 5.x or later. To connect to instances with game builds + * that use server SDK 4.x or earlier, call GetInstanceAccess.

+ *

To request access to a compute, identify the specific EC2 instance and the fleet it + * belongs to. You can retrieve instances for a managed EC2 fleet by calling ListCompute.

+ *

If successful, this operation returns a set of temporary Amazon Web Services credentials, including + * a two-part access key and a session token. Use these credentials with Amazon EC2 Systems Manager (SSM) + * to start a session with the compute. For more details, see Starting a session (CLI) in the Amazon EC2 Systems Manager User Guide.

*

* Learn more *

*

- * Remotely Access Fleet - * Instances + * Remotely connect to fleet + * instances *

*

- * Debug Fleet - * Issues + * Debug fleet + * issues *

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-gamelift/src/commands/GetComputeAuthTokenCommand.ts b/clients/client-gamelift/src/commands/GetComputeAuthTokenCommand.ts index a63f136fe25d..65142153b31d 100644 --- a/clients/client-gamelift/src/commands/GetComputeAuthTokenCommand.ts +++ b/clients/client-gamelift/src/commands/GetComputeAuthTokenCommand.ts @@ -36,10 +36,34 @@ export interface GetComputeAuthTokenCommandOutput extends GetComputeAuthTokenOut /** * @public - *

Requests an authentication token from Amazon GameLift. The authentication token is used by - * your game server to authenticate with Amazon GameLift. Each authentication token has an - * expiration time. To continue using the compute resource to host your game server, - * regularly retrieve a new authorization token.

+ *

Requests an authentication token from Amazon GameLift for a registered compute in an Anywhere + * fleet. The game servers that are running on the compute use this token to authenticate + * with the Amazon GameLift service. Each server process must provide a valid authentication token + * in its call to the Amazon GameLift server SDK action InitSDK().

+ *

Authentication tokens are valid for a limited time span. Use a mechanism to regularly + * request a fresh authentication token before the current token expires.

+ *

+ * Learn more + *

+ * * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-gamelift/src/commands/GetInstanceAccessCommand.ts b/clients/client-gamelift/src/commands/GetInstanceAccessCommand.ts index 041e83a6de71..22518dfb0def 100644 --- a/clients/client-gamelift/src/commands/GetInstanceAccessCommand.ts +++ b/clients/client-gamelift/src/commands/GetInstanceAccessCommand.ts @@ -40,28 +40,36 @@ export interface GetInstanceAccessCommandOutput extends GetInstanceAccessOutput, /** * @public - *

Requests remote access to a fleet instance. Remote access is useful for debugging, - * gathering benchmarking data, or observing activity in real time.

- *

To remotely access an instance, you need credentials that match the operating system - * of the instance. For a Windows instance, Amazon GameLift returns a user name and password as - * strings for use with a Windows Remote Desktop client. For a Linux instance, Amazon GameLift - * returns a user name and RSA private key, also as strings, for use with an SSH client. - * The private key must be saved in the proper format to a .pem file before - * using. If you're making this request using the CLI, saving the secret can be handled - * as part of the GetInstanceAccess request, as shown in one of the examples - * for this operation.

- *

To request access to a specific instance, specify the IDs of both the instance and the - * fleet it belongs to. You can retrieve a fleet's instance IDs by calling DescribeInstances.

+ *

Requests authorization to remotely connect to an instance in an Amazon GameLift managed fleet. + * Use this operation to connect to instances with game servers that use Amazon GameLift server SDK + * 4.x or earlier. To connect to instances with game servers that use server SDK 5.x or + * later, call GetComputeAccess.

+ *

To request access to an instance, specify IDs for the instance and the fleet it + * belongs to. You can retrieve instance IDs for a fleet by calling DescribeInstances with the fleet ID.

+ *

If successful, this operation returns an IP address and credentials. The returned + * credentials match the operating system of the instance, as follows:

+ *
    + *
  • + *

    For a Windows instance: returns a user name and secret (password) for use with + * a Windows Remote Desktop client.

    + *
  • + *
  • + *

    For a Linux instance: returns a user name and secret (RSA private key) for use + * with an SSH client. You must save the secret to a .pem file. If + * you're using the CLI, see the example Get credentials for a Linux instance for tips on automatically + * saving the secret to a .pem file.

    + *
  • + *
*

* Learn more *

*

- * Remotely Access Fleet - * Instances + * Remotely connect to + * fleet instances *

*

- * Debug Fleet - * Issues + * Debug fleet + * issues *

*

* Related actions diff --git a/clients/client-gamelift/src/commands/ListComputeCommand.ts b/clients/client-gamelift/src/commands/ListComputeCommand.ts index 6a8545c8c8fd..e51201f0035c 100644 --- a/clients/client-gamelift/src/commands/ListComputeCommand.ts +++ b/clients/client-gamelift/src/commands/ListComputeCommand.ts @@ -36,7 +36,14 @@ export interface ListComputeCommandOutput extends ListComputeOutput, __MetadataB /** * @public - *

Retrieves all compute resources registered to a fleet in your Amazon Web Services account. You can filter the result set by location.

+ *

Retrieves the compute resources in an Amazon GameLift fleet. You can request information for + * either managed EC2 fleets or Anywhere fleets.

+ *

To request a list of computes, specify the fleet ID. You can filter the result set by + * location. Use the pagination parameters to retrieve results in a set of sequential + * pages.

+ *

If successful, this operation returns the compute resource for the requested fleet. + * For managed EC2 fleets, it returns a list of EC2 instances. For Anywhere fleets, it + * returns a list of registered compute names.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -64,7 +71,7 @@ export interface ListComputeCommandOutput extends ListComputeOutput, __MetadataB * // Location: "STRING_VALUE", * // CreationTime: new Date("TIMESTAMP"), * // OperatingSystem: "WINDOWS_2012" || "AMAZON_LINUX" || "AMAZON_LINUX_2" || "WINDOWS_2016" || "AMAZON_LINUX_2023", - * // Type: "t2.micro" || "t2.small" || "t2.medium" || "t2.large" || "c3.large" || "c3.xlarge" || "c3.2xlarge" || "c3.4xlarge" || "c3.8xlarge" || "c4.large" || "c4.xlarge" || "c4.2xlarge" || "c4.4xlarge" || "c4.8xlarge" || "c5.large" || "c5.xlarge" || "c5.2xlarge" || "c5.4xlarge" || "c5.9xlarge" || "c5.12xlarge" || "c5.18xlarge" || "c5.24xlarge" || "c5a.large" || "c5a.xlarge" || "c5a.2xlarge" || "c5a.4xlarge" || "c5a.8xlarge" || "c5a.12xlarge" || "c5a.16xlarge" || "c5a.24xlarge" || "r3.large" || "r3.xlarge" || "r3.2xlarge" || "r3.4xlarge" || "r3.8xlarge" || "r4.large" || "r4.xlarge" || "r4.2xlarge" || "r4.4xlarge" || "r4.8xlarge" || "r4.16xlarge" || "r5.large" || "r5.xlarge" || "r5.2xlarge" || "r5.4xlarge" || "r5.8xlarge" || "r5.12xlarge" || "r5.16xlarge" || "r5.24xlarge" || "r5a.large" || "r5a.xlarge" || "r5a.2xlarge" || "r5a.4xlarge" || "r5a.8xlarge" || "r5a.12xlarge" || "r5a.16xlarge" || "r5a.24xlarge" || "m3.medium" || "m3.large" || "m3.xlarge" || "m3.2xlarge" || "m4.large" || "m4.xlarge" || "m4.2xlarge" || "m4.4xlarge" || "m4.10xlarge" || "m5.large" || "m5.xlarge" || "m5.2xlarge" || "m5.4xlarge" || "m5.8xlarge" || "m5.12xlarge" || "m5.16xlarge" || "m5.24xlarge" || "m5a.large" || "m5a.xlarge" || "m5a.2xlarge" || "m5a.4xlarge" || "m5a.8xlarge" || "m5a.12xlarge" || "m5a.16xlarge" || "m5a.24xlarge" || "c5d.large" || "c5d.xlarge" || "c5d.2xlarge" || "c5d.4xlarge" || "c5d.9xlarge" || "c5d.12xlarge" || "c5d.18xlarge" || "c5d.24xlarge" || "c6a.large" || "c6a.xlarge" || "c6a.2xlarge" || "c6a.4xlarge" || "c6a.8xlarge" || "c6a.12xlarge" || "c6a.16xlarge" || "c6a.24xlarge" || "c6i.large" || "c6i.xlarge" || "c6i.2xlarge" || "c6i.4xlarge" || "c6i.8xlarge" || "c6i.12xlarge" || "c6i.16xlarge" || "c6i.24xlarge" || "r5d.large" || "r5d.xlarge" || "r5d.2xlarge" || "r5d.4xlarge" || "r5d.8xlarge" || "r5d.12xlarge" || "r5d.16xlarge" || "r5d.24xlarge", + * // Type: "t2.micro" || "t2.small" || "t2.medium" || "t2.large" || "c3.large" || "c3.xlarge" || "c3.2xlarge" || "c3.4xlarge" || "c3.8xlarge" || "c4.large" || "c4.xlarge" || "c4.2xlarge" || "c4.4xlarge" || "c4.8xlarge" || "c5.large" || "c5.xlarge" || "c5.2xlarge" || "c5.4xlarge" || "c5.9xlarge" || "c5.12xlarge" || "c5.18xlarge" || "c5.24xlarge" || "c5a.large" || "c5a.xlarge" || "c5a.2xlarge" || "c5a.4xlarge" || "c5a.8xlarge" || "c5a.12xlarge" || "c5a.16xlarge" || "c5a.24xlarge" || "r3.large" || "r3.xlarge" || "r3.2xlarge" || "r3.4xlarge" || "r3.8xlarge" || "r4.large" || "r4.xlarge" || "r4.2xlarge" || "r4.4xlarge" || "r4.8xlarge" || "r4.16xlarge" || "r5.large" || "r5.xlarge" || "r5.2xlarge" || "r5.4xlarge" || "r5.8xlarge" || "r5.12xlarge" || "r5.16xlarge" || "r5.24xlarge" || "r5a.large" || "r5a.xlarge" || "r5a.2xlarge" || "r5a.4xlarge" || "r5a.8xlarge" || "r5a.12xlarge" || "r5a.16xlarge" || "r5a.24xlarge" || "m3.medium" || "m3.large" || "m3.xlarge" || "m3.2xlarge" || "m4.large" || "m4.xlarge" || "m4.2xlarge" || "m4.4xlarge" || "m4.10xlarge" || "m5.large" || "m5.xlarge" || "m5.2xlarge" || "m5.4xlarge" || "m5.8xlarge" || "m5.12xlarge" || "m5.16xlarge" || "m5.24xlarge" || "m5a.large" || "m5a.xlarge" || "m5a.2xlarge" || "m5a.4xlarge" || "m5a.8xlarge" || "m5a.12xlarge" || "m5a.16xlarge" || "m5a.24xlarge" || "c5d.large" || "c5d.xlarge" || "c5d.2xlarge" || "c5d.4xlarge" || "c5d.9xlarge" || "c5d.12xlarge" || "c5d.18xlarge" || "c5d.24xlarge" || "c6a.large" || "c6a.xlarge" || "c6a.2xlarge" || "c6a.4xlarge" || "c6a.8xlarge" || "c6a.12xlarge" || "c6a.16xlarge" || "c6a.24xlarge" || "c6i.large" || "c6i.xlarge" || "c6i.2xlarge" || "c6i.4xlarge" || "c6i.8xlarge" || "c6i.12xlarge" || "c6i.16xlarge" || "c6i.24xlarge" || "r5d.large" || "r5d.xlarge" || "r5d.2xlarge" || "r5d.4xlarge" || "r5d.8xlarge" || "r5d.12xlarge" || "r5d.16xlarge" || "r5d.24xlarge" || "m6g.medium" || "m6g.large" || "m6g.xlarge" || "m6g.2xlarge" || "m6g.4xlarge" || "m6g.8xlarge" || "m6g.12xlarge" || "m6g.16xlarge" || "c6g.medium" || "c6g.large" || "c6g.xlarge" || "c6g.2xlarge" || "c6g.4xlarge" || "c6g.8xlarge" || "c6g.12xlarge" || "c6g.16xlarge" || "r6g.medium" || "r6g.large" || "r6g.xlarge" || "r6g.2xlarge" || "r6g.4xlarge" || "r6g.8xlarge" || "r6g.12xlarge" || "r6g.16xlarge" || "c6gn.medium" || "c6gn.large" || "c6gn.xlarge" || "c6gn.2xlarge" || "c6gn.4xlarge" || "c6gn.8xlarge" || "c6gn.12xlarge" || "c6gn.16xlarge" || "c7g.medium" || "c7g.large" || "c7g.xlarge" || "c7g.2xlarge" || "c7g.4xlarge" || "c7g.8xlarge" || "c7g.12xlarge" || "c7g.16xlarge" || "r7g.medium" || "r7g.large" || "r7g.xlarge" || "r7g.2xlarge" || "r7g.4xlarge" || "r7g.8xlarge" || "r7g.12xlarge" || "r7g.16xlarge" || "m7g.medium" || "m7g.large" || "m7g.xlarge" || "m7g.2xlarge" || "m7g.4xlarge" || "m7g.8xlarge" || "m7g.12xlarge" || "m7g.16xlarge" || "g5g.xlarge" || "g5g.2xlarge" || "g5g.4xlarge" || "g5g.8xlarge" || "g5g.16xlarge", * // GameLiftServiceSdkEndpoint: "STRING_VALUE", * // }, * // ], diff --git a/clients/client-gamelift/src/commands/RegisterComputeCommand.ts b/clients/client-gamelift/src/commands/RegisterComputeCommand.ts index bd133150b717..69097111c7b0 100644 --- a/clients/client-gamelift/src/commands/RegisterComputeCommand.ts +++ b/clients/client-gamelift/src/commands/RegisterComputeCommand.ts @@ -36,10 +36,16 @@ export interface RegisterComputeCommandOutput extends RegisterComputeOutput, __M /** * @public - *

Registers your compute resources in a fleet you previously created. After you register - * a compute to your fleet, you can monitor and manage your compute using Amazon GameLift. The - * operation returns the compute resource containing SDK endpoint you can use to connect - * your game server to Amazon GameLift.

+ *

Registers a compute resource to an Amazon GameLift Anywhere fleet. With Anywhere fleets you can + * incorporate your own computing hardware into an Amazon GameLift game hosting solution.

+ *

To register a compute to a fleet, give the compute a name (must be unique within the + * fleet) and specify the compute resource's DNS name or IP address. Provide the Anywhere + * fleet ID and a fleet location to associate with the compute being registered. You can + * optionally include the path to a TLS certificate on the compute resource.

+ *

If successful, this operation returns the compute details, including an Amazon GameLift SDK + * endpoint. Game server processes that run on the compute use this endpoint to communicate + * with the Amazon GameLift service. Each server process includes the SDK endpoint in its call to + * the Amazon GameLift server SDK action InitSDK().

*

* Learn more *

@@ -56,6 +62,11 @@ export interface RegisterComputeCommandOutput extends RegisterComputeOutput, __M * integration *

* + *
  • + *

    + * Server SDK + * reference guides (for version 5.x)

    + *
  • * * @example * Use a bare-bones client and the command you need to make an API call. @@ -85,7 +96,7 @@ export interface RegisterComputeCommandOutput extends RegisterComputeOutput, __M * // Location: "STRING_VALUE", * // CreationTime: new Date("TIMESTAMP"), * // OperatingSystem: "WINDOWS_2012" || "AMAZON_LINUX" || "AMAZON_LINUX_2" || "WINDOWS_2016" || "AMAZON_LINUX_2023", - * // Type: "t2.micro" || "t2.small" || "t2.medium" || "t2.large" || "c3.large" || "c3.xlarge" || "c3.2xlarge" || "c3.4xlarge" || "c3.8xlarge" || "c4.large" || "c4.xlarge" || "c4.2xlarge" || "c4.4xlarge" || "c4.8xlarge" || "c5.large" || "c5.xlarge" || "c5.2xlarge" || "c5.4xlarge" || "c5.9xlarge" || "c5.12xlarge" || "c5.18xlarge" || "c5.24xlarge" || "c5a.large" || "c5a.xlarge" || "c5a.2xlarge" || "c5a.4xlarge" || "c5a.8xlarge" || "c5a.12xlarge" || "c5a.16xlarge" || "c5a.24xlarge" || "r3.large" || "r3.xlarge" || "r3.2xlarge" || "r3.4xlarge" || "r3.8xlarge" || "r4.large" || "r4.xlarge" || "r4.2xlarge" || "r4.4xlarge" || "r4.8xlarge" || "r4.16xlarge" || "r5.large" || "r5.xlarge" || "r5.2xlarge" || "r5.4xlarge" || "r5.8xlarge" || "r5.12xlarge" || "r5.16xlarge" || "r5.24xlarge" || "r5a.large" || "r5a.xlarge" || "r5a.2xlarge" || "r5a.4xlarge" || "r5a.8xlarge" || "r5a.12xlarge" || "r5a.16xlarge" || "r5a.24xlarge" || "m3.medium" || "m3.large" || "m3.xlarge" || "m3.2xlarge" || "m4.large" || "m4.xlarge" || "m4.2xlarge" || "m4.4xlarge" || "m4.10xlarge" || "m5.large" || "m5.xlarge" || "m5.2xlarge" || "m5.4xlarge" || "m5.8xlarge" || "m5.12xlarge" || "m5.16xlarge" || "m5.24xlarge" || "m5a.large" || "m5a.xlarge" || "m5a.2xlarge" || "m5a.4xlarge" || "m5a.8xlarge" || "m5a.12xlarge" || "m5a.16xlarge" || "m5a.24xlarge" || "c5d.large" || "c5d.xlarge" || "c5d.2xlarge" || "c5d.4xlarge" || "c5d.9xlarge" || "c5d.12xlarge" || "c5d.18xlarge" || "c5d.24xlarge" || "c6a.large" || "c6a.xlarge" || "c6a.2xlarge" || "c6a.4xlarge" || "c6a.8xlarge" || "c6a.12xlarge" || "c6a.16xlarge" || "c6a.24xlarge" || "c6i.large" || "c6i.xlarge" || "c6i.2xlarge" || "c6i.4xlarge" || "c6i.8xlarge" || "c6i.12xlarge" || "c6i.16xlarge" || "c6i.24xlarge" || "r5d.large" || "r5d.xlarge" || "r5d.2xlarge" || "r5d.4xlarge" || "r5d.8xlarge" || "r5d.12xlarge" || "r5d.16xlarge" || "r5d.24xlarge", + * // Type: "t2.micro" || "t2.small" || "t2.medium" || "t2.large" || "c3.large" || "c3.xlarge" || "c3.2xlarge" || "c3.4xlarge" || "c3.8xlarge" || "c4.large" || "c4.xlarge" || "c4.2xlarge" || "c4.4xlarge" || "c4.8xlarge" || "c5.large" || "c5.xlarge" || "c5.2xlarge" || "c5.4xlarge" || "c5.9xlarge" || "c5.12xlarge" || "c5.18xlarge" || "c5.24xlarge" || "c5a.large" || "c5a.xlarge" || "c5a.2xlarge" || "c5a.4xlarge" || "c5a.8xlarge" || "c5a.12xlarge" || "c5a.16xlarge" || "c5a.24xlarge" || "r3.large" || "r3.xlarge" || "r3.2xlarge" || "r3.4xlarge" || "r3.8xlarge" || "r4.large" || "r4.xlarge" || "r4.2xlarge" || "r4.4xlarge" || "r4.8xlarge" || "r4.16xlarge" || "r5.large" || "r5.xlarge" || "r5.2xlarge" || "r5.4xlarge" || "r5.8xlarge" || "r5.12xlarge" || "r5.16xlarge" || "r5.24xlarge" || "r5a.large" || "r5a.xlarge" || "r5a.2xlarge" || "r5a.4xlarge" || "r5a.8xlarge" || "r5a.12xlarge" || "r5a.16xlarge" || "r5a.24xlarge" || "m3.medium" || "m3.large" || "m3.xlarge" || "m3.2xlarge" || "m4.large" || "m4.xlarge" || "m4.2xlarge" || "m4.4xlarge" || "m4.10xlarge" || "m5.large" || "m5.xlarge" || "m5.2xlarge" || "m5.4xlarge" || "m5.8xlarge" || "m5.12xlarge" || "m5.16xlarge" || "m5.24xlarge" || "m5a.large" || "m5a.xlarge" || "m5a.2xlarge" || "m5a.4xlarge" || "m5a.8xlarge" || "m5a.12xlarge" || "m5a.16xlarge" || "m5a.24xlarge" || "c5d.large" || "c5d.xlarge" || "c5d.2xlarge" || "c5d.4xlarge" || "c5d.9xlarge" || "c5d.12xlarge" || "c5d.18xlarge" || "c5d.24xlarge" || "c6a.large" || "c6a.xlarge" || "c6a.2xlarge" || "c6a.4xlarge" || "c6a.8xlarge" || "c6a.12xlarge" || "c6a.16xlarge" || "c6a.24xlarge" || "c6i.large" || "c6i.xlarge" || "c6i.2xlarge" || "c6i.4xlarge" || "c6i.8xlarge" || "c6i.12xlarge" || "c6i.16xlarge" || "c6i.24xlarge" || "r5d.large" || "r5d.xlarge" || "r5d.2xlarge" || "r5d.4xlarge" || "r5d.8xlarge" || "r5d.12xlarge" || "r5d.16xlarge" || "r5d.24xlarge" || "m6g.medium" || "m6g.large" || "m6g.xlarge" || "m6g.2xlarge" || "m6g.4xlarge" || "m6g.8xlarge" || "m6g.12xlarge" || "m6g.16xlarge" || "c6g.medium" || "c6g.large" || "c6g.xlarge" || "c6g.2xlarge" || "c6g.4xlarge" || "c6g.8xlarge" || "c6g.12xlarge" || "c6g.16xlarge" || "r6g.medium" || "r6g.large" || "r6g.xlarge" || "r6g.2xlarge" || "r6g.4xlarge" || "r6g.8xlarge" || "r6g.12xlarge" || "r6g.16xlarge" || "c6gn.medium" || "c6gn.large" || "c6gn.xlarge" || "c6gn.2xlarge" || "c6gn.4xlarge" || "c6gn.8xlarge" || "c6gn.12xlarge" || "c6gn.16xlarge" || "c7g.medium" || "c7g.large" || "c7g.xlarge" || "c7g.2xlarge" || "c7g.4xlarge" || "c7g.8xlarge" || "c7g.12xlarge" || "c7g.16xlarge" || "r7g.medium" || "r7g.large" || "r7g.xlarge" || "r7g.2xlarge" || "r7g.4xlarge" || "r7g.8xlarge" || "r7g.12xlarge" || "r7g.16xlarge" || "m7g.medium" || "m7g.large" || "m7g.xlarge" || "m7g.2xlarge" || "m7g.4xlarge" || "m7g.8xlarge" || "m7g.12xlarge" || "m7g.16xlarge" || "g5g.xlarge" || "g5g.2xlarge" || "g5g.4xlarge" || "g5g.8xlarge" || "g5g.16xlarge", * // GameLiftServiceSdkEndpoint: "STRING_VALUE", * // }, * // }; diff --git a/clients/client-gamelift/src/commands/UpdateGameServerCommand.ts b/clients/client-gamelift/src/commands/UpdateGameServerCommand.ts index 62b2f5f65503..cd9a5a12a3f7 100644 --- a/clients/client-gamelift/src/commands/UpdateGameServerCommand.ts +++ b/clients/client-gamelift/src/commands/UpdateGameServerCommand.ts @@ -39,18 +39,18 @@ export interface UpdateGameServerCommandOutput extends UpdateGameServerOutput, _ *

    * This operation is used with the Amazon GameLift FleetIQ solution and game server groups. *

    - *

    Updates information about a - * registered game server to help Amazon GameLift FleetIQ to track game server availability. This operation - * is called by a game server process that is running on an instance in a game server - * group.

    + *

    Updates information about a registered game server to help Amazon GameLift FleetIQ track game server + * availability. This operation is called by a game server process that is running on an + * instance in a game server group.

    *

    Use this operation to update the following types of game server information. You can * make all three types of updates in the same request:

    *
      *
    • - *

      To update the game server's utilization status, identify the game server and - * game server group and specify the current utilization status. Use this status to - * identify when game servers are currently hosting games and when they are - * available to be claimed.

      + *

      To update the game server's utilization status from AVAILABLE + * (when the game server is available to be claimed) to UTILIZED (when + * the game server is currently hosting games). Identify the game server and game + * server group and specify the new utilization status. You can't change the status + * from to UTILIZED to AVAILABLE .

      *
    • *
    • *

      To report health status, identify the game server and game server group and diff --git a/clients/client-gamelift/src/endpoint/ruleset.ts b/clients/client-gamelift/src/endpoint/ruleset.ts index 4ea48f977953..67d4ded33105 100644 --- a/clients/client-gamelift/src/endpoint/ruleset.ts +++ b/clients/client-gamelift/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://gamelift-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://gamelift-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://gamelift.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://gamelift.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://gamelift-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://gamelift-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://gamelift.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://gamelift.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-gamelift/src/models/models_0.ts b/clients/client-gamelift/src/models/models_0.ts index 1360039fe8f9..f32dbf58c184 100644 --- a/clients/client-gamelift/src/models/models_0.ts +++ b/clients/client-gamelift/src/models/models_0.ts @@ -302,27 +302,40 @@ export interface AttributeValue { /** * @public - *

      Temporary access credentials used for uploading game build files to Amazon GameLift. They are - * valid for a limited time. If they expire before you upload your game build, get a new - * set by calling RequestUploadCredentials.

      + *

      Amazon Web Services account security credentials that allow interactions with Amazon GameLift resources. The + * credentials are temporary and valid for a limited time span. You can request fresh + * credentials at any time.

      + *

      Amazon Web Services security credentials consist of three parts: an access key ID, a secret access + * key, and a session token. You must use all three parts together to authenticate your + * access requests.

      + *

      You need Amazon Web Services credentials for the following tasks:

      + *
        + *
      • + *

        To upload a game server build directly to Amazon GameLift S3 storage using CreateBuild. To get access for this + * task, call RequestUploadCredentials.

        + *
      • + *
      • + *

        To remotely connect to an active Amazon GameLift fleet instances. + * To get remote access, call GetComputeAccess.

        + *
      • + *
      */ export interface AwsCredentials { /** * @public - *

      Temporary key allowing access to the Amazon GameLift S3 account.

      + *

      The access key ID that identifies the temporary security credentials.

      */ AccessKeyId?: string; /** * @public - *

      Temporary secret key allowing access to the Amazon GameLift S3 account.

      + *

      The secret access key that can be used to sign requests.

      */ SecretAccessKey?: string; /** * @public - *

      Token used to associate a specific build ID with the files uploaded using these - * credentials.

      + *

      The token that users must pass to the service API to use the temporary credentials.

      */ SessionToken?: string; } @@ -880,6 +893,22 @@ export const EC2InstanceType = { c6a_8xlarge: "c6a.8xlarge", c6a_large: "c6a.large", c6a_xlarge: "c6a.xlarge", + c6g_12xlarge: "c6g.12xlarge", + c6g_16xlarge: "c6g.16xlarge", + c6g_2xlarge: "c6g.2xlarge", + c6g_4xlarge: "c6g.4xlarge", + c6g_8xlarge: "c6g.8xlarge", + c6g_large: "c6g.large", + c6g_medium: "c6g.medium", + c6g_xlarge: "c6g.xlarge", + c6gn_12xlarge: "c6gn.12xlarge", + c6gn_16xlarge: "c6gn.16xlarge", + c6gn_2xlarge: "c6gn.2xlarge", + c6gn_4xlarge: "c6gn.4xlarge", + c6gn_8xlarge: "c6gn.8xlarge", + c6gn_large: "c6gn.large", + c6gn_medium: "c6gn.medium", + c6gn_xlarge: "c6gn.xlarge", c6i_12xlarge: "c6i.12xlarge", c6i_16xlarge: "c6i.16xlarge", c6i_24xlarge: "c6i.24xlarge", @@ -888,6 +917,19 @@ export const EC2InstanceType = { c6i_8xlarge: "c6i.8xlarge", c6i_large: "c6i.large", c6i_xlarge: "c6i.xlarge", + c7g_12xlarge: "c7g.12xlarge", + c7g_16xlarge: "c7g.16xlarge", + c7g_2xlarge: "c7g.2xlarge", + c7g_4xlarge: "c7g.4xlarge", + c7g_8xlarge: "c7g.8xlarge", + c7g_large: "c7g.large", + c7g_medium: "c7g.medium", + c7g_xlarge: "c7g.xlarge", + g5g_16xlarge: "g5g.16xlarge", + g5g_2xlarge: "g5g.2xlarge", + g5g_4xlarge: "g5g.4xlarge", + g5g_8xlarge: "g5g.8xlarge", + g5g_xlarge: "g5g.xlarge", m3_2xlarge: "m3.2xlarge", m3_large: "m3.large", m3_medium: "m3.medium", @@ -913,6 +955,22 @@ export const EC2InstanceType = { m5a_8xlarge: "m5a.8xlarge", m5a_large: "m5a.large", m5a_xlarge: "m5a.xlarge", + m6g_12xlarge: "m6g.12xlarge", + m6g_16xlarge: "m6g.16xlarge", + m6g_2xlarge: "m6g.2xlarge", + m6g_4xlarge: "m6g.4xlarge", + m6g_8xlarge: "m6g.8xlarge", + m6g_large: "m6g.large", + m6g_medium: "m6g.medium", + m6g_xlarge: "m6g.xlarge", + m7g_12xlarge: "m7g.12xlarge", + m7g_16xlarge: "m7g.16xlarge", + m7g_2xlarge: "m7g.2xlarge", + m7g_4xlarge: "m7g.4xlarge", + m7g_8xlarge: "m7g.8xlarge", + m7g_large: "m7g.large", + m7g_medium: "m7g.medium", + m7g_xlarge: "m7g.xlarge", r3_2xlarge: "r3.2xlarge", r3_4xlarge: "r3.4xlarge", r3_8xlarge: "r3.8xlarge", @@ -948,6 +1006,22 @@ export const EC2InstanceType = { r5d_8xlarge: "r5d.8xlarge", r5d_large: "r5d.large", r5d_xlarge: "r5d.xlarge", + r6g_12xlarge: "r6g.12xlarge", + r6g_16xlarge: "r6g.16xlarge", + r6g_2xlarge: "r6g.2xlarge", + r6g_4xlarge: "r6g.4xlarge", + r6g_8xlarge: "r6g.8xlarge", + r6g_large: "r6g.large", + r6g_medium: "r6g.medium", + r6g_xlarge: "r6g.xlarge", + r7g_12xlarge: "r7g.12xlarge", + r7g_16xlarge: "r7g.16xlarge", + r7g_2xlarge: "r7g.2xlarge", + r7g_4xlarge: "r7g.4xlarge", + r7g_8xlarge: "r7g.8xlarge", + r7g_large: "r7g.large", + r7g_medium: "r7g.medium", + r7g_xlarge: "r7g.xlarge", t2_large: "t2.large", t2_medium: "t2.medium", t2_micro: "t2.micro", @@ -961,46 +1035,48 @@ export type EC2InstanceType = (typeof EC2InstanceType)[keyof typeof EC2InstanceT /** * @public - *

      Resources used to host your game servers. A compute resource can be managed Amazon GameLift - * Amazon EC2 instances or your own resources.

      + *

      An Amazon GameLift compute resource for hosting your game servers. A compute can be an + * EC2instance in a managed EC2 fleet or a registered compute in an Anywhere fleet.

      */ export interface Compute { /** * @public - *

      A unique identifier for the fleet that the compute is registered to.

      + *

      A unique identifier for the fleet that the compute belongs to.

      */ FleetId?: string; /** * @public - *

      The Amazon Resource Name (ARN) of the fleet that the compute is registered to.

      + *

      The Amazon Resource Name (ARN) of the fleet that the compute belongs to.

      */ FleetArn?: string; /** * @public - *

      A descriptive label that is associated with the compute resource registered to your fleet.

      + *

      A descriptive label for the compute resource. For instances in a managed EC2 fleet, the compute name is an instance + * ID.

      */ ComputeName?: string; /** * @public - *

      The ARN that is assigned to the compute resource and uniquely identifies it. ARNs are - * unique across locations.

      + *

      The ARN that is assigned to a compute resource and uniquely identifies it. ARNs are + * unique across locations. Instances in managed EC2 fleets are not assigned a + * ComputeARN.

      */ ComputeArn?: string; /** * @public - *

      The IP address of the compute resource. Amazon GameLift requires the DNS name or IP address to - * manage your compute resource.

      + *

      The IP address of a compute resource. Amazon GameLift requires a DNS name or IP address for a + * compute.

      */ IpAddress?: string; /** * @public - *

      The DNS name of the compute resource. Amazon GameLift requires the DNS name or IP address to - * manage your compute resource.

      + *

      The DNS name of a compute resource. Amazon GameLift requires a DNS name or IP address for a + * compute.

      */ DnsName?: string; @@ -1026,21 +1102,21 @@ export interface Compute { /** * @public - *

      The type of operating system on your compute resource.

      + *

      The type of operating system on the compute resource.

      */ OperatingSystem?: OperatingSystem | string; /** * @public - *

      The compute type that the fleet uses. A fleet can use Anywhere compute resources that - * you own, or use managed Amazon EC2 instances.

      + *

      The Amazon EC2 instance type that the fleet uses. For registered computes in an Amazon GameLift Anywhere fleet, this property is empty.

      */ Type?: EC2InstanceType | string; /** * @public - *

      The endpoint connection details of the Amazon GameLift SDK endpoint that your game server - * connects to.

      + *

      The Amazon GameLift SDK endpoint connection for a registered compute resource in an Anywhere + * fleet. The game servers on the compute use this endpoint to connect to the Amazon GameLift + * service.

      */ GameLiftServiceSdkEndpoint?: string; } @@ -1451,9 +1527,8 @@ export interface ResourceCreationLimitPolicy { export interface ServerProcess { /** * @public - *

      The location of a game build executable or the Realtime script file that contains the - * Init() function. Game builds and Realtime scripts are installed on - * instances at the root:

      + *

      The location of a game build executable or Realtime script. Game builds and Realtime + * scripts are installed on instances at the root:

      *
        *
      • *

        Windows (custom game builds only): C:\game. Example: @@ -1465,6 +1540,12 @@ export interface ServerProcess { * "/local/game/MyRealtimeScript.js"

        *
      • *
      + * + *

      Amazon GameLift doesn't support the use of setup scripts that launch the game executable. + * For custom game builds, this parameter must indicate the executable that calls the + * server SDK operations initSDK() and ProcessReady(). + *

      + *
      */ LaunchPath: string | undefined; @@ -2871,7 +2952,9 @@ export interface CreateGameSessionInput { * @public *

      A fleet's remote location to place the new game session in. If this parameter is not * set, the new game session is placed in the fleet's home Region. Specify a remote - * location with an Amazon Web Services Region code such as us-west-2.

      + * location with an Amazon Web Services Region code such as us-west-2. When using an + * Anywhere fleet, this parameter is required and must be set to the Anywhere fleet's + * custom location.

      */ Location?: string; } @@ -2926,7 +3009,7 @@ export type GameSessionStatusReason = (typeof GameSessionStatusReason)[keyof typ *

      Properties describing a game session.

      *

      A game session in ACTIVE status can host players. When a game session ends, its status * is set to TERMINATED.

      - *

      Once the session ends, the game session object is retained for 30 days. This means you + *

      Amazon GameLift retains a game session resource for 30 days after the game session ends. You * can reuse idempotency token values after this time. Game session logs are retained for * 14 days.

      *

      @@ -2955,8 +3038,7 @@ export interface GameSession { /** * @public - *

      The Amazon Resource Name (ARN) associated with the GameLift fleet that this game session is running on. - *

      + *

      The Amazon Resource Name (ARN) associated with the GameLift fleet that this game session is running on.

      */ FleetArn?: string; @@ -3055,12 +3137,12 @@ export interface GameSession { /** * @public - *

      Information about the matchmaking process that was used to create the game session. It - * is in JSON syntax, formatted as a string. In addition the matchmaking configuration - * used, it contains data on all players assigned to the match, including player attributes - * and team assignments. For more details on matchmaker data, see Match - * Data. Matchmaker data is useful when requesting match backfills, and is - * updated whenever new players are added during a successful backfill (see StartMatchBackfill).

      + *

      Information about the matchmaking process that resulted in the game session, if + * matchmaking was used. Data is in JSON syntax, formatted as a string. Information + * includes the matchmaker ID as well as player attributes and team assignments. For more + * details on matchmaker data, see Match + * Data. Matchmaker data is updated whenever new players are added during a + * successful backfill (see StartMatchBackfill).

      */ MatchmakerData?: string; @@ -4721,13 +4803,13 @@ export interface DeleteVpcPeeringConnectionOutput {} export interface DeregisterComputeInput { /** * @public - *

      >A unique identifier for the fleet the compute resource is registered to.

      + *

      A unique identifier for the fleet the compute resource is currently registered to.

      */ FleetId: string | undefined; /** * @public - *

      The name of the compute resource you want to delete.

      + *

      The name of the compute resource to remove from the specified Anywhere fleet.

      */ ComputeName: string | undefined; } @@ -4806,13 +4888,16 @@ export interface DescribeBuildOutput { export interface DescribeComputeInput { /** * @public - *

      A unique identifier for the fleet the compute is registered to.

      + *

      A unique identifier for the fleet that the compute is registered to. You can use either the fleet ID or ARN + * value.

      */ FleetId: string | undefined; /** * @public - *

      A descriptive label that is associated with the compute resource registered to your fleet.

      + *

      The unique identifier of the compute resource to retrieve properties for. For an + * Anywhere fleet compute, use the registered compute name. For a managed EC2 fleet + * instance, use the instance ID.

      */ ComputeName: string | undefined; } @@ -4823,7 +4908,7 @@ export interface DescribeComputeInput { export interface DescribeComputeOutput { /** * @public - *

      The details of the compute resource you registered to the specified fleet.

      + *

      The set of properties for the requested compute resource.

      */ Compute?: Compute; } @@ -4978,9 +5063,10 @@ export interface DescribeFleetCapacityInput { export interface EC2InstanceCounts { /** * @public - *

      Ideal number of active instances. GameLift will always try to maintain the desired - * number of instances. Capacity is scaled up or down by changing the desired instances. - *

      + *

      Requested number of active instances. Amazon GameLift takes action as needed to maintain the + * desired number of instances. Capacity is scaled up or down by changing the desired + * instances. A change in the desired instances value can take up to 1 minute to be + * reflected when viewing a fleet's capacity settings.

      */ DESIRED?: number; @@ -5077,7 +5163,8 @@ export interface DescribeFleetCapacityOutput { /** * @public *

      A collection of objects that contains capacity information for each requested fleet - * ID. Capacity objects are returned only for fleets that currently exist.

      + * ID. Capacity objects are returned only for fleets that currently exist. Changes in + * desired instance value can take up to 1 minute to be reflected.

      */ FleetCapacity?: FleetCapacity[]; @@ -5329,6 +5416,11 @@ export interface Event { *

      INSTANCE_INTERRUPTED -- A spot instance was interrupted by EC2 with a * two-minute notification.

      *
    • + *
    • + *

      INSTANCE_RECYCLED -- A spot instance was determined to have a high risk + * of interruption and is scheduled to be recycled once it has no active + * game sessions.

      + *
    • *
    *

    * Server process events: @@ -5569,7 +5661,8 @@ export interface DescribeFleetLocationCapacityOutput { /** * @public *

    Resource capacity information for the requested fleet location. Capacity objects are - * returned only for fleets and locations that currently exist.

    + * returned only for fleets and locations that currently exist. Changes in desired instance + * value can take up to 1 minute to be reflected.

    */ FleetCapacity?: FleetCapacity; } @@ -6099,8 +6192,17 @@ export type GameSessionPlacementState = (typeof GameSessionPlacementState)[keyof /** * @public - *

    This object includes the full details of the original request plus the current status - * and start/end time stamps.

    + *

    Represents a potential game session placement, including the full details of the + * original placement request and the current status.

    + * + *

    If the game session placement status is PENDING, the properties for game + * session ID/ARN, region, IP address/DNS, and port aren't final. A game session is not + * active and ready to accept players until placement status reaches + * FULFILLED. When the placement is in PENDING status, + * Amazon GameLift may attempt to place a game session multiple times before succeeding. With + * each attempt it creates a GameSession object and updates this + * placement object with the new game session properties..

    + *
    */ export interface GameSessionPlacement { /** @@ -6121,15 +6223,14 @@ export interface GameSessionPlacement { *
      *
    • *

      - * PENDING -- The placement request is currently - * in the queue waiting to be processed.

      + * PENDING -- The placement request is + * in the queue waiting to be processed. Game session properties are not + * yet final.

      *
    • *
    • *

      - * FULFILLED -- A new game session and player - * sessions (if requested) have been successfully created. Values for - * GameSessionArn and - * GameSessionRegion are available.

      + * FULFILLED -- A new game session has been + * successfully placed. Game session properties are now final.

      *
    • *
    • *

      @@ -6173,25 +6274,23 @@ export interface GameSessionPlacement { /** * @public - *

      A unique identifier for the game session. This value is set once the new game session is placed (placement status is - * FULFILLED).

      + *

      A unique identifier for the game session. This value isn't final until placement status is + * FULFILLED.

      */ GameSessionId?: string; /** * @public - *

      Identifier for the game session created by this placement request. This value is set - * once the new game session is placed (placement status is FULFILLED). This - * identifier is unique across all Regions. You can use this value as a - * GameSessionId value as needed.

      + *

      Identifier for the game session created by this placement request. This identifier is + * unique across all Regions. This value isn't final until placement status is + * FULFILLED.

      */ GameSessionArn?: string; /** * @public *

      Name of the Region where the game session created by this placement request is - * running. This value is set once the new game session is placed (placement status is - * FULFILLED).

      + * running. This value isn't final until placement status is FULFILLED.

      */ GameSessionRegion?: string; @@ -6215,8 +6314,7 @@ export interface GameSessionPlacement { /** * @public - *

      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. This value is set once the new game session is placed (placement status is - * FULFILLED).

      + *

      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. This value isn't final until placement status is FULFILLED.

      */ IpAddress?: string; @@ -6239,18 +6337,18 @@ export interface GameSessionPlacement { /** * @public - *

      The port number for the game session. To connect to a Amazon GameLift game server, an app needs both the IP address and port number. This value is set once the new game session is placed (placement status is - * FULFILLED).

      + *

      The port number for the game session. To connect to a Amazon GameLift game server, an app needs both the IP address and port number. This value isn't final until placement status is + * FULFILLED.

      */ Port?: number; /** * @public *

      A collection of information on player sessions created in response to the game session - * placement request. These player sessions are created only once a new game session is + * placement request. These player sessions are created only after a new game session is * successfully placed (placement status is FULFILLED). This information - * includes the player ID (as provided in the placement request) and the corresponding - * player session ID.

      + * includes the player ID, provided in the placement request, and a corresponding player + * session ID.

      */ PlacedPlayerSessions?: PlacedPlayerSession[]; @@ -6450,16 +6548,13 @@ export type InstanceStatus = (typeof InstanceStatus)[keyof typeof InstanceStatus /** * @public - *

      Represents an EC2 instance of virtual computing resources that hosts one or more game - * servers. In Amazon GameLift, a fleet can contain zero or more instances.

      - *

      - * Related actions - *

      + *

      Represents a virtual computing instance that runs game server processes and hosts game + * sessions. In Amazon GameLift, one or more instances make up a managed EC2 fleet.

      */ export interface Instance { /** * @public - *

      A unique identifier for the fleet that the instance is in.

      + *

      A unique identifier for the fleet that the instance belongs to.

      */ FleetId?: string; @@ -6491,7 +6586,7 @@ export interface Instance { *
    • *
    • *

      Non-TLS-enabled fleets: ec2-.compute.amazonaws.com. (See - * Amazon EC2 Instance IP Addressing.)

      + * Amazon Elastic Compute Cloud Instance IP Addressing.)

      *
    • *
    *

    When connecting to a game session that is running on a TLS-enabled fleet, you must use the DNS name, not the IP address.

    @@ -6500,13 +6595,13 @@ export interface Instance { /** * @public - *

    Operating system that is running on this instance.

    + *

    Operating system that is running on this EC2 instance.

    */ OperatingSystem?: OperatingSystem | string; /** * @public - *

    Amazon EC2 instance type that defines the computing resources of this instance.

    + *

    EC2 instance type that defines the computing resources of this instance.

    */ Type?: EC2InstanceType | string; @@ -7644,13 +7739,15 @@ export interface DesiredPlayerSession { export interface GetComputeAccessInput { /** * @public - *

    A unique identifier for the fleet that the compute resource is registered to.

    + *

    A unique identifier for the fleet that contains the compute resource you want to connect to. You can use either + * the fleet ID or ARN value.

    */ FleetId: string | undefined; /** * @public - *

    The name of the compute resource you are requesting credentials for.

    + *

    A unique identifier for the compute resource that you want to connect to. You can use + * either a registered compute name or an instance ID.

    */ ComputeName: string | undefined; } @@ -7661,7 +7758,7 @@ export interface GetComputeAccessInput { export interface GetComputeAccessOutput { /** * @public - *

    The fleet ID of compute resource.

    + *

    The ID of the fleet that contains the compute resource to be accessed.

    */ FleetId?: string; @@ -7673,13 +7770,14 @@ export interface GetComputeAccessOutput { /** * @public - *

    The name of the compute resource you requested credentials for.

    + *

    The identifier of the compute resource to be accessed. This value might be either a + * compute name or an instance ID.

    */ ComputeName?: string; /** * @public - *

    The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift compute resource and uniquely identifies it. + *

    The Amazon Resource Name (ARN) that is assigned to an Amazon GameLift compute resource and uniquely identifies it. * ARNs are unique across all Regions. Format is * arn:aws:gamelift:::compute/compute-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912.

    */ @@ -7687,7 +7785,8 @@ export interface GetComputeAccessOutput { /** * @public - *

    The access credentials for the compute resource.

    + *

    A set of temporary Amazon Web Services credentials for use when connecting to the + * compute resource with Amazon EC2 Systems Manager (SSM).

    */ Credentials?: AwsCredentials; } @@ -7728,32 +7827,27 @@ export interface GetComputeAuthTokenOutput { /** * @public - *

    The name of the compute resource you are requesting the authentication token - * for.

    + *

    The name of the compute resource that the authentication token is issued to.

    */ ComputeName?: string; /** * @public - *

    The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift compute resource and uniquely identifies it. + *

    The Amazon Resource Name (ARN) that is assigned to an Amazon GameLift compute resource and uniquely identifies it. * ARNs are unique across all Regions. Format is - * arn:aws:gamelift:::compute/compute-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912 - *

    + * arn:aws:gamelift:::compute/compute-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912.

    */ ComputeArn?: string; /** * @public - *

    The authentication token that your game server uses to authenticate with - * Amazon GameLift.

    + *

    A valid temporary authentication token.

    */ AuthToken?: string; /** * @public - *

    The amount of time until the authentication token is no longer valid. To continue - * using the compute resource for game server hosting, renew the authentication token by - * using this operation again.

    + *

    The amount of time until the authentication token is no longer valid.

    */ ExpirationTimestamp?: Date; } @@ -7788,61 +7882,64 @@ export interface GetGameSessionLogUrlOutput { export interface GetInstanceAccessInput { /** * @public - *

    A unique identifier for the fleet that contains the instance you want access to. You can use either the fleet ID - * or ARN value. The fleet can be in any of the following statuses: - * ACTIVATING, ACTIVE, or ERROR. Fleets with an - * ERROR status may be accessible for a short time before they are - * deleted.

    + *

    A unique identifier for the fleet that contains the instance you want to access. You can request access to + * instances in EC2 fleets with the following statuses: ACTIVATING, + * ACTIVE, or ERROR. Use either a fleet ID or an ARN value.

    + * + *

    You can access fleets in ERROR status for a short period of time before Amazon GameLift deletes them.

    + *
    */ FleetId: string | undefined; /** * @public - *

    A unique identifier for the instance you want to get access to. You can access an instance in any status.

    + *

    A unique identifier for the instance you want to access. You can access an instance in any status.

    */ InstanceId: string | undefined; } /** * @public - *

    Set of credentials required to remotely access a fleet instance.

    + *

    A set of credentials that allow remote access to an instance in an EC2 managed fleet. + * These credentials are returned in response to a call to GetInstanceAccess, which requests access for instances that are running + * game servers with the Amazon GameLift server SDK version 4.x or earlier.

    */ export interface InstanceCredentials { /** * @public - *

    User login string.

    + *

    A user name for logging in.

    */ UserName?: string; /** * @public *

    Secret string. For Windows instances, the secret is a password for use with Windows - * Remote Desktop. For Linux instances, it is a private key (which must be saved as a - * .pem file) for use with SSH.

    + * Remote Desktop. For Linux instances, it's a private key for use with SSH.

    */ Secret?: string; } /** * @public - *

    Information required to remotely connect to a fleet instance.

    + *

    Information and credentials that you can use to remotely connect to an instance in an + * EC2 managed fleet. This data type is returned in response to a call to GetInstanceAccess.

    */ export interface InstanceAccess { /** * @public - *

    A unique identifier for the fleet containing the instance being accessed.

    + *

    A unique identifier for the fleet containing the instance to be accessed.

    */ FleetId?: string; /** * @public - *

    A unique identifier for the instance being accessed.

    + *

    A unique identifier for the instance to be accessed.

    */ InstanceId?: string; /** * @public - *

    IP address that is assigned to the instance.

    + *

    IP address assigned to the instance.

    */ IpAddress?: string; @@ -7854,7 +7951,7 @@ export interface InstanceAccess { /** * @public - *

    Credentials required to access the instance.

    + *

    Security credentials that are required to access the instance.

    */ Credentials?: InstanceCredentials; } @@ -7999,13 +8096,13 @@ export interface ListBuildsOutput { export interface ListComputeInput { /** * @public - *

    A unique identifier for the fleet the compute resources are registered to.

    + *

    A unique identifier for the fleet to retrieve compute resources for.

    */ FleetId: string | undefined; /** * @public - *

    The name of the custom location that the compute resources are assigned to.

    + *

    The name of a location to retrieve compute resources for.

    */ Location?: string; @@ -8028,7 +8125,7 @@ export interface ListComputeInput { export interface ListComputeOutput { /** * @public - *

    A list of compute resources registered to the fleet you specified.

    + *

    A list of compute resources in the specified fleet.

    */ ComputeList?: Compute[]; @@ -8483,35 +8580,34 @@ export interface RegisterComputeInput { /** * @public - *

    A descriptive label that is associated with the compute resource registered to your fleet.

    + *

    A descriptive label for the compute resource.

    */ ComputeName: string | undefined; /** * @public - *

    The path to the TLS certificate on your compute resource. The path and certificate are - * not validated by Amazon GameLift.

    + *

    The path to a TLS certificate on your compute resource. Amazon GameLift doesn't validate the + * path and certificate.

    */ CertificatePath?: string; /** * @public - *

    The DNS name of the compute resource. Amazon GameLift requires the DNS name or IP address to - * manage your compute resource.

    + *

    The DNS name of the compute resource. Amazon GameLift requires either a DNS name or IP + * address.

    */ DnsName?: string; /** * @public - *

    The IP address of the compute resource. Amazon GameLift requires the DNS name or IP address to - * manage your compute resource.

    + *

    The IP address of the compute resource. Amazon GameLift requires either a DNS name or IP + * address.

    */ IpAddress?: string; /** * @public - *

    The name of the custom location you added to the fleet you are registering this - * compute resource to.

    + *

    The name of a custom location to associate with the compute resource being registered.

    */ Location?: string; } @@ -8522,7 +8618,7 @@ export interface RegisterComputeInput { export interface RegisterComputeOutput { /** * @public - *

    The details of the compute resource you registered to the specified fleet.

    + *

    The details of the compute resource you registered.

    */ Compute?: Compute; } @@ -9308,9 +9404,9 @@ export interface UpdateFleetAttributesInput { /** * @public - *

    The game session protection policy to apply to all new instances created in this - * fleet. Instances that already exist are not affected. You can set protection for - * individual instances using UpdateGameSession .

    + *

    The game session protection policy to apply to all new game sessions created in this + * fleet. Game sessions that already exist are not affected. You can set protection for + * individual game sessions using UpdateGameSession .

    *
      *
    • *

      @@ -9381,7 +9477,9 @@ export interface UpdateFleetCapacityInput { /** * @public *

      The number of Amazon EC2 instances you want to maintain in the specified fleet location. - * This value must fall between the minimum and maximum size limits.

      + * This value must fall between the minimum and maximum size limits. Changes in desired + * instance value can take up to 1 minute to be reflected when viewing the fleet's capacity + * settings.

      */ DesiredInstances?: number; diff --git a/clients/client-gamelift/src/models/models_1.ts b/clients/client-gamelift/src/models/models_1.ts index 5b2108c2d7c1..7dfc2aa78687 100644 --- a/clients/client-gamelift/src/models/models_1.ts +++ b/clients/client-gamelift/src/models/models_1.ts @@ -127,8 +127,10 @@ export interface UpdateGameServerInput { /** * @public - *

      Indicates whether the game server is available or is currently hosting - * gameplay.

      + *

      Indicates if the game server is available or is currently hosting gameplay. You can + * update a game server status from AVAILABLE to UTILIZED, but + * you can't change a the status from UTILIZED to + * AVAILABLE.

      */ UtilizationStatus?: GameServerUtilizationStatus | string; diff --git a/clients/client-gamelift/src/runtimeConfig.shared.ts b/clients/client-gamelift/src/runtimeConfig.shared.ts index 30458a1a2dd8..0903d4eeafac 100644 --- a/clients/client-gamelift/src/runtimeConfig.shared.ts +++ b/clients/client-gamelift/src/runtimeConfig.shared.ts @@ -16,6 +16,7 @@ export const getRuntimeConfig = (config: GameLiftClientConfig) => ({ base64Encoder: config?.base64Encoder ?? toBase64, disableHostPrefix: config?.disableHostPrefix ?? false, endpointProvider: config?.endpointProvider ?? defaultEndpointResolver, + extensions: config?.extensions ?? [], logger: config?.logger ?? new NoOpLogger(), serviceId: config?.serviceId ?? "GameLift", urlParser: config?.urlParser ?? parseUrl, diff --git a/clients/client-gamelift/src/runtimeExtensions.ts b/clients/client-gamelift/src/runtimeExtensions.ts new file mode 100644 index 000000000000..4beaa2d2eaa0 --- /dev/null +++ b/clients/client-gamelift/src/runtimeExtensions.ts @@ -0,0 +1,36 @@ +// smithy-typescript generated code +import { getDefaultClientConfiguration, resolveDefaultRuntimeConfig } from "@smithy/types"; + +import { GameLiftClientConfiguration } from "./clientConfiguration"; + +/** + * @public + */ +export interface RuntimeExtension { + configureClient(clientConfiguration: GameLiftClientConfiguration): void; +} + +/** + * @public + */ +export interface RuntimeExtensionsConfig { + extensions: RuntimeExtension[]; +} + +const asPartial = >(t: T) => t; + +/** + * @internal + */ +export const resolveRuntimeExtensions = (runtimeConfig: any, extensions: RuntimeExtension[]) => { + const clientConfiguration: GameLiftClientConfiguration = { + ...asPartial(getDefaultClientConfiguration(runtimeConfig)), + }; + + extensions.forEach((extension) => extension.configureClient(clientConfiguration)); + + return { + ...runtimeConfig, + ...resolveDefaultRuntimeConfig(clientConfiguration), + }; +}; diff --git a/codegen/sdk-codegen/aws-models/gamelift.json b/codegen/sdk-codegen/aws-models/gamelift.json index 8e43a94f8f4d..5226813ce1d0 100644 --- a/codegen/sdk-codegen/aws-models/gamelift.json +++ b/codegen/sdk-codegen/aws-models/gamelift.json @@ -52,7 +52,7 @@ } ], "traits": { - "smithy.api#documentation": "

      Registers a player's acceptance or rejection of a proposed FlexMatch match. A\n matchmaking configuration may require player acceptance; if so, then matches built with\n that configuration cannot be completed unless all players accept the proposed match\n within a specified time limit.

      \n

      When FlexMatch builds a match, all the matchmaking tickets involved in the proposed\n match are placed into status REQUIRES_ACCEPTANCE. This is a trigger for\n your game to get acceptance from all players in the ticket. Acceptances are only valid\n for tickets when they are in this status; all other acceptances result in an\n error.

      \n

      To register acceptance, specify the ticket ID, a response, and one or more players.\n Once all players have registered acceptance, the matchmaking tickets advance to status\n PLACING, where a new game session is created for the match.

      \n

      If any player rejects the match, or if acceptances are not received before a specified\n timeout, the proposed match is dropped. The matchmaking tickets are then handled in one\n of two ways: For tickets where one or more players rejected the match or failed to\n respond, the ticket status is set to CANCELLED, and processing is\n terminated. For tickets where players have accepted or not yet responded, the ticket\n status is returned to SEARCHING to find a new match. A new matchmaking\n request for these players can be submitted as needed.

      \n

      \n Learn more\n

      \n

      \n \n Add FlexMatch to a game client\n

      \n

      \n \n FlexMatch events (reference)

      " + "smithy.api#documentation": "

      Registers a player's acceptance or rejection of a proposed FlexMatch match. A\n matchmaking configuration may require player acceptance; if so, then matches built with\n that configuration cannot be completed unless all players accept the proposed match\n within a specified time limit.

      \n

      When FlexMatch builds a match, all the matchmaking tickets involved in the proposed\n match are placed into status REQUIRES_ACCEPTANCE. This is a trigger for\n your game to get acceptance from all players in each ticket. Calls to this action are only valid\n for tickets that are in this status; calls for tickets not in this status result in an\n error.

      \n

      To register acceptance, specify the ticket ID, one or more players, and an acceptance response.\n When all players have accepted, Amazon GameLift advances the matchmaking tickets to status\n PLACING, and attempts to create a new game session for the match.

      \n

      If any player rejects the match, or if acceptances are not received before a specified\n timeout, the proposed match is dropped. Each matchmaking ticket in the failed match is handled as follows:

      \n
        \n
      • \n

        If the ticket has one or more players who rejected the match or failed to\n respond, the ticket status is set CANCELLED and processing is\n terminated.

        \n
      • \n
      • \n

        If all players in the ticket accepted the match, the ticket\n status is returned to SEARCHING to find a new match.

        \n
      • \n
      \n

      \n Learn more\n

      \n

      \n \n Add FlexMatch to a game client\n

      \n

      \n \n FlexMatch events (reference)

      " } }, "com.amazonaws.gamelift#AcceptMatchInput": { @@ -264,24 +264,24 @@ "AccessKeyId": { "target": "com.amazonaws.gamelift#NonEmptyString", "traits": { - "smithy.api#documentation": "

      Temporary key allowing access to the Amazon GameLift S3 account.

      " + "smithy.api#documentation": "

      The access key ID that identifies the temporary security credentials.

      " } }, "SecretAccessKey": { "target": "com.amazonaws.gamelift#NonEmptyString", "traits": { - "smithy.api#documentation": "

      Temporary secret key allowing access to the Amazon GameLift S3 account.

      " + "smithy.api#documentation": "

      The secret access key that can be used to sign requests.

      " } }, "SessionToken": { "target": "com.amazonaws.gamelift#NonEmptyString", "traits": { - "smithy.api#documentation": "

      Token used to associate a specific build ID with the files uploaded using these\n credentials.

      " + "smithy.api#documentation": "

      The token that users must pass to the service API to use the temporary credentials.

      " } } }, "traits": { - "smithy.api#documentation": "

      Temporary access credentials used for uploading game build files to Amazon GameLift. They are\n valid for a limited time. If they expire before you upload your game build, get a new\n set by calling RequestUploadCredentials.

      ", + "smithy.api#documentation": "

      Amazon Web Services account security credentials that allow interactions with Amazon GameLift resources. The\n credentials are temporary and valid for a limited time span. You can request fresh\n credentials at any time.

      \n

      Amazon Web Services security credentials consist of three parts: an access key ID, a secret access\n key, and a session token. You must use all three parts together to authenticate your\n access requests.

      \n

      You need Amazon Web Services credentials for the following tasks:

      \n
        \n
      • \n

        To upload a game server build directly to Amazon GameLift S3 storage using CreateBuild. To get access for this\n task, call RequestUploadCredentials.

        \n
      • \n
      • \n

        To remotely connect to an active Amazon GameLift fleet instances. \n To get remote access, call GetComputeAccess.

        \n
      • \n
      ", "smithy.api#sensitive": {} } }, @@ -597,37 +597,37 @@ "FleetId": { "target": "com.amazonaws.gamelift#FleetId", "traits": { - "smithy.api#documentation": "

      A unique identifier for the fleet that the compute is registered to.

      " + "smithy.api#documentation": "

      A unique identifier for the fleet that the compute belongs to.

      " } }, "FleetArn": { "target": "com.amazonaws.gamelift#FleetArn", "traits": { - "smithy.api#documentation": "

      The Amazon Resource Name (ARN) of the fleet that the compute is registered to.

      " + "smithy.api#documentation": "

      The Amazon Resource Name (ARN) of the fleet that the compute belongs to.

      " } }, "ComputeName": { "target": "com.amazonaws.gamelift#ComputeName", "traits": { - "smithy.api#documentation": "

      A descriptive label that is associated with the compute resource registered to your fleet.

      " + "smithy.api#documentation": "

      A descriptive label for the compute resource. For instances in a managed EC2 fleet, the compute name is an instance\n ID.

      " } }, "ComputeArn": { "target": "com.amazonaws.gamelift#ComputeArn", "traits": { - "smithy.api#documentation": "

      The ARN that is assigned to the compute resource and uniquely identifies it. ARNs are\n unique across locations.

      " + "smithy.api#documentation": "

      The ARN that is assigned to a compute resource and uniquely identifies it. ARNs are\n unique across locations. Instances in managed EC2 fleets are not assigned a\n ComputeARN.

      " } }, "IpAddress": { "target": "com.amazonaws.gamelift#IpAddress", "traits": { - "smithy.api#documentation": "

      The IP address of the compute resource. Amazon GameLift requires the DNS name or IP address to\n manage your compute resource.

      " + "smithy.api#documentation": "

      The IP address of a compute resource. Amazon GameLift requires a DNS name or IP address for a\n compute.

      " } }, "DnsName": { "target": "com.amazonaws.gamelift#DnsName", "traits": { - "smithy.api#documentation": "

      The DNS name of the compute resource. Amazon GameLift requires the DNS name or IP address to\n manage your compute resource.

      " + "smithy.api#documentation": "

      The DNS name of a compute resource. Amazon GameLift requires a DNS name or IP address for a\n compute.

      " } }, "ComputeStatus": { @@ -651,24 +651,24 @@ "OperatingSystem": { "target": "com.amazonaws.gamelift#OperatingSystem", "traits": { - "smithy.api#documentation": "

      The type of operating system on your compute resource.

      " + "smithy.api#documentation": "

      The type of operating system on the compute resource.

      " } }, "Type": { "target": "com.amazonaws.gamelift#EC2InstanceType", "traits": { - "smithy.api#documentation": "

      The compute type that the fleet uses. A fleet can use Anywhere compute resources that\n you own, or use managed Amazon EC2 instances.

      " + "smithy.api#documentation": "

      The Amazon EC2 instance type that the fleet uses. For registered computes in an Amazon GameLift Anywhere fleet, this property is empty.

      " } }, "GameLiftServiceSdkEndpoint": { "target": "com.amazonaws.gamelift#GameLiftServiceSdkEndpointOutput", "traits": { - "smithy.api#documentation": "

      The endpoint connection details of the Amazon GameLift SDK endpoint that your game server\n connects to.

      " + "smithy.api#documentation": "

      The Amazon GameLift SDK endpoint connection for a registered compute resource in an Anywhere\n fleet. The game servers on the compute use this endpoint to connect to the Amazon GameLift\n service.

      " } } }, "traits": { - "smithy.api#documentation": "

      Resources used to host your game servers. A compute resource can be managed Amazon GameLift\n Amazon EC2 instances or your own resources.

      " + "smithy.api#documentation": "

      An Amazon GameLift compute resource for hosting your game servers. A compute can be an\n EC2instance in a managed EC2 fleet or a registered compute in an Anywhere fleet.

      " } }, "com.amazonaws.gamelift#ComputeArn": { @@ -1400,7 +1400,7 @@ } ], "traits": { - "smithy.api#documentation": "

      Creates a multiplayer game session for players in a specific fleet location. This\n operation prompts an available server process to start a game session and retrieves\n connection information for the new game session. As an alternative, consider using the\n Amazon GameLift game session placement feature with StartGameSessionPlacement , which uses FleetIQ algorithms and queues to\n optimize the placement process.

      \n

      When creating a game session, you specify exactly where you want to place it and\n provide a set of game session configuration settings. The fleet must be in\n ACTIVE status before a game session can be created in it.

      \n

      This operation can be used in the following ways:

      \n
        \n
      • \n

        To create a game session on an instance in a fleet's home Region, provide a\n fleet or alias ID along with your game session configuration.

        \n
      • \n
      • \n

        To create a game session on an instance in a fleet's remote location, provide\n a fleet or alias ID and a location name, along with your game session\n configuration.

        \n
      • \n
      \n

      If successful, a workflow is initiated to start a new game session. A\n GameSession object is returned containing the game session\n configuration and status. When the status is ACTIVE, game session\n connection information is provided and player sessions can be created for the game\n session. By default, newly created game sessions are open to new players. You can\n restrict new player access by using UpdateGameSession to change the game session's player session creation\n policy.

      \n

      Game session logs are retained for all active game sessions for 14 days. To access the\n logs, call GetGameSessionLogUrl to download the log files.

      \n

      \n Available in Amazon GameLift Local.\n

      \n

      \n Learn more\n

      \n

      \n Start a game session\n

      \n

      \n All APIs by task\n

      " + "smithy.api#documentation": "

      Creates a multiplayer game session for players in a specific fleet location. This\n operation prompts an available server process to start a game session and retrieves\n connection information for the new game session. As an alternative, consider using the\n Amazon GameLift game session placement feature with StartGameSessionPlacement , which uses the FleetIQ algorithm and queues to\n optimize the placement process.

      \n

      When creating a game session, you specify exactly where you want to place it and\n provide a set of game session configuration settings. The target fleet must be in\n ACTIVE status.

      \n

      You can use this operation in the following ways:

      \n
        \n
      • \n

        To create a game session on an instance in a fleet's home Region, provide a\n fleet or alias ID along with your game session configuration.

        \n
      • \n
      • \n

        To create a game session on an instance in a fleet's remote location, provide\n a fleet or alias ID and a location name, along with your game session\n configuration.

        \n
      • \n
      • \n

        To create a game session on an instance in an Anywhere fleet, specify the\n fleet's custom location.

        \n
      • \n
      \n

      If successful, Amazon GameLift initiates a workflow to start a new game session and returns a\n GameSession object containing the game session configuration and\n status. When the game session status is ACTIVE, it is updated with\n connection information and you can create player sessions for the game session. By\n default, newly created game sessions are open to new players. You can restrict new\n player access by using UpdateGameSession to change the game session's player session creation\n policy.

      \n

      Amazon GameLift retains logs for active for 14 days. To access the logs, call GetGameSessionLogUrl to download the log files.

      \n

      \n Available in Amazon GameLift Local.\n

      \n

      \n Learn more\n

      \n

      \n Start a game session\n

      \n

      \n All APIs by task\n

      " } }, "com.amazonaws.gamelift#CreateGameSessionInput": { @@ -1464,7 +1464,7 @@ "Location": { "target": "com.amazonaws.gamelift#LocationStringModel", "traits": { - "smithy.api#documentation": "

      A fleet's remote location to place the new game session in. If this parameter is not\n set, the new game session is placed in the fleet's home Region. Specify a remote\n location with an Amazon Web Services Region code such as us-west-2.

      " + "smithy.api#documentation": "

      A fleet's remote location to place the new game session in. If this parameter is not\n set, the new game session is placed in the fleet's home Region. Specify a remote\n location with an Amazon Web Services Region code such as us-west-2. When using an\n Anywhere fleet, this parameter is required and must be set to the Anywhere fleet's\n custom location.

      " } } }, @@ -2969,7 +2969,7 @@ } ], "traits": { - "smithy.api#documentation": "

      Removes a compute resource from the specified fleet. Deregister your compute resources\n before you delete the compute.

      " + "smithy.api#documentation": "

      Removes a compute resource from an Amazon GameLift Anywhere fleet. Deregistered computes can no\n longer host game sessions through Amazon GameLift.

      " } }, "com.amazonaws.gamelift#DeregisterComputeInput": { @@ -2978,14 +2978,14 @@ "FleetId": { "target": "com.amazonaws.gamelift#FleetIdOrArn", "traits": { - "smithy.api#documentation": "

      >A unique identifier for the fleet the compute resource is registered to.

      ", + "smithy.api#documentation": "

      A unique identifier for the fleet the compute resource is currently registered to.

      ", "smithy.api#required": {} } }, "ComputeName": { "target": "com.amazonaws.gamelift#ComputeNameOrArn", "traits": { - "smithy.api#documentation": "

      The name of the compute resource you want to delete.

      ", + "smithy.api#documentation": "

      The name of the compute resource to remove from the specified Anywhere fleet.

      ", "smithy.api#required": {} } } @@ -3182,7 +3182,7 @@ } ], "traits": { - "smithy.api#documentation": "

      Retrieves properties for a compute resource. To request a compute resource specify the\n fleet ID and compute name. If successful, Amazon GameLift returns an object containing the build\n properties.

      " + "smithy.api#documentation": "

      Retrieves properties for a compute resource in an Amazon GameLift fleet. Call ListCompute to get a list of compute resources in a fleet. You can\n request information for computes in either managed EC2 fleets or Anywhere fleets.

      \n

      To request compute properties, specify the compute name and fleet ID.

      \n

      If successful, this operation returns details for the requested compute resource. For\n managed EC2 fleets, this operation returns the fleet's EC2 instances. For Anywhere\n fleets, this operation returns the fleet's registered computes.

      " } }, "com.amazonaws.gamelift#DescribeComputeInput": { @@ -3191,14 +3191,14 @@ "FleetId": { "target": "com.amazonaws.gamelift#FleetIdOrArn", "traits": { - "smithy.api#documentation": "

      A unique identifier for the fleet the compute is registered to.

      ", + "smithy.api#documentation": "

      A unique identifier for the fleet that the compute is registered to. You can use either the fleet ID or ARN\n value.

      ", "smithy.api#required": {} } }, "ComputeName": { "target": "com.amazonaws.gamelift#ComputeNameOrArn", "traits": { - "smithy.api#documentation": "

      A descriptive label that is associated with the compute resource registered to your fleet.

      ", + "smithy.api#documentation": "

      The unique identifier of the compute resource to retrieve properties for. For an\n Anywhere fleet compute, use the registered compute name. For a managed EC2 fleet\n instance, use the instance ID.

      ", "smithy.api#required": {} } } @@ -3213,7 +3213,7 @@ "Compute": { "target": "com.amazonaws.gamelift#Compute", "traits": { - "smithy.api#documentation": "

      The details of the compute resource you registered to the specified fleet.

      " + "smithy.api#documentation": "

      The set of properties for the requested compute resource.

      " } } }, @@ -3423,7 +3423,7 @@ "FleetCapacity": { "target": "com.amazonaws.gamelift#FleetCapacityList", "traits": { - "smithy.api#documentation": "

      A collection of objects that contains capacity information for each requested fleet\n ID. Capacity objects are returned only for fleets that currently exist.

      " + "smithy.api#documentation": "

      A collection of objects that contains capacity information for each requested fleet\n ID. Capacity objects are returned only for fleets that currently exist. Changes in\n desired instance value can take up to 1 minute to be reflected.

      " } }, "NextToken": { @@ -3684,7 +3684,7 @@ "FleetCapacity": { "target": "com.amazonaws.gamelift#FleetCapacity", "traits": { - "smithy.api#documentation": "

      Resource capacity information for the requested fleet location. Capacity objects are\n returned only for fleets and locations that currently exist.

      " + "smithy.api#documentation": "

      Resource capacity information for the requested fleet location. Capacity objects are\n returned only for fleets and locations that currently exist. Changes in desired instance\n value can take up to 1 minute to be reflected.

      " } } }, @@ -4500,7 +4500,7 @@ } ], "traits": { - "smithy.api#documentation": "

      Retrieves information about a fleet's instances, including instance IDs, connection\n data, and status.

      \n

      This operation can be used in the following ways:

      \n
        \n
      • \n

        To get information on all instances that are deployed to a fleet's home\n Region, provide the fleet ID.

        \n
      • \n
      • \n

        To get information on all instances that are deployed to a fleet's remote\n location, provide the fleet ID and location name.

        \n
      • \n
      • \n

        To get information on a specific instance in a fleet, provide the fleet ID and\n instance ID.

        \n
      • \n
      \n

      Use the pagination parameters to retrieve results as a set of sequential pages.

      \n

      If successful, an Instance object is returned for each requested\n instance. Instances are not returned in any particular order.

      \n

      \n Learn more\n

      \n

      \n Remotely Access Fleet\n Instances\n

      \n

      \n Debug Fleet\n Issues\n

      \n

      \n Related actions\n

      \n

      \n All APIs by task\n

      ", + "smithy.api#documentation": "

      Retrieves information about the EC2 instances in an Amazon GameLift managed fleet, including\n instance ID, connection data, and status. You can use this operation with a\n multi-location fleet to get location-specific instance information. As an alternative,\n use the operations ListCompute and DescribeCompute\n to retrieve information for compute resources, including EC2 and Anywhere fleets.

      \n

      You can call this operation in the following ways:

      \n
        \n
      • \n

        To get information on all instances in a fleet's home Region, specify the\n fleet ID.

        \n
      • \n
      • \n

        To get information on all instances in a fleet's remote location, specify the\n fleet ID and location name.

        \n
      • \n
      • \n

        To get information on a specific instance in a fleet, specify the fleet ID and\n instance ID.

        \n
      • \n
      \n

      Use the pagination parameters to retrieve results as a set of sequential pages.

      \n

      If successful, this operation returns Instance objects for each requested\n instance, listed in no particular order. If you call this operation for an Anywhere\n fleet, you receive an InvalidRequestException.

      \n

      \n Learn more\n

      \n

      \n Remotely connect to\n fleet instances\n

      \n

      \n Debug fleet\n issues\n

      \n

      \n Related actions\n

      \n

      \n All APIs by task\n

      ", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -4803,7 +4803,7 @@ } ], "traits": { - "smithy.api#documentation": "

      Retrieves properties for one or more player sessions.

      \n

      This action can be used in the following ways:

      \n
        \n
      • \n

        To retrieve a specific player session, provide the player session ID\n only.

        \n
      • \n
      • \n

        To retrieve all player sessions in a game session, provide the game session ID\n only.

        \n
      • \n
      • \n

        To retrieve all player sessions for a specific player, provide a player ID\n only.

        \n
      • \n
      \n

      To request player sessions, specify either a player session ID, game session ID, or\n player ID. You can filter this request by player session status. Use the pagination\n parameters to retrieve results as a set of sequential pages.

      \n

      If successful, a PlayerSession object is returned for each session that\n matches the request.

      \n

      \n Related actions\n

      \n

      \n All APIs by task\n

      ", + "smithy.api#documentation": "

      Retrieves properties for one or more player sessions.

      \n

      This action can be used in the following ways:

      \n
        \n
      • \n

        To retrieve a specific player session, provide the player session ID\n only.

        \n
      • \n
      • \n

        To retrieve all player sessions in a game session, provide the game session ID\n only.

        \n
      • \n
      • \n

        To retrieve all player sessions for a specific player, provide a player ID\n only.

        \n
      • \n
      \n

      To request player sessions, specify either a player session ID, game session ID, or\n player ID. You can filter this request by player session status. If you provide\n a specific PlayerSessionId or PlayerId, Amazon GameLift ignores the filter criteria. \n Use the pagination parameters to retrieve results as a set of sequential pages.

      \n

      If successful, a PlayerSession object is returned for each session that\n matches the request.

      \n

      \n Related actions\n

      \n

      \n All APIs by task\n

      ", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -5232,7 +5232,7 @@ "DESIRED": { "target": "com.amazonaws.gamelift#WholeNumber", "traits": { - "smithy.api#documentation": "

      Ideal number of active instances. GameLift will always try to maintain the desired\n number of instances. Capacity is scaled up or down by changing the desired instances.\n

      " + "smithy.api#documentation": "

      Requested number of active instances. Amazon GameLift takes action as needed to maintain the\n desired number of instances. Capacity is scaled up or down by changing the desired\n instances. A change in the desired instances value can take up to 1 minute to be\n reflected when viewing a fleet's capacity settings.

      " } }, "MINIMUM": { @@ -6000,6 +6000,372 @@ "traits": { "smithy.api#enumValue": "r5d.24xlarge" } + }, + "m6g_medium": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "m6g.medium" + } + }, + "m6g_large": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "m6g.large" + } + }, + "m6g_xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "m6g.xlarge" + } + }, + "m6g_2xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "m6g.2xlarge" + } + }, + "m6g_4xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "m6g.4xlarge" + } + }, + "m6g_8xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "m6g.8xlarge" + } + }, + "m6g_12xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "m6g.12xlarge" + } + }, + "m6g_16xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "m6g.16xlarge" + } + }, + "c6g_medium": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "c6g.medium" + } + }, + "c6g_large": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "c6g.large" + } + }, + "c6g_xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "c6g.xlarge" + } + }, + "c6g_2xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "c6g.2xlarge" + } + }, + "c6g_4xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "c6g.4xlarge" + } + }, + "c6g_8xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "c6g.8xlarge" + } + }, + "c6g_12xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "c6g.12xlarge" + } + }, + "c6g_16xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "c6g.16xlarge" + } + }, + "r6g_medium": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "r6g.medium" + } + }, + "r6g_large": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "r6g.large" + } + }, + "r6g_xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "r6g.xlarge" + } + }, + "r6g_2xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "r6g.2xlarge" + } + }, + "r6g_4xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "r6g.4xlarge" + } + }, + "r6g_8xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "r6g.8xlarge" + } + }, + "r6g_12xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "r6g.12xlarge" + } + }, + "r6g_16xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "r6g.16xlarge" + } + }, + "c6gn_medium": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "c6gn.medium" + } + }, + "c6gn_large": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "c6gn.large" + } + }, + "c6gn_xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "c6gn.xlarge" + } + }, + "c6gn_2xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "c6gn.2xlarge" + } + }, + "c6gn_4xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "c6gn.4xlarge" + } + }, + "c6gn_8xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "c6gn.8xlarge" + } + }, + "c6gn_12xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "c6gn.12xlarge" + } + }, + "c6gn_16xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "c6gn.16xlarge" + } + }, + "c7g_medium": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "c7g.medium" + } + }, + "c7g_large": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "c7g.large" + } + }, + "c7g_xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "c7g.xlarge" + } + }, + "c7g_2xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "c7g.2xlarge" + } + }, + "c7g_4xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "c7g.4xlarge" + } + }, + "c7g_8xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "c7g.8xlarge" + } + }, + "c7g_12xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "c7g.12xlarge" + } + }, + "c7g_16xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "c7g.16xlarge" + } + }, + "r7g_medium": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "r7g.medium" + } + }, + "r7g_large": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "r7g.large" + } + }, + "r7g_xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "r7g.xlarge" + } + }, + "r7g_2xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "r7g.2xlarge" + } + }, + "r7g_4xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "r7g.4xlarge" + } + }, + "r7g_8xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "r7g.8xlarge" + } + }, + "r7g_12xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "r7g.12xlarge" + } + }, + "r7g_16xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "r7g.16xlarge" + } + }, + "m7g_medium": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "m7g.medium" + } + }, + "m7g_large": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "m7g.large" + } + }, + "m7g_xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "m7g.xlarge" + } + }, + "m7g_2xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "m7g.2xlarge" + } + }, + "m7g_4xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "m7g.4xlarge" + } + }, + "m7g_8xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "m7g.8xlarge" + } + }, + "m7g_12xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "m7g.12xlarge" + } + }, + "m7g_16xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "m7g.16xlarge" + } + }, + "g5g_xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "g5g.xlarge" + } + }, + "g5g_2xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "g5g.2xlarge" + } + }, + "g5g_4xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "g5g.4xlarge" + } + }, + "g5g_8xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "g5g.8xlarge" + } + }, + "g5g_16xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "g5g.16xlarge" + } } } }, @@ -6021,7 +6387,7 @@ "EventCode": { "target": "com.amazonaws.gamelift#EventCode", "traits": { - "smithy.api#documentation": "

      The type of event being logged.

      \n

      \n Fleet state transition events:\n

      \n
        \n
      • \n

        FLEET_CREATED -- A fleet resource was successfully created with a status of\n NEW. Event messaging includes the fleet ID.

        \n
      • \n
      • \n

        FLEET_STATE_DOWNLOADING -- Fleet status changed from NEW to\n DOWNLOADING. The compressed build has started downloading to a\n fleet instance for installation.

        \n
      • \n
      • \n

        FLEET_STATE_VALIDATING -- Fleet status changed from DOWNLOADING\n to VALIDATING. Amazon GameLift has successfully downloaded the build and is\n now validating the build files.

        \n
      • \n
      • \n

        FLEET_STATE_BUILDING -- Fleet status changed from VALIDATING to\n BUILDING. Amazon GameLift has successfully verified the build files and\n is now running the installation scripts.

        \n
      • \n
      • \n

        FLEET_STATE_ACTIVATING -- Fleet status changed from BUILDING to\n ACTIVATING. Amazon GameLift is trying to launch an instance and test\n the connectivity between the build and the Amazon GameLift Service via the Server\n SDK.

        \n
      • \n
      • \n

        FLEET_STATE_ACTIVE -- The fleet's status changed from ACTIVATING\n to ACTIVE. The fleet is now ready to host game sessions.

        \n
      • \n
      • \n

        FLEET_STATE_ERROR -- The Fleet's status changed to ERROR.\n Describe the fleet event message for more details.

        \n
      • \n
      \n

      \n Fleet creation events (ordered by fleet creation\n activity):\n

      \n
        \n
      • \n

        FLEET_BINARY_DOWNLOAD_FAILED -- The build failed to download to the fleet\n instance.

        \n
      • \n
      • \n

        FLEET_CREATION_EXTRACTING_BUILD -- The game server build was successfully\n downloaded to an instance, and the build files are now being extracted from the\n uploaded build and saved to an instance. Failure at this stage prevents a fleet\n from moving to ACTIVE status. Logs for this stage display a list of the files\n that are extracted and saved on the instance. Access the logs by using the URL\n in PreSignedLogUrl.

        \n
      • \n
      • \n

        FLEET_CREATION_RUNNING_INSTALLER -- The game server build files were\n successfully extracted, and the GameLift is now running the build's install\n script (if one is included). Failure in this stage prevents a fleet from moving\n to ACTIVE status. Logs for this stage list the installation steps and whether or\n not the install completed successfully. Access the logs by using the URL in\n PreSignedLogUrl.

        \n
      • \n
      • \n

        FLEET_CREATION_VALIDATING_RUNTIME_CONFIG -- The build process was successful,\n and the GameLift is now verifying that the game server launch paths, which are\n specified in the fleet's runtime configuration, exist. If any listed launch path\n exists, Amazon GameLift tries to launch a game server process and waits for the process\n to report ready. Failures in this stage prevent a fleet from moving to\n ACTIVE status. Logs for this stage list the launch paths in the\n runtime configuration and indicate whether each is found. Access the logs by\n using the URL in PreSignedLogUrl.

        \n
      • \n
      • \n

        FLEET_VALIDATION_LAUNCH_PATH_NOT_FOUND -- Validation of the runtime\n configuration failed because the executable specified in a launch path does not\n exist on the instance.

        \n
      • \n
      • \n

        FLEET_VALIDATION_EXECUTABLE_RUNTIME_FAILURE -- Validation of the runtime\n configuration failed because the executable specified in a launch path failed to\n run on the fleet instance.

        \n
      • \n
      • \n

        FLEET_VALIDATION_TIMED_OUT -- Validation of the fleet at the end of creation\n timed out. Try fleet creation again.

        \n
      • \n
      • \n

        FLEET_ACTIVATION_FAILED -- The fleet failed to successfully complete one of\n the steps in the fleet activation process. This event code indicates that the\n game build was successfully downloaded to a fleet instance, built, and\n validated, but was not able to start a server process. For more information, see\n Debug Fleet Creation Issues.

        \n
      • \n
      • \n

        FLEET_ACTIVATION_FAILED_NO_INSTANCES -- Fleet creation was not able to obtain\n any instances based on the input fleet attributes. Try again at a different time\n or choose a different combination of fleet attributes such as fleet type,\n instance type, etc.

        \n
      • \n
      • \n

        FLEET_INITIALIZATION_FAILED -- A generic exception occurred during fleet\n creation. Describe the fleet event message for more details.

        \n
      • \n
      \n

      \n VPC peering events:\n

      \n
        \n
      • \n

        FLEET_VPC_PEERING_SUCCEEDED -- A VPC peering connection has been established\n between the VPC for an Amazon GameLift fleet and a VPC in your Amazon Web Services account.

        \n
      • \n
      • \n

        FLEET_VPC_PEERING_FAILED -- A requested VPC peering connection has failed.\n Event details and status information provide additional detail. A common reason\n for peering failure is that the two VPCs have overlapping CIDR blocks of IPv4\n addresses. To resolve this, change the CIDR block for the VPC in your Amazon Web Services\n account. For more information on VPC peering failures, see https://docs.aws.amazon.com/AmazonVPC/latest/PeeringGuide/invalid-peering-configurations.html\n

        \n
      • \n
      • \n

        FLEET_VPC_PEERING_DELETED -- A VPC peering connection has been successfully\n deleted.

        \n
      • \n
      \n

      \n Spot instance events:\n

      \n
        \n
      • \n

        INSTANCE_INTERRUPTED -- A spot instance was interrupted by EC2 with a\n two-minute notification.

        \n
      • \n
      \n

      \n Server process events:\n

      \n
        \n
      • \n

        SERVER_PROCESS_INVALID_PATH -- The game server executable or script could not\n be found based on the Fleet runtime configuration. Check that the launch path is\n correct based on the operating system of the Fleet.

        \n
      • \n
      • \n

        SERVER_PROCESS_SDK_INITIALIZATION_TIMEOUT -- The server process did not call\n InitSDK() within the time expected. Check your game session log to see why\n InitSDK() was not called in time.

        \n
      • \n
      • \n

        SERVER_PROCESS_PROCESS_READY_TIMEOUT -- The server process did not call\n ProcessReady() within the time expected after calling InitSDK(). Check your game\n session log to see why ProcessReady() was not called in time.

        \n
      • \n
      • \n

        SERVER_PROCESS_CRASHED -- The server process exited without calling\n ProcessEnding(). Check your game session log to see why ProcessEnding() was not\n called.

        \n
      • \n
      • \n

        SERVER_PROCESS_TERMINATED_UNHEALTHY -- The server process did not report a\n valid health check for too long and was therefore terminated by GameLift. Check\n your game session log to see if the thread became stuck processing a synchronous\n task for too long.

        \n
      • \n
      • \n

        SERVER_PROCESS_FORCE_TERMINATED -- The server process did not exit cleanly\n after OnProcessTerminate() was sent within the time expected. Check your game\n session log to see why termination took longer than expected.

        \n
      • \n
      • \n

        SERVER_PROCESS_PROCESS_EXIT_TIMEOUT -- The server process did not exit cleanly\n within the time expected after calling ProcessEnding(). Check your game session\n log to see why termination took longer than expected.

        \n
      • \n
      \n

      \n Game session events:\n

      \n
        \n
      • \n

        GAME_SESSION_ACTIVATION_TIMEOUT -- GameSession failed to activate within the\n expected time. Check your game session log to see why ActivateGameSession() took\n longer to complete than expected.

        \n
      • \n
      \n

      \n Other fleet events:\n

      \n
        \n
      • \n

        FLEET_SCALING_EVENT -- A change was made to the fleet's capacity settings\n (desired instances, minimum/maximum scaling limits). Event messaging includes\n the new capacity settings.

        \n
      • \n
      • \n

        FLEET_NEW_GAME_SESSION_PROTECTION_POLICY_UPDATED -- A change was made to the\n fleet's game session protection policy setting. Event messaging includes both\n the old and new policy setting.

        \n
      • \n
      • \n

        FLEET_DELETED -- A request to delete a fleet was initiated.

        \n
      • \n
      • \n

        GENERIC_EVENT -- An unspecified event has occurred.

        \n
      • \n
      " + "smithy.api#documentation": "

      The type of event being logged.

      \n

      \n Fleet state transition events:\n

      \n
        \n
      • \n

        FLEET_CREATED -- A fleet resource was successfully created with a status of\n NEW. Event messaging includes the fleet ID.

        \n
      • \n
      • \n

        FLEET_STATE_DOWNLOADING -- Fleet status changed from NEW to\n DOWNLOADING. The compressed build has started downloading to a\n fleet instance for installation.

        \n
      • \n
      • \n

        FLEET_STATE_VALIDATING -- Fleet status changed from DOWNLOADING\n to VALIDATING. Amazon GameLift has successfully downloaded the build and is\n now validating the build files.

        \n
      • \n
      • \n

        FLEET_STATE_BUILDING -- Fleet status changed from VALIDATING to\n BUILDING. Amazon GameLift has successfully verified the build files and\n is now running the installation scripts.

        \n
      • \n
      • \n

        FLEET_STATE_ACTIVATING -- Fleet status changed from BUILDING to\n ACTIVATING. Amazon GameLift is trying to launch an instance and test\n the connectivity between the build and the Amazon GameLift Service via the Server\n SDK.

        \n
      • \n
      • \n

        FLEET_STATE_ACTIVE -- The fleet's status changed from ACTIVATING\n to ACTIVE. The fleet is now ready to host game sessions.

        \n
      • \n
      • \n

        FLEET_STATE_ERROR -- The Fleet's status changed to ERROR.\n Describe the fleet event message for more details.

        \n
      • \n
      \n

      \n Fleet creation events (ordered by fleet creation\n activity):\n

      \n
        \n
      • \n

        FLEET_BINARY_DOWNLOAD_FAILED -- The build failed to download to the fleet\n instance.

        \n
      • \n
      • \n

        FLEET_CREATION_EXTRACTING_BUILD -- The game server build was successfully\n downloaded to an instance, and the build files are now being extracted from the\n uploaded build and saved to an instance. Failure at this stage prevents a fleet\n from moving to ACTIVE status. Logs for this stage display a list of the files\n that are extracted and saved on the instance. Access the logs by using the URL\n in PreSignedLogUrl.

        \n
      • \n
      • \n

        FLEET_CREATION_RUNNING_INSTALLER -- The game server build files were\n successfully extracted, and the GameLift is now running the build's install\n script (if one is included). Failure in this stage prevents a fleet from moving\n to ACTIVE status. Logs for this stage list the installation steps and whether or\n not the install completed successfully. Access the logs by using the URL in\n PreSignedLogUrl.

        \n
      • \n
      • \n

        FLEET_CREATION_VALIDATING_RUNTIME_CONFIG -- The build process was successful,\n and the GameLift is now verifying that the game server launch paths, which are\n specified in the fleet's runtime configuration, exist. If any listed launch path\n exists, Amazon GameLift tries to launch a game server process and waits for the process\n to report ready. Failures in this stage prevent a fleet from moving to\n ACTIVE status. Logs for this stage list the launch paths in the\n runtime configuration and indicate whether each is found. Access the logs by\n using the URL in PreSignedLogUrl.

        \n
      • \n
      • \n

        FLEET_VALIDATION_LAUNCH_PATH_NOT_FOUND -- Validation of the runtime\n configuration failed because the executable specified in a launch path does not\n exist on the instance.

        \n
      • \n
      • \n

        FLEET_VALIDATION_EXECUTABLE_RUNTIME_FAILURE -- Validation of the runtime\n configuration failed because the executable specified in a launch path failed to\n run on the fleet instance.

        \n
      • \n
      • \n

        FLEET_VALIDATION_TIMED_OUT -- Validation of the fleet at the end of creation\n timed out. Try fleet creation again.

        \n
      • \n
      • \n

        FLEET_ACTIVATION_FAILED -- The fleet failed to successfully complete one of\n the steps in the fleet activation process. This event code indicates that the\n game build was successfully downloaded to a fleet instance, built, and\n validated, but was not able to start a server process. For more information, see\n Debug Fleet Creation Issues.

        \n
      • \n
      • \n

        FLEET_ACTIVATION_FAILED_NO_INSTANCES -- Fleet creation was not able to obtain\n any instances based on the input fleet attributes. Try again at a different time\n or choose a different combination of fleet attributes such as fleet type,\n instance type, etc.

        \n
      • \n
      • \n

        FLEET_INITIALIZATION_FAILED -- A generic exception occurred during fleet\n creation. Describe the fleet event message for more details.

        \n
      • \n
      \n

      \n VPC peering events:\n

      \n
        \n
      • \n

        FLEET_VPC_PEERING_SUCCEEDED -- A VPC peering connection has been established\n between the VPC for an Amazon GameLift fleet and a VPC in your Amazon Web Services account.

        \n
      • \n
      • \n

        FLEET_VPC_PEERING_FAILED -- A requested VPC peering connection has failed.\n Event details and status information provide additional detail. A common reason\n for peering failure is that the two VPCs have overlapping CIDR blocks of IPv4\n addresses. To resolve this, change the CIDR block for the VPC in your Amazon Web Services\n account. For more information on VPC peering failures, see https://docs.aws.amazon.com/AmazonVPC/latest/PeeringGuide/invalid-peering-configurations.html\n

        \n
      • \n
      • \n

        FLEET_VPC_PEERING_DELETED -- A VPC peering connection has been successfully\n deleted.

        \n
      • \n
      \n

      \n Spot instance events:\n

      \n
        \n
      • \n

        INSTANCE_INTERRUPTED -- A spot instance was interrupted by EC2 with a\n two-minute notification.

        \n
      • \n
      • \n

        INSTANCE_RECYCLED -- A spot instance was determined to have a high risk \n of interruption and is scheduled to be recycled once it has no active \n game sessions.

        \n
      • \n
      \n

      \n Server process events:\n

      \n
        \n
      • \n

        SERVER_PROCESS_INVALID_PATH -- The game server executable or script could not\n be found based on the Fleet runtime configuration. Check that the launch path is\n correct based on the operating system of the Fleet.

        \n
      • \n
      • \n

        SERVER_PROCESS_SDK_INITIALIZATION_TIMEOUT -- The server process did not call\n InitSDK() within the time expected. Check your game session log to see why\n InitSDK() was not called in time.

        \n
      • \n
      • \n

        SERVER_PROCESS_PROCESS_READY_TIMEOUT -- The server process did not call\n ProcessReady() within the time expected after calling InitSDK(). Check your game\n session log to see why ProcessReady() was not called in time.

        \n
      • \n
      • \n

        SERVER_PROCESS_CRASHED -- The server process exited without calling\n ProcessEnding(). Check your game session log to see why ProcessEnding() was not\n called.

        \n
      • \n
      • \n

        SERVER_PROCESS_TERMINATED_UNHEALTHY -- The server process did not report a\n valid health check for too long and was therefore terminated by GameLift. Check\n your game session log to see if the thread became stuck processing a synchronous\n task for too long.

        \n
      • \n
      • \n

        SERVER_PROCESS_FORCE_TERMINATED -- The server process did not exit cleanly\n after OnProcessTerminate() was sent within the time expected. Check your game\n session log to see why termination took longer than expected.

        \n
      • \n
      • \n

        SERVER_PROCESS_PROCESS_EXIT_TIMEOUT -- The server process did not exit cleanly\n within the time expected after calling ProcessEnding(). Check your game session\n log to see why termination took longer than expected.

        \n
      • \n
      \n

      \n Game session events:\n

      \n
        \n
      • \n

        GAME_SESSION_ACTIVATION_TIMEOUT -- GameSession failed to activate within the\n expected time. Check your game session log to see why ActivateGameSession() took\n longer to complete than expected.

        \n
      • \n
      \n

      \n Other fleet events:\n

      \n
        \n
      • \n

        FLEET_SCALING_EVENT -- A change was made to the fleet's capacity settings\n (desired instances, minimum/maximum scaling limits). Event messaging includes\n the new capacity settings.

        \n
      • \n
      • \n

        FLEET_NEW_GAME_SESSION_PROTECTION_POLICY_UPDATED -- A change was made to the\n fleet's game session protection policy setting. Event messaging includes both\n the old and new policy setting.

        \n
      • \n
      • \n

        FLEET_DELETED -- A request to delete a fleet was initiated.

        \n
      • \n
      • \n

        GENERIC_EVENT -- An unspecified event has occurred.

        \n
      • \n
      " } }, "Message": { @@ -7128,52 +7494,56 @@ "type": "error" }, { - "conditions": [], - "type": "tree", - "rules": [ + "conditions": [ { - "conditions": [ + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" + "ref": "UseDualStack" }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" + true + ] } - ] + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, { - "conditions": [], + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], "type": "tree", "rules": [ { "conditions": [ { - "fn": "isSet", + "fn": "aws.partition", "argv": [ { "ref": "Region" } - ] + ], + "assign": "PartitionResult" } ], "type": "tree", @@ -7181,13 +7551,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -7197,224 +7576,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://gamelift-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://gamelift-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://gamelift-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://gamelift-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://gamelift.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://gamelift.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://gamelift.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://gamelift.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -9104,7 +9434,7 @@ "FleetArn": { "target": "com.amazonaws.gamelift#FleetArn", "traits": { - "smithy.api#documentation": "

      The Amazon Resource Name (ARN) associated with the GameLift fleet that this game session is running on.\n

      " + "smithy.api#documentation": "

      The Amazon Resource Name (ARN) associated with the GameLift fleet that this game session is running on.

      " } }, "CreationTime": { @@ -9188,7 +9518,7 @@ "MatchmakerData": { "target": "com.amazonaws.gamelift#MatchmakerData", "traits": { - "smithy.api#documentation": "

      Information about the matchmaking process that was used to create the game session. It\n is in JSON syntax, formatted as a string. In addition the matchmaking configuration\n used, it contains data on all players assigned to the match, including player attributes\n and team assignments. For more details on matchmaker data, see Match\n Data. Matchmaker data is useful when requesting match backfills, and is\n updated whenever new players are added during a successful backfill (see StartMatchBackfill).

      " + "smithy.api#documentation": "

      Information about the matchmaking process that resulted in the game session, if\n matchmaking was used. Data is in JSON syntax, formatted as a string. Information\n includes the matchmaker ID as well as player attributes and team assignments. For more\n details on matchmaker data, see Match\n Data. Matchmaker data is updated whenever new players are added during a\n successful backfill (see StartMatchBackfill).

      " } }, "Location": { @@ -9199,7 +9529,7 @@ } }, "traits": { - "smithy.api#documentation": "

      Properties describing a game session.

      \n

      A game session in ACTIVE status can host players. When a game session ends, its status\n is set to TERMINATED.

      \n

      Once the session ends, the game session object is retained for 30 days. This means you\n can reuse idempotency token values after this time. Game session logs are retained for\n 14 days.

      \n

      \n All APIs by task\n

      " + "smithy.api#documentation": "

      Properties describing a game session.

      \n

      A game session in ACTIVE status can host players. When a game session ends, its status\n is set to TERMINATED.

      \n

      Amazon GameLift retains a game session resource for 30 days after the game session ends. You\n can reuse idempotency token values after this time. Game session logs are retained for\n 14 days.

      \n

      \n All APIs by task\n

      " } }, "com.amazonaws.gamelift#GameSessionActivationTimeoutSeconds": { @@ -9320,7 +9650,7 @@ "Status": { "target": "com.amazonaws.gamelift#GameSessionPlacementState", "traits": { - "smithy.api#documentation": "

      Current status of the game session placement request.

      \n
        \n
      • \n

        \n PENDING -- The placement request is currently\n in the queue waiting to be processed.

        \n
      • \n
      • \n

        \n FULFILLED -- A new game session and player\n sessions (if requested) have been successfully created. Values for\n GameSessionArn and\n GameSessionRegion are available.

        \n
      • \n
      • \n

        \n CANCELLED -- The placement request was\n canceled.

        \n
      • \n
      • \n

        \n TIMED_OUT -- A new game session was not\n successfully created before the time limit expired. You can resubmit the\n placement request as needed.

        \n
      • \n
      • \n

        \n FAILED -- Amazon GameLift is not able to complete the\n process of placing the game session. Common reasons are the game session\n terminated before the placement process was completed, or an unexpected internal\n error.

        \n
      • \n
      " + "smithy.api#documentation": "

      Current status of the game session placement request.

      \n
        \n
      • \n

        \n PENDING -- The placement request is \n in the queue waiting to be processed. Game session properties are not\n yet final.

        \n
      • \n
      • \n

        \n FULFILLED -- A new game session has been \n successfully placed. Game session properties are now final.

        \n
      • \n
      • \n

        \n CANCELLED -- The placement request was\n canceled.

        \n
      • \n
      • \n

        \n TIMED_OUT -- A new game session was not\n successfully created before the time limit expired. You can resubmit the\n placement request as needed.

        \n
      • \n
      • \n

        \n FAILED -- Amazon GameLift is not able to complete the\n process of placing the game session. Common reasons are the game session\n terminated before the placement process was completed, or an unexpected internal\n error.

        \n
      • \n
      " } }, "GameProperties": { @@ -9344,19 +9674,19 @@ "GameSessionId": { "target": "com.amazonaws.gamelift#NonZeroAndMaxString", "traits": { - "smithy.api#documentation": "

      A unique identifier for the game session. This value is set once the new game session is placed (placement status is\n FULFILLED).

      " + "smithy.api#documentation": "

      A unique identifier for the game session. This value isn't final until placement status is\n FULFILLED.

      " } }, "GameSessionArn": { "target": "com.amazonaws.gamelift#NonZeroAndMaxString", "traits": { - "smithy.api#documentation": "

      Identifier for the game session created by this placement request. This value is set\n once the new game session is placed (placement status is FULFILLED). This\n identifier is unique across all Regions. You can use this value as a\n GameSessionId value as needed.

      " + "smithy.api#documentation": "

      Identifier for the game session created by this placement request. This identifier is\n unique across all Regions. This value isn't final until placement status is\n FULFILLED.

      " } }, "GameSessionRegion": { "target": "com.amazonaws.gamelift#NonZeroAndMaxString", "traits": { - "smithy.api#documentation": "

      Name of the Region where the game session created by this placement request is\n running. This value is set once the new game session is placed (placement status is\n FULFILLED).

      " + "smithy.api#documentation": "

      Name of the Region where the game session created by this placement request is\n running. This value isn't final until placement status is FULFILLED.

      " } }, "PlayerLatencies": { @@ -9380,7 +9710,7 @@ "IpAddress": { "target": "com.amazonaws.gamelift#IpAddress", "traits": { - "smithy.api#documentation": "

      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. This value is set once the new game session is placed (placement status is\n FULFILLED).

      " + "smithy.api#documentation": "

      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. This value isn't final until placement status is FULFILLED.

      " } }, "DnsName": { @@ -9392,13 +9722,13 @@ "Port": { "target": "com.amazonaws.gamelift#PortNumber", "traits": { - "smithy.api#documentation": "

      The port number for the game session. To connect to a Amazon GameLift game server, an app needs both the IP address and port number. This value is set once the new game session is placed (placement status is\n FULFILLED).

      " + "smithy.api#documentation": "

      The port number for the game session. To connect to a Amazon GameLift game server, an app needs both the IP address and port number. This value isn't final until placement status is\n FULFILLED.

      " } }, "PlacedPlayerSessions": { "target": "com.amazonaws.gamelift#PlacedPlayerSessionList", "traits": { - "smithy.api#documentation": "

      A collection of information on player sessions created in response to the game session\n placement request. These player sessions are created only once a new game session is\n successfully placed (placement status is FULFILLED). This information\n includes the player ID (as provided in the placement request) and the corresponding\n player session ID.

      " + "smithy.api#documentation": "

      A collection of information on player sessions created in response to the game session\n placement request. These player sessions are created only after a new game session is\n successfully placed (placement status is FULFILLED). This information\n includes the player ID, provided in the placement request, and a corresponding player\n session ID.

      " } }, "GameSessionData": { @@ -9415,7 +9745,7 @@ } }, "traits": { - "smithy.api#documentation": "

      This object includes the full details of the original request plus the current status\n and start/end time stamps.

      " + "smithy.api#documentation": "

      Represents a potential game session placement, including the full details of the\n original placement request and the current status.

      \n \n

      If the game session placement status is PENDING, the properties for game\n session ID/ARN, region, IP address/DNS, and port aren't final. A game session is not\n active and ready to accept players until placement status reaches\n FULFILLED. When the placement is in PENDING status,\n Amazon GameLift may attempt to place a game session multiple times before succeeding. With\n each attempt it creates a GameSession object and updates this\n placement object with the new game session properties..

      \n
      " } }, "com.amazonaws.gamelift#GameSessionPlacementState": { @@ -9646,7 +9976,7 @@ } ], "traits": { - "smithy.api#documentation": "

      Requests remote access to a fleet instance. Remote access is useful for debugging,\n gathering benchmarking data, or observing activity in real time.

      \n

      To remotely access an instance, you need credentials that match the operating system\n of the instance. For a Windows instance, Amazon GameLift returns a user name and password as\n strings for use with a Windows Remote Desktop client. For a Linux instance, Amazon GameLift\n returns a user name and RSA private key, also as strings, for use with an SSH client.\n The private key must be saved in the proper format to a .pem file before\n using. If you're making this request using the CLI, saving the secret can be handled\n as part of the GetInstanceAccess request, as shown in one of the examples\n for this operation.

      \n

      To request access to a specific instance, specify the IDs of both the instance and the\n fleet it belongs to.

      \n

      \n Learn more\n

      \n

      \n Remotely Access Fleet\n Instances\n

      \n

      \n Debug Fleet\n Issues\n

      " + "smithy.api#documentation": "

      Requests authorization to remotely connect to a compute resource in an Amazon GameLift fleet.\n Call this action to connect to an instance in a managed EC2 fleet if the fleet's game\n build uses Amazon GameLift server SDK 5.x or later. To connect to instances with game builds\n that use server SDK 4.x or earlier, call GetInstanceAccess.

      \n

      To request access to a compute, identify the specific EC2 instance and the fleet it\n belongs to. You can retrieve instances for a managed EC2 fleet by calling ListCompute.

      \n

      If successful, this operation returns a set of temporary Amazon Web Services credentials, including\n a two-part access key and a session token. Use these credentials with Amazon EC2 Systems Manager (SSM)\n to start a session with the compute. For more details, see Starting a session (CLI) in the Amazon EC2 Systems Manager User Guide.

      \n

      \n Learn more\n

      \n

      \n Remotely connect to fleet\n instances\n

      \n

      \n Debug fleet\n issues\n

      " } }, "com.amazonaws.gamelift#GetComputeAccessInput": { @@ -9655,14 +9985,14 @@ "FleetId": { "target": "com.amazonaws.gamelift#FleetIdOrArn", "traits": { - "smithy.api#documentation": "

      A unique identifier for the fleet that the compute resource is registered to.

      ", + "smithy.api#documentation": "

      A unique identifier for the fleet that contains the compute resource you want to connect to. You can use either\n the fleet ID or ARN value.

      ", "smithy.api#required": {} } }, "ComputeName": { "target": "com.amazonaws.gamelift#ComputeNameOrArn", "traits": { - "smithy.api#documentation": "

      The name of the compute resource you are requesting credentials for.

      ", + "smithy.api#documentation": "

      A unique identifier for the compute resource that you want to connect to. You can use\n either a registered compute name or an instance ID.

      ", "smithy.api#required": {} } } @@ -9677,7 +10007,7 @@ "FleetId": { "target": "com.amazonaws.gamelift#FleetIdOrArn", "traits": { - "smithy.api#documentation": "

      The fleet ID of compute resource.

      " + "smithy.api#documentation": "

      The ID of the fleet that contains the compute resource to be accessed.

      " } }, "FleetArn": { @@ -9689,19 +10019,19 @@ "ComputeName": { "target": "com.amazonaws.gamelift#ComputeNameOrArn", "traits": { - "smithy.api#documentation": "

      The name of the compute resource you requested credentials for.

      " + "smithy.api#documentation": "

      The identifier of the compute resource to be accessed. This value might be either a\n compute name or an instance ID.

      " } }, "ComputeArn": { "target": "com.amazonaws.gamelift#ComputeArn", "traits": { - "smithy.api#documentation": "

      The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift compute resource and uniquely identifies it.\n ARNs are unique across all Regions. Format is\n arn:aws:gamelift:::compute/compute-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912.

      " + "smithy.api#documentation": "

      The Amazon Resource Name (ARN) that is assigned to an Amazon GameLift compute resource and uniquely identifies it.\n ARNs are unique across all Regions. Format is\n arn:aws:gamelift:::compute/compute-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912.

      " } }, "Credentials": { "target": "com.amazonaws.gamelift#AwsCredentials", "traits": { - "smithy.api#documentation": "

      The access credentials for the compute resource.

      " + "smithy.api#documentation": "

      A set of temporary Amazon Web Services credentials for use when connecting to the\n compute resource with Amazon EC2 Systems Manager (SSM).

      " } } }, @@ -9732,7 +10062,7 @@ } ], "traits": { - "smithy.api#documentation": "

      Requests an authentication token from Amazon GameLift. The authentication token is used by\n your game server to authenticate with Amazon GameLift. Each authentication token has an\n expiration time. To continue using the compute resource to host your game server,\n regularly retrieve a new authorization token.

      " + "smithy.api#documentation": "

      Requests an authentication token from Amazon GameLift for a registered compute in an Anywhere\n fleet. The game servers that are running on the compute use this token to authenticate\n with the Amazon GameLift service. Each server process must provide a valid authentication token\n in its call to the Amazon GameLift server SDK action InitSDK().

      \n

      Authentication tokens are valid for a limited time span. Use a mechanism to regularly\n request a fresh authentication token before the current token expires.

      \n

      \n Learn more\n

      \n " } }, "com.amazonaws.gamelift#GetComputeAuthTokenInput": { @@ -9775,25 +10105,25 @@ "ComputeName": { "target": "com.amazonaws.gamelift#ComputeNameOrArn", "traits": { - "smithy.api#documentation": "

      The name of the compute resource you are requesting the authentication token\n for.

      " + "smithy.api#documentation": "

      The name of the compute resource that the authentication token is issued to.

      " } }, "ComputeArn": { "target": "com.amazonaws.gamelift#ComputeArn", "traits": { - "smithy.api#documentation": "

      The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift compute resource and uniquely identifies it.\n ARNs are unique across all Regions. Format is\n arn:aws:gamelift:::compute/compute-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912\n

      " + "smithy.api#documentation": "

      The Amazon Resource Name (ARN) that is assigned to an Amazon GameLift compute resource and uniquely identifies it.\n ARNs are unique across all Regions. Format is\n arn:aws:gamelift:::compute/compute-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912.

      " } }, "AuthToken": { "target": "com.amazonaws.gamelift#ComputeAuthToken", "traits": { - "smithy.api#documentation": "

      The authentication token that your game server uses to authenticate with\n Amazon GameLift.

      " + "smithy.api#documentation": "

      A valid temporary authentication token.

      " } }, "ExpirationTimestamp": { "target": "com.amazonaws.gamelift#Timestamp", "traits": { - "smithy.api#documentation": "

      The amount of time until the authentication token is no longer valid. To continue\n using the compute resource for game server hosting, renew the authentication token by\n using this operation again.

      " + "smithy.api#documentation": "

      The amount of time until the authentication token is no longer valid.

      " } } }, @@ -9879,7 +10209,7 @@ } ], "traits": { - "smithy.api#documentation": "

      Requests remote access to a fleet instance. Remote access is useful for debugging,\n gathering benchmarking data, or observing activity in real time.

      \n

      To remotely access an instance, you need credentials that match the operating system\n of the instance. For a Windows instance, Amazon GameLift returns a user name and password as\n strings for use with a Windows Remote Desktop client. For a Linux instance, Amazon GameLift\n returns a user name and RSA private key, also as strings, for use with an SSH client.\n The private key must be saved in the proper format to a .pem file before\n using. If you're making this request using the CLI, saving the secret can be handled\n as part of the GetInstanceAccess request, as shown in one of the examples\n for this operation.

      \n

      To request access to a specific instance, specify the IDs of both the instance and the\n fleet it belongs to. You can retrieve a fleet's instance IDs by calling DescribeInstances.

      \n

      \n Learn more\n

      \n

      \n Remotely Access Fleet\n Instances\n

      \n

      \n Debug Fleet\n Issues\n

      \n

      \n Related actions\n

      \n

      \n All APIs by task\n

      " + "smithy.api#documentation": "

      Requests authorization to remotely connect to an instance in an Amazon GameLift managed fleet.\n Use this operation to connect to instances with game servers that use Amazon GameLift server SDK\n 4.x or earlier. To connect to instances with game servers that use server SDK 5.x or\n later, call GetComputeAccess.

      \n

      To request access to an instance, specify IDs for the instance and the fleet it\n belongs to. You can retrieve instance IDs for a fleet by calling DescribeInstances with the fleet ID.

      \n

      If successful, this operation returns an IP address and credentials. The returned\n credentials match the operating system of the instance, as follows:

      \n
        \n
      • \n

        For a Windows instance: returns a user name and secret (password) for use with\n a Windows Remote Desktop client.

        \n
      • \n
      • \n

        For a Linux instance: returns a user name and secret (RSA private key) for use\n with an SSH client. You must save the secret to a .pem file. If\n you're using the CLI, see the example Get credentials for a Linux instance for tips on automatically\n saving the secret to a .pem file.

        \n
      • \n
      \n

      \n Learn more\n

      \n

      \n Remotely connect to\n fleet instances\n

      \n

      \n Debug fleet\n issues\n

      \n

      \n Related actions\n

      \n

      \n All APIs by task\n

      " } }, "com.amazonaws.gamelift#GetInstanceAccessInput": { @@ -9888,14 +10218,14 @@ "FleetId": { "target": "com.amazonaws.gamelift#FleetIdOrArn", "traits": { - "smithy.api#documentation": "

      A unique identifier for the fleet that contains the instance you want access to. You can use either the fleet ID\n or ARN value. The fleet can be in any of the following statuses:\n ACTIVATING, ACTIVE, or ERROR. Fleets with an\n ERROR status may be accessible for a short time before they are\n deleted.

      ", + "smithy.api#documentation": "

      A unique identifier for the fleet that contains the instance you want to access. You can request access to\n instances in EC2 fleets with the following statuses: ACTIVATING,\n ACTIVE, or ERROR. Use either a fleet ID or an ARN value.

      \n \n

      You can access fleets in ERROR status for a short period of time before Amazon GameLift deletes them.

      \n
      ", "smithy.api#required": {} } }, "InstanceId": { "target": "com.amazonaws.gamelift#InstanceId", "traits": { - "smithy.api#documentation": "

      A unique identifier for the instance you want to get access to. You can access an instance in any status.

      ", + "smithy.api#documentation": "

      A unique identifier for the instance you want to access. You can access an instance in any status.

      ", "smithy.api#required": {} } } @@ -9956,7 +10286,7 @@ "FleetId": { "target": "com.amazonaws.gamelift#FleetId", "traits": { - "smithy.api#documentation": "

      A unique identifier for the fleet that the instance is in.

      " + "smithy.api#documentation": "

      A unique identifier for the fleet that the instance belongs to.

      " } }, "FleetArn": { @@ -9980,19 +10310,19 @@ "DnsName": { "target": "com.amazonaws.gamelift#DnsName", "traits": { - "smithy.api#documentation": "

      The DNS identifier assigned to the instance that is running the game session. Values have\n the following format:

      \n \n

      When connecting to a game session that is running on a TLS-enabled fleet, you must use the DNS name, not the IP address.

      " + "smithy.api#documentation": "

      The DNS identifier assigned to the instance that is running the game session. Values have\n the following format:

      \n \n

      When connecting to a game session that is running on a TLS-enabled fleet, you must use the DNS name, not the IP address.

      " } }, "OperatingSystem": { "target": "com.amazonaws.gamelift#OperatingSystem", "traits": { - "smithy.api#documentation": "

      Operating system that is running on this instance.

      " + "smithy.api#documentation": "

      Operating system that is running on this EC2 instance.

      " } }, "Type": { "target": "com.amazonaws.gamelift#EC2InstanceType", "traits": { - "smithy.api#documentation": "

      Amazon EC2 instance type that defines the computing resources of this instance.

      " + "smithy.api#documentation": "

      EC2 instance type that defines the computing resources of this instance.

      " } }, "Status": { @@ -10015,7 +10345,7 @@ } }, "traits": { - "smithy.api#documentation": "

      Represents an EC2 instance of virtual computing resources that hosts one or more game\n servers. In Amazon GameLift, a fleet can contain zero or more instances.

      \n

      \n Related actions\n

      " + "smithy.api#documentation": "

      Represents a virtual computing instance that runs game server processes and hosts game\n sessions. In Amazon GameLift, one or more instances make up a managed EC2 fleet.

      " } }, "com.amazonaws.gamelift#InstanceAccess": { @@ -10024,19 +10354,19 @@ "FleetId": { "target": "com.amazonaws.gamelift#FleetId", "traits": { - "smithy.api#documentation": "

      A unique identifier for the fleet containing the instance being accessed.

      " + "smithy.api#documentation": "

      A unique identifier for the fleet containing the instance to be accessed.

      " } }, "InstanceId": { "target": "com.amazonaws.gamelift#InstanceId", "traits": { - "smithy.api#documentation": "

      A unique identifier for the instance being accessed.

      " + "smithy.api#documentation": "

      A unique identifier for the instance to be accessed.

      " } }, "IpAddress": { "target": "com.amazonaws.gamelift#IpAddress", "traits": { - "smithy.api#documentation": "

      IP address that is assigned to the instance.

      " + "smithy.api#documentation": "

      IP address assigned to the instance.

      " } }, "OperatingSystem": { @@ -10048,12 +10378,12 @@ "Credentials": { "target": "com.amazonaws.gamelift#InstanceCredentials", "traits": { - "smithy.api#documentation": "

      Credentials required to access the instance.

      " + "smithy.api#documentation": "

      Security credentials that are required to access the instance.

      " } } }, "traits": { - "smithy.api#documentation": "

      Information required to remotely connect to a fleet instance.

      " + "smithy.api#documentation": "

      Information and credentials that you can use to remotely connect to an instance in an\n EC2 managed fleet. This data type is returned in response to a call to GetInstanceAccess.

      " } }, "com.amazonaws.gamelift#InstanceCredentials": { @@ -10062,18 +10392,18 @@ "UserName": { "target": "com.amazonaws.gamelift#NonEmptyString", "traits": { - "smithy.api#documentation": "

      User login string.

      " + "smithy.api#documentation": "

      A user name for logging in.

      " } }, "Secret": { "target": "com.amazonaws.gamelift#NonEmptyString", "traits": { - "smithy.api#documentation": "

      Secret string. For Windows instances, the secret is a password for use with Windows\n Remote Desktop. For Linux instances, it is a private key (which must be saved as a\n .pem file) for use with SSH.

      " + "smithy.api#documentation": "

      Secret string. For Windows instances, the secret is a password for use with Windows\n Remote Desktop. For Linux instances, it's a private key for use with SSH.

      " } } }, "traits": { - "smithy.api#documentation": "

      Set of credentials required to remotely access a fleet instance.

      ", + "smithy.api#documentation": "

      A set of credentials that allow remote access to an instance in an EC2 managed fleet.\n These credentials are returned in response to a call to GetInstanceAccess, which requests access for instances that are running\n game servers with the Amazon GameLift server SDK version 4.x or earlier.

      ", "smithy.api#sensitive": {} } }, @@ -10556,7 +10886,7 @@ } ], "traits": { - "smithy.api#documentation": "

      Retrieves all compute resources registered to a fleet in your Amazon Web Services account. You can filter the result set by location.

      ", + "smithy.api#documentation": "

      Retrieves the compute resources in an Amazon GameLift fleet. You can request information for\n either managed EC2 fleets or Anywhere fleets.

      \n

      To request a list of computes, specify the fleet ID. You can filter the result set by\n location. Use the pagination parameters to retrieve results in a set of sequential\n pages.

      \n

      If successful, this operation returns the compute resource for the requested fleet.\n For managed EC2 fleets, it returns a list of EC2 instances. For Anywhere fleets, it\n returns a list of registered compute names.

      ", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -10571,14 +10901,14 @@ "FleetId": { "target": "com.amazonaws.gamelift#FleetIdOrArn", "traits": { - "smithy.api#documentation": "

      A unique identifier for the fleet the compute resources are registered to.

      ", + "smithy.api#documentation": "

      A unique identifier for the fleet to retrieve compute resources for.

      ", "smithy.api#required": {} } }, "Location": { "target": "com.amazonaws.gamelift#LocationStringModel", "traits": { - "smithy.api#documentation": "

      The name of the custom location that the compute resources are assigned to.

      " + "smithy.api#documentation": "

      The name of a location to retrieve compute resources for.

      " } }, "Limit": { @@ -10604,7 +10934,7 @@ "ComputeList": { "target": "com.amazonaws.gamelift#ComputeList", "traits": { - "smithy.api#documentation": "

      A list of compute resources registered to the fleet you specified.

      " + "smithy.api#documentation": "

      A list of compute resources in the specified fleet.

      " } }, "NextToken": { @@ -12476,7 +12806,7 @@ } ], "traits": { - "smithy.api#documentation": "

      Registers your compute resources in a fleet you previously created. After you register\n a compute to your fleet, you can monitor and manage your compute using Amazon GameLift. The\n operation returns the compute resource containing SDK endpoint you can use to connect\n your game server to Amazon GameLift.

      \n

      \n Learn more\n

      \n " + "smithy.api#documentation": "

      Registers a compute resource to an Amazon GameLift Anywhere fleet. With Anywhere fleets you can\n incorporate your own computing hardware into an Amazon GameLift game hosting solution.

      \n

      To register a compute to a fleet, give the compute a name (must be unique within the\n fleet) and specify the compute resource's DNS name or IP address. Provide the Anywhere\n fleet ID and a fleet location to associate with the compute being registered. You can\n optionally include the path to a TLS certificate on the compute resource.

      \n

      If successful, this operation returns the compute details, including an Amazon GameLift SDK\n endpoint. Game server processes that run on the compute use this endpoint to communicate\n with the Amazon GameLift service. Each server process includes the SDK endpoint in its call to\n the Amazon GameLift server SDK action InitSDK().

      \n

      \n Learn more\n

      \n " } }, "com.amazonaws.gamelift#RegisterComputeInput": { @@ -12492,32 +12822,32 @@ "ComputeName": { "target": "com.amazonaws.gamelift#ComputeName", "traits": { - "smithy.api#documentation": "

      A descriptive label that is associated with the compute resource registered to your fleet.

      ", + "smithy.api#documentation": "

      A descriptive label for the compute resource.

      ", "smithy.api#required": {} } }, "CertificatePath": { "target": "com.amazonaws.gamelift#NonZeroAndMaxString", "traits": { - "smithy.api#documentation": "

      The path to the TLS certificate on your compute resource. The path and certificate are\n not validated by Amazon GameLift.

      " + "smithy.api#documentation": "

      The path to a TLS certificate on your compute resource. Amazon GameLift doesn't validate the\n path and certificate.

      " } }, "DnsName": { "target": "com.amazonaws.gamelift#DnsNameInput", "traits": { - "smithy.api#documentation": "

      The DNS name of the compute resource. Amazon GameLift requires the DNS name or IP address to\n manage your compute resource.

      " + "smithy.api#documentation": "

      The DNS name of the compute resource. Amazon GameLift requires either a DNS name or IP\n address.

      " } }, "IpAddress": { "target": "com.amazonaws.gamelift#IpAddress", "traits": { - "smithy.api#documentation": "

      The IP address of the compute resource. Amazon GameLift requires the DNS name or IP address to\n manage your compute resource.

      " + "smithy.api#documentation": "

      The IP address of the compute resource. Amazon GameLift requires either a DNS name or IP\n address.

      " } }, "Location": { "target": "com.amazonaws.gamelift#LocationStringModel", "traits": { - "smithy.api#documentation": "

      The name of the custom location you added to the fleet you are registering this\n compute resource to.

      " + "smithy.api#documentation": "

      The name of a custom location to associate with the compute resource being registered.

      " } } }, @@ -12531,7 +12861,7 @@ "Compute": { "target": "com.amazonaws.gamelift#Compute", "traits": { - "smithy.api#documentation": "

      The details of the compute resource you registered to the specified fleet.

      " + "smithy.api#documentation": "

      The details of the compute resource you registered.

      " } } }, @@ -13307,7 +13637,7 @@ "LaunchPath": { "target": "com.amazonaws.gamelift#LaunchPathStringModel", "traits": { - "smithy.api#documentation": "

      The location of a game build executable or the Realtime script file that contains the\n Init() function. Game builds and Realtime scripts are installed on\n instances at the root:

      \n
        \n
      • \n

        Windows (custom game builds only): C:\\game. Example:\n \"C:\\game\\MyGame\\server.exe\"

        \n
      • \n
      • \n

        Linux: /local/game. Examples:\n \"/local/game/MyGame/server.exe\" or\n \"/local/game/MyRealtimeScript.js\"

        \n
      • \n
      ", + "smithy.api#documentation": "

      The location of a game build executable or Realtime script. Game builds and Realtime\n scripts are installed on instances at the root:

      \n
        \n
      • \n

        Windows (custom game builds only): C:\\game. Example:\n \"C:\\game\\MyGame\\server.exe\"

        \n
      • \n
      • \n

        Linux: /local/game. Examples:\n \"/local/game/MyGame/server.exe\" or\n \"/local/game/MyRealtimeScript.js\"

        \n
      • \n
      \n \n

      Amazon GameLift doesn't support the use of setup scripts that launch the game executable.\n For custom game builds, this parameter must indicate the executable that calls the\n server SDK operations initSDK() and ProcessReady().\n

      \n
      ", "smithy.api#required": {} } }, @@ -14404,7 +14734,7 @@ "NewGameSessionProtectionPolicy": { "target": "com.amazonaws.gamelift#ProtectionPolicy", "traits": { - "smithy.api#documentation": "

      The game session protection policy to apply to all new instances created in this\n fleet. Instances that already exist are not affected. You can set protection for\n individual instances using UpdateGameSession .

      \n
        \n
      • \n

        \n NoProtection -- The game session can be\n terminated during a scale-down event.

        \n
      • \n
      • \n

        \n FullProtection -- If the game session is in an\n ACTIVE status, it cannot be terminated during a scale-down\n event.

        \n
      • \n
      " + "smithy.api#documentation": "

      The game session protection policy to apply to all new game sessions created in this\n fleet. Game sessions that already exist are not affected. You can set protection for\n individual game sessions using UpdateGameSession .

      \n
        \n
      • \n

        \n NoProtection -- The game session can be\n terminated during a scale-down event.

        \n
      • \n
      • \n

        \n FullProtection -- If the game session is in an\n ACTIVE status, it cannot be terminated during a scale-down\n event.

        \n
      • \n
      " } }, "ResourceCreationLimitPolicy": { @@ -14501,7 +14831,7 @@ "DesiredInstances": { "target": "com.amazonaws.gamelift#WholeNumber", "traits": { - "smithy.api#documentation": "

      The number of Amazon EC2 instances you want to maintain in the specified fleet location.\n This value must fall between the minimum and maximum size limits.

      " + "smithy.api#documentation": "

      The number of Amazon EC2 instances you want to maintain in the specified fleet location.\n This value must fall between the minimum and maximum size limits. Changes in desired\n instance value can take up to 1 minute to be reflected when viewing the fleet's capacity\n settings.

      " } }, "MinSize": { @@ -14658,7 +14988,7 @@ } ], "traits": { - "smithy.api#documentation": "

      \n This operation is used with the Amazon GameLift FleetIQ solution and game server groups.\n

      \n

      Updates information about a\n registered game server to help Amazon GameLift FleetIQ to track game server availability. This operation\n is called by a game server process that is running on an instance in a game server\n group.

      \n

      Use this operation to update the following types of game server information. You can\n make all three types of updates in the same request:

      \n
        \n
      • \n

        To update the game server's utilization status, identify the game server and\n game server group and specify the current utilization status. Use this status to\n identify when game servers are currently hosting games and when they are\n available to be claimed.

        \n
      • \n
      • \n

        To report health status, identify the game server and game server group and\n set health check to HEALTHY. If a game server does not report\n health status for a certain length of time, the game server is no longer\n considered healthy. As a result, it will be eventually deregistered from the\n game server group to avoid affecting utilization metrics. The best practice is\n to report health every 60 seconds.

        \n
      • \n
      • \n

        To change game server metadata, provide updated game server data.

        \n
      • \n
      \n

      Once a game server is successfully updated, the relevant statuses and timestamps are\n updated.

      \n

      \n Learn more\n

      \n

      \n Amazon GameLift FleetIQ\n Guide\n

      " + "smithy.api#documentation": "

      \n This operation is used with the Amazon GameLift FleetIQ solution and game server groups.\n

      \n

      Updates information about a registered game server to help Amazon GameLift FleetIQ track game server\n availability. This operation is called by a game server process that is running on an\n instance in a game server group.

      \n

      Use this operation to update the following types of game server information. You can\n make all three types of updates in the same request:

      \n
        \n
      • \n

        To update the game server's utilization status from AVAILABLE\n (when the game server is available to be claimed) to UTILIZED (when\n the game server is currently hosting games). Identify the game server and game\n server group and specify the new utilization status. You can't change the status\n from to UTILIZED to AVAILABLE .

        \n
      • \n
      • \n

        To report health status, identify the game server and game server group and\n set health check to HEALTHY. If a game server does not report\n health status for a certain length of time, the game server is no longer\n considered healthy. As a result, it will be eventually deregistered from the\n game server group to avoid affecting utilization metrics. The best practice is\n to report health every 60 seconds.

        \n
      • \n
      • \n

        To change game server metadata, provide updated game server data.

        \n
      • \n
      \n

      Once a game server is successfully updated, the relevant statuses and timestamps are\n updated.

      \n

      \n Learn more\n

      \n

      \n Amazon GameLift FleetIQ\n Guide\n

      " } }, "com.amazonaws.gamelift#UpdateGameServerGroup": { @@ -14766,7 +15096,7 @@ "UtilizationStatus": { "target": "com.amazonaws.gamelift#GameServerUtilizationStatus", "traits": { - "smithy.api#documentation": "

      Indicates whether the game server is available or is currently hosting\n gameplay.

      " + "smithy.api#documentation": "

      Indicates if the game server is available or is currently hosting gameplay. You can\n update a game server status from AVAILABLE to UTILIZED, but\n you can't change a the status from UTILIZED to\n AVAILABLE.

      " } }, "HealthCheck": {