@aws-sdk/client-continuum 0.0.0-stage → 3.1157.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 @@
1
+ export * from "./waitForCodeScanSucceeded";
@@ -0,0 +1,40 @@
1
+ import { checkExceptions, createWaiter, WaiterState, } from "@smithy/core/client";
2
+ import { GetCodeScanCommand, } from "../commands/GetCodeScanCommand";
3
+ const checkState = async (client, input) => {
4
+ let reason;
5
+ try {
6
+ let result = await client.send(new GetCodeScanCommand(input));
7
+ reason = result;
8
+ try {
9
+ const returnComparator = () => {
10
+ return result.scan.status;
11
+ };
12
+ if (returnComparator() === "SUCCEEDED") {
13
+ return { state: WaiterState.SUCCESS, reason };
14
+ }
15
+ }
16
+ catch (e) { }
17
+ try {
18
+ const returnComparator = () => {
19
+ return result.scan.status;
20
+ };
21
+ if (returnComparator() === "FAILED") {
22
+ return { state: WaiterState.FAILURE, reason };
23
+ }
24
+ }
25
+ catch (e) { }
26
+ }
27
+ catch (exception) {
28
+ reason = exception;
29
+ }
30
+ return { state: WaiterState.RETRY, reason };
31
+ };
32
+ export const waitForCodeScanSucceeded = async (params, input) => {
33
+ const serviceDefaults = { minDelay: 60, maxDelay: 28800 };
34
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
35
+ };
36
+ export const waitUntilCodeScanSucceeded = async (params, input) => {
37
+ const serviceDefaults = { minDelay: 60, maxDelay: 28800 };
38
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
39
+ return checkExceptions(result);
40
+ };
@@ -0,0 +1,315 @@
1
+ import { type WaiterResult } from "@smithy/core/client";
2
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
3
+ import { type AssociateCollectorCommandInput, type AssociateCollectorCommandOutput } from "./commands/AssociateCollectorCommand";
4
+ import { type CreateCodeFindingCommandInput, type CreateCodeFindingCommandOutput } from "./commands/CreateCodeFindingCommand";
5
+ import { type CreateCodeScanCommandInput, type CreateCodeScanCommandOutput } from "./commands/CreateCodeScanCommand";
6
+ import { type CreateCollectorCommandInput, type CreateCollectorCommandOutput } from "./commands/CreateCollectorCommand";
7
+ import { type CreateEnvironmentCommandInput, type CreateEnvironmentCommandOutput } from "./commands/CreateEnvironmentCommand";
8
+ import { type CreateIntegrationCommandInput, type CreateIntegrationCommandOutput } from "./commands/CreateIntegrationCommand";
9
+ import { type DeleteCollectorCommandInput, type DeleteCollectorCommandOutput } from "./commands/DeleteCollectorCommand";
10
+ import { type DeleteEnvironmentCommandInput, type DeleteEnvironmentCommandOutput } from "./commands/DeleteEnvironmentCommand";
11
+ import { type DeleteIntegrationCommandInput, type DeleteIntegrationCommandOutput } from "./commands/DeleteIntegrationCommand";
12
+ import { type DisassociateCollectorCommandInput, type DisassociateCollectorCommandOutput } from "./commands/DisassociateCollectorCommand";
13
+ import { type GetCodeFindingCommandInput, type GetCodeFindingCommandOutput } from "./commands/GetCodeFindingCommand";
14
+ import { type GetCodeIssueArtifactCommandInput, type GetCodeIssueArtifactCommandOutput } from "./commands/GetCodeIssueArtifactCommand";
15
+ import { type GetCodeIssueCommandInput, type GetCodeIssueCommandOutput } from "./commands/GetCodeIssueCommand";
16
+ import { type GetCodeScanCommandInput, type GetCodeScanCommandOutput } from "./commands/GetCodeScanCommand";
17
+ import { type GetCollectorCommandInput, type GetCollectorCommandOutput } from "./commands/GetCollectorCommand";
18
+ import { type GetCollectorDataAccessAuthorizationCommandInput, type GetCollectorDataAccessAuthorizationCommandOutput } from "./commands/GetCollectorDataAccessAuthorizationCommand";
19
+ import { type GetEnvironmentCommandInput, type GetEnvironmentCommandOutput } from "./commands/GetEnvironmentCommand";
20
+ import { type GetIntegrationCommandInput, type GetIntegrationCommandOutput } from "./commands/GetIntegrationCommand";
21
+ import { type GetResourcePolicyCommandInput, type GetResourcePolicyCommandOutput } from "./commands/GetResourcePolicyCommand";
22
+ import { type ListAssociatedCollectorsCommandInput, type ListAssociatedCollectorsCommandOutput } from "./commands/ListAssociatedCollectorsCommand";
23
+ import { type ListAssociatedEnvironmentsCommandInput, type ListAssociatedEnvironmentsCommandOutput } from "./commands/ListAssociatedEnvironmentsCommand";
24
+ import { type ListCodeFindingsCommandInput, type ListCodeFindingsCommandOutput } from "./commands/ListCodeFindingsCommand";
25
+ import { type ListCodeIssueArtifactsCommandInput, type ListCodeIssueArtifactsCommandOutput } from "./commands/ListCodeIssueArtifactsCommand";
26
+ import { type ListCodeIssuesCommandInput, type ListCodeIssuesCommandOutput } from "./commands/ListCodeIssuesCommand";
27
+ import { type ListCodeScansCommandInput, type ListCodeScansCommandOutput } from "./commands/ListCodeScansCommand";
28
+ import { type ListCollectorsCommandInput, type ListCollectorsCommandOutput } from "./commands/ListCollectorsCommand";
29
+ import { type ListEnvironmentsCommandInput, type ListEnvironmentsCommandOutput } from "./commands/ListEnvironmentsCommand";
30
+ import { type ListIntegrationsCommandInput, type ListIntegrationsCommandOutput } from "./commands/ListIntegrationsCommand";
31
+ import { type PutResourcePolicyCommandInput, type PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
32
+ import { type StartIntegrationAuthorizationCommandInput, type StartIntegrationAuthorizationCommandOutput } from "./commands/StartIntegrationAuthorizationCommand";
33
+ import { type UpdateCollectorCommandInput, type UpdateCollectorCommandOutput } from "./commands/UpdateCollectorCommand";
34
+ import { type UpdateEnvironmentCommandInput, type UpdateEnvironmentCommandOutput } from "./commands/UpdateEnvironmentCommand";
35
+ import { type UpdateIntegrationCommandInput, type UpdateIntegrationCommandOutput } from "./commands/UpdateIntegrationCommand";
36
+ import { ContinuumClient } from "./ContinuumClient";
37
+ /**
38
+ * @public
39
+ */
40
+ export interface ContinuumRequestOptions extends __HttpHandlerOptions {
41
+ metricsRecorder?: __MetricsRecorder<unknown>;
42
+ }
43
+ export interface Continuum {
44
+ /**
45
+ * @see {@link AssociateCollectorCommand}
46
+ */
47
+ associateCollector(args: AssociateCollectorCommandInput, options?: ContinuumRequestOptions): Promise<AssociateCollectorCommandOutput>;
48
+ associateCollector(args: AssociateCollectorCommandInput, cb: (err: any, data?: AssociateCollectorCommandOutput) => void): void;
49
+ associateCollector(args: AssociateCollectorCommandInput, options: ContinuumRequestOptions, cb: (err: any, data?: AssociateCollectorCommandOutput) => void): void;
50
+ /**
51
+ * @see {@link CreateCodeFindingCommand}
52
+ */
53
+ createCodeFinding(args: CreateCodeFindingCommandInput, options?: ContinuumRequestOptions): Promise<CreateCodeFindingCommandOutput>;
54
+ createCodeFinding(args: CreateCodeFindingCommandInput, cb: (err: any, data?: CreateCodeFindingCommandOutput) => void): void;
55
+ createCodeFinding(args: CreateCodeFindingCommandInput, options: ContinuumRequestOptions, cb: (err: any, data?: CreateCodeFindingCommandOutput) => void): void;
56
+ /**
57
+ * @see {@link CreateCodeScanCommand}
58
+ */
59
+ createCodeScan(args: CreateCodeScanCommandInput, options?: ContinuumRequestOptions): Promise<CreateCodeScanCommandOutput>;
60
+ createCodeScan(args: CreateCodeScanCommandInput, cb: (err: any, data?: CreateCodeScanCommandOutput) => void): void;
61
+ createCodeScan(args: CreateCodeScanCommandInput, options: ContinuumRequestOptions, cb: (err: any, data?: CreateCodeScanCommandOutput) => void): void;
62
+ /**
63
+ * @see {@link CreateCollectorCommand}
64
+ */
65
+ createCollector(): Promise<CreateCollectorCommandOutput>;
66
+ createCollector(args: CreateCollectorCommandInput, options?: ContinuumRequestOptions): Promise<CreateCollectorCommandOutput>;
67
+ createCollector(args: CreateCollectorCommandInput, cb: (err: any, data?: CreateCollectorCommandOutput) => void): void;
68
+ createCollector(args: CreateCollectorCommandInput, options: ContinuumRequestOptions, cb: (err: any, data?: CreateCollectorCommandOutput) => void): void;
69
+ /**
70
+ * @see {@link CreateEnvironmentCommand}
71
+ */
72
+ createEnvironment(args: CreateEnvironmentCommandInput, options?: ContinuumRequestOptions): Promise<CreateEnvironmentCommandOutput>;
73
+ createEnvironment(args: CreateEnvironmentCommandInput, cb: (err: any, data?: CreateEnvironmentCommandOutput) => void): void;
74
+ createEnvironment(args: CreateEnvironmentCommandInput, options: ContinuumRequestOptions, cb: (err: any, data?: CreateEnvironmentCommandOutput) => void): void;
75
+ /**
76
+ * @see {@link CreateIntegrationCommand}
77
+ */
78
+ createIntegration(args: CreateIntegrationCommandInput, options?: ContinuumRequestOptions): Promise<CreateIntegrationCommandOutput>;
79
+ createIntegration(args: CreateIntegrationCommandInput, cb: (err: any, data?: CreateIntegrationCommandOutput) => void): void;
80
+ createIntegration(args: CreateIntegrationCommandInput, options: ContinuumRequestOptions, cb: (err: any, data?: CreateIntegrationCommandOutput) => void): void;
81
+ /**
82
+ * @see {@link DeleteCollectorCommand}
83
+ */
84
+ deleteCollector(args: DeleteCollectorCommandInput, options?: ContinuumRequestOptions): Promise<DeleteCollectorCommandOutput>;
85
+ deleteCollector(args: DeleteCollectorCommandInput, cb: (err: any, data?: DeleteCollectorCommandOutput) => void): void;
86
+ deleteCollector(args: DeleteCollectorCommandInput, options: ContinuumRequestOptions, cb: (err: any, data?: DeleteCollectorCommandOutput) => void): void;
87
+ /**
88
+ * @see {@link DeleteEnvironmentCommand}
89
+ */
90
+ deleteEnvironment(args: DeleteEnvironmentCommandInput, options?: ContinuumRequestOptions): Promise<DeleteEnvironmentCommandOutput>;
91
+ deleteEnvironment(args: DeleteEnvironmentCommandInput, cb: (err: any, data?: DeleteEnvironmentCommandOutput) => void): void;
92
+ deleteEnvironment(args: DeleteEnvironmentCommandInput, options: ContinuumRequestOptions, cb: (err: any, data?: DeleteEnvironmentCommandOutput) => void): void;
93
+ /**
94
+ * @see {@link DeleteIntegrationCommand}
95
+ */
96
+ deleteIntegration(args: DeleteIntegrationCommandInput, options?: ContinuumRequestOptions): Promise<DeleteIntegrationCommandOutput>;
97
+ deleteIntegration(args: DeleteIntegrationCommandInput, cb: (err: any, data?: DeleteIntegrationCommandOutput) => void): void;
98
+ deleteIntegration(args: DeleteIntegrationCommandInput, options: ContinuumRequestOptions, cb: (err: any, data?: DeleteIntegrationCommandOutput) => void): void;
99
+ /**
100
+ * @see {@link DisassociateCollectorCommand}
101
+ */
102
+ disassociateCollector(args: DisassociateCollectorCommandInput, options?: ContinuumRequestOptions): Promise<DisassociateCollectorCommandOutput>;
103
+ disassociateCollector(args: DisassociateCollectorCommandInput, cb: (err: any, data?: DisassociateCollectorCommandOutput) => void): void;
104
+ disassociateCollector(args: DisassociateCollectorCommandInput, options: ContinuumRequestOptions, cb: (err: any, data?: DisassociateCollectorCommandOutput) => void): void;
105
+ /**
106
+ * @see {@link GetCodeFindingCommand}
107
+ */
108
+ getCodeFinding(args: GetCodeFindingCommandInput, options?: ContinuumRequestOptions): Promise<GetCodeFindingCommandOutput>;
109
+ getCodeFinding(args: GetCodeFindingCommandInput, cb: (err: any, data?: GetCodeFindingCommandOutput) => void): void;
110
+ getCodeFinding(args: GetCodeFindingCommandInput, options: ContinuumRequestOptions, cb: (err: any, data?: GetCodeFindingCommandOutput) => void): void;
111
+ /**
112
+ * @see {@link GetCodeIssueCommand}
113
+ */
114
+ getCodeIssue(args: GetCodeIssueCommandInput, options?: ContinuumRequestOptions): Promise<GetCodeIssueCommandOutput>;
115
+ getCodeIssue(args: GetCodeIssueCommandInput, cb: (err: any, data?: GetCodeIssueCommandOutput) => void): void;
116
+ getCodeIssue(args: GetCodeIssueCommandInput, options: ContinuumRequestOptions, cb: (err: any, data?: GetCodeIssueCommandOutput) => void): void;
117
+ /**
118
+ * @see {@link GetCodeIssueArtifactCommand}
119
+ */
120
+ getCodeIssueArtifact(args: GetCodeIssueArtifactCommandInput, options?: ContinuumRequestOptions): Promise<GetCodeIssueArtifactCommandOutput>;
121
+ getCodeIssueArtifact(args: GetCodeIssueArtifactCommandInput, cb: (err: any, data?: GetCodeIssueArtifactCommandOutput) => void): void;
122
+ getCodeIssueArtifact(args: GetCodeIssueArtifactCommandInput, options: ContinuumRequestOptions, cb: (err: any, data?: GetCodeIssueArtifactCommandOutput) => void): void;
123
+ /**
124
+ * @see {@link GetCodeScanCommand}
125
+ */
126
+ getCodeScan(args: GetCodeScanCommandInput, options?: ContinuumRequestOptions): Promise<GetCodeScanCommandOutput>;
127
+ getCodeScan(args: GetCodeScanCommandInput, cb: (err: any, data?: GetCodeScanCommandOutput) => void): void;
128
+ getCodeScan(args: GetCodeScanCommandInput, options: ContinuumRequestOptions, cb: (err: any, data?: GetCodeScanCommandOutput) => void): void;
129
+ /**
130
+ * @see {@link GetCollectorCommand}
131
+ */
132
+ getCollector(args: GetCollectorCommandInput, options?: ContinuumRequestOptions): Promise<GetCollectorCommandOutput>;
133
+ getCollector(args: GetCollectorCommandInput, cb: (err: any, data?: GetCollectorCommandOutput) => void): void;
134
+ getCollector(args: GetCollectorCommandInput, options: ContinuumRequestOptions, cb: (err: any, data?: GetCollectorCommandOutput) => void): void;
135
+ /**
136
+ * @see {@link GetCollectorDataAccessAuthorizationCommand}
137
+ */
138
+ getCollectorDataAccessAuthorization(args: GetCollectorDataAccessAuthorizationCommandInput, options?: ContinuumRequestOptions): Promise<GetCollectorDataAccessAuthorizationCommandOutput>;
139
+ getCollectorDataAccessAuthorization(args: GetCollectorDataAccessAuthorizationCommandInput, cb: (err: any, data?: GetCollectorDataAccessAuthorizationCommandOutput) => void): void;
140
+ getCollectorDataAccessAuthorization(args: GetCollectorDataAccessAuthorizationCommandInput, options: ContinuumRequestOptions, cb: (err: any, data?: GetCollectorDataAccessAuthorizationCommandOutput) => void): void;
141
+ /**
142
+ * @see {@link GetEnvironmentCommand}
143
+ */
144
+ getEnvironment(args: GetEnvironmentCommandInput, options?: ContinuumRequestOptions): Promise<GetEnvironmentCommandOutput>;
145
+ getEnvironment(args: GetEnvironmentCommandInput, cb: (err: any, data?: GetEnvironmentCommandOutput) => void): void;
146
+ getEnvironment(args: GetEnvironmentCommandInput, options: ContinuumRequestOptions, cb: (err: any, data?: GetEnvironmentCommandOutput) => void): void;
147
+ /**
148
+ * @see {@link GetIntegrationCommand}
149
+ */
150
+ getIntegration(args: GetIntegrationCommandInput, options?: ContinuumRequestOptions): Promise<GetIntegrationCommandOutput>;
151
+ getIntegration(args: GetIntegrationCommandInput, cb: (err: any, data?: GetIntegrationCommandOutput) => void): void;
152
+ getIntegration(args: GetIntegrationCommandInput, options: ContinuumRequestOptions, cb: (err: any, data?: GetIntegrationCommandOutput) => void): void;
153
+ /**
154
+ * @see {@link GetResourcePolicyCommand}
155
+ */
156
+ getResourcePolicy(args: GetResourcePolicyCommandInput, options?: ContinuumRequestOptions): Promise<GetResourcePolicyCommandOutput>;
157
+ getResourcePolicy(args: GetResourcePolicyCommandInput, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
158
+ getResourcePolicy(args: GetResourcePolicyCommandInput, options: ContinuumRequestOptions, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
159
+ /**
160
+ * @see {@link ListAssociatedCollectorsCommand}
161
+ */
162
+ listAssociatedCollectors(args: ListAssociatedCollectorsCommandInput, options?: ContinuumRequestOptions): Promise<ListAssociatedCollectorsCommandOutput>;
163
+ listAssociatedCollectors(args: ListAssociatedCollectorsCommandInput, cb: (err: any, data?: ListAssociatedCollectorsCommandOutput) => void): void;
164
+ listAssociatedCollectors(args: ListAssociatedCollectorsCommandInput, options: ContinuumRequestOptions, cb: (err: any, data?: ListAssociatedCollectorsCommandOutput) => void): void;
165
+ /**
166
+ * @see {@link ListAssociatedEnvironmentsCommand}
167
+ */
168
+ listAssociatedEnvironments(args: ListAssociatedEnvironmentsCommandInput, options?: ContinuumRequestOptions): Promise<ListAssociatedEnvironmentsCommandOutput>;
169
+ listAssociatedEnvironments(args: ListAssociatedEnvironmentsCommandInput, cb: (err: any, data?: ListAssociatedEnvironmentsCommandOutput) => void): void;
170
+ listAssociatedEnvironments(args: ListAssociatedEnvironmentsCommandInput, options: ContinuumRequestOptions, cb: (err: any, data?: ListAssociatedEnvironmentsCommandOutput) => void): void;
171
+ /**
172
+ * @see {@link ListCodeFindingsCommand}
173
+ */
174
+ listCodeFindings(args: ListCodeFindingsCommandInput, options?: ContinuumRequestOptions): Promise<ListCodeFindingsCommandOutput>;
175
+ listCodeFindings(args: ListCodeFindingsCommandInput, cb: (err: any, data?: ListCodeFindingsCommandOutput) => void): void;
176
+ listCodeFindings(args: ListCodeFindingsCommandInput, options: ContinuumRequestOptions, cb: (err: any, data?: ListCodeFindingsCommandOutput) => void): void;
177
+ /**
178
+ * @see {@link ListCodeIssueArtifactsCommand}
179
+ */
180
+ listCodeIssueArtifacts(args: ListCodeIssueArtifactsCommandInput, options?: ContinuumRequestOptions): Promise<ListCodeIssueArtifactsCommandOutput>;
181
+ listCodeIssueArtifacts(args: ListCodeIssueArtifactsCommandInput, cb: (err: any, data?: ListCodeIssueArtifactsCommandOutput) => void): void;
182
+ listCodeIssueArtifacts(args: ListCodeIssueArtifactsCommandInput, options: ContinuumRequestOptions, cb: (err: any, data?: ListCodeIssueArtifactsCommandOutput) => void): void;
183
+ /**
184
+ * @see {@link ListCodeIssuesCommand}
185
+ */
186
+ listCodeIssues(args: ListCodeIssuesCommandInput, options?: ContinuumRequestOptions): Promise<ListCodeIssuesCommandOutput>;
187
+ listCodeIssues(args: ListCodeIssuesCommandInput, cb: (err: any, data?: ListCodeIssuesCommandOutput) => void): void;
188
+ listCodeIssues(args: ListCodeIssuesCommandInput, options: ContinuumRequestOptions, cb: (err: any, data?: ListCodeIssuesCommandOutput) => void): void;
189
+ /**
190
+ * @see {@link ListCodeScansCommand}
191
+ */
192
+ listCodeScans(args: ListCodeScansCommandInput, options?: ContinuumRequestOptions): Promise<ListCodeScansCommandOutput>;
193
+ listCodeScans(args: ListCodeScansCommandInput, cb: (err: any, data?: ListCodeScansCommandOutput) => void): void;
194
+ listCodeScans(args: ListCodeScansCommandInput, options: ContinuumRequestOptions, cb: (err: any, data?: ListCodeScansCommandOutput) => void): void;
195
+ /**
196
+ * @see {@link ListCollectorsCommand}
197
+ */
198
+ listCollectors(): Promise<ListCollectorsCommandOutput>;
199
+ listCollectors(args: ListCollectorsCommandInput, options?: ContinuumRequestOptions): Promise<ListCollectorsCommandOutput>;
200
+ listCollectors(args: ListCollectorsCommandInput, cb: (err: any, data?: ListCollectorsCommandOutput) => void): void;
201
+ listCollectors(args: ListCollectorsCommandInput, options: ContinuumRequestOptions, cb: (err: any, data?: ListCollectorsCommandOutput) => void): void;
202
+ /**
203
+ * @see {@link ListEnvironmentsCommand}
204
+ */
205
+ listEnvironments(): Promise<ListEnvironmentsCommandOutput>;
206
+ listEnvironments(args: ListEnvironmentsCommandInput, options?: ContinuumRequestOptions): Promise<ListEnvironmentsCommandOutput>;
207
+ listEnvironments(args: ListEnvironmentsCommandInput, cb: (err: any, data?: ListEnvironmentsCommandOutput) => void): void;
208
+ listEnvironments(args: ListEnvironmentsCommandInput, options: ContinuumRequestOptions, cb: (err: any, data?: ListEnvironmentsCommandOutput) => void): void;
209
+ /**
210
+ * @see {@link ListIntegrationsCommand}
211
+ */
212
+ listIntegrations(): Promise<ListIntegrationsCommandOutput>;
213
+ listIntegrations(args: ListIntegrationsCommandInput, options?: ContinuumRequestOptions): Promise<ListIntegrationsCommandOutput>;
214
+ listIntegrations(args: ListIntegrationsCommandInput, cb: (err: any, data?: ListIntegrationsCommandOutput) => void): void;
215
+ listIntegrations(args: ListIntegrationsCommandInput, options: ContinuumRequestOptions, cb: (err: any, data?: ListIntegrationsCommandOutput) => void): void;
216
+ /**
217
+ * @see {@link PutResourcePolicyCommand}
218
+ */
219
+ putResourcePolicy(args: PutResourcePolicyCommandInput, options?: ContinuumRequestOptions): Promise<PutResourcePolicyCommandOutput>;
220
+ putResourcePolicy(args: PutResourcePolicyCommandInput, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
221
+ putResourcePolicy(args: PutResourcePolicyCommandInput, options: ContinuumRequestOptions, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
222
+ /**
223
+ * @see {@link StartIntegrationAuthorizationCommand}
224
+ */
225
+ startIntegrationAuthorization(args: StartIntegrationAuthorizationCommandInput, options?: ContinuumRequestOptions): Promise<StartIntegrationAuthorizationCommandOutput>;
226
+ startIntegrationAuthorization(args: StartIntegrationAuthorizationCommandInput, cb: (err: any, data?: StartIntegrationAuthorizationCommandOutput) => void): void;
227
+ startIntegrationAuthorization(args: StartIntegrationAuthorizationCommandInput, options: ContinuumRequestOptions, cb: (err: any, data?: StartIntegrationAuthorizationCommandOutput) => void): void;
228
+ /**
229
+ * @see {@link UpdateCollectorCommand}
230
+ */
231
+ updateCollector(args: UpdateCollectorCommandInput, options?: ContinuumRequestOptions): Promise<UpdateCollectorCommandOutput>;
232
+ updateCollector(args: UpdateCollectorCommandInput, cb: (err: any, data?: UpdateCollectorCommandOutput) => void): void;
233
+ updateCollector(args: UpdateCollectorCommandInput, options: ContinuumRequestOptions, cb: (err: any, data?: UpdateCollectorCommandOutput) => void): void;
234
+ /**
235
+ * @see {@link UpdateEnvironmentCommand}
236
+ */
237
+ updateEnvironment(args: UpdateEnvironmentCommandInput, options?: ContinuumRequestOptions): Promise<UpdateEnvironmentCommandOutput>;
238
+ updateEnvironment(args: UpdateEnvironmentCommandInput, cb: (err: any, data?: UpdateEnvironmentCommandOutput) => void): void;
239
+ updateEnvironment(args: UpdateEnvironmentCommandInput, options: ContinuumRequestOptions, cb: (err: any, data?: UpdateEnvironmentCommandOutput) => void): void;
240
+ /**
241
+ * @see {@link UpdateIntegrationCommand}
242
+ */
243
+ updateIntegration(args: UpdateIntegrationCommandInput, options?: ContinuumRequestOptions): Promise<UpdateIntegrationCommandOutput>;
244
+ updateIntegration(args: UpdateIntegrationCommandInput, cb: (err: any, data?: UpdateIntegrationCommandOutput) => void): void;
245
+ updateIntegration(args: UpdateIntegrationCommandInput, options: ContinuumRequestOptions, cb: (err: any, data?: UpdateIntegrationCommandOutput) => void): void;
246
+ /**
247
+ * @see {@link ListAssociatedCollectorsCommand}
248
+ * @param args - command input.
249
+ * @param paginationConfig - optional pagination config.
250
+ * @returns AsyncIterable of {@link ListAssociatedCollectorsCommandOutput}.
251
+ */
252
+ paginateListAssociatedCollectors(args: ListAssociatedCollectorsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAssociatedCollectorsCommandOutput>;
253
+ /**
254
+ * @see {@link ListAssociatedEnvironmentsCommand}
255
+ * @param args - command input.
256
+ * @param paginationConfig - optional pagination config.
257
+ * @returns AsyncIterable of {@link ListAssociatedEnvironmentsCommandOutput}.
258
+ */
259
+ paginateListAssociatedEnvironments(args: ListAssociatedEnvironmentsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAssociatedEnvironmentsCommandOutput>;
260
+ /**
261
+ * @see {@link ListCodeFindingsCommand}
262
+ * @param args - command input.
263
+ * @param paginationConfig - optional pagination config.
264
+ * @returns AsyncIterable of {@link ListCodeFindingsCommandOutput}.
265
+ */
266
+ paginateListCodeFindings(args: ListCodeFindingsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListCodeFindingsCommandOutput>;
267
+ /**
268
+ * @see {@link ListCodeIssueArtifactsCommand}
269
+ * @param args - command input.
270
+ * @param paginationConfig - optional pagination config.
271
+ * @returns AsyncIterable of {@link ListCodeIssueArtifactsCommandOutput}.
272
+ */
273
+ paginateListCodeIssueArtifacts(args: ListCodeIssueArtifactsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListCodeIssueArtifactsCommandOutput>;
274
+ /**
275
+ * @see {@link ListCodeIssuesCommand}
276
+ * @param args - command input.
277
+ * @param paginationConfig - optional pagination config.
278
+ * @returns AsyncIterable of {@link ListCodeIssuesCommandOutput}.
279
+ */
280
+ paginateListCodeIssues(args: ListCodeIssuesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListCodeIssuesCommandOutput>;
281
+ /**
282
+ * @see {@link ListCodeScansCommand}
283
+ * @param args - command input.
284
+ * @param paginationConfig - optional pagination config.
285
+ * @returns AsyncIterable of {@link ListCodeScansCommandOutput}.
286
+ */
287
+ paginateListCodeScans(args: ListCodeScansCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListCodeScansCommandOutput>;
288
+ /**
289
+ * @see {@link ListEnvironmentsCommand}
290
+ * @param args - command input.
291
+ * @param paginationConfig - optional pagination config.
292
+ * @returns AsyncIterable of {@link ListEnvironmentsCommandOutput}.
293
+ */
294
+ paginateListEnvironments(args?: ListEnvironmentsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListEnvironmentsCommandOutput>;
295
+ /**
296
+ * @see {@link ListIntegrationsCommand}
297
+ * @param args - command input.
298
+ * @param paginationConfig - optional pagination config.
299
+ * @returns AsyncIterable of {@link ListIntegrationsCommandOutput}.
300
+ */
301
+ paginateListIntegrations(args?: ListIntegrationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListIntegrationsCommandOutput>;
302
+ /**
303
+ * @see {@link GetCodeScanCommand}
304
+ * @param args - command input.
305
+ * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
306
+ */
307
+ waitUntilCodeScanSucceeded(args: GetCodeScanCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Continuum>, "client">): Promise<WaiterResult<GetCodeScanCommandOutput>>;
308
+ }
309
+ /**
310
+ * AWS Continuum finds, validates, prioritizes, and remediates code vulnerabilities
311
+ * across the source repositories and AWS resources in your environments.
312
+ * @public
313
+ */
314
+ export declare class Continuum extends ContinuumClient implements Continuum {
315
+ }
@@ -0,0 +1,221 @@
1
+ import { type HostHeaderInputConfig, type HostHeaderResolvedConfig, type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/core/client";
2
+ import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
3
+ import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/core/config";
4
+ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints";
5
+ import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
6
+ import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
7
+ import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
8
+ import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
9
+ import type { AssociateCollectorCommandInput, AssociateCollectorCommandOutput } from "./commands/AssociateCollectorCommand";
10
+ import type { CreateCodeFindingCommandInput, CreateCodeFindingCommandOutput } from "./commands/CreateCodeFindingCommand";
11
+ import type { CreateCodeScanCommandInput, CreateCodeScanCommandOutput } from "./commands/CreateCodeScanCommand";
12
+ import type { CreateCollectorCommandInput, CreateCollectorCommandOutput } from "./commands/CreateCollectorCommand";
13
+ import type { CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput } from "./commands/CreateEnvironmentCommand";
14
+ import type { CreateIntegrationCommandInput, CreateIntegrationCommandOutput } from "./commands/CreateIntegrationCommand";
15
+ import type { DeleteCollectorCommandInput, DeleteCollectorCommandOutput } from "./commands/DeleteCollectorCommand";
16
+ import type { DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput } from "./commands/DeleteEnvironmentCommand";
17
+ import type { DeleteIntegrationCommandInput, DeleteIntegrationCommandOutput } from "./commands/DeleteIntegrationCommand";
18
+ import type { DisassociateCollectorCommandInput, DisassociateCollectorCommandOutput } from "./commands/DisassociateCollectorCommand";
19
+ import type { GetCodeFindingCommandInput, GetCodeFindingCommandOutput } from "./commands/GetCodeFindingCommand";
20
+ import type { GetCodeIssueArtifactCommandInput, GetCodeIssueArtifactCommandOutput } from "./commands/GetCodeIssueArtifactCommand";
21
+ import type { GetCodeIssueCommandInput, GetCodeIssueCommandOutput } from "./commands/GetCodeIssueCommand";
22
+ import type { GetCodeScanCommandInput, GetCodeScanCommandOutput } from "./commands/GetCodeScanCommand";
23
+ import type { GetCollectorCommandInput, GetCollectorCommandOutput } from "./commands/GetCollectorCommand";
24
+ import type { GetCollectorDataAccessAuthorizationCommandInput, GetCollectorDataAccessAuthorizationCommandOutput } from "./commands/GetCollectorDataAccessAuthorizationCommand";
25
+ import type { GetEnvironmentCommandInput, GetEnvironmentCommandOutput } from "./commands/GetEnvironmentCommand";
26
+ import type { GetIntegrationCommandInput, GetIntegrationCommandOutput } from "./commands/GetIntegrationCommand";
27
+ import type { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "./commands/GetResourcePolicyCommand";
28
+ import type { ListAssociatedCollectorsCommandInput, ListAssociatedCollectorsCommandOutput } from "./commands/ListAssociatedCollectorsCommand";
29
+ import type { ListAssociatedEnvironmentsCommandInput, ListAssociatedEnvironmentsCommandOutput } from "./commands/ListAssociatedEnvironmentsCommand";
30
+ import type { ListCodeFindingsCommandInput, ListCodeFindingsCommandOutput } from "./commands/ListCodeFindingsCommand";
31
+ import type { ListCodeIssueArtifactsCommandInput, ListCodeIssueArtifactsCommandOutput } from "./commands/ListCodeIssueArtifactsCommand";
32
+ import type { ListCodeIssuesCommandInput, ListCodeIssuesCommandOutput } from "./commands/ListCodeIssuesCommand";
33
+ import type { ListCodeScansCommandInput, ListCodeScansCommandOutput } from "./commands/ListCodeScansCommand";
34
+ import type { ListCollectorsCommandInput, ListCollectorsCommandOutput } from "./commands/ListCollectorsCommand";
35
+ import type { ListEnvironmentsCommandInput, ListEnvironmentsCommandOutput } from "./commands/ListEnvironmentsCommand";
36
+ import type { ListIntegrationsCommandInput, ListIntegrationsCommandOutput } from "./commands/ListIntegrationsCommand";
37
+ import type { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
38
+ import type { StartIntegrationAuthorizationCommandInput, StartIntegrationAuthorizationCommandOutput } from "./commands/StartIntegrationAuthorizationCommand";
39
+ import type { UpdateCollectorCommandInput, UpdateCollectorCommandOutput } from "./commands/UpdateCollectorCommand";
40
+ import type { UpdateEnvironmentCommandInput, UpdateEnvironmentCommandOutput } from "./commands/UpdateEnvironmentCommand";
41
+ import type { UpdateIntegrationCommandInput, UpdateIntegrationCommandOutput } from "./commands/UpdateIntegrationCommand";
42
+ import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
43
+ import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
44
+ export { __Client };
45
+ /**
46
+ * @public
47
+ */
48
+ export type ServiceInputTypes = AssociateCollectorCommandInput | CreateCodeFindingCommandInput | CreateCodeScanCommandInput | CreateCollectorCommandInput | CreateEnvironmentCommandInput | CreateIntegrationCommandInput | DeleteCollectorCommandInput | DeleteEnvironmentCommandInput | DeleteIntegrationCommandInput | DisassociateCollectorCommandInput | GetCodeFindingCommandInput | GetCodeIssueArtifactCommandInput | GetCodeIssueCommandInput | GetCodeScanCommandInput | GetCollectorCommandInput | GetCollectorDataAccessAuthorizationCommandInput | GetEnvironmentCommandInput | GetIntegrationCommandInput | GetResourcePolicyCommandInput | ListAssociatedCollectorsCommandInput | ListAssociatedEnvironmentsCommandInput | ListCodeFindingsCommandInput | ListCodeIssueArtifactsCommandInput | ListCodeIssuesCommandInput | ListCodeScansCommandInput | ListCollectorsCommandInput | ListEnvironmentsCommandInput | ListIntegrationsCommandInput | PutResourcePolicyCommandInput | StartIntegrationAuthorizationCommandInput | UpdateCollectorCommandInput | UpdateEnvironmentCommandInput | UpdateIntegrationCommandInput;
49
+ /**
50
+ * @public
51
+ */
52
+ export type ServiceOutputTypes = AssociateCollectorCommandOutput | CreateCodeFindingCommandOutput | CreateCodeScanCommandOutput | CreateCollectorCommandOutput | CreateEnvironmentCommandOutput | CreateIntegrationCommandOutput | DeleteCollectorCommandOutput | DeleteEnvironmentCommandOutput | DeleteIntegrationCommandOutput | DisassociateCollectorCommandOutput | GetCodeFindingCommandOutput | GetCodeIssueArtifactCommandOutput | GetCodeIssueCommandOutput | GetCodeScanCommandOutput | GetCollectorCommandOutput | GetCollectorDataAccessAuthorizationCommandOutput | GetEnvironmentCommandOutput | GetIntegrationCommandOutput | GetResourcePolicyCommandOutput | ListAssociatedCollectorsCommandOutput | ListAssociatedEnvironmentsCommandOutput | ListCodeFindingsCommandOutput | ListCodeIssueArtifactsCommandOutput | ListCodeIssuesCommandOutput | ListCodeScansCommandOutput | ListCollectorsCommandOutput | ListEnvironmentsCommandOutput | ListIntegrationsCommandOutput | PutResourcePolicyCommandOutput | StartIntegrationAuthorizationCommandOutput | UpdateCollectorCommandOutput | UpdateEnvironmentCommandOutput | UpdateIntegrationCommandOutput;
53
+ /**
54
+ * @public
55
+ */
56
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
57
+ /**
58
+ * The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
59
+ */
60
+ requestHandler?: __HttpHandlerUserInput;
61
+ /**
62
+ * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
63
+ * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
64
+ * @internal
65
+ */
66
+ sha256?: __ChecksumConstructor | __HashConstructor;
67
+ /**
68
+ * The function that will be used to convert strings into HTTP endpoints.
69
+ * @internal
70
+ */
71
+ urlParser?: __UrlParser;
72
+ /**
73
+ * A function that can calculate the length of a request body.
74
+ * @internal
75
+ */
76
+ bodyLengthChecker?: __BodyLengthCalculator;
77
+ /**
78
+ * A function that converts a stream into an array of bytes.
79
+ * @internal
80
+ */
81
+ streamCollector?: __StreamCollector;
82
+ /**
83
+ * The function that will be used to convert a base64-encoded string to a byte array.
84
+ * @internal
85
+ */
86
+ base64Decoder?: __Decoder;
87
+ /**
88
+ * The function that will be used to convert binary data to a base64-encoded string.
89
+ * @internal
90
+ */
91
+ base64Encoder?: __Encoder;
92
+ /**
93
+ * The function that will be used to convert a UTF8-encoded string to a byte array.
94
+ * @internal
95
+ */
96
+ utf8Decoder?: __Decoder;
97
+ /**
98
+ * The function that will be used to convert binary data to a UTF-8 encoded string.
99
+ * @internal
100
+ */
101
+ utf8Encoder?: __Encoder;
102
+ /**
103
+ * The runtime environment.
104
+ * @internal
105
+ */
106
+ runtime?: string;
107
+ /**
108
+ * Disable dynamically changing the endpoint of the client based on the hostPrefix
109
+ * trait of an operation.
110
+ */
111
+ disableHostPrefix?: boolean;
112
+ /**
113
+ * Unique service identifier.
114
+ * @internal
115
+ */
116
+ serviceId?: string;
117
+ /**
118
+ * Enables IPv6/IPv4 dualstack endpoint.
119
+ */
120
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
121
+ /**
122
+ * Enables FIPS compatible endpoints.
123
+ */
124
+ useFipsEndpoint?: boolean | __Provider<boolean>;
125
+ /**
126
+ * The AWS region to which this client will send requests
127
+ */
128
+ region?: string | __Provider<string>;
129
+ /**
130
+ * Setting a client profile is similar to setting a value for the
131
+ * AWS_PROFILE environment variable. Setting a profile on a client
132
+ * in code only affects the single client instance, unlike AWS_PROFILE.
133
+ *
134
+ * When set, and only for environments where an AWS configuration
135
+ * file exists, fields configurable by this file will be retrieved
136
+ * from the specified profile within that file.
137
+ * Conflicting code configuration and environment variables will
138
+ * still have higher priority.
139
+ *
140
+ * For client credential resolution that involves checking the AWS
141
+ * configuration file, the client's profile (this value) will be
142
+ * used unless a different profile is set in the credential
143
+ * provider options.
144
+ *
145
+ */
146
+ profile?: string;
147
+ /**
148
+ * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
149
+ * @internal
150
+ */
151
+ defaultUserAgentProvider?: __Provider<__UserAgent>;
152
+ /**
153
+ * Default credentials provider; Not available in browser runtime.
154
+ * @deprecated
155
+ * @internal
156
+ */
157
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
158
+ /**
159
+ * Value for how many times a request will be made at most in case of retry.
160
+ */
161
+ maxAttempts?: number | __Provider<number>;
162
+ /**
163
+ * Specifies which retry algorithm to use.
164
+ * Accepted values are "standard" and "adaptive".
165
+ * @see https://docs.aws.amazon.com/sdkref/latest/guide/feature-retry-behavior.html
166
+ *
167
+ */
168
+ retryMode?: string | __Provider<string>;
169
+ /**
170
+ * Optional logger for logging debug/info/warn/error.
171
+ */
172
+ logger?: __Logger;
173
+ /**
174
+ * Optional extensions
175
+ */
176
+ extensions?: RuntimeExtension[];
177
+ /**
178
+ * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
179
+ */
180
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
181
+ }
182
+ /**
183
+ * @public
184
+ */
185
+ export type ContinuumClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
186
+ /**
187
+ * @public
188
+ *
189
+ * The configuration interface of ContinuumClient class constructor that set the region, credentials and other options.
190
+ */
191
+ export interface ContinuumClientConfig extends ContinuumClientConfigType {
192
+ }
193
+ /**
194
+ * @public
195
+ */
196
+ export type ContinuumClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
197
+ /**
198
+ * @public
199
+ *
200
+ * The resolved configuration interface of ContinuumClient class. This is resolved and normalized from the {@link ContinuumClientConfig | constructor configuration interface}.
201
+ */
202
+ export interface ContinuumClientResolvedConfig extends ContinuumClientResolvedConfigType {
203
+ }
204
+ /**
205
+ * AWS Continuum finds, validates, prioritizes, and remediates code vulnerabilities
206
+ * across the source repositories and AWS resources in your environments.
207
+ * @public
208
+ */
209
+ export declare class ContinuumClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, ContinuumClientResolvedConfig> {
210
+ /**
211
+ * The resolved configuration of ContinuumClient class. This is resolved and normalized from the {@link ContinuumClientConfig | constructor configuration interface}.
212
+ */
213
+ readonly config: ContinuumClientResolvedConfig;
214
+ constructor(...[configuration]: __CheckOptionalClientConfig<ContinuumClientConfig>);
215
+ /**
216
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
217
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
218
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
219
+ */
220
+ destroy(): void;
221
+ }
@@ -0,0 +1,29 @@
1
+ import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
2
+ import type { ContinuumHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
+ /**
4
+ * @internal
5
+ */
6
+ export interface HttpAuthExtensionConfiguration {
7
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
8
+ httpAuthSchemes(): HttpAuthScheme[];
9
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: ContinuumHttpAuthSchemeProvider): void;
10
+ httpAuthSchemeProvider(): ContinuumHttpAuthSchemeProvider;
11
+ setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
12
+ credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export type HttpAuthRuntimeConfig = Partial<{
18
+ httpAuthSchemes: HttpAuthScheme[];
19
+ httpAuthSchemeProvider: ContinuumHttpAuthSchemeProvider;
20
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
21
+ }>;
22
+ /**
23
+ * @internal
24
+ */
25
+ export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
26
+ /**
27
+ * @internal
28
+ */
29
+ export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;