com.amazonaws.services.macie.AmazonMacieAsync 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.macie;
import javax.annotation.Generated;
import com.amazonaws.services.macie.model.*;
/**
* Interface for accessing Amazon Macie 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.macie.AbstractAmazonMacieAsync} instead.
*
*
* Amazon Macie
*
* Amazon Macie is a security service that uses machine learning to automatically discover, classify, and protect
* sensitive data in AWS. Macie recognizes sensitive data such as personally identifiable information (PII) or
* intellectual property, and provides you with dashboards and alerts that give visibility into how this data is being
* accessed or moved. For more information, see the Macie User Guide.
*
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public interface AmazonMacieAsync extends AmazonMacie {
/**
*
* Associates a specified AWS account with Amazon Macie as a member account.
*
*
* @param associateMemberAccountRequest
* @return A Java Future containing the result of the AssociateMemberAccount operation returned by the service.
* @sample AmazonMacieAsync.AssociateMemberAccount
* @see AWS
* API Documentation
*/
java.util.concurrent.Future associateMemberAccountAsync(AssociateMemberAccountRequest associateMemberAccountRequest);
/**
*
* Associates a specified AWS account with Amazon Macie as a member account.
*
*
* @param associateMemberAccountRequest
* @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 AssociateMemberAccount operation returned by the service.
* @sample AmazonMacieAsyncHandler.AssociateMemberAccount
* @see AWS
* API Documentation
*/
java.util.concurrent.Future associateMemberAccountAsync(AssociateMemberAccountRequest associateMemberAccountRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Associates specified S3 resources with Amazon Macie for monitoring and data classification. If memberAccountId
* isn't specified, the action associates specified S3 resources with Macie for the current master account. If
* memberAccountId is specified, the action associates specified S3 resources with Macie for the specified member
* account.
*
*
* @param associateS3ResourcesRequest
* @return A Java Future containing the result of the AssociateS3Resources operation returned by the service.
* @sample AmazonMacieAsync.AssociateS3Resources
* @see AWS API
* Documentation
*/
java.util.concurrent.Future associateS3ResourcesAsync(AssociateS3ResourcesRequest associateS3ResourcesRequest);
/**
*
* Associates specified S3 resources with Amazon Macie for monitoring and data classification. If memberAccountId
* isn't specified, the action associates specified S3 resources with Macie for the current master account. If
* memberAccountId is specified, the action associates specified S3 resources with Macie for the specified member
* account.
*
*
* @param associateS3ResourcesRequest
* @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 AssociateS3Resources operation returned by the service.
* @sample AmazonMacieAsyncHandler.AssociateS3Resources
* @see AWS API
* Documentation
*/
java.util.concurrent.Future associateS3ResourcesAsync(AssociateS3ResourcesRequest associateS3ResourcesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Removes the specified member account from Amazon Macie.
*
*
* @param disassociateMemberAccountRequest
* @return A Java Future containing the result of the DisassociateMemberAccount operation returned by the service.
* @sample AmazonMacieAsync.DisassociateMemberAccount
* @see AWS API Documentation
*/
java.util.concurrent.Future disassociateMemberAccountAsync(
DisassociateMemberAccountRequest disassociateMemberAccountRequest);
/**
*
* Removes the specified member account from Amazon Macie.
*
*
* @param disassociateMemberAccountRequest
* @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 DisassociateMemberAccount operation returned by the service.
* @sample AmazonMacieAsyncHandler.DisassociateMemberAccount
* @see AWS API Documentation
*/
java.util.concurrent.Future disassociateMemberAccountAsync(
DisassociateMemberAccountRequest disassociateMemberAccountRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Removes specified S3 resources from being monitored by Amazon Macie. If memberAccountId isn't specified, the
* action removes specified S3 resources from Macie for the current master account. If memberAccountId is specified,
* the action removes specified S3 resources from Macie for the specified member account.
*
*
* @param disassociateS3ResourcesRequest
* @return A Java Future containing the result of the DisassociateS3Resources operation returned by the service.
* @sample AmazonMacieAsync.DisassociateS3Resources
* @see AWS
* API Documentation
*/
java.util.concurrent.Future disassociateS3ResourcesAsync(DisassociateS3ResourcesRequest disassociateS3ResourcesRequest);
/**
*
* Removes specified S3 resources from being monitored by Amazon Macie. If memberAccountId isn't specified, the
* action removes specified S3 resources from Macie for the current master account. If memberAccountId is specified,
* the action removes specified S3 resources from Macie for the specified member account.
*
*
* @param disassociateS3ResourcesRequest
* @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 DisassociateS3Resources operation returned by the service.
* @sample AmazonMacieAsyncHandler.DisassociateS3Resources
* @see AWS
* API Documentation
*/
java.util.concurrent.Future disassociateS3ResourcesAsync(DisassociateS3ResourcesRequest disassociateS3ResourcesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists all Amazon Macie member accounts for the current Amazon Macie master account.
*
*
* @param listMemberAccountsRequest
* @return A Java Future containing the result of the ListMemberAccounts operation returned by the service.
* @sample AmazonMacieAsync.ListMemberAccounts
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listMemberAccountsAsync(ListMemberAccountsRequest listMemberAccountsRequest);
/**
*
* Lists all Amazon Macie member accounts for the current Amazon Macie master account.
*
*
* @param listMemberAccountsRequest
* @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 ListMemberAccounts operation returned by the service.
* @sample AmazonMacieAsyncHandler.ListMemberAccounts
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listMemberAccountsAsync(ListMemberAccountsRequest listMemberAccountsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists all the S3 resources associated with Amazon Macie. If memberAccountId isn't specified, the action lists the
* S3 resources associated with Amazon Macie for the current master account. If memberAccountId is specified, the
* action lists the S3 resources associated with Amazon Macie for the specified member account.
*
*
* @param listS3ResourcesRequest
* @return A Java Future containing the result of the ListS3Resources operation returned by the service.
* @sample AmazonMacieAsync.ListS3Resources
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listS3ResourcesAsync(ListS3ResourcesRequest listS3ResourcesRequest);
/**
*
* Lists all the S3 resources associated with Amazon Macie. If memberAccountId isn't specified, the action lists the
* S3 resources associated with Amazon Macie for the current master account. If memberAccountId is specified, the
* action lists the S3 resources associated with Amazon Macie for the specified member account.
*
*
* @param listS3ResourcesRequest
* @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 ListS3Resources operation returned by the service.
* @sample AmazonMacieAsyncHandler.ListS3Resources
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listS3ResourcesAsync(ListS3ResourcesRequest listS3ResourcesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Updates the classification types for the specified S3 resources. If memberAccountId isn't specified, the action
* updates the classification types of the S3 resources associated with Amazon Macie for the current master account.
* If memberAccountId is specified, the action updates the classification types of the S3 resources associated with
* Amazon Macie for the specified member account.
*
*
* @param updateS3ResourcesRequest
* @return A Java Future containing the result of the UpdateS3Resources operation returned by the service.
* @sample AmazonMacieAsync.UpdateS3Resources
* @see AWS API
* Documentation
*/
java.util.concurrent.Future updateS3ResourcesAsync(UpdateS3ResourcesRequest updateS3ResourcesRequest);
/**
*
* Updates the classification types for the specified S3 resources. If memberAccountId isn't specified, the action
* updates the classification types of the S3 resources associated with Amazon Macie for the current master account.
* If memberAccountId is specified, the action updates the classification types of the S3 resources associated with
* Amazon Macie for the specified member account.
*
*
* @param updateS3ResourcesRequest
* @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 UpdateS3Resources operation returned by the service.
* @sample AmazonMacieAsyncHandler.UpdateS3Resources
* @see AWS API
* Documentation
*/
java.util.concurrent.Future updateS3ResourcesAsync(UpdateS3ResourcesRequest updateS3ResourcesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
}