@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, getAlternateContact, getCachedResponseMetadata, getContactInformation, 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, getAlternateContact, getCachedResponseMetadata, getContactInformation, 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<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<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 © 2022. All rights reserved.