@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.
Files changed (157) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/{dist/cjs → dist-cjs}/AutoScalingPlans.js +0 -0
  3. package/dist-cjs/AutoScalingPlans.js.map +1 -0
  4. package/{dist/cjs → dist-cjs}/AutoScalingPlansClient.js +8 -8
  5. package/dist-cjs/AutoScalingPlansClient.js.map +1 -0
  6. package/{dist/cjs → dist-cjs}/commands/CreateScalingPlanCommand.js +2 -2
  7. package/dist-cjs/commands/CreateScalingPlanCommand.js.map +1 -0
  8. package/{dist/cjs → dist-cjs}/commands/DeleteScalingPlanCommand.js +2 -2
  9. package/dist-cjs/commands/DeleteScalingPlanCommand.js.map +1 -0
  10. package/{dist/cjs → dist-cjs}/commands/DescribeScalingPlanResourcesCommand.js +2 -2
  11. package/{dist/cjs → dist-cjs}/commands/DescribeScalingPlanResourcesCommand.js.map +1 -1
  12. package/{dist/cjs → dist-cjs}/commands/DescribeScalingPlansCommand.js +2 -2
  13. package/dist-cjs/commands/DescribeScalingPlansCommand.js.map +1 -0
  14. package/{dist/cjs → dist-cjs}/commands/GetScalingPlanResourceForecastDataCommand.js +2 -2
  15. package/{dist/cjs → dist-cjs}/commands/GetScalingPlanResourceForecastDataCommand.js.map +1 -1
  16. package/{dist/cjs → dist-cjs}/commands/UpdateScalingPlanCommand.js +2 -2
  17. package/dist-cjs/commands/UpdateScalingPlanCommand.js.map +1 -0
  18. package/{dist/cjs → dist-cjs}/endpoints.js +0 -0
  19. package/dist-cjs/endpoints.js.map +1 -0
  20. package/{dist/cjs → dist-cjs}/index.js +0 -0
  21. package/dist-cjs/index.js.map +1 -0
  22. package/{dist/cjs → dist-cjs}/models/index.js +0 -0
  23. package/{dist/cjs → dist-cjs}/models/index.js.map +1 -1
  24. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -0
  25. package/dist-cjs/models/models_0.js.map +1 -0
  26. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -0
  27. package/dist-cjs/protocols/Aws_json1_1.js.map +1 -0
  28. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -1
  29. package/dist-cjs/runtimeConfig.browser.js.map +1 -0
  30. package/{dist/cjs → dist-cjs}/runtimeConfig.js +3 -2
  31. package/dist-cjs/runtimeConfig.js.map +1 -0
  32. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -0
  33. package/dist-cjs/runtimeConfig.native.js.map +1 -0
  34. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -1
  35. package/dist-cjs/runtimeConfig.shared.js.map +1 -0
  36. package/{dist/es → dist-es}/AutoScalingPlans.js +0 -0
  37. package/dist-es/AutoScalingPlans.js.map +1 -0
  38. package/{dist/es → dist-es}/AutoScalingPlansClient.js +1 -1
  39. package/dist-es/AutoScalingPlansClient.js.map +1 -0
  40. package/{dist/es → dist-es}/commands/CreateScalingPlanCommand.js +2 -2
  41. package/dist-es/commands/CreateScalingPlanCommand.js.map +1 -0
  42. package/{dist/es → dist-es}/commands/DeleteScalingPlanCommand.js +2 -2
  43. package/dist-es/commands/DeleteScalingPlanCommand.js.map +1 -0
  44. package/{dist/es → dist-es}/commands/DescribeScalingPlanResourcesCommand.js +2 -2
  45. package/dist-es/commands/DescribeScalingPlanResourcesCommand.js.map +1 -0
  46. package/{dist/es → dist-es}/commands/DescribeScalingPlansCommand.js +2 -2
  47. package/dist-es/commands/DescribeScalingPlansCommand.js.map +1 -0
  48. package/{dist/es → dist-es}/commands/GetScalingPlanResourceForecastDataCommand.js +2 -2
  49. package/dist-es/commands/GetScalingPlanResourceForecastDataCommand.js.map +1 -0
  50. package/{dist/es → dist-es}/commands/UpdateScalingPlanCommand.js +2 -2
  51. package/dist-es/commands/UpdateScalingPlanCommand.js.map +1 -0
  52. package/{dist/es → dist-es}/endpoints.js +0 -0
  53. package/dist-es/endpoints.js.map +1 -0
  54. package/{dist/es → dist-es}/index.js +0 -0
  55. package/dist-es/index.js.map +1 -0
  56. package/{dist/es → dist-es}/models/index.js +0 -0
  57. package/dist-es/models/index.js.map +1 -0
  58. package/{dist/es → dist-es}/models/models_0.js +0 -0
  59. package/dist-es/models/models_0.js.map +1 -0
  60. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +0 -0
  61. package/dist-es/protocols/Aws_json1_1.js.map +1 -0
  62. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -1
  63. package/dist-es/runtimeConfig.browser.js.map +1 -0
  64. package/{dist/es → dist-es}/runtimeConfig.js +2 -2
  65. package/dist-es/runtimeConfig.js.map +1 -0
  66. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -0
  67. package/dist-es/runtimeConfig.native.js.map +1 -0
  68. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -1
  69. package/dist-es/runtimeConfig.shared.js.map +1 -0
  70. package/{dist/types → dist-types}/AutoScalingPlans.d.ts +1 -1
  71. package/{dist/types → dist-types}/AutoScalingPlansClient.d.ts +7 -7
  72. package/{dist/types → dist-types}/commands/CreateScalingPlanCommand.d.ts +2 -2
  73. package/{dist/types → dist-types}/commands/DeleteScalingPlanCommand.d.ts +2 -2
  74. package/{dist/types → dist-types}/commands/DescribeScalingPlanResourcesCommand.d.ts +2 -2
  75. package/{dist/types → dist-types}/commands/DescribeScalingPlansCommand.d.ts +2 -2
  76. package/{dist/types → dist-types}/commands/GetScalingPlanResourceForecastDataCommand.d.ts +2 -2
  77. package/{dist/types → dist-types}/commands/UpdateScalingPlanCommand.d.ts +2 -2
  78. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  79. package/{dist/types → dist-types}/index.d.ts +0 -0
  80. package/{dist/types → dist-types}/models/index.d.ts +0 -0
  81. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  82. package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
  83. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  84. package/{dist/types → dist-types}/runtimeConfig.d.ts +2 -4
  85. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  86. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  87. package/{dist/types → dist-types}/ts3.4/AutoScalingPlans.d.ts +1 -1
  88. package/{dist/types → dist-types}/ts3.4/AutoScalingPlansClient.d.ts +7 -7
  89. package/{dist/types → dist-types}/ts3.4/commands/CreateScalingPlanCommand.d.ts +2 -2
  90. package/{dist/types → dist-types}/ts3.4/commands/DeleteScalingPlanCommand.d.ts +2 -2
  91. package/{dist/types → dist-types}/ts3.4/commands/DescribeScalingPlanResourcesCommand.d.ts +2 -2
  92. package/{dist/types → dist-types}/ts3.4/commands/DescribeScalingPlansCommand.d.ts +2 -2
  93. package/{dist/types → dist-types}/ts3.4/commands/GetScalingPlanResourceForecastDataCommand.d.ts +2 -2
  94. package/{dist/types → dist-types}/ts3.4/commands/UpdateScalingPlanCommand.d.ts +2 -2
  95. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  96. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  97. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  98. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  99. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
  100. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +0 -0
  101. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  102. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +0 -0
  103. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  104. package/package.json +42 -42
  105. package/{AutoScalingPlans.ts → src/AutoScalingPlans.ts} +2 -1
  106. package/{AutoScalingPlansClient.ts → src/AutoScalingPlansClient.ts} +30 -29
  107. package/{commands → src/commands}/CreateScalingPlanCommand.ts +8 -7
  108. package/{commands → src/commands}/DeleteScalingPlanCommand.ts +8 -7
  109. package/{commands → src/commands}/DescribeScalingPlanResourcesCommand.ts +8 -7
  110. package/{commands → src/commands}/DescribeScalingPlansCommand.ts +8 -7
  111. package/{commands → src/commands}/GetScalingPlanResourceForecastDataCommand.ts +11 -10
  112. package/{commands → src/commands}/UpdateScalingPlanCommand.ts +8 -7
  113. package/{endpoints.ts → src/endpoints.ts} +1 -1
  114. package/{index.ts → src/index.ts} +0 -0
  115. package/{models → src/models}/index.ts +0 -0
  116. package/{models → src/models}/models_0.ts +0 -0
  117. package/{protocols → src/protocols}/Aws_json1_1.ts +27 -26
  118. package/{runtimeConfig.browser.ts → src/runtimeConfig.browser.ts} +3 -2
  119. package/{runtimeConfig.native.ts → src/runtimeConfig.native.ts} +1 -0
  120. package/{runtimeConfig.shared.ts → src/runtimeConfig.shared.ts} +2 -1
  121. package/{runtimeConfig.ts → src/runtimeConfig.ts} +4 -3
  122. package/tsconfig.es.json +1 -1
  123. package/tsconfig.json +4 -2
  124. package/tsconfig.types.json +3 -2
  125. package/dist/cjs/AutoScalingPlans.js.map +0 -1
  126. package/dist/cjs/AutoScalingPlansClient.js.map +0 -1
  127. package/dist/cjs/commands/CreateScalingPlanCommand.js.map +0 -1
  128. package/dist/cjs/commands/DeleteScalingPlanCommand.js.map +0 -1
  129. package/dist/cjs/commands/DescribeScalingPlansCommand.js.map +0 -1
  130. package/dist/cjs/commands/UpdateScalingPlanCommand.js.map +0 -1
  131. package/dist/cjs/endpoints.js.map +0 -1
  132. package/dist/cjs/index.js.map +0 -1
  133. package/dist/cjs/models/models_0.js.map +0 -1
  134. package/dist/cjs/package.json +0 -91
  135. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  136. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  137. package/dist/cjs/runtimeConfig.js.map +0 -1
  138. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  139. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  140. package/dist/es/AutoScalingPlans.js.map +0 -1
  141. package/dist/es/AutoScalingPlansClient.js.map +0 -1
  142. package/dist/es/commands/CreateScalingPlanCommand.js.map +0 -1
  143. package/dist/es/commands/DeleteScalingPlanCommand.js.map +0 -1
  144. package/dist/es/commands/DescribeScalingPlanResourcesCommand.js.map +0 -1
  145. package/dist/es/commands/DescribeScalingPlansCommand.js.map +0 -1
  146. package/dist/es/commands/GetScalingPlanResourceForecastDataCommand.js.map +0 -1
  147. package/dist/es/commands/UpdateScalingPlanCommand.js.map +0 -1
  148. package/dist/es/endpoints.js.map +0 -1
  149. package/dist/es/index.js.map +0 -1
  150. package/dist/es/models/index.js.map +0 -1
  151. package/dist/es/models/models_0.js.map +0 -1
  152. package/dist/es/package.json +0 -91
  153. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  154. package/dist/es/runtimeConfig.browser.js.map +0 -1
  155. package/dist/es/runtimeConfig.js.map +0 -1
  156. package/dist/es/runtimeConfig.native.js.map +0 -1
  157. 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.34.0",
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/types dist/types/ts3.4",
14
+ "downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
15
15
  "test": "exit 0"
16
16
  },
17
- "main": "./dist/cjs/index.js",
18
- "types": "./dist/types/index.d.ts",
19
- "module": "./dist/es/index.js",
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.34.0",
31
- "@aws-sdk/config-resolver": "3.34.0",
32
- "@aws-sdk/credential-provider-node": "3.34.0",
33
- "@aws-sdk/fetch-http-handler": "3.34.0",
34
- "@aws-sdk/hash-node": "3.34.0",
35
- "@aws-sdk/invalid-dependency": "3.34.0",
36
- "@aws-sdk/middleware-content-length": "3.34.0",
37
- "@aws-sdk/middleware-host-header": "3.34.0",
38
- "@aws-sdk/middleware-logger": "3.34.0",
39
- "@aws-sdk/middleware-retry": "3.34.0",
40
- "@aws-sdk/middleware-serde": "3.34.0",
41
- "@aws-sdk/middleware-signing": "3.34.0",
42
- "@aws-sdk/middleware-stack": "3.34.0",
43
- "@aws-sdk/middleware-user-agent": "3.34.0",
44
- "@aws-sdk/node-config-provider": "3.34.0",
45
- "@aws-sdk/node-http-handler": "3.34.0",
46
- "@aws-sdk/protocol-http": "3.34.0",
47
- "@aws-sdk/smithy-client": "3.34.0",
48
- "@aws-sdk/types": "3.34.0",
49
- "@aws-sdk/url-parser": "3.34.0",
50
- "@aws-sdk/util-base64-browser": "3.34.0",
51
- "@aws-sdk/util-base64-node": "3.34.0",
52
- "@aws-sdk/util-body-length-browser": "3.34.0",
53
- "@aws-sdk/util-body-length-node": "3.34.0",
54
- "@aws-sdk/util-user-agent-browser": "3.34.0",
55
- "@aws-sdk/util-user-agent-node": "3.34.0",
56
- "@aws-sdk/util-utf8-browser": "3.34.0",
57
- "@aws-sdk/util-utf8-node": "3.34.0",
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.34.0",
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/types/*": [
76
- "dist/types/ts3.4/*"
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 { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
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
- let _config_0 = __getRuntimeConfig(configuration);
272
- let _config_1 = resolveRegionConfig(_config_0);
273
- let _config_2 = resolveEndpointsConfig(_config_1);
274
- let _config_3 = resolveRetryConfig(_config_2);
275
- let _config_4 = resolveHostHeaderConfig(_config_3);
276
- let _config_5 = resolveAwsAuthConfig(_config_4);
277
- let _config_6 = resolveUserAgentConfig(_config_5);
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
 
@@ -1,4 +1,4 @@
1
- import { PartitionHash, RegionHash, getRegionInfo } from "@aws-sdk/config-resolver";
1
+ import { getRegionInfo, PartitionHash, RegionHash } from "@aws-sdk/config-resolver";
2
2
  import { RegionInfoProvider } from "@aws-sdk/types";
3
3
 
4
4
  const regionHash: RegionHash = {};
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: string = "UnknownError";
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: string = "UnknownError";
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: string = "UnknownError";
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: string = "UnknownError";
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: string = "UnknownError";
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: string = "UnknownError";
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,4 +1,5 @@
1
1
  import { Sha256 } from "@aws-crypto/sha256-js";
2
+
2
3
  import { AutoScalingPlansClientConfig } from "./AutoScalingPlansClient";
3
4
  import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
4
5
 
@@ -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
@@ -5,6 +5,6 @@
5
5
  "module": "esnext",
6
6
  "moduleResolution": "node",
7
7
  "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"],
8
- "outDir": "dist/es"
8
+ "outDir": "dist-es"
9
9
  }
10
10
  }
package/tsconfig.json CHANGED
@@ -11,7 +11,8 @@
11
11
  "incremental": true,
12
12
  "resolveJsonModule": true,
13
13
  "esModuleInterop": true,
14
- "outDir": "dist/cjs",
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
  }
@@ -3,6 +3,7 @@
3
3
  "compilerOptions": {
4
4
  "removeComments": false,
5
5
  "declaration": true,
6
- "declarationDir": "dist/types"
7
- }
6
+ "declarationDir": "dist-types"
7
+ },
8
+ "exclude": ["test/**/*", "dist-types/**/*"]
8
9
  }