@aws-sdk/client-auto-scaling 3.928.0 → 3.930.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 (86) hide show
  1. package/dist-cjs/index.js +2300 -7680
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/AutoScalingClient.js +2 -0
  4. package/dist-es/commands/AttachInstancesCommand.js +3 -9
  5. package/dist-es/commands/AttachLoadBalancerTargetGroupsCommand.js +3 -9
  6. package/dist-es/commands/AttachLoadBalancersCommand.js +3 -9
  7. package/dist-es/commands/AttachTrafficSourcesCommand.js +3 -9
  8. package/dist-es/commands/BatchDeleteScheduledActionCommand.js +3 -9
  9. package/dist-es/commands/BatchPutScheduledUpdateGroupActionCommand.js +3 -9
  10. package/dist-es/commands/CancelInstanceRefreshCommand.js +3 -9
  11. package/dist-es/commands/CompleteLifecycleActionCommand.js +3 -9
  12. package/dist-es/commands/CreateAutoScalingGroupCommand.js +3 -9
  13. package/dist-es/commands/CreateLaunchConfigurationCommand.js +3 -9
  14. package/dist-es/commands/CreateOrUpdateTagsCommand.js +3 -9
  15. package/dist-es/commands/DeleteAutoScalingGroupCommand.js +3 -9
  16. package/dist-es/commands/DeleteLaunchConfigurationCommand.js +3 -9
  17. package/dist-es/commands/DeleteLifecycleHookCommand.js +3 -9
  18. package/dist-es/commands/DeleteNotificationConfigurationCommand.js +3 -9
  19. package/dist-es/commands/DeletePolicyCommand.js +3 -9
  20. package/dist-es/commands/DeleteScheduledActionCommand.js +3 -9
  21. package/dist-es/commands/DeleteTagsCommand.js +3 -9
  22. package/dist-es/commands/DeleteWarmPoolCommand.js +3 -9
  23. package/dist-es/commands/DescribeAccountLimitsCommand.js +3 -9
  24. package/dist-es/commands/DescribeAdjustmentTypesCommand.js +3 -9
  25. package/dist-es/commands/DescribeAutoScalingGroupsCommand.js +3 -9
  26. package/dist-es/commands/DescribeAutoScalingInstancesCommand.js +3 -9
  27. package/dist-es/commands/DescribeAutoScalingNotificationTypesCommand.js +3 -9
  28. package/dist-es/commands/DescribeInstanceRefreshesCommand.js +3 -9
  29. package/dist-es/commands/DescribeLaunchConfigurationsCommand.js +3 -9
  30. package/dist-es/commands/DescribeLifecycleHookTypesCommand.js +3 -9
  31. package/dist-es/commands/DescribeLifecycleHooksCommand.js +3 -9
  32. package/dist-es/commands/DescribeLoadBalancerTargetGroupsCommand.js +3 -9
  33. package/dist-es/commands/DescribeLoadBalancersCommand.js +3 -9
  34. package/dist-es/commands/DescribeMetricCollectionTypesCommand.js +3 -9
  35. package/dist-es/commands/DescribeNotificationConfigurationsCommand.js +3 -9
  36. package/dist-es/commands/DescribePoliciesCommand.js +3 -9
  37. package/dist-es/commands/DescribeScalingActivitiesCommand.js +3 -9
  38. package/dist-es/commands/DescribeScalingProcessTypesCommand.js +3 -9
  39. package/dist-es/commands/DescribeScheduledActionsCommand.js +3 -9
  40. package/dist-es/commands/DescribeTagsCommand.js +3 -9
  41. package/dist-es/commands/DescribeTerminationPolicyTypesCommand.js +3 -9
  42. package/dist-es/commands/DescribeTrafficSourcesCommand.js +3 -9
  43. package/dist-es/commands/DescribeWarmPoolCommand.js +3 -9
  44. package/dist-es/commands/DetachInstancesCommand.js +3 -9
  45. package/dist-es/commands/DetachLoadBalancerTargetGroupsCommand.js +3 -9
  46. package/dist-es/commands/DetachLoadBalancersCommand.js +3 -9
  47. package/dist-es/commands/DetachTrafficSourcesCommand.js +3 -9
  48. package/dist-es/commands/DisableMetricsCollectionCommand.js +3 -9
  49. package/dist-es/commands/EnableMetricsCollectionCommand.js +3 -9
  50. package/dist-es/commands/EnterStandbyCommand.js +3 -9
  51. package/dist-es/commands/ExecutePolicyCommand.js +3 -9
  52. package/dist-es/commands/ExitStandbyCommand.js +3 -9
  53. package/dist-es/commands/GetPredictiveScalingForecastCommand.js +3 -9
  54. package/dist-es/commands/PutLifecycleHookCommand.js +3 -9
  55. package/dist-es/commands/PutNotificationConfigurationCommand.js +3 -9
  56. package/dist-es/commands/PutScalingPolicyCommand.js +3 -9
  57. package/dist-es/commands/PutScheduledUpdateGroupActionCommand.js +3 -9
  58. package/dist-es/commands/PutWarmPoolCommand.js +3 -9
  59. package/dist-es/commands/RecordLifecycleActionHeartbeatCommand.js +3 -9
  60. package/dist-es/commands/ResumeProcessesCommand.js +3 -9
  61. package/dist-es/commands/RollbackInstanceRefreshCommand.js +3 -9
  62. package/dist-es/commands/SetDesiredCapacityCommand.js +3 -9
  63. package/dist-es/commands/SetInstanceHealthCommand.js +3 -9
  64. package/dist-es/commands/SetInstanceProtectionCommand.js +3 -9
  65. package/dist-es/commands/StartInstanceRefreshCommand.js +3 -9
  66. package/dist-es/commands/SuspendProcessesCommand.js +3 -9
  67. package/dist-es/commands/TerminateInstanceInAutoScalingGroupCommand.js +3 -9
  68. package/dist-es/commands/UpdateAutoScalingGroupCommand.js +3 -9
  69. package/dist-es/runtimeConfig.shared.js +7 -0
  70. package/dist-es/schemas/schemas_0.js +2304 -0
  71. package/dist-types/AutoScalingClient.d.ts +10 -1
  72. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  73. package/dist-types/runtimeConfig.d.ts +1 -0
  74. package/dist-types/runtimeConfig.native.d.ts +1 -0
  75. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  76. package/dist-types/schemas/schemas_0.d.ts +332 -0
  77. package/dist-types/ts3.4/AutoScalingClient.d.ts +4 -0
  78. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  79. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  80. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  81. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  82. package/dist-types/ts3.4/schemas/schemas_0.d.ts +337 -0
  83. package/package.json +34 -34
  84. package/dist-es/protocols/Aws_query.js +0 -7332
  85. package/dist-types/protocols/Aws_query.d.ts +0 -587
  86. package/dist-types/ts3.4/protocols/Aws_query.d.ts +0 -785
@@ -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_EnableMetricsCollectionCommand, se_EnableMetricsCollectionCommand } from "../protocols/Aws_query";
4
+ import { EnableMetricsCollection } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class EnableMetricsCollectionCommand 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("AutoScaling_2011_01_01", "EnableMetricsCollection", {})
17
13
  .n("AutoScalingClient", "EnableMetricsCollectionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_EnableMetricsCollectionCommand)
20
- .de(de_EnableMetricsCollectionCommand)
14
+ .sc(EnableMetricsCollection)
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_EnterStandbyCommand, se_EnterStandbyCommand } from "../protocols/Aws_query";
4
+ import { EnterStandby } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class EnterStandbyCommand 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("AutoScaling_2011_01_01", "EnterStandby", {})
17
13
  .n("AutoScalingClient", "EnterStandbyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_EnterStandbyCommand)
20
- .de(de_EnterStandbyCommand)
14
+ .sc(EnterStandby)
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_ExecutePolicyCommand, se_ExecutePolicyCommand } from "../protocols/Aws_query";
4
+ import { ExecutePolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ExecutePolicyCommand 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("AutoScaling_2011_01_01", "ExecutePolicy", {})
17
13
  .n("AutoScalingClient", "ExecutePolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ExecutePolicyCommand)
20
- .de(de_ExecutePolicyCommand)
14
+ .sc(ExecutePolicy)
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_ExitStandbyCommand, se_ExitStandbyCommand } from "../protocols/Aws_query";
4
+ import { ExitStandby } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ExitStandbyCommand 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("AutoScaling_2011_01_01", "ExitStandby", {})
17
13
  .n("AutoScalingClient", "ExitStandbyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ExitStandbyCommand)
20
- .de(de_ExitStandbyCommand)
14
+ .sc(ExitStandby)
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_GetPredictiveScalingForecastCommand, se_GetPredictiveScalingForecastCommand } from "../protocols/Aws_query";
4
+ import { GetPredictiveScalingForecast } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetPredictiveScalingForecastCommand 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("AutoScaling_2011_01_01", "GetPredictiveScalingForecast", {})
17
13
  .n("AutoScalingClient", "GetPredictiveScalingForecastCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetPredictiveScalingForecastCommand)
20
- .de(de_GetPredictiveScalingForecastCommand)
14
+ .sc(GetPredictiveScalingForecast)
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_PutLifecycleHookCommand, se_PutLifecycleHookCommand } from "../protocols/Aws_query";
4
+ import { PutLifecycleHook } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutLifecycleHookCommand 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("AutoScaling_2011_01_01", "PutLifecycleHook", {})
17
13
  .n("AutoScalingClient", "PutLifecycleHookCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutLifecycleHookCommand)
20
- .de(de_PutLifecycleHookCommand)
14
+ .sc(PutLifecycleHook)
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_PutNotificationConfigurationCommand, se_PutNotificationConfigurationCommand } from "../protocols/Aws_query";
4
+ import { PutNotificationConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutNotificationConfigurationCommand 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("AutoScaling_2011_01_01", "PutNotificationConfiguration", {})
17
13
  .n("AutoScalingClient", "PutNotificationConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutNotificationConfigurationCommand)
20
- .de(de_PutNotificationConfigurationCommand)
14
+ .sc(PutNotificationConfiguration)
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_PutScalingPolicyCommand, se_PutScalingPolicyCommand } from "../protocols/Aws_query";
4
+ import { PutScalingPolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutScalingPolicyCommand 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("AutoScaling_2011_01_01", "PutScalingPolicy", {})
17
13
  .n("AutoScalingClient", "PutScalingPolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutScalingPolicyCommand)
20
- .de(de_PutScalingPolicyCommand)
14
+ .sc(PutScalingPolicy)
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_PutScheduledUpdateGroupActionCommand, se_PutScheduledUpdateGroupActionCommand, } from "../protocols/Aws_query";
4
+ import { PutScheduledUpdateGroupAction } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutScheduledUpdateGroupActionCommand 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("AutoScaling_2011_01_01", "PutScheduledUpdateGroupAction", {})
17
13
  .n("AutoScalingClient", "PutScheduledUpdateGroupActionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutScheduledUpdateGroupActionCommand)
20
- .de(de_PutScheduledUpdateGroupActionCommand)
14
+ .sc(PutScheduledUpdateGroupAction)
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_PutWarmPoolCommand, se_PutWarmPoolCommand } from "../protocols/Aws_query";
4
+ import { PutWarmPool } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutWarmPoolCommand 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("AutoScaling_2011_01_01", "PutWarmPool", {})
17
13
  .n("AutoScalingClient", "PutWarmPoolCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutWarmPoolCommand)
20
- .de(de_PutWarmPoolCommand)
14
+ .sc(PutWarmPool)
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_RecordLifecycleActionHeartbeatCommand, se_RecordLifecycleActionHeartbeatCommand, } from "../protocols/Aws_query";
4
+ import { RecordLifecycleActionHeartbeat } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RecordLifecycleActionHeartbeatCommand 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("AutoScaling_2011_01_01", "RecordLifecycleActionHeartbeat", {})
17
13
  .n("AutoScalingClient", "RecordLifecycleActionHeartbeatCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RecordLifecycleActionHeartbeatCommand)
20
- .de(de_RecordLifecycleActionHeartbeatCommand)
14
+ .sc(RecordLifecycleActionHeartbeat)
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_ResumeProcessesCommand, se_ResumeProcessesCommand } from "../protocols/Aws_query";
4
+ import { ResumeProcesses } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ResumeProcessesCommand 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("AutoScaling_2011_01_01", "ResumeProcesses", {})
17
13
  .n("AutoScalingClient", "ResumeProcessesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ResumeProcessesCommand)
20
- .de(de_ResumeProcessesCommand)
14
+ .sc(ResumeProcesses)
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_RollbackInstanceRefreshCommand, se_RollbackInstanceRefreshCommand } from "../protocols/Aws_query";
4
+ import { RollbackInstanceRefresh } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RollbackInstanceRefreshCommand 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("AutoScaling_2011_01_01", "RollbackInstanceRefresh", {})
17
13
  .n("AutoScalingClient", "RollbackInstanceRefreshCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RollbackInstanceRefreshCommand)
20
- .de(de_RollbackInstanceRefreshCommand)
14
+ .sc(RollbackInstanceRefresh)
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_SetDesiredCapacityCommand, se_SetDesiredCapacityCommand } from "../protocols/Aws_query";
4
+ import { SetDesiredCapacity } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class SetDesiredCapacityCommand 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("AutoScaling_2011_01_01", "SetDesiredCapacity", {})
17
13
  .n("AutoScalingClient", "SetDesiredCapacityCommand")
18
- .f(void 0, void 0)
19
- .ser(se_SetDesiredCapacityCommand)
20
- .de(de_SetDesiredCapacityCommand)
14
+ .sc(SetDesiredCapacity)
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_SetInstanceHealthCommand, se_SetInstanceHealthCommand } from "../protocols/Aws_query";
4
+ import { SetInstanceHealth } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class SetInstanceHealthCommand 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("AutoScaling_2011_01_01", "SetInstanceHealth", {})
17
13
  .n("AutoScalingClient", "SetInstanceHealthCommand")
18
- .f(void 0, void 0)
19
- .ser(se_SetInstanceHealthCommand)
20
- .de(de_SetInstanceHealthCommand)
14
+ .sc(SetInstanceHealth)
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_SetInstanceProtectionCommand, se_SetInstanceProtectionCommand } from "../protocols/Aws_query";
4
+ import { SetInstanceProtection } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class SetInstanceProtectionCommand 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("AutoScaling_2011_01_01", "SetInstanceProtection", {})
17
13
  .n("AutoScalingClient", "SetInstanceProtectionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_SetInstanceProtectionCommand)
20
- .de(de_SetInstanceProtectionCommand)
14
+ .sc(SetInstanceProtection)
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_StartInstanceRefreshCommand, se_StartInstanceRefreshCommand } from "../protocols/Aws_query";
4
+ import { StartInstanceRefresh } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartInstanceRefreshCommand 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("AutoScaling_2011_01_01", "StartInstanceRefresh", {})
17
13
  .n("AutoScalingClient", "StartInstanceRefreshCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartInstanceRefreshCommand)
20
- .de(de_StartInstanceRefreshCommand)
14
+ .sc(StartInstanceRefresh)
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_SuspendProcessesCommand, se_SuspendProcessesCommand } from "../protocols/Aws_query";
4
+ import { SuspendProcesses } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class SuspendProcessesCommand 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("AutoScaling_2011_01_01", "SuspendProcesses", {})
17
13
  .n("AutoScalingClient", "SuspendProcessesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_SuspendProcessesCommand)
20
- .de(de_SuspendProcessesCommand)
14
+ .sc(SuspendProcesses)
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_TerminateInstanceInAutoScalingGroupCommand, se_TerminateInstanceInAutoScalingGroupCommand, } from "../protocols/Aws_query";
4
+ import { TerminateInstanceInAutoScalingGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TerminateInstanceInAutoScalingGroupCommand 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("AutoScaling_2011_01_01", "TerminateInstanceInAutoScalingGroup", {})
17
13
  .n("AutoScalingClient", "TerminateInstanceInAutoScalingGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TerminateInstanceInAutoScalingGroupCommand)
20
- .de(de_TerminateInstanceInAutoScalingGroupCommand)
14
+ .sc(TerminateInstanceInAutoScalingGroup)
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_UpdateAutoScalingGroupCommand, se_UpdateAutoScalingGroupCommand } from "../protocols/Aws_query";
4
+ import { UpdateAutoScalingGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateAutoScalingGroupCommand 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("AutoScaling_2011_01_01", "UpdateAutoScalingGroup", {})
17
13
  .n("AutoScalingClient", "UpdateAutoScalingGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateAutoScalingGroupCommand)
20
- .de(de_UpdateAutoScalingGroupCommand)
14
+ .sc(UpdateAutoScalingGroup)
21
15
  .build() {
22
16
  }
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsQueryProtocol } 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 AwsQueryProtocol({
28
+ defaultNamespace: "com.amazonaws.autoscaling",
29
+ xmlNamespace: "http://autoscaling.amazonaws.com/doc/2011-01-01/",
30
+ version: "2011-01-01",
31
+ }),
25
32
  serviceId: config?.serviceId ?? "Auto Scaling",
26
33
  urlParser: config?.urlParser ?? parseUrl,
27
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,