Skip to content

Commit de6599f

Browse files
author
awstools
committed
feat(client-gamelift): Amazon GameLift releases container fleets support for public preview. Deploy Linux-based containerized game server software for hosting on Amazon GameLift.
1 parent aef9d12 commit de6599f

File tree

50 files changed

+9909
-5351
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+9909
-5351
lines changed

clients/client-gamelift/README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,14 @@ CreateBuild
291291

292292
[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/)
293293

294+
</details>
295+
<details>
296+
<summary>
297+
CreateContainerGroupDefinition
298+
</summary>
299+
300+
[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/)
301+
294302
</details>
295303
<details>
296304
<summary>
@@ -411,6 +419,14 @@ DeleteBuild
411419

412420
[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/)
413421

422+
</details>
423+
<details>
424+
<summary>
425+
DeleteContainerGroupDefinition
426+
</summary>
427+
428+
[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/)
429+
414430
</details>
415431
<details>
416432
<summary>
@@ -539,6 +555,14 @@ DescribeCompute
539555

540556
[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/)
541557

558+
</details>
559+
<details>
560+
<summary>
561+
DescribeContainerGroupDefinition
562+
</summary>
563+
564+
[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/)
565+
542566
</details>
543567
<details>
544568
<summary>
@@ -803,6 +827,14 @@ ListCompute
803827

804828
[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/)
805829

830+
</details>
831+
<details>
832+
<summary>
833+
ListContainerGroupDefinitions
834+
</summary>
835+
836+
[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/)
837+
806838
</details>
807839
<details>
808840
<summary>

clients/client-gamelift/src/GameLift.ts

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ import {
1010
} from "./commands/ClaimGameServerCommand";
1111
import { CreateAliasCommand, CreateAliasCommandInput, CreateAliasCommandOutput } from "./commands/CreateAliasCommand";
1212
import { CreateBuildCommand, CreateBuildCommandInput, CreateBuildCommandOutput } from "./commands/CreateBuildCommand";
13+
import {
14+
CreateContainerGroupDefinitionCommand,
15+
CreateContainerGroupDefinitionCommandInput,
16+
CreateContainerGroupDefinitionCommandOutput,
17+
} from "./commands/CreateContainerGroupDefinitionCommand";
1318
import { CreateFleetCommand, CreateFleetCommandInput, CreateFleetCommandOutput } from "./commands/CreateFleetCommand";
1419
import {
1520
CreateFleetLocationsCommand,
@@ -73,6 +78,11 @@ import {
7378
} from "./commands/CreateVpcPeeringConnectionCommand";
7479
import { DeleteAliasCommand, DeleteAliasCommandInput, DeleteAliasCommandOutput } from "./commands/DeleteAliasCommand";
7580
import { DeleteBuildCommand, DeleteBuildCommandInput, DeleteBuildCommandOutput } from "./commands/DeleteBuildCommand";
81+
import {
82+
DeleteContainerGroupDefinitionCommand,
83+
DeleteContainerGroupDefinitionCommandInput,
84+
DeleteContainerGroupDefinitionCommandOutput,
85+
} from "./commands/DeleteContainerGroupDefinitionCommand";
7686
import { DeleteFleetCommand, DeleteFleetCommandInput, DeleteFleetCommandOutput } from "./commands/DeleteFleetCommand";
7787
import {
7888
DeleteFleetLocationsCommand,
@@ -149,6 +159,11 @@ import {
149159
DescribeComputeCommandInput,
150160
DescribeComputeCommandOutput,
151161
} from "./commands/DescribeComputeCommand";
162+
import {
163+
DescribeContainerGroupDefinitionCommand,
164+
DescribeContainerGroupDefinitionCommandInput,
165+
DescribeContainerGroupDefinitionCommandOutput,
166+
} from "./commands/DescribeContainerGroupDefinitionCommand";
152167
import {
153168
DescribeEC2InstanceLimitsCommand,
154169
DescribeEC2InstanceLimitsCommandInput,
@@ -302,6 +317,11 @@ import {
302317
import { ListAliasesCommand, ListAliasesCommandInput, ListAliasesCommandOutput } from "./commands/ListAliasesCommand";
303318
import { ListBuildsCommand, ListBuildsCommandInput, ListBuildsCommandOutput } from "./commands/ListBuildsCommand";
304319
import { ListComputeCommand, ListComputeCommandInput, ListComputeCommandOutput } from "./commands/ListComputeCommand";
320+
import {
321+
ListContainerGroupDefinitionsCommand,
322+
ListContainerGroupDefinitionsCommandInput,
323+
ListContainerGroupDefinitionsCommandOutput,
324+
} from "./commands/ListContainerGroupDefinitionsCommand";
305325
import { ListFleetsCommand, ListFleetsCommandInput, ListFleetsCommandOutput } from "./commands/ListFleetsCommand";
306326
import {
307327
ListGameServerGroupsCommand,
@@ -469,6 +489,7 @@ const commands = {
469489
ClaimGameServerCommand,
470490
CreateAliasCommand,
471491
CreateBuildCommand,
492+
CreateContainerGroupDefinitionCommand,
472493
CreateFleetCommand,
473494
CreateFleetLocationsCommand,
474495
CreateGameServerGroupCommand,
@@ -484,6 +505,7 @@ const commands = {
484505
CreateVpcPeeringConnectionCommand,
485506
DeleteAliasCommand,
486507
DeleteBuildCommand,
508+
DeleteContainerGroupDefinitionCommand,
487509
DeleteFleetCommand,
488510
DeleteFleetLocationsCommand,
489511
DeleteGameServerGroupCommand,
@@ -500,6 +522,7 @@ const commands = {
500522
DescribeAliasCommand,
501523
DescribeBuildCommand,
502524
DescribeComputeCommand,
525+
DescribeContainerGroupDefinitionCommand,
503526
DescribeEC2InstanceLimitsCommand,
504527
DescribeFleetAttributesCommand,
505528
DescribeFleetCapacityCommand,
@@ -533,6 +556,7 @@ const commands = {
533556
ListAliasesCommand,
534557
ListBuildsCommand,
535558
ListComputeCommand,
559+
ListContainerGroupDefinitionsCommand,
536560
ListFleetsCommand,
537561
ListGameServerGroupsCommand,
538562
ListGameServersCommand,
@@ -620,6 +644,23 @@ export interface GameLift {
620644
cb: (err: any, data?: CreateBuildCommandOutput) => void
621645
): void;
622646

647+
/**
648+
* @see {@link CreateContainerGroupDefinitionCommand}
649+
*/
650+
createContainerGroupDefinition(
651+
args: CreateContainerGroupDefinitionCommandInput,
652+
options?: __HttpHandlerOptions
653+
): Promise<CreateContainerGroupDefinitionCommandOutput>;
654+
createContainerGroupDefinition(
655+
args: CreateContainerGroupDefinitionCommandInput,
656+
cb: (err: any, data?: CreateContainerGroupDefinitionCommandOutput) => void
657+
): void;
658+
createContainerGroupDefinition(
659+
args: CreateContainerGroupDefinitionCommandInput,
660+
options: __HttpHandlerOptions,
661+
cb: (err: any, data?: CreateContainerGroupDefinitionCommandOutput) => void
662+
): void;
663+
623664
/**
624665
* @see {@link CreateFleetCommand}
625666
*/
@@ -849,6 +890,23 @@ export interface GameLift {
849890
cb: (err: any, data?: DeleteBuildCommandOutput) => void
850891
): void;
851892

893+
/**
894+
* @see {@link DeleteContainerGroupDefinitionCommand}
895+
*/
896+
deleteContainerGroupDefinition(
897+
args: DeleteContainerGroupDefinitionCommandInput,
898+
options?: __HttpHandlerOptions
899+
): Promise<DeleteContainerGroupDefinitionCommandOutput>;
900+
deleteContainerGroupDefinition(
901+
args: DeleteContainerGroupDefinitionCommandInput,
902+
cb: (err: any, data?: DeleteContainerGroupDefinitionCommandOutput) => void
903+
): void;
904+
deleteContainerGroupDefinition(
905+
args: DeleteContainerGroupDefinitionCommandInput,
906+
options: __HttpHandlerOptions,
907+
cb: (err: any, data?: DeleteContainerGroupDefinitionCommandOutput) => void
908+
): void;
909+
852910
/**
853911
* @see {@link DeleteFleetCommand}
854912
*/
@@ -1091,6 +1149,23 @@ export interface GameLift {
10911149
cb: (err: any, data?: DescribeComputeCommandOutput) => void
10921150
): void;
10931151

1152+
/**
1153+
* @see {@link DescribeContainerGroupDefinitionCommand}
1154+
*/
1155+
describeContainerGroupDefinition(
1156+
args: DescribeContainerGroupDefinitionCommandInput,
1157+
options?: __HttpHandlerOptions
1158+
): Promise<DescribeContainerGroupDefinitionCommandOutput>;
1159+
describeContainerGroupDefinition(
1160+
args: DescribeContainerGroupDefinitionCommandInput,
1161+
cb: (err: any, data?: DescribeContainerGroupDefinitionCommandOutput) => void
1162+
): void;
1163+
describeContainerGroupDefinition(
1164+
args: DescribeContainerGroupDefinitionCommandInput,
1165+
options: __HttpHandlerOptions,
1166+
cb: (err: any, data?: DescribeContainerGroupDefinitionCommandOutput) => void
1167+
): void;
1168+
10941169
/**
10951170
* @see {@link DescribeEC2InstanceLimitsCommand}
10961171
*/
@@ -1645,6 +1720,24 @@ export interface GameLift {
16451720
cb: (err: any, data?: ListComputeCommandOutput) => void
16461721
): void;
16471722

1723+
/**
1724+
* @see {@link ListContainerGroupDefinitionsCommand}
1725+
*/
1726+
listContainerGroupDefinitions(): Promise<ListContainerGroupDefinitionsCommandOutput>;
1727+
listContainerGroupDefinitions(
1728+
args: ListContainerGroupDefinitionsCommandInput,
1729+
options?: __HttpHandlerOptions
1730+
): Promise<ListContainerGroupDefinitionsCommandOutput>;
1731+
listContainerGroupDefinitions(
1732+
args: ListContainerGroupDefinitionsCommandInput,
1733+
cb: (err: any, data?: ListContainerGroupDefinitionsCommandOutput) => void
1734+
): void;
1735+
listContainerGroupDefinitions(
1736+
args: ListContainerGroupDefinitionsCommandInput,
1737+
options: __HttpHandlerOptions,
1738+
cb: (err: any, data?: ListContainerGroupDefinitionsCommandOutput) => void
1739+
): void;
1740+
16481741
/**
16491742
* @see {@link ListFleetsCommand}
16501743
*/

clients/client-gamelift/src/GameLiftClient.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ import { AcceptMatchCommandInput, AcceptMatchCommandOutput } from "./commands/Ac
5757
import { ClaimGameServerCommandInput, ClaimGameServerCommandOutput } from "./commands/ClaimGameServerCommand";
5858
import { CreateAliasCommandInput, CreateAliasCommandOutput } from "./commands/CreateAliasCommand";
5959
import { CreateBuildCommandInput, CreateBuildCommandOutput } from "./commands/CreateBuildCommand";
60+
import {
61+
CreateContainerGroupDefinitionCommandInput,
62+
CreateContainerGroupDefinitionCommandOutput,
63+
} from "./commands/CreateContainerGroupDefinitionCommand";
6064
import { CreateFleetCommandInput, CreateFleetCommandOutput } from "./commands/CreateFleetCommand";
6165
import {
6266
CreateFleetLocationsCommandInput,
@@ -99,6 +103,10 @@ import {
99103
} from "./commands/CreateVpcPeeringConnectionCommand";
100104
import { DeleteAliasCommandInput, DeleteAliasCommandOutput } from "./commands/DeleteAliasCommand";
101105
import { DeleteBuildCommandInput, DeleteBuildCommandOutput } from "./commands/DeleteBuildCommand";
106+
import {
107+
DeleteContainerGroupDefinitionCommandInput,
108+
DeleteContainerGroupDefinitionCommandOutput,
109+
} from "./commands/DeleteContainerGroupDefinitionCommand";
102110
import { DeleteFleetCommandInput, DeleteFleetCommandOutput } from "./commands/DeleteFleetCommand";
103111
import {
104112
DeleteFleetLocationsCommandInput,
@@ -142,6 +150,10 @@ import {
142150
import { DescribeAliasCommandInput, DescribeAliasCommandOutput } from "./commands/DescribeAliasCommand";
143151
import { DescribeBuildCommandInput, DescribeBuildCommandOutput } from "./commands/DescribeBuildCommand";
144152
import { DescribeComputeCommandInput, DescribeComputeCommandOutput } from "./commands/DescribeComputeCommand";
153+
import {
154+
DescribeContainerGroupDefinitionCommandInput,
155+
DescribeContainerGroupDefinitionCommandOutput,
156+
} from "./commands/DescribeContainerGroupDefinitionCommand";
145157
import {
146158
DescribeEC2InstanceLimitsCommandInput,
147159
DescribeEC2InstanceLimitsCommandOutput,
@@ -250,6 +262,10 @@ import { GetInstanceAccessCommandInput, GetInstanceAccessCommandOutput } from ".
250262
import { ListAliasesCommandInput, ListAliasesCommandOutput } from "./commands/ListAliasesCommand";
251263
import { ListBuildsCommandInput, ListBuildsCommandOutput } from "./commands/ListBuildsCommand";
252264
import { ListComputeCommandInput, ListComputeCommandOutput } from "./commands/ListComputeCommand";
265+
import {
266+
ListContainerGroupDefinitionsCommandInput,
267+
ListContainerGroupDefinitionsCommandOutput,
268+
} from "./commands/ListContainerGroupDefinitionsCommand";
253269
import { ListFleetsCommandInput, ListFleetsCommandOutput } from "./commands/ListFleetsCommand";
254270
import {
255271
ListGameServerGroupsCommandInput,
@@ -350,6 +366,7 @@ export type ServiceInputTypes =
350366
| ClaimGameServerCommandInput
351367
| CreateAliasCommandInput
352368
| CreateBuildCommandInput
369+
| CreateContainerGroupDefinitionCommandInput
353370
| CreateFleetCommandInput
354371
| CreateFleetLocationsCommandInput
355372
| CreateGameServerGroupCommandInput
@@ -365,6 +382,7 @@ export type ServiceInputTypes =
365382
| CreateVpcPeeringConnectionCommandInput
366383
| DeleteAliasCommandInput
367384
| DeleteBuildCommandInput
385+
| DeleteContainerGroupDefinitionCommandInput
368386
| DeleteFleetCommandInput
369387
| DeleteFleetLocationsCommandInput
370388
| DeleteGameServerGroupCommandInput
@@ -381,6 +399,7 @@ export type ServiceInputTypes =
381399
| DescribeAliasCommandInput
382400
| DescribeBuildCommandInput
383401
| DescribeComputeCommandInput
402+
| DescribeContainerGroupDefinitionCommandInput
384403
| DescribeEC2InstanceLimitsCommandInput
385404
| DescribeFleetAttributesCommandInput
386405
| DescribeFleetCapacityCommandInput
@@ -414,6 +433,7 @@ export type ServiceInputTypes =
414433
| ListAliasesCommandInput
415434
| ListBuildsCommandInput
416435
| ListComputeCommandInput
436+
| ListContainerGroupDefinitionsCommandInput
417437
| ListFleetsCommandInput
418438
| ListGameServerGroupsCommandInput
419439
| ListGameServersCommandInput
@@ -459,6 +479,7 @@ export type ServiceOutputTypes =
459479
| ClaimGameServerCommandOutput
460480
| CreateAliasCommandOutput
461481
| CreateBuildCommandOutput
482+
| CreateContainerGroupDefinitionCommandOutput
462483
| CreateFleetCommandOutput
463484
| CreateFleetLocationsCommandOutput
464485
| CreateGameServerGroupCommandOutput
@@ -474,6 +495,7 @@ export type ServiceOutputTypes =
474495
| CreateVpcPeeringConnectionCommandOutput
475496
| DeleteAliasCommandOutput
476497
| DeleteBuildCommandOutput
498+
| DeleteContainerGroupDefinitionCommandOutput
477499
| DeleteFleetCommandOutput
478500
| DeleteFleetLocationsCommandOutput
479501
| DeleteGameServerGroupCommandOutput
@@ -490,6 +512,7 @@ export type ServiceOutputTypes =
490512
| DescribeAliasCommandOutput
491513
| DescribeBuildCommandOutput
492514
| DescribeComputeCommandOutput
515+
| DescribeContainerGroupDefinitionCommandOutput
493516
| DescribeEC2InstanceLimitsCommandOutput
494517
| DescribeFleetAttributesCommandOutput
495518
| DescribeFleetCapacityCommandOutput
@@ -523,6 +546,7 @@ export type ServiceOutputTypes =
523546
| ListAliasesCommandOutput
524547
| ListBuildsCommandOutput
525548
| ListComputeCommandOutput
549+
| ListContainerGroupDefinitionsCommandOutput
526550
| ListFleetsCommandOutput
527551
| ListGameServerGroupsCommandOutput
528552
| ListGameServersCommandOutput

0 commit comments

Comments
 (0)