@ThreadSafe public class AWSDirectoryServiceAsyncClient extends AWSDirectoryServiceClient implements AWSDirectoryServiceAsync
AsyncHandler
can be used to
receive notification when an asynchronous operation completes.
This is the AWS Directory Service API Reference. This guide provides detailed information about AWS Directory Service operations, data types, parameters, and errors.
Modifier and Type | Field and Description |
---|---|
private static int |
DEFAULT_THREAD_POOL_SIZE |
private java.util.concurrent.ExecutorService |
executorService |
configFactory
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset
Constructor and Description |
---|
AWSDirectoryServiceAsyncClient()
Constructs a new asynchronous client to invoke service methods on
Directory Service.
|
AWSDirectoryServiceAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on
Directory Service using the specified AWS account credentials.
|
AWSDirectoryServiceAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
java.util.concurrent.ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
Directory Service using the specified AWS account credentials, executor
service, and client configuration options.
|
AWSDirectoryServiceAsyncClient(AWSCredentials awsCredentials,
java.util.concurrent.ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
Directory Service using the specified AWS account credentials and
executor service.
|
AWSDirectoryServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new asynchronous client to invoke service methods on
Directory Service using the specified AWS account credentials provider.
|
AWSDirectoryServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on
Directory Service using the provided AWS account credentials provider and
client configuration options.
|
AWSDirectoryServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
java.util.concurrent.ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
Directory Service using the specified AWS account credentials provider,
executor service, and client configuration options.
|
AWSDirectoryServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
java.util.concurrent.ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
Directory Service using the specified AWS account credentials provider
and executor service.
|
AWSDirectoryServiceAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on
Directory Service.
|
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.Future<ConnectDirectoryResult> |
connectDirectoryAsync(ConnectDirectoryRequest request)
Creates an AD Connector to connect to an on-premises directory.
|
java.util.concurrent.Future<ConnectDirectoryResult> |
connectDirectoryAsync(ConnectDirectoryRequest request,
AsyncHandler<ConnectDirectoryRequest,ConnectDirectoryResult> asyncHandler)
Creates an AD Connector to connect to an on-premises directory.
|
java.util.concurrent.Future<CreateAliasResult> |
createAliasAsync(CreateAliasRequest request)
Creates an alias for a directory and assigns the alias to the directory.
|
java.util.concurrent.Future<CreateAliasResult> |
createAliasAsync(CreateAliasRequest request,
AsyncHandler<CreateAliasRequest,CreateAliasResult> asyncHandler)
Creates an alias for a directory and assigns the alias to the directory.
|
java.util.concurrent.Future<CreateComputerResult> |
createComputerAsync(CreateComputerRequest request)
Creates a computer account in the specified directory, and joins the
computer to the directory.
|
java.util.concurrent.Future<CreateComputerResult> |
createComputerAsync(CreateComputerRequest request,
AsyncHandler<CreateComputerRequest,CreateComputerResult> asyncHandler)
Creates a computer account in the specified directory, and joins the
computer to the directory.
|
java.util.concurrent.Future<CreateConditionalForwarderResult> |
createConditionalForwarderAsync(CreateConditionalForwarderRequest request)
Creates a conditional forwarder associated with your AWS directory.
|
java.util.concurrent.Future<CreateConditionalForwarderResult> |
createConditionalForwarderAsync(CreateConditionalForwarderRequest request,
AsyncHandler<CreateConditionalForwarderRequest,CreateConditionalForwarderResult> asyncHandler)
Creates a conditional forwarder associated with your AWS directory.
|
java.util.concurrent.Future<CreateDirectoryResult> |
createDirectoryAsync(CreateDirectoryRequest request)
Creates a Simple AD directory.
|
java.util.concurrent.Future<CreateDirectoryResult> |
createDirectoryAsync(CreateDirectoryRequest request,
AsyncHandler<CreateDirectoryRequest,CreateDirectoryResult> asyncHandler)
Creates a Simple AD directory.
|
java.util.concurrent.Future<CreateMicrosoftADResult> |
createMicrosoftADAsync(CreateMicrosoftADRequest request)
Creates a Microsoft AD in the AWS cloud.
|
java.util.concurrent.Future<CreateMicrosoftADResult> |
createMicrosoftADAsync(CreateMicrosoftADRequest request,
AsyncHandler<CreateMicrosoftADRequest,CreateMicrosoftADResult> asyncHandler)
Creates a Microsoft AD in the AWS cloud.
|
java.util.concurrent.Future<CreateSnapshotResult> |
createSnapshotAsync(CreateSnapshotRequest request)
Creates a snapshot of a Simple AD or Microsoft AD directory in the AWS
cloud.
|
java.util.concurrent.Future<CreateSnapshotResult> |
createSnapshotAsync(CreateSnapshotRequest request,
AsyncHandler<CreateSnapshotRequest,CreateSnapshotResult> asyncHandler)
Creates a snapshot of a Simple AD or Microsoft AD directory in the AWS
cloud.
|
java.util.concurrent.Future<CreateTrustResult> |
createTrustAsync(CreateTrustRequest request)
AWS Directory Service for Microsoft Active Directory allows you to
configure trust relationships.
|
java.util.concurrent.Future<CreateTrustResult> |
createTrustAsync(CreateTrustRequest request,
AsyncHandler<CreateTrustRequest,CreateTrustResult> asyncHandler)
AWS Directory Service for Microsoft Active Directory allows you to
configure trust relationships.
|
java.util.concurrent.Future<DeleteConditionalForwarderResult> |
deleteConditionalForwarderAsync(DeleteConditionalForwarderRequest request)
Deletes a conditional forwarder that has been set up for your AWS
directory.
|
java.util.concurrent.Future<DeleteConditionalForwarderResult> |
deleteConditionalForwarderAsync(DeleteConditionalForwarderRequest request,
AsyncHandler<DeleteConditionalForwarderRequest,DeleteConditionalForwarderResult> asyncHandler)
Deletes a conditional forwarder that has been set up for your AWS
directory.
|
java.util.concurrent.Future<DeleteDirectoryResult> |
deleteDirectoryAsync(DeleteDirectoryRequest request)
Deletes an AWS Directory Service directory.
|
java.util.concurrent.Future<DeleteDirectoryResult> |
deleteDirectoryAsync(DeleteDirectoryRequest request,
AsyncHandler<DeleteDirectoryRequest,DeleteDirectoryResult> asyncHandler)
Deletes an AWS Directory Service directory.
|
java.util.concurrent.Future<DeleteSnapshotResult> |
deleteSnapshotAsync(DeleteSnapshotRequest request)
Deletes a directory snapshot.
|
java.util.concurrent.Future<DeleteSnapshotResult> |
deleteSnapshotAsync(DeleteSnapshotRequest request,
AsyncHandler<DeleteSnapshotRequest,DeleteSnapshotResult> asyncHandler)
Deletes a directory snapshot.
|
java.util.concurrent.Future<DeleteTrustResult> |
deleteTrustAsync(DeleteTrustRequest request)
Deletes an existing trust relationship between your Microsoft AD in the
AWS cloud and an external domain.
|
java.util.concurrent.Future<DeleteTrustResult> |
deleteTrustAsync(DeleteTrustRequest request,
AsyncHandler<DeleteTrustRequest,DeleteTrustResult> asyncHandler)
Deletes an existing trust relationship between your Microsoft AD in the
AWS cloud and an external domain.
|
java.util.concurrent.Future<DeregisterEventTopicResult> |
deregisterEventTopicAsync(DeregisterEventTopicRequest request)
Removes the specified directory as a publisher to the specified SNS
topic.
|
java.util.concurrent.Future<DeregisterEventTopicResult> |
deregisterEventTopicAsync(DeregisterEventTopicRequest request,
AsyncHandler<DeregisterEventTopicRequest,DeregisterEventTopicResult> asyncHandler)
Removes the specified directory as a publisher to the specified SNS
topic.
|
java.util.concurrent.Future<DescribeConditionalForwardersResult> |
describeConditionalForwardersAsync(DescribeConditionalForwardersRequest request)
Obtains information about the conditional forwarders for this account.
|
java.util.concurrent.Future<DescribeConditionalForwardersResult> |
describeConditionalForwardersAsync(DescribeConditionalForwardersRequest request,
AsyncHandler<DescribeConditionalForwardersRequest,DescribeConditionalForwardersResult> asyncHandler)
Obtains information about the conditional forwarders for this account.
|
java.util.concurrent.Future<DescribeDirectoriesResult> |
describeDirectoriesAsync()
Simplified method form for invoking the DescribeDirectories operation.
|
java.util.concurrent.Future<DescribeDirectoriesResult> |
describeDirectoriesAsync(AsyncHandler<DescribeDirectoriesRequest,DescribeDirectoriesResult> asyncHandler)
Simplified method form for invoking the DescribeDirectories operation
with an AsyncHandler.
|
java.util.concurrent.Future<DescribeDirectoriesResult> |
describeDirectoriesAsync(DescribeDirectoriesRequest request)
Obtains information about the directories that belong to this account.
|
java.util.concurrent.Future<DescribeDirectoriesResult> |
describeDirectoriesAsync(DescribeDirectoriesRequest request,
AsyncHandler<DescribeDirectoriesRequest,DescribeDirectoriesResult> asyncHandler)
Obtains information about the directories that belong to this account.
|
java.util.concurrent.Future<DescribeEventTopicsResult> |
describeEventTopicsAsync(DescribeEventTopicsRequest request)
Obtains information about which SNS topics receive status messages from
the specified directory.
|
java.util.concurrent.Future<DescribeEventTopicsResult> |
describeEventTopicsAsync(DescribeEventTopicsRequest request,
AsyncHandler<DescribeEventTopicsRequest,DescribeEventTopicsResult> asyncHandler)
Obtains information about which SNS topics receive status messages from
the specified directory.
|
java.util.concurrent.Future<DescribeSnapshotsResult> |
describeSnapshotsAsync()
Simplified method form for invoking the DescribeSnapshots operation.
|
java.util.concurrent.Future<DescribeSnapshotsResult> |
describeSnapshotsAsync(AsyncHandler<DescribeSnapshotsRequest,DescribeSnapshotsResult> asyncHandler)
Simplified method form for invoking the DescribeSnapshots operation with
an AsyncHandler.
|
java.util.concurrent.Future<DescribeSnapshotsResult> |
describeSnapshotsAsync(DescribeSnapshotsRequest request)
Obtains information about the directory snapshots that belong to this
account.
|
java.util.concurrent.Future<DescribeSnapshotsResult> |
describeSnapshotsAsync(DescribeSnapshotsRequest request,
AsyncHandler<DescribeSnapshotsRequest,DescribeSnapshotsResult> asyncHandler)
Obtains information about the directory snapshots that belong to this
account.
|
java.util.concurrent.Future<DescribeTrustsResult> |
describeTrustsAsync(DescribeTrustsRequest request)
Obtains information about the trust relationships for this account.
|
java.util.concurrent.Future<DescribeTrustsResult> |
describeTrustsAsync(DescribeTrustsRequest request,
AsyncHandler<DescribeTrustsRequest,DescribeTrustsResult> asyncHandler)
Obtains information about the trust relationships for this account.
|
java.util.concurrent.Future<DisableRadiusResult> |
disableRadiusAsync(DisableRadiusRequest request)
Disables multi-factor authentication (MFA) with the Remote Authentication
Dial In User Service (RADIUS) server for an AD Connector directory.
|
java.util.concurrent.Future<DisableRadiusResult> |
disableRadiusAsync(DisableRadiusRequest request,
AsyncHandler<DisableRadiusRequest,DisableRadiusResult> asyncHandler)
Disables multi-factor authentication (MFA) with the Remote Authentication
Dial In User Service (RADIUS) server for an AD Connector directory.
|
java.util.concurrent.Future<DisableSsoResult> |
disableSsoAsync(DisableSsoRequest request)
Disables single-sign on for a directory.
|
java.util.concurrent.Future<DisableSsoResult> |
disableSsoAsync(DisableSsoRequest request,
AsyncHandler<DisableSsoRequest,DisableSsoResult> asyncHandler)
Disables single-sign on for a directory.
|
java.util.concurrent.Future<EnableRadiusResult> |
enableRadiusAsync(EnableRadiusRequest request)
Enables multi-factor authentication (MFA) with the Remote Authentication
Dial In User Service (RADIUS) server for an AD Connector directory.
|
java.util.concurrent.Future<EnableRadiusResult> |
enableRadiusAsync(EnableRadiusRequest request,
AsyncHandler<EnableRadiusRequest,EnableRadiusResult> asyncHandler)
Enables multi-factor authentication (MFA) with the Remote Authentication
Dial In User Service (RADIUS) server for an AD Connector directory.
|
java.util.concurrent.Future<EnableSsoResult> |
enableSsoAsync(EnableSsoRequest request)
Enables single-sign on for a directory.
|
java.util.concurrent.Future<EnableSsoResult> |
enableSsoAsync(EnableSsoRequest request,
AsyncHandler<EnableSsoRequest,EnableSsoResult> asyncHandler)
Enables single-sign on for a directory.
|
java.util.concurrent.Future<GetDirectoryLimitsResult> |
getDirectoryLimitsAsync()
Simplified method form for invoking the GetDirectoryLimits operation.
|
java.util.concurrent.Future<GetDirectoryLimitsResult> |
getDirectoryLimitsAsync(AsyncHandler<GetDirectoryLimitsRequest,GetDirectoryLimitsResult> asyncHandler)
Simplified method form for invoking the GetDirectoryLimits operation with
an AsyncHandler.
|
java.util.concurrent.Future<GetDirectoryLimitsResult> |
getDirectoryLimitsAsync(GetDirectoryLimitsRequest request)
Obtains directory limit information for the current region.
|
java.util.concurrent.Future<GetDirectoryLimitsResult> |
getDirectoryLimitsAsync(GetDirectoryLimitsRequest request,
AsyncHandler<GetDirectoryLimitsRequest,GetDirectoryLimitsResult> asyncHandler)
Obtains directory limit information for the current region.
|
java.util.concurrent.ExecutorService |
getExecutorService()
Returns the executor service used by this client to execute async
requests.
|
java.util.concurrent.Future<GetSnapshotLimitsResult> |
getSnapshotLimitsAsync(GetSnapshotLimitsRequest request)
Obtains the manual snapshot limits for a directory.
|
java.util.concurrent.Future<GetSnapshotLimitsResult> |
getSnapshotLimitsAsync(GetSnapshotLimitsRequest request,
AsyncHandler<GetSnapshotLimitsRequest,GetSnapshotLimitsResult> asyncHandler)
Obtains the manual snapshot limits for a directory.
|
java.util.concurrent.Future<RegisterEventTopicResult> |
registerEventTopicAsync(RegisterEventTopicRequest request)
Associates a directory with an SNS topic.
|
java.util.concurrent.Future<RegisterEventTopicResult> |
registerEventTopicAsync(RegisterEventTopicRequest request,
AsyncHandler<RegisterEventTopicRequest,RegisterEventTopicResult> asyncHandler)
Associates a directory with an SNS topic.
|
java.util.concurrent.Future<RestoreFromSnapshotResult> |
restoreFromSnapshotAsync(RestoreFromSnapshotRequest request)
Restores a directory using an existing directory snapshot.
|
java.util.concurrent.Future<RestoreFromSnapshotResult> |
restoreFromSnapshotAsync(RestoreFromSnapshotRequest request,
AsyncHandler<RestoreFromSnapshotRequest,RestoreFromSnapshotResult> asyncHandler)
Restores a directory using an existing directory snapshot.
|
void |
shutdown()
Shuts down the client, releasing all managed resources.
|
java.util.concurrent.Future<UpdateConditionalForwarderResult> |
updateConditionalForwarderAsync(UpdateConditionalForwarderRequest request)
Updates a conditional forwarder that has been set up for your AWS
directory.
|
java.util.concurrent.Future<UpdateConditionalForwarderResult> |
updateConditionalForwarderAsync(UpdateConditionalForwarderRequest request,
AsyncHandler<UpdateConditionalForwarderRequest,UpdateConditionalForwarderResult> asyncHandler)
Updates a conditional forwarder that has been set up for your AWS
directory.
|
java.util.concurrent.Future<UpdateRadiusResult> |
updateRadiusAsync(UpdateRadiusRequest request)
Updates the Remote Authentication Dial In User Service (RADIUS) server
information for an AD Connector directory.
|
java.util.concurrent.Future<UpdateRadiusResult> |
updateRadiusAsync(UpdateRadiusRequest request,
AsyncHandler<UpdateRadiusRequest,UpdateRadiusResult> asyncHandler)
Updates the Remote Authentication Dial In User Service (RADIUS) server
information for an AD Connector directory.
|
java.util.concurrent.Future<VerifyTrustResult> |
verifyTrustAsync(VerifyTrustRequest request)
AWS Directory Service for Microsoft Active Directory allows you to
configure and verify trust relationships.
|
java.util.concurrent.Future<VerifyTrustResult> |
verifyTrustAsync(VerifyTrustRequest request,
AsyncHandler<VerifyTrustRequest,VerifyTrustResult> asyncHandler)
AWS Directory Service for Microsoft Active Directory allows you to
configure and verify trust relationships.
|
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, updateConditionalForwarder, updateRadius, verifyTrust
addRequestHandler, addRequestHandler, beforeMarshalling, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, endClientExecution, endClientExecution, findRequestMetricCollector, getEndpointPrefix, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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, updateConditionalForwarder, updateRadius, verifyTrust
private static final int DEFAULT_THREAD_POOL_SIZE
private final java.util.concurrent.ExecutorService executorService
public AWSDirectoryServiceAsyncClient()
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
public AWSDirectoryServiceAsyncClient(ClientConfiguration clientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing
a number of threads equal to the maximum number of concurrent connections
configured via ClientConfiguration.getMaxConnections()
.
clientConfiguration
- The client configuration options controlling how this client
connects to Directory Service (ex: proxy settings, retry counts,
etc).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
public AWSDirectoryServiceAsyncClient(AWSCredentials awsCredentials)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentials
- The AWS credentials (access key ID and secret key) to use when
authenticating with AWS services.Executors.newFixedThreadPool(int)
public AWSDirectoryServiceAsyncClient(AWSCredentials awsCredentials, java.util.concurrent.ExecutorService executorService)
awsCredentials
- The AWS credentials (access key ID and secret key) to use when
authenticating with AWS services.executorService
- The executor service by which all asynchronous requests will be
executed.public AWSDirectoryServiceAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, java.util.concurrent.ExecutorService executorService)
awsCredentials
- The AWS credentials (access key ID and secret key) to use when
authenticating with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings,
etc).executorService
- The executor service by which all asynchronous requests will be
executed.public AWSDirectoryServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to
authenticate requests with AWS services.Executors.newFixedThreadPool(int)
public AWSDirectoryServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing
a number of threads equal to the maximum number of concurrent connections
configured via ClientConfiguration.getMaxConnections()
.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to
authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings,
etc).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
public AWSDirectoryServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider, java.util.concurrent.ExecutorService executorService)
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to
authenticate requests with AWS services.executorService
- The executor service by which all asynchronous requests will be
executed.public AWSDirectoryServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, java.util.concurrent.ExecutorService executorService)
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to
authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings,
etc).executorService
- The executor service by which all asynchronous requests will be
executed.public java.util.concurrent.ExecutorService getExecutorService()
public java.util.concurrent.Future<ConnectDirectoryResult> connectDirectoryAsync(ConnectDirectoryRequest request)
AWSDirectoryServiceAsync
Creates an AD Connector to connect to an on-premises directory.
connectDirectoryAsync
in interface AWSDirectoryServiceAsync
request
- Contains the inputs for the ConnectDirectory operation.public java.util.concurrent.Future<ConnectDirectoryResult> connectDirectoryAsync(ConnectDirectoryRequest request, AsyncHandler<ConnectDirectoryRequest,ConnectDirectoryResult> asyncHandler)
AWSDirectoryServiceAsync
Creates an AD Connector to connect to an on-premises directory.
connectDirectoryAsync
in interface AWSDirectoryServiceAsync
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.public java.util.concurrent.Future<CreateAliasResult> createAliasAsync(CreateAliasRequest request)
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.
createAliasAsync
in interface AWSDirectoryServiceAsync
request
- Contains the inputs for the CreateAlias operation.public java.util.concurrent.Future<CreateAliasResult> createAliasAsync(CreateAliasRequest request, AsyncHandler<CreateAliasRequest,CreateAliasResult> asyncHandler)
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.
createAliasAsync
in interface AWSDirectoryServiceAsync
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.public java.util.concurrent.Future<CreateComputerResult> createComputerAsync(CreateComputerRequest request)
AWSDirectoryServiceAsync
Creates a computer account in the specified directory, and joins the computer to the directory.
createComputerAsync
in interface AWSDirectoryServiceAsync
request
- Contains the inputs for the CreateComputer operation.public java.util.concurrent.Future<CreateComputerResult> createComputerAsync(CreateComputerRequest request, AsyncHandler<CreateComputerRequest,CreateComputerResult> asyncHandler)
AWSDirectoryServiceAsync
Creates a computer account in the specified directory, and joins the computer to the directory.
createComputerAsync
in interface AWSDirectoryServiceAsync
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.public java.util.concurrent.Future<CreateConditionalForwarderResult> createConditionalForwarderAsync(CreateConditionalForwarderRequest request)
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.
createConditionalForwarderAsync
in interface AWSDirectoryServiceAsync
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.public java.util.concurrent.Future<CreateConditionalForwarderResult> createConditionalForwarderAsync(CreateConditionalForwarderRequest request, AsyncHandler<CreateConditionalForwarderRequest,CreateConditionalForwarderResult> asyncHandler)
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.
createConditionalForwarderAsync
in interface AWSDirectoryServiceAsync
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.public java.util.concurrent.Future<CreateDirectoryResult> createDirectoryAsync(CreateDirectoryRequest request)
AWSDirectoryServiceAsync
Creates a Simple AD directory.
createDirectoryAsync
in interface AWSDirectoryServiceAsync
request
- Contains the inputs for the CreateDirectory operation.public java.util.concurrent.Future<CreateDirectoryResult> createDirectoryAsync(CreateDirectoryRequest request, AsyncHandler<CreateDirectoryRequest,CreateDirectoryResult> asyncHandler)
AWSDirectoryServiceAsync
Creates a Simple AD directory.
createDirectoryAsync
in interface AWSDirectoryServiceAsync
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.public java.util.concurrent.Future<CreateMicrosoftADResult> createMicrosoftADAsync(CreateMicrosoftADRequest request)
AWSDirectoryServiceAsync
createMicrosoftADAsync
in interface AWSDirectoryServiceAsync
request
- Creates a Microsoft AD in the AWS cloud.public java.util.concurrent.Future<CreateMicrosoftADResult> createMicrosoftADAsync(CreateMicrosoftADRequest request, AsyncHandler<CreateMicrosoftADRequest,CreateMicrosoftADResult> asyncHandler)
AWSDirectoryServiceAsync
createMicrosoftADAsync
in interface AWSDirectoryServiceAsync
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.public java.util.concurrent.Future<CreateSnapshotResult> createSnapshotAsync(CreateSnapshotRequest request)
AWSDirectoryServiceAsync
Creates a snapshot of a Simple AD or Microsoft AD directory in the AWS cloud.
You cannot take snapshots of AD Connector directories.
createSnapshotAsync
in interface AWSDirectoryServiceAsync
request
- Contains the inputs for the CreateSnapshot operation.public java.util.concurrent.Future<CreateSnapshotResult> createSnapshotAsync(CreateSnapshotRequest request, AsyncHandler<CreateSnapshotRequest,CreateSnapshotResult> asyncHandler)
AWSDirectoryServiceAsync
Creates a snapshot of a Simple AD or Microsoft AD directory in the AWS cloud.
You cannot take snapshots of AD Connector directories.
createSnapshotAsync
in interface AWSDirectoryServiceAsync
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.public java.util.concurrent.Future<CreateTrustResult> createTrustAsync(CreateTrustRequest request)
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.
createTrustAsync
in interface AWSDirectoryServiceAsync
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.
public java.util.concurrent.Future<CreateTrustResult> createTrustAsync(CreateTrustRequest request, AsyncHandler<CreateTrustRequest,CreateTrustResult> asyncHandler)
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.
createTrustAsync
in interface AWSDirectoryServiceAsync
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.public java.util.concurrent.Future<DeleteConditionalForwarderResult> deleteConditionalForwarderAsync(DeleteConditionalForwarderRequest request)
AWSDirectoryServiceAsync
Deletes a conditional forwarder that has been set up for your AWS directory.
deleteConditionalForwarderAsync
in interface AWSDirectoryServiceAsync
public java.util.concurrent.Future<DeleteConditionalForwarderResult> deleteConditionalForwarderAsync(DeleteConditionalForwarderRequest request, AsyncHandler<DeleteConditionalForwarderRequest,DeleteConditionalForwarderResult> asyncHandler)
AWSDirectoryServiceAsync
Deletes a conditional forwarder that has been set up for your AWS directory.
deleteConditionalForwarderAsync
in interface AWSDirectoryServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<DeleteDirectoryResult> deleteDirectoryAsync(DeleteDirectoryRequest request)
AWSDirectoryServiceAsync
Deletes an AWS Directory Service directory.
deleteDirectoryAsync
in interface AWSDirectoryServiceAsync
request
- Contains the inputs for the DeleteDirectory operation.public java.util.concurrent.Future<DeleteDirectoryResult> deleteDirectoryAsync(DeleteDirectoryRequest request, AsyncHandler<DeleteDirectoryRequest,DeleteDirectoryResult> asyncHandler)
AWSDirectoryServiceAsync
Deletes an AWS Directory Service directory.
deleteDirectoryAsync
in interface AWSDirectoryServiceAsync
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.public java.util.concurrent.Future<DeleteSnapshotResult> deleteSnapshotAsync(DeleteSnapshotRequest request)
AWSDirectoryServiceAsync
Deletes a directory snapshot.
deleteSnapshotAsync
in interface AWSDirectoryServiceAsync
request
- Contains the inputs for the DeleteSnapshot operation.public java.util.concurrent.Future<DeleteSnapshotResult> deleteSnapshotAsync(DeleteSnapshotRequest request, AsyncHandler<DeleteSnapshotRequest,DeleteSnapshotResult> asyncHandler)
AWSDirectoryServiceAsync
Deletes a directory snapshot.
deleteSnapshotAsync
in interface AWSDirectoryServiceAsync
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.public java.util.concurrent.Future<DeleteTrustResult> deleteTrustAsync(DeleteTrustRequest request)
AWSDirectoryServiceAsync
deleteTrustAsync
in interface AWSDirectoryServiceAsync
request
- Deletes the local side of an existing trust relationship between
the Microsoft AD in the AWS cloud and the external domain.public java.util.concurrent.Future<DeleteTrustResult> deleteTrustAsync(DeleteTrustRequest request, AsyncHandler<DeleteTrustRequest,DeleteTrustResult> asyncHandler)
AWSDirectoryServiceAsync
deleteTrustAsync
in interface AWSDirectoryServiceAsync
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.public java.util.concurrent.Future<DeregisterEventTopicResult> deregisterEventTopicAsync(DeregisterEventTopicRequest request)
AWSDirectoryServiceAsync
Removes the specified directory as a publisher to the specified SNS topic.
deregisterEventTopicAsync
in interface AWSDirectoryServiceAsync
request
- Removes the specified directory as a publisher to the specified
SNS topic.public java.util.concurrent.Future<DeregisterEventTopicResult> deregisterEventTopicAsync(DeregisterEventTopicRequest request, AsyncHandler<DeregisterEventTopicRequest,DeregisterEventTopicResult> asyncHandler)
AWSDirectoryServiceAsync
Removes the specified directory as a publisher to the specified SNS topic.
deregisterEventTopicAsync
in interface AWSDirectoryServiceAsync
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.public java.util.concurrent.Future<DescribeConditionalForwardersResult> describeConditionalForwardersAsync(DescribeConditionalForwardersRequest request)
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.
describeConditionalForwardersAsync
in interface AWSDirectoryServiceAsync
public java.util.concurrent.Future<DescribeConditionalForwardersResult> describeConditionalForwardersAsync(DescribeConditionalForwardersRequest request, AsyncHandler<DescribeConditionalForwardersRequest,DescribeConditionalForwardersResult> asyncHandler)
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.
describeConditionalForwardersAsync
in interface AWSDirectoryServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<DescribeDirectoriesResult> describeDirectoriesAsync(DescribeDirectoriesRequest request)
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.
describeDirectoriesAsync
in interface AWSDirectoryServiceAsync
request
- Contains the inputs for the DescribeDirectories operation.public java.util.concurrent.Future<DescribeDirectoriesResult> describeDirectoriesAsync(DescribeDirectoriesRequest request, AsyncHandler<DescribeDirectoriesRequest,DescribeDirectoriesResult> asyncHandler)
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.
describeDirectoriesAsync
in interface AWSDirectoryServiceAsync
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.public java.util.concurrent.Future<DescribeDirectoriesResult> describeDirectoriesAsync()
describeDirectoriesAsync
in interface AWSDirectoryServiceAsync
describeDirectoriesAsync(DescribeDirectoriesRequest)
public java.util.concurrent.Future<DescribeDirectoriesResult> describeDirectoriesAsync(AsyncHandler<DescribeDirectoriesRequest,DescribeDirectoriesResult> asyncHandler)
describeDirectoriesAsync
in interface AWSDirectoryServiceAsync
describeDirectoriesAsync(DescribeDirectoriesRequest,
com.amazonaws.handlers.AsyncHandler)
public java.util.concurrent.Future<DescribeEventTopicsResult> describeEventTopicsAsync(DescribeEventTopicsRequest request)
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.
describeEventTopicsAsync
in interface AWSDirectoryServiceAsync
public java.util.concurrent.Future<DescribeEventTopicsResult> describeEventTopicsAsync(DescribeEventTopicsRequest request, AsyncHandler<DescribeEventTopicsRequest,DescribeEventTopicsResult> asyncHandler)
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.
describeEventTopicsAsync
in interface AWSDirectoryServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<DescribeSnapshotsResult> describeSnapshotsAsync(DescribeSnapshotsRequest request)
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.
describeSnapshotsAsync
in interface AWSDirectoryServiceAsync
request
- Contains the inputs for the DescribeSnapshots operation.public java.util.concurrent.Future<DescribeSnapshotsResult> describeSnapshotsAsync(DescribeSnapshotsRequest request, AsyncHandler<DescribeSnapshotsRequest,DescribeSnapshotsResult> asyncHandler)
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.
describeSnapshotsAsync
in interface AWSDirectoryServiceAsync
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.public java.util.concurrent.Future<DescribeSnapshotsResult> describeSnapshotsAsync()
describeSnapshotsAsync
in interface AWSDirectoryServiceAsync
describeSnapshotsAsync(DescribeSnapshotsRequest)
public java.util.concurrent.Future<DescribeSnapshotsResult> describeSnapshotsAsync(AsyncHandler<DescribeSnapshotsRequest,DescribeSnapshotsResult> asyncHandler)
describeSnapshotsAsync
in interface AWSDirectoryServiceAsync
describeSnapshotsAsync(DescribeSnapshotsRequest,
com.amazonaws.handlers.AsyncHandler)
public java.util.concurrent.Future<DescribeTrustsResult> describeTrustsAsync(DescribeTrustsRequest request)
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.
describeTrustsAsync
in interface AWSDirectoryServiceAsync
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.public java.util.concurrent.Future<DescribeTrustsResult> describeTrustsAsync(DescribeTrustsRequest request, AsyncHandler<DescribeTrustsRequest,DescribeTrustsResult> asyncHandler)
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.
describeTrustsAsync
in interface AWSDirectoryServiceAsync
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.public java.util.concurrent.Future<DisableRadiusResult> disableRadiusAsync(DisableRadiusRequest request)
AWSDirectoryServiceAsync
Disables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service (RADIUS) server for an AD Connector directory.
disableRadiusAsync
in interface AWSDirectoryServiceAsync
request
- Contains the inputs for the DisableRadius operation.public java.util.concurrent.Future<DisableRadiusResult> disableRadiusAsync(DisableRadiusRequest request, AsyncHandler<DisableRadiusRequest,DisableRadiusResult> asyncHandler)
AWSDirectoryServiceAsync
Disables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service (RADIUS) server for an AD Connector directory.
disableRadiusAsync
in interface AWSDirectoryServiceAsync
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.public java.util.concurrent.Future<DisableSsoResult> disableSsoAsync(DisableSsoRequest request)
AWSDirectoryServiceAsync
Disables single-sign on for a directory.
disableSsoAsync
in interface AWSDirectoryServiceAsync
request
- Contains the inputs for the DisableSso operation.public java.util.concurrent.Future<DisableSsoResult> disableSsoAsync(DisableSsoRequest request, AsyncHandler<DisableSsoRequest,DisableSsoResult> asyncHandler)
AWSDirectoryServiceAsync
Disables single-sign on for a directory.
disableSsoAsync
in interface AWSDirectoryServiceAsync
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.public java.util.concurrent.Future<EnableRadiusResult> enableRadiusAsync(EnableRadiusRequest request)
AWSDirectoryServiceAsync
Enables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service (RADIUS) server for an AD Connector directory.
enableRadiusAsync
in interface AWSDirectoryServiceAsync
request
- Contains the inputs for the EnableRadius operation.public java.util.concurrent.Future<EnableRadiusResult> enableRadiusAsync(EnableRadiusRequest request, AsyncHandler<EnableRadiusRequest,EnableRadiusResult> asyncHandler)
AWSDirectoryServiceAsync
Enables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service (RADIUS) server for an AD Connector directory.
enableRadiusAsync
in interface AWSDirectoryServiceAsync
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.public java.util.concurrent.Future<EnableSsoResult> enableSsoAsync(EnableSsoRequest request)
AWSDirectoryServiceAsync
Enables single-sign on for a directory.
enableSsoAsync
in interface AWSDirectoryServiceAsync
request
- Contains the inputs for the EnableSso operation.public java.util.concurrent.Future<EnableSsoResult> enableSsoAsync(EnableSsoRequest request, AsyncHandler<EnableSsoRequest,EnableSsoResult> asyncHandler)
AWSDirectoryServiceAsync
Enables single-sign on for a directory.
enableSsoAsync
in interface AWSDirectoryServiceAsync
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.public java.util.concurrent.Future<GetDirectoryLimitsResult> getDirectoryLimitsAsync(GetDirectoryLimitsRequest request)
AWSDirectoryServiceAsync
Obtains directory limit information for the current region.
getDirectoryLimitsAsync
in interface AWSDirectoryServiceAsync
request
- Contains the inputs for the GetDirectoryLimits operation.public java.util.concurrent.Future<GetDirectoryLimitsResult> getDirectoryLimitsAsync(GetDirectoryLimitsRequest request, AsyncHandler<GetDirectoryLimitsRequest,GetDirectoryLimitsResult> asyncHandler)
AWSDirectoryServiceAsync
Obtains directory limit information for the current region.
getDirectoryLimitsAsync
in interface AWSDirectoryServiceAsync
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.public java.util.concurrent.Future<GetDirectoryLimitsResult> getDirectoryLimitsAsync()
getDirectoryLimitsAsync
in interface AWSDirectoryServiceAsync
getDirectoryLimitsAsync(GetDirectoryLimitsRequest)
public java.util.concurrent.Future<GetDirectoryLimitsResult> getDirectoryLimitsAsync(AsyncHandler<GetDirectoryLimitsRequest,GetDirectoryLimitsResult> asyncHandler)
getDirectoryLimitsAsync
in interface AWSDirectoryServiceAsync
getDirectoryLimitsAsync(GetDirectoryLimitsRequest,
com.amazonaws.handlers.AsyncHandler)
public java.util.concurrent.Future<GetSnapshotLimitsResult> getSnapshotLimitsAsync(GetSnapshotLimitsRequest request)
AWSDirectoryServiceAsync
Obtains the manual snapshot limits for a directory.
getSnapshotLimitsAsync
in interface AWSDirectoryServiceAsync
request
- Contains the inputs for the GetSnapshotLimits operation.public java.util.concurrent.Future<GetSnapshotLimitsResult> getSnapshotLimitsAsync(GetSnapshotLimitsRequest request, AsyncHandler<GetSnapshotLimitsRequest,GetSnapshotLimitsResult> asyncHandler)
AWSDirectoryServiceAsync
Obtains the manual snapshot limits for a directory.
getSnapshotLimitsAsync
in interface AWSDirectoryServiceAsync
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.public java.util.concurrent.Future<RegisterEventTopicResult> registerEventTopicAsync(RegisterEventTopicRequest request)
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.
registerEventTopicAsync
in interface AWSDirectoryServiceAsync
public java.util.concurrent.Future<RegisterEventTopicResult> registerEventTopicAsync(RegisterEventTopicRequest request, AsyncHandler<RegisterEventTopicRequest,RegisterEventTopicResult> asyncHandler)
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.
registerEventTopicAsync
in interface AWSDirectoryServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<RestoreFromSnapshotResult> restoreFromSnapshotAsync(RestoreFromSnapshotRequest request)
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.
restoreFromSnapshotAsync
in interface AWSDirectoryServiceAsync
request
- An object representing the inputs for the
RestoreFromSnapshot operation.public java.util.concurrent.Future<RestoreFromSnapshotResult> restoreFromSnapshotAsync(RestoreFromSnapshotRequest request, AsyncHandler<RestoreFromSnapshotRequest,RestoreFromSnapshotResult> asyncHandler)
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.
restoreFromSnapshotAsync
in interface AWSDirectoryServiceAsync
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.public java.util.concurrent.Future<UpdateConditionalForwarderResult> updateConditionalForwarderAsync(UpdateConditionalForwarderRequest request)
AWSDirectoryServiceAsync
Updates a conditional forwarder that has been set up for your AWS directory.
updateConditionalForwarderAsync
in interface AWSDirectoryServiceAsync
public java.util.concurrent.Future<UpdateConditionalForwarderResult> updateConditionalForwarderAsync(UpdateConditionalForwarderRequest request, AsyncHandler<UpdateConditionalForwarderRequest,UpdateConditionalForwarderResult> asyncHandler)
AWSDirectoryServiceAsync
Updates a conditional forwarder that has been set up for your AWS directory.
updateConditionalForwarderAsync
in interface AWSDirectoryServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<UpdateRadiusResult> updateRadiusAsync(UpdateRadiusRequest request)
AWSDirectoryServiceAsync
Updates the Remote Authentication Dial In User Service (RADIUS) server information for an AD Connector directory.
updateRadiusAsync
in interface AWSDirectoryServiceAsync
request
- Contains the inputs for the UpdateRadius operation.public java.util.concurrent.Future<UpdateRadiusResult> updateRadiusAsync(UpdateRadiusRequest request, AsyncHandler<UpdateRadiusRequest,UpdateRadiusResult> asyncHandler)
AWSDirectoryServiceAsync
Updates the Remote Authentication Dial In User Service (RADIUS) server information for an AD Connector directory.
updateRadiusAsync
in interface AWSDirectoryServiceAsync
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.public java.util.concurrent.Future<VerifyTrustResult> verifyTrustAsync(VerifyTrustRequest request)
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.
verifyTrustAsync
in interface AWSDirectoryServiceAsync
request
- Initiates the verification of an existing trust relationship
between a Microsoft AD in the AWS cloud and an external domain.public java.util.concurrent.Future<VerifyTrustResult> verifyTrustAsync(VerifyTrustRequest request, AsyncHandler<VerifyTrustRequest,VerifyTrustResult> asyncHandler)
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.
verifyTrustAsync
in interface AWSDirectoryServiceAsync
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.public void shutdown()
getExecutorService().shutdown()
followed by
getExecutorService().awaitTermination()
prior to calling this
method.shutdown
in interface AWSDirectoryService
shutdown
in class AmazonWebServiceClient