Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
   /*
    * Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
    * 
    * Licensed under the Apache License, Version 2.0 (the "License").
    * You may not use this file except in compliance with the License.
    * A copy of the License is located at
    * 
    *  http://aws.amazon.com/apache2.0
    * 
   * or in the "license" file accompanying this file. This file is distributed
   * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
   * express or implied. See the License for the specific language governing
   * permissions and limitations under the License.
   */
  package com.amazonaws.services.directory;
  
  
Interface for accessing AWSDirectoryService asynchronously. Each asynchronous method will return a Java Future object, and users are also allowed to provide a callback handler. AWS Directory Service

This is the AWS Directory Service API Reference . This guide provides detailed information about AWS Directory Service operations, data types, parameters, and errors.

  
  public interface AWSDirectoryServiceAsync extends AWSDirectoryService {
    

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.

Parameters:
describeSnapshotsRequest Container for the necessary parameters to execute the DescribeSnapshots operation on AWSDirectoryService.
Returns:
A Java Future object containing the response from the DescribeSnapshots service method, as returned by AWSDirectoryService.
Throws:
com.amazonaws.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.
com.amazonaws.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<DescribeSnapshotsResultdescribeSnapshotsAsync(DescribeSnapshotsRequest describeSnapshotsRequest
              throws AmazonServiceExceptionAmazonClientException;

    

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.

Parameters:
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.
Returns:
A Java Future object containing the response from the DescribeSnapshots service method, as returned by AWSDirectoryService.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSDirectoryService indicating either a problem with the data in the request, or a server side issue.
 
             AsyncHandler<DescribeSnapshotsRequestDescribeSnapshotsResultasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException;

    

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 .

IMPORTANT: After an alias has been created, it cannot be deleted or reused, so this operation should only be used when absolutely necessary.

Parameters:
createAliasRequest Container for the necessary parameters to execute the CreateAlias operation on AWSDirectoryService.
Returns:
A Java Future object containing the response from the CreateAlias service method, as returned by AWSDirectoryService.
Throws:
com.amazonaws.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.
com.amazonaws.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<CreateAliasResultcreateAliasAsync(CreateAliasRequest createAliasRequest
             throws AmazonServiceExceptionAmazonClientException;

    

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 .

IMPORTANT: After an alias has been created, it cannot be deleted or reused, so this operation should only be used when absolutely necessary.

Parameters:
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.
Returns:
A Java Future object containing the response from the CreateAlias service method, as returned by AWSDirectoryService.
Throws:
com.amazonaws.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.
com.amazonaws.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<CreateAliasResultcreateAliasAsync(CreateAliasRequest createAliasRequest,
             AsyncHandler<CreateAliasRequestCreateAliasResultasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException;

    

Deletes a directory snapshot.

Parameters:
deleteSnapshotRequest Container for the necessary parameters to execute the DeleteSnapshot operation on AWSDirectoryService.
Returns:
A Java Future object containing the response from the DeleteSnapshot service method, as returned by AWSDirectoryService.
Throws:
com.amazonaws.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.
com.amazonaws.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<DeleteSnapshotResultdeleteSnapshotAsync(DeleteSnapshotRequest deleteSnapshotRequest
             throws AmazonServiceExceptionAmazonClientException;

    

Deletes a directory snapshot.

Parameters:
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.
Returns:
A Java Future object containing the response from the DeleteSnapshot service method, as returned by AWSDirectoryService.
Throws:
com.amazonaws.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.
com.amazonaws.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<DeleteSnapshotResultdeleteSnapshotAsync(DeleteSnapshotRequest deleteSnapshotRequest,
             AsyncHandler<DeleteSnapshotRequestDeleteSnapshotResultasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException;

    

Updates the Remote Authentication Dial In User Service (RADIUS) server information for an AD Connector directory.

Parameters:
updateRadiusRequest Container for the necessary parameters to execute the UpdateRadius operation on AWSDirectoryService.
Returns:
A Java Future object containing the response from the UpdateRadius service method, as returned by AWSDirectoryService.
Throws:
com.amazonaws.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.
com.amazonaws.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<UpdateRadiusResultupdateRadiusAsync(UpdateRadiusRequest updateRadiusRequest
             throws AmazonServiceExceptionAmazonClientException;

    

Updates the Remote Authentication Dial In User Service (RADIUS) server information for an AD Connector directory.

Parameters:
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.
Returns:
A Java Future object containing the response from the UpdateRadius service method, as returned by AWSDirectoryService.
Throws:
com.amazonaws.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.
com.amazonaws.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<UpdateRadiusResultupdateRadiusAsync(UpdateRadiusRequest updateRadiusRequest,
             AsyncHandler<UpdateRadiusRequestUpdateRadiusResultasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException;

    

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.

Parameters:
describeDirectoriesRequest Container for the necessary parameters to execute the DescribeDirectories operation on AWSDirectoryService.
Returns:
A Java Future object containing the response from the DescribeDirectories service method, as returned by AWSDirectoryService.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSDirectoryService indicating either a problem with the data in the request, or a server side issue.
 
             throws AmazonServiceExceptionAmazonClientException;

    

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.

Parameters:
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.
Returns:
A Java Future object containing the response from the DescribeDirectories service method, as returned by AWSDirectoryService.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSDirectoryService indicating either a problem with the data in the request, or a server side issue.
 
             AsyncHandler<DescribeDirectoriesRequestDescribeDirectoriesResultasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException;

    

Creates an AD Connector to connect an on-premises directory.

Parameters:
connectDirectoryRequest Container for the necessary parameters to execute the ConnectDirectory operation on AWSDirectoryService.
Returns:
A Java Future object containing the response from the ConnectDirectory service method, as returned by AWSDirectoryService.
Throws:
com.amazonaws.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.
com.amazonaws.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<ConnectDirectoryResultconnectDirectoryAsync(ConnectDirectoryRequest connectDirectoryRequest
             throws AmazonServiceExceptionAmazonClientException;

    

Creates an AD Connector to connect an on-premises directory.

Parameters:
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.
Returns:
A Java Future object containing the response from the ConnectDirectory service method, as returned by AWSDirectoryService.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSDirectoryService indicating either a problem with the data in the request, or a server side issue.
 
             AsyncHandler<ConnectDirectoryRequestConnectDirectoryResultasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException;

    

Creates a snapshot of an existing directory.

You cannot take snapshots of extended or connected directories.

Parameters:
createSnapshotRequest Container for the necessary parameters to execute the CreateSnapshot operation on AWSDirectoryService.
Returns:
A Java Future object containing the response from the CreateSnapshot service method, as returned by AWSDirectoryService.
Throws:
com.amazonaws.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.
com.amazonaws.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<CreateSnapshotResultcreateSnapshotAsync(CreateSnapshotRequest createSnapshotRequest
             throws AmazonServiceExceptionAmazonClientException;

    

Creates a snapshot of an existing directory.

You cannot take snapshots of extended or connected directories.

Parameters:
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.
Returns:
A Java Future object containing the response from the CreateSnapshot service method, as returned by AWSDirectoryService.
Throws:
com.amazonaws.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.
com.amazonaws.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<CreateSnapshotResultcreateSnapshotAsync(CreateSnapshotRequest createSnapshotRequest,
             AsyncHandler<CreateSnapshotRequestCreateSnapshotResultasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException;

    

Deletes an AWS Directory Service directory.

Parameters:
deleteDirectoryRequest Container for the necessary parameters to execute the DeleteDirectory operation on AWSDirectoryService.
Returns:
A Java Future object containing the response from the DeleteDirectory service method, as returned by AWSDirectoryService.
Throws:
com.amazonaws.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.
com.amazonaws.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<DeleteDirectoryResultdeleteDirectoryAsync(DeleteDirectoryRequest deleteDirectoryRequest
             throws AmazonServiceExceptionAmazonClientException;

    

Deletes an AWS Directory Service directory.

Parameters:
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.
Returns:
A Java Future object containing the response from the DeleteDirectory service method, as returned by AWSDirectoryService.
Throws:
com.amazonaws.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.
com.amazonaws.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<DeleteDirectoryResultdeleteDirectoryAsync(DeleteDirectoryRequest deleteDirectoryRequest,
             AsyncHandler<DeleteDirectoryRequestDeleteDirectoryResultasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException;

    

Obtains directory limit information for the current region.

Parameters:
getDirectoryLimitsRequest Container for the necessary parameters to execute the GetDirectoryLimits operation on AWSDirectoryService.
Returns:
A Java Future object containing the response from the GetDirectoryLimits service method, as returned by AWSDirectoryService.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSDirectoryService indicating either a problem with the data in the request, or a server side issue.
 
             throws AmazonServiceExceptionAmazonClientException;

    

Obtains directory limit information for the current region.

Parameters:
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.
Returns:
A Java Future object containing the response from the GetDirectoryLimits service method, as returned by AWSDirectoryService.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSDirectoryService indicating either a problem with the data in the request, or a server side issue.
 
             AsyncHandler<GetDirectoryLimitsRequestGetDirectoryLimitsResultasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException;

    

Disables single-sign on for a directory.

Parameters:
disableSsoRequest Container for the necessary parameters to execute the DisableSso operation on AWSDirectoryService.
Returns:
A Java Future object containing the response from the DisableSso service method, as returned by AWSDirectoryService.
Throws:
com.amazonaws.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.
com.amazonaws.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<DisableSsoResultdisableSsoAsync(DisableSsoRequest disableSsoRequest
             throws AmazonServiceExceptionAmazonClientException;

    

Disables single-sign on for a directory.

Parameters:
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.
Returns:
A Java Future object containing the response from the DisableSso service method, as returned by AWSDirectoryService.
Throws:
com.amazonaws.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.
com.amazonaws.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<DisableSsoResultdisableSsoAsync(DisableSsoRequest disableSsoRequest,
             AsyncHandler<DisableSsoRequestDisableSsoResultasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException;

    

Enables multi-factor authentication (MFA) with Remote Authentication Dial In User Service (RADIUS) for an AD Connector directory.

Parameters:
enableRadiusRequest Container for the necessary parameters to execute the EnableRadius operation on AWSDirectoryService.
Returns:
A Java Future object containing the response from the EnableRadius service method, as returned by AWSDirectoryService.
Throws:
com.amazonaws.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.
com.amazonaws.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<EnableRadiusResultenableRadiusAsync(EnableRadiusRequest enableRadiusRequest
             throws AmazonServiceExceptionAmazonClientException;

    

Enables multi-factor authentication (MFA) with Remote Authentication Dial In User Service (RADIUS) for an AD Connector directory.

Parameters:
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.
Returns:
A Java Future object containing the response from the EnableRadius service method, as returned by AWSDirectoryService.
Throws:
com.amazonaws.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.
com.amazonaws.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<EnableRadiusResultenableRadiusAsync(EnableRadiusRequest enableRadiusRequest,
             AsyncHandler<EnableRadiusRequestEnableRadiusResultasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException;

    

Creates a computer account in the specified directory, and joins the computer to the directory.

Parameters:
createComputerRequest Container for the necessary parameters to execute the CreateComputer operation on AWSDirectoryService.
Returns:
A Java Future object containing the response from the CreateComputer service method, as returned by AWSDirectoryService.
Throws:
com.amazonaws.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.
com.amazonaws.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<CreateComputerResultcreateComputerAsync(CreateComputerRequest createComputerRequest
             throws AmazonServiceExceptionAmazonClientException;

    

Creates a computer account in the specified directory, and joins the computer to the directory.

Parameters:
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.
Returns:
A Java Future object containing the response from the CreateComputer service method, as returned by AWSDirectoryService.
Throws:
com.amazonaws.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.
com.amazonaws.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<CreateComputerResultcreateComputerAsync(CreateComputerRequest createComputerRequest,
             AsyncHandler<CreateComputerRequestCreateComputerResultasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException;

    

Enables single-sign on for a directory.

Parameters:
enableSsoRequest Container for the necessary parameters to execute the EnableSso operation on AWSDirectoryService.
Returns:
A Java Future object containing the response from the EnableSso service method, as returned by AWSDirectoryService.
Throws:
com.amazonaws.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.
com.amazonaws.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<EnableSsoResultenableSsoAsync(EnableSsoRequest enableSsoRequest
             throws AmazonServiceExceptionAmazonClientException;

    

Enables single-sign on for a directory.

Parameters:
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.
Returns:
A Java Future object containing the response from the EnableSso service method, as returned by AWSDirectoryService.
Throws:
com.amazonaws.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.
com.amazonaws.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<EnableSsoResultenableSsoAsync(EnableSsoRequest enableSsoRequest,
             AsyncHandler<EnableSsoRequestEnableSsoResultasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException;

    

Creates a Simple AD directory.

Parameters:
createDirectoryRequest Container for the necessary parameters to execute the CreateDirectory operation on AWSDirectoryService.
Returns:
A Java Future object containing the response from the CreateDirectory service method, as returned by AWSDirectoryService.
Throws:
com.amazonaws.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.
com.amazonaws.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<CreateDirectoryResultcreateDirectoryAsync(CreateDirectoryRequest createDirectoryRequest
             throws AmazonServiceExceptionAmazonClientException;

    

Creates a Simple AD directory.

Parameters:
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.
Returns:
A Java Future object containing the response from the CreateDirectory service method, as returned by AWSDirectoryService.
Throws:
com.amazonaws.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.
com.amazonaws.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<CreateDirectoryResultcreateDirectoryAsync(CreateDirectoryRequest createDirectoryRequest,
             AsyncHandler<CreateDirectoryRequestCreateDirectoryResultasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException;

    

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.

Parameters:
restoreFromSnapshotRequest Container for the necessary parameters to execute the RestoreFromSnapshot operation on AWSDirectoryService.
Returns:
A Java Future object containing the response from the RestoreFromSnapshot service method, as returned by AWSDirectoryService.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSDirectoryService indicating either a problem with the data in the request, or a server side issue.
 
             throws AmazonServiceExceptionAmazonClientException;

    

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.

Parameters:
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.
Returns:
A Java Future object containing the response from the RestoreFromSnapshot service method, as returned by AWSDirectoryService.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSDirectoryService indicating either a problem with the data in the request, or a server side issue.
 
             AsyncHandler<RestoreFromSnapshotRequestRestoreFromSnapshotResultasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException;

    

Disables multi-factor authentication (MFA) with Remote Authentication Dial In User Service (RADIUS) for an AD Connector directory.

Parameters:
disableRadiusRequest Container for the necessary parameters to execute the DisableRadius operation on AWSDirectoryService.
Returns:
A Java Future object containing the response from the DisableRadius service method, as returned by AWSDirectoryService.
Throws:
com.amazonaws.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.
com.amazonaws.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<DisableRadiusResultdisableRadiusAsync(DisableRadiusRequest disableRadiusRequest
             throws AmazonServiceExceptionAmazonClientException;

    

Disables multi-factor authentication (MFA) with Remote Authentication Dial In User Service (RADIUS) for an AD Connector directory.

Parameters:
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.
Returns:
A Java Future object containing the response from the DisableRadius service method, as returned by AWSDirectoryService.
Throws:
com.amazonaws.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.
com.amazonaws.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<DisableRadiusResultdisableRadiusAsync(DisableRadiusRequest disableRadiusRequest,
             AsyncHandler<DisableRadiusRequestDisableRadiusResultasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException;

    

Obtains the manual snapshot limits for a directory.

Parameters:
getSnapshotLimitsRequest Container for the necessary parameters to execute the GetSnapshotLimits operation on AWSDirectoryService.
Returns:
A Java Future object containing the response from the GetSnapshotLimits service method, as returned by AWSDirectoryService.
Throws:
com.amazonaws.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.
com.amazonaws.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<GetSnapshotLimitsResultgetSnapshotLimitsAsync(GetSnapshotLimitsRequest getSnapshotLimitsRequest
             throws AmazonServiceExceptionAmazonClientException;

    

Obtains the manual snapshot limits for a directory.

Parameters:
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.
Returns:
A Java Future object containing the response from the GetSnapshotLimits service method, as returned by AWSDirectoryService.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AWSDirectoryService indicating either a problem with the data in the request, or a server side issue.
            AsyncHandler<GetSnapshotLimitsRequestGetSnapshotLimitsResultasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException;
}
        
New to GrepCode? Check out our FAQ X