@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.
Directory Service is a web service that makes it easy for you to setup and run directories in the Amazon Web Services cloud, or connect your Amazon Web Services resources with an existing self-managed Microsoft Active Directory. This guide provides detailed information about Directory Service operations, data types, parameters, and errors. For information about Directory Services features, see Directory Service and the Directory Service Administration Guide.
Amazon Web Services 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 Directory Service and other Amazon Web Services services. For more information about the Amazon Web Services 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.
|
acceptSharedDirectory, addIpRoutes, addRegion, addTagsToResource, builder, cancelSchemaExtension, connectDirectory, createAlias, createComputer, createConditionalForwarder, createDirectory, createLogSubscription, createMicrosoftAD, createSnapshot, createTrust, deleteConditionalForwarder, deleteDirectory, deleteLogSubscription, deleteSnapshot, deleteTrust, deregisterCertificate, deregisterEventTopic, describeCertificate, describeClientAuthenticationSettings, describeConditionalForwarders, describeDirectories, describeDirectories, describeDomainControllers, describeEventTopics, describeLDAPSSettings, describeRegions, describeSettings, describeSharedDirectories, describeSnapshots, describeSnapshots, describeTrusts, describeUpdateDirectory, disableClientAuthentication, disableLDAPS, disableRadius, disableSso, enableClientAuthentication, enableLDAPS, enableRadius, enableSso, getCachedResponseMetadata, getDirectoryLimits, getDirectoryLimits, getSnapshotLimits, listCertificates, listIpRoutes, listLogSubscriptions, listSchemaExtensions, listTagsForResource, registerCertificate, registerEventTopic, rejectSharedDirectory, removeIpRoutes, removeRegion, removeTagsFromResource, resetUserPassword, restoreFromSnapshot, shareDirectory, startSchemaExtension, unshareDirectory, updateConditionalForwarder, updateDirectorySetup, updateNumberOfDomainControllers, updateRadius, updateSettings, updateTrust, verifyTrust
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, 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
acceptSharedDirectory, addIpRoutes, addRegion, addTagsToResource, cancelSchemaExtension, connectDirectory, createAlias, createComputer, createConditionalForwarder, createDirectory, createLogSubscription, createMicrosoftAD, createSnapshot, createTrust, deleteConditionalForwarder, deleteDirectory, deleteLogSubscription, deleteSnapshot, deleteTrust, deregisterCertificate, deregisterEventTopic, describeCertificate, describeClientAuthenticationSettings, describeConditionalForwarders, describeDirectories, describeDirectories, describeDomainControllers, describeEventTopics, describeLDAPSSettings, describeRegions, describeSettings, describeSharedDirectories, describeSnapshots, describeSnapshots, describeTrusts, describeUpdateDirectory, disableClientAuthentication, disableLDAPS, disableRadius, disableSso, enableClientAuthentication, enableLDAPS, enableRadius, enableSso, getCachedResponseMetadata, getDirectoryLimits, getDirectoryLimits, getSnapshotLimits, listCertificates, listIpRoutes, listLogSubscriptions, listSchemaExtensions, listTagsForResource, registerCertificate, registerEventTopic, rejectSharedDirectory, removeIpRoutes, removeRegion, removeTagsFromResource, resetUserPassword, restoreFromSnapshot, setEndpoint, setRegion, shareDirectory, startSchemaExtension, unshareDirectory, updateConditionalForwarder, updateDirectorySetup, updateNumberOfDomainControllers, updateRadius, updateSettings, updateTrust, 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<AcceptSharedDirectoryResult> acceptSharedDirectoryAsync(AcceptSharedDirectoryRequest request)
AWSDirectoryServiceAsync
Accepts a directory sharing request that was sent from the directory owner account.
acceptSharedDirectoryAsync
in interface AWSDirectoryServiceAsync
public Future<AcceptSharedDirectoryResult> acceptSharedDirectoryAsync(AcceptSharedDirectoryRequest request, AsyncHandler<AcceptSharedDirectoryRequest,AcceptSharedDirectoryResult> asyncHandler)
AWSDirectoryServiceAsync
Accepts a directory sharing request that was sent from the directory owner account.
acceptSharedDirectoryAsync
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<AddIpRoutesResult> addIpRoutesAsync(AddIpRoutesRequest request)
AWSDirectoryServiceAsync
If the DNS server for your self-managed 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 Amazon Web Services 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 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 self-managed 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 Amazon Web Services 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 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<AddRegionResult> addRegionAsync(AddRegionRequest request)
AWSDirectoryServiceAsync
Adds two domain controllers in the specified Region for the specified directory.
addRegionAsync
in interface AWSDirectoryServiceAsync
public Future<AddRegionResult> addRegionAsync(AddRegionRequest request, AsyncHandler<AddRegionRequest,AddRegionResult> asyncHandler)
AWSDirectoryServiceAsync
Adds two domain controllers in the specified Region for the specified directory.
addRegionAsync
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 a self-managed 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 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 a self-managed 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 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 an Active Directory computer object in the specified 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 an Active Directory computer object in the specified 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 Amazon Web Services 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 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 Amazon Web Services 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 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. For more information, see Simple Active Directory in the Directory Service Admin Guide.
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 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. For more information, see Simple Active Directory in the Directory Service Admin Guide.
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 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<CreateLogSubscriptionResult> createLogSubscriptionAsync(CreateLogSubscriptionRequest request)
AWSDirectoryServiceAsync
Creates a subscription to forward real-time Directory Service domain controller security logs to the specified Amazon CloudWatch log group in your Amazon Web Services account.
createLogSubscriptionAsync
in interface AWSDirectoryServiceAsync
public Future<CreateLogSubscriptionResult> createLogSubscriptionAsync(CreateLogSubscriptionRequest request, AsyncHandler<CreateLogSubscriptionRequest,CreateLogSubscriptionResult> asyncHandler)
AWSDirectoryServiceAsync
Creates a subscription to forward real-time Directory Service domain controller security logs to the specified Amazon CloudWatch log group in your Amazon Web Services account.
createLogSubscriptionAsync
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<CreateMicrosoftADResult> createMicrosoftADAsync(CreateMicrosoftADRequest request)
AWSDirectoryServiceAsync
Creates a Microsoft AD directory in the Amazon Web Services Cloud. For more information, see Managed Microsoft AD in the Directory Service Admin Guide.
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 Directory Service API Permissions: Actions, Resources, and Conditions Reference.
createMicrosoftADAsync
in interface AWSDirectoryServiceAsync
request
- Creates an Managed Microsoft AD directory.public Future<CreateMicrosoftADResult> createMicrosoftADAsync(CreateMicrosoftADRequest request, AsyncHandler<CreateMicrosoftADRequest,CreateMicrosoftADResult> asyncHandler)
AWSDirectoryServiceAsync
Creates a Microsoft AD directory in the Amazon Web Services Cloud. For more information, see Managed Microsoft AD in the Directory Service Admin Guide.
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 Directory Service API Permissions: Actions, Resources, and Conditions Reference.
createMicrosoftADAsync
in interface AWSDirectoryServiceAsync
request
- Creates an Managed Microsoft AD directory.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 Amazon Web Services 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 Amazon Web Services 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
Directory Service for Microsoft Active Directory allows you to configure trust relationships. For example, you can establish a trust between your Managed Microsoft AD directory, and your existing self-managed 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 Amazon Web Services side of a trust relationship between an Managed Microsoft AD directory and an external domain. You can create either a forest trust or an external trust.
createTrustAsync
in interface AWSDirectoryServiceAsync
request
- Directory Service for Microsoft Active Directory allows you to configure trust relationships. For example,
you can establish a trust between your Managed Microsoft AD directory, and your existing self-managed
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 Amazon Web Services side of a trust relationship between an Managed Microsoft AD directory and an external domain.
public Future<CreateTrustResult> createTrustAsync(CreateTrustRequest request, AsyncHandler<CreateTrustRequest,CreateTrustResult> asyncHandler)
AWSDirectoryServiceAsync
Directory Service for Microsoft Active Directory allows you to configure trust relationships. For example, you can establish a trust between your Managed Microsoft AD directory, and your existing self-managed 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 Amazon Web Services side of a trust relationship between an Managed Microsoft AD directory and an external domain. You can create either a forest trust or an external trust.
createTrustAsync
in interface AWSDirectoryServiceAsync
request
- Directory Service for Microsoft Active Directory allows you to configure trust relationships. For example,
you can establish a trust between your Managed Microsoft AD directory, and your existing self-managed
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 Amazon Web Services side of a trust relationship between an Managed Microsoft AD directory 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 Amazon Web Services 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 Amazon Web Services 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 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 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 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 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<DeleteLogSubscriptionResult> deleteLogSubscriptionAsync(DeleteLogSubscriptionRequest request)
AWSDirectoryServiceAsync
Deletes the specified log subscription.
deleteLogSubscriptionAsync
in interface AWSDirectoryServiceAsync
public Future<DeleteLogSubscriptionResult> deleteLogSubscriptionAsync(DeleteLogSubscriptionRequest request, AsyncHandler<DeleteLogSubscriptionRequest,DeleteLogSubscriptionResult> asyncHandler)
AWSDirectoryServiceAsync
Deletes the specified log subscription.
deleteLogSubscriptionAsync
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<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 Managed Microsoft AD directory and an external domain.
deleteTrustAsync
in interface AWSDirectoryServiceAsync
request
- Deletes the local side of an existing trust relationship between the Managed Microsoft AD directory and
the external domain.public Future<DeleteTrustResult> deleteTrustAsync(DeleteTrustRequest request, AsyncHandler<DeleteTrustRequest,DeleteTrustResult> asyncHandler)
AWSDirectoryServiceAsync
Deletes an existing trust relationship between your Managed Microsoft AD directory and an external domain.
deleteTrustAsync
in interface AWSDirectoryServiceAsync
request
- Deletes the local side of an existing trust relationship between the Managed Microsoft AD directory 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<DeregisterCertificateResult> deregisterCertificateAsync(DeregisterCertificateRequest request)
AWSDirectoryServiceAsync
Deletes from the system the certificate that was registered for secure LDAP or client certificate authentication.
deregisterCertificateAsync
in interface AWSDirectoryServiceAsync
public Future<DeregisterCertificateResult> deregisterCertificateAsync(DeregisterCertificateRequest request, AsyncHandler<DeregisterCertificateRequest,DeregisterCertificateResult> asyncHandler)
AWSDirectoryServiceAsync
Deletes from the system the certificate that was registered for secure LDAP or client certificate authentication.
deregisterCertificateAsync
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<DeregisterEventTopicResult> deregisterEventTopicAsync(DeregisterEventTopicRequest request)
AWSDirectoryServiceAsync
Removes the specified directory as a publisher to the specified Amazon SNS topic.
deregisterEventTopicAsync
in interface AWSDirectoryServiceAsync
request
- Removes the specified directory as a publisher to the specified Amazon SNS topic.public Future<DeregisterEventTopicResult> deregisterEventTopicAsync(DeregisterEventTopicRequest request, AsyncHandler<DeregisterEventTopicRequest,DeregisterEventTopicResult> asyncHandler)
AWSDirectoryServiceAsync
Removes the specified directory as a publisher to the specified Amazon SNS topic.
deregisterEventTopicAsync
in interface AWSDirectoryServiceAsync
request
- Removes the specified directory as a publisher to the specified Amazon 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<DescribeCertificateResult> describeCertificateAsync(DescribeCertificateRequest request)
AWSDirectoryServiceAsync
Displays information about the certificate registered for secure LDAP or client certificate authentication.
describeCertificateAsync
in interface AWSDirectoryServiceAsync
public Future<DescribeCertificateResult> describeCertificateAsync(DescribeCertificateRequest request, AsyncHandler<DescribeCertificateRequest,DescribeCertificateResult> asyncHandler)
AWSDirectoryServiceAsync
Displays information about the certificate registered for secure LDAP or client certificate authentication.
describeCertificateAsync
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<DescribeClientAuthenticationSettingsResult> describeClientAuthenticationSettingsAsync(DescribeClientAuthenticationSettingsRequest request)
AWSDirectoryServiceAsync
Retrieves information about the type of client authentication for the specified directory, if the type is
specified. If no type is specified, information about all client authentication types that are supported for the
specified directory is retrieved. Currently, only SmartCard
is supported.
describeClientAuthenticationSettingsAsync
in interface AWSDirectoryServiceAsync
public Future<DescribeClientAuthenticationSettingsResult> describeClientAuthenticationSettingsAsync(DescribeClientAuthenticationSettingsRequest request, AsyncHandler<DescribeClientAuthenticationSettingsRequest,DescribeClientAuthenticationSettingsResult> asyncHandler)
AWSDirectoryServiceAsync
Retrieves information about the type of client authentication for the specified directory, if the type is
specified. If no type is specified, information about all client authentication types that are supported for the
specified directory is retrieved. Currently, only SmartCard
is supported.
describeClientAuthenticationSettingsAsync
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<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 Amazon 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 Amazon 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<DescribeLDAPSSettingsResult> describeLDAPSSettingsAsync(DescribeLDAPSSettingsRequest request)
AWSDirectoryServiceAsync
Describes the status of LDAP security for the specified directory.
describeLDAPSSettingsAsync
in interface AWSDirectoryServiceAsync
public Future<DescribeLDAPSSettingsResult> describeLDAPSSettingsAsync(DescribeLDAPSSettingsRequest request, AsyncHandler<DescribeLDAPSSettingsRequest,DescribeLDAPSSettingsResult> asyncHandler)
AWSDirectoryServiceAsync
Describes the status of LDAP security for the specified directory.
describeLDAPSSettingsAsync
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<DescribeRegionsResult> describeRegionsAsync(DescribeRegionsRequest request)
AWSDirectoryServiceAsync
Provides information about the Regions that are configured for multi-Region replication.
describeRegionsAsync
in interface AWSDirectoryServiceAsync
public Future<DescribeRegionsResult> describeRegionsAsync(DescribeRegionsRequest request, AsyncHandler<DescribeRegionsRequest,DescribeRegionsResult> asyncHandler)
AWSDirectoryServiceAsync
Provides information about the Regions that are configured for multi-Region replication.
describeRegionsAsync
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<DescribeSettingsResult> describeSettingsAsync(DescribeSettingsRequest request)
AWSDirectoryServiceAsync
Retrieves information about the configurable settings for the specified directory.
describeSettingsAsync
in interface AWSDirectoryServiceAsync
public Future<DescribeSettingsResult> describeSettingsAsync(DescribeSettingsRequest request, AsyncHandler<DescribeSettingsRequest,DescribeSettingsResult> asyncHandler)
AWSDirectoryServiceAsync
Retrieves information about the configurable settings for the specified directory.
describeSettingsAsync
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<DescribeSharedDirectoriesResult> describeSharedDirectoriesAsync(DescribeSharedDirectoriesRequest request)
AWSDirectoryServiceAsync
Returns the shared directories in your account.
describeSharedDirectoriesAsync
in interface AWSDirectoryServiceAsync
public Future<DescribeSharedDirectoriesResult> describeSharedDirectoriesAsync(DescribeSharedDirectoriesRequest request, AsyncHandler<DescribeSharedDirectoriesRequest,DescribeSharedDirectoriesResult> asyncHandler)
AWSDirectoryServiceAsync
Returns the shared directories in your account.
describeSharedDirectoriesAsync
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<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 Managed Microsoft AD directory. If no input parameters
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 Managed Microsoft AD directory. If no input parameters
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<DescribeUpdateDirectoryResult> describeUpdateDirectoryAsync(DescribeUpdateDirectoryRequest request)
AWSDirectoryServiceAsync
Describes the updates of a directory for a particular update type.
describeUpdateDirectoryAsync
in interface AWSDirectoryServiceAsync
public Future<DescribeUpdateDirectoryResult> describeUpdateDirectoryAsync(DescribeUpdateDirectoryRequest request, AsyncHandler<DescribeUpdateDirectoryRequest,DescribeUpdateDirectoryResult> asyncHandler)
AWSDirectoryServiceAsync
Describes the updates of a directory for a particular update type.
describeUpdateDirectoryAsync
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<DisableClientAuthenticationResult> disableClientAuthenticationAsync(DisableClientAuthenticationRequest request)
AWSDirectoryServiceAsync
Disables alternative client authentication methods for the specified directory.
disableClientAuthenticationAsync
in interface AWSDirectoryServiceAsync
public Future<DisableClientAuthenticationResult> disableClientAuthenticationAsync(DisableClientAuthenticationRequest request, AsyncHandler<DisableClientAuthenticationRequest,DisableClientAuthenticationResult> asyncHandler)
AWSDirectoryServiceAsync
Disables alternative client authentication methods for the specified directory.
disableClientAuthenticationAsync
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<DisableLDAPSResult> disableLDAPSAsync(DisableLDAPSRequest request)
AWSDirectoryServiceAsync
Deactivates LDAP secure calls for the specified directory.
disableLDAPSAsync
in interface AWSDirectoryServiceAsync
public Future<DisableLDAPSResult> disableLDAPSAsync(DisableLDAPSRequest request, AsyncHandler<DisableLDAPSRequest,DisableLDAPSResult> asyncHandler)
AWSDirectoryServiceAsync
Deactivates LDAP secure calls for the specified directory.
disableLDAPSAsync
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<DisableRadiusResult> disableRadiusAsync(DisableRadiusRequest request)
AWSDirectoryServiceAsync
Disables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service (RADIUS) server for an AD Connector or Microsoft AD 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 or Microsoft AD 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<EnableClientAuthenticationResult> enableClientAuthenticationAsync(EnableClientAuthenticationRequest request)
AWSDirectoryServiceAsync
Enables alternative client authentication methods for the specified directory.
enableClientAuthenticationAsync
in interface AWSDirectoryServiceAsync
public Future<EnableClientAuthenticationResult> enableClientAuthenticationAsync(EnableClientAuthenticationRequest request, AsyncHandler<EnableClientAuthenticationRequest,EnableClientAuthenticationResult> asyncHandler)
AWSDirectoryServiceAsync
Enables alternative client authentication methods for the specified directory.
enableClientAuthenticationAsync
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<EnableLDAPSResult> enableLDAPSAsync(EnableLDAPSRequest request)
AWSDirectoryServiceAsync
Activates the switch for the specific directory to always use LDAP secure calls.
enableLDAPSAsync
in interface AWSDirectoryServiceAsync
public Future<EnableLDAPSResult> enableLDAPSAsync(EnableLDAPSRequest request, AsyncHandler<EnableLDAPSRequest,EnableLDAPSResult> asyncHandler)
AWSDirectoryServiceAsync
Activates the switch for the specific directory to always use LDAP secure calls.
enableLDAPSAsync
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<EnableRadiusResult> enableRadiusAsync(EnableRadiusRequest request)
AWSDirectoryServiceAsync
Enables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service (RADIUS) server for an AD Connector or Microsoft AD 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 or Microsoft AD 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. Single sign-on allows users in your directory to access certain Amazon Web Services services from a computer joined to the directory without having to enter their credentials separately.
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. Single sign-on allows users in your directory to access certain Amazon Web Services services from a computer joined to the directory without having to enter their credentials separately.
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<ListCertificatesResult> listCertificatesAsync(ListCertificatesRequest request)
AWSDirectoryServiceAsync
For the specified directory, lists all the certificates registered for a secure LDAP or client certificate authentication.
listCertificatesAsync
in interface AWSDirectoryServiceAsync
public Future<ListCertificatesResult> listCertificatesAsync(ListCertificatesRequest request, AsyncHandler<ListCertificatesRequest,ListCertificatesResult> asyncHandler)
AWSDirectoryServiceAsync
For the specified directory, lists all the certificates registered for a secure LDAP or client certificate authentication.
listCertificatesAsync
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<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<ListLogSubscriptionsResult> listLogSubscriptionsAsync(ListLogSubscriptionsRequest request)
AWSDirectoryServiceAsync
Lists the active log subscriptions for the Amazon Web Services account.
listLogSubscriptionsAsync
in interface AWSDirectoryServiceAsync
public Future<ListLogSubscriptionsResult> listLogSubscriptionsAsync(ListLogSubscriptionsRequest request, AsyncHandler<ListLogSubscriptionsRequest,ListLogSubscriptionsResult> asyncHandler)
AWSDirectoryServiceAsync
Lists the active log subscriptions for the Amazon Web Services account.
listLogSubscriptionsAsync
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<RegisterCertificateResult> registerCertificateAsync(RegisterCertificateRequest request)
AWSDirectoryServiceAsync
Registers a certificate for a secure LDAP or client certificate authentication.
registerCertificateAsync
in interface AWSDirectoryServiceAsync
public Future<RegisterCertificateResult> registerCertificateAsync(RegisterCertificateRequest request, AsyncHandler<RegisterCertificateRequest,RegisterCertificateResult> asyncHandler)
AWSDirectoryServiceAsync
Registers a certificate for a secure LDAP or client certificate authentication.
registerCertificateAsync
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 Amazon SNS topic. This establishes the directory as a publisher to the specified Amazon 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 Amazon SNS topic. This establishes the directory as a publisher to the specified Amazon 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<RejectSharedDirectoryResult> rejectSharedDirectoryAsync(RejectSharedDirectoryRequest request)
AWSDirectoryServiceAsync
Rejects a directory sharing request that was sent from the directory owner account.
rejectSharedDirectoryAsync
in interface AWSDirectoryServiceAsync
public Future<RejectSharedDirectoryResult> rejectSharedDirectoryAsync(RejectSharedDirectoryRequest request, AsyncHandler<RejectSharedDirectoryRequest,RejectSharedDirectoryResult> asyncHandler)
AWSDirectoryServiceAsync
Rejects a directory sharing request that was sent from the directory owner account.
rejectSharedDirectoryAsync
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<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<RemoveRegionResult> removeRegionAsync(RemoveRegionRequest request)
AWSDirectoryServiceAsync
Stops all replication and removes the domain controllers from the specified Region. You cannot remove the primary
Region with this operation. Instead, use the DeleteDirectory
API.
removeRegionAsync
in interface AWSDirectoryServiceAsync
public Future<RemoveRegionResult> removeRegionAsync(RemoveRegionRequest request, AsyncHandler<RemoveRegionRequest,RemoveRegionResult> asyncHandler)
AWSDirectoryServiceAsync
Stops all replication and removes the domain controllers from the specified Region. You cannot remove the primary
Region with this operation. Instead, use the DeleteDirectory
API.
removeRegionAsync
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<ResetUserPasswordResult> resetUserPasswordAsync(ResetUserPasswordRequest request)
AWSDirectoryServiceAsync
Resets the password for any user in your Managed Microsoft AD or Simple AD directory.
You can reset the password for any user in your directory with the following exceptions:
For Simple AD, you cannot reset the password for any user that is a member of either the Domain Admins or Enterprise Admins group except for the administrator user.
For Managed Microsoft AD, you can only reset the password for a user that is in an OU based off of the NetBIOS name that you typed when you created your directory. For example, you cannot reset the password for a user in the Amazon Web Services Reserved OU. For more information about the OU structure for an Managed Microsoft AD directory, see What Gets Created in the Directory Service Administration Guide.
resetUserPasswordAsync
in interface AWSDirectoryServiceAsync
public Future<ResetUserPasswordResult> resetUserPasswordAsync(ResetUserPasswordRequest request, AsyncHandler<ResetUserPasswordRequest,ResetUserPasswordResult> asyncHandler)
AWSDirectoryServiceAsync
Resets the password for any user in your Managed Microsoft AD or Simple AD directory.
You can reset the password for any user in your directory with the following exceptions:
For Simple AD, you cannot reset the password for any user that is a member of either the Domain Admins or Enterprise Admins group except for the administrator user.
For Managed Microsoft AD, you can only reset the password for a user that is in an OU based off of the NetBIOS name that you typed when you created your directory. For example, you cannot reset the password for a user in the Amazon Web Services Reserved OU. For more information about the OU structure for an Managed Microsoft AD directory, see What Gets Created in the Directory Service Administration Guide.
resetUserPasswordAsync
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<ShareDirectoryResult> shareDirectoryAsync(ShareDirectoryRequest request)
AWSDirectoryServiceAsync
Shares a specified directory (DirectoryId
) in your Amazon Web Services account (directory owner)
with another Amazon Web Services account (directory consumer). With this operation you can use your directory
from any Amazon Web Services account and from any Amazon VPC within an Amazon Web Services Region.
When you share your Managed Microsoft AD directory, Directory Service creates a shared directory in the directory consumer account. This shared directory contains the metadata to provide access to the directory within the directory owner account. The shared directory is visible in all VPCs in the directory consumer account.
The ShareMethod
parameter determines whether the specified directory can be shared between Amazon
Web Services accounts inside the same Amazon Web Services organization (ORGANIZATIONS
). It also
determines whether you can share the directory with any other Amazon Web Services account either inside or
outside of the organization (HANDSHAKE
).
The ShareNotes
parameter is only used when HANDSHAKE
is called, which sends a directory
sharing request to the directory consumer.
shareDirectoryAsync
in interface AWSDirectoryServiceAsync
public Future<ShareDirectoryResult> shareDirectoryAsync(ShareDirectoryRequest request, AsyncHandler<ShareDirectoryRequest,ShareDirectoryResult> asyncHandler)
AWSDirectoryServiceAsync
Shares a specified directory (DirectoryId
) in your Amazon Web Services account (directory owner)
with another Amazon Web Services account (directory consumer). With this operation you can use your directory
from any Amazon Web Services account and from any Amazon VPC within an Amazon Web Services Region.
When you share your Managed Microsoft AD directory, Directory Service creates a shared directory in the directory consumer account. This shared directory contains the metadata to provide access to the directory within the directory owner account. The shared directory is visible in all VPCs in the directory consumer account.
The ShareMethod
parameter determines whether the specified directory can be shared between Amazon
Web Services accounts inside the same Amazon Web Services organization (ORGANIZATIONS
). It also
determines whether you can share the directory with any other Amazon Web Services account either inside or
outside of the organization (HANDSHAKE
).
The ShareNotes
parameter is only used when HANDSHAKE
is called, which sends a directory
sharing request to the directory consumer.
shareDirectoryAsync
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<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<UnshareDirectoryResult> unshareDirectoryAsync(UnshareDirectoryRequest request)
AWSDirectoryServiceAsync
Stops the directory sharing between the directory owner and consumer accounts.
unshareDirectoryAsync
in interface AWSDirectoryServiceAsync
public Future<UnshareDirectoryResult> unshareDirectoryAsync(UnshareDirectoryRequest request, AsyncHandler<UnshareDirectoryRequest,UnshareDirectoryResult> asyncHandler)
AWSDirectoryServiceAsync
Stops the directory sharing between the directory owner and consumer accounts.
unshareDirectoryAsync
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 Amazon Web Services 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 Amazon Web Services 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<UpdateDirectorySetupResult> updateDirectorySetupAsync(UpdateDirectorySetupRequest request)
AWSDirectoryServiceAsync
Updates the directory for a particular update type.
updateDirectorySetupAsync
in interface AWSDirectoryServiceAsync
public Future<UpdateDirectorySetupResult> updateDirectorySetupAsync(UpdateDirectorySetupRequest request, AsyncHandler<UpdateDirectorySetupRequest,UpdateDirectorySetupResult> asyncHandler)
AWSDirectoryServiceAsync
Updates the directory for a particular update type.
updateDirectorySetupAsync
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<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 or Microsoft AD 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 or Microsoft AD 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<UpdateSettingsResult> updateSettingsAsync(UpdateSettingsRequest request)
AWSDirectoryServiceAsync
Updates the configurable settings for the specified directory.
updateSettingsAsync
in interface AWSDirectoryServiceAsync
public Future<UpdateSettingsResult> updateSettingsAsync(UpdateSettingsRequest request, AsyncHandler<UpdateSettingsRequest,UpdateSettingsResult> asyncHandler)
AWSDirectoryServiceAsync
Updates the configurable settings for the specified directory.
updateSettingsAsync
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<UpdateTrustResult> updateTrustAsync(UpdateTrustRequest request)
AWSDirectoryServiceAsync
Updates the trust that has been set up between your Managed Microsoft AD directory and an self-managed Active Directory.
updateTrustAsync
in interface AWSDirectoryServiceAsync
public Future<UpdateTrustResult> updateTrustAsync(UpdateTrustRequest request, AsyncHandler<UpdateTrustRequest,UpdateTrustResult> asyncHandler)
AWSDirectoryServiceAsync
Updates the trust that has been set up between your Managed Microsoft AD directory and an self-managed Active Directory.
updateTrustAsync
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<VerifyTrustResult> verifyTrustAsync(VerifyTrustRequest request)
AWSDirectoryServiceAsync
Directory Service for Microsoft Active Directory allows you to configure and verify trust relationships.
This action verifies a trust relationship between your Managed Microsoft AD directory and an external domain.
verifyTrustAsync
in interface AWSDirectoryServiceAsync
request
- Initiates the verification of an existing trust relationship between an Managed Microsoft AD directory and
an external domain.public Future<VerifyTrustResult> verifyTrustAsync(VerifyTrustRequest request, AsyncHandler<VerifyTrustRequest,VerifyTrustResult> asyncHandler)
AWSDirectoryServiceAsync
Directory Service for Microsoft Active Directory allows you to configure and verify trust relationships.
This action verifies a trust relationship between your Managed Microsoft AD directory and an external domain.
verifyTrustAsync
in interface AWSDirectoryServiceAsync
request
- Initiates the verification of an existing trust relationship between an Managed Microsoft AD directory 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 AWSDirectoryServiceClient