@aws-sdk/client-securityhub
Advanced tools
Comparing version 3.36.0 to 3.36.1
@@ -8,36 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Accepts the invitation to be a member account and be monitored by the Security Hub administrator | ||
* account that the invitation was sent from.</p> | ||
* <p>This operation is only used by member accounts that are not added through | ||
* Organizations.</p> | ||
* <p>When the member account accepts the invitation, permission is granted to the administrator | ||
* account to view findings generated in the member account.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, AcceptAdministratorInvitationCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, AcceptAdministratorInvitationCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new AcceptAdministratorInvitationCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link AcceptAdministratorInvitationCommandInput} for command's `input` shape. | ||
* @see {@link AcceptAdministratorInvitationCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class AcceptAdministratorInvitationCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -44,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,40 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* @deprecated | ||
* | ||
* <p>This method is deprecated. Instead, use <code>AcceptAdministratorInvitation</code>.</p> | ||
* <p>The Security Hub console continues to use <code>AcceptInvitation</code>. It will eventually change to use <code>AcceptAdministratorInvitation</code>. Any IAM policies that specifically control access to this function must continue to use <code>AcceptInvitation</code>. You should also add <code>AcceptAdministratorInvitation</code> to your policies to ensure that the correct permissions are in place after the console begins to use <code>AcceptAdministratorInvitation</code>.</p> | ||
* <p>Accepts the invitation to be a member account and be monitored by the Security Hub administrator | ||
* account that the invitation was sent from.</p> | ||
* <p>This operation is only used by member accounts that are not added through | ||
* Organizations.</p> | ||
* <p>When the member account accepts the invitation, permission is granted to the administrator | ||
* account to view findings generated in the member account.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, AcceptInvitationCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, AcceptInvitationCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new AcceptInvitationCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link AcceptInvitationCommandInput} for command's `input` shape. | ||
* @see {@link AcceptInvitationCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class AcceptInvitationCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -48,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,34 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Disables the standards specified by the provided | ||
* <code>StandardsSubscriptionArns</code>.</p> | ||
* <p>For more information, see <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-standards.html">Security Standards</a> section of the <i>Security Hub User | ||
* Guide</i>.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, BatchDisableStandardsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, BatchDisableStandardsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new BatchDisableStandardsCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link BatchDisableStandardsCommandInput} for command's `input` shape. | ||
* @see {@link BatchDisableStandardsCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class BatchDisableStandardsCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -42,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,35 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Enables the standards specified by the provided <code>StandardsArn</code>. To obtain the | ||
* ARN for a standard, use the <code>DescribeStandards</code> | ||
* operation.</p> | ||
* <p>For more information, see the <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-standards.html">Security Standards</a> | ||
* section of the <i>Security Hub User Guide</i>.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, BatchEnableStandardsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, BatchEnableStandardsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new BatchEnableStandardsCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link BatchEnableStandardsCommandInput} for command's `input` shape. | ||
* @see {@link BatchEnableStandardsCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class BatchEnableStandardsCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -43,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,89 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Imports security findings generated from an integrated product into Security Hub. | ||
* This action is requested by the integrated product to import its findings into | ||
* Security Hub.</p> | ||
* <p>The maximum allowed size for a finding is 240 Kb. An error is returned for any finding | ||
* larger than 240 Kb.</p> | ||
* <p>After a finding is created, <code>BatchImportFindings</code> cannot be used to update | ||
* the following finding fields and objects, which Security Hub customers use to manage their | ||
* investigation workflow.</p> | ||
* <ul> | ||
* <li> | ||
* <p> | ||
* <code>Note</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>UserDefinedFields</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>VerificationState</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>Workflow</code> | ||
* </p> | ||
* </li> | ||
* </ul> | ||
* <p>Finding providers also should not use <code>BatchImportFindings</code> to update the following attributes.</p> | ||
* <ul> | ||
* <li> | ||
* <p> | ||
* <code>Confidence</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>Criticality</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>RelatedFindings</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>Severity</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>Types</code> | ||
* </p> | ||
* </li> | ||
* </ul> | ||
* <p>Instead, finding providers use <code>FindingProviderFields</code> to provide values for these attributes.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, BatchImportFindingsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, BatchImportFindingsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new BatchImportFindingsCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link BatchImportFindingsCommandInput} for command's `input` shape. | ||
* @see {@link BatchImportFindingsCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class BatchImportFindingsCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -97,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,89 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Used by Security Hub customers to update information about their investigation into a finding. | ||
* Requested by administrator accounts or member accounts. Administrator accounts can update findings for | ||
* their account and their member accounts. Member accounts can update findings for their | ||
* account.</p> | ||
* <p>Updates from <code>BatchUpdateFindings</code> do not affect the value of | ||
* <code>UpdatedAt</code> for a finding.</p> | ||
* <p>Administrator and member accounts can use <code>BatchUpdateFindings</code> to update the | ||
* following finding fields and objects.</p> | ||
* <ul> | ||
* <li> | ||
* <p> | ||
* <code>Confidence</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>Criticality</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>Note</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>RelatedFindings</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>Severity</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>Types</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>UserDefinedFields</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>VerificationState</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>Workflow</code> | ||
* </p> | ||
* </li> | ||
* </ul> | ||
* <p>You can configure IAM policies to restrict access to fields and field values. For | ||
* example, you might not want member accounts to be able to suppress findings or change the | ||
* finding severity. See <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/finding-update-batchupdatefindings.html#batchupdatefindings-configure-access">Configuring access to BatchUpdateFindings</a> in the | ||
* <i>Security Hub User Guide</i>.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, BatchUpdateFindingsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, BatchUpdateFindingsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new BatchUpdateFindingsCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link BatchUpdateFindingsCommandInput} for command's `input` shape. | ||
* @see {@link BatchUpdateFindingsCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class BatchUpdateFindingsCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -97,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,33 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Creates a custom action target in Security Hub.</p> | ||
* <p>You can use custom actions on findings and insights in Security Hub to trigger target actions | ||
* in Amazon CloudWatch Events.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, CreateActionTargetCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, CreateActionTargetCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new CreateActionTargetCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link CreateActionTargetCommandInput} for command's `input` shape. | ||
* @see {@link CreateActionTargetCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class CreateActionTargetCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -41,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,34 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Creates a custom insight in Security Hub. An insight is a consolidation of findings that relate | ||
* to a security issue that requires attention or remediation.</p> | ||
* <p>To group the related findings in the insight, use the | ||
* <code>GroupByAttribute</code>.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, CreateInsightCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, CreateInsightCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new CreateInsightCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link CreateInsightCommandInput} for command's `input` shape. | ||
* @see {@link CreateInsightCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class CreateInsightCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -42,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,58 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Creates a member association in Security Hub between the specified accounts and the account | ||
* used to make the request, which is the administrator account. If you are integrated with | ||
* Organizations, then the administrator account is designated by the organization management account.</p> | ||
* <p> | ||
* <code>CreateMembers</code> is always used to add accounts that are not organization | ||
* members.</p> | ||
* <p>For accounts that are managed using Organizations, <code>CreateMembers</code> is only used | ||
* in the following cases:</p> | ||
* <ul> | ||
* <li> | ||
* <p>Security Hub is not configured to automatically add new organization accounts.</p> | ||
* </li> | ||
* <li> | ||
* <p>The account was disassociated or deleted in Security Hub.</p> | ||
* </li> | ||
* </ul> | ||
* <p>This action can only be used by an account that has Security Hub enabled. To enable Security Hub, you | ||
* can use the <code>EnableSecurityHub</code> operation.</p> | ||
* <p>For accounts that are not organization members, you create the account association and | ||
* then send an invitation to the member account. To send the invitation, you use the | ||
* <code>InviteMembers</code> operation. If the account owner accepts | ||
* the invitation, the account becomes a member account in Security Hub.</p> | ||
* <p>Accounts that are managed using Organizations do not receive an invitation. They | ||
* automatically become a member account in Security Hub, and Security Hub is automatically enabled for those accounts. Note that Security Hub cannot be enabled automatically for the organization management account. The organization management account must enable Security Hub before the administrator account enables it as a member account.</p> | ||
* <p>A permissions policy is added that permits the administrator account to view the findings | ||
* generated in the member account. When Security Hub is enabled in a member account, the member account findings are | ||
* also visible to the administrator account. </p> | ||
* <p>To remove the association between the administrator and member accounts, use the <code>DisassociateFromMasterAccount</code> or <code>DisassociateMembers</code> operation.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, CreateMembersCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, CreateMembersCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new CreateMembersCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link CreateMembersCommandInput} for command's `input` shape. | ||
* @see {@link CreateMembersCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class CreateMembersCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -66,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,33 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Declines invitations to become a member account.</p> | ||
* <p>This operation is only used by accounts that are not part of an organization. | ||
* Organization accounts do not receive invitations.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, DeclineInvitationsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, DeclineInvitationsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new DeclineInvitationsCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link DeclineInvitationsCommandInput} for command's `input` shape. | ||
* @see {@link DeclineInvitationsCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class DeclineInvitationsCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -41,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,33 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Deletes a custom action target from Security Hub.</p> | ||
* <p>Deleting a custom action target does not affect any findings or insights that were | ||
* already sent to Amazon CloudWatch Events using the custom action.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, DeleteActionTargetCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, DeleteActionTargetCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new DeleteActionTargetCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link DeleteActionTargetCommandInput} for command's `input` shape. | ||
* @see {@link DeleteActionTargetCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class DeleteActionTargetCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -41,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,31 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Deletes the insight specified by the <code>InsightArn</code>.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, DeleteInsightCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, DeleteInsightCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new DeleteInsightCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link DeleteInsightCommandInput} for command's `input` shape. | ||
* @see {@link DeleteInsightCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class DeleteInsightCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -39,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,33 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Deletes invitations received by the Amazon Web Services account to become a member account.</p> | ||
* <p>This operation is only used by accounts that are not part of an organization. | ||
* Organization accounts do not receive invitations.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, DeleteInvitationsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, DeleteInvitationsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new DeleteInvitationsCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link DeleteInvitationsCommandInput} for command's `input` shape. | ||
* @see {@link DeleteInvitationsCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class DeleteInvitationsCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -41,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,33 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Deletes the specified member accounts from Security Hub.</p> | ||
* <p>Can be used to delete member accounts that belong to an organization as well as member | ||
* accounts that were invited manually.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, DeleteMembersCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, DeleteMembersCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new DeleteMembersCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link DeleteMembersCommandInput} for command's `input` shape. | ||
* @see {@link DeleteMembersCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class DeleteMembersCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -41,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,31 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Returns a list of the custom action targets in Security Hub in your account.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, DescribeActionTargetsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, DescribeActionTargetsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new DescribeActionTargetsCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link DescribeActionTargetsCommandInput} for command's `input` shape. | ||
* @see {@link DescribeActionTargetsCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class DescribeActionTargetsCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -39,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,32 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Returns details about the Hub resource in your account, including the | ||
* <code>HubArn</code> and the time when you enabled Security Hub.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, DescribeHubCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, DescribeHubCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new DescribeHubCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link DescribeHubCommandInput} for command's `input` shape. | ||
* @see {@link DescribeHubCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class DescribeHubCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -40,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,32 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Returns information about the Organizations configuration for Security Hub. Can only be | ||
* called from a Security Hub administrator account.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, DescribeOrganizationConfigurationCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, DescribeOrganizationConfigurationCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new DescribeOrganizationConfigurationCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link DescribeOrganizationConfigurationCommandInput} for command's `input` shape. | ||
* @see {@link DescribeOrganizationConfigurationCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class DescribeOrganizationConfigurationCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -40,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,35 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Returns information about product integrations in Security Hub.</p> | ||
* <p>You can optionally provide an integration ARN. If you provide an integration ARN, then | ||
* the results only include that integration.</p> | ||
* <p>If you do not provide an integration ARN, then the results include all of the available | ||
* product integrations. </p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, DescribeProductsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, DescribeProductsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new DescribeProductsCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link DescribeProductsCommandInput} for command's `input` shape. | ||
* @see {@link DescribeProductsCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class DescribeProductsCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -43,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,32 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Returns a list of the available standards in Security Hub.</p> | ||
* <p>For each standard, the results include the standard ARN, the name, and a description. </p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, DescribeStandardsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, DescribeStandardsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new DescribeStandardsCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link DescribeStandardsCommandInput} for command's `input` shape. | ||
* @see {@link DescribeStandardsCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class DescribeStandardsCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -40,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,33 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Returns a list of security standards controls.</p> | ||
* <p>For each control, the results include information about whether it is currently enabled, | ||
* the severity, and a link to remediation information.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, DescribeStandardsControlsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, DescribeStandardsControlsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new DescribeStandardsControlsCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link DescribeStandardsControlsCommandInput} for command's `input` shape. | ||
* @see {@link DescribeStandardsControlsCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class DescribeStandardsControlsCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -41,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,32 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Disables the integration of the specified product with Security Hub. After the integration is | ||
* disabled, findings from that product are no longer sent to Security Hub.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, DisableImportFindingsForProductCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, DisableImportFindingsForProductCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new DisableImportFindingsForProductCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link DisableImportFindingsForProductCommandInput} for command's `input` shape. | ||
* @see {@link DisableImportFindingsForProductCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class DisableImportFindingsForProductCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -40,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,32 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Disables a Security Hub administrator account. Can only be called by the organization | ||
* management account.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, DisableOrganizationAdminAccountCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, DisableOrganizationAdminAccountCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new DisableOrganizationAdminAccountCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link DisableOrganizationAdminAccountCommandInput} for command's `input` shape. | ||
* @see {@link DisableOrganizationAdminAccountCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class DisableOrganizationAdminAccountCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -40,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,39 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Disables Security Hub in your account only in the current Region. To disable Security Hub in all | ||
* Regions, you must submit one request per Region where you have enabled Security Hub.</p> | ||
* <p>When you disable Security Hub for an administrator account, it doesn't disable Security Hub for any associated | ||
* member accounts.</p> | ||
* <p>When you disable Security Hub, your existing findings and insights and any Security Hub configuration | ||
* settings are deleted after 90 days and cannot be recovered. Any standards that were enabled | ||
* are disabled, and your administrator and member account associations are removed.</p> | ||
* <p>If you want to save your existing findings, you must export them before you disable | ||
* Security Hub.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, DisableSecurityHubCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, DisableSecurityHubCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new DisableSecurityHubCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link DisableSecurityHubCommandInput} for command's `input` shape. | ||
* @see {@link DisableSecurityHubCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class DisableSecurityHubCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -47,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,35 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Disassociates the current Security Hub member account from the associated administrator | ||
* account.</p> | ||
* <p>This operation is only used by accounts that are not part of an organization. For | ||
* organization accounts, only the administrator account can | ||
* disassociate a member account.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, DisassociateFromAdministratorAccountCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, DisassociateFromAdministratorAccountCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new DisassociateFromAdministratorAccountCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link DisassociateFromAdministratorAccountCommandInput} for command's `input` shape. | ||
* @see {@link DisassociateFromAdministratorAccountCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class DisassociateFromAdministratorAccountCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -43,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,39 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* @deprecated | ||
* | ||
* <p>This method is deprecated. Instead, use <code>DisassociateFromAdministratorAccount</code>.</p> | ||
* <p>The Security Hub console continues to use <code>DisassociateFromMasterAccount</code>. It will eventually change to use <code>DisassociateFromAdministratorAccount</code>. Any IAM policies that specifically control access to this function must continue to use <code>DisassociateFromMasterAccount</code>. You should also add <code>DisassociateFromAdministratorAccount</code> to your policies to ensure that the correct permissions are in place after the console begins to use <code>DisassociateFromAdministratorAccount</code>.</p> | ||
* <p>Disassociates the current Security Hub member account from the associated administrator | ||
* account.</p> | ||
* <p>This operation is only used by accounts that are not part of an organization. For | ||
* organization accounts, only the administrator account can | ||
* disassociate a member account.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, DisassociateFromMasterAccountCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, DisassociateFromMasterAccountCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new DisassociateFromMasterAccountCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link DisassociateFromMasterAccountCommandInput} for command's `input` shape. | ||
* @see {@link DisassociateFromMasterAccountCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class DisassociateFromMasterAccountCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -47,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,33 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Disassociates the specified member accounts from the associated administrator account.</p> | ||
* <p>Can be used to disassociate both accounts that are managed using Organizations and accounts that | ||
* were invited manually.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, DisassociateMembersCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, DisassociateMembersCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new DisassociateMembersCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link DisassociateMembersCommandInput} for command's `input` shape. | ||
* @see {@link DisassociateMembersCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class DisassociateMembersCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -41,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,34 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Enables the integration of a partner product with Security Hub. Integrated products send | ||
* findings to Security Hub.</p> | ||
* <p>When you enable a product integration, a permissions policy that grants permission for | ||
* the product to send findings to Security Hub is applied.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, EnableImportFindingsForProductCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, EnableImportFindingsForProductCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new EnableImportFindingsForProductCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link EnableImportFindingsForProductCommandInput} for command's `input` shape. | ||
* @see {@link EnableImportFindingsForProductCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class EnableImportFindingsForProductCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -42,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,32 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Designates the Security Hub administrator account for an organization. Can only be called by | ||
* the organization management account.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, EnableOrganizationAdminAccountCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, EnableOrganizationAdminAccountCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new EnableOrganizationAdminAccountCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link EnableOrganizationAdminAccountCommandInput} for command's `input` shape. | ||
* @see {@link EnableOrganizationAdminAccountCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class EnableOrganizationAdminAccountCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -40,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,50 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Enables Security Hub for your account in the current Region or the Region you specify in the | ||
* request.</p> | ||
* <p>When you enable Security Hub, you grant to Security Hub the permissions necessary to gather findings | ||
* from other services that are integrated with Security Hub.</p> | ||
* <p>When you use the <code>EnableSecurityHub</code> operation to enable Security Hub, you also | ||
* automatically enable the following standards.</p> | ||
* <ul> | ||
* <li> | ||
* <p>CIS Amazon Web Services Foundations</p> | ||
* </li> | ||
* <li> | ||
* <p>Amazon Web Services Foundational Security Best Practices</p> | ||
* </li> | ||
* </ul> | ||
* <p>You do not enable the Payment Card Industry Data Security Standard (PCI DSS) standard. </p> | ||
* <p>To not enable the automatically enabled standards, set | ||
* <code>EnableDefaultStandards</code> to <code>false</code>.</p> | ||
* <p>After you enable Security Hub, to enable a standard, use the <code>BatchEnableStandards</code> operation. To disable a standard, use the | ||
* <code>BatchDisableStandards</code> operation.</p> | ||
* <p>To learn more, see the <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-settingup.html">setup information</a> in the <i>Security Hub User Guide</i>.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, EnableSecurityHubCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, EnableSecurityHubCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new EnableSecurityHubCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link EnableSecurityHubCommandInput} for command's `input` shape. | ||
* @see {@link EnableSecurityHubCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class EnableSecurityHubCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -58,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,33 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Provides the details for the Security Hub administrator account for the current member account.</p> | ||
* <p>Can be used by both member accounts that are managed using Organizations and accounts that were | ||
* invited manually.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, GetAdministratorAccountCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, GetAdministratorAccountCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new GetAdministratorAccountCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link GetAdministratorAccountCommandInput} for command's `input` shape. | ||
* @see {@link GetAdministratorAccountCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class GetAdministratorAccountCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -41,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,31 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Returns a list of the standards that are currently enabled.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, GetEnabledStandardsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, GetEnabledStandardsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new GetEnabledStandardsCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link GetEnabledStandardsCommandInput} for command's `input` shape. | ||
* @see {@link GetEnabledStandardsCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class GetEnabledStandardsCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -39,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,31 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Returns a list of findings that match the specified criteria.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, GetFindingsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, GetFindingsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new GetFindingsCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link GetFindingsCommandInput} for command's `input` shape. | ||
* @see {@link GetFindingsCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class GetFindingsCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -39,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,31 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Lists the results of the Security Hub insight specified by the insight ARN.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, GetInsightResultsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, GetInsightResultsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new GetInsightResultsCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link GetInsightResultsCommandInput} for command's `input` shape. | ||
* @see {@link GetInsightResultsCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class GetInsightResultsCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -39,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,31 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Lists and describes insights for the specified insight ARNs.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, GetInsightsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, GetInsightsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new GetInsightsCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link GetInsightsCommandInput} for command's `input` shape. | ||
* @see {@link GetInsightsCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class GetInsightsCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -39,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,32 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Returns the count of all Security Hub membership invitations that were sent to the | ||
* current member account, not including the currently accepted invitation. </p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, GetInvitationsCountCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, GetInvitationsCountCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new GetInvitationsCountCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link GetInvitationsCountCommandInput} for command's `input` shape. | ||
* @see {@link GetInvitationsCountCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class GetInvitationsCountCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -40,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,37 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* @deprecated | ||
* | ||
* <p>This method is deprecated. Instead, use <code>GetAdministratorAccount</code>.</p> | ||
* <p>The Security Hub console continues to use <code>GetMasterAccount</code>. It will eventually change to use <code>GetAdministratorAccount</code>. Any IAM policies that specifically control access to this function must continue to use <code>GetMasterAccount</code>. You should also add <code>GetAdministratorAccount</code> to your policies to ensure that the correct permissions are in place after the console begins to use <code>GetAdministratorAccount</code>.</p> | ||
* <p>Provides the details for the Security Hub administrator account for the current member account.</p> | ||
* <p>Can be used by both member accounts that are managed using Organizations and accounts that were | ||
* invited manually.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, GetMasterAccountCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, GetMasterAccountCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new GetMasterAccountCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link GetMasterAccountCommandInput} for command's `input` shape. | ||
* @see {@link GetMasterAccountCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class GetMasterAccountCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -45,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,35 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Returns the details for the Security Hub member accounts for the specified account IDs.</p> | ||
* <p>An administrator account can be either the delegated Security Hub administrator account for an | ||
* organization or an administrator account that enabled Security Hub manually.</p> | ||
* <p>The results include both member accounts that are managed using Organizations and accounts that | ||
* were invited manually.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, GetMembersCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, GetMembersCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new GetMembersCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link GetMembersCommandInput} for command's `input` shape. | ||
* @see {@link GetMembersCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class GetMembersCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -43,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,37 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Invites other Amazon Web Services accounts to become member accounts for the Security Hub administrator account that | ||
* the invitation is sent from.</p> | ||
* <p>This operation is only used to invite accounts that do not belong to an organization. | ||
* Organization accounts do not receive invitations.</p> | ||
* <p>Before you can use this action to invite a member, you must first use the <code>CreateMembers</code> action to create the member account in Security Hub.</p> | ||
* <p>When the account owner enables Security Hub and accepts the invitation to become a member | ||
* account, the administrator account can view the findings generated from the member account.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, InviteMembersCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, InviteMembersCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new InviteMembersCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link InviteMembersCommandInput} for command's `input` shape. | ||
* @see {@link InviteMembersCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class InviteMembersCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -45,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,32 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Lists all findings-generating solutions (products) that you are subscribed to receive | ||
* findings from in Security Hub.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, ListEnabledProductsForImportCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, ListEnabledProductsForImportCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new ListEnabledProductsForImportCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link ListEnabledProductsForImportCommandInput} for command's `input` shape. | ||
* @see {@link ListEnabledProductsForImportCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class ListEnabledProductsForImportCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -40,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,33 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Lists all Security Hub membership invitations that were sent to the current Amazon Web Services account.</p> | ||
* <p>This operation is only used by accounts that are managed by invitation. | ||
* Accounts that are managed using the integration with Organizations do not receive invitations.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, ListInvitationsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, ListInvitationsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new ListInvitationsCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link ListInvitationsCommandInput} for command's `input` shape. | ||
* @see {@link ListInvitationsCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class ListInvitationsCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -41,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,34 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Lists details about all member accounts for the current Security Hub administrator | ||
* account.</p> | ||
* <p>The results include both member accounts that belong to an organization and member | ||
* accounts that were invited manually.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, ListMembersCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, ListMembersCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new ListMembersCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link ListMembersCommandInput} for command's `input` shape. | ||
* @see {@link ListMembersCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class ListMembersCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -42,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,32 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Lists the Security Hub administrator accounts. Can only be called by the organization | ||
* management account.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, ListOrganizationAdminAccountsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, ListOrganizationAdminAccountsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new ListOrganizationAdminAccountsCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link ListOrganizationAdminAccountsCommandInput} for command's `input` shape. | ||
* @see {@link ListOrganizationAdminAccountsCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class ListOrganizationAdminAccountsCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -40,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,31 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Returns a list of tags associated with a resource.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, ListTagsForResourceCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, ListTagsForResourceCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new ListTagsForResourceCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape. | ||
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class ListTagsForResourceCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -39,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,31 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Adds one or more tags to a resource.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, TagResourceCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, TagResourceCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new TagResourceCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link TagResourceCommandInput} for command's `input` shape. | ||
* @see {@link TagResourceCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class TagResourceCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -39,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,31 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Removes one or more tags from a resource.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, UntagResourceCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, UntagResourceCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new UntagResourceCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link UntagResourceCommandInput} for command's `input` shape. | ||
* @see {@link UntagResourceCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class UntagResourceCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -39,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,31 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Updates the name and description of a custom action target in Security Hub.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, UpdateActionTargetCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, UpdateActionTargetCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new UpdateActionTargetCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link UpdateActionTargetCommandInput} for command's `input` shape. | ||
* @see {@link UpdateActionTargetCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class UpdateActionTargetCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -39,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,36 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p> | ||
* <code>UpdateFindings</code> is deprecated. Instead of <code>UpdateFindings</code>, use | ||
* <code>BatchUpdateFindings</code>.</p> | ||
* <p>Updates the <code>Note</code> and <code>RecordState</code> of the Security Hub-aggregated | ||
* findings that the filter attributes specify. Any member account that can view the finding | ||
* also sees the update to the finding.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, UpdateFindingsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, UpdateFindingsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new UpdateFindingsCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link UpdateFindingsCommandInput} for command's `input` shape. | ||
* @see {@link UpdateFindingsCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class UpdateFindingsCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -44,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,31 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Updates the Security Hub insight identified by the specified insight ARN.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, UpdateInsightCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, UpdateInsightCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new UpdateInsightCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link UpdateInsightCommandInput} for command's `input` shape. | ||
* @see {@link UpdateInsightCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class UpdateInsightCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -39,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,32 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Used to update the configuration related to Organizations. Can only be called from a | ||
* Security Hub administrator account.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, UpdateOrganizationConfigurationCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, UpdateOrganizationConfigurationCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new UpdateOrganizationConfigurationCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link UpdateOrganizationConfigurationCommandInput} for command's `input` shape. | ||
* @see {@link UpdateOrganizationConfigurationCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class UpdateOrganizationConfigurationCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -40,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,31 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Updates configuration options for Security Hub.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, UpdateSecurityHubConfigurationCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, UpdateSecurityHubConfigurationCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new UpdateSecurityHubConfigurationCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link UpdateSecurityHubConfigurationCommandInput} for command's `input` shape. | ||
* @see {@link UpdateSecurityHubConfigurationCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class UpdateSecurityHubConfigurationCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -39,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -8,32 +8,7 @@ "use strict"; | ||
const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); | ||
/** | ||
* <p>Used to control whether an individual security standard control is enabled or | ||
* disabled.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, UpdateStandardsControlCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, UpdateStandardsControlCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new UpdateStandardsControlCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link UpdateStandardsControlCommandInput} for command's `input` shape. | ||
* @see {@link UpdateStandardsControlCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
class UpdateStandardsControlCommand extends smithy_client_1.Command { | ||
// Start section: command_properties | ||
// End section: command_properties | ||
constructor(input) { | ||
// Start section: command_constructor | ||
super(); | ||
this.input = input; | ||
// End section: command_constructor | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -40,0 +15,0 @@ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize)); |
@@ -9,5 +9,2 @@ "use strict"; | ||
(function (Network) { | ||
/** | ||
* @internal | ||
*/ | ||
Network.filterSensitiveLog = (obj) => ({ | ||
@@ -19,5 +16,2 @@ ...obj, | ||
(function (NetworkPathComponentDetails) { | ||
/** | ||
* @internal | ||
*/ | ||
NetworkPathComponentDetails.filterSensitiveLog = (obj) => ({ | ||
@@ -29,5 +23,2 @@ ...obj, | ||
(function (NetworkHeader) { | ||
/** | ||
* @internal | ||
*/ | ||
NetworkHeader.filterSensitiveLog = (obj) => ({ | ||
@@ -39,5 +30,2 @@ ...obj, | ||
(function (NetworkPathComponent) { | ||
/** | ||
* @internal | ||
*/ | ||
NetworkPathComponent.filterSensitiveLog = (obj) => ({ | ||
@@ -49,5 +37,2 @@ ...obj, | ||
(function (Note) { | ||
/** | ||
* @internal | ||
*/ | ||
Note.filterSensitiveLog = (obj) => ({ | ||
@@ -59,5 +44,2 @@ ...obj, | ||
(function (PatchSummary) { | ||
/** | ||
* @internal | ||
*/ | ||
PatchSummary.filterSensitiveLog = (obj) => ({ | ||
@@ -69,5 +51,2 @@ ...obj, | ||
(function (ProcessDetails) { | ||
/** | ||
* @internal | ||
*/ | ||
ProcessDetails.filterSensitiveLog = (obj) => ({ | ||
@@ -84,5 +63,2 @@ ...obj, | ||
(function (Recommendation) { | ||
/** | ||
* @internal | ||
*/ | ||
Recommendation.filterSensitiveLog = (obj) => ({ | ||
@@ -94,5 +70,2 @@ ...obj, | ||
(function (Remediation) { | ||
/** | ||
* @internal | ||
*/ | ||
Remediation.filterSensitiveLog = (obj) => ({ | ||
@@ -104,5 +77,2 @@ ...obj, | ||
(function (Cell) { | ||
/** | ||
* @internal | ||
*/ | ||
Cell.filterSensitiveLog = (obj) => ({ | ||
@@ -114,5 +84,2 @@ ...obj, | ||
(function (Range) { | ||
/** | ||
* @internal | ||
*/ | ||
Range.filterSensitiveLog = (obj) => ({ | ||
@@ -124,5 +91,2 @@ ...obj, | ||
(function (Page) { | ||
/** | ||
* @internal | ||
*/ | ||
Page.filterSensitiveLog = (obj) => ({ | ||
@@ -134,5 +98,2 @@ ...obj, | ||
(function (_Record) { | ||
/** | ||
* @internal | ||
*/ | ||
_Record.filterSensitiveLog = (obj) => ({ | ||
@@ -144,5 +105,2 @@ ...obj, | ||
(function (Occurrences) { | ||
/** | ||
* @internal | ||
*/ | ||
Occurrences.filterSensitiveLog = (obj) => ({ | ||
@@ -154,5 +112,2 @@ ...obj, | ||
(function (CustomDataIdentifiersDetections) { | ||
/** | ||
* @internal | ||
*/ | ||
CustomDataIdentifiersDetections.filterSensitiveLog = (obj) => ({ | ||
@@ -164,5 +119,2 @@ ...obj, | ||
(function (CustomDataIdentifiersResult) { | ||
/** | ||
* @internal | ||
*/ | ||
CustomDataIdentifiersResult.filterSensitiveLog = (obj) => ({ | ||
@@ -174,5 +126,2 @@ ...obj, | ||
(function (SensitiveDataDetections) { | ||
/** | ||
* @internal | ||
*/ | ||
SensitiveDataDetections.filterSensitiveLog = (obj) => ({ | ||
@@ -184,5 +133,2 @@ ...obj, | ||
(function (SensitiveDataResult) { | ||
/** | ||
* @internal | ||
*/ | ||
SensitiveDataResult.filterSensitiveLog = (obj) => ({ | ||
@@ -194,5 +140,2 @@ ...obj, | ||
(function (ClassificationStatus) { | ||
/** | ||
* @internal | ||
*/ | ||
ClassificationStatus.filterSensitiveLog = (obj) => ({ | ||
@@ -204,5 +147,2 @@ ...obj, | ||
(function (ClassificationResult) { | ||
/** | ||
* @internal | ||
*/ | ||
ClassificationResult.filterSensitiveLog = (obj) => ({ | ||
@@ -214,5 +154,2 @@ ...obj, | ||
(function (DataClassificationDetails) { | ||
/** | ||
* @internal | ||
*/ | ||
DataClassificationDetails.filterSensitiveLog = (obj) => ({ | ||
@@ -224,5 +161,2 @@ ...obj, | ||
(function (AwsSnsTopicSubscription) { | ||
/** | ||
* @internal | ||
*/ | ||
AwsSnsTopicSubscription.filterSensitiveLog = (obj) => ({ | ||
@@ -234,5 +168,2 @@ ...obj, | ||
(function (AwsSnsTopicDetails) { | ||
/** | ||
* @internal | ||
*/ | ||
AwsSnsTopicDetails.filterSensitiveLog = (obj) => ({ | ||
@@ -244,5 +175,2 @@ ...obj, | ||
(function (AwsSqsQueueDetails) { | ||
/** | ||
* @internal | ||
*/ | ||
AwsSqsQueueDetails.filterSensitiveLog = (obj) => ({ | ||
@@ -254,5 +182,2 @@ ...obj, | ||
(function (AwsSsmComplianceSummary) { | ||
/** | ||
* @internal | ||
*/ | ||
AwsSsmComplianceSummary.filterSensitiveLog = (obj) => ({ | ||
@@ -264,5 +189,2 @@ ...obj, | ||
(function (AwsSsmPatch) { | ||
/** | ||
* @internal | ||
*/ | ||
AwsSsmPatch.filterSensitiveLog = (obj) => ({ | ||
@@ -274,5 +196,2 @@ ...obj, | ||
(function (AwsSsmPatchComplianceDetails) { | ||
/** | ||
* @internal | ||
*/ | ||
AwsSsmPatchComplianceDetails.filterSensitiveLog = (obj) => ({ | ||
@@ -284,5 +203,2 @@ ...obj, | ||
(function (WafAction) { | ||
/** | ||
* @internal | ||
*/ | ||
WafAction.filterSensitiveLog = (obj) => ({ | ||
@@ -294,5 +210,2 @@ ...obj, | ||
(function (WafExcludedRule) { | ||
/** | ||
* @internal | ||
*/ | ||
WafExcludedRule.filterSensitiveLog = (obj) => ({ | ||
@@ -304,5 +217,2 @@ ...obj, | ||
(function (WafOverrideAction) { | ||
/** | ||
* @internal | ||
*/ | ||
WafOverrideAction.filterSensitiveLog = (obj) => ({ | ||
@@ -314,5 +224,2 @@ ...obj, | ||
(function (AwsWafWebAclRule) { | ||
/** | ||
* @internal | ||
*/ | ||
AwsWafWebAclRule.filterSensitiveLog = (obj) => ({ | ||
@@ -324,5 +231,2 @@ ...obj, | ||
(function (AwsWafWebAclDetails) { | ||
/** | ||
* @internal | ||
*/ | ||
AwsWafWebAclDetails.filterSensitiveLog = (obj) => ({ | ||
@@ -334,5 +238,2 @@ ...obj, | ||
(function (ContainerDetails) { | ||
/** | ||
* @internal | ||
*/ | ||
ContainerDetails.filterSensitiveLog = (obj) => ({ | ||
@@ -344,5 +245,2 @@ ...obj, | ||
(function (ResourceDetails) { | ||
/** | ||
* @internal | ||
*/ | ||
ResourceDetails.filterSensitiveLog = (obj) => ({ | ||
@@ -360,5 +258,2 @@ ...obj, | ||
(function (Resource) { | ||
/** | ||
* @internal | ||
*/ | ||
Resource.filterSensitiveLog = (obj) => ({ | ||
@@ -370,5 +265,2 @@ ...obj, | ||
(function (Severity) { | ||
/** | ||
* @internal | ||
*/ | ||
Severity.filterSensitiveLog = (obj) => ({ | ||
@@ -403,5 +295,2 @@ ...obj, | ||
(function (ThreatIntelIndicator) { | ||
/** | ||
* @internal | ||
*/ | ||
ThreatIntelIndicator.filterSensitiveLog = (obj) => ({ | ||
@@ -420,5 +309,2 @@ ...obj, | ||
(function (Cvss) { | ||
/** | ||
* @internal | ||
*/ | ||
Cvss.filterSensitiveLog = (obj) => ({ | ||
@@ -430,5 +316,2 @@ ...obj, | ||
(function (VulnerabilityVendor) { | ||
/** | ||
* @internal | ||
*/ | ||
VulnerabilityVendor.filterSensitiveLog = (obj) => ({ | ||
@@ -440,5 +323,2 @@ ...obj, | ||
(function (SoftwarePackage) { | ||
/** | ||
* @internal | ||
*/ | ||
SoftwarePackage.filterSensitiveLog = (obj) => ({ | ||
@@ -450,5 +330,2 @@ ...obj, | ||
(function (Vulnerability) { | ||
/** | ||
* @internal | ||
*/ | ||
Vulnerability.filterSensitiveLog = (obj) => ({ | ||
@@ -467,5 +344,2 @@ ...obj, | ||
(function (Workflow) { | ||
/** | ||
* @internal | ||
*/ | ||
Workflow.filterSensitiveLog = (obj) => ({ | ||
@@ -485,5 +359,2 @@ ...obj, | ||
(function (AwsSecurityFinding) { | ||
/** | ||
* @internal | ||
*/ | ||
AwsSecurityFinding.filterSensitiveLog = (obj) => ({ | ||
@@ -502,5 +373,2 @@ ...obj, | ||
(function (StringFilter) { | ||
/** | ||
* @internal | ||
*/ | ||
StringFilter.filterSensitiveLog = (obj) => ({ | ||
@@ -512,5 +380,2 @@ ...obj, | ||
(function (NumberFilter) { | ||
/** | ||
* @internal | ||
*/ | ||
NumberFilter.filterSensitiveLog = (obj) => ({ | ||
@@ -526,5 +391,2 @@ ...obj, | ||
(function (DateRange) { | ||
/** | ||
* @internal | ||
*/ | ||
DateRange.filterSensitiveLog = (obj) => ({ | ||
@@ -536,5 +398,2 @@ ...obj, | ||
(function (DateFilter) { | ||
/** | ||
* @internal | ||
*/ | ||
DateFilter.filterSensitiveLog = (obj) => ({ | ||
@@ -546,5 +405,2 @@ ...obj, | ||
(function (KeywordFilter) { | ||
/** | ||
* @internal | ||
*/ | ||
KeywordFilter.filterSensitiveLog = (obj) => ({ | ||
@@ -556,5 +412,2 @@ ...obj, | ||
(function (IpFilter) { | ||
/** | ||
* @internal | ||
*/ | ||
IpFilter.filterSensitiveLog = (obj) => ({ | ||
@@ -571,5 +424,2 @@ ...obj, | ||
(function (MapFilter) { | ||
/** | ||
* @internal | ||
*/ | ||
MapFilter.filterSensitiveLog = (obj) => ({ | ||
@@ -581,5 +431,2 @@ ...obj, | ||
(function (AwsSecurityFindingFilters) { | ||
/** | ||
* @internal | ||
*/ | ||
AwsSecurityFindingFilters.filterSensitiveLog = (obj) => ({ | ||
@@ -591,5 +438,2 @@ ...obj, | ||
(function (AwsSecurityFindingIdentifier) { | ||
/** | ||
* @internal | ||
*/ | ||
AwsSecurityFindingIdentifier.filterSensitiveLog = (obj) => ({ | ||
@@ -601,5 +445,2 @@ ...obj, | ||
(function (BatchDisableStandardsRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
BatchDisableStandardsRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -619,5 +460,2 @@ ...obj, | ||
(function (StandardsSubscription) { | ||
/** | ||
* @internal | ||
*/ | ||
StandardsSubscription.filterSensitiveLog = (obj) => ({ | ||
@@ -629,5 +467,2 @@ ...obj, | ||
(function (BatchDisableStandardsResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
BatchDisableStandardsResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -639,5 +474,2 @@ ...obj, | ||
(function (StandardsSubscriptionRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
StandardsSubscriptionRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -649,5 +481,2 @@ ...obj, | ||
(function (BatchEnableStandardsRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
BatchEnableStandardsRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -659,5 +488,2 @@ ...obj, | ||
(function (BatchEnableStandardsResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
BatchEnableStandardsResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -669,5 +495,2 @@ ...obj, | ||
(function (BatchImportFindingsRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
BatchImportFindingsRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -679,5 +502,2 @@ ...obj, | ||
(function (ImportFindingsError) { | ||
/** | ||
* @internal | ||
*/ | ||
ImportFindingsError.filterSensitiveLog = (obj) => ({ | ||
@@ -689,5 +509,2 @@ ...obj, | ||
(function (BatchImportFindingsResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
BatchImportFindingsResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -699,5 +516,2 @@ ...obj, | ||
(function (NoteUpdate) { | ||
/** | ||
* @internal | ||
*/ | ||
NoteUpdate.filterSensitiveLog = (obj) => ({ | ||
@@ -709,5 +523,2 @@ ...obj, | ||
(function (SeverityUpdate) { | ||
/** | ||
* @internal | ||
*/ | ||
SeverityUpdate.filterSensitiveLog = (obj) => ({ | ||
@@ -719,5 +530,2 @@ ...obj, | ||
(function (WorkflowUpdate) { | ||
/** | ||
* @internal | ||
*/ | ||
WorkflowUpdate.filterSensitiveLog = (obj) => ({ | ||
@@ -729,5 +537,2 @@ ...obj, | ||
(function (BatchUpdateFindingsRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
BatchUpdateFindingsRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -739,5 +544,2 @@ ...obj, | ||
(function (BatchUpdateFindingsUnprocessedFinding) { | ||
/** | ||
* @internal | ||
*/ | ||
BatchUpdateFindingsUnprocessedFinding.filterSensitiveLog = (obj) => ({ | ||
@@ -749,5 +551,2 @@ ...obj, | ||
(function (BatchUpdateFindingsResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
BatchUpdateFindingsResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -764,5 +563,2 @@ ...obj, | ||
(function (CreateActionTargetRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
CreateActionTargetRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -774,5 +570,2 @@ ...obj, | ||
(function (CreateActionTargetResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
CreateActionTargetResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -784,5 +577,2 @@ ...obj, | ||
(function (ResourceConflictException) { | ||
/** | ||
* @internal | ||
*/ | ||
ResourceConflictException.filterSensitiveLog = (obj) => ({ | ||
@@ -794,5 +584,2 @@ ...obj, | ||
(function (CreateInsightRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
CreateInsightRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -804,5 +591,2 @@ ...obj, | ||
(function (CreateInsightResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
CreateInsightResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -814,5 +598,2 @@ ...obj, | ||
(function (CreateMembersRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
CreateMembersRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -824,5 +605,2 @@ ...obj, | ||
(function (Result) { | ||
/** | ||
* @internal | ||
*/ | ||
Result.filterSensitiveLog = (obj) => ({ | ||
@@ -834,5 +612,2 @@ ...obj, | ||
(function (CreateMembersResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
CreateMembersResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -844,5 +619,2 @@ ...obj, | ||
(function (DeclineInvitationsRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
DeclineInvitationsRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -854,5 +626,2 @@ ...obj, | ||
(function (DeclineInvitationsResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
DeclineInvitationsResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -864,5 +633,2 @@ ...obj, | ||
(function (DeleteActionTargetRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
DeleteActionTargetRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -874,5 +640,2 @@ ...obj, | ||
(function (DeleteActionTargetResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
DeleteActionTargetResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -884,5 +647,2 @@ ...obj, | ||
(function (DeleteInsightRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
DeleteInsightRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -894,5 +654,2 @@ ...obj, | ||
(function (DeleteInsightResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
DeleteInsightResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -904,5 +661,2 @@ ...obj, | ||
(function (DeleteInvitationsRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
DeleteInvitationsRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -914,5 +668,2 @@ ...obj, | ||
(function (DeleteInvitationsResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
DeleteInvitationsResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -924,5 +675,2 @@ ...obj, | ||
(function (DeleteMembersRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
DeleteMembersRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -934,5 +682,2 @@ ...obj, | ||
(function (DeleteMembersResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
DeleteMembersResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -944,5 +689,2 @@ ...obj, | ||
(function (DescribeActionTargetsRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
DescribeActionTargetsRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -954,5 +696,2 @@ ...obj, | ||
(function (DescribeActionTargetsResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
DescribeActionTargetsResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -964,5 +703,2 @@ ...obj, | ||
(function (DescribeHubRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
DescribeHubRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -974,5 +710,2 @@ ...obj, | ||
(function (DescribeHubResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
DescribeHubResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -984,5 +717,2 @@ ...obj, | ||
(function (DescribeOrganizationConfigurationRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
DescribeOrganizationConfigurationRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -994,5 +724,2 @@ ...obj, | ||
(function (DescribeOrganizationConfigurationResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
DescribeOrganizationConfigurationResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -1004,5 +731,2 @@ ...obj, | ||
(function (DescribeProductsRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
DescribeProductsRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -1020,5 +744,2 @@ ...obj, | ||
(function (Product) { | ||
/** | ||
* @internal | ||
*/ | ||
Product.filterSensitiveLog = (obj) => ({ | ||
@@ -1030,5 +751,2 @@ ...obj, | ||
(function (DescribeProductsResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
DescribeProductsResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -1040,5 +758,2 @@ ...obj, | ||
(function (DescribeStandardsRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
DescribeStandardsRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -1050,5 +765,2 @@ ...obj, | ||
(function (Standard) { | ||
/** | ||
* @internal | ||
*/ | ||
Standard.filterSensitiveLog = (obj) => ({ | ||
@@ -1060,5 +772,2 @@ ...obj, | ||
(function (DescribeStandardsResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
DescribeStandardsResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -1070,5 +779,2 @@ ...obj, | ||
(function (DescribeStandardsControlsRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
DescribeStandardsControlsRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -1087,5 +793,2 @@ ...obj, | ||
(function (StandardsControl) { | ||
/** | ||
* @internal | ||
*/ | ||
StandardsControl.filterSensitiveLog = (obj) => ({ | ||
@@ -1097,5 +800,2 @@ ...obj, | ||
(function (DescribeStandardsControlsResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
DescribeStandardsControlsResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -1107,5 +807,2 @@ ...obj, | ||
(function (DisableImportFindingsForProductRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
DisableImportFindingsForProductRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -1117,5 +814,2 @@ ...obj, | ||
(function (DisableImportFindingsForProductResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
DisableImportFindingsForProductResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -1127,5 +821,2 @@ ...obj, | ||
(function (DisableOrganizationAdminAccountRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
DisableOrganizationAdminAccountRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -1137,5 +828,2 @@ ...obj, | ||
(function (DisableOrganizationAdminAccountResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
DisableOrganizationAdminAccountResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -1147,5 +835,2 @@ ...obj, | ||
(function (DisableSecurityHubRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
DisableSecurityHubRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -1157,5 +842,2 @@ ...obj, | ||
(function (DisableSecurityHubResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
DisableSecurityHubResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -1167,5 +849,2 @@ ...obj, | ||
(function (DisassociateFromAdministratorAccountRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
DisassociateFromAdministratorAccountRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -1177,5 +856,2 @@ ...obj, | ||
(function (DisassociateFromAdministratorAccountResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
DisassociateFromAdministratorAccountResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -1187,5 +863,2 @@ ...obj, | ||
(function (DisassociateFromMasterAccountRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
DisassociateFromMasterAccountRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -1197,5 +870,2 @@ ...obj, | ||
(function (DisassociateFromMasterAccountResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
DisassociateFromMasterAccountResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -1207,5 +877,2 @@ ...obj, | ||
(function (DisassociateMembersRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
DisassociateMembersRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -1217,5 +884,2 @@ ...obj, | ||
(function (DisassociateMembersResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
DisassociateMembersResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -1227,5 +891,2 @@ ...obj, | ||
(function (EnableImportFindingsForProductRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
EnableImportFindingsForProductRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -1237,5 +898,2 @@ ...obj, | ||
(function (EnableImportFindingsForProductResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
EnableImportFindingsForProductResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -1247,5 +905,2 @@ ...obj, | ||
(function (EnableOrganizationAdminAccountRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
EnableOrganizationAdminAccountRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -1257,5 +912,2 @@ ...obj, | ||
(function (EnableOrganizationAdminAccountResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
EnableOrganizationAdminAccountResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -1267,5 +919,2 @@ ...obj, | ||
(function (EnableSecurityHubRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
EnableSecurityHubRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -1277,5 +926,2 @@ ...obj, | ||
(function (EnableSecurityHubResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
EnableSecurityHubResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -1287,5 +933,2 @@ ...obj, | ||
(function (GetAdministratorAccountRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
GetAdministratorAccountRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -1297,5 +940,2 @@ ...obj, | ||
(function (Invitation) { | ||
/** | ||
* @internal | ||
*/ | ||
Invitation.filterSensitiveLog = (obj) => ({ | ||
@@ -1307,5 +947,2 @@ ...obj, | ||
(function (GetAdministratorAccountResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
GetAdministratorAccountResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -1317,5 +954,2 @@ ...obj, | ||
(function (GetEnabledStandardsRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
GetEnabledStandardsRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -1327,5 +961,2 @@ ...obj, | ||
(function (GetEnabledStandardsResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
GetEnabledStandardsResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -1342,5 +973,2 @@ ...obj, | ||
(function (SortCriterion) { | ||
/** | ||
* @internal | ||
*/ | ||
SortCriterion.filterSensitiveLog = (obj) => ({ | ||
@@ -1352,5 +980,2 @@ ...obj, | ||
(function (GetFindingsRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
GetFindingsRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -1362,5 +987,2 @@ ...obj, | ||
(function (GetFindingsResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
GetFindingsResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -1372,5 +994,2 @@ ...obj, | ||
(function (GetInsightResultsRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
GetInsightResultsRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -1382,5 +1001,2 @@ ...obj, | ||
(function (InsightResultValue) { | ||
/** | ||
* @internal | ||
*/ | ||
InsightResultValue.filterSensitiveLog = (obj) => ({ | ||
@@ -1392,5 +1008,2 @@ ...obj, | ||
(function (InsightResults) { | ||
/** | ||
* @internal | ||
*/ | ||
InsightResults.filterSensitiveLog = (obj) => ({ | ||
@@ -1402,5 +1015,2 @@ ...obj, | ||
(function (GetInsightResultsResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
GetInsightResultsResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -1412,5 +1022,2 @@ ...obj, | ||
(function (GetInsightsRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
GetInsightsRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -1422,5 +1029,2 @@ ...obj, | ||
(function (Insight) { | ||
/** | ||
* @internal | ||
*/ | ||
Insight.filterSensitiveLog = (obj) => ({ | ||
@@ -1432,5 +1036,2 @@ ...obj, | ||
(function (GetInsightsResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
GetInsightsResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -1442,5 +1043,2 @@ ...obj, | ||
(function (GetInvitationsCountRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
GetInvitationsCountRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -1452,5 +1050,2 @@ ...obj, | ||
(function (GetInvitationsCountResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
GetInvitationsCountResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -1462,5 +1057,2 @@ ...obj, | ||
(function (GetMasterAccountRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
GetMasterAccountRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -1472,5 +1064,2 @@ ...obj, | ||
(function (GetMasterAccountResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
GetMasterAccountResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -1482,5 +1071,2 @@ ...obj, | ||
(function (GetMembersRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
GetMembersRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -1492,5 +1078,2 @@ ...obj, | ||
(function (Member) { | ||
/** | ||
* @internal | ||
*/ | ||
Member.filterSensitiveLog = (obj) => ({ | ||
@@ -1502,5 +1085,2 @@ ...obj, | ||
(function (GetMembersResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
GetMembersResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -1512,5 +1092,2 @@ ...obj, | ||
(function (InviteMembersRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
InviteMembersRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -1522,5 +1099,2 @@ ...obj, | ||
(function (InviteMembersResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
InviteMembersResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -1532,5 +1106,2 @@ ...obj, | ||
(function (ListEnabledProductsForImportRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
ListEnabledProductsForImportRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -1542,5 +1113,2 @@ ...obj, | ||
(function (ListEnabledProductsForImportResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
ListEnabledProductsForImportResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -1552,5 +1120,2 @@ ...obj, | ||
(function (ListInvitationsRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
ListInvitationsRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -1562,5 +1127,2 @@ ...obj, | ||
(function (ListInvitationsResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
ListInvitationsResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -1572,5 +1134,2 @@ ...obj, | ||
(function (ListMembersRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
ListMembersRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -1582,5 +1141,2 @@ ...obj, | ||
(function (ListMembersResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
ListMembersResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -1592,5 +1148,2 @@ ...obj, | ||
(function (ListOrganizationAdminAccountsRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
ListOrganizationAdminAccountsRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -1602,5 +1155,2 @@ ...obj, | ||
(function (ListOrganizationAdminAccountsResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
ListOrganizationAdminAccountsResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -1612,5 +1162,2 @@ ...obj, | ||
(function (ListTagsForResourceRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
ListTagsForResourceRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -1622,5 +1169,2 @@ ...obj, | ||
(function (ListTagsForResourceResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
ListTagsForResourceResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -1632,5 +1176,2 @@ ...obj, | ||
(function (TagResourceRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
TagResourceRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -1642,5 +1183,2 @@ ...obj, | ||
(function (TagResourceResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
TagResourceResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -1652,5 +1190,2 @@ ...obj, | ||
(function (UntagResourceRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
UntagResourceRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -1662,5 +1197,2 @@ ...obj, | ||
(function (UntagResourceResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
UntagResourceResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -1672,5 +1204,2 @@ ...obj, | ||
(function (UpdateActionTargetRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
UpdateActionTargetRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -1682,5 +1211,2 @@ ...obj, | ||
(function (UpdateActionTargetResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
UpdateActionTargetResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -1692,5 +1218,2 @@ ...obj, | ||
(function (UpdateFindingsRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
UpdateFindingsRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -1702,5 +1225,2 @@ ...obj, | ||
(function (UpdateFindingsResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
UpdateFindingsResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -1712,5 +1232,2 @@ ...obj, | ||
(function (UpdateInsightRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
UpdateInsightRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -1722,5 +1239,2 @@ ...obj, | ||
(function (UpdateInsightResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
UpdateInsightResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -1732,5 +1246,2 @@ ...obj, | ||
(function (UpdateOrganizationConfigurationRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
UpdateOrganizationConfigurationRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -1742,5 +1253,2 @@ ...obj, | ||
(function (UpdateOrganizationConfigurationResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
UpdateOrganizationConfigurationResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -1752,5 +1260,2 @@ ...obj, | ||
(function (UpdateSecurityHubConfigurationRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
UpdateSecurityHubConfigurationRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -1762,5 +1267,2 @@ ...obj, | ||
(function (UpdateSecurityHubConfigurationResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
UpdateSecurityHubConfigurationResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -1772,5 +1274,2 @@ ...obj, | ||
(function (UpdateStandardsControlRequest) { | ||
/** | ||
* @internal | ||
*/ | ||
UpdateStandardsControlRequest.filterSensitiveLog = (obj) => ({ | ||
@@ -1782,5 +1281,2 @@ ...obj, | ||
(function (UpdateStandardsControlResponse) { | ||
/** | ||
* @internal | ||
*/ | ||
UpdateStandardsControlResponse.filterSensitiveLog = (obj) => ({ | ||
@@ -1787,0 +1283,0 @@ ...obj, |
@@ -7,18 +7,9 @@ "use strict"; | ||
const SecurityHubClient_1 = require("../SecurityHubClient"); | ||
/** | ||
* @private | ||
*/ | ||
const makePagedClientRequest = async (client, input, ...args) => { | ||
// @ts-ignore | ||
return await client.send(new DescribeActionTargetsCommand_1.DescribeActionTargetsCommand(input), ...args); | ||
}; | ||
/** | ||
* @private | ||
*/ | ||
const makePagedRequest = async (client, input, ...args) => { | ||
// @ts-ignore | ||
return await client.describeActionTargets(input, ...args); | ||
}; | ||
async function* paginateDescribeActionTargets(config, input, ...additionalArguments) { | ||
// ToDo: replace with actual type instead of typeof input.NextToken | ||
let token = config.startingToken || undefined; | ||
@@ -43,5 +34,4 @@ let hasNext = true; | ||
} | ||
// @ts-ignore | ||
return undefined; | ||
} | ||
exports.paginateDescribeActionTargets = paginateDescribeActionTargets; |
@@ -7,18 +7,9 @@ "use strict"; | ||
const SecurityHubClient_1 = require("../SecurityHubClient"); | ||
/** | ||
* @private | ||
*/ | ||
const makePagedClientRequest = async (client, input, ...args) => { | ||
// @ts-ignore | ||
return await client.send(new DescribeProductsCommand_1.DescribeProductsCommand(input), ...args); | ||
}; | ||
/** | ||
* @private | ||
*/ | ||
const makePagedRequest = async (client, input, ...args) => { | ||
// @ts-ignore | ||
return await client.describeProducts(input, ...args); | ||
}; | ||
async function* paginateDescribeProducts(config, input, ...additionalArguments) { | ||
// ToDo: replace with actual type instead of typeof input.NextToken | ||
let token = config.startingToken || undefined; | ||
@@ -43,5 +34,4 @@ let hasNext = true; | ||
} | ||
// @ts-ignore | ||
return undefined; | ||
} | ||
exports.paginateDescribeProducts = paginateDescribeProducts; |
@@ -7,18 +7,9 @@ "use strict"; | ||
const SecurityHubClient_1 = require("../SecurityHubClient"); | ||
/** | ||
* @private | ||
*/ | ||
const makePagedClientRequest = async (client, input, ...args) => { | ||
// @ts-ignore | ||
return await client.send(new DescribeStandardsControlsCommand_1.DescribeStandardsControlsCommand(input), ...args); | ||
}; | ||
/** | ||
* @private | ||
*/ | ||
const makePagedRequest = async (client, input, ...args) => { | ||
// @ts-ignore | ||
return await client.describeStandardsControls(input, ...args); | ||
}; | ||
async function* paginateDescribeStandardsControls(config, input, ...additionalArguments) { | ||
// ToDo: replace with actual type instead of typeof input.NextToken | ||
let token = config.startingToken || undefined; | ||
@@ -43,5 +34,4 @@ let hasNext = true; | ||
} | ||
// @ts-ignore | ||
return undefined; | ||
} | ||
exports.paginateDescribeStandardsControls = paginateDescribeStandardsControls; |
@@ -7,18 +7,9 @@ "use strict"; | ||
const SecurityHubClient_1 = require("../SecurityHubClient"); | ||
/** | ||
* @private | ||
*/ | ||
const makePagedClientRequest = async (client, input, ...args) => { | ||
// @ts-ignore | ||
return await client.send(new DescribeStandardsCommand_1.DescribeStandardsCommand(input), ...args); | ||
}; | ||
/** | ||
* @private | ||
*/ | ||
const makePagedRequest = async (client, input, ...args) => { | ||
// @ts-ignore | ||
return await client.describeStandards(input, ...args); | ||
}; | ||
async function* paginateDescribeStandards(config, input, ...additionalArguments) { | ||
// ToDo: replace with actual type instead of typeof input.NextToken | ||
let token = config.startingToken || undefined; | ||
@@ -43,5 +34,4 @@ let hasNext = true; | ||
} | ||
// @ts-ignore | ||
return undefined; | ||
} | ||
exports.paginateDescribeStandards = paginateDescribeStandards; |
@@ -7,18 +7,9 @@ "use strict"; | ||
const SecurityHubClient_1 = require("../SecurityHubClient"); | ||
/** | ||
* @private | ||
*/ | ||
const makePagedClientRequest = async (client, input, ...args) => { | ||
// @ts-ignore | ||
return await client.send(new GetEnabledStandardsCommand_1.GetEnabledStandardsCommand(input), ...args); | ||
}; | ||
/** | ||
* @private | ||
*/ | ||
const makePagedRequest = async (client, input, ...args) => { | ||
// @ts-ignore | ||
return await client.getEnabledStandards(input, ...args); | ||
}; | ||
async function* paginateGetEnabledStandards(config, input, ...additionalArguments) { | ||
// ToDo: replace with actual type instead of typeof input.NextToken | ||
let token = config.startingToken || undefined; | ||
@@ -43,5 +34,4 @@ let hasNext = true; | ||
} | ||
// @ts-ignore | ||
return undefined; | ||
} | ||
exports.paginateGetEnabledStandards = paginateGetEnabledStandards; |
@@ -7,18 +7,9 @@ "use strict"; | ||
const SecurityHubClient_1 = require("../SecurityHubClient"); | ||
/** | ||
* @private | ||
*/ | ||
const makePagedClientRequest = async (client, input, ...args) => { | ||
// @ts-ignore | ||
return await client.send(new GetFindingsCommand_1.GetFindingsCommand(input), ...args); | ||
}; | ||
/** | ||
* @private | ||
*/ | ||
const makePagedRequest = async (client, input, ...args) => { | ||
// @ts-ignore | ||
return await client.getFindings(input, ...args); | ||
}; | ||
async function* paginateGetFindings(config, input, ...additionalArguments) { | ||
// ToDo: replace with actual type instead of typeof input.NextToken | ||
let token = config.startingToken || undefined; | ||
@@ -43,5 +34,4 @@ let hasNext = true; | ||
} | ||
// @ts-ignore | ||
return undefined; | ||
} | ||
exports.paginateGetFindings = paginateGetFindings; |
@@ -7,18 +7,9 @@ "use strict"; | ||
const SecurityHubClient_1 = require("../SecurityHubClient"); | ||
/** | ||
* @private | ||
*/ | ||
const makePagedClientRequest = async (client, input, ...args) => { | ||
// @ts-ignore | ||
return await client.send(new GetInsightsCommand_1.GetInsightsCommand(input), ...args); | ||
}; | ||
/** | ||
* @private | ||
*/ | ||
const makePagedRequest = async (client, input, ...args) => { | ||
// @ts-ignore | ||
return await client.getInsights(input, ...args); | ||
}; | ||
async function* paginateGetInsights(config, input, ...additionalArguments) { | ||
// ToDo: replace with actual type instead of typeof input.NextToken | ||
let token = config.startingToken || undefined; | ||
@@ -43,5 +34,4 @@ let hasNext = true; | ||
} | ||
// @ts-ignore | ||
return undefined; | ||
} | ||
exports.paginateGetInsights = paginateGetInsights; |
@@ -7,18 +7,9 @@ "use strict"; | ||
const SecurityHubClient_1 = require("../SecurityHubClient"); | ||
/** | ||
* @private | ||
*/ | ||
const makePagedClientRequest = async (client, input, ...args) => { | ||
// @ts-ignore | ||
return await client.send(new ListEnabledProductsForImportCommand_1.ListEnabledProductsForImportCommand(input), ...args); | ||
}; | ||
/** | ||
* @private | ||
*/ | ||
const makePagedRequest = async (client, input, ...args) => { | ||
// @ts-ignore | ||
return await client.listEnabledProductsForImport(input, ...args); | ||
}; | ||
async function* paginateListEnabledProductsForImport(config, input, ...additionalArguments) { | ||
// ToDo: replace with actual type instead of typeof input.NextToken | ||
let token = config.startingToken || undefined; | ||
@@ -43,5 +34,4 @@ let hasNext = true; | ||
} | ||
// @ts-ignore | ||
return undefined; | ||
} | ||
exports.paginateListEnabledProductsForImport = paginateListEnabledProductsForImport; |
@@ -7,18 +7,9 @@ "use strict"; | ||
const SecurityHubClient_1 = require("../SecurityHubClient"); | ||
/** | ||
* @private | ||
*/ | ||
const makePagedClientRequest = async (client, input, ...args) => { | ||
// @ts-ignore | ||
return await client.send(new ListInvitationsCommand_1.ListInvitationsCommand(input), ...args); | ||
}; | ||
/** | ||
* @private | ||
*/ | ||
const makePagedRequest = async (client, input, ...args) => { | ||
// @ts-ignore | ||
return await client.listInvitations(input, ...args); | ||
}; | ||
async function* paginateListInvitations(config, input, ...additionalArguments) { | ||
// ToDo: replace with actual type instead of typeof input.NextToken | ||
let token = config.startingToken || undefined; | ||
@@ -43,5 +34,4 @@ let hasNext = true; | ||
} | ||
// @ts-ignore | ||
return undefined; | ||
} | ||
exports.paginateListInvitations = paginateListInvitations; |
@@ -7,18 +7,9 @@ "use strict"; | ||
const SecurityHubClient_1 = require("../SecurityHubClient"); | ||
/** | ||
* @private | ||
*/ | ||
const makePagedClientRequest = async (client, input, ...args) => { | ||
// @ts-ignore | ||
return await client.send(new ListMembersCommand_1.ListMembersCommand(input), ...args); | ||
}; | ||
/** | ||
* @private | ||
*/ | ||
const makePagedRequest = async (client, input, ...args) => { | ||
// @ts-ignore | ||
return await client.listMembers(input, ...args); | ||
}; | ||
async function* paginateListMembers(config, input, ...additionalArguments) { | ||
// ToDo: replace with actual type instead of typeof input.NextToken | ||
let token = config.startingToken || undefined; | ||
@@ -43,5 +34,4 @@ let hasNext = true; | ||
} | ||
// @ts-ignore | ||
return undefined; | ||
} | ||
exports.paginateListMembers = paginateListMembers; |
@@ -7,18 +7,9 @@ "use strict"; | ||
const SecurityHubClient_1 = require("../SecurityHubClient"); | ||
/** | ||
* @private | ||
*/ | ||
const makePagedClientRequest = async (client, input, ...args) => { | ||
// @ts-ignore | ||
return await client.send(new ListOrganizationAdminAccountsCommand_1.ListOrganizationAdminAccountsCommand(input), ...args); | ||
}; | ||
/** | ||
* @private | ||
*/ | ||
const makePagedRequest = async (client, input, ...args) => { | ||
// @ts-ignore | ||
return await client.listOrganizationAdminAccounts(input, ...args); | ||
}; | ||
async function* paginateListOrganizationAdminAccounts(config, input, ...additionalArguments) { | ||
// ToDo: replace with actual type instead of typeof input.NextToken | ||
let token = config.startingToken || undefined; | ||
@@ -43,5 +34,4 @@ let hasNext = true; | ||
} | ||
// @ts-ignore | ||
return undefined; | ||
} | ||
exports.paginateListOrganizationAdminAccounts = paginateListOrganizationAdminAccounts; |
@@ -5,4 +5,3 @@ "use strict"; | ||
const tslib_1 = require("tslib"); | ||
// @ts-ignore: package.json will be imported from dist folders | ||
const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line | ||
const package_json_1 = tslib_1.__importDefault(require("../package.json")); | ||
const sha256_browser_1 = require("@aws-crypto/sha256-browser"); | ||
@@ -17,5 +16,2 @@ const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler"); | ||
const runtimeConfig_shared_1 = require("./runtimeConfig.shared"); | ||
/** | ||
* @internal | ||
*/ | ||
const getRuntimeConfig = (config) => { | ||
@@ -22,0 +18,0 @@ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o; |
@@ -5,4 +5,3 @@ "use strict"; | ||
const tslib_1 = require("tslib"); | ||
// @ts-ignore: package.json will be imported from dist folders | ||
const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line | ||
const package_json_1 = tslib_1.__importDefault(require("../package.json")); | ||
const client_sts_1 = require("@aws-sdk/client-sts"); | ||
@@ -21,5 +20,2 @@ const config_resolver_1 = require("@aws-sdk/config-resolver"); | ||
const smithy_client_1 = require("@aws-sdk/smithy-client"); | ||
/** | ||
* @internal | ||
*/ | ||
const getRuntimeConfig = (config) => { | ||
@@ -26,0 +22,0 @@ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o; |
@@ -6,5 +6,2 @@ "use strict"; | ||
const runtimeConfig_browser_1 = require("./runtimeConfig.browser"); | ||
/** | ||
* @internal | ||
*/ | ||
const getRuntimeConfig = (config) => { | ||
@@ -11,0 +8,0 @@ var _a; |
@@ -6,5 +6,2 @@ "use strict"; | ||
const endpoints_1 = require("./endpoints"); | ||
/** | ||
* @internal | ||
*/ | ||
const getRuntimeConfig = (config) => { | ||
@@ -11,0 +8,0 @@ var _a, _b, _c, _d, _e; |
@@ -56,47 +56,2 @@ "use strict"; | ||
const SecurityHubClient_1 = require("./SecurityHubClient"); | ||
/** | ||
* <p>Security Hub provides you with a comprehensive view of the security state of your Amazon Web Services environment and resources. It also provides you with the readiness status | ||
* of your environment based on controls from supported security standards. Security Hub collects | ||
* security data from Amazon Web Services accounts, services, and integrated third-party products and helps | ||
* you analyze security trends in your environment to identify the highest priority security | ||
* issues. For more information about Security Hub, see the <i>Security Hub<a href="https://docs.aws.amazon.com/securityhub/latest/userguide/what-is-securityhub.html">User | ||
* Guide</a> | ||
* </i>.</p> | ||
* <p>When you use operations in the Security Hub API, the requests are executed only in the Amazon Web Services | ||
* Region that is currently active or in the specific Amazon Web Services Region that you specify in your | ||
* request. Any configuration or settings change that results from the operation is applied | ||
* only to that Region. To make the same change in other Regions, execute the same command for | ||
* each Region to apply the change to.</p> | ||
* <p>For example, if your Region is set to <code>us-west-2</code>, when you use <code>CreateMembers</code> to add a member account to Security Hub, the association of | ||
* the member account with the administrator account is created only in the <code>us-west-2</code> | ||
* Region. Security Hub must be enabled for the member account in the same Region that the invitation | ||
* was sent from.</p> | ||
* <p>The following throttling limits apply to using Security Hub API operations.</p> | ||
* <ul> | ||
* <li> | ||
* <p> | ||
* <code>BatchEnableStandards</code> - <code>RateLimit</code> of 1 | ||
* request per second, <code>BurstLimit</code> of 1 request per second.</p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>GetFindings</code> - <code>RateLimit</code> of 3 requests per second. | ||
* <code>BurstLimit</code> of 6 requests per second.</p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>UpdateFindings</code> - <code>RateLimit</code> of 1 request per | ||
* second. <code>BurstLimit</code> of 5 requests per second.</p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>UpdateStandardsControl</code> - <code>RateLimit</code> of | ||
* 1 request per second, <code>BurstLimit</code> of 5 requests per second.</p> | ||
* </li> | ||
* <li> | ||
* <p>All other operations - <code>RateLimit</code> of 10 requests per second. | ||
* <code>BurstLimit</code> of 30 requests per second.</p> | ||
* </li> | ||
* </ul> | ||
*/ | ||
class SecurityHub extends SecurityHubClient_1.SecurityHubClient { | ||
@@ -103,0 +58,0 @@ acceptAdministratorInvitation(args, optionsOrCb, cb) { |
@@ -13,47 +13,2 @@ "use strict"; | ||
const runtimeConfig_1 = require("./runtimeConfig"); | ||
/** | ||
* <p>Security Hub provides you with a comprehensive view of the security state of your Amazon Web Services environment and resources. It also provides you with the readiness status | ||
* of your environment based on controls from supported security standards. Security Hub collects | ||
* security data from Amazon Web Services accounts, services, and integrated third-party products and helps | ||
* you analyze security trends in your environment to identify the highest priority security | ||
* issues. For more information about Security Hub, see the <i>Security Hub<a href="https://docs.aws.amazon.com/securityhub/latest/userguide/what-is-securityhub.html">User | ||
* Guide</a> | ||
* </i>.</p> | ||
* <p>When you use operations in the Security Hub API, the requests are executed only in the Amazon Web Services | ||
* Region that is currently active or in the specific Amazon Web Services Region that you specify in your | ||
* request. Any configuration or settings change that results from the operation is applied | ||
* only to that Region. To make the same change in other Regions, execute the same command for | ||
* each Region to apply the change to.</p> | ||
* <p>For example, if your Region is set to <code>us-west-2</code>, when you use <code>CreateMembers</code> to add a member account to Security Hub, the association of | ||
* the member account with the administrator account is created only in the <code>us-west-2</code> | ||
* Region. Security Hub must be enabled for the member account in the same Region that the invitation | ||
* was sent from.</p> | ||
* <p>The following throttling limits apply to using Security Hub API operations.</p> | ||
* <ul> | ||
* <li> | ||
* <p> | ||
* <code>BatchEnableStandards</code> - <code>RateLimit</code> of 1 | ||
* request per second, <code>BurstLimit</code> of 1 request per second.</p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>GetFindings</code> - <code>RateLimit</code> of 3 requests per second. | ||
* <code>BurstLimit</code> of 6 requests per second.</p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>UpdateFindings</code> - <code>RateLimit</code> of 1 request per | ||
* second. <code>BurstLimit</code> of 5 requests per second.</p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>UpdateStandardsControl</code> - <code>RateLimit</code> of | ||
* 1 request per second, <code>BurstLimit</code> of 5 requests per second.</p> | ||
* </li> | ||
* <li> | ||
* <p>All other operations - <code>RateLimit</code> of 10 requests per second. | ||
* <code>BurstLimit</code> of 30 requests per second.</p> | ||
* </li> | ||
* </ul> | ||
*/ | ||
class SecurityHubClient extends smithy_client_1.Client { | ||
@@ -77,7 +32,2 @@ constructor(configuration) { | ||
} | ||
/** | ||
* Destroy underlying resources, like sockets. It's usually not necessary to do this. | ||
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. | ||
* Otherwise, sockets might stay open for quite a long time before the server terminates them. | ||
*/ | ||
destroy() { | ||
@@ -84,0 +34,0 @@ super.destroy(); |
@@ -9,30 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Accepts the invitation to be a member account and be monitored by the Security Hub administrator | ||
* account that the invitation was sent from.</p> | ||
* <p>This operation is only used by member accounts that are not added through | ||
* Organizations.</p> | ||
* <p>When the member account accepts the invitation, permission is granted to the administrator | ||
* account to view findings generated in the member account.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, AcceptAdministratorInvitationCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, AcceptAdministratorInvitationCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new AcceptAdministratorInvitationCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link AcceptAdministratorInvitationCommandInput} for command's `input` shape. | ||
* @see {@link AcceptAdministratorInvitationCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class AcceptAdministratorInvitationCommand extends $Command<AcceptAdministratorInvitationCommandInput, AcceptAdministratorInvitationCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: AcceptAdministratorInvitationCommandInput; | ||
constructor(input: AcceptAdministratorInvitationCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AcceptAdministratorInvitationCommandInput, AcceptAdministratorInvitationCommandOutput>; | ||
@@ -39,0 +16,0 @@ private serialize; |
@@ -9,34 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* @deprecated | ||
* | ||
* <p>This method is deprecated. Instead, use <code>AcceptAdministratorInvitation</code>.</p> | ||
* <p>The Security Hub console continues to use <code>AcceptInvitation</code>. It will eventually change to use <code>AcceptAdministratorInvitation</code>. Any IAM policies that specifically control access to this function must continue to use <code>AcceptInvitation</code>. You should also add <code>AcceptAdministratorInvitation</code> to your policies to ensure that the correct permissions are in place after the console begins to use <code>AcceptAdministratorInvitation</code>.</p> | ||
* <p>Accepts the invitation to be a member account and be monitored by the Security Hub administrator | ||
* account that the invitation was sent from.</p> | ||
* <p>This operation is only used by member accounts that are not added through | ||
* Organizations.</p> | ||
* <p>When the member account accepts the invitation, permission is granted to the administrator | ||
* account to view findings generated in the member account.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, AcceptInvitationCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, AcceptInvitationCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new AcceptInvitationCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link AcceptInvitationCommandInput} for command's `input` shape. | ||
* @see {@link AcceptInvitationCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class AcceptInvitationCommand extends $Command<AcceptInvitationCommandInput, AcceptInvitationCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: AcceptInvitationCommandInput; | ||
constructor(input: AcceptInvitationCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AcceptInvitationCommandInput, AcceptInvitationCommandOutput>; | ||
@@ -43,0 +16,0 @@ private serialize; |
@@ -9,28 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Disables the standards specified by the provided | ||
* <code>StandardsSubscriptionArns</code>.</p> | ||
* <p>For more information, see <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-standards.html">Security Standards</a> section of the <i>Security Hub User | ||
* Guide</i>.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, BatchDisableStandardsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, BatchDisableStandardsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new BatchDisableStandardsCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link BatchDisableStandardsCommandInput} for command's `input` shape. | ||
* @see {@link BatchDisableStandardsCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class BatchDisableStandardsCommand extends $Command<BatchDisableStandardsCommandInput, BatchDisableStandardsCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: BatchDisableStandardsCommandInput; | ||
constructor(input: BatchDisableStandardsCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchDisableStandardsCommandInput, BatchDisableStandardsCommandOutput>; | ||
@@ -37,0 +16,0 @@ private serialize; |
@@ -9,29 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Enables the standards specified by the provided <code>StandardsArn</code>. To obtain the | ||
* ARN for a standard, use the <code>DescribeStandards</code> | ||
* operation.</p> | ||
* <p>For more information, see the <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-standards.html">Security Standards</a> | ||
* section of the <i>Security Hub User Guide</i>.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, BatchEnableStandardsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, BatchEnableStandardsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new BatchEnableStandardsCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link BatchEnableStandardsCommandInput} for command's `input` shape. | ||
* @see {@link BatchEnableStandardsCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class BatchEnableStandardsCommand extends $Command<BatchEnableStandardsCommandInput, BatchEnableStandardsCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: BatchEnableStandardsCommandInput; | ||
constructor(input: BatchEnableStandardsCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchEnableStandardsCommandInput, BatchEnableStandardsCommandOutput>; | ||
@@ -38,0 +16,0 @@ private serialize; |
@@ -9,83 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Imports security findings generated from an integrated product into Security Hub. | ||
* This action is requested by the integrated product to import its findings into | ||
* Security Hub.</p> | ||
* <p>The maximum allowed size for a finding is 240 Kb. An error is returned for any finding | ||
* larger than 240 Kb.</p> | ||
* <p>After a finding is created, <code>BatchImportFindings</code> cannot be used to update | ||
* the following finding fields and objects, which Security Hub customers use to manage their | ||
* investigation workflow.</p> | ||
* <ul> | ||
* <li> | ||
* <p> | ||
* <code>Note</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>UserDefinedFields</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>VerificationState</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>Workflow</code> | ||
* </p> | ||
* </li> | ||
* </ul> | ||
* <p>Finding providers also should not use <code>BatchImportFindings</code> to update the following attributes.</p> | ||
* <ul> | ||
* <li> | ||
* <p> | ||
* <code>Confidence</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>Criticality</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>RelatedFindings</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>Severity</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>Types</code> | ||
* </p> | ||
* </li> | ||
* </ul> | ||
* <p>Instead, finding providers use <code>FindingProviderFields</code> to provide values for these attributes.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, BatchImportFindingsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, BatchImportFindingsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new BatchImportFindingsCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link BatchImportFindingsCommandInput} for command's `input` shape. | ||
* @see {@link BatchImportFindingsCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class BatchImportFindingsCommand extends $Command<BatchImportFindingsCommandInput, BatchImportFindingsCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: BatchImportFindingsCommandInput; | ||
constructor(input: BatchImportFindingsCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchImportFindingsCommandInput, BatchImportFindingsCommandOutput>; | ||
@@ -92,0 +16,0 @@ private serialize; |
@@ -9,83 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Used by Security Hub customers to update information about their investigation into a finding. | ||
* Requested by administrator accounts or member accounts. Administrator accounts can update findings for | ||
* their account and their member accounts. Member accounts can update findings for their | ||
* account.</p> | ||
* <p>Updates from <code>BatchUpdateFindings</code> do not affect the value of | ||
* <code>UpdatedAt</code> for a finding.</p> | ||
* <p>Administrator and member accounts can use <code>BatchUpdateFindings</code> to update the | ||
* following finding fields and objects.</p> | ||
* <ul> | ||
* <li> | ||
* <p> | ||
* <code>Confidence</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>Criticality</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>Note</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>RelatedFindings</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>Severity</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>Types</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>UserDefinedFields</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>VerificationState</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>Workflow</code> | ||
* </p> | ||
* </li> | ||
* </ul> | ||
* <p>You can configure IAM policies to restrict access to fields and field values. For | ||
* example, you might not want member accounts to be able to suppress findings or change the | ||
* finding severity. See <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/finding-update-batchupdatefindings.html#batchupdatefindings-configure-access">Configuring access to BatchUpdateFindings</a> in the | ||
* <i>Security Hub User Guide</i>.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, BatchUpdateFindingsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, BatchUpdateFindingsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new BatchUpdateFindingsCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link BatchUpdateFindingsCommandInput} for command's `input` shape. | ||
* @see {@link BatchUpdateFindingsCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class BatchUpdateFindingsCommand extends $Command<BatchUpdateFindingsCommandInput, BatchUpdateFindingsCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: BatchUpdateFindingsCommandInput; | ||
constructor(input: BatchUpdateFindingsCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchUpdateFindingsCommandInput, BatchUpdateFindingsCommandOutput>; | ||
@@ -92,0 +16,0 @@ private serialize; |
@@ -9,27 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Creates a custom action target in Security Hub.</p> | ||
* <p>You can use custom actions on findings and insights in Security Hub to trigger target actions | ||
* in Amazon CloudWatch Events.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, CreateActionTargetCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, CreateActionTargetCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new CreateActionTargetCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link CreateActionTargetCommandInput} for command's `input` shape. | ||
* @see {@link CreateActionTargetCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class CreateActionTargetCommand extends $Command<CreateActionTargetCommandInput, CreateActionTargetCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: CreateActionTargetCommandInput; | ||
constructor(input: CreateActionTargetCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateActionTargetCommandInput, CreateActionTargetCommandOutput>; | ||
@@ -36,0 +16,0 @@ private serialize; |
@@ -9,28 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Creates a custom insight in Security Hub. An insight is a consolidation of findings that relate | ||
* to a security issue that requires attention or remediation.</p> | ||
* <p>To group the related findings in the insight, use the | ||
* <code>GroupByAttribute</code>.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, CreateInsightCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, CreateInsightCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new CreateInsightCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link CreateInsightCommandInput} for command's `input` shape. | ||
* @see {@link CreateInsightCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class CreateInsightCommand extends $Command<CreateInsightCommandInput, CreateInsightCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: CreateInsightCommandInput; | ||
constructor(input: CreateInsightCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateInsightCommandInput, CreateInsightCommandOutput>; | ||
@@ -37,0 +16,0 @@ private serialize; |
@@ -9,52 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Creates a member association in Security Hub between the specified accounts and the account | ||
* used to make the request, which is the administrator account. If you are integrated with | ||
* Organizations, then the administrator account is designated by the organization management account.</p> | ||
* <p> | ||
* <code>CreateMembers</code> is always used to add accounts that are not organization | ||
* members.</p> | ||
* <p>For accounts that are managed using Organizations, <code>CreateMembers</code> is only used | ||
* in the following cases:</p> | ||
* <ul> | ||
* <li> | ||
* <p>Security Hub is not configured to automatically add new organization accounts.</p> | ||
* </li> | ||
* <li> | ||
* <p>The account was disassociated or deleted in Security Hub.</p> | ||
* </li> | ||
* </ul> | ||
* <p>This action can only be used by an account that has Security Hub enabled. To enable Security Hub, you | ||
* can use the <code>EnableSecurityHub</code> operation.</p> | ||
* <p>For accounts that are not organization members, you create the account association and | ||
* then send an invitation to the member account. To send the invitation, you use the | ||
* <code>InviteMembers</code> operation. If the account owner accepts | ||
* the invitation, the account becomes a member account in Security Hub.</p> | ||
* <p>Accounts that are managed using Organizations do not receive an invitation. They | ||
* automatically become a member account in Security Hub, and Security Hub is automatically enabled for those accounts. Note that Security Hub cannot be enabled automatically for the organization management account. The organization management account must enable Security Hub before the administrator account enables it as a member account.</p> | ||
* <p>A permissions policy is added that permits the administrator account to view the findings | ||
* generated in the member account. When Security Hub is enabled in a member account, the member account findings are | ||
* also visible to the administrator account. </p> | ||
* <p>To remove the association between the administrator and member accounts, use the <code>DisassociateFromMasterAccount</code> or <code>DisassociateMembers</code> operation.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, CreateMembersCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, CreateMembersCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new CreateMembersCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link CreateMembersCommandInput} for command's `input` shape. | ||
* @see {@link CreateMembersCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class CreateMembersCommand extends $Command<CreateMembersCommandInput, CreateMembersCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: CreateMembersCommandInput; | ||
constructor(input: CreateMembersCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateMembersCommandInput, CreateMembersCommandOutput>; | ||
@@ -61,0 +16,0 @@ private serialize; |
@@ -9,27 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Declines invitations to become a member account.</p> | ||
* <p>This operation is only used by accounts that are not part of an organization. | ||
* Organization accounts do not receive invitations.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, DeclineInvitationsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, DeclineInvitationsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new DeclineInvitationsCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link DeclineInvitationsCommandInput} for command's `input` shape. | ||
* @see {@link DeclineInvitationsCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class DeclineInvitationsCommand extends $Command<DeclineInvitationsCommandInput, DeclineInvitationsCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: DeclineInvitationsCommandInput; | ||
constructor(input: DeclineInvitationsCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeclineInvitationsCommandInput, DeclineInvitationsCommandOutput>; | ||
@@ -36,0 +16,0 @@ private serialize; |
@@ -9,27 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Deletes a custom action target from Security Hub.</p> | ||
* <p>Deleting a custom action target does not affect any findings or insights that were | ||
* already sent to Amazon CloudWatch Events using the custom action.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, DeleteActionTargetCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, DeleteActionTargetCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new DeleteActionTargetCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link DeleteActionTargetCommandInput} for command's `input` shape. | ||
* @see {@link DeleteActionTargetCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class DeleteActionTargetCommand extends $Command<DeleteActionTargetCommandInput, DeleteActionTargetCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: DeleteActionTargetCommandInput; | ||
constructor(input: DeleteActionTargetCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteActionTargetCommandInput, DeleteActionTargetCommandOutput>; | ||
@@ -36,0 +16,0 @@ private serialize; |
@@ -9,25 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Deletes the insight specified by the <code>InsightArn</code>.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, DeleteInsightCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, DeleteInsightCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new DeleteInsightCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link DeleteInsightCommandInput} for command's `input` shape. | ||
* @see {@link DeleteInsightCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class DeleteInsightCommand extends $Command<DeleteInsightCommandInput, DeleteInsightCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: DeleteInsightCommandInput; | ||
constructor(input: DeleteInsightCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteInsightCommandInput, DeleteInsightCommandOutput>; | ||
@@ -34,0 +16,0 @@ private serialize; |
@@ -9,27 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Deletes invitations received by the Amazon Web Services account to become a member account.</p> | ||
* <p>This operation is only used by accounts that are not part of an organization. | ||
* Organization accounts do not receive invitations.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, DeleteInvitationsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, DeleteInvitationsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new DeleteInvitationsCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link DeleteInvitationsCommandInput} for command's `input` shape. | ||
* @see {@link DeleteInvitationsCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class DeleteInvitationsCommand extends $Command<DeleteInvitationsCommandInput, DeleteInvitationsCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: DeleteInvitationsCommandInput; | ||
constructor(input: DeleteInvitationsCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteInvitationsCommandInput, DeleteInvitationsCommandOutput>; | ||
@@ -36,0 +16,0 @@ private serialize; |
@@ -9,27 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Deletes the specified member accounts from Security Hub.</p> | ||
* <p>Can be used to delete member accounts that belong to an organization as well as member | ||
* accounts that were invited manually.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, DeleteMembersCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, DeleteMembersCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new DeleteMembersCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link DeleteMembersCommandInput} for command's `input` shape. | ||
* @see {@link DeleteMembersCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class DeleteMembersCommand extends $Command<DeleteMembersCommandInput, DeleteMembersCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: DeleteMembersCommandInput; | ||
constructor(input: DeleteMembersCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteMembersCommandInput, DeleteMembersCommandOutput>; | ||
@@ -36,0 +16,0 @@ private serialize; |
@@ -9,25 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Returns a list of the custom action targets in Security Hub in your account.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, DescribeActionTargetsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, DescribeActionTargetsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new DescribeActionTargetsCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link DescribeActionTargetsCommandInput} for command's `input` shape. | ||
* @see {@link DescribeActionTargetsCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class DescribeActionTargetsCommand extends $Command<DescribeActionTargetsCommandInput, DescribeActionTargetsCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: DescribeActionTargetsCommandInput; | ||
constructor(input: DescribeActionTargetsCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeActionTargetsCommandInput, DescribeActionTargetsCommandOutput>; | ||
@@ -34,0 +16,0 @@ private serialize; |
@@ -9,26 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Returns details about the Hub resource in your account, including the | ||
* <code>HubArn</code> and the time when you enabled Security Hub.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, DescribeHubCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, DescribeHubCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new DescribeHubCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link DescribeHubCommandInput} for command's `input` shape. | ||
* @see {@link DescribeHubCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class DescribeHubCommand extends $Command<DescribeHubCommandInput, DescribeHubCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: DescribeHubCommandInput; | ||
constructor(input: DescribeHubCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeHubCommandInput, DescribeHubCommandOutput>; | ||
@@ -35,0 +16,0 @@ private serialize; |
@@ -9,26 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Returns information about the Organizations configuration for Security Hub. Can only be | ||
* called from a Security Hub administrator account.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, DescribeOrganizationConfigurationCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, DescribeOrganizationConfigurationCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new DescribeOrganizationConfigurationCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link DescribeOrganizationConfigurationCommandInput} for command's `input` shape. | ||
* @see {@link DescribeOrganizationConfigurationCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class DescribeOrganizationConfigurationCommand extends $Command<DescribeOrganizationConfigurationCommandInput, DescribeOrganizationConfigurationCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: DescribeOrganizationConfigurationCommandInput; | ||
constructor(input: DescribeOrganizationConfigurationCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeOrganizationConfigurationCommandInput, DescribeOrganizationConfigurationCommandOutput>; | ||
@@ -35,0 +16,0 @@ private serialize; |
@@ -9,29 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Returns information about product integrations in Security Hub.</p> | ||
* <p>You can optionally provide an integration ARN. If you provide an integration ARN, then | ||
* the results only include that integration.</p> | ||
* <p>If you do not provide an integration ARN, then the results include all of the available | ||
* product integrations. </p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, DescribeProductsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, DescribeProductsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new DescribeProductsCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link DescribeProductsCommandInput} for command's `input` shape. | ||
* @see {@link DescribeProductsCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class DescribeProductsCommand extends $Command<DescribeProductsCommandInput, DescribeProductsCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: DescribeProductsCommandInput; | ||
constructor(input: DescribeProductsCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeProductsCommandInput, DescribeProductsCommandOutput>; | ||
@@ -38,0 +16,0 @@ private serialize; |
@@ -9,26 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Returns a list of the available standards in Security Hub.</p> | ||
* <p>For each standard, the results include the standard ARN, the name, and a description. </p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, DescribeStandardsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, DescribeStandardsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new DescribeStandardsCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link DescribeStandardsCommandInput} for command's `input` shape. | ||
* @see {@link DescribeStandardsCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class DescribeStandardsCommand extends $Command<DescribeStandardsCommandInput, DescribeStandardsCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: DescribeStandardsCommandInput; | ||
constructor(input: DescribeStandardsCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeStandardsCommandInput, DescribeStandardsCommandOutput>; | ||
@@ -35,0 +16,0 @@ private serialize; |
@@ -9,27 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Returns a list of security standards controls.</p> | ||
* <p>For each control, the results include information about whether it is currently enabled, | ||
* the severity, and a link to remediation information.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, DescribeStandardsControlsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, DescribeStandardsControlsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new DescribeStandardsControlsCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link DescribeStandardsControlsCommandInput} for command's `input` shape. | ||
* @see {@link DescribeStandardsControlsCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class DescribeStandardsControlsCommand extends $Command<DescribeStandardsControlsCommandInput, DescribeStandardsControlsCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: DescribeStandardsControlsCommandInput; | ||
constructor(input: DescribeStandardsControlsCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeStandardsControlsCommandInput, DescribeStandardsControlsCommandOutput>; | ||
@@ -36,0 +16,0 @@ private serialize; |
@@ -9,26 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Disables the integration of the specified product with Security Hub. After the integration is | ||
* disabled, findings from that product are no longer sent to Security Hub.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, DisableImportFindingsForProductCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, DisableImportFindingsForProductCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new DisableImportFindingsForProductCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link DisableImportFindingsForProductCommandInput} for command's `input` shape. | ||
* @see {@link DisableImportFindingsForProductCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class DisableImportFindingsForProductCommand extends $Command<DisableImportFindingsForProductCommandInput, DisableImportFindingsForProductCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: DisableImportFindingsForProductCommandInput; | ||
constructor(input: DisableImportFindingsForProductCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DisableImportFindingsForProductCommandInput, DisableImportFindingsForProductCommandOutput>; | ||
@@ -35,0 +16,0 @@ private serialize; |
@@ -9,26 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Disables a Security Hub administrator account. Can only be called by the organization | ||
* management account.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, DisableOrganizationAdminAccountCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, DisableOrganizationAdminAccountCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new DisableOrganizationAdminAccountCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link DisableOrganizationAdminAccountCommandInput} for command's `input` shape. | ||
* @see {@link DisableOrganizationAdminAccountCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class DisableOrganizationAdminAccountCommand extends $Command<DisableOrganizationAdminAccountCommandInput, DisableOrganizationAdminAccountCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: DisableOrganizationAdminAccountCommandInput; | ||
constructor(input: DisableOrganizationAdminAccountCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DisableOrganizationAdminAccountCommandInput, DisableOrganizationAdminAccountCommandOutput>; | ||
@@ -35,0 +16,0 @@ private serialize; |
@@ -9,33 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Disables Security Hub in your account only in the current Region. To disable Security Hub in all | ||
* Regions, you must submit one request per Region where you have enabled Security Hub.</p> | ||
* <p>When you disable Security Hub for an administrator account, it doesn't disable Security Hub for any associated | ||
* member accounts.</p> | ||
* <p>When you disable Security Hub, your existing findings and insights and any Security Hub configuration | ||
* settings are deleted after 90 days and cannot be recovered. Any standards that were enabled | ||
* are disabled, and your administrator and member account associations are removed.</p> | ||
* <p>If you want to save your existing findings, you must export them before you disable | ||
* Security Hub.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, DisableSecurityHubCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, DisableSecurityHubCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new DisableSecurityHubCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link DisableSecurityHubCommandInput} for command's `input` shape. | ||
* @see {@link DisableSecurityHubCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class DisableSecurityHubCommand extends $Command<DisableSecurityHubCommandInput, DisableSecurityHubCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: DisableSecurityHubCommandInput; | ||
constructor(input: DisableSecurityHubCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DisableSecurityHubCommandInput, DisableSecurityHubCommandOutput>; | ||
@@ -42,0 +16,0 @@ private serialize; |
@@ -9,29 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Disassociates the current Security Hub member account from the associated administrator | ||
* account.</p> | ||
* <p>This operation is only used by accounts that are not part of an organization. For | ||
* organization accounts, only the administrator account can | ||
* disassociate a member account.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, DisassociateFromAdministratorAccountCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, DisassociateFromAdministratorAccountCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new DisassociateFromAdministratorAccountCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link DisassociateFromAdministratorAccountCommandInput} for command's `input` shape. | ||
* @see {@link DisassociateFromAdministratorAccountCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class DisassociateFromAdministratorAccountCommand extends $Command<DisassociateFromAdministratorAccountCommandInput, DisassociateFromAdministratorAccountCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: DisassociateFromAdministratorAccountCommandInput; | ||
constructor(input: DisassociateFromAdministratorAccountCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DisassociateFromAdministratorAccountCommandInput, DisassociateFromAdministratorAccountCommandOutput>; | ||
@@ -38,0 +16,0 @@ private serialize; |
@@ -9,33 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* @deprecated | ||
* | ||
* <p>This method is deprecated. Instead, use <code>DisassociateFromAdministratorAccount</code>.</p> | ||
* <p>The Security Hub console continues to use <code>DisassociateFromMasterAccount</code>. It will eventually change to use <code>DisassociateFromAdministratorAccount</code>. Any IAM policies that specifically control access to this function must continue to use <code>DisassociateFromMasterAccount</code>. You should also add <code>DisassociateFromAdministratorAccount</code> to your policies to ensure that the correct permissions are in place after the console begins to use <code>DisassociateFromAdministratorAccount</code>.</p> | ||
* <p>Disassociates the current Security Hub member account from the associated administrator | ||
* account.</p> | ||
* <p>This operation is only used by accounts that are not part of an organization. For | ||
* organization accounts, only the administrator account can | ||
* disassociate a member account.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, DisassociateFromMasterAccountCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, DisassociateFromMasterAccountCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new DisassociateFromMasterAccountCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link DisassociateFromMasterAccountCommandInput} for command's `input` shape. | ||
* @see {@link DisassociateFromMasterAccountCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class DisassociateFromMasterAccountCommand extends $Command<DisassociateFromMasterAccountCommandInput, DisassociateFromMasterAccountCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: DisassociateFromMasterAccountCommandInput; | ||
constructor(input: DisassociateFromMasterAccountCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DisassociateFromMasterAccountCommandInput, DisassociateFromMasterAccountCommandOutput>; | ||
@@ -42,0 +16,0 @@ private serialize; |
@@ -9,27 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Disassociates the specified member accounts from the associated administrator account.</p> | ||
* <p>Can be used to disassociate both accounts that are managed using Organizations and accounts that | ||
* were invited manually.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, DisassociateMembersCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, DisassociateMembersCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new DisassociateMembersCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link DisassociateMembersCommandInput} for command's `input` shape. | ||
* @see {@link DisassociateMembersCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class DisassociateMembersCommand extends $Command<DisassociateMembersCommandInput, DisassociateMembersCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: DisassociateMembersCommandInput; | ||
constructor(input: DisassociateMembersCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DisassociateMembersCommandInput, DisassociateMembersCommandOutput>; | ||
@@ -36,0 +16,0 @@ private serialize; |
@@ -9,28 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Enables the integration of a partner product with Security Hub. Integrated products send | ||
* findings to Security Hub.</p> | ||
* <p>When you enable a product integration, a permissions policy that grants permission for | ||
* the product to send findings to Security Hub is applied.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, EnableImportFindingsForProductCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, EnableImportFindingsForProductCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new EnableImportFindingsForProductCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link EnableImportFindingsForProductCommandInput} for command's `input` shape. | ||
* @see {@link EnableImportFindingsForProductCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class EnableImportFindingsForProductCommand extends $Command<EnableImportFindingsForProductCommandInput, EnableImportFindingsForProductCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: EnableImportFindingsForProductCommandInput; | ||
constructor(input: EnableImportFindingsForProductCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<EnableImportFindingsForProductCommandInput, EnableImportFindingsForProductCommandOutput>; | ||
@@ -37,0 +16,0 @@ private serialize; |
@@ -9,26 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Designates the Security Hub administrator account for an organization. Can only be called by | ||
* the organization management account.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, EnableOrganizationAdminAccountCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, EnableOrganizationAdminAccountCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new EnableOrganizationAdminAccountCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link EnableOrganizationAdminAccountCommandInput} for command's `input` shape. | ||
* @see {@link EnableOrganizationAdminAccountCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class EnableOrganizationAdminAccountCommand extends $Command<EnableOrganizationAdminAccountCommandInput, EnableOrganizationAdminAccountCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: EnableOrganizationAdminAccountCommandInput; | ||
constructor(input: EnableOrganizationAdminAccountCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<EnableOrganizationAdminAccountCommandInput, EnableOrganizationAdminAccountCommandOutput>; | ||
@@ -35,0 +16,0 @@ private serialize; |
@@ -9,44 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Enables Security Hub for your account in the current Region or the Region you specify in the | ||
* request.</p> | ||
* <p>When you enable Security Hub, you grant to Security Hub the permissions necessary to gather findings | ||
* from other services that are integrated with Security Hub.</p> | ||
* <p>When you use the <code>EnableSecurityHub</code> operation to enable Security Hub, you also | ||
* automatically enable the following standards.</p> | ||
* <ul> | ||
* <li> | ||
* <p>CIS Amazon Web Services Foundations</p> | ||
* </li> | ||
* <li> | ||
* <p>Amazon Web Services Foundational Security Best Practices</p> | ||
* </li> | ||
* </ul> | ||
* <p>You do not enable the Payment Card Industry Data Security Standard (PCI DSS) standard. </p> | ||
* <p>To not enable the automatically enabled standards, set | ||
* <code>EnableDefaultStandards</code> to <code>false</code>.</p> | ||
* <p>After you enable Security Hub, to enable a standard, use the <code>BatchEnableStandards</code> operation. To disable a standard, use the | ||
* <code>BatchDisableStandards</code> operation.</p> | ||
* <p>To learn more, see the <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-settingup.html">setup information</a> in the <i>Security Hub User Guide</i>.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, EnableSecurityHubCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, EnableSecurityHubCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new EnableSecurityHubCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link EnableSecurityHubCommandInput} for command's `input` shape. | ||
* @see {@link EnableSecurityHubCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class EnableSecurityHubCommand extends $Command<EnableSecurityHubCommandInput, EnableSecurityHubCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: EnableSecurityHubCommandInput; | ||
constructor(input: EnableSecurityHubCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<EnableSecurityHubCommandInput, EnableSecurityHubCommandOutput>; | ||
@@ -53,0 +16,0 @@ private serialize; |
@@ -9,27 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Provides the details for the Security Hub administrator account for the current member account.</p> | ||
* <p>Can be used by both member accounts that are managed using Organizations and accounts that were | ||
* invited manually.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, GetAdministratorAccountCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, GetAdministratorAccountCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new GetAdministratorAccountCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link GetAdministratorAccountCommandInput} for command's `input` shape. | ||
* @see {@link GetAdministratorAccountCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class GetAdministratorAccountCommand extends $Command<GetAdministratorAccountCommandInput, GetAdministratorAccountCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: GetAdministratorAccountCommandInput; | ||
constructor(input: GetAdministratorAccountCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetAdministratorAccountCommandInput, GetAdministratorAccountCommandOutput>; | ||
@@ -36,0 +16,0 @@ private serialize; |
@@ -9,25 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Returns a list of the standards that are currently enabled.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, GetEnabledStandardsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, GetEnabledStandardsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new GetEnabledStandardsCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link GetEnabledStandardsCommandInput} for command's `input` shape. | ||
* @see {@link GetEnabledStandardsCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class GetEnabledStandardsCommand extends $Command<GetEnabledStandardsCommandInput, GetEnabledStandardsCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: GetEnabledStandardsCommandInput; | ||
constructor(input: GetEnabledStandardsCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetEnabledStandardsCommandInput, GetEnabledStandardsCommandOutput>; | ||
@@ -34,0 +16,0 @@ private serialize; |
@@ -9,25 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Returns a list of findings that match the specified criteria.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, GetFindingsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, GetFindingsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new GetFindingsCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link GetFindingsCommandInput} for command's `input` shape. | ||
* @see {@link GetFindingsCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class GetFindingsCommand extends $Command<GetFindingsCommandInput, GetFindingsCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: GetFindingsCommandInput; | ||
constructor(input: GetFindingsCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetFindingsCommandInput, GetFindingsCommandOutput>; | ||
@@ -34,0 +16,0 @@ private serialize; |
@@ -9,25 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Lists the results of the Security Hub insight specified by the insight ARN.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, GetInsightResultsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, GetInsightResultsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new GetInsightResultsCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link GetInsightResultsCommandInput} for command's `input` shape. | ||
* @see {@link GetInsightResultsCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class GetInsightResultsCommand extends $Command<GetInsightResultsCommandInput, GetInsightResultsCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: GetInsightResultsCommandInput; | ||
constructor(input: GetInsightResultsCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetInsightResultsCommandInput, GetInsightResultsCommandOutput>; | ||
@@ -34,0 +16,0 @@ private serialize; |
@@ -9,25 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Lists and describes insights for the specified insight ARNs.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, GetInsightsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, GetInsightsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new GetInsightsCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link GetInsightsCommandInput} for command's `input` shape. | ||
* @see {@link GetInsightsCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class GetInsightsCommand extends $Command<GetInsightsCommandInput, GetInsightsCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: GetInsightsCommandInput; | ||
constructor(input: GetInsightsCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetInsightsCommandInput, GetInsightsCommandOutput>; | ||
@@ -34,0 +16,0 @@ private serialize; |
@@ -9,26 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Returns the count of all Security Hub membership invitations that were sent to the | ||
* current member account, not including the currently accepted invitation. </p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, GetInvitationsCountCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, GetInvitationsCountCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new GetInvitationsCountCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link GetInvitationsCountCommandInput} for command's `input` shape. | ||
* @see {@link GetInvitationsCountCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class GetInvitationsCountCommand extends $Command<GetInvitationsCountCommandInput, GetInvitationsCountCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: GetInvitationsCountCommandInput; | ||
constructor(input: GetInvitationsCountCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetInvitationsCountCommandInput, GetInvitationsCountCommandOutput>; | ||
@@ -35,0 +16,0 @@ private serialize; |
@@ -9,31 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* @deprecated | ||
* | ||
* <p>This method is deprecated. Instead, use <code>GetAdministratorAccount</code>.</p> | ||
* <p>The Security Hub console continues to use <code>GetMasterAccount</code>. It will eventually change to use <code>GetAdministratorAccount</code>. Any IAM policies that specifically control access to this function must continue to use <code>GetMasterAccount</code>. You should also add <code>GetAdministratorAccount</code> to your policies to ensure that the correct permissions are in place after the console begins to use <code>GetAdministratorAccount</code>.</p> | ||
* <p>Provides the details for the Security Hub administrator account for the current member account.</p> | ||
* <p>Can be used by both member accounts that are managed using Organizations and accounts that were | ||
* invited manually.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, GetMasterAccountCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, GetMasterAccountCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new GetMasterAccountCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link GetMasterAccountCommandInput} for command's `input` shape. | ||
* @see {@link GetMasterAccountCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class GetMasterAccountCommand extends $Command<GetMasterAccountCommandInput, GetMasterAccountCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: GetMasterAccountCommandInput; | ||
constructor(input: GetMasterAccountCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetMasterAccountCommandInput, GetMasterAccountCommandOutput>; | ||
@@ -40,0 +16,0 @@ private serialize; |
@@ -9,29 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Returns the details for the Security Hub member accounts for the specified account IDs.</p> | ||
* <p>An administrator account can be either the delegated Security Hub administrator account for an | ||
* organization or an administrator account that enabled Security Hub manually.</p> | ||
* <p>The results include both member accounts that are managed using Organizations and accounts that | ||
* were invited manually.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, GetMembersCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, GetMembersCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new GetMembersCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link GetMembersCommandInput} for command's `input` shape. | ||
* @see {@link GetMembersCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class GetMembersCommand extends $Command<GetMembersCommandInput, GetMembersCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: GetMembersCommandInput; | ||
constructor(input: GetMembersCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetMembersCommandInput, GetMembersCommandOutput>; | ||
@@ -38,0 +16,0 @@ private serialize; |
@@ -9,31 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Invites other Amazon Web Services accounts to become member accounts for the Security Hub administrator account that | ||
* the invitation is sent from.</p> | ||
* <p>This operation is only used to invite accounts that do not belong to an organization. | ||
* Organization accounts do not receive invitations.</p> | ||
* <p>Before you can use this action to invite a member, you must first use the <code>CreateMembers</code> action to create the member account in Security Hub.</p> | ||
* <p>When the account owner enables Security Hub and accepts the invitation to become a member | ||
* account, the administrator account can view the findings generated from the member account.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, InviteMembersCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, InviteMembersCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new InviteMembersCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link InviteMembersCommandInput} for command's `input` shape. | ||
* @see {@link InviteMembersCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class InviteMembersCommand extends $Command<InviteMembersCommandInput, InviteMembersCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: InviteMembersCommandInput; | ||
constructor(input: InviteMembersCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<InviteMembersCommandInput, InviteMembersCommandOutput>; | ||
@@ -40,0 +16,0 @@ private serialize; |
@@ -9,26 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Lists all findings-generating solutions (products) that you are subscribed to receive | ||
* findings from in Security Hub.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, ListEnabledProductsForImportCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, ListEnabledProductsForImportCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new ListEnabledProductsForImportCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link ListEnabledProductsForImportCommandInput} for command's `input` shape. | ||
* @see {@link ListEnabledProductsForImportCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class ListEnabledProductsForImportCommand extends $Command<ListEnabledProductsForImportCommandInput, ListEnabledProductsForImportCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: ListEnabledProductsForImportCommandInput; | ||
constructor(input: ListEnabledProductsForImportCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListEnabledProductsForImportCommandInput, ListEnabledProductsForImportCommandOutput>; | ||
@@ -35,0 +16,0 @@ private serialize; |
@@ -9,27 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Lists all Security Hub membership invitations that were sent to the current Amazon Web Services account.</p> | ||
* <p>This operation is only used by accounts that are managed by invitation. | ||
* Accounts that are managed using the integration with Organizations do not receive invitations.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, ListInvitationsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, ListInvitationsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new ListInvitationsCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link ListInvitationsCommandInput} for command's `input` shape. | ||
* @see {@link ListInvitationsCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class ListInvitationsCommand extends $Command<ListInvitationsCommandInput, ListInvitationsCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: ListInvitationsCommandInput; | ||
constructor(input: ListInvitationsCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListInvitationsCommandInput, ListInvitationsCommandOutput>; | ||
@@ -36,0 +16,0 @@ private serialize; |
@@ -9,28 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Lists details about all member accounts for the current Security Hub administrator | ||
* account.</p> | ||
* <p>The results include both member accounts that belong to an organization and member | ||
* accounts that were invited manually.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, ListMembersCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, ListMembersCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new ListMembersCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link ListMembersCommandInput} for command's `input` shape. | ||
* @see {@link ListMembersCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class ListMembersCommand extends $Command<ListMembersCommandInput, ListMembersCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: ListMembersCommandInput; | ||
constructor(input: ListMembersCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListMembersCommandInput, ListMembersCommandOutput>; | ||
@@ -37,0 +16,0 @@ private serialize; |
@@ -9,26 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Lists the Security Hub administrator accounts. Can only be called by the organization | ||
* management account.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, ListOrganizationAdminAccountsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, ListOrganizationAdminAccountsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new ListOrganizationAdminAccountsCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link ListOrganizationAdminAccountsCommandInput} for command's `input` shape. | ||
* @see {@link ListOrganizationAdminAccountsCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class ListOrganizationAdminAccountsCommand extends $Command<ListOrganizationAdminAccountsCommandInput, ListOrganizationAdminAccountsCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: ListOrganizationAdminAccountsCommandInput; | ||
constructor(input: ListOrganizationAdminAccountsCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListOrganizationAdminAccountsCommandInput, ListOrganizationAdminAccountsCommandOutput>; | ||
@@ -35,0 +16,0 @@ private serialize; |
@@ -9,25 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Returns a list of tags associated with a resource.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, ListTagsForResourceCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, ListTagsForResourceCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new ListTagsForResourceCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape. | ||
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: ListTagsForResourceCommandInput; | ||
constructor(input: ListTagsForResourceCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>; | ||
@@ -34,0 +16,0 @@ private serialize; |
@@ -9,25 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Adds one or more tags to a resource.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, TagResourceCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, TagResourceCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new TagResourceCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link TagResourceCommandInput} for command's `input` shape. | ||
* @see {@link TagResourceCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: TagResourceCommandInput; | ||
constructor(input: TagResourceCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>; | ||
@@ -34,0 +16,0 @@ private serialize; |
@@ -9,25 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Removes one or more tags from a resource.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, UntagResourceCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, UntagResourceCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new UntagResourceCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link UntagResourceCommandInput} for command's `input` shape. | ||
* @see {@link UntagResourceCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: UntagResourceCommandInput; | ||
constructor(input: UntagResourceCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>; | ||
@@ -34,0 +16,0 @@ private serialize; |
@@ -9,25 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Updates the name and description of a custom action target in Security Hub.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, UpdateActionTargetCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, UpdateActionTargetCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new UpdateActionTargetCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link UpdateActionTargetCommandInput} for command's `input` shape. | ||
* @see {@link UpdateActionTargetCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class UpdateActionTargetCommand extends $Command<UpdateActionTargetCommandInput, UpdateActionTargetCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: UpdateActionTargetCommandInput; | ||
constructor(input: UpdateActionTargetCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateActionTargetCommandInput, UpdateActionTargetCommandOutput>; | ||
@@ -34,0 +16,0 @@ private serialize; |
@@ -9,30 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p> | ||
* <code>UpdateFindings</code> is deprecated. Instead of <code>UpdateFindings</code>, use | ||
* <code>BatchUpdateFindings</code>.</p> | ||
* <p>Updates the <code>Note</code> and <code>RecordState</code> of the Security Hub-aggregated | ||
* findings that the filter attributes specify. Any member account that can view the finding | ||
* also sees the update to the finding.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, UpdateFindingsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, UpdateFindingsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new UpdateFindingsCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link UpdateFindingsCommandInput} for command's `input` shape. | ||
* @see {@link UpdateFindingsCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class UpdateFindingsCommand extends $Command<UpdateFindingsCommandInput, UpdateFindingsCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: UpdateFindingsCommandInput; | ||
constructor(input: UpdateFindingsCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateFindingsCommandInput, UpdateFindingsCommandOutput>; | ||
@@ -39,0 +16,0 @@ private serialize; |
@@ -9,25 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Updates the Security Hub insight identified by the specified insight ARN.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, UpdateInsightCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, UpdateInsightCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new UpdateInsightCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link UpdateInsightCommandInput} for command's `input` shape. | ||
* @see {@link UpdateInsightCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class UpdateInsightCommand extends $Command<UpdateInsightCommandInput, UpdateInsightCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: UpdateInsightCommandInput; | ||
constructor(input: UpdateInsightCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateInsightCommandInput, UpdateInsightCommandOutput>; | ||
@@ -34,0 +16,0 @@ private serialize; |
@@ -9,26 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Used to update the configuration related to Organizations. Can only be called from a | ||
* Security Hub administrator account.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, UpdateOrganizationConfigurationCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, UpdateOrganizationConfigurationCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new UpdateOrganizationConfigurationCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link UpdateOrganizationConfigurationCommandInput} for command's `input` shape. | ||
* @see {@link UpdateOrganizationConfigurationCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class UpdateOrganizationConfigurationCommand extends $Command<UpdateOrganizationConfigurationCommandInput, UpdateOrganizationConfigurationCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: UpdateOrganizationConfigurationCommandInput; | ||
constructor(input: UpdateOrganizationConfigurationCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateOrganizationConfigurationCommandInput, UpdateOrganizationConfigurationCommandOutput>; | ||
@@ -35,0 +16,0 @@ private serialize; |
@@ -9,25 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Updates configuration options for Security Hub.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, UpdateSecurityHubConfigurationCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, UpdateSecurityHubConfigurationCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new UpdateSecurityHubConfigurationCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link UpdateSecurityHubConfigurationCommandInput} for command's `input` shape. | ||
* @see {@link UpdateSecurityHubConfigurationCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class UpdateSecurityHubConfigurationCommand extends $Command<UpdateSecurityHubConfigurationCommandInput, UpdateSecurityHubConfigurationCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: UpdateSecurityHubConfigurationCommandInput; | ||
constructor(input: UpdateSecurityHubConfigurationCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateSecurityHubConfigurationCommandInput, UpdateSecurityHubConfigurationCommandOutput>; | ||
@@ -34,0 +16,0 @@ private serialize; |
@@ -9,26 +9,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client"; | ||
} | ||
/** | ||
* <p>Used to control whether an individual security standard control is enabled or | ||
* disabled.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { SecurityHubClient, UpdateStandardsControlCommand } from "@aws-sdk/client-securityhub"; // ES Modules import | ||
* // const { SecurityHubClient, UpdateStandardsControlCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import | ||
* const client = new SecurityHubClient(config); | ||
* const command = new UpdateStandardsControlCommand(input); | ||
* const response = await client.send(command); | ||
* ``` | ||
* | ||
* @see {@link UpdateStandardsControlCommandInput} for command's `input` shape. | ||
* @see {@link UpdateStandardsControlCommandOutput} for command's `response` shape. | ||
* @see {@link SecurityHubClientResolvedConfig | config} for command's `input` shape. | ||
* | ||
*/ | ||
export declare class UpdateStandardsControlCommand extends $Command<UpdateStandardsControlCommandInput, UpdateStandardsControlCommandOutput, SecurityHubClientResolvedConfig> { | ||
readonly input: UpdateStandardsControlCommandInput; | ||
constructor(input: UpdateStandardsControlCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateStandardsControlCommandInput, UpdateStandardsControlCommandOutput>; | ||
@@ -35,0 +16,0 @@ private serialize; |
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler"; | ||
import { SecurityHubClientConfig } from "./SecurityHubClient"; | ||
/** | ||
* @internal | ||
*/ | ||
export declare const getRuntimeConfig: (config: SecurityHubClientConfig) => { | ||
@@ -7,0 +5,0 @@ runtime: string; |
import { NodeHttpHandler } from "@aws-sdk/node-http-handler"; | ||
import { SecurityHubClientConfig } from "./SecurityHubClient"; | ||
/** | ||
* @internal | ||
*/ | ||
export declare const getRuntimeConfig: (config: SecurityHubClientConfig) => { | ||
@@ -7,0 +5,0 @@ runtime: string; |
import { SecurityHubClientConfig } from "./SecurityHubClient"; | ||
/** | ||
* @internal | ||
*/ | ||
export declare const getRuntimeConfig: (config: SecurityHubClientConfig) => { | ||
@@ -6,0 +4,0 @@ runtime: string; |
import { Logger as __Logger } from "@aws-sdk/types"; | ||
import { SecurityHubClientConfig } from "./SecurityHubClient"; | ||
/** | ||
* @internal | ||
*/ | ||
export declare const getRuntimeConfig: (config: SecurityHubClientConfig) => { | ||
@@ -7,0 +5,0 @@ apiVersion: string; |
@@ -54,617 +54,205 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types"; | ||
import { SecurityHubClient } from "./SecurityHubClient"; | ||
/** | ||
* <p>Security Hub provides you with a comprehensive view of the security state of your Amazon Web Services environment and resources. It also provides you with the readiness status | ||
* of your environment based on controls from supported security standards. Security Hub collects | ||
* security data from Amazon Web Services accounts, services, and integrated third-party products and helps | ||
* you analyze security trends in your environment to identify the highest priority security | ||
* issues. For more information about Security Hub, see the <i>Security Hub<a href="https://docs.aws.amazon.com/securityhub/latest/userguide/what-is-securityhub.html">User | ||
* Guide</a> | ||
* </i>.</p> | ||
* <p>When you use operations in the Security Hub API, the requests are executed only in the Amazon Web Services | ||
* Region that is currently active or in the specific Amazon Web Services Region that you specify in your | ||
* request. Any configuration or settings change that results from the operation is applied | ||
* only to that Region. To make the same change in other Regions, execute the same command for | ||
* each Region to apply the change to.</p> | ||
* <p>For example, if your Region is set to <code>us-west-2</code>, when you use <code>CreateMembers</code> to add a member account to Security Hub, the association of | ||
* the member account with the administrator account is created only in the <code>us-west-2</code> | ||
* Region. Security Hub must be enabled for the member account in the same Region that the invitation | ||
* was sent from.</p> | ||
* <p>The following throttling limits apply to using Security Hub API operations.</p> | ||
* <ul> | ||
* <li> | ||
* <p> | ||
* <code>BatchEnableStandards</code> - <code>RateLimit</code> of 1 | ||
* request per second, <code>BurstLimit</code> of 1 request per second.</p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>GetFindings</code> - <code>RateLimit</code> of 3 requests per second. | ||
* <code>BurstLimit</code> of 6 requests per second.</p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>UpdateFindings</code> - <code>RateLimit</code> of 1 request per | ||
* second. <code>BurstLimit</code> of 5 requests per second.</p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>UpdateStandardsControl</code> - <code>RateLimit</code> of | ||
* 1 request per second, <code>BurstLimit</code> of 5 requests per second.</p> | ||
* </li> | ||
* <li> | ||
* <p>All other operations - <code>RateLimit</code> of 10 requests per second. | ||
* <code>BurstLimit</code> of 30 requests per second.</p> | ||
* </li> | ||
* </ul> | ||
*/ | ||
export declare class SecurityHub extends SecurityHubClient { | ||
/** | ||
* <p>Accepts the invitation to be a member account and be monitored by the Security Hub administrator | ||
* account that the invitation was sent from.</p> | ||
* <p>This operation is only used by member accounts that are not added through | ||
* Organizations.</p> | ||
* <p>When the member account accepts the invitation, permission is granted to the administrator | ||
* account to view findings generated in the member account.</p> | ||
*/ | ||
acceptAdministratorInvitation(args: AcceptAdministratorInvitationCommandInput, options?: __HttpHandlerOptions): Promise<AcceptAdministratorInvitationCommandOutput>; | ||
acceptAdministratorInvitation(args: AcceptAdministratorInvitationCommandInput, cb: (err: any, data?: AcceptAdministratorInvitationCommandOutput) => void): void; | ||
acceptAdministratorInvitation(args: AcceptAdministratorInvitationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AcceptAdministratorInvitationCommandOutput) => void): void; | ||
/** | ||
* @deprecated | ||
* | ||
* <p>This method is deprecated. Instead, use <code>AcceptAdministratorInvitation</code>.</p> | ||
* <p>The Security Hub console continues to use <code>AcceptInvitation</code>. It will eventually change to use <code>AcceptAdministratorInvitation</code>. Any IAM policies that specifically control access to this function must continue to use <code>AcceptInvitation</code>. You should also add <code>AcceptAdministratorInvitation</code> to your policies to ensure that the correct permissions are in place after the console begins to use <code>AcceptAdministratorInvitation</code>.</p> | ||
* <p>Accepts the invitation to be a member account and be monitored by the Security Hub administrator | ||
* account that the invitation was sent from.</p> | ||
* <p>This operation is only used by member accounts that are not added through | ||
* Organizations.</p> | ||
* <p>When the member account accepts the invitation, permission is granted to the administrator | ||
* account to view findings generated in the member account.</p> | ||
*/ | ||
acceptInvitation(args: AcceptInvitationCommandInput, options?: __HttpHandlerOptions): Promise<AcceptInvitationCommandOutput>; | ||
acceptInvitation(args: AcceptInvitationCommandInput, cb: (err: any, data?: AcceptInvitationCommandOutput) => void): void; | ||
acceptInvitation(args: AcceptInvitationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AcceptInvitationCommandOutput) => void): void; | ||
/** | ||
* <p>Disables the standards specified by the provided | ||
* <code>StandardsSubscriptionArns</code>.</p> | ||
* <p>For more information, see <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-standards.html">Security Standards</a> section of the <i>Security Hub User | ||
* Guide</i>.</p> | ||
*/ | ||
batchDisableStandards(args: BatchDisableStandardsCommandInput, options?: __HttpHandlerOptions): Promise<BatchDisableStandardsCommandOutput>; | ||
batchDisableStandards(args: BatchDisableStandardsCommandInput, cb: (err: any, data?: BatchDisableStandardsCommandOutput) => void): void; | ||
batchDisableStandards(args: BatchDisableStandardsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchDisableStandardsCommandOutput) => void): void; | ||
/** | ||
* <p>Enables the standards specified by the provided <code>StandardsArn</code>. To obtain the | ||
* ARN for a standard, use the <code>DescribeStandards</code> | ||
* operation.</p> | ||
* <p>For more information, see the <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-standards.html">Security Standards</a> | ||
* section of the <i>Security Hub User Guide</i>.</p> | ||
*/ | ||
batchEnableStandards(args: BatchEnableStandardsCommandInput, options?: __HttpHandlerOptions): Promise<BatchEnableStandardsCommandOutput>; | ||
batchEnableStandards(args: BatchEnableStandardsCommandInput, cb: (err: any, data?: BatchEnableStandardsCommandOutput) => void): void; | ||
batchEnableStandards(args: BatchEnableStandardsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchEnableStandardsCommandOutput) => void): void; | ||
/** | ||
* <p>Imports security findings generated from an integrated product into Security Hub. | ||
* This action is requested by the integrated product to import its findings into | ||
* Security Hub.</p> | ||
* <p>The maximum allowed size for a finding is 240 Kb. An error is returned for any finding | ||
* larger than 240 Kb.</p> | ||
* <p>After a finding is created, <code>BatchImportFindings</code> cannot be used to update | ||
* the following finding fields and objects, which Security Hub customers use to manage their | ||
* investigation workflow.</p> | ||
* <ul> | ||
* <li> | ||
* <p> | ||
* <code>Note</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>UserDefinedFields</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>VerificationState</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>Workflow</code> | ||
* </p> | ||
* </li> | ||
* </ul> | ||
* <p>Finding providers also should not use <code>BatchImportFindings</code> to update the following attributes.</p> | ||
* <ul> | ||
* <li> | ||
* <p> | ||
* <code>Confidence</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>Criticality</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>RelatedFindings</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>Severity</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>Types</code> | ||
* </p> | ||
* </li> | ||
* </ul> | ||
* <p>Instead, finding providers use <code>FindingProviderFields</code> to provide values for these attributes.</p> | ||
*/ | ||
batchImportFindings(args: BatchImportFindingsCommandInput, options?: __HttpHandlerOptions): Promise<BatchImportFindingsCommandOutput>; | ||
batchImportFindings(args: BatchImportFindingsCommandInput, cb: (err: any, data?: BatchImportFindingsCommandOutput) => void): void; | ||
batchImportFindings(args: BatchImportFindingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchImportFindingsCommandOutput) => void): void; | ||
/** | ||
* <p>Used by Security Hub customers to update information about their investigation into a finding. | ||
* Requested by administrator accounts or member accounts. Administrator accounts can update findings for | ||
* their account and their member accounts. Member accounts can update findings for their | ||
* account.</p> | ||
* <p>Updates from <code>BatchUpdateFindings</code> do not affect the value of | ||
* <code>UpdatedAt</code> for a finding.</p> | ||
* <p>Administrator and member accounts can use <code>BatchUpdateFindings</code> to update the | ||
* following finding fields and objects.</p> | ||
* <ul> | ||
* <li> | ||
* <p> | ||
* <code>Confidence</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>Criticality</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>Note</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>RelatedFindings</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>Severity</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>Types</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>UserDefinedFields</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>VerificationState</code> | ||
* </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>Workflow</code> | ||
* </p> | ||
* </li> | ||
* </ul> | ||
* <p>You can configure IAM policies to restrict access to fields and field values. For | ||
* example, you might not want member accounts to be able to suppress findings or change the | ||
* finding severity. See <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/finding-update-batchupdatefindings.html#batchupdatefindings-configure-access">Configuring access to BatchUpdateFindings</a> in the | ||
* <i>Security Hub User Guide</i>.</p> | ||
*/ | ||
batchUpdateFindings(args: BatchUpdateFindingsCommandInput, options?: __HttpHandlerOptions): Promise<BatchUpdateFindingsCommandOutput>; | ||
batchUpdateFindings(args: BatchUpdateFindingsCommandInput, cb: (err: any, data?: BatchUpdateFindingsCommandOutput) => void): void; | ||
batchUpdateFindings(args: BatchUpdateFindingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchUpdateFindingsCommandOutput) => void): void; | ||
/** | ||
* <p>Creates a custom action target in Security Hub.</p> | ||
* <p>You can use custom actions on findings and insights in Security Hub to trigger target actions | ||
* in Amazon CloudWatch Events.</p> | ||
*/ | ||
createActionTarget(args: CreateActionTargetCommandInput, options?: __HttpHandlerOptions): Promise<CreateActionTargetCommandOutput>; | ||
createActionTarget(args: CreateActionTargetCommandInput, cb: (err: any, data?: CreateActionTargetCommandOutput) => void): void; | ||
createActionTarget(args: CreateActionTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateActionTargetCommandOutput) => void): void; | ||
/** | ||
* <p>Creates a custom insight in Security Hub. An insight is a consolidation of findings that relate | ||
* to a security issue that requires attention or remediation.</p> | ||
* <p>To group the related findings in the insight, use the | ||
* <code>GroupByAttribute</code>.</p> | ||
*/ | ||
createInsight(args: CreateInsightCommandInput, options?: __HttpHandlerOptions): Promise<CreateInsightCommandOutput>; | ||
createInsight(args: CreateInsightCommandInput, cb: (err: any, data?: CreateInsightCommandOutput) => void): void; | ||
createInsight(args: CreateInsightCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateInsightCommandOutput) => void): void; | ||
/** | ||
* <p>Creates a member association in Security Hub between the specified accounts and the account | ||
* used to make the request, which is the administrator account. If you are integrated with | ||
* Organizations, then the administrator account is designated by the organization management account.</p> | ||
* <p> | ||
* <code>CreateMembers</code> is always used to add accounts that are not organization | ||
* members.</p> | ||
* <p>For accounts that are managed using Organizations, <code>CreateMembers</code> is only used | ||
* in the following cases:</p> | ||
* <ul> | ||
* <li> | ||
* <p>Security Hub is not configured to automatically add new organization accounts.</p> | ||
* </li> | ||
* <li> | ||
* <p>The account was disassociated or deleted in Security Hub.</p> | ||
* </li> | ||
* </ul> | ||
* <p>This action can only be used by an account that has Security Hub enabled. To enable Security Hub, you | ||
* can use the <code>EnableSecurityHub</code> operation.</p> | ||
* <p>For accounts that are not organization members, you create the account association and | ||
* then send an invitation to the member account. To send the invitation, you use the | ||
* <code>InviteMembers</code> operation. If the account owner accepts | ||
* the invitation, the account becomes a member account in Security Hub.</p> | ||
* <p>Accounts that are managed using Organizations do not receive an invitation. They | ||
* automatically become a member account in Security Hub, and Security Hub is automatically enabled for those accounts. Note that Security Hub cannot be enabled automatically for the organization management account. The organization management account must enable Security Hub before the administrator account enables it as a member account.</p> | ||
* <p>A permissions policy is added that permits the administrator account to view the findings | ||
* generated in the member account. When Security Hub is enabled in a member account, the member account findings are | ||
* also visible to the administrator account. </p> | ||
* <p>To remove the association between the administrator and member accounts, use the <code>DisassociateFromMasterAccount</code> or <code>DisassociateMembers</code> operation.</p> | ||
*/ | ||
createMembers(args: CreateMembersCommandInput, options?: __HttpHandlerOptions): Promise<CreateMembersCommandOutput>; | ||
createMembers(args: CreateMembersCommandInput, cb: (err: any, data?: CreateMembersCommandOutput) => void): void; | ||
createMembers(args: CreateMembersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateMembersCommandOutput) => void): void; | ||
/** | ||
* <p>Declines invitations to become a member account.</p> | ||
* <p>This operation is only used by accounts that are not part of an organization. | ||
* Organization accounts do not receive invitations.</p> | ||
*/ | ||
declineInvitations(args: DeclineInvitationsCommandInput, options?: __HttpHandlerOptions): Promise<DeclineInvitationsCommandOutput>; | ||
declineInvitations(args: DeclineInvitationsCommandInput, cb: (err: any, data?: DeclineInvitationsCommandOutput) => void): void; | ||
declineInvitations(args: DeclineInvitationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeclineInvitationsCommandOutput) => void): void; | ||
/** | ||
* <p>Deletes a custom action target from Security Hub.</p> | ||
* <p>Deleting a custom action target does not affect any findings or insights that were | ||
* already sent to Amazon CloudWatch Events using the custom action.</p> | ||
*/ | ||
deleteActionTarget(args: DeleteActionTargetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteActionTargetCommandOutput>; | ||
deleteActionTarget(args: DeleteActionTargetCommandInput, cb: (err: any, data?: DeleteActionTargetCommandOutput) => void): void; | ||
deleteActionTarget(args: DeleteActionTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteActionTargetCommandOutput) => void): void; | ||
/** | ||
* <p>Deletes the insight specified by the <code>InsightArn</code>.</p> | ||
*/ | ||
deleteInsight(args: DeleteInsightCommandInput, options?: __HttpHandlerOptions): Promise<DeleteInsightCommandOutput>; | ||
deleteInsight(args: DeleteInsightCommandInput, cb: (err: any, data?: DeleteInsightCommandOutput) => void): void; | ||
deleteInsight(args: DeleteInsightCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteInsightCommandOutput) => void): void; | ||
/** | ||
* <p>Deletes invitations received by the Amazon Web Services account to become a member account.</p> | ||
* <p>This operation is only used by accounts that are not part of an organization. | ||
* Organization accounts do not receive invitations.</p> | ||
*/ | ||
deleteInvitations(args: DeleteInvitationsCommandInput, options?: __HttpHandlerOptions): Promise<DeleteInvitationsCommandOutput>; | ||
deleteInvitations(args: DeleteInvitationsCommandInput, cb: (err: any, data?: DeleteInvitationsCommandOutput) => void): void; | ||
deleteInvitations(args: DeleteInvitationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteInvitationsCommandOutput) => void): void; | ||
/** | ||
* <p>Deletes the specified member accounts from Security Hub.</p> | ||
* <p>Can be used to delete member accounts that belong to an organization as well as member | ||
* accounts that were invited manually.</p> | ||
*/ | ||
deleteMembers(args: DeleteMembersCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMembersCommandOutput>; | ||
deleteMembers(args: DeleteMembersCommandInput, cb: (err: any, data?: DeleteMembersCommandOutput) => void): void; | ||
deleteMembers(args: DeleteMembersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMembersCommandOutput) => void): void; | ||
/** | ||
* <p>Returns a list of the custom action targets in Security Hub in your account.</p> | ||
*/ | ||
describeActionTargets(args: DescribeActionTargetsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeActionTargetsCommandOutput>; | ||
describeActionTargets(args: DescribeActionTargetsCommandInput, cb: (err: any, data?: DescribeActionTargetsCommandOutput) => void): void; | ||
describeActionTargets(args: DescribeActionTargetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeActionTargetsCommandOutput) => void): void; | ||
/** | ||
* <p>Returns details about the Hub resource in your account, including the | ||
* <code>HubArn</code> and the time when you enabled Security Hub.</p> | ||
*/ | ||
describeHub(args: DescribeHubCommandInput, options?: __HttpHandlerOptions): Promise<DescribeHubCommandOutput>; | ||
describeHub(args: DescribeHubCommandInput, cb: (err: any, data?: DescribeHubCommandOutput) => void): void; | ||
describeHub(args: DescribeHubCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeHubCommandOutput) => void): void; | ||
/** | ||
* <p>Returns information about the Organizations configuration for Security Hub. Can only be | ||
* called from a Security Hub administrator account.</p> | ||
*/ | ||
describeOrganizationConfiguration(args: DescribeOrganizationConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeOrganizationConfigurationCommandOutput>; | ||
describeOrganizationConfiguration(args: DescribeOrganizationConfigurationCommandInput, cb: (err: any, data?: DescribeOrganizationConfigurationCommandOutput) => void): void; | ||
describeOrganizationConfiguration(args: DescribeOrganizationConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeOrganizationConfigurationCommandOutput) => void): void; | ||
/** | ||
* <p>Returns information about product integrations in Security Hub.</p> | ||
* <p>You can optionally provide an integration ARN. If you provide an integration ARN, then | ||
* the results only include that integration.</p> | ||
* <p>If you do not provide an integration ARN, then the results include all of the available | ||
* product integrations. </p> | ||
*/ | ||
describeProducts(args: DescribeProductsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeProductsCommandOutput>; | ||
describeProducts(args: DescribeProductsCommandInput, cb: (err: any, data?: DescribeProductsCommandOutput) => void): void; | ||
describeProducts(args: DescribeProductsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeProductsCommandOutput) => void): void; | ||
/** | ||
* <p>Returns a list of the available standards in Security Hub.</p> | ||
* <p>For each standard, the results include the standard ARN, the name, and a description. </p> | ||
*/ | ||
describeStandards(args: DescribeStandardsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeStandardsCommandOutput>; | ||
describeStandards(args: DescribeStandardsCommandInput, cb: (err: any, data?: DescribeStandardsCommandOutput) => void): void; | ||
describeStandards(args: DescribeStandardsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeStandardsCommandOutput) => void): void; | ||
/** | ||
* <p>Returns a list of security standards controls.</p> | ||
* <p>For each control, the results include information about whether it is currently enabled, | ||
* the severity, and a link to remediation information.</p> | ||
*/ | ||
describeStandardsControls(args: DescribeStandardsControlsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeStandardsControlsCommandOutput>; | ||
describeStandardsControls(args: DescribeStandardsControlsCommandInput, cb: (err: any, data?: DescribeStandardsControlsCommandOutput) => void): void; | ||
describeStandardsControls(args: DescribeStandardsControlsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeStandardsControlsCommandOutput) => void): void; | ||
/** | ||
* <p>Disables the integration of the specified product with Security Hub. After the integration is | ||
* disabled, findings from that product are no longer sent to Security Hub.</p> | ||
*/ | ||
disableImportFindingsForProduct(args: DisableImportFindingsForProductCommandInput, options?: __HttpHandlerOptions): Promise<DisableImportFindingsForProductCommandOutput>; | ||
disableImportFindingsForProduct(args: DisableImportFindingsForProductCommandInput, cb: (err: any, data?: DisableImportFindingsForProductCommandOutput) => void): void; | ||
disableImportFindingsForProduct(args: DisableImportFindingsForProductCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableImportFindingsForProductCommandOutput) => void): void; | ||
/** | ||
* <p>Disables a Security Hub administrator account. Can only be called by the organization | ||
* management account.</p> | ||
*/ | ||
disableOrganizationAdminAccount(args: DisableOrganizationAdminAccountCommandInput, options?: __HttpHandlerOptions): Promise<DisableOrganizationAdminAccountCommandOutput>; | ||
disableOrganizationAdminAccount(args: DisableOrganizationAdminAccountCommandInput, cb: (err: any, data?: DisableOrganizationAdminAccountCommandOutput) => void): void; | ||
disableOrganizationAdminAccount(args: DisableOrganizationAdminAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableOrganizationAdminAccountCommandOutput) => void): void; | ||
/** | ||
* <p>Disables Security Hub in your account only in the current Region. To disable Security Hub in all | ||
* Regions, you must submit one request per Region where you have enabled Security Hub.</p> | ||
* <p>When you disable Security Hub for an administrator account, it doesn't disable Security Hub for any associated | ||
* member accounts.</p> | ||
* <p>When you disable Security Hub, your existing findings and insights and any Security Hub configuration | ||
* settings are deleted after 90 days and cannot be recovered. Any standards that were enabled | ||
* are disabled, and your administrator and member account associations are removed.</p> | ||
* <p>If you want to save your existing findings, you must export them before you disable | ||
* Security Hub.</p> | ||
*/ | ||
disableSecurityHub(args: DisableSecurityHubCommandInput, options?: __HttpHandlerOptions): Promise<DisableSecurityHubCommandOutput>; | ||
disableSecurityHub(args: DisableSecurityHubCommandInput, cb: (err: any, data?: DisableSecurityHubCommandOutput) => void): void; | ||
disableSecurityHub(args: DisableSecurityHubCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableSecurityHubCommandOutput) => void): void; | ||
/** | ||
* <p>Disassociates the current Security Hub member account from the associated administrator | ||
* account.</p> | ||
* <p>This operation is only used by accounts that are not part of an organization. For | ||
* organization accounts, only the administrator account can | ||
* disassociate a member account.</p> | ||
*/ | ||
disassociateFromAdministratorAccount(args: DisassociateFromAdministratorAccountCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateFromAdministratorAccountCommandOutput>; | ||
disassociateFromAdministratorAccount(args: DisassociateFromAdministratorAccountCommandInput, cb: (err: any, data?: DisassociateFromAdministratorAccountCommandOutput) => void): void; | ||
disassociateFromAdministratorAccount(args: DisassociateFromAdministratorAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateFromAdministratorAccountCommandOutput) => void): void; | ||
/** | ||
* @deprecated | ||
* | ||
* <p>This method is deprecated. Instead, use <code>DisassociateFromAdministratorAccount</code>.</p> | ||
* <p>The Security Hub console continues to use <code>DisassociateFromMasterAccount</code>. It will eventually change to use <code>DisassociateFromAdministratorAccount</code>. Any IAM policies that specifically control access to this function must continue to use <code>DisassociateFromMasterAccount</code>. You should also add <code>DisassociateFromAdministratorAccount</code> to your policies to ensure that the correct permissions are in place after the console begins to use <code>DisassociateFromAdministratorAccount</code>.</p> | ||
* <p>Disassociates the current Security Hub member account from the associated administrator | ||
* account.</p> | ||
* <p>This operation is only used by accounts that are not part of an organization. For | ||
* organization accounts, only the administrator account can | ||
* disassociate a member account.</p> | ||
*/ | ||
disassociateFromMasterAccount(args: DisassociateFromMasterAccountCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateFromMasterAccountCommandOutput>; | ||
disassociateFromMasterAccount(args: DisassociateFromMasterAccountCommandInput, cb: (err: any, data?: DisassociateFromMasterAccountCommandOutput) => void): void; | ||
disassociateFromMasterAccount(args: DisassociateFromMasterAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateFromMasterAccountCommandOutput) => void): void; | ||
/** | ||
* <p>Disassociates the specified member accounts from the associated administrator account.</p> | ||
* <p>Can be used to disassociate both accounts that are managed using Organizations and accounts that | ||
* were invited manually.</p> | ||
*/ | ||
disassociateMembers(args: DisassociateMembersCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateMembersCommandOutput>; | ||
disassociateMembers(args: DisassociateMembersCommandInput, cb: (err: any, data?: DisassociateMembersCommandOutput) => void): void; | ||
disassociateMembers(args: DisassociateMembersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateMembersCommandOutput) => void): void; | ||
/** | ||
* <p>Enables the integration of a partner product with Security Hub. Integrated products send | ||
* findings to Security Hub.</p> | ||
* <p>When you enable a product integration, a permissions policy that grants permission for | ||
* the product to send findings to Security Hub is applied.</p> | ||
*/ | ||
enableImportFindingsForProduct(args: EnableImportFindingsForProductCommandInput, options?: __HttpHandlerOptions): Promise<EnableImportFindingsForProductCommandOutput>; | ||
enableImportFindingsForProduct(args: EnableImportFindingsForProductCommandInput, cb: (err: any, data?: EnableImportFindingsForProductCommandOutput) => void): void; | ||
enableImportFindingsForProduct(args: EnableImportFindingsForProductCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableImportFindingsForProductCommandOutput) => void): void; | ||
/** | ||
* <p>Designates the Security Hub administrator account for an organization. Can only be called by | ||
* the organization management account.</p> | ||
*/ | ||
enableOrganizationAdminAccount(args: EnableOrganizationAdminAccountCommandInput, options?: __HttpHandlerOptions): Promise<EnableOrganizationAdminAccountCommandOutput>; | ||
enableOrganizationAdminAccount(args: EnableOrganizationAdminAccountCommandInput, cb: (err: any, data?: EnableOrganizationAdminAccountCommandOutput) => void): void; | ||
enableOrganizationAdminAccount(args: EnableOrganizationAdminAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableOrganizationAdminAccountCommandOutput) => void): void; | ||
/** | ||
* <p>Enables Security Hub for your account in the current Region or the Region you specify in the | ||
* request.</p> | ||
* <p>When you enable Security Hub, you grant to Security Hub the permissions necessary to gather findings | ||
* from other services that are integrated with Security Hub.</p> | ||
* <p>When you use the <code>EnableSecurityHub</code> operation to enable Security Hub, you also | ||
* automatically enable the following standards.</p> | ||
* <ul> | ||
* <li> | ||
* <p>CIS Amazon Web Services Foundations</p> | ||
* </li> | ||
* <li> | ||
* <p>Amazon Web Services Foundational Security Best Practices</p> | ||
* </li> | ||
* </ul> | ||
* <p>You do not enable the Payment Card Industry Data Security Standard (PCI DSS) standard. </p> | ||
* <p>To not enable the automatically enabled standards, set | ||
* <code>EnableDefaultStandards</code> to <code>false</code>.</p> | ||
* <p>After you enable Security Hub, to enable a standard, use the <code>BatchEnableStandards</code> operation. To disable a standard, use the | ||
* <code>BatchDisableStandards</code> operation.</p> | ||
* <p>To learn more, see the <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-settingup.html">setup information</a> in the <i>Security Hub User Guide</i>.</p> | ||
*/ | ||
enableSecurityHub(args: EnableSecurityHubCommandInput, options?: __HttpHandlerOptions): Promise<EnableSecurityHubCommandOutput>; | ||
enableSecurityHub(args: EnableSecurityHubCommandInput, cb: (err: any, data?: EnableSecurityHubCommandOutput) => void): void; | ||
enableSecurityHub(args: EnableSecurityHubCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableSecurityHubCommandOutput) => void): void; | ||
/** | ||
* <p>Provides the details for the Security Hub administrator account for the current member account.</p> | ||
* <p>Can be used by both member accounts that are managed using Organizations and accounts that were | ||
* invited manually.</p> | ||
*/ | ||
getAdministratorAccount(args: GetAdministratorAccountCommandInput, options?: __HttpHandlerOptions): Promise<GetAdministratorAccountCommandOutput>; | ||
getAdministratorAccount(args: GetAdministratorAccountCommandInput, cb: (err: any, data?: GetAdministratorAccountCommandOutput) => void): void; | ||
getAdministratorAccount(args: GetAdministratorAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAdministratorAccountCommandOutput) => void): void; | ||
/** | ||
* <p>Returns a list of the standards that are currently enabled.</p> | ||
*/ | ||
getEnabledStandards(args: GetEnabledStandardsCommandInput, options?: __HttpHandlerOptions): Promise<GetEnabledStandardsCommandOutput>; | ||
getEnabledStandards(args: GetEnabledStandardsCommandInput, cb: (err: any, data?: GetEnabledStandardsCommandOutput) => void): void; | ||
getEnabledStandards(args: GetEnabledStandardsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEnabledStandardsCommandOutput) => void): void; | ||
/** | ||
* <p>Returns a list of findings that match the specified criteria.</p> | ||
*/ | ||
getFindings(args: GetFindingsCommandInput, options?: __HttpHandlerOptions): Promise<GetFindingsCommandOutput>; | ||
getFindings(args: GetFindingsCommandInput, cb: (err: any, data?: GetFindingsCommandOutput) => void): void; | ||
getFindings(args: GetFindingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFindingsCommandOutput) => void): void; | ||
/** | ||
* <p>Lists the results of the Security Hub insight specified by the insight ARN.</p> | ||
*/ | ||
getInsightResults(args: GetInsightResultsCommandInput, options?: __HttpHandlerOptions): Promise<GetInsightResultsCommandOutput>; | ||
getInsightResults(args: GetInsightResultsCommandInput, cb: (err: any, data?: GetInsightResultsCommandOutput) => void): void; | ||
getInsightResults(args: GetInsightResultsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetInsightResultsCommandOutput) => void): void; | ||
/** | ||
* <p>Lists and describes insights for the specified insight ARNs.</p> | ||
*/ | ||
getInsights(args: GetInsightsCommandInput, options?: __HttpHandlerOptions): Promise<GetInsightsCommandOutput>; | ||
getInsights(args: GetInsightsCommandInput, cb: (err: any, data?: GetInsightsCommandOutput) => void): void; | ||
getInsights(args: GetInsightsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetInsightsCommandOutput) => void): void; | ||
/** | ||
* <p>Returns the count of all Security Hub membership invitations that were sent to the | ||
* current member account, not including the currently accepted invitation. </p> | ||
*/ | ||
getInvitationsCount(args: GetInvitationsCountCommandInput, options?: __HttpHandlerOptions): Promise<GetInvitationsCountCommandOutput>; | ||
getInvitationsCount(args: GetInvitationsCountCommandInput, cb: (err: any, data?: GetInvitationsCountCommandOutput) => void): void; | ||
getInvitationsCount(args: GetInvitationsCountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetInvitationsCountCommandOutput) => void): void; | ||
/** | ||
* @deprecated | ||
* | ||
* <p>This method is deprecated. Instead, use <code>GetAdministratorAccount</code>.</p> | ||
* <p>The Security Hub console continues to use <code>GetMasterAccount</code>. It will eventually change to use <code>GetAdministratorAccount</code>. Any IAM policies that specifically control access to this function must continue to use <code>GetMasterAccount</code>. You should also add <code>GetAdministratorAccount</code> to your policies to ensure that the correct permissions are in place after the console begins to use <code>GetAdministratorAccount</code>.</p> | ||
* <p>Provides the details for the Security Hub administrator account for the current member account.</p> | ||
* <p>Can be used by both member accounts that are managed using Organizations and accounts that were | ||
* invited manually.</p> | ||
*/ | ||
getMasterAccount(args: GetMasterAccountCommandInput, options?: __HttpHandlerOptions): Promise<GetMasterAccountCommandOutput>; | ||
getMasterAccount(args: GetMasterAccountCommandInput, cb: (err: any, data?: GetMasterAccountCommandOutput) => void): void; | ||
getMasterAccount(args: GetMasterAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMasterAccountCommandOutput) => void): void; | ||
/** | ||
* <p>Returns the details for the Security Hub member accounts for the specified account IDs.</p> | ||
* <p>An administrator account can be either the delegated Security Hub administrator account for an | ||
* organization or an administrator account that enabled Security Hub manually.</p> | ||
* <p>The results include both member accounts that are managed using Organizations and accounts that | ||
* were invited manually.</p> | ||
*/ | ||
getMembers(args: GetMembersCommandInput, options?: __HttpHandlerOptions): Promise<GetMembersCommandOutput>; | ||
getMembers(args: GetMembersCommandInput, cb: (err: any, data?: GetMembersCommandOutput) => void): void; | ||
getMembers(args: GetMembersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMembersCommandOutput) => void): void; | ||
/** | ||
* <p>Invites other Amazon Web Services accounts to become member accounts for the Security Hub administrator account that | ||
* the invitation is sent from.</p> | ||
* <p>This operation is only used to invite accounts that do not belong to an organization. | ||
* Organization accounts do not receive invitations.</p> | ||
* <p>Before you can use this action to invite a member, you must first use the <code>CreateMembers</code> action to create the member account in Security Hub.</p> | ||
* <p>When the account owner enables Security Hub and accepts the invitation to become a member | ||
* account, the administrator account can view the findings generated from the member account.</p> | ||
*/ | ||
inviteMembers(args: InviteMembersCommandInput, options?: __HttpHandlerOptions): Promise<InviteMembersCommandOutput>; | ||
inviteMembers(args: InviteMembersCommandInput, cb: (err: any, data?: InviteMembersCommandOutput) => void): void; | ||
inviteMembers(args: InviteMembersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InviteMembersCommandOutput) => void): void; | ||
/** | ||
* <p>Lists all findings-generating solutions (products) that you are subscribed to receive | ||
* findings from in Security Hub.</p> | ||
*/ | ||
listEnabledProductsForImport(args: ListEnabledProductsForImportCommandInput, options?: __HttpHandlerOptions): Promise<ListEnabledProductsForImportCommandOutput>; | ||
listEnabledProductsForImport(args: ListEnabledProductsForImportCommandInput, cb: (err: any, data?: ListEnabledProductsForImportCommandOutput) => void): void; | ||
listEnabledProductsForImport(args: ListEnabledProductsForImportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEnabledProductsForImportCommandOutput) => void): void; | ||
/** | ||
* <p>Lists all Security Hub membership invitations that were sent to the current Amazon Web Services account.</p> | ||
* <p>This operation is only used by accounts that are managed by invitation. | ||
* Accounts that are managed using the integration with Organizations do not receive invitations.</p> | ||
*/ | ||
listInvitations(args: ListInvitationsCommandInput, options?: __HttpHandlerOptions): Promise<ListInvitationsCommandOutput>; | ||
listInvitations(args: ListInvitationsCommandInput, cb: (err: any, data?: ListInvitationsCommandOutput) => void): void; | ||
listInvitations(args: ListInvitationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListInvitationsCommandOutput) => void): void; | ||
/** | ||
* <p>Lists details about all member accounts for the current Security Hub administrator | ||
* account.</p> | ||
* <p>The results include both member accounts that belong to an organization and member | ||
* accounts that were invited manually.</p> | ||
*/ | ||
listMembers(args: ListMembersCommandInput, options?: __HttpHandlerOptions): Promise<ListMembersCommandOutput>; | ||
listMembers(args: ListMembersCommandInput, cb: (err: any, data?: ListMembersCommandOutput) => void): void; | ||
listMembers(args: ListMembersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMembersCommandOutput) => void): void; | ||
/** | ||
* <p>Lists the Security Hub administrator accounts. Can only be called by the organization | ||
* management account.</p> | ||
*/ | ||
listOrganizationAdminAccounts(args: ListOrganizationAdminAccountsCommandInput, options?: __HttpHandlerOptions): Promise<ListOrganizationAdminAccountsCommandOutput>; | ||
listOrganizationAdminAccounts(args: ListOrganizationAdminAccountsCommandInput, cb: (err: any, data?: ListOrganizationAdminAccountsCommandOutput) => void): void; | ||
listOrganizationAdminAccounts(args: ListOrganizationAdminAccountsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListOrganizationAdminAccountsCommandOutput) => void): void; | ||
/** | ||
* <p>Returns a list of tags associated with a resource.</p> | ||
*/ | ||
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>; | ||
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void; | ||
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void; | ||
/** | ||
* <p>Adds one or more tags to a resource.</p> | ||
*/ | ||
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>; | ||
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void; | ||
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void; | ||
/** | ||
* <p>Removes one or more tags from a resource.</p> | ||
*/ | ||
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>; | ||
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void; | ||
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void; | ||
/** | ||
* <p>Updates the name and description of a custom action target in Security Hub.</p> | ||
*/ | ||
updateActionTarget(args: UpdateActionTargetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateActionTargetCommandOutput>; | ||
updateActionTarget(args: UpdateActionTargetCommandInput, cb: (err: any, data?: UpdateActionTargetCommandOutput) => void): void; | ||
updateActionTarget(args: UpdateActionTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateActionTargetCommandOutput) => void): void; | ||
/** | ||
* <p> | ||
* <code>UpdateFindings</code> is deprecated. Instead of <code>UpdateFindings</code>, use | ||
* <code>BatchUpdateFindings</code>.</p> | ||
* <p>Updates the <code>Note</code> and <code>RecordState</code> of the Security Hub-aggregated | ||
* findings that the filter attributes specify. Any member account that can view the finding | ||
* also sees the update to the finding.</p> | ||
*/ | ||
updateFindings(args: UpdateFindingsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateFindingsCommandOutput>; | ||
updateFindings(args: UpdateFindingsCommandInput, cb: (err: any, data?: UpdateFindingsCommandOutput) => void): void; | ||
updateFindings(args: UpdateFindingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFindingsCommandOutput) => void): void; | ||
/** | ||
* <p>Updates the Security Hub insight identified by the specified insight ARN.</p> | ||
*/ | ||
updateInsight(args: UpdateInsightCommandInput, options?: __HttpHandlerOptions): Promise<UpdateInsightCommandOutput>; | ||
updateInsight(args: UpdateInsightCommandInput, cb: (err: any, data?: UpdateInsightCommandOutput) => void): void; | ||
updateInsight(args: UpdateInsightCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateInsightCommandOutput) => void): void; | ||
/** | ||
* <p>Used to update the configuration related to Organizations. Can only be called from a | ||
* Security Hub administrator account.</p> | ||
*/ | ||
updateOrganizationConfiguration(args: UpdateOrganizationConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateOrganizationConfigurationCommandOutput>; | ||
updateOrganizationConfiguration(args: UpdateOrganizationConfigurationCommandInput, cb: (err: any, data?: UpdateOrganizationConfigurationCommandOutput) => void): void; | ||
updateOrganizationConfiguration(args: UpdateOrganizationConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateOrganizationConfigurationCommandOutput) => void): void; | ||
/** | ||
* <p>Updates configuration options for Security Hub.</p> | ||
*/ | ||
updateSecurityHubConfiguration(args: UpdateSecurityHubConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSecurityHubConfigurationCommandOutput>; | ||
updateSecurityHubConfiguration(args: UpdateSecurityHubConfigurationCommandInput, cb: (err: any, data?: UpdateSecurityHubConfigurationCommandOutput) => void): void; | ||
updateSecurityHubConfiguration(args: UpdateSecurityHubConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSecurityHubConfigurationCommandOutput) => void): void; | ||
/** | ||
* <p>Used to control whether an individual security standard control is enabled or | ||
* disabled.</p> | ||
*/ | ||
updateStandardsControl(args: UpdateStandardsControlCommandInput, options?: __HttpHandlerOptions): Promise<UpdateStandardsControlCommandOutput>; | ||
@@ -671,0 +259,0 @@ updateStandardsControl(args: UpdateStandardsControlCommandInput, cb: (err: any, data?: UpdateStandardsControlCommandOutput) => void): void; |
@@ -63,164 +63,57 @@ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver"; | ||
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> { | ||
/** | ||
* The HTTP handler to use. Fetch in browser and Https in Nodejs. | ||
*/ | ||
requestHandler?: __HttpHandler; | ||
/** | ||
* A constructor for a class implementing the {@link __Hash} interface | ||
* that computes the SHA-256 HMAC or checksum of a string or binary buffer. | ||
* @internal | ||
*/ | ||
sha256?: __HashConstructor; | ||
/** | ||
* The function that will be used to convert strings into HTTP endpoints. | ||
* @internal | ||
*/ | ||
urlParser?: __UrlParser; | ||
/** | ||
* A function that can calculate the length of a request body. | ||
* @internal | ||
*/ | ||
bodyLengthChecker?: (body: any) => number | undefined; | ||
/** | ||
* A function that converts a stream into an array of bytes. | ||
* @internal | ||
*/ | ||
streamCollector?: __StreamCollector; | ||
/** | ||
* The function that will be used to convert a base64-encoded string to a byte array. | ||
* @internal | ||
*/ | ||
base64Decoder?: __Decoder; | ||
/** | ||
* The function that will be used to convert binary data to a base64-encoded string. | ||
* @internal | ||
*/ | ||
base64Encoder?: __Encoder; | ||
/** | ||
* The function that will be used to convert a UTF8-encoded string to a byte array. | ||
* @internal | ||
*/ | ||
utf8Decoder?: __Decoder; | ||
/** | ||
* The function that will be used to convert binary data to a UTF-8 encoded string. | ||
* @internal | ||
*/ | ||
utf8Encoder?: __Encoder; | ||
/** | ||
* The runtime environment. | ||
* @internal | ||
*/ | ||
runtime?: string; | ||
/** | ||
* Disable dyanamically changing the endpoint of the client based on the hostPrefix | ||
* trait of an operation. | ||
*/ | ||
disableHostPrefix?: boolean; | ||
/** | ||
* Value for how many times a request will be made at most in case of retry. | ||
*/ | ||
maxAttempts?: number | __Provider<number>; | ||
/** | ||
* Specifies which retry algorithm to use. | ||
*/ | ||
retryMode?: string | __Provider<string>; | ||
/** | ||
* Optional logger for logging debug/info/warn/error. | ||
*/ | ||
logger?: __Logger; | ||
/** | ||
* Unique service identifier. | ||
* @internal | ||
*/ | ||
serviceId?: string; | ||
/** | ||
* The AWS region to which this client will send requests | ||
*/ | ||
region?: string | __Provider<string>; | ||
/** | ||
* Default credentials provider; Not available in browser runtime. | ||
* @internal | ||
*/ | ||
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>; | ||
/** | ||
* Fetch related hostname, signing name or signing region with given region. | ||
* @internal | ||
*/ | ||
regionInfoProvider?: RegionInfoProvider; | ||
/** | ||
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header | ||
* @internal | ||
*/ | ||
defaultUserAgentProvider?: Provider<__UserAgent>; | ||
} | ||
declare type SecurityHubClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig; | ||
/** | ||
* The configuration interface of SecurityHubClient class constructor that set the region, credentials and other options. | ||
*/ | ||
export interface SecurityHubClientConfig extends SecurityHubClientConfigType { | ||
} | ||
declare type SecurityHubClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig; | ||
/** | ||
* The resolved configuration interface of SecurityHubClient class. This is resolved and normalized from the {@link SecurityHubClientConfig | constructor configuration interface}. | ||
*/ | ||
export interface SecurityHubClientResolvedConfig extends SecurityHubClientResolvedConfigType { | ||
} | ||
/** | ||
* <p>Security Hub provides you with a comprehensive view of the security state of your Amazon Web Services environment and resources. It also provides you with the readiness status | ||
* of your environment based on controls from supported security standards. Security Hub collects | ||
* security data from Amazon Web Services accounts, services, and integrated third-party products and helps | ||
* you analyze security trends in your environment to identify the highest priority security | ||
* issues. For more information about Security Hub, see the <i>Security Hub<a href="https://docs.aws.amazon.com/securityhub/latest/userguide/what-is-securityhub.html">User | ||
* Guide</a> | ||
* </i>.</p> | ||
* <p>When you use operations in the Security Hub API, the requests are executed only in the Amazon Web Services | ||
* Region that is currently active or in the specific Amazon Web Services Region that you specify in your | ||
* request. Any configuration or settings change that results from the operation is applied | ||
* only to that Region. To make the same change in other Regions, execute the same command for | ||
* each Region to apply the change to.</p> | ||
* <p>For example, if your Region is set to <code>us-west-2</code>, when you use <code>CreateMembers</code> to add a member account to Security Hub, the association of | ||
* the member account with the administrator account is created only in the <code>us-west-2</code> | ||
* Region. Security Hub must be enabled for the member account in the same Region that the invitation | ||
* was sent from.</p> | ||
* <p>The following throttling limits apply to using Security Hub API operations.</p> | ||
* <ul> | ||
* <li> | ||
* <p> | ||
* <code>BatchEnableStandards</code> - <code>RateLimit</code> of 1 | ||
* request per second, <code>BurstLimit</code> of 1 request per second.</p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>GetFindings</code> - <code>RateLimit</code> of 3 requests per second. | ||
* <code>BurstLimit</code> of 6 requests per second.</p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>UpdateFindings</code> - <code>RateLimit</code> of 1 request per | ||
* second. <code>BurstLimit</code> of 5 requests per second.</p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <code>UpdateStandardsControl</code> - <code>RateLimit</code> of | ||
* 1 request per second, <code>BurstLimit</code> of 5 requests per second.</p> | ||
* </li> | ||
* <li> | ||
* <p>All other operations - <code>RateLimit</code> of 10 requests per second. | ||
* <code>BurstLimit</code> of 30 requests per second.</p> | ||
* </li> | ||
* </ul> | ||
*/ | ||
export declare class SecurityHubClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, SecurityHubClientResolvedConfig> { | ||
/** | ||
* The resolved configuration of SecurityHubClient class. This is resolved and normalized from the {@link SecurityHubClientConfig | constructor configuration interface}. | ||
*/ | ||
readonly config: SecurityHubClientResolvedConfig; | ||
constructor(configuration: SecurityHubClientConfig); | ||
/** | ||
* Destroy underlying resources, like sockets. It's usually not necessary to do this. | ||
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. | ||
* Otherwise, sockets might stay open for quite a long time before the server terminates them. | ||
*/ | ||
destroy(): void; | ||
} | ||
export {}; |
{ | ||
"name": "@aws-sdk/client-securityhub", | ||
"description": "AWS SDK for JavaScript Securityhub Client for Node.js, Browser and React Native", | ||
"version": "3.36.0", | ||
"version": "3.36.1", | ||
"scripts": { | ||
@@ -24,5 +24,5 @@ "build": "yarn build:cjs && yarn build:es && yarn build:types", | ||
"@aws-crypto/sha256-js": "^1.0.0", | ||
"@aws-sdk/client-sts": "3.36.0", | ||
"@aws-sdk/client-sts": "3.36.1", | ||
"@aws-sdk/config-resolver": "3.36.0", | ||
"@aws-sdk/credential-provider-node": "3.36.0", | ||
"@aws-sdk/credential-provider-node": "3.36.1", | ||
"@aws-sdk/fetch-http-handler": "3.36.0", | ||
@@ -29,0 +29,0 @@ "@aws-sdk/hash-node": "3.36.0", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
3677004
70064
+ Added@aws-sdk/client-sso@3.36.1(transitive)
+ Added@aws-sdk/client-sts@3.36.1(transitive)
+ Added@aws-sdk/credential-provider-ini@3.36.1(transitive)
+ Added@aws-sdk/credential-provider-node@3.36.1(transitive)
+ Added@aws-sdk/credential-provider-sso@3.36.1(transitive)
- Removed@aws-sdk/client-sso@3.36.0(transitive)
- Removed@aws-sdk/client-sts@3.36.0(transitive)
- Removed@aws-sdk/credential-provider-ini@3.36.0(transitive)
- Removed@aws-sdk/credential-provider-node@3.36.0(transitive)
- Removed@aws-sdk/credential-provider-sso@3.36.0(transitive)
Updated@aws-sdk/client-sts@3.36.1