@aws-sdk/client-ecs 3.927.0 → 3.929.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +3726 -3105
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/ECSClient.js +2 -0
- package/dist-es/commands/CreateCapacityProviderCommand.js +3 -9
- package/dist-es/commands/CreateClusterCommand.js +3 -9
- package/dist-es/commands/CreateServiceCommand.js +3 -9
- package/dist-es/commands/CreateTaskSetCommand.js +3 -9
- package/dist-es/commands/DeleteAccountSettingCommand.js +3 -9
- package/dist-es/commands/DeleteAttributesCommand.js +3 -9
- package/dist-es/commands/DeleteCapacityProviderCommand.js +3 -9
- package/dist-es/commands/DeleteClusterCommand.js +3 -9
- package/dist-es/commands/DeleteServiceCommand.js +3 -9
- package/dist-es/commands/DeleteTaskDefinitionsCommand.js +3 -9
- package/dist-es/commands/DeleteTaskSetCommand.js +3 -9
- package/dist-es/commands/DeregisterContainerInstanceCommand.js +3 -9
- package/dist-es/commands/DeregisterTaskDefinitionCommand.js +3 -9
- package/dist-es/commands/DescribeCapacityProvidersCommand.js +3 -9
- package/dist-es/commands/DescribeClustersCommand.js +3 -9
- package/dist-es/commands/DescribeContainerInstancesCommand.js +3 -9
- package/dist-es/commands/DescribeServiceDeploymentsCommand.js +3 -9
- package/dist-es/commands/DescribeServiceRevisionsCommand.js +3 -9
- package/dist-es/commands/DescribeServicesCommand.js +3 -9
- package/dist-es/commands/DescribeTaskDefinitionCommand.js +3 -9
- package/dist-es/commands/DescribeTaskSetsCommand.js +3 -9
- package/dist-es/commands/DescribeTasksCommand.js +3 -9
- package/dist-es/commands/DiscoverPollEndpointCommand.js +3 -9
- package/dist-es/commands/ExecuteCommandCommand.js +3 -10
- package/dist-es/commands/GetTaskProtectionCommand.js +3 -9
- package/dist-es/commands/ListAccountSettingsCommand.js +3 -9
- package/dist-es/commands/ListAttributesCommand.js +3 -9
- package/dist-es/commands/ListClustersCommand.js +3 -9
- package/dist-es/commands/ListContainerInstancesCommand.js +3 -9
- package/dist-es/commands/ListServiceDeploymentsCommand.js +3 -9
- package/dist-es/commands/ListServicesByNamespaceCommand.js +3 -9
- package/dist-es/commands/ListServicesCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ListTaskDefinitionFamiliesCommand.js +3 -9
- package/dist-es/commands/ListTaskDefinitionsCommand.js +3 -9
- package/dist-es/commands/ListTasksCommand.js +3 -9
- package/dist-es/commands/PutAccountSettingCommand.js +3 -9
- package/dist-es/commands/PutAccountSettingDefaultCommand.js +3 -9
- package/dist-es/commands/PutAttributesCommand.js +3 -9
- package/dist-es/commands/PutClusterCapacityProvidersCommand.js +3 -9
- package/dist-es/commands/RegisterContainerInstanceCommand.js +3 -9
- package/dist-es/commands/RegisterTaskDefinitionCommand.js +3 -9
- package/dist-es/commands/RunTaskCommand.js +3 -9
- package/dist-es/commands/StartTaskCommand.js +3 -9
- package/dist-es/commands/StopServiceDeploymentCommand.js +3 -9
- package/dist-es/commands/StopTaskCommand.js +3 -9
- package/dist-es/commands/SubmitAttachmentStateChangesCommand.js +3 -9
- package/dist-es/commands/SubmitContainerStateChangeCommand.js +3 -9
- package/dist-es/commands/SubmitTaskStateChangeCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateCapacityProviderCommand.js +3 -9
- package/dist-es/commands/UpdateClusterCommand.js +3 -9
- package/dist-es/commands/UpdateClusterSettingsCommand.js +3 -9
- package/dist-es/commands/UpdateContainerAgentCommand.js +3 -9
- package/dist-es/commands/UpdateContainerInstancesStateCommand.js +3 -9
- package/dist-es/commands/UpdateServiceCommand.js +3 -9
- package/dist-es/commands/UpdateServicePrimaryTaskSetCommand.js +3 -9
- package/dist-es/commands/UpdateTaskProtectionCommand.js +3 -9
- package/dist-es/commands/UpdateTaskSetCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -9
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +3541 -0
- package/dist-types/ECSClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -8
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +446 -0
- package/dist-types/ts3.4/ECSClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -4
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +452 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_json1_1.js +0 -2596
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -542
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -725
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { StopTask } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StopTaskCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonEC2ContainerServiceV20141113", "StopTask", {})
|
|
17
13
|
.n("ECSClient", "StopTaskCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StopTaskCommand)
|
|
20
|
-
.de(de_StopTaskCommand)
|
|
14
|
+
.sc(StopTask)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { SubmitAttachmentStateChanges } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class SubmitAttachmentStateChangesCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonEC2ContainerServiceV20141113", "SubmitAttachmentStateChanges", {})
|
|
17
13
|
.n("ECSClient", "SubmitAttachmentStateChangesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_SubmitAttachmentStateChangesCommand)
|
|
20
|
-
.de(de_SubmitAttachmentStateChangesCommand)
|
|
14
|
+
.sc(SubmitAttachmentStateChanges)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { SubmitContainerStateChange } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class SubmitContainerStateChangeCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonEC2ContainerServiceV20141113", "SubmitContainerStateChange", {})
|
|
17
13
|
.n("ECSClient", "SubmitContainerStateChangeCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_SubmitContainerStateChangeCommand)
|
|
20
|
-
.de(de_SubmitContainerStateChangeCommand)
|
|
14
|
+
.sc(SubmitContainerStateChange)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { SubmitTaskStateChange } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class SubmitTaskStateChangeCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonEC2ContainerServiceV20141113", "SubmitTaskStateChange", {})
|
|
17
13
|
.n("ECSClient", "SubmitTaskStateChangeCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_SubmitTaskStateChangeCommand)
|
|
20
|
-
.de(de_SubmitTaskStateChangeCommand)
|
|
14
|
+
.sc(SubmitTaskStateChange)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { TagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class TagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonEC2ContainerServiceV20141113", "TagResource", {})
|
|
17
13
|
.n("ECSClient", "TagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_TagResourceCommand)
|
|
20
|
-
.de(de_TagResourceCommand)
|
|
14
|
+
.sc(TagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UntagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UntagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonEC2ContainerServiceV20141113", "UntagResource", {})
|
|
17
13
|
.n("ECSClient", "UntagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UntagResourceCommand)
|
|
20
|
-
.de(de_UntagResourceCommand)
|
|
14
|
+
.sc(UntagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateCapacityProvider } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateCapacityProviderCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonEC2ContainerServiceV20141113", "UpdateCapacityProvider", {})
|
|
17
13
|
.n("ECSClient", "UpdateCapacityProviderCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateCapacityProviderCommand)
|
|
20
|
-
.de(de_UpdateCapacityProviderCommand)
|
|
14
|
+
.sc(UpdateCapacityProvider)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateCluster } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateClusterCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonEC2ContainerServiceV20141113", "UpdateCluster", {})
|
|
17
13
|
.n("ECSClient", "UpdateClusterCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateClusterCommand)
|
|
20
|
-
.de(de_UpdateClusterCommand)
|
|
14
|
+
.sc(UpdateCluster)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateClusterSettings } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateClusterSettingsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonEC2ContainerServiceV20141113", "UpdateClusterSettings", {})
|
|
17
13
|
.n("ECSClient", "UpdateClusterSettingsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateClusterSettingsCommand)
|
|
20
|
-
.de(de_UpdateClusterSettingsCommand)
|
|
14
|
+
.sc(UpdateClusterSettings)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateContainerAgent } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateContainerAgentCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonEC2ContainerServiceV20141113", "UpdateContainerAgent", {})
|
|
17
13
|
.n("ECSClient", "UpdateContainerAgentCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateContainerAgentCommand)
|
|
20
|
-
.de(de_UpdateContainerAgentCommand)
|
|
14
|
+
.sc(UpdateContainerAgent)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateContainerInstancesState } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateContainerInstancesStateCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonEC2ContainerServiceV20141113", "UpdateContainerInstancesState", {})
|
|
17
13
|
.n("ECSClient", "UpdateContainerInstancesStateCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateContainerInstancesStateCommand)
|
|
20
|
-
.de(de_UpdateContainerInstancesStateCommand)
|
|
14
|
+
.sc(UpdateContainerInstancesState)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateService } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateServiceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonEC2ContainerServiceV20141113", "UpdateService", {})
|
|
17
13
|
.n("ECSClient", "UpdateServiceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateServiceCommand)
|
|
20
|
-
.de(de_UpdateServiceCommand)
|
|
14
|
+
.sc(UpdateService)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateServicePrimaryTaskSet } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateServicePrimaryTaskSetCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonEC2ContainerServiceV20141113", "UpdateServicePrimaryTaskSet", {})
|
|
17
13
|
.n("ECSClient", "UpdateServicePrimaryTaskSetCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateServicePrimaryTaskSetCommand)
|
|
20
|
-
.de(de_UpdateServicePrimaryTaskSetCommand)
|
|
14
|
+
.sc(UpdateServicePrimaryTaskSet)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateTaskProtection } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateTaskProtectionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonEC2ContainerServiceV20141113", "UpdateTaskProtection", {})
|
|
17
13
|
.n("ECSClient", "UpdateTaskProtectionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateTaskProtectionCommand)
|
|
20
|
-
.de(de_UpdateTaskProtectionCommand)
|
|
14
|
+
.sc(UpdateTaskProtection)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateTaskSet } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateTaskSetCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonEC2ContainerServiceV20141113", "UpdateTaskSet", {})
|
|
17
13
|
.n("ECSClient", "UpdateTaskSetCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateTaskSetCommand)
|
|
20
|
-
.de(de_UpdateTaskSetCommand)
|
|
14
|
+
.sc(UpdateTaskSet)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { ECSServiceException as __BaseException } from "./ECSServiceException";
|
|
3
2
|
export const AcceleratorManufacturer = {
|
|
4
3
|
AMAZON_WEB_SERVICES: "amazon-web-services",
|
|
@@ -687,11 +686,3 @@ export const SortOrder = {
|
|
|
687
686
|
ASC: "ASC",
|
|
688
687
|
DESC: "DESC",
|
|
689
688
|
};
|
|
690
|
-
export const SessionFilterSensitiveLog = (obj) => ({
|
|
691
|
-
...obj,
|
|
692
|
-
...(obj.tokenValue && { tokenValue: SENSITIVE_STRING }),
|
|
693
|
-
});
|
|
694
|
-
export const ExecuteCommandResponseFilterSensitiveLog = (obj) => ({
|
|
695
|
-
...obj,
|
|
696
|
-
...(obj.session && { session: SessionFilterSensitiveLog(obj.session) }),
|
|
697
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ??
|
|
27
|
+
new AwsJson1_1Protocol({
|
|
28
|
+
defaultNamespace: "com.amazonaws.ecs",
|
|
29
|
+
serviceTarget: "AmazonEC2ContainerServiceV20141113",
|
|
30
|
+
awsQueryCompatible: false,
|
|
31
|
+
}),
|
|
25
32
|
serviceId: config?.serviceId ?? "ECS",
|
|
26
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|