@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonMacieAsyncClient extends AmazonMacieClient implements AmazonMacieAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
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.
configFactory
client, clientConfiguration, endpoint, isEndpointOverridden, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
Future<AssociateMemberAccountResult> |
associateMemberAccountAsync(AssociateMemberAccountRequest request)
(Discontinued) Associates a specified Amazon Web Services account with Amazon Macie Classic as a member account.
|
Future<AssociateMemberAccountResult> |
associateMemberAccountAsync(AssociateMemberAccountRequest request,
AsyncHandler<AssociateMemberAccountRequest,AssociateMemberAccountResult> asyncHandler)
(Discontinued) Associates a specified Amazon Web Services account with Amazon Macie Classic as a member account.
|
Future<AssociateS3ResourcesResult> |
associateS3ResourcesAsync(AssociateS3ResourcesRequest request)
(Discontinued) Associates specified S3 resources with Amazon Macie Classic for monitoring and data
classification.
|
Future<AssociateS3ResourcesResult> |
associateS3ResourcesAsync(AssociateS3ResourcesRequest request,
AsyncHandler<AssociateS3ResourcesRequest,AssociateS3ResourcesResult> asyncHandler)
(Discontinued) Associates specified S3 resources with Amazon Macie Classic for monitoring and data
classification.
|
static AmazonMacieAsyncClientBuilder |
asyncBuilder() |
Future<DisassociateMemberAccountResult> |
disassociateMemberAccountAsync(DisassociateMemberAccountRequest request)
(Discontinued) Removes the specified member account from Amazon Macie Classic.
|
Future<DisassociateMemberAccountResult> |
disassociateMemberAccountAsync(DisassociateMemberAccountRequest request,
AsyncHandler<DisassociateMemberAccountRequest,DisassociateMemberAccountResult> asyncHandler)
(Discontinued) Removes the specified member account from Amazon Macie Classic.
|
Future<DisassociateS3ResourcesResult> |
disassociateS3ResourcesAsync(DisassociateS3ResourcesRequest request)
(Discontinued) Removes specified S3 resources from being monitored by Amazon Macie Classic.
|
Future<DisassociateS3ResourcesResult> |
disassociateS3ResourcesAsync(DisassociateS3ResourcesRequest request,
AsyncHandler<DisassociateS3ResourcesRequest,DisassociateS3ResourcesResult> asyncHandler)
(Discontinued) Removes specified S3 resources from being monitored by Amazon Macie Classic.
|
ExecutorService |
getExecutorService()
Returns the executor service used by this client to execute async requests.
|
Future<ListMemberAccountsResult> |
listMemberAccountsAsync(ListMemberAccountsRequest request)
(Discontinued) Lists all Amazon Macie Classic member accounts for the current Macie Classic administrator
account.
|
Future<ListMemberAccountsResult> |
listMemberAccountsAsync(ListMemberAccountsRequest request,
AsyncHandler<ListMemberAccountsRequest,ListMemberAccountsResult> asyncHandler)
(Discontinued) Lists all Amazon Macie Classic member accounts for the current Macie Classic administrator
account.
|
Future<ListS3ResourcesResult> |
listS3ResourcesAsync(ListS3ResourcesRequest request)
(Discontinued) Lists all the S3 resources associated with Amazon Macie Classic.
|
Future<ListS3ResourcesResult> |
listS3ResourcesAsync(ListS3ResourcesRequest request,
AsyncHandler<ListS3ResourcesRequest,ListS3ResourcesResult> asyncHandler)
(Discontinued) Lists all the S3 resources associated with Amazon Macie Classic.
|
void |
shutdown()
Shuts down the client, releasing all managed resources.
|
Future<UpdateS3ResourcesResult> |
updateS3ResourcesAsync(UpdateS3ResourcesRequest request)
(Discontinued) Updates the classification types for the specified S3 resources.
|
Future<UpdateS3ResourcesResult> |
updateS3ResourcesAsync(UpdateS3ResourcesRequest request,
AsyncHandler<UpdateS3ResourcesRequest,UpdateS3ResourcesResult> asyncHandler)
(Discontinued) Updates the classification types for the specified S3 resources.
|
associateMemberAccount, associateS3Resources, builder, disassociateMemberAccount, disassociateS3Resources, getCachedResponseMetadata, listMemberAccounts, listS3Resources, updateS3Resources
addRequestHandler, addRequestHandler, beforeClientExecution, beforeMarshalling, calculateCRC32FromCompressedData, checkMutability, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, createSignerProvider, endClientExecution, endClientExecution, getClientConfiguration, getClientId, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerOverride, getSignerProvider, getSignerRegionOverride, getSigningRegion, getTimeOffset, isCsmEnabled, isEndpointOverridden, isProfilingEnabled, isRequestMetricsEnabled, makeImmutable, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shouldGenerateClientSideMonitoringEvents, useStrictHostNameVerification, withEndpoint, withRegion, withRegion, withTimeOffset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
associateMemberAccount, associateS3Resources, disassociateMemberAccount, disassociateS3Resources, getCachedResponseMetadata, listMemberAccounts, listS3Resources, updateS3Resources
public static AmazonMacieAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<AssociateMemberAccountResult> associateMemberAccountAsync(AssociateMemberAccountRequest request)
AmazonMacieAsync
(Discontinued) Associates a specified Amazon Web Services account with Amazon Macie Classic as a member account.
associateMemberAccountAsync
in interface AmazonMacieAsync
public Future<AssociateMemberAccountResult> associateMemberAccountAsync(AssociateMemberAccountRequest request, AsyncHandler<AssociateMemberAccountRequest,AssociateMemberAccountResult> asyncHandler)
AmazonMacieAsync
(Discontinued) Associates a specified Amazon Web Services account with Amazon Macie Classic as a member account.
associateMemberAccountAsync
in interface AmazonMacieAsync
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.public Future<AssociateS3ResourcesResult> associateS3ResourcesAsync(AssociateS3ResourcesRequest request)
AmazonMacieAsync
(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.
associateS3ResourcesAsync
in interface AmazonMacieAsync
public Future<AssociateS3ResourcesResult> associateS3ResourcesAsync(AssociateS3ResourcesRequest request, AsyncHandler<AssociateS3ResourcesRequest,AssociateS3ResourcesResult> asyncHandler)
AmazonMacieAsync
(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.
associateS3ResourcesAsync
in interface AmazonMacieAsync
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.public Future<DisassociateMemberAccountResult> disassociateMemberAccountAsync(DisassociateMemberAccountRequest request)
AmazonMacieAsync
(Discontinued) Removes the specified member account from Amazon Macie Classic.
disassociateMemberAccountAsync
in interface AmazonMacieAsync
public Future<DisassociateMemberAccountResult> disassociateMemberAccountAsync(DisassociateMemberAccountRequest request, AsyncHandler<DisassociateMemberAccountRequest,DisassociateMemberAccountResult> asyncHandler)
AmazonMacieAsync
(Discontinued) Removes the specified member account from Amazon Macie Classic.
disassociateMemberAccountAsync
in interface AmazonMacieAsync
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.public Future<DisassociateS3ResourcesResult> disassociateS3ResourcesAsync(DisassociateS3ResourcesRequest request)
AmazonMacieAsync
(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.
disassociateS3ResourcesAsync
in interface AmazonMacieAsync
public Future<DisassociateS3ResourcesResult> disassociateS3ResourcesAsync(DisassociateS3ResourcesRequest request, AsyncHandler<DisassociateS3ResourcesRequest,DisassociateS3ResourcesResult> asyncHandler)
AmazonMacieAsync
(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.
disassociateS3ResourcesAsync
in interface AmazonMacieAsync
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.public Future<ListMemberAccountsResult> listMemberAccountsAsync(ListMemberAccountsRequest request)
AmazonMacieAsync
(Discontinued) Lists all Amazon Macie Classic member accounts for the current Macie Classic administrator account.
listMemberAccountsAsync
in interface AmazonMacieAsync
public Future<ListMemberAccountsResult> listMemberAccountsAsync(ListMemberAccountsRequest request, AsyncHandler<ListMemberAccountsRequest,ListMemberAccountsResult> asyncHandler)
AmazonMacieAsync
(Discontinued) Lists all Amazon Macie Classic member accounts for the current Macie Classic administrator account.
listMemberAccountsAsync
in interface AmazonMacieAsync
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.public Future<ListS3ResourcesResult> listS3ResourcesAsync(ListS3ResourcesRequest request)
AmazonMacieAsync
(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.
listS3ResourcesAsync
in interface AmazonMacieAsync
public Future<ListS3ResourcesResult> listS3ResourcesAsync(ListS3ResourcesRequest request, AsyncHandler<ListS3ResourcesRequest,ListS3ResourcesResult> asyncHandler)
AmazonMacieAsync
(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.
listS3ResourcesAsync
in interface AmazonMacieAsync
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.public Future<UpdateS3ResourcesResult> updateS3ResourcesAsync(UpdateS3ResourcesRequest request)
AmazonMacieAsync
(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.
updateS3ResourcesAsync
in interface AmazonMacieAsync
public Future<UpdateS3ResourcesResult> updateS3ResourcesAsync(UpdateS3ResourcesRequest request, AsyncHandler<UpdateS3ResourcesRequest,UpdateS3ResourcesResult> asyncHandler)
AmazonMacieAsync
(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.
updateS3ResourcesAsync
in interface AmazonMacieAsync
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.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AmazonMacie
shutdown
in class AmazonMacieClient
Copyright © 2023. All rights reserved.