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