@aws-sdk/client-ecs 3.1067.0 → 3.1069.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/dist-cjs/auth/httpAuthSchemeProvider.js +9 -15
- package/dist-cjs/endpoint/bdd.js +2 -5
- package/dist-cjs/endpoint/endpointResolver.js +7 -11
- package/dist-cjs/index.js +357 -377
- package/dist-cjs/models/ECSServiceException.js +4 -8
- package/dist-cjs/models/errors.js +61 -94
- package/dist-cjs/runtimeConfig.browser.js +22 -26
- package/dist-cjs/runtimeConfig.js +30 -34
- package/dist-cjs/runtimeConfig.native.js +4 -7
- package/dist-cjs/runtimeConfig.shared.js +20 -24
- package/dist-cjs/schemas/schemas_0.js +1052 -690
- package/package.json +9 -9
package/dist-cjs/index.js
CHANGED
|
@@ -1,18 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
var __exportStar = (m, e) => { Object.assign(e, m); };
|
|
2
|
+
const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
3
|
+
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
4
|
+
const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
|
|
5
|
+
exports.$Command = Command;
|
|
6
|
+
exports.__Client = Client;
|
|
7
|
+
const { resolveRegionConfig } = require("@smithy/core/config");
|
|
8
|
+
const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
9
|
+
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
10
|
+
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
11
|
+
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
12
|
+
const { resolveHttpAuthSchemeConfig, defaultECSHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
|
|
13
|
+
const { getRuntimeConfig } = require("./runtimeConfig");
|
|
14
|
+
const { ContinueServiceDeployment$, CreateCapacityProvider$, CreateCluster$, CreateDaemon$, CreateExpressGatewayService$, CreateService$, CreateTaskSet$, DeleteAccountSetting$, DeleteAttributes$, DeleteCapacityProvider$, DeleteCluster$, DeleteDaemon$, DeleteDaemonTaskDefinition$, DeleteExpressGatewayService$, DeleteService$, DeleteTaskDefinitions$, DeleteTaskSet$, DeregisterContainerInstance$, DeregisterTaskDefinition$, DescribeCapacityProviders$, DescribeClusters$, DescribeContainerInstances$, DescribeDaemon$, DescribeDaemonDeployments$, DescribeDaemonRevisions$, DescribeDaemonTaskDefinition$, DescribeExpressGatewayService$, DescribeServiceDeployments$, DescribeServiceRevisions$, DescribeServices$, DescribeTaskDefinition$, DescribeTasks$, DescribeTaskSets$, DiscoverPollEndpoint$, ExecuteCommand$, GetTaskProtection$, ListAccountSettings$, ListAttributes$, ListClusters$, ListContainerInstances$, ListDaemonDeployments$, ListDaemons$, ListDaemonTaskDefinitions$, ListServiceDeployments$, ListServicesByNamespace$, ListServices$, ListTagsForResource$, ListTaskDefinitionFamilies$, ListTaskDefinitions$, ListTasks$, PutAccountSetting$, PutAccountSettingDefault$, PutAttributes$, PutClusterCapacityProviders$, RegisterContainerInstance$, RegisterDaemonTaskDefinition$, RegisterTaskDefinition$, RunTask$, StartTask$, StopServiceDeployment$, StopTask$, SubmitAttachmentStateChanges$, SubmitContainerStateChange$, SubmitTaskStateChange$, TagResource$, UntagResource$, UpdateCapacityProvider$, UpdateCluster$, UpdateClusterSettings$, UpdateContainerAgent$, UpdateContainerInstancesState$, UpdateDaemon$, UpdateExpressGatewayService$, UpdateService$, UpdateServicePrimaryTaskSet$, UpdateTaskProtection$, UpdateTaskSet$ } = require("./schemas/schemas_0");
|
|
15
|
+
__exportStar(require("./schemas/schemas_0"), exports);
|
|
16
|
+
__exportStar(require("./models/errors"), exports);
|
|
17
|
+
const { ECSServiceException } = require("./models/ECSServiceException");
|
|
18
|
+
exports.ECSServiceException = ECSServiceException;
|
|
16
19
|
|
|
17
20
|
const resolveClientEndpointParameters = (options) => {
|
|
18
21
|
return Object.assign(options, {
|
|
@@ -68,999 +71,999 @@ const resolveHttpAuthRuntimeConfig = (config) => {
|
|
|
68
71
|
};
|
|
69
72
|
|
|
70
73
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
71
|
-
const extensionConfiguration = Object.assign(
|
|
74
|
+
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
72
75
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
73
|
-
return Object.assign(runtimeConfig,
|
|
76
|
+
return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
74
77
|
};
|
|
75
78
|
|
|
76
|
-
class ECSClient extends
|
|
79
|
+
class ECSClient extends Client {
|
|
77
80
|
config;
|
|
78
81
|
constructor(...[configuration]) {
|
|
79
|
-
const _config_0 =
|
|
82
|
+
const _config_0 = getRuntimeConfig(configuration || {});
|
|
80
83
|
super(_config_0);
|
|
81
84
|
this.initConfig = _config_0;
|
|
82
85
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
83
|
-
const _config_2 =
|
|
84
|
-
const _config_3 =
|
|
85
|
-
const _config_4 =
|
|
86
|
-
const _config_5 =
|
|
87
|
-
const _config_6 =
|
|
88
|
-
const _config_7 =
|
|
86
|
+
const _config_2 = resolveUserAgentConfig(_config_1);
|
|
87
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
88
|
+
const _config_4 = resolveRegionConfig(_config_3);
|
|
89
|
+
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
90
|
+
const _config_6 = resolveEndpointConfig(_config_5);
|
|
91
|
+
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
89
92
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
90
93
|
this.config = _config_8;
|
|
91
|
-
this.middlewareStack.use(
|
|
92
|
-
this.middlewareStack.use(
|
|
93
|
-
this.middlewareStack.use(
|
|
94
|
-
this.middlewareStack.use(
|
|
95
|
-
this.middlewareStack.use(
|
|
96
|
-
this.middlewareStack.use(
|
|
97
|
-
this.middlewareStack.use(
|
|
98
|
-
this.middlewareStack.use(
|
|
99
|
-
httpAuthSchemeParametersProvider:
|
|
100
|
-
identityProviderConfigProvider: async (config) => new
|
|
94
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
95
|
+
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
100
|
+
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
101
|
+
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
102
|
+
httpAuthSchemeParametersProvider: defaultECSHttpAuthSchemeParametersProvider,
|
|
103
|
+
identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
|
|
101
104
|
"aws.auth#sigv4": config.credentials,
|
|
102
105
|
}),
|
|
103
106
|
}));
|
|
104
|
-
this.middlewareStack.use(
|
|
107
|
+
this.middlewareStack.use(getHttpSigningPlugin(this.config));
|
|
105
108
|
}
|
|
106
109
|
destroy() {
|
|
107
110
|
super.destroy();
|
|
108
111
|
}
|
|
109
112
|
}
|
|
110
113
|
|
|
111
|
-
class ContinueServiceDeploymentCommand extends
|
|
114
|
+
class ContinueServiceDeploymentCommand extends Command
|
|
112
115
|
.classBuilder()
|
|
113
116
|
.ep(commonParams)
|
|
114
117
|
.m(function (Command, cs, config, o) {
|
|
115
|
-
return [
|
|
118
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
116
119
|
})
|
|
117
120
|
.s("AmazonEC2ContainerServiceV20141113", "ContinueServiceDeployment", {})
|
|
118
121
|
.n("ECSClient", "ContinueServiceDeploymentCommand")
|
|
119
|
-
.sc(
|
|
122
|
+
.sc(ContinueServiceDeployment$)
|
|
120
123
|
.build() {
|
|
121
124
|
}
|
|
122
125
|
|
|
123
|
-
class CreateCapacityProviderCommand extends
|
|
126
|
+
class CreateCapacityProviderCommand extends Command
|
|
124
127
|
.classBuilder()
|
|
125
128
|
.ep(commonParams)
|
|
126
129
|
.m(function (Command, cs, config, o) {
|
|
127
|
-
return [
|
|
130
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
128
131
|
})
|
|
129
132
|
.s("AmazonEC2ContainerServiceV20141113", "CreateCapacityProvider", {})
|
|
130
133
|
.n("ECSClient", "CreateCapacityProviderCommand")
|
|
131
|
-
.sc(
|
|
134
|
+
.sc(CreateCapacityProvider$)
|
|
132
135
|
.build() {
|
|
133
136
|
}
|
|
134
137
|
|
|
135
|
-
class CreateClusterCommand extends
|
|
138
|
+
class CreateClusterCommand extends Command
|
|
136
139
|
.classBuilder()
|
|
137
140
|
.ep(commonParams)
|
|
138
141
|
.m(function (Command, cs, config, o) {
|
|
139
|
-
return [
|
|
142
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
140
143
|
})
|
|
141
144
|
.s("AmazonEC2ContainerServiceV20141113", "CreateCluster", {})
|
|
142
145
|
.n("ECSClient", "CreateClusterCommand")
|
|
143
|
-
.sc(
|
|
146
|
+
.sc(CreateCluster$)
|
|
144
147
|
.build() {
|
|
145
148
|
}
|
|
146
149
|
|
|
147
|
-
class CreateDaemonCommand extends
|
|
150
|
+
class CreateDaemonCommand extends Command
|
|
148
151
|
.classBuilder()
|
|
149
152
|
.ep(commonParams)
|
|
150
153
|
.m(function (Command, cs, config, o) {
|
|
151
|
-
return [
|
|
154
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
152
155
|
})
|
|
153
156
|
.s("AmazonEC2ContainerServiceV20141113", "CreateDaemon", {})
|
|
154
157
|
.n("ECSClient", "CreateDaemonCommand")
|
|
155
|
-
.sc(
|
|
158
|
+
.sc(CreateDaemon$)
|
|
156
159
|
.build() {
|
|
157
160
|
}
|
|
158
161
|
|
|
159
|
-
class CreateExpressGatewayServiceCommand extends
|
|
162
|
+
class CreateExpressGatewayServiceCommand extends Command
|
|
160
163
|
.classBuilder()
|
|
161
164
|
.ep(commonParams)
|
|
162
165
|
.m(function (Command, cs, config, o) {
|
|
163
|
-
return [
|
|
166
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
164
167
|
})
|
|
165
168
|
.s("AmazonEC2ContainerServiceV20141113", "CreateExpressGatewayService", {})
|
|
166
169
|
.n("ECSClient", "CreateExpressGatewayServiceCommand")
|
|
167
|
-
.sc(
|
|
170
|
+
.sc(CreateExpressGatewayService$)
|
|
168
171
|
.build() {
|
|
169
172
|
}
|
|
170
173
|
|
|
171
|
-
class CreateServiceCommand extends
|
|
174
|
+
class CreateServiceCommand extends Command
|
|
172
175
|
.classBuilder()
|
|
173
176
|
.ep(commonParams)
|
|
174
177
|
.m(function (Command, cs, config, o) {
|
|
175
|
-
return [
|
|
178
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
176
179
|
})
|
|
177
180
|
.s("AmazonEC2ContainerServiceV20141113", "CreateService", {})
|
|
178
181
|
.n("ECSClient", "CreateServiceCommand")
|
|
179
|
-
.sc(
|
|
182
|
+
.sc(CreateService$)
|
|
180
183
|
.build() {
|
|
181
184
|
}
|
|
182
185
|
|
|
183
|
-
class CreateTaskSetCommand extends
|
|
186
|
+
class CreateTaskSetCommand extends Command
|
|
184
187
|
.classBuilder()
|
|
185
188
|
.ep(commonParams)
|
|
186
189
|
.m(function (Command, cs, config, o) {
|
|
187
|
-
return [
|
|
190
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
188
191
|
})
|
|
189
192
|
.s("AmazonEC2ContainerServiceV20141113", "CreateTaskSet", {})
|
|
190
193
|
.n("ECSClient", "CreateTaskSetCommand")
|
|
191
|
-
.sc(
|
|
194
|
+
.sc(CreateTaskSet$)
|
|
192
195
|
.build() {
|
|
193
196
|
}
|
|
194
197
|
|
|
195
|
-
class DeleteAccountSettingCommand extends
|
|
198
|
+
class DeleteAccountSettingCommand extends Command
|
|
196
199
|
.classBuilder()
|
|
197
200
|
.ep(commonParams)
|
|
198
201
|
.m(function (Command, cs, config, o) {
|
|
199
|
-
return [
|
|
202
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
200
203
|
})
|
|
201
204
|
.s("AmazonEC2ContainerServiceV20141113", "DeleteAccountSetting", {})
|
|
202
205
|
.n("ECSClient", "DeleteAccountSettingCommand")
|
|
203
|
-
.sc(
|
|
206
|
+
.sc(DeleteAccountSetting$)
|
|
204
207
|
.build() {
|
|
205
208
|
}
|
|
206
209
|
|
|
207
|
-
class DeleteAttributesCommand extends
|
|
210
|
+
class DeleteAttributesCommand extends Command
|
|
208
211
|
.classBuilder()
|
|
209
212
|
.ep(commonParams)
|
|
210
213
|
.m(function (Command, cs, config, o) {
|
|
211
|
-
return [
|
|
214
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
212
215
|
})
|
|
213
216
|
.s("AmazonEC2ContainerServiceV20141113", "DeleteAttributes", {})
|
|
214
217
|
.n("ECSClient", "DeleteAttributesCommand")
|
|
215
|
-
.sc(
|
|
218
|
+
.sc(DeleteAttributes$)
|
|
216
219
|
.build() {
|
|
217
220
|
}
|
|
218
221
|
|
|
219
|
-
class DeleteCapacityProviderCommand extends
|
|
222
|
+
class DeleteCapacityProviderCommand extends Command
|
|
220
223
|
.classBuilder()
|
|
221
224
|
.ep(commonParams)
|
|
222
225
|
.m(function (Command, cs, config, o) {
|
|
223
|
-
return [
|
|
226
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
224
227
|
})
|
|
225
228
|
.s("AmazonEC2ContainerServiceV20141113", "DeleteCapacityProvider", {})
|
|
226
229
|
.n("ECSClient", "DeleteCapacityProviderCommand")
|
|
227
|
-
.sc(
|
|
230
|
+
.sc(DeleteCapacityProvider$)
|
|
228
231
|
.build() {
|
|
229
232
|
}
|
|
230
233
|
|
|
231
|
-
class DeleteClusterCommand extends
|
|
234
|
+
class DeleteClusterCommand extends Command
|
|
232
235
|
.classBuilder()
|
|
233
236
|
.ep(commonParams)
|
|
234
237
|
.m(function (Command, cs, config, o) {
|
|
235
|
-
return [
|
|
238
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
236
239
|
})
|
|
237
240
|
.s("AmazonEC2ContainerServiceV20141113", "DeleteCluster", {})
|
|
238
241
|
.n("ECSClient", "DeleteClusterCommand")
|
|
239
|
-
.sc(
|
|
242
|
+
.sc(DeleteCluster$)
|
|
240
243
|
.build() {
|
|
241
244
|
}
|
|
242
245
|
|
|
243
|
-
class DeleteDaemonCommand extends
|
|
246
|
+
class DeleteDaemonCommand extends Command
|
|
244
247
|
.classBuilder()
|
|
245
248
|
.ep(commonParams)
|
|
246
249
|
.m(function (Command, cs, config, o) {
|
|
247
|
-
return [
|
|
250
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
248
251
|
})
|
|
249
252
|
.s("AmazonEC2ContainerServiceV20141113", "DeleteDaemon", {})
|
|
250
253
|
.n("ECSClient", "DeleteDaemonCommand")
|
|
251
|
-
.sc(
|
|
254
|
+
.sc(DeleteDaemon$)
|
|
252
255
|
.build() {
|
|
253
256
|
}
|
|
254
257
|
|
|
255
|
-
class DeleteDaemonTaskDefinitionCommand extends
|
|
258
|
+
class DeleteDaemonTaskDefinitionCommand extends Command
|
|
256
259
|
.classBuilder()
|
|
257
260
|
.ep(commonParams)
|
|
258
261
|
.m(function (Command, cs, config, o) {
|
|
259
|
-
return [
|
|
262
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
260
263
|
})
|
|
261
264
|
.s("AmazonEC2ContainerServiceV20141113", "DeleteDaemonTaskDefinition", {})
|
|
262
265
|
.n("ECSClient", "DeleteDaemonTaskDefinitionCommand")
|
|
263
|
-
.sc(
|
|
266
|
+
.sc(DeleteDaemonTaskDefinition$)
|
|
264
267
|
.build() {
|
|
265
268
|
}
|
|
266
269
|
|
|
267
|
-
class DeleteExpressGatewayServiceCommand extends
|
|
270
|
+
class DeleteExpressGatewayServiceCommand extends Command
|
|
268
271
|
.classBuilder()
|
|
269
272
|
.ep(commonParams)
|
|
270
273
|
.m(function (Command, cs, config, o) {
|
|
271
|
-
return [
|
|
274
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
272
275
|
})
|
|
273
276
|
.s("AmazonEC2ContainerServiceV20141113", "DeleteExpressGatewayService", {})
|
|
274
277
|
.n("ECSClient", "DeleteExpressGatewayServiceCommand")
|
|
275
|
-
.sc(
|
|
278
|
+
.sc(DeleteExpressGatewayService$)
|
|
276
279
|
.build() {
|
|
277
280
|
}
|
|
278
281
|
|
|
279
|
-
class DeleteServiceCommand extends
|
|
282
|
+
class DeleteServiceCommand extends Command
|
|
280
283
|
.classBuilder()
|
|
281
284
|
.ep(commonParams)
|
|
282
285
|
.m(function (Command, cs, config, o) {
|
|
283
|
-
return [
|
|
286
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
284
287
|
})
|
|
285
288
|
.s("AmazonEC2ContainerServiceV20141113", "DeleteService", {})
|
|
286
289
|
.n("ECSClient", "DeleteServiceCommand")
|
|
287
|
-
.sc(
|
|
290
|
+
.sc(DeleteService$)
|
|
288
291
|
.build() {
|
|
289
292
|
}
|
|
290
293
|
|
|
291
|
-
class DeleteTaskDefinitionsCommand extends
|
|
294
|
+
class DeleteTaskDefinitionsCommand extends Command
|
|
292
295
|
.classBuilder()
|
|
293
296
|
.ep(commonParams)
|
|
294
297
|
.m(function (Command, cs, config, o) {
|
|
295
|
-
return [
|
|
298
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
296
299
|
})
|
|
297
300
|
.s("AmazonEC2ContainerServiceV20141113", "DeleteTaskDefinitions", {})
|
|
298
301
|
.n("ECSClient", "DeleteTaskDefinitionsCommand")
|
|
299
|
-
.sc(
|
|
302
|
+
.sc(DeleteTaskDefinitions$)
|
|
300
303
|
.build() {
|
|
301
304
|
}
|
|
302
305
|
|
|
303
|
-
class DeleteTaskSetCommand extends
|
|
306
|
+
class DeleteTaskSetCommand extends Command
|
|
304
307
|
.classBuilder()
|
|
305
308
|
.ep(commonParams)
|
|
306
309
|
.m(function (Command, cs, config, o) {
|
|
307
|
-
return [
|
|
310
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
308
311
|
})
|
|
309
312
|
.s("AmazonEC2ContainerServiceV20141113", "DeleteTaskSet", {})
|
|
310
313
|
.n("ECSClient", "DeleteTaskSetCommand")
|
|
311
|
-
.sc(
|
|
314
|
+
.sc(DeleteTaskSet$)
|
|
312
315
|
.build() {
|
|
313
316
|
}
|
|
314
317
|
|
|
315
|
-
class DeregisterContainerInstanceCommand extends
|
|
318
|
+
class DeregisterContainerInstanceCommand extends Command
|
|
316
319
|
.classBuilder()
|
|
317
320
|
.ep(commonParams)
|
|
318
321
|
.m(function (Command, cs, config, o) {
|
|
319
|
-
return [
|
|
322
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
320
323
|
})
|
|
321
324
|
.s("AmazonEC2ContainerServiceV20141113", "DeregisterContainerInstance", {})
|
|
322
325
|
.n("ECSClient", "DeregisterContainerInstanceCommand")
|
|
323
|
-
.sc(
|
|
326
|
+
.sc(DeregisterContainerInstance$)
|
|
324
327
|
.build() {
|
|
325
328
|
}
|
|
326
329
|
|
|
327
|
-
class DeregisterTaskDefinitionCommand extends
|
|
330
|
+
class DeregisterTaskDefinitionCommand extends Command
|
|
328
331
|
.classBuilder()
|
|
329
332
|
.ep(commonParams)
|
|
330
333
|
.m(function (Command, cs, config, o) {
|
|
331
|
-
return [
|
|
334
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
332
335
|
})
|
|
333
336
|
.s("AmazonEC2ContainerServiceV20141113", "DeregisterTaskDefinition", {})
|
|
334
337
|
.n("ECSClient", "DeregisterTaskDefinitionCommand")
|
|
335
|
-
.sc(
|
|
338
|
+
.sc(DeregisterTaskDefinition$)
|
|
336
339
|
.build() {
|
|
337
340
|
}
|
|
338
341
|
|
|
339
|
-
class DescribeCapacityProvidersCommand extends
|
|
342
|
+
class DescribeCapacityProvidersCommand extends Command
|
|
340
343
|
.classBuilder()
|
|
341
344
|
.ep(commonParams)
|
|
342
345
|
.m(function (Command, cs, config, o) {
|
|
343
|
-
return [
|
|
346
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
344
347
|
})
|
|
345
348
|
.s("AmazonEC2ContainerServiceV20141113", "DescribeCapacityProviders", {})
|
|
346
349
|
.n("ECSClient", "DescribeCapacityProvidersCommand")
|
|
347
|
-
.sc(
|
|
350
|
+
.sc(DescribeCapacityProviders$)
|
|
348
351
|
.build() {
|
|
349
352
|
}
|
|
350
353
|
|
|
351
|
-
class DescribeClustersCommand extends
|
|
354
|
+
class DescribeClustersCommand extends Command
|
|
352
355
|
.classBuilder()
|
|
353
356
|
.ep(commonParams)
|
|
354
357
|
.m(function (Command, cs, config, o) {
|
|
355
|
-
return [
|
|
358
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
356
359
|
})
|
|
357
360
|
.s("AmazonEC2ContainerServiceV20141113", "DescribeClusters", {})
|
|
358
361
|
.n("ECSClient", "DescribeClustersCommand")
|
|
359
|
-
.sc(
|
|
362
|
+
.sc(DescribeClusters$)
|
|
360
363
|
.build() {
|
|
361
364
|
}
|
|
362
365
|
|
|
363
|
-
class DescribeContainerInstancesCommand extends
|
|
366
|
+
class DescribeContainerInstancesCommand extends Command
|
|
364
367
|
.classBuilder()
|
|
365
368
|
.ep(commonParams)
|
|
366
369
|
.m(function (Command, cs, config, o) {
|
|
367
|
-
return [
|
|
370
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
368
371
|
})
|
|
369
372
|
.s("AmazonEC2ContainerServiceV20141113", "DescribeContainerInstances", {})
|
|
370
373
|
.n("ECSClient", "DescribeContainerInstancesCommand")
|
|
371
|
-
.sc(
|
|
374
|
+
.sc(DescribeContainerInstances$)
|
|
372
375
|
.build() {
|
|
373
376
|
}
|
|
374
377
|
|
|
375
|
-
class DescribeDaemonCommand extends
|
|
378
|
+
class DescribeDaemonCommand extends Command
|
|
376
379
|
.classBuilder()
|
|
377
380
|
.ep(commonParams)
|
|
378
381
|
.m(function (Command, cs, config, o) {
|
|
379
|
-
return [
|
|
382
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
380
383
|
})
|
|
381
384
|
.s("AmazonEC2ContainerServiceV20141113", "DescribeDaemon", {})
|
|
382
385
|
.n("ECSClient", "DescribeDaemonCommand")
|
|
383
|
-
.sc(
|
|
386
|
+
.sc(DescribeDaemon$)
|
|
384
387
|
.build() {
|
|
385
388
|
}
|
|
386
389
|
|
|
387
|
-
class DescribeDaemonDeploymentsCommand extends
|
|
390
|
+
class DescribeDaemonDeploymentsCommand extends Command
|
|
388
391
|
.classBuilder()
|
|
389
392
|
.ep(commonParams)
|
|
390
393
|
.m(function (Command, cs, config, o) {
|
|
391
|
-
return [
|
|
394
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
392
395
|
})
|
|
393
396
|
.s("AmazonEC2ContainerServiceV20141113", "DescribeDaemonDeployments", {})
|
|
394
397
|
.n("ECSClient", "DescribeDaemonDeploymentsCommand")
|
|
395
|
-
.sc(
|
|
398
|
+
.sc(DescribeDaemonDeployments$)
|
|
396
399
|
.build() {
|
|
397
400
|
}
|
|
398
401
|
|
|
399
|
-
class DescribeDaemonRevisionsCommand extends
|
|
402
|
+
class DescribeDaemonRevisionsCommand extends Command
|
|
400
403
|
.classBuilder()
|
|
401
404
|
.ep(commonParams)
|
|
402
405
|
.m(function (Command, cs, config, o) {
|
|
403
|
-
return [
|
|
406
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
404
407
|
})
|
|
405
408
|
.s("AmazonEC2ContainerServiceV20141113", "DescribeDaemonRevisions", {})
|
|
406
409
|
.n("ECSClient", "DescribeDaemonRevisionsCommand")
|
|
407
|
-
.sc(
|
|
410
|
+
.sc(DescribeDaemonRevisions$)
|
|
408
411
|
.build() {
|
|
409
412
|
}
|
|
410
413
|
|
|
411
|
-
class DescribeDaemonTaskDefinitionCommand extends
|
|
414
|
+
class DescribeDaemonTaskDefinitionCommand extends Command
|
|
412
415
|
.classBuilder()
|
|
413
416
|
.ep(commonParams)
|
|
414
417
|
.m(function (Command, cs, config, o) {
|
|
415
|
-
return [
|
|
418
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
416
419
|
})
|
|
417
420
|
.s("AmazonEC2ContainerServiceV20141113", "DescribeDaemonTaskDefinition", {})
|
|
418
421
|
.n("ECSClient", "DescribeDaemonTaskDefinitionCommand")
|
|
419
|
-
.sc(
|
|
422
|
+
.sc(DescribeDaemonTaskDefinition$)
|
|
420
423
|
.build() {
|
|
421
424
|
}
|
|
422
425
|
|
|
423
|
-
class DescribeExpressGatewayServiceCommand extends
|
|
426
|
+
class DescribeExpressGatewayServiceCommand extends Command
|
|
424
427
|
.classBuilder()
|
|
425
428
|
.ep(commonParams)
|
|
426
429
|
.m(function (Command, cs, config, o) {
|
|
427
|
-
return [
|
|
430
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
428
431
|
})
|
|
429
432
|
.s("AmazonEC2ContainerServiceV20141113", "DescribeExpressGatewayService", {})
|
|
430
433
|
.n("ECSClient", "DescribeExpressGatewayServiceCommand")
|
|
431
|
-
.sc(
|
|
434
|
+
.sc(DescribeExpressGatewayService$)
|
|
432
435
|
.build() {
|
|
433
436
|
}
|
|
434
437
|
|
|
435
|
-
class DescribeServiceDeploymentsCommand extends
|
|
438
|
+
class DescribeServiceDeploymentsCommand extends Command
|
|
436
439
|
.classBuilder()
|
|
437
440
|
.ep(commonParams)
|
|
438
441
|
.m(function (Command, cs, config, o) {
|
|
439
|
-
return [
|
|
442
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
440
443
|
})
|
|
441
444
|
.s("AmazonEC2ContainerServiceV20141113", "DescribeServiceDeployments", {})
|
|
442
445
|
.n("ECSClient", "DescribeServiceDeploymentsCommand")
|
|
443
|
-
.sc(
|
|
446
|
+
.sc(DescribeServiceDeployments$)
|
|
444
447
|
.build() {
|
|
445
448
|
}
|
|
446
449
|
|
|
447
|
-
class DescribeServiceRevisionsCommand extends
|
|
450
|
+
class DescribeServiceRevisionsCommand extends Command
|
|
448
451
|
.classBuilder()
|
|
449
452
|
.ep(commonParams)
|
|
450
453
|
.m(function (Command, cs, config, o) {
|
|
451
|
-
return [
|
|
454
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
452
455
|
})
|
|
453
456
|
.s("AmazonEC2ContainerServiceV20141113", "DescribeServiceRevisions", {})
|
|
454
457
|
.n("ECSClient", "DescribeServiceRevisionsCommand")
|
|
455
|
-
.sc(
|
|
458
|
+
.sc(DescribeServiceRevisions$)
|
|
456
459
|
.build() {
|
|
457
460
|
}
|
|
458
461
|
|
|
459
|
-
class DescribeServicesCommand extends
|
|
462
|
+
class DescribeServicesCommand extends Command
|
|
460
463
|
.classBuilder()
|
|
461
464
|
.ep(commonParams)
|
|
462
465
|
.m(function (Command, cs, config, o) {
|
|
463
|
-
return [
|
|
466
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
464
467
|
})
|
|
465
468
|
.s("AmazonEC2ContainerServiceV20141113", "DescribeServices", {})
|
|
466
469
|
.n("ECSClient", "DescribeServicesCommand")
|
|
467
|
-
.sc(
|
|
470
|
+
.sc(DescribeServices$)
|
|
468
471
|
.build() {
|
|
469
472
|
}
|
|
470
473
|
|
|
471
|
-
class DescribeTaskDefinitionCommand extends
|
|
474
|
+
class DescribeTaskDefinitionCommand extends Command
|
|
472
475
|
.classBuilder()
|
|
473
476
|
.ep(commonParams)
|
|
474
477
|
.m(function (Command, cs, config, o) {
|
|
475
|
-
return [
|
|
478
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
476
479
|
})
|
|
477
480
|
.s("AmazonEC2ContainerServiceV20141113", "DescribeTaskDefinition", {})
|
|
478
481
|
.n("ECSClient", "DescribeTaskDefinitionCommand")
|
|
479
|
-
.sc(
|
|
482
|
+
.sc(DescribeTaskDefinition$)
|
|
480
483
|
.build() {
|
|
481
484
|
}
|
|
482
485
|
|
|
483
|
-
class DescribeTasksCommand extends
|
|
486
|
+
class DescribeTasksCommand extends Command
|
|
484
487
|
.classBuilder()
|
|
485
488
|
.ep(commonParams)
|
|
486
489
|
.m(function (Command, cs, config, o) {
|
|
487
|
-
return [
|
|
490
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
488
491
|
})
|
|
489
492
|
.s("AmazonEC2ContainerServiceV20141113", "DescribeTasks", {})
|
|
490
493
|
.n("ECSClient", "DescribeTasksCommand")
|
|
491
|
-
.sc(
|
|
494
|
+
.sc(DescribeTasks$)
|
|
492
495
|
.build() {
|
|
493
496
|
}
|
|
494
497
|
|
|
495
|
-
class DescribeTaskSetsCommand extends
|
|
498
|
+
class DescribeTaskSetsCommand extends Command
|
|
496
499
|
.classBuilder()
|
|
497
500
|
.ep(commonParams)
|
|
498
501
|
.m(function (Command, cs, config, o) {
|
|
499
|
-
return [
|
|
502
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
500
503
|
})
|
|
501
504
|
.s("AmazonEC2ContainerServiceV20141113", "DescribeTaskSets", {})
|
|
502
505
|
.n("ECSClient", "DescribeTaskSetsCommand")
|
|
503
|
-
.sc(
|
|
506
|
+
.sc(DescribeTaskSets$)
|
|
504
507
|
.build() {
|
|
505
508
|
}
|
|
506
509
|
|
|
507
|
-
class DiscoverPollEndpointCommand extends
|
|
510
|
+
class DiscoverPollEndpointCommand extends Command
|
|
508
511
|
.classBuilder()
|
|
509
512
|
.ep(commonParams)
|
|
510
513
|
.m(function (Command, cs, config, o) {
|
|
511
|
-
return [
|
|
514
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
512
515
|
})
|
|
513
516
|
.s("AmazonEC2ContainerServiceV20141113", "DiscoverPollEndpoint", {})
|
|
514
517
|
.n("ECSClient", "DiscoverPollEndpointCommand")
|
|
515
|
-
.sc(
|
|
518
|
+
.sc(DiscoverPollEndpoint$)
|
|
516
519
|
.build() {
|
|
517
520
|
}
|
|
518
521
|
|
|
519
|
-
class ExecuteCommandCommand extends
|
|
522
|
+
class ExecuteCommandCommand extends Command
|
|
520
523
|
.classBuilder()
|
|
521
524
|
.ep(commonParams)
|
|
522
525
|
.m(function (Command, cs, config, o) {
|
|
523
|
-
return [
|
|
526
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
524
527
|
})
|
|
525
528
|
.s("AmazonEC2ContainerServiceV20141113", "ExecuteCommand", {})
|
|
526
529
|
.n("ECSClient", "ExecuteCommandCommand")
|
|
527
|
-
.sc(
|
|
530
|
+
.sc(ExecuteCommand$)
|
|
528
531
|
.build() {
|
|
529
532
|
}
|
|
530
533
|
|
|
531
|
-
class GetTaskProtectionCommand extends
|
|
534
|
+
class GetTaskProtectionCommand extends Command
|
|
532
535
|
.classBuilder()
|
|
533
536
|
.ep(commonParams)
|
|
534
537
|
.m(function (Command, cs, config, o) {
|
|
535
|
-
return [
|
|
538
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
536
539
|
})
|
|
537
540
|
.s("AmazonEC2ContainerServiceV20141113", "GetTaskProtection", {})
|
|
538
541
|
.n("ECSClient", "GetTaskProtectionCommand")
|
|
539
|
-
.sc(
|
|
542
|
+
.sc(GetTaskProtection$)
|
|
540
543
|
.build() {
|
|
541
544
|
}
|
|
542
545
|
|
|
543
|
-
class ListAccountSettingsCommand extends
|
|
546
|
+
class ListAccountSettingsCommand extends Command
|
|
544
547
|
.classBuilder()
|
|
545
548
|
.ep(commonParams)
|
|
546
549
|
.m(function (Command, cs, config, o) {
|
|
547
|
-
return [
|
|
550
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
548
551
|
})
|
|
549
552
|
.s("AmazonEC2ContainerServiceV20141113", "ListAccountSettings", {})
|
|
550
553
|
.n("ECSClient", "ListAccountSettingsCommand")
|
|
551
|
-
.sc(
|
|
554
|
+
.sc(ListAccountSettings$)
|
|
552
555
|
.build() {
|
|
553
556
|
}
|
|
554
557
|
|
|
555
|
-
class ListAttributesCommand extends
|
|
558
|
+
class ListAttributesCommand extends Command
|
|
556
559
|
.classBuilder()
|
|
557
560
|
.ep(commonParams)
|
|
558
561
|
.m(function (Command, cs, config, o) {
|
|
559
|
-
return [
|
|
562
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
560
563
|
})
|
|
561
564
|
.s("AmazonEC2ContainerServiceV20141113", "ListAttributes", {})
|
|
562
565
|
.n("ECSClient", "ListAttributesCommand")
|
|
563
|
-
.sc(
|
|
566
|
+
.sc(ListAttributes$)
|
|
564
567
|
.build() {
|
|
565
568
|
}
|
|
566
569
|
|
|
567
|
-
class ListClustersCommand extends
|
|
570
|
+
class ListClustersCommand extends Command
|
|
568
571
|
.classBuilder()
|
|
569
572
|
.ep(commonParams)
|
|
570
573
|
.m(function (Command, cs, config, o) {
|
|
571
|
-
return [
|
|
574
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
572
575
|
})
|
|
573
576
|
.s("AmazonEC2ContainerServiceV20141113", "ListClusters", {})
|
|
574
577
|
.n("ECSClient", "ListClustersCommand")
|
|
575
|
-
.sc(
|
|
578
|
+
.sc(ListClusters$)
|
|
576
579
|
.build() {
|
|
577
580
|
}
|
|
578
581
|
|
|
579
|
-
class ListContainerInstancesCommand extends
|
|
582
|
+
class ListContainerInstancesCommand extends Command
|
|
580
583
|
.classBuilder()
|
|
581
584
|
.ep(commonParams)
|
|
582
585
|
.m(function (Command, cs, config, o) {
|
|
583
|
-
return [
|
|
586
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
584
587
|
})
|
|
585
588
|
.s("AmazonEC2ContainerServiceV20141113", "ListContainerInstances", {})
|
|
586
589
|
.n("ECSClient", "ListContainerInstancesCommand")
|
|
587
|
-
.sc(
|
|
590
|
+
.sc(ListContainerInstances$)
|
|
588
591
|
.build() {
|
|
589
592
|
}
|
|
590
593
|
|
|
591
|
-
class ListDaemonDeploymentsCommand extends
|
|
594
|
+
class ListDaemonDeploymentsCommand extends Command
|
|
592
595
|
.classBuilder()
|
|
593
596
|
.ep(commonParams)
|
|
594
597
|
.m(function (Command, cs, config, o) {
|
|
595
|
-
return [
|
|
598
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
596
599
|
})
|
|
597
600
|
.s("AmazonEC2ContainerServiceV20141113", "ListDaemonDeployments", {})
|
|
598
601
|
.n("ECSClient", "ListDaemonDeploymentsCommand")
|
|
599
|
-
.sc(
|
|
602
|
+
.sc(ListDaemonDeployments$)
|
|
600
603
|
.build() {
|
|
601
604
|
}
|
|
602
605
|
|
|
603
|
-
class ListDaemonsCommand extends
|
|
606
|
+
class ListDaemonsCommand extends Command
|
|
604
607
|
.classBuilder()
|
|
605
608
|
.ep(commonParams)
|
|
606
609
|
.m(function (Command, cs, config, o) {
|
|
607
|
-
return [
|
|
610
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
608
611
|
})
|
|
609
612
|
.s("AmazonEC2ContainerServiceV20141113", "ListDaemons", {})
|
|
610
613
|
.n("ECSClient", "ListDaemonsCommand")
|
|
611
|
-
.sc(
|
|
614
|
+
.sc(ListDaemons$)
|
|
612
615
|
.build() {
|
|
613
616
|
}
|
|
614
617
|
|
|
615
|
-
class ListDaemonTaskDefinitionsCommand extends
|
|
618
|
+
class ListDaemonTaskDefinitionsCommand extends Command
|
|
616
619
|
.classBuilder()
|
|
617
620
|
.ep(commonParams)
|
|
618
621
|
.m(function (Command, cs, config, o) {
|
|
619
|
-
return [
|
|
622
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
620
623
|
})
|
|
621
624
|
.s("AmazonEC2ContainerServiceV20141113", "ListDaemonTaskDefinitions", {})
|
|
622
625
|
.n("ECSClient", "ListDaemonTaskDefinitionsCommand")
|
|
623
|
-
.sc(
|
|
626
|
+
.sc(ListDaemonTaskDefinitions$)
|
|
624
627
|
.build() {
|
|
625
628
|
}
|
|
626
629
|
|
|
627
|
-
class ListServiceDeploymentsCommand extends
|
|
630
|
+
class ListServiceDeploymentsCommand extends Command
|
|
628
631
|
.classBuilder()
|
|
629
632
|
.ep(commonParams)
|
|
630
633
|
.m(function (Command, cs, config, o) {
|
|
631
|
-
return [
|
|
634
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
632
635
|
})
|
|
633
636
|
.s("AmazonEC2ContainerServiceV20141113", "ListServiceDeployments", {})
|
|
634
637
|
.n("ECSClient", "ListServiceDeploymentsCommand")
|
|
635
|
-
.sc(
|
|
638
|
+
.sc(ListServiceDeployments$)
|
|
636
639
|
.build() {
|
|
637
640
|
}
|
|
638
641
|
|
|
639
|
-
class ListServicesByNamespaceCommand extends
|
|
642
|
+
class ListServicesByNamespaceCommand extends Command
|
|
640
643
|
.classBuilder()
|
|
641
644
|
.ep(commonParams)
|
|
642
645
|
.m(function (Command, cs, config, o) {
|
|
643
|
-
return [
|
|
646
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
644
647
|
})
|
|
645
648
|
.s("AmazonEC2ContainerServiceV20141113", "ListServicesByNamespace", {})
|
|
646
649
|
.n("ECSClient", "ListServicesByNamespaceCommand")
|
|
647
|
-
.sc(
|
|
650
|
+
.sc(ListServicesByNamespace$)
|
|
648
651
|
.build() {
|
|
649
652
|
}
|
|
650
653
|
|
|
651
|
-
class ListServicesCommand extends
|
|
654
|
+
class ListServicesCommand extends Command
|
|
652
655
|
.classBuilder()
|
|
653
656
|
.ep(commonParams)
|
|
654
657
|
.m(function (Command, cs, config, o) {
|
|
655
|
-
return [
|
|
658
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
656
659
|
})
|
|
657
660
|
.s("AmazonEC2ContainerServiceV20141113", "ListServices", {})
|
|
658
661
|
.n("ECSClient", "ListServicesCommand")
|
|
659
|
-
.sc(
|
|
662
|
+
.sc(ListServices$)
|
|
660
663
|
.build() {
|
|
661
664
|
}
|
|
662
665
|
|
|
663
|
-
class ListTagsForResourceCommand extends
|
|
666
|
+
class ListTagsForResourceCommand extends Command
|
|
664
667
|
.classBuilder()
|
|
665
668
|
.ep(commonParams)
|
|
666
669
|
.m(function (Command, cs, config, o) {
|
|
667
|
-
return [
|
|
670
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
668
671
|
})
|
|
669
672
|
.s("AmazonEC2ContainerServiceV20141113", "ListTagsForResource", {})
|
|
670
673
|
.n("ECSClient", "ListTagsForResourceCommand")
|
|
671
|
-
.sc(
|
|
674
|
+
.sc(ListTagsForResource$)
|
|
672
675
|
.build() {
|
|
673
676
|
}
|
|
674
677
|
|
|
675
|
-
class ListTaskDefinitionFamiliesCommand extends
|
|
678
|
+
class ListTaskDefinitionFamiliesCommand extends Command
|
|
676
679
|
.classBuilder()
|
|
677
680
|
.ep(commonParams)
|
|
678
681
|
.m(function (Command, cs, config, o) {
|
|
679
|
-
return [
|
|
682
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
680
683
|
})
|
|
681
684
|
.s("AmazonEC2ContainerServiceV20141113", "ListTaskDefinitionFamilies", {})
|
|
682
685
|
.n("ECSClient", "ListTaskDefinitionFamiliesCommand")
|
|
683
|
-
.sc(
|
|
686
|
+
.sc(ListTaskDefinitionFamilies$)
|
|
684
687
|
.build() {
|
|
685
688
|
}
|
|
686
689
|
|
|
687
|
-
class ListTaskDefinitionsCommand extends
|
|
690
|
+
class ListTaskDefinitionsCommand extends Command
|
|
688
691
|
.classBuilder()
|
|
689
692
|
.ep(commonParams)
|
|
690
693
|
.m(function (Command, cs, config, o) {
|
|
691
|
-
return [
|
|
694
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
692
695
|
})
|
|
693
696
|
.s("AmazonEC2ContainerServiceV20141113", "ListTaskDefinitions", {})
|
|
694
697
|
.n("ECSClient", "ListTaskDefinitionsCommand")
|
|
695
|
-
.sc(
|
|
698
|
+
.sc(ListTaskDefinitions$)
|
|
696
699
|
.build() {
|
|
697
700
|
}
|
|
698
701
|
|
|
699
|
-
class ListTasksCommand extends
|
|
702
|
+
class ListTasksCommand extends Command
|
|
700
703
|
.classBuilder()
|
|
701
704
|
.ep(commonParams)
|
|
702
705
|
.m(function (Command, cs, config, o) {
|
|
703
|
-
return [
|
|
706
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
704
707
|
})
|
|
705
708
|
.s("AmazonEC2ContainerServiceV20141113", "ListTasks", {})
|
|
706
709
|
.n("ECSClient", "ListTasksCommand")
|
|
707
|
-
.sc(
|
|
710
|
+
.sc(ListTasks$)
|
|
708
711
|
.build() {
|
|
709
712
|
}
|
|
710
713
|
|
|
711
|
-
class PutAccountSettingCommand extends
|
|
714
|
+
class PutAccountSettingCommand extends Command
|
|
712
715
|
.classBuilder()
|
|
713
716
|
.ep(commonParams)
|
|
714
717
|
.m(function (Command, cs, config, o) {
|
|
715
|
-
return [
|
|
718
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
716
719
|
})
|
|
717
720
|
.s("AmazonEC2ContainerServiceV20141113", "PutAccountSetting", {})
|
|
718
721
|
.n("ECSClient", "PutAccountSettingCommand")
|
|
719
|
-
.sc(
|
|
722
|
+
.sc(PutAccountSetting$)
|
|
720
723
|
.build() {
|
|
721
724
|
}
|
|
722
725
|
|
|
723
|
-
class PutAccountSettingDefaultCommand extends
|
|
726
|
+
class PutAccountSettingDefaultCommand extends Command
|
|
724
727
|
.classBuilder()
|
|
725
728
|
.ep(commonParams)
|
|
726
729
|
.m(function (Command, cs, config, o) {
|
|
727
|
-
return [
|
|
730
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
728
731
|
})
|
|
729
732
|
.s("AmazonEC2ContainerServiceV20141113", "PutAccountSettingDefault", {})
|
|
730
733
|
.n("ECSClient", "PutAccountSettingDefaultCommand")
|
|
731
|
-
.sc(
|
|
734
|
+
.sc(PutAccountSettingDefault$)
|
|
732
735
|
.build() {
|
|
733
736
|
}
|
|
734
737
|
|
|
735
|
-
class PutAttributesCommand extends
|
|
738
|
+
class PutAttributesCommand extends Command
|
|
736
739
|
.classBuilder()
|
|
737
740
|
.ep(commonParams)
|
|
738
741
|
.m(function (Command, cs, config, o) {
|
|
739
|
-
return [
|
|
742
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
740
743
|
})
|
|
741
744
|
.s("AmazonEC2ContainerServiceV20141113", "PutAttributes", {})
|
|
742
745
|
.n("ECSClient", "PutAttributesCommand")
|
|
743
|
-
.sc(
|
|
746
|
+
.sc(PutAttributes$)
|
|
744
747
|
.build() {
|
|
745
748
|
}
|
|
746
749
|
|
|
747
|
-
class PutClusterCapacityProvidersCommand extends
|
|
750
|
+
class PutClusterCapacityProvidersCommand extends Command
|
|
748
751
|
.classBuilder()
|
|
749
752
|
.ep(commonParams)
|
|
750
753
|
.m(function (Command, cs, config, o) {
|
|
751
|
-
return [
|
|
754
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
752
755
|
})
|
|
753
756
|
.s("AmazonEC2ContainerServiceV20141113", "PutClusterCapacityProviders", {})
|
|
754
757
|
.n("ECSClient", "PutClusterCapacityProvidersCommand")
|
|
755
|
-
.sc(
|
|
758
|
+
.sc(PutClusterCapacityProviders$)
|
|
756
759
|
.build() {
|
|
757
760
|
}
|
|
758
761
|
|
|
759
|
-
class RegisterContainerInstanceCommand extends
|
|
762
|
+
class RegisterContainerInstanceCommand extends Command
|
|
760
763
|
.classBuilder()
|
|
761
764
|
.ep(commonParams)
|
|
762
765
|
.m(function (Command, cs, config, o) {
|
|
763
|
-
return [
|
|
766
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
764
767
|
})
|
|
765
768
|
.s("AmazonEC2ContainerServiceV20141113", "RegisterContainerInstance", {})
|
|
766
769
|
.n("ECSClient", "RegisterContainerInstanceCommand")
|
|
767
|
-
.sc(
|
|
770
|
+
.sc(RegisterContainerInstance$)
|
|
768
771
|
.build() {
|
|
769
772
|
}
|
|
770
773
|
|
|
771
|
-
class RegisterDaemonTaskDefinitionCommand extends
|
|
774
|
+
class RegisterDaemonTaskDefinitionCommand extends Command
|
|
772
775
|
.classBuilder()
|
|
773
776
|
.ep(commonParams)
|
|
774
777
|
.m(function (Command, cs, config, o) {
|
|
775
|
-
return [
|
|
778
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
776
779
|
})
|
|
777
780
|
.s("AmazonEC2ContainerServiceV20141113", "RegisterDaemonTaskDefinition", {})
|
|
778
781
|
.n("ECSClient", "RegisterDaemonTaskDefinitionCommand")
|
|
779
|
-
.sc(
|
|
782
|
+
.sc(RegisterDaemonTaskDefinition$)
|
|
780
783
|
.build() {
|
|
781
784
|
}
|
|
782
785
|
|
|
783
|
-
class RegisterTaskDefinitionCommand extends
|
|
786
|
+
class RegisterTaskDefinitionCommand extends Command
|
|
784
787
|
.classBuilder()
|
|
785
788
|
.ep(commonParams)
|
|
786
789
|
.m(function (Command, cs, config, o) {
|
|
787
|
-
return [
|
|
790
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
788
791
|
})
|
|
789
792
|
.s("AmazonEC2ContainerServiceV20141113", "RegisterTaskDefinition", {})
|
|
790
793
|
.n("ECSClient", "RegisterTaskDefinitionCommand")
|
|
791
|
-
.sc(
|
|
794
|
+
.sc(RegisterTaskDefinition$)
|
|
792
795
|
.build() {
|
|
793
796
|
}
|
|
794
797
|
|
|
795
|
-
class RunTaskCommand extends
|
|
798
|
+
class RunTaskCommand extends Command
|
|
796
799
|
.classBuilder()
|
|
797
800
|
.ep(commonParams)
|
|
798
801
|
.m(function (Command, cs, config, o) {
|
|
799
|
-
return [
|
|
802
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
800
803
|
})
|
|
801
804
|
.s("AmazonEC2ContainerServiceV20141113", "RunTask", {})
|
|
802
805
|
.n("ECSClient", "RunTaskCommand")
|
|
803
|
-
.sc(
|
|
806
|
+
.sc(RunTask$)
|
|
804
807
|
.build() {
|
|
805
808
|
}
|
|
806
809
|
|
|
807
|
-
class StartTaskCommand extends
|
|
810
|
+
class StartTaskCommand extends Command
|
|
808
811
|
.classBuilder()
|
|
809
812
|
.ep(commonParams)
|
|
810
813
|
.m(function (Command, cs, config, o) {
|
|
811
|
-
return [
|
|
814
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
812
815
|
})
|
|
813
816
|
.s("AmazonEC2ContainerServiceV20141113", "StartTask", {})
|
|
814
817
|
.n("ECSClient", "StartTaskCommand")
|
|
815
|
-
.sc(
|
|
818
|
+
.sc(StartTask$)
|
|
816
819
|
.build() {
|
|
817
820
|
}
|
|
818
821
|
|
|
819
|
-
class StopServiceDeploymentCommand extends
|
|
822
|
+
class StopServiceDeploymentCommand extends Command
|
|
820
823
|
.classBuilder()
|
|
821
824
|
.ep(commonParams)
|
|
822
825
|
.m(function (Command, cs, config, o) {
|
|
823
|
-
return [
|
|
826
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
824
827
|
})
|
|
825
828
|
.s("AmazonEC2ContainerServiceV20141113", "StopServiceDeployment", {})
|
|
826
829
|
.n("ECSClient", "StopServiceDeploymentCommand")
|
|
827
|
-
.sc(
|
|
830
|
+
.sc(StopServiceDeployment$)
|
|
828
831
|
.build() {
|
|
829
832
|
}
|
|
830
833
|
|
|
831
|
-
class StopTaskCommand extends
|
|
834
|
+
class StopTaskCommand extends Command
|
|
832
835
|
.classBuilder()
|
|
833
836
|
.ep(commonParams)
|
|
834
837
|
.m(function (Command, cs, config, o) {
|
|
835
|
-
return [
|
|
838
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
836
839
|
})
|
|
837
840
|
.s("AmazonEC2ContainerServiceV20141113", "StopTask", {})
|
|
838
841
|
.n("ECSClient", "StopTaskCommand")
|
|
839
|
-
.sc(
|
|
842
|
+
.sc(StopTask$)
|
|
840
843
|
.build() {
|
|
841
844
|
}
|
|
842
845
|
|
|
843
|
-
class SubmitAttachmentStateChangesCommand extends
|
|
846
|
+
class SubmitAttachmentStateChangesCommand extends Command
|
|
844
847
|
.classBuilder()
|
|
845
848
|
.ep(commonParams)
|
|
846
849
|
.m(function (Command, cs, config, o) {
|
|
847
|
-
return [
|
|
850
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
848
851
|
})
|
|
849
852
|
.s("AmazonEC2ContainerServiceV20141113", "SubmitAttachmentStateChanges", {})
|
|
850
853
|
.n("ECSClient", "SubmitAttachmentStateChangesCommand")
|
|
851
|
-
.sc(
|
|
854
|
+
.sc(SubmitAttachmentStateChanges$)
|
|
852
855
|
.build() {
|
|
853
856
|
}
|
|
854
857
|
|
|
855
|
-
class SubmitContainerStateChangeCommand extends
|
|
858
|
+
class SubmitContainerStateChangeCommand extends Command
|
|
856
859
|
.classBuilder()
|
|
857
860
|
.ep(commonParams)
|
|
858
861
|
.m(function (Command, cs, config, o) {
|
|
859
|
-
return [
|
|
862
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
860
863
|
})
|
|
861
864
|
.s("AmazonEC2ContainerServiceV20141113", "SubmitContainerStateChange", {})
|
|
862
865
|
.n("ECSClient", "SubmitContainerStateChangeCommand")
|
|
863
|
-
.sc(
|
|
866
|
+
.sc(SubmitContainerStateChange$)
|
|
864
867
|
.build() {
|
|
865
868
|
}
|
|
866
869
|
|
|
867
|
-
class SubmitTaskStateChangeCommand extends
|
|
870
|
+
class SubmitTaskStateChangeCommand extends Command
|
|
868
871
|
.classBuilder()
|
|
869
872
|
.ep(commonParams)
|
|
870
873
|
.m(function (Command, cs, config, o) {
|
|
871
|
-
return [
|
|
874
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
872
875
|
})
|
|
873
876
|
.s("AmazonEC2ContainerServiceV20141113", "SubmitTaskStateChange", {})
|
|
874
877
|
.n("ECSClient", "SubmitTaskStateChangeCommand")
|
|
875
|
-
.sc(
|
|
878
|
+
.sc(SubmitTaskStateChange$)
|
|
876
879
|
.build() {
|
|
877
880
|
}
|
|
878
881
|
|
|
879
|
-
class TagResourceCommand extends
|
|
882
|
+
class TagResourceCommand extends Command
|
|
880
883
|
.classBuilder()
|
|
881
884
|
.ep(commonParams)
|
|
882
885
|
.m(function (Command, cs, config, o) {
|
|
883
|
-
return [
|
|
886
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
884
887
|
})
|
|
885
888
|
.s("AmazonEC2ContainerServiceV20141113", "TagResource", {})
|
|
886
889
|
.n("ECSClient", "TagResourceCommand")
|
|
887
|
-
.sc(
|
|
890
|
+
.sc(TagResource$)
|
|
888
891
|
.build() {
|
|
889
892
|
}
|
|
890
893
|
|
|
891
|
-
class UntagResourceCommand extends
|
|
894
|
+
class UntagResourceCommand extends Command
|
|
892
895
|
.classBuilder()
|
|
893
896
|
.ep(commonParams)
|
|
894
897
|
.m(function (Command, cs, config, o) {
|
|
895
|
-
return [
|
|
898
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
896
899
|
})
|
|
897
900
|
.s("AmazonEC2ContainerServiceV20141113", "UntagResource", {})
|
|
898
901
|
.n("ECSClient", "UntagResourceCommand")
|
|
899
|
-
.sc(
|
|
902
|
+
.sc(UntagResource$)
|
|
900
903
|
.build() {
|
|
901
904
|
}
|
|
902
905
|
|
|
903
|
-
class UpdateCapacityProviderCommand extends
|
|
906
|
+
class UpdateCapacityProviderCommand extends Command
|
|
904
907
|
.classBuilder()
|
|
905
908
|
.ep(commonParams)
|
|
906
909
|
.m(function (Command, cs, config, o) {
|
|
907
|
-
return [
|
|
910
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
908
911
|
})
|
|
909
912
|
.s("AmazonEC2ContainerServiceV20141113", "UpdateCapacityProvider", {})
|
|
910
913
|
.n("ECSClient", "UpdateCapacityProviderCommand")
|
|
911
|
-
.sc(
|
|
914
|
+
.sc(UpdateCapacityProvider$)
|
|
912
915
|
.build() {
|
|
913
916
|
}
|
|
914
917
|
|
|
915
|
-
class UpdateClusterCommand extends
|
|
918
|
+
class UpdateClusterCommand extends Command
|
|
916
919
|
.classBuilder()
|
|
917
920
|
.ep(commonParams)
|
|
918
921
|
.m(function (Command, cs, config, o) {
|
|
919
|
-
return [
|
|
922
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
920
923
|
})
|
|
921
924
|
.s("AmazonEC2ContainerServiceV20141113", "UpdateCluster", {})
|
|
922
925
|
.n("ECSClient", "UpdateClusterCommand")
|
|
923
|
-
.sc(
|
|
926
|
+
.sc(UpdateCluster$)
|
|
924
927
|
.build() {
|
|
925
928
|
}
|
|
926
929
|
|
|
927
|
-
class UpdateClusterSettingsCommand extends
|
|
930
|
+
class UpdateClusterSettingsCommand extends Command
|
|
928
931
|
.classBuilder()
|
|
929
932
|
.ep(commonParams)
|
|
930
933
|
.m(function (Command, cs, config, o) {
|
|
931
|
-
return [
|
|
934
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
932
935
|
})
|
|
933
936
|
.s("AmazonEC2ContainerServiceV20141113", "UpdateClusterSettings", {})
|
|
934
937
|
.n("ECSClient", "UpdateClusterSettingsCommand")
|
|
935
|
-
.sc(
|
|
938
|
+
.sc(UpdateClusterSettings$)
|
|
936
939
|
.build() {
|
|
937
940
|
}
|
|
938
941
|
|
|
939
|
-
class UpdateContainerAgentCommand extends
|
|
942
|
+
class UpdateContainerAgentCommand extends Command
|
|
940
943
|
.classBuilder()
|
|
941
944
|
.ep(commonParams)
|
|
942
945
|
.m(function (Command, cs, config, o) {
|
|
943
|
-
return [
|
|
946
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
944
947
|
})
|
|
945
948
|
.s("AmazonEC2ContainerServiceV20141113", "UpdateContainerAgent", {})
|
|
946
949
|
.n("ECSClient", "UpdateContainerAgentCommand")
|
|
947
|
-
.sc(
|
|
950
|
+
.sc(UpdateContainerAgent$)
|
|
948
951
|
.build() {
|
|
949
952
|
}
|
|
950
953
|
|
|
951
|
-
class UpdateContainerInstancesStateCommand extends
|
|
954
|
+
class UpdateContainerInstancesStateCommand extends Command
|
|
952
955
|
.classBuilder()
|
|
953
956
|
.ep(commonParams)
|
|
954
957
|
.m(function (Command, cs, config, o) {
|
|
955
|
-
return [
|
|
958
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
956
959
|
})
|
|
957
960
|
.s("AmazonEC2ContainerServiceV20141113", "UpdateContainerInstancesState", {})
|
|
958
961
|
.n("ECSClient", "UpdateContainerInstancesStateCommand")
|
|
959
|
-
.sc(
|
|
962
|
+
.sc(UpdateContainerInstancesState$)
|
|
960
963
|
.build() {
|
|
961
964
|
}
|
|
962
965
|
|
|
963
|
-
class UpdateDaemonCommand extends
|
|
966
|
+
class UpdateDaemonCommand extends Command
|
|
964
967
|
.classBuilder()
|
|
965
968
|
.ep(commonParams)
|
|
966
969
|
.m(function (Command, cs, config, o) {
|
|
967
|
-
return [
|
|
970
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
968
971
|
})
|
|
969
972
|
.s("AmazonEC2ContainerServiceV20141113", "UpdateDaemon", {})
|
|
970
973
|
.n("ECSClient", "UpdateDaemonCommand")
|
|
971
|
-
.sc(
|
|
974
|
+
.sc(UpdateDaemon$)
|
|
972
975
|
.build() {
|
|
973
976
|
}
|
|
974
977
|
|
|
975
|
-
class UpdateExpressGatewayServiceCommand extends
|
|
978
|
+
class UpdateExpressGatewayServiceCommand extends Command
|
|
976
979
|
.classBuilder()
|
|
977
980
|
.ep(commonParams)
|
|
978
981
|
.m(function (Command, cs, config, o) {
|
|
979
|
-
return [
|
|
982
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
980
983
|
})
|
|
981
984
|
.s("AmazonEC2ContainerServiceV20141113", "UpdateExpressGatewayService", {})
|
|
982
985
|
.n("ECSClient", "UpdateExpressGatewayServiceCommand")
|
|
983
|
-
.sc(
|
|
986
|
+
.sc(UpdateExpressGatewayService$)
|
|
984
987
|
.build() {
|
|
985
988
|
}
|
|
986
989
|
|
|
987
|
-
class UpdateServiceCommand extends
|
|
990
|
+
class UpdateServiceCommand extends Command
|
|
988
991
|
.classBuilder()
|
|
989
992
|
.ep(commonParams)
|
|
990
993
|
.m(function (Command, cs, config, o) {
|
|
991
|
-
return [
|
|
994
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
992
995
|
})
|
|
993
996
|
.s("AmazonEC2ContainerServiceV20141113", "UpdateService", {})
|
|
994
997
|
.n("ECSClient", "UpdateServiceCommand")
|
|
995
|
-
.sc(
|
|
998
|
+
.sc(UpdateService$)
|
|
996
999
|
.build() {
|
|
997
1000
|
}
|
|
998
1001
|
|
|
999
|
-
class UpdateServicePrimaryTaskSetCommand extends
|
|
1002
|
+
class UpdateServicePrimaryTaskSetCommand extends Command
|
|
1000
1003
|
.classBuilder()
|
|
1001
1004
|
.ep(commonParams)
|
|
1002
1005
|
.m(function (Command, cs, config, o) {
|
|
1003
|
-
return [
|
|
1006
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1004
1007
|
})
|
|
1005
1008
|
.s("AmazonEC2ContainerServiceV20141113", "UpdateServicePrimaryTaskSet", {})
|
|
1006
1009
|
.n("ECSClient", "UpdateServicePrimaryTaskSetCommand")
|
|
1007
|
-
.sc(
|
|
1010
|
+
.sc(UpdateServicePrimaryTaskSet$)
|
|
1008
1011
|
.build() {
|
|
1009
1012
|
}
|
|
1010
1013
|
|
|
1011
|
-
class UpdateTaskProtectionCommand extends
|
|
1014
|
+
class UpdateTaskProtectionCommand extends Command
|
|
1012
1015
|
.classBuilder()
|
|
1013
1016
|
.ep(commonParams)
|
|
1014
1017
|
.m(function (Command, cs, config, o) {
|
|
1015
|
-
return [
|
|
1018
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1016
1019
|
})
|
|
1017
1020
|
.s("AmazonEC2ContainerServiceV20141113", "UpdateTaskProtection", {})
|
|
1018
1021
|
.n("ECSClient", "UpdateTaskProtectionCommand")
|
|
1019
|
-
.sc(
|
|
1022
|
+
.sc(UpdateTaskProtection$)
|
|
1020
1023
|
.build() {
|
|
1021
1024
|
}
|
|
1022
1025
|
|
|
1023
|
-
class UpdateTaskSetCommand extends
|
|
1026
|
+
class UpdateTaskSetCommand extends Command
|
|
1024
1027
|
.classBuilder()
|
|
1025
1028
|
.ep(commonParams)
|
|
1026
1029
|
.m(function (Command, cs, config, o) {
|
|
1027
|
-
return [
|
|
1030
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1028
1031
|
})
|
|
1029
1032
|
.s("AmazonEC2ContainerServiceV20141113", "UpdateTaskSet", {})
|
|
1030
1033
|
.n("ECSClient", "UpdateTaskSetCommand")
|
|
1031
|
-
.sc(
|
|
1034
|
+
.sc(UpdateTaskSet$)
|
|
1032
1035
|
.build() {
|
|
1033
1036
|
}
|
|
1034
1037
|
|
|
1035
|
-
const paginateListAccountSettings =
|
|
1038
|
+
const paginateListAccountSettings = createPaginator(ECSClient, ListAccountSettingsCommand, "nextToken", "nextToken", "maxResults");
|
|
1036
1039
|
|
|
1037
|
-
const paginateListAttributes =
|
|
1040
|
+
const paginateListAttributes = createPaginator(ECSClient, ListAttributesCommand, "nextToken", "nextToken", "maxResults");
|
|
1038
1041
|
|
|
1039
|
-
const paginateListClusters =
|
|
1042
|
+
const paginateListClusters = createPaginator(ECSClient, ListClustersCommand, "nextToken", "nextToken", "maxResults");
|
|
1040
1043
|
|
|
1041
|
-
const paginateListContainerInstances =
|
|
1044
|
+
const paginateListContainerInstances = createPaginator(ECSClient, ListContainerInstancesCommand, "nextToken", "nextToken", "maxResults");
|
|
1042
1045
|
|
|
1043
|
-
const paginateListServicesByNamespace =
|
|
1046
|
+
const paginateListServicesByNamespace = createPaginator(ECSClient, ListServicesByNamespaceCommand, "nextToken", "nextToken", "maxResults");
|
|
1044
1047
|
|
|
1045
|
-
const paginateListServices =
|
|
1048
|
+
const paginateListServices = createPaginator(ECSClient, ListServicesCommand, "nextToken", "nextToken", "maxResults");
|
|
1046
1049
|
|
|
1047
|
-
const paginateListTaskDefinitionFamilies =
|
|
1050
|
+
const paginateListTaskDefinitionFamilies = createPaginator(ECSClient, ListTaskDefinitionFamiliesCommand, "nextToken", "nextToken", "maxResults");
|
|
1048
1051
|
|
|
1049
|
-
const paginateListTaskDefinitions =
|
|
1052
|
+
const paginateListTaskDefinitions = createPaginator(ECSClient, ListTaskDefinitionsCommand, "nextToken", "nextToken", "maxResults");
|
|
1050
1053
|
|
|
1051
|
-
const paginateListTasks =
|
|
1054
|
+
const paginateListTasks = createPaginator(ECSClient, ListTasksCommand, "nextToken", "nextToken", "maxResults");
|
|
1052
1055
|
|
|
1053
|
-
const checkState$8 = async (client
|
|
1056
|
+
const checkState$8 = async (client, input) => {
|
|
1054
1057
|
let reason;
|
|
1055
1058
|
try {
|
|
1056
|
-
let result = await client
|
|
1059
|
+
let result = await client.send(new DescribeDaemonCommand(input));
|
|
1057
1060
|
reason = result;
|
|
1058
1061
|
try {
|
|
1059
1062
|
const returnComparator = () => {
|
|
1060
1063
|
return result.daemon.status;
|
|
1061
1064
|
};
|
|
1062
1065
|
if (returnComparator() === "ACTIVE") {
|
|
1063
|
-
return { state:
|
|
1066
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
1064
1067
|
}
|
|
1065
1068
|
}
|
|
1066
1069
|
catch (e) { }
|
|
@@ -1069,7 +1072,7 @@ const checkState$8 = async (client$1, input) => {
|
|
|
1069
1072
|
return result.daemon.status;
|
|
1070
1073
|
};
|
|
1071
1074
|
if (returnComparator() === "DELETE_IN_PROGRESS") {
|
|
1072
|
-
return { state:
|
|
1075
|
+
return { state: WaiterState.FAILURE, reason };
|
|
1073
1076
|
}
|
|
1074
1077
|
}
|
|
1075
1078
|
catch (e) { }
|
|
@@ -1077,22 +1080,22 @@ const checkState$8 = async (client$1, input) => {
|
|
|
1077
1080
|
catch (exception) {
|
|
1078
1081
|
reason = exception;
|
|
1079
1082
|
}
|
|
1080
|
-
return { state:
|
|
1083
|
+
return { state: WaiterState.RETRY, reason };
|
|
1081
1084
|
};
|
|
1082
1085
|
const waitForDaemonActive = async (params, input) => {
|
|
1083
1086
|
const serviceDefaults = { minDelay: 15, maxDelay: 120 };
|
|
1084
|
-
return
|
|
1087
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState$8);
|
|
1085
1088
|
};
|
|
1086
1089
|
const waitUntilDaemonActive = async (params, input) => {
|
|
1087
1090
|
const serviceDefaults = { minDelay: 15, maxDelay: 120 };
|
|
1088
|
-
const result = await
|
|
1089
|
-
return
|
|
1091
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$8);
|
|
1092
|
+
return checkExceptions(result);
|
|
1090
1093
|
};
|
|
1091
1094
|
|
|
1092
|
-
const checkState$7 = async (client
|
|
1095
|
+
const checkState$7 = async (client, input) => {
|
|
1093
1096
|
let reason;
|
|
1094
1097
|
try {
|
|
1095
|
-
let result = await client
|
|
1098
|
+
let result = await client.send(new DescribeDaemonDeploymentsCommand(input));
|
|
1096
1099
|
reason = result;
|
|
1097
1100
|
try {
|
|
1098
1101
|
const returnComparator = () => {
|
|
@@ -1107,7 +1110,7 @@ const checkState$7 = async (client$1, input) => {
|
|
|
1107
1110
|
allStringEq_5 = allStringEq_5 && (element_4 == "STOPPED");
|
|
1108
1111
|
}
|
|
1109
1112
|
if (allStringEq_5) {
|
|
1110
|
-
return { state:
|
|
1113
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
1111
1114
|
}
|
|
1112
1115
|
}
|
|
1113
1116
|
catch (e) { }
|
|
@@ -1121,7 +1124,7 @@ const checkState$7 = async (client$1, input) => {
|
|
|
1121
1124
|
};
|
|
1122
1125
|
for (let anyStringEq_4 of returnComparator()) {
|
|
1123
1126
|
if (anyStringEq_4 == "MISSING") {
|
|
1124
|
-
return { state:
|
|
1127
|
+
return { state: WaiterState.FAILURE, reason };
|
|
1125
1128
|
}
|
|
1126
1129
|
}
|
|
1127
1130
|
}
|
|
@@ -1130,22 +1133,22 @@ const checkState$7 = async (client$1, input) => {
|
|
|
1130
1133
|
catch (exception) {
|
|
1131
1134
|
reason = exception;
|
|
1132
1135
|
}
|
|
1133
|
-
return { state:
|
|
1136
|
+
return { state: WaiterState.RETRY, reason };
|
|
1134
1137
|
};
|
|
1135
1138
|
const waitForDaemonDeploymentStopped = async (params, input) => {
|
|
1136
1139
|
const serviceDefaults = { minDelay: 15, maxDelay: 120 };
|
|
1137
|
-
return
|
|
1140
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState$7);
|
|
1138
1141
|
};
|
|
1139
1142
|
const waitUntilDaemonDeploymentStopped = async (params, input) => {
|
|
1140
1143
|
const serviceDefaults = { minDelay: 15, maxDelay: 120 };
|
|
1141
|
-
const result = await
|
|
1142
|
-
return
|
|
1144
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$7);
|
|
1145
|
+
return checkExceptions(result);
|
|
1143
1146
|
};
|
|
1144
1147
|
|
|
1145
|
-
const checkState$6 = async (client
|
|
1148
|
+
const checkState$6 = async (client, input) => {
|
|
1146
1149
|
let reason;
|
|
1147
1150
|
try {
|
|
1148
|
-
let result = await client
|
|
1151
|
+
let result = await client.send(new DescribeDaemonDeploymentsCommand(input));
|
|
1149
1152
|
reason = result;
|
|
1150
1153
|
try {
|
|
1151
1154
|
const returnComparator = () => {
|
|
@@ -1160,7 +1163,7 @@ const checkState$6 = async (client$1, input) => {
|
|
|
1160
1163
|
allStringEq_5 = allStringEq_5 && (element_4 == "SUCCESSFUL");
|
|
1161
1164
|
}
|
|
1162
1165
|
if (allStringEq_5) {
|
|
1163
|
-
return { state:
|
|
1166
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
1164
1167
|
}
|
|
1165
1168
|
}
|
|
1166
1169
|
catch (e) { }
|
|
@@ -1174,7 +1177,7 @@ const checkState$6 = async (client$1, input) => {
|
|
|
1174
1177
|
};
|
|
1175
1178
|
for (let anyStringEq_4 of returnComparator()) {
|
|
1176
1179
|
if (anyStringEq_4 == "STOPPED") {
|
|
1177
|
-
return { state:
|
|
1180
|
+
return { state: WaiterState.FAILURE, reason };
|
|
1178
1181
|
}
|
|
1179
1182
|
}
|
|
1180
1183
|
}
|
|
@@ -1189,7 +1192,7 @@ const checkState$6 = async (client$1, input) => {
|
|
|
1189
1192
|
};
|
|
1190
1193
|
for (let anyStringEq_4 of returnComparator()) {
|
|
1191
1194
|
if (anyStringEq_4 == "ROLLBACK_FAILED") {
|
|
1192
|
-
return { state:
|
|
1195
|
+
return { state: WaiterState.FAILURE, reason };
|
|
1193
1196
|
}
|
|
1194
1197
|
}
|
|
1195
1198
|
}
|
|
@@ -1204,7 +1207,7 @@ const checkState$6 = async (client$1, input) => {
|
|
|
1204
1207
|
};
|
|
1205
1208
|
for (let anyStringEq_4 of returnComparator()) {
|
|
1206
1209
|
if (anyStringEq_4 == "ROLLBACK_SUCCESSFUL") {
|
|
1207
|
-
return { state:
|
|
1210
|
+
return { state: WaiterState.FAILURE, reason };
|
|
1208
1211
|
}
|
|
1209
1212
|
}
|
|
1210
1213
|
}
|
|
@@ -1219,7 +1222,7 @@ const checkState$6 = async (client$1, input) => {
|
|
|
1219
1222
|
};
|
|
1220
1223
|
for (let anyStringEq_4 of returnComparator()) {
|
|
1221
1224
|
if (anyStringEq_4 == "MISSING") {
|
|
1222
|
-
return { state:
|
|
1225
|
+
return { state: WaiterState.FAILURE, reason };
|
|
1223
1226
|
}
|
|
1224
1227
|
}
|
|
1225
1228
|
}
|
|
@@ -1228,29 +1231,29 @@ const checkState$6 = async (client$1, input) => {
|
|
|
1228
1231
|
catch (exception) {
|
|
1229
1232
|
reason = exception;
|
|
1230
1233
|
}
|
|
1231
|
-
return { state:
|
|
1234
|
+
return { state: WaiterState.RETRY, reason };
|
|
1232
1235
|
};
|
|
1233
1236
|
const waitForDaemonDeploymentSuccessful = async (params, input) => {
|
|
1234
1237
|
const serviceDefaults = { minDelay: 15, maxDelay: 120 };
|
|
1235
|
-
return
|
|
1238
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState$6);
|
|
1236
1239
|
};
|
|
1237
1240
|
const waitUntilDaemonDeploymentSuccessful = async (params, input) => {
|
|
1238
1241
|
const serviceDefaults = { minDelay: 15, maxDelay: 120 };
|
|
1239
|
-
const result = await
|
|
1240
|
-
return
|
|
1242
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$6);
|
|
1243
|
+
return checkExceptions(result);
|
|
1241
1244
|
};
|
|
1242
1245
|
|
|
1243
|
-
const checkState$5 = async (client
|
|
1246
|
+
const checkState$5 = async (client, input) => {
|
|
1244
1247
|
let reason;
|
|
1245
1248
|
try {
|
|
1246
|
-
let result = await client
|
|
1249
|
+
let result = await client.send(new DescribeDaemonTaskDefinitionCommand(input));
|
|
1247
1250
|
reason = result;
|
|
1248
1251
|
try {
|
|
1249
1252
|
const returnComparator = () => {
|
|
1250
1253
|
return result.daemonTaskDefinition.status;
|
|
1251
1254
|
};
|
|
1252
1255
|
if (returnComparator() === "ACTIVE") {
|
|
1253
|
-
return { state:
|
|
1256
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
1254
1257
|
}
|
|
1255
1258
|
}
|
|
1256
1259
|
catch (e) { }
|
|
@@ -1259,7 +1262,7 @@ const checkState$5 = async (client$1, input) => {
|
|
|
1259
1262
|
return result.daemonTaskDefinition.status;
|
|
1260
1263
|
};
|
|
1261
1264
|
if (returnComparator() === "DELETE_IN_PROGRESS") {
|
|
1262
|
-
return { state:
|
|
1265
|
+
return { state: WaiterState.FAILURE, reason };
|
|
1263
1266
|
}
|
|
1264
1267
|
}
|
|
1265
1268
|
catch (e) { }
|
|
@@ -1268,7 +1271,7 @@ const checkState$5 = async (client$1, input) => {
|
|
|
1268
1271
|
return result.daemonTaskDefinition.status;
|
|
1269
1272
|
};
|
|
1270
1273
|
if (returnComparator() === "DELETED") {
|
|
1271
|
-
return { state:
|
|
1274
|
+
return { state: WaiterState.FAILURE, reason };
|
|
1272
1275
|
}
|
|
1273
1276
|
}
|
|
1274
1277
|
catch (e) { }
|
|
@@ -1276,29 +1279,29 @@ const checkState$5 = async (client$1, input) => {
|
|
|
1276
1279
|
catch (exception) {
|
|
1277
1280
|
reason = exception;
|
|
1278
1281
|
}
|
|
1279
|
-
return { state:
|
|
1282
|
+
return { state: WaiterState.RETRY, reason };
|
|
1280
1283
|
};
|
|
1281
1284
|
const waitForDaemonTaskDefinitionActive = async (params, input) => {
|
|
1282
1285
|
const serviceDefaults = { minDelay: 15, maxDelay: 120 };
|
|
1283
|
-
return
|
|
1286
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState$5);
|
|
1284
1287
|
};
|
|
1285
1288
|
const waitUntilDaemonTaskDefinitionActive = async (params, input) => {
|
|
1286
1289
|
const serviceDefaults = { minDelay: 15, maxDelay: 120 };
|
|
1287
|
-
const result = await
|
|
1288
|
-
return
|
|
1290
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$5);
|
|
1291
|
+
return checkExceptions(result);
|
|
1289
1292
|
};
|
|
1290
1293
|
|
|
1291
|
-
const checkState$4 = async (client
|
|
1294
|
+
const checkState$4 = async (client, input) => {
|
|
1292
1295
|
let reason;
|
|
1293
1296
|
try {
|
|
1294
|
-
let result = await client
|
|
1297
|
+
let result = await client.send(new DescribeDaemonTaskDefinitionCommand(input));
|
|
1295
1298
|
reason = result;
|
|
1296
1299
|
try {
|
|
1297
1300
|
const returnComparator = () => {
|
|
1298
1301
|
return result.daemonTaskDefinition.status;
|
|
1299
1302
|
};
|
|
1300
1303
|
if (returnComparator() === "DELETED") {
|
|
1301
|
-
return { state:
|
|
1304
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
1302
1305
|
}
|
|
1303
1306
|
}
|
|
1304
1307
|
catch (e) { }
|
|
@@ -1306,22 +1309,22 @@ const checkState$4 = async (client$1, input) => {
|
|
|
1306
1309
|
catch (exception) {
|
|
1307
1310
|
reason = exception;
|
|
1308
1311
|
}
|
|
1309
|
-
return { state:
|
|
1312
|
+
return { state: WaiterState.RETRY, reason };
|
|
1310
1313
|
};
|
|
1311
1314
|
const waitForDaemonTaskDefinitionDeleted = async (params, input) => {
|
|
1312
1315
|
const serviceDefaults = { minDelay: 15, maxDelay: 120 };
|
|
1313
|
-
return
|
|
1316
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState$4);
|
|
1314
1317
|
};
|
|
1315
1318
|
const waitUntilDaemonTaskDefinitionDeleted = async (params, input) => {
|
|
1316
1319
|
const serviceDefaults = { minDelay: 15, maxDelay: 120 };
|
|
1317
|
-
const result = await
|
|
1318
|
-
return
|
|
1320
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$4);
|
|
1321
|
+
return checkExceptions(result);
|
|
1319
1322
|
};
|
|
1320
1323
|
|
|
1321
|
-
const checkState$3 = async (client
|
|
1324
|
+
const checkState$3 = async (client, input) => {
|
|
1322
1325
|
let reason;
|
|
1323
1326
|
try {
|
|
1324
|
-
let result = await client
|
|
1327
|
+
let result = await client.send(new DescribeServicesCommand(input));
|
|
1325
1328
|
reason = result;
|
|
1326
1329
|
try {
|
|
1327
1330
|
const returnComparator = () => {
|
|
@@ -1333,7 +1336,7 @@ const checkState$3 = async (client$1, input) => {
|
|
|
1333
1336
|
};
|
|
1334
1337
|
for (let anyStringEq_4 of returnComparator()) {
|
|
1335
1338
|
if (anyStringEq_4 == "MISSING") {
|
|
1336
|
-
return { state:
|
|
1339
|
+
return { state: WaiterState.FAILURE, reason };
|
|
1337
1340
|
}
|
|
1338
1341
|
}
|
|
1339
1342
|
}
|
|
@@ -1348,7 +1351,7 @@ const checkState$3 = async (client$1, input) => {
|
|
|
1348
1351
|
};
|
|
1349
1352
|
for (let anyStringEq_4 of returnComparator()) {
|
|
1350
1353
|
if (anyStringEq_4 == "INACTIVE") {
|
|
1351
|
-
return { state:
|
|
1354
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
1352
1355
|
}
|
|
1353
1356
|
}
|
|
1354
1357
|
}
|
|
@@ -1357,22 +1360,22 @@ const checkState$3 = async (client$1, input) => {
|
|
|
1357
1360
|
catch (exception) {
|
|
1358
1361
|
reason = exception;
|
|
1359
1362
|
}
|
|
1360
|
-
return { state:
|
|
1363
|
+
return { state: WaiterState.RETRY, reason };
|
|
1361
1364
|
};
|
|
1362
1365
|
const waitForServicesInactive = async (params, input) => {
|
|
1363
1366
|
const serviceDefaults = { minDelay: 15, maxDelay: 600 };
|
|
1364
|
-
return
|
|
1367
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);
|
|
1365
1368
|
};
|
|
1366
1369
|
const waitUntilServicesInactive = async (params, input) => {
|
|
1367
1370
|
const serviceDefaults = { minDelay: 15, maxDelay: 600 };
|
|
1368
|
-
const result = await
|
|
1369
|
-
return
|
|
1371
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);
|
|
1372
|
+
return checkExceptions(result);
|
|
1370
1373
|
};
|
|
1371
1374
|
|
|
1372
|
-
const checkState$2 = async (client
|
|
1375
|
+
const checkState$2 = async (client, input) => {
|
|
1373
1376
|
let reason;
|
|
1374
1377
|
try {
|
|
1375
|
-
let result = await client
|
|
1378
|
+
let result = await client.send(new DescribeServicesCommand(input));
|
|
1376
1379
|
reason = result;
|
|
1377
1380
|
try {
|
|
1378
1381
|
const returnComparator = () => {
|
|
@@ -1384,7 +1387,7 @@ const checkState$2 = async (client$1, input) => {
|
|
|
1384
1387
|
};
|
|
1385
1388
|
for (let anyStringEq_4 of returnComparator()) {
|
|
1386
1389
|
if (anyStringEq_4 == "MISSING") {
|
|
1387
|
-
return { state:
|
|
1390
|
+
return { state: WaiterState.FAILURE, reason };
|
|
1388
1391
|
}
|
|
1389
1392
|
}
|
|
1390
1393
|
}
|
|
@@ -1399,7 +1402,7 @@ const checkState$2 = async (client$1, input) => {
|
|
|
1399
1402
|
};
|
|
1400
1403
|
for (let anyStringEq_4 of returnComparator()) {
|
|
1401
1404
|
if (anyStringEq_4 == "DRAINING") {
|
|
1402
|
-
return { state:
|
|
1405
|
+
return { state: WaiterState.FAILURE, reason };
|
|
1403
1406
|
}
|
|
1404
1407
|
}
|
|
1405
1408
|
}
|
|
@@ -1414,7 +1417,7 @@ const checkState$2 = async (client$1, input) => {
|
|
|
1414
1417
|
};
|
|
1415
1418
|
for (let anyStringEq_4 of returnComparator()) {
|
|
1416
1419
|
if (anyStringEq_4 == "INACTIVE") {
|
|
1417
|
-
return { state:
|
|
1420
|
+
return { state: WaiterState.FAILURE, reason };
|
|
1418
1421
|
}
|
|
1419
1422
|
}
|
|
1420
1423
|
}
|
|
@@ -1427,7 +1430,7 @@ const checkState$2 = async (client$1, input) => {
|
|
|
1427
1430
|
return (filterRes_2.length == 0);
|
|
1428
1431
|
};
|
|
1429
1432
|
if (returnComparator() == true) {
|
|
1430
|
-
return { state:
|
|
1433
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
1431
1434
|
}
|
|
1432
1435
|
}
|
|
1433
1436
|
catch (e) { }
|
|
@@ -1435,22 +1438,22 @@ const checkState$2 = async (client$1, input) => {
|
|
|
1435
1438
|
catch (exception) {
|
|
1436
1439
|
reason = exception;
|
|
1437
1440
|
}
|
|
1438
|
-
return { state:
|
|
1441
|
+
return { state: WaiterState.RETRY, reason };
|
|
1439
1442
|
};
|
|
1440
1443
|
const waitForServicesStable = async (params, input) => {
|
|
1441
1444
|
const serviceDefaults = { minDelay: 15, maxDelay: 600 };
|
|
1442
|
-
return
|
|
1445
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
|
|
1443
1446
|
};
|
|
1444
1447
|
const waitUntilServicesStable = async (params, input) => {
|
|
1445
1448
|
const serviceDefaults = { minDelay: 15, maxDelay: 600 };
|
|
1446
|
-
const result = await
|
|
1447
|
-
return
|
|
1449
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
|
|
1450
|
+
return checkExceptions(result);
|
|
1448
1451
|
};
|
|
1449
1452
|
|
|
1450
|
-
const checkState$1 = async (client
|
|
1453
|
+
const checkState$1 = async (client, input) => {
|
|
1451
1454
|
let reason;
|
|
1452
1455
|
try {
|
|
1453
|
-
let result = await client
|
|
1456
|
+
let result = await client.send(new DescribeTasksCommand(input));
|
|
1454
1457
|
reason = result;
|
|
1455
1458
|
try {
|
|
1456
1459
|
const returnComparator = () => {
|
|
@@ -1462,7 +1465,7 @@ const checkState$1 = async (client$1, input) => {
|
|
|
1462
1465
|
};
|
|
1463
1466
|
for (let anyStringEq_4 of returnComparator()) {
|
|
1464
1467
|
if (anyStringEq_4 == "STOPPED") {
|
|
1465
|
-
return { state:
|
|
1468
|
+
return { state: WaiterState.FAILURE, reason };
|
|
1466
1469
|
}
|
|
1467
1470
|
}
|
|
1468
1471
|
}
|
|
@@ -1477,7 +1480,7 @@ const checkState$1 = async (client$1, input) => {
|
|
|
1477
1480
|
};
|
|
1478
1481
|
for (let anyStringEq_4 of returnComparator()) {
|
|
1479
1482
|
if (anyStringEq_4 == "MISSING") {
|
|
1480
|
-
return { state:
|
|
1483
|
+
return { state: WaiterState.FAILURE, reason };
|
|
1481
1484
|
}
|
|
1482
1485
|
}
|
|
1483
1486
|
}
|
|
@@ -1495,7 +1498,7 @@ const checkState$1 = async (client$1, input) => {
|
|
|
1495
1498
|
allStringEq_5 = allStringEq_5 && (element_4 == "RUNNING");
|
|
1496
1499
|
}
|
|
1497
1500
|
if (allStringEq_5) {
|
|
1498
|
-
return { state:
|
|
1501
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
1499
1502
|
}
|
|
1500
1503
|
}
|
|
1501
1504
|
catch (e) { }
|
|
@@ -1503,22 +1506,22 @@ const checkState$1 = async (client$1, input) => {
|
|
|
1503
1506
|
catch (exception) {
|
|
1504
1507
|
reason = exception;
|
|
1505
1508
|
}
|
|
1506
|
-
return { state:
|
|
1509
|
+
return { state: WaiterState.RETRY, reason };
|
|
1507
1510
|
};
|
|
1508
1511
|
const waitForTasksRunning = async (params, input) => {
|
|
1509
1512
|
const serviceDefaults = { minDelay: 6, maxDelay: 600 };
|
|
1510
|
-
return
|
|
1513
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
|
|
1511
1514
|
};
|
|
1512
1515
|
const waitUntilTasksRunning = async (params, input) => {
|
|
1513
1516
|
const serviceDefaults = { minDelay: 6, maxDelay: 600 };
|
|
1514
|
-
const result = await
|
|
1515
|
-
return
|
|
1517
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
|
|
1518
|
+
return checkExceptions(result);
|
|
1516
1519
|
};
|
|
1517
1520
|
|
|
1518
|
-
const checkState = async (client
|
|
1521
|
+
const checkState = async (client, input) => {
|
|
1519
1522
|
let reason;
|
|
1520
1523
|
try {
|
|
1521
|
-
let result = await client
|
|
1524
|
+
let result = await client.send(new DescribeTasksCommand(input));
|
|
1522
1525
|
reason = result;
|
|
1523
1526
|
try {
|
|
1524
1527
|
const returnComparator = () => {
|
|
@@ -1533,7 +1536,7 @@ const checkState = async (client$1, input) => {
|
|
|
1533
1536
|
allStringEq_5 = allStringEq_5 && (element_4 == "STOPPED");
|
|
1534
1537
|
}
|
|
1535
1538
|
if (allStringEq_5) {
|
|
1536
|
-
return { state:
|
|
1539
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
1537
1540
|
}
|
|
1538
1541
|
}
|
|
1539
1542
|
catch (e) { }
|
|
@@ -1541,16 +1544,16 @@ const checkState = async (client$1, input) => {
|
|
|
1541
1544
|
catch (exception) {
|
|
1542
1545
|
reason = exception;
|
|
1543
1546
|
}
|
|
1544
|
-
return { state:
|
|
1547
|
+
return { state: WaiterState.RETRY, reason };
|
|
1545
1548
|
};
|
|
1546
1549
|
const waitForTasksStopped = async (params, input) => {
|
|
1547
1550
|
const serviceDefaults = { minDelay: 6, maxDelay: 600 };
|
|
1548
|
-
return
|
|
1551
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
1549
1552
|
};
|
|
1550
1553
|
const waitUntilTasksStopped = async (params, input) => {
|
|
1551
1554
|
const serviceDefaults = { minDelay: 6, maxDelay: 600 };
|
|
1552
|
-
const result = await
|
|
1553
|
-
return
|
|
1555
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
1556
|
+
return checkExceptions(result);
|
|
1554
1557
|
};
|
|
1555
1558
|
|
|
1556
1559
|
const commands = {
|
|
@@ -1656,7 +1659,7 @@ const waiters = {
|
|
|
1656
1659
|
};
|
|
1657
1660
|
class ECS extends ECSClient {
|
|
1658
1661
|
}
|
|
1659
|
-
|
|
1662
|
+
createAggregatedClient(commands, ECS, { paginators, waiters });
|
|
1660
1663
|
|
|
1661
1664
|
const AcceleratorManufacturer = {
|
|
1662
1665
|
AMAZON_WEB_SERVICES: "amazon-web-services",
|
|
@@ -2214,9 +2217,6 @@ const TaskSetField = {
|
|
|
2214
2217
|
TAGS: "TAGS",
|
|
2215
2218
|
};
|
|
2216
2219
|
|
|
2217
|
-
exports.$Command = client.Command;
|
|
2218
|
-
exports.__Client = client.Client;
|
|
2219
|
-
exports.ECSServiceException = ECSServiceException.ECSServiceException;
|
|
2220
2220
|
exports.AcceleratorManufacturer = AcceleratorManufacturer;
|
|
2221
2221
|
exports.AcceleratorName = AcceleratorName;
|
|
2222
2222
|
exports.AcceleratorType = AcceleratorType;
|
|
@@ -2428,23 +2428,3 @@ exports.waitUntilServicesInactive = waitUntilServicesInactive;
|
|
|
2428
2428
|
exports.waitUntilServicesStable = waitUntilServicesStable;
|
|
2429
2429
|
exports.waitUntilTasksRunning = waitUntilTasksRunning;
|
|
2430
2430
|
exports.waitUntilTasksStopped = waitUntilTasksStopped;
|
|
2431
|
-
Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
|
|
2432
|
-
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
2433
|
-
Object.defineProperty(exports, '__proto__', {
|
|
2434
|
-
enumerable: true,
|
|
2435
|
-
value: schemas_0['__proto__']
|
|
2436
|
-
});
|
|
2437
|
-
|
|
2438
|
-
Object.keys(schemas_0).forEach(function (k) {
|
|
2439
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
|
|
2440
|
-
});
|
|
2441
|
-
Object.prototype.hasOwnProperty.call(errors, '__proto__') &&
|
|
2442
|
-
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
2443
|
-
Object.defineProperty(exports, '__proto__', {
|
|
2444
|
-
enumerable: true,
|
|
2445
|
-
value: errors['__proto__']
|
|
2446
|
-
});
|
|
2447
|
-
|
|
2448
|
-
Object.keys(errors).forEach(function (k) {
|
|
2449
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
|
|
2450
|
-
});
|