@aws-sdk/client-gamelift 3.1000.0 → 3.1002.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 +7 -0
- package/dist-cjs/index.js +30 -0
- package/dist-cjs/schemas/schemas_0.js +75 -24
- package/dist-es/GameLift.js +2 -0
- package/dist-es/commands/GetPlayerConnectionDetailsCommand.js +16 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +13 -0
- package/dist-es/schemas/schemas_0.js +69 -18
- package/dist-types/GameLift.d.ts +7 -0
- package/dist-types/GameLiftClient.d.ts +3 -2
- package/dist-types/commands/CreateContainerFleetCommand.d.ts +3 -0
- package/dist-types/commands/CreateFleetCommand.d.ts +9 -0
- package/dist-types/commands/CreateFleetLocationsCommand.d.ts +1 -0
- package/dist-types/commands/CreateGameSessionCommand.d.ts +1 -0
- package/dist-types/commands/DeleteFleetLocationsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeContainerFleetCommand.d.ts +2 -0
- package/dist-types/commands/DescribeFleetAttributesCommand.d.ts +5 -1
- package/dist-types/commands/DescribeFleetLocationAttributesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeGameSessionDetailsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeGameSessionPlacementCommand.d.ts +4 -1
- package/dist-types/commands/DescribeGameSessionsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeMatchmakingCommand.d.ts +1 -0
- package/dist-types/commands/GetPlayerConnectionDetailsCommand.d.ts +126 -0
- package/dist-types/commands/ListContainerFleetsCommand.d.ts +2 -0
- package/dist-types/commands/SearchGameSessionsCommand.d.ts +9 -1
- package/dist-types/commands/StartGameSessionPlacementCommand.d.ts +1 -0
- package/dist-types/commands/StartMatchBackfillCommand.d.ts +1 -0
- package/dist-types/commands/StartMatchmakingCommand.d.ts +1 -0
- package/dist-types/commands/StopGameSessionPlacementCommand.d.ts +1 -0
- package/dist-types/commands/TerminateGameSessionCommand.d.ts +1 -0
- package/dist-types/commands/UpdateContainerFleetCommand.d.ts +2 -0
- package/dist-types/commands/UpdateFleetAttributesCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFleetCapacityCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFleetPortSettingsCommand.d.ts +1 -2
- package/dist-types/commands/UpdateGameSessionCommand.d.ts +1 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +37 -0
- package/dist-types/models/models_0.d.ts +293 -173
- package/dist-types/models/models_1.d.ts +182 -3
- package/dist-types/schemas/schemas_0.d.ts +6 -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/GetPlayerConnectionDetailsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateFleetAttributesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateFleetCapacityCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateFleetPortSettingsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +19 -0
- package/dist-types/ts3.4/models/models_0.d.ts +35 -32
- package/dist-types/ts3.4/models/models_1.d.ts +36 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +6 -0
- package/package.json +13 -13
|
@@ -1,5 +1,170 @@
|
|
|
1
1
|
import { BackfillMode, BalancingStrategy, FlexMatchMode, GameServerHealthCheck, GameServerProtectionPolicy, GameServerUtilizationStatus, PlayerSessionCreationPolicy, ProtectionPolicy } from "./enums";
|
|
2
|
-
import { type FilterConfiguration, type GameServer, type GameServerGroup, type GameSession, type GameSessionQueue, type MatchmakingConfiguration, type PriorityConfiguration, type RuntimeConfiguration, type S3Location, type Script, GameProperty, GameSessionQueueDestination, InstanceDefinition, PlayerLatencyPolicy } from "./models_0";
|
|
2
|
+
import { type AnywhereConfiguration, type FilterConfiguration, type GameServer, type GameServerGroup, type GameSession, type GameSessionQueue, type ManagedCapacityConfiguration, type MatchmakingConfiguration, type PriorityConfiguration, type ResourceCreationLimitPolicy, type RuntimeConfiguration, type S3Location, type Script, GameProperty, GameSessionQueueDestination, InstanceDefinition, IpPermission, PlayerLatencyPolicy } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface UpdateFleetAttributesInput {
|
|
7
|
+
/**
|
|
8
|
+
* <p>A unique identifier for the fleet to update attribute metadata for. You can use either the fleet ID or ARN
|
|
9
|
+
* value.</p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
FleetId: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* <p>A descriptive label that is associated with a fleet. Fleet names do not need to be unique.</p>
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
Name?: string | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* <p>A human-readable description of a fleet.</p>
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
Description?: string | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* <p>The game session protection policy to apply to all new game sessions created in this
|
|
25
|
+
* fleet. Game sessions that already exist are not affected. You can set protection for
|
|
26
|
+
* individual game sessions using <a href="https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateGameSession.html">UpdateGameSession</a> .</p>
|
|
27
|
+
* <ul>
|
|
28
|
+
* <li>
|
|
29
|
+
* <p>
|
|
30
|
+
* <b>NoProtection</b> -- The game session can be
|
|
31
|
+
* terminated during a scale-down event.</p>
|
|
32
|
+
* </li>
|
|
33
|
+
* <li>
|
|
34
|
+
* <p>
|
|
35
|
+
* <b>FullProtection</b> -- If the game session is in an
|
|
36
|
+
* <code>ACTIVE</code> status, it cannot be terminated during a scale-down
|
|
37
|
+
* event.</p>
|
|
38
|
+
* </li>
|
|
39
|
+
* </ul>
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
NewGameSessionProtectionPolicy?: ProtectionPolicy | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* <p>Policy settings that limit the number of game sessions an individual player can create
|
|
45
|
+
* over a span of time. </p>
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
ResourceCreationLimitPolicy?: ResourceCreationLimitPolicy | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* <p>The name of a metric group to add this fleet to. Use a metric group in Amazon
|
|
51
|
+
* CloudWatch to aggregate the metrics from multiple fleets. Provide an existing metric
|
|
52
|
+
* group name, or create a new metric group by providing a new name. A fleet can only be in
|
|
53
|
+
* one metric group at a time.</p>
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
MetricGroups?: string[] | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* <p>Amazon GameLift Servers Anywhere configuration options.</p>
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
AnywhereConfiguration?: AnywhereConfiguration | undefined;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
export interface UpdateFleetAttributesOutput {
|
|
67
|
+
/**
|
|
68
|
+
* <p>A unique identifier for the fleet that was updated.</p>
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
FleetId?: string | undefined;
|
|
72
|
+
/**
|
|
73
|
+
* <p>The Amazon Resource Name (<a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-arn-format.html">ARN</a>) that is assigned to a Amazon GameLift Servers fleet resource and uniquely identifies it. ARNs are unique across all Regions. Format is <code>arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912</code>.</p>
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
FleetArn?: string | undefined;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export interface UpdateFleetCapacityInput {
|
|
82
|
+
/**
|
|
83
|
+
* <p>A unique identifier for the fleet to update capacity settings for. You can use either the fleet ID or ARN
|
|
84
|
+
* value.</p>
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
FleetId: string | undefined;
|
|
88
|
+
/**
|
|
89
|
+
* <p>The number of Amazon EC2 instances you want to maintain in the specified fleet location.
|
|
90
|
+
* This value must fall between the minimum and maximum size limits. Changes in desired
|
|
91
|
+
* instance value can take up to 1 minute to be reflected when viewing the fleet's capacity
|
|
92
|
+
* settings.</p>
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
DesiredInstances?: number | undefined;
|
|
96
|
+
/**
|
|
97
|
+
* <p>The minimum number of instances that are allowed in the specified fleet location. If
|
|
98
|
+
* this parameter is not set, the default is 0. This parameter cannot be set when using a
|
|
99
|
+
* ManagedCapacityConfiguration where ZeroCapacityStrategy has a value of SCALE_TO_AND_FROM_ZERO.</p>
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
MinSize?: number | undefined;
|
|
103
|
+
/**
|
|
104
|
+
* <p>The maximum number of instances that are allowed in the specified fleet location. If
|
|
105
|
+
* this parameter is not set, the default is 1.</p>
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
MaxSize?: number | undefined;
|
|
109
|
+
/**
|
|
110
|
+
* <p>The name of a remote location to update fleet capacity settings for, in the form of an
|
|
111
|
+
* Amazon Web Services Region code such as <code>us-west-2</code>.</p>
|
|
112
|
+
* @public
|
|
113
|
+
*/
|
|
114
|
+
Location?: string | undefined;
|
|
115
|
+
/**
|
|
116
|
+
* <p>Configuration for Amazon GameLift Servers-managed capacity scaling options.</p>
|
|
117
|
+
* @public
|
|
118
|
+
*/
|
|
119
|
+
ManagedCapacityConfiguration?: ManagedCapacityConfiguration | undefined;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* @public
|
|
123
|
+
*/
|
|
124
|
+
export interface UpdateFleetCapacityOutput {
|
|
125
|
+
/**
|
|
126
|
+
* <p>A unique identifier for the fleet that was updated.</p>
|
|
127
|
+
* @public
|
|
128
|
+
*/
|
|
129
|
+
FleetId?: string | undefined;
|
|
130
|
+
/**
|
|
131
|
+
* <p>The Amazon Resource Name (<a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-arn-format.html">ARN</a>) that is assigned to a Amazon GameLift Servers fleet resource and uniquely identifies it. ARNs are unique across all Regions. Format is <code>arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912</code>. </p>
|
|
132
|
+
* @public
|
|
133
|
+
*/
|
|
134
|
+
FleetArn?: string | undefined;
|
|
135
|
+
/**
|
|
136
|
+
* <p>The remote location being updated, expressed as an Amazon Web Services Region code, such as
|
|
137
|
+
* <code>us-west-2</code>.</p>
|
|
138
|
+
* @public
|
|
139
|
+
*/
|
|
140
|
+
Location?: string | undefined;
|
|
141
|
+
/**
|
|
142
|
+
* <p>Configuration for Amazon GameLift Servers-managed capacity scaling options.</p>
|
|
143
|
+
* @public
|
|
144
|
+
*/
|
|
145
|
+
ManagedCapacityConfiguration?: ManagedCapacityConfiguration | undefined;
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* @public
|
|
149
|
+
*/
|
|
150
|
+
export interface UpdateFleetPortSettingsInput {
|
|
151
|
+
/**
|
|
152
|
+
* <p>A unique identifier for the fleet to update port settings for. You can use either the fleet ID or ARN
|
|
153
|
+
* value.</p>
|
|
154
|
+
* @public
|
|
155
|
+
*/
|
|
156
|
+
FleetId: string | undefined;
|
|
157
|
+
/**
|
|
158
|
+
* <p>A collection of port settings to be added to the fleet resource.</p>
|
|
159
|
+
* @public
|
|
160
|
+
*/
|
|
161
|
+
InboundPermissionAuthorizations?: IpPermission[] | undefined;
|
|
162
|
+
/**
|
|
163
|
+
* <p>A collection of port settings to be removed from the fleet resource.</p>
|
|
164
|
+
* @public
|
|
165
|
+
*/
|
|
166
|
+
InboundPermissionRevocations?: IpPermission[] | undefined;
|
|
167
|
+
}
|
|
3
168
|
/**
|
|
4
169
|
* @public
|
|
5
170
|
*/
|
|
@@ -191,7 +356,14 @@ export interface UpdateGameSessionInput {
|
|
|
191
356
|
* For an example, see <a href="https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-client-api.html#game-properties-update">Update the value of a game property</a>.
|
|
192
357
|
* </p>
|
|
193
358
|
* <note>
|
|
194
|
-
* <
|
|
359
|
+
* <ul>
|
|
360
|
+
* <li>
|
|
361
|
+
* <p>Avoid using periods (".") in property keys if you plan to search for game sessions by properties. Property keys containing periods cannot be searched and will be filtered out from search results due to search index limitations.</p>
|
|
362
|
+
* </li>
|
|
363
|
+
* <li>
|
|
364
|
+
* <p>If you use SearchGameSessions API, there is a limit of 500 game property keys across all game sessions and all fleets per region. If the limit is exceeded, there will potentially be game session entries missing from SearchGameSessions API results.</p>
|
|
365
|
+
* </li>
|
|
366
|
+
* </ul>
|
|
195
367
|
* </note>
|
|
196
368
|
* @public
|
|
197
369
|
*/
|
|
@@ -349,7 +521,14 @@ export interface UpdateMatchmakingConfigurationInput {
|
|
|
349
521
|
* created for a successful match. This parameter is not used if <code>FlexMatchMode</code>
|
|
350
522
|
* is set to <code>STANDALONE</code>.</p>
|
|
351
523
|
* <note>
|
|
352
|
-
* <
|
|
524
|
+
* <ul>
|
|
525
|
+
* <li>
|
|
526
|
+
* <p>Avoid using periods (".") in property keys if you plan to search for game sessions by properties. Property keys containing periods cannot be searched and will be filtered out from search results due to search index limitations.</p>
|
|
527
|
+
* </li>
|
|
528
|
+
* <li>
|
|
529
|
+
* <p>If you use SearchGameSessions API, there is a limit of 500 game property keys across all game sessions and all fleets per region. If the limit is exceeded, there will potentially be game session entries missing from SearchGameSessions API results.</p>
|
|
530
|
+
* </li>
|
|
531
|
+
* </ul>
|
|
353
532
|
* </note>
|
|
354
533
|
* @public
|
|
355
534
|
*/
|
|
@@ -207,6 +207,8 @@ export declare var GetGameSessionLogUrlInput$: StaticStructureSchema;
|
|
|
207
207
|
export declare var GetGameSessionLogUrlOutput$: StaticStructureSchema;
|
|
208
208
|
export declare var GetInstanceAccessInput$: StaticStructureSchema;
|
|
209
209
|
export declare var GetInstanceAccessOutput$: StaticStructureSchema;
|
|
210
|
+
export declare var GetPlayerConnectionDetailsInput$: StaticStructureSchema;
|
|
211
|
+
export declare var GetPlayerConnectionDetailsOutput$: StaticStructureSchema;
|
|
210
212
|
export declare var Instance$: StaticStructureSchema;
|
|
211
213
|
export declare var InstanceAccess$: StaticStructureSchema;
|
|
212
214
|
export declare var InstanceCredentials$: StaticStructureSchema;
|
|
@@ -253,6 +255,9 @@ export declare var MatchmakingTicket$: StaticStructureSchema;
|
|
|
253
255
|
export declare var PingBeacon$: StaticStructureSchema;
|
|
254
256
|
export declare var PlacedPlayerSession$: StaticStructureSchema;
|
|
255
257
|
export declare var Player$: StaticStructureSchema;
|
|
258
|
+
export declare var PlayerConnectionDetail$: StaticStructureSchema;
|
|
259
|
+
export declare var PlayerConnectionEndpoint$: StaticStructureSchema;
|
|
260
|
+
export declare var PlayerGatewayConfiguration$: StaticStructureSchema;
|
|
256
261
|
export declare var PlayerLatency$: StaticStructureSchema;
|
|
257
262
|
export declare var PlayerLatencyPolicy$: StaticStructureSchema;
|
|
258
263
|
export declare var PlayerSession$: StaticStructureSchema;
|
|
@@ -412,6 +417,7 @@ export declare var GetComputeAccess$: StaticOperationSchema;
|
|
|
412
417
|
export declare var GetComputeAuthToken$: StaticOperationSchema;
|
|
413
418
|
export declare var GetGameSessionLogUrl$: StaticOperationSchema;
|
|
414
419
|
export declare var GetInstanceAccess$: StaticOperationSchema;
|
|
420
|
+
export declare var GetPlayerConnectionDetails$: StaticOperationSchema;
|
|
415
421
|
export declare var ListAliases$: StaticOperationSchema;
|
|
416
422
|
export declare var ListBuilds$: StaticOperationSchema;
|
|
417
423
|
export declare var ListCompute$: StaticOperationSchema;
|
|
@@ -291,6 +291,10 @@ import {
|
|
|
291
291
|
GetInstanceAccessCommandInput,
|
|
292
292
|
GetInstanceAccessCommandOutput,
|
|
293
293
|
} from "./commands/GetInstanceAccessCommand";
|
|
294
|
+
import {
|
|
295
|
+
GetPlayerConnectionDetailsCommandInput,
|
|
296
|
+
GetPlayerConnectionDetailsCommandOutput,
|
|
297
|
+
} from "./commands/GetPlayerConnectionDetailsCommand";
|
|
294
298
|
import {
|
|
295
299
|
ListAliasesCommandInput,
|
|
296
300
|
ListAliasesCommandOutput,
|
|
@@ -1433,6 +1437,19 @@ export interface GameLift {
|
|
|
1433
1437
|
options: __HttpHandlerOptions,
|
|
1434
1438
|
cb: (err: any, data?: GetInstanceAccessCommandOutput) => void
|
|
1435
1439
|
): void;
|
|
1440
|
+
getPlayerConnectionDetails(
|
|
1441
|
+
args: GetPlayerConnectionDetailsCommandInput,
|
|
1442
|
+
options?: __HttpHandlerOptions
|
|
1443
|
+
): Promise<GetPlayerConnectionDetailsCommandOutput>;
|
|
1444
|
+
getPlayerConnectionDetails(
|
|
1445
|
+
args: GetPlayerConnectionDetailsCommandInput,
|
|
1446
|
+
cb: (err: any, data?: GetPlayerConnectionDetailsCommandOutput) => void
|
|
1447
|
+
): void;
|
|
1448
|
+
getPlayerConnectionDetails(
|
|
1449
|
+
args: GetPlayerConnectionDetailsCommandInput,
|
|
1450
|
+
options: __HttpHandlerOptions,
|
|
1451
|
+
cb: (err: any, data?: GetPlayerConnectionDetailsCommandOutput) => void
|
|
1452
|
+
): void;
|
|
1436
1453
|
listAliases(): Promise<ListAliasesCommandOutput>;
|
|
1437
1454
|
listAliases(
|
|
1438
1455
|
args: ListAliasesCommandInput,
|
|
@@ -333,6 +333,10 @@ import {
|
|
|
333
333
|
GetInstanceAccessCommandInput,
|
|
334
334
|
GetInstanceAccessCommandOutput,
|
|
335
335
|
} from "./commands/GetInstanceAccessCommand";
|
|
336
|
+
import {
|
|
337
|
+
GetPlayerConnectionDetailsCommandInput,
|
|
338
|
+
GetPlayerConnectionDetailsCommandOutput,
|
|
339
|
+
} from "./commands/GetPlayerConnectionDetailsCommand";
|
|
336
340
|
import {
|
|
337
341
|
ListAliasesCommandInput,
|
|
338
342
|
ListAliasesCommandOutput,
|
|
@@ -597,6 +601,7 @@ export type ServiceInputTypes =
|
|
|
597
601
|
| GetComputeAuthTokenCommandInput
|
|
598
602
|
| GetGameSessionLogUrlCommandInput
|
|
599
603
|
| GetInstanceAccessCommandInput
|
|
604
|
+
| GetPlayerConnectionDetailsCommandInput
|
|
600
605
|
| ListAliasesCommandInput
|
|
601
606
|
| ListBuildsCommandInput
|
|
602
607
|
| ListComputeCommandInput
|
|
@@ -716,6 +721,7 @@ export type ServiceOutputTypes =
|
|
|
716
721
|
| GetComputeAuthTokenCommandOutput
|
|
717
722
|
| GetGameSessionLogUrlCommandOutput
|
|
718
723
|
| GetInstanceAccessCommandOutput
|
|
724
|
+
| GetPlayerConnectionDetailsCommandOutput
|
|
719
725
|
| ListAliasesCommandOutput
|
|
720
726
|
| ListBuildsCommandOutput
|
|
721
727
|
| ListComputeCommandOutput
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
GameLiftClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../GameLiftClient";
|
|
8
|
+
import {
|
|
9
|
+
GetPlayerConnectionDetailsInput,
|
|
10
|
+
GetPlayerConnectionDetailsOutput,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface GetPlayerConnectionDetailsCommandInput
|
|
15
|
+
extends GetPlayerConnectionDetailsInput {}
|
|
16
|
+
export interface GetPlayerConnectionDetailsCommandOutput
|
|
17
|
+
extends GetPlayerConnectionDetailsOutput,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const GetPlayerConnectionDetailsCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: GetPlayerConnectionDetailsCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
GetPlayerConnectionDetailsCommandInput,
|
|
24
|
+
GetPlayerConnectionDetailsCommandOutput,
|
|
25
|
+
GameLiftClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: GetPlayerConnectionDetailsCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
GetPlayerConnectionDetailsCommandInput,
|
|
33
|
+
GetPlayerConnectionDetailsCommandOutput,
|
|
34
|
+
GameLiftClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class GetPlayerConnectionDetailsCommand extends GetPlayerConnectionDetailsCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: GetPlayerConnectionDetailsInput;
|
|
44
|
+
output: GetPlayerConnectionDetailsOutput;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: GetPlayerConnectionDetailsCommandInput;
|
|
48
|
+
output: GetPlayerConnectionDetailsCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -5,8 +5,10 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../GameLiftClient";
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
UpdateFleetPortSettingsInput,
|
|
10
|
+
UpdateFleetPortSettingsOutput,
|
|
11
|
+
} from "../models/models_1";
|
|
10
12
|
export { __MetadataBearer };
|
|
11
13
|
export { $Command };
|
|
12
14
|
export interface UpdateFleetPortSettingsCommandInput
|
|
@@ -70,6 +70,7 @@ export * from "./GetComputeAccessCommand";
|
|
|
70
70
|
export * from "./GetComputeAuthTokenCommand";
|
|
71
71
|
export * from "./GetGameSessionLogUrlCommand";
|
|
72
72
|
export * from "./GetInstanceAccessCommand";
|
|
73
|
+
export * from "./GetPlayerConnectionDetailsCommand";
|
|
73
74
|
export * from "./ListAliasesCommand";
|
|
74
75
|
export * from "./ListBuildsCommand";
|
|
75
76
|
export * from "./ListComputeCommand";
|
|
@@ -609,6 +609,12 @@ export declare const IpProtocol: {
|
|
|
609
609
|
readonly UDP: "UDP";
|
|
610
610
|
};
|
|
611
611
|
export type IpProtocol = (typeof IpProtocol)[keyof typeof IpProtocol];
|
|
612
|
+
export declare const PlayerGatewayStatus: {
|
|
613
|
+
readonly DISABLED: "DISABLED";
|
|
614
|
+
readonly ENABLED: "ENABLED";
|
|
615
|
+
};
|
|
616
|
+
export type PlayerGatewayStatus =
|
|
617
|
+
(typeof PlayerGatewayStatus)[keyof typeof PlayerGatewayStatus];
|
|
612
618
|
export declare const ContainerFleetLocationStatus: {
|
|
613
619
|
readonly ACTIVATING: "ACTIVATING";
|
|
614
620
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -633,6 +639,13 @@ export declare const ProtectionPolicy: {
|
|
|
633
639
|
};
|
|
634
640
|
export type ProtectionPolicy =
|
|
635
641
|
(typeof ProtectionPolicy)[keyof typeof ProtectionPolicy];
|
|
642
|
+
export declare const PlayerGatewayMode: {
|
|
643
|
+
readonly DISABLED: "DISABLED";
|
|
644
|
+
readonly ENABLED: "ENABLED";
|
|
645
|
+
readonly REQUIRED: "REQUIRED";
|
|
646
|
+
};
|
|
647
|
+
export type PlayerGatewayMode =
|
|
648
|
+
(typeof PlayerGatewayMode)[keyof typeof PlayerGatewayMode];
|
|
636
649
|
export declare const ContainerFleetStatus: {
|
|
637
650
|
readonly ACTIVATING: "ACTIVATING";
|
|
638
651
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -683,6 +696,12 @@ export declare const InstanceRoleCredentialsProvider: {
|
|
|
683
696
|
};
|
|
684
697
|
export type InstanceRoleCredentialsProvider =
|
|
685
698
|
(typeof InstanceRoleCredentialsProvider)[keyof typeof InstanceRoleCredentialsProvider];
|
|
699
|
+
export declare const GameServerIpProtocolSupported: {
|
|
700
|
+
readonly DUAL_STACK: "DUAL_STACK";
|
|
701
|
+
readonly IPv4: "IPv4";
|
|
702
|
+
};
|
|
703
|
+
export type GameServerIpProtocolSupported =
|
|
704
|
+
(typeof GameServerIpProtocolSupported)[keyof typeof GameServerIpProtocolSupported];
|
|
686
705
|
export declare const FleetStatus: {
|
|
687
706
|
readonly ACTIVATING: "ACTIVATING";
|
|
688
707
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -32,6 +32,7 @@ import {
|
|
|
32
32
|
GameServerGroupInstanceType,
|
|
33
33
|
GameServerGroupStatus,
|
|
34
34
|
GameServerInstanceStatus,
|
|
35
|
+
GameServerIpProtocolSupported,
|
|
35
36
|
GameServerProtectionPolicy,
|
|
36
37
|
GameServerUtilizationStatus,
|
|
37
38
|
GameSessionPlacementState,
|
|
@@ -48,6 +49,8 @@ import {
|
|
|
48
49
|
MetricName,
|
|
49
50
|
OperatingSystem,
|
|
50
51
|
PlacementFallbackStrategy,
|
|
52
|
+
PlayerGatewayMode,
|
|
53
|
+
PlayerGatewayStatus,
|
|
51
54
|
PlayerSessionCreationPolicy,
|
|
52
55
|
PlayerSessionStatus,
|
|
53
56
|
PolicyType,
|
|
@@ -183,6 +186,7 @@ export interface IpPermission {
|
|
|
183
186
|
export interface ContainerFleetLocationAttributes {
|
|
184
187
|
Location?: string | undefined;
|
|
185
188
|
Status?: ContainerFleetLocationStatus | undefined;
|
|
189
|
+
PlayerGatewayStatus?: PlayerGatewayStatus | undefined;
|
|
186
190
|
}
|
|
187
191
|
export interface LogConfiguration {
|
|
188
192
|
LogDestination?: LogDestination | undefined;
|
|
@@ -212,6 +216,7 @@ export interface ContainerFleet {
|
|
|
212
216
|
DeploymentDetails?: DeploymentDetails | undefined;
|
|
213
217
|
LogConfiguration?: LogConfiguration | undefined;
|
|
214
218
|
LocationAttributes?: ContainerFleetLocationAttributes[] | undefined;
|
|
219
|
+
PlayerGatewayMode?: PlayerGatewayMode | undefined;
|
|
215
220
|
}
|
|
216
221
|
export interface ContainerMountPoint {
|
|
217
222
|
InstancePath: string | undefined;
|
|
@@ -326,6 +331,7 @@ export interface CreateContainerFleetInput {
|
|
|
326
331
|
GameSessionCreationLimitPolicy?: GameSessionCreationLimitPolicy | undefined;
|
|
327
332
|
LogConfiguration?: LogConfiguration | undefined;
|
|
328
333
|
Tags?: Tag[] | undefined;
|
|
334
|
+
PlayerGatewayMode?: PlayerGatewayMode | undefined;
|
|
329
335
|
}
|
|
330
336
|
export interface CreateContainerFleetOutput {
|
|
331
337
|
ContainerFleet?: ContainerFleet | undefined;
|
|
@@ -367,6 +373,9 @@ export interface CreateContainerGroupDefinitionInput {
|
|
|
367
373
|
export interface CreateContainerGroupDefinitionOutput {
|
|
368
374
|
ContainerGroupDefinition?: ContainerGroupDefinition | undefined;
|
|
369
375
|
}
|
|
376
|
+
export interface PlayerGatewayConfiguration {
|
|
377
|
+
GameServerIpProtocolSupported?: GameServerIpProtocolSupported | undefined;
|
|
378
|
+
}
|
|
370
379
|
export interface ResourceCreationLimitPolicy {
|
|
371
380
|
NewGameSessionsPerCreator?: number | undefined;
|
|
372
381
|
PolicyPeriodInMinutes?: number | undefined;
|
|
@@ -405,6 +414,8 @@ export interface CreateFleetInput {
|
|
|
405
414
|
ComputeType?: ComputeType | undefined;
|
|
406
415
|
AnywhereConfiguration?: AnywhereConfiguration | undefined;
|
|
407
416
|
InstanceRoleCredentialsProvider?: InstanceRoleCredentialsProvider | undefined;
|
|
417
|
+
PlayerGatewayMode?: PlayerGatewayMode | undefined;
|
|
418
|
+
PlayerGatewayConfiguration?: PlayerGatewayConfiguration | undefined;
|
|
408
419
|
}
|
|
409
420
|
export interface FleetAttributes {
|
|
410
421
|
FleetId?: string | undefined;
|
|
@@ -433,10 +444,13 @@ export interface FleetAttributes {
|
|
|
433
444
|
ComputeType?: ComputeType | undefined;
|
|
434
445
|
AnywhereConfiguration?: AnywhereConfiguration | undefined;
|
|
435
446
|
InstanceRoleCredentialsProvider?: InstanceRoleCredentialsProvider | undefined;
|
|
447
|
+
PlayerGatewayMode?: PlayerGatewayMode | undefined;
|
|
448
|
+
PlayerGatewayConfiguration?: PlayerGatewayConfiguration | undefined;
|
|
436
449
|
}
|
|
437
450
|
export interface LocationState {
|
|
438
451
|
Location?: string | undefined;
|
|
439
452
|
Status?: FleetStatus | undefined;
|
|
453
|
+
PlayerGatewayStatus?: PlayerGatewayStatus | undefined;
|
|
440
454
|
}
|
|
441
455
|
export interface CreateFleetOutput {
|
|
442
456
|
FleetAttributes?: FleetAttributes | undefined;
|
|
@@ -533,6 +547,7 @@ export interface GameSession {
|
|
|
533
547
|
GameSessionData?: string | undefined;
|
|
534
548
|
MatchmakerData?: string | undefined;
|
|
535
549
|
Location?: string | undefined;
|
|
550
|
+
PlayerGatewayStatus?: PlayerGatewayStatus | undefined;
|
|
536
551
|
}
|
|
537
552
|
export interface CreateGameSessionOutput {
|
|
538
553
|
GameSession?: GameSession | undefined;
|
|
@@ -1076,6 +1091,7 @@ export interface GameSessionPlacement {
|
|
|
1076
1091
|
GameSessionData?: string | undefined;
|
|
1077
1092
|
MatchmakerData?: string | undefined;
|
|
1078
1093
|
PriorityConfigurationOverride?: PriorityConfigurationOverride | undefined;
|
|
1094
|
+
PlayerGatewayStatus?: PlayerGatewayStatus | undefined;
|
|
1079
1095
|
}
|
|
1080
1096
|
export interface DescribeGameSessionPlacementOutput {
|
|
1081
1097
|
GameSessionPlacement?: GameSessionPlacement | undefined;
|
|
@@ -1138,6 +1154,7 @@ export interface GameSessionConnectionInfo {
|
|
|
1138
1154
|
DnsName?: string | undefined;
|
|
1139
1155
|
Port?: number | undefined;
|
|
1140
1156
|
MatchedPlayerSessions?: MatchedPlayerSession[] | undefined;
|
|
1157
|
+
PlayerGatewayStatus?: PlayerGatewayStatus | undefined;
|
|
1141
1158
|
}
|
|
1142
1159
|
export interface Player {
|
|
1143
1160
|
PlayerId?: string | undefined;
|
|
@@ -1310,6 +1327,24 @@ export interface InstanceAccess {
|
|
|
1310
1327
|
export interface GetInstanceAccessOutput {
|
|
1311
1328
|
InstanceAccess?: InstanceAccess | undefined;
|
|
1312
1329
|
}
|
|
1330
|
+
export interface GetPlayerConnectionDetailsInput {
|
|
1331
|
+
GameSessionId: string | undefined;
|
|
1332
|
+
PlayerIds: string[] | undefined;
|
|
1333
|
+
}
|
|
1334
|
+
export interface PlayerConnectionEndpoint {
|
|
1335
|
+
IpAddress?: string | undefined;
|
|
1336
|
+
Port?: number | undefined;
|
|
1337
|
+
}
|
|
1338
|
+
export interface PlayerConnectionDetail {
|
|
1339
|
+
PlayerId?: string | undefined;
|
|
1340
|
+
Endpoints?: PlayerConnectionEndpoint[] | undefined;
|
|
1341
|
+
PlayerGatewayToken?: string | undefined;
|
|
1342
|
+
Expiration?: Date | undefined;
|
|
1343
|
+
}
|
|
1344
|
+
export interface GetPlayerConnectionDetailsOutput {
|
|
1345
|
+
GameSessionId?: string | undefined;
|
|
1346
|
+
PlayerConnectionDetails?: PlayerConnectionDetail[] | undefined;
|
|
1347
|
+
}
|
|
1313
1348
|
export interface ListAliasesInput {
|
|
1314
1349
|
RoutingStrategyType?: RoutingStrategyType | undefined;
|
|
1315
1350
|
Name?: string | undefined;
|
|
@@ -1632,35 +1667,3 @@ export interface UpdateContainerGroupDefinitionInput {
|
|
|
1632
1667
|
export interface UpdateContainerGroupDefinitionOutput {
|
|
1633
1668
|
ContainerGroupDefinition?: ContainerGroupDefinition | undefined;
|
|
1634
1669
|
}
|
|
1635
|
-
export interface UpdateFleetAttributesInput {
|
|
1636
|
-
FleetId: string | undefined;
|
|
1637
|
-
Name?: string | undefined;
|
|
1638
|
-
Description?: string | undefined;
|
|
1639
|
-
NewGameSessionProtectionPolicy?: ProtectionPolicy | undefined;
|
|
1640
|
-
ResourceCreationLimitPolicy?: ResourceCreationLimitPolicy | undefined;
|
|
1641
|
-
MetricGroups?: string[] | undefined;
|
|
1642
|
-
AnywhereConfiguration?: AnywhereConfiguration | undefined;
|
|
1643
|
-
}
|
|
1644
|
-
export interface UpdateFleetAttributesOutput {
|
|
1645
|
-
FleetId?: string | undefined;
|
|
1646
|
-
FleetArn?: string | undefined;
|
|
1647
|
-
}
|
|
1648
|
-
export interface UpdateFleetCapacityInput {
|
|
1649
|
-
FleetId: string | undefined;
|
|
1650
|
-
DesiredInstances?: number | undefined;
|
|
1651
|
-
MinSize?: number | undefined;
|
|
1652
|
-
MaxSize?: number | undefined;
|
|
1653
|
-
Location?: string | undefined;
|
|
1654
|
-
ManagedCapacityConfiguration?: ManagedCapacityConfiguration | undefined;
|
|
1655
|
-
}
|
|
1656
|
-
export interface UpdateFleetCapacityOutput {
|
|
1657
|
-
FleetId?: string | undefined;
|
|
1658
|
-
FleetArn?: string | undefined;
|
|
1659
|
-
Location?: string | undefined;
|
|
1660
|
-
ManagedCapacityConfiguration?: ManagedCapacityConfiguration | undefined;
|
|
1661
|
-
}
|
|
1662
|
-
export interface UpdateFleetPortSettingsInput {
|
|
1663
|
-
FleetId: string | undefined;
|
|
1664
|
-
InboundPermissionAuthorizations?: IpPermission[] | undefined;
|
|
1665
|
-
InboundPermissionRevocations?: IpPermission[] | undefined;
|
|
1666
|
-
}
|
|
@@ -9,21 +9,57 @@ import {
|
|
|
9
9
|
ProtectionPolicy,
|
|
10
10
|
} from "./enums";
|
|
11
11
|
import {
|
|
12
|
+
AnywhereConfiguration,
|
|
12
13
|
FilterConfiguration,
|
|
13
14
|
GameServer,
|
|
14
15
|
GameServerGroup,
|
|
15
16
|
GameSession,
|
|
16
17
|
GameSessionQueue,
|
|
18
|
+
ManagedCapacityConfiguration,
|
|
17
19
|
MatchmakingConfiguration,
|
|
18
20
|
PriorityConfiguration,
|
|
21
|
+
ResourceCreationLimitPolicy,
|
|
19
22
|
RuntimeConfiguration,
|
|
20
23
|
S3Location,
|
|
21
24
|
Script,
|
|
22
25
|
GameProperty,
|
|
23
26
|
GameSessionQueueDestination,
|
|
24
27
|
InstanceDefinition,
|
|
28
|
+
IpPermission,
|
|
25
29
|
PlayerLatencyPolicy,
|
|
26
30
|
} from "./models_0";
|
|
31
|
+
export interface UpdateFleetAttributesInput {
|
|
32
|
+
FleetId: string | undefined;
|
|
33
|
+
Name?: string | undefined;
|
|
34
|
+
Description?: string | undefined;
|
|
35
|
+
NewGameSessionProtectionPolicy?: ProtectionPolicy | undefined;
|
|
36
|
+
ResourceCreationLimitPolicy?: ResourceCreationLimitPolicy | undefined;
|
|
37
|
+
MetricGroups?: string[] | undefined;
|
|
38
|
+
AnywhereConfiguration?: AnywhereConfiguration | undefined;
|
|
39
|
+
}
|
|
40
|
+
export interface UpdateFleetAttributesOutput {
|
|
41
|
+
FleetId?: string | undefined;
|
|
42
|
+
FleetArn?: string | undefined;
|
|
43
|
+
}
|
|
44
|
+
export interface UpdateFleetCapacityInput {
|
|
45
|
+
FleetId: string | undefined;
|
|
46
|
+
DesiredInstances?: number | undefined;
|
|
47
|
+
MinSize?: number | undefined;
|
|
48
|
+
MaxSize?: number | undefined;
|
|
49
|
+
Location?: string | undefined;
|
|
50
|
+
ManagedCapacityConfiguration?: ManagedCapacityConfiguration | undefined;
|
|
51
|
+
}
|
|
52
|
+
export interface UpdateFleetCapacityOutput {
|
|
53
|
+
FleetId?: string | undefined;
|
|
54
|
+
FleetArn?: string | undefined;
|
|
55
|
+
Location?: string | undefined;
|
|
56
|
+
ManagedCapacityConfiguration?: ManagedCapacityConfiguration | undefined;
|
|
57
|
+
}
|
|
58
|
+
export interface UpdateFleetPortSettingsInput {
|
|
59
|
+
FleetId: string | undefined;
|
|
60
|
+
InboundPermissionAuthorizations?: IpPermission[] | undefined;
|
|
61
|
+
InboundPermissionRevocations?: IpPermission[] | undefined;
|
|
62
|
+
}
|
|
27
63
|
export interface UpdateFleetPortSettingsOutput {
|
|
28
64
|
FleetId?: string | undefined;
|
|
29
65
|
FleetArn?: string | undefined;
|
|
@@ -206,6 +206,8 @@ export declare var GetGameSessionLogUrlInput$: StaticStructureSchema;
|
|
|
206
206
|
export declare var GetGameSessionLogUrlOutput$: StaticStructureSchema;
|
|
207
207
|
export declare var GetInstanceAccessInput$: StaticStructureSchema;
|
|
208
208
|
export declare var GetInstanceAccessOutput$: StaticStructureSchema;
|
|
209
|
+
export declare var GetPlayerConnectionDetailsInput$: StaticStructureSchema;
|
|
210
|
+
export declare var GetPlayerConnectionDetailsOutput$: StaticStructureSchema;
|
|
209
211
|
export declare var Instance$: StaticStructureSchema;
|
|
210
212
|
export declare var InstanceAccess$: StaticStructureSchema;
|
|
211
213
|
export declare var InstanceCredentials$: StaticStructureSchema;
|
|
@@ -252,6 +254,9 @@ export declare var MatchmakingTicket$: StaticStructureSchema;
|
|
|
252
254
|
export declare var PingBeacon$: StaticStructureSchema;
|
|
253
255
|
export declare var PlacedPlayerSession$: StaticStructureSchema;
|
|
254
256
|
export declare var Player$: StaticStructureSchema;
|
|
257
|
+
export declare var PlayerConnectionDetail$: StaticStructureSchema;
|
|
258
|
+
export declare var PlayerConnectionEndpoint$: StaticStructureSchema;
|
|
259
|
+
export declare var PlayerGatewayConfiguration$: StaticStructureSchema;
|
|
255
260
|
export declare var PlayerLatency$: StaticStructureSchema;
|
|
256
261
|
export declare var PlayerLatencyPolicy$: StaticStructureSchema;
|
|
257
262
|
export declare var PlayerSession$: StaticStructureSchema;
|
|
@@ -411,6 +416,7 @@ export declare var GetComputeAccess$: StaticOperationSchema;
|
|
|
411
416
|
export declare var GetComputeAuthToken$: StaticOperationSchema;
|
|
412
417
|
export declare var GetGameSessionLogUrl$: StaticOperationSchema;
|
|
413
418
|
export declare var GetInstanceAccess$: StaticOperationSchema;
|
|
419
|
+
export declare var GetPlayerConnectionDetails$: StaticOperationSchema;
|
|
414
420
|
export declare var ListAliases$: StaticOperationSchema;
|
|
415
421
|
export declare var ListBuilds$: StaticOperationSchema;
|
|
416
422
|
export declare var ListCompute$: StaticOperationSchema;
|