@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.
- package/LICENSE +201 -0
- package/README.md +412 -2
- package/dist-cjs/index.js +2581 -0
- package/dist-es/Continuum.js +95 -0
- package/dist-es/ContinuumClient.js +47 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/AssociateCollectorCommand.js +4 -0
- package/dist-es/commands/CreateCodeFindingCommand.js +4 -0
- package/dist-es/commands/CreateCodeScanCommand.js +4 -0
- package/dist-es/commands/CreateCollectorCommand.js +4 -0
- package/dist-es/commands/CreateEnvironmentCommand.js +4 -0
- package/dist-es/commands/CreateIntegrationCommand.js +4 -0
- package/dist-es/commands/DeleteCollectorCommand.js +4 -0
- package/dist-es/commands/DeleteEnvironmentCommand.js +4 -0
- package/dist-es/commands/DeleteIntegrationCommand.js +4 -0
- package/dist-es/commands/DisassociateCollectorCommand.js +4 -0
- package/dist-es/commands/GetCodeFindingCommand.js +4 -0
- package/dist-es/commands/GetCodeIssueArtifactCommand.js +4 -0
- package/dist-es/commands/GetCodeIssueCommand.js +4 -0
- package/dist-es/commands/GetCodeScanCommand.js +4 -0
- package/dist-es/commands/GetCollectorCommand.js +4 -0
- package/dist-es/commands/GetCollectorDataAccessAuthorizationCommand.js +4 -0
- package/dist-es/commands/GetEnvironmentCommand.js +4 -0
- package/dist-es/commands/GetIntegrationCommand.js +4 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +4 -0
- package/dist-es/commands/ListAssociatedCollectorsCommand.js +4 -0
- package/dist-es/commands/ListAssociatedEnvironmentsCommand.js +4 -0
- package/dist-es/commands/ListCodeFindingsCommand.js +4 -0
- package/dist-es/commands/ListCodeIssueArtifactsCommand.js +4 -0
- package/dist-es/commands/ListCodeIssuesCommand.js +4 -0
- package/dist-es/commands/ListCodeScansCommand.js +4 -0
- package/dist-es/commands/ListCollectorsCommand.js +4 -0
- package/dist-es/commands/ListEnvironmentsCommand.js +4 -0
- package/dist-es/commands/ListIntegrationsCommand.js +4 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +4 -0
- package/dist-es/commands/StartIntegrationAuthorizationCommand.js +4 -0
- package/dist-es/commands/UpdateCollectorCommand.js +4 -0
- package/dist-es/commands/UpdateEnvironmentCommand.js +4 -0
- package/dist-es/commands/UpdateIntegrationCommand.js +4 -0
- package/dist-es/commands/index.js +33 -0
- package/dist-es/endpoint/EndpointParameters.js +11 -0
- package/dist-es/endpoint/bdd.js +29 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +11 -0
- package/dist-es/models/ContinuumServiceException.js +9 -0
- package/dist-es/models/enums.js +334 -0
- package/dist-es/models/errors.js +102 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAssociatedCollectorsPaginator.js +4 -0
- package/dist-es/pagination/ListAssociatedEnvironmentsPaginator.js +4 -0
- package/dist-es/pagination/ListCodeFindingsPaginator.js +4 -0
- package/dist-es/pagination/ListCodeIssueArtifactsPaginator.js +4 -0
- package/dist-es/pagination/ListCodeIssuesPaginator.js +4 -0
- package/dist-es/pagination/ListCodeScansPaginator.js +4 -0
- package/dist-es/pagination/ListEnvironmentsPaginator.js +4 -0
- package/dist-es/pagination/ListIntegrationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +9 -0
- package/dist-es/runtimeConfig.browser.js +29 -0
- package/dist-es/runtimeConfig.js +43 -0
- package/dist-es/runtimeConfig.native.js +9 -0
- package/dist-es/runtimeConfig.shared.js +40 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +1399 -0
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForCodeScanSucceeded.js +40 -0
- package/dist-types/Continuum.d.ts +315 -0
- package/dist-types/ContinuumClient.d.ts +221 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/AssociateCollectorCommand.d.ts +96 -0
- package/dist-types/commands/CreateCodeFindingCommand.d.ts +94 -0
- package/dist-types/commands/CreateCodeScanCommand.d.ts +115 -0
- package/dist-types/commands/CreateCollectorCommand.d.ts +97 -0
- package/dist-types/commands/CreateEnvironmentCommand.d.ts +123 -0
- package/dist-types/commands/CreateIntegrationCommand.d.ts +130 -0
- package/dist-types/commands/DeleteCollectorCommand.d.ts +86 -0
- package/dist-types/commands/DeleteEnvironmentCommand.d.ts +86 -0
- package/dist-types/commands/DeleteIntegrationCommand.d.ts +92 -0
- package/dist-types/commands/DisassociateCollectorCommand.d.ts +84 -0
- package/dist-types/commands/GetCodeFindingCommand.d.ts +228 -0
- package/dist-types/commands/GetCodeIssueArtifactCommand.d.ts +285 -0
- package/dist-types/commands/GetCodeIssueCommand.d.ts +113 -0
- package/dist-types/commands/GetCodeScanCommand.d.ts +94 -0
- package/dist-types/commands/GetCollectorCommand.d.ts +92 -0
- package/dist-types/commands/GetCollectorDataAccessAuthorizationCommand.d.ts +93 -0
- package/dist-types/commands/GetEnvironmentCommand.d.ts +133 -0
- package/dist-types/commands/GetIntegrationCommand.d.ts +106 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +87 -0
- package/dist-types/commands/ListAssociatedCollectorsCommand.d.ts +93 -0
- package/dist-types/commands/ListAssociatedEnvironmentsCommand.d.ts +96 -0
- package/dist-types/commands/ListCodeFindingsCommand.d.ts +112 -0
- package/dist-types/commands/ListCodeIssueArtifactsCommand.d.ts +101 -0
- package/dist-types/commands/ListCodeIssuesCommand.d.ts +103 -0
- package/dist-types/commands/ListCodeScansCommand.d.ts +98 -0
- package/dist-types/commands/ListCollectorsCommand.d.ts +88 -0
- package/dist-types/commands/ListEnvironmentsCommand.d.ts +92 -0
- package/dist-types/commands/ListIntegrationsCommand.d.ts +109 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +92 -0
- package/dist-types/commands/StartIntegrationAuthorizationCommand.d.ts +89 -0
- package/dist-types/commands/UpdateCollectorCommand.d.ts +103 -0
- package/dist-types/commands/UpdateEnvironmentCommand.d.ts +165 -0
- package/dist-types/commands/UpdateIntegrationCommand.d.ts +125 -0
- package/dist-types/commands/index.d.ts +33 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +20 -0
- package/dist-types/models/ContinuumServiceException.d.ts +15 -0
- package/dist-types/models/enums.d.ts +1003 -0
- package/dist-types/models/errors.d.ts +108 -0
- package/dist-types/models/models_0.d.ts +4202 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListAssociatedCollectorsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAssociatedEnvironmentsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCodeFindingsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCodeIssueArtifactsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCodeIssuesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCodeScansPaginator.d.ts +7 -0
- package/dist-types/pagination/ListEnvironmentsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListIntegrationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +9 -0
- package/dist-types/runtimeConfig.browser.d.ts +57 -0
- package/dist-types/runtimeConfig.d.ts +57 -0
- package/dist-types/runtimeConfig.native.d.ts +56 -0
- package/dist-types/runtimeConfig.shared.d.ts +28 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +187 -0
- package/dist-types/ts3.4/Continuum.d.ts +642 -0
- package/dist-types/ts3.4/ContinuumClient.d.ts +296 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +25 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +40 -0
- package/dist-types/ts3.4/commands/AssociateCollectorCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateCodeFindingCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateCodeScanCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateCollectorCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateEnvironmentCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateIntegrationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteCollectorCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteEnvironmentCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteIntegrationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DisassociateCollectorCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetCodeFindingCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetCodeIssueArtifactCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetCodeIssueCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetCodeScanCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetCollectorCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetCollectorDataAccessAuthorizationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetEnvironmentCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetIntegrationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListAssociatedCollectorsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListAssociatedEnvironmentsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListCodeFindingsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListCodeIssueArtifactsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListCodeIssuesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListCodeScansCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListCollectorsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListIntegrationsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/StartIntegrationAuthorizationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateCollectorCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateEnvironmentCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateIntegrationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +33 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +10 -0
- package/dist-types/ts3.4/index.d.ts +14 -0
- package/dist-types/ts3.4/models/ContinuumServiceException.d.ts +10 -0
- package/dist-types/ts3.4/models/enums.d.ts +387 -0
- package/dist-types/ts3.4/models/errors.d.ts +52 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1056 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist-types/ts3.4/pagination/ListAssociatedCollectorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAssociatedEnvironmentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCodeFindingsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCodeIssueArtifactsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCodeIssuesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCodeScansPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListEnvironmentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListIntegrationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +9 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +31 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +187 -0
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForCodeScanSucceeded.d.ts +12 -0
- package/dist-types/waiters/index.d.ts +1 -0
- package/dist-types/waiters/waitForCodeScanSucceeded.d.ts +15 -0
- package/package.json +67 -4
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListAssociatedCollectorsInput, ListAssociatedCollectorsOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListAssociatedCollectorsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListAssociatedCollectorsCommandInput extends ListAssociatedCollectorsInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListAssociatedCollectorsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListAssociatedCollectorsCommandOutput extends ListAssociatedCollectorsOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListAssociatedCollectorsCommand_base: {
|
|
22
|
+
new (input: ListAssociatedCollectorsCommandInput): import("@smithy/core/client").CommandImpl<ListAssociatedCollectorsCommandInput, ListAssociatedCollectorsCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ListAssociatedCollectorsCommandInput): import("@smithy/core/client").CommandImpl<ListAssociatedCollectorsCommandInput, ListAssociatedCollectorsCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Lists the Collectors currently associated with one Environment in ascending collectorId order. Each entry carries the Collector ARN, so a listed association can be passed straight to DisassociateCollector, including when the Collector belongs to another account. An association recorded before Continuum persisted the ARN is omitted from the response, because without the ARN it cannot be acted on.
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { ContinuumClient, ListAssociatedCollectorsCommand } from "@aws-sdk/client-continuum"; // ES Modules import
|
|
32
|
+
* // const { ContinuumClient, ListAssociatedCollectorsCommand } = 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 = { // ListAssociatedCollectorsInput
|
|
37
|
+
* environmentId: "STRING_VALUE", // required
|
|
38
|
+
* maxResults: Number("int"),
|
|
39
|
+
* nextToken: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new ListAssociatedCollectorsCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // ListAssociatedCollectorsOutput
|
|
44
|
+
* // associatedCollectors: [ // AssociatedCollectors // required
|
|
45
|
+
* // { // AssociatedCollector
|
|
46
|
+
* // collectorId: "STRING_VALUE", // required
|
|
47
|
+
* // collectorArn: "STRING_VALUE", // required
|
|
48
|
+
* // },
|
|
49
|
+
* // ],
|
|
50
|
+
* // nextToken: "STRING_VALUE",
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param ListAssociatedCollectorsCommandInput - {@link ListAssociatedCollectorsCommandInput}
|
|
56
|
+
* @returns {@link ListAssociatedCollectorsCommandOutput}
|
|
57
|
+
* @see {@link ListAssociatedCollectorsCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link ListAssociatedCollectorsCommandOutput} for command's `response` shape.
|
|
59
|
+
* @see {@link ContinuumClientResolvedConfig | config} for ContinuumClient's `config` shape.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
62
|
+
* The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link InternalServerException} (server fault)
|
|
65
|
+
* The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
|
+
* The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
71
|
+
* The request was denied due to request throttling.
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ValidationException} (client fault)
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ContinuumServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from Continuum service.</p>
|
|
77
|
+
*
|
|
78
|
+
*
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export declare class ListAssociatedCollectorsCommand extends ListAssociatedCollectorsCommand_base {
|
|
82
|
+
/** @internal type navigation helper, not in runtime. */
|
|
83
|
+
protected static __types: {
|
|
84
|
+
api: {
|
|
85
|
+
input: ListAssociatedCollectorsInput;
|
|
86
|
+
output: ListAssociatedCollectorsOutput;
|
|
87
|
+
};
|
|
88
|
+
sdk: {
|
|
89
|
+
input: ListAssociatedCollectorsCommandInput;
|
|
90
|
+
output: ListAssociatedCollectorsCommandOutput;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListAssociatedEnvironmentsInput, ListAssociatedEnvironmentsOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListAssociatedEnvironmentsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListAssociatedEnvironmentsCommandInput extends ListAssociatedEnvironmentsInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListAssociatedEnvironmentsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListAssociatedEnvironmentsCommandOutput extends ListAssociatedEnvironmentsOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListAssociatedEnvironmentsCommand_base: {
|
|
22
|
+
new (input: ListAssociatedEnvironmentsCommandInput): import("@smithy/core/client").CommandImpl<ListAssociatedEnvironmentsCommandInput, ListAssociatedEnvironmentsCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ListAssociatedEnvironmentsCommandInput): import("@smithy/core/client").CommandImpl<ListAssociatedEnvironmentsCommandInput, ListAssociatedEnvironmentsCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Lists the Environments currently associated with one Collector in lexicographically ascending environmentArn order. The ARN identifies each Environment across accounts within the Collector's Region.
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { ContinuumClient, ListAssociatedEnvironmentsCommand } from "@aws-sdk/client-continuum"; // ES Modules import
|
|
32
|
+
* // const { ContinuumClient, ListAssociatedEnvironmentsCommand } = 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 = { // ListAssociatedEnvironmentsInput
|
|
37
|
+
* collectorId: "STRING_VALUE", // required
|
|
38
|
+
* maxResults: Number("int"),
|
|
39
|
+
* nextToken: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new ListAssociatedEnvironmentsCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // ListAssociatedEnvironmentsOutput
|
|
44
|
+
* // associatedEnvironments: [ // AssociatedEnvironments // required
|
|
45
|
+
* // { // AssociatedEnvironment
|
|
46
|
+
* // environmentId: "STRING_VALUE", // required
|
|
47
|
+
* // environmentArn: "STRING_VALUE", // required
|
|
48
|
+
* // name: "STRING_VALUE", // required
|
|
49
|
+
* // status: "ACTIVE", // required
|
|
50
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
51
|
+
* // },
|
|
52
|
+
* // ],
|
|
53
|
+
* // nextToken: "STRING_VALUE",
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* @param ListAssociatedEnvironmentsCommandInput - {@link ListAssociatedEnvironmentsCommandInput}
|
|
59
|
+
* @returns {@link ListAssociatedEnvironmentsCommandOutput}
|
|
60
|
+
* @see {@link ListAssociatedEnvironmentsCommandInput} for command's `input` shape.
|
|
61
|
+
* @see {@link ListAssociatedEnvironmentsCommandOutput} for command's `response` shape.
|
|
62
|
+
* @see {@link ContinuumClientResolvedConfig | config} for ContinuumClient's `config` shape.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
65
|
+
* The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link InternalServerException} (server fault)
|
|
68
|
+
* The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
71
|
+
* The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
74
|
+
* The request was denied due to request throttling.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ValidationException} (client fault)
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ContinuumServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from Continuum service.</p>
|
|
80
|
+
*
|
|
81
|
+
*
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
export declare class ListAssociatedEnvironmentsCommand extends ListAssociatedEnvironmentsCommand_base {
|
|
85
|
+
/** @internal type navigation helper, not in runtime. */
|
|
86
|
+
protected static __types: {
|
|
87
|
+
api: {
|
|
88
|
+
input: ListAssociatedEnvironmentsInput;
|
|
89
|
+
output: ListAssociatedEnvironmentsOutput;
|
|
90
|
+
};
|
|
91
|
+
sdk: {
|
|
92
|
+
input: ListAssociatedEnvironmentsCommandInput;
|
|
93
|
+
output: ListAssociatedEnvironmentsCommandOutput;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListCodeFindingsInput, ListCodeFindingsOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListCodeFindingsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListCodeFindingsCommandInput extends ListCodeFindingsInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListCodeFindingsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListCodeFindingsCommandOutput extends ListCodeFindingsOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListCodeFindingsCommand_base: {
|
|
22
|
+
new (input: ListCodeFindingsCommandInput): import("@smithy/core/client").CommandImpl<ListCodeFindingsCommandInput, ListCodeFindingsCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ListCodeFindingsCommandInput): import("@smithy/core/client").CommandImpl<ListCodeFindingsCommandInput, ListCodeFindingsCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Lists the findings in an environment in descending findingId order.
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { ContinuumClient, ListCodeFindingsCommand } from "@aws-sdk/client-continuum"; // ES Modules import
|
|
32
|
+
* // const { ContinuumClient, ListCodeFindingsCommand } = 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 = { // ListCodeFindingsInput
|
|
37
|
+
* environmentId: "STRING_VALUE", // required
|
|
38
|
+
* maxResults: Number("int"),
|
|
39
|
+
* nextToken: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new ListCodeFindingsCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // ListCodeFindingsOutput
|
|
44
|
+
* // items: [ // CodeFindingSummaries // required
|
|
45
|
+
* // { // FindingSummary
|
|
46
|
+
* // findingId: "STRING_VALUE", // required
|
|
47
|
+
* // findingArn: "STRING_VALUE", // required
|
|
48
|
+
* // environmentId: "STRING_VALUE", // required
|
|
49
|
+
* // source: "STRING_VALUE", // required
|
|
50
|
+
* // sourceFindingId: "STRING_VALUE", // required
|
|
51
|
+
* // reportedAt: new Date("TIMESTAMP"), // required
|
|
52
|
+
* // status: "SUBMITTED" || "VALIDATING" || "CONFIRMED" || "DISCARDED", // required
|
|
53
|
+
* // statusUpdatedAt: new Date("TIMESTAMP"), // required
|
|
54
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
55
|
+
* // scanRunId: "STRING_VALUE",
|
|
56
|
+
* // statusMessage: "STRING_VALUE",
|
|
57
|
+
* // discardReason: "SCANNER_VALIDATED_FALSE_POSITIVE" || "SCANNER_NEEDS_REVIEW" || "FALSE_POSITIVE_VALIDATED_AGAINST_CONTEXT" || "DUPLICATE_OF_OPEN_ISSUE" || "DUPLICATE_OF_CLOSED_ISSUE" || "COMPENSATING_CONTROL_PRESENT" || "OUT_OF_SCOPE" || "INSUFFICIENT_EVIDENCE" || "PROCESSING_FAILED" || "SOURCE_REPO_NOT_FOUND",
|
|
58
|
+
* // discardReasoning: "STRING_VALUE",
|
|
59
|
+
* // duplicateOfIssueId: "STRING_VALUE",
|
|
60
|
+
* // createdIssueId: "STRING_VALUE",
|
|
61
|
+
* // completedAt: new Date("TIMESTAMP"),
|
|
62
|
+
* // type: "CONTINUUM_CODE_VULN" || "CUSTOMER_CODE_VULN", // required
|
|
63
|
+
* // title: "STRING_VALUE", // required
|
|
64
|
+
* // severity: "UNKNOWN" || "INFORMATIONAL" || "LOW" || "MEDIUM" || "HIGH" || "CRITICAL" || "FATAL" || "OTHER", // required
|
|
65
|
+
* // category: "STRING_VALUE",
|
|
66
|
+
* // filePath: "STRING_VALUE",
|
|
67
|
+
* // },
|
|
68
|
+
* // ],
|
|
69
|
+
* // nextToken: "STRING_VALUE",
|
|
70
|
+
* // };
|
|
71
|
+
*
|
|
72
|
+
* ```
|
|
73
|
+
*
|
|
74
|
+
* @param ListCodeFindingsCommandInput - {@link ListCodeFindingsCommandInput}
|
|
75
|
+
* @returns {@link ListCodeFindingsCommandOutput}
|
|
76
|
+
* @see {@link ListCodeFindingsCommandInput} for command's `input` shape.
|
|
77
|
+
* @see {@link ListCodeFindingsCommandOutput} for command's `response` shape.
|
|
78
|
+
* @see {@link ContinuumClientResolvedConfig | config} for ContinuumClient's `config` shape.
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
81
|
+
* The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link InternalServerException} (server fault)
|
|
84
|
+
* The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
87
|
+
* The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
90
|
+
* The request was denied due to request throttling.
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ValidationException} (client fault)
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link ContinuumServiceException}
|
|
95
|
+
* <p>Base exception class for all service exceptions from Continuum service.</p>
|
|
96
|
+
*
|
|
97
|
+
*
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
export declare class ListCodeFindingsCommand extends ListCodeFindingsCommand_base {
|
|
101
|
+
/** @internal type navigation helper, not in runtime. */
|
|
102
|
+
protected static __types: {
|
|
103
|
+
api: {
|
|
104
|
+
input: ListCodeFindingsInput;
|
|
105
|
+
output: ListCodeFindingsOutput;
|
|
106
|
+
};
|
|
107
|
+
sdk: {
|
|
108
|
+
input: ListCodeFindingsCommandInput;
|
|
109
|
+
output: ListCodeFindingsCommandOutput;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListCodeIssueArtifactsInput, ListCodeIssueArtifactsOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListCodeIssueArtifactsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListCodeIssueArtifactsCommandInput extends ListCodeIssueArtifactsInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListCodeIssueArtifactsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListCodeIssueArtifactsCommandOutput extends ListCodeIssueArtifactsOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListCodeIssueArtifactsCommand_base: {
|
|
22
|
+
new (input: ListCodeIssueArtifactsCommandInput): import("@smithy/core/client").CommandImpl<ListCodeIssueArtifactsCommandInput, ListCodeIssueArtifactsCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ListCodeIssueArtifactsCommandInput): import("@smithy/core/client").CommandImpl<ListCodeIssueArtifactsCommandInput, ListCodeIssueArtifactsCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Lists the artifacts attached to an issue in descending artifactId order. Content is returned by GetCodeIssueArtifact.
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { ContinuumClient, ListCodeIssueArtifactsCommand } from "@aws-sdk/client-continuum"; // ES Modules import
|
|
32
|
+
* // const { ContinuumClient, ListCodeIssueArtifactsCommand } = 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 = { // ListCodeIssueArtifactsInput
|
|
37
|
+
* environmentId: "STRING_VALUE", // required
|
|
38
|
+
* issueId: "STRING_VALUE", // required
|
|
39
|
+
* artifactType: "EVIDENCE" || "AGENT_COMMUNICATION" || "VALIDATION_EVIDENCE" || "REMEDIATION_PROPOSAL" || "DECISION" || "PATCH",
|
|
40
|
+
* maxResults: Number("int"),
|
|
41
|
+
* nextToken: "STRING_VALUE",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new ListCodeIssueArtifactsCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // ListCodeIssueArtifactsOutput
|
|
46
|
+
* // items: [ // CodeIssueArtifactItems // required
|
|
47
|
+
* // { // IssueArtifactItem
|
|
48
|
+
* // artifactId: "STRING_VALUE", // required
|
|
49
|
+
* // artifactType: "EVIDENCE" || "AGENT_COMMUNICATION" || "VALIDATION_EVIDENCE" || "REMEDIATION_PROPOSAL" || "DECISION" || "PATCH", // required
|
|
50
|
+
* // mediaType: "STRING_VALUE", // required
|
|
51
|
+
* // producer: { // IssueArtifactProducerSummary
|
|
52
|
+
* // agent: "STRING_VALUE", // required
|
|
53
|
+
* // },
|
|
54
|
+
* // contentSizeBytes: Number("long"), // required
|
|
55
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
56
|
+
* // },
|
|
57
|
+
* // ],
|
|
58
|
+
* // nextToken: "STRING_VALUE",
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* @param ListCodeIssueArtifactsCommandInput - {@link ListCodeIssueArtifactsCommandInput}
|
|
64
|
+
* @returns {@link ListCodeIssueArtifactsCommandOutput}
|
|
65
|
+
* @see {@link ListCodeIssueArtifactsCommandInput} for command's `input` shape.
|
|
66
|
+
* @see {@link ListCodeIssueArtifactsCommandOutput} for command's `response` shape.
|
|
67
|
+
* @see {@link ContinuumClientResolvedConfig | config} for ContinuumClient's `config` shape.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
70
|
+
* The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link InternalServerException} (server fault)
|
|
73
|
+
* The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
76
|
+
* The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
79
|
+
* The request was denied due to request throttling.
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ValidationException} (client fault)
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ContinuumServiceException}
|
|
84
|
+
* <p>Base exception class for all service exceptions from Continuum service.</p>
|
|
85
|
+
*
|
|
86
|
+
*
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
export declare class ListCodeIssueArtifactsCommand extends ListCodeIssueArtifactsCommand_base {
|
|
90
|
+
/** @internal type navigation helper, not in runtime. */
|
|
91
|
+
protected static __types: {
|
|
92
|
+
api: {
|
|
93
|
+
input: ListCodeIssueArtifactsInput;
|
|
94
|
+
output: ListCodeIssueArtifactsOutput;
|
|
95
|
+
};
|
|
96
|
+
sdk: {
|
|
97
|
+
input: ListCodeIssueArtifactsCommandInput;
|
|
98
|
+
output: ListCodeIssueArtifactsCommandOutput;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListCodeIssuesInput, ListCodeIssuesOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListCodeIssuesCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListCodeIssuesCommandInput extends ListCodeIssuesInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListCodeIssuesCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListCodeIssuesCommandOutput extends ListCodeIssuesOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListCodeIssuesCommand_base: {
|
|
22
|
+
new (input: ListCodeIssuesCommandInput): import("@smithy/core/client").CommandImpl<ListCodeIssuesCommandInput, ListCodeIssuesCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ListCodeIssuesCommandInput): import("@smithy/core/client").CommandImpl<ListCodeIssuesCommandInput, ListCodeIssuesCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Lists the issues in an environment in descending issueId order.
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { ContinuumClient, ListCodeIssuesCommand } from "@aws-sdk/client-continuum"; // ES Modules import
|
|
32
|
+
* // const { ContinuumClient, ListCodeIssuesCommand } = 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 = { // ListCodeIssuesInput
|
|
37
|
+
* environmentId: "STRING_VALUE", // required
|
|
38
|
+
* maxResults: Number("int"),
|
|
39
|
+
* nextToken: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new ListCodeIssuesCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // ListCodeIssuesOutput
|
|
44
|
+
* // items: [ // CodeIssueSummaries // required
|
|
45
|
+
* // { // IssueSummary
|
|
46
|
+
* // issueId: "STRING_VALUE", // required
|
|
47
|
+
* // issueArn: "STRING_VALUE", // required
|
|
48
|
+
* // name: "STRING_VALUE", // required
|
|
49
|
+
* // severity: "LOW" || "MEDIUM" || "HIGH" || "CRITICAL",
|
|
50
|
+
* // confidence: Number("int"),
|
|
51
|
+
* // status: "CREATED" || "IN_PROGRESS" || "COMPLETED" || "FAILED", // required
|
|
52
|
+
* // phase: "VALIDATION" || "PRIORITIZATION" || "REMEDIATION",
|
|
53
|
+
* // statusReason: "INTERNAL_ERROR" || "REMEDIATION_FAILED",
|
|
54
|
+
* // statusMessage: "STRING_VALUE",
|
|
55
|
+
* // statusUpdatedAt: new Date("TIMESTAMP"), // required
|
|
56
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
57
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // nextToken: "STRING_VALUE",
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @param ListCodeIssuesCommandInput - {@link ListCodeIssuesCommandInput}
|
|
66
|
+
* @returns {@link ListCodeIssuesCommandOutput}
|
|
67
|
+
* @see {@link ListCodeIssuesCommandInput} for command's `input` shape.
|
|
68
|
+
* @see {@link ListCodeIssuesCommandOutput} for command's `response` shape.
|
|
69
|
+
* @see {@link ContinuumClientResolvedConfig | config} for ContinuumClient's `config` shape.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
72
|
+
* The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link InternalServerException} (server fault)
|
|
75
|
+
* The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
78
|
+
* The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
81
|
+
* The request was denied due to request throttling.
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ValidationException} (client fault)
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ContinuumServiceException}
|
|
86
|
+
* <p>Base exception class for all service exceptions from Continuum service.</p>
|
|
87
|
+
*
|
|
88
|
+
*
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class ListCodeIssuesCommand extends ListCodeIssuesCommand_base {
|
|
92
|
+
/** @internal type navigation helper, not in runtime. */
|
|
93
|
+
protected static __types: {
|
|
94
|
+
api: {
|
|
95
|
+
input: ListCodeIssuesInput;
|
|
96
|
+
output: ListCodeIssuesOutput;
|
|
97
|
+
};
|
|
98
|
+
sdk: {
|
|
99
|
+
input: ListCodeIssuesCommandInput;
|
|
100
|
+
output: ListCodeIssuesCommandOutput;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListCodeScansInput, ListCodeScansOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListCodeScansCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListCodeScansCommandInput extends ListCodeScansInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListCodeScansCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListCodeScansCommandOutput extends ListCodeScansOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListCodeScansCommand_base: {
|
|
22
|
+
new (input: ListCodeScansCommandInput): import("@smithy/core/client").CommandImpl<ListCodeScansCommandInput, ListCodeScansCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ListCodeScansCommandInput): import("@smithy/core/client").CommandImpl<ListCodeScansCommandInput, ListCodeScansCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Lists customer-visible scans for one environment in descending scanRunId order.
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { ContinuumClient, ListCodeScansCommand } from "@aws-sdk/client-continuum"; // ES Modules import
|
|
32
|
+
* // const { ContinuumClient, ListCodeScansCommand } = 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 = { // ListCodeScansInput
|
|
37
|
+
* environmentId: "STRING_VALUE", // required
|
|
38
|
+
* maxResults: Number("int"),
|
|
39
|
+
* nextToken: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new ListCodeScansCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // ListCodeScansOutput
|
|
44
|
+
* // scans: [ // CodeScanSummaries // required
|
|
45
|
+
* // { // CodeScanSummary
|
|
46
|
+
* // scanRunId: "STRING_VALUE", // required
|
|
47
|
+
* // status: "SUBMITTED" || "WAITING_FOR_BUILD" || "BUILDING" || "WAITING_FOR_SCAN" || "SCANNING" || "SUCCEEDED" || "FAILED", // required
|
|
48
|
+
* // origin: "MANUAL" || "SCHEDULED", // required
|
|
49
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
50
|
+
* // completedAt: new Date("TIMESTAMP"),
|
|
51
|
+
* // failureMessage: "STRING_VALUE",
|
|
52
|
+
* // failureStage: "SUBMITTED" || "WAITING_FOR_BUILD" || "BUILDING" || "WAITING_FOR_SCAN" || "SCANNING",
|
|
53
|
+
* // },
|
|
54
|
+
* // ],
|
|
55
|
+
* // nextToken: "STRING_VALUE",
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param ListCodeScansCommandInput - {@link ListCodeScansCommandInput}
|
|
61
|
+
* @returns {@link ListCodeScansCommandOutput}
|
|
62
|
+
* @see {@link ListCodeScansCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link ListCodeScansCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link ContinuumClientResolvedConfig | config} for ContinuumClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
67
|
+
* The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InternalServerException} (server fault)
|
|
70
|
+
* The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
73
|
+
* The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
76
|
+
* The request was denied due to request throttling.
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ValidationException} (client fault)
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ContinuumServiceException}
|
|
81
|
+
* <p>Base exception class for all service exceptions from Continuum service.</p>
|
|
82
|
+
*
|
|
83
|
+
*
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export declare class ListCodeScansCommand extends ListCodeScansCommand_base {
|
|
87
|
+
/** @internal type navigation helper, not in runtime. */
|
|
88
|
+
protected static __types: {
|
|
89
|
+
api: {
|
|
90
|
+
input: ListCodeScansInput;
|
|
91
|
+
output: ListCodeScansOutput;
|
|
92
|
+
};
|
|
93
|
+
sdk: {
|
|
94
|
+
input: ListCodeScansCommandInput;
|
|
95
|
+
output: ListCodeScansCommandOutput;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
}
|