Skip to content

Commit

Permalink
feat(client-gamelift): Amazon GameLift releases container fleets supp…
Browse files Browse the repository at this point in the history
…ort for public preview. Deploy Linux-based containerized game server software for hosting on Amazon GameLift.
  • Loading branch information
awstools committed Apr 24, 2024
1 parent aef9d12 commit de6599f
Show file tree
Hide file tree
Showing 50 changed files with 9,909 additions and 5,351 deletions.
32 changes: 32 additions & 0 deletions clients/client-gamelift/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,14 @@ CreateBuild

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/gamelift/command/CreateBuildCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-gamelift/Interface/CreateBuildCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-gamelift/Interface/CreateBuildCommandOutput/)

</details>
<details>
<summary>
CreateContainerGroupDefinition
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/gamelift/command/CreateContainerGroupDefinitionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-gamelift/Interface/CreateContainerGroupDefinitionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-gamelift/Interface/CreateContainerGroupDefinitionCommandOutput/)

</details>
<details>
<summary>
Expand Down Expand Up @@ -411,6 +419,14 @@ DeleteBuild

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/gamelift/command/DeleteBuildCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-gamelift/Interface/DeleteBuildCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-gamelift/Interface/DeleteBuildCommandOutput/)

</details>
<details>
<summary>
DeleteContainerGroupDefinition
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/gamelift/command/DeleteContainerGroupDefinitionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-gamelift/Interface/DeleteContainerGroupDefinitionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-gamelift/Interface/DeleteContainerGroupDefinitionCommandOutput/)

</details>
<details>
<summary>
Expand Down Expand Up @@ -539,6 +555,14 @@ DescribeCompute

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/gamelift/command/DescribeComputeCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-gamelift/Interface/DescribeComputeCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-gamelift/Interface/DescribeComputeCommandOutput/)

</details>
<details>
<summary>
DescribeContainerGroupDefinition
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/gamelift/command/DescribeContainerGroupDefinitionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-gamelift/Interface/DescribeContainerGroupDefinitionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-gamelift/Interface/DescribeContainerGroupDefinitionCommandOutput/)

</details>
<details>
<summary>
Expand Down Expand Up @@ -803,6 +827,14 @@ ListCompute

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/gamelift/command/ListComputeCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-gamelift/Interface/ListComputeCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-gamelift/Interface/ListComputeCommandOutput/)

</details>
<details>
<summary>
ListContainerGroupDefinitions
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/gamelift/command/ListContainerGroupDefinitionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-gamelift/Interface/ListContainerGroupDefinitionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-gamelift/Interface/ListContainerGroupDefinitionsCommandOutput/)

</details>
<details>
<summary>
Expand Down
93 changes: 93 additions & 0 deletions clients/client-gamelift/src/GameLift.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ import {
} from "./commands/ClaimGameServerCommand";
import { CreateAliasCommand, CreateAliasCommandInput, CreateAliasCommandOutput } from "./commands/CreateAliasCommand";
import { CreateBuildCommand, CreateBuildCommandInput, CreateBuildCommandOutput } from "./commands/CreateBuildCommand";
import {
CreateContainerGroupDefinitionCommand,
CreateContainerGroupDefinitionCommandInput,
CreateContainerGroupDefinitionCommandOutput,
} from "./commands/CreateContainerGroupDefinitionCommand";
import { CreateFleetCommand, CreateFleetCommandInput, CreateFleetCommandOutput } from "./commands/CreateFleetCommand";
import {
CreateFleetLocationsCommand,
Expand Down Expand Up @@ -73,6 +78,11 @@ import {
} from "./commands/CreateVpcPeeringConnectionCommand";
import { DeleteAliasCommand, DeleteAliasCommandInput, DeleteAliasCommandOutput } from "./commands/DeleteAliasCommand";
import { DeleteBuildCommand, DeleteBuildCommandInput, DeleteBuildCommandOutput } from "./commands/DeleteBuildCommand";
import {
DeleteContainerGroupDefinitionCommand,
DeleteContainerGroupDefinitionCommandInput,
DeleteContainerGroupDefinitionCommandOutput,
} from "./commands/DeleteContainerGroupDefinitionCommand";
import { DeleteFleetCommand, DeleteFleetCommandInput, DeleteFleetCommandOutput } from "./commands/DeleteFleetCommand";
import {
DeleteFleetLocationsCommand,
Expand Down Expand Up @@ -149,6 +159,11 @@ import {
DescribeComputeCommandInput,
DescribeComputeCommandOutput,
} from "./commands/DescribeComputeCommand";
import {
DescribeContainerGroupDefinitionCommand,
DescribeContainerGroupDefinitionCommandInput,
DescribeContainerGroupDefinitionCommandOutput,
} from "./commands/DescribeContainerGroupDefinitionCommand";
import {
DescribeEC2InstanceLimitsCommand,
DescribeEC2InstanceLimitsCommandInput,
Expand Down Expand Up @@ -302,6 +317,11 @@ import {
import { ListAliasesCommand, ListAliasesCommandInput, ListAliasesCommandOutput } from "./commands/ListAliasesCommand";
import { ListBuildsCommand, ListBuildsCommandInput, ListBuildsCommandOutput } from "./commands/ListBuildsCommand";
import { ListComputeCommand, ListComputeCommandInput, ListComputeCommandOutput } from "./commands/ListComputeCommand";
import {
ListContainerGroupDefinitionsCommand,
ListContainerGroupDefinitionsCommandInput,
ListContainerGroupDefinitionsCommandOutput,
} from "./commands/ListContainerGroupDefinitionsCommand";
import { ListFleetsCommand, ListFleetsCommandInput, ListFleetsCommandOutput } from "./commands/ListFleetsCommand";
import {
ListGameServerGroupsCommand,
Expand Down Expand Up @@ -469,6 +489,7 @@ const commands = {
ClaimGameServerCommand,
CreateAliasCommand,
CreateBuildCommand,
CreateContainerGroupDefinitionCommand,
CreateFleetCommand,
CreateFleetLocationsCommand,
CreateGameServerGroupCommand,
Expand All @@ -484,6 +505,7 @@ const commands = {
CreateVpcPeeringConnectionCommand,
DeleteAliasCommand,
DeleteBuildCommand,
DeleteContainerGroupDefinitionCommand,
DeleteFleetCommand,
DeleteFleetLocationsCommand,
DeleteGameServerGroupCommand,
Expand All @@ -500,6 +522,7 @@ const commands = {
DescribeAliasCommand,
DescribeBuildCommand,
DescribeComputeCommand,
DescribeContainerGroupDefinitionCommand,
DescribeEC2InstanceLimitsCommand,
DescribeFleetAttributesCommand,
DescribeFleetCapacityCommand,
Expand Down Expand Up @@ -533,6 +556,7 @@ const commands = {
ListAliasesCommand,
ListBuildsCommand,
ListComputeCommand,
ListContainerGroupDefinitionsCommand,
ListFleetsCommand,
ListGameServerGroupsCommand,
ListGameServersCommand,
Expand Down Expand Up @@ -620,6 +644,23 @@ export interface GameLift {
cb: (err: any, data?: CreateBuildCommandOutput) => void
): void;

/**
* @see {@link CreateContainerGroupDefinitionCommand}
*/
createContainerGroupDefinition(
args: CreateContainerGroupDefinitionCommandInput,
options?: __HttpHandlerOptions
): Promise<CreateContainerGroupDefinitionCommandOutput>;
createContainerGroupDefinition(
args: CreateContainerGroupDefinitionCommandInput,
cb: (err: any, data?: CreateContainerGroupDefinitionCommandOutput) => void
): void;
createContainerGroupDefinition(
args: CreateContainerGroupDefinitionCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: CreateContainerGroupDefinitionCommandOutput) => void
): void;

/**
* @see {@link CreateFleetCommand}
*/
Expand Down Expand Up @@ -849,6 +890,23 @@ export interface GameLift {
cb: (err: any, data?: DeleteBuildCommandOutput) => void
): void;

/**
* @see {@link DeleteContainerGroupDefinitionCommand}
*/
deleteContainerGroupDefinition(
args: DeleteContainerGroupDefinitionCommandInput,
options?: __HttpHandlerOptions
): Promise<DeleteContainerGroupDefinitionCommandOutput>;
deleteContainerGroupDefinition(
args: DeleteContainerGroupDefinitionCommandInput,
cb: (err: any, data?: DeleteContainerGroupDefinitionCommandOutput) => void
): void;
deleteContainerGroupDefinition(
args: DeleteContainerGroupDefinitionCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: DeleteContainerGroupDefinitionCommandOutput) => void
): void;

/**
* @see {@link DeleteFleetCommand}
*/
Expand Down Expand Up @@ -1091,6 +1149,23 @@ export interface GameLift {
cb: (err: any, data?: DescribeComputeCommandOutput) => void
): void;

/**
* @see {@link DescribeContainerGroupDefinitionCommand}
*/
describeContainerGroupDefinition(
args: DescribeContainerGroupDefinitionCommandInput,
options?: __HttpHandlerOptions
): Promise<DescribeContainerGroupDefinitionCommandOutput>;
describeContainerGroupDefinition(
args: DescribeContainerGroupDefinitionCommandInput,
cb: (err: any, data?: DescribeContainerGroupDefinitionCommandOutput) => void
): void;
describeContainerGroupDefinition(
args: DescribeContainerGroupDefinitionCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: DescribeContainerGroupDefinitionCommandOutput) => void
): void;

/**
* @see {@link DescribeEC2InstanceLimitsCommand}
*/
Expand Down Expand Up @@ -1645,6 +1720,24 @@ export interface GameLift {
cb: (err: any, data?: ListComputeCommandOutput) => void
): void;

/**
* @see {@link ListContainerGroupDefinitionsCommand}
*/
listContainerGroupDefinitions(): Promise<ListContainerGroupDefinitionsCommandOutput>;
listContainerGroupDefinitions(
args: ListContainerGroupDefinitionsCommandInput,
options?: __HttpHandlerOptions
): Promise<ListContainerGroupDefinitionsCommandOutput>;
listContainerGroupDefinitions(
args: ListContainerGroupDefinitionsCommandInput,
cb: (err: any, data?: ListContainerGroupDefinitionsCommandOutput) => void
): void;
listContainerGroupDefinitions(
args: ListContainerGroupDefinitionsCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: ListContainerGroupDefinitionsCommandOutput) => void
): void;

/**
* @see {@link ListFleetsCommand}
*/
Expand Down
24 changes: 24 additions & 0 deletions clients/client-gamelift/src/GameLiftClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ import { AcceptMatchCommandInput, AcceptMatchCommandOutput } from "./commands/Ac
import { ClaimGameServerCommandInput, ClaimGameServerCommandOutput } from "./commands/ClaimGameServerCommand";
import { CreateAliasCommandInput, CreateAliasCommandOutput } from "./commands/CreateAliasCommand";
import { CreateBuildCommandInput, CreateBuildCommandOutput } from "./commands/CreateBuildCommand";
import {
CreateContainerGroupDefinitionCommandInput,
CreateContainerGroupDefinitionCommandOutput,
} from "./commands/CreateContainerGroupDefinitionCommand";
import { CreateFleetCommandInput, CreateFleetCommandOutput } from "./commands/CreateFleetCommand";
import {
CreateFleetLocationsCommandInput,
Expand Down Expand Up @@ -99,6 +103,10 @@ import {
} from "./commands/CreateVpcPeeringConnectionCommand";
import { DeleteAliasCommandInput, DeleteAliasCommandOutput } from "./commands/DeleteAliasCommand";
import { DeleteBuildCommandInput, DeleteBuildCommandOutput } from "./commands/DeleteBuildCommand";
import {
DeleteContainerGroupDefinitionCommandInput,
DeleteContainerGroupDefinitionCommandOutput,
} from "./commands/DeleteContainerGroupDefinitionCommand";
import { DeleteFleetCommandInput, DeleteFleetCommandOutput } from "./commands/DeleteFleetCommand";
import {
DeleteFleetLocationsCommandInput,
Expand Down Expand Up @@ -142,6 +150,10 @@ import {
import { DescribeAliasCommandInput, DescribeAliasCommandOutput } from "./commands/DescribeAliasCommand";
import { DescribeBuildCommandInput, DescribeBuildCommandOutput } from "./commands/DescribeBuildCommand";
import { DescribeComputeCommandInput, DescribeComputeCommandOutput } from "./commands/DescribeComputeCommand";
import {
DescribeContainerGroupDefinitionCommandInput,
DescribeContainerGroupDefinitionCommandOutput,
} from "./commands/DescribeContainerGroupDefinitionCommand";
import {
DescribeEC2InstanceLimitsCommandInput,
DescribeEC2InstanceLimitsCommandOutput,
Expand Down Expand Up @@ -250,6 +262,10 @@ import { GetInstanceAccessCommandInput, GetInstanceAccessCommandOutput } from ".
import { ListAliasesCommandInput, ListAliasesCommandOutput } from "./commands/ListAliasesCommand";
import { ListBuildsCommandInput, ListBuildsCommandOutput } from "./commands/ListBuildsCommand";
import { ListComputeCommandInput, ListComputeCommandOutput } from "./commands/ListComputeCommand";
import {
ListContainerGroupDefinitionsCommandInput,
ListContainerGroupDefinitionsCommandOutput,
} from "./commands/ListContainerGroupDefinitionsCommand";
import { ListFleetsCommandInput, ListFleetsCommandOutput } from "./commands/ListFleetsCommand";
import {
ListGameServerGroupsCommandInput,
Expand Down Expand Up @@ -350,6 +366,7 @@ export type ServiceInputTypes =
| ClaimGameServerCommandInput
| CreateAliasCommandInput
| CreateBuildCommandInput
| CreateContainerGroupDefinitionCommandInput
| CreateFleetCommandInput
| CreateFleetLocationsCommandInput
| CreateGameServerGroupCommandInput
Expand All @@ -365,6 +382,7 @@ export type ServiceInputTypes =
| CreateVpcPeeringConnectionCommandInput
| DeleteAliasCommandInput
| DeleteBuildCommandInput
| DeleteContainerGroupDefinitionCommandInput
| DeleteFleetCommandInput
| DeleteFleetLocationsCommandInput
| DeleteGameServerGroupCommandInput
Expand All @@ -381,6 +399,7 @@ export type ServiceInputTypes =
| DescribeAliasCommandInput
| DescribeBuildCommandInput
| DescribeComputeCommandInput
| DescribeContainerGroupDefinitionCommandInput
| DescribeEC2InstanceLimitsCommandInput
| DescribeFleetAttributesCommandInput
| DescribeFleetCapacityCommandInput
Expand Down Expand Up @@ -414,6 +433,7 @@ export type ServiceInputTypes =
| ListAliasesCommandInput
| ListBuildsCommandInput
| ListComputeCommandInput
| ListContainerGroupDefinitionsCommandInput
| ListFleetsCommandInput
| ListGameServerGroupsCommandInput
| ListGameServersCommandInput
Expand Down Expand Up @@ -459,6 +479,7 @@ export type ServiceOutputTypes =
| ClaimGameServerCommandOutput
| CreateAliasCommandOutput
| CreateBuildCommandOutput
| CreateContainerGroupDefinitionCommandOutput
| CreateFleetCommandOutput
| CreateFleetLocationsCommandOutput
| CreateGameServerGroupCommandOutput
Expand All @@ -474,6 +495,7 @@ export type ServiceOutputTypes =
| CreateVpcPeeringConnectionCommandOutput
| DeleteAliasCommandOutput
| DeleteBuildCommandOutput
| DeleteContainerGroupDefinitionCommandOutput
| DeleteFleetCommandOutput
| DeleteFleetLocationsCommandOutput
| DeleteGameServerGroupCommandOutput
Expand All @@ -490,6 +512,7 @@ export type ServiceOutputTypes =
| DescribeAliasCommandOutput
| DescribeBuildCommandOutput
| DescribeComputeCommandOutput
| DescribeContainerGroupDefinitionCommandOutput
| DescribeEC2InstanceLimitsCommandOutput
| DescribeFleetAttributesCommandOutput
| DescribeFleetCapacityCommandOutput
Expand Down Expand Up @@ -523,6 +546,7 @@ export type ServiceOutputTypes =
| ListAliasesCommandOutput
| ListBuildsCommandOutput
| ListComputeCommandOutput
| ListContainerGroupDefinitionsCommandOutput
| ListFleetsCommandOutput
| ListGameServerGroupsCommandOutput
| ListGameServersCommandOutput
Expand Down
Loading

0 comments on commit de6599f

Please sign in to comment.