@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSAccountAsyncClient extends AWSAccountClient implements AWSAccountAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
Operations for Amazon Web Services Account Management
configFactoryclient, clientConfiguration, endpoint, isEndpointOverridden, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffsetENDPOINT_PREFIXbuilder, deleteAlternateContact, disableRegion, enableRegion, getAlternateContact, getCachedResponseMetadata, getContactInformation, getRegionOptStatus, listRegions, putAlternateContact, putContactInformationaddRequestHandler, 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, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeleteAlternateContact, disableRegion, enableRegion, getAlternateContact, getCachedResponseMetadata, getContactInformation, getRegionOptStatus, listRegions, putAlternateContact, putContactInformationpublic static AWSAccountAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<DeleteAlternateContactResult> deleteAlternateContactAsync(DeleteAlternateContactRequest request)
AWSAccountAsyncDeletes the specified alternate contact from an Amazon Web Services account.
For complete details about how to use the alternate contact operations, see Access or updating the alternate contacts.
Before you can update the alternate contact information for an Amazon Web Services account that is managed by Organizations, you must first enable integration between Amazon Web Services Account Management and Organizations. For more information, see Enabling trusted access for Amazon Web Services Account Management.
deleteAlternateContactAsync in interface AWSAccountAsyncpublic Future<DeleteAlternateContactResult> deleteAlternateContactAsync(DeleteAlternateContactRequest request, AsyncHandler<DeleteAlternateContactRequest,DeleteAlternateContactResult> asyncHandler)
AWSAccountAsyncDeletes the specified alternate contact from an Amazon Web Services account.
For complete details about how to use the alternate contact operations, see Access or updating the alternate contacts.
Before you can update the alternate contact information for an Amazon Web Services account that is managed by Organizations, you must first enable integration between Amazon Web Services Account Management and Organizations. For more information, see Enabling trusted access for Amazon Web Services Account Management.
deleteAlternateContactAsync in interface AWSAccountAsyncasyncHandler - 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<DisableRegionResult> disableRegionAsync(DisableRegionRequest request)
AWSAccountAsyncDisables (opts-out) a particular Region for an account.
disableRegionAsync in interface AWSAccountAsyncpublic Future<DisableRegionResult> disableRegionAsync(DisableRegionRequest request, AsyncHandler<DisableRegionRequest,DisableRegionResult> asyncHandler)
AWSAccountAsyncDisables (opts-out) a particular Region for an account.
disableRegionAsync in interface AWSAccountAsyncasyncHandler - 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<EnableRegionResult> enableRegionAsync(EnableRegionRequest request)
AWSAccountAsyncEnables (opts-in) a particular Region for an account.
enableRegionAsync in interface AWSAccountAsyncpublic Future<EnableRegionResult> enableRegionAsync(EnableRegionRequest request, AsyncHandler<EnableRegionRequest,EnableRegionResult> asyncHandler)
AWSAccountAsyncEnables (opts-in) a particular Region for an account.
enableRegionAsync in interface AWSAccountAsyncasyncHandler - 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<GetAlternateContactResult> getAlternateContactAsync(GetAlternateContactRequest request)
AWSAccountAsyncRetrieves the specified alternate contact attached to an Amazon Web Services account.
For complete details about how to use the alternate contact operations, see Access or updating the alternate contacts.
Before you can update the alternate contact information for an Amazon Web Services account that is managed by Organizations, you must first enable integration between Amazon Web Services Account Management and Organizations. For more information, see Enabling trusted access for Amazon Web Services Account Management.
getAlternateContactAsync in interface AWSAccountAsyncpublic Future<GetAlternateContactResult> getAlternateContactAsync(GetAlternateContactRequest request, AsyncHandler<GetAlternateContactRequest,GetAlternateContactResult> asyncHandler)
AWSAccountAsyncRetrieves the specified alternate contact attached to an Amazon Web Services account.
For complete details about how to use the alternate contact operations, see Access or updating the alternate contacts.
Before you can update the alternate contact information for an Amazon Web Services account that is managed by Organizations, you must first enable integration between Amazon Web Services Account Management and Organizations. For more information, see Enabling trusted access for Amazon Web Services Account Management.
getAlternateContactAsync in interface AWSAccountAsyncasyncHandler - 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<GetContactInformationResult> getContactInformationAsync(GetContactInformationRequest request)
AWSAccountAsyncRetrieves the primary contact information of an Amazon Web Services account.
For complete details about how to use the primary contact operations, see Update the primary and alternate contact information.
getContactInformationAsync in interface AWSAccountAsyncpublic Future<GetContactInformationResult> getContactInformationAsync(GetContactInformationRequest request, AsyncHandler<GetContactInformationRequest,GetContactInformationResult> asyncHandler)
AWSAccountAsyncRetrieves the primary contact information of an Amazon Web Services account.
For complete details about how to use the primary contact operations, see Update the primary and alternate contact information.
getContactInformationAsync in interface AWSAccountAsyncasyncHandler - 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<GetRegionOptStatusResult> getRegionOptStatusAsync(GetRegionOptStatusRequest request)
AWSAccountAsyncRetrieves the opt-in status of a particular Region.
getRegionOptStatusAsync in interface AWSAccountAsyncpublic Future<GetRegionOptStatusResult> getRegionOptStatusAsync(GetRegionOptStatusRequest request, AsyncHandler<GetRegionOptStatusRequest,GetRegionOptStatusResult> asyncHandler)
AWSAccountAsyncRetrieves the opt-in status of a particular Region.
getRegionOptStatusAsync in interface AWSAccountAsyncasyncHandler - 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<ListRegionsResult> listRegionsAsync(ListRegionsRequest request)
AWSAccountAsync
Lists all the Regions for a given account and their respective opt-in statuses. Optionally, this list can be
filtered by the region-opt-status-contains parameter.
listRegionsAsync in interface AWSAccountAsyncpublic Future<ListRegionsResult> listRegionsAsync(ListRegionsRequest request, AsyncHandler<ListRegionsRequest,ListRegionsResult> asyncHandler)
AWSAccountAsync
Lists all the Regions for a given account and their respective opt-in statuses. Optionally, this list can be
filtered by the region-opt-status-contains parameter.
listRegionsAsync in interface AWSAccountAsyncasyncHandler - 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<PutAlternateContactResult> putAlternateContactAsync(PutAlternateContactRequest request)
AWSAccountAsyncModifies the specified alternate contact attached to an Amazon Web Services account.
For complete details about how to use the alternate contact operations, see Access or updating the alternate contacts.
Before you can update the alternate contact information for an Amazon Web Services account that is managed by Organizations, you must first enable integration between Amazon Web Services Account Management and Organizations. For more information, see Enabling trusted access for Amazon Web Services Account Management.
putAlternateContactAsync in interface AWSAccountAsyncpublic Future<PutAlternateContactResult> putAlternateContactAsync(PutAlternateContactRequest request, AsyncHandler<PutAlternateContactRequest,PutAlternateContactResult> asyncHandler)
AWSAccountAsyncModifies the specified alternate contact attached to an Amazon Web Services account.
For complete details about how to use the alternate contact operations, see Access or updating the alternate contacts.
Before you can update the alternate contact information for an Amazon Web Services account that is managed by Organizations, you must first enable integration between Amazon Web Services Account Management and Organizations. For more information, see Enabling trusted access for Amazon Web Services Account Management.
putAlternateContactAsync in interface AWSAccountAsyncasyncHandler - 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<PutContactInformationResult> putContactInformationAsync(PutContactInformationRequest request)
AWSAccountAsyncUpdates the primary contact information of an Amazon Web Services account.
For complete details about how to use the primary contact operations, see Update the primary and alternate contact information.
putContactInformationAsync in interface AWSAccountAsyncpublic Future<PutContactInformationResult> putContactInformationAsync(PutContactInformationRequest request, AsyncHandler<PutContactInformationRequest,PutContactInformationResult> asyncHandler)
AWSAccountAsyncUpdates the primary contact information of an Amazon Web Services account.
For complete details about how to use the primary contact operations, see Update the primary and alternate contact information.
putContactInformationAsync in interface AWSAccountAsyncasyncHandler - 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 AWSAccountshutdown in class AWSAccountClientCopyright © 2023. All rights reserved.