@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,15 @@
1
+ import { type WaiterConfiguration, type WaiterResult } from "@smithy/core/client";
2
+ import { type GetCodeScanCommandInput, type GetCodeScanCommandOutput } from "../commands/GetCodeScanCommand";
3
+ import type { ContinuumClient } from "../ContinuumClient";
4
+ import type { ContinuumServiceException } from "../models/ContinuumServiceException";
5
+ /**
6
+ * Waits until the scan reaches SUCCEEDED, at which point the scan has finished and its findings are available from ListCodeFindings (filter on scanRunId). Triage of those findings and creation of issues continue asynchronously after the scan succeeds. Fails if the scan reaches FAILED. Scans run a build followed by analysis and can take from minutes to several hours. SDKs that use exponential backoff wait at least 60 seconds between polls and back off to at most 8 hours between polls, until the caller's maximum wait time elapses. SDKs and the AWS CLI that use a fixed delay poll every 60 seconds for up to 480 attempts (8 hours).
7
+ * @deprecated Use waitUntilCodeScanSucceeded instead. waitForCodeScanSucceeded does not throw error in non-success cases.
8
+ */
9
+ export declare const waitForCodeScanSucceeded: (params: WaiterConfiguration<ContinuumClient>, input: GetCodeScanCommandInput) => Promise<WaiterResult<GetCodeScanCommandOutput | ContinuumServiceException>>;
10
+ /**
11
+ * Waits until the scan reaches SUCCEEDED, at which point the scan has finished and its findings are available from ListCodeFindings (filter on scanRunId). Triage of those findings and creation of issues continue asynchronously after the scan succeeds. Fails if the scan reaches FAILED. Scans run a build followed by analysis and can take from minutes to several hours. SDKs that use exponential backoff wait at least 60 seconds between polls and back off to at most 8 hours between polls, until the caller's maximum wait time elapses. SDKs and the AWS CLI that use a fixed delay poll every 60 seconds for up to 480 attempts (8 hours).
12
+ * @param params - Waiter configuration options.
13
+ * @param input - The input to GetCodeScanCommand for polling.
14
+ */
15
+ export declare const waitUntilCodeScanSucceeded: (params: WaiterConfiguration<ContinuumClient>, input: GetCodeScanCommandInput) => Promise<WaiterResult<GetCodeScanCommandOutput>>;
package/package.json CHANGED
@@ -1,6 +1,69 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-continuum",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "3.1157.0",
4
+ "description": "AWS SDK for JavaScript Continuum Client for Node.js, Browser and React Native",
5
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-continuum",
6
+ "license": "Apache-2.0",
7
+ "author": {
8
+ "name": "AWS SDK for JavaScript Team",
9
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
14
+ "directory": "clients/client-continuum"
15
+ },
16
+ "files": [
17
+ "dist-*/**"
18
+ ],
19
+ "sideEffects": false,
20
+ "main": "./dist-cjs/index.js",
21
+ "module": "./dist-es/index.js",
22
+ "browser": {
23
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
24
+ },
25
+ "types": "./dist-types/index.d.ts",
26
+ "typesVersions": {
27
+ "<4.5": {
28
+ "dist-types/*": [
29
+ "dist-types/ts3.4/*"
30
+ ]
31
+ }
32
+ },
33
+ "react-native": {
34
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
35
+ },
36
+ "scripts": {
37
+ "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
38
+ "build:cjs": "node ../../scripts/compilation/inline",
39
+ "build:es": "premove dist-es && tsc -p tsconfig.es.json",
40
+ "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
41
+ "build:types": "premove dist-types && tsc -p tsconfig.types.json",
42
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
43
+ "clean": "premove dist-cjs dist-es dist-types",
44
+ "extract:docs": "api-extractor run --local",
45
+ "generate:client": "node ../../scripts/generate-clients/single-service",
46
+ "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
+ },
48
+ "dependencies": {
49
+ "@aws-sdk/core": "^3.978.6",
50
+ "@aws-sdk/credential-provider-node": "^3.972.89",
51
+ "@aws-sdk/types": "^3.975.0",
52
+ "@smithy/core": "^3.37.0",
53
+ "@smithy/fetch-http-handler": "^5.8.0",
54
+ "@smithy/node-http-handler": "^4.13.0",
55
+ "@smithy/types": "^4.19.0",
56
+ "tslib": "^2.6.2"
57
+ },
58
+ "devDependencies": {
59
+ "@tsconfig/node20": "20.1.8",
60
+ "@types/node": "^20.14.8",
61
+ "concurrently": "7.0.0",
62
+ "downlevel-dts": "0.10.1",
63
+ "premove": "4.0.0",
64
+ "typescript": "~7.0.2"
65
+ },
66
+ "engines": {
67
+ "node": ">=20.0.0"
68
+ }
69
+ }