Class AWSDirectoryServiceAsyncClient
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceClient
-
- com.amazonaws.services.directory.AWSDirectoryServiceClient
-
- com.amazonaws.services.directory.AWSDirectoryServiceAsyncClient
-
- All Implemented Interfaces:
AWSDirectoryService
,AWSDirectoryServiceAsync
@ThreadSafe public class AWSDirectoryServiceAsyncClient extends AWSDirectoryServiceClient implements AWSDirectoryServiceAsync
Interface for accessing Directory Service asynchronously. Each asynchronous method will return a Java Future object representing the asynchronous operation; overloads which accept anAsyncHandler
can be used to receive notification when an asynchronous operation completes.AWS Directory Service This is the AWS Directory Service API Reference. This guide provides detailed information about AWS Directory Service operations, data types, parameters, and errors.
-
-
Field Summary
-
Fields inherited from class com.amazonaws.services.directory.AWSDirectoryServiceClient
configFactory
-
Fields inherited from class com.amazonaws.AmazonWebServiceClient
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset
-
-
Constructor Summary
Constructors Constructor 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(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(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(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on Directory Service.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Future<ConnectDirectoryResult>
connectDirectoryAsync(ConnectDirectoryRequest request)
Creates an AD Connector to connect to an on-premises directory.Future<ConnectDirectoryResult>
connectDirectoryAsync(ConnectDirectoryRequest request, AsyncHandler<ConnectDirectoryRequest,ConnectDirectoryResult> asyncHandler)
Creates an AD Connector to connect to an on-premises directory.Future<CreateAliasResult>
createAliasAsync(CreateAliasRequest request)
Creates an alias for a directory and assigns the alias to the directory.Future<CreateAliasResult>
createAliasAsync(CreateAliasRequest request, AsyncHandler<CreateAliasRequest,CreateAliasResult> asyncHandler)
Creates an alias for a directory and assigns the alias to the directory.Future<CreateComputerResult>
createComputerAsync(CreateComputerRequest request)
Creates a computer account in the specified directory, and joins the computer to the directory.Future<CreateComputerResult>
createComputerAsync(CreateComputerRequest request, AsyncHandler<CreateComputerRequest,CreateComputerResult> asyncHandler)
Creates a computer account in the specified directory, and joins the computer to the directory.Future<CreateConditionalForwarderResult>
createConditionalForwarderAsync(CreateConditionalForwarderRequest request)
Creates a conditional forwarder associated with your AWS directory.Future<CreateConditionalForwarderResult>
createConditionalForwarderAsync(CreateConditionalForwarderRequest request, AsyncHandler<CreateConditionalForwarderRequest,CreateConditionalForwarderResult> asyncHandler)
Creates a conditional forwarder associated with your AWS directory.Future<CreateDirectoryResult>
createDirectoryAsync(CreateDirectoryRequest request)
Creates a Simple AD directory.Future<CreateDirectoryResult>
createDirectoryAsync(CreateDirectoryRequest request, AsyncHandler<CreateDirectoryRequest,CreateDirectoryResult> asyncHandler)
Creates a Simple AD directory.Future<CreateMicrosoftADResult>
createMicrosoftADAsync(CreateMicrosoftADRequest request)
Creates a Microsoft AD in the AWS cloud.Future<CreateMicrosoftADResult>
createMicrosoftADAsync(CreateMicrosoftADRequest request, AsyncHandler<CreateMicrosoftADRequest,CreateMicrosoftADResult> asyncHandler)
Creates a Microsoft AD in the AWS cloud.Future<CreateSnapshotResult>
createSnapshotAsync(CreateSnapshotRequest request)
Creates a snapshot of a Simple AD or Microsoft AD directory in the AWS cloud.Future<CreateSnapshotResult>
createSnapshotAsync(CreateSnapshotRequest request, AsyncHandler<CreateSnapshotRequest,CreateSnapshotResult> asyncHandler)
Creates a snapshot of a Simple AD or Microsoft AD directory in the AWS cloud.Future<CreateTrustResult>
createTrustAsync(CreateTrustRequest request)
AWS Directory Service for Microsoft Active Directory allows you to configure trust relationships.Future<CreateTrustResult>
createTrustAsync(CreateTrustRequest request, AsyncHandler<CreateTrustRequest,CreateTrustResult> asyncHandler)
AWS Directory Service for Microsoft Active Directory allows you to configure trust relationships.Future<DeleteConditionalForwarderResult>
deleteConditionalForwarderAsync(DeleteConditionalForwarderRequest request)
Deletes a conditional forwarder that has been set up for your AWS directory.Future<DeleteConditionalForwarderResult>
deleteConditionalForwarderAsync(DeleteConditionalForwarderRequest request, AsyncHandler<DeleteConditionalForwarderRequest,DeleteConditionalForwarderResult> asyncHandler)
Deletes a conditional forwarder that has been set up for your AWS directory.Future<DeleteDirectoryResult>
deleteDirectoryAsync(DeleteDirectoryRequest request)
Deletes an AWS Directory Service directory.Future<DeleteDirectoryResult>
deleteDirectoryAsync(DeleteDirectoryRequest request, AsyncHandler<DeleteDirectoryRequest,DeleteDirectoryResult> asyncHandler)
Deletes an AWS Directory Service directory.Future<DeleteSnapshotResult>
deleteSnapshotAsync(DeleteSnapshotRequest request)
Deletes a directory snapshot.Future<DeleteSnapshotResult>
deleteSnapshotAsync(DeleteSnapshotRequest request, AsyncHandler<DeleteSnapshotRequest,DeleteSnapshotResult> asyncHandler)
Deletes a directory snapshot.Future<DeleteTrustResult>
deleteTrustAsync(DeleteTrustRequest request)
Deletes an existing trust relationship between your Microsoft AD in the AWS cloud and an external domain.Future<DeleteTrustResult>
deleteTrustAsync(DeleteTrustRequest request, AsyncHandler<DeleteTrustRequest,DeleteTrustResult> asyncHandler)
Deletes an existing trust relationship between your Microsoft AD in the AWS cloud and an external domain.Future<DeregisterEventTopicResult>
deregisterEventTopicAsync(DeregisterEventTopicRequest request)
Removes the specified directory as a publisher to the specified SNS topic.Future<DeregisterEventTopicResult>
deregisterEventTopicAsync(DeregisterEventTopicRequest request, AsyncHandler<DeregisterEventTopicRequest,DeregisterEventTopicResult> asyncHandler)
Removes the specified directory as a publisher to the specified SNS topic.Future<DescribeConditionalForwardersResult>
describeConditionalForwardersAsync(DescribeConditionalForwardersRequest request)
Obtains information about the conditional forwarders for this account.Future<DescribeConditionalForwardersResult>
describeConditionalForwardersAsync(DescribeConditionalForwardersRequest request, AsyncHandler<DescribeConditionalForwardersRequest,DescribeConditionalForwardersResult> asyncHandler)
Obtains information about the conditional forwarders for this account.Future<DescribeDirectoriesResult>
describeDirectoriesAsync()
Simplified method form for invoking the DescribeDirectories operation.Future<DescribeDirectoriesResult>
describeDirectoriesAsync(AsyncHandler<DescribeDirectoriesRequest,DescribeDirectoriesResult> asyncHandler)
Simplified method form for invoking the DescribeDirectories operation with an AsyncHandler.Future<DescribeDirectoriesResult>
describeDirectoriesAsync(DescribeDirectoriesRequest request)
Obtains information about the directories that belong to this account.Future<DescribeDirectoriesResult>
describeDirectoriesAsync(DescribeDirectoriesRequest request, AsyncHandler<DescribeDirectoriesRequest,DescribeDirectoriesResult> asyncHandler)
Obtains information about the directories that belong to this account.Future<DescribeEventTopicsResult>
describeEventTopicsAsync(DescribeEventTopicsRequest request)
Obtains information about which SNS topics receive status messages from the specified directory.Future<DescribeEventTopicsResult>
describeEventTopicsAsync(DescribeEventTopicsRequest request, AsyncHandler<DescribeEventTopicsRequest,DescribeEventTopicsResult> asyncHandler)
Obtains information about which SNS topics receive status messages from the specified directory.Future<DescribeSnapshotsResult>
describeSnapshotsAsync()
Simplified method form for invoking the DescribeSnapshots operation.Future<DescribeSnapshotsResult>
describeSnapshotsAsync(AsyncHandler<DescribeSnapshotsRequest,DescribeSnapshotsResult> asyncHandler)
Simplified method form for invoking the DescribeSnapshots operation with an AsyncHandler.Future<DescribeSnapshotsResult>
describeSnapshotsAsync(DescribeSnapshotsRequest request)
Obtains information about the directory snapshots that belong to this account.Future<DescribeSnapshotsResult>
describeSnapshotsAsync(DescribeSnapshotsRequest request, AsyncHandler<DescribeSnapshotsRequest,DescribeSnapshotsResult> asyncHandler)
Obtains information about the directory snapshots that belong to this account.Future<DescribeTrustsResult>
describeTrustsAsync(DescribeTrustsRequest request)
Obtains information about the trust relationships for this account.Future<DescribeTrustsResult>
describeTrustsAsync(DescribeTrustsRequest request, AsyncHandler<DescribeTrustsRequest,DescribeTrustsResult> asyncHandler)
Obtains information about the trust relationships for this account.Future<DisableRadiusResult>
disableRadiusAsync(DisableRadiusRequest request)
Disables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service (RADIUS) server for an AD Connector directory.Future<DisableRadiusResult>
disableRadiusAsync(DisableRadiusRequest request, AsyncHandler<DisableRadiusRequest,DisableRadiusResult> asyncHandler)
Disables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service (RADIUS) server for an AD Connector directory.Future<DisableSsoResult>
disableSsoAsync(DisableSsoRequest request)
Disables single-sign on for a directory.Future<DisableSsoResult>
disableSsoAsync(DisableSsoRequest request, AsyncHandler<DisableSsoRequest,DisableSsoResult> asyncHandler)
Disables single-sign on for a directory.Future<EnableRadiusResult>
enableRadiusAsync(EnableRadiusRequest request)
Enables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service (RADIUS) server for an AD Connector directory.Future<EnableRadiusResult>
enableRadiusAsync(EnableRadiusRequest request, AsyncHandler<EnableRadiusRequest,EnableRadiusResult> asyncHandler)
Enables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service (RADIUS) server for an AD Connector directory.Future<EnableSsoResult>
enableSsoAsync(EnableSsoRequest request)
Enables single-sign on for a directory.Future<EnableSsoResult>
enableSsoAsync(EnableSsoRequest request, AsyncHandler<EnableSsoRequest,EnableSsoResult> asyncHandler)
Enables single-sign on for a directory.Future<GetDirectoryLimitsResult>
getDirectoryLimitsAsync()
Simplified method form for invoking the GetDirectoryLimits operation.Future<GetDirectoryLimitsResult>
getDirectoryLimitsAsync(AsyncHandler<GetDirectoryLimitsRequest,GetDirectoryLimitsResult> asyncHandler)
Simplified method form for invoking the GetDirectoryLimits operation with an AsyncHandler.Future<GetDirectoryLimitsResult>
getDirectoryLimitsAsync(GetDirectoryLimitsRequest request)
Obtains directory limit information for the current region.Future<GetDirectoryLimitsResult>
getDirectoryLimitsAsync(GetDirectoryLimitsRequest request, AsyncHandler<GetDirectoryLimitsRequest,GetDirectoryLimitsResult> asyncHandler)
Obtains directory limit information for the current region.ExecutorService
getExecutorService()
Returns the executor service used by this client to execute async requests.Future<GetSnapshotLimitsResult>
getSnapshotLimitsAsync(GetSnapshotLimitsRequest request)
Obtains the manual snapshot limits for a directory.Future<GetSnapshotLimitsResult>
getSnapshotLimitsAsync(GetSnapshotLimitsRequest request, AsyncHandler<GetSnapshotLimitsRequest,GetSnapshotLimitsResult> asyncHandler)
Obtains the manual snapshot limits for a directory.Future<RegisterEventTopicResult>
registerEventTopicAsync(RegisterEventTopicRequest request)
Associates a directory with an SNS topic.Future<RegisterEventTopicResult>
registerEventTopicAsync(RegisterEventTopicRequest request, AsyncHandler<RegisterEventTopicRequest,RegisterEventTopicResult> asyncHandler)
Associates a directory with an SNS topic.Future<RestoreFromSnapshotResult>
restoreFromSnapshotAsync(RestoreFromSnapshotRequest request)
Restores a directory using an existing directory snapshot.Future<RestoreFromSnapshotResult>
restoreFromSnapshotAsync(RestoreFromSnapshotRequest request, AsyncHandler<RestoreFromSnapshotRequest,RestoreFromSnapshotResult> asyncHandler)
Restores a directory using an existing directory snapshot.void
shutdown()
Shuts down the client, releasing all managed resources.Future<UpdateConditionalForwarderResult>
updateConditionalForwarderAsync(UpdateConditionalForwarderRequest request)
Updates a conditional forwarder that has been set up for your AWS directory.Future<UpdateConditionalForwarderResult>
updateConditionalForwarderAsync(UpdateConditionalForwarderRequest request, AsyncHandler<UpdateConditionalForwarderRequest,UpdateConditionalForwarderResult> asyncHandler)
Updates a conditional forwarder that has been set up for your AWS directory.Future<UpdateRadiusResult>
updateRadiusAsync(UpdateRadiusRequest request)
Updates the Remote Authentication Dial In User Service (RADIUS) server information for an AD Connector directory.Future<UpdateRadiusResult>
updateRadiusAsync(UpdateRadiusRequest request, AsyncHandler<UpdateRadiusRequest,UpdateRadiusResult> asyncHandler)
Updates the Remote Authentication Dial In User Service (RADIUS) server information for an AD Connector directory.Future<VerifyTrustResult>
verifyTrustAsync(VerifyTrustRequest request)
AWS Directory Service for Microsoft Active Directory allows you to configure and verify trust relationships.Future<VerifyTrustResult>
verifyTrustAsync(VerifyTrustRequest request, AsyncHandler<VerifyTrustRequest,VerifyTrustResult> asyncHandler)
AWS Directory Service for Microsoft Active Directory allows you to configure and verify trust relationships.-
Methods inherited from class com.amazonaws.services.directory.AWSDirectoryServiceClient
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
-
Methods inherited from class com.amazonaws.AmazonWebServiceClient
addRequestHandler, addRequestHandler, beforeMarshalling, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, endClientExecution, endClientExecution, findRequestMetricCollector, getEndpointPrefix, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.amazonaws.services.directory.AWSDirectoryService
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
-
-
-
-
Constructor Detail
-
AWSDirectoryServiceAsyncClient
public AWSDirectoryServiceAsyncClient()
Constructs a new asynchronous client to invoke service methods on Directory Service. A credentials provider chain will be used that searches for credentials in this order:- Environment Variables - AWS_ACCESS_KEY_ID and AWS_SECRET_KEY
- Java System Properties - aws.accessKeyId and aws.secretKey
- Credential profiles file at the default location (~/.aws/credentials) shared by all AWS SDKs and the AWS CLI
- Instance profile credentials delivered through the Amazon EC2 metadata service
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).
-
AWSDirectoryServiceAsyncClient
public AWSDirectoryServiceAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on Directory Service. A credentials provider chain will be used that searches for credentials in this order:- Environment Variables - AWS_ACCESS_KEY_ID and AWS_SECRET_KEY
- Java System Properties - aws.accessKeyId and aws.secretKey
- Credential profiles file at the default location (~/.aws/credentials) shared by all AWS SDKs and the AWS CLI
- Instance profile credentials delivered through the Amazon EC2 metadata service
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()
.- Parameters:
clientConfiguration
- The client configuration options controlling how this client connects to Directory Service (ex: proxy settings, retry counts, etc).- See Also:
DefaultAWSCredentialsProviderChain
,Executors.newFixedThreadPool(int)
-
AWSDirectoryServiceAsyncClient
public AWSDirectoryServiceAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on Directory Service using the specified AWS account credentials.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).
- Parameters:
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.- See Also:
Executors.newFixedThreadPool(int)
-
AWSDirectoryServiceAsyncClient
public 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. Default client settings will be used.- Parameters:
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.
-
AWSDirectoryServiceAsyncClient
public 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.- Parameters:
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.
-
AWSDirectoryServiceAsyncClient
public AWSDirectoryServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new asynchronous client to invoke service methods on Directory Service using the specified AWS account credentials provider. Default client settings will be used.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).
- Parameters:
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.- See Also:
Executors.newFixedThreadPool(int)
-
AWSDirectoryServiceAsyncClient
public 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.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()
.- Parameters:
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).- See Also:
DefaultAWSCredentialsProviderChain
,Executors.newFixedThreadPool(int)
-
AWSDirectoryServiceAsyncClient
public 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. Default client settings will be used.- Parameters:
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.
-
AWSDirectoryServiceAsyncClient
public 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.- Parameters:
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.
-
-
Method Detail
-
getExecutorService
public ExecutorService getExecutorService()
Returns the executor service used by this client to execute async requests.- Returns:
- The executor service used by this client to execute async requests.
-
connectDirectoryAsync
public Future<ConnectDirectoryResult> connectDirectoryAsync(ConnectDirectoryRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Creates an AD Connector to connect to an on-premises directory.
- Specified by:
connectDirectoryAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the ConnectDirectory operation.- Returns:
- A Java Future containing the result of the ConnectDirectory operation returned by the service.
-
connectDirectoryAsync
public Future<ConnectDirectoryResult> connectDirectoryAsync(ConnectDirectoryRequest request, AsyncHandler<ConnectDirectoryRequest,ConnectDirectoryResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Creates an AD Connector to connect to an on-premises directory.
- Specified by:
connectDirectoryAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the ConnectDirectory operation returned by the service.
-
createAliasAsync
public Future<CreateAliasResult> createAliasAsync(CreateAliasRequest request)
Description copied from interface: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.
- Specified by:
createAliasAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the CreateAlias operation.- Returns:
- A Java Future containing the result of the CreateAlias operation returned by the service.
-
createAliasAsync
public Future<CreateAliasResult> createAliasAsync(CreateAliasRequest request, AsyncHandler<CreateAliasRequest,CreateAliasResult> asyncHandler)
Description copied from interface: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.
- Specified by:
createAliasAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the CreateAlias operation returned by the service.
-
createComputerAsync
public Future<CreateComputerResult> createComputerAsync(CreateComputerRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Creates a computer account in the specified directory, and joins the computer to the directory.
- Specified by:
createComputerAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the CreateComputer operation.- Returns:
- A Java Future containing the result of the CreateComputer operation returned by the service.
-
createComputerAsync
public Future<CreateComputerResult> createComputerAsync(CreateComputerRequest request, AsyncHandler<CreateComputerRequest,CreateComputerResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Creates a computer account in the specified directory, and joins the computer to the directory.
- Specified by:
createComputerAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the CreateComputer operation returned by the service.
-
createConditionalForwarderAsync
public Future<CreateConditionalForwarderResult> createConditionalForwarderAsync(CreateConditionalForwarderRequest request)
Description copied from interface: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.
- Specified by:
createConditionalForwarderAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the CreateConditionalForwarder operation returned by the service.
-
createConditionalForwarderAsync
public Future<CreateConditionalForwarderResult> createConditionalForwarderAsync(CreateConditionalForwarderRequest request, AsyncHandler<CreateConditionalForwarderRequest,CreateConditionalForwarderResult> asyncHandler)
Description copied from interface: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.
- Specified by:
createConditionalForwarderAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the CreateConditionalForwarder operation returned by the service.
-
createDirectoryAsync
public Future<CreateDirectoryResult> createDirectoryAsync(CreateDirectoryRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Creates a Simple AD directory.
- Specified by:
createDirectoryAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the CreateDirectory operation.- Returns:
- A Java Future containing the result of the CreateDirectory operation returned by the service.
-
createDirectoryAsync
public Future<CreateDirectoryResult> createDirectoryAsync(CreateDirectoryRequest request, AsyncHandler<CreateDirectoryRequest,CreateDirectoryResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Creates a Simple AD directory.
- Specified by:
createDirectoryAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the CreateDirectory operation returned by the service.
-
createMicrosoftADAsync
public Future<CreateMicrosoftADResult> createMicrosoftADAsync(CreateMicrosoftADRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Creates a Microsoft AD in the AWS cloud.- Specified by:
createMicrosoftADAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Creates a Microsoft AD in the AWS cloud.- Returns:
- A Java Future containing the result of the CreateMicrosoftAD operation returned by the service.
-
createMicrosoftADAsync
public Future<CreateMicrosoftADResult> createMicrosoftADAsync(CreateMicrosoftADRequest request, AsyncHandler<CreateMicrosoftADRequest,CreateMicrosoftADResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Creates a Microsoft AD in the AWS cloud.- Specified by:
createMicrosoftADAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the CreateMicrosoftAD operation returned by the service.
-
createSnapshotAsync
public Future<CreateSnapshotResult> createSnapshotAsync(CreateSnapshotRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Creates a snapshot of a Simple AD or Microsoft AD directory in the AWS cloud.
You cannot take snapshots of AD Connector directories.
- Specified by:
createSnapshotAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the CreateSnapshot operation.- Returns:
- A Java Future containing the result of the CreateSnapshot operation returned by the service.
-
createSnapshotAsync
public Future<CreateSnapshotResult> createSnapshotAsync(CreateSnapshotRequest request, AsyncHandler<CreateSnapshotRequest,CreateSnapshotResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Creates a snapshot of a Simple AD or Microsoft AD directory in the AWS cloud.
You cannot take snapshots of AD Connector directories.
- Specified by:
createSnapshotAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the CreateSnapshot operation returned by the service.
-
createTrustAsync
public Future<CreateTrustResult> createTrustAsync(CreateTrustRequest request)
Description copied from interface: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.
- Specified by:
createTrustAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
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.
- Returns:
- A Java Future containing the result of the CreateTrust operation returned by the service.
-
createTrustAsync
public Future<CreateTrustResult> createTrustAsync(CreateTrustRequest request, AsyncHandler<CreateTrustRequest,CreateTrustResult> asyncHandler)
Description copied from interface: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.
- Specified by:
createTrustAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the CreateTrust operation returned by the service.
-
deleteConditionalForwarderAsync
public Future<DeleteConditionalForwarderResult> deleteConditionalForwarderAsync(DeleteConditionalForwarderRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Deletes a conditional forwarder that has been set up for your AWS directory.
- Specified by:
deleteConditionalForwarderAsync
in interfaceAWSDirectoryServiceAsync
- Returns:
- A Java Future containing the result of the DeleteConditionalForwarder operation returned by the service.
-
deleteConditionalForwarderAsync
public Future<DeleteConditionalForwarderResult> deleteConditionalForwarderAsync(DeleteConditionalForwarderRequest request, AsyncHandler<DeleteConditionalForwarderRequest,DeleteConditionalForwarderResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Deletes a conditional forwarder that has been set up for your AWS directory.
- Specified by:
deleteConditionalForwarderAsync
in interfaceAWSDirectoryServiceAsync
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.- Returns:
- A Java Future containing the result of the DeleteConditionalForwarder operation returned by the service.
-
deleteDirectoryAsync
public Future<DeleteDirectoryResult> deleteDirectoryAsync(DeleteDirectoryRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Deletes an AWS Directory Service directory.
- Specified by:
deleteDirectoryAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the DeleteDirectory operation.- Returns:
- A Java Future containing the result of the DeleteDirectory operation returned by the service.
-
deleteDirectoryAsync
public Future<DeleteDirectoryResult> deleteDirectoryAsync(DeleteDirectoryRequest request, AsyncHandler<DeleteDirectoryRequest,DeleteDirectoryResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Deletes an AWS Directory Service directory.
- Specified by:
deleteDirectoryAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DeleteDirectory operation returned by the service.
-
deleteSnapshotAsync
public Future<DeleteSnapshotResult> deleteSnapshotAsync(DeleteSnapshotRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Deletes a directory snapshot.
- Specified by:
deleteSnapshotAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the DeleteSnapshot operation.- Returns:
- A Java Future containing the result of the DeleteSnapshot operation returned by the service.
-
deleteSnapshotAsync
public Future<DeleteSnapshotResult> deleteSnapshotAsync(DeleteSnapshotRequest request, AsyncHandler<DeleteSnapshotRequest,DeleteSnapshotResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Deletes a directory snapshot.
- Specified by:
deleteSnapshotAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DeleteSnapshot operation returned by the service.
-
deleteTrustAsync
public Future<DeleteTrustResult> deleteTrustAsync(DeleteTrustRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Deletes an existing trust relationship between your Microsoft AD in the AWS cloud and an external domain.- Specified by:
deleteTrustAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Deletes the local side of an existing trust relationship between the Microsoft AD in the AWS cloud and the external domain.- Returns:
- A Java Future containing the result of the DeleteTrust operation returned by the service.
-
deleteTrustAsync
public Future<DeleteTrustResult> deleteTrustAsync(DeleteTrustRequest request, AsyncHandler<DeleteTrustRequest,DeleteTrustResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Deletes an existing trust relationship between your Microsoft AD in the AWS cloud and an external domain.- Specified by:
deleteTrustAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DeleteTrust operation returned by the service.
-
deregisterEventTopicAsync
public Future<DeregisterEventTopicResult> deregisterEventTopicAsync(DeregisterEventTopicRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Removes the specified directory as a publisher to the specified SNS topic.
- Specified by:
deregisterEventTopicAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Removes the specified directory as a publisher to the specified SNS topic.- Returns:
- A Java Future containing the result of the DeregisterEventTopic operation returned by the service.
-
deregisterEventTopicAsync
public Future<DeregisterEventTopicResult> deregisterEventTopicAsync(DeregisterEventTopicRequest request, AsyncHandler<DeregisterEventTopicRequest,DeregisterEventTopicResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Removes the specified directory as a publisher to the specified SNS topic.
- Specified by:
deregisterEventTopicAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DeregisterEventTopic operation returned by the service.
-
describeConditionalForwardersAsync
public Future<DescribeConditionalForwardersResult> describeConditionalForwardersAsync(DescribeConditionalForwardersRequest request)
Description copied from interface: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.
- Specified by:
describeConditionalForwardersAsync
in interfaceAWSDirectoryServiceAsync
- Returns:
- A Java Future containing the result of the DescribeConditionalForwarders operation returned by the service.
-
describeConditionalForwardersAsync
public Future<DescribeConditionalForwardersResult> describeConditionalForwardersAsync(DescribeConditionalForwardersRequest request, AsyncHandler<DescribeConditionalForwardersRequest,DescribeConditionalForwardersResult> asyncHandler)
Description copied from interface: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.
- Specified by:
describeConditionalForwardersAsync
in interfaceAWSDirectoryServiceAsync
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.- Returns:
- A Java Future containing the result of the DescribeConditionalForwarders operation returned by the service.
-
describeDirectoriesAsync
public Future<DescribeDirectoriesResult> describeDirectoriesAsync(DescribeDirectoriesRequest request)
Description copied from interface: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.
- Specified by:
describeDirectoriesAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the DescribeDirectories operation.- Returns:
- A Java Future containing the result of the DescribeDirectories operation returned by the service.
-
describeDirectoriesAsync
public Future<DescribeDirectoriesResult> describeDirectoriesAsync(DescribeDirectoriesRequest request, AsyncHandler<DescribeDirectoriesRequest,DescribeDirectoriesResult> asyncHandler)
Description copied from interface: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.
- Specified by:
describeDirectoriesAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DescribeDirectories operation returned by the service.
-
describeDirectoriesAsync
public Future<DescribeDirectoriesResult> describeDirectoriesAsync()
Simplified method form for invoking the DescribeDirectories operation.- Specified by:
describeDirectoriesAsync
in interfaceAWSDirectoryServiceAsync
- See Also:
describeDirectoriesAsync(DescribeDirectoriesRequest)
-
describeDirectoriesAsync
public Future<DescribeDirectoriesResult> describeDirectoriesAsync(AsyncHandler<DescribeDirectoriesRequest,DescribeDirectoriesResult> asyncHandler)
Simplified method form for invoking the DescribeDirectories operation with an AsyncHandler.- Specified by:
describeDirectoriesAsync
in interfaceAWSDirectoryServiceAsync
- See Also:
describeDirectoriesAsync(DescribeDirectoriesRequest, com.amazonaws.handlers.AsyncHandler)
-
describeEventTopicsAsync
public Future<DescribeEventTopicsResult> describeEventTopicsAsync(DescribeEventTopicsRequest request)
Description copied from interface: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.
- Specified by:
describeEventTopicsAsync
in interfaceAWSDirectoryServiceAsync
- Returns:
- A Java Future containing the result of the DescribeEventTopics operation returned by the service.
-
describeEventTopicsAsync
public Future<DescribeEventTopicsResult> describeEventTopicsAsync(DescribeEventTopicsRequest request, AsyncHandler<DescribeEventTopicsRequest,DescribeEventTopicsResult> asyncHandler)
Description copied from interface: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.
- Specified by:
describeEventTopicsAsync
in interfaceAWSDirectoryServiceAsync
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.- Returns:
- A Java Future containing the result of the DescribeEventTopics operation returned by the service.
-
describeSnapshotsAsync
public Future<DescribeSnapshotsResult> describeSnapshotsAsync(DescribeSnapshotsRequest request)
Description copied from interface: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.
- Specified by:
describeSnapshotsAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the DescribeSnapshots operation.- Returns:
- A Java Future containing the result of the DescribeSnapshots operation returned by the service.
-
describeSnapshotsAsync
public Future<DescribeSnapshotsResult> describeSnapshotsAsync(DescribeSnapshotsRequest request, AsyncHandler<DescribeSnapshotsRequest,DescribeSnapshotsResult> asyncHandler)
Description copied from interface: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.
- Specified by:
describeSnapshotsAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DescribeSnapshots operation returned by the service.
-
describeSnapshotsAsync
public Future<DescribeSnapshotsResult> describeSnapshotsAsync()
Simplified method form for invoking the DescribeSnapshots operation.- Specified by:
describeSnapshotsAsync
in interfaceAWSDirectoryServiceAsync
- See Also:
describeSnapshotsAsync(DescribeSnapshotsRequest)
-
describeSnapshotsAsync
public Future<DescribeSnapshotsResult> describeSnapshotsAsync(AsyncHandler<DescribeSnapshotsRequest,DescribeSnapshotsResult> asyncHandler)
Simplified method form for invoking the DescribeSnapshots operation with an AsyncHandler.- Specified by:
describeSnapshotsAsync
in interfaceAWSDirectoryServiceAsync
- See Also:
describeSnapshotsAsync(DescribeSnapshotsRequest, com.amazonaws.handlers.AsyncHandler)
-
describeTrustsAsync
public Future<DescribeTrustsResult> describeTrustsAsync(DescribeTrustsRequest request)
Description copied from interface: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.
- Specified by:
describeTrustsAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DescribeTrusts operation returned by the service.
-
describeTrustsAsync
public Future<DescribeTrustsResult> describeTrustsAsync(DescribeTrustsRequest request, AsyncHandler<DescribeTrustsRequest,DescribeTrustsResult> asyncHandler)
Description copied from interface: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.
- Specified by:
describeTrustsAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DescribeTrusts operation returned by the service.
-
disableRadiusAsync
public Future<DisableRadiusResult> disableRadiusAsync(DisableRadiusRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Disables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service (RADIUS) server for an AD Connector directory.
- Specified by:
disableRadiusAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the DisableRadius operation.- Returns:
- A Java Future containing the result of the DisableRadius operation returned by the service.
-
disableRadiusAsync
public Future<DisableRadiusResult> disableRadiusAsync(DisableRadiusRequest request, AsyncHandler<DisableRadiusRequest,DisableRadiusResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Disables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service (RADIUS) server for an AD Connector directory.
- Specified by:
disableRadiusAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DisableRadius operation returned by the service.
-
disableSsoAsync
public Future<DisableSsoResult> disableSsoAsync(DisableSsoRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Disables single-sign on for a directory.
- Specified by:
disableSsoAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the DisableSso operation.- Returns:
- A Java Future containing the result of the DisableSso operation returned by the service.
-
disableSsoAsync
public Future<DisableSsoResult> disableSsoAsync(DisableSsoRequest request, AsyncHandler<DisableSsoRequest,DisableSsoResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Disables single-sign on for a directory.
- Specified by:
disableSsoAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DisableSso operation returned by the service.
-
enableRadiusAsync
public Future<EnableRadiusResult> enableRadiusAsync(EnableRadiusRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Enables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service (RADIUS) server for an AD Connector directory.
- Specified by:
enableRadiusAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the EnableRadius operation.- Returns:
- A Java Future containing the result of the EnableRadius operation returned by the service.
-
enableRadiusAsync
public Future<EnableRadiusResult> enableRadiusAsync(EnableRadiusRequest request, AsyncHandler<EnableRadiusRequest,EnableRadiusResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Enables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service (RADIUS) server for an AD Connector directory.
- Specified by:
enableRadiusAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the EnableRadius operation returned by the service.
-
enableSsoAsync
public Future<EnableSsoResult> enableSsoAsync(EnableSsoRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Enables single-sign on for a directory.
- Specified by:
enableSsoAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the EnableSso operation.- Returns:
- A Java Future containing the result of the EnableSso operation returned by the service.
-
enableSsoAsync
public Future<EnableSsoResult> enableSsoAsync(EnableSsoRequest request, AsyncHandler<EnableSsoRequest,EnableSsoResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Enables single-sign on for a directory.
- Specified by:
enableSsoAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the EnableSso operation returned by the service.
-
getDirectoryLimitsAsync
public Future<GetDirectoryLimitsResult> getDirectoryLimitsAsync(GetDirectoryLimitsRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Obtains directory limit information for the current region.
- Specified by:
getDirectoryLimitsAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the GetDirectoryLimits operation.- Returns:
- A Java Future containing the result of the GetDirectoryLimits operation returned by the service.
-
getDirectoryLimitsAsync
public Future<GetDirectoryLimitsResult> getDirectoryLimitsAsync(GetDirectoryLimitsRequest request, AsyncHandler<GetDirectoryLimitsRequest,GetDirectoryLimitsResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Obtains directory limit information for the current region.
- Specified by:
getDirectoryLimitsAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the GetDirectoryLimits operation returned by the service.
-
getDirectoryLimitsAsync
public Future<GetDirectoryLimitsResult> getDirectoryLimitsAsync()
Simplified method form for invoking the GetDirectoryLimits operation.- Specified by:
getDirectoryLimitsAsync
in interfaceAWSDirectoryServiceAsync
- See Also:
getDirectoryLimitsAsync(GetDirectoryLimitsRequest)
-
getDirectoryLimitsAsync
public Future<GetDirectoryLimitsResult> getDirectoryLimitsAsync(AsyncHandler<GetDirectoryLimitsRequest,GetDirectoryLimitsResult> asyncHandler)
Simplified method form for invoking the GetDirectoryLimits operation with an AsyncHandler.- Specified by:
getDirectoryLimitsAsync
in interfaceAWSDirectoryServiceAsync
- See Also:
getDirectoryLimitsAsync(GetDirectoryLimitsRequest, com.amazonaws.handlers.AsyncHandler)
-
getSnapshotLimitsAsync
public Future<GetSnapshotLimitsResult> getSnapshotLimitsAsync(GetSnapshotLimitsRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Obtains the manual snapshot limits for a directory.
- Specified by:
getSnapshotLimitsAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the GetSnapshotLimits operation.- Returns:
- A Java Future containing the result of the GetSnapshotLimits operation returned by the service.
-
getSnapshotLimitsAsync
public Future<GetSnapshotLimitsResult> getSnapshotLimitsAsync(GetSnapshotLimitsRequest request, AsyncHandler<GetSnapshotLimitsRequest,GetSnapshotLimitsResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Obtains the manual snapshot limits for a directory.
- Specified by:
getSnapshotLimitsAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the GetSnapshotLimits operation returned by the service.
-
registerEventTopicAsync
public Future<RegisterEventTopicResult> registerEventTopicAsync(RegisterEventTopicRequest request)
Description copied from interface: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.
- Specified by:
registerEventTopicAsync
in interfaceAWSDirectoryServiceAsync
- Returns:
- A Java Future containing the result of the RegisterEventTopic operation returned by the service.
-
registerEventTopicAsync
public Future<RegisterEventTopicResult> registerEventTopicAsync(RegisterEventTopicRequest request, AsyncHandler<RegisterEventTopicRequest,RegisterEventTopicResult> asyncHandler)
Description copied from interface: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.
- Specified by:
registerEventTopicAsync
in interfaceAWSDirectoryServiceAsync
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.- Returns:
- A Java Future containing the result of the RegisterEventTopic operation returned by the service.
-
restoreFromSnapshotAsync
public Future<RestoreFromSnapshotResult> restoreFromSnapshotAsync(RestoreFromSnapshotRequest request)
Description copied from interface: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.- Specified by:
restoreFromSnapshotAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- An object representing the inputs for the RestoreFromSnapshot operation.- Returns:
- A Java Future containing the result of the RestoreFromSnapshot operation returned by the service.
-
restoreFromSnapshotAsync
public Future<RestoreFromSnapshotResult> restoreFromSnapshotAsync(RestoreFromSnapshotRequest request, AsyncHandler<RestoreFromSnapshotRequest,RestoreFromSnapshotResult> asyncHandler)
Description copied from interface: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.- Specified by:
restoreFromSnapshotAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the RestoreFromSnapshot operation returned by the service.
-
updateConditionalForwarderAsync
public Future<UpdateConditionalForwarderResult> updateConditionalForwarderAsync(UpdateConditionalForwarderRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Updates a conditional forwarder that has been set up for your AWS directory.
- Specified by:
updateConditionalForwarderAsync
in interfaceAWSDirectoryServiceAsync
- Returns:
- A Java Future containing the result of the UpdateConditionalForwarder operation returned by the service.
-
updateConditionalForwarderAsync
public Future<UpdateConditionalForwarderResult> updateConditionalForwarderAsync(UpdateConditionalForwarderRequest request, AsyncHandler<UpdateConditionalForwarderRequest,UpdateConditionalForwarderResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Updates a conditional forwarder that has been set up for your AWS directory.
- Specified by:
updateConditionalForwarderAsync
in interfaceAWSDirectoryServiceAsync
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.- Returns:
- A Java Future containing the result of the UpdateConditionalForwarder operation returned by the service.
-
updateRadiusAsync
public Future<UpdateRadiusResult> updateRadiusAsync(UpdateRadiusRequest request)
Description copied from interface:AWSDirectoryServiceAsync
Updates the Remote Authentication Dial In User Service (RADIUS) server information for an AD Connector directory.
- Specified by:
updateRadiusAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Contains the inputs for the UpdateRadius operation.- Returns:
- A Java Future containing the result of the UpdateRadius operation returned by the service.
-
updateRadiusAsync
public Future<UpdateRadiusResult> updateRadiusAsync(UpdateRadiusRequest request, AsyncHandler<UpdateRadiusRequest,UpdateRadiusResult> asyncHandler)
Description copied from interface:AWSDirectoryServiceAsync
Updates the Remote Authentication Dial In User Service (RADIUS) server information for an AD Connector directory.
- Specified by:
updateRadiusAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the UpdateRadius operation returned by the service.
-
verifyTrustAsync
public Future<VerifyTrustResult> verifyTrustAsync(VerifyTrustRequest request)
Description copied from interface: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.
- Specified by:
verifyTrustAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
request
- Initiates the verification of an existing trust relationship between a Microsoft AD in the AWS cloud and an external domain.- Returns:
- A Java Future containing the result of the VerifyTrust operation returned by the service.
-
verifyTrustAsync
public Future<VerifyTrustResult> verifyTrustAsync(VerifyTrustRequest request, AsyncHandler<VerifyTrustRequest,VerifyTrustResult> asyncHandler)
Description copied from interface: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.
- Specified by:
verifyTrustAsync
in interfaceAWSDirectoryServiceAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the VerifyTrust operation returned by the service.
-
shutdown
public void shutdown()
Shuts down the client, releasing all managed resources. This includes forcibly terminating all pending asynchronous service calls. Clients who wish to give pending asynchronous service calls time to complete should callgetExecutorService().shutdown()
followed bygetExecutorService().awaitTermination()
prior to calling this method.- Specified by:
shutdown
in interfaceAWSDirectoryService
- Overrides:
shutdown
in classAmazonWebServiceClient
-
-