Class AbstractAWSDirectoryServiceAsync
- java.lang.Object
-
- com.amazonaws.services.directory.AbstractAWSDirectoryService
-
- com.amazonaws.services.directory.AbstractAWSDirectoryServiceAsync
-
- All Implemented Interfaces:
AWSDirectoryService
,AWSDirectoryServiceAsync
public class AbstractAWSDirectoryServiceAsync extends AbstractAWSDirectoryService implements AWSDirectoryServiceAsync
Abstract implementation ofAWSDirectoryServiceAsync
. Convenient method forms pass through to the corresponding overload that takes a request object and anAsyncHandler
, which throws anUnsupportedOperationException
.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractAWSDirectoryServiceAsync()
-
Method Summary
-
Methods inherited from class com.amazonaws.services.directory.AbstractAWSDirectoryService
connectDirectory, createAlias, createComputer, createConditionalForwarder, createDirectory, createMicrosoftAD, createSnapshot, createTrust, deleteConditionalForwarder, deleteDirectory, deleteSnapshot, deleteTrust, deregisterEventTopic, describeConditionalForwarders, describeDirectories, describeDirectories, describeEventTopics, describeSnapshots, describeSnapshots, describeTrusts, disableRadius, disableSso, enableRadius, enableSso, getCachedResponseMetadata, getDirectoryLimits, getDirectoryLimits, getSnapshotLimits, registerEventTopic, restoreFromSnapshot, setEndpoint, setRegion, shutdown, updateConditionalForwarder, updateRadius, verifyTrust
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.amazonaws.services.directory.AWSDirectoryService
connectDirectory, createAlias, createComputer, createConditionalForwarder, createDirectory, createMicrosoftAD, createSnapshot, createTrust, deleteConditionalForwarder, deleteDirectory, deleteSnapshot, deleteTrust, deregisterEventTopic, describeConditionalForwarders, describeDirectories, describeDirectories, describeEventTopics, describeSnapshots, describeSnapshots, describeTrusts, disableRadius, disableSso, enableRadius, enableSso, getCachedResponseMetadata, getDirectoryLimits, getDirectoryLimits, getSnapshotLimits, registerEventTopic, restoreFromSnapshot, setEndpoint, setRegion, shutdown, updateConditionalForwarder, updateRadius, verifyTrust
-
-
-
-
Method Detail
-
connectDirectoryAsync
public Future<ConnectDirectoryResult> connectDirectoryAsync(ConnectDirectoryRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Creates an AD Connector to connect to an on-premises directory.
- Specified by:
connectDirectoryAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the ConnectDirectory operation.- Returns:
- A Java Future containing the result of the ConnectDirectory operation returned by the service.
-
connectDirectoryAsync
public Future<ConnectDirectoryResult> connectDirectoryAsync(ConnectDirectoryRequest request, AsyncHandler<ConnectDirectoryRequest,ConnectDirectoryResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Creates an AD Connector to connect to an on-premises directory.
- Specified by:
connectDirectoryAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the ConnectDirectory operation.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.- Returns:
- A Java Future containing the result of the ConnectDirectory operation returned by the service.
-
createAliasAsync
public Future<CreateAliasResult> createAliasAsync(CreateAliasRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Creates an alias for a directory and assigns the alias to the directory. The alias is used to construct the access URL for the directory, such as
http://alias.awsapps.com
.After an alias has been created, it cannot be deleted or reused, so this operation should only be used when absolutely necessary.
- Specified by:
createAliasAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the CreateAlias operation.- Returns:
- A Java Future containing the result of the CreateAlias operation returned by the service.
-
createAliasAsync
public Future<CreateAliasResult> createAliasAsync(CreateAliasRequest request, AsyncHandler<CreateAliasRequest,CreateAliasResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Creates an alias for a directory and assigns the alias to the directory. The alias is used to construct the access URL for the directory, such as
http://alias.awsapps.com
.After an alias has been created, it cannot be deleted or reused, so this operation should only be used when absolutely necessary.
- Specified by:
createAliasAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the CreateAlias operation.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.- Returns:
- A Java Future containing the result of the CreateAlias operation returned by the service.
-
createComputerAsync
public Future<CreateComputerResult> createComputerAsync(CreateComputerRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Creates a computer account in the specified directory, and joins the computer to the directory.
- Specified by:
createComputerAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the CreateComputer operation.- Returns:
- A Java Future containing the result of the CreateComputer operation returned by the service.
-
createComputerAsync
public Future<CreateComputerResult> createComputerAsync(CreateComputerRequest request, AsyncHandler<CreateComputerRequest,CreateComputerResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Creates a computer account in the specified directory, and joins the computer to the directory.
- Specified by:
createComputerAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the CreateComputer operation.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.- Returns:
- A Java Future containing the result of the CreateComputer operation returned by the service.
-
createConditionalForwarderAsync
public Future<CreateConditionalForwarderResult> createConditionalForwarderAsync(CreateConditionalForwarderRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Creates a conditional forwarder associated with your AWS directory. Conditional forwarders are required in order to set up a trust relationship with another domain. The conditional forwarder points to the trusted domain.
- Specified by:
createConditionalForwarderAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Initiates the creation of a conditional forwarder for your AWS Directory Service for Microsoft Active Directory. Conditional forwarders are required in order to set up a trust relationship with another domain.- Returns:
- A Java Future containing the result of the CreateConditionalForwarder operation returned by the service.
-
createConditionalForwarderAsync
public Future<CreateConditionalForwarderResult> createConditionalForwarderAsync(CreateConditionalForwarderRequest request, AsyncHandler<CreateConditionalForwarderRequest,CreateConditionalForwarderResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Creates a conditional forwarder associated with your AWS directory. Conditional forwarders are required in order to set up a trust relationship with another domain. The conditional forwarder points to the trusted domain.
- Specified by:
createConditionalForwarderAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Initiates the creation of a conditional forwarder for your AWS Directory Service for Microsoft Active Directory. Conditional forwarders are required in order to set up a trust relationship with another domain.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.- Returns:
- A Java Future containing the result of the CreateConditionalForwarder operation returned by the service.
-
createDirectoryAsync
public Future<CreateDirectoryResult> createDirectoryAsync(CreateDirectoryRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Creates a Simple AD directory.
- Specified by:
createDirectoryAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the CreateDirectory operation.- Returns:
- A Java Future containing the result of the CreateDirectory operation returned by the service.
-
createDirectoryAsync
public Future<CreateDirectoryResult> createDirectoryAsync(CreateDirectoryRequest request, AsyncHandler<CreateDirectoryRequest,CreateDirectoryResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Creates a Simple AD directory.
- Specified by:
createDirectoryAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the CreateDirectory operation.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.- Returns:
- A Java Future containing the result of the CreateDirectory operation returned by the service.
-
createMicrosoftADAsync
public Future<CreateMicrosoftADResult> createMicrosoftADAsync(CreateMicrosoftADRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Creates a Microsoft AD in the AWS cloud.- Specified by:
createMicrosoftADAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Creates a Microsoft AD in the AWS cloud.- Returns:
- A Java Future containing the result of the CreateMicrosoftAD operation returned by the service.
-
createMicrosoftADAsync
public Future<CreateMicrosoftADResult> createMicrosoftADAsync(CreateMicrosoftADRequest request, AsyncHandler<CreateMicrosoftADRequest,CreateMicrosoftADResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Creates a Microsoft AD in the AWS cloud.- Specified by:
createMicrosoftADAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Creates a Microsoft AD in the AWS cloud.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.- Returns:
- A Java Future containing the result of the CreateMicrosoftAD operation returned by the service.
-
createSnapshotAsync
public Future<CreateSnapshotResult> createSnapshotAsync(CreateSnapshotRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Creates a snapshot of a Simple AD or Microsoft AD directory in the AWS cloud.
You cannot take snapshots of AD Connector directories.
- Specified by:
createSnapshotAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the CreateSnapshot operation.- Returns:
- A Java Future containing the result of the CreateSnapshot operation returned by the service.
-
createSnapshotAsync
public Future<CreateSnapshotResult> createSnapshotAsync(CreateSnapshotRequest request, AsyncHandler<CreateSnapshotRequest,CreateSnapshotResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Creates a snapshot of a Simple AD or Microsoft AD directory in the AWS cloud.
You cannot take snapshots of AD Connector directories.
- Specified by:
createSnapshotAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the CreateSnapshot operation.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.- Returns:
- A Java Future containing the result of the CreateSnapshot operation returned by the service.
-
createTrustAsync
public Future<CreateTrustResult> createTrustAsync(CreateTrustRequest request)
Description copied from interface:AWSDirectoryServiceAsync
AWS Directory Service for Microsoft Active Directory allows you to configure trust relationships. For example, you can establish a trust between your Microsoft AD in the AWS cloud, and your existing on-premises Microsoft Active Directory. This would allow you to provide users and groups access to resources in either domain, with a single set of credentials.
This action initiates the creation of the AWS side of a trust relationship between a Microsoft AD in the AWS cloud and an external domain.
- Specified by:
createTrustAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- AWS Directory Service for Microsoft Active Directory allows you to configure trust relationships. For example, you can establish a trust between your Microsoft AD in the AWS cloud, and your existing on-premises Microsoft Active Directory. This would allow you to provide users and groups access to resources in either domain, with a single set of credentials.This action initiates the creation of the AWS side of a trust relationship between a Microsoft AD in the AWS cloud and an external domain.
- Returns:
- A Java Future containing the result of the CreateTrust operation returned by the service.
-
createTrustAsync
public Future<CreateTrustResult> createTrustAsync(CreateTrustRequest request, AsyncHandler<CreateTrustRequest,CreateTrustResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
AWS Directory Service for Microsoft Active Directory allows you to configure trust relationships. For example, you can establish a trust between your Microsoft AD in the AWS cloud, and your existing on-premises Microsoft Active Directory. This would allow you to provide users and groups access to resources in either domain, with a single set of credentials.
This action initiates the creation of the AWS side of a trust relationship between a Microsoft AD in the AWS cloud and an external domain.
- Specified by:
createTrustAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- AWS Directory Service for Microsoft Active Directory allows you to configure trust relationships. For example, you can establish a trust between your Microsoft AD in the AWS cloud, and your existing on-premises Microsoft Active Directory. This would allow you to provide users and groups access to resources in either domain, with a single set of credentials.This action initiates the creation of the AWS side of a trust relationship between a Microsoft AD in the AWS cloud and an external domain.
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.- Returns:
- A Java Future containing the result of the CreateTrust operation returned by the service.
-
deleteConditionalForwarderAsync
public Future<DeleteConditionalForwarderResult> deleteConditionalForwarderAsync(DeleteConditionalForwarderRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Deletes a conditional forwarder that has been set up for your AWS directory.
- Specified by:
deleteConditionalForwarderAsync
in interfaceAWSDirectoryServiceAsync
- Returns:
- A Java Future containing the result of the DeleteConditionalForwarder operation returned by the service.
-
deleteConditionalForwarderAsync
public Future<DeleteConditionalForwarderResult> deleteConditionalForwarderAsync(DeleteConditionalForwarderRequest request, AsyncHandler<DeleteConditionalForwarderRequest,DeleteConditionalForwarderResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Deletes a conditional forwarder that has been set up for your AWS directory.
- Specified by:
deleteConditionalForwarderAsync
in interfaceAWSDirectoryServiceAsync
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.- Returns:
- A Java Future containing the result of the DeleteConditionalForwarder operation returned by the service.
-
deleteDirectoryAsync
public Future<DeleteDirectoryResult> deleteDirectoryAsync(DeleteDirectoryRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Deletes an AWS Directory Service directory.
- Specified by:
deleteDirectoryAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the DeleteDirectory operation.- Returns:
- A Java Future containing the result of the DeleteDirectory operation returned by the service.
-
deleteDirectoryAsync
public Future<DeleteDirectoryResult> deleteDirectoryAsync(DeleteDirectoryRequest request, AsyncHandler<DeleteDirectoryRequest,DeleteDirectoryResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Deletes an AWS Directory Service directory.
- Specified by:
deleteDirectoryAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the DeleteDirectory operation.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.- Returns:
- A Java Future containing the result of the DeleteDirectory operation returned by the service.
-
deleteSnapshotAsync
public Future<DeleteSnapshotResult> deleteSnapshotAsync(DeleteSnapshotRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Deletes a directory snapshot.
- Specified by:
deleteSnapshotAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the DeleteSnapshot operation.- Returns:
- A Java Future containing the result of the DeleteSnapshot operation returned by the service.
-
deleteSnapshotAsync
public Future<DeleteSnapshotResult> deleteSnapshotAsync(DeleteSnapshotRequest request, AsyncHandler<DeleteSnapshotRequest,DeleteSnapshotResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Deletes a directory snapshot.
- Specified by:
deleteSnapshotAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the DeleteSnapshot operation.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.- Returns:
- A Java Future containing the result of the DeleteSnapshot operation returned by the service.
-
deleteTrustAsync
public Future<DeleteTrustResult> deleteTrustAsync(DeleteTrustRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Deletes an existing trust relationship between your Microsoft AD in the AWS cloud and an external domain.- Specified by:
deleteTrustAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Deletes the local side of an existing trust relationship between the Microsoft AD in the AWS cloud and the external domain.- Returns:
- A Java Future containing the result of the DeleteTrust operation returned by the service.
-
deleteTrustAsync
public Future<DeleteTrustResult> deleteTrustAsync(DeleteTrustRequest request, AsyncHandler<DeleteTrustRequest,DeleteTrustResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Deletes an existing trust relationship between your Microsoft AD in the AWS cloud and an external domain.- Specified by:
deleteTrustAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Deletes the local side of an existing trust relationship between the Microsoft AD in the AWS cloud and the external domain.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.- Returns:
- A Java Future containing the result of the DeleteTrust operation returned by the service.
-
deregisterEventTopicAsync
public Future<DeregisterEventTopicResult> deregisterEventTopicAsync(DeregisterEventTopicRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Removes the specified directory as a publisher to the specified SNS topic.
- Specified by:
deregisterEventTopicAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Removes the specified directory as a publisher to the specified SNS topic.- Returns:
- A Java Future containing the result of the DeregisterEventTopic operation returned by the service.
-
deregisterEventTopicAsync
public Future<DeregisterEventTopicResult> deregisterEventTopicAsync(DeregisterEventTopicRequest request, AsyncHandler<DeregisterEventTopicRequest,DeregisterEventTopicResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Removes the specified directory as a publisher to the specified SNS topic.
- Specified by:
deregisterEventTopicAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Removes the specified directory as a publisher to the specified SNS topic.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.- Returns:
- A Java Future containing the result of the DeregisterEventTopic operation returned by the service.
-
describeConditionalForwardersAsync
public Future<DescribeConditionalForwardersResult> describeConditionalForwardersAsync(DescribeConditionalForwardersRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Obtains information about the conditional forwarders for this account.
If no input parameters are provided for RemoteDomainNames, this request describes all conditional forwarders for the specified directory ID.
- Specified by:
describeConditionalForwardersAsync
in interfaceAWSDirectoryServiceAsync
- Returns:
- A Java Future containing the result of the DescribeConditionalForwarders operation returned by the service.
-
describeConditionalForwardersAsync
public Future<DescribeConditionalForwardersResult> describeConditionalForwardersAsync(DescribeConditionalForwardersRequest request, AsyncHandler<DescribeConditionalForwardersRequest,DescribeConditionalForwardersResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Obtains information about the conditional forwarders for this account.
If no input parameters are provided for RemoteDomainNames, this request describes all conditional forwarders for the specified directory ID.
- Specified by:
describeConditionalForwardersAsync
in interfaceAWSDirectoryServiceAsync
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.- Returns:
- A Java Future containing the result of the DescribeConditionalForwarders operation returned by the service.
-
describeDirectoriesAsync
public Future<DescribeDirectoriesResult> describeDirectoriesAsync(DescribeDirectoriesRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Obtains information about the directories that belong to this account.
You can retrieve information about specific directories by passing the directory identifiers in the DirectoryIds parameter. Otherwise, all directories that belong to the current account are returned.
This operation supports pagination with the use of the NextToken request and response parameters. If more results are available, the DescribeDirectoriesResult.NextToken member contains a token that you pass in the next call to DescribeDirectories to retrieve the next set of items.
You can also specify a maximum number of return results with the Limit parameter.
- Specified by:
describeDirectoriesAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the DescribeDirectories operation.- Returns:
- A Java Future containing the result of the DescribeDirectories operation returned by the service.
-
describeDirectoriesAsync
public Future<DescribeDirectoriesResult> describeDirectoriesAsync(DescribeDirectoriesRequest request, AsyncHandler<DescribeDirectoriesRequest,DescribeDirectoriesResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Obtains information about the directories that belong to this account.
You can retrieve information about specific directories by passing the directory identifiers in the DirectoryIds parameter. Otherwise, all directories that belong to the current account are returned.
This operation supports pagination with the use of the NextToken request and response parameters. If more results are available, the DescribeDirectoriesResult.NextToken member contains a token that you pass in the next call to DescribeDirectories to retrieve the next set of items.
You can also specify a maximum number of return results with the Limit parameter.
- Specified by:
describeDirectoriesAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the DescribeDirectories operation.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.- Returns:
- A Java Future containing the result of the DescribeDirectories operation returned by the service.
-
describeDirectoriesAsync
public Future<DescribeDirectoriesResult> describeDirectoriesAsync()
Simplified method form for invoking the DescribeDirectories operation.- Specified by:
describeDirectoriesAsync
in interfaceAWSDirectoryServiceAsync
- See Also:
describeDirectoriesAsync(DescribeDirectoriesRequest)
-
describeDirectoriesAsync
public Future<DescribeDirectoriesResult> describeDirectoriesAsync(AsyncHandler<DescribeDirectoriesRequest,DescribeDirectoriesResult> asyncHandler)
Simplified method form for invoking the DescribeDirectories operation with an AsyncHandler.- Specified by:
describeDirectoriesAsync
in interfaceAWSDirectoryServiceAsync
- See Also:
describeDirectoriesAsync(DescribeDirectoriesRequest, com.amazonaws.handlers.AsyncHandler)
-
describeEventTopicsAsync
public Future<DescribeEventTopicsResult> describeEventTopicsAsync(DescribeEventTopicsRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Obtains information about which SNS topics receive status messages from the specified directory.
If no input parameters are provided, such as DirectoryId or TopicName, this request describes all of the associations in the account.
- Specified by:
describeEventTopicsAsync
in interfaceAWSDirectoryServiceAsync
- Returns:
- A Java Future containing the result of the DescribeEventTopics operation returned by the service.
-
describeEventTopicsAsync
public Future<DescribeEventTopicsResult> describeEventTopicsAsync(DescribeEventTopicsRequest request, AsyncHandler<DescribeEventTopicsRequest,DescribeEventTopicsResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Obtains information about which SNS topics receive status messages from the specified directory.
If no input parameters are provided, such as DirectoryId or TopicName, this request describes all of the associations in the account.
- Specified by:
describeEventTopicsAsync
in interfaceAWSDirectoryServiceAsync
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.- Returns:
- A Java Future containing the result of the DescribeEventTopics operation returned by the service.
-
describeSnapshotsAsync
public Future<DescribeSnapshotsResult> describeSnapshotsAsync(DescribeSnapshotsRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Obtains information about the directory snapshots that belong to this account.
This operation supports pagination with the use of the NextToken request and response parameters. If more results are available, the DescribeSnapshots.NextToken member contains a token that you pass in the next call to DescribeSnapshots to retrieve the next set of items.
You can also specify a maximum number of return results with the Limit parameter.
- Specified by:
describeSnapshotsAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the DescribeSnapshots operation.- Returns:
- A Java Future containing the result of the DescribeSnapshots operation returned by the service.
-
describeSnapshotsAsync
public Future<DescribeSnapshotsResult> describeSnapshotsAsync(DescribeSnapshotsRequest request, AsyncHandler<DescribeSnapshotsRequest,DescribeSnapshotsResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Obtains information about the directory snapshots that belong to this account.
This operation supports pagination with the use of the NextToken request and response parameters. If more results are available, the DescribeSnapshots.NextToken member contains a token that you pass in the next call to DescribeSnapshots to retrieve the next set of items.
You can also specify a maximum number of return results with the Limit parameter.
- Specified by:
describeSnapshotsAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the DescribeSnapshots operation.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.- Returns:
- A Java Future containing the result of the DescribeSnapshots operation returned by the service.
-
describeSnapshotsAsync
public Future<DescribeSnapshotsResult> describeSnapshotsAsync()
Simplified method form for invoking the DescribeSnapshots operation.- Specified by:
describeSnapshotsAsync
in interfaceAWSDirectoryServiceAsync
- See Also:
describeSnapshotsAsync(DescribeSnapshotsRequest)
-
describeSnapshotsAsync
public Future<DescribeSnapshotsResult> describeSnapshotsAsync(AsyncHandler<DescribeSnapshotsRequest,DescribeSnapshotsResult> asyncHandler)
Simplified method form for invoking the DescribeSnapshots operation with an AsyncHandler.- Specified by:
describeSnapshotsAsync
in interfaceAWSDirectoryServiceAsync
- See Also:
describeSnapshotsAsync(DescribeSnapshotsRequest, com.amazonaws.handlers.AsyncHandler)
-
describeTrustsAsync
public Future<DescribeTrustsResult> describeTrustsAsync(DescribeTrustsRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Obtains information about the trust relationships for this account.
If no input parameters are provided, such as DirectoryId or TrustIds, this request describes all the trust relationships belonging to the account.
- Specified by:
describeTrustsAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Describes the trust relationships for a particular Microsoft AD in the AWS cloud. If no input parameters are are provided, such as directory ID or trust ID, this request describes all the trust relationships.- Returns:
- A Java Future containing the result of the DescribeTrusts operation returned by the service.
-
describeTrustsAsync
public Future<DescribeTrustsResult> describeTrustsAsync(DescribeTrustsRequest request, AsyncHandler<DescribeTrustsRequest,DescribeTrustsResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Obtains information about the trust relationships for this account.
If no input parameters are provided, such as DirectoryId or TrustIds, this request describes all the trust relationships belonging to the account.
- Specified by:
describeTrustsAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Describes the trust relationships for a particular Microsoft AD in the AWS cloud. If no input parameters are are provided, such as directory ID or trust ID, this request describes all the trust relationships.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.- Returns:
- A Java Future containing the result of the DescribeTrusts operation returned by the service.
-
disableRadiusAsync
public Future<DisableRadiusResult> disableRadiusAsync(DisableRadiusRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Disables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service (RADIUS) server for an AD Connector directory.
- Specified by:
disableRadiusAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the DisableRadius operation.- Returns:
- A Java Future containing the result of the DisableRadius operation returned by the service.
-
disableRadiusAsync
public Future<DisableRadiusResult> disableRadiusAsync(DisableRadiusRequest request, AsyncHandler<DisableRadiusRequest,DisableRadiusResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Disables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service (RADIUS) server for an AD Connector directory.
- Specified by:
disableRadiusAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the DisableRadius operation.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.- Returns:
- A Java Future containing the result of the DisableRadius operation returned by the service.
-
disableSsoAsync
public Future<DisableSsoResult> disableSsoAsync(DisableSsoRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Disables single-sign on for a directory.
- Specified by:
disableSsoAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the DisableSso operation.- Returns:
- A Java Future containing the result of the DisableSso operation returned by the service.
-
disableSsoAsync
public Future<DisableSsoResult> disableSsoAsync(DisableSsoRequest request, AsyncHandler<DisableSsoRequest,DisableSsoResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Disables single-sign on for a directory.
- Specified by:
disableSsoAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the DisableSso operation.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.- Returns:
- A Java Future containing the result of the DisableSso operation returned by the service.
-
enableRadiusAsync
public Future<EnableRadiusResult> enableRadiusAsync(EnableRadiusRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Enables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service (RADIUS) server for an AD Connector directory.
- Specified by:
enableRadiusAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the EnableRadius operation.- Returns:
- A Java Future containing the result of the EnableRadius operation returned by the service.
-
enableRadiusAsync
public Future<EnableRadiusResult> enableRadiusAsync(EnableRadiusRequest request, AsyncHandler<EnableRadiusRequest,EnableRadiusResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Enables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service (RADIUS) server for an AD Connector directory.
- Specified by:
enableRadiusAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the EnableRadius operation.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.- Returns:
- A Java Future containing the result of the EnableRadius operation returned by the service.
-
enableSsoAsync
public Future<EnableSsoResult> enableSsoAsync(EnableSsoRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Enables single-sign on for a directory.
- Specified by:
enableSsoAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the EnableSso operation.- Returns:
- A Java Future containing the result of the EnableSso operation returned by the service.
-
enableSsoAsync
public Future<EnableSsoResult> enableSsoAsync(EnableSsoRequest request, AsyncHandler<EnableSsoRequest,EnableSsoResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Enables single-sign on for a directory.
- Specified by:
enableSsoAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the EnableSso operation.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.- Returns:
- A Java Future containing the result of the EnableSso operation returned by the service.
-
getDirectoryLimitsAsync
public Future<GetDirectoryLimitsResult> getDirectoryLimitsAsync(GetDirectoryLimitsRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Obtains directory limit information for the current region.
- Specified by:
getDirectoryLimitsAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the GetDirectoryLimits operation.- Returns:
- A Java Future containing the result of the GetDirectoryLimits operation returned by the service.
-
getDirectoryLimitsAsync
public Future<GetDirectoryLimitsResult> getDirectoryLimitsAsync(GetDirectoryLimitsRequest request, AsyncHandler<GetDirectoryLimitsRequest,GetDirectoryLimitsResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Obtains directory limit information for the current region.
- Specified by:
getDirectoryLimitsAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the GetDirectoryLimits operation.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.- Returns:
- A Java Future containing the result of the GetDirectoryLimits operation returned by the service.
-
getDirectoryLimitsAsync
public Future<GetDirectoryLimitsResult> getDirectoryLimitsAsync()
Simplified method form for invoking the GetDirectoryLimits operation.- Specified by:
getDirectoryLimitsAsync
in interfaceAWSDirectoryServiceAsync
- See Also:
getDirectoryLimitsAsync(GetDirectoryLimitsRequest)
-
getDirectoryLimitsAsync
public Future<GetDirectoryLimitsResult> getDirectoryLimitsAsync(AsyncHandler<GetDirectoryLimitsRequest,GetDirectoryLimitsResult> asyncHandler)
Simplified method form for invoking the GetDirectoryLimits operation with an AsyncHandler.- Specified by:
getDirectoryLimitsAsync
in interfaceAWSDirectoryServiceAsync
- See Also:
getDirectoryLimitsAsync(GetDirectoryLimitsRequest, com.amazonaws.handlers.AsyncHandler)
-
getSnapshotLimitsAsync
public Future<GetSnapshotLimitsResult> getSnapshotLimitsAsync(GetSnapshotLimitsRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Obtains the manual snapshot limits for a directory.
- Specified by:
getSnapshotLimitsAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the GetSnapshotLimits operation.- Returns:
- A Java Future containing the result of the GetSnapshotLimits operation returned by the service.
-
getSnapshotLimitsAsync
public Future<GetSnapshotLimitsResult> getSnapshotLimitsAsync(GetSnapshotLimitsRequest request, AsyncHandler<GetSnapshotLimitsRequest,GetSnapshotLimitsResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Obtains the manual snapshot limits for a directory.
- Specified by:
getSnapshotLimitsAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the GetSnapshotLimits operation.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.- Returns:
- A Java Future containing the result of the GetSnapshotLimits operation returned by the service.
-
registerEventTopicAsync
public Future<RegisterEventTopicResult> registerEventTopicAsync(RegisterEventTopicRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Associates a directory with an SNS topic. This establishes the directory as a publisher to the specified SNS topic. You can then receive email or text (SMS) messages when the status of your directory changes. You get notified if your directory goes from an Active status to an Impaired or Inoperable status. You also receive a notification when the directory returns to an Active status.
- Specified by:
registerEventTopicAsync
in interfaceAWSDirectoryServiceAsync
- Returns:
- A Java Future containing the result of the RegisterEventTopic operation returned by the service.
-
registerEventTopicAsync
public Future<RegisterEventTopicResult> registerEventTopicAsync(RegisterEventTopicRequest request, AsyncHandler<RegisterEventTopicRequest,RegisterEventTopicResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Associates a directory with an SNS topic. This establishes the directory as a publisher to the specified SNS topic. You can then receive email or text (SMS) messages when the status of your directory changes. You get notified if your directory goes from an Active status to an Impaired or Inoperable status. You also receive a notification when the directory returns to an Active status.
- Specified by:
registerEventTopicAsync
in interfaceAWSDirectoryServiceAsync
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.- Returns:
- A Java Future containing the result of the RegisterEventTopic operation returned by the service.
-
restoreFromSnapshotAsync
public Future<RestoreFromSnapshotResult> restoreFromSnapshotAsync(RestoreFromSnapshotRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Restores a directory using an existing directory snapshot.
When you restore a directory from a snapshot, any changes made to the directory after the snapshot date are overwritten.
This action returns as soon as the restore operation is initiated. You can monitor the progress of the restore operation by calling the DescribeDirectories operation with the directory identifier. When the DirectoryDescription.Stage value changes to
Active
, the restore operation is complete.- Specified by:
restoreFromSnapshotAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- An object representing the inputs for the RestoreFromSnapshot operation.- Returns:
- A Java Future containing the result of the RestoreFromSnapshot operation returned by the service.
-
restoreFromSnapshotAsync
public Future<RestoreFromSnapshotResult> restoreFromSnapshotAsync(RestoreFromSnapshotRequest request, AsyncHandler<RestoreFromSnapshotRequest,RestoreFromSnapshotResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Restores a directory using an existing directory snapshot.
When you restore a directory from a snapshot, any changes made to the directory after the snapshot date are overwritten.
This action returns as soon as the restore operation is initiated. You can monitor the progress of the restore operation by calling the DescribeDirectories operation with the directory identifier. When the DirectoryDescription.Stage value changes to
Active
, the restore operation is complete.- Specified by:
restoreFromSnapshotAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- An object representing the inputs for the RestoreFromSnapshot operation.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.- Returns:
- A Java Future containing the result of the RestoreFromSnapshot operation returned by the service.
-
updateConditionalForwarderAsync
public Future<UpdateConditionalForwarderResult> updateConditionalForwarderAsync(UpdateConditionalForwarderRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Updates a conditional forwarder that has been set up for your AWS directory.
- Specified by:
updateConditionalForwarderAsync
in interfaceAWSDirectoryServiceAsync
- Returns:
- A Java Future containing the result of the UpdateConditionalForwarder operation returned by the service.
-
updateConditionalForwarderAsync
public Future<UpdateConditionalForwarderResult> updateConditionalForwarderAsync(UpdateConditionalForwarderRequest request, AsyncHandler<UpdateConditionalForwarderRequest,UpdateConditionalForwarderResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Updates a conditional forwarder that has been set up for your AWS directory.
- Specified by:
updateConditionalForwarderAsync
in interfaceAWSDirectoryServiceAsync
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.- Returns:
- A Java Future containing the result of the UpdateConditionalForwarder operation returned by the service.
-
updateRadiusAsync
public Future<UpdateRadiusResult> updateRadiusAsync(UpdateRadiusRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Updates the Remote Authentication Dial In User Service (RADIUS) server information for an AD Connector directory.
- Specified by:
updateRadiusAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the UpdateRadius operation.- Returns:
- A Java Future containing the result of the UpdateRadius operation returned by the service.
-
updateRadiusAsync
public Future<UpdateRadiusResult> updateRadiusAsync(UpdateRadiusRequest request, AsyncHandler<UpdateRadiusRequest,UpdateRadiusResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Updates the Remote Authentication Dial In User Service (RADIUS) server information for an AD Connector directory.
- Specified by:
updateRadiusAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the UpdateRadius operation.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.- Returns:
- A Java Future containing the result of the UpdateRadius operation returned by the service.
-
verifyTrustAsync
public Future<VerifyTrustResult> verifyTrustAsync(VerifyTrustRequest request)
Description copied from interface:AWSDirectoryServiceAsync
AWS Directory Service for Microsoft Active Directory allows you to configure and verify trust relationships.
This action verifies a trust relationship between your Microsoft AD in the AWS cloud and an external domain.
- Specified by:
verifyTrustAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Initiates the verification of an existing trust relationship between a Microsoft AD in the AWS cloud and an external domain.- Returns:
- A Java Future containing the result of the VerifyTrust operation returned by the service.
-
verifyTrustAsync
public Future<VerifyTrustResult> verifyTrustAsync(VerifyTrustRequest request, AsyncHandler<VerifyTrustRequest,VerifyTrustResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
AWS Directory Service for Microsoft Active Directory allows you to configure and verify trust relationships.
This action verifies a trust relationship between your Microsoft AD in the AWS cloud and an external domain.
- Specified by:
verifyTrustAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Initiates the verification of an existing trust relationship between a Microsoft AD in the AWS cloud and an external domain.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.- Returns:
- A Java Future containing the result of the VerifyTrust operation returned by the service.
-
-