@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 { SubmitAttachmentStateChangesRequestFilterSensitiveLog, SubmitAttachmentStateChangesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1SubmitAttachmentStateChangesCommand, serializeAws_json1_1SubmitAttachmentStateChangesCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var SubmitAttachmentStateChangesCommand = (function (_super) {
|
|
7
|
+
__extends(SubmitAttachmentStateChangesCommand, _super);
|
|
8
|
+
function SubmitAttachmentStateChangesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
SubmitAttachmentStateChangesCommand.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 = "SubmitAttachmentStateChangesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: SubmitAttachmentStateChangesRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: SubmitAttachmentStateChangesResponseFilterSensitiveLog,
|
|
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
|
+
SubmitAttachmentStateChangesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1SubmitAttachmentStateChangesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
SubmitAttachmentStateChangesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1SubmitAttachmentStateChangesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return SubmitAttachmentStateChangesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { SubmitAttachmentStateChangesCommand };
|
|
@@ -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 { SubmitContainerStateChangeRequestFilterSensitiveLog, SubmitContainerStateChangeResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1SubmitContainerStateChangeCommand, serializeAws_json1_1SubmitContainerStateChangeCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var SubmitContainerStateChangeCommand = (function (_super) {
|
|
7
|
+
__extends(SubmitContainerStateChangeCommand, _super);
|
|
8
|
+
function SubmitContainerStateChangeCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
SubmitContainerStateChangeCommand.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 = "SubmitContainerStateChangeCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: SubmitContainerStateChangeRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: SubmitContainerStateChangeResponseFilterSensitiveLog,
|
|
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
|
+
SubmitContainerStateChangeCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1SubmitContainerStateChangeCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
SubmitContainerStateChangeCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1SubmitContainerStateChangeCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return SubmitContainerStateChangeCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { SubmitContainerStateChangeCommand };
|
|
@@ -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 { SubmitTaskStateChangeRequestFilterSensitiveLog, SubmitTaskStateChangeResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1SubmitTaskStateChangeCommand, serializeAws_json1_1SubmitTaskStateChangeCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var SubmitTaskStateChangeCommand = (function (_super) {
|
|
7
|
+
__extends(SubmitTaskStateChangeCommand, _super);
|
|
8
|
+
function SubmitTaskStateChangeCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
SubmitTaskStateChangeCommand.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 = "SubmitTaskStateChangeCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: SubmitTaskStateChangeRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: SubmitTaskStateChangeResponseFilterSensitiveLog,
|
|
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
|
+
SubmitTaskStateChangeCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1SubmitTaskStateChangeCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
SubmitTaskStateChangeCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1SubmitTaskStateChangeCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return SubmitTaskStateChangeCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { SubmitTaskStateChangeCommand };
|
|
@@ -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 { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1TagResourceCommand, serializeAws_json1_1TagResourceCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var TagResourceCommand = (function (_super) {
|
|
7
|
+
__extends(TagResourceCommand, _super);
|
|
8
|
+
function TagResourceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
TagResourceCommand.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 = "TagResourceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: TagResourceResponseFilterSensitiveLog,
|
|
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
|
+
TagResourceCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1TagResourceCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
TagResourceCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1TagResourceCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return TagResourceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { TagResourceCommand };
|
|
@@ -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 { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1UntagResourceCommand, serializeAws_json1_1UntagResourceCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UntagResourceCommand = (function (_super) {
|
|
7
|
+
__extends(UntagResourceCommand, _super);
|
|
8
|
+
function UntagResourceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UntagResourceCommand.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 = "UntagResourceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UntagResourceResponseFilterSensitiveLog,
|
|
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
|
+
UntagResourceCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1UntagResourceCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UntagResourceCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1UntagResourceCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UntagResourceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UntagResourceCommand };
|
|
@@ -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 { UpdateCapacityProviderRequestFilterSensitiveLog, UpdateCapacityProviderResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1UpdateCapacityProviderCommand, serializeAws_json1_1UpdateCapacityProviderCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateCapacityProviderCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateCapacityProviderCommand, _super);
|
|
8
|
+
function UpdateCapacityProviderCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateCapacityProviderCommand.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 = "UpdateCapacityProviderCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateCapacityProviderRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateCapacityProviderResponseFilterSensitiveLog,
|
|
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
|
+
UpdateCapacityProviderCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1UpdateCapacityProviderCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateCapacityProviderCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1UpdateCapacityProviderCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateCapacityProviderCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateCapacityProviderCommand };
|
|
@@ -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 { UpdateClusterRequestFilterSensitiveLog, UpdateClusterResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1UpdateClusterCommand, serializeAws_json1_1UpdateClusterCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateClusterCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateClusterCommand, _super);
|
|
8
|
+
function UpdateClusterCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateClusterCommand.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 = "UpdateClusterCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateClusterRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateClusterResponseFilterSensitiveLog,
|
|
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
|
+
UpdateClusterCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1UpdateClusterCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateClusterCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1UpdateClusterCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateClusterCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateClusterCommand };
|
|
@@ -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 { UpdateClusterSettingsRequestFilterSensitiveLog, UpdateClusterSettingsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1UpdateClusterSettingsCommand, serializeAws_json1_1UpdateClusterSettingsCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateClusterSettingsCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateClusterSettingsCommand, _super);
|
|
8
|
+
function UpdateClusterSettingsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateClusterSettingsCommand.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 = "UpdateClusterSettingsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateClusterSettingsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateClusterSettingsResponseFilterSensitiveLog,
|
|
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
|
+
UpdateClusterSettingsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1UpdateClusterSettingsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateClusterSettingsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1UpdateClusterSettingsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateClusterSettingsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateClusterSettingsCommand };
|
|
@@ -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 { UpdateContainerAgentRequestFilterSensitiveLog, UpdateContainerAgentResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1UpdateContainerAgentCommand, serializeAws_json1_1UpdateContainerAgentCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateContainerAgentCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateContainerAgentCommand, _super);
|
|
8
|
+
function UpdateContainerAgentCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateContainerAgentCommand.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 = "UpdateContainerAgentCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateContainerAgentRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateContainerAgentResponseFilterSensitiveLog,
|
|
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
|
+
UpdateContainerAgentCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1UpdateContainerAgentCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateContainerAgentCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1UpdateContainerAgentCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateContainerAgentCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateContainerAgentCommand };
|
|
@@ -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 { UpdateContainerInstancesStateRequestFilterSensitiveLog, UpdateContainerInstancesStateResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1UpdateContainerInstancesStateCommand, serializeAws_json1_1UpdateContainerInstancesStateCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateContainerInstancesStateCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateContainerInstancesStateCommand, _super);
|
|
8
|
+
function UpdateContainerInstancesStateCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateContainerInstancesStateCommand.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 = "UpdateContainerInstancesStateCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateContainerInstancesStateRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateContainerInstancesStateResponseFilterSensitiveLog,
|
|
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
|
+
UpdateContainerInstancesStateCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1UpdateContainerInstancesStateCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateContainerInstancesStateCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1UpdateContainerInstancesStateCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateContainerInstancesStateCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateContainerInstancesStateCommand };
|