com.amazonaws.services.macie.AmazonMacieAsync Maven / Gradle / Ivy
/*
* Copyright 2018-2023 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 Classic
*
* Amazon Macie Classic has been discontinued and is no longer available.
*
*
* A new Amazon Macie is now available with significant design improvements and additional features, at a lower price
* and in most Amazon Web Services Regions. We encourage you to take advantage of the new and improved features, and
* benefit from the reduced cost. To learn about features and pricing for the new Macie, see Amazon Macie. To learn how to use the new Macie, see the Amazon Macie User Guide.
*
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public interface AmazonMacieAsync extends AmazonMacie {
/**
*
* (Discontinued) Associates a specified Amazon Web Services account with Amazon Macie Classic 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);
/**
*
* (Discontinued) Associates a specified Amazon Web Services account with Amazon Macie Classic 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);
/**
*
* (Discontinued) Associates specified S3 resources with Amazon Macie Classic for monitoring and data
* classification. If memberAccountId
isn't specified, the action associates specified S3 resources
* with Macie Classic for the current Macie Classic administrator account. If memberAccountId
is
* specified, the action associates specified S3 resources with Macie Classic 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);
/**
*
* (Discontinued) Associates specified S3 resources with Amazon Macie Classic for monitoring and data
* classification. If memberAccountId
isn't specified, the action associates specified S3 resources
* with Macie Classic for the current Macie Classic administrator account. If memberAccountId
is
* specified, the action associates specified S3 resources with Macie Classic 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);
/**
*
* (Discontinued) Removes the specified member account from Amazon Macie Classic.
*
*
* @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);
/**
*
* (Discontinued) Removes the specified member account from Amazon Macie Classic.
*
*
* @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);
/**
*
* (Discontinued) Removes specified S3 resources from being monitored by Amazon Macie Classic. If
* memberAccountId
isn't specified, the action removes specified S3 resources from Macie Classic for
* the current Macie Classic administrator account. If memberAccountId
is specified, the action removes
* specified S3 resources from Macie Classic 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);
/**
*
* (Discontinued) Removes specified S3 resources from being monitored by Amazon Macie Classic. If
* memberAccountId
isn't specified, the action removes specified S3 resources from Macie Classic for
* the current Macie Classic administrator account. If memberAccountId
is specified, the action removes
* specified S3 resources from Macie Classic 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);
/**
*
* (Discontinued) Lists all Amazon Macie Classic member accounts for the current Macie Classic administrator
* 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);
/**
*
* (Discontinued) Lists all Amazon Macie Classic member accounts for the current Macie Classic administrator
* 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);
/**
*
* (Discontinued) Lists all the S3 resources associated with Amazon Macie Classic. If memberAccountId
* isn't specified, the action lists the S3 resources associated with Macie Classic for the current Macie Classic
* administrator account. If memberAccountId
is specified, the action lists the S3 resources associated
* with Macie Classic 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);
/**
*
* (Discontinued) Lists all the S3 resources associated with Amazon Macie Classic. If memberAccountId
* isn't specified, the action lists the S3 resources associated with Macie Classic for the current Macie Classic
* administrator account. If memberAccountId
is specified, the action lists the S3 resources associated
* with Macie Classic 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);
/**
*
* (Discontinued) 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
* Classic for the current Macie Classic administrator account. If memberAccountId
is specified, the
* action updates the classification types of the S3 resources associated with Macie Classic 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);
/**
*
* (Discontinued) 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
* Classic for the current Macie Classic administrator account. If memberAccountId
is specified, the
* action updates the classification types of the S3 resources associated with Macie Classic 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);
}