@aws-sdk/client-gamelift 3.714.0 → 3.721.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/README.md +8 -0
- package/dist-cjs/index.js +56 -1
- package/dist-es/GameLift.js +2 -0
- package/dist-es/commands/TerminateGameSessionCommand.js +23 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +2 -0
- package/dist-es/models/models_1.js +8 -0
- package/dist-es/protocols/Aws_json1_1.js +24 -0
- package/dist-types/GameLift.d.ts +7 -0
- package/dist-types/GameLiftClient.d.ts +3 -2
- package/dist-types/commands/CreateBuildCommand.d.ts +21 -27
- package/dist-types/commands/CreateContainerGroupDefinitionCommand.d.ts +2 -2
- package/dist-types/commands/CreateFleetLocationsCommand.d.ts +3 -3
- package/dist-types/commands/CreateGameSessionCommand.d.ts +2 -2
- package/dist-types/commands/CreateScriptCommand.d.ts +12 -9
- package/dist-types/commands/DeleteContainerGroupDefinitionCommand.d.ts +17 -2
- package/dist-types/commands/DescribeComputeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFleetCapacityCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFleetPortSettingsCommand.d.ts +2 -3
- package/dist-types/commands/DescribeGameSessionDetailsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeGameSessionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRuntimeConfigurationCommand.d.ts +5 -3
- package/dist-types/commands/GetInstanceAccessCommand.d.ts +1 -1
- package/dist-types/commands/ListContainerGroupDefinitionsCommand.d.ts +1 -11
- package/dist-types/commands/ListFleetDeploymentsCommand.d.ts +3 -7
- package/dist-types/commands/SearchGameSessionsCommand.d.ts +3 -3
- package/dist-types/commands/StartGameSessionPlacementCommand.d.ts +2 -2
- package/dist-types/commands/TerminateGameSessionCommand.d.ts +160 -0
- package/dist-types/commands/UpdateContainerFleetCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContainerGroupDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFleetPortSettingsCommand.d.ts +0 -2
- package/dist-types/commands/UpdateGameSessionCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +147 -115
- package/dist-types/models/models_1.d.ts +88 -6
- package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
- package/dist-types/ts3.4/GameLift.d.ts +17 -0
- package/dist-types/ts3.4/GameLiftClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/TerminateGameSessionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/dist-types/ts3.4/models/models_1.d.ts +16 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
- package/package.json +12 -12
|
@@ -30,7 +30,7 @@ declare const DescribeInstancesCommand_base: {
|
|
|
30
30
|
* <p>Retrieves information about the EC2 instances in an Amazon GameLift managed fleet, including
|
|
31
31
|
* instance ID, connection data, and status. You can use this operation with a
|
|
32
32
|
* multi-location fleet to get location-specific instance information. As an alternative,
|
|
33
|
-
* use the operations <a>
|
|
33
|
+
* use the operations <a href="https://docs.aws.amazon.com/gamelift/latest/apireference/API_ListCompute">https://docs.aws.amazon.com/gamelift/latest/apireference/API_ListCompute</a> and <a href="https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeCompute">https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeCompute</a>
|
|
34
34
|
* to retrieve information for compute resources, including EC2 and Anywhere fleets.</p>
|
|
35
35
|
* <p>You can call this operation in the following ways:</p>
|
|
36
36
|
* <ul>
|
|
@@ -28,9 +28,11 @@ declare const DescribeRuntimeConfigurationCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Retrieves a fleet's runtime configuration settings. The runtime configuration
|
|
31
|
-
* determines which server processes run, and how
|
|
32
|
-
*
|
|
33
|
-
*
|
|
31
|
+
* determines which server processes run, and how, on computes in the fleet. For managed
|
|
32
|
+
* EC2 fleets, the runtime configuration describes server processes that run on each fleet
|
|
33
|
+
* instance.
|
|
34
|
+
* can update a fleet's runtime configuration at any time using
|
|
35
|
+
* <a href="https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateRuntimeConfiguration.html">UpdateRuntimeConfiguration</a>.</p>
|
|
34
36
|
* <p>To get the current runtime configuration for a fleet, provide the fleet ID. </p>
|
|
35
37
|
* <p>If successful, a <code>RuntimeConfiguration</code> object is returned for the
|
|
36
38
|
* requested fleet. If the requested fleet has been deleted, the result set is
|
|
@@ -30,7 +30,7 @@ declare const GetInstanceAccessCommand_base: {
|
|
|
30
30
|
* <p>Requests authorization to remotely connect to an instance in an Amazon GameLift managed fleet.
|
|
31
31
|
* Use this operation to connect to instances with game servers that use Amazon GameLift server SDK
|
|
32
32
|
* 4.x or earlier. To connect to instances with game servers that use server SDK 5.x or
|
|
33
|
-
* later, call <a>
|
|
33
|
+
* later, call <a href="https://docs.aws.amazon.com/gamelift/latest/apireference/API_GetComputeAccess">https://docs.aws.amazon.com/gamelift/latest/apireference/API_GetComputeAccess</a>.</p>
|
|
34
34
|
* <p>To request access to an instance, specify IDs for the instance and the fleet it
|
|
35
35
|
* belongs to. You can retrieve instance IDs for a fleet by calling <a href="https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeInstances.html">DescribeInstances</a> with the fleet ID. </p>
|
|
36
36
|
* <p>If successful, this operation returns an IP address and credentials. The returned
|
|
@@ -30,7 +30,7 @@ declare const ListContainerGroupDefinitionsCommand_base: {
|
|
|
30
30
|
* <p>Retrieves container group definitions for the Amazon Web Services account and Amazon Web Services Region. Use the pagination parameters to retrieve results in a set of sequential
|
|
31
31
|
* pages.</p>
|
|
32
32
|
* <p>This operation returns only the latest version of each definition. To retrieve all
|
|
33
|
-
* versions of a container group definition, use <a>ListContainerGroupDefinitionVersions</a>.</p>
|
|
33
|
+
* versions of a container group definition, use <a href="https://docs.aws.amazon.com/gamelift/latest/apireference/API_ListContainerGroupDefinitionVersions.html">ListContainerGroupDefinitionVersions</a>.</p>
|
|
34
34
|
* <p>
|
|
35
35
|
* <b>Request options:</b>
|
|
36
36
|
* </p>
|
|
@@ -51,16 +51,6 @@ declare const ListContainerGroupDefinitionsCommand_base: {
|
|
|
51
51
|
* <note>
|
|
52
52
|
* <p>This operation returns the list of container group definitions in no particular order. </p>
|
|
53
53
|
* </note>
|
|
54
|
-
* <p>
|
|
55
|
-
* <b>Learn more</b>
|
|
56
|
-
* </p>
|
|
57
|
-
* <ul>
|
|
58
|
-
* <li>
|
|
59
|
-
* <p>
|
|
60
|
-
* <a href="https://docs.aws.amazon.com/gamelift/latest/developerguide/containers-create-groups.html">Manage a container group definition</a>
|
|
61
|
-
* </p>
|
|
62
|
-
* </li>
|
|
63
|
-
* </ul>
|
|
64
54
|
* @example
|
|
65
55
|
* Use a bare-bones client and the command you need to make an API call.
|
|
66
56
|
* ```javascript
|
|
@@ -27,7 +27,8 @@ declare const ListFleetDeploymentsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Retrieves a collection of container fleet deployments in an Amazon Web Services Region.
|
|
30
|
+
* <p>Retrieves a collection of container fleet deployments in an Amazon Web Services Region. Use the
|
|
31
|
+
* pagination parameters to retrieve results as a set of sequential pages. </p>
|
|
31
32
|
* <p>
|
|
32
33
|
* <b>Request options</b>
|
|
33
34
|
* </p>
|
|
@@ -38,12 +39,7 @@ declare const ListFleetDeploymentsCommand_base: {
|
|
|
38
39
|
* <li>
|
|
39
40
|
* <p>Get a list of all deployments for a fleet. Specify the container fleet ID or ARN value.</p>
|
|
40
41
|
* </li>
|
|
41
|
-
* <li>
|
|
42
|
-
* <p>To get a list of all Realtime Servers fleets with a specific configuration script,
|
|
43
|
-
* provide the script ID. </p>
|
|
44
|
-
* </li>
|
|
45
42
|
* </ul>
|
|
46
|
-
* <p>Use the pagination parameters to retrieve results as a set of sequential pages. </p>
|
|
47
43
|
* <p>
|
|
48
44
|
* <b>Results</b>
|
|
49
45
|
* </p>
|
|
@@ -51,7 +47,7 @@ declare const ListFleetDeploymentsCommand_base: {
|
|
|
51
47
|
* parameters. A NextToken value is also returned if there are more result pages to
|
|
52
48
|
* retrieve.</p>
|
|
53
49
|
* <note>
|
|
54
|
-
* <p>
|
|
50
|
+
* <p>Deployments are returned starting with the latest.</p>
|
|
55
51
|
* </note>
|
|
56
52
|
* @example
|
|
57
53
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -50,7 +50,7 @@ declare const SearchGameSessionsCommand_base: {
|
|
|
50
50
|
* <p>Use the pagination parameters to retrieve results as a set of sequential pages. </p>
|
|
51
51
|
* <p>If successful, a <code>GameSession</code> object is returned for each game session
|
|
52
52
|
* that matches the request. Search finds game sessions that are in <code>ACTIVE</code>
|
|
53
|
-
* status only. To retrieve information on game sessions in other statuses, use <a href="https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeGameSessions.html">DescribeGameSessions</a
|
|
53
|
+
* status only. To retrieve information on game sessions in other statuses, use <a href="https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeGameSessions.html">DescribeGameSessions</a>.</p>
|
|
54
54
|
* <p>To set search and sort criteria, create a filter expression using the following game session attributes. For game session search examples, see the Examples section of this topic.</p>
|
|
55
55
|
* <ul>
|
|
56
56
|
* <li>
|
|
@@ -67,7 +67,7 @@ declare const SearchGameSessionsCommand_base: {
|
|
|
67
67
|
* <p>
|
|
68
68
|
* <b>gameSessionProperties</b> -- A set of key-value pairs that can store custom data in a game session.
|
|
69
69
|
* For example: <code>\{"Key": "difficulty", "Value": "novice"\}</code>.
|
|
70
|
-
* The filter expression must specify the <a>
|
|
70
|
+
* The filter expression must specify the <a href="https://docs.aws.amazon.com/gamelift/latest/apireference/API_GameProperty">https://docs.aws.amazon.com/gamelift/latest/apireference/API_GameProperty</a> -- a <code>Key</code> and a string <code>Value</code> to search for the game sessions.</p>
|
|
71
71
|
* <p>For example, to search for the above key-value pair, specify the following search filter: <code>gameSessionProperties.difficulty = "novice"</code>.
|
|
72
72
|
* All game property values are searched as strings.</p>
|
|
73
73
|
* <p>
|
|
@@ -138,7 +138,7 @@ declare const SearchGameSessionsCommand_base: {
|
|
|
138
138
|
* // CurrentPlayerSessionCount: Number("int"),
|
|
139
139
|
* // MaximumPlayerSessionCount: Number("int"),
|
|
140
140
|
* // Status: "ACTIVE" || "ACTIVATING" || "TERMINATED" || "TERMINATING" || "ERROR",
|
|
141
|
-
* // StatusReason: "INTERRUPTED",
|
|
141
|
+
* // StatusReason: "INTERRUPTED" || "TRIGGERED_ON_PROCESS_TERMINATE" || "FORCE_TERMINATED",
|
|
142
142
|
* // GameProperties: [ // GamePropertyList
|
|
143
143
|
* // { // GameProperty
|
|
144
144
|
* // Key: "STRING_VALUE", // required
|
|
@@ -65,8 +65,8 @@ declare const StartGameSessionPlacementCommand_base: {
|
|
|
65
65
|
* <p>If successful, a new game session placement is created.</p>
|
|
66
66
|
* <p>To track the status of a placement request, call <a href="https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeGameSessionPlacement.html">DescribeGameSessionPlacement</a> and check the request's status. If the status
|
|
67
67
|
* is <code>FULFILLED</code>, a new game session has been created and a game session ARN
|
|
68
|
-
* and Region are referenced. If the placement request times out,
|
|
69
|
-
*
|
|
68
|
+
* and Region are referenced. If the placement request times out, you can resubmit the
|
|
69
|
+
* request or retry it with a different queue. </p>
|
|
70
70
|
* @example
|
|
71
71
|
* Use a bare-bones client and the command you need to make an API call.
|
|
72
72
|
* ```javascript
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GameLiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GameLiftClient";
|
|
4
|
+
import { TerminateGameSessionInput, TerminateGameSessionOutput } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link TerminateGameSessionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface TerminateGameSessionCommandInput extends TerminateGameSessionInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link TerminateGameSessionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface TerminateGameSessionCommandOutput extends TerminateGameSessionOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const TerminateGameSessionCommand_base: {
|
|
25
|
+
new (input: TerminateGameSessionCommandInput): import("@smithy/smithy-client").CommandImpl<TerminateGameSessionCommandInput, TerminateGameSessionCommandOutput, GameLiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: TerminateGameSessionCommandInput): import("@smithy/smithy-client").CommandImpl<TerminateGameSessionCommandInput, TerminateGameSessionCommandOutput, GameLiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Ends a game session that's currently in progress. You can use this action to terminate
|
|
31
|
+
* any game session that isn't in <code>TERMINATED</code> or <code>TERMINATING</code>
|
|
32
|
+
* status. Terminating a game session is the most efficient way to free up a server process
|
|
33
|
+
* when it's hosting a game session that's in a bad state or not ending naturally. You can
|
|
34
|
+
* use this action to terminate a game session that's being hosted on any type of Amazon GameLift
|
|
35
|
+
* fleet compute, including computes for managed EC2, managed container, and Anywhere
|
|
36
|
+
* fleets.</p>
|
|
37
|
+
* <p>There are two potential methods for terminating a game session:</p>
|
|
38
|
+
* <ul>
|
|
39
|
+
* <li>
|
|
40
|
+
* <p>With a graceful termination, the Amazon GameLift service prompts the server process to initiate its
|
|
41
|
+
* normal game session shutdown sequence. This sequence is implemented in the game
|
|
42
|
+
* server code and might involve a variety of actions to gracefully end a game
|
|
43
|
+
* session, such as notifying players, and stop the server process. </p>
|
|
44
|
+
* </li>
|
|
45
|
+
* <li>
|
|
46
|
+
* <p>With a forceful termination, the Amazon GameLift service takes immediate action to terminate the game
|
|
47
|
+
* session by stopping the server process. Termination occurs without the normal
|
|
48
|
+
* game session shutdown sequence. </p>
|
|
49
|
+
* </li>
|
|
50
|
+
* </ul>
|
|
51
|
+
* <p>
|
|
52
|
+
* <b>Request options</b>
|
|
53
|
+
* </p>
|
|
54
|
+
* <ul>
|
|
55
|
+
* <li>
|
|
56
|
+
* <p>Request termination for a single game session. Provide the game session ID and
|
|
57
|
+
* the termination method. </p>
|
|
58
|
+
* </li>
|
|
59
|
+
* </ul>
|
|
60
|
+
* <p>
|
|
61
|
+
* <b>Results</b>
|
|
62
|
+
* </p>
|
|
63
|
+
* <p>If successful, game session termination is initiated, which includes changing the game
|
|
64
|
+
* session status to <code>TERMINATING</code>. As a result of this action, and depending on
|
|
65
|
+
* the implementation of <code>OnProcessTerminate()</code>, the server process either
|
|
66
|
+
* becomes available to host a new game session, or it's recycled and a new server process
|
|
67
|
+
* started with availability to host a game session. The game session status is changed to
|
|
68
|
+
* <code>TERMINATED</code>, with a status reason that indicates the termination method
|
|
69
|
+
* used.</p>
|
|
70
|
+
* @example
|
|
71
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
72
|
+
* ```javascript
|
|
73
|
+
* import { GameLiftClient, TerminateGameSessionCommand } from "@aws-sdk/client-gamelift"; // ES Modules import
|
|
74
|
+
* // const { GameLiftClient, TerminateGameSessionCommand } = require("@aws-sdk/client-gamelift"); // CommonJS import
|
|
75
|
+
* const client = new GameLiftClient(config);
|
|
76
|
+
* const input = { // TerminateGameSessionInput
|
|
77
|
+
* GameSessionId: "STRING_VALUE", // required
|
|
78
|
+
* TerminationMode: "TRIGGER_ON_PROCESS_TERMINATE" || "FORCE_TERMINATE", // required
|
|
79
|
+
* };
|
|
80
|
+
* const command = new TerminateGameSessionCommand(input);
|
|
81
|
+
* const response = await client.send(command);
|
|
82
|
+
* // { // TerminateGameSessionOutput
|
|
83
|
+
* // GameSession: { // GameSession
|
|
84
|
+
* // GameSessionId: "STRING_VALUE",
|
|
85
|
+
* // Name: "STRING_VALUE",
|
|
86
|
+
* // FleetId: "STRING_VALUE",
|
|
87
|
+
* // FleetArn: "STRING_VALUE",
|
|
88
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
89
|
+
* // TerminationTime: new Date("TIMESTAMP"),
|
|
90
|
+
* // CurrentPlayerSessionCount: Number("int"),
|
|
91
|
+
* // MaximumPlayerSessionCount: Number("int"),
|
|
92
|
+
* // Status: "ACTIVE" || "ACTIVATING" || "TERMINATED" || "TERMINATING" || "ERROR",
|
|
93
|
+
* // StatusReason: "INTERRUPTED" || "TRIGGERED_ON_PROCESS_TERMINATE" || "FORCE_TERMINATED",
|
|
94
|
+
* // GameProperties: [ // GamePropertyList
|
|
95
|
+
* // { // GameProperty
|
|
96
|
+
* // Key: "STRING_VALUE", // required
|
|
97
|
+
* // Value: "STRING_VALUE", // required
|
|
98
|
+
* // },
|
|
99
|
+
* // ],
|
|
100
|
+
* // IpAddress: "STRING_VALUE",
|
|
101
|
+
* // DnsName: "STRING_VALUE",
|
|
102
|
+
* // Port: Number("int"),
|
|
103
|
+
* // PlayerSessionCreationPolicy: "ACCEPT_ALL" || "DENY_ALL",
|
|
104
|
+
* // CreatorId: "STRING_VALUE",
|
|
105
|
+
* // GameSessionData: "STRING_VALUE",
|
|
106
|
+
* // MatchmakerData: "STRING_VALUE",
|
|
107
|
+
* // Location: "STRING_VALUE",
|
|
108
|
+
* // },
|
|
109
|
+
* // };
|
|
110
|
+
*
|
|
111
|
+
* ```
|
|
112
|
+
*
|
|
113
|
+
* @param TerminateGameSessionCommandInput - {@link TerminateGameSessionCommandInput}
|
|
114
|
+
* @returns {@link TerminateGameSessionCommandOutput}
|
|
115
|
+
* @see {@link TerminateGameSessionCommandInput} for command's `input` shape.
|
|
116
|
+
* @see {@link TerminateGameSessionCommandOutput} for command's `response` shape.
|
|
117
|
+
* @see {@link GameLiftClientResolvedConfig | config} for GameLiftClient's `config` shape.
|
|
118
|
+
*
|
|
119
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
120
|
+
* <p>The service encountered an unrecoverable internal failure while processing the
|
|
121
|
+
* request. Clients can retry such requests immediately or after a waiting period.</p>
|
|
122
|
+
*
|
|
123
|
+
* @throws {@link InvalidGameSessionStatusException} (client fault)
|
|
124
|
+
* <p>The requested operation would cause a conflict with the current state of a resource
|
|
125
|
+
* associated with the request and/or the game instance. Resolve the conflict before
|
|
126
|
+
* retrying.</p>
|
|
127
|
+
*
|
|
128
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
129
|
+
* <p>One or more parameter values in the request are invalid. Correct the invalid parameter
|
|
130
|
+
* values before retrying.</p>
|
|
131
|
+
*
|
|
132
|
+
* @throws {@link NotFoundException} (client fault)
|
|
133
|
+
* <p>The requested resources was not found. The resource was either not created yet or deleted.</p>
|
|
134
|
+
*
|
|
135
|
+
* @throws {@link NotReadyException} (client fault)
|
|
136
|
+
* <p> The operation failed because Amazon GameLift has not yet finished validating this compute. We
|
|
137
|
+
* recommend attempting 8 to 10 retries over 3 to 5 minutes with <a href="http://aws.amazon.com/blogs/https:/aws.amazon.com/blogs/architecture/exponential-backoff-and-jitter/">exponential
|
|
138
|
+
* backoffs and jitter</a>. </p>
|
|
139
|
+
*
|
|
140
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
141
|
+
* <p>The client failed authentication. Clients should not retry such requests.</p>
|
|
142
|
+
*
|
|
143
|
+
* @throws {@link GameLiftServiceException}
|
|
144
|
+
* <p>Base exception class for all service exceptions from GameLift service.</p>
|
|
145
|
+
*
|
|
146
|
+
* @public
|
|
147
|
+
*/
|
|
148
|
+
export declare class TerminateGameSessionCommand extends TerminateGameSessionCommand_base {
|
|
149
|
+
/** @internal type navigation helper, not in runtime. */
|
|
150
|
+
protected static __types: {
|
|
151
|
+
api: {
|
|
152
|
+
input: TerminateGameSessionInput;
|
|
153
|
+
output: TerminateGameSessionOutput;
|
|
154
|
+
};
|
|
155
|
+
sdk: {
|
|
156
|
+
input: TerminateGameSessionCommandInput;
|
|
157
|
+
output: TerminateGameSessionCommandOutput;
|
|
158
|
+
};
|
|
159
|
+
};
|
|
160
|
+
}
|
|
@@ -29,7 +29,7 @@ declare const UpdateContainerFleetCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Updates the properties of a managed container fleet. Depending on the properties being
|
|
31
31
|
* updated, this operation might initiate a fleet deployment. You can track deployments for
|
|
32
|
-
* a fleet using <a>
|
|
32
|
+
* a fleet using <a href="https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetDeployment.html">https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetDeployment.html</a>.</p>
|
|
33
33
|
* <p>
|
|
34
34
|
* <b>Request options</b>
|
|
35
35
|
* </p>
|
|
@@ -68,7 +68,7 @@ declare const UpdateContainerGroupDefinitionCommand_base: {
|
|
|
68
68
|
* definition version.</p>
|
|
69
69
|
* <p>If the container group definition version is used in an active fleets, the update
|
|
70
70
|
* automatically initiates a new fleet deployment of the new version. You can track a fleet's
|
|
71
|
-
* deployments using <a>ListFleetDeployments</a>.</p>
|
|
71
|
+
* deployments using <a href="https://docs.aws.amazon.com/gamelift/latest/apireference/API_ListFleetDeployments.html">ListFleetDeployments</a>.</p>
|
|
72
72
|
* @example
|
|
73
73
|
* Use a bare-bones client and the command you need to make an API call.
|
|
74
74
|
* ```javascript
|
|
@@ -34,8 +34,6 @@ declare const UpdateFleetPortSettingsCommand_base: {
|
|
|
34
34
|
* <code>InboundPermissionAuthorizations</code>, and permissions you want to remove in
|
|
35
35
|
* <code>InboundPermissionRevocations</code>. Permissions to be removed must match
|
|
36
36
|
* existing fleet permissions. </p>
|
|
37
|
-
* <p>For a container fleet, inbound permissions must specify port numbers that are defined
|
|
38
|
-
* in the fleet's connection port settings.</p>
|
|
39
37
|
* <p>If successful, the fleet ID for the updated fleet is returned. For fleets with remote
|
|
40
38
|
* locations, port setting updates can take time to propagate across all locations. You can
|
|
41
39
|
* check the status of updates in each location by calling
|
|
@@ -66,7 +66,7 @@ declare const UpdateGameSessionCommand_base: {
|
|
|
66
66
|
* // CurrentPlayerSessionCount: Number("int"),
|
|
67
67
|
* // MaximumPlayerSessionCount: Number("int"),
|
|
68
68
|
* // Status: "ACTIVE" || "ACTIVATING" || "TERMINATED" || "TERMINATING" || "ERROR",
|
|
69
|
-
* // StatusReason: "INTERRUPTED",
|
|
69
|
+
* // StatusReason: "INTERRUPTED" || "TRIGGERED_ON_PROCESS_TERMINATE" || "FORCE_TERMINATED",
|
|
70
70
|
* // GameProperties: [ // GamePropertyList
|
|
71
71
|
* // { // GameProperty
|
|
72
72
|
* // Key: "STRING_VALUE", // required
|
|
@@ -99,6 +99,7 @@ export * from "./StopGameSessionPlacementCommand";
|
|
|
99
99
|
export * from "./StopMatchmakingCommand";
|
|
100
100
|
export * from "./SuspendGameServerGroupCommand";
|
|
101
101
|
export * from "./TagResourceCommand";
|
|
102
|
+
export * from "./TerminateGameSessionCommand";
|
|
102
103
|
export * from "./UntagResourceCommand";
|
|
103
104
|
export * from "./UpdateAliasCommand";
|
|
104
105
|
export * from "./UpdateBuildCommand";
|