@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,88 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListCollectorsInput, ListCollectorsOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListCollectorsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListCollectorsCommandInput extends ListCollectorsInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListCollectorsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListCollectorsCommandOutput extends ListCollectorsOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListCollectorsCommand_base: {
|
|
22
|
+
new (input: ListCollectorsCommandInput): import("@smithy/core/client").CommandImpl<ListCollectorsCommandInput, ListCollectorsCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [ListCollectorsCommandInput]): import("@smithy/core/client").CommandImpl<ListCollectorsCommandInput, ListCollectorsCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Lists the Collectors owned by the authenticated caller's account, including a Collector whose deletion is in progress. A Collector that is still being created is omitted. The account-scoped Collector quota currently permits at most one result, so no result ordering applies.
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { ContinuumClient, ListCollectorsCommand } from "@aws-sdk/client-continuum"; // ES Modules import
|
|
32
|
+
* // const { ContinuumClient, ListCollectorsCommand } = 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 = {};
|
|
37
|
+
* const command = new ListCollectorsCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // ListCollectorsOutput
|
|
40
|
+
* // items: [ // CollectorSummaries // required
|
|
41
|
+
* // { // CollectorSummary
|
|
42
|
+
* // collectorId: "STRING_VALUE", // required
|
|
43
|
+
* // collectorArn: "STRING_VALUE", // required
|
|
44
|
+
* // type: "AWS_COLLECTOR", // required
|
|
45
|
+
* // status: "ACTIVE" || "PENDING_DELETION", // required
|
|
46
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
47
|
+
* // },
|
|
48
|
+
* // ],
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param ListCollectorsCommandInput - {@link ListCollectorsCommandInput}
|
|
54
|
+
* @returns {@link ListCollectorsCommandOutput}
|
|
55
|
+
* @see {@link ListCollectorsCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link ListCollectorsCommandOutput} 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 InternalServerException} (server fault)
|
|
63
|
+
* The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
66
|
+
* The request was denied due to request throttling.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ValidationException} (client fault)
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ContinuumServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from Continuum service.</p>
|
|
72
|
+
*
|
|
73
|
+
*
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
export declare class ListCollectorsCommand extends ListCollectorsCommand_base {
|
|
77
|
+
/** @internal type navigation helper, not in runtime. */
|
|
78
|
+
protected static __types: {
|
|
79
|
+
api: {
|
|
80
|
+
input: {};
|
|
81
|
+
output: ListCollectorsOutput;
|
|
82
|
+
};
|
|
83
|
+
sdk: {
|
|
84
|
+
input: ListCollectorsCommandInput;
|
|
85
|
+
output: ListCollectorsCommandOutput;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListEnvironmentsInput, ListEnvironmentsOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListEnvironmentsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListEnvironmentsCommandInput extends ListEnvironmentsInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListEnvironmentsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListEnvironmentsCommandOutput extends ListEnvironmentsOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListEnvironmentsCommand_base: {
|
|
22
|
+
new (input: ListEnvironmentsCommandInput): import("@smithy/core/client").CommandImpl<ListEnvironmentsCommandInput, ListEnvironmentsCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [ListEnvironmentsCommandInput]): import("@smithy/core/client").CommandImpl<ListEnvironmentsCommandInput, ListEnvironmentsCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Lists all environments in your account in descending environmentId order. This complete-inventory operation intentionally has no response filters; see the input documentation for the API standards justification.
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { ContinuumClient, ListEnvironmentsCommand } from "@aws-sdk/client-continuum"; // ES Modules import
|
|
32
|
+
* // const { ContinuumClient, ListEnvironmentsCommand } = 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 = { // ListEnvironmentsInput
|
|
37
|
+
* maxResults: Number("int"),
|
|
38
|
+
* nextToken: "STRING_VALUE",
|
|
39
|
+
* };
|
|
40
|
+
* const command = new ListEnvironmentsCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // ListEnvironmentsOutput
|
|
43
|
+
* // items: [ // EnvironmentListEntries // required
|
|
44
|
+
* // { // EnvironmentListEntry
|
|
45
|
+
* // environmentId: "STRING_VALUE", // required
|
|
46
|
+
* // environmentArn: "STRING_VALUE", // required
|
|
47
|
+
* // name: "STRING_VALUE", // required
|
|
48
|
+
* // status: "ACTIVE", // required
|
|
49
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
50
|
+
* // },
|
|
51
|
+
* // ],
|
|
52
|
+
* // nextToken: "STRING_VALUE",
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param ListEnvironmentsCommandInput - {@link ListEnvironmentsCommandInput}
|
|
58
|
+
* @returns {@link ListEnvironmentsCommandOutput}
|
|
59
|
+
* @see {@link ListEnvironmentsCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link ListEnvironmentsCommandOutput} for command's `response` shape.
|
|
61
|
+
* @see {@link ContinuumClientResolvedConfig | config} for ContinuumClient's `config` shape.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
64
|
+
* The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link InternalServerException} (server fault)
|
|
67
|
+
* The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
|
|
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 ListEnvironmentsCommand extends ListEnvironmentsCommand_base {
|
|
81
|
+
/** @internal type navigation helper, not in runtime. */
|
|
82
|
+
protected static __types: {
|
|
83
|
+
api: {
|
|
84
|
+
input: ListEnvironmentsInput;
|
|
85
|
+
output: ListEnvironmentsOutput;
|
|
86
|
+
};
|
|
87
|
+
sdk: {
|
|
88
|
+
input: ListEnvironmentsCommandInput;
|
|
89
|
+
output: ListEnvironmentsCommandOutput;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListIntegrationsInput, ListIntegrationsOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListIntegrationsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListIntegrationsCommandInput extends ListIntegrationsInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListIntegrationsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListIntegrationsCommandOutput extends ListIntegrationsOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListIntegrationsCommand_base: {
|
|
22
|
+
new (input: ListIntegrationsCommandInput): import("@smithy/core/client").CommandImpl<ListIntegrationsCommandInput, ListIntegrationsCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [ListIntegrationsCommandInput]): import("@smithy/core/client").CommandImpl<ListIntegrationsCommandInput, ListIntegrationsCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Lists the integrations in your account in descending integrationId order.
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { ContinuumClient, ListIntegrationsCommand } from "@aws-sdk/client-continuum"; // ES Modules import
|
|
32
|
+
* // const { ContinuumClient, ListIntegrationsCommand } = 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 = { // ListIntegrationsInput
|
|
37
|
+
* maxResults: Number("int"),
|
|
38
|
+
* nextToken: "STRING_VALUE",
|
|
39
|
+
* };
|
|
40
|
+
* const command = new ListIntegrationsCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // ListIntegrationsOutput
|
|
43
|
+
* // items: [ // IntegrationSummaries // required
|
|
44
|
+
* // { // IntegrationSummary
|
|
45
|
+
* // integrationId: "STRING_VALUE", // required
|
|
46
|
+
* // integrationArn: "STRING_VALUE", // required
|
|
47
|
+
* // name: "STRING_VALUE", // required
|
|
48
|
+
* // integrationType: "GITHUB" || "GITLAB" || "S3", // required
|
|
49
|
+
* // providerDetails: { // ProviderDetails Union: only one key present
|
|
50
|
+
* // github: { // GitHubDetails
|
|
51
|
+
* // organizationName: "STRING_VALUE",
|
|
52
|
+
* // },
|
|
53
|
+
* // gitlab: { // GitLabDetails
|
|
54
|
+
* // instanceUrl: "STRING_VALUE", // required
|
|
55
|
+
* // targetType: "GROUP" || "PROJECT", // required
|
|
56
|
+
* // targetPath: "STRING_VALUE", // required
|
|
57
|
+
* // tokenRotation: "AUTOMATIC" || "NONE", // required
|
|
58
|
+
* // expiresAt: new Date("TIMESTAMP"),
|
|
59
|
+
* // },
|
|
60
|
+
* // s3: { // S3Details
|
|
61
|
+
* // bucket: "STRING_VALUE", // required
|
|
62
|
+
* // roleArn: "STRING_VALUE", // required
|
|
63
|
+
* // },
|
|
64
|
+
* // },
|
|
65
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
66
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
67
|
+
* // },
|
|
68
|
+
* // ],
|
|
69
|
+
* // nextToken: "STRING_VALUE",
|
|
70
|
+
* // };
|
|
71
|
+
*
|
|
72
|
+
* ```
|
|
73
|
+
*
|
|
74
|
+
* @param ListIntegrationsCommandInput - {@link ListIntegrationsCommandInput}
|
|
75
|
+
* @returns {@link ListIntegrationsCommandOutput}
|
|
76
|
+
* @see {@link ListIntegrationsCommandInput} for command's `input` shape.
|
|
77
|
+
* @see {@link ListIntegrationsCommandOutput} for command's `response` shape.
|
|
78
|
+
* @see {@link ContinuumClientResolvedConfig | config} for ContinuumClient's `config` shape.
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
81
|
+
* The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link InternalServerException} (server fault)
|
|
84
|
+
* The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
87
|
+
* The request was denied due to request throttling.
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ValidationException} (client fault)
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ContinuumServiceException}
|
|
92
|
+
* <p>Base exception class for all service exceptions from Continuum service.</p>
|
|
93
|
+
*
|
|
94
|
+
*
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
export declare class ListIntegrationsCommand extends ListIntegrationsCommand_base {
|
|
98
|
+
/** @internal type navigation helper, not in runtime. */
|
|
99
|
+
protected static __types: {
|
|
100
|
+
api: {
|
|
101
|
+
input: ListIntegrationsInput;
|
|
102
|
+
output: ListIntegrationsOutput;
|
|
103
|
+
};
|
|
104
|
+
sdk: {
|
|
105
|
+
input: ListIntegrationsCommandInput;
|
|
106
|
+
output: ListIntegrationsCommandOutput;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { PutResourcePolicyInput, PutResourcePolicyOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link PutResourcePolicyCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface PutResourcePolicyCommandInput extends PutResourcePolicyInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link PutResourcePolicyCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface PutResourcePolicyCommandOutput extends PutResourcePolicyOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const PutResourcePolicyCommand_base: {
|
|
22
|
+
new (input: PutResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: PutResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Creates or replaces 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, PutResourcePolicyCommand } from "@aws-sdk/client-continuum"; // ES Modules import
|
|
32
|
+
* // const { ContinuumClient, PutResourcePolicyCommand } = 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 = { // PutResourcePolicyInput
|
|
37
|
+
* arn: "STRING_VALUE", // required
|
|
38
|
+
* policy: "STRING_VALUE",
|
|
39
|
+
* expectedRevisionId: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new PutResourcePolicyCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // PutResourcePolicyOutput
|
|
44
|
+
* // arn: "STRING_VALUE", // required
|
|
45
|
+
* // policy: "STRING_VALUE", // required
|
|
46
|
+
* // revisionId: "STRING_VALUE", // required
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param PutResourcePolicyCommandInput - {@link PutResourcePolicyCommandInput}
|
|
52
|
+
* @returns {@link PutResourcePolicyCommandOutput}
|
|
53
|
+
* @see {@link PutResourcePolicyCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link PutResourcePolicyCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link ContinuumClientResolvedConfig | config} for ContinuumClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
58
|
+
* The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ConflictException} (client fault)
|
|
61
|
+
* The request could not be completed due to a conflict with the current state of the resource.
|
|
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 PutResourcePolicyCommand extends PutResourcePolicyCommand_base {
|
|
81
|
+
/** @internal type navigation helper, not in runtime. */
|
|
82
|
+
protected static __types: {
|
|
83
|
+
api: {
|
|
84
|
+
input: PutResourcePolicyInput;
|
|
85
|
+
output: PutResourcePolicyOutput;
|
|
86
|
+
};
|
|
87
|
+
sdk: {
|
|
88
|
+
input: PutResourcePolicyCommandInput;
|
|
89
|
+
output: PutResourcePolicyCommandOutput;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { StartIntegrationAuthorizationInput, StartIntegrationAuthorizationOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link StartIntegrationAuthorizationCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface StartIntegrationAuthorizationCommandInput extends StartIntegrationAuthorizationInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link StartIntegrationAuthorizationCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface StartIntegrationAuthorizationCommandOutput extends StartIntegrationAuthorizationOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const StartIntegrationAuthorizationCommand_base: {
|
|
22
|
+
new (input: StartIntegrationAuthorizationCommandInput): import("@smithy/core/client").CommandImpl<StartIntegrationAuthorizationCommandInput, StartIntegrationAuthorizationCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: StartIntegrationAuthorizationCommandInput): import("@smithy/core/client").CommandImpl<StartIntegrationAuthorizationCommandInput, StartIntegrationAuthorizationCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Starts an OAuth authorization for a new integration and returns the values the caller sends to the provider's authorization endpoint. The authorization belongs to the calling AWS account, can be redeemed once by CreateIntegration from that same account, and expires after ten minutes.
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { ContinuumClient, StartIntegrationAuthorizationCommand } from "@aws-sdk/client-continuum"; // ES Modules import
|
|
32
|
+
* // const { ContinuumClient, StartIntegrationAuthorizationCommand } = 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 = { // StartIntegrationAuthorizationInput
|
|
37
|
+
* providerType: "GITHUB", // required
|
|
38
|
+
* name: "STRING_VALUE",
|
|
39
|
+
* };
|
|
40
|
+
* const command = new StartIntegrationAuthorizationCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // StartIntegrationAuthorizationOutput
|
|
43
|
+
* // state: "STRING_VALUE", // required
|
|
44
|
+
* // codeChallenge: "STRING_VALUE", // required
|
|
45
|
+
* // codeChallengeMethod: "S256", // required
|
|
46
|
+
* // expiresAt: new Date("TIMESTAMP"), // required
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param StartIntegrationAuthorizationCommandInput - {@link StartIntegrationAuthorizationCommandInput}
|
|
52
|
+
* @returns {@link StartIntegrationAuthorizationCommandOutput}
|
|
53
|
+
* @see {@link StartIntegrationAuthorizationCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link StartIntegrationAuthorizationCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link ContinuumClientResolvedConfig | config} for ContinuumClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
58
|
+
* The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ConflictException} (client fault)
|
|
61
|
+
* The request could not be completed due to a conflict with the current state of the resource.
|
|
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 ThrottlingException} (client fault)
|
|
67
|
+
* The request was denied due to request throttling.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ValidationException} (client fault)
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ContinuumServiceException}
|
|
72
|
+
* <p>Base exception class for all service exceptions from Continuum service.</p>
|
|
73
|
+
*
|
|
74
|
+
*
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export declare class StartIntegrationAuthorizationCommand extends StartIntegrationAuthorizationCommand_base {
|
|
78
|
+
/** @internal type navigation helper, not in runtime. */
|
|
79
|
+
protected static __types: {
|
|
80
|
+
api: {
|
|
81
|
+
input: StartIntegrationAuthorizationInput;
|
|
82
|
+
output: StartIntegrationAuthorizationOutput;
|
|
83
|
+
};
|
|
84
|
+
sdk: {
|
|
85
|
+
input: StartIntegrationAuthorizationCommandInput;
|
|
86
|
+
output: StartIntegrationAuthorizationCommandOutput;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { UpdateCollectorInput, UpdateCollectorOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link UpdateCollectorCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface UpdateCollectorCommandInput extends UpdateCollectorInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link UpdateCollectorCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateCollectorCommandOutput extends UpdateCollectorOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const UpdateCollectorCommand_base: {
|
|
22
|
+
new (input: UpdateCollectorCommandInput): import("@smithy/core/client").CommandImpl<UpdateCollectorCommandInput, UpdateCollectorCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: UpdateCollectorCommandInput): import("@smithy/core/client").CommandImpl<UpdateCollectorCommandInput, UpdateCollectorCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Updates the customer-controlled mutable properties of a Collector. Only the name and Kubernetes cluster IAM role can be changed.
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { ContinuumClient, UpdateCollectorCommand } from "@aws-sdk/client-continuum"; // ES Modules import
|
|
32
|
+
* // const { ContinuumClient, UpdateCollectorCommand } = 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 = { // UpdateCollectorInput
|
|
37
|
+
* collectorId: "STRING_VALUE", // required
|
|
38
|
+
* name: "STRING_VALUE",
|
|
39
|
+
* kubernetesClusterRole: { // KubernetesClusterRoleUpdate Union: only one key present
|
|
40
|
+
* set: { // KubernetesClusterRoleConfiguration
|
|
41
|
+
* roleArn: "STRING_VALUE", // required
|
|
42
|
+
* externalId: "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* remove: {},
|
|
45
|
+
* },
|
|
46
|
+
* };
|
|
47
|
+
* const command = new UpdateCollectorCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // UpdateCollectorOutput
|
|
50
|
+
* // collectorId: "STRING_VALUE", // required
|
|
51
|
+
* // collectorArn: "STRING_VALUE", // required
|
|
52
|
+
* // type: "AWS_COLLECTOR", // required
|
|
53
|
+
* // status: "ACTIVE" || "PENDING_DELETION", // required
|
|
54
|
+
* // configRecorderArn: "STRING_VALUE",
|
|
55
|
+
* // kubernetesClusterRoleArn: "STRING_VALUE",
|
|
56
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
57
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
58
|
+
* // };
|
|
59
|
+
*
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* @param UpdateCollectorCommandInput - {@link UpdateCollectorCommandInput}
|
|
63
|
+
* @returns {@link UpdateCollectorCommandOutput}
|
|
64
|
+
* @see {@link UpdateCollectorCommandInput} for command's `input` shape.
|
|
65
|
+
* @see {@link UpdateCollectorCommandOutput} for command's `response` shape.
|
|
66
|
+
* @see {@link ContinuumClientResolvedConfig | config} for ContinuumClient's `config` shape.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
69
|
+
* The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ConflictException} (client fault)
|
|
72
|
+
* The request could not be completed due to a conflict with the current state of the resource.
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link InternalServerException} (server fault)
|
|
75
|
+
* The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
78
|
+
* The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
81
|
+
* The request was denied due to request throttling.
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ValidationException} (client fault)
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ContinuumServiceException}
|
|
86
|
+
* <p>Base exception class for all service exceptions from Continuum service.</p>
|
|
87
|
+
*
|
|
88
|
+
*
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class UpdateCollectorCommand extends UpdateCollectorCommand_base {
|
|
92
|
+
/** @internal type navigation helper, not in runtime. */
|
|
93
|
+
protected static __types: {
|
|
94
|
+
api: {
|
|
95
|
+
input: UpdateCollectorInput;
|
|
96
|
+
output: UpdateCollectorOutput;
|
|
97
|
+
};
|
|
98
|
+
sdk: {
|
|
99
|
+
input: UpdateCollectorCommandInput;
|
|
100
|
+
output: UpdateCollectorCommandOutput;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
}
|