@aws-sdk/client-auto-scaling-plans 3.34.0 → 3.35.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 +12 -0
- package/{dist/cjs → dist-cjs}/AutoScalingPlans.js +0 -0
- package/dist-cjs/AutoScalingPlans.js.map +1 -0
- package/{dist/cjs → dist-cjs}/AutoScalingPlansClient.js +8 -8
- package/dist-cjs/AutoScalingPlansClient.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CreateScalingPlanCommand.js +2 -2
- package/dist-cjs/commands/CreateScalingPlanCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteScalingPlanCommand.js +2 -2
- package/dist-cjs/commands/DeleteScalingPlanCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DescribeScalingPlanResourcesCommand.js +2 -2
- package/{dist/cjs → dist-cjs}/commands/DescribeScalingPlanResourcesCommand.js.map +1 -1
- package/{dist/cjs → dist-cjs}/commands/DescribeScalingPlansCommand.js +2 -2
- package/dist-cjs/commands/DescribeScalingPlansCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/GetScalingPlanResourceForecastDataCommand.js +2 -2
- package/{dist/cjs → dist-cjs}/commands/GetScalingPlanResourceForecastDataCommand.js.map +1 -1
- package/{dist/cjs → dist-cjs}/commands/UpdateScalingPlanCommand.js +2 -2
- package/dist-cjs/commands/UpdateScalingPlanCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -0
- package/dist-cjs/endpoints.js.map +1 -0
- package/{dist/cjs → dist-cjs}/index.js +0 -0
- package/dist-cjs/index.js.map +1 -0
- package/{dist/cjs → dist-cjs}/models/index.js +0 -0
- package/{dist/cjs → dist-cjs}/models/index.js.map +1 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -0
- package/dist-cjs/models/models_0.js.map +1 -0
- package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -0
- package/dist-cjs/protocols/Aws_json1_1.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -1
- package/dist-cjs/runtimeConfig.browser.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +3 -2
- package/dist-cjs/runtimeConfig.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -0
- package/dist-cjs/runtimeConfig.native.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -1
- package/dist-cjs/runtimeConfig.shared.js.map +1 -0
- package/{dist/es → dist-es}/AutoScalingPlans.js +0 -0
- package/dist-es/AutoScalingPlans.js.map +1 -0
- package/{dist/es → dist-es}/AutoScalingPlansClient.js +1 -1
- package/dist-es/AutoScalingPlansClient.js.map +1 -0
- package/{dist/es → dist-es}/commands/CreateScalingPlanCommand.js +2 -2
- package/dist-es/commands/CreateScalingPlanCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DeleteScalingPlanCommand.js +2 -2
- package/dist-es/commands/DeleteScalingPlanCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DescribeScalingPlanResourcesCommand.js +2 -2
- package/dist-es/commands/DescribeScalingPlanResourcesCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DescribeScalingPlansCommand.js +2 -2
- package/dist-es/commands/DescribeScalingPlansCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/GetScalingPlanResourceForecastDataCommand.js +2 -2
- package/dist-es/commands/GetScalingPlanResourceForecastDataCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/UpdateScalingPlanCommand.js +2 -2
- package/dist-es/commands/UpdateScalingPlanCommand.js.map +1 -0
- package/{dist/es → dist-es}/endpoints.js +0 -0
- package/dist-es/endpoints.js.map +1 -0
- package/{dist/es → dist-es}/index.js +0 -0
- package/dist-es/index.js.map +1 -0
- package/{dist/es → dist-es}/models/index.js +0 -0
- package/dist-es/models/index.js.map +1 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -0
- package/dist-es/models/models_0.js.map +1 -0
- package/{dist/es → dist-es}/protocols/Aws_json1_1.js +0 -0
- package/dist-es/protocols/Aws_json1_1.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -1
- package/dist-es/runtimeConfig.browser.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.js +2 -2
- package/dist-es/runtimeConfig.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -0
- package/dist-es/runtimeConfig.native.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -1
- package/dist-es/runtimeConfig.shared.js.map +1 -0
- package/{dist/types → dist-types}/AutoScalingPlans.d.ts +1 -1
- package/{dist/types → dist-types}/AutoScalingPlansClient.d.ts +7 -7
- package/{dist/types → dist-types}/commands/CreateScalingPlanCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteScalingPlanCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeScalingPlanResourcesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeScalingPlansCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetScalingPlanResourceForecastDataCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateScalingPlanCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/index.d.ts +0 -0
- package/{dist/types → dist-types}/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/AutoScalingPlans.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/AutoScalingPlansClient.d.ts +7 -7
- package/{dist/types → dist-types}/ts3.4/commands/CreateScalingPlanCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteScalingPlanCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeScalingPlanResourcesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeScalingPlansCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetScalingPlanResourceForecastDataCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateScalingPlanCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +42 -42
- package/{AutoScalingPlans.ts → src/AutoScalingPlans.ts} +2 -1
- package/{AutoScalingPlansClient.ts → src/AutoScalingPlansClient.ts} +30 -29
- package/{commands → src/commands}/CreateScalingPlanCommand.ts +8 -7
- package/{commands → src/commands}/DeleteScalingPlanCommand.ts +8 -7
- package/{commands → src/commands}/DescribeScalingPlanResourcesCommand.ts +8 -7
- package/{commands → src/commands}/DescribeScalingPlansCommand.ts +8 -7
- package/{commands → src/commands}/GetScalingPlanResourceForecastDataCommand.ts +11 -10
- package/{commands → src/commands}/UpdateScalingPlanCommand.ts +8 -7
- package/{endpoints.ts → src/endpoints.ts} +1 -1
- package/{index.ts → src/index.ts} +0 -0
- package/{models → src/models}/index.ts +0 -0
- package/{models → src/models}/models_0.ts +0 -0
- package/{protocols → src/protocols}/Aws_json1_1.ts +27 -26
- package/{runtimeConfig.browser.ts → src/runtimeConfig.browser.ts} +3 -2
- package/{runtimeConfig.native.ts → src/runtimeConfig.native.ts} +1 -0
- package/{runtimeConfig.shared.ts → src/runtimeConfig.shared.ts} +2 -1
- package/{runtimeConfig.ts → src/runtimeConfig.ts} +4 -3
- package/tsconfig.es.json +1 -1
- package/tsconfig.json +4 -2
- package/tsconfig.types.json +3 -2
- package/dist/cjs/AutoScalingPlans.js.map +0 -1
- package/dist/cjs/AutoScalingPlansClient.js.map +0 -1
- package/dist/cjs/commands/CreateScalingPlanCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteScalingPlanCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeScalingPlansCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateScalingPlanCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/AutoScalingPlans.js.map +0 -1
- package/dist/es/AutoScalingPlansClient.js.map +0 -1
- package/dist/es/commands/CreateScalingPlanCommand.js.map +0 -1
- package/dist/es/commands/DeleteScalingPlanCommand.js.map +0 -1
- package/dist/es/commands/DescribeScalingPlanResourcesCommand.js.map +0 -1
- package/dist/es/commands/DescribeScalingPlansCommand.js.map +0 -1
- package/dist/es/commands/GetScalingPlanResourceForecastDataCommand.js.map +0 -1
- package/dist/es/commands/UpdateScalingPlanCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/protocols/Aws_json1_1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-auto-scaling-plans",
|
|
3
3
|
"description": "AWS SDK for JavaScript Auto Scaling Plans Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.35.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.json",
|
|
@@ -11,54 +11,48 @@
|
|
|
11
11
|
"clean": "yarn clean:dist && yarn clean:docs",
|
|
12
12
|
"clean:dist": "rimraf ./dist",
|
|
13
13
|
"clean:docs": "rimraf ./docs",
|
|
14
|
-
"downlevel-dts": "downlevel-dts dist
|
|
14
|
+
"downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
|
|
15
15
|
"test": "exit 0"
|
|
16
16
|
},
|
|
17
|
-
"main": "./dist
|
|
18
|
-
"types": "./dist
|
|
19
|
-
"module": "./dist
|
|
20
|
-
"browser": {
|
|
21
|
-
"./runtimeConfig": "./runtimeConfig.browser"
|
|
22
|
-
},
|
|
23
|
-
"react-native": {
|
|
24
|
-
"./runtimeConfig": "./runtimeConfig.native"
|
|
25
|
-
},
|
|
17
|
+
"main": "./dist-cjs/index.js",
|
|
18
|
+
"types": "./dist-types/index.d.ts",
|
|
19
|
+
"module": "./dist-es/index.js",
|
|
26
20
|
"sideEffects": false,
|
|
27
21
|
"dependencies": {
|
|
28
22
|
"@aws-crypto/sha256-browser": "^1.0.0",
|
|
29
23
|
"@aws-crypto/sha256-js": "^1.0.0",
|
|
30
|
-
"@aws-sdk/client-sts": "3.
|
|
31
|
-
"@aws-sdk/config-resolver": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
33
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
34
|
-
"@aws-sdk/hash-node": "3.
|
|
35
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
36
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
37
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-serde": "3.
|
|
41
|
-
"@aws-sdk/middleware-signing": "3.
|
|
42
|
-
"@aws-sdk/middleware-stack": "3.
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
44
|
-
"@aws-sdk/node-config-provider": "3.
|
|
45
|
-
"@aws-sdk/node-http-handler": "3.
|
|
46
|
-
"@aws-sdk/protocol-http": "3.
|
|
47
|
-
"@aws-sdk/smithy-client": "3.
|
|
48
|
-
"@aws-sdk/types": "3.
|
|
49
|
-
"@aws-sdk/url-parser": "3.
|
|
50
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
51
|
-
"@aws-sdk/util-base64-node": "3.
|
|
52
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
53
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
56
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
57
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.35.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.35.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.35.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.35.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.35.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.35.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.35.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.35.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.35.0",
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.35.0",
|
|
34
|
+
"@aws-sdk/middleware-serde": "3.35.0",
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.35.0",
|
|
36
|
+
"@aws-sdk/middleware-stack": "3.35.0",
|
|
37
|
+
"@aws-sdk/middleware-user-agent": "3.35.0",
|
|
38
|
+
"@aws-sdk/node-config-provider": "3.35.0",
|
|
39
|
+
"@aws-sdk/node-http-handler": "3.35.0",
|
|
40
|
+
"@aws-sdk/protocol-http": "3.35.0",
|
|
41
|
+
"@aws-sdk/smithy-client": "3.35.0",
|
|
42
|
+
"@aws-sdk/types": "3.35.0",
|
|
43
|
+
"@aws-sdk/url-parser": "3.35.0",
|
|
44
|
+
"@aws-sdk/util-base64-browser": "3.35.0",
|
|
45
|
+
"@aws-sdk/util-base64-node": "3.35.0",
|
|
46
|
+
"@aws-sdk/util-body-length-browser": "3.35.0",
|
|
47
|
+
"@aws-sdk/util-body-length-node": "3.35.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.35.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.35.0",
|
|
50
|
+
"@aws-sdk/util-utf8-browser": "3.35.0",
|
|
51
|
+
"@aws-sdk/util-utf8-node": "3.35.0",
|
|
58
52
|
"tslib": "^2.3.0"
|
|
59
53
|
},
|
|
60
54
|
"devDependencies": {
|
|
61
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
55
|
+
"@aws-sdk/client-documentation-generator": "3.35.0",
|
|
62
56
|
"@types/node": "^12.7.5",
|
|
63
57
|
"downlevel-dts": "0.7.0",
|
|
64
58
|
"jest": "^26.1.0",
|
|
@@ -72,8 +66,8 @@
|
|
|
72
66
|
},
|
|
73
67
|
"typesVersions": {
|
|
74
68
|
"<4.0": {
|
|
75
|
-
"dist
|
|
76
|
-
"dist
|
|
69
|
+
"dist-types/*": [
|
|
70
|
+
"dist-types/ts3.4/*"
|
|
77
71
|
]
|
|
78
72
|
}
|
|
79
73
|
},
|
|
@@ -82,6 +76,12 @@
|
|
|
82
76
|
"url": "https://aws.amazon.com/javascript/"
|
|
83
77
|
},
|
|
84
78
|
"license": "Apache-2.0",
|
|
79
|
+
"browser": {
|
|
80
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
81
|
+
},
|
|
82
|
+
"react-native": {
|
|
83
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
84
|
+
},
|
|
85
85
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-auto-scaling-plans",
|
|
86
86
|
"repository": {
|
|
87
87
|
"type": "git",
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
+
|
|
1
3
|
import { AutoScalingPlansClient } from "./AutoScalingPlansClient";
|
|
2
4
|
import {
|
|
3
5
|
CreateScalingPlanCommand,
|
|
@@ -29,7 +31,6 @@ import {
|
|
|
29
31
|
UpdateScalingPlanCommandInput,
|
|
30
32
|
UpdateScalingPlanCommandOutput,
|
|
31
33
|
} from "./commands/UpdateScalingPlanCommand";
|
|
32
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
33
34
|
|
|
34
35
|
/**
|
|
35
36
|
* <fullname>AWS Auto Scaling</fullname>
|
|
@@ -1,19 +1,3 @@
|
|
|
1
|
-
import { CreateScalingPlanCommandInput, CreateScalingPlanCommandOutput } from "./commands/CreateScalingPlanCommand";
|
|
2
|
-
import { DeleteScalingPlanCommandInput, DeleteScalingPlanCommandOutput } from "./commands/DeleteScalingPlanCommand";
|
|
3
|
-
import {
|
|
4
|
-
DescribeScalingPlanResourcesCommandInput,
|
|
5
|
-
DescribeScalingPlanResourcesCommandOutput,
|
|
6
|
-
} from "./commands/DescribeScalingPlanResourcesCommand";
|
|
7
|
-
import {
|
|
8
|
-
DescribeScalingPlansCommandInput,
|
|
9
|
-
DescribeScalingPlansCommandOutput,
|
|
10
|
-
} from "./commands/DescribeScalingPlansCommand";
|
|
11
|
-
import {
|
|
12
|
-
GetScalingPlanResourceForecastDataCommandInput,
|
|
13
|
-
GetScalingPlanResourceForecastDataCommandOutput,
|
|
14
|
-
} from "./commands/GetScalingPlanResourceForecastDataCommand";
|
|
15
|
-
import { UpdateScalingPlanCommandInput, UpdateScalingPlanCommandOutput } from "./commands/UpdateScalingPlanCommand";
|
|
16
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
17
1
|
import {
|
|
18
2
|
EndpointsInputConfig,
|
|
19
3
|
EndpointsResolvedConfig,
|
|
@@ -24,13 +8,13 @@ import {
|
|
|
24
8
|
} from "@aws-sdk/config-resolver";
|
|
25
9
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
26
10
|
import {
|
|
11
|
+
getHostHeaderPlugin,
|
|
27
12
|
HostHeaderInputConfig,
|
|
28
13
|
HostHeaderResolvedConfig,
|
|
29
|
-
getHostHeaderPlugin,
|
|
30
14
|
resolveHostHeaderConfig,
|
|
31
15
|
} from "@aws-sdk/middleware-host-header";
|
|
32
16
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
33
|
-
import {
|
|
17
|
+
import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
34
18
|
import {
|
|
35
19
|
AwsAuthInputConfig,
|
|
36
20
|
AwsAuthResolvedConfig,
|
|
@@ -38,10 +22,10 @@ import {
|
|
|
38
22
|
resolveAwsAuthConfig,
|
|
39
23
|
} from "@aws-sdk/middleware-signing";
|
|
40
24
|
import {
|
|
41
|
-
UserAgentInputConfig,
|
|
42
|
-
UserAgentResolvedConfig,
|
|
43
25
|
getUserAgentPlugin,
|
|
44
26
|
resolveUserAgentConfig,
|
|
27
|
+
UserAgentInputConfig,
|
|
28
|
+
UserAgentResolvedConfig,
|
|
45
29
|
} from "@aws-sdk/middleware-user-agent";
|
|
46
30
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
47
31
|
import {
|
|
@@ -50,8 +34,6 @@ import {
|
|
|
50
34
|
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
51
35
|
} from "@aws-sdk/smithy-client";
|
|
52
36
|
import {
|
|
53
|
-
Provider,
|
|
54
|
-
RegionInfoProvider,
|
|
55
37
|
Credentials as __Credentials,
|
|
56
38
|
Decoder as __Decoder,
|
|
57
39
|
Encoder as __Encoder,
|
|
@@ -60,11 +42,30 @@ import {
|
|
|
60
42
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
61
43
|
Logger as __Logger,
|
|
62
44
|
Provider as __Provider,
|
|
45
|
+
Provider,
|
|
46
|
+
RegionInfoProvider,
|
|
63
47
|
StreamCollector as __StreamCollector,
|
|
64
48
|
UrlParser as __UrlParser,
|
|
65
49
|
UserAgent as __UserAgent,
|
|
66
50
|
} from "@aws-sdk/types";
|
|
67
51
|
|
|
52
|
+
import { CreateScalingPlanCommandInput, CreateScalingPlanCommandOutput } from "./commands/CreateScalingPlanCommand";
|
|
53
|
+
import { DeleteScalingPlanCommandInput, DeleteScalingPlanCommandOutput } from "./commands/DeleteScalingPlanCommand";
|
|
54
|
+
import {
|
|
55
|
+
DescribeScalingPlanResourcesCommandInput,
|
|
56
|
+
DescribeScalingPlanResourcesCommandOutput,
|
|
57
|
+
} from "./commands/DescribeScalingPlanResourcesCommand";
|
|
58
|
+
import {
|
|
59
|
+
DescribeScalingPlansCommandInput,
|
|
60
|
+
DescribeScalingPlansCommandOutput,
|
|
61
|
+
} from "./commands/DescribeScalingPlansCommand";
|
|
62
|
+
import {
|
|
63
|
+
GetScalingPlanResourceForecastDataCommandInput,
|
|
64
|
+
GetScalingPlanResourceForecastDataCommandOutput,
|
|
65
|
+
} from "./commands/GetScalingPlanResourceForecastDataCommand";
|
|
66
|
+
import { UpdateScalingPlanCommandInput, UpdateScalingPlanCommandOutput } from "./commands/UpdateScalingPlanCommand";
|
|
67
|
+
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
68
|
+
|
|
68
69
|
export type ServiceInputTypes =
|
|
69
70
|
| CreateScalingPlanCommandInput
|
|
70
71
|
| DeleteScalingPlanCommandInput
|
|
@@ -268,13 +269,13 @@ export class AutoScalingPlansClient extends __Client<
|
|
|
268
269
|
readonly config: AutoScalingPlansClientResolvedConfig;
|
|
269
270
|
|
|
270
271
|
constructor(configuration: AutoScalingPlansClientConfig) {
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
272
|
+
const _config_0 = __getRuntimeConfig(configuration);
|
|
273
|
+
const _config_1 = resolveRegionConfig(_config_0);
|
|
274
|
+
const _config_2 = resolveEndpointsConfig(_config_1);
|
|
275
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
276
|
+
const _config_4 = resolveHostHeaderConfig(_config_3);
|
|
277
|
+
const _config_5 = resolveAwsAuthConfig(_config_4);
|
|
278
|
+
const _config_6 = resolveUserAgentConfig(_config_5);
|
|
278
279
|
super(_config_6);
|
|
279
280
|
this.config = _config_6;
|
|
280
281
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { AutoScalingPlansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AutoScalingPlansClient";
|
|
2
|
-
import { CreateScalingPlanRequest, CreateScalingPlanResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1CreateScalingPlanCommand,
|
|
5
|
-
serializeAws_json1_1CreateScalingPlanCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -11,12 +5,19 @@ import {
|
|
|
11
5
|
FinalizeHandlerArguments,
|
|
12
6
|
Handler,
|
|
13
7
|
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
17
11
|
SerdeContext as __SerdeContext,
|
|
18
12
|
} from "@aws-sdk/types";
|
|
19
13
|
|
|
14
|
+
import { AutoScalingPlansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AutoScalingPlansClient";
|
|
15
|
+
import { CreateScalingPlanRequest, CreateScalingPlanResponse } from "../models/models_0";
|
|
16
|
+
import {
|
|
17
|
+
deserializeAws_json1_1CreateScalingPlanCommand,
|
|
18
|
+
serializeAws_json1_1CreateScalingPlanCommand,
|
|
19
|
+
} from "../protocols/Aws_json1_1";
|
|
20
|
+
|
|
20
21
|
export interface CreateScalingPlanCommandInput extends CreateScalingPlanRequest {}
|
|
21
22
|
export interface CreateScalingPlanCommandOutput extends CreateScalingPlanResponse, __MetadataBearer {}
|
|
22
23
|
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { AutoScalingPlansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AutoScalingPlansClient";
|
|
2
|
-
import { DeleteScalingPlanRequest, DeleteScalingPlanResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1DeleteScalingPlanCommand,
|
|
5
|
-
serializeAws_json1_1DeleteScalingPlanCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -11,12 +5,19 @@ import {
|
|
|
11
5
|
FinalizeHandlerArguments,
|
|
12
6
|
Handler,
|
|
13
7
|
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
17
11
|
SerdeContext as __SerdeContext,
|
|
18
12
|
} from "@aws-sdk/types";
|
|
19
13
|
|
|
14
|
+
import { AutoScalingPlansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AutoScalingPlansClient";
|
|
15
|
+
import { DeleteScalingPlanRequest, DeleteScalingPlanResponse } from "../models/models_0";
|
|
16
|
+
import {
|
|
17
|
+
deserializeAws_json1_1DeleteScalingPlanCommand,
|
|
18
|
+
serializeAws_json1_1DeleteScalingPlanCommand,
|
|
19
|
+
} from "../protocols/Aws_json1_1";
|
|
20
|
+
|
|
20
21
|
export interface DeleteScalingPlanCommandInput extends DeleteScalingPlanRequest {}
|
|
21
22
|
export interface DeleteScalingPlanCommandOutput extends DeleteScalingPlanResponse, __MetadataBearer {}
|
|
22
23
|
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { AutoScalingPlansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AutoScalingPlansClient";
|
|
2
|
-
import { DescribeScalingPlanResourcesRequest, DescribeScalingPlanResourcesResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1DescribeScalingPlanResourcesCommand,
|
|
5
|
-
serializeAws_json1_1DescribeScalingPlanResourcesCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -11,12 +5,19 @@ import {
|
|
|
11
5
|
FinalizeHandlerArguments,
|
|
12
6
|
Handler,
|
|
13
7
|
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
17
11
|
SerdeContext as __SerdeContext,
|
|
18
12
|
} from "@aws-sdk/types";
|
|
19
13
|
|
|
14
|
+
import { AutoScalingPlansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AutoScalingPlansClient";
|
|
15
|
+
import { DescribeScalingPlanResourcesRequest, DescribeScalingPlanResourcesResponse } from "../models/models_0";
|
|
16
|
+
import {
|
|
17
|
+
deserializeAws_json1_1DescribeScalingPlanResourcesCommand,
|
|
18
|
+
serializeAws_json1_1DescribeScalingPlanResourcesCommand,
|
|
19
|
+
} from "../protocols/Aws_json1_1";
|
|
20
|
+
|
|
20
21
|
export interface DescribeScalingPlanResourcesCommandInput extends DescribeScalingPlanResourcesRequest {}
|
|
21
22
|
export interface DescribeScalingPlanResourcesCommandOutput
|
|
22
23
|
extends DescribeScalingPlanResourcesResponse,
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { AutoScalingPlansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AutoScalingPlansClient";
|
|
2
|
-
import { DescribeScalingPlansRequest, DescribeScalingPlansResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1DescribeScalingPlansCommand,
|
|
5
|
-
serializeAws_json1_1DescribeScalingPlansCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -11,12 +5,19 @@ import {
|
|
|
11
5
|
FinalizeHandlerArguments,
|
|
12
6
|
Handler,
|
|
13
7
|
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
17
11
|
SerdeContext as __SerdeContext,
|
|
18
12
|
} from "@aws-sdk/types";
|
|
19
13
|
|
|
14
|
+
import { AutoScalingPlansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AutoScalingPlansClient";
|
|
15
|
+
import { DescribeScalingPlansRequest, DescribeScalingPlansResponse } from "../models/models_0";
|
|
16
|
+
import {
|
|
17
|
+
deserializeAws_json1_1DescribeScalingPlansCommand,
|
|
18
|
+
serializeAws_json1_1DescribeScalingPlansCommand,
|
|
19
|
+
} from "../protocols/Aws_json1_1";
|
|
20
|
+
|
|
20
21
|
export interface DescribeScalingPlansCommandInput extends DescribeScalingPlansRequest {}
|
|
21
22
|
export interface DescribeScalingPlansCommandOutput extends DescribeScalingPlansResponse, __MetadataBearer {}
|
|
22
23
|
|
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
import { AutoScalingPlansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AutoScalingPlansClient";
|
|
2
|
-
import {
|
|
3
|
-
GetScalingPlanResourceForecastDataRequest,
|
|
4
|
-
GetScalingPlanResourceForecastDataResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
6
|
-
import {
|
|
7
|
-
deserializeAws_json1_1GetScalingPlanResourceForecastDataCommand,
|
|
8
|
-
serializeAws_json1_1GetScalingPlanResourceForecastDataCommand,
|
|
9
|
-
} from "../protocols/Aws_json1_1";
|
|
10
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
11
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
12
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -14,12 +5,22 @@ import {
|
|
|
14
5
|
FinalizeHandlerArguments,
|
|
15
6
|
Handler,
|
|
16
7
|
HandlerExecutionContext,
|
|
17
|
-
MiddlewareStack,
|
|
18
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
19
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
20
11
|
SerdeContext as __SerdeContext,
|
|
21
12
|
} from "@aws-sdk/types";
|
|
22
13
|
|
|
14
|
+
import { AutoScalingPlansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AutoScalingPlansClient";
|
|
15
|
+
import {
|
|
16
|
+
GetScalingPlanResourceForecastDataRequest,
|
|
17
|
+
GetScalingPlanResourceForecastDataResponse,
|
|
18
|
+
} from "../models/models_0";
|
|
19
|
+
import {
|
|
20
|
+
deserializeAws_json1_1GetScalingPlanResourceForecastDataCommand,
|
|
21
|
+
serializeAws_json1_1GetScalingPlanResourceForecastDataCommand,
|
|
22
|
+
} from "../protocols/Aws_json1_1";
|
|
23
|
+
|
|
23
24
|
export interface GetScalingPlanResourceForecastDataCommandInput extends GetScalingPlanResourceForecastDataRequest {}
|
|
24
25
|
export interface GetScalingPlanResourceForecastDataCommandOutput
|
|
25
26
|
extends GetScalingPlanResourceForecastDataResponse,
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { AutoScalingPlansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AutoScalingPlansClient";
|
|
2
|
-
import { UpdateScalingPlanRequest, UpdateScalingPlanResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1UpdateScalingPlanCommand,
|
|
5
|
-
serializeAws_json1_1UpdateScalingPlanCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -11,12 +5,19 @@ import {
|
|
|
11
5
|
FinalizeHandlerArguments,
|
|
12
6
|
Handler,
|
|
13
7
|
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
17
11
|
SerdeContext as __SerdeContext,
|
|
18
12
|
} from "@aws-sdk/types";
|
|
19
13
|
|
|
14
|
+
import { AutoScalingPlansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AutoScalingPlansClient";
|
|
15
|
+
import { UpdateScalingPlanRequest, UpdateScalingPlanResponse } from "../models/models_0";
|
|
16
|
+
import {
|
|
17
|
+
deserializeAws_json1_1UpdateScalingPlanCommand,
|
|
18
|
+
serializeAws_json1_1UpdateScalingPlanCommand,
|
|
19
|
+
} from "../protocols/Aws_json1_1";
|
|
20
|
+
|
|
20
21
|
export interface UpdateScalingPlanCommandInput extends UpdateScalingPlanRequest {}
|
|
21
22
|
export interface UpdateScalingPlanCommandOutput extends UpdateScalingPlanResponse, __MetadataBearer {}
|
|
22
23
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,3 +1,24 @@
|
|
|
1
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
2
|
+
import {
|
|
3
|
+
expectBoolean as __expectBoolean,
|
|
4
|
+
expectInt32 as __expectInt32,
|
|
5
|
+
expectLong as __expectLong,
|
|
6
|
+
expectNonNull as __expectNonNull,
|
|
7
|
+
expectNumber as __expectNumber,
|
|
8
|
+
expectString as __expectString,
|
|
9
|
+
limitedParseDouble as __limitedParseDouble,
|
|
10
|
+
parseEpochTimestamp as __parseEpochTimestamp,
|
|
11
|
+
serializeFloat as __serializeFloat,
|
|
12
|
+
} from "@aws-sdk/smithy-client";
|
|
13
|
+
import {
|
|
14
|
+
Endpoint as __Endpoint,
|
|
15
|
+
HeaderBag as __HeaderBag,
|
|
16
|
+
MetadataBearer as __MetadataBearer,
|
|
17
|
+
ResponseMetadata as __ResponseMetadata,
|
|
18
|
+
SerdeContext as __SerdeContext,
|
|
19
|
+
SmithyException as __SmithyException,
|
|
20
|
+
} from "@aws-sdk/types";
|
|
21
|
+
|
|
1
22
|
import { CreateScalingPlanCommandInput, CreateScalingPlanCommandOutput } from "../commands/CreateScalingPlanCommand";
|
|
2
23
|
import { DeleteScalingPlanCommandInput, DeleteScalingPlanCommandOutput } from "../commands/DeleteScalingPlanCommand";
|
|
3
24
|
import {
|
|
@@ -46,26 +67,6 @@ import {
|
|
|
46
67
|
UpdateScalingPlanResponse,
|
|
47
68
|
ValidationException,
|
|
48
69
|
} from "../models/models_0";
|
|
49
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
50
|
-
import {
|
|
51
|
-
expectBoolean as __expectBoolean,
|
|
52
|
-
expectInt32 as __expectInt32,
|
|
53
|
-
expectLong as __expectLong,
|
|
54
|
-
expectNonNull as __expectNonNull,
|
|
55
|
-
expectNumber as __expectNumber,
|
|
56
|
-
expectString as __expectString,
|
|
57
|
-
limitedParseDouble as __limitedParseDouble,
|
|
58
|
-
parseEpochTimestamp as __parseEpochTimestamp,
|
|
59
|
-
serializeFloat as __serializeFloat,
|
|
60
|
-
} from "@aws-sdk/smithy-client";
|
|
61
|
-
import {
|
|
62
|
-
Endpoint as __Endpoint,
|
|
63
|
-
HeaderBag as __HeaderBag,
|
|
64
|
-
MetadataBearer as __MetadataBearer,
|
|
65
|
-
ResponseMetadata as __ResponseMetadata,
|
|
66
|
-
SerdeContext as __SerdeContext,
|
|
67
|
-
SmithyException as __SmithyException,
|
|
68
|
-
} from "@aws-sdk/types";
|
|
69
70
|
|
|
70
71
|
export const serializeAws_json1_1CreateScalingPlanCommand = async (
|
|
71
72
|
input: CreateScalingPlanCommandInput,
|
|
@@ -171,7 +172,7 @@ const deserializeAws_json1_1CreateScalingPlanCommandError = async (
|
|
|
171
172
|
body: await parseBody(output.body, context),
|
|
172
173
|
};
|
|
173
174
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
174
|
-
let errorCode
|
|
175
|
+
let errorCode = "UnknownError";
|
|
175
176
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
176
177
|
switch (errorCode) {
|
|
177
178
|
case "ConcurrentUpdateException":
|
|
@@ -249,7 +250,7 @@ const deserializeAws_json1_1DeleteScalingPlanCommandError = async (
|
|
|
249
250
|
body: await parseBody(output.body, context),
|
|
250
251
|
};
|
|
251
252
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
252
|
-
let errorCode
|
|
253
|
+
let errorCode = "UnknownError";
|
|
253
254
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
254
255
|
switch (errorCode) {
|
|
255
256
|
case "ConcurrentUpdateException":
|
|
@@ -327,7 +328,7 @@ const deserializeAws_json1_1DescribeScalingPlanResourcesCommandError = async (
|
|
|
327
328
|
body: await parseBody(output.body, context),
|
|
328
329
|
};
|
|
329
330
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
330
|
-
let errorCode
|
|
331
|
+
let errorCode = "UnknownError";
|
|
331
332
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
332
333
|
switch (errorCode) {
|
|
333
334
|
case "ConcurrentUpdateException":
|
|
@@ -405,7 +406,7 @@ const deserializeAws_json1_1DescribeScalingPlansCommandError = async (
|
|
|
405
406
|
body: await parseBody(output.body, context),
|
|
406
407
|
};
|
|
407
408
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
408
|
-
let errorCode
|
|
409
|
+
let errorCode = "UnknownError";
|
|
409
410
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
410
411
|
switch (errorCode) {
|
|
411
412
|
case "ConcurrentUpdateException":
|
|
@@ -483,7 +484,7 @@ const deserializeAws_json1_1GetScalingPlanResourceForecastDataCommandError = asy
|
|
|
483
484
|
body: await parseBody(output.body, context),
|
|
484
485
|
};
|
|
485
486
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
486
|
-
let errorCode
|
|
487
|
+
let errorCode = "UnknownError";
|
|
487
488
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
488
489
|
switch (errorCode) {
|
|
489
490
|
case "InternalServiceException":
|
|
@@ -545,7 +546,7 @@ const deserializeAws_json1_1UpdateScalingPlanCommandError = async (
|
|
|
545
546
|
body: await parseBody(output.body, context),
|
|
546
547
|
};
|
|
547
548
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
548
|
-
let errorCode
|
|
549
|
+
let errorCode = "UnknownError";
|
|
549
550
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
550
551
|
switch (errorCode) {
|
|
551
552
|
case "ConcurrentUpdateException":
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import packageInfo from "./package.json";
|
|
2
|
-
|
|
3
1
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
2
|
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
3
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
@@ -8,6 +6,9 @@ import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
|
8
6
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
9
7
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
10
8
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
9
|
+
|
|
10
|
+
// @ts-ignore: package.json will be imported from dist folders
|
|
11
|
+
import packageInfo from "../package.json";
|
|
11
12
|
import { AutoScalingPlansClientConfig } from "./AutoScalingPlansClient";
|
|
12
13
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
14
|
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { defaultRegionInfoProvider } from "./endpoints";
|
|
2
1
|
import { Logger as __Logger } from "@aws-sdk/types";
|
|
3
2
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
3
|
+
|
|
4
4
|
import { AutoScalingPlansClientConfig } from "./AutoScalingPlansClient";
|
|
5
|
+
import { defaultRegionInfoProvider } from "./endpoints";
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* @internal
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import packageInfo from "./package.json";
|
|
2
|
-
|
|
3
1
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
2
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
|
|
5
3
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
@@ -7,13 +5,16 @@ import { Hash } from "@aws-sdk/hash-node";
|
|
|
7
5
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
8
6
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
9
7
|
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
8
|
+
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
10
9
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
11
10
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
12
11
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
12
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
13
|
+
|
|
14
|
+
// @ts-ignore: package.json will be imported from dist folders
|
|
15
|
+
import packageInfo from "../package.json";
|
|
14
16
|
import { AutoScalingPlansClientConfig } from "./AutoScalingPlansClient";
|
|
15
17
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
16
|
-
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
17
18
|
|
|
18
19
|
/**
|
|
19
20
|
* @internal
|
package/tsconfig.es.json
CHANGED
package/tsconfig.json
CHANGED
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"incremental": true,
|
|
12
12
|
"resolveJsonModule": true,
|
|
13
13
|
"esModuleInterop": true,
|
|
14
|
-
"
|
|
14
|
+
"rootDir": "src",
|
|
15
|
+
"outDir": "dist-cjs",
|
|
15
16
|
"removeComments": true
|
|
16
17
|
},
|
|
17
18
|
"typedocOptions": {
|
|
@@ -27,5 +28,6 @@
|
|
|
27
28
|
"out": "docs",
|
|
28
29
|
"theme": "minimal",
|
|
29
30
|
"plugin": ["@aws-sdk/client-documentation-generator"]
|
|
30
|
-
}
|
|
31
|
+
},
|
|
32
|
+
"exclude": ["test/**/*"]
|
|
31
33
|
}
|