@aws-sdk/client-gamelift 3.1147.0 → 3.1149.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 (42) hide show
  1. package/dist-cjs/index.js +30 -9
  2. package/dist-es/models/GameLiftServiceException.js +1 -0
  3. package/dist-es/models/enums.js +3 -0
  4. package/dist-es/models/errors.js +16 -0
  5. package/dist-es/schemas/schemas_0.js +9 -8
  6. package/dist-types/commands/AcceptMatchCommand.d.ts +1 -1
  7. package/dist-types/commands/CreateContainerGroupDefinitionCommand.d.ts +5 -4
  8. package/dist-types/commands/CreateFleetLocationsCommand.d.ts +1 -1
  9. package/dist-types/commands/CreateGameSessionCommand.d.ts +1 -1
  10. package/dist-types/commands/CreateMatchmakingConfigurationCommand.d.ts +1 -1
  11. package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +1 -1
  12. package/dist-types/commands/DeleteFleetLocationsCommand.d.ts +1 -1
  13. package/dist-types/commands/DeleteVpcPeeringConnectionCommand.d.ts +1 -1
  14. package/dist-types/commands/DeregisterComputeCommand.d.ts +1 -1
  15. package/dist-types/commands/DescribeContainerFleetCommand.d.ts +1 -1
  16. package/dist-types/commands/DescribeContainerGroupDefinitionCommand.d.ts +1 -0
  17. package/dist-types/commands/DescribeFleetAttributesCommand.d.ts +1 -1
  18. package/dist-types/commands/DescribeGameSessionDetailsCommand.d.ts +1 -1
  19. package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -1
  20. package/dist-types/commands/ListContainerGroupDefinitionVersionsCommand.d.ts +1 -0
  21. package/dist-types/commands/ListContainerGroupDefinitionsCommand.d.ts +1 -0
  22. package/dist-types/commands/ListFleetsCommand.d.ts +1 -1
  23. package/dist-types/commands/ListGameServerGroupsCommand.d.ts +1 -1
  24. package/dist-types/commands/SearchGameSessionsCommand.d.ts +1 -1
  25. package/dist-types/commands/StartGameSessionPlacementCommand.d.ts +2 -2
  26. package/dist-types/commands/StartMatchBackfillCommand.d.ts +1 -1
  27. package/dist-types/commands/StopGameSessionPlacementCommand.d.ts +1 -1
  28. package/dist-types/commands/UpdateContainerFleetCommand.d.ts +2 -2
  29. package/dist-types/commands/UpdateContainerGroupDefinitionCommand.d.ts +13 -1
  30. package/dist-types/commands/UpdateFleetAttributesCommand.d.ts +1 -1
  31. package/dist-types/commands/UpdateGameServerCommand.d.ts +1 -1
  32. package/dist-types/models/GameLiftServiceException.d.ts +1 -0
  33. package/dist-types/models/enums.d.ts +11 -0
  34. package/dist-types/models/errors.d.ts +16 -0
  35. package/dist-types/models/models_0.d.ts +129 -78
  36. package/dist-types/models/models_1.d.ts +28 -9
  37. package/dist-types/ts3.4/models/GameLiftServiceException.d.ts +1 -0
  38. package/dist-types/ts3.4/models/enums.d.ts +5 -0
  39. package/dist-types/ts3.4/models/errors.d.ts +16 -0
  40. package/dist-types/ts3.4/models/models_0.d.ts +3 -1
  41. package/dist-types/ts3.4/models/models_1.d.ts +2 -0
  42. package/package.json +4 -4
@@ -30,7 +30,7 @@ declare const StartMatchBackfillCommand_base: {
30
30
  * match process is essentially identical to the process of forming new matches. Backfill
31
31
  * requests use the same matchmaker that was used to make the original match, and they
32
32
  * provide matchmaking data for all players currently in the game session. FlexMatch uses
33
- * this information to select new players so that backfilled match continues to meet the
33
+ * this information to select new players so that the backfilled match continues to meet the
34
34
  * original match requirements. </p>
35
35
  * <p>When using FlexMatch with Amazon GameLift Servers managed hosting, you can request a backfill match from
36
36
  * a client service by calling this operation with a <code>GameSessions</code> ID. You also
@@ -31,7 +31,7 @@ declare const StopGameSessionPlacementCommand_base: {
31
31
  * <p>Results</p>
32
32
  * <p>If successful, this operation removes the placement request from the queue and moves
33
33
  * the <code>GameSessionPlacement</code> to <code>CANCELLED</code> status.</p>
34
- * <p>This operation results in an <code>InvalidRequestExecption</code> (400) error if a
34
+ * <p>This operation results in an <code>InvalidRequestException</code> (400) error if a
35
35
  * game session has already been created for this placement. You can clean up an unneeded
36
36
  * game session by calling <a href="https://docs.aws.amazon.com/gamelift/latest/apireference/API_TerminateGameSession">TerminateGameSession</a>.</p>
37
37
  * @example
@@ -31,7 +31,7 @@ declare const UpdateContainerFleetCommand_base: {
31
31
  * 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>
32
32
  * <note>
33
33
  * <p>A managed fleet's runtime environment, which depends on the fleet's
34
- * Amazon Machine Image \{AMI\} version, can't be updated. You must create a new
34
+ * Amazon Machine Image (AMI) version, can't be updated. You must create a new
35
35
  * fleet. As a best practice, we recommend replacing your managed fleets every 30
36
36
  * days to maintain a secure and up-to-date runtime environment for your hosted game
37
37
  * servers. For guidance, see <a href="https://docs.aws.amazon.com/gameliftservers/latest/developerguide/security-best-practices.html">
@@ -93,7 +93,7 @@ declare const UpdateContainerFleetCommand_base: {
93
93
  * a new deployment of fleet resources using the deployment configuration provided. A
94
94
  * deployment replaces existing fleet instances with new instances that are deployed with
95
95
  * the updated fleet properties. The fleet is placed in <code>UPDATING</code> status until
96
- * the deployment is complete, then return to <code>ACTIVE</code>. </p>
96
+ * the deployment is complete, then returns to <code>ACTIVE</code>. </p>
97
97
  * <p>You can have only one update deployment active at a time for a fleet. If a second
98
98
  * update request initiates a deployment while another deployment is in progress, the first
99
99
  * deployment is cancelled.</p>
@@ -59,13 +59,20 @@ declare const UpdateContainerGroupDefinitionCommand_base: {
59
59
  * definitions, excluding the definition to remove. If the container group has only one
60
60
  * support container definition, provide an empty set.</p>
61
61
  * </li>
62
+ * <li>
63
+ * <p>Remove the total vCPU limit from a game server container group so that its containers
64
+ * can use up to the instance's available vCPU. Set <code>RemoveAttributes</code> to
65
+ * <code>TOTAL_VCPU_LIMIT</code>. The game server container must have a <code>Vcpu</code>
66
+ * value, because a game server container group needs either a total vCPU limit or a game
67
+ * server <code>Vcpu</code> value.</p>
68
+ * </li>
62
69
  * </ul>
63
70
  * <p>
64
71
  * <b>Results:</b>
65
72
  * </p>
66
73
  * <p>If successful, this operation returns the complete properties of the new container group
67
74
  * definition version.</p>
68
- * <p>If the container group definition version is used in an active fleets, the update
75
+ * <p>If the container group definition version is used in an active fleet, the update
69
76
  * automatically initiates a new fleet deployment of the new version. You can track a fleet's
70
77
  * deployments using <a href="https://docs.aws.amazon.com/gamelift/latest/apireference/API_ListFleetDeployments.html">ListFleetDeployments</a>.</p>
71
78
  * @example
@@ -115,6 +122,7 @@ declare const UpdateContainerGroupDefinitionCommand_base: {
115
122
  * "AUDIT_CONTROL" || "AUDIT_WRITE" || "BLOCK_SUSPEND" || "CHOWN" || "DAC_OVERRIDE" || "DAC_READ_SEARCH" || "FOWNER" || "FSETID" || "IPC_LOCK" || "IPC_OWNER" || "KILL" || "LEASE" || "LINUX_IMMUTABLE" || "MAC_ADMIN" || "MAC_OVERRIDE" || "MKNOD" || "NET_ADMIN" || "NET_BIND_SERVICE" || "NET_BROADCAST" || "NET_RAW" || "SETFCAP" || "SETGID" || "SETPCAP" || "SETUID" || "SYS_ADMIN" || "SYS_BOOT" || "SYS_CHROOT" || "SYS_MODULE" || "SYS_NICE" || "SYS_PACCT" || "SYS_PTRACE" || "SYS_RAWIO" || "SYS_RESOURCE" || "SYS_TIME" || "SYS_TTY_CONFIG" || "SYSLOG" || "WAKE_ALARM",
116
123
  * ],
117
124
  * },
125
+ * Vcpu: Number("double"),
118
126
  * },
119
127
  * SupportContainerDefinitions: [ // SupportContainerDefinitionInputList
120
128
  * { // SupportContainerDefinitionInput
@@ -172,6 +180,9 @@ declare const UpdateContainerGroupDefinitionCommand_base: {
172
180
  * VersionDescription: "STRING_VALUE",
173
181
  * SourceVersionNumber: Number("int"),
174
182
  * OperatingSystem: "AMAZON_LINUX_2023",
183
+ * RemoveAttributes: [ // ContainerGroupDefinitionRemoveAttributeList
184
+ * "TOTAL_VCPU_LIMIT",
185
+ * ],
175
186
  * };
176
187
  * const command = new UpdateContainerGroupDefinitionCommand(input);
177
188
  * const response = await client.send(command);
@@ -222,6 +233,7 @@ declare const UpdateContainerGroupDefinitionCommand_base: {
222
233
  * // "AUDIT_CONTROL" || "AUDIT_WRITE" || "BLOCK_SUSPEND" || "CHOWN" || "DAC_OVERRIDE" || "DAC_READ_SEARCH" || "FOWNER" || "FSETID" || "IPC_LOCK" || "IPC_OWNER" || "KILL" || "LEASE" || "LINUX_IMMUTABLE" || "MAC_ADMIN" || "MAC_OVERRIDE" || "MKNOD" || "NET_ADMIN" || "NET_BIND_SERVICE" || "NET_BROADCAST" || "NET_RAW" || "SETFCAP" || "SETGID" || "SETPCAP" || "SETUID" || "SYS_ADMIN" || "SYS_BOOT" || "SYS_CHROOT" || "SYS_MODULE" || "SYS_NICE" || "SYS_PACCT" || "SYS_PTRACE" || "SYS_RAWIO" || "SYS_RESOURCE" || "SYS_TIME" || "SYS_TTY_CONFIG" || "SYSLOG" || "WAKE_ALARM",
223
234
  * // ],
224
235
  * // },
236
+ * // Vcpu: Number("double"),
225
237
  * // },
226
238
  * // SupportContainerDefinitions: [ // SupportContainerDefinitionList
227
239
  * // { // SupportContainerDefinition
@@ -32,7 +32,7 @@ declare const UpdateFleetAttributesCommand_base: {
32
32
  * to change. If successful, Amazon GameLift Servers returns the identifiers for the updated fleet.</p>
33
33
  * <note>
34
34
  * <p>A managed fleet's runtime environment, which depends on the fleet's
35
- * Amazon Machine Image \{AMI\} version, can't be updated. You must create a new
35
+ * Amazon Machine Image (AMI) version, can't be updated. You must create a new
36
36
  * fleet. As a best practice, we recommend replacing your managed fleets every 30
37
37
  * days to maintain a secure and up-to-date runtime environment for your hosted game
38
38
  * servers. For guidance, see <a href="https://docs.aws.amazon.com/gameliftservers/latest/developerguide/security-best-practices.html">
@@ -37,7 +37,7 @@ declare const UpdateGameServerCommand_base: {
37
37
  * (when the game server is available to be claimed) to <code>UTILIZED</code> (when
38
38
  * the game server is currently hosting games). Identify the game server and game
39
39
  * server group and specify the new utilization status. You can't change the status
40
- * from to <code>UTILIZED</code> to <code>AVAILABLE</code> .</p>
40
+ * from <code>UTILIZED</code> to <code>AVAILABLE</code> .</p>
41
41
  * </li>
42
42
  * <li>
43
43
  * <p>To report health status, identify the game server and game server group and
@@ -7,6 +7,7 @@ export { __ServiceException };
7
7
  * Base exception class for all service exceptions from GameLift service.
8
8
  */
9
9
  export declare class GameLiftServiceException extends __ServiceException {
10
+ static readonly shapeId: string;
10
11
  /**
11
12
  * @internal
12
13
  */
@@ -929,6 +929,17 @@ export declare const ContainerGroupDefinitionStatus: {
929
929
  * @public
930
930
  */
931
931
  export type ContainerGroupDefinitionStatus = (typeof ContainerGroupDefinitionStatus)[keyof typeof ContainerGroupDefinitionStatus];
932
+ /**
933
+ * @public
934
+ * @enum
935
+ */
936
+ export declare const ContainerGroupDefinitionRemoveAttribute: {
937
+ readonly TOTAL_VCPU_LIMIT: "TOTAL_VCPU_LIMIT";
938
+ };
939
+ /**
940
+ * @public
941
+ */
942
+ export type ContainerGroupDefinitionRemoveAttribute = (typeof ContainerGroupDefinitionRemoveAttribute)[keyof typeof ContainerGroupDefinitionRemoveAttribute];
932
943
  /**
933
944
  * @public
934
945
  * @enum
@@ -6,6 +6,7 @@ import { GameLiftServiceException as __BaseException } from "./GameLiftServiceEx
6
6
  * @public
7
7
  */
8
8
  export declare class InternalServiceException extends __BaseException {
9
+ static readonly shapeId: string;
9
10
  readonly name: "InternalServiceException";
10
11
  readonly $fault: "server";
11
12
  Message?: string | undefined;
@@ -20,6 +21,7 @@ export declare class InternalServiceException extends __BaseException {
20
21
  * @public
21
22
  */
22
23
  export declare class InvalidRequestException extends __BaseException {
24
+ static readonly shapeId: string;
23
25
  readonly name: "InvalidRequestException";
24
26
  readonly $fault: "client";
25
27
  Message?: string | undefined;
@@ -33,6 +35,7 @@ export declare class InvalidRequestException extends __BaseException {
33
35
  * @public
34
36
  */
35
37
  export declare class NotFoundException extends __BaseException {
38
+ static readonly shapeId: string;
36
39
  readonly name: "NotFoundException";
37
40
  readonly $fault: "client";
38
41
  Message?: string | undefined;
@@ -46,6 +49,7 @@ export declare class NotFoundException extends __BaseException {
46
49
  * @public
47
50
  */
48
51
  export declare class UnsupportedRegionException extends __BaseException {
52
+ static readonly shapeId: string;
49
53
  readonly name: "UnsupportedRegionException";
50
54
  readonly $fault: "client";
51
55
  Message?: string | undefined;
@@ -62,6 +66,7 @@ export declare class UnsupportedRegionException extends __BaseException {
62
66
  * @public
63
67
  */
64
68
  export declare class ConflictException extends __BaseException {
69
+ static readonly shapeId: string;
65
70
  readonly name: "ConflictException";
66
71
  readonly $fault: "client";
67
72
  Message?: string | undefined;
@@ -77,6 +82,7 @@ export declare class ConflictException extends __BaseException {
77
82
  * @public
78
83
  */
79
84
  export declare class OutOfCapacityException extends __BaseException {
85
+ static readonly shapeId: string;
80
86
  readonly name: "OutOfCapacityException";
81
87
  readonly $fault: "client";
82
88
  Message?: string | undefined;
@@ -90,6 +96,7 @@ export declare class OutOfCapacityException extends __BaseException {
90
96
  * @public
91
97
  */
92
98
  export declare class UnauthorizedException extends __BaseException {
99
+ static readonly shapeId: string;
93
100
  readonly name: "UnauthorizedException";
94
101
  readonly $fault: "client";
95
102
  Message?: string | undefined;
@@ -104,6 +111,7 @@ export declare class UnauthorizedException extends __BaseException {
104
111
  * @public
105
112
  */
106
113
  export declare class LimitExceededException extends __BaseException {
114
+ static readonly shapeId: string;
107
115
  readonly name: "LimitExceededException";
108
116
  readonly $fault: "client";
109
117
  Message?: string | undefined;
@@ -119,6 +127,7 @@ export declare class LimitExceededException extends __BaseException {
119
127
  * @public
120
128
  */
121
129
  export declare class TaggingFailedException extends __BaseException {
130
+ static readonly shapeId: string;
122
131
  readonly name: "TaggingFailedException";
123
132
  readonly $fault: "client";
124
133
  Message?: string | undefined;
@@ -134,6 +143,7 @@ export declare class TaggingFailedException extends __BaseException {
134
143
  * @public
135
144
  */
136
145
  export declare class NotReadyException extends __BaseException {
146
+ static readonly shapeId: string;
137
147
  readonly name: "NotReadyException";
138
148
  readonly $fault: "client";
139
149
  Message?: string | undefined;
@@ -149,6 +159,7 @@ export declare class NotReadyException extends __BaseException {
149
159
  * @public
150
160
  */
151
161
  export declare class InvalidFleetStatusException extends __BaseException {
162
+ static readonly shapeId: string;
152
163
  readonly name: "InvalidFleetStatusException";
153
164
  readonly $fault: "client";
154
165
  Message?: string | undefined;
@@ -164,6 +175,7 @@ export declare class InvalidFleetStatusException extends __BaseException {
164
175
  * @public
165
176
  */
166
177
  export declare class FleetCapacityExceededException extends __BaseException {
178
+ static readonly shapeId: string;
167
179
  readonly name: "FleetCapacityExceededException";
168
180
  readonly $fault: "client";
169
181
  Message?: string | undefined;
@@ -178,6 +190,7 @@ export declare class FleetCapacityExceededException extends __BaseException {
178
190
  * @public
179
191
  */
180
192
  export declare class IdempotentParameterMismatchException extends __BaseException {
193
+ static readonly shapeId: string;
181
194
  readonly name: "IdempotentParameterMismatchException";
182
195
  readonly $fault: "client";
183
196
  Message?: string | undefined;
@@ -194,6 +207,7 @@ export declare class IdempotentParameterMismatchException extends __BaseExceptio
194
207
  * @public
195
208
  */
196
209
  export declare class TerminalRoutingStrategyException extends __BaseException {
210
+ static readonly shapeId: string;
197
211
  readonly name: "TerminalRoutingStrategyException";
198
212
  readonly $fault: "client";
199
213
  Message?: string | undefined;
@@ -208,6 +222,7 @@ export declare class TerminalRoutingStrategyException extends __BaseException {
208
222
  * @public
209
223
  */
210
224
  export declare class GameSessionFullException extends __BaseException {
225
+ static readonly shapeId: string;
211
226
  readonly name: "GameSessionFullException";
212
227
  readonly $fault: "client";
213
228
  Message?: string | undefined;
@@ -223,6 +238,7 @@ export declare class GameSessionFullException extends __BaseException {
223
238
  * @public
224
239
  */
225
240
  export declare class InvalidGameSessionStatusException extends __BaseException {
241
+ static readonly shapeId: string;
226
242
  readonly name: "InvalidGameSessionStatusException";
227
243
  readonly $fault: "client";
228
244
  Message?: string | undefined;