@aws-sdk/client-gamelift 3.299.0 → 3.301.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/commands/AcceptMatchCommand.d.ts +7 -0
- package/dist-types/commands/ClaimGameServerCommand.d.ts +5 -0
- package/dist-types/commands/CreateAliasCommand.d.ts +15 -0
- package/dist-types/commands/CreateBuildCommand.d.ts +18 -0
- package/dist-types/commands/CreateFleetCommand.d.ts +61 -0
- package/dist-types/commands/CreateFleetLocationsCommand.d.ts +8 -0
- package/dist-types/commands/CreateGameServerGroupCommand.d.ts +34 -0
- package/dist-types/commands/CreateGameSessionCommand.d.ts +17 -0
- package/dist-types/commands/CreateGameSessionQueueCommand.d.ts +36 -0
- package/dist-types/commands/CreateLocationCommand.d.ts +9 -0
- package/dist-types/commands/CreateMatchmakingConfigurationCommand.d.ts +29 -0
- package/dist-types/commands/CreateMatchmakingRuleSetCommand.d.ts +10 -0
- package/dist-types/commands/CreatePlayerSessionCommand.d.ts +5 -0
- package/dist-types/commands/CreatePlayerSessionsCommand.d.ts +9 -0
- package/dist-types/commands/CreateScriptCommand.d.ts +17 -0
- package/dist-types/commands/CreateVpcPeeringAuthorizationCommand.d.ts +4 -0
- package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +5 -0
- package/dist-types/commands/DeleteAliasCommand.d.ts +3 -0
- package/dist-types/commands/DeleteBuildCommand.d.ts +3 -0
- package/dist-types/commands/DeleteFleetCommand.d.ts +3 -0
- package/dist-types/commands/DeleteFleetLocationsCommand.d.ts +6 -0
- package/dist-types/commands/DeleteGameServerGroupCommand.d.ts +4 -0
- package/dist-types/commands/DeleteGameSessionQueueCommand.d.ts +3 -0
- package/dist-types/commands/DeleteLocationCommand.d.ts +3 -0
- package/dist-types/commands/DeleteMatchmakingConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/DeleteMatchmakingRuleSetCommand.d.ts +3 -0
- package/dist-types/commands/DeleteScalingPolicyCommand.d.ts +4 -0
- package/dist-types/commands/DeleteScriptCommand.d.ts +3 -0
- package/dist-types/commands/DeleteVpcPeeringAuthorizationCommand.d.ts +4 -0
- package/dist-types/commands/DeleteVpcPeeringConnectionCommand.d.ts +4 -0
- package/dist-types/commands/DeregisterComputeCommand.d.ts +4 -0
- package/dist-types/commands/DeregisterGameServerCommand.d.ts +4 -0
- package/dist-types/commands/DescribeAliasCommand.d.ts +3 -0
- package/dist-types/commands/DescribeBuildCommand.d.ts +3 -0
- package/dist-types/commands/DescribeComputeCommand.d.ts +4 -0
- package/dist-types/commands/DescribeEC2InstanceLimitsCommand.d.ts +4 -0
- package/dist-types/commands/DescribeFleetAttributesCommand.d.ts +7 -0
- package/dist-types/commands/DescribeFleetCapacityCommand.d.ts +7 -0
- package/dist-types/commands/DescribeFleetEventsCommand.d.ts +7 -0
- package/dist-types/commands/DescribeFleetLocationAttributesCommand.d.ts +8 -0
- package/dist-types/commands/DescribeFleetLocationCapacityCommand.d.ts +4 -0
- package/dist-types/commands/DescribeFleetLocationUtilizationCommand.d.ts +4 -0
- package/dist-types/commands/DescribeFleetPortSettingsCommand.d.ts +4 -0
- package/dist-types/commands/DescribeFleetUtilizationCommand.d.ts +7 -0
- package/dist-types/commands/DescribeGameServerCommand.d.ts +4 -0
- package/dist-types/commands/DescribeGameServerGroupCommand.d.ts +3 -0
- package/dist-types/commands/DescribeGameServerInstancesCommand.d.ts +8 -0
- package/dist-types/commands/DescribeGameSessionDetailsCommand.d.ts +9 -0
- package/dist-types/commands/DescribeGameSessionPlacementCommand.d.ts +3 -0
- package/dist-types/commands/DescribeGameSessionQueuesCommand.d.ts +7 -0
- package/dist-types/commands/DescribeGameSessionsCommand.d.ts +9 -0
- package/dist-types/commands/DescribeInstancesCommand.d.ts +7 -0
- package/dist-types/commands/DescribeMatchmakingCommand.d.ts +5 -0
- package/dist-types/commands/DescribeMatchmakingConfigurationsCommand.d.ts +8 -0
- package/dist-types/commands/DescribeMatchmakingRuleSetsCommand.d.ts +7 -0
- package/dist-types/commands/DescribePlayerSessionsCommand.d.ts +8 -0
- package/dist-types/commands/DescribeRuntimeConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/DescribeScalingPoliciesCommand.d.ts +7 -0
- package/dist-types/commands/DescribeScriptCommand.d.ts +3 -0
- package/dist-types/commands/DescribeVpcPeeringAuthorizationsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeVpcPeeringConnectionsCommand.d.ts +3 -0
- package/dist-types/commands/GetComputeAccessCommand.d.ts +4 -0
- package/dist-types/commands/GetComputeAuthTokenCommand.d.ts +4 -0
- package/dist-types/commands/GetGameSessionLogUrlCommand.d.ts +3 -0
- package/dist-types/commands/GetInstanceAccessCommand.d.ts +4 -0
- package/dist-types/commands/ListAliasesCommand.d.ts +6 -0
- package/dist-types/commands/ListBuildsCommand.d.ts +5 -0
- package/dist-types/commands/ListComputeCommand.d.ts +6 -0
- package/dist-types/commands/ListFleetsCommand.d.ts +6 -0
- package/dist-types/commands/ListGameServerGroupsCommand.d.ts +4 -0
- package/dist-types/commands/ListGameServersCommand.d.ts +6 -0
- package/dist-types/commands/ListLocationsCommand.d.ts +7 -0
- package/dist-types/commands/ListScriptsCommand.d.ts +4 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/PutScalingPolicyCommand.d.ts +14 -0
- package/dist-types/commands/RegisterComputeCommand.d.ts +8 -0
- package/dist-types/commands/RegisterGameServerCommand.d.ts +7 -0
- package/dist-types/commands/RequestUploadCredentialsCommand.d.ts +3 -0
- package/dist-types/commands/ResolveAliasCommand.d.ts +3 -0
- package/dist-types/commands/ResumeGameServerGroupCommand.d.ts +6 -0
- package/dist-types/commands/SearchGameSessionsCommand.d.ts +9 -0
- package/dist-types/commands/StartFleetActionsCommand.d.ts +7 -0
- package/dist-types/commands/StartGameSessionPlacementCommand.d.ts +26 -0
- package/dist-types/commands/StartMatchBackfillCommand.d.ts +26 -0
- package/dist-types/commands/StartMatchmakingCommand.d.ts +25 -0
- package/dist-types/commands/StopFleetActionsCommand.d.ts +7 -0
- package/dist-types/commands/StopGameSessionPlacementCommand.d.ts +3 -0
- package/dist-types/commands/StopMatchmakingCommand.d.ts +3 -0
- package/dist-types/commands/SuspendGameServerGroupCommand.d.ts +6 -0
- package/dist-types/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateAliasCommand.d.ts +10 -0
- package/dist-types/commands/UpdateBuildCommand.d.ts +5 -0
- package/dist-types/commands/UpdateFleetAttributesCommand.d.ts +16 -0
- package/dist-types/commands/UpdateFleetCapacityCommand.d.ts +7 -0
- package/dist-types/commands/UpdateFleetPortSettingsCommand.d.ts +19 -0
- package/dist-types/commands/UpdateGameServerCommand.d.ts +7 -0
- package/dist-types/commands/UpdateGameServerGroupCommand.d.ts +12 -0
- package/dist-types/commands/UpdateGameSessionCommand.d.ts +7 -0
- package/dist-types/commands/UpdateGameSessionQueueCommand.d.ts +30 -0
- package/dist-types/commands/UpdateMatchmakingConfigurationCommand.d.ts +23 -0
- package/dist-types/commands/UpdateRuntimeConfigurationCommand.d.ts +14 -0
- package/dist-types/commands/UpdateScriptCommand.d.ts +12 -0
- package/dist-types/commands/ValidateMatchmakingRuleSetCommand.d.ts +3 -0
- package/package.json +8 -8
|
@@ -28,6 +28,10 @@ export interface DescribeComputeCommandOutput extends DescribeComputeOutput, __M
|
|
|
28
28
|
* import { GameLiftClient, DescribeComputeCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
29
29
|
* // const { GameLiftClient, DescribeComputeCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
30
30
|
* const client = new GameLiftClient(config);
|
|
31
|
+
* const input = { // DescribeComputeInput
|
|
32
|
+
* FleetId: "STRING_VALUE", // required
|
|
33
|
+
* ComputeName: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
31
35
|
* const command = new DescribeComputeCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
|
@@ -80,6 +80,10 @@ export interface DescribeEC2InstanceLimitsCommandOutput extends DescribeEC2Insta
|
|
|
80
80
|
* import { GameLiftClient, DescribeEC2InstanceLimitsCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
81
81
|
* // const { GameLiftClient, DescribeEC2InstanceLimitsCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
82
82
|
* const client = new GameLiftClient(config);
|
|
83
|
+
* const input = { // DescribeEC2InstanceLimitsInput
|
|
84
|
+
* 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",
|
|
85
|
+
* Location: "STRING_VALUE",
|
|
86
|
+
* };
|
|
83
87
|
* const command = new DescribeEC2InstanceLimitsCommand(input);
|
|
84
88
|
* const response = await client.send(command);
|
|
85
89
|
* ```
|
|
@@ -53,6 +53,13 @@ export interface DescribeFleetAttributesCommandOutput extends DescribeFleetAttri
|
|
|
53
53
|
* import { GameLiftClient, DescribeFleetAttributesCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
54
54
|
* // const { GameLiftClient, DescribeFleetAttributesCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
55
55
|
* const client = new GameLiftClient(config);
|
|
56
|
+
* const input = { // DescribeFleetAttributesInput
|
|
57
|
+
* FleetIds: [ // FleetIdOrArnList
|
|
58
|
+
* "STRING_VALUE",
|
|
59
|
+
* ],
|
|
60
|
+
* Limit: Number("int"),
|
|
61
|
+
* NextToken: "STRING_VALUE",
|
|
62
|
+
* };
|
|
56
63
|
* const command = new DescribeFleetAttributesCommand(input);
|
|
57
64
|
* const response = await client.send(command);
|
|
58
65
|
* ```
|
|
@@ -61,6 +61,13 @@ export interface DescribeFleetCapacityCommandOutput extends DescribeFleetCapacit
|
|
|
61
61
|
* import { GameLiftClient, DescribeFleetCapacityCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
62
62
|
* // const { GameLiftClient, DescribeFleetCapacityCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
63
63
|
* const client = new GameLiftClient(config);
|
|
64
|
+
* const input = { // DescribeFleetCapacityInput
|
|
65
|
+
* FleetIds: [ // FleetIdOrArnList
|
|
66
|
+
* "STRING_VALUE",
|
|
67
|
+
* ],
|
|
68
|
+
* Limit: Number("int"),
|
|
69
|
+
* NextToken: "STRING_VALUE",
|
|
70
|
+
* };
|
|
64
71
|
* const command = new DescribeFleetCapacityCommand(input);
|
|
65
72
|
* const response = await client.send(command);
|
|
66
73
|
* ```
|
|
@@ -40,6 +40,13 @@ export interface DescribeFleetEventsCommandOutput extends DescribeFleetEventsOut
|
|
|
40
40
|
* import { GameLiftClient, DescribeFleetEventsCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
41
41
|
* // const { GameLiftClient, DescribeFleetEventsCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
42
42
|
* const client = new GameLiftClient(config);
|
|
43
|
+
* const input = { // DescribeFleetEventsInput
|
|
44
|
+
* FleetId: "STRING_VALUE", // required
|
|
45
|
+
* StartTime: new Date("TIMESTAMP"),
|
|
46
|
+
* EndTime: new Date("TIMESTAMP"),
|
|
47
|
+
* Limit: Number("int"),
|
|
48
|
+
* NextToken: "STRING_VALUE",
|
|
49
|
+
* };
|
|
43
50
|
* const command = new DescribeFleetEventsCommand(input);
|
|
44
51
|
* const response = await client.send(command);
|
|
45
52
|
* ```
|
|
@@ -51,6 +51,14 @@ export interface DescribeFleetLocationAttributesCommandOutput extends DescribeFl
|
|
|
51
51
|
* import { GameLiftClient, DescribeFleetLocationAttributesCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
52
52
|
* // const { GameLiftClient, DescribeFleetLocationAttributesCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
53
53
|
* const client = new GameLiftClient(config);
|
|
54
|
+
* const input = { // DescribeFleetLocationAttributesInput
|
|
55
|
+
* FleetId: "STRING_VALUE", // required
|
|
56
|
+
* Locations: [ // LocationList
|
|
57
|
+
* "STRING_VALUE",
|
|
58
|
+
* ],
|
|
59
|
+
* Limit: Number("int"),
|
|
60
|
+
* NextToken: "STRING_VALUE",
|
|
61
|
+
* };
|
|
54
62
|
* const command = new DescribeFleetLocationAttributesCommand(input);
|
|
55
63
|
* const response = await client.send(command);
|
|
56
64
|
* ```
|
|
@@ -43,6 +43,10 @@ export interface DescribeFleetLocationCapacityCommandOutput extends DescribeFlee
|
|
|
43
43
|
* import { GameLiftClient, DescribeFleetLocationCapacityCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
44
44
|
* // const { GameLiftClient, DescribeFleetLocationCapacityCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
45
45
|
* const client = new GameLiftClient(config);
|
|
46
|
+
* const input = { // DescribeFleetLocationCapacityInput
|
|
47
|
+
* FleetId: "STRING_VALUE", // required
|
|
48
|
+
* Location: "STRING_VALUE", // required
|
|
49
|
+
* };
|
|
46
50
|
* const command = new DescribeFleetLocationCapacityCommand(input);
|
|
47
51
|
* const response = await client.send(command);
|
|
48
52
|
* ```
|
|
@@ -43,6 +43,10 @@ export interface DescribeFleetLocationUtilizationCommandOutput extends DescribeF
|
|
|
43
43
|
* import { GameLiftClient, DescribeFleetLocationUtilizationCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
44
44
|
* // const { GameLiftClient, DescribeFleetLocationUtilizationCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
45
45
|
* const client = new GameLiftClient(config);
|
|
46
|
+
* const input = { // DescribeFleetLocationUtilizationInput
|
|
47
|
+
* FleetId: "STRING_VALUE", // required
|
|
48
|
+
* Location: "STRING_VALUE", // required
|
|
49
|
+
* };
|
|
46
50
|
* const command = new DescribeFleetLocationUtilizationCommand(input);
|
|
47
51
|
* const response = await client.send(command);
|
|
48
52
|
* ```
|
|
@@ -51,6 +51,10 @@ export interface DescribeFleetPortSettingsCommandOutput extends DescribeFleetPor
|
|
|
51
51
|
* import { GameLiftClient, DescribeFleetPortSettingsCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
52
52
|
* // const { GameLiftClient, DescribeFleetPortSettingsCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
53
53
|
* const client = new GameLiftClient(config);
|
|
54
|
+
* const input = { // DescribeFleetPortSettingsInput
|
|
55
|
+
* FleetId: "STRING_VALUE", // required
|
|
56
|
+
* Location: "STRING_VALUE",
|
|
57
|
+
* };
|
|
54
58
|
* const command = new DescribeFleetPortSettingsCommand(input);
|
|
55
59
|
* const response = await client.send(command);
|
|
56
60
|
* ```
|
|
@@ -61,6 +61,13 @@ export interface DescribeFleetUtilizationCommandOutput extends DescribeFleetUtil
|
|
|
61
61
|
* import { GameLiftClient, DescribeFleetUtilizationCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
62
62
|
* // const { GameLiftClient, DescribeFleetUtilizationCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
63
63
|
* const client = new GameLiftClient(config);
|
|
64
|
+
* const input = { // DescribeFleetUtilizationInput
|
|
65
|
+
* FleetIds: [ // FleetIdOrArnList
|
|
66
|
+
* "STRING_VALUE",
|
|
67
|
+
* ],
|
|
68
|
+
* Limit: Number("int"),
|
|
69
|
+
* NextToken: "STRING_VALUE",
|
|
70
|
+
* };
|
|
64
71
|
* const command = new DescribeFleetUtilizationCommand(input);
|
|
65
72
|
* const response = await client.send(command);
|
|
66
73
|
* ```
|
|
@@ -40,6 +40,10 @@ export interface DescribeGameServerCommandOutput extends DescribeGameServerOutpu
|
|
|
40
40
|
* import { GameLiftClient, DescribeGameServerCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
41
41
|
* // const { GameLiftClient, DescribeGameServerCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
42
42
|
* const client = new GameLiftClient(config);
|
|
43
|
+
* const input = { // DescribeGameServerInput
|
|
44
|
+
* GameServerGroupName: "STRING_VALUE", // required
|
|
45
|
+
* GameServerId: "STRING_VALUE", // required
|
|
46
|
+
* };
|
|
43
47
|
* const command = new DescribeGameServerCommand(input);
|
|
44
48
|
* const response = await client.send(command);
|
|
45
49
|
* ```
|
|
@@ -42,6 +42,9 @@ export interface DescribeGameServerGroupCommandOutput extends DescribeGameServer
|
|
|
42
42
|
* import { GameLiftClient, DescribeGameServerGroupCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
43
43
|
* // const { GameLiftClient, DescribeGameServerGroupCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
44
44
|
* const client = new GameLiftClient(config);
|
|
45
|
+
* const input = { // DescribeGameServerGroupInput
|
|
46
|
+
* GameServerGroupName: "STRING_VALUE", // required
|
|
47
|
+
* };
|
|
45
48
|
* const command = new DescribeGameServerGroupCommand(input);
|
|
46
49
|
* const response = await client.send(command);
|
|
47
50
|
* ```
|
|
@@ -48,6 +48,14 @@ export interface DescribeGameServerInstancesCommandOutput extends DescribeGameSe
|
|
|
48
48
|
* import { GameLiftClient, DescribeGameServerInstancesCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
49
49
|
* // const { GameLiftClient, DescribeGameServerInstancesCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
50
50
|
* const client = new GameLiftClient(config);
|
|
51
|
+
* const input = { // DescribeGameServerInstancesInput
|
|
52
|
+
* GameServerGroupName: "STRING_VALUE", // required
|
|
53
|
+
* InstanceIds: [ // GameServerInstanceIds
|
|
54
|
+
* "STRING_VALUE",
|
|
55
|
+
* ],
|
|
56
|
+
* Limit: Number("int"),
|
|
57
|
+
* NextToken: "STRING_VALUE",
|
|
58
|
+
* };
|
|
51
59
|
* const command = new DescribeGameServerInstancesCommand(input);
|
|
52
60
|
* const response = await client.send(command);
|
|
53
61
|
* ```
|
|
@@ -60,6 +60,15 @@ export interface DescribeGameSessionDetailsCommandOutput extends DescribeGameSes
|
|
|
60
60
|
* import { GameLiftClient, DescribeGameSessionDetailsCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
61
61
|
* // const { GameLiftClient, DescribeGameSessionDetailsCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
62
62
|
* const client = new GameLiftClient(config);
|
|
63
|
+
* const input = { // DescribeGameSessionDetailsInput
|
|
64
|
+
* FleetId: "STRING_VALUE",
|
|
65
|
+
* GameSessionId: "STRING_VALUE",
|
|
66
|
+
* AliasId: "STRING_VALUE",
|
|
67
|
+
* Location: "STRING_VALUE",
|
|
68
|
+
* StatusFilter: "STRING_VALUE",
|
|
69
|
+
* Limit: Number("int"),
|
|
70
|
+
* NextToken: "STRING_VALUE",
|
|
71
|
+
* };
|
|
63
72
|
* const command = new DescribeGameSessionDetailsCommand(input);
|
|
64
73
|
* const response = await client.send(command);
|
|
65
74
|
* ```
|
|
@@ -33,6 +33,9 @@ export interface DescribeGameSessionPlacementCommandOutput extends DescribeGameS
|
|
|
33
33
|
* import { GameLiftClient, DescribeGameSessionPlacementCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
34
34
|
* // const { GameLiftClient, DescribeGameSessionPlacementCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
35
35
|
* const client = new GameLiftClient(config);
|
|
36
|
+
* const input = { // DescribeGameSessionPlacementInput
|
|
37
|
+
* PlacementId: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
36
39
|
* const command = new DescribeGameSessionPlacementCommand(input);
|
|
37
40
|
* const response = await client.send(command);
|
|
38
41
|
* ```
|
|
@@ -36,6 +36,13 @@ export interface DescribeGameSessionQueuesCommandOutput extends DescribeGameSess
|
|
|
36
36
|
* import { GameLiftClient, DescribeGameSessionQueuesCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
37
37
|
* // const { GameLiftClient, DescribeGameSessionQueuesCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
38
38
|
* const client = new GameLiftClient(config);
|
|
39
|
+
* const input = { // DescribeGameSessionQueuesInput
|
|
40
|
+
* Names: [ // GameSessionQueueNameOrArnList
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* Limit: Number("int"),
|
|
44
|
+
* NextToken: "STRING_VALUE",
|
|
45
|
+
* };
|
|
39
46
|
* const command = new DescribeGameSessionQueuesCommand(input);
|
|
40
47
|
* const response = await client.send(command);
|
|
41
48
|
* ```
|
|
@@ -67,6 +67,15 @@ export interface DescribeGameSessionsCommandOutput extends DescribeGameSessionsO
|
|
|
67
67
|
* import { GameLiftClient, DescribeGameSessionsCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
68
68
|
* // const { GameLiftClient, DescribeGameSessionsCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
69
69
|
* const client = new GameLiftClient(config);
|
|
70
|
+
* const input = { // DescribeGameSessionsInput
|
|
71
|
+
* FleetId: "STRING_VALUE",
|
|
72
|
+
* GameSessionId: "STRING_VALUE",
|
|
73
|
+
* AliasId: "STRING_VALUE",
|
|
74
|
+
* Location: "STRING_VALUE",
|
|
75
|
+
* StatusFilter: "STRING_VALUE",
|
|
76
|
+
* Limit: Number("int"),
|
|
77
|
+
* NextToken: "STRING_VALUE",
|
|
78
|
+
* };
|
|
70
79
|
* const command = new DescribeGameSessionsCommand(input);
|
|
71
80
|
* const response = await client.send(command);
|
|
72
81
|
* ```
|
|
@@ -62,6 +62,13 @@ export interface DescribeInstancesCommandOutput extends DescribeInstancesOutput,
|
|
|
62
62
|
* import { GameLiftClient, DescribeInstancesCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
63
63
|
* // const { GameLiftClient, DescribeInstancesCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
64
64
|
* const client = new GameLiftClient(config);
|
|
65
|
+
* const input = { // DescribeInstancesInput
|
|
66
|
+
* FleetId: "STRING_VALUE", // required
|
|
67
|
+
* InstanceId: "STRING_VALUE",
|
|
68
|
+
* Limit: Number("int"),
|
|
69
|
+
* NextToken: "STRING_VALUE",
|
|
70
|
+
* Location: "STRING_VALUE",
|
|
71
|
+
* };
|
|
65
72
|
* const command = new DescribeInstancesCommand(input);
|
|
66
73
|
* const response = await client.send(command);
|
|
67
74
|
* ```
|
|
@@ -47,6 +47,11 @@ export interface DescribeMatchmakingCommandOutput extends DescribeMatchmakingOut
|
|
|
47
47
|
* import { GameLiftClient, DescribeMatchmakingCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
48
48
|
* // const { GameLiftClient, DescribeMatchmakingCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
49
49
|
* const client = new GameLiftClient(config);
|
|
50
|
+
* const input = { // DescribeMatchmakingInput
|
|
51
|
+
* TicketIds: [ // MatchmakingIdList // required
|
|
52
|
+
* "STRING_VALUE",
|
|
53
|
+
* ],
|
|
54
|
+
* };
|
|
50
55
|
* const command = new DescribeMatchmakingCommand(input);
|
|
51
56
|
* const response = await client.send(command);
|
|
52
57
|
* ```
|
|
@@ -38,6 +38,14 @@ export interface DescribeMatchmakingConfigurationsCommandOutput extends Describe
|
|
|
38
38
|
* import { GameLiftClient, DescribeMatchmakingConfigurationsCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
39
39
|
* // const { GameLiftClient, DescribeMatchmakingConfigurationsCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
40
40
|
* const client = new GameLiftClient(config);
|
|
41
|
+
* const input = { // DescribeMatchmakingConfigurationsInput
|
|
42
|
+
* Names: [ // MatchmakingConfigurationNameList
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* RuleSetName: "STRING_VALUE",
|
|
46
|
+
* Limit: Number("int"),
|
|
47
|
+
* NextToken: "STRING_VALUE",
|
|
48
|
+
* };
|
|
41
49
|
* const command = new DescribeMatchmakingConfigurationsCommand(input);
|
|
42
50
|
* const response = await client.send(command);
|
|
43
51
|
* ```
|
|
@@ -40,6 +40,13 @@ export interface DescribeMatchmakingRuleSetsCommandOutput extends DescribeMatchm
|
|
|
40
40
|
* import { GameLiftClient, DescribeMatchmakingRuleSetsCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
41
41
|
* // const { GameLiftClient, DescribeMatchmakingRuleSetsCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
42
42
|
* const client = new GameLiftClient(config);
|
|
43
|
+
* const input = { // DescribeMatchmakingRuleSetsInput
|
|
44
|
+
* Names: [ // MatchmakingRuleSetNameList
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
47
|
+
* Limit: Number("int"),
|
|
48
|
+
* NextToken: "STRING_VALUE",
|
|
49
|
+
* };
|
|
43
50
|
* const command = new DescribeMatchmakingRuleSetsCommand(input);
|
|
44
51
|
* const response = await client.send(command);
|
|
45
52
|
* ```
|
|
@@ -52,6 +52,14 @@ export interface DescribePlayerSessionsCommandOutput extends DescribePlayerSessi
|
|
|
52
52
|
* import { GameLiftClient, DescribePlayerSessionsCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
53
53
|
* // const { GameLiftClient, DescribePlayerSessionsCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
54
54
|
* const client = new GameLiftClient(config);
|
|
55
|
+
* const input = { // DescribePlayerSessionsInput
|
|
56
|
+
* GameSessionId: "STRING_VALUE",
|
|
57
|
+
* PlayerId: "STRING_VALUE",
|
|
58
|
+
* PlayerSessionId: "STRING_VALUE",
|
|
59
|
+
* PlayerSessionStatusFilter: "STRING_VALUE",
|
|
60
|
+
* Limit: Number("int"),
|
|
61
|
+
* NextToken: "STRING_VALUE",
|
|
62
|
+
* };
|
|
55
63
|
* const command = new DescribePlayerSessionsCommand(input);
|
|
56
64
|
* const response = await client.send(command);
|
|
57
65
|
* ```
|
|
@@ -43,6 +43,9 @@ export interface DescribeRuntimeConfigurationCommandOutput extends DescribeRunti
|
|
|
43
43
|
* import { GameLiftClient, DescribeRuntimeConfigurationCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
44
44
|
* // const { GameLiftClient, DescribeRuntimeConfigurationCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
45
45
|
* const client = new GameLiftClient(config);
|
|
46
|
+
* const input = { // DescribeRuntimeConfigurationInput
|
|
47
|
+
* FleetId: "STRING_VALUE", // required
|
|
48
|
+
* };
|
|
46
49
|
* const command = new DescribeRuntimeConfigurationCommand(input);
|
|
47
50
|
* const response = await client.send(command);
|
|
48
51
|
* ```
|
|
@@ -32,6 +32,13 @@ export interface DescribeScalingPoliciesCommandOutput extends DescribeScalingPol
|
|
|
32
32
|
* import { GameLiftClient, DescribeScalingPoliciesCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
33
33
|
* // const { GameLiftClient, DescribeScalingPoliciesCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
34
34
|
* const client = new GameLiftClient(config);
|
|
35
|
+
* const input = { // DescribeScalingPoliciesInput
|
|
36
|
+
* FleetId: "STRING_VALUE", // required
|
|
37
|
+
* StatusFilter: "ACTIVE" || "UPDATE_REQUESTED" || "UPDATING" || "DELETE_REQUESTED" || "DELETING" || "DELETED" || "ERROR",
|
|
38
|
+
* Limit: Number("int"),
|
|
39
|
+
* NextToken: "STRING_VALUE",
|
|
40
|
+
* Location: "STRING_VALUE",
|
|
41
|
+
* };
|
|
35
42
|
* const command = new DescribeScalingPoliciesCommand(input);
|
|
36
43
|
* const response = await client.send(command);
|
|
37
44
|
* ```
|
|
@@ -40,6 +40,9 @@ export interface DescribeScriptCommandOutput extends DescribeScriptOutput, __Met
|
|
|
40
40
|
* import { GameLiftClient, DescribeScriptCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
41
41
|
* // const { GameLiftClient, DescribeScriptCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
42
42
|
* const client = new GameLiftClient(config);
|
|
43
|
+
* const input = { // DescribeScriptInput
|
|
44
|
+
* ScriptId: "STRING_VALUE", // required
|
|
45
|
+
* };
|
|
43
46
|
* const command = new DescribeScriptCommand(input);
|
|
44
47
|
* const response = await client.send(command);
|
|
45
48
|
* ```
|
|
@@ -34,6 +34,7 @@ export interface DescribeVpcPeeringAuthorizationsCommandOutput extends DescribeV
|
|
|
34
34
|
* import { GameLiftClient, DescribeVpcPeeringAuthorizationsCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
35
35
|
* // const { GameLiftClient, DescribeVpcPeeringAuthorizationsCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
36
36
|
* const client = new GameLiftClient(config);
|
|
37
|
+
* const input = {};
|
|
37
38
|
* const command = new DescribeVpcPeeringAuthorizationsCommand(input);
|
|
38
39
|
* const response = await client.send(command);
|
|
39
40
|
* ```
|
|
@@ -38,6 +38,9 @@ export interface DescribeVpcPeeringConnectionsCommandOutput extends DescribeVpcP
|
|
|
38
38
|
* import { GameLiftClient, DescribeVpcPeeringConnectionsCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
39
39
|
* // const { GameLiftClient, DescribeVpcPeeringConnectionsCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
40
40
|
* const client = new GameLiftClient(config);
|
|
41
|
+
* const input = { // DescribeVpcPeeringConnectionsInput
|
|
42
|
+
* FleetId: "STRING_VALUE",
|
|
43
|
+
* };
|
|
41
44
|
* const command = new DescribeVpcPeeringConnectionsCommand(input);
|
|
42
45
|
* const response = await client.send(command);
|
|
43
46
|
* ```
|
|
@@ -48,6 +48,10 @@ export interface GetComputeAccessCommandOutput extends GetComputeAccessOutput, _
|
|
|
48
48
|
* import { GameLiftClient, GetComputeAccessCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
49
49
|
* // const { GameLiftClient, GetComputeAccessCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
50
50
|
* const client = new GameLiftClient(config);
|
|
51
|
+
* const input = { // GetComputeAccessInput
|
|
52
|
+
* FleetId: "STRING_VALUE", // required
|
|
53
|
+
* ComputeName: "STRING_VALUE", // required
|
|
54
|
+
* };
|
|
51
55
|
* const command = new GetComputeAccessCommand(input);
|
|
52
56
|
* const response = await client.send(command);
|
|
53
57
|
* ```
|
|
@@ -29,6 +29,10 @@ export interface GetComputeAuthTokenCommandOutput extends GetComputeAuthTokenOut
|
|
|
29
29
|
* import { GameLiftClient, GetComputeAuthTokenCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
30
30
|
* // const { GameLiftClient, GetComputeAuthTokenCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
31
31
|
* const client = new GameLiftClient(config);
|
|
32
|
+
* const input = { // GetComputeAuthTokenInput
|
|
33
|
+
* FleetId: "STRING_VALUE", // required
|
|
34
|
+
* ComputeName: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
32
36
|
* const command = new GetComputeAuthTokenCommand(input);
|
|
33
37
|
* const response = await client.send(command);
|
|
34
38
|
* ```
|
|
@@ -36,6 +36,9 @@ export interface GetGameSessionLogUrlCommandOutput extends GetGameSessionLogUrlO
|
|
|
36
36
|
* import { GameLiftClient, GetGameSessionLogUrlCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
37
37
|
* // const { GameLiftClient, GetGameSessionLogUrlCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
38
38
|
* const client = new GameLiftClient(config);
|
|
39
|
+
* const input = { // GetGameSessionLogUrlInput
|
|
40
|
+
* GameSessionId: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
39
42
|
* const command = new GetGameSessionLogUrlCommand(input);
|
|
40
43
|
* const response = await client.send(command);
|
|
41
44
|
* ```
|
|
@@ -54,6 +54,10 @@ export interface GetInstanceAccessCommandOutput extends GetInstanceAccessOutput,
|
|
|
54
54
|
* import { GameLiftClient, GetInstanceAccessCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
55
55
|
* // const { GameLiftClient, GetInstanceAccessCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
56
56
|
* const client = new GameLiftClient(config);
|
|
57
|
+
* const input = { // GetInstanceAccessInput
|
|
58
|
+
* FleetId: "STRING_VALUE", // required
|
|
59
|
+
* InstanceId: "STRING_VALUE", // required
|
|
60
|
+
* };
|
|
57
61
|
* const command = new GetInstanceAccessCommand(input);
|
|
58
62
|
* const response = await client.send(command);
|
|
59
63
|
* ```
|
|
@@ -37,6 +37,12 @@ export interface ListAliasesCommandOutput extends ListAliasesOutput, __MetadataB
|
|
|
37
37
|
* import { GameLiftClient, ListAliasesCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
38
38
|
* // const { GameLiftClient, ListAliasesCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
39
39
|
* const client = new GameLiftClient(config);
|
|
40
|
+
* const input = { // ListAliasesInput
|
|
41
|
+
* RoutingStrategyType: "SIMPLE" || "TERMINAL",
|
|
42
|
+
* Name: "STRING_VALUE",
|
|
43
|
+
* Limit: Number("int"),
|
|
44
|
+
* NextToken: "STRING_VALUE",
|
|
45
|
+
* };
|
|
40
46
|
* const command = new ListAliasesCommand(input);
|
|
41
47
|
* const response = await client.send(command);
|
|
42
48
|
* ```
|
|
@@ -42,6 +42,11 @@ export interface ListBuildsCommandOutput extends ListBuildsOutput, __MetadataBea
|
|
|
42
42
|
* import { GameLiftClient, ListBuildsCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
43
43
|
* // const { GameLiftClient, ListBuildsCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
44
44
|
* const client = new GameLiftClient(config);
|
|
45
|
+
* const input = { // ListBuildsInput
|
|
46
|
+
* Status: "INITIALIZED" || "READY" || "FAILED",
|
|
47
|
+
* Limit: Number("int"),
|
|
48
|
+
* NextToken: "STRING_VALUE",
|
|
49
|
+
* };
|
|
45
50
|
* const command = new ListBuildsCommand(input);
|
|
46
51
|
* const response = await client.send(command);
|
|
47
52
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface ListComputeCommandOutput extends ListComputeOutput, __MetadataB
|
|
|
26
26
|
* import { GameLiftClient, ListComputeCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
27
27
|
* // const { GameLiftClient, ListComputeCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
28
28
|
* const client = new GameLiftClient(config);
|
|
29
|
+
* const input = { // ListComputeInput
|
|
30
|
+
* FleetId: "STRING_VALUE", // required
|
|
31
|
+
* Location: "STRING_VALUE",
|
|
32
|
+
* Limit: Number("int"),
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* };
|
|
29
35
|
* const command = new ListComputeCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -58,6 +58,12 @@ export interface ListFleetsCommandOutput extends ListFleetsOutput, __MetadataBea
|
|
|
58
58
|
* import { GameLiftClient, ListFleetsCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
59
59
|
* // const { GameLiftClient, ListFleetsCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
60
60
|
* const client = new GameLiftClient(config);
|
|
61
|
+
* const input = { // ListFleetsInput
|
|
62
|
+
* BuildId: "STRING_VALUE",
|
|
63
|
+
* ScriptId: "STRING_VALUE",
|
|
64
|
+
* Limit: Number("int"),
|
|
65
|
+
* NextToken: "STRING_VALUE",
|
|
66
|
+
* };
|
|
61
67
|
* const command = new ListFleetsCommand(input);
|
|
62
68
|
* const response = await client.send(command);
|
|
63
69
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ListGameServerGroupsCommandOutput extends ListGameServerGroupsO
|
|
|
26
26
|
* import { GameLiftClient, ListGameServerGroupsCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
27
27
|
* // const { GameLiftClient, ListGameServerGroupsCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
28
28
|
* const client = new GameLiftClient(config);
|
|
29
|
+
* const input = { // ListGameServerGroupsInput
|
|
30
|
+
* Limit: Number("int"),
|
|
31
|
+
* NextToken: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListGameServerGroupsCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -39,6 +39,12 @@ export interface ListGameServersCommandOutput extends ListGameServersOutput, __M
|
|
|
39
39
|
* import { GameLiftClient, ListGameServersCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
40
40
|
* // const { GameLiftClient, ListGameServersCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
41
41
|
* const client = new GameLiftClient(config);
|
|
42
|
+
* const input = { // ListGameServersInput
|
|
43
|
+
* GameServerGroupName: "STRING_VALUE", // required
|
|
44
|
+
* SortOrder: "ASCENDING" || "DESCENDING",
|
|
45
|
+
* Limit: Number("int"),
|
|
46
|
+
* NextToken: "STRING_VALUE",
|
|
47
|
+
* };
|
|
42
48
|
* const command = new ListGameServersCommand(input);
|
|
43
49
|
* const response = await client.send(command);
|
|
44
50
|
* ```
|
|
@@ -26,6 +26,13 @@ export interface ListLocationsCommandOutput extends ListLocationsOutput, __Metad
|
|
|
26
26
|
* import { GameLiftClient, ListLocationsCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
27
27
|
* // const { GameLiftClient, ListLocationsCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
28
28
|
* const client = new GameLiftClient(config);
|
|
29
|
+
* const input = { // ListLocationsInput
|
|
30
|
+
* Filters: [ // LocationFilterList
|
|
31
|
+
* "AWS" || "CUSTOM",
|
|
32
|
+
* ],
|
|
33
|
+
* Limit: Number("int"),
|
|
34
|
+
* NextToken: "STRING_VALUE",
|
|
35
|
+
* };
|
|
29
36
|
* const command = new ListLocationsCommand(input);
|
|
30
37
|
* const response = await client.send(command);
|
|
31
38
|
* ```
|
|
@@ -39,6 +39,10 @@ export interface ListScriptsCommandOutput extends ListScriptsOutput, __MetadataB
|
|
|
39
39
|
* import { GameLiftClient, ListScriptsCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
40
40
|
* // const { GameLiftClient, ListScriptsCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
41
41
|
* const client = new GameLiftClient(config);
|
|
42
|
+
* const input = { // ListScriptsInput
|
|
43
|
+
* Limit: Number("int"),
|
|
44
|
+
* NextToken: "STRING_VALUE",
|
|
45
|
+
* };
|
|
42
46
|
* const command = new ListScriptsCommand(input);
|
|
43
47
|
* const response = await client.send(command);
|
|
44
48
|
* ```
|
|
@@ -69,6 +69,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
69
69
|
* import { GameLiftClient, ListTagsForResourceCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
70
70
|
* // const { GameLiftClient, ListTagsForResourceCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
71
71
|
* const client = new GameLiftClient(config);
|
|
72
|
+
* const input = { // ListTagsForResourceRequest
|
|
73
|
+
* ResourceARN: "STRING_VALUE", // required
|
|
74
|
+
* };
|
|
72
75
|
* const command = new ListTagsForResourceCommand(input);
|
|
73
76
|
* const response = await client.send(command);
|
|
74
77
|
* ```
|
|
@@ -83,6 +83,20 @@ export interface PutScalingPolicyCommandOutput extends PutScalingPolicyOutput, _
|
|
|
83
83
|
* import { GameLiftClient, PutScalingPolicyCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
84
84
|
* // const { GameLiftClient, PutScalingPolicyCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
85
85
|
* const client = new GameLiftClient(config);
|
|
86
|
+
* const input = { // PutScalingPolicyInput
|
|
87
|
+
* Name: "STRING_VALUE", // required
|
|
88
|
+
* FleetId: "STRING_VALUE", // required
|
|
89
|
+
* ScalingAdjustment: Number("int"),
|
|
90
|
+
* ScalingAdjustmentType: "ChangeInCapacity" || "ExactCapacity" || "PercentChangeInCapacity",
|
|
91
|
+
* Threshold: Number("double"),
|
|
92
|
+
* ComparisonOperator: "GreaterThanOrEqualToThreshold" || "GreaterThanThreshold" || "LessThanThreshold" || "LessThanOrEqualToThreshold",
|
|
93
|
+
* EvaluationPeriods: Number("int"),
|
|
94
|
+
* MetricName: "ActivatingGameSessions" || "ActiveGameSessions" || "ActiveInstances" || "AvailableGameSessions" || "AvailablePlayerSessions" || "CurrentPlayerSessions" || "IdleInstances" || "PercentAvailableGameSessions" || "PercentIdleInstances" || "QueueDepth" || "WaitTime" || "ConcurrentActivatableGameSessions", // required
|
|
95
|
+
* PolicyType: "RuleBased" || "TargetBased",
|
|
96
|
+
* TargetConfiguration: { // TargetConfiguration
|
|
97
|
+
* TargetValue: Number("double"), // required
|
|
98
|
+
* },
|
|
99
|
+
* };
|
|
86
100
|
* const command = new PutScalingPolicyCommand(input);
|
|
87
101
|
* const response = await client.send(command);
|
|
88
102
|
* ```
|
|
@@ -46,6 +46,14 @@ export interface RegisterComputeCommandOutput extends RegisterComputeOutput, __M
|
|
|
46
46
|
* import { GameLiftClient, RegisterComputeCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
47
47
|
* // const { GameLiftClient, RegisterComputeCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
48
48
|
* const client = new GameLiftClient(config);
|
|
49
|
+
* const input = { // RegisterComputeInput
|
|
50
|
+
* FleetId: "STRING_VALUE", // required
|
|
51
|
+
* ComputeName: "STRING_VALUE", // required
|
|
52
|
+
* CertificatePath: "STRING_VALUE",
|
|
53
|
+
* DnsName: "STRING_VALUE",
|
|
54
|
+
* IpAddress: "STRING_VALUE",
|
|
55
|
+
* Location: "STRING_VALUE",
|
|
56
|
+
* };
|
|
49
57
|
* const command = new RegisterComputeCommand(input);
|
|
50
58
|
* const response = await client.send(command);
|
|
51
59
|
* ```
|
|
@@ -48,6 +48,13 @@ export interface RegisterGameServerCommandOutput extends RegisterGameServerOutpu
|
|
|
48
48
|
* import { GameLiftClient, RegisterGameServerCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
49
49
|
* // const { GameLiftClient, RegisterGameServerCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
50
50
|
* const client = new GameLiftClient(config);
|
|
51
|
+
* const input = { // RegisterGameServerInput
|
|
52
|
+
* GameServerGroupName: "STRING_VALUE", // required
|
|
53
|
+
* GameServerId: "STRING_VALUE", // required
|
|
54
|
+
* InstanceId: "STRING_VALUE", // required
|
|
55
|
+
* ConnectionInfo: "STRING_VALUE",
|
|
56
|
+
* GameServerData: "STRING_VALUE",
|
|
57
|
+
* };
|
|
51
58
|
* const command = new RegisterGameServerCommand(input);
|
|
52
59
|
* const response = await client.send(command);
|
|
53
60
|
* ```
|
|
@@ -40,6 +40,9 @@ export interface RequestUploadCredentialsCommandOutput extends RequestUploadCred
|
|
|
40
40
|
* import { GameLiftClient, RequestUploadCredentialsCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
41
41
|
* // const { GameLiftClient, RequestUploadCredentialsCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
42
42
|
* const client = new GameLiftClient(config);
|
|
43
|
+
* const input = { // RequestUploadCredentialsInput
|
|
44
|
+
* BuildId: "STRING_VALUE", // required
|
|
45
|
+
* };
|
|
43
46
|
* const command = new RequestUploadCredentialsCommand(input);
|
|
44
47
|
* const response = await client.send(command);
|
|
45
48
|
* ```
|