@ThreadSafe public class AWSDirectoryServiceAsyncClient extends AWSDirectoryServiceClient implements AWSDirectoryServiceAsync
AsyncHandler
can be used to
receive notification when an asynchronous operation completes.
This is the AWS Directory Service API Reference. This guide provides detailed information about AWS Directory Service operations, data types, parameters, and errors.
LOGGING_AWS_REQUEST_METRIC
Constructor and Description |
---|
AWSDirectoryServiceAsyncClient()
Constructs a new asynchronous client to invoke service methods on
Directory Service.
|
AWSDirectoryServiceAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on
Directory Service using the specified AWS account credentials.
|
AWSDirectoryServiceAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
Directory Service using the specified AWS account credentials, executor
service, and client configuration options.
|
AWSDirectoryServiceAsyncClient(AWSCredentials awsCredentials,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
Directory Service using the specified AWS account credentials and
executor service.
|
AWSDirectoryServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new asynchronous client to invoke service methods on
Directory Service using the specified AWS account credentials provider.
|
AWSDirectoryServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on
Directory Service using the provided AWS account credentials provider and
client configuration options.
|
AWSDirectoryServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
Directory Service using the specified AWS account credentials provider,
executor service, and client configuration options.
|
AWSDirectoryServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
Directory Service using the specified AWS account credentials provider
and executor service.
|
AWSDirectoryServiceAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on
Directory Service.
|
connectDirectory, createAlias, createComputer, createConditionalForwarder, createDirectory, createMicrosoftAD, createSnapshot, createTrust, deleteConditionalForwarder, deleteDirectory, deleteSnapshot, deleteTrust, deregisterEventTopic, describeConditionalForwarders, describeDirectories, describeDirectories, describeEventTopics, describeSnapshots, describeSnapshots, describeTrusts, disableRadius, disableSso, enableRadius, enableSso, getCachedResponseMetadata, getDirectoryLimits, getDirectoryLimits, getSnapshotLimits, registerEventTopic, restoreFromSnapshot, updateConditionalForwarder, updateRadius, verifyTrust
addRequestHandler, addRequestHandler, configureRegion, getEndpointPrefix, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerRegionOverride, getTimeOffset, removeRequestHandler, removeRequestHandler, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
connectDirectory, createAlias, createComputer, createConditionalForwarder, createDirectory, createMicrosoftAD, createSnapshot, createTrust, deleteConditionalForwarder, deleteDirectory, deleteSnapshot, deleteTrust, deregisterEventTopic, describeConditionalForwarders, describeDirectories, describeDirectories, describeEventTopics, describeSnapshots, describeSnapshots, describeTrusts, disableRadius, disableSso, enableRadius, enableSso, getCachedResponseMetadata, getDirectoryLimits, getDirectoryLimits, getSnapshotLimits, registerEventTopic, restoreFromSnapshot, setEndpoint, setRegion, updateConditionalForwarder, updateRadius, verifyTrust
public AWSDirectoryServiceAsyncClient()
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
public AWSDirectoryServiceAsyncClient(ClientConfiguration clientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing
a number of threads equal to the maximum number of concurrent connections
configured via ClientConfiguration.getMaxConnections()
.
clientConfiguration
- The client configuration options controlling how this client
connects to Directory Service (ex: proxy settings, retry counts,
etc).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
public AWSDirectoryServiceAsyncClient(AWSCredentials awsCredentials)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentials
- The AWS credentials (access key ID and secret key) to use when
authenticating with AWS services.Executors.newFixedThreadPool(int)
public AWSDirectoryServiceAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
awsCredentials
- The AWS credentials (access key ID and secret key) to use when
authenticating with AWS services.executorService
- The executor service by which all asynchronous requests will be
executed.public AWSDirectoryServiceAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
awsCredentials
- The AWS credentials (access key ID and secret key) to use when
authenticating with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings,
etc).executorService
- The executor service by which all asynchronous requests will be
executed.public AWSDirectoryServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to
authenticate requests with AWS services.Executors.newFixedThreadPool(int)
public AWSDirectoryServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing
a number of threads equal to the maximum number of concurrent connections
configured via ClientConfiguration.getMaxConnections()
.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to
authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings,
etc).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
public AWSDirectoryServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to
authenticate requests with AWS services.executorService
- The executor service by which all asynchronous requests will be
executed.public AWSDirectoryServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to
authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings,
etc).executorService
- The executor service by which all asynchronous requests will be
executed.public ExecutorService getExecutorService()
public Future<ConnectDirectoryResult> connectDirectoryAsync(ConnectDirectoryRequest request)
AWSDirectoryServiceAsync
Creates an AD Connector to connect to an on-premises directory.
connectDirectoryAsync
in interface AWSDirectoryServiceAsync
request
- Contains the inputs for the ConnectDirectory operation.public Future<ConnectDirectoryResult> connectDirectoryAsync(ConnectDirectoryRequest request, AsyncHandler<ConnectDirectoryRequest,ConnectDirectoryResult> asyncHandler)
AWSDirectoryServiceAsync
Creates an AD Connector to connect to an on-premises directory.
connectDirectoryAsync
in interface AWSDirectoryServiceAsync
request
- Contains the inputs for the ConnectDirectory operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public 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.
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.
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
createMicrosoftADAsync
in interface AWSDirectoryServiceAsync
request
- Creates a Microsoft AD in the AWS cloud.public Future<CreateMicrosoftADResult> createMicrosoftADAsync(CreateMicrosoftADRequest request, AsyncHandler<CreateMicrosoftADRequest,CreateMicrosoftADResult> asyncHandler)
AWSDirectoryServiceAsync
createMicrosoftADAsync
in interface AWSDirectoryServiceAsync
request
- Creates a Microsoft AD in the AWS cloud.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public 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
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
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.
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.
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
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
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
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
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<DescribeEventTopicsResult> describeEventTopicsAsync(DescribeEventTopicsRequest request)
AWSDirectoryServiceAsync
Obtains information about which SNS topics receive status messages from the specified directory.
If no input parameters are provided, such as DirectoryId or TopicName, this request describes all of the associations in the account.
describeEventTopicsAsync
in interface AWSDirectoryServiceAsync
public Future<DescribeEventTopicsResult> describeEventTopicsAsync(DescribeEventTopicsRequest request, AsyncHandler<DescribeEventTopicsRequest,DescribeEventTopicsResult> asyncHandler)
AWSDirectoryServiceAsync
Obtains information about which SNS topics receive status messages from the specified directory.
If no input parameters are provided, such as DirectoryId or TopicName, this request describes all of the associations in the account.
describeEventTopicsAsync
in interface AWSDirectoryServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public 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<RegisterEventTopicResult> registerEventTopicAsync(RegisterEventTopicRequest request)
AWSDirectoryServiceAsync
Associates a directory with an SNS topic. This establishes the directory as a publisher to the specified SNS topic. You can then receive email or text (SMS) messages when the status of your directory changes. You get notified if your directory goes from an Active status to an Impaired or Inoperable status. You also receive a notification when the directory returns to an Active status.
registerEventTopicAsync
in interface AWSDirectoryServiceAsync
public Future<RegisterEventTopicResult> registerEventTopicAsync(RegisterEventTopicRequest request, AsyncHandler<RegisterEventTopicRequest,RegisterEventTopicResult> asyncHandler)
AWSDirectoryServiceAsync
Associates a directory with an SNS topic. This establishes the directory as a publisher to the specified SNS topic. You can then receive email or text (SMS) messages when the status of your directory changes. You get notified if your directory goes from an Active status to an Impaired or Inoperable status. You also receive a notification when the directory returns to an Active status.
registerEventTopicAsync
in interface AWSDirectoryServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public 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<UpdateConditionalForwarderResult> updateConditionalForwarderAsync(UpdateConditionalForwarderRequest request)
AWSDirectoryServiceAsync
Updates a conditional forwarder that has been set up for your AWS directory.
updateConditionalForwarderAsync
in interface AWSDirectoryServiceAsync
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
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.