@aws-sdk/client-gamelift 3.1038.0 → 3.1040.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.
Files changed (28) hide show
  1. package/README.md +7 -0
  2. package/dist-cjs/index.js +14 -0
  3. package/dist-cjs/schemas/schemas_0.js +52 -10
  4. package/dist-es/GameLift.js +2 -0
  5. package/dist-es/commands/DescribeContainerGroupPortMappingsCommand.js +16 -0
  6. package/dist-es/commands/index.js +1 -0
  7. package/dist-es/schemas/schemas_0.js +42 -0
  8. package/dist-types/GameLift.d.ts +7 -0
  9. package/dist-types/GameLiftClient.d.ts +3 -2
  10. package/dist-types/commands/DescribeContainerGroupPortMappingsCommand.d.ts +160 -0
  11. package/dist-types/commands/DescribeEC2InstanceLimitsCommand.d.ts +15 -12
  12. package/dist-types/commands/SearchGameSessionsCommand.d.ts +2 -2
  13. package/dist-types/commands/UpdateContainerFleetCommand.d.ts +1 -1
  14. package/dist-types/commands/UpdateContainerGroupDefinitionCommand.d.ts +1 -1
  15. package/dist-types/commands/index.d.ts +1 -0
  16. package/dist-types/models/models_0.d.ts +212 -213
  17. package/dist-types/models/models_1.d.ts +202 -3
  18. package/dist-types/schemas/schemas_0.d.ts +5 -0
  19. package/dist-types/ts3.4/GameLift.d.ts +23 -0
  20. package/dist-types/ts3.4/GameLiftClient.d.ts +6 -0
  21. package/dist-types/ts3.4/commands/DescribeContainerGroupPortMappingsCommand.d.ts +51 -0
  22. package/dist-types/ts3.4/commands/UpdateContainerFleetCommand.d.ts +1 -1
  23. package/dist-types/ts3.4/commands/UpdateContainerGroupDefinitionCommand.d.ts +1 -1
  24. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  25. package/dist-types/ts3.4/models/models_0.d.ts +26 -35
  26. package/dist-types/ts3.4/models/models_1.d.ts +44 -0
  27. package/dist-types/ts3.4/schemas/schemas_0.d.ts +5 -0
  28. package/package.json +7 -7
@@ -1,5 +1,203 @@
1
- import type { BackfillMode, BalancingStrategy, FlexMatchMode, GameServerHealthCheck, GameServerProtectionPolicy, GameServerUtilizationStatus, PlayerSessionCreationPolicy, ProtectionPolicy } from "./enums";
2
- import type { AnywhereConfiguration, FilterConfiguration, GameProperty, GameServer, GameServerGroup, GameSession, GameSessionQueue, GameSessionQueueDestination, InstanceDefinition, IpPermission, ManagedCapacityConfiguration, MatchmakingConfiguration, PlayerLatencyPolicy, PriorityConfiguration, ResourceCreationLimitPolicy, RuntimeConfiguration, S3Location, Script } from "./models_0";
1
+ import type { BackfillMode, BalancingStrategy, ContainerFleetRemoveAttribute, ContainerOperatingSystem, FlexMatchMode, GameServerHealthCheck, GameServerProtectionPolicy, GameServerUtilizationStatus, PlayerSessionCreationPolicy, ProtectionPolicy } from "./enums";
2
+ import type { AnywhereConfiguration, ConnectionPortRange, ContainerFleet, ContainerGroupDefinition, DeploymentConfiguration, FilterConfiguration, GameProperty, GameServer, GameServerContainerDefinitionInput, GameServerGroup, GameSession, GameSessionCreationLimitPolicy, GameSessionQueue, GameSessionQueueDestination, InstanceDefinition, IpPermission, LogConfiguration, ManagedCapacityConfiguration, MatchmakingConfiguration, PlayerLatencyPolicy, PriorityConfiguration, ResourceCreationLimitPolicy, RuntimeConfiguration, S3Location, Script, SupportContainerDefinitionInput } from "./models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export interface UpdateContainerFleetInput {
7
+ /**
8
+ * <p>A unique identifier for the container fleet to update. You can use either the fleet ID
9
+ * or ARN value.</p>
10
+ * @public
11
+ */
12
+ FleetId: string | undefined;
13
+ /**
14
+ * <p>The name or ARN value of a new game server container group definition to deploy on the
15
+ * fleet. If you're updating the fleet to a specific version of a container group
16
+ * definition, use the ARN value and include the version number. If you're updating the
17
+ * fleet to the latest version of a container group definition, you can use the name value.
18
+ * You can't remove a fleet's game server container group definition, you can only update
19
+ * or replace it with another definition.</p>
20
+ * <p>Update a container group definition by calling
21
+ * <a href="https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateContainerGroupDefinition.html">UpdateContainerGroupDefinition</a>.
22
+ * This operation creates a
23
+ * <a href="https://docs.aws.amazon.com/gamelift/latest/apireference/API_ContainerGroupDefinition.html">ContainerGroupDefinition</a>
24
+ * resource with an incremented version. </p>
25
+ * @public
26
+ */
27
+ GameServerContainerGroupDefinitionName?: string | undefined;
28
+ /**
29
+ * <p>The name or ARN value of a new per-instance container group definition to deploy on
30
+ * the fleet. If you're updating the fleet to a specific version of a container group
31
+ * definition, use the ARN value and include the version number. If you're updating the
32
+ * fleet to the latest version of a container group definition, you can use the name
33
+ * value.</p>
34
+ * <p>Update a container group definition by calling
35
+ * <a href="https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateContainerGroupDefinition.html">UpdateContainerGroupDefinition</a>.
36
+ * This operation creates a
37
+ * <a href="https://docs.aws.amazon.com/gamelift/latest/apireference/API_ContainerGroupDefinition.html">ContainerGroupDefinition</a>
38
+ * resource with an incremented version. </p>
39
+ * <p>To remove a fleet's per-instance container group definition, leave this parameter empty
40
+ * and use the parameter <code>RemoveAttributes</code>.</p>
41
+ * @public
42
+ */
43
+ PerInstanceContainerGroupDefinitionName?: string | undefined;
44
+ /**
45
+ * <p>The number of times to replicate the game server container group on each fleet
46
+ * instance. By default, Amazon GameLift Servers calculates the maximum number of game server container
47
+ * groups that can fit on each instance. You can remove this property value to use the
48
+ * calculated value, or set it manually. If you set this number manually, Amazon GameLift Servers uses your
49
+ * value as long as it's less than the calculated maximum.</p>
50
+ * @public
51
+ */
52
+ GameServerContainerGroupsPerInstance?: number | undefined;
53
+ /**
54
+ * <p>A revised set of port numbers to open on each fleet instance. By default, Amazon GameLift Servers
55
+ * calculates an optimal port range based on your fleet configuration. If you previously
56
+ * set this parameter manually, you can't reset this to use the calculated settings.</p>
57
+ * <p>The port range must not overlap with the Amazon GameLift Servers reserved port range
58
+ * <code>4092-4191</code>. This range is reserved for internal Amazon GameLift Servers
59
+ * services.</p>
60
+ * @public
61
+ */
62
+ InstanceConnectionPortRange?: ConnectionPortRange | undefined;
63
+ /**
64
+ * <p>A set of ports to add to the container fleet's inbound permissions.</p>
65
+ * <p>The port range must not overlap with the Amazon GameLift Servers reserved port range
66
+ * <code>4092-4191</code>. This range is reserved for internal Amazon GameLift Servers
67
+ * services.</p>
68
+ * @public
69
+ */
70
+ InstanceInboundPermissionAuthorizations?: IpPermission[] | undefined;
71
+ /**
72
+ * <p>A set of ports to remove from the container fleet's inbound permissions.</p>
73
+ * @public
74
+ */
75
+ InstanceInboundPermissionRevocations?: IpPermission[] | undefined;
76
+ /**
77
+ * <p>Instructions for how to deploy updates to a container fleet, if the fleet update
78
+ * initiates a deployment. The deployment configuration lets you determine how to replace
79
+ * fleet instances and what actions to take if the deployment fails.</p>
80
+ * @public
81
+ */
82
+ DeploymentConfiguration?: DeploymentConfiguration | undefined;
83
+ /**
84
+ * <p>A meaningful description of the container fleet.</p>
85
+ * @public
86
+ */
87
+ Description?: string | undefined;
88
+ /**
89
+ * <p>The name of an Amazon Web Services CloudWatch metric group to add this fleet to. </p>
90
+ * @public
91
+ */
92
+ MetricGroups?: string[] | undefined;
93
+ /**
94
+ * <p>The game session protection policy to apply to all new game sessions that are started
95
+ * in this fleet. Game sessions that already exist are not affected. </p>
96
+ * @public
97
+ */
98
+ NewGameSessionProtectionPolicy?: ProtectionPolicy | undefined;
99
+ /**
100
+ * <p>A policy that limits the number of game sessions that each individual player can create
101
+ * on instances in this fleet. The limit applies for a specified span of time.</p>
102
+ * @public
103
+ */
104
+ GameSessionCreationLimitPolicy?: GameSessionCreationLimitPolicy | undefined;
105
+ /**
106
+ * <p>The method for collecting container logs for the fleet. </p>
107
+ * @public
108
+ */
109
+ LogConfiguration?: LogConfiguration | undefined;
110
+ /**
111
+ * <p>If set, this update removes a fleet's per-instance container group definition. You
112
+ * can't remove a fleet's game server container group definition.</p>
113
+ * @public
114
+ */
115
+ RemoveAttributes?: ContainerFleetRemoveAttribute[] | undefined;
116
+ }
117
+ /**
118
+ * @public
119
+ */
120
+ export interface UpdateContainerFleetOutput {
121
+ /**
122
+ * <p>A collection of container fleet objects for all fleets that match the request
123
+ * criteria.</p>
124
+ * @public
125
+ */
126
+ ContainerFleet?: ContainerFleet | undefined;
127
+ }
128
+ /**
129
+ * @public
130
+ */
131
+ export interface UpdateContainerGroupDefinitionInput {
132
+ /**
133
+ * <p>A descriptive identifier for the container group definition. The name value must be unique in an Amazon Web Services Region.</p>
134
+ * @public
135
+ */
136
+ Name: string | undefined;
137
+ /**
138
+ * <p>An updated definition for the game server container in this group. Define a game server
139
+ * container only when the container group type is <code>GAME_SERVER</code>. You can pass in your
140
+ * container definitions as a JSON file.</p>
141
+ * @public
142
+ */
143
+ GameServerContainerDefinition?: GameServerContainerDefinitionInput | undefined;
144
+ /**
145
+ * <p>One or more definitions for support containers in this group. You can define a support
146
+ * container in any type of container group. You can pass in your container definitions as a JSON
147
+ * file.</p>
148
+ * @public
149
+ */
150
+ SupportContainerDefinitions?: SupportContainerDefinitionInput[] | undefined;
151
+ /**
152
+ * <p>The maximum amount of memory (in MiB) to allocate to the container group. All containers in
153
+ * the group share this memory. If you specify memory limits for an individual container, the
154
+ * total value must be greater than any individual container's memory limit.</p>
155
+ * @public
156
+ */
157
+ TotalMemoryLimitMebibytes?: number | undefined;
158
+ /**
159
+ * <p>The maximum amount of vCPU units to allocate to the container group (1 vCPU is equal to 1024
160
+ * CPU units). All containers in the group share this memory. If you specify vCPU limits for
161
+ * individual containers, the total value must be equal to or greater than the sum of the CPU
162
+ * limits for all containers in the group.</p>
163
+ * @public
164
+ */
165
+ TotalVcpuLimit?: number | undefined;
166
+ /**
167
+ * <p>A description for this update to the container group definition. </p>
168
+ * @public
169
+ */
170
+ VersionDescription?: string | undefined;
171
+ /**
172
+ * <p>The container group definition version to update. The new version starts with values from
173
+ * the source version, and then updates values included in this request. </p>
174
+ * @public
175
+ */
176
+ SourceVersionNumber?: number | undefined;
177
+ /**
178
+ * <p>The platform that all containers in the group use. Containers in a group must run on the
179
+ * same operating system.</p>
180
+ * <note>
181
+ * <p>Amazon Linux 2 (AL2) will reach end of support on 6/30/2026. See more details in the <a href="http://aws.amazon.com/amazon-linux-2/faqs/">Amazon Linux 2 FAQs</a>. For game
182
+ * servers that are hosted on AL2 and use server SDK version 4.x for Amazon GameLift Servers, first update the game
183
+ * server build to server SDK 5.x, and then deploy to AL2023 instances. See <a href="https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-serversdk5-migration.html"> Migrate to
184
+ * server SDK version 5.</a>
185
+ * </p>
186
+ * </note>
187
+ * @public
188
+ */
189
+ OperatingSystem?: ContainerOperatingSystem | undefined;
190
+ }
191
+ /**
192
+ * @public
193
+ */
194
+ export interface UpdateContainerGroupDefinitionOutput {
195
+ /**
196
+ * <p>The properties of the updated container group definition version.</p>
197
+ * @public
198
+ */
199
+ ContainerGroupDefinition?: ContainerGroupDefinition | undefined;
200
+ }
3
201
  /**
4
202
  * @public
5
203
  */
@@ -310,7 +508,8 @@ export interface UpdateGameServerGroupOutput {
310
508
  */
311
509
  export interface UpdateGameSessionInput {
312
510
  /**
313
- * <p>A unique identifier for the game session to update. </p>
511
+ * <p>An identifier for the game session that is unique across all regions to update. The value is always a full ARN in the following format:
512
+ * <code>arn:aws:gamelift:<location>::gamesession/<fleet ID>/<ID string></code>.</p>
314
513
  * @public
315
514
  */
316
515
  GameSessionId: string | undefined;
@@ -42,10 +42,12 @@ export declare var ContainerEnvironment$: StaticStructureSchema;
42
42
  export declare var ContainerFleet$: StaticStructureSchema;
43
43
  export declare var ContainerFleetLocationAttributes$: StaticStructureSchema;
44
44
  export declare var ContainerGroupDefinition$: StaticStructureSchema;
45
+ export declare var ContainerGroupPortMapping$: StaticStructureSchema;
45
46
  export declare var ContainerHealthCheck$: StaticStructureSchema;
46
47
  export declare var ContainerIdentifier$: StaticStructureSchema;
47
48
  export declare var ContainerMountPoint$: StaticStructureSchema;
48
49
  export declare var ContainerPortConfiguration$: StaticStructureSchema;
50
+ export declare var ContainerPortMapping$: StaticStructureSchema;
49
51
  export declare var ContainerPortRange$: StaticStructureSchema;
50
52
  export declare var CreateAliasInput$: StaticStructureSchema;
51
53
  export declare var CreateAliasOutput$: StaticStructureSchema;
@@ -121,6 +123,8 @@ export declare var DescribeContainerFleetInput$: StaticStructureSchema;
121
123
  export declare var DescribeContainerFleetOutput$: StaticStructureSchema;
122
124
  export declare var DescribeContainerGroupDefinitionInput$: StaticStructureSchema;
123
125
  export declare var DescribeContainerGroupDefinitionOutput$: StaticStructureSchema;
126
+ export declare var DescribeContainerGroupPortMappingsInput$: StaticStructureSchema;
127
+ export declare var DescribeContainerGroupPortMappingsOutput$: StaticStructureSchema;
124
128
  export declare var DescribeEC2InstanceLimitsInput$: StaticStructureSchema;
125
129
  export declare var DescribeEC2InstanceLimitsOutput$: StaticStructureSchema;
126
130
  export declare var DescribeFleetAttributesInput$: StaticStructureSchema;
@@ -386,6 +390,7 @@ export declare var DescribeBuild$: StaticOperationSchema;
386
390
  export declare var DescribeCompute$: StaticOperationSchema;
387
391
  export declare var DescribeContainerFleet$: StaticOperationSchema;
388
392
  export declare var DescribeContainerGroupDefinition$: StaticOperationSchema;
393
+ export declare var DescribeContainerGroupPortMappings$: StaticOperationSchema;
389
394
  export declare var DescribeEC2InstanceLimits$: StaticOperationSchema;
390
395
  export declare var DescribeFleetAttributes$: StaticOperationSchema;
391
396
  export declare var DescribeFleetCapacity$: StaticOperationSchema;
@@ -167,6 +167,10 @@ import {
167
167
  DescribeContainerGroupDefinitionCommandInput,
168
168
  DescribeContainerGroupDefinitionCommandOutput,
169
169
  } from "./commands/DescribeContainerGroupDefinitionCommand";
170
+ import {
171
+ DescribeContainerGroupPortMappingsCommandInput,
172
+ DescribeContainerGroupPortMappingsCommandOutput,
173
+ } from "./commands/DescribeContainerGroupPortMappingsCommand";
170
174
  import {
171
175
  DescribeEC2InstanceLimitsCommandInput,
172
176
  DescribeEC2InstanceLimitsCommandOutput,
@@ -1016,6 +1020,25 @@ export interface GameLift {
1016
1020
  options: __HttpHandlerOptions,
1017
1021
  cb: (err: any, data?: DescribeContainerGroupDefinitionCommandOutput) => void
1018
1022
  ): void;
1023
+ describeContainerGroupPortMappings(
1024
+ args: DescribeContainerGroupPortMappingsCommandInput,
1025
+ options?: __HttpHandlerOptions
1026
+ ): Promise<DescribeContainerGroupPortMappingsCommandOutput>;
1027
+ describeContainerGroupPortMappings(
1028
+ args: DescribeContainerGroupPortMappingsCommandInput,
1029
+ cb: (
1030
+ err: any,
1031
+ data?: DescribeContainerGroupPortMappingsCommandOutput
1032
+ ) => void
1033
+ ): void;
1034
+ describeContainerGroupPortMappings(
1035
+ args: DescribeContainerGroupPortMappingsCommandInput,
1036
+ options: __HttpHandlerOptions,
1037
+ cb: (
1038
+ err: any,
1039
+ data?: DescribeContainerGroupPortMappingsCommandOutput
1040
+ ) => void
1041
+ ): void;
1019
1042
  describeEC2InstanceLimits(): Promise<DescribeEC2InstanceLimitsCommandOutput>;
1020
1043
  describeEC2InstanceLimits(
1021
1044
  args: DescribeEC2InstanceLimitsCommandInput,
@@ -208,6 +208,10 @@ import {
208
208
  DescribeContainerGroupDefinitionCommandInput,
209
209
  DescribeContainerGroupDefinitionCommandOutput,
210
210
  } from "./commands/DescribeContainerGroupDefinitionCommand";
211
+ import {
212
+ DescribeContainerGroupPortMappingsCommandInput,
213
+ DescribeContainerGroupPortMappingsCommandOutput,
214
+ } from "./commands/DescribeContainerGroupPortMappingsCommand";
211
215
  import {
212
216
  DescribeEC2InstanceLimitsCommandInput,
213
217
  DescribeEC2InstanceLimitsCommandOutput,
@@ -569,6 +573,7 @@ export type ServiceInputTypes =
569
573
  | DescribeComputeCommandInput
570
574
  | DescribeContainerFleetCommandInput
571
575
  | DescribeContainerGroupDefinitionCommandInput
576
+ | DescribeContainerGroupPortMappingsCommandInput
572
577
  | DescribeEC2InstanceLimitsCommandInput
573
578
  | DescribeFleetAttributesCommandInput
574
579
  | DescribeFleetCapacityCommandInput
@@ -689,6 +694,7 @@ export type ServiceOutputTypes =
689
694
  | DescribeComputeCommandOutput
690
695
  | DescribeContainerFleetCommandOutput
691
696
  | DescribeContainerGroupDefinitionCommandOutput
697
+ | DescribeContainerGroupPortMappingsCommandOutput
692
698
  | DescribeEC2InstanceLimitsCommandOutput
693
699
  | DescribeFleetAttributesCommandOutput
694
700
  | DescribeFleetCapacityCommandOutput
@@ -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
+ DescribeContainerGroupPortMappingsInput,
10
+ DescribeContainerGroupPortMappingsOutput,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DescribeContainerGroupPortMappingsCommandInput
15
+ extends DescribeContainerGroupPortMappingsInput {}
16
+ export interface DescribeContainerGroupPortMappingsCommandOutput
17
+ extends DescribeContainerGroupPortMappingsOutput,
18
+ __MetadataBearer {}
19
+ declare const DescribeContainerGroupPortMappingsCommand_base: {
20
+ new (
21
+ input: DescribeContainerGroupPortMappingsCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DescribeContainerGroupPortMappingsCommandInput,
24
+ DescribeContainerGroupPortMappingsCommandOutput,
25
+ GameLiftClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: DescribeContainerGroupPortMappingsCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DescribeContainerGroupPortMappingsCommandInput,
33
+ DescribeContainerGroupPortMappingsCommandOutput,
34
+ GameLiftClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DescribeContainerGroupPortMappingsCommand extends DescribeContainerGroupPortMappingsCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: DescribeContainerGroupPortMappingsInput;
44
+ output: DescribeContainerGroupPortMappingsOutput;
45
+ };
46
+ sdk: {
47
+ input: DescribeContainerGroupPortMappingsCommandInput;
48
+ output: DescribeContainerGroupPortMappingsCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  UpdateContainerFleetInput,
10
10
  UpdateContainerFleetOutput,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface UpdateContainerFleetCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  UpdateContainerGroupDefinitionInput,
10
10
  UpdateContainerGroupDefinitionOutput,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface UpdateContainerGroupDefinitionCommandInput
@@ -39,6 +39,7 @@ export * from "./DescribeBuildCommand";
39
39
  export * from "./DescribeComputeCommand";
40
40
  export * from "./DescribeContainerFleetCommand";
41
41
  export * from "./DescribeContainerGroupDefinitionCommand";
42
+ export * from "./DescribeContainerGroupPortMappingsCommand";
42
43
  export * from "./DescribeEC2InstanceLimitsCommand";
43
44
  export * from "./DescribeFleetAttributesCommand";
44
45
  export * from "./DescribeFleetCapacityCommand";
@@ -10,7 +10,6 @@ import {
10
10
  ContainerDependencyCondition,
11
11
  ContainerFleetBillingType,
12
12
  ContainerFleetLocationStatus,
13
- ContainerFleetRemoveAttribute,
14
13
  ContainerFleetStatus,
15
14
  ContainerGroupDefinitionStatus,
16
15
  ContainerGroupType,
@@ -276,6 +275,16 @@ export interface ContainerGroupDefinition {
276
275
  Status?: ContainerGroupDefinitionStatus | undefined;
277
276
  StatusReason?: string | undefined;
278
277
  }
278
+ export interface ContainerPortMapping {
279
+ ContainerPort?: number | undefined;
280
+ ConnectionPort?: number | undefined;
281
+ Protocol?: IpProtocol | undefined;
282
+ }
283
+ export interface ContainerGroupPortMapping {
284
+ ContainerName?: string | undefined;
285
+ ContainerRuntimeId?: string | undefined;
286
+ ContainerPortMappings?: ContainerPortMapping[] | undefined;
287
+ }
279
288
  export interface ContainerIdentifier {
280
289
  ContainerName?: string | undefined;
281
290
  ContainerRuntimeId?: string | undefined;
@@ -849,6 +858,22 @@ export interface DescribeContainerGroupDefinitionInput {
849
858
  export interface DescribeContainerGroupDefinitionOutput {
850
859
  ContainerGroupDefinition?: ContainerGroupDefinition | undefined;
851
860
  }
861
+ export interface DescribeContainerGroupPortMappingsInput {
862
+ FleetId: string | undefined;
863
+ ContainerGroupType: ContainerGroupType | undefined;
864
+ ComputeName?: string | undefined;
865
+ InstanceId?: string | undefined;
866
+ ContainerName?: string | undefined;
867
+ }
868
+ export interface DescribeContainerGroupPortMappingsOutput {
869
+ FleetId?: string | undefined;
870
+ Location?: string | undefined;
871
+ ContainerGroupDefinitionArn?: string | undefined;
872
+ ContainerGroupType?: ContainerGroupType | undefined;
873
+ ComputeName?: string | undefined;
874
+ InstanceId?: string | undefined;
875
+ ContainerGroupPortMappings?: ContainerGroupPortMapping[] | undefined;
876
+ }
852
877
  export interface DescribeEC2InstanceLimitsInput {
853
878
  EC2InstanceType?: EC2InstanceType | undefined;
854
879
  Location?: string | undefined;
@@ -1634,37 +1659,3 @@ export interface UpdateBuildInput {
1634
1659
  export interface UpdateBuildOutput {
1635
1660
  Build?: Build | undefined;
1636
1661
  }
1637
- export interface UpdateContainerFleetInput {
1638
- FleetId: string | undefined;
1639
- GameServerContainerGroupDefinitionName?: string | undefined;
1640
- PerInstanceContainerGroupDefinitionName?: string | undefined;
1641
- GameServerContainerGroupsPerInstance?: number | undefined;
1642
- InstanceConnectionPortRange?: ConnectionPortRange | undefined;
1643
- InstanceInboundPermissionAuthorizations?: IpPermission[] | undefined;
1644
- InstanceInboundPermissionRevocations?: IpPermission[] | undefined;
1645
- DeploymentConfiguration?: DeploymentConfiguration | undefined;
1646
- Description?: string | undefined;
1647
- MetricGroups?: string[] | undefined;
1648
- NewGameSessionProtectionPolicy?: ProtectionPolicy | undefined;
1649
- GameSessionCreationLimitPolicy?: GameSessionCreationLimitPolicy | undefined;
1650
- LogConfiguration?: LogConfiguration | undefined;
1651
- RemoveAttributes?: ContainerFleetRemoveAttribute[] | undefined;
1652
- }
1653
- export interface UpdateContainerFleetOutput {
1654
- ContainerFleet?: ContainerFleet | undefined;
1655
- }
1656
- export interface UpdateContainerGroupDefinitionInput {
1657
- Name: string | undefined;
1658
- GameServerContainerDefinition?:
1659
- | GameServerContainerDefinitionInput
1660
- | undefined;
1661
- SupportContainerDefinitions?: SupportContainerDefinitionInput[] | undefined;
1662
- TotalMemoryLimitMebibytes?: number | undefined;
1663
- TotalVcpuLimit?: number | undefined;
1664
- VersionDescription?: string | undefined;
1665
- SourceVersionNumber?: number | undefined;
1666
- OperatingSystem?: ContainerOperatingSystem | undefined;
1667
- }
1668
- export interface UpdateContainerGroupDefinitionOutput {
1669
- ContainerGroupDefinition?: ContainerGroupDefinition | undefined;
1670
- }
@@ -1,6 +1,8 @@
1
1
  import {
2
2
  BackfillMode,
3
3
  BalancingStrategy,
4
+ ContainerFleetRemoveAttribute,
5
+ ContainerOperatingSystem,
4
6
  FlexMatchMode,
5
7
  GameServerHealthCheck,
6
8
  GameServerProtectionPolicy,
@@ -10,15 +12,22 @@ import {
10
12
  } from "./enums";
11
13
  import {
12
14
  AnywhereConfiguration,
15
+ ConnectionPortRange,
16
+ ContainerFleet,
17
+ ContainerGroupDefinition,
18
+ DeploymentConfiguration,
13
19
  FilterConfiguration,
14
20
  GameProperty,
15
21
  GameServer,
22
+ GameServerContainerDefinitionInput,
16
23
  GameServerGroup,
17
24
  GameSession,
25
+ GameSessionCreationLimitPolicy,
18
26
  GameSessionQueue,
19
27
  GameSessionQueueDestination,
20
28
  InstanceDefinition,
21
29
  IpPermission,
30
+ LogConfiguration,
22
31
  ManagedCapacityConfiguration,
23
32
  MatchmakingConfiguration,
24
33
  PlayerLatencyPolicy,
@@ -27,7 +36,42 @@ import {
27
36
  RuntimeConfiguration,
28
37
  S3Location,
29
38
  Script,
39
+ SupportContainerDefinitionInput,
30
40
  } from "./models_0";
41
+ export interface UpdateContainerFleetInput {
42
+ FleetId: string | undefined;
43
+ GameServerContainerGroupDefinitionName?: string | undefined;
44
+ PerInstanceContainerGroupDefinitionName?: string | undefined;
45
+ GameServerContainerGroupsPerInstance?: number | undefined;
46
+ InstanceConnectionPortRange?: ConnectionPortRange | undefined;
47
+ InstanceInboundPermissionAuthorizations?: IpPermission[] | undefined;
48
+ InstanceInboundPermissionRevocations?: IpPermission[] | undefined;
49
+ DeploymentConfiguration?: DeploymentConfiguration | undefined;
50
+ Description?: string | undefined;
51
+ MetricGroups?: string[] | undefined;
52
+ NewGameSessionProtectionPolicy?: ProtectionPolicy | undefined;
53
+ GameSessionCreationLimitPolicy?: GameSessionCreationLimitPolicy | undefined;
54
+ LogConfiguration?: LogConfiguration | undefined;
55
+ RemoveAttributes?: ContainerFleetRemoveAttribute[] | undefined;
56
+ }
57
+ export interface UpdateContainerFleetOutput {
58
+ ContainerFleet?: ContainerFleet | undefined;
59
+ }
60
+ export interface UpdateContainerGroupDefinitionInput {
61
+ Name: string | undefined;
62
+ GameServerContainerDefinition?:
63
+ | GameServerContainerDefinitionInput
64
+ | undefined;
65
+ SupportContainerDefinitions?: SupportContainerDefinitionInput[] | undefined;
66
+ TotalMemoryLimitMebibytes?: number | undefined;
67
+ TotalVcpuLimit?: number | undefined;
68
+ VersionDescription?: string | undefined;
69
+ SourceVersionNumber?: number | undefined;
70
+ OperatingSystem?: ContainerOperatingSystem | undefined;
71
+ }
72
+ export interface UpdateContainerGroupDefinitionOutput {
73
+ ContainerGroupDefinition?: ContainerGroupDefinition | undefined;
74
+ }
31
75
  export interface UpdateFleetAttributesInput {
32
76
  FleetId: string | undefined;
33
77
  Name?: string | undefined;
@@ -41,10 +41,12 @@ export declare var ContainerEnvironment$: StaticStructureSchema;
41
41
  export declare var ContainerFleet$: StaticStructureSchema;
42
42
  export declare var ContainerFleetLocationAttributes$: StaticStructureSchema;
43
43
  export declare var ContainerGroupDefinition$: StaticStructureSchema;
44
+ export declare var ContainerGroupPortMapping$: StaticStructureSchema;
44
45
  export declare var ContainerHealthCheck$: StaticStructureSchema;
45
46
  export declare var ContainerIdentifier$: StaticStructureSchema;
46
47
  export declare var ContainerMountPoint$: StaticStructureSchema;
47
48
  export declare var ContainerPortConfiguration$: StaticStructureSchema;
49
+ export declare var ContainerPortMapping$: StaticStructureSchema;
48
50
  export declare var ContainerPortRange$: StaticStructureSchema;
49
51
  export declare var CreateAliasInput$: StaticStructureSchema;
50
52
  export declare var CreateAliasOutput$: StaticStructureSchema;
@@ -120,6 +122,8 @@ export declare var DescribeContainerFleetInput$: StaticStructureSchema;
120
122
  export declare var DescribeContainerFleetOutput$: StaticStructureSchema;
121
123
  export declare var DescribeContainerGroupDefinitionInput$: StaticStructureSchema;
122
124
  export declare var DescribeContainerGroupDefinitionOutput$: StaticStructureSchema;
125
+ export declare var DescribeContainerGroupPortMappingsInput$: StaticStructureSchema;
126
+ export declare var DescribeContainerGroupPortMappingsOutput$: StaticStructureSchema;
123
127
  export declare var DescribeEC2InstanceLimitsInput$: StaticStructureSchema;
124
128
  export declare var DescribeEC2InstanceLimitsOutput$: StaticStructureSchema;
125
129
  export declare var DescribeFleetAttributesInput$: StaticStructureSchema;
@@ -385,6 +389,7 @@ export declare var DescribeBuild$: StaticOperationSchema;
385
389
  export declare var DescribeCompute$: StaticOperationSchema;
386
390
  export declare var DescribeContainerFleet$: StaticOperationSchema;
387
391
  export declare var DescribeContainerGroupDefinition$: StaticOperationSchema;
392
+ export declare var DescribeContainerGroupPortMappings$: StaticOperationSchema;
388
393
  export declare var DescribeEC2InstanceLimits$: StaticOperationSchema;
389
394
  export declare var DescribeFleetAttributes$: StaticOperationSchema;
390
395
  export declare var DescribeFleetCapacity$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-gamelift",
3
3
  "description": "AWS SDK for JavaScript Gamelift Client for Node.js, Browser and React Native",
4
- "version": "3.1038.0",
4
+ "version": "3.1040.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-gamelift",
@@ -23,17 +23,17 @@
23
23
  "dependencies": {
24
24
  "@aws-crypto/sha256-browser": "5.2.0",
25
25
  "@aws-crypto/sha256-js": "5.2.0",
26
- "@aws-sdk/core": "^3.974.6",
27
- "@aws-sdk/credential-provider-node": "^3.972.37",
26
+ "@aws-sdk/core": "^3.974.7",
27
+ "@aws-sdk/credential-provider-node": "^3.972.38",
28
28
  "@aws-sdk/middleware-host-header": "^3.972.10",
29
29
  "@aws-sdk/middleware-logger": "^3.972.10",
30
30
  "@aws-sdk/middleware-recursion-detection": "^3.972.11",
31
- "@aws-sdk/middleware-user-agent": "^3.972.36",
31
+ "@aws-sdk/middleware-user-agent": "^3.972.37",
32
32
  "@aws-sdk/region-config-resolver": "^3.972.13",
33
33
  "@aws-sdk/types": "^3.973.8",
34
34
  "@aws-sdk/util-endpoints": "^3.996.8",
35
35
  "@aws-sdk/util-user-agent-browser": "^3.972.10",
36
- "@aws-sdk/util-user-agent-node": "^3.973.22",
36
+ "@aws-sdk/util-user-agent-node": "^3.973.23",
37
37
  "@smithy/config-resolver": "^4.4.17",
38
38
  "@smithy/core": "^3.23.17",
39
39
  "@smithy/fetch-http-handler": "^5.3.17",
@@ -41,7 +41,7 @@
41
41
  "@smithy/invalid-dependency": "^4.2.14",
42
42
  "@smithy/middleware-content-length": "^4.2.14",
43
43
  "@smithy/middleware-endpoint": "^4.4.32",
44
- "@smithy/middleware-retry": "^4.5.6",
44
+ "@smithy/middleware-retry": "^4.5.7",
45
45
  "@smithy/middleware-serde": "^4.2.20",
46
46
  "@smithy/middleware-stack": "^4.2.14",
47
47
  "@smithy/node-config-provider": "^4.3.14",
@@ -57,7 +57,7 @@
57
57
  "@smithy/util-defaults-mode-node": "^4.2.54",
58
58
  "@smithy/util-endpoints": "^3.4.2",
59
59
  "@smithy/util-middleware": "^4.2.14",
60
- "@smithy/util-retry": "^4.3.5",
60
+ "@smithy/util-retry": "^4.3.6",
61
61
  "@smithy/util-utf8": "^4.2.2",
62
62
  "tslib": "^2.6.2"
63
63
  },