@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSAccountAsync extends AWSAccount
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
AbstractAWSAccountAsync
instead.
Operations for Amazon Web Services Account Management
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
Future<AcceptPrimaryEmailUpdateResult> |
acceptPrimaryEmailUpdateAsync(AcceptPrimaryEmailUpdateRequest acceptPrimaryEmailUpdateRequest)
Accepts the request that originated from StartPrimaryEmailUpdate to update the primary email address (also
known as the root user email address) for the specified account.
|
Future<AcceptPrimaryEmailUpdateResult> |
acceptPrimaryEmailUpdateAsync(AcceptPrimaryEmailUpdateRequest acceptPrimaryEmailUpdateRequest,
AsyncHandler<AcceptPrimaryEmailUpdateRequest,AcceptPrimaryEmailUpdateResult> asyncHandler)
Accepts the request that originated from StartPrimaryEmailUpdate to update the primary email address (also
known as the root user email address) for the specified account.
|
Future<DeleteAlternateContactResult> |
deleteAlternateContactAsync(DeleteAlternateContactRequest deleteAlternateContactRequest)
Deletes the specified alternate contact from an Amazon Web Services account.
|
Future<DeleteAlternateContactResult> |
deleteAlternateContactAsync(DeleteAlternateContactRequest deleteAlternateContactRequest,
AsyncHandler<DeleteAlternateContactRequest,DeleteAlternateContactResult> asyncHandler)
Deletes the specified alternate contact from an Amazon Web Services account.
|
Future<DisableRegionResult> |
disableRegionAsync(DisableRegionRequest disableRegionRequest)
Disables (opts-out) a particular Region for an account.
|
Future<DisableRegionResult> |
disableRegionAsync(DisableRegionRequest disableRegionRequest,
AsyncHandler<DisableRegionRequest,DisableRegionResult> asyncHandler)
Disables (opts-out) a particular Region for an account.
|
Future<EnableRegionResult> |
enableRegionAsync(EnableRegionRequest enableRegionRequest)
Enables (opts-in) a particular Region for an account.
|
Future<EnableRegionResult> |
enableRegionAsync(EnableRegionRequest enableRegionRequest,
AsyncHandler<EnableRegionRequest,EnableRegionResult> asyncHandler)
Enables (opts-in) a particular Region for an account.
|
Future<GetAlternateContactResult> |
getAlternateContactAsync(GetAlternateContactRequest getAlternateContactRequest)
Retrieves the specified alternate contact attached to an Amazon Web Services account.
|
Future<GetAlternateContactResult> |
getAlternateContactAsync(GetAlternateContactRequest getAlternateContactRequest,
AsyncHandler<GetAlternateContactRequest,GetAlternateContactResult> asyncHandler)
Retrieves the specified alternate contact attached to an Amazon Web Services account.
|
Future<GetContactInformationResult> |
getContactInformationAsync(GetContactInformationRequest getContactInformationRequest)
Retrieves the primary contact information of an Amazon Web Services account.
|
Future<GetContactInformationResult> |
getContactInformationAsync(GetContactInformationRequest getContactInformationRequest,
AsyncHandler<GetContactInformationRequest,GetContactInformationResult> asyncHandler)
Retrieves the primary contact information of an Amazon Web Services account.
|
Future<GetPrimaryEmailResult> |
getPrimaryEmailAsync(GetPrimaryEmailRequest getPrimaryEmailRequest)
Retrieves the primary email address for the specified account.
|
Future<GetPrimaryEmailResult> |
getPrimaryEmailAsync(GetPrimaryEmailRequest getPrimaryEmailRequest,
AsyncHandler<GetPrimaryEmailRequest,GetPrimaryEmailResult> asyncHandler)
Retrieves the primary email address for the specified account.
|
Future<GetRegionOptStatusResult> |
getRegionOptStatusAsync(GetRegionOptStatusRequest getRegionOptStatusRequest)
Retrieves the opt-in status of a particular Region.
|
Future<GetRegionOptStatusResult> |
getRegionOptStatusAsync(GetRegionOptStatusRequest getRegionOptStatusRequest,
AsyncHandler<GetRegionOptStatusRequest,GetRegionOptStatusResult> asyncHandler)
Retrieves the opt-in status of a particular Region.
|
Future<ListRegionsResult> |
listRegionsAsync(ListRegionsRequest listRegionsRequest)
Lists all the Regions for a given account and their respective opt-in statuses.
|
Future<ListRegionsResult> |
listRegionsAsync(ListRegionsRequest listRegionsRequest,
AsyncHandler<ListRegionsRequest,ListRegionsResult> asyncHandler)
Lists all the Regions for a given account and their respective opt-in statuses.
|
Future<PutAlternateContactResult> |
putAlternateContactAsync(PutAlternateContactRequest putAlternateContactRequest)
Modifies the specified alternate contact attached to an Amazon Web Services account.
|
Future<PutAlternateContactResult> |
putAlternateContactAsync(PutAlternateContactRequest putAlternateContactRequest,
AsyncHandler<PutAlternateContactRequest,PutAlternateContactResult> asyncHandler)
Modifies the specified alternate contact attached to an Amazon Web Services account.
|
Future<PutContactInformationResult> |
putContactInformationAsync(PutContactInformationRequest putContactInformationRequest)
Updates the primary contact information of an Amazon Web Services account.
|
Future<PutContactInformationResult> |
putContactInformationAsync(PutContactInformationRequest putContactInformationRequest,
AsyncHandler<PutContactInformationRequest,PutContactInformationResult> asyncHandler)
Updates the primary contact information of an Amazon Web Services account.
|
Future<StartPrimaryEmailUpdateResult> |
startPrimaryEmailUpdateAsync(StartPrimaryEmailUpdateRequest startPrimaryEmailUpdateRequest)
Starts the process to update the primary email address for the specified account.
|
Future<StartPrimaryEmailUpdateResult> |
startPrimaryEmailUpdateAsync(StartPrimaryEmailUpdateRequest startPrimaryEmailUpdateRequest,
AsyncHandler<StartPrimaryEmailUpdateRequest,StartPrimaryEmailUpdateResult> asyncHandler)
Starts the process to update the primary email address for the specified account.
|
acceptPrimaryEmailUpdate, deleteAlternateContact, disableRegion, enableRegion, getAlternateContact, getCachedResponseMetadata, getContactInformation, getPrimaryEmail, getRegionOptStatus, listRegions, putAlternateContact, putContactInformation, shutdown, startPrimaryEmailUpdate
Future<AcceptPrimaryEmailUpdateResult> acceptPrimaryEmailUpdateAsync(AcceptPrimaryEmailUpdateRequest acceptPrimaryEmailUpdateRequest)
Accepts the request that originated from StartPrimaryEmailUpdate to update the primary email address (also known as the root user email address) for the specified account.
acceptPrimaryEmailUpdateRequest
- Future<AcceptPrimaryEmailUpdateResult> acceptPrimaryEmailUpdateAsync(AcceptPrimaryEmailUpdateRequest acceptPrimaryEmailUpdateRequest, AsyncHandler<AcceptPrimaryEmailUpdateRequest,AcceptPrimaryEmailUpdateResult> asyncHandler)
Accepts the request that originated from StartPrimaryEmailUpdate to update the primary email address (also known as the root user email address) for the specified account.
acceptPrimaryEmailUpdateRequest
- 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.Future<DeleteAlternateContactResult> deleteAlternateContactAsync(DeleteAlternateContactRequest deleteAlternateContactRequest)
Deletes 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.
deleteAlternateContactRequest
- Future<DeleteAlternateContactResult> deleteAlternateContactAsync(DeleteAlternateContactRequest deleteAlternateContactRequest, AsyncHandler<DeleteAlternateContactRequest,DeleteAlternateContactResult> asyncHandler)
Deletes 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.
deleteAlternateContactRequest
- 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.Future<DisableRegionResult> disableRegionAsync(DisableRegionRequest disableRegionRequest)
Disables (opts-out) a particular Region for an account.
The act of disabling a Region will remove all IAM access to any resources that reside in that Region.
disableRegionRequest
- Future<DisableRegionResult> disableRegionAsync(DisableRegionRequest disableRegionRequest, AsyncHandler<DisableRegionRequest,DisableRegionResult> asyncHandler)
Disables (opts-out) a particular Region for an account.
The act of disabling a Region will remove all IAM access to any resources that reside in that Region.
disableRegionRequest
- 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.Future<EnableRegionResult> enableRegionAsync(EnableRegionRequest enableRegionRequest)
Enables (opts-in) a particular Region for an account.
enableRegionRequest
- Future<EnableRegionResult> enableRegionAsync(EnableRegionRequest enableRegionRequest, AsyncHandler<EnableRegionRequest,EnableRegionResult> asyncHandler)
Enables (opts-in) a particular Region for an account.
enableRegionRequest
- 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.Future<GetAlternateContactResult> getAlternateContactAsync(GetAlternateContactRequest getAlternateContactRequest)
Retrieves 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.
getAlternateContactRequest
- Future<GetAlternateContactResult> getAlternateContactAsync(GetAlternateContactRequest getAlternateContactRequest, AsyncHandler<GetAlternateContactRequest,GetAlternateContactResult> asyncHandler)
Retrieves 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.
getAlternateContactRequest
- 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.Future<GetContactInformationResult> getContactInformationAsync(GetContactInformationRequest getContactInformationRequest)
Retrieves 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.
getContactInformationRequest
- Future<GetContactInformationResult> getContactInformationAsync(GetContactInformationRequest getContactInformationRequest, AsyncHandler<GetContactInformationRequest,GetContactInformationResult> asyncHandler)
Retrieves 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.
getContactInformationRequest
- 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.Future<GetPrimaryEmailResult> getPrimaryEmailAsync(GetPrimaryEmailRequest getPrimaryEmailRequest)
Retrieves the primary email address for the specified account.
getPrimaryEmailRequest
- Future<GetPrimaryEmailResult> getPrimaryEmailAsync(GetPrimaryEmailRequest getPrimaryEmailRequest, AsyncHandler<GetPrimaryEmailRequest,GetPrimaryEmailResult> asyncHandler)
Retrieves the primary email address for the specified account.
getPrimaryEmailRequest
- 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.Future<GetRegionOptStatusResult> getRegionOptStatusAsync(GetRegionOptStatusRequest getRegionOptStatusRequest)
Retrieves the opt-in status of a particular Region.
getRegionOptStatusRequest
- Future<GetRegionOptStatusResult> getRegionOptStatusAsync(GetRegionOptStatusRequest getRegionOptStatusRequest, AsyncHandler<GetRegionOptStatusRequest,GetRegionOptStatusResult> asyncHandler)
Retrieves the opt-in status of a particular Region.
getRegionOptStatusRequest
- 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.Future<ListRegionsResult> listRegionsAsync(ListRegionsRequest listRegionsRequest)
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.
listRegionsRequest
- Future<ListRegionsResult> listRegionsAsync(ListRegionsRequest listRegionsRequest, AsyncHandler<ListRegionsRequest,ListRegionsResult> asyncHandler)
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.
listRegionsRequest
- 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.Future<PutAlternateContactResult> putAlternateContactAsync(PutAlternateContactRequest putAlternateContactRequest)
Modifies 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.
putAlternateContactRequest
- Future<PutAlternateContactResult> putAlternateContactAsync(PutAlternateContactRequest putAlternateContactRequest, AsyncHandler<PutAlternateContactRequest,PutAlternateContactResult> asyncHandler)
Modifies 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.
putAlternateContactRequest
- 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.Future<PutContactInformationResult> putContactInformationAsync(PutContactInformationRequest putContactInformationRequest)
Updates 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.
putContactInformationRequest
- Future<PutContactInformationResult> putContactInformationAsync(PutContactInformationRequest putContactInformationRequest, AsyncHandler<PutContactInformationRequest,PutContactInformationResult> asyncHandler)
Updates 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.
putContactInformationRequest
- 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.Future<StartPrimaryEmailUpdateResult> startPrimaryEmailUpdateAsync(StartPrimaryEmailUpdateRequest startPrimaryEmailUpdateRequest)
Starts the process to update the primary email address for the specified account.
startPrimaryEmailUpdateRequest
- Future<StartPrimaryEmailUpdateResult> startPrimaryEmailUpdateAsync(StartPrimaryEmailUpdateRequest startPrimaryEmailUpdateRequest, AsyncHandler<StartPrimaryEmailUpdateRequest,StartPrimaryEmailUpdateResult> asyncHandler)
Starts the process to update the primary email address for the specified account.
startPrimaryEmailUpdateRequest
- 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.