/* * 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.*; import com.amazonaws.regions.*; import com.amazonaws.services.macie.model.*; /** * Interface for accessing Amazon Macie. *
* Note: Do not directly implement this interface, new methods are added to it regularly. Extend from * {@link com.amazonaws.services.macie.AbstractAmazonMacie} instead. *
*
*
* 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 AmazonMacie { /** * The region metadata service name for computing region endpoints. You can use this value to retrieve metadata * (such as supported regions) of the service. * * @see RegionUtils#getRegionsForService(String) */ String ENDPOINT_PREFIX = "macie"; /** ** (Discontinued) Associates a specified Amazon Web Services account with Amazon Macie Classic as a member account. *
* * @param associateMemberAccountRequest * @return Result of the AssociateMemberAccount operation returned by the service. * @throws InvalidInputException * (Discontinued) The request was rejected because an invalid or out-of-range value was supplied for an * input parameter. * @throws LimitExceededException * (Discontinued) The request was rejected because it attempted to create resources beyond the current * Amazon Web Services account quotas. The error code describes the quota exceeded. * @throws InternalException * (Discontinued) Internal server error. * @sample AmazonMacie.AssociateMemberAccount * @see AWS * API Documentation */ AssociateMemberAccountResult associateMemberAccount(AssociateMemberAccountRequest associateMemberAccountRequest); /** *
* (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.
*
* (Discontinued) Removes the specified member account from Amazon Macie Classic. *
* * @param disassociateMemberAccountRequest * @return Result of the DisassociateMemberAccount operation returned by the service. * @throws InvalidInputException * (Discontinued) The request was rejected because an invalid or out-of-range value was supplied for an * input parameter. * @throws InternalException * (Discontinued) Internal server error. * @sample AmazonMacie.DisassociateMemberAccount * @see AWS API Documentation */ DisassociateMemberAccountResult disassociateMemberAccount(DisassociateMemberAccountRequest disassociateMemberAccountRequest); /** *
* (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.
*
* (Discontinued) Lists all Amazon Macie Classic member accounts for the current Macie Classic administrator * account. *
* * @param listMemberAccountsRequest * @return Result of the ListMemberAccounts operation returned by the service. * @throws InternalException * (Discontinued) Internal server error. * @throws InvalidInputException * (Discontinued) The request was rejected because an invalid or out-of-range value was supplied for an * input parameter. * @sample AmazonMacie.ListMemberAccounts * @see AWS API * Documentation */ ListMemberAccountsResult listMemberAccounts(ListMemberAccountsRequest listMemberAccountsRequest); /** *
* (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.
*
* (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.
*
* Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic * information for an executed request, you should use this method to retrieve it as soon as possible after * executing a request. * * @param request * The originally executed request. * * @return The response metadata for the specified request, or null if none is available. */ ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request); }