@aws-sdk/client-application-auto-scaling 3.1077.0 → 3.1079.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 (50) hide show
  1. package/dist-cjs/index.js +22 -143
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/DeleteScalingPolicyCommand.js +2 -14
  4. package/dist-es/commands/DeleteScheduledActionCommand.js +2 -14
  5. package/dist-es/commands/DeregisterScalableTargetCommand.js +2 -14
  6. package/dist-es/commands/DescribeScalableTargetsCommand.js +2 -14
  7. package/dist-es/commands/DescribeScalingActivitiesCommand.js +2 -14
  8. package/dist-es/commands/DescribeScalingPoliciesCommand.js +2 -14
  9. package/dist-es/commands/DescribeScheduledActionsCommand.js +2 -14
  10. package/dist-es/commands/GetPredictiveScalingForecastCommand.js +2 -14
  11. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  12. package/dist-es/commands/PutScalingPolicyCommand.js +2 -14
  13. package/dist-es/commands/PutScheduledActionCommand.js +2 -14
  14. package/dist-es/commands/RegisterScalableTargetCommand.js +2 -14
  15. package/dist-es/commands/TagResourceCommand.js +2 -14
  16. package/dist-es/commands/UntagResourceCommand.js +2 -14
  17. package/dist-es/index.js +1 -0
  18. package/dist-types/commandBuilder.d.ts +18 -0
  19. package/dist-types/commands/DeleteScalingPolicyCommand.d.ts +3 -8
  20. package/dist-types/commands/DeleteScheduledActionCommand.d.ts +3 -8
  21. package/dist-types/commands/DeregisterScalableTargetCommand.d.ts +3 -8
  22. package/dist-types/commands/DescribeScalableTargetsCommand.d.ts +3 -8
  23. package/dist-types/commands/DescribeScalingActivitiesCommand.d.ts +3 -8
  24. package/dist-types/commands/DescribeScalingPoliciesCommand.d.ts +3 -8
  25. package/dist-types/commands/DescribeScheduledActionsCommand.d.ts +3 -8
  26. package/dist-types/commands/GetPredictiveScalingForecastCommand.d.ts +3 -8
  27. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  28. package/dist-types/commands/PutScalingPolicyCommand.d.ts +3 -8
  29. package/dist-types/commands/PutScheduledActionCommand.d.ts +3 -8
  30. package/dist-types/commands/RegisterScalableTargetCommand.d.ts +3 -8
  31. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  32. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  33. package/dist-types/index.d.ts +1 -0
  34. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  35. package/dist-types/ts3.4/commands/DeleteScalingPolicyCommand.d.ts +7 -16
  36. package/dist-types/ts3.4/commands/DeleteScheduledActionCommand.d.ts +7 -16
  37. package/dist-types/ts3.4/commands/DeregisterScalableTargetCommand.d.ts +7 -16
  38. package/dist-types/ts3.4/commands/DescribeScalableTargetsCommand.d.ts +7 -16
  39. package/dist-types/ts3.4/commands/DescribeScalingActivitiesCommand.d.ts +7 -16
  40. package/dist-types/ts3.4/commands/DescribeScalingPoliciesCommand.d.ts +7 -16
  41. package/dist-types/ts3.4/commands/DescribeScheduledActionsCommand.d.ts +7 -16
  42. package/dist-types/ts3.4/commands/GetPredictiveScalingForecastCommand.d.ts +7 -16
  43. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  44. package/dist-types/ts3.4/commands/PutScalingPolicyCommand.d.ts +7 -16
  45. package/dist-types/ts3.4/commands/PutScheduledActionCommand.d.ts +7 -16
  46. package/dist-types/ts3.4/commands/RegisterScalableTargetCommand.d.ts +7 -16
  47. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  48. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  49. package/dist-types/ts3.4/index.d.ts +1 -0
  50. package/package.json +8 -8
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1078.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -1042,172 +1043,50 @@ class ApplicationAutoScalingClient extends Client {
1042
1043
  }
1043
1044
  }
1044
1045
 
1045
- class DeleteScalingPolicyCommand extends Command
1046
- .classBuilder()
1047
- .ep(commonParams)
1048
- .m(function (Command, cs, config, o) {
1049
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1050
- })
1051
- .s("AnyScaleFrontendService", "DeleteScalingPolicy", {})
1052
- .n("ApplicationAutoScalingClient", "DeleteScalingPolicyCommand")
1053
- .sc(DeleteScalingPolicy$)
1054
- .build() {
1046
+ const command = makeBuilder(commonParams, "AnyScaleFrontendService", "ApplicationAutoScalingClient", getEndpointPlugin);
1047
+ const _ep0 = {};
1048
+ const _mw0 = (Command, cs, config, o) => [];
1049
+
1050
+ class DeleteScalingPolicyCommand extends command(_ep0, _mw0, "DeleteScalingPolicy", DeleteScalingPolicy$) {
1055
1051
  }
1056
1052
 
1057
- class DeleteScheduledActionCommand extends Command
1058
- .classBuilder()
1059
- .ep(commonParams)
1060
- .m(function (Command, cs, config, o) {
1061
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1062
- })
1063
- .s("AnyScaleFrontendService", "DeleteScheduledAction", {})
1064
- .n("ApplicationAutoScalingClient", "DeleteScheduledActionCommand")
1065
- .sc(DeleteScheduledAction$)
1066
- .build() {
1053
+ class DeleteScheduledActionCommand extends command(_ep0, _mw0, "DeleteScheduledAction", DeleteScheduledAction$) {
1067
1054
  }
1068
1055
 
1069
- class DeregisterScalableTargetCommand extends Command
1070
- .classBuilder()
1071
- .ep(commonParams)
1072
- .m(function (Command, cs, config, o) {
1073
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1074
- })
1075
- .s("AnyScaleFrontendService", "DeregisterScalableTarget", {})
1076
- .n("ApplicationAutoScalingClient", "DeregisterScalableTargetCommand")
1077
- .sc(DeregisterScalableTarget$)
1078
- .build() {
1056
+ class DeregisterScalableTargetCommand extends command(_ep0, _mw0, "DeregisterScalableTarget", DeregisterScalableTarget$) {
1079
1057
  }
1080
1058
 
1081
- class DescribeScalableTargetsCommand extends Command
1082
- .classBuilder()
1083
- .ep(commonParams)
1084
- .m(function (Command, cs, config, o) {
1085
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1086
- })
1087
- .s("AnyScaleFrontendService", "DescribeScalableTargets", {})
1088
- .n("ApplicationAutoScalingClient", "DescribeScalableTargetsCommand")
1089
- .sc(DescribeScalableTargets$)
1090
- .build() {
1059
+ class DescribeScalableTargetsCommand extends command(_ep0, _mw0, "DescribeScalableTargets", DescribeScalableTargets$) {
1091
1060
  }
1092
1061
 
1093
- class DescribeScalingActivitiesCommand extends Command
1094
- .classBuilder()
1095
- .ep(commonParams)
1096
- .m(function (Command, cs, config, o) {
1097
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1098
- })
1099
- .s("AnyScaleFrontendService", "DescribeScalingActivities", {})
1100
- .n("ApplicationAutoScalingClient", "DescribeScalingActivitiesCommand")
1101
- .sc(DescribeScalingActivities$)
1102
- .build() {
1062
+ class DescribeScalingActivitiesCommand extends command(_ep0, _mw0, "DescribeScalingActivities", DescribeScalingActivities$) {
1103
1063
  }
1104
1064
 
1105
- class DescribeScalingPoliciesCommand extends Command
1106
- .classBuilder()
1107
- .ep(commonParams)
1108
- .m(function (Command, cs, config, o) {
1109
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1110
- })
1111
- .s("AnyScaleFrontendService", "DescribeScalingPolicies", {})
1112
- .n("ApplicationAutoScalingClient", "DescribeScalingPoliciesCommand")
1113
- .sc(DescribeScalingPolicies$)
1114
- .build() {
1065
+ class DescribeScalingPoliciesCommand extends command(_ep0, _mw0, "DescribeScalingPolicies", DescribeScalingPolicies$) {
1115
1066
  }
1116
1067
 
1117
- class DescribeScheduledActionsCommand extends Command
1118
- .classBuilder()
1119
- .ep(commonParams)
1120
- .m(function (Command, cs, config, o) {
1121
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1122
- })
1123
- .s("AnyScaleFrontendService", "DescribeScheduledActions", {})
1124
- .n("ApplicationAutoScalingClient", "DescribeScheduledActionsCommand")
1125
- .sc(DescribeScheduledActions$)
1126
- .build() {
1068
+ class DescribeScheduledActionsCommand extends command(_ep0, _mw0, "DescribeScheduledActions", DescribeScheduledActions$) {
1127
1069
  }
1128
1070
 
1129
- class GetPredictiveScalingForecastCommand extends Command
1130
- .classBuilder()
1131
- .ep(commonParams)
1132
- .m(function (Command, cs, config, o) {
1133
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1134
- })
1135
- .s("AnyScaleFrontendService", "GetPredictiveScalingForecast", {})
1136
- .n("ApplicationAutoScalingClient", "GetPredictiveScalingForecastCommand")
1137
- .sc(GetPredictiveScalingForecast$)
1138
- .build() {
1071
+ class GetPredictiveScalingForecastCommand extends command(_ep0, _mw0, "GetPredictiveScalingForecast", GetPredictiveScalingForecast$) {
1139
1072
  }
1140
1073
 
1141
- class ListTagsForResourceCommand extends Command
1142
- .classBuilder()
1143
- .ep(commonParams)
1144
- .m(function (Command, cs, config, o) {
1145
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1146
- })
1147
- .s("AnyScaleFrontendService", "ListTagsForResource", {})
1148
- .n("ApplicationAutoScalingClient", "ListTagsForResourceCommand")
1149
- .sc(ListTagsForResource$)
1150
- .build() {
1074
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1151
1075
  }
1152
1076
 
1153
- class PutScalingPolicyCommand extends Command
1154
- .classBuilder()
1155
- .ep(commonParams)
1156
- .m(function (Command, cs, config, o) {
1157
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1158
- })
1159
- .s("AnyScaleFrontendService", "PutScalingPolicy", {})
1160
- .n("ApplicationAutoScalingClient", "PutScalingPolicyCommand")
1161
- .sc(PutScalingPolicy$)
1162
- .build() {
1077
+ class PutScalingPolicyCommand extends command(_ep0, _mw0, "PutScalingPolicy", PutScalingPolicy$) {
1163
1078
  }
1164
1079
 
1165
- class PutScheduledActionCommand extends Command
1166
- .classBuilder()
1167
- .ep(commonParams)
1168
- .m(function (Command, cs, config, o) {
1169
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1170
- })
1171
- .s("AnyScaleFrontendService", "PutScheduledAction", {})
1172
- .n("ApplicationAutoScalingClient", "PutScheduledActionCommand")
1173
- .sc(PutScheduledAction$)
1174
- .build() {
1080
+ class PutScheduledActionCommand extends command(_ep0, _mw0, "PutScheduledAction", PutScheduledAction$) {
1175
1081
  }
1176
1082
 
1177
- class RegisterScalableTargetCommand extends Command
1178
- .classBuilder()
1179
- .ep(commonParams)
1180
- .m(function (Command, cs, config, o) {
1181
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1182
- })
1183
- .s("AnyScaleFrontendService", "RegisterScalableTarget", {})
1184
- .n("ApplicationAutoScalingClient", "RegisterScalableTargetCommand")
1185
- .sc(RegisterScalableTarget$)
1186
- .build() {
1083
+ class RegisterScalableTargetCommand extends command(_ep0, _mw0, "RegisterScalableTarget", RegisterScalableTarget$) {
1187
1084
  }
1188
1085
 
1189
- class TagResourceCommand extends Command
1190
- .classBuilder()
1191
- .ep(commonParams)
1192
- .m(function (Command, cs, config, o) {
1193
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1194
- })
1195
- .s("AnyScaleFrontendService", "TagResource", {})
1196
- .n("ApplicationAutoScalingClient", "TagResourceCommand")
1197
- .sc(TagResource$)
1198
- .build() {
1086
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1199
1087
  }
1200
1088
 
1201
- class UntagResourceCommand extends Command
1202
- .classBuilder()
1203
- .ep(commonParams)
1204
- .m(function (Command, cs, config, o) {
1205
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1206
- })
1207
- .s("AnyScaleFrontendService", "UntagResource", {})
1208
- .n("ApplicationAutoScalingClient", "UntagResourceCommand")
1209
- .sc(UntagResource$)
1210
- .build() {
1089
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1211
1090
  }
1212
1091
 
1213
1092
  const paginateDescribeScalableTargets = createPaginator(ApplicationAutoScalingClient, DescribeScalableTargetsCommand, "NextToken", "NextToken", "MaxResults");
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "AnyScaleFrontendService", "ApplicationAutoScalingClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteScalingPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteScalingPolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AnyScaleFrontendService", "DeleteScalingPolicy", {})
13
- .n("ApplicationAutoScalingClient", "DeleteScalingPolicyCommand")
14
- .sc(DeleteScalingPolicy$)
15
- .build() {
3
+ export class DeleteScalingPolicyCommand extends command(_ep0, _mw0, "DeleteScalingPolicy", DeleteScalingPolicy$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteScheduledAction$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteScheduledActionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AnyScaleFrontendService", "DeleteScheduledAction", {})
13
- .n("ApplicationAutoScalingClient", "DeleteScheduledActionCommand")
14
- .sc(DeleteScheduledAction$)
15
- .build() {
3
+ export class DeleteScheduledActionCommand extends command(_ep0, _mw0, "DeleteScheduledAction", DeleteScheduledAction$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeregisterScalableTarget$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeregisterScalableTargetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AnyScaleFrontendService", "DeregisterScalableTarget", {})
13
- .n("ApplicationAutoScalingClient", "DeregisterScalableTargetCommand")
14
- .sc(DeregisterScalableTarget$)
15
- .build() {
3
+ export class DeregisterScalableTargetCommand extends command(_ep0, _mw0, "DeregisterScalableTarget", DeregisterScalableTarget$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeScalableTargets$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeScalableTargetsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AnyScaleFrontendService", "DescribeScalableTargets", {})
13
- .n("ApplicationAutoScalingClient", "DescribeScalableTargetsCommand")
14
- .sc(DescribeScalableTargets$)
15
- .build() {
3
+ export class DescribeScalableTargetsCommand extends command(_ep0, _mw0, "DescribeScalableTargets", DescribeScalableTargets$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeScalingActivities$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeScalingActivitiesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AnyScaleFrontendService", "DescribeScalingActivities", {})
13
- .n("ApplicationAutoScalingClient", "DescribeScalingActivitiesCommand")
14
- .sc(DescribeScalingActivities$)
15
- .build() {
3
+ export class DescribeScalingActivitiesCommand extends command(_ep0, _mw0, "DescribeScalingActivities", DescribeScalingActivities$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeScalingPolicies$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeScalingPoliciesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AnyScaleFrontendService", "DescribeScalingPolicies", {})
13
- .n("ApplicationAutoScalingClient", "DescribeScalingPoliciesCommand")
14
- .sc(DescribeScalingPolicies$)
15
- .build() {
3
+ export class DescribeScalingPoliciesCommand extends command(_ep0, _mw0, "DescribeScalingPolicies", DescribeScalingPolicies$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeScheduledActions$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeScheduledActionsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AnyScaleFrontendService", "DescribeScheduledActions", {})
13
- .n("ApplicationAutoScalingClient", "DescribeScheduledActionsCommand")
14
- .sc(DescribeScheduledActions$)
15
- .build() {
3
+ export class DescribeScheduledActionsCommand extends command(_ep0, _mw0, "DescribeScheduledActions", DescribeScheduledActions$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetPredictiveScalingForecast$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetPredictiveScalingForecastCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AnyScaleFrontendService", "GetPredictiveScalingForecast", {})
13
- .n("ApplicationAutoScalingClient", "GetPredictiveScalingForecastCommand")
14
- .sc(GetPredictiveScalingForecast$)
15
- .build() {
3
+ export class GetPredictiveScalingForecastCommand extends command(_ep0, _mw0, "GetPredictiveScalingForecast", GetPredictiveScalingForecast$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AnyScaleFrontendService", "ListTagsForResource", {})
13
- .n("ApplicationAutoScalingClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { PutScalingPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutScalingPolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AnyScaleFrontendService", "PutScalingPolicy", {})
13
- .n("ApplicationAutoScalingClient", "PutScalingPolicyCommand")
14
- .sc(PutScalingPolicy$)
15
- .build() {
3
+ export class PutScalingPolicyCommand extends command(_ep0, _mw0, "PutScalingPolicy", PutScalingPolicy$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { PutScheduledAction$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutScheduledActionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AnyScaleFrontendService", "PutScheduledAction", {})
13
- .n("ApplicationAutoScalingClient", "PutScheduledActionCommand")
14
- .sc(PutScheduledAction$)
15
- .build() {
3
+ export class PutScheduledActionCommand extends command(_ep0, _mw0, "PutScheduledAction", PutScheduledAction$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { RegisterScalableTarget$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class RegisterScalableTargetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AnyScaleFrontendService", "RegisterScalableTarget", {})
13
- .n("ApplicationAutoScalingClient", "RegisterScalableTargetCommand")
14
- .sc(RegisterScalableTarget$)
15
- .build() {
3
+ export class RegisterScalableTargetCommand extends command(_ep0, _mw0, "RegisterScalableTarget", RegisterScalableTarget$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AnyScaleFrontendService", "TagResource", {})
13
- .n("ApplicationAutoScalingClient", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AnyScaleFrontendService", "UntagResource", {})
13
- .n("ApplicationAutoScalingClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./ApplicationAutoScalingClient";
2
2
  export * from "./ApplicationAutoScaling";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./models/enums";
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./ApplicationAutoScalingClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationAutoScalingClient";
4
2
  import type { DeleteScalingPolicyRequest, DeleteScalingPolicyResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface DeleteScalingPolicyCommandInput extends DeleteScalingPolicyRequ
22
19
  export interface DeleteScalingPolicyCommandOutput extends DeleteScalingPolicyResponse, __MetadataBearer {
23
20
  }
24
21
  declare const DeleteScalingPolicyCommand_base: {
25
- new (input: DeleteScalingPolicyCommandInput): import("@smithy/core/client").CommandImpl<DeleteScalingPolicyCommandInput, DeleteScalingPolicyCommandOutput, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteScalingPolicyCommandInput): import("@smithy/core/client").CommandImpl<DeleteScalingPolicyCommandInput, DeleteScalingPolicyCommandOutput, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DeleteScalingPolicyCommandInput): import("@smithy/core/client").CommandImpl<DeleteScalingPolicyCommandInput, DeleteScalingPolicyCommandOutput, import("..").ApplicationAutoScalingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteScalingPolicyCommandInput): import("@smithy/core/client").CommandImpl<DeleteScalingPolicyCommandInput, DeleteScalingPolicyCommandOutput, import("..").ApplicationAutoScalingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Deletes the specified scaling policy for an Application Auto Scaling scalable target.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationAutoScalingClient";
4
2
  import type { DeleteScheduledActionRequest, DeleteScheduledActionResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface DeleteScheduledActionCommandInput extends DeleteScheduledAction
22
19
  export interface DeleteScheduledActionCommandOutput extends DeleteScheduledActionResponse, __MetadataBearer {
23
20
  }
24
21
  declare const DeleteScheduledActionCommand_base: {
25
- new (input: DeleteScheduledActionCommandInput): import("@smithy/core/client").CommandImpl<DeleteScheduledActionCommandInput, DeleteScheduledActionCommandOutput, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteScheduledActionCommandInput): import("@smithy/core/client").CommandImpl<DeleteScheduledActionCommandInput, DeleteScheduledActionCommandOutput, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DeleteScheduledActionCommandInput): import("@smithy/core/client").CommandImpl<DeleteScheduledActionCommandInput, DeleteScheduledActionCommandOutput, import("..").ApplicationAutoScalingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteScheduledActionCommandInput): import("@smithy/core/client").CommandImpl<DeleteScheduledActionCommandInput, DeleteScheduledActionCommandOutput, import("..").ApplicationAutoScalingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Deletes the specified scheduled action for an Application Auto Scaling scalable target.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationAutoScalingClient";
4
2
  import type { DeregisterScalableTargetRequest, DeregisterScalableTargetResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface DeregisterScalableTargetCommandInput extends DeregisterScalable
22
19
  export interface DeregisterScalableTargetCommandOutput extends DeregisterScalableTargetResponse, __MetadataBearer {
23
20
  }
24
21
  declare const DeregisterScalableTargetCommand_base: {
25
- new (input: DeregisterScalableTargetCommandInput): import("@smithy/core/client").CommandImpl<DeregisterScalableTargetCommandInput, DeregisterScalableTargetCommandOutput, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeregisterScalableTargetCommandInput): import("@smithy/core/client").CommandImpl<DeregisterScalableTargetCommandInput, DeregisterScalableTargetCommandOutput, ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DeregisterScalableTargetCommandInput): import("@smithy/core/client").CommandImpl<DeregisterScalableTargetCommandInput, DeregisterScalableTargetCommandOutput, import("..").ApplicationAutoScalingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeregisterScalableTargetCommandInput): import("@smithy/core/client").CommandImpl<DeregisterScalableTargetCommandInput, DeregisterScalableTargetCommandOutput, import("..").ApplicationAutoScalingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Deregisters an Application Auto Scaling scalable target when you have finished using it. To see which