com.amazonaws.services.securityhub.AWSSecurityHubAsync Maven / Gradle / Ivy
/*
* Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.securityhub;
import javax.annotation.Generated;
import com.amazonaws.services.securityhub.model.*;
/**
* Interface for accessing AWS SecurityHub asynchronously. Each asynchronous method will return a Java Future object
* representing the asynchronous operation; overloads which accept an {@code AsyncHandler} can be used to receive
* notification when an asynchronous operation completes.
*
* Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
* {@link com.amazonaws.services.securityhub.AbstractAWSSecurityHubAsync} instead.
*
*
*
* Security Hub provides you with a comprehensive view of the security state of your AWS environment and resources. It
* also provides you with the compliance status of your environment based on CIS AWS Foundations compliance checks.
* Security Hub collects security data from AWS 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 AWS Security Hub User
* Guide .
*
*
* When you use operations in the Security Hub API, the requests are executed only in the AWS Region that is currently
* active or in the specific AWS 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. For example, if your Region is set to us-west-2
, when
* you use CreateMembers
to add a member account to Security Hub, the association of the member account
* with the master account is created only in the us-west-2 Region. Security Hub must be enabled for the member account
* in the same Region that the invite was sent from.
*
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public interface AWSSecurityHubAsync extends AWSSecurityHub {
/**
*
* Accepts the invitation to be a member account and be monitored by the Security Hub master account that the
* invitation was sent from. When the member account accepts the invitation, permission is granted to the master
* account to view findings generated in the member account.
*
*
* @param acceptInvitationRequest
* @return A Java Future containing the result of the AcceptInvitation operation returned by the service.
* @sample AWSSecurityHubAsync.AcceptInvitation
* @see AWS
* API Documentation
*/
java.util.concurrent.Future acceptInvitationAsync(AcceptInvitationRequest acceptInvitationRequest);
/**
*
* Accepts the invitation to be a member account and be monitored by the Security Hub master account that the
* invitation was sent from. When the member account accepts the invitation, permission is granted to the master
* account to view findings generated in the member account.
*
*
* @param acceptInvitationRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the AcceptInvitation operation returned by the service.
* @sample AWSSecurityHubAsyncHandler.AcceptInvitation
* @see AWS
* API Documentation
*/
java.util.concurrent.Future acceptInvitationAsync(AcceptInvitationRequest acceptInvitationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Disables the standards specified by the provided StandardsSubscriptionArns
. For more information,
* see Standards
* Supported in AWS Security Hub.
*
*
* @param batchDisableStandardsRequest
* @return A Java Future containing the result of the BatchDisableStandards operation returned by the service.
* @sample AWSSecurityHubAsync.BatchDisableStandards
* @see AWS API Documentation
*/
java.util.concurrent.Future batchDisableStandardsAsync(BatchDisableStandardsRequest batchDisableStandardsRequest);
/**
*
* Disables the standards specified by the provided StandardsSubscriptionArns
. For more information,
* see Standards
* Supported in AWS Security Hub.
*
*
* @param batchDisableStandardsRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the BatchDisableStandards operation returned by the service.
* @sample AWSSecurityHubAsyncHandler.BatchDisableStandards
* @see AWS API Documentation
*/
java.util.concurrent.Future batchDisableStandardsAsync(BatchDisableStandardsRequest batchDisableStandardsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Enables the standards specified by the provided standardsArn
. In this release, only CIS AWS
* Foundations standards are supported. For more information, see Standards Supported in
* AWS Security Hub.
*
*
* @param batchEnableStandardsRequest
* @return A Java Future containing the result of the BatchEnableStandards operation returned by the service.
* @sample AWSSecurityHubAsync.BatchEnableStandards
* @see AWS API Documentation
*/
java.util.concurrent.Future batchEnableStandardsAsync(BatchEnableStandardsRequest batchEnableStandardsRequest);
/**
*
* Enables the standards specified by the provided standardsArn
. In this release, only CIS AWS
* Foundations standards are supported. For more information, see Standards Supported in
* AWS Security Hub.
*
*
* @param batchEnableStandardsRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the BatchEnableStandards operation returned by the service.
* @sample AWSSecurityHubAsyncHandler.BatchEnableStandards
* @see AWS API Documentation
*/
java.util.concurrent.Future batchEnableStandardsAsync(BatchEnableStandardsRequest batchEnableStandardsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Imports security findings generated from an integrated third-party product into Security Hub. This action is
* requested by the integrated product to import its findings into Security Hub. The maximum allowed size for a
* finding is 240 Kb. An error is returned for any finding larger than 240 Kb.
*
*
* @param batchImportFindingsRequest
* @return A Java Future containing the result of the BatchImportFindings operation returned by the service.
* @sample AWSSecurityHubAsync.BatchImportFindings
* @see AWS API Documentation
*/
java.util.concurrent.Future batchImportFindingsAsync(BatchImportFindingsRequest batchImportFindingsRequest);
/**
*
* Imports security findings generated from an integrated third-party product into Security Hub. This action is
* requested by the integrated product to import its findings into Security Hub. The maximum allowed size for a
* finding is 240 Kb. An error is returned for any finding larger than 240 Kb.
*
*
* @param batchImportFindingsRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the BatchImportFindings operation returned by the service.
* @sample AWSSecurityHubAsyncHandler.BatchImportFindings
* @see AWS API Documentation
*/
java.util.concurrent.Future batchImportFindingsAsync(BatchImportFindingsRequest batchImportFindingsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates a custom action target in Security Hub. You can use custom actions on findings and insights in Security
* Hub to trigger target actions in Amazon CloudWatch Events.
*
*
* @param createActionTargetRequest
* @return A Java Future containing the result of the CreateActionTarget operation returned by the service.
* @sample AWSSecurityHubAsync.CreateActionTarget
* @see AWS
* API Documentation
*/
java.util.concurrent.Future createActionTargetAsync(CreateActionTargetRequest createActionTargetRequest);
/**
*
* Creates a custom action target in Security Hub. You can use custom actions on findings and insights in Security
* Hub to trigger target actions in Amazon CloudWatch Events.
*
*
* @param createActionTargetRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the CreateActionTarget operation returned by the service.
* @sample AWSSecurityHubAsyncHandler.CreateActionTarget
* @see AWS
* API Documentation
*/
java.util.concurrent.Future createActionTargetAsync(CreateActionTargetRequest createActionTargetRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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. Use the GroupByAttribute
to group the related findings
* in the insight.
*
*
* @param createInsightRequest
* @return A Java Future containing the result of the CreateInsight operation returned by the service.
* @sample AWSSecurityHubAsync.CreateInsight
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createInsightAsync(CreateInsightRequest createInsightRequest);
/**
*
* 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. Use the GroupByAttribute
to group the related findings
* in the insight.
*
*
* @param createInsightRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the CreateInsight operation returned by the service.
* @sample AWSSecurityHubAsyncHandler.CreateInsight
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createInsightAsync(CreateInsightRequest createInsightRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates a member association in Security Hub between the specified accounts and the account used to make the
* request, which is the master account. To successfully create a member, you must use this action from an account
* that already has Security Hub enabled. You can use the EnableSecurityHub to enable Security Hub.
*
*
* After you use CreateMembers
to create member account associations in Security Hub, you need to use
* the InviteMembers action, which invites the accounts to enable Security Hub and become member accounts in
* Security Hub. If the invitation is accepted by the account owner, the account becomes a member account in
* Security Hub, and a permission policy is added that permits the master account to view the findings generated in
* the member account. When Security Hub is enabled in the invited account, findings start being sent to both the
* member and master accounts.
*
*
* You can remove the association between the master and member accounts by using the
* DisassociateFromMasterAccount or DisassociateMembers operation.
*
*
* @param createMembersRequest
* @return A Java Future containing the result of the CreateMembers operation returned by the service.
* @sample AWSSecurityHubAsync.CreateMembers
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createMembersAsync(CreateMembersRequest createMembersRequest);
/**
*
* Creates a member association in Security Hub between the specified accounts and the account used to make the
* request, which is the master account. To successfully create a member, you must use this action from an account
* that already has Security Hub enabled. You can use the EnableSecurityHub to enable Security Hub.
*
*
* After you use CreateMembers
to create member account associations in Security Hub, you need to use
* the InviteMembers action, which invites the accounts to enable Security Hub and become member accounts in
* Security Hub. If the invitation is accepted by the account owner, the account becomes a member account in
* Security Hub, and a permission policy is added that permits the master account to view the findings generated in
* the member account. When Security Hub is enabled in the invited account, findings start being sent to both the
* member and master accounts.
*
*
* You can remove the association between the master and member accounts by using the
* DisassociateFromMasterAccount or DisassociateMembers operation.
*
*
* @param createMembersRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the CreateMembers operation returned by the service.
* @sample AWSSecurityHubAsyncHandler.CreateMembers
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createMembersAsync(CreateMembersRequest createMembersRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Declines invitations to become a member account.
*
*
* @param declineInvitationsRequest
* @return A Java Future containing the result of the DeclineInvitations operation returned by the service.
* @sample AWSSecurityHubAsync.DeclineInvitations
* @see AWS
* API Documentation
*/
java.util.concurrent.Future declineInvitationsAsync(DeclineInvitationsRequest declineInvitationsRequest);
/**
*
* Declines invitations to become a member account.
*
*
* @param declineInvitationsRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the DeclineInvitations operation returned by the service.
* @sample AWSSecurityHubAsyncHandler.DeclineInvitations
* @see AWS
* API Documentation
*/
java.util.concurrent.Future declineInvitationsAsync(DeclineInvitationsRequest declineInvitationsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes a custom action target from Security Hub. Deleting a custom action target doesn't affect any findings or
* insights that were already sent to Amazon CloudWatch Events using the custom action.
*
*
* @param deleteActionTargetRequest
* @return A Java Future containing the result of the DeleteActionTarget operation returned by the service.
* @sample AWSSecurityHubAsync.DeleteActionTarget
* @see AWS
* API Documentation
*/
java.util.concurrent.Future deleteActionTargetAsync(DeleteActionTargetRequest deleteActionTargetRequest);
/**
*
* Deletes a custom action target from Security Hub. Deleting a custom action target doesn't affect any findings or
* insights that were already sent to Amazon CloudWatch Events using the custom action.
*
*
* @param deleteActionTargetRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the DeleteActionTarget operation returned by the service.
* @sample AWSSecurityHubAsyncHandler.DeleteActionTarget
* @see AWS
* API Documentation
*/
java.util.concurrent.Future deleteActionTargetAsync(DeleteActionTargetRequest deleteActionTargetRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes the insight specified by the InsightArn
.
*
*
* @param deleteInsightRequest
* @return A Java Future containing the result of the DeleteInsight operation returned by the service.
* @sample AWSSecurityHubAsync.DeleteInsight
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteInsightAsync(DeleteInsightRequest deleteInsightRequest);
/**
*
* Deletes the insight specified by the InsightArn
.
*
*
* @param deleteInsightRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the DeleteInsight operation returned by the service.
* @sample AWSSecurityHubAsyncHandler.DeleteInsight
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteInsightAsync(DeleteInsightRequest deleteInsightRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes invitations received by the AWS account to become a member account.
*
*
* @param deleteInvitationsRequest
* @return A Java Future containing the result of the DeleteInvitations operation returned by the service.
* @sample AWSSecurityHubAsync.DeleteInvitations
* @see AWS
* API Documentation
*/
java.util.concurrent.Future deleteInvitationsAsync(DeleteInvitationsRequest deleteInvitationsRequest);
/**
*
* Deletes invitations received by the AWS account to become a member account.
*
*
* @param deleteInvitationsRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the DeleteInvitations operation returned by the service.
* @sample AWSSecurityHubAsyncHandler.DeleteInvitations
* @see AWS
* API Documentation
*/
java.util.concurrent.Future deleteInvitationsAsync(DeleteInvitationsRequest deleteInvitationsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes the specified member accounts from Security Hub.
*
*
* @param deleteMembersRequest
* @return A Java Future containing the result of the DeleteMembers operation returned by the service.
* @sample AWSSecurityHubAsync.DeleteMembers
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteMembersAsync(DeleteMembersRequest deleteMembersRequest);
/**
*
* Deletes the specified member accounts from Security Hub.
*
*
* @param deleteMembersRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the DeleteMembers operation returned by the service.
* @sample AWSSecurityHubAsyncHandler.DeleteMembers
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteMembersAsync(DeleteMembersRequest deleteMembersRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns a list of the custom action targets in Security Hub in your account.
*
*
* @param describeActionTargetsRequest
* @return A Java Future containing the result of the DescribeActionTargets operation returned by the service.
* @sample AWSSecurityHubAsync.DescribeActionTargets
* @see AWS API Documentation
*/
java.util.concurrent.Future describeActionTargetsAsync(DescribeActionTargetsRequest describeActionTargetsRequest);
/**
*
* Returns a list of the custom action targets in Security Hub in your account.
*
*
* @param describeActionTargetsRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the DescribeActionTargets operation returned by the service.
* @sample AWSSecurityHubAsyncHandler.DescribeActionTargets
* @see AWS API Documentation
*/
java.util.concurrent.Future describeActionTargetsAsync(DescribeActionTargetsRequest describeActionTargetsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns details about the Hub resource in your account, including the HubArn
and the time when you
* enabled Security Hub.
*
*
* @param describeHubRequest
* @return A Java Future containing the result of the DescribeHub operation returned by the service.
* @sample AWSSecurityHubAsync.DescribeHub
* @see AWS API
* Documentation
*/
java.util.concurrent.Future describeHubAsync(DescribeHubRequest describeHubRequest);
/**
*
* Returns details about the Hub resource in your account, including the HubArn
and the time when you
* enabled Security Hub.
*
*
* @param describeHubRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the DescribeHub operation returned by the service.
* @sample AWSSecurityHubAsyncHandler.DescribeHub
* @see AWS API
* Documentation
*/
java.util.concurrent.Future describeHubAsync(DescribeHubRequest describeHubRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns information about the products available that you can subscribe to and integrate with Security Hub to
* consolidate findings.
*
*
* @param describeProductsRequest
* @return A Java Future containing the result of the DescribeProducts operation returned by the service.
* @sample AWSSecurityHubAsync.DescribeProducts
* @see AWS
* API Documentation
*/
java.util.concurrent.Future describeProductsAsync(DescribeProductsRequest describeProductsRequest);
/**
*
* Returns information about the products available that you can subscribe to and integrate with Security Hub to
* consolidate findings.
*
*
* @param describeProductsRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the DescribeProducts operation returned by the service.
* @sample AWSSecurityHubAsyncHandler.DescribeProducts
* @see AWS
* API Documentation
*/
java.util.concurrent.Future describeProductsAsync(DescribeProductsRequest describeProductsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Disables the integration of the specified product with Security Hub. Findings from that product are no longer
* sent to Security Hub after the integration is disabled.
*
*
* @param disableImportFindingsForProductRequest
* @return A Java Future containing the result of the DisableImportFindingsForProduct operation returned by the
* service.
* @sample AWSSecurityHubAsync.DisableImportFindingsForProduct
* @see AWS API Documentation
*/
java.util.concurrent.Future disableImportFindingsForProductAsync(
DisableImportFindingsForProductRequest disableImportFindingsForProductRequest);
/**
*
* Disables the integration of the specified product with Security Hub. Findings from that product are no longer
* sent to Security Hub after the integration is disabled.
*
*
* @param disableImportFindingsForProductRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the DisableImportFindingsForProduct operation returned by the
* service.
* @sample AWSSecurityHubAsyncHandler.DisableImportFindingsForProduct
* @see AWS API Documentation
*/
java.util.concurrent.Future disableImportFindingsForProductAsync(
DisableImportFindingsForProductRequest disableImportFindingsForProductRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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. When you disable Security Hub for a
* master account, it doesn't disable Security Hub for any associated member accounts.
*
*
* When you disable Security Hub, your existing findings and insights and any Security Hub configuration settings
* are deleted after 90 days and can't be recovered. Any standards that were enabled are disabled, and your master
* and member account associations are removed. If you want to save your existing findings, you must export them
* before you disable Security Hub.
*
*
* @param disableSecurityHubRequest
* @return A Java Future containing the result of the DisableSecurityHub operation returned by the service.
* @sample AWSSecurityHubAsync.DisableSecurityHub
* @see AWS
* API Documentation
*/
java.util.concurrent.Future disableSecurityHubAsync(DisableSecurityHubRequest disableSecurityHubRequest);
/**
*
* 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. When you disable Security Hub for a
* master account, it doesn't disable Security Hub for any associated member accounts.
*
*
* When you disable Security Hub, your existing findings and insights and any Security Hub configuration settings
* are deleted after 90 days and can't be recovered. Any standards that were enabled are disabled, and your master
* and member account associations are removed. If you want to save your existing findings, you must export them
* before you disable Security Hub.
*
*
* @param disableSecurityHubRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the DisableSecurityHub operation returned by the service.
* @sample AWSSecurityHubAsyncHandler.DisableSecurityHub
* @see AWS
* API Documentation
*/
java.util.concurrent.Future disableSecurityHubAsync(DisableSecurityHubRequest disableSecurityHubRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Disassociates the current Security Hub member account from the associated master account.
*
*
* @param disassociateFromMasterAccountRequest
* @return A Java Future containing the result of the DisassociateFromMasterAccount operation returned by the
* service.
* @sample AWSSecurityHubAsync.DisassociateFromMasterAccount
* @see AWS API Documentation
*/
java.util.concurrent.Future disassociateFromMasterAccountAsync(
DisassociateFromMasterAccountRequest disassociateFromMasterAccountRequest);
/**
*
* Disassociates the current Security Hub member account from the associated master account.
*
*
* @param disassociateFromMasterAccountRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the DisassociateFromMasterAccount operation returned by the
* service.
* @sample AWSSecurityHubAsyncHandler.DisassociateFromMasterAccount
* @see AWS API Documentation
*/
java.util.concurrent.Future disassociateFromMasterAccountAsync(
DisassociateFromMasterAccountRequest disassociateFromMasterAccountRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Disassociates the specified member accounts from the associated master account.
*
*
* @param disassociateMembersRequest
* @return A Java Future containing the result of the DisassociateMembers operation returned by the service.
* @sample AWSSecurityHubAsync.DisassociateMembers
* @see AWS API Documentation
*/
java.util.concurrent.Future disassociateMembersAsync(DisassociateMembersRequest disassociateMembersRequest);
/**
*
* Disassociates the specified member accounts from the associated master account.
*
*
* @param disassociateMembersRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the DisassociateMembers operation returned by the service.
* @sample AWSSecurityHubAsyncHandler.DisassociateMembers
* @see AWS API Documentation
*/
java.util.concurrent.Future disassociateMembersAsync(DisassociateMembersRequest disassociateMembersRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Enables the integration of a partner product with Security Hub. Integrated products send findings to Security
* Hub. When you enable a product integration, a permission policy that grants permission for the product to send
* findings to Security Hub is applied.
*
*
* @param enableImportFindingsForProductRequest
* @return A Java Future containing the result of the EnableImportFindingsForProduct operation returned by the
* service.
* @sample AWSSecurityHubAsync.EnableImportFindingsForProduct
* @see AWS API Documentation
*/
java.util.concurrent.Future enableImportFindingsForProductAsync(
EnableImportFindingsForProductRequest enableImportFindingsForProductRequest);
/**
*
* Enables the integration of a partner product with Security Hub. Integrated products send findings to Security
* Hub. When you enable a product integration, a permission policy that grants permission for the product to send
* findings to Security Hub is applied.
*
*
* @param enableImportFindingsForProductRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the EnableImportFindingsForProduct operation returned by the
* service.
* @sample AWSSecurityHubAsyncHandler.EnableImportFindingsForProduct
* @see AWS API Documentation
*/
java.util.concurrent.Future enableImportFindingsForProductAsync(
EnableImportFindingsForProductRequest enableImportFindingsForProductRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Enables Security Hub for your account in the current Region or the Region you specify in the request. When you
* enable Security Hub, you grant to Security Hub the permissions necessary to gather findings from AWS Config,
* Amazon GuardDuty, Amazon Inspector, and Amazon Macie. To learn more, see Setting Up AWS
* Security Hub.
*
*
* @param enableSecurityHubRequest
* @return A Java Future containing the result of the EnableSecurityHub operation returned by the service.
* @sample AWSSecurityHubAsync.EnableSecurityHub
* @see AWS
* API Documentation
*/
java.util.concurrent.Future enableSecurityHubAsync(EnableSecurityHubRequest enableSecurityHubRequest);
/**
*
* Enables Security Hub for your account in the current Region or the Region you specify in the request. When you
* enable Security Hub, you grant to Security Hub the permissions necessary to gather findings from AWS Config,
* Amazon GuardDuty, Amazon Inspector, and Amazon Macie. To learn more, see Setting Up AWS
* Security Hub.
*
*
* @param enableSecurityHubRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the EnableSecurityHub operation returned by the service.
* @sample AWSSecurityHubAsyncHandler.EnableSecurityHub
* @see AWS
* API Documentation
*/
java.util.concurrent.Future enableSecurityHubAsync(EnableSecurityHubRequest enableSecurityHubRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns a list of the standards that are currently enabled.
*
*
* @param getEnabledStandardsRequest
* @return A Java Future containing the result of the GetEnabledStandards operation returned by the service.
* @sample AWSSecurityHubAsync.GetEnabledStandards
* @see AWS API Documentation
*/
java.util.concurrent.Future getEnabledStandardsAsync(GetEnabledStandardsRequest getEnabledStandardsRequest);
/**
*
* Returns a list of the standards that are currently enabled.
*
*
* @param getEnabledStandardsRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the GetEnabledStandards operation returned by the service.
* @sample AWSSecurityHubAsyncHandler.GetEnabledStandards
* @see AWS API Documentation
*/
java.util.concurrent.Future getEnabledStandardsAsync(GetEnabledStandardsRequest getEnabledStandardsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns a list of findings that match the specified criteria.
*
*
* @param getFindingsRequest
* @return A Java Future containing the result of the GetFindings operation returned by the service.
* @sample AWSSecurityHubAsync.GetFindings
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getFindingsAsync(GetFindingsRequest getFindingsRequest);
/**
*
* Returns a list of findings that match the specified criteria.
*
*
* @param getFindingsRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the GetFindings operation returned by the service.
* @sample AWSSecurityHubAsyncHandler.GetFindings
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getFindingsAsync(GetFindingsRequest getFindingsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists the results of the Security Hub insight that the insight ARN specifies.
*
*
* @param getInsightResultsRequest
* @return A Java Future containing the result of the GetInsightResults operation returned by the service.
* @sample AWSSecurityHubAsync.GetInsightResults
* @see AWS
* API Documentation
*/
java.util.concurrent.Future getInsightResultsAsync(GetInsightResultsRequest getInsightResultsRequest);
/**
*
* Lists the results of the Security Hub insight that the insight ARN specifies.
*
*
* @param getInsightResultsRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the GetInsightResults operation returned by the service.
* @sample AWSSecurityHubAsyncHandler.GetInsightResults
* @see AWS
* API Documentation
*/
java.util.concurrent.Future getInsightResultsAsync(GetInsightResultsRequest getInsightResultsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists and describes insights that insight ARNs specify.
*
*
* @param getInsightsRequest
* @return A Java Future containing the result of the GetInsights operation returned by the service.
* @sample AWSSecurityHubAsync.GetInsights
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getInsightsAsync(GetInsightsRequest getInsightsRequest);
/**
*
* Lists and describes insights that insight ARNs specify.
*
*
* @param getInsightsRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the GetInsights operation returned by the service.
* @sample AWSSecurityHubAsyncHandler.GetInsights
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getInsightsAsync(GetInsightsRequest getInsightsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns the count of all Security Hub membership invitations that were sent to the current member account, not
* including the currently accepted invitation.
*
*
* @param getInvitationsCountRequest
* @return A Java Future containing the result of the GetInvitationsCount operation returned by the service.
* @sample AWSSecurityHubAsync.GetInvitationsCount
* @see AWS API Documentation
*/
java.util.concurrent.Future getInvitationsCountAsync(GetInvitationsCountRequest getInvitationsCountRequest);
/**
*
* Returns the count of all Security Hub membership invitations that were sent to the current member account, not
* including the currently accepted invitation.
*
*
* @param getInvitationsCountRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the GetInvitationsCount operation returned by the service.
* @sample AWSSecurityHubAsyncHandler.GetInvitationsCount
* @see AWS API Documentation
*/
java.util.concurrent.Future getInvitationsCountAsync(GetInvitationsCountRequest getInvitationsCountRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Provides the details for the Security Hub master account to the current member account.
*
*
* @param getMasterAccountRequest
* @return A Java Future containing the result of the GetMasterAccount operation returned by the service.
* @sample AWSSecurityHubAsync.GetMasterAccount
* @see AWS
* API Documentation
*/
java.util.concurrent.Future getMasterAccountAsync(GetMasterAccountRequest getMasterAccountRequest);
/**
*
* Provides the details for the Security Hub master account to the current member account.
*
*
* @param getMasterAccountRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the GetMasterAccount operation returned by the service.
* @sample AWSSecurityHubAsyncHandler.GetMasterAccount
* @see AWS
* API Documentation
*/
java.util.concurrent.Future getMasterAccountAsync(GetMasterAccountRequest getMasterAccountRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns the details on the Security Hub member accounts that the account IDs specify.
*
*
* @param getMembersRequest
* @return A Java Future containing the result of the GetMembers operation returned by the service.
* @sample AWSSecurityHubAsync.GetMembers
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getMembersAsync(GetMembersRequest getMembersRequest);
/**
*
* Returns the details on the Security Hub member accounts that the account IDs specify.
*
*
* @param getMembersRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the GetMembers operation returned by the service.
* @sample AWSSecurityHubAsyncHandler.GetMembers
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getMembersAsync(GetMembersRequest getMembersRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Invites other AWS accounts to become member accounts for the Security Hub master account that the invitation is
* sent from. Before you can use this action to invite a member, you must first create the member account in
* Security Hub by using the CreateMembers action. When the account owner accepts the invitation to become a
* member account and enables Security Hub, the master account can view the findings generated from member account.
*
*
* @param inviteMembersRequest
* @return A Java Future containing the result of the InviteMembers operation returned by the service.
* @sample AWSSecurityHubAsync.InviteMembers
* @see AWS API
* Documentation
*/
java.util.concurrent.Future inviteMembersAsync(InviteMembersRequest inviteMembersRequest);
/**
*
* Invites other AWS accounts to become member accounts for the Security Hub master account that the invitation is
* sent from. Before you can use this action to invite a member, you must first create the member account in
* Security Hub by using the CreateMembers action. When the account owner accepts the invitation to become a
* member account and enables Security Hub, the master account can view the findings generated from member account.
*
*
* @param inviteMembersRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the InviteMembers operation returned by the service.
* @sample AWSSecurityHubAsyncHandler.InviteMembers
* @see AWS API
* Documentation
*/
java.util.concurrent.Future inviteMembersAsync(InviteMembersRequest inviteMembersRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists all findings-generating solutions (products) whose findings you have subscribed to receive in Security Hub.
*
*
* @param listEnabledProductsForImportRequest
* @return A Java Future containing the result of the ListEnabledProductsForImport operation returned by the
* service.
* @sample AWSSecurityHubAsync.ListEnabledProductsForImport
* @see AWS API Documentation
*/
java.util.concurrent.Future listEnabledProductsForImportAsync(
ListEnabledProductsForImportRequest listEnabledProductsForImportRequest);
/**
*
* Lists all findings-generating solutions (products) whose findings you have subscribed to receive in Security Hub.
*
*
* @param listEnabledProductsForImportRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the ListEnabledProductsForImport operation returned by the
* service.
* @sample AWSSecurityHubAsyncHandler.ListEnabledProductsForImport
* @see AWS API Documentation
*/
java.util.concurrent.Future listEnabledProductsForImportAsync(
ListEnabledProductsForImportRequest listEnabledProductsForImportRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists all Security Hub membership invitations that were sent to the current AWS account.
*
*
* @param listInvitationsRequest
* @return A Java Future containing the result of the ListInvitations operation returned by the service.
* @sample AWSSecurityHubAsync.ListInvitations
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listInvitationsAsync(ListInvitationsRequest listInvitationsRequest);
/**
*
* Lists all Security Hub membership invitations that were sent to the current AWS account.
*
*
* @param listInvitationsRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the ListInvitations operation returned by the service.
* @sample AWSSecurityHubAsyncHandler.ListInvitations
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listInvitationsAsync(ListInvitationsRequest listInvitationsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists details about all member accounts for the current Security Hub master account.
*
*
* @param listMembersRequest
* @return A Java Future containing the result of the ListMembers operation returned by the service.
* @sample AWSSecurityHubAsync.ListMembers
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listMembersAsync(ListMembersRequest listMembersRequest);
/**
*
* Lists details about all member accounts for the current Security Hub master account.
*
*
* @param listMembersRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the ListMembers operation returned by the service.
* @sample AWSSecurityHubAsyncHandler.ListMembers
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listMembersAsync(ListMembersRequest listMembersRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns a list of tags associated with a resource.
*
*
* @param listTagsForResourceRequest
* @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* @sample AWSSecurityHubAsync.ListTagsForResource
* @see AWS API Documentation
*/
java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest);
/**
*
* Returns a list of tags associated with a resource.
*
*
* @param listTagsForResourceRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* @sample AWSSecurityHubAsyncHandler.ListTagsForResource
* @see AWS API Documentation
*/
java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Adds one or more tags to a resource.
*
*
* @param tagResourceRequest
* @return A Java Future containing the result of the TagResource operation returned by the service.
* @sample AWSSecurityHubAsync.TagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest);
/**
*
* Adds one or more tags to a resource.
*
*
* @param tagResourceRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the TagResource operation returned by the service.
* @sample AWSSecurityHubAsyncHandler.TagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Removes one or more tags from a resource.
*
*
* @param untagResourceRequest
* @return A Java Future containing the result of the UntagResource operation returned by the service.
* @sample AWSSecurityHubAsync.UntagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest);
/**
*
* Removes one or more tags from a resource.
*
*
* @param untagResourceRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the UntagResource operation returned by the service.
* @sample AWSSecurityHubAsyncHandler.UntagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Updates the name and description of a custom action target in Security Hub.
*
*
* @param updateActionTargetRequest
* @return A Java Future containing the result of the UpdateActionTarget operation returned by the service.
* @sample AWSSecurityHubAsync.UpdateActionTarget
* @see AWS
* API Documentation
*/
java.util.concurrent.Future updateActionTargetAsync(UpdateActionTargetRequest updateActionTargetRequest);
/**
*
* Updates the name and description of a custom action target in Security Hub.
*
*
* @param updateActionTargetRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the UpdateActionTarget operation returned by the service.
* @sample AWSSecurityHubAsyncHandler.UpdateActionTarget
* @see AWS
* API Documentation
*/
java.util.concurrent.Future updateActionTargetAsync(UpdateActionTargetRequest updateActionTargetRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Updates the Note
and RecordState
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.
*
*
* @param updateFindingsRequest
* @return A Java Future containing the result of the UpdateFindings operation returned by the service.
* @sample AWSSecurityHubAsync.UpdateFindings
* @see AWS API
* Documentation
*/
java.util.concurrent.Future updateFindingsAsync(UpdateFindingsRequest updateFindingsRequest);
/**
*
* Updates the Note
and RecordState
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.
*
*
* @param updateFindingsRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the UpdateFindings operation returned by the service.
* @sample AWSSecurityHubAsyncHandler.UpdateFindings
* @see AWS API
* Documentation
*/
java.util.concurrent.Future updateFindingsAsync(UpdateFindingsRequest updateFindingsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Updates the Security Hub insight that the insight ARN specifies.
*
*
* @param updateInsightRequest
* @return A Java Future containing the result of the UpdateInsight operation returned by the service.
* @sample AWSSecurityHubAsync.UpdateInsight
* @see AWS API
* Documentation
*/
java.util.concurrent.Future updateInsightAsync(UpdateInsightRequest updateInsightRequest);
/**
*
* Updates the Security Hub insight that the insight ARN specifies.
*
*
* @param updateInsightRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the UpdateInsight operation returned by the service.
* @sample AWSSecurityHubAsyncHandler.UpdateInsight
* @see AWS API
* Documentation
*/
java.util.concurrent.Future updateInsightAsync(UpdateInsightRequest updateInsightRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
}