@aws-sdk/client-auto-scaling 3.180.0 → 3.183.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 (85) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist-cjs/protocols/Aws_query.js +164 -156
  3. package/dist-es/AutoScaling.js +246 -253
  4. package/dist-es/AutoScalingClient.js +22 -28
  5. package/dist-es/commands/AttachInstancesCommand.js +22 -29
  6. package/dist-es/commands/AttachLoadBalancerTargetGroupsCommand.js +21 -28
  7. package/dist-es/commands/AttachLoadBalancersCommand.js +21 -28
  8. package/dist-es/commands/BatchDeleteScheduledActionCommand.js +21 -28
  9. package/dist-es/commands/BatchPutScheduledUpdateGroupActionCommand.js +21 -28
  10. package/dist-es/commands/CancelInstanceRefreshCommand.js +21 -28
  11. package/dist-es/commands/CompleteLifecycleActionCommand.js +21 -28
  12. package/dist-es/commands/CreateAutoScalingGroupCommand.js +22 -29
  13. package/dist-es/commands/CreateLaunchConfigurationCommand.js +22 -29
  14. package/dist-es/commands/CreateOrUpdateTagsCommand.js +22 -29
  15. package/dist-es/commands/DeleteAutoScalingGroupCommand.js +22 -29
  16. package/dist-es/commands/DeleteLaunchConfigurationCommand.js +22 -29
  17. package/dist-es/commands/DeleteLifecycleHookCommand.js +21 -28
  18. package/dist-es/commands/DeleteNotificationConfigurationCommand.js +22 -29
  19. package/dist-es/commands/DeletePolicyCommand.js +22 -29
  20. package/dist-es/commands/DeleteScheduledActionCommand.js +22 -29
  21. package/dist-es/commands/DeleteTagsCommand.js +22 -29
  22. package/dist-es/commands/DeleteWarmPoolCommand.js +21 -28
  23. package/dist-es/commands/DescribeAccountLimitsCommand.js +22 -29
  24. package/dist-es/commands/DescribeAdjustmentTypesCommand.js +22 -29
  25. package/dist-es/commands/DescribeAutoScalingGroupsCommand.js +21 -28
  26. package/dist-es/commands/DescribeAutoScalingInstancesCommand.js +21 -28
  27. package/dist-es/commands/DescribeAutoScalingNotificationTypesCommand.js +22 -29
  28. package/dist-es/commands/DescribeInstanceRefreshesCommand.js +21 -28
  29. package/dist-es/commands/DescribeLaunchConfigurationsCommand.js +21 -28
  30. package/dist-es/commands/DescribeLifecycleHookTypesCommand.js +22 -29
  31. package/dist-es/commands/DescribeLifecycleHooksCommand.js +21 -28
  32. package/dist-es/commands/DescribeLoadBalancerTargetGroupsCommand.js +21 -28
  33. package/dist-es/commands/DescribeLoadBalancersCommand.js +21 -28
  34. package/dist-es/commands/DescribeMetricCollectionTypesCommand.js +22 -29
  35. package/dist-es/commands/DescribeNotificationConfigurationsCommand.js +21 -28
  36. package/dist-es/commands/DescribePoliciesCommand.js +21 -28
  37. package/dist-es/commands/DescribeScalingActivitiesCommand.js +21 -28
  38. package/dist-es/commands/DescribeScalingProcessTypesCommand.js +22 -29
  39. package/dist-es/commands/DescribeScheduledActionsCommand.js +21 -28
  40. package/dist-es/commands/DescribeTagsCommand.js +21 -28
  41. package/dist-es/commands/DescribeTerminationPolicyTypesCommand.js +22 -29
  42. package/dist-es/commands/DescribeWarmPoolCommand.js +21 -28
  43. package/dist-es/commands/DetachInstancesCommand.js +21 -28
  44. package/dist-es/commands/DetachLoadBalancerTargetGroupsCommand.js +21 -28
  45. package/dist-es/commands/DetachLoadBalancersCommand.js +21 -28
  46. package/dist-es/commands/DisableMetricsCollectionCommand.js +22 -29
  47. package/dist-es/commands/EnableMetricsCollectionCommand.js +22 -29
  48. package/dist-es/commands/EnterStandbyCommand.js +21 -28
  49. package/dist-es/commands/ExecutePolicyCommand.js +22 -29
  50. package/dist-es/commands/ExitStandbyCommand.js +21 -28
  51. package/dist-es/commands/GetPredictiveScalingForecastCommand.js +21 -28
  52. package/dist-es/commands/PutLifecycleHookCommand.js +21 -28
  53. package/dist-es/commands/PutNotificationConfigurationCommand.js +22 -29
  54. package/dist-es/commands/PutScalingPolicyCommand.js +21 -28
  55. package/dist-es/commands/PutScheduledUpdateGroupActionCommand.js +22 -29
  56. package/dist-es/commands/PutWarmPoolCommand.js +21 -28
  57. package/dist-es/commands/RecordLifecycleActionHeartbeatCommand.js +21 -28
  58. package/dist-es/commands/ResumeProcessesCommand.js +22 -29
  59. package/dist-es/commands/SetDesiredCapacityCommand.js +22 -29
  60. package/dist-es/commands/SetInstanceHealthCommand.js +22 -29
  61. package/dist-es/commands/SetInstanceProtectionCommand.js +21 -28
  62. package/dist-es/commands/StartInstanceRefreshCommand.js +21 -28
  63. package/dist-es/commands/SuspendProcessesCommand.js +22 -29
  64. package/dist-es/commands/TerminateInstanceInAutoScalingGroupCommand.js +21 -28
  65. package/dist-es/commands/UpdateAutoScalingGroupCommand.js +22 -29
  66. package/dist-es/endpoints.js +8 -8
  67. package/dist-es/models/AutoScalingServiceException.js +5 -10
  68. package/dist-es/models/models_0.js +585 -262
  69. package/dist-es/pagination/DescribeAutoScalingGroupsPaginator.js +25 -68
  70. package/dist-es/pagination/DescribeAutoScalingInstancesPaginator.js +25 -68
  71. package/dist-es/pagination/DescribeLaunchConfigurationsPaginator.js +25 -68
  72. package/dist-es/pagination/DescribeNotificationConfigurationsPaginator.js +25 -68
  73. package/dist-es/pagination/DescribePoliciesPaginator.js +25 -68
  74. package/dist-es/pagination/DescribeScalingActivitiesPaginator.js +25 -68
  75. package/dist-es/pagination/DescribeScheduledActionsPaginator.js +25 -68
  76. package/dist-es/pagination/DescribeTagsPaginator.js +25 -68
  77. package/dist-es/protocols/Aws_query.js +4096 -5747
  78. package/dist-es/runtimeConfig.browser.js +26 -12
  79. package/dist-es/runtimeConfig.js +30 -12
  80. package/dist-es/runtimeConfig.native.js +8 -5
  81. package/dist-es/runtimeConfig.shared.js +8 -11
  82. package/dist-es/waiters/waitForGroupExists.js +36 -56
  83. package/dist-es/waiters/waitForGroupInService.js +58 -78
  84. package/dist-es/waiters/waitForGroupNotExists.js +36 -56
  85. package/package.json +34 -34
@@ -1,4 +1,3 @@
1
- import { __extends } from "tslib";
2
1
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
3
2
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
4
3
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -9,31 +8,26 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
9
8
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
9
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
10
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
12
- var AutoScalingClient = (function (_super) {
13
- __extends(AutoScalingClient, _super);
14
- function AutoScalingClient(configuration) {
15
- var _this = this;
16
- var _config_0 = __getRuntimeConfig(configuration);
17
- var _config_1 = resolveRegionConfig(_config_0);
18
- var _config_2 = resolveEndpointsConfig(_config_1);
19
- var _config_3 = resolveRetryConfig(_config_2);
20
- var _config_4 = resolveHostHeaderConfig(_config_3);
21
- var _config_5 = resolveAwsAuthConfig(_config_4);
22
- var _config_6 = resolveUserAgentConfig(_config_5);
23
- _this = _super.call(this, _config_6) || this;
24
- _this.config = _config_6;
25
- _this.middlewareStack.use(getRetryPlugin(_this.config));
26
- _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
- _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
- _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
- _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
- _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
- _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
- return _this;
11
+ export class AutoScalingClient extends __Client {
12
+ constructor(configuration) {
13
+ const _config_0 = __getRuntimeConfig(configuration);
14
+ const _config_1 = resolveRegionConfig(_config_0);
15
+ const _config_2 = resolveEndpointsConfig(_config_1);
16
+ const _config_3 = resolveRetryConfig(_config_2);
17
+ const _config_4 = resolveHostHeaderConfig(_config_3);
18
+ const _config_5 = resolveAwsAuthConfig(_config_4);
19
+ const _config_6 = resolveUserAgentConfig(_config_5);
20
+ super(_config_6);
21
+ this.config = _config_6;
22
+ this.middlewareStack.use(getRetryPlugin(this.config));
23
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
24
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
+ this.middlewareStack.use(getLoggerPlugin(this.config));
26
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
+ this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
33
29
  }
34
- AutoScalingClient.prototype.destroy = function () {
35
- _super.prototype.destroy.call(this);
36
- };
37
- return AutoScalingClient;
38
- }(__Client));
39
- export { AutoScalingClient };
30
+ destroy() {
31
+ super.destroy();
32
+ }
33
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { AttachInstancesQueryFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_queryAttachInstancesCommand, serializeAws_queryAttachInstancesCommand, } from "../protocols/Aws_query";
6
- var AttachInstancesCommand = (function (_super) {
7
- __extends(AttachInstancesCommand, _super);
8
- function AttachInstancesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class AttachInstancesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AttachInstancesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "AutoScalingClient";
18
- var commandName = "AttachInstancesCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "AutoScalingClient";
15
+ const commandName = "AttachInstancesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AttachInstancesQueryFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- AttachInstancesCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryAttachInstancesCommand(input, context);
33
- };
34
- AttachInstancesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryAttachInstancesCommand(output, context);
36
- };
37
- return AttachInstancesCommand;
38
- }($Command));
39
- export { AttachInstancesCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { AttachLoadBalancerTargetGroupsResultTypeFilterSensitiveLog, AttachLoadBalancerTargetGroupsTypeFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryAttachLoadBalancerTargetGroupsCommand, serializeAws_queryAttachLoadBalancerTargetGroupsCommand, } from "../protocols/Aws_query";
6
- var AttachLoadBalancerTargetGroupsCommand = (function (_super) {
7
- __extends(AttachLoadBalancerTargetGroupsCommand, _super);
8
- function AttachLoadBalancerTargetGroupsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class AttachLoadBalancerTargetGroupsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AttachLoadBalancerTargetGroupsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "AutoScalingClient";
18
- var commandName = "AttachLoadBalancerTargetGroupsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "AutoScalingClient";
15
+ const commandName = "AttachLoadBalancerTargetGroupsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AttachLoadBalancerTargetGroupsTypeFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: AttachLoadBalancerTargetGroupsResultTypeFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- AttachLoadBalancerTargetGroupsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryAttachLoadBalancerTargetGroupsCommand(input, context);
33
- };
34
- AttachLoadBalancerTargetGroupsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryAttachLoadBalancerTargetGroupsCommand(output, context);
36
- };
37
- return AttachLoadBalancerTargetGroupsCommand;
38
- }($Command));
39
- export { AttachLoadBalancerTargetGroupsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { AttachLoadBalancersResultTypeFilterSensitiveLog, AttachLoadBalancersTypeFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryAttachLoadBalancersCommand, serializeAws_queryAttachLoadBalancersCommand, } from "../protocols/Aws_query";
6
- var AttachLoadBalancersCommand = (function (_super) {
7
- __extends(AttachLoadBalancersCommand, _super);
8
- function AttachLoadBalancersCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class AttachLoadBalancersCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AttachLoadBalancersCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "AutoScalingClient";
18
- var commandName = "AttachLoadBalancersCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "AutoScalingClient";
15
+ const commandName = "AttachLoadBalancersCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AttachLoadBalancersTypeFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: AttachLoadBalancersResultTypeFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- AttachLoadBalancersCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryAttachLoadBalancersCommand(input, context);
33
- };
34
- AttachLoadBalancersCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryAttachLoadBalancersCommand(output, context);
36
- };
37
- return AttachLoadBalancersCommand;
38
- }($Command));
39
- export { AttachLoadBalancersCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { BatchDeleteScheduledActionAnswerFilterSensitiveLog, BatchDeleteScheduledActionTypeFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryBatchDeleteScheduledActionCommand, serializeAws_queryBatchDeleteScheduledActionCommand, } from "../protocols/Aws_query";
6
- var BatchDeleteScheduledActionCommand = (function (_super) {
7
- __extends(BatchDeleteScheduledActionCommand, _super);
8
- function BatchDeleteScheduledActionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class BatchDeleteScheduledActionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- BatchDeleteScheduledActionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "AutoScalingClient";
18
- var commandName = "BatchDeleteScheduledActionCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "AutoScalingClient";
15
+ const commandName = "BatchDeleteScheduledActionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: BatchDeleteScheduledActionTypeFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: BatchDeleteScheduledActionAnswerFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- BatchDeleteScheduledActionCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryBatchDeleteScheduledActionCommand(input, context);
33
- };
34
- BatchDeleteScheduledActionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryBatchDeleteScheduledActionCommand(output, context);
36
- };
37
- return BatchDeleteScheduledActionCommand;
38
- }($Command));
39
- export { BatchDeleteScheduledActionCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { BatchPutScheduledUpdateGroupActionAnswerFilterSensitiveLog, BatchPutScheduledUpdateGroupActionTypeFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryBatchPutScheduledUpdateGroupActionCommand, serializeAws_queryBatchPutScheduledUpdateGroupActionCommand, } from "../protocols/Aws_query";
6
- var BatchPutScheduledUpdateGroupActionCommand = (function (_super) {
7
- __extends(BatchPutScheduledUpdateGroupActionCommand, _super);
8
- function BatchPutScheduledUpdateGroupActionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class BatchPutScheduledUpdateGroupActionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- BatchPutScheduledUpdateGroupActionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "AutoScalingClient";
18
- var commandName = "BatchPutScheduledUpdateGroupActionCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "AutoScalingClient";
15
+ const commandName = "BatchPutScheduledUpdateGroupActionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: BatchPutScheduledUpdateGroupActionTypeFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: BatchPutScheduledUpdateGroupActionAnswerFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- BatchPutScheduledUpdateGroupActionCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryBatchPutScheduledUpdateGroupActionCommand(input, context);
33
- };
34
- BatchPutScheduledUpdateGroupActionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryBatchPutScheduledUpdateGroupActionCommand(output, context);
36
- };
37
- return BatchPutScheduledUpdateGroupActionCommand;
38
- }($Command));
39
- export { BatchPutScheduledUpdateGroupActionCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CancelInstanceRefreshAnswerFilterSensitiveLog, CancelInstanceRefreshTypeFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryCancelInstanceRefreshCommand, serializeAws_queryCancelInstanceRefreshCommand, } from "../protocols/Aws_query";
6
- var CancelInstanceRefreshCommand = (function (_super) {
7
- __extends(CancelInstanceRefreshCommand, _super);
8
- function CancelInstanceRefreshCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CancelInstanceRefreshCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CancelInstanceRefreshCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "AutoScalingClient";
18
- var commandName = "CancelInstanceRefreshCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "AutoScalingClient";
15
+ const commandName = "CancelInstanceRefreshCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CancelInstanceRefreshTypeFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CancelInstanceRefreshAnswerFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CancelInstanceRefreshCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryCancelInstanceRefreshCommand(input, context);
33
- };
34
- CancelInstanceRefreshCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryCancelInstanceRefreshCommand(output, context);
36
- };
37
- return CancelInstanceRefreshCommand;
38
- }($Command));
39
- export { CancelInstanceRefreshCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CompleteLifecycleActionAnswerFilterSensitiveLog, CompleteLifecycleActionTypeFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryCompleteLifecycleActionCommand, serializeAws_queryCompleteLifecycleActionCommand, } from "../protocols/Aws_query";
6
- var CompleteLifecycleActionCommand = (function (_super) {
7
- __extends(CompleteLifecycleActionCommand, _super);
8
- function CompleteLifecycleActionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CompleteLifecycleActionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CompleteLifecycleActionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "AutoScalingClient";
18
- var commandName = "CompleteLifecycleActionCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "AutoScalingClient";
15
+ const commandName = "CompleteLifecycleActionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CompleteLifecycleActionTypeFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CompleteLifecycleActionAnswerFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CompleteLifecycleActionCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryCompleteLifecycleActionCommand(input, context);
33
- };
34
- CompleteLifecycleActionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryCompleteLifecycleActionCommand(output, context);
36
- };
37
- return CompleteLifecycleActionCommand;
38
- }($Command));
39
- export { CompleteLifecycleActionCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CreateAutoScalingGroupTypeFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_queryCreateAutoScalingGroupCommand, serializeAws_queryCreateAutoScalingGroupCommand, } from "../protocols/Aws_query";
6
- var CreateAutoScalingGroupCommand = (function (_super) {
7
- __extends(CreateAutoScalingGroupCommand, _super);
8
- function CreateAutoScalingGroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateAutoScalingGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateAutoScalingGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "AutoScalingClient";
18
- var commandName = "CreateAutoScalingGroupCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "AutoScalingClient";
15
+ const commandName = "CreateAutoScalingGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateAutoScalingGroupTypeFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateAutoScalingGroupCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryCreateAutoScalingGroupCommand(input, context);
33
- };
34
- CreateAutoScalingGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryCreateAutoScalingGroupCommand(output, context);
36
- };
37
- return CreateAutoScalingGroupCommand;
38
- }($Command));
39
- export { CreateAutoScalingGroupCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CreateLaunchConfigurationTypeFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_queryCreateLaunchConfigurationCommand, serializeAws_queryCreateLaunchConfigurationCommand, } from "../protocols/Aws_query";
6
- var CreateLaunchConfigurationCommand = (function (_super) {
7
- __extends(CreateLaunchConfigurationCommand, _super);
8
- function CreateLaunchConfigurationCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateLaunchConfigurationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateLaunchConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "AutoScalingClient";
18
- var commandName = "CreateLaunchConfigurationCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "AutoScalingClient";
15
+ const commandName = "CreateLaunchConfigurationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateLaunchConfigurationTypeFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateLaunchConfigurationCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryCreateLaunchConfigurationCommand(input, context);
33
- };
34
- CreateLaunchConfigurationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryCreateLaunchConfigurationCommand(output, context);
36
- };
37
- return CreateLaunchConfigurationCommand;
38
- }($Command));
39
- export { CreateLaunchConfigurationCommand };
31
+ }
32
+ }