@aws-sdk/client-securityhub 3.830.0 → 3.831.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/README.md +208 -0
- package/dist-cjs/index.js +1956 -51
- package/dist-es/SecurityHub.js +52 -0
- package/dist-es/commands/BatchUpdateFindingsV2Command.js +22 -0
- package/dist-es/commands/ConnectorRegistrationsV2Command.js +22 -0
- package/dist-es/commands/CreateAggregatorV2Command.js +22 -0
- package/dist-es/commands/CreateAutomationRuleV2Command.js +22 -0
- package/dist-es/commands/CreateConnectorV2Command.js +23 -0
- package/dist-es/commands/CreateTicketV2Command.js +22 -0
- package/dist-es/commands/DeleteAggregatorV2Command.js +22 -0
- package/dist-es/commands/DeleteAutomationRuleV2Command.js +22 -0
- package/dist-es/commands/DeleteConnectorV2Command.js +22 -0
- package/dist-es/commands/DescribeProductsV2Command.js +22 -0
- package/dist-es/commands/DescribeSecurityHubV2Command.js +22 -0
- package/dist-es/commands/DisableSecurityHubV2Command.js +22 -0
- package/dist-es/commands/EnableSecurityHubV2Command.js +22 -0
- package/dist-es/commands/GetAggregatorV2Command.js +22 -0
- package/dist-es/commands/GetAutomationRuleV2Command.js +22 -0
- package/dist-es/commands/GetConnectorV2Command.js +22 -0
- package/dist-es/commands/GetFindingStatisticsV2Command.js +22 -0
- package/dist-es/commands/GetFindingsV2Command.js +22 -0
- package/dist-es/commands/GetResourcesStatisticsV2Command.js +22 -0
- package/dist-es/commands/GetResourcesV2Command.js +22 -0
- package/dist-es/commands/ListAggregatorsV2Command.js +22 -0
- package/dist-es/commands/ListAutomationRulesV2Command.js +22 -0
- package/dist-es/commands/ListConnectorsV2Command.js +22 -0
- package/dist-es/commands/UpdateAggregatorV2Command.js +22 -0
- package/dist-es/commands/UpdateAutomationRuleV2Command.js +22 -0
- package/dist-es/commands/UpdateConnectorV2Command.js +23 -0
- package/dist-es/commands/index.js +26 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +13 -0
- package/dist-es/models/models_2.js +193 -19
- package/dist-es/models/models_3.js +101 -0
- package/dist-es/pagination/DescribeProductsV2Paginator.js +4 -0
- package/dist-es/pagination/GetFindingsV2Paginator.js +4 -0
- package/dist-es/pagination/GetResourcesV2Paginator.js +4 -0
- package/dist-es/pagination/ListAggregatorsV2Paginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +1071 -32
- package/dist-types/SecurityHub.d.ts +192 -0
- package/dist-types/SecurityHubClient.d.ts +28 -2
- package/dist-types/commands/BatchGetAutomationRulesCommand.d.ts +5 -5
- package/dist-types/commands/BatchUpdateAutomationRulesCommand.d.ts +5 -5
- package/dist-types/commands/BatchUpdateFindingsCommand.d.ts +16 -12
- package/dist-types/commands/BatchUpdateFindingsV2Command.d.ts +129 -0
- package/dist-types/commands/ConnectorRegistrationsV2Command.d.ts +96 -0
- package/dist-types/commands/CreateAggregatorV2Command.d.ts +106 -0
- package/dist-types/commands/CreateAutomationRuleCommand.d.ts +5 -5
- package/dist-types/commands/CreateAutomationRuleV2Command.d.ts +174 -0
- package/dist-types/commands/CreateConnectorV2Command.d.ts +112 -0
- package/dist-types/commands/CreateInsightCommand.d.ts +5 -5
- package/dist-types/commands/CreateTicketV2Command.d.ts +97 -0
- package/dist-types/commands/DeleteAggregatorV2Command.d.ts +92 -0
- package/dist-types/commands/DeleteAutomationRuleV2Command.d.ts +92 -0
- package/dist-types/commands/DeleteConnectorV2Command.d.ts +92 -0
- package/dist-types/commands/DescribeProductsV2Command.d.ts +107 -0
- package/dist-types/commands/DescribeSecurityHubV2Command.d.ts +87 -0
- package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +1 -0
- package/dist-types/commands/DisableSecurityHubV2Command.d.ts +84 -0
- package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +6 -2
- package/dist-types/commands/EnableSecurityHubV2Command.d.ts +90 -0
- package/dist-types/commands/GetAggregatorV2Command.d.ts +99 -0
- package/dist-types/commands/GetAutomationRuleV2Command.d.ts +176 -0
- package/dist-types/commands/GetConnectorV2Command.d.ts +119 -0
- package/dist-types/commands/GetFindingHistoryCommand.d.ts +8 -2
- package/dist-types/commands/GetFindingStatisticsV2Command.d.ts +169 -0
- package/dist-types/commands/GetFindingsCommand.d.ts +7 -6
- package/dist-types/commands/GetFindingsV2Command.d.ts +163 -0
- package/dist-types/commands/GetInsightResultsCommand.d.ts +1 -1
- package/dist-types/commands/GetInsightsCommand.d.ts +6 -6
- package/dist-types/commands/GetInvitationsCountCommand.d.ts +1 -1
- package/dist-types/commands/GetMasterAccountCommand.d.ts +1 -1
- package/dist-types/commands/GetMembersCommand.d.ts +1 -1
- package/dist-types/commands/GetResourcesStatisticsV2Command.d.ts +162 -0
- package/dist-types/commands/GetResourcesV2Command.d.ts +190 -0
- package/dist-types/commands/GetSecurityControlDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/InviteMembersCommand.d.ts +1 -1
- package/dist-types/commands/ListAggregatorsV2Command.d.ts +100 -0
- package/dist-types/commands/ListAutomationRulesCommand.d.ts +1 -1
- package/dist-types/commands/ListAutomationRulesV2Command.d.ts +109 -0
- package/dist-types/commands/ListConfigurationPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListConfigurationPolicyAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/ListConnectorsV2Command.d.ts +110 -0
- package/dist-types/commands/ListEnabledProductsForImportCommand.d.ts +1 -1
- package/dist-types/commands/ListFindingAggregatorsCommand.d.ts +1 -1
- package/dist-types/commands/ListInvitationsCommand.d.ts +1 -1
- package/dist-types/commands/ListMembersCommand.d.ts +1 -1
- package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +3 -1
- package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +1 -1
- package/dist-types/commands/ListStandardsControlAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/StartConfigurationPolicyAssociationCommand.d.ts +1 -1
- package/dist-types/commands/StartConfigurationPolicyDisassociationCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateActionTargetCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAggregatorV2Command.d.ts +103 -0
- package/dist-types/commands/UpdateAutomationRuleV2Command.d.ts +171 -0
- package/dist-types/commands/UpdateConfigurationPolicyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateConnectorV2Command.d.ts +99 -0
- package/dist-types/commands/UpdateFindingAggregatorCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFindingsCommand.d.ts +6 -6
- package/dist-types/commands/UpdateInsightCommand.d.ts +6 -6
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSecurityControlCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSecurityHubConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateStandardsControlCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +26 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +166 -320
- package/dist-types/models/models_1.d.ts +319 -343
- package/dist-types/models/models_2.d.ts +2465 -2269
- package/dist-types/models/models_3.d.ts +2386 -0
- package/dist-types/pagination/DescribeProductsV2Paginator.d.ts +7 -0
- package/dist-types/pagination/GetFindingsV2Paginator.d.ts +7 -0
- package/dist-types/pagination/GetResourcesV2Paginator.d.ts +7 -0
- package/dist-types/pagination/ListAggregatorsV2Paginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +234 -0
- package/dist-types/ts3.4/SecurityHub.d.ts +452 -0
- package/dist-types/ts3.4/SecurityHubClient.d.ts +156 -0
- package/dist-types/ts3.4/commands/BatchUpdateFindingsV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/ConnectorRegistrationsV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateAggregatorV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateAutomationRuleV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateConnectorV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateTicketV2Command.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteAggregatorV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteAutomationRuleV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteConnectorV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeProductsV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeSecurityHubV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisableSecurityHubV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/EnableOrganizationAdminAccountCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/EnableSecurityHubV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAggregatorV2Command.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetAutomationRuleV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetConnectorV2Command.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetFindingStatisticsV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetFindingsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetFindingsV2Command.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetInsightResultsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetInsightsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetInvitationsCountCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetMasterAccountCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetMembersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetResourcesStatisticsV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetResourcesV2Command.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetSecurityControlDefinitionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/InviteMembersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAggregatorsV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAutomationRulesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAutomationRulesV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListConfigurationPoliciesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListConfigurationPolicyAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListConnectorsV2Command.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListEnabledProductsForImportCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListFindingAggregatorsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListInvitationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListOrganizationAdminAccountsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSecurityControlDefinitionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListStandardsControlAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartConfigurationPolicyAssociationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartConfigurationPolicyDisassociationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateActionTargetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateAggregatorV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateAutomationRuleV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateConfigurationPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateConnectorV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateFindingAggregatorCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateFindingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateInsightCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateOrganizationConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateSecurityControlCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateSecurityHubConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateStandardsControlCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +26 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +50 -57
- package/dist-types/ts3.4/models/models_1.d.ts +57 -66
- package/dist-types/ts3.4/models/models_2.d.ts +522 -310
- package/dist-types/ts3.4/models/models_3.d.ts +626 -0
- package/dist-types/ts3.4/pagination/DescribeProductsV2Paginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetFindingsV2Paginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetResourcesV2Paginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAggregatorsV2Paginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +312 -0
- package/package.json +4 -2
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CreateConnectorV2Request, CreateConnectorV2Response } from "../models/models_2";
|
|
4
|
+
import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateConnectorV2Command}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateConnectorV2CommandInput extends CreateConnectorV2Request {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateConnectorV2Command}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateConnectorV2CommandOutput extends CreateConnectorV2Response, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateConnectorV2Command_base: {
|
|
25
|
+
new (input: CreateConnectorV2CommandInput): import("@smithy/smithy-client").CommandImpl<CreateConnectorV2CommandInput, CreateConnectorV2CommandOutput, SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateConnectorV2CommandInput): import("@smithy/smithy-client").CommandImpl<CreateConnectorV2CommandInput, CreateConnectorV2CommandOutput, SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Grants permission to create a connectorV2 based on input parameters. This API is in preview release and subject to change.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SecurityHubClient, CreateConnectorV2Command } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
35
|
+
* // const { SecurityHubClient, CreateConnectorV2Command } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
36
|
+
* const client = new SecurityHubClient(config);
|
|
37
|
+
* const input = { // CreateConnectorV2Request
|
|
38
|
+
* Name: "STRING_VALUE", // required
|
|
39
|
+
* Description: "STRING_VALUE",
|
|
40
|
+
* Provider: { // ProviderConfiguration Union: only one key present
|
|
41
|
+
* JiraCloud: { // JiraCloudProviderConfiguration
|
|
42
|
+
* ProjectKey: "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* ServiceNow: { // ServiceNowProviderConfiguration
|
|
45
|
+
* InstanceName: "STRING_VALUE", // required
|
|
46
|
+
* ClientId: "STRING_VALUE", // required
|
|
47
|
+
* ClientSecret: "STRING_VALUE", // required
|
|
48
|
+
* },
|
|
49
|
+
* },
|
|
50
|
+
* KmsKeyArn: "STRING_VALUE",
|
|
51
|
+
* Tags: { // TagMap
|
|
52
|
+
* "<keys>": "STRING_VALUE",
|
|
53
|
+
* },
|
|
54
|
+
* ClientToken: "STRING_VALUE",
|
|
55
|
+
* };
|
|
56
|
+
* const command = new CreateConnectorV2Command(input);
|
|
57
|
+
* const response = await client.send(command);
|
|
58
|
+
* // { // CreateConnectorV2Response
|
|
59
|
+
* // ConnectorArn: "STRING_VALUE",
|
|
60
|
+
* // ConnectorId: "STRING_VALUE", // required
|
|
61
|
+
* // AuthUrl: "STRING_VALUE",
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* @param CreateConnectorV2CommandInput - {@link CreateConnectorV2CommandInput}
|
|
67
|
+
* @returns {@link CreateConnectorV2CommandOutput}
|
|
68
|
+
* @see {@link CreateConnectorV2CommandInput} for command's `input` shape.
|
|
69
|
+
* @see {@link CreateConnectorV2CommandOutput} for command's `response` shape.
|
|
70
|
+
* @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
73
|
+
* <p>You don't have permission to perform the action specified in the request.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ConflictException} (client fault)
|
|
76
|
+
* <p>The request causes conflict with the current state of the service resource.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link InternalServerException} (server fault)
|
|
79
|
+
* <p>
|
|
80
|
+
* The request has failed due to an internal failure of the service.
|
|
81
|
+
* </p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
84
|
+
* <p>The request was rejected because we can't find the specified resource.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
87
|
+
* <p>
|
|
88
|
+
* The limit on the number of requests per second was exceeded.
|
|
89
|
+
* </p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ValidationException} (client fault)
|
|
92
|
+
* <p>The request has failed validation because it's missing required fields or has invalid inputs.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link SecurityHubServiceException}
|
|
95
|
+
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
96
|
+
*
|
|
97
|
+
*
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
export declare class CreateConnectorV2Command extends CreateConnectorV2Command_base {
|
|
101
|
+
/** @internal type navigation helper, not in runtime. */
|
|
102
|
+
protected static __types: {
|
|
103
|
+
api: {
|
|
104
|
+
input: CreateConnectorV2Request;
|
|
105
|
+
output: CreateConnectorV2Response;
|
|
106
|
+
};
|
|
107
|
+
sdk: {
|
|
108
|
+
input: CreateConnectorV2CommandInput;
|
|
109
|
+
output: CreateConnectorV2CommandOutput;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
}
|
|
@@ -43,31 +43,31 @@ declare const CreateInsightCommand_base: {
|
|
|
43
43
|
* ProductArn: [ // StringFilterList
|
|
44
44
|
* { // StringFilter
|
|
45
45
|
* Value: "STRING_VALUE",
|
|
46
|
-
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS",
|
|
46
|
+
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "CONTAINS_WORD",
|
|
47
47
|
* },
|
|
48
48
|
* ],
|
|
49
49
|
* AwsAccountId: [
|
|
50
50
|
* {
|
|
51
51
|
* Value: "STRING_VALUE",
|
|
52
|
-
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS",
|
|
52
|
+
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "CONTAINS_WORD",
|
|
53
53
|
* },
|
|
54
54
|
* ],
|
|
55
55
|
* Id: [
|
|
56
56
|
* {
|
|
57
57
|
* Value: "STRING_VALUE",
|
|
58
|
-
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS",
|
|
58
|
+
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "CONTAINS_WORD",
|
|
59
59
|
* },
|
|
60
60
|
* ],
|
|
61
61
|
* GeneratorId: [
|
|
62
62
|
* {
|
|
63
63
|
* Value: "STRING_VALUE",
|
|
64
|
-
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS",
|
|
64
|
+
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "CONTAINS_WORD",
|
|
65
65
|
* },
|
|
66
66
|
* ],
|
|
67
67
|
* Region: [
|
|
68
68
|
* {
|
|
69
69
|
* Value: "STRING_VALUE",
|
|
70
|
-
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS",
|
|
70
|
+
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "CONTAINS_WORD",
|
|
71
71
|
* },
|
|
72
72
|
* ],
|
|
73
73
|
* Type: "<StringFilterList>",
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CreateTicketV2Request, CreateTicketV2Response } from "../models/models_2";
|
|
4
|
+
import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateTicketV2Command}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateTicketV2CommandInput extends CreateTicketV2Request {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateTicketV2Command}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateTicketV2CommandOutput extends CreateTicketV2Response, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateTicketV2Command_base: {
|
|
25
|
+
new (input: CreateTicketV2CommandInput): import("@smithy/smithy-client").CommandImpl<CreateTicketV2CommandInput, CreateTicketV2CommandOutput, SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateTicketV2CommandInput): import("@smithy/smithy-client").CommandImpl<CreateTicketV2CommandInput, CreateTicketV2CommandOutput, SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Grants permission to create a ticket in the chosen ITSM based on finding information for the provided finding metadata UID. This API is in preview release and subject to change.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SecurityHubClient, CreateTicketV2Command } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
35
|
+
* // const { SecurityHubClient, CreateTicketV2Command } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
36
|
+
* const client = new SecurityHubClient(config);
|
|
37
|
+
* const input = { // CreateTicketV2Request
|
|
38
|
+
* ConnectorId: "STRING_VALUE", // required
|
|
39
|
+
* FindingMetadataUid: "STRING_VALUE", // required
|
|
40
|
+
* ClientToken: "STRING_VALUE",
|
|
41
|
+
* };
|
|
42
|
+
* const command = new CreateTicketV2Command(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // CreateTicketV2Response
|
|
45
|
+
* // TicketId: "STRING_VALUE", // required
|
|
46
|
+
* // TicketSrcUrl: "STRING_VALUE",
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param CreateTicketV2CommandInput - {@link CreateTicketV2CommandInput}
|
|
52
|
+
* @returns {@link CreateTicketV2CommandOutput}
|
|
53
|
+
* @see {@link CreateTicketV2CommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link CreateTicketV2CommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
58
|
+
* <p>You don't have permission to perform the action specified in the request.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ConflictException} (client fault)
|
|
61
|
+
* <p>The request causes conflict with the current state of the service resource.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InternalServerException} (server fault)
|
|
64
|
+
* <p>
|
|
65
|
+
* The request has failed due to an internal failure of the service.
|
|
66
|
+
* </p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
69
|
+
* <p>The request was rejected because we can't find the specified resource.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
72
|
+
* <p>
|
|
73
|
+
* The limit on the number of requests per second was exceeded.
|
|
74
|
+
* </p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ValidationException} (client fault)
|
|
77
|
+
* <p>The request has failed validation because it's missing required fields or has invalid inputs.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link SecurityHubServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
81
|
+
*
|
|
82
|
+
*
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export declare class CreateTicketV2Command extends CreateTicketV2Command_base {
|
|
86
|
+
/** @internal type navigation helper, not in runtime. */
|
|
87
|
+
protected static __types: {
|
|
88
|
+
api: {
|
|
89
|
+
input: CreateTicketV2Request;
|
|
90
|
+
output: CreateTicketV2Response;
|
|
91
|
+
};
|
|
92
|
+
sdk: {
|
|
93
|
+
input: CreateTicketV2CommandInput;
|
|
94
|
+
output: CreateTicketV2CommandOutput;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DeleteAggregatorV2Request, DeleteAggregatorV2Response } from "../models/models_2";
|
|
4
|
+
import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteAggregatorV2Command}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteAggregatorV2CommandInput extends DeleteAggregatorV2Request {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteAggregatorV2Command}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteAggregatorV2CommandOutput extends DeleteAggregatorV2Response, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteAggregatorV2Command_base: {
|
|
25
|
+
new (input: DeleteAggregatorV2CommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAggregatorV2CommandInput, DeleteAggregatorV2CommandOutput, SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteAggregatorV2CommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAggregatorV2CommandInput, DeleteAggregatorV2CommandOutput, SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes the Aggregator V2. This API is in private preview and subject to change.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SecurityHubClient, DeleteAggregatorV2Command } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
35
|
+
* // const { SecurityHubClient, DeleteAggregatorV2Command } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
36
|
+
* const client = new SecurityHubClient(config);
|
|
37
|
+
* const input = { // DeleteAggregatorV2Request
|
|
38
|
+
* AggregatorV2Arn: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DeleteAggregatorV2Command(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param DeleteAggregatorV2CommandInput - {@link DeleteAggregatorV2CommandInput}
|
|
47
|
+
* @returns {@link DeleteAggregatorV2CommandOutput}
|
|
48
|
+
* @see {@link DeleteAggregatorV2CommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link DeleteAggregatorV2CommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
53
|
+
* <p>You don't have permission to perform the action specified in the request.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ConflictException} (client fault)
|
|
56
|
+
* <p>The request causes conflict with the current state of the service resource.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InternalServerException} (server fault)
|
|
59
|
+
* <p>
|
|
60
|
+
* The request has failed due to an internal failure of the service.
|
|
61
|
+
* </p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
64
|
+
* <p>The request was rejected because we can't find the specified resource.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
67
|
+
* <p>
|
|
68
|
+
* The limit on the number of requests per second was exceeded.
|
|
69
|
+
* </p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ValidationException} (client fault)
|
|
72
|
+
* <p>The request has failed validation because it's missing required fields or has invalid inputs.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link SecurityHubServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
76
|
+
*
|
|
77
|
+
*
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export declare class DeleteAggregatorV2Command extends DeleteAggregatorV2Command_base {
|
|
81
|
+
/** @internal type navigation helper, not in runtime. */
|
|
82
|
+
protected static __types: {
|
|
83
|
+
api: {
|
|
84
|
+
input: DeleteAggregatorV2Request;
|
|
85
|
+
output: {};
|
|
86
|
+
};
|
|
87
|
+
sdk: {
|
|
88
|
+
input: DeleteAggregatorV2CommandInput;
|
|
89
|
+
output: DeleteAggregatorV2CommandOutput;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DeleteAutomationRuleV2Request, DeleteAutomationRuleV2Response } from "../models/models_2";
|
|
4
|
+
import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteAutomationRuleV2Command}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteAutomationRuleV2CommandInput extends DeleteAutomationRuleV2Request {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteAutomationRuleV2Command}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteAutomationRuleV2CommandOutput extends DeleteAutomationRuleV2Response, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteAutomationRuleV2Command_base: {
|
|
25
|
+
new (input: DeleteAutomationRuleV2CommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAutomationRuleV2CommandInput, DeleteAutomationRuleV2CommandOutput, SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteAutomationRuleV2CommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAutomationRuleV2CommandInput, DeleteAutomationRuleV2CommandOutput, SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes a V2 automation rule. This API is in private preview and subject to change.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SecurityHubClient, DeleteAutomationRuleV2Command } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
35
|
+
* // const { SecurityHubClient, DeleteAutomationRuleV2Command } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
36
|
+
* const client = new SecurityHubClient(config);
|
|
37
|
+
* const input = { // DeleteAutomationRuleV2Request
|
|
38
|
+
* Identifier: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DeleteAutomationRuleV2Command(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param DeleteAutomationRuleV2CommandInput - {@link DeleteAutomationRuleV2CommandInput}
|
|
47
|
+
* @returns {@link DeleteAutomationRuleV2CommandOutput}
|
|
48
|
+
* @see {@link DeleteAutomationRuleV2CommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link DeleteAutomationRuleV2CommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
53
|
+
* <p>You don't have permission to perform the action specified in the request.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ConflictException} (client fault)
|
|
56
|
+
* <p>The request causes conflict with the current state of the service resource.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InternalServerException} (server fault)
|
|
59
|
+
* <p>
|
|
60
|
+
* The request has failed due to an internal failure of the service.
|
|
61
|
+
* </p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
64
|
+
* <p>The request was rejected because we can't find the specified resource.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
67
|
+
* <p>
|
|
68
|
+
* The limit on the number of requests per second was exceeded.
|
|
69
|
+
* </p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ValidationException} (client fault)
|
|
72
|
+
* <p>The request has failed validation because it's missing required fields or has invalid inputs.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link SecurityHubServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
76
|
+
*
|
|
77
|
+
*
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export declare class DeleteAutomationRuleV2Command extends DeleteAutomationRuleV2Command_base {
|
|
81
|
+
/** @internal type navigation helper, not in runtime. */
|
|
82
|
+
protected static __types: {
|
|
83
|
+
api: {
|
|
84
|
+
input: DeleteAutomationRuleV2Request;
|
|
85
|
+
output: {};
|
|
86
|
+
};
|
|
87
|
+
sdk: {
|
|
88
|
+
input: DeleteAutomationRuleV2CommandInput;
|
|
89
|
+
output: DeleteAutomationRuleV2CommandOutput;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DeleteConnectorV2Request, DeleteConnectorV2Response } from "../models/models_2";
|
|
4
|
+
import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteConnectorV2Command}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteConnectorV2CommandInput extends DeleteConnectorV2Request {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteConnectorV2Command}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteConnectorV2CommandOutput extends DeleteConnectorV2Response, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteConnectorV2Command_base: {
|
|
25
|
+
new (input: DeleteConnectorV2CommandInput): import("@smithy/smithy-client").CommandImpl<DeleteConnectorV2CommandInput, DeleteConnectorV2CommandOutput, SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteConnectorV2CommandInput): import("@smithy/smithy-client").CommandImpl<DeleteConnectorV2CommandInput, DeleteConnectorV2CommandOutput, SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Grants permission to delete a connectorV2. This API is in preview release and subject to change.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SecurityHubClient, DeleteConnectorV2Command } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
35
|
+
* // const { SecurityHubClient, DeleteConnectorV2Command } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
36
|
+
* const client = new SecurityHubClient(config);
|
|
37
|
+
* const input = { // DeleteConnectorV2Request
|
|
38
|
+
* ConnectorId: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DeleteConnectorV2Command(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param DeleteConnectorV2CommandInput - {@link DeleteConnectorV2CommandInput}
|
|
47
|
+
* @returns {@link DeleteConnectorV2CommandOutput}
|
|
48
|
+
* @see {@link DeleteConnectorV2CommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link DeleteConnectorV2CommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
53
|
+
* <p>You don't have permission to perform the action specified in the request.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ConflictException} (client fault)
|
|
56
|
+
* <p>The request causes conflict with the current state of the service resource.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InternalServerException} (server fault)
|
|
59
|
+
* <p>
|
|
60
|
+
* The request has failed due to an internal failure of the service.
|
|
61
|
+
* </p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
64
|
+
* <p>The request was rejected because we can't find the specified resource.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
67
|
+
* <p>
|
|
68
|
+
* The limit on the number of requests per second was exceeded.
|
|
69
|
+
* </p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ValidationException} (client fault)
|
|
72
|
+
* <p>The request has failed validation because it's missing required fields or has invalid inputs.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link SecurityHubServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
76
|
+
*
|
|
77
|
+
*
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export declare class DeleteConnectorV2Command extends DeleteConnectorV2Command_base {
|
|
81
|
+
/** @internal type navigation helper, not in runtime. */
|
|
82
|
+
protected static __types: {
|
|
83
|
+
api: {
|
|
84
|
+
input: DeleteConnectorV2Request;
|
|
85
|
+
output: {};
|
|
86
|
+
};
|
|
87
|
+
sdk: {
|
|
88
|
+
input: DeleteConnectorV2CommandInput;
|
|
89
|
+
output: DeleteConnectorV2CommandOutput;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DescribeProductsV2Request, DescribeProductsV2Response } from "../models/models_2";
|
|
4
|
+
import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DescribeProductsV2Command}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeProductsV2CommandInput extends DescribeProductsV2Request {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeProductsV2Command}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeProductsV2CommandOutput extends DescribeProductsV2Response, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DescribeProductsV2Command_base: {
|
|
25
|
+
new (input: DescribeProductsV2CommandInput): import("@smithy/smithy-client").CommandImpl<DescribeProductsV2CommandInput, DescribeProductsV2CommandOutput, SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [DescribeProductsV2CommandInput]): import("@smithy/smithy-client").CommandImpl<DescribeProductsV2CommandInput, DescribeProductsV2CommandOutput, SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Gets information about the product integration. This API is in private preview and subject to change.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SecurityHubClient, DescribeProductsV2Command } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
35
|
+
* // const { SecurityHubClient, DescribeProductsV2Command } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
36
|
+
* const client = new SecurityHubClient(config);
|
|
37
|
+
* const input = { // DescribeProductsV2Request
|
|
38
|
+
* NextToken: "STRING_VALUE",
|
|
39
|
+
* MaxResults: Number("int"),
|
|
40
|
+
* };
|
|
41
|
+
* const command = new DescribeProductsV2Command(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // DescribeProductsV2Response
|
|
44
|
+
* // ProductsV2: [ // ProductsV2List // required
|
|
45
|
+
* // { // ProductV2
|
|
46
|
+
* // ProductV2Name: "STRING_VALUE",
|
|
47
|
+
* // CompanyName: "STRING_VALUE",
|
|
48
|
+
* // Description: "STRING_VALUE",
|
|
49
|
+
* // Categories: [ // CategoryList
|
|
50
|
+
* // "STRING_VALUE",
|
|
51
|
+
* // ],
|
|
52
|
+
* // IntegrationV2Types: [ // IntegrationV2TypeList
|
|
53
|
+
* // "SEND_FINDINGS_TO_SECURITY_HUB" || "RECEIVE_FINDINGS_FROM_SECURITY_HUB" || "UPDATE_FINDINGS_IN_SECURITY_HUB",
|
|
54
|
+
* // ],
|
|
55
|
+
* // MarketplaceUrl: "STRING_VALUE",
|
|
56
|
+
* // ActivationUrl: "STRING_VALUE",
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // NextToken: "STRING_VALUE",
|
|
60
|
+
* // };
|
|
61
|
+
*
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* @param DescribeProductsV2CommandInput - {@link DescribeProductsV2CommandInput}
|
|
65
|
+
* @returns {@link DescribeProductsV2CommandOutput}
|
|
66
|
+
* @see {@link DescribeProductsV2CommandInput} for command's `input` shape.
|
|
67
|
+
* @see {@link DescribeProductsV2CommandOutput} for command's `response` shape.
|
|
68
|
+
* @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
71
|
+
* <p>You don't have permission to perform the action specified in the request.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ConflictException} (client fault)
|
|
74
|
+
* <p>The request causes conflict with the current state of the service resource.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link InternalServerException} (server fault)
|
|
77
|
+
* <p>
|
|
78
|
+
* The request has failed due to an internal failure of the service.
|
|
79
|
+
* </p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
82
|
+
* <p>
|
|
83
|
+
* The limit on the number of requests per second was exceeded.
|
|
84
|
+
* </p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ValidationException} (client fault)
|
|
87
|
+
* <p>The request has failed validation because it's missing required fields or has invalid inputs.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link SecurityHubServiceException}
|
|
90
|
+
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
91
|
+
*
|
|
92
|
+
*
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
export declare class DescribeProductsV2Command extends DescribeProductsV2Command_base {
|
|
96
|
+
/** @internal type navigation helper, not in runtime. */
|
|
97
|
+
protected static __types: {
|
|
98
|
+
api: {
|
|
99
|
+
input: DescribeProductsV2Request;
|
|
100
|
+
output: DescribeProductsV2Response;
|
|
101
|
+
};
|
|
102
|
+
sdk: {
|
|
103
|
+
input: DescribeProductsV2CommandInput;
|
|
104
|
+
output: DescribeProductsV2CommandOutput;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
}
|