@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.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/protocols/Aws_query.js +2 -2
- package/dist-es/AutoScaling.js +253 -246
- package/dist-es/AutoScalingClient.js +28 -22
- package/dist-es/commands/AttachInstancesCommand.js +29 -22
- package/dist-es/commands/AttachLoadBalancerTargetGroupsCommand.js +28 -21
- package/dist-es/commands/AttachLoadBalancersCommand.js +28 -21
- package/dist-es/commands/BatchDeleteScheduledActionCommand.js +28 -21
- package/dist-es/commands/BatchPutScheduledUpdateGroupActionCommand.js +28 -21
- package/dist-es/commands/CancelInstanceRefreshCommand.js +28 -21
- package/dist-es/commands/CompleteLifecycleActionCommand.js +28 -21
- package/dist-es/commands/CreateAutoScalingGroupCommand.js +29 -22
- package/dist-es/commands/CreateLaunchConfigurationCommand.js +29 -22
- package/dist-es/commands/CreateOrUpdateTagsCommand.js +29 -22
- package/dist-es/commands/DeleteAutoScalingGroupCommand.js +29 -22
- package/dist-es/commands/DeleteLaunchConfigurationCommand.js +29 -22
- package/dist-es/commands/DeleteLifecycleHookCommand.js +28 -21
- package/dist-es/commands/DeleteNotificationConfigurationCommand.js +29 -22
- package/dist-es/commands/DeletePolicyCommand.js +29 -22
- package/dist-es/commands/DeleteScheduledActionCommand.js +29 -22
- package/dist-es/commands/DeleteTagsCommand.js +29 -22
- package/dist-es/commands/DeleteWarmPoolCommand.js +28 -21
- package/dist-es/commands/DescribeAccountLimitsCommand.js +29 -22
- package/dist-es/commands/DescribeAdjustmentTypesCommand.js +29 -22
- package/dist-es/commands/DescribeAutoScalingGroupsCommand.js +28 -21
- package/dist-es/commands/DescribeAutoScalingInstancesCommand.js +28 -21
- package/dist-es/commands/DescribeAutoScalingNotificationTypesCommand.js +29 -22
- package/dist-es/commands/DescribeInstanceRefreshesCommand.js +28 -21
- package/dist-es/commands/DescribeLaunchConfigurationsCommand.js +28 -21
- package/dist-es/commands/DescribeLifecycleHookTypesCommand.js +29 -22
- package/dist-es/commands/DescribeLifecycleHooksCommand.js +28 -21
- package/dist-es/commands/DescribeLoadBalancerTargetGroupsCommand.js +28 -21
- package/dist-es/commands/DescribeLoadBalancersCommand.js +28 -21
- package/dist-es/commands/DescribeMetricCollectionTypesCommand.js +29 -22
- package/dist-es/commands/DescribeNotificationConfigurationsCommand.js +28 -21
- package/dist-es/commands/DescribePoliciesCommand.js +28 -21
- package/dist-es/commands/DescribeScalingActivitiesCommand.js +28 -21
- package/dist-es/commands/DescribeScalingProcessTypesCommand.js +29 -22
- package/dist-es/commands/DescribeScheduledActionsCommand.js +28 -21
- package/dist-es/commands/DescribeTagsCommand.js +28 -21
- package/dist-es/commands/DescribeTerminationPolicyTypesCommand.js +29 -22
- package/dist-es/commands/DescribeWarmPoolCommand.js +28 -21
- package/dist-es/commands/DetachInstancesCommand.js +28 -21
- package/dist-es/commands/DetachLoadBalancerTargetGroupsCommand.js +28 -21
- package/dist-es/commands/DetachLoadBalancersCommand.js +28 -21
- package/dist-es/commands/DisableMetricsCollectionCommand.js +29 -22
- package/dist-es/commands/EnableMetricsCollectionCommand.js +29 -22
- package/dist-es/commands/EnterStandbyCommand.js +28 -21
- package/dist-es/commands/ExecutePolicyCommand.js +29 -22
- package/dist-es/commands/ExitStandbyCommand.js +28 -21
- package/dist-es/commands/GetPredictiveScalingForecastCommand.js +28 -21
- package/dist-es/commands/PutLifecycleHookCommand.js +28 -21
- package/dist-es/commands/PutNotificationConfigurationCommand.js +29 -22
- package/dist-es/commands/PutScalingPolicyCommand.js +28 -21
- package/dist-es/commands/PutScheduledUpdateGroupActionCommand.js +29 -22
- package/dist-es/commands/PutWarmPoolCommand.js +28 -21
- package/dist-es/commands/RecordLifecycleActionHeartbeatCommand.js +28 -21
- package/dist-es/commands/ResumeProcessesCommand.js +29 -22
- package/dist-es/commands/SetDesiredCapacityCommand.js +29 -22
- package/dist-es/commands/SetInstanceHealthCommand.js +29 -22
- package/dist-es/commands/SetInstanceProtectionCommand.js +28 -21
- package/dist-es/commands/StartInstanceRefreshCommand.js +28 -21
- package/dist-es/commands/SuspendProcessesCommand.js +29 -22
- package/dist-es/commands/TerminateInstanceInAutoScalingGroupCommand.js +28 -21
- package/dist-es/commands/UpdateAutoScalingGroupCommand.js +29 -22
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/AutoScalingServiceException.js +10 -5
- package/dist-es/models/models_0.js +262 -585
- package/dist-es/pagination/DescribeAutoScalingGroupsPaginator.js +68 -25
- package/dist-es/pagination/DescribeAutoScalingInstancesPaginator.js +68 -25
- package/dist-es/pagination/DescribeLaunchConfigurationsPaginator.js +68 -25
- package/dist-es/pagination/DescribeNotificationConfigurationsPaginator.js +68 -25
- package/dist-es/pagination/DescribePoliciesPaginator.js +68 -25
- package/dist-es/pagination/DescribeScalingActivitiesPaginator.js +68 -25
- package/dist-es/pagination/DescribeScheduledActionsPaginator.js +68 -25
- package/dist-es/pagination/DescribeTagsPaginator.js +68 -25
- package/dist-es/protocols/Aws_query.js +5762 -4096
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/dist-es/waiters/waitForGroupExists.js +56 -36
- package/dist-es/waiters/waitForGroupInService.js +78 -58
- package/dist-es/waiters/waitForGroupNotExists.js +56 -36
- 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
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
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
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
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 };
|