@aws-sdk/client-ecs 3.184.0 → 3.185.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 +11 -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 +5 -5
|
@@ -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 { ListTasksRequestFilterSensitiveLog, ListTasksResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1ListTasksCommand, serializeAws_json1_1ListTasksCommand } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListTasksCommand = (function (_super) {
|
|
7
|
+
__extends(ListTasksCommand, _super);
|
|
8
|
+
function ListTasksCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListTasksCommand.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 = "ListTasksCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListTasksRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListTasksResponseFilterSensitiveLog,
|
|
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
|
+
ListTasksCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1ListTasksCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListTasksCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1ListTasksCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListTasksCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListTasksCommand };
|
|
@@ -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 { PutAccountSettingRequestFilterSensitiveLog, PutAccountSettingResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1PutAccountSettingCommand, serializeAws_json1_1PutAccountSettingCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var PutAccountSettingCommand = (function (_super) {
|
|
7
|
+
__extends(PutAccountSettingCommand, _super);
|
|
8
|
+
function PutAccountSettingCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
PutAccountSettingCommand.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 = "PutAccountSettingCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: PutAccountSettingRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: PutAccountSettingResponseFilterSensitiveLog,
|
|
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
|
+
PutAccountSettingCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1PutAccountSettingCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
PutAccountSettingCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1PutAccountSettingCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return PutAccountSettingCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { PutAccountSettingCommand };
|
|
@@ -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 { PutAccountSettingDefaultRequestFilterSensitiveLog, PutAccountSettingDefaultResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1PutAccountSettingDefaultCommand, serializeAws_json1_1PutAccountSettingDefaultCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var PutAccountSettingDefaultCommand = (function (_super) {
|
|
7
|
+
__extends(PutAccountSettingDefaultCommand, _super);
|
|
8
|
+
function PutAccountSettingDefaultCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
PutAccountSettingDefaultCommand.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 = "PutAccountSettingDefaultCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: PutAccountSettingDefaultRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: PutAccountSettingDefaultResponseFilterSensitiveLog,
|
|
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
|
+
PutAccountSettingDefaultCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1PutAccountSettingDefaultCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
PutAccountSettingDefaultCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1PutAccountSettingDefaultCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return PutAccountSettingDefaultCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { PutAccountSettingDefaultCommand };
|
|
@@ -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 { PutAttributesRequestFilterSensitiveLog, PutAttributesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1PutAttributesCommand, serializeAws_json1_1PutAttributesCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var PutAttributesCommand = (function (_super) {
|
|
7
|
+
__extends(PutAttributesCommand, _super);
|
|
8
|
+
function PutAttributesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
PutAttributesCommand.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 = "PutAttributesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: PutAttributesRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: PutAttributesResponseFilterSensitiveLog,
|
|
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
|
+
PutAttributesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1PutAttributesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
PutAttributesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1PutAttributesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return PutAttributesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { PutAttributesCommand };
|
|
@@ -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 { PutClusterCapacityProvidersRequestFilterSensitiveLog, PutClusterCapacityProvidersResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1PutClusterCapacityProvidersCommand, serializeAws_json1_1PutClusterCapacityProvidersCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var PutClusterCapacityProvidersCommand = (function (_super) {
|
|
7
|
+
__extends(PutClusterCapacityProvidersCommand, _super);
|
|
8
|
+
function PutClusterCapacityProvidersCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
PutClusterCapacityProvidersCommand.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 = "PutClusterCapacityProvidersCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: PutClusterCapacityProvidersRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: PutClusterCapacityProvidersResponseFilterSensitiveLog,
|
|
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
|
+
PutClusterCapacityProvidersCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1PutClusterCapacityProvidersCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
PutClusterCapacityProvidersCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1PutClusterCapacityProvidersCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return PutClusterCapacityProvidersCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { PutClusterCapacityProvidersCommand };
|
|
@@ -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 { RegisterContainerInstanceRequestFilterSensitiveLog, RegisterContainerInstanceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1RegisterContainerInstanceCommand, serializeAws_json1_1RegisterContainerInstanceCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var RegisterContainerInstanceCommand = (function (_super) {
|
|
7
|
+
__extends(RegisterContainerInstanceCommand, _super);
|
|
8
|
+
function RegisterContainerInstanceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
RegisterContainerInstanceCommand.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 = "RegisterContainerInstanceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: RegisterContainerInstanceRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: RegisterContainerInstanceResponseFilterSensitiveLog,
|
|
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
|
+
RegisterContainerInstanceCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1RegisterContainerInstanceCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
RegisterContainerInstanceCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1RegisterContainerInstanceCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return RegisterContainerInstanceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { RegisterContainerInstanceCommand };
|
|
@@ -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 { RegisterTaskDefinitionRequestFilterSensitiveLog, RegisterTaskDefinitionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1RegisterTaskDefinitionCommand, serializeAws_json1_1RegisterTaskDefinitionCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var RegisterTaskDefinitionCommand = (function (_super) {
|
|
7
|
+
__extends(RegisterTaskDefinitionCommand, _super);
|
|
8
|
+
function RegisterTaskDefinitionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
RegisterTaskDefinitionCommand.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 = "RegisterTaskDefinitionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: RegisterTaskDefinitionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: RegisterTaskDefinitionResponseFilterSensitiveLog,
|
|
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
|
+
RegisterTaskDefinitionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1RegisterTaskDefinitionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
RegisterTaskDefinitionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1RegisterTaskDefinitionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return RegisterTaskDefinitionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { RegisterTaskDefinitionCommand };
|
|
@@ -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 { RunTaskRequestFilterSensitiveLog, RunTaskResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1RunTaskCommand, serializeAws_json1_1RunTaskCommand } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var RunTaskCommand = (function (_super) {
|
|
7
|
+
__extends(RunTaskCommand, _super);
|
|
8
|
+
function RunTaskCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
RunTaskCommand.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 = "RunTaskCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: RunTaskRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: RunTaskResponseFilterSensitiveLog,
|
|
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
|
+
RunTaskCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1RunTaskCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
RunTaskCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1RunTaskCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return RunTaskCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { RunTaskCommand };
|
|
@@ -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 { StartTaskRequestFilterSensitiveLog, StartTaskResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1StartTaskCommand, serializeAws_json1_1StartTaskCommand } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var StartTaskCommand = (function (_super) {
|
|
7
|
+
__extends(StartTaskCommand, _super);
|
|
8
|
+
function StartTaskCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
StartTaskCommand.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 = "StartTaskCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: StartTaskRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: StartTaskResponseFilterSensitiveLog,
|
|
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
|
+
StartTaskCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1StartTaskCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
StartTaskCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1StartTaskCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return StartTaskCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { StartTaskCommand };
|
|
@@ -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 { StopTaskRequestFilterSensitiveLog, StopTaskResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1StopTaskCommand, serializeAws_json1_1StopTaskCommand } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var StopTaskCommand = (function (_super) {
|
|
7
|
+
__extends(StopTaskCommand, _super);
|
|
8
|
+
function StopTaskCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
StopTaskCommand.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 = "StopTaskCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: StopTaskRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: StopTaskResponseFilterSensitiveLog,
|
|
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
|
+
StopTaskCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1StopTaskCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
StopTaskCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1StopTaskCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return StopTaskCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { StopTaskCommand };
|