com.amazonaws.services.securityhub.AWSSecurityHubAsync Maven / Gradle / Ivy
/*
* Copyright 2016-2021 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 readiness status of your environment based on controls from supported security standards.
* 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
* invitation was sent from.
*
*
* The following throttling limits apply to using Security Hub API operations.
*
*
* -
*
* BatchEnableStandards
- RateLimit
of 1 request per second, BurstLimit
* of 1 request per second.
*
*
* -
*
* GetFindings
- RateLimit
of 3 requests per second. BurstLimit
of 6
* requests per second.
*
*
* -
*
* UpdateFindings
- RateLimit
of 1 request per second. BurstLimit
of 5
* requests per second.
*
*
* -
*
* UpdateStandardsControl
- RateLimit
of 1 request per second,
* BurstLimit
of 5 requests per second.
*
*
* -
*
* All other operations - RateLimit
of 10 requests per second. BurstLimit
of 30 requests per
* second.
*
*
*
*/
@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.
*
*
* This operation is only used by member accounts that are not added through Organizations.
*
*
* 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.
*
*
* This operation is only used by member accounts that are not added through Organizations.
*
*
* 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 Security Standards
* section of the AWS Security Hub User Guide.
*
*
* @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 Security Standards
* section of the AWS Security Hub User Guide.
*
*
* @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
. To obtain the ARN for a standard, use
* the DescribeStandards
operation.
*
*
* For more information, see the Security Standards
* section of the AWS Security Hub User Guide.
*
*
* @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
. To obtain the ARN for a standard, use
* the DescribeStandards
operation.
*
*
* For more information, see the Security Standards
* section of the AWS Security Hub User Guide.
*
*
* @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.
*
*
* After a finding is created, BatchImportFindings
cannot be used to update the following finding
* fields and objects, which Security Hub customers use to manage their investigation workflow.
*
*
* -
*
* Note
*
*
* -
*
* UserDefinedFields
*
*
* -
*
* VerificationState
*
*
* -
*
* Workflow
*
*
*
*
* BatchImportFindings
can be used to update the following finding fields and objects only if they have
* not been updated using BatchUpdateFindings
. After they are updated using
* BatchUpdateFindings
, these fields cannot be updated using BatchImportFindings
.
*
*
* -
*
* Confidence
*
*
* -
*
* Criticality
*
*
* -
*
* RelatedFindings
*
*
* -
*
* Severity
*
*
* -
*
* Types
*
*
*
*
* @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.
*
*
* After a finding is created, BatchImportFindings
cannot be used to update the following finding
* fields and objects, which Security Hub customers use to manage their investigation workflow.
*
*
* -
*
* Note
*
*
* -
*
* UserDefinedFields
*
*
* -
*
* VerificationState
*
*
* -
*
* Workflow
*
*
*
*
* BatchImportFindings
can be used to update the following finding fields and objects only if they have
* not been updated using BatchUpdateFindings
. After they are updated using
* BatchUpdateFindings
, these fields cannot be updated using BatchImportFindings
.
*
*
* -
*
* Confidence
*
*
* -
*
* Criticality
*
*
* -
*
* RelatedFindings
*
*
* -
*
* Severity
*
*
* -
*
* Types
*
*
*
*
* @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);
/**
*
* Used by Security Hub customers to update information about their investigation into a finding. Requested by
* master accounts or member accounts. Master accounts can update findings for their account and their member
* accounts. Member accounts can update findings for their account.
*
*
* Updates from BatchUpdateFindings
do not affect the value of UpdatedAt
for a finding.
*
*
* Master and member accounts can use BatchUpdateFindings
to update the following finding fields and
* objects.
*
*
* -
*
* Confidence
*
*
* -
*
* Criticality
*
*
* -
*
* Note
*
*
* -
*
* RelatedFindings
*
*
* -
*
* Severity
*
*
* -
*
* Types
*
*
* -
*
* UserDefinedFields
*
*
* -
*
* VerificationState
*
*
* -
*
* Workflow
*
*
*
*
* 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 Configuring access to BatchUpdateFindings in the AWS Security Hub User Guide.
*
*
* @param batchUpdateFindingsRequest
* @return A Java Future containing the result of the BatchUpdateFindings operation returned by the service.
* @sample AWSSecurityHubAsync.BatchUpdateFindings
* @see AWS API Documentation
*/
java.util.concurrent.Future batchUpdateFindingsAsync(BatchUpdateFindingsRequest batchUpdateFindingsRequest);
/**
*
* Used by Security Hub customers to update information about their investigation into a finding. Requested by
* master accounts or member accounts. Master accounts can update findings for their account and their member
* accounts. Member accounts can update findings for their account.
*
*
* Updates from BatchUpdateFindings
do not affect the value of UpdatedAt
for a finding.
*
*
* Master and member accounts can use BatchUpdateFindings
to update the following finding fields and
* objects.
*
*
* -
*
* Confidence
*
*
* -
*
* Criticality
*
*
* -
*
* Note
*
*
* -
*
* RelatedFindings
*
*
* -
*
* Severity
*
*
* -
*
* Types
*
*
* -
*
* UserDefinedFields
*
*
* -
*
* VerificationState
*
*
* -
*
* Workflow
*
*
*
*
* 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 Configuring access to BatchUpdateFindings in the AWS Security Hub User Guide.
*
*
* @param batchUpdateFindingsRequest
* @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 BatchUpdateFindings operation returned by the service.
* @sample AWSSecurityHubAsyncHandler.BatchUpdateFindings
* @see AWS API Documentation
*/
java.util.concurrent.Future batchUpdateFindingsAsync(BatchUpdateFindingsRequest batchUpdateFindingsRequest,
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.
*
*
* To group the related findings in the insight, use the GroupByAttribute
.
*
*
* @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.
*
*
* To group the related findings in the insight, use the GroupByAttribute
.
*
*
* @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. If you are integrated with Organizations, then the master account is the
* Security Hub administrator account that is designated by the organization management account.
*
*
* CreateMembers
is always used to add accounts that are not organization members.
*
*
* For accounts that are part of an organization, CreateMembers
is only used in the following cases:
*
*
* -
*
* Security Hub is not configured to automatically add new accounts in an organization.
*
*
* -
*
* The account was disassociated or deleted in Security Hub.
*
*
*
*
* This action can only be used by an account that has Security Hub enabled. To enable Security Hub, you can use the
* EnableSecurityHub
operation.
*
*
* 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 InviteMembers
operation. If the
* account owner accepts the invitation, the account becomes a member account in Security Hub.
*
*
* Accounts that are part of an organization do not receive an invitation. They automatically become a member
* account in Security Hub.
*
*
* A permissions policy is added that permits the master account to view the findings generated in the member
* account. When Security Hub is enabled in a member account, findings are sent to both the member and master
* accounts.
*
*
* To remove the association between the master and member accounts, use 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. If you are integrated with Organizations, then the master account is the
* Security Hub administrator account that is designated by the organization management account.
*
*
* CreateMembers
is always used to add accounts that are not organization members.
*
*
* For accounts that are part of an organization, CreateMembers
is only used in the following cases:
*
*
* -
*
* Security Hub is not configured to automatically add new accounts in an organization.
*
*
* -
*
* The account was disassociated or deleted in Security Hub.
*
*
*
*
* This action can only be used by an account that has Security Hub enabled. To enable Security Hub, you can use the
* EnableSecurityHub
operation.
*
*
* 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 InviteMembers
operation. If the
* account owner accepts the invitation, the account becomes a member account in Security Hub.
*
*
* Accounts that are part of an organization do not receive an invitation. They automatically become a member
* account in Security Hub.
*
*
* A permissions policy is added that permits the master account to view the findings generated in the member
* account. When Security Hub is enabled in a member account, findings are sent to both the member and master
* accounts.
*
*
* To remove the association between the master and member accounts, use 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.
*
*
* This operation is only used by accounts that are not part of an organization. Organization accounts do not
* receive invitations.
*
*
* @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.
*
*
* This operation is only used by accounts that are not part of an organization. Organization accounts do not
* receive invitations.
*
*
* @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 does not 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 does not 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.
*
*
* This operation is only used by accounts that are not part of an organization. Organization accounts do not
* receive invitations.
*
*
* @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.
*
*
* This operation is only used by accounts that are not part of an organization. Organization accounts do not
* receive invitations.
*
*
* @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.
*
*
* Can be used to delete member accounts that belong to an organization as well as member accounts that were invited
* manually.
*
*
* @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.
*
*
* Can be used to delete member accounts that belong to an organization as well as member accounts that were invited
* manually.
*
*
* @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 Organizations configuration for Security Hub. Can only be called from a Security
* Hub administrator account.
*
*
* @param describeOrganizationConfigurationRequest
* @return A Java Future containing the result of the DescribeOrganizationConfiguration operation returned by the
* service.
* @sample AWSSecurityHubAsync.DescribeOrganizationConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future describeOrganizationConfigurationAsync(
DescribeOrganizationConfigurationRequest describeOrganizationConfigurationRequest);
/**
*
* Returns information about the Organizations configuration for Security Hub. Can only be called from a Security
* Hub administrator account.
*
*
* @param describeOrganizationConfigurationRequest
* @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 DescribeOrganizationConfiguration operation returned by the
* service.
* @sample AWSSecurityHubAsyncHandler.DescribeOrganizationConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future describeOrganizationConfigurationAsync(
DescribeOrganizationConfigurationRequest describeOrganizationConfigurationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns information about product integrations in Security Hub.
*
*
* You can optionally provide an integration ARN. If you provide an integration ARN, then the results only include
* that integration.
*
*
* If you do not provide an integration ARN, then the results include all of the available product integrations.
*
*
* @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 product integrations in Security Hub.
*
*
* You can optionally provide an integration ARN. If you provide an integration ARN, then the results only include
* that integration.
*
*
* If you do not provide an integration ARN, then the results include all of the available product integrations.
*
*
* @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);
/**
*
* Returns a list of the available standards in Security Hub.
*
*
* For each standard, the results include the standard ARN, the name, and a description.
*
*
* @param describeStandardsRequest
* @return A Java Future containing the result of the DescribeStandards operation returned by the service.
* @sample AWSSecurityHubAsync.DescribeStandards
* @see AWS
* API Documentation
*/
java.util.concurrent.Future describeStandardsAsync(DescribeStandardsRequest describeStandardsRequest);
/**
*
* Returns a list of the available standards in Security Hub.
*
*
* For each standard, the results include the standard ARN, the name, and a description.
*
*
* @param describeStandardsRequest
* @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 DescribeStandards operation returned by the service.
* @sample AWSSecurityHubAsyncHandler.DescribeStandards
* @see AWS
* API Documentation
*/
java.util.concurrent.Future describeStandardsAsync(DescribeStandardsRequest describeStandardsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns a list of security standards controls.
*
*
* For each control, the results include information about whether it is currently enabled, the severity, and a link
* to remediation information.
*
*
* @param describeStandardsControlsRequest
* @return A Java Future containing the result of the DescribeStandardsControls operation returned by the service.
* @sample AWSSecurityHubAsync.DescribeStandardsControls
* @see AWS API Documentation
*/
java.util.concurrent.Future describeStandardsControlsAsync(
DescribeStandardsControlsRequest describeStandardsControlsRequest);
/**
*
* Returns a list of security standards controls.
*
*
* For each control, the results include information about whether it is currently enabled, the severity, and a link
* to remediation information.
*
*
* @param describeStandardsControlsRequest
* @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 DescribeStandardsControls operation returned by the service.
* @sample AWSSecurityHubAsyncHandler.DescribeStandardsControls
* @see AWS API Documentation
*/
java.util.concurrent.Future describeStandardsControlsAsync(
DescribeStandardsControlsRequest describeStandardsControlsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @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. After the integration is disabled, findings
* from that product are no longer sent to Security Hub.
*
*
* @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 a Security Hub administrator account. Can only be called by the organization management account.
*
*
* @param disableOrganizationAdminAccountRequest
* @return A Java Future containing the result of the DisableOrganizationAdminAccount operation returned by the
* service.
* @sample AWSSecurityHubAsync.DisableOrganizationAdminAccount
* @see AWS API Documentation
*/
java.util.concurrent.Future disableOrganizationAdminAccountAsync(
DisableOrganizationAdminAccountRequest disableOrganizationAdminAccountRequest);
/**
*
* Disables a Security Hub administrator account. Can only be called by the organization management account.
*
*
* @param disableOrganizationAdminAccountRequest
* @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 DisableOrganizationAdminAccount operation returned by the
* service.
* @sample AWSSecurityHubAsyncHandler.DisableOrganizationAdminAccount
* @see AWS API Documentation
*/
java.util.concurrent.Future disableOrganizationAdminAccountAsync(
DisableOrganizationAdminAccountRequest disableOrganizationAdminAccountRequest,
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 cannot 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 cannot 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.
*
*
* This operation is only used by accounts that are not part of an organization. For organization accounts, only the
* master account (the designated Security Hub administrator) can disassociate a member 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.
*
*
* This operation is only used by accounts that are not part of an organization. For organization accounts, only the
* master account (the designated Security Hub administrator) can disassociate a member 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.
*
*
* Can be used to disassociate both accounts that are in an organization and accounts that were invited manually.
*
*
* @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.
*
*
* Can be used to disassociate both accounts that are in an organization and accounts that were invited manually.
*
*
* @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 permissions 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 permissions 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);
/**
*
* Designates the Security Hub administrator account for an organization. Can only be called by the organization
* management account.
*
*
* @param enableOrganizationAdminAccountRequest
* @return A Java Future containing the result of the EnableOrganizationAdminAccount operation returned by the
* service.
* @sample AWSSecurityHubAsync.EnableOrganizationAdminAccount
* @see AWS API Documentation
*/
java.util.concurrent.Future enableOrganizationAdminAccountAsync(
EnableOrganizationAdminAccountRequest enableOrganizationAdminAccountRequest);
/**
*
* Designates the Security Hub administrator account for an organization. Can only be called by the organization
* management account.
*
*
* @param enableOrganizationAdminAccountRequest
* @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 EnableOrganizationAdminAccount operation returned by the
* service.
* @sample AWSSecurityHubAsyncHandler.EnableOrganizationAdminAccount
* @see AWS API Documentation
*/
java.util.concurrent.Future enableOrganizationAdminAccountAsync(
EnableOrganizationAdminAccountRequest enableOrganizationAdminAccountRequest,
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 other
* services that are integrated with Security Hub.
*
*
* When you use the EnableSecurityHub
operation to enable Security Hub, you also automatically enable
* the following standards.
*
*
* -
*
* CIS AWS Foundations
*
*
* -
*
* AWS Foundational Security Best Practices
*
*
*
*
* You do not enable the Payment Card Industry Data Security Standard (PCI DSS) standard.
*
*
* To not enable the automatically enabled standards, set EnableDefaultStandards
to false
.
*
*
* After you enable Security Hub, to enable a standard, use the BatchEnableStandards
* operation. To disable a standard, use the BatchDisableStandards
operation.
*
*
* To learn more, see Setting Up AWS
* Security Hub in the AWS Security Hub User Guide.
*
*
* @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 other
* services that are integrated with Security Hub.
*
*
* When you use the EnableSecurityHub
operation to enable Security Hub, you also automatically enable
* the following standards.
*
*
* -
*
* CIS AWS Foundations
*
*
* -
*
* AWS Foundational Security Best Practices
*
*
*
*
* You do not enable the Payment Card Industry Data Security Standard (PCI DSS) standard.
*
*
* To not enable the automatically enabled standards, set EnableDefaultStandards
to false
.
*
*
* After you enable Security Hub, to enable a standard, use the BatchEnableStandards
* operation. To disable a standard, use the BatchDisableStandards
operation.
*
*
* To learn more, see Setting Up AWS
* Security Hub in the AWS Security Hub User Guide.
*
*
* @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 specified by the insight ARN.
*
*
* @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 specified by the insight ARN.
*
*
* @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 for the specified insight ARNs.
*
*
* @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 for the specified insight ARNs.
*
*
* @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 for the current member account.
*
*
* Can be used by both member accounts that are in an organization and accounts that were invited manually.
*
*
* @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 for the current member account.
*
*
* Can be used by both member accounts that are in an organization and accounts that were invited manually.
*
*
* @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 for the Security Hub member accounts for the specified account IDs.
*
*
* A master account can be either a delegated Security Hub administrator account for an organization or a master
* account that enabled Security Hub manually.
*
*
* The results include both member accounts that are in an organization and accounts that were invited manually.
*
*
* @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 for the Security Hub member accounts for the specified account IDs.
*
*
* A master account can be either a delegated Security Hub administrator account for an organization or a master
* account that enabled Security Hub manually.
*
*
* The results include both member accounts that are in an organization and accounts that were invited manually.
*
*
* @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.
*
*
* This operation is only used to invite accounts that do not belong to an organization. Organization accounts do
* not receive invitations.
*
*
* Before you can use this action to invite a member, you must first use the CreateMembers
* action to create the member account in Security Hub.
*
*
* When the account owner enables Security Hub and accepts the invitation to become a member account, the master
* account can view the findings generated from the 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.
*
*
* This operation is only used to invite accounts that do not belong to an organization. Organization accounts do
* not receive invitations.
*
*
* Before you can use this action to invite a member, you must first use the CreateMembers
* action to create the member account in Security Hub.
*
*
* When the account owner enables Security Hub and accepts the invitation to become a member account, the master
* account can view the findings generated from the 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) that you are subscribed to receive findings from 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) that you are subscribed to receive findings from 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.
*
*
* This operation is only used by accounts that do not belong to an organization. Organization accounts do not
* receive invitations.
*
*
* @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.
*
*
* This operation is only used by accounts that do not belong to an organization. Organization accounts do not
* receive invitations.
*
*
* @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.
*
*
* The results include both member accounts that belong to an organization and member accounts that were invited
* manually.
*
*
* @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.
*
*
* The results include both member accounts that belong to an organization and member accounts that were invited
* manually.
*
*
* @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);
/**
*
* Lists the Security Hub administrator accounts. Can only be called by the organization management account.
*
*
* @param listOrganizationAdminAccountsRequest
* @return A Java Future containing the result of the ListOrganizationAdminAccounts operation returned by the
* service.
* @sample AWSSecurityHubAsync.ListOrganizationAdminAccounts
* @see AWS API Documentation
*/
java.util.concurrent.Future listOrganizationAdminAccountsAsync(
ListOrganizationAdminAccountsRequest listOrganizationAdminAccountsRequest);
/**
*
* Lists the Security Hub administrator accounts. Can only be called by the organization management account.
*
*
* @param listOrganizationAdminAccountsRequest
* @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 ListOrganizationAdminAccounts operation returned by the
* service.
* @sample AWSSecurityHubAsyncHandler.ListOrganizationAdminAccounts
* @see AWS API Documentation
*/
java.util.concurrent.Future listOrganizationAdminAccountsAsync(
ListOrganizationAdminAccountsRequest listOrganizationAdminAccountsRequest,
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);
/**
*
* UpdateFindings
is deprecated. Instead of UpdateFindings
, use
* BatchUpdateFindings
.
*
*
* 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);
/**
*
* UpdateFindings
is deprecated. Instead of UpdateFindings
, use
* BatchUpdateFindings
.
*
*
* 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 identified by the specified insight ARN.
*
*
* @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 identified by the specified insight ARN.
*
*
* @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);
/**
*
* Used to update the configuration related to Organizations. Can only be called from a Security Hub administrator
* account.
*
*
* @param updateOrganizationConfigurationRequest
* @return A Java Future containing the result of the UpdateOrganizationConfiguration operation returned by the
* service.
* @sample AWSSecurityHubAsync.UpdateOrganizationConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future updateOrganizationConfigurationAsync(
UpdateOrganizationConfigurationRequest updateOrganizationConfigurationRequest);
/**
*
* Used to update the configuration related to Organizations. Can only be called from a Security Hub administrator
* account.
*
*
* @param updateOrganizationConfigurationRequest
* @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 UpdateOrganizationConfiguration operation returned by the
* service.
* @sample AWSSecurityHubAsyncHandler.UpdateOrganizationConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future updateOrganizationConfigurationAsync(
UpdateOrganizationConfigurationRequest updateOrganizationConfigurationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Updates configuration options for Security Hub.
*
*
* @param updateSecurityHubConfigurationRequest
* @return A Java Future containing the result of the UpdateSecurityHubConfiguration operation returned by the
* service.
* @sample AWSSecurityHubAsync.UpdateSecurityHubConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future updateSecurityHubConfigurationAsync(
UpdateSecurityHubConfigurationRequest updateSecurityHubConfigurationRequest);
/**
*
* Updates configuration options for Security Hub.
*
*
* @param updateSecurityHubConfigurationRequest
* @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 UpdateSecurityHubConfiguration operation returned by the
* service.
* @sample AWSSecurityHubAsyncHandler.UpdateSecurityHubConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future updateSecurityHubConfigurationAsync(
UpdateSecurityHubConfigurationRequest updateSecurityHubConfigurationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Used to control whether an individual security standard control is enabled or disabled.
*
*
* @param updateStandardsControlRequest
* @return A Java Future containing the result of the UpdateStandardsControl operation returned by the service.
* @sample AWSSecurityHubAsync.UpdateStandardsControl
* @see AWS API Documentation
*/
java.util.concurrent.Future updateStandardsControlAsync(UpdateStandardsControlRequest updateStandardsControlRequest);
/**
*
* Used to control whether an individual security standard control is enabled or disabled.
*
*
* @param updateStandardsControlRequest
* @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 UpdateStandardsControl operation returned by the service.
* @sample AWSSecurityHubAsyncHandler.UpdateStandardsControl
* @see AWS API Documentation
*/
java.util.concurrent.Future updateStandardsControlAsync(UpdateStandardsControlRequest updateStandardsControlRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
}