@aws-sdk/client-ecs 3.184.0 → 3.186.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/CHANGELOG.md +19 -0
- package/dist-cjs/protocols/Aws_json1_1.js +2 -2
- package/dist-es/ECS.js +217 -210
- package/dist-es/ECSClient.js +28 -22
- package/dist-es/commands/CreateCapacityProviderCommand.js +28 -21
- package/dist-es/commands/CreateClusterCommand.js +28 -21
- package/dist-es/commands/CreateServiceCommand.js +28 -21
- package/dist-es/commands/CreateTaskSetCommand.js +28 -21
- package/dist-es/commands/DeleteAccountSettingCommand.js +28 -21
- package/dist-es/commands/DeleteAttributesCommand.js +28 -21
- package/dist-es/commands/DeleteCapacityProviderCommand.js +28 -21
- package/dist-es/commands/DeleteClusterCommand.js +28 -21
- package/dist-es/commands/DeleteServiceCommand.js +28 -21
- package/dist-es/commands/DeleteTaskSetCommand.js +28 -21
- package/dist-es/commands/DeregisterContainerInstanceCommand.js +28 -21
- package/dist-es/commands/DeregisterTaskDefinitionCommand.js +28 -21
- package/dist-es/commands/DescribeCapacityProvidersCommand.js +28 -21
- package/dist-es/commands/DescribeClustersCommand.js +28 -21
- package/dist-es/commands/DescribeContainerInstancesCommand.js +28 -21
- package/dist-es/commands/DescribeServicesCommand.js +28 -21
- package/dist-es/commands/DescribeTaskDefinitionCommand.js +28 -21
- package/dist-es/commands/DescribeTaskSetsCommand.js +28 -21
- package/dist-es/commands/DescribeTasksCommand.js +28 -21
- package/dist-es/commands/DiscoverPollEndpointCommand.js +28 -21
- package/dist-es/commands/ExecuteCommandCommand.js +28 -21
- package/dist-es/commands/ListAccountSettingsCommand.js +28 -21
- package/dist-es/commands/ListAttributesCommand.js +28 -21
- package/dist-es/commands/ListClustersCommand.js +28 -21
- package/dist-es/commands/ListContainerInstancesCommand.js +28 -21
- package/dist-es/commands/ListServicesCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/ListTaskDefinitionFamiliesCommand.js +28 -21
- package/dist-es/commands/ListTaskDefinitionsCommand.js +28 -21
- package/dist-es/commands/ListTasksCommand.js +28 -21
- package/dist-es/commands/PutAccountSettingCommand.js +28 -21
- package/dist-es/commands/PutAccountSettingDefaultCommand.js +28 -21
- package/dist-es/commands/PutAttributesCommand.js +28 -21
- package/dist-es/commands/PutClusterCapacityProvidersCommand.js +28 -21
- package/dist-es/commands/RegisterContainerInstanceCommand.js +28 -21
- package/dist-es/commands/RegisterTaskDefinitionCommand.js +28 -21
- package/dist-es/commands/RunTaskCommand.js +28 -21
- package/dist-es/commands/StartTaskCommand.js +28 -21
- package/dist-es/commands/StopTaskCommand.js +28 -21
- package/dist-es/commands/SubmitAttachmentStateChangesCommand.js +28 -21
- package/dist-es/commands/SubmitContainerStateChangeCommand.js +28 -21
- package/dist-es/commands/SubmitTaskStateChangeCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/commands/UpdateCapacityProviderCommand.js +28 -21
- package/dist-es/commands/UpdateClusterCommand.js +28 -21
- package/dist-es/commands/UpdateClusterSettingsCommand.js +28 -21
- package/dist-es/commands/UpdateContainerAgentCommand.js +28 -21
- package/dist-es/commands/UpdateContainerInstancesStateCommand.js +28 -21
- package/dist-es/commands/UpdateServiceCommand.js +28 -21
- package/dist-es/commands/UpdateServicePrimaryTaskSetCommand.js +28 -21
- package/dist-es/commands/UpdateTaskSetCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/ECSServiceException.js +10 -5
- package/dist-es/models/models_0.js +449 -818
- package/dist-es/pagination/ListAccountSettingsPaginator.js +68 -25
- package/dist-es/pagination/ListAttributesPaginator.js +68 -25
- package/dist-es/pagination/ListClustersPaginator.js +68 -25
- package/dist-es/pagination/ListContainerInstancesPaginator.js +68 -25
- package/dist-es/pagination/ListServicesPaginator.js +68 -25
- package/dist-es/pagination/ListTaskDefinitionFamiliesPaginator.js +68 -25
- package/dist-es/pagination/ListTaskDefinitionsPaginator.js +68 -25
- package/dist-es/pagination/ListTasksPaginator.js +68 -25
- package/dist-es/protocols/Aws_json1_1.js +5280 -4631
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/dist-es/waiters/waitForServicesInactive.js +88 -47
- package/dist-es/waiters/waitForServicesStable.js +123 -72
- package/dist-es/waiters/waitForTasksRunning.js +114 -63
- package/dist-es/waiters/waitForTasksStopped.js +67 -36
- package/package.json +34 -34
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeleteTaskSetRequestFilterSensitiveLog, DeleteTaskSetResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DeleteTaskSetCommand, serializeAws_json1_1DeleteTaskSetCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DeleteTaskSetCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteTaskSetCommand, _super);
|
|
8
|
+
function DeleteTaskSetCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DeleteTaskSetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ECSClient";
|
|
18
|
+
var commandName = "DeleteTaskSetCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DeleteTaskSetRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DeleteTaskSetResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeleteTaskSetCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DeleteTaskSetCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DeleteTaskSetCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DeleteTaskSetCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DeleteTaskSetCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteTaskSetCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeregisterContainerInstanceRequestFilterSensitiveLog, DeregisterContainerInstanceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DeregisterContainerInstanceCommand, serializeAws_json1_1DeregisterContainerInstanceCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DeregisterContainerInstanceCommand = (function (_super) {
|
|
7
|
+
__extends(DeregisterContainerInstanceCommand, _super);
|
|
8
|
+
function DeregisterContainerInstanceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DeregisterContainerInstanceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ECSClient";
|
|
18
|
+
var commandName = "DeregisterContainerInstanceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DeregisterContainerInstanceRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DeregisterContainerInstanceResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeregisterContainerInstanceCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DeregisterContainerInstanceCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DeregisterContainerInstanceCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DeregisterContainerInstanceCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DeregisterContainerInstanceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeregisterContainerInstanceCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeregisterTaskDefinitionRequestFilterSensitiveLog, DeregisterTaskDefinitionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DeregisterTaskDefinitionCommand, serializeAws_json1_1DeregisterTaskDefinitionCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DeregisterTaskDefinitionCommand = (function (_super) {
|
|
7
|
+
__extends(DeregisterTaskDefinitionCommand, _super);
|
|
8
|
+
function DeregisterTaskDefinitionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DeregisterTaskDefinitionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ECSClient";
|
|
18
|
+
var commandName = "DeregisterTaskDefinitionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DeregisterTaskDefinitionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DeregisterTaskDefinitionResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeregisterTaskDefinitionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DeregisterTaskDefinitionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DeregisterTaskDefinitionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DeregisterTaskDefinitionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DeregisterTaskDefinitionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeregisterTaskDefinitionCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DescribeCapacityProvidersRequestFilterSensitiveLog, DescribeCapacityProvidersResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeCapacityProvidersCommand, serializeAws_json1_1DescribeCapacityProvidersCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeCapacityProvidersCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeCapacityProvidersCommand, _super);
|
|
8
|
+
function DescribeCapacityProvidersCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeCapacityProvidersCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ECSClient";
|
|
18
|
+
var commandName = "DescribeCapacityProvidersCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeCapacityProvidersRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeCapacityProvidersResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeCapacityProvidersCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeCapacityProvidersCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeCapacityProvidersCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeCapacityProvidersCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeCapacityProvidersCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeCapacityProvidersCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DescribeClustersRequestFilterSensitiveLog, DescribeClustersResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeClustersCommand, serializeAws_json1_1DescribeClustersCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeClustersCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeClustersCommand, _super);
|
|
8
|
+
function DescribeClustersCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeClustersCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ECSClient";
|
|
18
|
+
var commandName = "DescribeClustersCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeClustersRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeClustersResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeClustersCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeClustersCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeClustersCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeClustersCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeClustersCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeClustersCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DescribeContainerInstancesRequestFilterSensitiveLog, DescribeContainerInstancesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeContainerInstancesCommand, serializeAws_json1_1DescribeContainerInstancesCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeContainerInstancesCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeContainerInstancesCommand, _super);
|
|
8
|
+
function DescribeContainerInstancesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeContainerInstancesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ECSClient";
|
|
18
|
+
var commandName = "DescribeContainerInstancesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeContainerInstancesRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeContainerInstancesResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeContainerInstancesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeContainerInstancesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeContainerInstancesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeContainerInstancesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeContainerInstancesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeContainerInstancesCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DescribeServicesRequestFilterSensitiveLog, DescribeServicesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeServicesCommand, serializeAws_json1_1DescribeServicesCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeServicesCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeServicesCommand, _super);
|
|
8
|
+
function DescribeServicesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeServicesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ECSClient";
|
|
18
|
+
var commandName = "DescribeServicesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeServicesRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeServicesResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeServicesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeServicesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeServicesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeServicesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeServicesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeServicesCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DescribeTaskDefinitionRequestFilterSensitiveLog, DescribeTaskDefinitionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeTaskDefinitionCommand, serializeAws_json1_1DescribeTaskDefinitionCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeTaskDefinitionCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeTaskDefinitionCommand, _super);
|
|
8
|
+
function DescribeTaskDefinitionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeTaskDefinitionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ECSClient";
|
|
18
|
+
var commandName = "DescribeTaskDefinitionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeTaskDefinitionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeTaskDefinitionResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeTaskDefinitionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeTaskDefinitionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeTaskDefinitionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeTaskDefinitionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeTaskDefinitionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeTaskDefinitionCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DescribeTaskSetsRequestFilterSensitiveLog, DescribeTaskSetsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeTaskSetsCommand, serializeAws_json1_1DescribeTaskSetsCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeTaskSetsCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeTaskSetsCommand, _super);
|
|
8
|
+
function DescribeTaskSetsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeTaskSetsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ECSClient";
|
|
18
|
+
var commandName = "DescribeTaskSetsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeTaskSetsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeTaskSetsResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeTaskSetsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeTaskSetsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeTaskSetsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeTaskSetsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeTaskSetsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeTaskSetsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DescribeTasksRequestFilterSensitiveLog, DescribeTasksResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeTasksCommand, serializeAws_json1_1DescribeTasksCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeTasksCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeTasksCommand, _super);
|
|
8
|
+
function DescribeTasksCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeTasksCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ECSClient";
|
|
18
|
+
var commandName = "DescribeTasksCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeTasksRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeTasksResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeTasksCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeTasksCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeTasksCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeTasksCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeTasksCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeTasksCommand };
|