public class AWSDirectoryServiceAsyncClient extends AWSDirectoryServiceClient implements AWSDirectoryServiceAsync
This is the AWS Directory Service API Reference . This guide provides detailed information about AWS Directory Service operations, data types, parameters, and errors.
jsonErrorUnmarshallers
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset
Constructor and Description |
---|
AWSDirectoryServiceAsyncClient()
Constructs a new asynchronous client to invoke service methods on
AWSDirectoryService.
|
AWSDirectoryServiceAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on
AWSDirectoryService using the specified AWS account credentials.
|
AWSDirectoryServiceAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
AWSDirectoryService using the specified AWS account credentials,
executor service, and client configuration options.
|
AWSDirectoryServiceAsyncClient(AWSCredentials awsCredentials,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
AWSDirectoryService using the specified AWS account credentials
and executor service.
|
AWSDirectoryServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new asynchronous client to invoke service methods on
AWSDirectoryService using the specified AWS account credentials provider.
|
AWSDirectoryServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on
AWSDirectoryService using the specified AWS account credentials
provider and client configuration options.
|
AWSDirectoryServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
AWSDirectoryService using the specified AWS account credentials
provider, executor service, and client configuration options.
|
AWSDirectoryServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
AWSDirectoryService using the specified AWS account credentials provider
and executor service.
|
AWSDirectoryServiceAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on
AWSDirectoryService.
|
Modifier and Type | Method and Description |
---|---|
Future<ConnectDirectoryResult> |
connectDirectoryAsync(ConnectDirectoryRequest connectDirectoryRequest)
Creates an AD Connector to connect an on-premises directory.
|
Future<ConnectDirectoryResult> |
connectDirectoryAsync(ConnectDirectoryRequest connectDirectoryRequest,
AsyncHandler<ConnectDirectoryRequest,ConnectDirectoryResult> asyncHandler)
Creates an AD Connector to connect an on-premises directory.
|
Future<CreateAliasResult> |
createAliasAsync(CreateAliasRequest createAliasRequest)
Creates an alias for a directory and assigns the alias to the
directory.
|
Future<CreateAliasResult> |
createAliasAsync(CreateAliasRequest createAliasRequest,
AsyncHandler<CreateAliasRequest,CreateAliasResult> asyncHandler)
Creates an alias for a directory and assigns the alias to the
directory.
|
Future<CreateComputerResult> |
createComputerAsync(CreateComputerRequest createComputerRequest)
Creates a computer account in the specified directory, and joins the
computer to the directory.
|
Future<CreateComputerResult> |
createComputerAsync(CreateComputerRequest createComputerRequest,
AsyncHandler<CreateComputerRequest,CreateComputerResult> asyncHandler)
Creates a computer account in the specified directory, and joins the
computer to the directory.
|
Future<CreateDirectoryResult> |
createDirectoryAsync(CreateDirectoryRequest createDirectoryRequest)
Creates a Simple AD directory.
|
Future<CreateDirectoryResult> |
createDirectoryAsync(CreateDirectoryRequest createDirectoryRequest,
AsyncHandler<CreateDirectoryRequest,CreateDirectoryResult> asyncHandler)
Creates a Simple AD directory.
|
Future<CreateSnapshotResult> |
createSnapshotAsync(CreateSnapshotRequest createSnapshotRequest)
Creates a snapshot of an existing directory.
|
Future<CreateSnapshotResult> |
createSnapshotAsync(CreateSnapshotRequest createSnapshotRequest,
AsyncHandler<CreateSnapshotRequest,CreateSnapshotResult> asyncHandler)
Creates a snapshot of an existing directory.
|
Future<DeleteDirectoryResult> |
deleteDirectoryAsync(DeleteDirectoryRequest deleteDirectoryRequest)
Deletes an AWS Directory Service directory.
|
Future<DeleteDirectoryResult> |
deleteDirectoryAsync(DeleteDirectoryRequest deleteDirectoryRequest,
AsyncHandler<DeleteDirectoryRequest,DeleteDirectoryResult> asyncHandler)
Deletes an AWS Directory Service directory.
|
Future<DeleteSnapshotResult> |
deleteSnapshotAsync(DeleteSnapshotRequest deleteSnapshotRequest)
Deletes a directory snapshot.
|
Future<DeleteSnapshotResult> |
deleteSnapshotAsync(DeleteSnapshotRequest deleteSnapshotRequest,
AsyncHandler<DeleteSnapshotRequest,DeleteSnapshotResult> asyncHandler)
Deletes a directory snapshot.
|
Future<DescribeDirectoriesResult> |
describeDirectoriesAsync(DescribeDirectoriesRequest describeDirectoriesRequest)
Obtains information about the directories that belong to this
account.
|
Future<DescribeDirectoriesResult> |
describeDirectoriesAsync(DescribeDirectoriesRequest describeDirectoriesRequest,
AsyncHandler<DescribeDirectoriesRequest,DescribeDirectoriesResult> asyncHandler)
Obtains information about the directories that belong to this
account.
|
Future<DescribeSnapshotsResult> |
describeSnapshotsAsync(DescribeSnapshotsRequest describeSnapshotsRequest)
Obtains information about the directory snapshots that belong to this
account.
|
Future<DescribeSnapshotsResult> |
describeSnapshotsAsync(DescribeSnapshotsRequest describeSnapshotsRequest,
AsyncHandler<DescribeSnapshotsRequest,DescribeSnapshotsResult> asyncHandler)
Obtains information about the directory snapshots that belong to this
account.
|
Future<DisableRadiusResult> |
disableRadiusAsync(DisableRadiusRequest disableRadiusRequest)
Disables multi-factor authentication (MFA) with Remote Authentication
Dial In User Service (RADIUS) for an AD Connector directory.
|
Future<DisableRadiusResult> |
disableRadiusAsync(DisableRadiusRequest disableRadiusRequest,
AsyncHandler<DisableRadiusRequest,DisableRadiusResult> asyncHandler)
Disables multi-factor authentication (MFA) with Remote Authentication
Dial In User Service (RADIUS) for an AD Connector directory.
|
Future<DisableSsoResult> |
disableSsoAsync(DisableSsoRequest disableSsoRequest)
Disables single-sign on for a directory.
|
Future<DisableSsoResult> |
disableSsoAsync(DisableSsoRequest disableSsoRequest,
AsyncHandler<DisableSsoRequest,DisableSsoResult> asyncHandler)
Disables single-sign on for a directory.
|
Future<EnableRadiusResult> |
enableRadiusAsync(EnableRadiusRequest enableRadiusRequest)
Enables multi-factor authentication (MFA) with Remote Authentication
Dial In User Service (RADIUS) for an AD Connector directory.
|
Future<EnableRadiusResult> |
enableRadiusAsync(EnableRadiusRequest enableRadiusRequest,
AsyncHandler<EnableRadiusRequest,EnableRadiusResult> asyncHandler)
Enables multi-factor authentication (MFA) with Remote Authentication
Dial In User Service (RADIUS) for an AD Connector directory.
|
Future<EnableSsoResult> |
enableSsoAsync(EnableSsoRequest enableSsoRequest)
Enables single-sign on for a directory.
|
Future<EnableSsoResult> |
enableSsoAsync(EnableSsoRequest enableSsoRequest,
AsyncHandler<EnableSsoRequest,EnableSsoResult> asyncHandler)
Enables single-sign on for a directory.
|
Future<GetDirectoryLimitsResult> |
getDirectoryLimitsAsync(GetDirectoryLimitsRequest getDirectoryLimitsRequest)
Obtains directory limit information for the current region.
|
Future<GetDirectoryLimitsResult> |
getDirectoryLimitsAsync(GetDirectoryLimitsRequest getDirectoryLimitsRequest,
AsyncHandler<GetDirectoryLimitsRequest,GetDirectoryLimitsResult> asyncHandler)
Obtains directory limit information for the current region.
|
ExecutorService |
getExecutorService()
Returns the executor service used by this async client to execute
requests.
|
Future<GetSnapshotLimitsResult> |
getSnapshotLimitsAsync(GetSnapshotLimitsRequest getSnapshotLimitsRequest)
Obtains the manual snapshot limits for a directory.
|
Future<GetSnapshotLimitsResult> |
getSnapshotLimitsAsync(GetSnapshotLimitsRequest getSnapshotLimitsRequest,
AsyncHandler<GetSnapshotLimitsRequest,GetSnapshotLimitsResult> asyncHandler)
Obtains the manual snapshot limits for a directory.
|
Future<RestoreFromSnapshotResult> |
restoreFromSnapshotAsync(RestoreFromSnapshotRequest restoreFromSnapshotRequest)
Restores a directory using an existing directory snapshot.
|
Future<RestoreFromSnapshotResult> |
restoreFromSnapshotAsync(RestoreFromSnapshotRequest restoreFromSnapshotRequest,
AsyncHandler<RestoreFromSnapshotRequest,RestoreFromSnapshotResult> asyncHandler)
Restores a directory using an existing directory snapshot.
|
void |
shutdown()
Shuts down the client, releasing all managed resources.
|
Future<UpdateRadiusResult> |
updateRadiusAsync(UpdateRadiusRequest updateRadiusRequest)
Updates the Remote Authentication Dial In User Service (RADIUS)
server information for an AD Connector directory.
|
Future<UpdateRadiusResult> |
updateRadiusAsync(UpdateRadiusRequest updateRadiusRequest,
AsyncHandler<UpdateRadiusRequest,UpdateRadiusResult> asyncHandler)
Updates the Remote Authentication Dial In User Service (RADIUS)
server information for an AD Connector directory.
|
connectDirectory, createAlias, createComputer, createDirectory, createSnapshot, deleteDirectory, deleteSnapshot, describeDirectories, describeDirectories, describeSnapshots, describeSnapshots, disableRadius, disableSso, enableRadius, enableSso, getCachedResponseMetadata, getDirectoryLimits, getDirectoryLimits, getSnapshotLimits, restoreFromSnapshot, setEndpoint, setEndpoint, updateRadius
addRequestHandler, addRequestHandler, beforeMarshalling, configSigner, configSigner, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, endClientExecution, endClientExecution, findRequestMetricCollector, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, removeRequestHandler, removeRequestHandler, requestMetricCollector, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
connectDirectory, createAlias, createComputer, createDirectory, createSnapshot, deleteDirectory, deleteSnapshot, describeDirectories, describeDirectories, describeSnapshots, describeSnapshots, disableRadius, disableSso, enableRadius, enableSso, getCachedResponseMetadata, getDirectoryLimits, getDirectoryLimits, getSnapshotLimits, restoreFromSnapshot, setEndpoint, setRegion, updateRadius
public AWSDirectoryServiceAsyncClient()
All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProviderChain
public AWSDirectoryServiceAsyncClient(ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
clientConfiguration
- The client configuration options controlling how this
client connects to AWSDirectoryService
(ex: proxy settings, retry counts, etc.).DefaultAWSCredentialsProviderChain
public AWSDirectoryServiceAsyncClient(AWSCredentials awsCredentials)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials
- The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.public AWSDirectoryServiceAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
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, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
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)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.public AWSDirectoryServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
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)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
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).public AWSDirectoryServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
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 ExecutorService getExecutorService()
public void shutdown()
shutdown
in interface AWSDirectoryService
shutdown
in class AmazonWebServiceClient
public Future<DescribeSnapshotsResult> describeSnapshotsAsync(DescribeSnapshotsRequest describeSnapshotsRequest) throws AmazonServiceException, AmazonClientException
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
describeSnapshotsRequest
- Container for the necessary parameters
to execute the DescribeSnapshots operation on AWSDirectoryService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeSnapshotsResult> describeSnapshotsAsync(DescribeSnapshotsRequest describeSnapshotsRequest, AsyncHandler<DescribeSnapshotsRequest,DescribeSnapshotsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
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
describeSnapshotsRequest
- Container for the necessary parameters
to execute the DescribeSnapshots operation on AWSDirectoryService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public Future<CreateAliasResult> createAliasAsync(CreateAliasRequest createAliasRequest) throws AmazonServiceException, AmazonClientException
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://
.
IMPORTANT: 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
createAliasRequest
- Container for the necessary parameters to
execute the CreateAlias operation on AWSDirectoryService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public Future<CreateAliasResult> createAliasAsync(CreateAliasRequest createAliasRequest, AsyncHandler<CreateAliasRequest,CreateAliasResult> asyncHandler) throws AmazonServiceException, AmazonClientException
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://
.
IMPORTANT: 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
createAliasRequest
- Container for the necessary parameters to
execute the CreateAlias operation on AWSDirectoryService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public Future<DeleteSnapshotResult> deleteSnapshotAsync(DeleteSnapshotRequest deleteSnapshotRequest) throws AmazonServiceException, AmazonClientException
Deletes a directory snapshot.
deleteSnapshotAsync
in interface AWSDirectoryServiceAsync
deleteSnapshotRequest
- Container for the necessary parameters to
execute the DeleteSnapshot operation on AWSDirectoryService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public Future<DeleteSnapshotResult> deleteSnapshotAsync(DeleteSnapshotRequest deleteSnapshotRequest, AsyncHandler<DeleteSnapshotRequest,DeleteSnapshotResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes a directory snapshot.
deleteSnapshotAsync
in interface AWSDirectoryServiceAsync
deleteSnapshotRequest
- Container for the necessary parameters to
execute the DeleteSnapshot operation on AWSDirectoryService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public Future<UpdateRadiusResult> updateRadiusAsync(UpdateRadiusRequest updateRadiusRequest) throws AmazonServiceException, AmazonClientException
Updates the Remote Authentication Dial In User Service (RADIUS) server information for an AD Connector directory.
updateRadiusAsync
in interface AWSDirectoryServiceAsync
updateRadiusRequest
- Container for the necessary parameters to
execute the UpdateRadius operation on AWSDirectoryService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public Future<UpdateRadiusResult> updateRadiusAsync(UpdateRadiusRequest updateRadiusRequest, AsyncHandler<UpdateRadiusRequest,UpdateRadiusResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Updates the Remote Authentication Dial In User Service (RADIUS) server information for an AD Connector directory.
updateRadiusAsync
in interface AWSDirectoryServiceAsync
updateRadiusRequest
- Container for the necessary parameters to
execute the UpdateRadius operation on AWSDirectoryService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeDirectoriesResult> describeDirectoriesAsync(DescribeDirectoriesRequest describeDirectoriesRequest) throws AmazonServiceException, AmazonClientException
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
describeDirectoriesRequest
- Container for the necessary
parameters to execute the DescribeDirectories operation on
AWSDirectoryService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeDirectoriesResult> describeDirectoriesAsync(DescribeDirectoriesRequest describeDirectoriesRequest, AsyncHandler<DescribeDirectoriesRequest,DescribeDirectoriesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
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
describeDirectoriesRequest
- Container for the necessary
parameters to execute the DescribeDirectories operation on
AWSDirectoryService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public Future<ConnectDirectoryResult> connectDirectoryAsync(ConnectDirectoryRequest connectDirectoryRequest) throws AmazonServiceException, AmazonClientException
Creates an AD Connector to connect an on-premises directory.
connectDirectoryAsync
in interface AWSDirectoryServiceAsync
connectDirectoryRequest
- Container for the necessary parameters
to execute the ConnectDirectory operation on AWSDirectoryService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public Future<ConnectDirectoryResult> connectDirectoryAsync(ConnectDirectoryRequest connectDirectoryRequest, AsyncHandler<ConnectDirectoryRequest,ConnectDirectoryResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates an AD Connector to connect an on-premises directory.
connectDirectoryAsync
in interface AWSDirectoryServiceAsync
connectDirectoryRequest
- Container for the necessary parameters
to execute the ConnectDirectory operation on AWSDirectoryService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public Future<CreateSnapshotResult> createSnapshotAsync(CreateSnapshotRequest createSnapshotRequest) throws AmazonServiceException, AmazonClientException
Creates a snapshot of an existing directory.
You cannot take snapshots of extended or connected directories.
createSnapshotAsync
in interface AWSDirectoryServiceAsync
createSnapshotRequest
- Container for the necessary parameters to
execute the CreateSnapshot operation on AWSDirectoryService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public Future<CreateSnapshotResult> createSnapshotAsync(CreateSnapshotRequest createSnapshotRequest, AsyncHandler<CreateSnapshotRequest,CreateSnapshotResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates a snapshot of an existing directory.
You cannot take snapshots of extended or connected directories.
createSnapshotAsync
in interface AWSDirectoryServiceAsync
createSnapshotRequest
- Container for the necessary parameters to
execute the CreateSnapshot operation on AWSDirectoryService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public Future<DeleteDirectoryResult> deleteDirectoryAsync(DeleteDirectoryRequest deleteDirectoryRequest) throws AmazonServiceException, AmazonClientException
Deletes an AWS Directory Service directory.
deleteDirectoryAsync
in interface AWSDirectoryServiceAsync
deleteDirectoryRequest
- Container for the necessary parameters
to execute the DeleteDirectory operation on AWSDirectoryService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public Future<DeleteDirectoryResult> deleteDirectoryAsync(DeleteDirectoryRequest deleteDirectoryRequest, AsyncHandler<DeleteDirectoryRequest,DeleteDirectoryResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes an AWS Directory Service directory.
deleteDirectoryAsync
in interface AWSDirectoryServiceAsync
deleteDirectoryRequest
- Container for the necessary parameters
to execute the DeleteDirectory operation on AWSDirectoryService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public Future<GetDirectoryLimitsResult> getDirectoryLimitsAsync(GetDirectoryLimitsRequest getDirectoryLimitsRequest) throws AmazonServiceException, AmazonClientException
Obtains directory limit information for the current region.
getDirectoryLimitsAsync
in interface AWSDirectoryServiceAsync
getDirectoryLimitsRequest
- Container for the necessary
parameters to execute the GetDirectoryLimits operation on
AWSDirectoryService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public Future<GetDirectoryLimitsResult> getDirectoryLimitsAsync(GetDirectoryLimitsRequest getDirectoryLimitsRequest, AsyncHandler<GetDirectoryLimitsRequest,GetDirectoryLimitsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Obtains directory limit information for the current region.
getDirectoryLimitsAsync
in interface AWSDirectoryServiceAsync
getDirectoryLimitsRequest
- Container for the necessary
parameters to execute the GetDirectoryLimits operation on
AWSDirectoryService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public Future<DisableSsoResult> disableSsoAsync(DisableSsoRequest disableSsoRequest) throws AmazonServiceException, AmazonClientException
Disables single-sign on for a directory.
disableSsoAsync
in interface AWSDirectoryServiceAsync
disableSsoRequest
- Container for the necessary parameters to
execute the DisableSso operation on AWSDirectoryService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public Future<DisableSsoResult> disableSsoAsync(DisableSsoRequest disableSsoRequest, AsyncHandler<DisableSsoRequest,DisableSsoResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Disables single-sign on for a directory.
disableSsoAsync
in interface AWSDirectoryServiceAsync
disableSsoRequest
- Container for the necessary parameters to
execute the DisableSso operation on AWSDirectoryService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public Future<EnableRadiusResult> enableRadiusAsync(EnableRadiusRequest enableRadiusRequest) throws AmazonServiceException, AmazonClientException
Enables multi-factor authentication (MFA) with Remote Authentication Dial In User Service (RADIUS) for an AD Connector directory.
enableRadiusAsync
in interface AWSDirectoryServiceAsync
enableRadiusRequest
- Container for the necessary parameters to
execute the EnableRadius operation on AWSDirectoryService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public Future<EnableRadiusResult> enableRadiusAsync(EnableRadiusRequest enableRadiusRequest, AsyncHandler<EnableRadiusRequest,EnableRadiusResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Enables multi-factor authentication (MFA) with Remote Authentication Dial In User Service (RADIUS) for an AD Connector directory.
enableRadiusAsync
in interface AWSDirectoryServiceAsync
enableRadiusRequest
- Container for the necessary parameters to
execute the EnableRadius operation on AWSDirectoryService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public Future<CreateComputerResult> createComputerAsync(CreateComputerRequest createComputerRequest) throws AmazonServiceException, AmazonClientException
Creates a computer account in the specified directory, and joins the computer to the directory.
createComputerAsync
in interface AWSDirectoryServiceAsync
createComputerRequest
- Container for the necessary parameters to
execute the CreateComputer operation on AWSDirectoryService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public Future<CreateComputerResult> createComputerAsync(CreateComputerRequest createComputerRequest, AsyncHandler<CreateComputerRequest,CreateComputerResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates a computer account in the specified directory, and joins the computer to the directory.
createComputerAsync
in interface AWSDirectoryServiceAsync
createComputerRequest
- Container for the necessary parameters to
execute the CreateComputer operation on AWSDirectoryService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public Future<EnableSsoResult> enableSsoAsync(EnableSsoRequest enableSsoRequest) throws AmazonServiceException, AmazonClientException
Enables single-sign on for a directory.
enableSsoAsync
in interface AWSDirectoryServiceAsync
enableSsoRequest
- Container for the necessary parameters to
execute the EnableSso operation on AWSDirectoryService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public Future<EnableSsoResult> enableSsoAsync(EnableSsoRequest enableSsoRequest, AsyncHandler<EnableSsoRequest,EnableSsoResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Enables single-sign on for a directory.
enableSsoAsync
in interface AWSDirectoryServiceAsync
enableSsoRequest
- Container for the necessary parameters to
execute the EnableSso operation on AWSDirectoryService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public Future<CreateDirectoryResult> createDirectoryAsync(CreateDirectoryRequest createDirectoryRequest) throws AmazonServiceException, AmazonClientException
Creates a Simple AD directory.
createDirectoryAsync
in interface AWSDirectoryServiceAsync
createDirectoryRequest
- Container for the necessary parameters
to execute the CreateDirectory operation on AWSDirectoryService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public Future<CreateDirectoryResult> createDirectoryAsync(CreateDirectoryRequest createDirectoryRequest, AsyncHandler<CreateDirectoryRequest,CreateDirectoryResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates a Simple AD directory.
createDirectoryAsync
in interface AWSDirectoryServiceAsync
createDirectoryRequest
- Container for the necessary parameters
to execute the CreateDirectory operation on AWSDirectoryService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public Future<RestoreFromSnapshotResult> restoreFromSnapshotAsync(RestoreFromSnapshotRequest restoreFromSnapshotRequest) throws AmazonServiceException, AmazonClientException
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
restoreFromSnapshotRequest
- Container for the necessary
parameters to execute the RestoreFromSnapshot operation on
AWSDirectoryService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public Future<RestoreFromSnapshotResult> restoreFromSnapshotAsync(RestoreFromSnapshotRequest restoreFromSnapshotRequest, AsyncHandler<RestoreFromSnapshotRequest,RestoreFromSnapshotResult> asyncHandler) throws AmazonServiceException, AmazonClientException
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
restoreFromSnapshotRequest
- Container for the necessary
parameters to execute the RestoreFromSnapshot operation on
AWSDirectoryService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public Future<DisableRadiusResult> disableRadiusAsync(DisableRadiusRequest disableRadiusRequest) throws AmazonServiceException, AmazonClientException
Disables multi-factor authentication (MFA) with Remote Authentication Dial In User Service (RADIUS) for an AD Connector directory.
disableRadiusAsync
in interface AWSDirectoryServiceAsync
disableRadiusRequest
- Container for the necessary parameters to
execute the DisableRadius operation on AWSDirectoryService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public Future<DisableRadiusResult> disableRadiusAsync(DisableRadiusRequest disableRadiusRequest, AsyncHandler<DisableRadiusRequest,DisableRadiusResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Disables multi-factor authentication (MFA) with Remote Authentication Dial In User Service (RADIUS) for an AD Connector directory.
disableRadiusAsync
in interface AWSDirectoryServiceAsync
disableRadiusRequest
- Container for the necessary parameters to
execute the DisableRadius operation on AWSDirectoryService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public Future<GetSnapshotLimitsResult> getSnapshotLimitsAsync(GetSnapshotLimitsRequest getSnapshotLimitsRequest) throws AmazonServiceException, AmazonClientException
Obtains the manual snapshot limits for a directory.
getSnapshotLimitsAsync
in interface AWSDirectoryServiceAsync
getSnapshotLimitsRequest
- Container for the necessary parameters
to execute the GetSnapshotLimits operation on AWSDirectoryService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.public Future<GetSnapshotLimitsResult> getSnapshotLimitsAsync(GetSnapshotLimitsRequest getSnapshotLimitsRequest, AsyncHandler<GetSnapshotLimitsRequest,GetSnapshotLimitsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Obtains the manual snapshot limits for a directory.
getSnapshotLimitsAsync
in interface AWSDirectoryServiceAsync
getSnapshotLimitsRequest
- Container for the necessary parameters
to execute the GetSnapshotLimits operation on AWSDirectoryService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AWSDirectoryService indicating
either a problem with the data in the request, or a server side issue.Copyright © 2015. All rights reserved.