@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSDirectoryServiceAsyncClient extends AWSDirectoryServiceClient implements AWSDirectoryServiceAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
AWS Directory Service is a web service that makes it easy for you to setup and run directories in the AWS cloud, or connect your AWS resources with an existing on-premises Microsoft Active Directory. This guide provides detailed information about AWS Directory Service operations, data types, parameters, and errors. For information about AWS Directory Services features, see AWS Directory Service and the AWS Directory Service Administration Guide.
AWS provides SDKs that consist of libraries and sample code for various programming languages and platforms (Java, Ruby, .Net, iOS, Android, etc.). The SDKs provide a convenient way to create programmatic access to AWS Directory Service and other AWS services. For more information about the AWS SDKs, including how to download and install them, see Tools for Amazon Web Services.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Constructor and Description |
---|
AWSDirectoryServiceAsyncClient()
Deprecated.
|
AWSDirectoryServiceAsyncClient(AWSCredentials awsCredentials)
Deprecated.
|
AWSDirectoryServiceAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
|
AWSDirectoryServiceAsyncClient(AWSCredentials awsCredentials,
ExecutorService executorService)
|
AWSDirectoryServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Deprecated.
|
AWSDirectoryServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
|
AWSDirectoryServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
|
AWSDirectoryServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ExecutorService executorService)
|
AWSDirectoryServiceAsyncClient(ClientConfiguration clientConfiguration)
Deprecated.
|
addIpRoutes, addTagsToResource, builder, cancelSchemaExtension, connectDirectory, createAlias, createComputer, createConditionalForwarder, createDirectory, createMicrosoftAD, createSnapshot, createTrust, deleteConditionalForwarder, deleteDirectory, deleteSnapshot, deleteTrust, deregisterEventTopic, describeConditionalForwarders, describeDirectories, describeDirectories, describeDomainControllers, describeEventTopics, describeSnapshots, describeSnapshots, describeTrusts, disableRadius, disableSso, enableRadius, enableSso, getCachedResponseMetadata, getDirectoryLimits, getDirectoryLimits, getSnapshotLimits, listIpRoutes, listSchemaExtensions, listTagsForResource, registerEventTopic, removeIpRoutes, removeTagsFromResource, restoreFromSnapshot, startSchemaExtension, updateConditionalForwarder, updateNumberOfDomainControllers, updateRadius, verifyTrust
addRequestHandler, addRequestHandler, configureRegion, getEndpointPrefix, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addIpRoutes, addTagsToResource, cancelSchemaExtension, connectDirectory, createAlias, createComputer, createConditionalForwarder, createDirectory, createMicrosoftAD, createSnapshot, createTrust, deleteConditionalForwarder, deleteDirectory, deleteSnapshot, deleteTrust, deregisterEventTopic, describeConditionalForwarders, describeDirectories, describeDirectories, describeDomainControllers, describeEventTopics, describeSnapshots, describeSnapshots, describeTrusts, disableRadius, disableSso, enableRadius, enableSso, getCachedResponseMetadata, getDirectoryLimits, getDirectoryLimits, getSnapshotLimits, listIpRoutes, listSchemaExtensions, listTagsForResource, registerEventTopic, removeIpRoutes, removeTagsFromResource, restoreFromSnapshot, setEndpoint, setRegion, startSchemaExtension, updateConditionalForwarder, updateNumberOfDomainControllers, updateRadius, verifyTrust
@Deprecated public AWSDirectoryServiceAsyncClient()
AWSDirectoryServiceAsyncClientBuilder.defaultClient()
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).
@Deprecated public AWSDirectoryServiceAsyncClient(ClientConfiguration clientConfiguration)
AwsClientBuilder.withClientConfiguration(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)
@Deprecated public AWSDirectoryServiceAsyncClient(AWSCredentials awsCredentials)
AwsClientBuilder.withCredentials(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).
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.Executors.newFixedThreadPool(int)
@Deprecated public AWSDirectoryServiceAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
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.@Deprecated public AWSDirectoryServiceAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
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.@Deprecated public AWSDirectoryServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
AwsClientBuilder.withCredentials(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)
@Deprecated public AWSDirectoryServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(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)
@Deprecated public AWSDirectoryServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
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.@Deprecated public AWSDirectoryServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
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 static AWSDirectoryServiceAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<AddIpRoutesResult> addIpRoutesAsync(AddIpRoutesRequest request)
AWSDirectoryServiceAsync
If the DNS server for your on-premises domain uses a publicly addressable IP address, you must add a CIDR address block to correctly route traffic to and from your Microsoft AD on Amazon Web Services. AddIpRoutes adds this address block. You can also use AddIpRoutes to facilitate routing traffic that uses public IP ranges from your Microsoft AD on AWS to a peer VPC.
Before you call AddIpRoutes, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the AddIpRoutes operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference.
addIpRoutesAsync
in interface AWSDirectoryServiceAsync
public Future<AddIpRoutesResult> addIpRoutesAsync(AddIpRoutesRequest request, AsyncHandler<AddIpRoutesRequest,AddIpRoutesResult> asyncHandler)
AWSDirectoryServiceAsync
If the DNS server for your on-premises domain uses a publicly addressable IP address, you must add a CIDR address block to correctly route traffic to and from your Microsoft AD on Amazon Web Services. AddIpRoutes adds this address block. You can also use AddIpRoutes to facilitate routing traffic that uses public IP ranges from your Microsoft AD on AWS to a peer VPC.
Before you call AddIpRoutes, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the AddIpRoutes operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference.
addIpRoutesAsync
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 Future<AddTagsToResourceResult> addTagsToResourceAsync(AddTagsToResourceRequest request)
AWSDirectoryServiceAsync
Adds or overwrites one or more tags for the specified directory. Each directory can have a maximum of 50 tags. Each tag consists of a key and optional value. Tag keys must be unique to each resource.
addTagsToResourceAsync
in interface AWSDirectoryServiceAsync
public Future<AddTagsToResourceResult> addTagsToResourceAsync(AddTagsToResourceRequest request, AsyncHandler<AddTagsToResourceRequest,AddTagsToResourceResult> asyncHandler)
AWSDirectoryServiceAsync
Adds or overwrites one or more tags for the specified directory. Each directory can have a maximum of 50 tags. Each tag consists of a key and optional value. Tag keys must be unique to each resource.
addTagsToResourceAsync
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 Future<CancelSchemaExtensionResult> cancelSchemaExtensionAsync(CancelSchemaExtensionRequest request)
AWSDirectoryServiceAsync
Cancels an in-progress schema extension to a Microsoft AD directory. Once a schema extension has started
replicating to all domain controllers, the task can no longer be canceled. A schema extension can be canceled
during any of the following states; Initializing
, CreatingSnapshot
, and
UpdatingSchema
.
cancelSchemaExtensionAsync
in interface AWSDirectoryServiceAsync
public Future<CancelSchemaExtensionResult> cancelSchemaExtensionAsync(CancelSchemaExtensionRequest request, AsyncHandler<CancelSchemaExtensionRequest,CancelSchemaExtensionResult> asyncHandler)
AWSDirectoryServiceAsync
Cancels an in-progress schema extension to a Microsoft AD directory. Once a schema extension has started
replicating to all domain controllers, the task can no longer be canceled. A schema extension can be canceled
during any of the following states; Initializing
, CreatingSnapshot
, and
UpdatingSchema
.
cancelSchemaExtensionAsync
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 Future<ConnectDirectoryResult> connectDirectoryAsync(ConnectDirectoryRequest request)
AWSDirectoryServiceAsync
Creates an AD Connector to connect to an on-premises directory.
Before you call ConnectDirectory, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the ConnectDirectory operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference.
connectDirectoryAsync
in interface AWSDirectoryServiceAsync
request
- Contains the inputs for the ConnectDirectory operation.public Future<ConnectDirectoryResult> connectDirectoryAsync(ConnectDirectoryRequest request, AsyncHandler<ConnectDirectoryRequest,ConnectDirectoryResult> asyncHandler)
AWSDirectoryServiceAsync
Creates an AD Connector to connect to an on-premises directory.
Before you call ConnectDirectory, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the ConnectDirectory operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference.
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 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 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 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 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 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 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 Future<CreateDirectoryResult> createDirectoryAsync(CreateDirectoryRequest request)
AWSDirectoryServiceAsync
Creates a Simple AD directory.
Before you call CreateDirectory, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the CreateDirectory operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference.
createDirectoryAsync
in interface AWSDirectoryServiceAsync
request
- Contains the inputs for the CreateDirectory operation.public Future<CreateDirectoryResult> createDirectoryAsync(CreateDirectoryRequest request, AsyncHandler<CreateDirectoryRequest,CreateDirectoryResult> asyncHandler)
AWSDirectoryServiceAsync
Creates a Simple AD directory.
Before you call CreateDirectory, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the CreateDirectory operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference.
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 Future<CreateMicrosoftADResult> createMicrosoftADAsync(CreateMicrosoftADRequest request)
AWSDirectoryServiceAsync
Creates a Microsoft AD in the AWS cloud.
Before you call CreateMicrosoftAD, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the CreateMicrosoftAD operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference.
createMicrosoftADAsync
in interface AWSDirectoryServiceAsync
request
- Creates a Microsoft AD in the AWS cloud.public Future<CreateMicrosoftADResult> createMicrosoftADAsync(CreateMicrosoftADRequest request, AsyncHandler<CreateMicrosoftADRequest,CreateMicrosoftADResult> asyncHandler)
AWSDirectoryServiceAsync
Creates a Microsoft AD in the AWS cloud.
Before you call CreateMicrosoftAD, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the CreateMicrosoftAD operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference.
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 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 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 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 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 Future<DeleteConditionalForwarderResult> deleteConditionalForwarderAsync(DeleteConditionalForwarderRequest request)
AWSDirectoryServiceAsync
Deletes a conditional forwarder that has been set up for your AWS directory.
deleteConditionalForwarderAsync
in interface AWSDirectoryServiceAsync
request
- Deletes a conditional forwarder.public 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
request
- Deletes a conditional forwarder.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 Future<DeleteDirectoryResult> deleteDirectoryAsync(DeleteDirectoryRequest request)
AWSDirectoryServiceAsync
Deletes an AWS Directory Service directory.
Before you call DeleteDirectory, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the DeleteDirectory operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference.
deleteDirectoryAsync
in interface AWSDirectoryServiceAsync
request
- Contains the inputs for the DeleteDirectory operation.public Future<DeleteDirectoryResult> deleteDirectoryAsync(DeleteDirectoryRequest request, AsyncHandler<DeleteDirectoryRequest,DeleteDirectoryResult> asyncHandler)
AWSDirectoryServiceAsync
Deletes an AWS Directory Service directory.
Before you call DeleteDirectory, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the DeleteDirectory operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference.
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 Future<DeleteSnapshotResult> deleteSnapshotAsync(DeleteSnapshotRequest request)
AWSDirectoryServiceAsync
Deletes a directory snapshot.
deleteSnapshotAsync
in interface AWSDirectoryServiceAsync
request
- Contains the inputs for the DeleteSnapshot operation.public 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 Future<DeleteTrustResult> deleteTrustAsync(DeleteTrustRequest request)
AWSDirectoryServiceAsync
Deletes an existing trust relationship between your Microsoft AD in the AWS cloud and an external domain.
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 Future<DeleteTrustResult> deleteTrustAsync(DeleteTrustRequest request, AsyncHandler<DeleteTrustRequest,DeleteTrustResult> asyncHandler)
AWSDirectoryServiceAsync
Deletes an existing trust relationship between your Microsoft AD in the AWS cloud and an external domain.
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 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 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 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
request
- Describes a conditional forwarder.public 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
request
- Describes a conditional forwarder.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 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 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 Future<DescribeDirectoriesResult> describeDirectoriesAsync()
describeDirectoriesAsync
in interface AWSDirectoryServiceAsync
describeDirectoriesAsync(DescribeDirectoriesRequest)
public Future<DescribeDirectoriesResult> describeDirectoriesAsync(AsyncHandler<DescribeDirectoriesRequest,DescribeDirectoriesResult> asyncHandler)
describeDirectoriesAsync
in interface AWSDirectoryServiceAsync
describeDirectoriesAsync(DescribeDirectoriesRequest, com.amazonaws.handlers.AsyncHandler)
public Future<DescribeDomainControllersResult> describeDomainControllersAsync(DescribeDomainControllersRequest request)
AWSDirectoryServiceAsync
Provides information about any domain controllers in your directory.
describeDomainControllersAsync
in interface AWSDirectoryServiceAsync
public Future<DescribeDomainControllersResult> describeDomainControllersAsync(DescribeDomainControllersRequest request, AsyncHandler<DescribeDomainControllersRequest,DescribeDomainControllersResult> asyncHandler)
AWSDirectoryServiceAsync
Provides information about any domain controllers in your directory.
describeDomainControllersAsync
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 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
request
- Describes event topics.public 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
request
- Describes event topics.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 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 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 Future<DescribeSnapshotsResult> describeSnapshotsAsync()
describeSnapshotsAsync
in interface AWSDirectoryServiceAsync
describeSnapshotsAsync(DescribeSnapshotsRequest)
public Future<DescribeSnapshotsResult> describeSnapshotsAsync(AsyncHandler<DescribeSnapshotsRequest,DescribeSnapshotsResult> asyncHandler)
describeSnapshotsAsync
in interface AWSDirectoryServiceAsync
describeSnapshotsAsync(DescribeSnapshotsRequest, com.amazonaws.handlers.AsyncHandler)
public 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 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 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 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 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 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 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 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 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 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 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 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 Future<GetDirectoryLimitsResult> getDirectoryLimitsAsync()
getDirectoryLimitsAsync
in interface AWSDirectoryServiceAsync
getDirectoryLimitsAsync(GetDirectoryLimitsRequest)
public Future<GetDirectoryLimitsResult> getDirectoryLimitsAsync(AsyncHandler<GetDirectoryLimitsRequest,GetDirectoryLimitsResult> asyncHandler)
getDirectoryLimitsAsync
in interface AWSDirectoryServiceAsync
getDirectoryLimitsAsync(GetDirectoryLimitsRequest, com.amazonaws.handlers.AsyncHandler)
public 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 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 Future<ListIpRoutesResult> listIpRoutesAsync(ListIpRoutesRequest request)
AWSDirectoryServiceAsync
Lists the address blocks that you have added to a directory.
listIpRoutesAsync
in interface AWSDirectoryServiceAsync
public Future<ListIpRoutesResult> listIpRoutesAsync(ListIpRoutesRequest request, AsyncHandler<ListIpRoutesRequest,ListIpRoutesResult> asyncHandler)
AWSDirectoryServiceAsync
Lists the address blocks that you have added to a directory.
listIpRoutesAsync
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 Future<ListSchemaExtensionsResult> listSchemaExtensionsAsync(ListSchemaExtensionsRequest request)
AWSDirectoryServiceAsync
Lists all schema extensions applied to a Microsoft AD Directory.
listSchemaExtensionsAsync
in interface AWSDirectoryServiceAsync
public Future<ListSchemaExtensionsResult> listSchemaExtensionsAsync(ListSchemaExtensionsRequest request, AsyncHandler<ListSchemaExtensionsRequest,ListSchemaExtensionsResult> asyncHandler)
AWSDirectoryServiceAsync
Lists all schema extensions applied to a Microsoft AD Directory.
listSchemaExtensionsAsync
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 Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSDirectoryServiceAsync
Lists all tags on a directory.
listTagsForResourceAsync
in interface AWSDirectoryServiceAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSDirectoryServiceAsync
Lists all tags on a directory.
listTagsForResourceAsync
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 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
request
- Registers a new event topic.public 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
request
- Registers a new event 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 Future<RemoveIpRoutesResult> removeIpRoutesAsync(RemoveIpRoutesRequest request)
AWSDirectoryServiceAsync
Removes IP address blocks from a directory.
removeIpRoutesAsync
in interface AWSDirectoryServiceAsync
public Future<RemoveIpRoutesResult> removeIpRoutesAsync(RemoveIpRoutesRequest request, AsyncHandler<RemoveIpRoutesRequest,RemoveIpRoutesResult> asyncHandler)
AWSDirectoryServiceAsync
Removes IP address blocks from a directory.
removeIpRoutesAsync
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 Future<RemoveTagsFromResourceResult> removeTagsFromResourceAsync(RemoveTagsFromResourceRequest request)
AWSDirectoryServiceAsync
Removes tags from a directory.
removeTagsFromResourceAsync
in interface AWSDirectoryServiceAsync
public Future<RemoveTagsFromResourceResult> removeTagsFromResourceAsync(RemoveTagsFromResourceRequest request, AsyncHandler<RemoveTagsFromResourceRequest,RemoveTagsFromResourceResult> asyncHandler)
AWSDirectoryServiceAsync
Removes tags from a directory.
removeTagsFromResourceAsync
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 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 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 Future<StartSchemaExtensionResult> startSchemaExtensionAsync(StartSchemaExtensionRequest request)
AWSDirectoryServiceAsync
Applies a schema extension to a Microsoft AD directory.
startSchemaExtensionAsync
in interface AWSDirectoryServiceAsync
public Future<StartSchemaExtensionResult> startSchemaExtensionAsync(StartSchemaExtensionRequest request, AsyncHandler<StartSchemaExtensionRequest,StartSchemaExtensionResult> asyncHandler)
AWSDirectoryServiceAsync
Applies a schema extension to a Microsoft AD directory.
startSchemaExtensionAsync
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 Future<UpdateConditionalForwarderResult> updateConditionalForwarderAsync(UpdateConditionalForwarderRequest request)
AWSDirectoryServiceAsync
Updates a conditional forwarder that has been set up for your AWS directory.
updateConditionalForwarderAsync
in interface AWSDirectoryServiceAsync
request
- Updates a conditional forwarder.public 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
request
- Updates a conditional forwarder.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 Future<UpdateNumberOfDomainControllersResult> updateNumberOfDomainControllersAsync(UpdateNumberOfDomainControllersRequest request)
AWSDirectoryServiceAsync
Adds or removes domain controllers to or from the directory. Based on the difference between current value and new value (provided through this API call), domain controllers will be added or removed. It may take up to 45 minutes for any new domain controllers to become fully active once the requested number of domain controllers is updated. During this time, you cannot make another update request.
updateNumberOfDomainControllersAsync
in interface AWSDirectoryServiceAsync
public Future<UpdateNumberOfDomainControllersResult> updateNumberOfDomainControllersAsync(UpdateNumberOfDomainControllersRequest request, AsyncHandler<UpdateNumberOfDomainControllersRequest,UpdateNumberOfDomainControllersResult> asyncHandler)
AWSDirectoryServiceAsync
Adds or removes domain controllers to or from the directory. Based on the difference between current value and new value (provided through this API call), domain controllers will be added or removed. It may take up to 45 minutes for any new domain controllers to become fully active once the requested number of domain controllers is updated. During this time, you cannot make another update request.
updateNumberOfDomainControllersAsync
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 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 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 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 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
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.