@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.
Files changed (84) hide show
  1. package/dist-cjs/index.js +3726 -3105
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/ECSClient.js +2 -0
  4. package/dist-es/commands/CreateCapacityProviderCommand.js +3 -9
  5. package/dist-es/commands/CreateClusterCommand.js +3 -9
  6. package/dist-es/commands/CreateServiceCommand.js +3 -9
  7. package/dist-es/commands/CreateTaskSetCommand.js +3 -9
  8. package/dist-es/commands/DeleteAccountSettingCommand.js +3 -9
  9. package/dist-es/commands/DeleteAttributesCommand.js +3 -9
  10. package/dist-es/commands/DeleteCapacityProviderCommand.js +3 -9
  11. package/dist-es/commands/DeleteClusterCommand.js +3 -9
  12. package/dist-es/commands/DeleteServiceCommand.js +3 -9
  13. package/dist-es/commands/DeleteTaskDefinitionsCommand.js +3 -9
  14. package/dist-es/commands/DeleteTaskSetCommand.js +3 -9
  15. package/dist-es/commands/DeregisterContainerInstanceCommand.js +3 -9
  16. package/dist-es/commands/DeregisterTaskDefinitionCommand.js +3 -9
  17. package/dist-es/commands/DescribeCapacityProvidersCommand.js +3 -9
  18. package/dist-es/commands/DescribeClustersCommand.js +3 -9
  19. package/dist-es/commands/DescribeContainerInstancesCommand.js +3 -9
  20. package/dist-es/commands/DescribeServiceDeploymentsCommand.js +3 -9
  21. package/dist-es/commands/DescribeServiceRevisionsCommand.js +3 -9
  22. package/dist-es/commands/DescribeServicesCommand.js +3 -9
  23. package/dist-es/commands/DescribeTaskDefinitionCommand.js +3 -9
  24. package/dist-es/commands/DescribeTaskSetsCommand.js +3 -9
  25. package/dist-es/commands/DescribeTasksCommand.js +3 -9
  26. package/dist-es/commands/DiscoverPollEndpointCommand.js +3 -9
  27. package/dist-es/commands/ExecuteCommandCommand.js +3 -10
  28. package/dist-es/commands/GetTaskProtectionCommand.js +3 -9
  29. package/dist-es/commands/ListAccountSettingsCommand.js +3 -9
  30. package/dist-es/commands/ListAttributesCommand.js +3 -9
  31. package/dist-es/commands/ListClustersCommand.js +3 -9
  32. package/dist-es/commands/ListContainerInstancesCommand.js +3 -9
  33. package/dist-es/commands/ListServiceDeploymentsCommand.js +3 -9
  34. package/dist-es/commands/ListServicesByNamespaceCommand.js +3 -9
  35. package/dist-es/commands/ListServicesCommand.js +3 -9
  36. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  37. package/dist-es/commands/ListTaskDefinitionFamiliesCommand.js +3 -9
  38. package/dist-es/commands/ListTaskDefinitionsCommand.js +3 -9
  39. package/dist-es/commands/ListTasksCommand.js +3 -9
  40. package/dist-es/commands/PutAccountSettingCommand.js +3 -9
  41. package/dist-es/commands/PutAccountSettingDefaultCommand.js +3 -9
  42. package/dist-es/commands/PutAttributesCommand.js +3 -9
  43. package/dist-es/commands/PutClusterCapacityProvidersCommand.js +3 -9
  44. package/dist-es/commands/RegisterContainerInstanceCommand.js +3 -9
  45. package/dist-es/commands/RegisterTaskDefinitionCommand.js +3 -9
  46. package/dist-es/commands/RunTaskCommand.js +3 -9
  47. package/dist-es/commands/StartTaskCommand.js +3 -9
  48. package/dist-es/commands/StopServiceDeploymentCommand.js +3 -9
  49. package/dist-es/commands/StopTaskCommand.js +3 -9
  50. package/dist-es/commands/SubmitAttachmentStateChangesCommand.js +3 -9
  51. package/dist-es/commands/SubmitContainerStateChangeCommand.js +3 -9
  52. package/dist-es/commands/SubmitTaskStateChangeCommand.js +3 -9
  53. package/dist-es/commands/TagResourceCommand.js +3 -9
  54. package/dist-es/commands/UntagResourceCommand.js +3 -9
  55. package/dist-es/commands/UpdateCapacityProviderCommand.js +3 -9
  56. package/dist-es/commands/UpdateClusterCommand.js +3 -9
  57. package/dist-es/commands/UpdateClusterSettingsCommand.js +3 -9
  58. package/dist-es/commands/UpdateContainerAgentCommand.js +3 -9
  59. package/dist-es/commands/UpdateContainerInstancesStateCommand.js +3 -9
  60. package/dist-es/commands/UpdateServiceCommand.js +3 -9
  61. package/dist-es/commands/UpdateServicePrimaryTaskSetCommand.js +3 -9
  62. package/dist-es/commands/UpdateTaskProtectionCommand.js +3 -9
  63. package/dist-es/commands/UpdateTaskSetCommand.js +3 -9
  64. package/dist-es/models/models_0.js +0 -9
  65. package/dist-es/runtimeConfig.shared.js +7 -0
  66. package/dist-es/schemas/schemas_0.js +3541 -0
  67. package/dist-types/ECSClient.d.ts +10 -1
  68. package/dist-types/models/models_0.d.ts +0 -8
  69. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  70. package/dist-types/runtimeConfig.d.ts +1 -0
  71. package/dist-types/runtimeConfig.native.d.ts +1 -0
  72. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  73. package/dist-types/schemas/schemas_0.d.ts +446 -0
  74. package/dist-types/ts3.4/ECSClient.d.ts +4 -0
  75. package/dist-types/ts3.4/models/models_0.d.ts +0 -4
  76. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  77. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  78. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  79. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  80. package/dist-types/ts3.4/schemas/schemas_0.d.ts +452 -0
  81. package/package.json +5 -6
  82. package/dist-es/protocols/Aws_json1_1.js +0 -2596
  83. package/dist-types/protocols/Aws_json1_1.d.ts +0 -542
  84. 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 { de_StopTaskCommand, se_StopTaskCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_SubmitAttachmentStateChangesCommand, se_SubmitAttachmentStateChangesCommand, } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_SubmitContainerStateChangeCommand, se_SubmitContainerStateChangeCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_SubmitTaskStateChangeCommand, se_SubmitTaskStateChangeCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_UpdateCapacityProviderCommand, se_UpdateCapacityProviderCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_UpdateClusterCommand, se_UpdateClusterCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_UpdateClusterSettingsCommand, se_UpdateClusterSettingsCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_UpdateContainerAgentCommand, se_UpdateContainerAgentCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_UpdateContainerInstancesStateCommand, se_UpdateContainerInstancesStateCommand, } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_UpdateServiceCommand, se_UpdateServiceCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_UpdateServicePrimaryTaskSetCommand, se_UpdateServicePrimaryTaskSetCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_UpdateTaskProtectionCommand, se_UpdateTaskProtectionCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_UpdateTaskSetCommand, se_UpdateTaskSetCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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,