@aws-sdk/client-auto-scaling 3.489.0 → 3.495.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 (96) hide show
  1. package/dist-cjs/AutoScaling.js +1 -141
  2. package/dist-cjs/AutoScalingClient.js +1 -43
  3. package/dist-cjs/commands/AttachInstancesCommand.js +1 -28
  4. package/dist-cjs/commands/AttachLoadBalancerTargetGroupsCommand.js +1 -28
  5. package/dist-cjs/commands/AttachLoadBalancersCommand.js +1 -28
  6. package/dist-cjs/commands/AttachTrafficSourcesCommand.js +1 -28
  7. package/dist-cjs/commands/BatchDeleteScheduledActionCommand.js +1 -28
  8. package/dist-cjs/commands/BatchPutScheduledUpdateGroupActionCommand.js +1 -28
  9. package/dist-cjs/commands/CancelInstanceRefreshCommand.js +1 -28
  10. package/dist-cjs/commands/CompleteLifecycleActionCommand.js +1 -28
  11. package/dist-cjs/commands/CreateAutoScalingGroupCommand.js +1 -28
  12. package/dist-cjs/commands/CreateLaunchConfigurationCommand.js +1 -28
  13. package/dist-cjs/commands/CreateOrUpdateTagsCommand.js +1 -28
  14. package/dist-cjs/commands/DeleteAutoScalingGroupCommand.js +1 -28
  15. package/dist-cjs/commands/DeleteLaunchConfigurationCommand.js +1 -28
  16. package/dist-cjs/commands/DeleteLifecycleHookCommand.js +1 -28
  17. package/dist-cjs/commands/DeleteNotificationConfigurationCommand.js +1 -28
  18. package/dist-cjs/commands/DeletePolicyCommand.js +1 -28
  19. package/dist-cjs/commands/DeleteScheduledActionCommand.js +1 -28
  20. package/dist-cjs/commands/DeleteTagsCommand.js +1 -28
  21. package/dist-cjs/commands/DeleteWarmPoolCommand.js +1 -28
  22. package/dist-cjs/commands/DescribeAccountLimitsCommand.js +1 -28
  23. package/dist-cjs/commands/DescribeAdjustmentTypesCommand.js +1 -28
  24. package/dist-cjs/commands/DescribeAutoScalingGroupsCommand.js +1 -28
  25. package/dist-cjs/commands/DescribeAutoScalingInstancesCommand.js +1 -28
  26. package/dist-cjs/commands/DescribeAutoScalingNotificationTypesCommand.js +1 -28
  27. package/dist-cjs/commands/DescribeInstanceRefreshesCommand.js +1 -28
  28. package/dist-cjs/commands/DescribeLaunchConfigurationsCommand.js +1 -28
  29. package/dist-cjs/commands/DescribeLifecycleHookTypesCommand.js +1 -28
  30. package/dist-cjs/commands/DescribeLifecycleHooksCommand.js +1 -28
  31. package/dist-cjs/commands/DescribeLoadBalancerTargetGroupsCommand.js +1 -28
  32. package/dist-cjs/commands/DescribeLoadBalancersCommand.js +1 -28
  33. package/dist-cjs/commands/DescribeMetricCollectionTypesCommand.js +1 -28
  34. package/dist-cjs/commands/DescribeNotificationConfigurationsCommand.js +1 -28
  35. package/dist-cjs/commands/DescribePoliciesCommand.js +1 -28
  36. package/dist-cjs/commands/DescribeScalingActivitiesCommand.js +1 -28
  37. package/dist-cjs/commands/DescribeScalingProcessTypesCommand.js +1 -28
  38. package/dist-cjs/commands/DescribeScheduledActionsCommand.js +1 -28
  39. package/dist-cjs/commands/DescribeTagsCommand.js +1 -28
  40. package/dist-cjs/commands/DescribeTerminationPolicyTypesCommand.js +1 -28
  41. package/dist-cjs/commands/DescribeTrafficSourcesCommand.js +1 -28
  42. package/dist-cjs/commands/DescribeWarmPoolCommand.js +1 -28
  43. package/dist-cjs/commands/DetachInstancesCommand.js +1 -28
  44. package/dist-cjs/commands/DetachLoadBalancerTargetGroupsCommand.js +1 -28
  45. package/dist-cjs/commands/DetachLoadBalancersCommand.js +1 -28
  46. package/dist-cjs/commands/DetachTrafficSourcesCommand.js +1 -28
  47. package/dist-cjs/commands/DisableMetricsCollectionCommand.js +1 -28
  48. package/dist-cjs/commands/EnableMetricsCollectionCommand.js +1 -28
  49. package/dist-cjs/commands/EnterStandbyCommand.js +1 -28
  50. package/dist-cjs/commands/ExecutePolicyCommand.js +1 -28
  51. package/dist-cjs/commands/ExitStandbyCommand.js +1 -28
  52. package/dist-cjs/commands/GetPredictiveScalingForecastCommand.js +1 -28
  53. package/dist-cjs/commands/PutLifecycleHookCommand.js +1 -28
  54. package/dist-cjs/commands/PutNotificationConfigurationCommand.js +1 -28
  55. package/dist-cjs/commands/PutScalingPolicyCommand.js +1 -28
  56. package/dist-cjs/commands/PutScheduledUpdateGroupActionCommand.js +1 -28
  57. package/dist-cjs/commands/PutWarmPoolCommand.js +1 -28
  58. package/dist-cjs/commands/RecordLifecycleActionHeartbeatCommand.js +1 -28
  59. package/dist-cjs/commands/ResumeProcessesCommand.js +1 -28
  60. package/dist-cjs/commands/RollbackInstanceRefreshCommand.js +1 -28
  61. package/dist-cjs/commands/SetDesiredCapacityCommand.js +1 -28
  62. package/dist-cjs/commands/SetInstanceHealthCommand.js +1 -28
  63. package/dist-cjs/commands/SetInstanceProtectionCommand.js +1 -28
  64. package/dist-cjs/commands/StartInstanceRefreshCommand.js +1 -28
  65. package/dist-cjs/commands/SuspendProcessesCommand.js +1 -28
  66. package/dist-cjs/commands/TerminateInstanceInAutoScalingGroupCommand.js +1 -28
  67. package/dist-cjs/commands/UpdateAutoScalingGroupCommand.js +1 -28
  68. package/dist-cjs/commands/index.js +1 -68
  69. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  70. package/dist-cjs/extensionConfiguration.js +1 -2
  71. package/dist-cjs/index.js +10369 -12
  72. package/dist-cjs/models/AutoScalingServiceException.js +1 -12
  73. package/dist-cjs/models/index.js +1 -4
  74. package/dist-cjs/models/models_0.js +1 -301
  75. package/dist-cjs/pagination/DescribeAutoScalingGroupsPaginator.js +1 -7
  76. package/dist-cjs/pagination/DescribeAutoScalingInstancesPaginator.js +1 -7
  77. package/dist-cjs/pagination/DescribeInstanceRefreshesPaginator.js +1 -7
  78. package/dist-cjs/pagination/DescribeLaunchConfigurationsPaginator.js +1 -7
  79. package/dist-cjs/pagination/DescribeLoadBalancerTargetGroupsPaginator.js +1 -7
  80. package/dist-cjs/pagination/DescribeLoadBalancersPaginator.js +1 -7
  81. package/dist-cjs/pagination/DescribeNotificationConfigurationsPaginator.js +1 -7
  82. package/dist-cjs/pagination/DescribePoliciesPaginator.js +1 -7
  83. package/dist-cjs/pagination/DescribeScalingActivitiesPaginator.js +1 -7
  84. package/dist-cjs/pagination/DescribeScheduledActionsPaginator.js +1 -7
  85. package/dist-cjs/pagination/DescribeTagsPaginator.js +1 -7
  86. package/dist-cjs/pagination/DescribeTrafficSourcesPaginator.js +1 -7
  87. package/dist-cjs/pagination/DescribeWarmPoolPaginator.js +1 -7
  88. package/dist-cjs/pagination/Interfaces.js +1 -2
  89. package/dist-cjs/pagination/index.js +1 -17
  90. package/dist-cjs/protocols/Aws_query.js +1 -8526
  91. package/dist-cjs/runtimeExtensions.js +1 -22
  92. package/dist-cjs/waiters/index.js +1 -6
  93. package/dist-cjs/waiters/waitForGroupExists.js +1 -45
  94. package/dist-cjs/waiters/waitForGroupInService.js +1 -67
  95. package/dist-cjs/waiters/waitForGroupNotExists.js +1 -45
  96. package/package.json +41 -41
@@ -1,22 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveRuntimeExtensions = void 0;
4
- const region_config_resolver_1 = require("@aws-sdk/region-config-resolver");
5
- const protocol_http_1 = require("@smithy/protocol-http");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- const asPartial = (t) => t;
8
- const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
9
- const extensionConfiguration = {
10
- ...asPartial((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig)),
11
- ...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
12
- ...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
13
- };
14
- extensions.forEach((extension) => extension.configure(extensionConfiguration));
15
- return {
16
- ...runtimeConfig,
17
- ...(0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
18
- ...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
19
- ...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
20
- };
21
- };
22
- exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
1
+ module.exports = require("./index.js");
@@ -1,6 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./waitForGroupExists"), exports);
5
- tslib_1.__exportStar(require("./waitForGroupInService"), exports);
6
- tslib_1.__exportStar(require("./waitForGroupNotExists"), exports);
1
+ module.exports = require("../index.js");
@@ -1,45 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.waitUntilGroupExists = exports.waitForGroupExists = void 0;
4
- const util_waiter_1 = require("@smithy/util-waiter");
5
- const DescribeAutoScalingGroupsCommand_1 = require("../commands/DescribeAutoScalingGroupsCommand");
6
- const checkState = async (client, input) => {
7
- let reason;
8
- try {
9
- const result = await client.send(new DescribeAutoScalingGroupsCommand_1.DescribeAutoScalingGroupsCommand(input));
10
- reason = result;
11
- try {
12
- const returnComparator = () => {
13
- return result.AutoScalingGroups.length > 0.0;
14
- };
15
- if (returnComparator() == true) {
16
- return { state: util_waiter_1.WaiterState.SUCCESS, reason };
17
- }
18
- }
19
- catch (e) { }
20
- try {
21
- const returnComparator = () => {
22
- return result.AutoScalingGroups.length > 0.0;
23
- };
24
- if (returnComparator() == false) {
25
- return { state: util_waiter_1.WaiterState.RETRY, reason };
26
- }
27
- }
28
- catch (e) { }
29
- }
30
- catch (exception) {
31
- reason = exception;
32
- }
33
- return { state: util_waiter_1.WaiterState.RETRY, reason };
34
- };
35
- const waitForGroupExists = async (params, input) => {
36
- const serviceDefaults = { minDelay: 5, maxDelay: 120 };
37
- return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
38
- };
39
- exports.waitForGroupExists = waitForGroupExists;
40
- const waitUntilGroupExists = async (params, input) => {
41
- const serviceDefaults = { minDelay: 5, maxDelay: 120 };
42
- const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
43
- return (0, util_waiter_1.checkExceptions)(result);
44
- };
45
- exports.waitUntilGroupExists = waitUntilGroupExists;
1
+ module.exports = require("../index.js");
@@ -1,67 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.waitUntilGroupInService = exports.waitForGroupInService = void 0;
4
- const util_waiter_1 = require("@smithy/util-waiter");
5
- const DescribeAutoScalingGroupsCommand_1 = require("../commands/DescribeAutoScalingGroupsCommand");
6
- const checkState = async (client, input) => {
7
- let reason;
8
- try {
9
- const result = await client.send(new DescribeAutoScalingGroupsCommand_1.DescribeAutoScalingGroupsCommand(input));
10
- reason = result;
11
- try {
12
- const returnComparator = () => {
13
- const flat_1 = [].concat(...result.AutoScalingGroups);
14
- const projection_3 = flat_1.map((element_2) => {
15
- const filterRes_5 = element_2.Instances.filter((element_4) => {
16
- return element_4.LifecycleState == "InService";
17
- });
18
- const result_6 = [];
19
- result_6.push(filterRes_5.length >= element_2.MinSize);
20
- element_2 = result_6;
21
- return element_2;
22
- });
23
- const flat_7 = [].concat(...projection_3);
24
- return flat_7.includes(false);
25
- };
26
- if (returnComparator() == false) {
27
- return { state: util_waiter_1.WaiterState.SUCCESS, reason };
28
- }
29
- }
30
- catch (e) { }
31
- try {
32
- const returnComparator = () => {
33
- const flat_1 = [].concat(...result.AutoScalingGroups);
34
- const projection_3 = flat_1.map((element_2) => {
35
- const filterRes_5 = element_2.Instances.filter((element_4) => {
36
- return element_4.LifecycleState == "InService";
37
- });
38
- const result_6 = [];
39
- result_6.push(filterRes_5.length >= element_2.MinSize);
40
- element_2 = result_6;
41
- return element_2;
42
- });
43
- const flat_7 = [].concat(...projection_3);
44
- return flat_7.includes(false);
45
- };
46
- if (returnComparator() == true) {
47
- return { state: util_waiter_1.WaiterState.RETRY, reason };
48
- }
49
- }
50
- catch (e) { }
51
- }
52
- catch (exception) {
53
- reason = exception;
54
- }
55
- return { state: util_waiter_1.WaiterState.RETRY, reason };
56
- };
57
- const waitForGroupInService = async (params, input) => {
58
- const serviceDefaults = { minDelay: 15, maxDelay: 120 };
59
- return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
60
- };
61
- exports.waitForGroupInService = waitForGroupInService;
62
- const waitUntilGroupInService = async (params, input) => {
63
- const serviceDefaults = { minDelay: 15, maxDelay: 120 };
64
- const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
65
- return (0, util_waiter_1.checkExceptions)(result);
66
- };
67
- exports.waitUntilGroupInService = waitUntilGroupInService;
1
+ module.exports = require("../index.js");
@@ -1,45 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.waitUntilGroupNotExists = exports.waitForGroupNotExists = void 0;
4
- const util_waiter_1 = require("@smithy/util-waiter");
5
- const DescribeAutoScalingGroupsCommand_1 = require("../commands/DescribeAutoScalingGroupsCommand");
6
- const checkState = async (client, input) => {
7
- let reason;
8
- try {
9
- const result = await client.send(new DescribeAutoScalingGroupsCommand_1.DescribeAutoScalingGroupsCommand(input));
10
- reason = result;
11
- try {
12
- const returnComparator = () => {
13
- return result.AutoScalingGroups.length > 0.0;
14
- };
15
- if (returnComparator() == false) {
16
- return { state: util_waiter_1.WaiterState.SUCCESS, reason };
17
- }
18
- }
19
- catch (e) { }
20
- try {
21
- const returnComparator = () => {
22
- return result.AutoScalingGroups.length > 0.0;
23
- };
24
- if (returnComparator() == true) {
25
- return { state: util_waiter_1.WaiterState.RETRY, reason };
26
- }
27
- }
28
- catch (e) { }
29
- }
30
- catch (exception) {
31
- reason = exception;
32
- }
33
- return { state: util_waiter_1.WaiterState.RETRY, reason };
34
- };
35
- const waitForGroupNotExists = async (params, input) => {
36
- const serviceDefaults = { minDelay: 15, maxDelay: 120 };
37
- return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
38
- };
39
- exports.waitForGroupNotExists = waitForGroupNotExists;
40
- const waitUntilGroupNotExists = async (params, input) => {
41
- const serviceDefaults = { minDelay: 15, maxDelay: 120 };
42
- const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
43
- return (0, util_waiter_1.checkExceptions)(result);
44
- };
45
- exports.waitUntilGroupNotExists = waitUntilGroupNotExists;
1
+ module.exports = require("../index.js");
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-auto-scaling",
3
3
  "description": "AWS SDK for JavaScript Auto Scaling Client for Node.js, Browser and React Native",
4
- "version": "3.489.0",
4
+ "version": "3.495.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
- "build:cjs": "tsc -p tsconfig.cjs.json",
7
+ "build:cjs": "node ../../scripts/compilation/inline client-auto-scaling",
8
8
  "build:es": "tsc -p tsconfig.es.json",
9
9
  "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
10
10
  "build:types": "tsc -p tsconfig.types.json",
@@ -20,49 +20,49 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.489.0",
24
- "@aws-sdk/core": "3.485.0",
25
- "@aws-sdk/credential-provider-node": "3.489.0",
26
- "@aws-sdk/middleware-host-header": "3.489.0",
27
- "@aws-sdk/middleware-logger": "3.489.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.489.0",
29
- "@aws-sdk/middleware-signing": "3.489.0",
30
- "@aws-sdk/middleware-user-agent": "3.489.0",
31
- "@aws-sdk/region-config-resolver": "3.489.0",
32
- "@aws-sdk/types": "3.489.0",
33
- "@aws-sdk/util-endpoints": "3.489.0",
34
- "@aws-sdk/util-user-agent-browser": "3.489.0",
35
- "@aws-sdk/util-user-agent-node": "3.489.0",
36
- "@smithy/config-resolver": "^2.0.23",
37
- "@smithy/core": "^1.2.2",
38
- "@smithy/fetch-http-handler": "^2.3.2",
39
- "@smithy/hash-node": "^2.0.18",
40
- "@smithy/invalid-dependency": "^2.0.16",
41
- "@smithy/middleware-content-length": "^2.0.18",
42
- "@smithy/middleware-endpoint": "^2.3.0",
43
- "@smithy/middleware-retry": "^2.0.26",
44
- "@smithy/middleware-serde": "^2.0.16",
45
- "@smithy/middleware-stack": "^2.0.10",
46
- "@smithy/node-config-provider": "^2.1.9",
47
- "@smithy/node-http-handler": "^2.2.2",
48
- "@smithy/protocol-http": "^3.0.12",
49
- "@smithy/smithy-client": "^2.2.1",
50
- "@smithy/types": "^2.8.0",
51
- "@smithy/url-parser": "^2.0.16",
52
- "@smithy/util-base64": "^2.0.1",
53
- "@smithy/util-body-length-browser": "^2.0.1",
54
- "@smithy/util-body-length-node": "^2.1.0",
55
- "@smithy/util-defaults-mode-browser": "^2.0.24",
56
- "@smithy/util-defaults-mode-node": "^2.0.32",
57
- "@smithy/util-endpoints": "^1.0.8",
58
- "@smithy/util-retry": "^2.0.9",
59
- "@smithy/util-utf8": "^2.0.2",
60
- "@smithy/util-waiter": "^2.0.16",
23
+ "@aws-sdk/client-sts": "3.495.0",
24
+ "@aws-sdk/core": "3.495.0",
25
+ "@aws-sdk/credential-provider-node": "3.495.0",
26
+ "@aws-sdk/middleware-host-header": "3.495.0",
27
+ "@aws-sdk/middleware-logger": "3.495.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.495.0",
29
+ "@aws-sdk/middleware-signing": "3.495.0",
30
+ "@aws-sdk/middleware-user-agent": "3.495.0",
31
+ "@aws-sdk/region-config-resolver": "3.495.0",
32
+ "@aws-sdk/types": "3.495.0",
33
+ "@aws-sdk/util-endpoints": "3.495.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.495.0",
35
+ "@aws-sdk/util-user-agent-node": "3.495.0",
36
+ "@smithy/config-resolver": "^2.1.0",
37
+ "@smithy/core": "^1.3.0",
38
+ "@smithy/fetch-http-handler": "^2.4.0",
39
+ "@smithy/hash-node": "^2.1.0",
40
+ "@smithy/invalid-dependency": "^2.1.0",
41
+ "@smithy/middleware-content-length": "^2.1.0",
42
+ "@smithy/middleware-endpoint": "^2.4.0",
43
+ "@smithy/middleware-retry": "^2.1.0",
44
+ "@smithy/middleware-serde": "^2.1.0",
45
+ "@smithy/middleware-stack": "^2.1.0",
46
+ "@smithy/node-config-provider": "^2.2.0",
47
+ "@smithy/node-http-handler": "^2.3.0",
48
+ "@smithy/protocol-http": "^3.1.0",
49
+ "@smithy/smithy-client": "^2.3.0",
50
+ "@smithy/types": "^2.9.0",
51
+ "@smithy/url-parser": "^2.1.0",
52
+ "@smithy/util-base64": "^2.1.0",
53
+ "@smithy/util-body-length-browser": "^2.1.0",
54
+ "@smithy/util-body-length-node": "^2.2.0",
55
+ "@smithy/util-defaults-mode-browser": "^2.1.0",
56
+ "@smithy/util-defaults-mode-node": "^2.1.0",
57
+ "@smithy/util-endpoints": "^1.1.0",
58
+ "@smithy/util-retry": "^2.1.0",
59
+ "@smithy/util-utf8": "^2.1.0",
60
+ "@smithy/util-waiter": "^2.1.0",
61
61
  "fast-xml-parser": "4.2.5",
62
62
  "tslib": "^2.5.0"
63
63
  },
64
64
  "devDependencies": {
65
- "@smithy/service-client-documentation-generator": "^2.0.0",
65
+ "@smithy/service-client-documentation-generator": "^2.1.0",
66
66
  "@tsconfig/node14": "1.0.3",
67
67
  "@types/node": "^14.14.31",
68
68
  "concurrently": "7.0.0",