@aws-sdk/client-gamelift 3.686.0 → 3.690.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 +72 -0
- package/dist-cjs/index.js +830 -188
- package/dist-es/GameLift.js +18 -0
- package/dist-es/commands/CreateContainerFleetCommand.js +23 -0
- package/dist-es/commands/CreateFleetCommand.js +2 -2
- package/dist-es/commands/DeleteContainerFleetCommand.js +22 -0
- package/dist-es/commands/DescribeContainerFleetCommand.js +23 -0
- package/dist-es/commands/DescribeFleetAttributesCommand.js +1 -2
- package/dist-es/commands/DescribeFleetDeploymentCommand.js +22 -0
- package/dist-es/commands/ListContainerFleetsCommand.js +23 -0
- package/dist-es/commands/ListContainerGroupDefinitionVersionsCommand.js +23 -0
- package/dist-es/commands/ListContainerGroupDefinitionsCommand.js +1 -1
- package/dist-es/commands/ListFleetDeploymentsCommand.js +22 -0
- package/dist-es/commands/RegisterComputeCommand.js +1 -1
- package/dist-es/commands/RequestUploadCredentialsCommand.js +1 -1
- package/dist-es/commands/UpdateContainerFleetCommand.js +23 -0
- package/dist-es/commands/UpdateContainerGroupDefinitionCommand.js +23 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/models/models_0.js +132 -81
- package/dist-es/models/models_1.js +50 -1
- package/dist-es/pagination/ListContainerFleetsPaginator.js +4 -0
- package/dist-es/pagination/ListContainerGroupDefinitionVersionsPaginator.js +4 -0
- package/dist-es/pagination/ListFleetDeploymentsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_json1_1.js +352 -7
- package/dist-types/GameLift.d.ts +65 -0
- package/dist-types/GameLiftClient.d.ts +11 -2
- package/dist-types/commands/CreateBuildCommand.d.ts +27 -21
- package/dist-types/commands/CreateContainerFleetCommand.d.ts +283 -0
- package/dist-types/commands/CreateContainerGroupDefinitionCommand.d.ts +278 -119
- package/dist-types/commands/CreateFleetCommand.d.ts +5 -88
- package/dist-types/commands/CreateFleetLocationsCommand.d.ts +3 -6
- package/dist-types/commands/CreateScriptCommand.d.ts +9 -12
- package/dist-types/commands/DeleteContainerFleetCommand.d.ts +102 -0
- package/dist-types/commands/DeleteContainerGroupDefinitionCommand.d.ts +24 -7
- package/dist-types/commands/DeleteScalingPolicyCommand.d.ts +3 -0
- package/dist-types/commands/DeregisterComputeCommand.d.ts +2 -5
- package/dist-types/commands/DescribeComputeCommand.d.ts +14 -21
- package/dist-types/commands/DescribeContainerFleetCommand.d.ts +157 -0
- package/dist-types/commands/DescribeContainerGroupDefinitionCommand.d.ts +95 -48
- package/dist-types/commands/DescribeFleetAttributesCommand.d.ts +2 -21
- package/dist-types/commands/DescribeFleetCapacityCommand.d.ts +8 -8
- package/dist-types/commands/DescribeFleetDeploymentCommand.d.ts +125 -0
- package/dist-types/commands/DescribeFleetEventsCommand.d.ts +4 -1
- package/dist-types/commands/DescribeFleetLocationCapacityCommand.d.ts +4 -4
- package/dist-types/commands/DescribeFleetPortSettingsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeRuntimeConfigurationCommand.d.ts +2 -4
- package/dist-types/commands/GetComputeAccessCommand.d.ts +20 -30
- package/dist-types/commands/GetComputeAuthTokenCommand.d.ts +18 -13
- package/dist-types/commands/ListComputeCommand.d.ts +36 -28
- package/dist-types/commands/ListContainerFleetsCommand.d.ts +165 -0
- package/dist-types/commands/ListContainerGroupDefinitionVersionsCommand.d.ts +216 -0
- package/dist-types/commands/ListContainerGroupDefinitionsCommand.d.ts +97 -49
- package/dist-types/commands/ListFleetDeploymentsCommand.d.ts +132 -0
- package/dist-types/commands/ListFleetsCommand.d.ts +2 -10
- package/dist-types/commands/ListGameServerGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListGameServersCommand.d.ts +1 -1
- package/dist-types/commands/ListLocationsCommand.d.ts +1 -1
- package/dist-types/commands/ListScriptsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -1
- package/dist-types/commands/PutScalingPolicyCommand.d.ts +4 -1
- package/dist-types/commands/RegisterComputeCommand.d.ts +13 -19
- package/dist-types/commands/RegisterGameServerCommand.d.ts +1 -1
- package/dist-types/commands/RequestUploadCredentialsCommand.d.ts +1 -1
- package/dist-types/commands/ResolveAliasCommand.d.ts +1 -1
- package/dist-types/commands/ResumeGameServerGroupCommand.d.ts +1 -2
- package/dist-types/commands/StartGameSessionPlacementCommand.d.ts +2 -2
- package/dist-types/commands/StopFleetActionsCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +3 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -0
- package/dist-types/commands/UpdateContainerFleetCommand.d.ts +253 -0
- package/dist-types/commands/UpdateContainerGroupDefinitionCommand.d.ts +310 -0
- package/dist-types/commands/UpdateFleetCapacityCommand.d.ts +6 -9
- package/dist-types/commands/UpdateRuntimeConfigurationCommand.d.ts +1 -3
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/models/models_0.d.ts +5518 -5258
- package/dist-types/models/models_1.d.ts +897 -18
- package/dist-types/pagination/ListContainerFleetsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListContainerGroupDefinitionVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListFleetDeploymentsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +81 -0
- package/dist-types/ts3.4/GameLift.d.ts +161 -0
- package/dist-types/ts3.4/GameLiftClient.d.ts +54 -0
- package/dist-types/ts3.4/commands/CreateContainerFleetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteContainerFleetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteContainerGroupDefinitionCommand.d.ts +6 -2
- package/dist-types/ts3.4/commands/DescribeContainerFleetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeFleetDeploymentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListContainerFleetsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListContainerGroupDefinitionVersionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListContainerGroupDefinitionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListFleetDeploymentsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListFleetsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListGameServerGroupsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListGameServersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListLocationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListScriptsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutScalingPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RegisterComputeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RegisterGameServerCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RequestUploadCredentialsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResolveAliasCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResumeGameServerGroupCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/UpdateContainerFleetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateContainerGroupDefinitionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/models/models_0.d.ts +333 -261
- package/dist-types/ts3.4/models/models_1.d.ts +222 -0
- package/dist-types/ts3.4/pagination/ListContainerFleetsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListContainerGroupDefinitionVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFleetDeploymentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +108 -0
- package/package.json +6 -6
|
@@ -27,62 +27,157 @@ declare const CreateContainerGroupDefinitionCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
* <p>
|
|
38
|
-
* definitions determine how Amazon GameLift deploys your containers to each instance in a container
|
|
39
|
-
* fleet. </p>
|
|
40
|
-
* <p>You can create two types of container groups, based on scheduling strategy:</p>
|
|
30
|
+
* <p>Creates a <code>ContainerGroupDefinition</code> that describes a set of containers for
|
|
31
|
+
* hosting your game server with Amazon GameLift managed containers hosting. An Amazon GameLift container group
|
|
32
|
+
* is similar to a container task or pod. Use container group definitions when you create a
|
|
33
|
+
* container fleet with <a>CreateContainerFleet</a>. </p>
|
|
34
|
+
* <p>A container group definition determines how Amazon GameLift deploys your containers to each
|
|
35
|
+
* instance in a container fleet. You can maintain multiple versions of a container group
|
|
36
|
+
* definition.</p>
|
|
37
|
+
* <p>There are two types of container groups:</p>
|
|
41
38
|
* <ul>
|
|
42
39
|
* <li>
|
|
43
|
-
* <p>A <b>
|
|
44
|
-
*
|
|
45
|
-
*
|
|
40
|
+
* <p>A <b>game server container group</b> has the containers that run
|
|
41
|
+
* your game server application and supporting software. A game server container group can
|
|
42
|
+
* have these container types:</p>
|
|
43
|
+
* <ul>
|
|
44
|
+
* <li>
|
|
45
|
+
* <p>Game server container. This container runs your game server. You can define one
|
|
46
|
+
* game server container in a game server container group.</p>
|
|
47
|
+
* </li>
|
|
48
|
+
* <li>
|
|
49
|
+
* <p>Support container. This container runs software in parallel with your game server.
|
|
50
|
+
* You can define up to 8 support containers in a game server group.</p>
|
|
51
|
+
* </li>
|
|
52
|
+
* </ul>
|
|
53
|
+
* <p>When building a game server container group definition, you can choose to bundle your
|
|
54
|
+
* game server executable and all dependent software into a single game server container.
|
|
55
|
+
* Alternatively, you can separate the software into one game server container and one or
|
|
56
|
+
* more support containers.</p>
|
|
57
|
+
* <p>On a container fleet instance, a game server container group can be deployed multiple
|
|
58
|
+
* times (depending on the compute resources of the instance). This means that all containers
|
|
59
|
+
* in the container group are replicated together.</p>
|
|
46
60
|
* </li>
|
|
47
61
|
* <li>
|
|
48
|
-
* <p>A <b>
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
62
|
+
* <p>A <b>per-instance container group</b> has containers for processes
|
|
63
|
+
* that aren't replicated on a container fleet instance. This might include background
|
|
64
|
+
* services, logging, test processes, or processes that need to persist independently of the
|
|
65
|
+
* game server container group. When building a per-instance container group, you can define
|
|
66
|
+
* up to 10 support containers.</p>
|
|
52
67
|
* </li>
|
|
53
68
|
* </ul>
|
|
54
|
-
* <p>To create a container group definition, specify a group name, a list of container
|
|
55
|
-
* definitions, and maximum total CPU and memory requirements for the container group. Specify an
|
|
56
|
-
* operating system and scheduling strategy or use the default values. When using the Amazon Web Services CLI
|
|
57
|
-
* tool, you can pass in your container definitions as a JSON file.</p>
|
|
58
69
|
* <note>
|
|
59
70
|
* <p>This operation requires Identity and Access Management (IAM) permissions to access container images in
|
|
60
71
|
* Amazon ECR repositories. See <a href="https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-iam-policy-examples.html"> IAM permissions
|
|
61
72
|
* for Amazon GameLift</a> for help setting the appropriate permissions.</p>
|
|
62
73
|
* </note>
|
|
63
|
-
* <p>If successful, this operation creates a new <code>ContainerGroupDefinition</code> resource
|
|
64
|
-
* with an ARN value assigned. You can't change the properties of a container group definition.
|
|
65
|
-
* Instead, create a new one. </p>
|
|
66
74
|
* <p>
|
|
67
|
-
* <b>
|
|
75
|
+
* <b>Request options</b>
|
|
68
76
|
* </p>
|
|
77
|
+
* <p>Use this operation to make the following types of requests. You can specify values for the
|
|
78
|
+
* minimum required parameters and customize optional values later.</p>
|
|
69
79
|
* <ul>
|
|
70
80
|
* <li>
|
|
71
|
-
* <p>
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
*
|
|
81
|
+
* <p>Create a game server container group definition. Provide the following required parameter values:</p>
|
|
82
|
+
* <ul>
|
|
83
|
+
* <li>
|
|
84
|
+
* <p>
|
|
85
|
+
* <code>Name</code>
|
|
86
|
+
* </p>
|
|
87
|
+
* </li>
|
|
88
|
+
* <li>
|
|
89
|
+
* <p>
|
|
90
|
+
* <code>ContainerGroupType</code> (<code>GAME_SERVER</code>)</p>
|
|
91
|
+
* </li>
|
|
92
|
+
* <li>
|
|
93
|
+
* <p>
|
|
94
|
+
* <code>OperatingSystem</code> (omit to use default value)</p>
|
|
95
|
+
* </li>
|
|
96
|
+
* <li>
|
|
97
|
+
* <p>
|
|
98
|
+
* <code>TotalMemoryLimitMebibytes</code> (omit to use default value)</p>
|
|
99
|
+
* </li>
|
|
100
|
+
* <li>
|
|
101
|
+
* <p>
|
|
102
|
+
* <code>TotalVcpuLimit </code>(omit to use default value)</p>
|
|
103
|
+
* </li>
|
|
104
|
+
* <li>
|
|
105
|
+
* <p>At least one <code>GameServerContainerDefinition</code>
|
|
106
|
+
* </p>
|
|
107
|
+
* <ul>
|
|
108
|
+
* <li>
|
|
109
|
+
* <p>
|
|
110
|
+
* <code>ContainerName</code>
|
|
111
|
+
* </p>
|
|
112
|
+
* </li>
|
|
113
|
+
* <li>
|
|
114
|
+
* <p>
|
|
115
|
+
* <code>ImageUrl</code>
|
|
116
|
+
* </p>
|
|
117
|
+
* </li>
|
|
118
|
+
* <li>
|
|
119
|
+
* <p>
|
|
120
|
+
* <code>PortConfiguration</code>
|
|
121
|
+
* </p>
|
|
122
|
+
* </li>
|
|
123
|
+
* <li>
|
|
124
|
+
* <p>
|
|
125
|
+
* <code>ServerSdkVersion</code> (omit to use default value)</p>
|
|
126
|
+
* </li>
|
|
127
|
+
* </ul>
|
|
128
|
+
* </li>
|
|
129
|
+
* </ul>
|
|
79
130
|
* </li>
|
|
80
131
|
* <li>
|
|
81
|
-
* <p>
|
|
82
|
-
*
|
|
83
|
-
*
|
|
132
|
+
* <p>Create a per-instance container group definition. Provide the following required parameter
|
|
133
|
+
* values:</p>
|
|
134
|
+
* <ul>
|
|
135
|
+
* <li>
|
|
136
|
+
* <p>
|
|
137
|
+
* <code>Name</code>
|
|
138
|
+
* </p>
|
|
139
|
+
* </li>
|
|
140
|
+
* <li>
|
|
141
|
+
* <p>
|
|
142
|
+
* <code>ContainerGroupType</code> (<code>PER_INSTANCE</code>)</p>
|
|
143
|
+
* </li>
|
|
144
|
+
* <li>
|
|
145
|
+
* <p>
|
|
146
|
+
* <code>OperatingSystem</code> (omit to use default value)</p>
|
|
147
|
+
* </li>
|
|
148
|
+
* <li>
|
|
149
|
+
* <p>
|
|
150
|
+
* <code>TotalMemoryLimitMebibytes</code> (omit to use default value)</p>
|
|
151
|
+
* </li>
|
|
152
|
+
* <li>
|
|
153
|
+
* <p>
|
|
154
|
+
* <code>TotalVcpuLimit </code>(omit to use default value)</p>
|
|
155
|
+
* </li>
|
|
156
|
+
* <li>
|
|
157
|
+
* <p>At least one <code>SupportContainerDefinition</code>
|
|
158
|
+
* </p>
|
|
159
|
+
* <ul>
|
|
160
|
+
* <li>
|
|
161
|
+
* <p>
|
|
162
|
+
* <code>ContainerName</code>
|
|
163
|
+
* </p>
|
|
164
|
+
* </li>
|
|
165
|
+
* <li>
|
|
166
|
+
* <p>
|
|
167
|
+
* <code>ImageUrl</code>
|
|
168
|
+
* </p>
|
|
169
|
+
* </li>
|
|
170
|
+
* </ul>
|
|
171
|
+
* </li>
|
|
172
|
+
* </ul>
|
|
84
173
|
* </li>
|
|
85
174
|
* </ul>
|
|
175
|
+
* <p>
|
|
176
|
+
* <b>Results</b>
|
|
177
|
+
* </p>
|
|
178
|
+
* <p>If successful, this request creates a <code>ContainerGroupDefinition</code> resource and
|
|
179
|
+
* assigns a unique ARN value. You can update most properties of a container group definition by
|
|
180
|
+
* calling <a>UpdateContainerGroupDefinition</a>, and optionally save the update as a new version.</p>
|
|
86
181
|
* @example
|
|
87
182
|
* Use a bare-bones client and the command you need to make an API call.
|
|
88
183
|
* ```javascript
|
|
@@ -91,59 +186,90 @@ declare const CreateContainerGroupDefinitionCommand_base: {
|
|
|
91
186
|
* const client = new GameLiftClient(config);
|
|
92
187
|
* const input = { // CreateContainerGroupDefinitionInput
|
|
93
188
|
* Name: "STRING_VALUE", // required
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
* HardLimit: Number("int"),
|
|
189
|
+
* ContainerGroupType: "GAME_SERVER" || "PER_INSTANCE",
|
|
190
|
+
* TotalMemoryLimitMebibytes: Number("int"), // required
|
|
191
|
+
* TotalVcpuLimit: Number("double"), // required
|
|
192
|
+
* GameServerContainerDefinition: { // GameServerContainerDefinitionInput
|
|
193
|
+
* ContainerName: "STRING_VALUE", // required
|
|
194
|
+
* DependsOn: [ // ContainerDependencyList
|
|
195
|
+
* { // ContainerDependency
|
|
196
|
+
* ContainerName: "STRING_VALUE", // required
|
|
197
|
+
* Condition: "START" || "COMPLETE" || "SUCCESS" || "HEALTHY", // required
|
|
104
198
|
* },
|
|
105
|
-
*
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
* },
|
|
112
|
-
* ],
|
|
199
|
+
* ],
|
|
200
|
+
* MountPoints: [ // ContainerMountPointList
|
|
201
|
+
* { // ContainerMountPoint
|
|
202
|
+
* InstancePath: "STRING_VALUE", // required
|
|
203
|
+
* ContainerPath: "STRING_VALUE",
|
|
204
|
+
* AccessLevel: "READ_ONLY" || "READ_AND_WRITE",
|
|
113
205
|
* },
|
|
114
|
-
*
|
|
206
|
+
* ],
|
|
207
|
+
* EnvironmentOverride: [ // ContainerEnvironmentList
|
|
208
|
+
* { // ContainerEnvironment
|
|
209
|
+
* Name: "STRING_VALUE", // required
|
|
210
|
+
* Value: "STRING_VALUE", // required
|
|
211
|
+
* },
|
|
212
|
+
* ],
|
|
213
|
+
* ImageUri: "STRING_VALUE", // required
|
|
214
|
+
* PortConfiguration: { // ContainerPortConfiguration
|
|
215
|
+
* ContainerPortRanges: [ // ContainerPortRangeList // required
|
|
216
|
+
* { // ContainerPortRange
|
|
217
|
+
* FromPort: Number("int"), // required
|
|
218
|
+
* ToPort: Number("int"), // required
|
|
219
|
+
* Protocol: "TCP" || "UDP", // required
|
|
220
|
+
* },
|
|
221
|
+
* ],
|
|
222
|
+
* },
|
|
223
|
+
* ServerSdkVersion: "STRING_VALUE", // required
|
|
224
|
+
* },
|
|
225
|
+
* SupportContainerDefinitions: [ // SupportContainerDefinitionInputList
|
|
226
|
+
* { // SupportContainerDefinitionInput
|
|
227
|
+
* ContainerName: "STRING_VALUE", // required
|
|
228
|
+
* DependsOn: [
|
|
229
|
+
* {
|
|
230
|
+
* ContainerName: "STRING_VALUE", // required
|
|
231
|
+
* Condition: "START" || "COMPLETE" || "SUCCESS" || "HEALTHY", // required
|
|
232
|
+
* },
|
|
233
|
+
* ],
|
|
234
|
+
* MountPoints: [
|
|
235
|
+
* {
|
|
236
|
+
* InstancePath: "STRING_VALUE", // required
|
|
237
|
+
* ContainerPath: "STRING_VALUE",
|
|
238
|
+
* AccessLevel: "READ_ONLY" || "READ_AND_WRITE",
|
|
239
|
+
* },
|
|
240
|
+
* ],
|
|
241
|
+
* EnvironmentOverride: [
|
|
242
|
+
* {
|
|
243
|
+
* Name: "STRING_VALUE", // required
|
|
244
|
+
* Value: "STRING_VALUE", // required
|
|
245
|
+
* },
|
|
246
|
+
* ],
|
|
247
|
+
* Essential: true || false,
|
|
115
248
|
* HealthCheck: { // ContainerHealthCheck
|
|
116
249
|
* Command: [ // ContainerCommandStringList // required
|
|
117
250
|
* "STRING_VALUE",
|
|
118
251
|
* ],
|
|
119
252
|
* Interval: Number("int"),
|
|
120
|
-
* Timeout: Number("int"),
|
|
121
253
|
* Retries: Number("int"),
|
|
122
254
|
* StartPeriod: Number("int"),
|
|
255
|
+
* Timeout: Number("int"),
|
|
123
256
|
* },
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
*
|
|
130
|
-
*
|
|
131
|
-
*
|
|
132
|
-
*
|
|
133
|
-
*
|
|
134
|
-
*
|
|
135
|
-
*
|
|
136
|
-
* },
|
|
137
|
-
* ],
|
|
138
|
-
* DependsOn: [ // ContainerDependencyList
|
|
139
|
-
* { // ContainerDependency
|
|
140
|
-
* ContainerName: "STRING_VALUE", // required
|
|
141
|
-
* Condition: "START" || "COMPLETE" || "SUCCESS" || "HEALTHY", // required
|
|
142
|
-
* },
|
|
143
|
-
* ],
|
|
257
|
+
* ImageUri: "STRING_VALUE", // required
|
|
258
|
+
* MemoryHardLimitMebibytes: Number("int"),
|
|
259
|
+
* PortConfiguration: {
|
|
260
|
+
* ContainerPortRanges: [ // required
|
|
261
|
+
* {
|
|
262
|
+
* FromPort: Number("int"), // required
|
|
263
|
+
* ToPort: Number("int"), // required
|
|
264
|
+
* Protocol: "TCP" || "UDP", // required
|
|
265
|
+
* },
|
|
266
|
+
* ],
|
|
267
|
+
* },
|
|
268
|
+
* Vcpu: Number("double"),
|
|
144
269
|
* },
|
|
145
270
|
* ],
|
|
146
271
|
* OperatingSystem: "AMAZON_LINUX_2023", // required
|
|
272
|
+
* VersionDescription: "STRING_VALUE",
|
|
147
273
|
* Tags: [ // TagList
|
|
148
274
|
* { // Tag
|
|
149
275
|
* Key: "STRING_VALUE", // required
|
|
@@ -158,60 +284,93 @@ declare const CreateContainerGroupDefinitionCommand_base: {
|
|
|
158
284
|
* // ContainerGroupDefinitionArn: "STRING_VALUE",
|
|
159
285
|
* // CreationTime: new Date("TIMESTAMP"),
|
|
160
286
|
* // OperatingSystem: "AMAZON_LINUX_2023",
|
|
161
|
-
* // Name: "STRING_VALUE",
|
|
162
|
-
* //
|
|
163
|
-
* //
|
|
164
|
-
* //
|
|
165
|
-
* //
|
|
166
|
-
* //
|
|
167
|
-
* //
|
|
168
|
-
* //
|
|
169
|
-
* //
|
|
170
|
-
* //
|
|
171
|
-
* // SoftLimit: Number("int"),
|
|
172
|
-
* // HardLimit: Number("int"),
|
|
287
|
+
* // Name: "STRING_VALUE", // required
|
|
288
|
+
* // ContainerGroupType: "GAME_SERVER" || "PER_INSTANCE",
|
|
289
|
+
* // TotalMemoryLimitMebibytes: Number("int"),
|
|
290
|
+
* // TotalVcpuLimit: Number("double"),
|
|
291
|
+
* // GameServerContainerDefinition: { // GameServerContainerDefinition
|
|
292
|
+
* // ContainerName: "STRING_VALUE",
|
|
293
|
+
* // DependsOn: [ // ContainerDependencyList
|
|
294
|
+
* // { // ContainerDependency
|
|
295
|
+
* // ContainerName: "STRING_VALUE", // required
|
|
296
|
+
* // Condition: "START" || "COMPLETE" || "SUCCESS" || "HEALTHY", // required
|
|
173
297
|
* // },
|
|
174
|
-
* //
|
|
175
|
-
* //
|
|
176
|
-
* //
|
|
177
|
-
* //
|
|
178
|
-
* //
|
|
179
|
-
* //
|
|
180
|
-
* // },
|
|
181
|
-
* // ],
|
|
298
|
+
* // ],
|
|
299
|
+
* // MountPoints: [ // ContainerMountPointList
|
|
300
|
+
* // { // ContainerMountPoint
|
|
301
|
+
* // InstancePath: "STRING_VALUE", // required
|
|
302
|
+
* // ContainerPath: "STRING_VALUE",
|
|
303
|
+
* // AccessLevel: "READ_ONLY" || "READ_AND_WRITE",
|
|
182
304
|
* // },
|
|
183
|
-
* //
|
|
305
|
+
* // ],
|
|
306
|
+
* // EnvironmentOverride: [ // ContainerEnvironmentList
|
|
307
|
+
* // { // ContainerEnvironment
|
|
308
|
+
* // Name: "STRING_VALUE", // required
|
|
309
|
+
* // Value: "STRING_VALUE", // required
|
|
310
|
+
* // },
|
|
311
|
+
* // ],
|
|
312
|
+
* // ImageUri: "STRING_VALUE",
|
|
313
|
+
* // PortConfiguration: { // ContainerPortConfiguration
|
|
314
|
+
* // ContainerPortRanges: [ // ContainerPortRangeList // required
|
|
315
|
+
* // { // ContainerPortRange
|
|
316
|
+
* // FromPort: Number("int"), // required
|
|
317
|
+
* // ToPort: Number("int"), // required
|
|
318
|
+
* // Protocol: "TCP" || "UDP", // required
|
|
319
|
+
* // },
|
|
320
|
+
* // ],
|
|
321
|
+
* // },
|
|
322
|
+
* // ResolvedImageDigest: "STRING_VALUE",
|
|
323
|
+
* // ServerSdkVersion: "STRING_VALUE",
|
|
324
|
+
* // },
|
|
325
|
+
* // SupportContainerDefinitions: [ // SupportContainerDefinitionList
|
|
326
|
+
* // { // SupportContainerDefinition
|
|
327
|
+
* // ContainerName: "STRING_VALUE",
|
|
328
|
+
* // DependsOn: [
|
|
329
|
+
* // {
|
|
330
|
+
* // ContainerName: "STRING_VALUE", // required
|
|
331
|
+
* // Condition: "START" || "COMPLETE" || "SUCCESS" || "HEALTHY", // required
|
|
332
|
+
* // },
|
|
333
|
+
* // ],
|
|
334
|
+
* // MountPoints: [
|
|
335
|
+
* // {
|
|
336
|
+
* // InstancePath: "STRING_VALUE", // required
|
|
337
|
+
* // ContainerPath: "STRING_VALUE",
|
|
338
|
+
* // AccessLevel: "READ_ONLY" || "READ_AND_WRITE",
|
|
339
|
+
* // },
|
|
340
|
+
* // ],
|
|
341
|
+
* // EnvironmentOverride: [
|
|
342
|
+
* // {
|
|
343
|
+
* // Name: "STRING_VALUE", // required
|
|
344
|
+
* // Value: "STRING_VALUE", // required
|
|
345
|
+
* // },
|
|
346
|
+
* // ],
|
|
347
|
+
* // Essential: true || false,
|
|
184
348
|
* // HealthCheck: { // ContainerHealthCheck
|
|
185
349
|
* // Command: [ // ContainerCommandStringList // required
|
|
186
350
|
* // "STRING_VALUE",
|
|
187
351
|
* // ],
|
|
188
352
|
* // Interval: Number("int"),
|
|
189
|
-
* // Timeout: Number("int"),
|
|
190
353
|
* // Retries: Number("int"),
|
|
191
354
|
* // StartPeriod: Number("int"),
|
|
355
|
+
* // Timeout: Number("int"),
|
|
192
356
|
* // },
|
|
193
|
-
* //
|
|
194
|
-
* //
|
|
195
|
-
* //
|
|
196
|
-
* //
|
|
197
|
-
* //
|
|
198
|
-
* //
|
|
199
|
-
* //
|
|
200
|
-
* //
|
|
201
|
-
* //
|
|
202
|
-
* //
|
|
203
|
-
* //
|
|
204
|
-
* //
|
|
205
|
-
* //
|
|
206
|
-
* // ],
|
|
207
|
-
* // DependsOn: [ // ContainerDependencyList
|
|
208
|
-
* // { // ContainerDependency
|
|
209
|
-
* // ContainerName: "STRING_VALUE", // required
|
|
210
|
-
* // Condition: "START" || "COMPLETE" || "SUCCESS" || "HEALTHY", // required
|
|
211
|
-
* // },
|
|
212
|
-
* // ],
|
|
357
|
+
* // ImageUri: "STRING_VALUE",
|
|
358
|
+
* // MemoryHardLimitMebibytes: Number("int"),
|
|
359
|
+
* // PortConfiguration: {
|
|
360
|
+
* // ContainerPortRanges: [ // required
|
|
361
|
+
* // {
|
|
362
|
+
* // FromPort: Number("int"), // required
|
|
363
|
+
* // ToPort: Number("int"), // required
|
|
364
|
+
* // Protocol: "TCP" || "UDP", // required
|
|
365
|
+
* // },
|
|
366
|
+
* // ],
|
|
367
|
+
* // },
|
|
368
|
+
* // ResolvedImageDigest: "STRING_VALUE",
|
|
369
|
+
* // Vcpu: Number("double"),
|
|
213
370
|
* // },
|
|
214
371
|
* // ],
|
|
372
|
+
* // VersionNumber: Number("int"),
|
|
373
|
+
* // VersionDescription: "STRING_VALUE",
|
|
215
374
|
* // Status: "READY" || "COPYING" || "FAILED",
|
|
216
375
|
* // StatusReason: "STRING_VALUE",
|
|
217
376
|
* // },
|
|
@@ -27,10 +27,7 @@ declare const CreateFleetCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
31
|
-
* <b>This operation has been expanded to use with the Amazon GameLift containers feature, which is currently in public preview.</b>
|
|
32
|
-
* </p>
|
|
33
|
-
* <p>Creates a fleet of compute resources to host your game servers. Use this operation to
|
|
30
|
+
* <p>Creates a fleet of compute resources to host your game servers. Use this operation to
|
|
34
31
|
* set up the following types of fleets based on compute type: </p>
|
|
35
32
|
* <p>
|
|
36
33
|
* <b>Managed EC2 fleet</b>
|
|
@@ -84,57 +81,6 @@ declare const CreateFleetCommand_base: {
|
|
|
84
81
|
* <p>When the fleet status is ACTIVE, you can adjust capacity settings and turn autoscaling
|
|
85
82
|
* on/off for each location.</p>
|
|
86
83
|
* <p>
|
|
87
|
-
* <b>Managed container fleet</b>
|
|
88
|
-
* </p>
|
|
89
|
-
* <p>A container fleet is a set of Amazon Elastic Compute Cloud (Amazon EC2) instances. Your container architecture
|
|
90
|
-
* is deployed to each fleet instance based on the fleet configuration. Amazon GameLift manages the
|
|
91
|
-
* containers on each fleet instance and controls the lifecycle of game server processes,
|
|
92
|
-
* which host game sessions for players. Container fleets can have instances in multiple
|
|
93
|
-
* locations. Each container on an instance that runs game server processes is registered
|
|
94
|
-
* as a <code>Compute</code>.</p>
|
|
95
|
-
* <p>To create a container fleet, provide these required parameters:</p>
|
|
96
|
-
* <ul>
|
|
97
|
-
* <li>
|
|
98
|
-
* <p>
|
|
99
|
-
* <code>ComputeType</code> set to <code>CONTAINER</code>
|
|
100
|
-
* </p>
|
|
101
|
-
* </li>
|
|
102
|
-
* <li>
|
|
103
|
-
* <p>
|
|
104
|
-
* <code>ContainerGroupsConfiguration</code>
|
|
105
|
-
* </p>
|
|
106
|
-
* </li>
|
|
107
|
-
* <li>
|
|
108
|
-
* <p>
|
|
109
|
-
* <code>EC2InboundPermissions</code>
|
|
110
|
-
* </p>
|
|
111
|
-
* </li>
|
|
112
|
-
* <li>
|
|
113
|
-
* <p>
|
|
114
|
-
* <code>EC2InstanceType</code>
|
|
115
|
-
* </p>
|
|
116
|
-
* </li>
|
|
117
|
-
* <li>
|
|
118
|
-
* <p>
|
|
119
|
-
* <code>FleetType</code> set to <code>ON_DEMAND</code>
|
|
120
|
-
* </p>
|
|
121
|
-
* </li>
|
|
122
|
-
* <li>
|
|
123
|
-
* <p>
|
|
124
|
-
* <code>Name</code>
|
|
125
|
-
* </p>
|
|
126
|
-
* </li>
|
|
127
|
-
* <li>
|
|
128
|
-
* <p>
|
|
129
|
-
* <code>RuntimeConfiguration</code> with at least one <code>ServerProcesses</code>
|
|
130
|
-
* configuration</p>
|
|
131
|
-
* </li>
|
|
132
|
-
* </ul>
|
|
133
|
-
* <p>If successful, this operation creates a new fleet resource and places it in
|
|
134
|
-
* <code>NEW</code> status while Amazon GameLift initiates the <a href="https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-creating-all.html#fleets-creation-workflow">fleet creation workflow</a>. </p>
|
|
135
|
-
* <p>When the fleet status is ACTIVE, you can adjust capacity settings and turn autoscaling
|
|
136
|
-
* on/off for each location.</p>
|
|
137
|
-
* <p>
|
|
138
84
|
* <b>Anywhere fleet</b>
|
|
139
85
|
* </p>
|
|
140
86
|
* <p>An Anywhere fleet represents compute resources that are not owned or managed by
|
|
@@ -168,9 +114,6 @@ declare const CreateFleetCommand_base: {
|
|
|
168
114
|
* fleets</a>
|
|
169
115
|
* </p>
|
|
170
116
|
* <p>
|
|
171
|
-
* <a href="https://docs.aws.amazon.com/gamelift/latest/developerguide/containers-build-fleet.html">Setting up a container fleet</a>
|
|
172
|
-
* </p>
|
|
173
|
-
* <p>
|
|
174
117
|
* <a href="https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-creating-debug.html#fleets-creating-debug-creation">Debug fleet creation issues</a>
|
|
175
118
|
* </p>
|
|
176
119
|
* <p>
|
|
@@ -238,21 +181,11 @@ declare const CreateFleetCommand_base: {
|
|
|
238
181
|
* Value: "STRING_VALUE", // required
|
|
239
182
|
* },
|
|
240
183
|
* ],
|
|
241
|
-
* ComputeType: "EC2" || "ANYWHERE"
|
|
184
|
+
* ComputeType: "EC2" || "ANYWHERE",
|
|
242
185
|
* AnywhereConfiguration: { // AnywhereConfiguration
|
|
243
186
|
* Cost: "STRING_VALUE", // required
|
|
244
187
|
* },
|
|
245
188
|
* InstanceRoleCredentialsProvider: "SHARED_CREDENTIAL_FILE",
|
|
246
|
-
* ContainerGroupsConfiguration: { // ContainerGroupsConfiguration
|
|
247
|
-
* ContainerGroupDefinitionNames: [ // ContainerGroupDefinitionNameOrArnLimitedList // required
|
|
248
|
-
* "STRING_VALUE",
|
|
249
|
-
* ],
|
|
250
|
-
* ConnectionPortRange: { // ConnectionPortRange
|
|
251
|
-
* FromPort: Number("int"), // required
|
|
252
|
-
* ToPort: Number("int"), // required
|
|
253
|
-
* },
|
|
254
|
-
* DesiredReplicaContainerGroupsPerInstance: Number("int"),
|
|
255
|
-
* },
|
|
256
189
|
* };
|
|
257
190
|
* const command = new CreateFleetCommand(input);
|
|
258
191
|
* const response = await client.send(command);
|
|
@@ -292,27 +225,11 @@ declare const CreateFleetCommand_base: {
|
|
|
292
225
|
* // CertificateConfiguration: { // CertificateConfiguration
|
|
293
226
|
* // CertificateType: "DISABLED" || "GENERATED", // required
|
|
294
227
|
* // },
|
|
295
|
-
* // ComputeType: "EC2" || "ANYWHERE"
|
|
228
|
+
* // ComputeType: "EC2" || "ANYWHERE",
|
|
296
229
|
* // AnywhereConfiguration: { // AnywhereConfiguration
|
|
297
230
|
* // Cost: "STRING_VALUE", // required
|
|
298
231
|
* // },
|
|
299
232
|
* // InstanceRoleCredentialsProvider: "SHARED_CREDENTIAL_FILE",
|
|
300
|
-
* // ContainerGroupsAttributes: { // ContainerGroupsAttributes
|
|
301
|
-
* // ContainerGroupDefinitionProperties: [ // ContainerGroupDefinitionPropertiesList
|
|
302
|
-
* // { // ContainerGroupDefinitionProperty
|
|
303
|
-
* // SchedulingStrategy: "REPLICA" || "DAEMON",
|
|
304
|
-
* // ContainerGroupDefinitionName: "STRING_VALUE",
|
|
305
|
-
* // },
|
|
306
|
-
* // ],
|
|
307
|
-
* // ConnectionPortRange: { // ConnectionPortRange
|
|
308
|
-
* // FromPort: Number("int"), // required
|
|
309
|
-
* // ToPort: Number("int"), // required
|
|
310
|
-
* // },
|
|
311
|
-
* // ContainerGroupsPerInstance: { // ContainerGroupsPerInstance
|
|
312
|
-
* // DesiredReplicaContainerGroupsPerInstance: Number("int"),
|
|
313
|
-
* // MaxReplicaContainerGroupsPerInstance: Number("int"),
|
|
314
|
-
* // },
|
|
315
|
-
* // },
|
|
316
233
|
* // },
|
|
317
234
|
* // LocationStates: [ // LocationStateList
|
|
318
235
|
* // { // LocationState
|
|
@@ -353,8 +270,8 @@ declare const CreateFleetCommand_base: {
|
|
|
353
270
|
*
|
|
354
271
|
* @throws {@link NotReadyException} (client fault)
|
|
355
272
|
* <p> The operation failed because Amazon GameLift has not yet finished validating this compute. We
|
|
356
|
-
*
|
|
357
|
-
*
|
|
273
|
+
* 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
|
|
274
|
+
* backoffs and jitter</a>. </p>
|
|
358
275
|
*
|
|
359
276
|
* @throws {@link TaggingFailedException} (client fault)
|
|
360
277
|
* <p>The requested tagging operation did not succeed. This may be due to invalid tag format
|
|
@@ -27,10 +27,7 @@ declare const CreateFleetLocationsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
31
|
-
* <b>This operation has been expanded to use with the Amazon GameLift containers feature, which is currently in public preview.</b>
|
|
32
|
-
* </p>
|
|
33
|
-
* <p>Adds remote locations to an EC2 or container fleet and begins populating the new
|
|
30
|
+
* <p>Adds remote locations to a managed EC2 fleet or managed container fleet and begins populating the new
|
|
34
31
|
* locations with instances. The new instances conform to the fleet's instance type,
|
|
35
32
|
* auto-scaling, and other configuration settings.</p>
|
|
36
33
|
* <note>
|
|
@@ -120,8 +117,8 @@ declare const CreateFleetLocationsCommand_base: {
|
|
|
120
117
|
*
|
|
121
118
|
* @throws {@link NotReadyException} (client fault)
|
|
122
119
|
* <p> The operation failed because Amazon GameLift has not yet finished validating this compute. We
|
|
123
|
-
*
|
|
124
|
-
*
|
|
120
|
+
* 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
|
|
121
|
+
* backoffs and jitter</a>. </p>
|
|
125
122
|
*
|
|
126
123
|
* @throws {@link UnauthorizedException} (client fault)
|
|
127
124
|
* <p>The client failed authentication. Clients should not retry such requests.</p>
|