@aws-sdk/client-application-auto-scaling 3.927.0 → 3.928.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 (35) hide show
  1. package/dist-cjs/index.js +827 -865
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/ApplicationAutoScalingClient.js +2 -0
  4. package/dist-es/commands/DeleteScalingPolicyCommand.js +3 -9
  5. package/dist-es/commands/DeleteScheduledActionCommand.js +3 -9
  6. package/dist-es/commands/DeregisterScalableTargetCommand.js +3 -9
  7. package/dist-es/commands/DescribeScalableTargetsCommand.js +3 -9
  8. package/dist-es/commands/DescribeScalingActivitiesCommand.js +3 -9
  9. package/dist-es/commands/DescribeScalingPoliciesCommand.js +3 -9
  10. package/dist-es/commands/DescribeScheduledActionsCommand.js +3 -9
  11. package/dist-es/commands/GetPredictiveScalingForecastCommand.js +3 -9
  12. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  13. package/dist-es/commands/PutScalingPolicyCommand.js +3 -9
  14. package/dist-es/commands/PutScheduledActionCommand.js +3 -9
  15. package/dist-es/commands/RegisterScalableTargetCommand.js +3 -9
  16. package/dist-es/commands/TagResourceCommand.js +3 -9
  17. package/dist-es/commands/UntagResourceCommand.js +3 -9
  18. package/dist-es/runtimeConfig.shared.js +7 -0
  19. package/dist-es/schemas/schemas_0.js +776 -0
  20. package/dist-types/ApplicationAutoScalingClient.d.ts +10 -1
  21. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  22. package/dist-types/runtimeConfig.d.ts +1 -0
  23. package/dist-types/runtimeConfig.native.d.ts +1 -0
  24. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  25. package/dist-types/schemas/schemas_0.d.ts +103 -0
  26. package/dist-types/ts3.4/ApplicationAutoScalingClient.d.ts +4 -0
  27. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  28. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  29. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  30. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  31. package/dist-types/ts3.4/schemas/schemas_0.d.ts +108 -0
  32. package/package.json +5 -5
  33. package/dist-es/protocols/Aws_json1_1.js +0 -744
  34. package/dist-types/protocols/Aws_json1_1.d.ts +0 -128
  35. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -173
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,12 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ??
30
+ new protocols_1.AwsJson1_1Protocol({
31
+ defaultNamespace: "com.amazonaws.applicationautoscaling",
32
+ serviceTarget: "AnyScaleFrontendService",
33
+ awsQueryCompatible: false,
34
+ }),
28
35
  serviceId: config?.serviceId ?? "Application Auto Scaling",
29
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class ApplicationAutoScalingClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -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_DeleteScalingPolicyCommand, se_DeleteScalingPolicyCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteScalingPolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteScalingPolicyCommand 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("AnyScaleFrontendService", "DeleteScalingPolicy", {})
17
13
  .n("ApplicationAutoScalingClient", "DeleteScalingPolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteScalingPolicyCommand)
20
- .de(de_DeleteScalingPolicyCommand)
14
+ .sc(DeleteScalingPolicy)
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_DeleteScheduledActionCommand, se_DeleteScheduledActionCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteScheduledAction } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteScheduledActionCommand 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("AnyScaleFrontendService", "DeleteScheduledAction", {})
17
13
  .n("ApplicationAutoScalingClient", "DeleteScheduledActionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteScheduledActionCommand)
20
- .de(de_DeleteScheduledActionCommand)
14
+ .sc(DeleteScheduledAction)
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_DeregisterScalableTargetCommand, se_DeregisterScalableTargetCommand } from "../protocols/Aws_json1_1";
4
+ import { DeregisterScalableTarget } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeregisterScalableTargetCommand 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("AnyScaleFrontendService", "DeregisterScalableTarget", {})
17
13
  .n("ApplicationAutoScalingClient", "DeregisterScalableTargetCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeregisterScalableTargetCommand)
20
- .de(de_DeregisterScalableTargetCommand)
14
+ .sc(DeregisterScalableTarget)
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_DescribeScalableTargetsCommand, se_DescribeScalableTargetsCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeScalableTargets } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeScalableTargetsCommand 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("AnyScaleFrontendService", "DescribeScalableTargets", {})
17
13
  .n("ApplicationAutoScalingClient", "DescribeScalableTargetsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeScalableTargetsCommand)
20
- .de(de_DescribeScalableTargetsCommand)
14
+ .sc(DescribeScalableTargets)
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_DescribeScalingActivitiesCommand, se_DescribeScalingActivitiesCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeScalingActivities } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeScalingActivitiesCommand 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("AnyScaleFrontendService", "DescribeScalingActivities", {})
17
13
  .n("ApplicationAutoScalingClient", "DescribeScalingActivitiesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeScalingActivitiesCommand)
20
- .de(de_DescribeScalingActivitiesCommand)
14
+ .sc(DescribeScalingActivities)
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_DescribeScalingPoliciesCommand, se_DescribeScalingPoliciesCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeScalingPolicies } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeScalingPoliciesCommand 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("AnyScaleFrontendService", "DescribeScalingPolicies", {})
17
13
  .n("ApplicationAutoScalingClient", "DescribeScalingPoliciesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeScalingPoliciesCommand)
20
- .de(de_DescribeScalingPoliciesCommand)
14
+ .sc(DescribeScalingPolicies)
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_DescribeScheduledActionsCommand, se_DescribeScheduledActionsCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeScheduledActions } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeScheduledActionsCommand 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("AnyScaleFrontendService", "DescribeScheduledActions", {})
17
13
  .n("ApplicationAutoScalingClient", "DescribeScheduledActionsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeScheduledActionsCommand)
20
- .de(de_DescribeScheduledActionsCommand)
14
+ .sc(DescribeScheduledActions)
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_json1_1";
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("AnyScaleFrontendService", "GetPredictiveScalingForecast", {})
17
13
  .n("ApplicationAutoScalingClient", "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_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_json1_1";
4
+ import { ListTagsForResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTagsForResourceCommand 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("AnyScaleFrontendService", "ListTagsForResource", {})
17
13
  .n("ApplicationAutoScalingClient", "ListTagsForResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTagsForResourceCommand)
20
- .de(de_ListTagsForResourceCommand)
14
+ .sc(ListTagsForResource)
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_json1_1";
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("AnyScaleFrontendService", "PutScalingPolicy", {})
17
13
  .n("ApplicationAutoScalingClient", "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_PutScheduledActionCommand, se_PutScheduledActionCommand } from "../protocols/Aws_json1_1";
4
+ import { PutScheduledAction } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutScheduledActionCommand 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("AnyScaleFrontendService", "PutScheduledAction", {})
17
13
  .n("ApplicationAutoScalingClient", "PutScheduledActionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutScheduledActionCommand)
20
- .de(de_PutScheduledActionCommand)
14
+ .sc(PutScheduledAction)
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_RegisterScalableTargetCommand, se_RegisterScalableTargetCommand } from "../protocols/Aws_json1_1";
4
+ import { RegisterScalableTarget } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RegisterScalableTargetCommand 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("AnyScaleFrontendService", "RegisterScalableTarget", {})
17
13
  .n("ApplicationAutoScalingClient", "RegisterScalableTargetCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RegisterScalableTargetCommand)
20
- .de(de_RegisterScalableTargetCommand)
14
+ .sc(RegisterScalableTarget)
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("AnyScaleFrontendService", "TagResource", {})
17
13
  .n("ApplicationAutoScalingClient", "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("AnyScaleFrontendService", "UntagResource", {})
17
13
  .n("ApplicationAutoScalingClient", "UntagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UntagResourceCommand)
20
- .de(de_UntagResourceCommand)
14
+ .sc(UntagResource)
21
15
  .build() {
22
16
  }
@@ -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.applicationautoscaling",
29
+ serviceTarget: "AnyScaleFrontendService",
30
+ awsQueryCompatible: false,
31
+ }),
25
32
  serviceId: config?.serviceId ?? "Application Auto Scaling",
26
33
  urlParser: config?.urlParser ?? parseUrl,
27
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,