@aws-sdk/client-continuum 0.0.0-stage → 3.1156.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 (202) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +412 -2
  3. package/dist-cjs/index.js +2581 -0
  4. package/dist-es/Continuum.js +95 -0
  5. package/dist-es/ContinuumClient.js +47 -0
  6. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  7. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  8. package/dist-es/commandBuilder.js +6 -0
  9. package/dist-es/commands/AssociateCollectorCommand.js +4 -0
  10. package/dist-es/commands/CreateCodeFindingCommand.js +4 -0
  11. package/dist-es/commands/CreateCodeScanCommand.js +4 -0
  12. package/dist-es/commands/CreateCollectorCommand.js +4 -0
  13. package/dist-es/commands/CreateEnvironmentCommand.js +4 -0
  14. package/dist-es/commands/CreateIntegrationCommand.js +4 -0
  15. package/dist-es/commands/DeleteCollectorCommand.js +4 -0
  16. package/dist-es/commands/DeleteEnvironmentCommand.js +4 -0
  17. package/dist-es/commands/DeleteIntegrationCommand.js +4 -0
  18. package/dist-es/commands/DisassociateCollectorCommand.js +4 -0
  19. package/dist-es/commands/GetCodeFindingCommand.js +4 -0
  20. package/dist-es/commands/GetCodeIssueArtifactCommand.js +4 -0
  21. package/dist-es/commands/GetCodeIssueCommand.js +4 -0
  22. package/dist-es/commands/GetCodeScanCommand.js +4 -0
  23. package/dist-es/commands/GetCollectorCommand.js +4 -0
  24. package/dist-es/commands/GetCollectorDataAccessAuthorizationCommand.js +4 -0
  25. package/dist-es/commands/GetEnvironmentCommand.js +4 -0
  26. package/dist-es/commands/GetIntegrationCommand.js +4 -0
  27. package/dist-es/commands/GetResourcePolicyCommand.js +4 -0
  28. package/dist-es/commands/ListAssociatedCollectorsCommand.js +4 -0
  29. package/dist-es/commands/ListAssociatedEnvironmentsCommand.js +4 -0
  30. package/dist-es/commands/ListCodeFindingsCommand.js +4 -0
  31. package/dist-es/commands/ListCodeIssueArtifactsCommand.js +4 -0
  32. package/dist-es/commands/ListCodeIssuesCommand.js +4 -0
  33. package/dist-es/commands/ListCodeScansCommand.js +4 -0
  34. package/dist-es/commands/ListCollectorsCommand.js +4 -0
  35. package/dist-es/commands/ListEnvironmentsCommand.js +4 -0
  36. package/dist-es/commands/ListIntegrationsCommand.js +4 -0
  37. package/dist-es/commands/PutResourcePolicyCommand.js +4 -0
  38. package/dist-es/commands/StartIntegrationAuthorizationCommand.js +4 -0
  39. package/dist-es/commands/UpdateCollectorCommand.js +4 -0
  40. package/dist-es/commands/UpdateEnvironmentCommand.js +4 -0
  41. package/dist-es/commands/UpdateIntegrationCommand.js +4 -0
  42. package/dist-es/commands/index.js +33 -0
  43. package/dist-es/endpoint/EndpointParameters.js +11 -0
  44. package/dist-es/endpoint/bdd.js +29 -0
  45. package/dist-es/endpoint/endpointResolver.js +14 -0
  46. package/dist-es/extensionConfiguration.js +1 -0
  47. package/dist-es/index.js +11 -0
  48. package/dist-es/models/ContinuumServiceException.js +9 -0
  49. package/dist-es/models/enums.js +334 -0
  50. package/dist-es/models/errors.js +102 -0
  51. package/dist-es/models/models_0.js +1 -0
  52. package/dist-es/pagination/Interfaces.js +1 -0
  53. package/dist-es/pagination/ListAssociatedCollectorsPaginator.js +4 -0
  54. package/dist-es/pagination/ListAssociatedEnvironmentsPaginator.js +4 -0
  55. package/dist-es/pagination/ListCodeFindingsPaginator.js +4 -0
  56. package/dist-es/pagination/ListCodeIssueArtifactsPaginator.js +4 -0
  57. package/dist-es/pagination/ListCodeIssuesPaginator.js +4 -0
  58. package/dist-es/pagination/ListCodeScansPaginator.js +4 -0
  59. package/dist-es/pagination/ListEnvironmentsPaginator.js +4 -0
  60. package/dist-es/pagination/ListIntegrationsPaginator.js +4 -0
  61. package/dist-es/pagination/index.js +9 -0
  62. package/dist-es/runtimeConfig.browser.js +29 -0
  63. package/dist-es/runtimeConfig.js +43 -0
  64. package/dist-es/runtimeConfig.native.js +9 -0
  65. package/dist-es/runtimeConfig.shared.js +40 -0
  66. package/dist-es/runtimeExtensions.js +9 -0
  67. package/dist-es/schemas/schemas_0.js +1399 -0
  68. package/dist-es/waiters/index.js +1 -0
  69. package/dist-es/waiters/waitForCodeScanSucceeded.js +40 -0
  70. package/dist-types/Continuum.d.ts +315 -0
  71. package/dist-types/ContinuumClient.d.ts +221 -0
  72. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  73. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  74. package/dist-types/commandBuilder.d.ts +18 -0
  75. package/dist-types/commands/AssociateCollectorCommand.d.ts +96 -0
  76. package/dist-types/commands/CreateCodeFindingCommand.d.ts +94 -0
  77. package/dist-types/commands/CreateCodeScanCommand.d.ts +115 -0
  78. package/dist-types/commands/CreateCollectorCommand.d.ts +97 -0
  79. package/dist-types/commands/CreateEnvironmentCommand.d.ts +123 -0
  80. package/dist-types/commands/CreateIntegrationCommand.d.ts +130 -0
  81. package/dist-types/commands/DeleteCollectorCommand.d.ts +86 -0
  82. package/dist-types/commands/DeleteEnvironmentCommand.d.ts +86 -0
  83. package/dist-types/commands/DeleteIntegrationCommand.d.ts +92 -0
  84. package/dist-types/commands/DisassociateCollectorCommand.d.ts +84 -0
  85. package/dist-types/commands/GetCodeFindingCommand.d.ts +228 -0
  86. package/dist-types/commands/GetCodeIssueArtifactCommand.d.ts +285 -0
  87. package/dist-types/commands/GetCodeIssueCommand.d.ts +113 -0
  88. package/dist-types/commands/GetCodeScanCommand.d.ts +94 -0
  89. package/dist-types/commands/GetCollectorCommand.d.ts +92 -0
  90. package/dist-types/commands/GetCollectorDataAccessAuthorizationCommand.d.ts +93 -0
  91. package/dist-types/commands/GetEnvironmentCommand.d.ts +133 -0
  92. package/dist-types/commands/GetIntegrationCommand.d.ts +106 -0
  93. package/dist-types/commands/GetResourcePolicyCommand.d.ts +87 -0
  94. package/dist-types/commands/ListAssociatedCollectorsCommand.d.ts +93 -0
  95. package/dist-types/commands/ListAssociatedEnvironmentsCommand.d.ts +96 -0
  96. package/dist-types/commands/ListCodeFindingsCommand.d.ts +112 -0
  97. package/dist-types/commands/ListCodeIssueArtifactsCommand.d.ts +101 -0
  98. package/dist-types/commands/ListCodeIssuesCommand.d.ts +103 -0
  99. package/dist-types/commands/ListCodeScansCommand.d.ts +98 -0
  100. package/dist-types/commands/ListCollectorsCommand.d.ts +88 -0
  101. package/dist-types/commands/ListEnvironmentsCommand.d.ts +92 -0
  102. package/dist-types/commands/ListIntegrationsCommand.d.ts +109 -0
  103. package/dist-types/commands/PutResourcePolicyCommand.d.ts +92 -0
  104. package/dist-types/commands/StartIntegrationAuthorizationCommand.d.ts +89 -0
  105. package/dist-types/commands/UpdateCollectorCommand.d.ts +103 -0
  106. package/dist-types/commands/UpdateEnvironmentCommand.d.ts +165 -0
  107. package/dist-types/commands/UpdateIntegrationCommand.d.ts +125 -0
  108. package/dist-types/commands/index.d.ts +33 -0
  109. package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
  110. package/dist-types/endpoint/bdd.d.ts +2 -0
  111. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  112. package/dist-types/extensionConfiguration.d.ts +9 -0
  113. package/dist-types/index.d.ts +20 -0
  114. package/dist-types/models/ContinuumServiceException.d.ts +15 -0
  115. package/dist-types/models/enums.d.ts +1003 -0
  116. package/dist-types/models/errors.d.ts +108 -0
  117. package/dist-types/models/models_0.d.ts +4202 -0
  118. package/dist-types/pagination/Interfaces.d.ts +8 -0
  119. package/dist-types/pagination/ListAssociatedCollectorsPaginator.d.ts +7 -0
  120. package/dist-types/pagination/ListAssociatedEnvironmentsPaginator.d.ts +7 -0
  121. package/dist-types/pagination/ListCodeFindingsPaginator.d.ts +7 -0
  122. package/dist-types/pagination/ListCodeIssueArtifactsPaginator.d.ts +7 -0
  123. package/dist-types/pagination/ListCodeIssuesPaginator.d.ts +7 -0
  124. package/dist-types/pagination/ListCodeScansPaginator.d.ts +7 -0
  125. package/dist-types/pagination/ListEnvironmentsPaginator.d.ts +7 -0
  126. package/dist-types/pagination/ListIntegrationsPaginator.d.ts +7 -0
  127. package/dist-types/pagination/index.d.ts +9 -0
  128. package/dist-types/runtimeConfig.browser.d.ts +57 -0
  129. package/dist-types/runtimeConfig.d.ts +57 -0
  130. package/dist-types/runtimeConfig.native.d.ts +56 -0
  131. package/dist-types/runtimeConfig.shared.d.ts +28 -0
  132. package/dist-types/runtimeExtensions.d.ts +17 -0
  133. package/dist-types/schemas/schemas_0.d.ts +187 -0
  134. package/dist-types/ts3.4/Continuum.d.ts +642 -0
  135. package/dist-types/ts3.4/ContinuumClient.d.ts +296 -0
  136. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +25 -0
  137. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
  138. package/dist-types/ts3.4/commandBuilder.d.ts +40 -0
  139. package/dist-types/ts3.4/commands/AssociateCollectorCommand.d.ts +39 -0
  140. package/dist-types/ts3.4/commands/CreateCodeFindingCommand.d.ts +38 -0
  141. package/dist-types/ts3.4/commands/CreateCodeScanCommand.d.ts +38 -0
  142. package/dist-types/ts3.4/commands/CreateCollectorCommand.d.ts +38 -0
  143. package/dist-types/ts3.4/commands/CreateEnvironmentCommand.d.ts +38 -0
  144. package/dist-types/ts3.4/commands/CreateIntegrationCommand.d.ts +38 -0
  145. package/dist-types/ts3.4/commands/DeleteCollectorCommand.d.ts +38 -0
  146. package/dist-types/ts3.4/commands/DeleteEnvironmentCommand.d.ts +38 -0
  147. package/dist-types/ts3.4/commands/DeleteIntegrationCommand.d.ts +38 -0
  148. package/dist-types/ts3.4/commands/DisassociateCollectorCommand.d.ts +38 -0
  149. package/dist-types/ts3.4/commands/GetCodeFindingCommand.d.ts +38 -0
  150. package/dist-types/ts3.4/commands/GetCodeIssueArtifactCommand.d.ts +39 -0
  151. package/dist-types/ts3.4/commands/GetCodeIssueCommand.d.ts +38 -0
  152. package/dist-types/ts3.4/commands/GetCodeScanCommand.d.ts +38 -0
  153. package/dist-types/ts3.4/commands/GetCollectorCommand.d.ts +38 -0
  154. package/dist-types/ts3.4/commands/GetCollectorDataAccessAuthorizationCommand.d.ts +42 -0
  155. package/dist-types/ts3.4/commands/GetEnvironmentCommand.d.ts +38 -0
  156. package/dist-types/ts3.4/commands/GetIntegrationCommand.d.ts +38 -0
  157. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +38 -0
  158. package/dist-types/ts3.4/commands/ListAssociatedCollectorsCommand.d.ts +39 -0
  159. package/dist-types/ts3.4/commands/ListAssociatedEnvironmentsCommand.d.ts +42 -0
  160. package/dist-types/ts3.4/commands/ListCodeFindingsCommand.d.ts +38 -0
  161. package/dist-types/ts3.4/commands/ListCodeIssueArtifactsCommand.d.ts +39 -0
  162. package/dist-types/ts3.4/commands/ListCodeIssuesCommand.d.ts +38 -0
  163. package/dist-types/ts3.4/commands/ListCodeScansCommand.d.ts +38 -0
  164. package/dist-types/ts3.4/commands/ListCollectorsCommand.d.ts +38 -0
  165. package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +38 -0
  166. package/dist-types/ts3.4/commands/ListIntegrationsCommand.d.ts +38 -0
  167. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +38 -0
  168. package/dist-types/ts3.4/commands/StartIntegrationAuthorizationCommand.d.ts +42 -0
  169. package/dist-types/ts3.4/commands/UpdateCollectorCommand.d.ts +38 -0
  170. package/dist-types/ts3.4/commands/UpdateEnvironmentCommand.d.ts +38 -0
  171. package/dist-types/ts3.4/commands/UpdateIntegrationCommand.d.ts +38 -0
  172. package/dist-types/ts3.4/commands/index.d.ts +33 -0
  173. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  174. package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
  175. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  176. package/dist-types/ts3.4/extensionConfiguration.d.ts +10 -0
  177. package/dist-types/ts3.4/index.d.ts +14 -0
  178. package/dist-types/ts3.4/models/ContinuumServiceException.d.ts +10 -0
  179. package/dist-types/ts3.4/models/enums.d.ts +387 -0
  180. package/dist-types/ts3.4/models/errors.d.ts +52 -0
  181. package/dist-types/ts3.4/models/models_0.d.ts +1056 -0
  182. package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  183. package/dist-types/ts3.4/pagination/ListAssociatedCollectorsPaginator.d.ts +11 -0
  184. package/dist-types/ts3.4/pagination/ListAssociatedEnvironmentsPaginator.d.ts +11 -0
  185. package/dist-types/ts3.4/pagination/ListCodeFindingsPaginator.d.ts +11 -0
  186. package/dist-types/ts3.4/pagination/ListCodeIssueArtifactsPaginator.d.ts +11 -0
  187. package/dist-types/ts3.4/pagination/ListCodeIssuesPaginator.d.ts +11 -0
  188. package/dist-types/ts3.4/pagination/ListCodeScansPaginator.d.ts +11 -0
  189. package/dist-types/ts3.4/pagination/ListEnvironmentsPaginator.d.ts +11 -0
  190. package/dist-types/ts3.4/pagination/ListIntegrationsPaginator.d.ts +11 -0
  191. package/dist-types/ts3.4/pagination/index.d.ts +9 -0
  192. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
  193. package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
  194. package/dist-types/ts3.4/runtimeConfig.native.d.ts +97 -0
  195. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +31 -0
  196. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  197. package/dist-types/ts3.4/schemas/schemas_0.d.ts +187 -0
  198. package/dist-types/ts3.4/waiters/index.d.ts +1 -0
  199. package/dist-types/ts3.4/waiters/waitForCodeScanSucceeded.d.ts +12 -0
  200. package/dist-types/waiters/index.d.ts +1 -0
  201. package/dist-types/waiters/waitForCodeScanSucceeded.d.ts +15 -0
  202. package/package.json +67 -4
@@ -0,0 +1,95 @@
1
+ import { createAggregatedClient } from "@smithy/core/client";
2
+ import { AssociateCollectorCommand, } from "./commands/AssociateCollectorCommand";
3
+ import { CreateCodeFindingCommand, } from "./commands/CreateCodeFindingCommand";
4
+ import { CreateCodeScanCommand, } from "./commands/CreateCodeScanCommand";
5
+ import { CreateCollectorCommand, } from "./commands/CreateCollectorCommand";
6
+ import { CreateEnvironmentCommand, } from "./commands/CreateEnvironmentCommand";
7
+ import { CreateIntegrationCommand, } from "./commands/CreateIntegrationCommand";
8
+ import { DeleteCollectorCommand, } from "./commands/DeleteCollectorCommand";
9
+ import { DeleteEnvironmentCommand, } from "./commands/DeleteEnvironmentCommand";
10
+ import { DeleteIntegrationCommand, } from "./commands/DeleteIntegrationCommand";
11
+ import { DisassociateCollectorCommand, } from "./commands/DisassociateCollectorCommand";
12
+ import { GetCodeFindingCommand, } from "./commands/GetCodeFindingCommand";
13
+ import { GetCodeIssueArtifactCommand, } from "./commands/GetCodeIssueArtifactCommand";
14
+ import { GetCodeIssueCommand, } from "./commands/GetCodeIssueCommand";
15
+ import { GetCodeScanCommand, } from "./commands/GetCodeScanCommand";
16
+ import { GetCollectorCommand, } from "./commands/GetCollectorCommand";
17
+ import { GetCollectorDataAccessAuthorizationCommand, } from "./commands/GetCollectorDataAccessAuthorizationCommand";
18
+ import { GetEnvironmentCommand, } from "./commands/GetEnvironmentCommand";
19
+ import { GetIntegrationCommand, } from "./commands/GetIntegrationCommand";
20
+ import { GetResourcePolicyCommand, } from "./commands/GetResourcePolicyCommand";
21
+ import { ListAssociatedCollectorsCommand, } from "./commands/ListAssociatedCollectorsCommand";
22
+ import { ListAssociatedEnvironmentsCommand, } from "./commands/ListAssociatedEnvironmentsCommand";
23
+ import { ListCodeFindingsCommand, } from "./commands/ListCodeFindingsCommand";
24
+ import { ListCodeIssueArtifactsCommand, } from "./commands/ListCodeIssueArtifactsCommand";
25
+ import { ListCodeIssuesCommand, } from "./commands/ListCodeIssuesCommand";
26
+ import { ListCodeScansCommand, } from "./commands/ListCodeScansCommand";
27
+ import { ListCollectorsCommand, } from "./commands/ListCollectorsCommand";
28
+ import { ListEnvironmentsCommand, } from "./commands/ListEnvironmentsCommand";
29
+ import { ListIntegrationsCommand, } from "./commands/ListIntegrationsCommand";
30
+ import { PutResourcePolicyCommand, } from "./commands/PutResourcePolicyCommand";
31
+ import { StartIntegrationAuthorizationCommand, } from "./commands/StartIntegrationAuthorizationCommand";
32
+ import { UpdateCollectorCommand, } from "./commands/UpdateCollectorCommand";
33
+ import { UpdateEnvironmentCommand, } from "./commands/UpdateEnvironmentCommand";
34
+ import { UpdateIntegrationCommand, } from "./commands/UpdateIntegrationCommand";
35
+ import { ContinuumClient } from "./ContinuumClient";
36
+ import { paginateListAssociatedCollectors } from "./pagination/ListAssociatedCollectorsPaginator";
37
+ import { paginateListAssociatedEnvironments } from "./pagination/ListAssociatedEnvironmentsPaginator";
38
+ import { paginateListCodeFindings } from "./pagination/ListCodeFindingsPaginator";
39
+ import { paginateListCodeIssueArtifacts } from "./pagination/ListCodeIssueArtifactsPaginator";
40
+ import { paginateListCodeIssues } from "./pagination/ListCodeIssuesPaginator";
41
+ import { paginateListCodeScans } from "./pagination/ListCodeScansPaginator";
42
+ import { paginateListEnvironments } from "./pagination/ListEnvironmentsPaginator";
43
+ import { paginateListIntegrations } from "./pagination/ListIntegrationsPaginator";
44
+ import { waitUntilCodeScanSucceeded } from "./waiters/waitForCodeScanSucceeded";
45
+ const commands = {
46
+ AssociateCollectorCommand,
47
+ CreateCodeFindingCommand,
48
+ CreateCodeScanCommand,
49
+ CreateCollectorCommand,
50
+ CreateEnvironmentCommand,
51
+ CreateIntegrationCommand,
52
+ DeleteCollectorCommand,
53
+ DeleteEnvironmentCommand,
54
+ DeleteIntegrationCommand,
55
+ DisassociateCollectorCommand,
56
+ GetCodeFindingCommand,
57
+ GetCodeIssueCommand,
58
+ GetCodeIssueArtifactCommand,
59
+ GetCodeScanCommand,
60
+ GetCollectorCommand,
61
+ GetCollectorDataAccessAuthorizationCommand,
62
+ GetEnvironmentCommand,
63
+ GetIntegrationCommand,
64
+ GetResourcePolicyCommand,
65
+ ListAssociatedCollectorsCommand,
66
+ ListAssociatedEnvironmentsCommand,
67
+ ListCodeFindingsCommand,
68
+ ListCodeIssueArtifactsCommand,
69
+ ListCodeIssuesCommand,
70
+ ListCodeScansCommand,
71
+ ListCollectorsCommand,
72
+ ListEnvironmentsCommand,
73
+ ListIntegrationsCommand,
74
+ PutResourcePolicyCommand,
75
+ StartIntegrationAuthorizationCommand,
76
+ UpdateCollectorCommand,
77
+ UpdateEnvironmentCommand,
78
+ UpdateIntegrationCommand,
79
+ };
80
+ const paginators = {
81
+ paginateListAssociatedCollectors,
82
+ paginateListAssociatedEnvironments,
83
+ paginateListCodeFindings,
84
+ paginateListCodeIssueArtifacts,
85
+ paginateListCodeIssues,
86
+ paginateListCodeScans,
87
+ paginateListEnvironments,
88
+ paginateListIntegrations,
89
+ };
90
+ const waiters = {
91
+ waitUntilCodeScanSucceeded,
92
+ };
93
+ export class Continuum extends ContinuumClient {
94
+ }
95
+ createAggregatedClient(commands, Continuum, { paginators, waiters });
@@ -0,0 +1,47 @@
1
+ import { getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin, getUserAgentPlugin, resolveHostHeaderConfig, resolveUserAgentConfig, } from "@aws-sdk/core/client";
2
+ import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
3
+ import { Client as __Client, } from "@smithy/core/client";
4
+ import { resolveRegionConfig } from "@smithy/core/config";
5
+ import { resolveEndpointConfig } from "@smithy/core/endpoints";
6
+ import { getContentLengthPlugin } from "@smithy/core/protocols";
7
+ import { getRetryPlugin, resolveRetryConfig, } from "@smithy/core/retry";
8
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
9
+ import { defaultContinuumHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
10
+ import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
11
+ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
12
+ import { resolveRuntimeExtensions } from "./runtimeExtensions";
13
+ export { __Client };
14
+ export class ContinuumClient extends __Client {
15
+ config;
16
+ constructor(...[configuration]) {
17
+ const _config_0 = __getRuntimeConfig(configuration || {});
18
+ super(_config_0);
19
+ this.initConfig = _config_0;
20
+ const _config_1 = resolveClientEndpointParameters(_config_0);
21
+ const _config_2 = resolveUserAgentConfig(_config_1);
22
+ const _config_3 = resolveRetryConfig(_config_2);
23
+ const _config_4 = resolveRegionConfig(_config_3);
24
+ const _config_5 = resolveHostHeaderConfig(_config_4);
25
+ const _config_6 = resolveEndpointConfig(_config_5);
26
+ const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
27
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
28
+ this.config = _config_8;
29
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
30
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
31
+ this.middlewareStack.use(getRetryPlugin(this.config));
32
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
33
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
34
+ this.middlewareStack.use(getLoggerPlugin(this.config));
35
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
36
+ this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
37
+ httpAuthSchemeParametersProvider: defaultContinuumHttpAuthSchemeParametersProvider,
38
+ identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
39
+ "aws.auth#sigv4": config.credentials,
40
+ }),
41
+ }));
42
+ this.middlewareStack.use(getHttpSigningPlugin(this.config));
43
+ }
44
+ destroy() {
45
+ super.destroy();
46
+ }
47
+ }
@@ -0,0 +1,38 @@
1
+ export const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
2
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
3
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
4
+ let _credentials = runtimeConfig.credentials;
5
+ return {
6
+ setHttpAuthScheme(httpAuthScheme) {
7
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
8
+ if (index === -1) {
9
+ _httpAuthSchemes.push(httpAuthScheme);
10
+ }
11
+ else {
12
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
13
+ }
14
+ },
15
+ httpAuthSchemes() {
16
+ return _httpAuthSchemes;
17
+ },
18
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
19
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
20
+ },
21
+ httpAuthSchemeProvider() {
22
+ return _httpAuthSchemeProvider;
23
+ },
24
+ setCredentials(credentials) {
25
+ _credentials = credentials;
26
+ },
27
+ credentials() {
28
+ return _credentials;
29
+ },
30
+ };
31
+ };
32
+ export const resolveHttpAuthRuntimeConfig = (config) => {
33
+ return {
34
+ httpAuthSchemes: config.httpAuthSchemes(),
35
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
36
+ credentials: config.credentials(),
37
+ };
38
+ };
@@ -0,0 +1,40 @@
1
+ import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core/httpAuthSchemes";
2
+ import { getSmithyContext, normalizeProvider } from "@smithy/core/client";
3
+ export const defaultContinuumHttpAuthSchemeParametersProvider = async (config, context, input) => {
4
+ return {
5
+ operation: getSmithyContext(context).operation,
6
+ region: await normalizeProvider(config.region)() || (() => {
7
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
8
+ })(),
9
+ };
10
+ };
11
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
12
+ return {
13
+ schemeId: "aws.auth#sigv4",
14
+ signingProperties: {
15
+ name: "continuum",
16
+ region: authParameters.region,
17
+ },
18
+ propertiesExtractor: (config, context) => ({
19
+ signingProperties: {
20
+ config,
21
+ context,
22
+ },
23
+ }),
24
+ };
25
+ }
26
+ export const defaultContinuumHttpAuthSchemeProvider = (authParameters) => {
27
+ const options = [];
28
+ switch (authParameters.operation) {
29
+ default: {
30
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
31
+ }
32
+ }
33
+ return options;
34
+ };
35
+ export const resolveHttpAuthSchemeConfig = (config) => {
36
+ const config_0 = resolveAwsSdkSigV4Config(config);
37
+ return Object.assign(config_0, {
38
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
39
+ });
40
+ };
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "ContinuumControlPlane", "ContinuumClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { AssociateCollector$ } from "../schemas/schemas_0";
3
+ export class AssociateCollectorCommand extends command(_ep0, _mw0, "AssociateCollector", AssociateCollector$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { CreateCodeFinding$ } from "../schemas/schemas_0";
3
+ export class CreateCodeFindingCommand extends command(_ep0, _mw0, "CreateCodeFinding", CreateCodeFinding$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { CreateCodeScan$ } from "../schemas/schemas_0";
3
+ export class CreateCodeScanCommand extends command(_ep0, _mw0, "CreateCodeScan", CreateCodeScan$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { CreateCollector$ } from "../schemas/schemas_0";
3
+ export class CreateCollectorCommand extends command(_ep0, _mw0, "CreateCollector", CreateCollector$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { CreateEnvironment$ } from "../schemas/schemas_0";
3
+ export class CreateEnvironmentCommand extends command(_ep0, _mw0, "CreateEnvironment", CreateEnvironment$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { CreateIntegration$ } from "../schemas/schemas_0";
3
+ export class CreateIntegrationCommand extends command(_ep0, _mw0, "CreateIntegration", CreateIntegration$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { DeleteCollector$ } from "../schemas/schemas_0";
3
+ export class DeleteCollectorCommand extends command(_ep0, _mw0, "DeleteCollector", DeleteCollector$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { DeleteEnvironment$ } from "../schemas/schemas_0";
3
+ export class DeleteEnvironmentCommand extends command(_ep0, _mw0, "DeleteEnvironment", DeleteEnvironment$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { DeleteIntegration$ } from "../schemas/schemas_0";
3
+ export class DeleteIntegrationCommand extends command(_ep0, _mw0, "DeleteIntegration", DeleteIntegration$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { DisassociateCollector$ } from "../schemas/schemas_0";
3
+ export class DisassociateCollectorCommand extends command(_ep0, _mw0, "DisassociateCollector", DisassociateCollector$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { GetCodeFinding$ } from "../schemas/schemas_0";
3
+ export class GetCodeFindingCommand extends command(_ep0, _mw0, "GetCodeFinding", GetCodeFinding$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { GetCodeIssueArtifact$ } from "../schemas/schemas_0";
3
+ export class GetCodeIssueArtifactCommand extends command(_ep0, _mw0, "GetCodeIssueArtifact", GetCodeIssueArtifact$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { GetCodeIssue$ } from "../schemas/schemas_0";
3
+ export class GetCodeIssueCommand extends command(_ep0, _mw0, "GetCodeIssue", GetCodeIssue$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { GetCodeScan$ } from "../schemas/schemas_0";
3
+ export class GetCodeScanCommand extends command(_ep0, _mw0, "GetCodeScan", GetCodeScan$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { GetCollector$ } from "../schemas/schemas_0";
3
+ export class GetCollectorCommand extends command(_ep0, _mw0, "GetCollector", GetCollector$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { GetCollectorDataAccessAuthorization$ } from "../schemas/schemas_0";
3
+ export class GetCollectorDataAccessAuthorizationCommand extends command(_ep0, _mw0, "GetCollectorDataAccessAuthorization", GetCollectorDataAccessAuthorization$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { GetEnvironment$ } from "../schemas/schemas_0";
3
+ export class GetEnvironmentCommand extends command(_ep0, _mw0, "GetEnvironment", GetEnvironment$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { GetIntegration$ } from "../schemas/schemas_0";
3
+ export class GetIntegrationCommand extends command(_ep0, _mw0, "GetIntegration", GetIntegration$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { GetResourcePolicy$ } from "../schemas/schemas_0";
3
+ export class GetResourcePolicyCommand extends command(_ep0, _mw0, "GetResourcePolicy", GetResourcePolicy$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { ListAssociatedCollectors$ } from "../schemas/schemas_0";
3
+ export class ListAssociatedCollectorsCommand extends command(_ep0, _mw0, "ListAssociatedCollectors", ListAssociatedCollectors$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { ListAssociatedEnvironments$ } from "../schemas/schemas_0";
3
+ export class ListAssociatedEnvironmentsCommand extends command(_ep0, _mw0, "ListAssociatedEnvironments", ListAssociatedEnvironments$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { ListCodeFindings$ } from "../schemas/schemas_0";
3
+ export class ListCodeFindingsCommand extends command(_ep0, _mw0, "ListCodeFindings", ListCodeFindings$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { ListCodeIssueArtifacts$ } from "../schemas/schemas_0";
3
+ export class ListCodeIssueArtifactsCommand extends command(_ep0, _mw0, "ListCodeIssueArtifacts", ListCodeIssueArtifacts$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { ListCodeIssues$ } from "../schemas/schemas_0";
3
+ export class ListCodeIssuesCommand extends command(_ep0, _mw0, "ListCodeIssues", ListCodeIssues$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { ListCodeScans$ } from "../schemas/schemas_0";
3
+ export class ListCodeScansCommand extends command(_ep0, _mw0, "ListCodeScans", ListCodeScans$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { ListCollectors$ } from "../schemas/schemas_0";
3
+ export class ListCollectorsCommand extends command(_ep0, _mw0, "ListCollectors", ListCollectors$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { ListEnvironments$ } from "../schemas/schemas_0";
3
+ export class ListEnvironmentsCommand extends command(_ep0, _mw0, "ListEnvironments", ListEnvironments$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { ListIntegrations$ } from "../schemas/schemas_0";
3
+ export class ListIntegrationsCommand extends command(_ep0, _mw0, "ListIntegrations", ListIntegrations$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { PutResourcePolicy$ } from "../schemas/schemas_0";
3
+ export class PutResourcePolicyCommand extends command(_ep0, _mw0, "PutResourcePolicy", PutResourcePolicy$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { StartIntegrationAuthorization$ } from "../schemas/schemas_0";
3
+ export class StartIntegrationAuthorizationCommand extends command(_ep0, _mw0, "StartIntegrationAuthorization", StartIntegrationAuthorization$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { UpdateCollector$ } from "../schemas/schemas_0";
3
+ export class UpdateCollectorCommand extends command(_ep0, _mw0, "UpdateCollector", UpdateCollector$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { UpdateEnvironment$ } from "../schemas/schemas_0";
3
+ export class UpdateEnvironmentCommand extends command(_ep0, _mw0, "UpdateEnvironment", UpdateEnvironment$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { UpdateIntegration$ } from "../schemas/schemas_0";
3
+ export class UpdateIntegrationCommand extends command(_ep0, _mw0, "UpdateIntegration", UpdateIntegration$) {
4
+ }
@@ -0,0 +1,33 @@
1
+ export * from "./AssociateCollectorCommand";
2
+ export * from "./CreateCodeFindingCommand";
3
+ export * from "./CreateCodeScanCommand";
4
+ export * from "./CreateCollectorCommand";
5
+ export * from "./CreateEnvironmentCommand";
6
+ export * from "./CreateIntegrationCommand";
7
+ export * from "./DeleteCollectorCommand";
8
+ export * from "./DeleteEnvironmentCommand";
9
+ export * from "./DeleteIntegrationCommand";
10
+ export * from "./DisassociateCollectorCommand";
11
+ export * from "./GetCodeFindingCommand";
12
+ export * from "./GetCodeIssueArtifactCommand";
13
+ export * from "./GetCodeIssueCommand";
14
+ export * from "./GetCodeScanCommand";
15
+ export * from "./GetCollectorCommand";
16
+ export * from "./GetCollectorDataAccessAuthorizationCommand";
17
+ export * from "./GetEnvironmentCommand";
18
+ export * from "./GetIntegrationCommand";
19
+ export * from "./GetResourcePolicyCommand";
20
+ export * from "./ListAssociatedCollectorsCommand";
21
+ export * from "./ListAssociatedEnvironmentsCommand";
22
+ export * from "./ListCodeFindingsCommand";
23
+ export * from "./ListCodeIssueArtifactsCommand";
24
+ export * from "./ListCodeIssuesCommand";
25
+ export * from "./ListCodeScansCommand";
26
+ export * from "./ListCollectorsCommand";
27
+ export * from "./ListEnvironmentsCommand";
28
+ export * from "./ListIntegrationsCommand";
29
+ export * from "./PutResourcePolicyCommand";
30
+ export * from "./StartIntegrationAuthorizationCommand";
31
+ export * from "./UpdateCollectorCommand";
32
+ export * from "./UpdateEnvironmentCommand";
33
+ export * from "./UpdateIntegrationCommand";
@@ -0,0 +1,11 @@
1
+ export const resolveClientEndpointParameters = (options) => {
2
+ return Object.assign(options, {
3
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
4
+ defaultSigningName: "continuum",
5
+ });
6
+ };
7
+ export const commonParams = {
8
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
9
+ Endpoint: { type: "builtInParams", name: "endpoint" },
10
+ Region: { type: "builtInParams", name: "region" },
11
+ };
@@ -0,0 +1,29 @@
1
+ import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
2
+ const a = "isSet", b = { "ref": "Endpoint" }, c = [{ "ref": "Region" }];
3
+ const _data = {
4
+ conditions: [
5
+ [a, [b]],
6
+ [a, c],
7
+ ["aws.partition", c, "PartitionResult"],
8
+ ["booleanEquals", [{ ref: "UseFIPS" }, true]]
9
+ ],
10
+ results: [
11
+ [-1],
12
+ [-1, "Invalid Configuration: FIPS and custom endpoint are not supported"],
13
+ [b, {}],
14
+ ["https://continuum-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", {}],
15
+ ["https://continuum.{Region}.{PartitionResult#dualStackDnsSuffix}", {}],
16
+ [-1, "Invalid Configuration: Missing Region"]
17
+ ]
18
+ };
19
+ const root = 2;
20
+ const r = 100_000_000;
21
+ const nodes = new Int32Array([
22
+ -1, 1, -1,
23
+ 0, 6, 3,
24
+ 1, 4, r + 5,
25
+ 2, 5, r + 5,
26
+ 3, r + 3, r + 4,
27
+ 3, r + 1, r + 2,
28
+ ]);
29
+ export const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
@@ -0,0 +1,14 @@
1
+ import { awsEndpointFunctions } from "@aws-sdk/core/client";
2
+ import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/core/endpoints";
3
+ import { bdd } from "./bdd";
4
+ const cache = new EndpointCache({
5
+ size: 50,
6
+ params: ["Endpoint", "Region", "UseFIPS"],
7
+ });
8
+ export const defaultEndpointResolver = (endpointParams, context = {}) => {
9
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
10
+ endpointParams: endpointParams,
11
+ logger: context.logger,
12
+ }));
13
+ };
14
+ customEndpointFunctions.aws = awsEndpointFunctions;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,11 @@
1
+ export * from "./ContinuumClient";
2
+ export * from "./Continuum";
3
+ export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
5
+ export * from "./pagination";
6
+ export * from "./waiters";
7
+ export * from "./schemas/schemas_0";
8
+ export * from "./models/enums";
9
+ export * from "./models/errors";
10
+ export * from "./models/models_0";
11
+ export { ContinuumServiceException } from "./models/ContinuumServiceException";
@@ -0,0 +1,9 @@
1
+ import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
+ export { __ServiceException };
3
+ export class ContinuumServiceException extends __ServiceException {
4
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.continuum#ContinuumServiceException";
5
+ constructor(options) {
6
+ super(options);
7
+ Object.setPrototypeOf(this, ContinuumServiceException.prototype);
8
+ }
9
+ }