
com.amazonaws.services.directory.AWSDirectoryServiceAsync Maven / Gradle / Ivy
Show all versions of aws-java-sdk-directory Show documentation
/*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights
* Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package com.amazonaws.services.directory;
import com.amazonaws.services.directory.model.*;
/**
* Interface for accessing Directory Service asynchronously. Each asynchronous
* method will return a Java Future object representing the asynchronous
* operation; overloads which accept an {@code AsyncHandler} 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.
*
*/
public interface AWSDirectoryServiceAsync extends AWSDirectoryService {
/**
*
* Adds or overwrites one or more tags for the specified Amazon Directory
* Services directory. Each directory can have a maximum of 10 tags. Each
* tag consists of a key and optional value. Tag keys must be unique per
* resource.
*
*
* @param addTagsToResourceRequest
* @return A Java Future containing the result of the AddTagsToResource
* operation returned by the service.
* @sample AWSDirectoryServiceAsync.AddTagsToResource
*/
java.util.concurrent.Future addTagsToResourceAsync(
AddTagsToResourceRequest addTagsToResourceRequest);
/**
*
* Adds or overwrites one or more tags for the specified Amazon Directory
* Services directory. Each directory can have a maximum of 10 tags. Each
* tag consists of a key and optional value. Tag keys must be unique per
* resource.
*
*
* @param addTagsToResourceRequest
* @param 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.
* @return A Java Future containing the result of the AddTagsToResource
* operation returned by the service.
* @sample AWSDirectoryServiceAsyncHandler.AddTagsToResource
*/
java.util.concurrent.Future addTagsToResourceAsync(
AddTagsToResourceRequest addTagsToResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates an AD Connector to connect to an on-premises directory.
*
*
* @param connectDirectoryRequest
* Contains the inputs for the ConnectDirectory operation.
* @return A Java Future containing the result of the ConnectDirectory
* operation returned by the service.
* @sample AWSDirectoryServiceAsync.ConnectDirectory
*/
java.util.concurrent.Future connectDirectoryAsync(
ConnectDirectoryRequest connectDirectoryRequest);
/**
*
* Creates an AD Connector to connect to an on-premises directory.
*
*
* @param connectDirectoryRequest
* Contains the inputs for the ConnectDirectory operation.
* @param 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.
* @return A Java Future containing the result of the ConnectDirectory
* operation returned by the service.
* @sample AWSDirectoryServiceAsyncHandler.ConnectDirectory
*/
java.util.concurrent.Future connectDirectoryAsync(
ConnectDirectoryRequest connectDirectoryRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
*
* @param createAliasRequest
* Contains the inputs for the CreateAlias operation.
* @return A Java Future containing the result of the CreateAlias operation
* returned by the service.
* @sample AWSDirectoryServiceAsync.CreateAlias
*/
java.util.concurrent.Future createAliasAsync(
CreateAliasRequest createAliasRequest);
/**
*
* 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.
*
*
*
* @param createAliasRequest
* Contains the inputs for the CreateAlias operation.
* @param 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.
* @return A Java Future containing the result of the CreateAlias operation
* returned by the service.
* @sample AWSDirectoryServiceAsyncHandler.CreateAlias
*/
java.util.concurrent.Future createAliasAsync(
CreateAliasRequest createAliasRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates a computer account in the specified directory, and joins the
* computer to the directory.
*
*
* @param createComputerRequest
* Contains the inputs for the CreateComputer operation.
* @return A Java Future containing the result of the CreateComputer
* operation returned by the service.
* @sample AWSDirectoryServiceAsync.CreateComputer
*/
java.util.concurrent.Future createComputerAsync(
CreateComputerRequest createComputerRequest);
/**
*
* Creates a computer account in the specified directory, and joins the
* computer to the directory.
*
*
* @param createComputerRequest
* Contains the inputs for the CreateComputer operation.
* @param 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.
* @return A Java Future containing the result of the CreateComputer
* operation returned by the service.
* @sample AWSDirectoryServiceAsyncHandler.CreateComputer
*/
java.util.concurrent.Future createComputerAsync(
CreateComputerRequest createComputerRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param createConditionalForwarderRequest
* 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.
* @return A Java Future containing the result of the
* CreateConditionalForwarder operation returned by the service.
* @sample AWSDirectoryServiceAsync.CreateConditionalForwarder
*/
java.util.concurrent.Future createConditionalForwarderAsync(
CreateConditionalForwarderRequest createConditionalForwarderRequest);
/**
*
* 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.
*
*
* @param createConditionalForwarderRequest
* 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.
* @param 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.
* @return A Java Future containing the result of the
* CreateConditionalForwarder operation returned by the service.
* @sample AWSDirectoryServiceAsyncHandler.CreateConditionalForwarder
*/
java.util.concurrent.Future createConditionalForwarderAsync(
CreateConditionalForwarderRequest createConditionalForwarderRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates a Simple AD directory.
*
*
* @param createDirectoryRequest
* Contains the inputs for the CreateDirectory operation.
* @return A Java Future containing the result of the CreateDirectory
* operation returned by the service.
* @sample AWSDirectoryServiceAsync.CreateDirectory
*/
java.util.concurrent.Future createDirectoryAsync(
CreateDirectoryRequest createDirectoryRequest);
/**
*
* Creates a Simple AD directory.
*
*
* @param createDirectoryRequest
* Contains the inputs for the CreateDirectory operation.
* @param 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.
* @return A Java Future containing the result of the CreateDirectory
* operation returned by the service.
* @sample AWSDirectoryServiceAsyncHandler.CreateDirectory
*/
java.util.concurrent.Future createDirectoryAsync(
CreateDirectoryRequest createDirectoryRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates a Microsoft AD in the AWS cloud.
*
*
* @param createMicrosoftADRequest
* Creates a Microsoft AD in the AWS cloud.
* @return A Java Future containing the result of the CreateMicrosoftAD
* operation returned by the service.
* @sample AWSDirectoryServiceAsync.CreateMicrosoftAD
*/
java.util.concurrent.Future createMicrosoftADAsync(
CreateMicrosoftADRequest createMicrosoftADRequest);
/**
*
* Creates a Microsoft AD in the AWS cloud.
*
*
* @param createMicrosoftADRequest
* Creates a Microsoft AD in the AWS cloud.
* @param 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.
* @return A Java Future containing the result of the CreateMicrosoftAD
* operation returned by the service.
* @sample AWSDirectoryServiceAsyncHandler.CreateMicrosoftAD
*/
java.util.concurrent.Future createMicrosoftADAsync(
CreateMicrosoftADRequest createMicrosoftADRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates a snapshot of a Simple AD or Microsoft AD directory in the AWS
* cloud.
*
*
*
* You cannot take snapshots of AD Connector directories.
*
*
*
* @param createSnapshotRequest
* Contains the inputs for the CreateSnapshot operation.
* @return A Java Future containing the result of the CreateSnapshot
* operation returned by the service.
* @sample AWSDirectoryServiceAsync.CreateSnapshot
*/
java.util.concurrent.Future createSnapshotAsync(
CreateSnapshotRequest createSnapshotRequest);
/**
*
* Creates a snapshot of a Simple AD or Microsoft AD directory in the AWS
* cloud.
*
*
*
* You cannot take snapshots of AD Connector directories.
*
*
*
* @param createSnapshotRequest
* Contains the inputs for the CreateSnapshot operation.
* @param 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.
* @return A Java Future containing the result of the CreateSnapshot
* operation returned by the service.
* @sample AWSDirectoryServiceAsyncHandler.CreateSnapshot
*/
java.util.concurrent.Future createSnapshotAsync(
CreateSnapshotRequest createSnapshotRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param createTrustRequest
* 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.
* @return A Java Future containing the result of the CreateTrust operation
* returned by the service.
* @sample AWSDirectoryServiceAsync.CreateTrust
*/
java.util.concurrent.Future createTrustAsync(
CreateTrustRequest createTrustRequest);
/**
*
* 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.
*
*
* @param createTrustRequest
* 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.
* @param 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.
* @return A Java Future containing the result of the CreateTrust operation
* returned by the service.
* @sample AWSDirectoryServiceAsyncHandler.CreateTrust
*/
java.util.concurrent.Future createTrustAsync(
CreateTrustRequest createTrustRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes a conditional forwarder that has been set up for your AWS
* directory.
*
*
* @param deleteConditionalForwarderRequest
* Deletes a conditional forwarder.
* @return A Java Future containing the result of the
* DeleteConditionalForwarder operation returned by the service.
* @sample AWSDirectoryServiceAsync.DeleteConditionalForwarder
*/
java.util.concurrent.Future deleteConditionalForwarderAsync(
DeleteConditionalForwarderRequest deleteConditionalForwarderRequest);
/**
*
* Deletes a conditional forwarder that has been set up for your AWS
* directory.
*
*
* @param deleteConditionalForwarderRequest
* Deletes a conditional forwarder.
* @param 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.
* @return A Java Future containing the result of the
* DeleteConditionalForwarder operation returned by the service.
* @sample AWSDirectoryServiceAsyncHandler.DeleteConditionalForwarder
*/
java.util.concurrent.Future deleteConditionalForwarderAsync(
DeleteConditionalForwarderRequest deleteConditionalForwarderRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes an AWS Directory Service directory.
*
*
* @param deleteDirectoryRequest
* Contains the inputs for the DeleteDirectory operation.
* @return A Java Future containing the result of the DeleteDirectory
* operation returned by the service.
* @sample AWSDirectoryServiceAsync.DeleteDirectory
*/
java.util.concurrent.Future deleteDirectoryAsync(
DeleteDirectoryRequest deleteDirectoryRequest);
/**
*
* Deletes an AWS Directory Service directory.
*
*
* @param deleteDirectoryRequest
* Contains the inputs for the DeleteDirectory operation.
* @param 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.
* @return A Java Future containing the result of the DeleteDirectory
* operation returned by the service.
* @sample AWSDirectoryServiceAsyncHandler.DeleteDirectory
*/
java.util.concurrent.Future deleteDirectoryAsync(
DeleteDirectoryRequest deleteDirectoryRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes a directory snapshot.
*
*
* @param deleteSnapshotRequest
* Contains the inputs for the DeleteSnapshot operation.
* @return A Java Future containing the result of the DeleteSnapshot
* operation returned by the service.
* @sample AWSDirectoryServiceAsync.DeleteSnapshot
*/
java.util.concurrent.Future deleteSnapshotAsync(
DeleteSnapshotRequest deleteSnapshotRequest);
/**
*
* Deletes a directory snapshot.
*
*
* @param deleteSnapshotRequest
* Contains the inputs for the DeleteSnapshot operation.
* @param 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.
* @return A Java Future containing the result of the DeleteSnapshot
* operation returned by the service.
* @sample AWSDirectoryServiceAsyncHandler.DeleteSnapshot
*/
java.util.concurrent.Future deleteSnapshotAsync(
DeleteSnapshotRequest deleteSnapshotRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes an existing trust relationship between your Microsoft AD in the
* AWS cloud and an external domain.
*
*
* @param deleteTrustRequest
* Deletes the local side of an existing trust relationship between
* the Microsoft AD in the AWS cloud and the external domain.
* @return A Java Future containing the result of the DeleteTrust operation
* returned by the service.
* @sample AWSDirectoryServiceAsync.DeleteTrust
*/
java.util.concurrent.Future deleteTrustAsync(
DeleteTrustRequest deleteTrustRequest);
/**
*
* Deletes an existing trust relationship between your Microsoft AD in the
* AWS cloud and an external domain.
*
*
* @param deleteTrustRequest
* Deletes the local side of an existing trust relationship between
* the Microsoft AD in the AWS cloud and the external domain.
* @param 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.
* @return A Java Future containing the result of the DeleteTrust operation
* returned by the service.
* @sample AWSDirectoryServiceAsyncHandler.DeleteTrust
*/
java.util.concurrent.Future deleteTrustAsync(
DeleteTrustRequest deleteTrustRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Removes the specified directory as a publisher to the specified SNS
* topic.
*
*
* @param deregisterEventTopicRequest
* Removes the specified directory as a publisher to the specified
* SNS topic.
* @return A Java Future containing the result of the DeregisterEventTopic
* operation returned by the service.
* @sample AWSDirectoryServiceAsync.DeregisterEventTopic
*/
java.util.concurrent.Future deregisterEventTopicAsync(
DeregisterEventTopicRequest deregisterEventTopicRequest);
/**
*
* Removes the specified directory as a publisher to the specified SNS
* topic.
*
*
* @param deregisterEventTopicRequest
* Removes the specified directory as a publisher to the specified
* SNS topic.
* @param 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.
* @return A Java Future containing the result of the DeregisterEventTopic
* operation returned by the service.
* @sample AWSDirectoryServiceAsyncHandler.DeregisterEventTopic
*/
java.util.concurrent.Future deregisterEventTopicAsync(
DeregisterEventTopicRequest deregisterEventTopicRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param describeConditionalForwardersRequest
* Describes a conditional forwarder.
* @return A Java Future containing the result of the
* DescribeConditionalForwarders operation returned by the service.
* @sample AWSDirectoryServiceAsync.DescribeConditionalForwarders
*/
java.util.concurrent.Future describeConditionalForwardersAsync(
DescribeConditionalForwardersRequest describeConditionalForwardersRequest);
/**
*
* 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.
*
*
* @param describeConditionalForwardersRequest
* Describes a conditional forwarder.
* @param 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.
* @return A Java Future containing the result of the
* DescribeConditionalForwarders operation returned by the service.
* @sample AWSDirectoryServiceAsyncHandler.DescribeConditionalForwarders
*/
java.util.concurrent.Future describeConditionalForwardersAsync(
DescribeConditionalForwardersRequest describeConditionalForwardersRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param describeDirectoriesRequest
* Contains the inputs for the DescribeDirectories operation.
* @return A Java Future containing the result of the DescribeDirectories
* operation returned by the service.
* @sample AWSDirectoryServiceAsync.DescribeDirectories
*/
java.util.concurrent.Future describeDirectoriesAsync(
DescribeDirectoriesRequest describeDirectoriesRequest);
/**
*
* 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.
*
*
* @param describeDirectoriesRequest
* Contains the inputs for the DescribeDirectories operation.
* @param 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.
* @return A Java Future containing the result of the DescribeDirectories
* operation returned by the service.
* @sample AWSDirectoryServiceAsyncHandler.DescribeDirectories
*/
java.util.concurrent.Future describeDirectoriesAsync(
DescribeDirectoriesRequest describeDirectoriesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
* Simplified method form for invoking the DescribeDirectories operation.
*
* @see #describeDirectoriesAsync(DescribeDirectoriesRequest)
*/
java.util.concurrent.Future describeDirectoriesAsync();
/**
* Simplified method form for invoking the DescribeDirectories operation
* with an AsyncHandler.
*
* @see #describeDirectoriesAsync(DescribeDirectoriesRequest,
* com.amazonaws.handlers.AsyncHandler)
*/
java.util.concurrent.Future describeDirectoriesAsync(
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param describeEventTopicsRequest
* Describes event topics.
* @return A Java Future containing the result of the DescribeEventTopics
* operation returned by the service.
* @sample AWSDirectoryServiceAsync.DescribeEventTopics
*/
java.util.concurrent.Future describeEventTopicsAsync(
DescribeEventTopicsRequest describeEventTopicsRequest);
/**
*
* 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.
*
*
* @param describeEventTopicsRequest
* Describes event topics.
* @param 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.
* @return A Java Future containing the result of the DescribeEventTopics
* operation returned by the service.
* @sample AWSDirectoryServiceAsyncHandler.DescribeEventTopics
*/
java.util.concurrent.Future describeEventTopicsAsync(
DescribeEventTopicsRequest describeEventTopicsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param describeSnapshotsRequest
* Contains the inputs for the DescribeSnapshots operation.
* @return A Java Future containing the result of the DescribeSnapshots
* operation returned by the service.
* @sample AWSDirectoryServiceAsync.DescribeSnapshots
*/
java.util.concurrent.Future describeSnapshotsAsync(
DescribeSnapshotsRequest describeSnapshotsRequest);
/**
*
* 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.
*
*
* @param describeSnapshotsRequest
* Contains the inputs for the DescribeSnapshots operation.
* @param 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.
* @return A Java Future containing the result of the DescribeSnapshots
* operation returned by the service.
* @sample AWSDirectoryServiceAsyncHandler.DescribeSnapshots
*/
java.util.concurrent.Future describeSnapshotsAsync(
DescribeSnapshotsRequest describeSnapshotsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
* Simplified method form for invoking the DescribeSnapshots operation.
*
* @see #describeSnapshotsAsync(DescribeSnapshotsRequest)
*/
java.util.concurrent.Future describeSnapshotsAsync();
/**
* Simplified method form for invoking the DescribeSnapshots operation with
* an AsyncHandler.
*
* @see #describeSnapshotsAsync(DescribeSnapshotsRequest,
* com.amazonaws.handlers.AsyncHandler)
*/
java.util.concurrent.Future describeSnapshotsAsync(
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param describeTrustsRequest
* 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.
* @return A Java Future containing the result of the DescribeTrusts
* operation returned by the service.
* @sample AWSDirectoryServiceAsync.DescribeTrusts
*/
java.util.concurrent.Future describeTrustsAsync(
DescribeTrustsRequest describeTrustsRequest);
/**
*
* 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.
*
*
* @param describeTrustsRequest
* 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.
* @param 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.
* @return A Java Future containing the result of the DescribeTrusts
* operation returned by the service.
* @sample AWSDirectoryServiceAsyncHandler.DescribeTrusts
*/
java.util.concurrent.Future describeTrustsAsync(
DescribeTrustsRequest describeTrustsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Disables multi-factor authentication (MFA) with the Remote Authentication
* Dial In User Service (RADIUS) server for an AD Connector directory.
*
*
* @param disableRadiusRequest
* Contains the inputs for the DisableRadius operation.
* @return A Java Future containing the result of the DisableRadius
* operation returned by the service.
* @sample AWSDirectoryServiceAsync.DisableRadius
*/
java.util.concurrent.Future disableRadiusAsync(
DisableRadiusRequest disableRadiusRequest);
/**
*
* Disables multi-factor authentication (MFA) with the Remote Authentication
* Dial In User Service (RADIUS) server for an AD Connector directory.
*
*
* @param disableRadiusRequest
* Contains the inputs for the DisableRadius operation.
* @param 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.
* @return A Java Future containing the result of the DisableRadius
* operation returned by the service.
* @sample AWSDirectoryServiceAsyncHandler.DisableRadius
*/
java.util.concurrent.Future disableRadiusAsync(
DisableRadiusRequest disableRadiusRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Disables single-sign on for a directory.
*
*
* @param disableSsoRequest
* Contains the inputs for the DisableSso operation.
* @return A Java Future containing the result of the DisableSso operation
* returned by the service.
* @sample AWSDirectoryServiceAsync.DisableSso
*/
java.util.concurrent.Future disableSsoAsync(
DisableSsoRequest disableSsoRequest);
/**
*
* Disables single-sign on for a directory.
*
*
* @param disableSsoRequest
* Contains the inputs for the DisableSso operation.
* @param 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.
* @return A Java Future containing the result of the DisableSso operation
* returned by the service.
* @sample AWSDirectoryServiceAsyncHandler.DisableSso
*/
java.util.concurrent.Future disableSsoAsync(
DisableSsoRequest disableSsoRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Enables multi-factor authentication (MFA) with the Remote Authentication
* Dial In User Service (RADIUS) server for an AD Connector directory.
*
*
* @param enableRadiusRequest
* Contains the inputs for the EnableRadius operation.
* @return A Java Future containing the result of the EnableRadius operation
* returned by the service.
* @sample AWSDirectoryServiceAsync.EnableRadius
*/
java.util.concurrent.Future enableRadiusAsync(
EnableRadiusRequest enableRadiusRequest);
/**
*
* Enables multi-factor authentication (MFA) with the Remote Authentication
* Dial In User Service (RADIUS) server for an AD Connector directory.
*
*
* @param enableRadiusRequest
* Contains the inputs for the EnableRadius operation.
* @param 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.
* @return A Java Future containing the result of the EnableRadius operation
* returned by the service.
* @sample AWSDirectoryServiceAsyncHandler.EnableRadius
*/
java.util.concurrent.Future enableRadiusAsync(
EnableRadiusRequest enableRadiusRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Enables single-sign on for a directory.
*
*
* @param enableSsoRequest
* Contains the inputs for the EnableSso operation.
* @return A Java Future containing the result of the EnableSso operation
* returned by the service.
* @sample AWSDirectoryServiceAsync.EnableSso
*/
java.util.concurrent.Future enableSsoAsync(
EnableSsoRequest enableSsoRequest);
/**
*
* Enables single-sign on for a directory.
*
*
* @param enableSsoRequest
* Contains the inputs for the EnableSso operation.
* @param 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.
* @return A Java Future containing the result of the EnableSso operation
* returned by the service.
* @sample AWSDirectoryServiceAsyncHandler.EnableSso
*/
java.util.concurrent.Future enableSsoAsync(
EnableSsoRequest enableSsoRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Obtains directory limit information for the current region.
*
*
* @param getDirectoryLimitsRequest
* Contains the inputs for the GetDirectoryLimits operation.
* @return A Java Future containing the result of the GetDirectoryLimits
* operation returned by the service.
* @sample AWSDirectoryServiceAsync.GetDirectoryLimits
*/
java.util.concurrent.Future getDirectoryLimitsAsync(
GetDirectoryLimitsRequest getDirectoryLimitsRequest);
/**
*
* Obtains directory limit information for the current region.
*
*
* @param getDirectoryLimitsRequest
* Contains the inputs for the GetDirectoryLimits operation.
* @param 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.
* @return A Java Future containing the result of the GetDirectoryLimits
* operation returned by the service.
* @sample AWSDirectoryServiceAsyncHandler.GetDirectoryLimits
*/
java.util.concurrent.Future getDirectoryLimitsAsync(
GetDirectoryLimitsRequest getDirectoryLimitsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
* Simplified method form for invoking the GetDirectoryLimits operation.
*
* @see #getDirectoryLimitsAsync(GetDirectoryLimitsRequest)
*/
java.util.concurrent.Future getDirectoryLimitsAsync();
/**
* Simplified method form for invoking the GetDirectoryLimits operation with
* an AsyncHandler.
*
* @see #getDirectoryLimitsAsync(GetDirectoryLimitsRequest,
* com.amazonaws.handlers.AsyncHandler)
*/
java.util.concurrent.Future getDirectoryLimitsAsync(
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Obtains the manual snapshot limits for a directory.
*
*
* @param getSnapshotLimitsRequest
* Contains the inputs for the GetSnapshotLimits operation.
* @return A Java Future containing the result of the GetSnapshotLimits
* operation returned by the service.
* @sample AWSDirectoryServiceAsync.GetSnapshotLimits
*/
java.util.concurrent.Future getSnapshotLimitsAsync(
GetSnapshotLimitsRequest getSnapshotLimitsRequest);
/**
*
* Obtains the manual snapshot limits for a directory.
*
*
* @param getSnapshotLimitsRequest
* Contains the inputs for the GetSnapshotLimits operation.
* @param 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.
* @return A Java Future containing the result of the GetSnapshotLimits
* operation returned by the service.
* @sample AWSDirectoryServiceAsyncHandler.GetSnapshotLimits
*/
java.util.concurrent.Future getSnapshotLimitsAsync(
GetSnapshotLimitsRequest getSnapshotLimitsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists all tags on an Amazon Directory Services directory.
*
*
* @param listTagsForResourceRequest
* @return A Java Future containing the result of the ListTagsForResource
* operation returned by the service.
* @sample AWSDirectoryServiceAsync.ListTagsForResource
*/
java.util.concurrent.Future listTagsForResourceAsync(
ListTagsForResourceRequest listTagsForResourceRequest);
/**
*
* Lists all tags on an Amazon Directory Services directory.
*
*
* @param listTagsForResourceRequest
* @param 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.
* @return A Java Future containing the result of the ListTagsForResource
* operation returned by the service.
* @sample AWSDirectoryServiceAsyncHandler.ListTagsForResource
*/
java.util.concurrent.Future listTagsForResourceAsync(
ListTagsForResourceRequest listTagsForResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param registerEventTopicRequest
* Registers a new event topic.
* @return A Java Future containing the result of the RegisterEventTopic
* operation returned by the service.
* @sample AWSDirectoryServiceAsync.RegisterEventTopic
*/
java.util.concurrent.Future registerEventTopicAsync(
RegisterEventTopicRequest registerEventTopicRequest);
/**
*
* 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.
*
*
* @param registerEventTopicRequest
* Registers a new event topic.
* @param 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.
* @return A Java Future containing the result of the RegisterEventTopic
* operation returned by the service.
* @sample AWSDirectoryServiceAsyncHandler.RegisterEventTopic
*/
java.util.concurrent.Future registerEventTopicAsync(
RegisterEventTopicRequest registerEventTopicRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Removes tags from an Amazon Directory Services directory.
*
*
* @param removeTagsFromResourceRequest
* @return A Java Future containing the result of the RemoveTagsFromResource
* operation returned by the service.
* @sample AWSDirectoryServiceAsync.RemoveTagsFromResource
*/
java.util.concurrent.Future removeTagsFromResourceAsync(
RemoveTagsFromResourceRequest removeTagsFromResourceRequest);
/**
*
* Removes tags from an Amazon Directory Services directory.
*
*
* @param removeTagsFromResourceRequest
* @param 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.
* @return A Java Future containing the result of the RemoveTagsFromResource
* operation returned by the service.
* @sample AWSDirectoryServiceAsyncHandler.RemoveTagsFromResource
*/
java.util.concurrent.Future removeTagsFromResourceAsync(
RemoveTagsFromResourceRequest removeTagsFromResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param restoreFromSnapshotRequest
* An object representing the inputs for the
* RestoreFromSnapshot operation.
* @return A Java Future containing the result of the RestoreFromSnapshot
* operation returned by the service.
* @sample AWSDirectoryServiceAsync.RestoreFromSnapshot
*/
java.util.concurrent.Future restoreFromSnapshotAsync(
RestoreFromSnapshotRequest restoreFromSnapshotRequest);
/**
*
* 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.
*
*
* @param restoreFromSnapshotRequest
* An object representing the inputs for the
* RestoreFromSnapshot operation.
* @param 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.
* @return A Java Future containing the result of the RestoreFromSnapshot
* operation returned by the service.
* @sample AWSDirectoryServiceAsyncHandler.RestoreFromSnapshot
*/
java.util.concurrent.Future restoreFromSnapshotAsync(
RestoreFromSnapshotRequest restoreFromSnapshotRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Updates a conditional forwarder that has been set up for your AWS
* directory.
*
*
* @param updateConditionalForwarderRequest
* Updates a conditional forwarder.
* @return A Java Future containing the result of the
* UpdateConditionalForwarder operation returned by the service.
* @sample AWSDirectoryServiceAsync.UpdateConditionalForwarder
*/
java.util.concurrent.Future updateConditionalForwarderAsync(
UpdateConditionalForwarderRequest updateConditionalForwarderRequest);
/**
*
* Updates a conditional forwarder that has been set up for your AWS
* directory.
*
*
* @param updateConditionalForwarderRequest
* Updates a conditional forwarder.
* @param 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.
* @return A Java Future containing the result of the
* UpdateConditionalForwarder operation returned by the service.
* @sample AWSDirectoryServiceAsyncHandler.UpdateConditionalForwarder
*/
java.util.concurrent.Future updateConditionalForwarderAsync(
UpdateConditionalForwarderRequest updateConditionalForwarderRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Updates the Remote Authentication Dial In User Service (RADIUS) server
* information for an AD Connector directory.
*
*
* @param updateRadiusRequest
* Contains the inputs for the UpdateRadius operation.
* @return A Java Future containing the result of the UpdateRadius operation
* returned by the service.
* @sample AWSDirectoryServiceAsync.UpdateRadius
*/
java.util.concurrent.Future updateRadiusAsync(
UpdateRadiusRequest updateRadiusRequest);
/**
*
* Updates the Remote Authentication Dial In User Service (RADIUS) server
* information for an AD Connector directory.
*
*
* @param updateRadiusRequest
* Contains the inputs for the UpdateRadius operation.
* @param 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.
* @return A Java Future containing the result of the UpdateRadius operation
* returned by the service.
* @sample AWSDirectoryServiceAsyncHandler.UpdateRadius
*/
java.util.concurrent.Future updateRadiusAsync(
UpdateRadiusRequest updateRadiusRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param verifyTrustRequest
* Initiates the verification of an existing trust relationship
* between a Microsoft AD in the AWS cloud and an external domain.
* @return A Java Future containing the result of the VerifyTrust operation
* returned by the service.
* @sample AWSDirectoryServiceAsync.VerifyTrust
*/
java.util.concurrent.Future verifyTrustAsync(
VerifyTrustRequest verifyTrustRequest);
/**
*
* 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.
*
*
* @param verifyTrustRequest
* Initiates the verification of an existing trust relationship
* between a Microsoft AD in the AWS cloud and an external domain.
* @param 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.
* @return A Java Future containing the result of the VerifyTrust operation
* returned by the service.
* @sample AWSDirectoryServiceAsyncHandler.VerifyTrust
*/
java.util.concurrent.Future verifyTrustAsync(
VerifyTrustRequest verifyTrustRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
}