@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,165 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { UpdateEnvironmentInput, UpdateEnvironmentOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link UpdateEnvironmentCommand}.
11
+ */
12
+ export interface UpdateEnvironmentCommandInput extends UpdateEnvironmentInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link UpdateEnvironmentCommand}.
18
+ */
19
+ export interface UpdateEnvironmentCommandOutput extends UpdateEnvironmentOutput, __MetadataBearer {
20
+ }
21
+ declare const UpdateEnvironmentCommand_base: {
22
+ new (input: UpdateEnvironmentCommandInput): import("@smithy/core/client").CommandImpl<UpdateEnvironmentCommandInput, UpdateEnvironmentCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateEnvironmentCommandInput): import("@smithy/core/client").CommandImpl<UpdateEnvironmentCommandInput, UpdateEnvironmentCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Updates the customer-controlled mutable properties of an environment. Only the name, the environment's S3 integration source and repository selections, its scan frequency, its network policy, and its patch creation policy can be changed.
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { ContinuumClient, UpdateEnvironmentCommand } from "@aws-sdk/client-continuum"; // ES Modules import
32
+ * // const { ContinuumClient, UpdateEnvironmentCommand } = require("@aws-sdk/client-continuum"); // CommonJS import
33
+ * // import type { ContinuumClientConfig } from "@aws-sdk/client-continuum";
34
+ * const config = {}; // type is ContinuumClientConfig
35
+ * const client = new ContinuumClient(config);
36
+ * const input = { // UpdateEnvironmentInput
37
+ * environmentId: "STRING_VALUE", // required
38
+ * name: "STRING_VALUE",
39
+ * configuration: { // UpdateEnvironmentConfiguration
40
+ * codeConfiguration: { // UpdateCodeConfiguration
41
+ * sourceConfiguration: { // EnvironmentSourceConfiguration
42
+ * s3Sources: [ // EnvironmentS3Sources
43
+ * { // EnvironmentS3IntegrationSource
44
+ * integrationId: "STRING_VALUE", // required
45
+ * codePrefix: "STRING_VALUE",
46
+ * contextPrefix: "STRING_VALUE",
47
+ * },
48
+ * ],
49
+ * repositorySources: [ // EnvironmentRepositorySources
50
+ * { // EnvironmentRepositorySource
51
+ * integrationId: "STRING_VALUE", // required
52
+ * repository: "STRING_VALUE", // required
53
+ * defaultBranch: "STRING_VALUE",
54
+ * },
55
+ * ],
56
+ * },
57
+ * environmentConfiguration: { // EnvironmentConfiguration
58
+ * network: { // EnvironmentNetworkConfiguration
59
+ * allowedDomains: [ // DomainNames
60
+ * "STRING_VALUE",
61
+ * ],
62
+ * },
63
+ * scanFrequency: "STRING_VALUE",
64
+ * patchCreationPolicy: "ENABLED" || "DISABLED",
65
+ * },
66
+ * },
67
+ * },
68
+ * };
69
+ * const command = new UpdateEnvironmentCommand(input);
70
+ * const response = await client.send(command);
71
+ * // { // UpdateEnvironmentOutput
72
+ * // environmentId: "STRING_VALUE", // required
73
+ * // environmentArn: "STRING_VALUE", // required
74
+ * // name: "STRING_VALUE", // required
75
+ * // status: "ACTIVE", // required
76
+ * // statusMessage: "STRING_VALUE",
77
+ * // statusUpdatedAt: new Date("TIMESTAMP"), // required
78
+ * // createdAt: new Date("TIMESTAMP"), // required
79
+ * // configuration: { // EnvironmentConfigurationDetails
80
+ * // codeConfiguration: { // CodeConfigurationDetails
81
+ * // collectorDetails: { // CollectorDetails
82
+ * // collectorDataAccessRoleArn: "STRING_VALUE",
83
+ * // },
84
+ * // sourceConfiguration: { // EnvironmentSourceConfiguration
85
+ * // s3Sources: [ // EnvironmentS3Sources
86
+ * // { // EnvironmentS3IntegrationSource
87
+ * // integrationId: "STRING_VALUE", // required
88
+ * // codePrefix: "STRING_VALUE",
89
+ * // contextPrefix: "STRING_VALUE",
90
+ * // },
91
+ * // ],
92
+ * // repositorySources: [ // EnvironmentRepositorySources
93
+ * // { // EnvironmentRepositorySource
94
+ * // integrationId: "STRING_VALUE", // required
95
+ * // repository: "STRING_VALUE", // required
96
+ * // defaultBranch: "STRING_VALUE",
97
+ * // },
98
+ * // ],
99
+ * // },
100
+ * // environmentConfiguration: { // EnvironmentConfiguration
101
+ * // network: { // EnvironmentNetworkConfiguration
102
+ * // allowedDomains: [ // DomainNames
103
+ * // "STRING_VALUE",
104
+ * // ],
105
+ * // },
106
+ * // scanFrequency: "STRING_VALUE",
107
+ * // patchCreationPolicy: "ENABLED" || "DISABLED",
108
+ * // },
109
+ * // latestScan: { // CodeScanSummary
110
+ * // scanRunId: "STRING_VALUE", // required
111
+ * // status: "SUBMITTED" || "WAITING_FOR_BUILD" || "BUILDING" || "WAITING_FOR_SCAN" || "SCANNING" || "SUCCEEDED" || "FAILED", // required
112
+ * // origin: "MANUAL" || "SCHEDULED", // required
113
+ * // createdAt: new Date("TIMESTAMP"), // required
114
+ * // completedAt: new Date("TIMESTAMP"),
115
+ * // failureMessage: "STRING_VALUE",
116
+ * // failureStage: "SUBMITTED" || "WAITING_FOR_BUILD" || "BUILDING" || "WAITING_FOR_SCAN" || "SCANNING",
117
+ * // },
118
+ * // },
119
+ * // },
120
+ * // };
121
+ *
122
+ * ```
123
+ *
124
+ * @param UpdateEnvironmentCommandInput - {@link UpdateEnvironmentCommandInput}
125
+ * @returns {@link UpdateEnvironmentCommandOutput}
126
+ * @see {@link UpdateEnvironmentCommandInput} for command's `input` shape.
127
+ * @see {@link UpdateEnvironmentCommandOutput} for command's `response` shape.
128
+ * @see {@link ContinuumClientResolvedConfig | config} for ContinuumClient's `config` shape.
129
+ *
130
+ * @throws {@link AccessDeniedException} (client fault)
131
+ * The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
132
+ *
133
+ * @throws {@link ConflictException} (client fault)
134
+ * The request could not be completed due to a conflict with the current state of the resource.
135
+ *
136
+ * @throws {@link InternalServerException} (server fault)
137
+ * The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
138
+ *
139
+ * @throws {@link ResourceNotFoundException} (client fault)
140
+ * The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
141
+ *
142
+ * @throws {@link ThrottlingException} (client fault)
143
+ * The request was denied due to request throttling.
144
+ *
145
+ * @throws {@link ValidationException} (client fault)
146
+ *
147
+ * @throws {@link ContinuumServiceException}
148
+ * <p>Base exception class for all service exceptions from Continuum service.</p>
149
+ *
150
+ *
151
+ * @public
152
+ */
153
+ export declare class UpdateEnvironmentCommand extends UpdateEnvironmentCommand_base {
154
+ /** @internal type navigation helper, not in runtime. */
155
+ protected static __types: {
156
+ api: {
157
+ input: UpdateEnvironmentInput;
158
+ output: UpdateEnvironmentOutput;
159
+ };
160
+ sdk: {
161
+ input: UpdateEnvironmentCommandInput;
162
+ output: UpdateEnvironmentCommandOutput;
163
+ };
164
+ };
165
+ }
@@ -0,0 +1,125 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { UpdateIntegrationInput, UpdateIntegrationOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link UpdateIntegrationCommand}.
11
+ */
12
+ export interface UpdateIntegrationCommandInput extends UpdateIntegrationInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link UpdateIntegrationCommand}.
18
+ */
19
+ export interface UpdateIntegrationCommandOutput extends UpdateIntegrationOutput, __MetadataBearer {
20
+ }
21
+ declare const UpdateIntegrationCommand_base: {
22
+ new (input: UpdateIntegrationCommandInput): import("@smithy/core/client").CommandImpl<UpdateIntegrationCommandInput, UpdateIntegrationCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateIntegrationCommandInput): import("@smithy/core/client").CommandImpl<UpdateIntegrationCommandInput, UpdateIntegrationCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Rotates the credentials used by an Amazon S3 integration. Only S3 integrations can
28
+ * be updated; GitHub integrations cannot be modified. The integration's name,
29
+ * provider type, and bucket remain fixed.
30
+ *
31
+ * The caller must have iam:PassRole permission for the supplied role, including
32
+ * when only the external ID changes. Continuum verifies that the role can be
33
+ * assumed with the requested external ID and can access the existing bucket before
34
+ * saving both credentials atomically. Omitting externalId preserves its current
35
+ * value. Repeating both current credentials leaves updatedAt unchanged, but still
36
+ * requires authorization and access validation.
37
+ *
38
+ * @example
39
+ * Use a bare-bones client and the command you need to make an API call.
40
+ * ```javascript
41
+ * import { ContinuumClient, UpdateIntegrationCommand } from "@aws-sdk/client-continuum"; // ES Modules import
42
+ * // const { ContinuumClient, UpdateIntegrationCommand } = require("@aws-sdk/client-continuum"); // CommonJS import
43
+ * // import type { ContinuumClientConfig } from "@aws-sdk/client-continuum";
44
+ * const config = {}; // type is ContinuumClientConfig
45
+ * const client = new ContinuumClient(config);
46
+ * const input = { // UpdateIntegrationInput
47
+ * integrationId: "STRING_VALUE", // required
48
+ * providerConfiguration: { // UpdateProviderConfiguration Union: only one key present
49
+ * s3: { // UpdateS3Configuration
50
+ * roleArn: "STRING_VALUE", // required
51
+ * externalId: "STRING_VALUE",
52
+ * },
53
+ * },
54
+ * };
55
+ * const command = new UpdateIntegrationCommand(input);
56
+ * const response = await client.send(command);
57
+ * // { // UpdateIntegrationOutput
58
+ * // integrationId: "STRING_VALUE", // required
59
+ * // integrationArn: "STRING_VALUE", // required
60
+ * // name: "STRING_VALUE", // required
61
+ * // integrationType: "GITHUB" || "GITLAB" || "S3", // required
62
+ * // providerDetails: { // ProviderDetails Union: only one key present
63
+ * // github: { // GitHubDetails
64
+ * // organizationName: "STRING_VALUE",
65
+ * // },
66
+ * // gitlab: { // GitLabDetails
67
+ * // instanceUrl: "STRING_VALUE", // required
68
+ * // targetType: "GROUP" || "PROJECT", // required
69
+ * // targetPath: "STRING_VALUE", // required
70
+ * // tokenRotation: "AUTOMATIC" || "NONE", // required
71
+ * // expiresAt: new Date("TIMESTAMP"),
72
+ * // },
73
+ * // s3: { // S3Details
74
+ * // bucket: "STRING_VALUE", // required
75
+ * // roleArn: "STRING_VALUE", // required
76
+ * // },
77
+ * // },
78
+ * // createdAt: new Date("TIMESTAMP"), // required
79
+ * // updatedAt: new Date("TIMESTAMP"), // required
80
+ * // };
81
+ *
82
+ * ```
83
+ *
84
+ * @param UpdateIntegrationCommandInput - {@link UpdateIntegrationCommandInput}
85
+ * @returns {@link UpdateIntegrationCommandOutput}
86
+ * @see {@link UpdateIntegrationCommandInput} for command's `input` shape.
87
+ * @see {@link UpdateIntegrationCommandOutput} for command's `response` shape.
88
+ * @see {@link ContinuumClientResolvedConfig | config} for ContinuumClient's `config` shape.
89
+ *
90
+ * @throws {@link AccessDeniedException} (client fault)
91
+ * The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
92
+ *
93
+ * @throws {@link ConflictException} (client fault)
94
+ * The request could not be completed due to a conflict with the current state of the resource.
95
+ *
96
+ * @throws {@link InternalServerException} (server fault)
97
+ * The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
98
+ *
99
+ * @throws {@link ResourceNotFoundException} (client fault)
100
+ * The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
101
+ *
102
+ * @throws {@link ThrottlingException} (client fault)
103
+ * The request was denied due to request throttling.
104
+ *
105
+ * @throws {@link ValidationException} (client fault)
106
+ *
107
+ * @throws {@link ContinuumServiceException}
108
+ * <p>Base exception class for all service exceptions from Continuum service.</p>
109
+ *
110
+ *
111
+ * @public
112
+ */
113
+ export declare class UpdateIntegrationCommand extends UpdateIntegrationCommand_base {
114
+ /** @internal type navigation helper, not in runtime. */
115
+ protected static __types: {
116
+ api: {
117
+ input: UpdateIntegrationInput;
118
+ output: UpdateIntegrationOutput;
119
+ };
120
+ sdk: {
121
+ input: UpdateIntegrationCommandInput;
122
+ output: UpdateIntegrationCommandOutput;
123
+ };
124
+ };
125
+ }
@@ -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,44 @@
1
+ import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface ClientInputEndpointParameters {
6
+ useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
7
+ endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
8
+ region?: string | undefined | Provider<string | undefined>;
9
+ }
10
+ /**
11
+ * @public
12
+ */
13
+ export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
14
+ defaultSigningName: string;
15
+ };
16
+ /**
17
+ * @internal
18
+ */
19
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
20
+ /**
21
+ * @internal
22
+ */
23
+ export declare const commonParams: {
24
+ readonly UseFIPS: {
25
+ readonly type: "builtInParams";
26
+ readonly name: "useFipsEndpoint";
27
+ };
28
+ readonly Endpoint: {
29
+ readonly type: "builtInParams";
30
+ readonly name: "endpoint";
31
+ };
32
+ readonly Region: {
33
+ readonly type: "builtInParams";
34
+ readonly name: "region";
35
+ };
36
+ };
37
+ /**
38
+ * @internal
39
+ */
40
+ export interface EndpointParameters extends __EndpointParameters {
41
+ UseFIPS?: boolean | undefined;
42
+ Endpoint?: string | undefined;
43
+ Region?: string | undefined;
44
+ }
@@ -0,0 +1,2 @@
1
+ import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
2
+ export declare const bdd: BinaryDecisionDiagram;
@@ -0,0 +1,8 @@
1
+ import type { EndpointV2, Logger } from "@smithy/types";
2
+ import type { EndpointParameters } from "./EndpointParameters";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
7
+ logger?: Logger;
8
+ }) => EndpointV2;
@@ -0,0 +1,9 @@
1
+ import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import type { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
3
+ import type { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
+ /**
6
+ * @internal
7
+ */
8
+ export interface ContinuumExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
9
+ }
@@ -0,0 +1,20 @@
1
+ /**
2
+ * AWS Continuum finds, validates, prioritizes, and remediates code vulnerabilities
3
+ * across the source repositories and AWS resources in your environments.
4
+ *
5
+ * @packageDocumentation
6
+ */
7
+ export * from "./ContinuumClient";
8
+ export * from "./Continuum";
9
+ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
10
+ export type { RuntimeExtension } from "./runtimeExtensions";
11
+ export type { ContinuumExtensionConfiguration } from "./extensionConfiguration";
12
+ export * from "./commands";
13
+ export { Command as $Command } from "@smithy/core/client";
14
+ export * from "./pagination";
15
+ export * from "./waiters";
16
+ export * from "./schemas/schemas_0";
17
+ export * from "./models/enums";
18
+ export * from "./models/errors";
19
+ export * from "./models/models_0";
20
+ export { ContinuumServiceException } from "./models/ContinuumServiceException";
@@ -0,0 +1,15 @@
1
+ import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/core/client";
2
+ export type { __ServiceExceptionOptions };
3
+ export { __ServiceException };
4
+ /**
5
+ * @public
6
+ *
7
+ * Base exception class for all service exceptions from Continuum service.
8
+ */
9
+ export declare class ContinuumServiceException extends __ServiceException {
10
+ static readonly shapeId: string;
11
+ /**
12
+ * @internal
13
+ */
14
+ constructor(options: __ServiceExceptionOptions);
15
+ }