@aws-sdk/client-finspace 3.32.0 → 3.36.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 (140) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/{dist/cjs → dist-cjs}/Finspace.js +1 -2
  3. package/{dist/cjs → dist-cjs}/FinspaceClient.js +8 -9
  4. package/{dist/cjs → dist-cjs}/commands/CreateEnvironmentCommand.js +2 -3
  5. package/{dist/cjs → dist-cjs}/commands/DeleteEnvironmentCommand.js +2 -3
  6. package/{dist/cjs → dist-cjs}/commands/GetEnvironmentCommand.js +2 -3
  7. package/{dist/cjs → dist-cjs}/commands/ListEnvironmentsCommand.js +2 -3
  8. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -3
  9. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -3
  10. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -3
  11. package/{dist/cjs → dist-cjs}/commands/UpdateEnvironmentCommand.js +2 -3
  12. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  13. package/{dist/cjs → dist-cjs}/index.js +0 -1
  14. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  15. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -1
  16. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +2 -3
  17. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
  18. package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
  19. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
  20. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
  21. package/{dist/es → dist-es}/Finspace.js +2 -7
  22. package/{dist/es → dist-es}/FinspaceClient.js +2 -12
  23. package/{dist/es → dist-es}/commands/CreateEnvironmentCommand.js +4 -30
  24. package/{dist/es → dist-es}/commands/DeleteEnvironmentCommand.js +4 -30
  25. package/{dist/es → dist-es}/commands/GetEnvironmentCommand.js +4 -30
  26. package/{dist/es → dist-es}/commands/ListEnvironmentsCommand.js +4 -30
  27. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -30
  28. package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -30
  29. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -30
  30. package/{dist/es → dist-es}/commands/UpdateEnvironmentCommand.js +4 -30
  31. package/{dist/es → dist-es}/endpoints.js +1 -2
  32. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  33. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  34. package/{dist/es → dist-es}/models/models_0.js +0 -79
  35. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +196 -202
  36. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  37. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  38. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  39. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  40. package/{dist/types → dist-types}/Finspace.d.ts +2 -2
  41. package/{dist/types → dist-types}/FinspaceClient.d.ts +8 -8
  42. package/{dist/types → dist-types}/commands/CreateEnvironmentCommand.d.ts +2 -2
  43. package/{dist/types → dist-types}/commands/DeleteEnvironmentCommand.d.ts +2 -2
  44. package/{dist/types → dist-types}/commands/GetEnvironmentCommand.d.ts +2 -2
  45. package/{dist/types → dist-types}/commands/ListEnvironmentsCommand.d.ts +2 -2
  46. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
  47. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
  48. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
  49. package/{dist/types → dist-types}/commands/UpdateEnvironmentCommand.d.ts +2 -2
  50. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  51. package/{index.ts → dist-types/index.d.ts} +0 -0
  52. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  53. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  54. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
  55. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.browser.d.ts +37 -36
  56. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
  57. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
  58. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  59. package/{dist/types → dist-types}/ts3.4/Finspace.d.ts +2 -2
  60. package/{dist/types → dist-types}/ts3.4/FinspaceClient.d.ts +8 -8
  61. package/{dist/types → dist-types}/ts3.4/commands/CreateEnvironmentCommand.d.ts +2 -2
  62. package/{dist/types → dist-types}/ts3.4/commands/DeleteEnvironmentCommand.d.ts +2 -2
  63. package/{dist/types → dist-types}/ts3.4/commands/GetEnvironmentCommand.d.ts +2 -2
  64. package/{dist/types → dist-types}/ts3.4/commands/ListEnvironmentsCommand.d.ts +2 -2
  65. package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -2
  66. package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +2 -2
  67. package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
  68. package/{dist/types → dist-types}/ts3.4/commands/UpdateEnvironmentCommand.d.ts +2 -2
  69. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  70. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  71. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  72. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  73. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
  74. package/{dist/types → dist-types/ts3.4}/runtimeConfig.browser.d.ts +37 -36
  75. package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
  76. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
  77. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  78. package/package.json +52 -49
  79. package/Finspace.ts +0 -294
  80. package/FinspaceClient.ts +0 -263
  81. package/commands/CreateEnvironmentCommand.ts +0 -94
  82. package/commands/DeleteEnvironmentCommand.ts +0 -94
  83. package/commands/GetEnvironmentCommand.ts +0 -94
  84. package/commands/ListEnvironmentsCommand.ts +0 -94
  85. package/commands/ListTagsForResourceCommand.ts +0 -94
  86. package/commands/TagResourceCommand.ts +0 -94
  87. package/commands/UntagResourceCommand.ts +0 -94
  88. package/commands/UpdateEnvironmentCommand.ts +0 -94
  89. package/dist/cjs/Finspace.js.map +0 -1
  90. package/dist/cjs/FinspaceClient.js.map +0 -1
  91. package/dist/cjs/commands/CreateEnvironmentCommand.js.map +0 -1
  92. package/dist/cjs/commands/DeleteEnvironmentCommand.js.map +0 -1
  93. package/dist/cjs/commands/GetEnvironmentCommand.js.map +0 -1
  94. package/dist/cjs/commands/ListEnvironmentsCommand.js.map +0 -1
  95. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  96. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  97. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  98. package/dist/cjs/commands/UpdateEnvironmentCommand.js.map +0 -1
  99. package/dist/cjs/endpoints.js.map +0 -1
  100. package/dist/cjs/index.js.map +0 -1
  101. package/dist/cjs/models/index.js.map +0 -1
  102. package/dist/cjs/models/models_0.js.map +0 -1
  103. package/dist/cjs/package.json +0 -91
  104. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  105. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  106. package/dist/cjs/runtimeConfig.js.map +0 -1
  107. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  108. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  109. package/dist/es/Finspace.js.map +0 -1
  110. package/dist/es/FinspaceClient.js.map +0 -1
  111. package/dist/es/commands/CreateEnvironmentCommand.js.map +0 -1
  112. package/dist/es/commands/DeleteEnvironmentCommand.js.map +0 -1
  113. package/dist/es/commands/GetEnvironmentCommand.js.map +0 -1
  114. package/dist/es/commands/ListEnvironmentsCommand.js.map +0 -1
  115. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  116. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  117. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  118. package/dist/es/commands/UpdateEnvironmentCommand.js.map +0 -1
  119. package/dist/es/endpoints.js.map +0 -1
  120. package/dist/es/index.js +0 -12
  121. package/dist/es/index.js.map +0 -1
  122. package/dist/es/models/index.js +0 -2
  123. package/dist/es/models/index.js.map +0 -1
  124. package/dist/es/models/models_0.js.map +0 -1
  125. package/dist/es/package.json +0 -91
  126. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  127. package/dist/es/runtimeConfig.browser.js.map +0 -1
  128. package/dist/es/runtimeConfig.js.map +0 -1
  129. package/dist/es/runtimeConfig.native.js.map +0 -1
  130. package/dist/es/runtimeConfig.shared.js.map +0 -1
  131. package/endpoints.ts +0 -57
  132. package/jest.config.js +0 -4
  133. package/models/models_0.ts +0 -626
  134. package/protocols/Aws_restJson1.ts +0 -1214
  135. package/runtimeConfig.browser.ts +0 -40
  136. package/runtimeConfig.native.ts +0 -16
  137. package/runtimeConfig.shared.ts +0 -16
  138. package/runtimeConfig.ts +0 -45
  139. package/tsconfig.es.json +0 -12
  140. package/tsconfig.json +0 -32
package/CHANGELOG.md CHANGED
@@ -3,6 +3,50 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
7
+
8
+
9
+ ### Features
10
+
11
+ * publish files in dist-* only ([#2873](https://github.com/aws/aws-sdk-js-v3/issues/2873)) ([53b4243](https://github.com/aws/aws-sdk-js-v3/commit/53b4243b066f25ff2412d5f0dea1036054b2df32))
12
+ * **codegen:** ts-ignore packageInfo imports in codegen ([#2875](https://github.com/aws/aws-sdk-js-v3/issues/2875)) ([99d9267](https://github.com/aws/aws-sdk-js-v3/commit/99d926762193e83a354edec6e9de2b0543449704))
13
+ * **tsconfig:** remove sourceMap ([#2867](https://github.com/aws/aws-sdk-js-v3/issues/2867)) ([d25f526](https://github.com/aws/aws-sdk-js-v3/commit/d25f526627a02a2ca28675fecce66c76b6c97966))
14
+
15
+
16
+
17
+
18
+
19
+ # [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
20
+
21
+
22
+ ### Features
23
+
24
+ * **clients:** eslint --fix using esprint ([#2849](https://github.com/aws/aws-sdk-js-v3/issues/2849)) ([94d0a2d](https://github.com/aws/aws-sdk-js-v3/commit/94d0a2d8a0579ee0a742337937ad05735cfbc1ba))
25
+ * **clients:** move source files to 'src' folder ([#2845](https://github.com/aws/aws-sdk-js-v3/issues/2845)) ([e0025cd](https://github.com/aws/aws-sdk-js-v3/commit/e0025cddbba244a41ddf1fd1adb761142e15c22d))
26
+
27
+
28
+
29
+
30
+
31
+ # [3.34.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.33.0...v3.34.0) (2021-09-24)
32
+
33
+
34
+ ### Features
35
+
36
+ * **clients:** remove comments from transpiled JS files ([#2817](https://github.com/aws/aws-sdk-js-v3/issues/2817)) ([d01420b](https://github.com/aws/aws-sdk-js-v3/commit/d01420b247966c8ec84c1dd0a1b42512ede10c90))
37
+
38
+
39
+
40
+
41
+
42
+ # [3.33.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.32.0...v3.33.0) (2021-09-21)
43
+
44
+ **Note:** Version bump only for package @aws-sdk/client-finspace
45
+
46
+
47
+
48
+
49
+
6
50
  # [3.32.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.31.0...v3.32.0) (2021-09-17)
7
51
 
8
52
  **Note:** Version bump only for package @aws-sdk/client-finspace
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Finspace = void 0;
4
- const FinspaceClient_1 = require("./FinspaceClient");
5
4
  const CreateEnvironmentCommand_1 = require("./commands/CreateEnvironmentCommand");
6
5
  const DeleteEnvironmentCommand_1 = require("./commands/DeleteEnvironmentCommand");
7
6
  const GetEnvironmentCommand_1 = require("./commands/GetEnvironmentCommand");
@@ -10,6 +9,7 @@ const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceComm
10
9
  const TagResourceCommand_1 = require("./commands/TagResourceCommand");
11
10
  const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
12
11
  const UpdateEnvironmentCommand_1 = require("./commands/UpdateEnvironmentCommand");
12
+ const FinspaceClient_1 = require("./FinspaceClient");
13
13
  /**
14
14
  * <p>The FinSpace management service provides the APIs for managing the FinSpace
15
15
  * environments. </p>
@@ -129,4 +129,3 @@ class Finspace extends FinspaceClient_1.FinspaceClient {
129
129
  }
130
130
  }
131
131
  exports.Finspace = Finspace;
132
- //# sourceMappingURL=Finspace.js.map
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.FinspaceClient = void 0;
4
- const runtimeConfig_1 = require("./runtimeConfig");
5
4
  const config_resolver_1 = require("@aws-sdk/config-resolver");
6
5
  const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
7
6
  const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
@@ -10,19 +9,20 @@ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
10
9
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
11
10
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
12
11
  const smithy_client_1 = require("@aws-sdk/smithy-client");
12
+ const runtimeConfig_1 = require("./runtimeConfig");
13
13
  /**
14
14
  * <p>The FinSpace management service provides the APIs for managing the FinSpace
15
15
  * environments. </p>
16
16
  */
17
17
  class FinspaceClient extends smithy_client_1.Client {
18
18
  constructor(configuration) {
19
- let _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
20
- let _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
21
- let _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
22
- let _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
23
- let _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
24
- let _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
25
- let _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
19
+ const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
20
+ const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
21
+ const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
22
+ const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
23
+ const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
24
+ const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
25
+ const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
26
26
  super(_config_6);
27
27
  this.config = _config_6;
28
28
  this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
@@ -42,4 +42,3 @@ class FinspaceClient extends smithy_client_1.Client {
42
42
  }
43
43
  }
44
44
  exports.FinspaceClient = FinspaceClient;
45
- //# sourceMappingURL=FinspaceClient.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreateEnvironmentCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  /**
9
9
  * <p>Create a new FinSpace environment.</p>
10
10
  * @example
@@ -58,4 +58,3 @@ class CreateEnvironmentCommand extends smithy_client_1.Command {
58
58
  }
59
59
  }
60
60
  exports.CreateEnvironmentCommand = CreateEnvironmentCommand;
61
- //# sourceMappingURL=CreateEnvironmentCommand.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeleteEnvironmentCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  /**
9
9
  * <p>Delete an FinSpace environment.</p>
10
10
  * @example
@@ -58,4 +58,3 @@ class DeleteEnvironmentCommand extends smithy_client_1.Command {
58
58
  }
59
59
  }
60
60
  exports.DeleteEnvironmentCommand = DeleteEnvironmentCommand;
61
- //# sourceMappingURL=DeleteEnvironmentCommand.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetEnvironmentCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  /**
9
9
  * <p>Returns the FinSpace environment object.</p>
10
10
  * @example
@@ -58,4 +58,3 @@ class GetEnvironmentCommand extends smithy_client_1.Command {
58
58
  }
59
59
  }
60
60
  exports.GetEnvironmentCommand = GetEnvironmentCommand;
61
- //# sourceMappingURL=GetEnvironmentCommand.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListEnvironmentsCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  /**
9
9
  * <p>A list of all of your FinSpace environments.</p>
10
10
  * @example
@@ -58,4 +58,3 @@ class ListEnvironmentsCommand extends smithy_client_1.Command {
58
58
  }
59
59
  }
60
60
  exports.ListEnvironmentsCommand = ListEnvironmentsCommand;
61
- //# sourceMappingURL=ListEnvironmentsCommand.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListTagsForResourceCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  /**
9
9
  * <p>A list of all tags for a resource.</p>
10
10
  * @example
@@ -58,4 +58,3 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
58
58
  }
59
59
  }
60
60
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
61
- //# sourceMappingURL=ListTagsForResourceCommand.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TagResourceCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  /**
9
9
  * <p>Adds metadata tags to a FinSpace resource.</p>
10
10
  * @example
@@ -58,4 +58,3 @@ class TagResourceCommand extends smithy_client_1.Command {
58
58
  }
59
59
  }
60
60
  exports.TagResourceCommand = TagResourceCommand;
61
- //# sourceMappingURL=TagResourceCommand.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UntagResourceCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  /**
9
9
  * <p>Removes metadata tags from a FinSpace resource.</p>
10
10
  * @example
@@ -58,4 +58,3 @@ class UntagResourceCommand extends smithy_client_1.Command {
58
58
  }
59
59
  }
60
60
  exports.UntagResourceCommand = UntagResourceCommand;
61
- //# sourceMappingURL=UntagResourceCommand.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateEnvironmentCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  /**
9
9
  * <p>Update your FinSpace environment.</p>
10
10
  * @example
@@ -58,4 +58,3 @@ class UpdateEnvironmentCommand extends smithy_client_1.Command {
58
58
  }
59
59
  }
60
60
  exports.UpdateEnvironmentCommand = UpdateEnvironmentCommand;
61
- //# sourceMappingURL=UpdateEnvironmentCommand.js.map
@@ -54,4 +54,3 @@ const defaultRegionInfoProvider = async (region, options) => config_resolver_1.g
54
54
  partitionHash,
55
55
  });
56
56
  exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
57
- //# sourceMappingURL=endpoints.js.map
@@ -12,4 +12,3 @@ tslib_1.__exportStar(require("./commands/TagResourceCommand"), exports);
12
12
  tslib_1.__exportStar(require("./commands/UntagResourceCommand"), exports);
13
13
  tslib_1.__exportStar(require("./commands/UpdateEnvironmentCommand"), exports);
14
14
  tslib_1.__exportStar(require("./models/index"), exports);
15
- //# sourceMappingURL=index.js.map
@@ -2,4 +2,3 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./models_0"), exports);
5
- //# sourceMappingURL=index.js.map
@@ -253,4 +253,3 @@ var UpdateEnvironmentResponse;
253
253
  ...obj,
254
254
  });
255
255
  })(UpdateEnvironmentResponse = exports.UpdateEnvironmentResponse || (exports.UpdateEnvironmentResponse = {}));
256
- //# sourceMappingURL=models_0.js.map
@@ -8,7 +8,7 @@ const serializeAws_restJson1CreateEnvironmentCommand = async (input, context) =>
8
8
  const headers = {
9
9
  "content-type": "application/json",
10
10
  };
11
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/environment";
11
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/environment";
12
12
  let body;
13
13
  body = JSON.stringify({
14
14
  ...(input.description !== undefined && input.description !== null && { description: input.description }),
@@ -88,7 +88,7 @@ exports.serializeAws_restJson1GetEnvironmentCommand = serializeAws_restJson1GetE
88
88
  const serializeAws_restJson1ListEnvironmentsCommand = async (input, context) => {
89
89
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
90
90
  const headers = {};
91
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/environment";
91
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/environment";
92
92
  const query = {
93
93
  ...(input.nextToken !== undefined && { nextToken: input.nextToken }),
94
94
  ...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }),
@@ -1050,4 +1050,3 @@ const loadRestJsonErrorCode = (output, data) => {
1050
1050
  }
1051
1051
  return "";
1052
1052
  };
1053
- //# sourceMappingURL=Aws_restJson1.js.map
@@ -2,7 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const package_json_1 = tslib_1.__importDefault(require("./package.json"));
5
+ // @ts-ignore: package.json will be imported from dist folders
6
+ const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
6
7
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
8
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
8
9
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
@@ -38,4 +39,3 @@ const getRuntimeConfig = (config) => {
38
39
  };
39
40
  };
40
41
  exports.getRuntimeConfig = getRuntimeConfig;
41
- //# sourceMappingURL=runtimeConfig.browser.js.map
@@ -2,7 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const package_json_1 = tslib_1.__importDefault(require("./package.json"));
5
+ // @ts-ignore: package.json will be imported from dist folders
6
+ const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
6
7
  const client_sts_1 = require("@aws-sdk/client-sts");
7
8
  const config_resolver_1 = require("@aws-sdk/config-resolver");
8
9
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
@@ -43,4 +44,3 @@ const getRuntimeConfig = (config) => {
43
44
  };
44
45
  };
45
46
  exports.getRuntimeConfig = getRuntimeConfig;
46
- //# sourceMappingURL=runtimeConfig.js.map
@@ -17,4 +17,3 @@ const getRuntimeConfig = (config) => {
17
17
  };
18
18
  };
19
19
  exports.getRuntimeConfig = getRuntimeConfig;
20
- //# sourceMappingURL=runtimeConfig.native.js.map
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
- const endpoints_1 = require("./endpoints");
5
4
  const url_parser_1 = require("@aws-sdk/url-parser");
5
+ const endpoints_1 = require("./endpoints");
6
6
  /**
7
7
  * @internal
8
8
  */
@@ -18,4 +18,3 @@ const getRuntimeConfig = (config) => {
18
18
  });
19
19
  };
20
20
  exports.getRuntimeConfig = getRuntimeConfig;
21
- //# sourceMappingURL=runtimeConfig.shared.js.map
@@ -1,5 +1,4 @@
1
1
  import { __extends } from "tslib";
2
- import { FinspaceClient } from "./FinspaceClient";
3
2
  import { CreateEnvironmentCommand, } from "./commands/CreateEnvironmentCommand";
4
3
  import { DeleteEnvironmentCommand, } from "./commands/DeleteEnvironmentCommand";
5
4
  import { GetEnvironmentCommand, } from "./commands/GetEnvironmentCommand";
@@ -8,11 +7,8 @@ import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceComma
8
7
  import { TagResourceCommand } from "./commands/TagResourceCommand";
9
8
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
10
9
  import { UpdateEnvironmentCommand, } from "./commands/UpdateEnvironmentCommand";
11
- /**
12
- * <p>The FinSpace management service provides the APIs for managing the FinSpace
13
- * environments. </p>
14
- */
15
- var Finspace = /** @class */ (function (_super) {
10
+ import { FinspaceClient } from "./FinspaceClient";
11
+ var Finspace = (function (_super) {
16
12
  __extends(Finspace, _super);
17
13
  function Finspace() {
18
14
  return _super !== null && _super.apply(this, arguments) || this;
@@ -132,4 +128,3 @@ var Finspace = /** @class */ (function (_super) {
132
128
  return Finspace;
133
129
  }(FinspaceClient));
134
130
  export { Finspace };
135
- //# sourceMappingURL=Finspace.js.map
@@ -1,5 +1,4 @@
1
1
  import { __extends } from "tslib";
2
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
3
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
4
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
5
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,11 +7,8 @@ import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
8
7
  import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
9
8
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
9
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
- /**
12
- * <p>The FinSpace management service provides the APIs for managing the FinSpace
13
- * environments. </p>
14
- */
15
- var FinspaceClient = /** @class */ (function (_super) {
10
+ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
+ var FinspaceClient = (function (_super) {
16
12
  __extends(FinspaceClient, _super);
17
13
  function FinspaceClient(configuration) {
18
14
  var _this = this;
@@ -33,15 +29,9 @@ var FinspaceClient = /** @class */ (function (_super) {
33
29
  _this.middlewareStack.use(getUserAgentPlugin(_this.config));
34
30
  return _this;
35
31
  }
36
- /**
37
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
38
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
39
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
40
- */
41
32
  FinspaceClient.prototype.destroy = function () {
42
33
  _super.prototype.destroy.call(this);
43
34
  };
44
35
  return FinspaceClient;
45
36
  }(__Client));
46
37
  export { FinspaceClient };
47
- //# sourceMappingURL=FinspaceClient.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { CreateEnvironmentRequest, CreateEnvironmentResponse } from "../models/models_0";
3
- import { deserializeAws_restJson1CreateEnvironmentCommand, serializeAws_restJson1CreateEnvironmentCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Create a new FinSpace environment.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { FinspaceClient, CreateEnvironmentCommand } from "@aws-sdk/client-finspace"; // ES Modules import
12
- * // const { FinspaceClient, CreateEnvironmentCommand } = require("@aws-sdk/client-finspace"); // CommonJS import
13
- * const client = new FinspaceClient(config);
14
- * const command = new CreateEnvironmentCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link CreateEnvironmentCommandInput} for command's `input` shape.
19
- * @see {@link CreateEnvironmentCommandOutput} for command's `response` shape.
20
- * @see {@link FinspaceClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var CreateEnvironmentCommand = /** @class */ (function (_super) {
4
+ import { CreateEnvironmentRequest, CreateEnvironmentResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1CreateEnvironmentCommand, serializeAws_restJson1CreateEnvironmentCommand, } from "../protocols/Aws_restJson1";
6
+ var CreateEnvironmentCommand = (function (_super) {
24
7
  __extends(CreateEnvironmentCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function CreateEnvironmentCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  CreateEnvironmentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var CreateEnvironmentCommand = /** @class */ (function (_super) {
62
37
  return CreateEnvironmentCommand;
63
38
  }($Command));
64
39
  export { CreateEnvironmentCommand };
65
- //# sourceMappingURL=CreateEnvironmentCommand.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { DeleteEnvironmentRequest, DeleteEnvironmentResponse } from "../models/models_0";
3
- import { deserializeAws_restJson1DeleteEnvironmentCommand, serializeAws_restJson1DeleteEnvironmentCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Delete an FinSpace environment.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { FinspaceClient, DeleteEnvironmentCommand } from "@aws-sdk/client-finspace"; // ES Modules import
12
- * // const { FinspaceClient, DeleteEnvironmentCommand } = require("@aws-sdk/client-finspace"); // CommonJS import
13
- * const client = new FinspaceClient(config);
14
- * const command = new DeleteEnvironmentCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link DeleteEnvironmentCommandInput} for command's `input` shape.
19
- * @see {@link DeleteEnvironmentCommandOutput} for command's `response` shape.
20
- * @see {@link FinspaceClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var DeleteEnvironmentCommand = /** @class */ (function (_super) {
4
+ import { DeleteEnvironmentRequest, DeleteEnvironmentResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1DeleteEnvironmentCommand, serializeAws_restJson1DeleteEnvironmentCommand, } from "../protocols/Aws_restJson1";
6
+ var DeleteEnvironmentCommand = (function (_super) {
24
7
  __extends(DeleteEnvironmentCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function DeleteEnvironmentCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  DeleteEnvironmentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var DeleteEnvironmentCommand = /** @class */ (function (_super) {
62
37
  return DeleteEnvironmentCommand;
63
38
  }($Command));
64
39
  export { DeleteEnvironmentCommand };
65
- //# sourceMappingURL=DeleteEnvironmentCommand.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { GetEnvironmentRequest, GetEnvironmentResponse } from "../models/models_0";
3
- import { deserializeAws_restJson1GetEnvironmentCommand, serializeAws_restJson1GetEnvironmentCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Returns the FinSpace environment object.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { FinspaceClient, GetEnvironmentCommand } from "@aws-sdk/client-finspace"; // ES Modules import
12
- * // const { FinspaceClient, GetEnvironmentCommand } = require("@aws-sdk/client-finspace"); // CommonJS import
13
- * const client = new FinspaceClient(config);
14
- * const command = new GetEnvironmentCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link GetEnvironmentCommandInput} for command's `input` shape.
19
- * @see {@link GetEnvironmentCommandOutput} for command's `response` shape.
20
- * @see {@link FinspaceClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var GetEnvironmentCommand = /** @class */ (function (_super) {
4
+ import { GetEnvironmentRequest, GetEnvironmentResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetEnvironmentCommand, serializeAws_restJson1GetEnvironmentCommand, } from "../protocols/Aws_restJson1";
6
+ var GetEnvironmentCommand = (function (_super) {
24
7
  __extends(GetEnvironmentCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function GetEnvironmentCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  GetEnvironmentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var GetEnvironmentCommand = /** @class */ (function (_super) {
62
37
  return GetEnvironmentCommand;
63
38
  }($Command));
64
39
  export { GetEnvironmentCommand };
65
- //# sourceMappingURL=GetEnvironmentCommand.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { ListEnvironmentsRequest, ListEnvironmentsResponse } from "../models/models_0";
3
- import { deserializeAws_restJson1ListEnvironmentsCommand, serializeAws_restJson1ListEnvironmentsCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>A list of all of your FinSpace environments.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { FinspaceClient, ListEnvironmentsCommand } from "@aws-sdk/client-finspace"; // ES Modules import
12
- * // const { FinspaceClient, ListEnvironmentsCommand } = require("@aws-sdk/client-finspace"); // CommonJS import
13
- * const client = new FinspaceClient(config);
14
- * const command = new ListEnvironmentsCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link ListEnvironmentsCommandInput} for command's `input` shape.
19
- * @see {@link ListEnvironmentsCommandOutput} for command's `response` shape.
20
- * @see {@link FinspaceClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var ListEnvironmentsCommand = /** @class */ (function (_super) {
4
+ import { ListEnvironmentsRequest, ListEnvironmentsResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListEnvironmentsCommand, serializeAws_restJson1ListEnvironmentsCommand, } from "../protocols/Aws_restJson1";
6
+ var ListEnvironmentsCommand = (function (_super) {
24
7
  __extends(ListEnvironmentsCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function ListEnvironmentsCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  ListEnvironmentsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var ListEnvironmentsCommand = /** @class */ (function (_super) {
62
37
  return ListEnvironmentsCommand;
63
38
  }($Command));
64
39
  export { ListEnvironmentsCommand };
65
- //# sourceMappingURL=ListEnvironmentsCommand.js.map