@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,75 @@
|
|
|
1
|
+
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
|
+
import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
|
+
import { type ContinuumClientResolvedConfig } from "../ContinuumClient";
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export interface ContinuumHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
8
|
+
region?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
export interface ContinuumHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<ContinuumClientResolvedConfig, HandlerExecutionContext, ContinuumHttpAuthSchemeParameters, object> {
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const defaultContinuumHttpAuthSchemeParametersProvider: (config: ContinuumClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<ContinuumHttpAuthSchemeParameters>;
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
22
|
+
export interface ContinuumHttpAuthSchemeProvider extends HttpAuthSchemeProvider<ContinuumHttpAuthSchemeParameters> {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
export declare const defaultContinuumHttpAuthSchemeProvider: ContinuumHttpAuthSchemeProvider;
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
32
|
+
/**
|
|
33
|
+
* A comma-separated list of case-sensitive auth scheme names.
|
|
34
|
+
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
35
|
+
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
authSchemePreference?: string[] | Provider<string[]>;
|
|
39
|
+
/**
|
|
40
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
41
|
+
* @internal
|
|
42
|
+
*/
|
|
43
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
44
|
+
/**
|
|
45
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
46
|
+
* @internal
|
|
47
|
+
*/
|
|
48
|
+
httpAuthSchemeProvider?: ContinuumHttpAuthSchemeProvider;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* @internal
|
|
52
|
+
*/
|
|
53
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
54
|
+
/**
|
|
55
|
+
* A comma-separated list of case-sensitive auth scheme names.
|
|
56
|
+
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
57
|
+
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
readonly authSchemePreference: Provider<string[]>;
|
|
61
|
+
/**
|
|
62
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
65
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
66
|
+
/**
|
|
67
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
70
|
+
readonly httpAuthSchemeProvider: ContinuumHttpAuthSchemeProvider;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import type { ContinuumClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./ContinuumClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
|
|
7
|
+
new (input: I): import("@smithy/core/client").CommandImpl<I, O, ContinuumClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, ContinuumClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
9
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { AssociateCollectorInput, AssociateCollectorOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link AssociateCollectorCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface AssociateCollectorCommandInput extends AssociateCollectorInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link AssociateCollectorCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface AssociateCollectorCommandOutput extends AssociateCollectorOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const AssociateCollectorCommand_base: {
|
|
22
|
+
new (input: AssociateCollectorCommandInput): import("@smithy/core/client").CommandImpl<AssociateCollectorCommandInput, AssociateCollectorCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: AssociateCollectorCommandInput): import("@smithy/core/client").CommandImpl<AssociateCollectorCommandInput, AssociateCollectorCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Associates one Collector with this Environment and configures the customer role Continuum uses to authorize access to associated Collector data. The caller must have permission on the Environment and permission to pass the role. Continuum assumes the supplied role and calls GetCollectorDataAccessAuthorization on the requested Collector; only a successful authorization response permits the association. The caller does not need Collector data-access permission. The Environment retains its other Collector associations. Calling again with an existing association is safe and does not create a duplicate.
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { ContinuumClient, AssociateCollectorCommand } from "@aws-sdk/client-continuum"; // ES Modules import
|
|
32
|
+
* // const { ContinuumClient, AssociateCollectorCommand } = 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 = { // AssociateCollectorInput
|
|
37
|
+
* environmentId: "STRING_VALUE", // required
|
|
38
|
+
* clientToken: "STRING_VALUE",
|
|
39
|
+
* collectorArn: "STRING_VALUE", // required
|
|
40
|
+
* collectorDataAccessRoleArn: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new AssociateCollectorCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // AssociateCollectorOutput
|
|
45
|
+
* // environmentId: "STRING_VALUE", // required
|
|
46
|
+
* // environmentArn: "STRING_VALUE", // required
|
|
47
|
+
* // associatedCollector: { // AssociatedCollector
|
|
48
|
+
* // collectorId: "STRING_VALUE", // required
|
|
49
|
+
* // collectorArn: "STRING_VALUE", // required
|
|
50
|
+
* // },
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param AssociateCollectorCommandInput - {@link AssociateCollectorCommandInput}
|
|
56
|
+
* @returns {@link AssociateCollectorCommandOutput}
|
|
57
|
+
* @see {@link AssociateCollectorCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link AssociateCollectorCommandOutput} 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 ConflictException} (client fault)
|
|
65
|
+
* The request could not be completed due to a conflict with the current state of the resource.
|
|
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 AssociateCollectorCommand extends AssociateCollectorCommand_base {
|
|
85
|
+
/** @internal type navigation helper, not in runtime. */
|
|
86
|
+
protected static __types: {
|
|
87
|
+
api: {
|
|
88
|
+
input: AssociateCollectorInput;
|
|
89
|
+
output: AssociateCollectorOutput;
|
|
90
|
+
};
|
|
91
|
+
sdk: {
|
|
92
|
+
input: AssociateCollectorCommandInput;
|
|
93
|
+
output: AssociateCollectorCommandOutput;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { CreateCodeFindingInput, CreateCodeFindingOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link CreateCodeFindingCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface CreateCodeFindingCommandInput extends CreateCodeFindingInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link CreateCodeFindingCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface CreateCodeFindingCommandOutput extends CreateCodeFindingOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const CreateCodeFindingCommand_base: {
|
|
22
|
+
new (input: CreateCodeFindingCommandInput): import("@smithy/core/client").CommandImpl<CreateCodeFindingCommandInput, CreateCodeFindingCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateCodeFindingCommandInput): import("@smithy/core/client").CommandImpl<CreateCodeFindingCommandInput, CreateCodeFindingCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Ingests a customer-supplied security finding into an environment. Continuum validates the document synchronously against the required overlay fields for the declared format; invalid documents are rejected with a ValidationException. The maximum accepted document size is 256 KB. The environment must have a source configured, and the finding must identify a code location so Continuum can tie it to a repository in the environment's build. Continuum assigns a findingId and stores the verbatim document. When no successful build yet contains the finding's repository, the finding stays SUBMITTED until the next successful build; if that build does not contain it either, the finding is DISCARDED with discardReason SOURCE_REPO_NOT_FOUND.
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { ContinuumClient, CreateCodeFindingCommand } from "@aws-sdk/client-continuum"; // ES Modules import
|
|
32
|
+
* // const { ContinuumClient, CreateCodeFindingCommand } = 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 = { // CreateCodeFindingInput
|
|
37
|
+
* environmentId: "STRING_VALUE", // required
|
|
38
|
+
* ocsfDocument: "DOCUMENT_VALUE", // required
|
|
39
|
+
* clientToken: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new CreateCodeFindingCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // CreateCodeFindingOutput
|
|
44
|
+
* // findingId: "STRING_VALUE", // required
|
|
45
|
+
* // findingArn: "STRING_VALUE", // required
|
|
46
|
+
* // title: "STRING_VALUE", // required
|
|
47
|
+
* // status: "SUBMITTED" || "VALIDATING" || "CONFIRMED" || "DISCARDED", // required
|
|
48
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param CreateCodeFindingCommandInput - {@link CreateCodeFindingCommandInput}
|
|
54
|
+
* @returns {@link CreateCodeFindingCommandOutput}
|
|
55
|
+
* @see {@link CreateCodeFindingCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link CreateCodeFindingCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link ContinuumClientResolvedConfig | config} for ContinuumClient's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
60
|
+
* The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ConflictException} (client fault)
|
|
63
|
+
* The request could not be completed due to a conflict with the current state of the resource.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InternalServerException} (server fault)
|
|
66
|
+
* The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
69
|
+
* The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
72
|
+
* The request was denied due to request throttling.
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ValidationException} (client fault)
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ContinuumServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from Continuum service.</p>
|
|
78
|
+
*
|
|
79
|
+
*
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class CreateCodeFindingCommand extends CreateCodeFindingCommand_base {
|
|
83
|
+
/** @internal type navigation helper, not in runtime. */
|
|
84
|
+
protected static __types: {
|
|
85
|
+
api: {
|
|
86
|
+
input: CreateCodeFindingInput;
|
|
87
|
+
output: CreateCodeFindingOutput;
|
|
88
|
+
};
|
|
89
|
+
sdk: {
|
|
90
|
+
input: CreateCodeFindingCommandInput;
|
|
91
|
+
output: CreateCodeFindingCommandOutput;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { CreateCodeScanInput, CreateCodeScanOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link CreateCodeScanCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface CreateCodeScanCommandInput extends CreateCodeScanInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link CreateCodeScanCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface CreateCodeScanCommandOutput extends CreateCodeScanOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const CreateCodeScanCommand_base: {
|
|
22
|
+
new (input: CreateCodeScanCommandInput): import("@smithy/core/client").CommandImpl<CreateCodeScanCommandInput, CreateCodeScanCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateCodeScanCommandInput): import("@smithy/core/client").CommandImpl<CreateCodeScanCommandInput, CreateCodeScanCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Creates an explicit scan request for one environment. CP creates durable work before
|
|
28
|
+
* any queue delivery occurs.
|
|
29
|
+
*
|
|
30
|
+
* Retrying a request that succeeded, with the same clientToken on the same environment,
|
|
31
|
+
* returns the original scan instead of starting another one. Token handling is not yet
|
|
32
|
+
* atomic: requests with the same token that run at the same time, or a retry after a
|
|
33
|
+
* request that failed partway through, can leave an additional scan, which may end in
|
|
34
|
+
* the FAILED state with a message that it was superseded. Deleting the environment
|
|
35
|
+
* makes its tokens unusable; a later request with one of them returns
|
|
36
|
+
* ResourceNotFoundException.
|
|
37
|
+
*
|
|
38
|
+
* Each environment can have a limited number of scans in progress at the same time.
|
|
39
|
+
* Once that limit is enforced, a request that would exceed it returns
|
|
40
|
+
* ServiceQuotaExceededException; wait for a scan to finish (ListCodeScans shows each
|
|
41
|
+
* scan's status), then retry.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
45
|
+
* ```javascript
|
|
46
|
+
* import { ContinuumClient, CreateCodeScanCommand } from "@aws-sdk/client-continuum"; // ES Modules import
|
|
47
|
+
* // const { ContinuumClient, CreateCodeScanCommand } = require("@aws-sdk/client-continuum"); // CommonJS import
|
|
48
|
+
* // import type { ContinuumClientConfig } from "@aws-sdk/client-continuum";
|
|
49
|
+
* const config = {}; // type is ContinuumClientConfig
|
|
50
|
+
* const client = new ContinuumClient(config);
|
|
51
|
+
* const input = { // CreateCodeScanInput
|
|
52
|
+
* environmentId: "STRING_VALUE", // required
|
|
53
|
+
* clientToken: "STRING_VALUE",
|
|
54
|
+
* };
|
|
55
|
+
* const command = new CreateCodeScanCommand(input);
|
|
56
|
+
* const response = await client.send(command);
|
|
57
|
+
* // { // CreateCodeScanOutput
|
|
58
|
+
* // scan: { // CodeScanSummary
|
|
59
|
+
* // scanRunId: "STRING_VALUE", // required
|
|
60
|
+
* // status: "SUBMITTED" || "WAITING_FOR_BUILD" || "BUILDING" || "WAITING_FOR_SCAN" || "SCANNING" || "SUCCEEDED" || "FAILED", // required
|
|
61
|
+
* // origin: "MANUAL" || "SCHEDULED", // required
|
|
62
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
63
|
+
* // completedAt: new Date("TIMESTAMP"),
|
|
64
|
+
* // failureMessage: "STRING_VALUE",
|
|
65
|
+
* // failureStage: "SUBMITTED" || "WAITING_FOR_BUILD" || "BUILDING" || "WAITING_FOR_SCAN" || "SCANNING",
|
|
66
|
+
* // },
|
|
67
|
+
* // };
|
|
68
|
+
*
|
|
69
|
+
* ```
|
|
70
|
+
*
|
|
71
|
+
* @param CreateCodeScanCommandInput - {@link CreateCodeScanCommandInput}
|
|
72
|
+
* @returns {@link CreateCodeScanCommandOutput}
|
|
73
|
+
* @see {@link CreateCodeScanCommandInput} for command's `input` shape.
|
|
74
|
+
* @see {@link CreateCodeScanCommandOutput} for command's `response` shape.
|
|
75
|
+
* @see {@link ContinuumClientResolvedConfig | config} for ContinuumClient's `config` shape.
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
78
|
+
* The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ConflictException} (client fault)
|
|
81
|
+
* The request could not be completed due to a conflict with the current state of the resource.
|
|
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 ServiceQuotaExceededException} (client fault)
|
|
90
|
+
* The request would exceed a service quota. Review your quota and request an increase if needed.
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
93
|
+
* The request was denied due to request throttling.
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link ValidationException} (client fault)
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link ContinuumServiceException}
|
|
98
|
+
* <p>Base exception class for all service exceptions from Continuum service.</p>
|
|
99
|
+
*
|
|
100
|
+
*
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
export declare class CreateCodeScanCommand extends CreateCodeScanCommand_base {
|
|
104
|
+
/** @internal type navigation helper, not in runtime. */
|
|
105
|
+
protected static __types: {
|
|
106
|
+
api: {
|
|
107
|
+
input: CreateCodeScanInput;
|
|
108
|
+
output: CreateCodeScanOutput;
|
|
109
|
+
};
|
|
110
|
+
sdk: {
|
|
111
|
+
input: CreateCodeScanCommandInput;
|
|
112
|
+
output: CreateCodeScanCommandOutput;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { CreateCollectorInput, CreateCollectorOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link CreateCollectorCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface CreateCollectorCommandInput extends CreateCollectorInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link CreateCollectorCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface CreateCollectorCommandOutput extends CreateCollectorOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const CreateCollectorCommand_base: {
|
|
22
|
+
new (input: CreateCollectorCommandInput): import("@smithy/core/client").CommandImpl<CreateCollectorCommandInput, CreateCollectorCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [CreateCollectorCommandInput]): import("@smithy/core/client").CommandImpl<CreateCollectorCommandInput, CreateCollectorCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Creates the Collector for the caller's account. Provisions an AWS Config service-linked recorder using the caller's federated access session and begins recording infrastructure changes.
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { ContinuumClient, CreateCollectorCommand } from "@aws-sdk/client-continuum"; // ES Modules import
|
|
32
|
+
* // const { ContinuumClient, CreateCollectorCommand } = 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 = { // CreateCollectorInput
|
|
37
|
+
* type: "AWS_COLLECTOR",
|
|
38
|
+
* kubernetesClusterRole: { // KubernetesClusterRoleConfiguration
|
|
39
|
+
* roleArn: "STRING_VALUE", // required
|
|
40
|
+
* externalId: "STRING_VALUE",
|
|
41
|
+
* },
|
|
42
|
+
* clientToken: "STRING_VALUE",
|
|
43
|
+
* };
|
|
44
|
+
* const command = new CreateCollectorCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // CreateCollectorOutput
|
|
47
|
+
* // collectorId: "STRING_VALUE", // required
|
|
48
|
+
* // collectorArn: "STRING_VALUE", // required
|
|
49
|
+
* // type: "AWS_COLLECTOR", // required
|
|
50
|
+
* // status: "ACTIVE" || "PENDING_DELETION", // required
|
|
51
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param CreateCollectorCommandInput - {@link CreateCollectorCommandInput}
|
|
57
|
+
* @returns {@link CreateCollectorCommandOutput}
|
|
58
|
+
* @see {@link CreateCollectorCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link CreateCollectorCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link ContinuumClientResolvedConfig | config} for ContinuumClient's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
63
|
+
* The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ConflictException} (client fault)
|
|
66
|
+
* The request could not be completed due to a conflict with the current state of the resource.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link InternalServerException} (server fault)
|
|
69
|
+
* The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
72
|
+
* The request would exceed a service quota. Review your quota and request an increase if needed.
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
75
|
+
* The request was denied due to request throttling.
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ValidationException} (client fault)
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ContinuumServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from Continuum service.</p>
|
|
81
|
+
*
|
|
82
|
+
*
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export declare class CreateCollectorCommand extends CreateCollectorCommand_base {
|
|
86
|
+
/** @internal type navigation helper, not in runtime. */
|
|
87
|
+
protected static __types: {
|
|
88
|
+
api: {
|
|
89
|
+
input: CreateCollectorInput;
|
|
90
|
+
output: CreateCollectorOutput;
|
|
91
|
+
};
|
|
92
|
+
sdk: {
|
|
93
|
+
input: CreateCollectorCommandInput;
|
|
94
|
+
output: CreateCollectorCommandOutput;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { CreateEnvironmentInput, CreateEnvironmentOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link CreateEnvironmentCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface CreateEnvironmentCommandInput extends CreateEnvironmentInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link CreateEnvironmentCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface CreateEnvironmentCommandOutput extends CreateEnvironmentOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const CreateEnvironmentCommand_base: {
|
|
22
|
+
new (input: CreateEnvironmentCommandInput): import("@smithy/core/client").CommandImpl<CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateEnvironmentCommandInput): import("@smithy/core/client").CommandImpl<CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Creates an environment and starts its validation and any requested provisioning. Storage provisioning and dependency checks may continue after the initial 201 response; use GetEnvironment to observe completion.
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { ContinuumClient, CreateEnvironmentCommand } from "@aws-sdk/client-continuum"; // ES Modules import
|
|
32
|
+
* // const { ContinuumClient, CreateEnvironmentCommand } = 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 = { // CreateEnvironmentInput
|
|
37
|
+
* name: "STRING_VALUE", // required
|
|
38
|
+
* configuration: { // CreateEnvironmentConfiguration
|
|
39
|
+
* codeConfiguration: { // CreateCodeConfiguration
|
|
40
|
+
* sourceConfiguration: { // EnvironmentSourceConfiguration
|
|
41
|
+
* s3Sources: [ // EnvironmentS3Sources
|
|
42
|
+
* { // EnvironmentS3IntegrationSource
|
|
43
|
+
* integrationId: "STRING_VALUE", // required
|
|
44
|
+
* codePrefix: "STRING_VALUE",
|
|
45
|
+
* contextPrefix: "STRING_VALUE",
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* repositorySources: [ // EnvironmentRepositorySources
|
|
49
|
+
* { // EnvironmentRepositorySource
|
|
50
|
+
* integrationId: "STRING_VALUE", // required
|
|
51
|
+
* repository: "STRING_VALUE", // required
|
|
52
|
+
* defaultBranch: "STRING_VALUE",
|
|
53
|
+
* },
|
|
54
|
+
* ],
|
|
55
|
+
* },
|
|
56
|
+
* environmentConfiguration: { // EnvironmentConfiguration
|
|
57
|
+
* network: { // EnvironmentNetworkConfiguration
|
|
58
|
+
* allowedDomains: [ // DomainNames
|
|
59
|
+
* "STRING_VALUE",
|
|
60
|
+
* ],
|
|
61
|
+
* },
|
|
62
|
+
* scanFrequency: "STRING_VALUE",
|
|
63
|
+
* patchCreationPolicy: "ENABLED" || "DISABLED",
|
|
64
|
+
* },
|
|
65
|
+
* },
|
|
66
|
+
* },
|
|
67
|
+
* };
|
|
68
|
+
* const command = new CreateEnvironmentCommand(input);
|
|
69
|
+
* const response = await client.send(command);
|
|
70
|
+
* // { // CreateEnvironmentOutput
|
|
71
|
+
* // environmentId: "STRING_VALUE", // required
|
|
72
|
+
* // environmentArn: "STRING_VALUE", // required
|
|
73
|
+
* // status: "ACTIVE", // required
|
|
74
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
75
|
+
* // };
|
|
76
|
+
*
|
|
77
|
+
* ```
|
|
78
|
+
*
|
|
79
|
+
* @param CreateEnvironmentCommandInput - {@link CreateEnvironmentCommandInput}
|
|
80
|
+
* @returns {@link CreateEnvironmentCommandOutput}
|
|
81
|
+
* @see {@link CreateEnvironmentCommandInput} for command's `input` shape.
|
|
82
|
+
* @see {@link CreateEnvironmentCommandOutput} for command's `response` shape.
|
|
83
|
+
* @see {@link ContinuumClientResolvedConfig | config} for ContinuumClient's `config` shape.
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
86
|
+
* The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ConflictException} (client fault)
|
|
89
|
+
* The request could not be completed due to a conflict with the current state of the resource.
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link InternalServerException} (server fault)
|
|
92
|
+
* The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
95
|
+
* The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
98
|
+
* The request would exceed a service quota. Review your quota and request an increase if needed.
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
101
|
+
* The request was denied due to request throttling.
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link ValidationException} (client fault)
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link ContinuumServiceException}
|
|
106
|
+
* <p>Base exception class for all service exceptions from Continuum service.</p>
|
|
107
|
+
*
|
|
108
|
+
*
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
export declare class CreateEnvironmentCommand extends CreateEnvironmentCommand_base {
|
|
112
|
+
/** @internal type navigation helper, not in runtime. */
|
|
113
|
+
protected static __types: {
|
|
114
|
+
api: {
|
|
115
|
+
input: CreateEnvironmentInput;
|
|
116
|
+
output: CreateEnvironmentOutput;
|
|
117
|
+
};
|
|
118
|
+
sdk: {
|
|
119
|
+
input: CreateEnvironmentCommandInput;
|
|
120
|
+
output: CreateEnvironmentCommandOutput;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
}
|