@aws-sdk/client-continuum 0.0.0-stage → 3.1156.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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,94 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetCodeScanInput, GetCodeScanOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetCodeScanCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetCodeScanCommandInput extends GetCodeScanInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetCodeScanCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetCodeScanCommandOutput extends GetCodeScanOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetCodeScanCommand_base: {
|
|
22
|
+
new (input: GetCodeScanCommandInput): import("@smithy/core/client").CommandImpl<GetCodeScanCommandInput, GetCodeScanCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetCodeScanCommandInput): import("@smithy/core/client").CommandImpl<GetCodeScanCommandInput, GetCodeScanCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Retrieves one customer-visible environment scan.
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { ContinuumClient, GetCodeScanCommand } from "@aws-sdk/client-continuum"; // ES Modules import
|
|
32
|
+
* // const { ContinuumClient, GetCodeScanCommand } = 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 = { // GetCodeScanInput
|
|
37
|
+
* environmentId: "STRING_VALUE", // required
|
|
38
|
+
* scanRunId: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetCodeScanCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetCodeScanOutput
|
|
43
|
+
* // scan: { // CodeScanData
|
|
44
|
+
* // scanRunId: "STRING_VALUE", // required
|
|
45
|
+
* // status: "SUBMITTED" || "WAITING_FOR_BUILD" || "BUILDING" || "WAITING_FOR_SCAN" || "SCANNING" || "SUCCEEDED" || "FAILED", // required
|
|
46
|
+
* // origin: "MANUAL" || "SCHEDULED", // required
|
|
47
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
48
|
+
* // completedAt: new Date("TIMESTAMP"),
|
|
49
|
+
* // failureMessage: "STRING_VALUE",
|
|
50
|
+
* // failureStage: "SUBMITTED" || "WAITING_FOR_BUILD" || "BUILDING" || "WAITING_FOR_SCAN" || "SCANNING",
|
|
51
|
+
* // },
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param GetCodeScanCommandInput - {@link GetCodeScanCommandInput}
|
|
57
|
+
* @returns {@link GetCodeScanCommandOutput}
|
|
58
|
+
* @see {@link GetCodeScanCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link GetCodeScanCommandOutput} 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 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 GetCodeScanCommand extends GetCodeScanCommand_base {
|
|
83
|
+
/** @internal type navigation helper, not in runtime. */
|
|
84
|
+
protected static __types: {
|
|
85
|
+
api: {
|
|
86
|
+
input: GetCodeScanInput;
|
|
87
|
+
output: GetCodeScanOutput;
|
|
88
|
+
};
|
|
89
|
+
sdk: {
|
|
90
|
+
input: GetCodeScanCommandInput;
|
|
91
|
+
output: GetCodeScanCommandOutput;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetCollectorInput, GetCollectorOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetCollectorCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetCollectorCommandInput extends GetCollectorInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetCollectorCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetCollectorCommandOutput extends GetCollectorOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetCollectorCommand_base: {
|
|
22
|
+
new (input: GetCollectorCommandInput): import("@smithy/core/client").CommandImpl<GetCollectorCommandInput, GetCollectorCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetCollectorCommandInput): import("@smithy/core/client").CommandImpl<GetCollectorCommandInput, GetCollectorCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Retrieves the current state of the Collector for the caller's account.
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { ContinuumClient, GetCollectorCommand } from "@aws-sdk/client-continuum"; // ES Modules import
|
|
32
|
+
* // const { ContinuumClient, GetCollectorCommand } = 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 = { // GetCollectorInput
|
|
37
|
+
* collectorId: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new GetCollectorCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // GetCollectorOutput
|
|
42
|
+
* // collectorId: "STRING_VALUE", // required
|
|
43
|
+
* // collectorArn: "STRING_VALUE", // required
|
|
44
|
+
* // type: "AWS_COLLECTOR", // required
|
|
45
|
+
* // status: "ACTIVE" || "PENDING_DELETION", // required
|
|
46
|
+
* // configRecorderArn: "STRING_VALUE",
|
|
47
|
+
* // kubernetesClusterRoleArn: "STRING_VALUE",
|
|
48
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
49
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param GetCollectorCommandInput - {@link GetCollectorCommandInput}
|
|
55
|
+
* @returns {@link GetCollectorCommandOutput}
|
|
56
|
+
* @see {@link GetCollectorCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link GetCollectorCommandOutput} for command's `response` shape.
|
|
58
|
+
* @see {@link ContinuumClientResolvedConfig | config} for ContinuumClient's `config` shape.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
61
|
+
* The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InternalServerException} (server fault)
|
|
64
|
+
* The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
67
|
+
* The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
70
|
+
* The request was denied due to request throttling.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ValidationException} (client fault)
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ContinuumServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from Continuum service.</p>
|
|
76
|
+
*
|
|
77
|
+
*
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export declare class GetCollectorCommand extends GetCollectorCommand_base {
|
|
81
|
+
/** @internal type navigation helper, not in runtime. */
|
|
82
|
+
protected static __types: {
|
|
83
|
+
api: {
|
|
84
|
+
input: GetCollectorInput;
|
|
85
|
+
output: GetCollectorOutput;
|
|
86
|
+
};
|
|
87
|
+
sdk: {
|
|
88
|
+
input: GetCollectorCommandInput;
|
|
89
|
+
output: GetCollectorCommandOutput;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetCollectorDataAccessAuthorizationInput, GetCollectorDataAccessAuthorizationOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetCollectorDataAccessAuthorizationCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetCollectorDataAccessAuthorizationCommandInput extends GetCollectorDataAccessAuthorizationInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetCollectorDataAccessAuthorizationCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetCollectorDataAccessAuthorizationCommandOutput extends GetCollectorDataAccessAuthorizationOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetCollectorDataAccessAuthorizationCommand_base: {
|
|
22
|
+
new (input: GetCollectorDataAccessAuthorizationCommandInput): import("@smithy/core/client").CommandImpl<GetCollectorDataAccessAuthorizationCommandInput, GetCollectorDataAccessAuthorizationCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetCollectorDataAccessAuthorizationCommandInput): import("@smithy/core/client").CommandImpl<GetCollectorDataAccessAuthorizationCommandInput, GetCollectorDataAccessAuthorizationCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Authorizes an Environment's access to a Collector's data. Continuum calls this
|
|
28
|
+
* operation with the Environment's Collector data-access role before it reads the
|
|
29
|
+
* Collector's inventory, so grant continuum:GetCollectorDataAccessAuthorization to
|
|
30
|
+
* that role and, for a Collector in another account, in the Collector's resource
|
|
31
|
+
* policy. The operation evaluates the action against the exact Collector ARN and
|
|
32
|
+
* the Collector's current resource policy using IAM and the caller's authenticated
|
|
33
|
+
* request context, with environmentArn as the continuum:EnvironmentArn condition
|
|
34
|
+
* key. A successful request returns HTTP 200 with no response members. If access
|
|
35
|
+
* is not granted, the operation returns AccessDeniedException without disclosing
|
|
36
|
+
* Collector existence, ownership, or the policy layer that denied access. The
|
|
37
|
+
* service does not reinterpret the policy using only an account ID.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
41
|
+
* ```javascript
|
|
42
|
+
* import { ContinuumClient, GetCollectorDataAccessAuthorizationCommand } from "@aws-sdk/client-continuum"; // ES Modules import
|
|
43
|
+
* // const { ContinuumClient, GetCollectorDataAccessAuthorizationCommand } = require("@aws-sdk/client-continuum"); // CommonJS import
|
|
44
|
+
* // import type { ContinuumClientConfig } from "@aws-sdk/client-continuum";
|
|
45
|
+
* const config = {}; // type is ContinuumClientConfig
|
|
46
|
+
* const client = new ContinuumClient(config);
|
|
47
|
+
* const input = { // GetCollectorDataAccessAuthorizationInput
|
|
48
|
+
* accountId: "STRING_VALUE", // required
|
|
49
|
+
* collectorId: "STRING_VALUE", // required
|
|
50
|
+
* environmentArn: "STRING_VALUE",
|
|
51
|
+
* };
|
|
52
|
+
* const command = new GetCollectorDataAccessAuthorizationCommand(input);
|
|
53
|
+
* const response = await client.send(command);
|
|
54
|
+
* // {};
|
|
55
|
+
*
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* @param GetCollectorDataAccessAuthorizationCommandInput - {@link GetCollectorDataAccessAuthorizationCommandInput}
|
|
59
|
+
* @returns {@link GetCollectorDataAccessAuthorizationCommandOutput}
|
|
60
|
+
* @see {@link GetCollectorDataAccessAuthorizationCommandInput} for command's `input` shape.
|
|
61
|
+
* @see {@link GetCollectorDataAccessAuthorizationCommandOutput} 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 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 GetCollectorDataAccessAuthorizationCommand extends GetCollectorDataAccessAuthorizationCommand_base {
|
|
82
|
+
/** @internal type navigation helper, not in runtime. */
|
|
83
|
+
protected static __types: {
|
|
84
|
+
api: {
|
|
85
|
+
input: GetCollectorDataAccessAuthorizationInput;
|
|
86
|
+
output: {};
|
|
87
|
+
};
|
|
88
|
+
sdk: {
|
|
89
|
+
input: GetCollectorDataAccessAuthorizationCommandInput;
|
|
90
|
+
output: GetCollectorDataAccessAuthorizationCommandOutput;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetEnvironmentInput, GetEnvironmentOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetEnvironmentCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetEnvironmentCommandInput extends GetEnvironmentInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetEnvironmentCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetEnvironmentCommandOutput extends GetEnvironmentOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetEnvironmentCommand_base: {
|
|
22
|
+
new (input: GetEnvironmentCommandInput): import("@smithy/core/client").CommandImpl<GetEnvironmentCommandInput, GetEnvironmentCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetEnvironmentCommandInput): import("@smithy/core/client").CommandImpl<GetEnvironmentCommandInput, GetEnvironmentCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Retrieves the current state and configuration of an environment.
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { ContinuumClient, GetEnvironmentCommand } from "@aws-sdk/client-continuum"; // ES Modules import
|
|
32
|
+
* // const { ContinuumClient, GetEnvironmentCommand } = 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 = { // GetEnvironmentInput
|
|
37
|
+
* environmentId: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new GetEnvironmentCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // GetEnvironmentOutput
|
|
42
|
+
* // environmentId: "STRING_VALUE", // required
|
|
43
|
+
* // environmentArn: "STRING_VALUE", // required
|
|
44
|
+
* // name: "STRING_VALUE", // required
|
|
45
|
+
* // status: "ACTIVE", // required
|
|
46
|
+
* // statusMessage: "STRING_VALUE",
|
|
47
|
+
* // statusUpdatedAt: new Date("TIMESTAMP"), // required
|
|
48
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
49
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
50
|
+
* // configuration: { // EnvironmentConfigurationDetails
|
|
51
|
+
* // codeConfiguration: { // CodeConfigurationDetails
|
|
52
|
+
* // collectorDetails: { // CollectorDetails
|
|
53
|
+
* // collectorDataAccessRoleArn: "STRING_VALUE",
|
|
54
|
+
* // },
|
|
55
|
+
* // sourceConfiguration: { // EnvironmentSourceConfiguration
|
|
56
|
+
* // s3Sources: [ // EnvironmentS3Sources
|
|
57
|
+
* // { // EnvironmentS3IntegrationSource
|
|
58
|
+
* // integrationId: "STRING_VALUE", // required
|
|
59
|
+
* // codePrefix: "STRING_VALUE",
|
|
60
|
+
* // contextPrefix: "STRING_VALUE",
|
|
61
|
+
* // },
|
|
62
|
+
* // ],
|
|
63
|
+
* // repositorySources: [ // EnvironmentRepositorySources
|
|
64
|
+
* // { // EnvironmentRepositorySource
|
|
65
|
+
* // integrationId: "STRING_VALUE", // required
|
|
66
|
+
* // repository: "STRING_VALUE", // required
|
|
67
|
+
* // defaultBranch: "STRING_VALUE",
|
|
68
|
+
* // },
|
|
69
|
+
* // ],
|
|
70
|
+
* // },
|
|
71
|
+
* // environmentConfiguration: { // EnvironmentConfiguration
|
|
72
|
+
* // network: { // EnvironmentNetworkConfiguration
|
|
73
|
+
* // allowedDomains: [ // DomainNames
|
|
74
|
+
* // "STRING_VALUE",
|
|
75
|
+
* // ],
|
|
76
|
+
* // },
|
|
77
|
+
* // scanFrequency: "STRING_VALUE",
|
|
78
|
+
* // patchCreationPolicy: "ENABLED" || "DISABLED",
|
|
79
|
+
* // },
|
|
80
|
+
* // latestScan: { // CodeScanSummary
|
|
81
|
+
* // scanRunId: "STRING_VALUE", // required
|
|
82
|
+
* // status: "SUBMITTED" || "WAITING_FOR_BUILD" || "BUILDING" || "WAITING_FOR_SCAN" || "SCANNING" || "SUCCEEDED" || "FAILED", // required
|
|
83
|
+
* // origin: "MANUAL" || "SCHEDULED", // required
|
|
84
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
85
|
+
* // completedAt: new Date("TIMESTAMP"),
|
|
86
|
+
* // failureMessage: "STRING_VALUE",
|
|
87
|
+
* // failureStage: "SUBMITTED" || "WAITING_FOR_BUILD" || "BUILDING" || "WAITING_FOR_SCAN" || "SCANNING",
|
|
88
|
+
* // },
|
|
89
|
+
* // },
|
|
90
|
+
* // },
|
|
91
|
+
* // };
|
|
92
|
+
*
|
|
93
|
+
* ```
|
|
94
|
+
*
|
|
95
|
+
* @param GetEnvironmentCommandInput - {@link GetEnvironmentCommandInput}
|
|
96
|
+
* @returns {@link GetEnvironmentCommandOutput}
|
|
97
|
+
* @see {@link GetEnvironmentCommandInput} for command's `input` shape.
|
|
98
|
+
* @see {@link GetEnvironmentCommandOutput} for command's `response` shape.
|
|
99
|
+
* @see {@link ContinuumClientResolvedConfig | config} for ContinuumClient's `config` shape.
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
102
|
+
* The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link InternalServerException} (server fault)
|
|
105
|
+
* The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
|
|
106
|
+
*
|
|
107
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
108
|
+
* The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
111
|
+
* The request was denied due to request throttling.
|
|
112
|
+
*
|
|
113
|
+
* @throws {@link ValidationException} (client fault)
|
|
114
|
+
*
|
|
115
|
+
* @throws {@link ContinuumServiceException}
|
|
116
|
+
* <p>Base exception class for all service exceptions from Continuum service.</p>
|
|
117
|
+
*
|
|
118
|
+
*
|
|
119
|
+
* @public
|
|
120
|
+
*/
|
|
121
|
+
export declare class GetEnvironmentCommand extends GetEnvironmentCommand_base {
|
|
122
|
+
/** @internal type navigation helper, not in runtime. */
|
|
123
|
+
protected static __types: {
|
|
124
|
+
api: {
|
|
125
|
+
input: GetEnvironmentInput;
|
|
126
|
+
output: GetEnvironmentOutput;
|
|
127
|
+
};
|
|
128
|
+
sdk: {
|
|
129
|
+
input: GetEnvironmentCommandInput;
|
|
130
|
+
output: GetEnvironmentCommandOutput;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetIntegrationInput, GetIntegrationOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetIntegrationCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetIntegrationCommandInput extends GetIntegrationInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetIntegrationCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetIntegrationCommandOutput extends GetIntegrationOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetIntegrationCommand_base: {
|
|
22
|
+
new (input: GetIntegrationCommandInput): import("@smithy/core/client").CommandImpl<GetIntegrationCommandInput, GetIntegrationCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetIntegrationCommandInput): import("@smithy/core/client").CommandImpl<GetIntegrationCommandInput, GetIntegrationCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Retrieves information about an integration.
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { ContinuumClient, GetIntegrationCommand } from "@aws-sdk/client-continuum"; // ES Modules import
|
|
32
|
+
* // const { ContinuumClient, GetIntegrationCommand } = 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 = { // GetIntegrationInput
|
|
37
|
+
* integrationId: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new GetIntegrationCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // GetIntegrationOutput
|
|
42
|
+
* // integrationId: "STRING_VALUE", // required
|
|
43
|
+
* // integrationArn: "STRING_VALUE", // required
|
|
44
|
+
* // name: "STRING_VALUE", // required
|
|
45
|
+
* // integrationType: "GITHUB" || "GITLAB" || "S3", // required
|
|
46
|
+
* // providerDetails: { // ProviderDetails Union: only one key present
|
|
47
|
+
* // github: { // GitHubDetails
|
|
48
|
+
* // organizationName: "STRING_VALUE",
|
|
49
|
+
* // },
|
|
50
|
+
* // gitlab: { // GitLabDetails
|
|
51
|
+
* // instanceUrl: "STRING_VALUE", // required
|
|
52
|
+
* // targetType: "GROUP" || "PROJECT", // required
|
|
53
|
+
* // targetPath: "STRING_VALUE", // required
|
|
54
|
+
* // tokenRotation: "AUTOMATIC" || "NONE", // required
|
|
55
|
+
* // expiresAt: new Date("TIMESTAMP"),
|
|
56
|
+
* // },
|
|
57
|
+
* // s3: { // S3Details
|
|
58
|
+
* // bucket: "STRING_VALUE", // required
|
|
59
|
+
* // roleArn: "STRING_VALUE", // required
|
|
60
|
+
* // },
|
|
61
|
+
* // },
|
|
62
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
63
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
64
|
+
* // };
|
|
65
|
+
*
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* @param GetIntegrationCommandInput - {@link GetIntegrationCommandInput}
|
|
69
|
+
* @returns {@link GetIntegrationCommandOutput}
|
|
70
|
+
* @see {@link GetIntegrationCommandInput} for command's `input` shape.
|
|
71
|
+
* @see {@link GetIntegrationCommandOutput} for command's `response` shape.
|
|
72
|
+
* @see {@link ContinuumClientResolvedConfig | config} for ContinuumClient's `config` shape.
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
75
|
+
* The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link InternalServerException} (server fault)
|
|
78
|
+
* The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
81
|
+
* The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
84
|
+
* The request was denied due to request throttling.
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ValidationException} (client fault)
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ContinuumServiceException}
|
|
89
|
+
* <p>Base exception class for all service exceptions from Continuum service.</p>
|
|
90
|
+
*
|
|
91
|
+
*
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
export declare class GetIntegrationCommand extends GetIntegrationCommand_base {
|
|
95
|
+
/** @internal type navigation helper, not in runtime. */
|
|
96
|
+
protected static __types: {
|
|
97
|
+
api: {
|
|
98
|
+
input: GetIntegrationInput;
|
|
99
|
+
output: GetIntegrationOutput;
|
|
100
|
+
};
|
|
101
|
+
sdk: {
|
|
102
|
+
input: GetIntegrationCommandInput;
|
|
103
|
+
output: GetIntegrationCommandOutput;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetResourcePolicyInput, GetResourcePolicyOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetResourcePolicyCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetResourcePolicyCommandInput extends GetResourcePolicyInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetResourcePolicyCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetResourcePolicyCommandOutput extends GetResourcePolicyOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetResourcePolicyCommand_base: {
|
|
22
|
+
new (input: GetResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Retrieves the resource policy attached to a Continuum resource.
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { ContinuumClient, GetResourcePolicyCommand } from "@aws-sdk/client-continuum"; // ES Modules import
|
|
32
|
+
* // const { ContinuumClient, GetResourcePolicyCommand } = 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 = { // GetResourcePolicyInput
|
|
37
|
+
* arn: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new GetResourcePolicyCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // GetResourcePolicyOutput
|
|
42
|
+
* // arn: "STRING_VALUE", // required
|
|
43
|
+
* // policy: "STRING_VALUE", // required
|
|
44
|
+
* // revisionId: "STRING_VALUE", // required
|
|
45
|
+
* // };
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param GetResourcePolicyCommandInput - {@link GetResourcePolicyCommandInput}
|
|
50
|
+
* @returns {@link GetResourcePolicyCommandOutput}
|
|
51
|
+
* @see {@link GetResourcePolicyCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link GetResourcePolicyCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link ContinuumClientResolvedConfig | config} for ContinuumClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
56
|
+
* The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InternalServerException} (server fault)
|
|
59
|
+
* The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
62
|
+
* The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
65
|
+
* The request was denied due to request throttling.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ValidationException} (client fault)
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ContinuumServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from Continuum service.</p>
|
|
71
|
+
*
|
|
72
|
+
*
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export declare class GetResourcePolicyCommand extends GetResourcePolicyCommand_base {
|
|
76
|
+
/** @internal type navigation helper, not in runtime. */
|
|
77
|
+
protected static __types: {
|
|
78
|
+
api: {
|
|
79
|
+
input: GetResourcePolicyInput;
|
|
80
|
+
output: GetResourcePolicyOutput;
|
|
81
|
+
};
|
|
82
|
+
sdk: {
|
|
83
|
+
input: GetResourcePolicyCommandInput;
|
|
84
|
+
output: GetResourcePolicyCommandOutput;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
}
|