AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 3.5
 
Interface for accessing DirectoryService 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.

Inheritance Hierarchy

Amazon.DirectoryService.IAmazonDirectoryService

Namespace: Amazon.DirectoryService
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public interface IAmazonDirectoryService
         IDisposable

The IAmazonDirectoryService type exposes the following members

Methods

NameDescription
Public Method BeginConnectDirectory(ConnectDirectoryRequest, AsyncCallback, object) Initiates the asynchronous execution of the ConnectDirectory operation.
Public Method BeginCreateAlias(CreateAliasRequest, AsyncCallback, object) Initiates the asynchronous execution of the CreateAlias operation.
Public Method BeginCreateComputer(CreateComputerRequest, AsyncCallback, object) Initiates the asynchronous execution of the CreateComputer operation.
Public Method BeginCreateDirectory(CreateDirectoryRequest, AsyncCallback, object) Initiates the asynchronous execution of the CreateDirectory operation.
Public Method BeginCreateMicrosoftAD(CreateMicrosoftADRequest, AsyncCallback, object) Initiates the asynchronous execution of the CreateMicrosoftAD operation.
Public Method BeginCreateSnapshot(CreateSnapshotRequest, AsyncCallback, object) Initiates the asynchronous execution of the CreateSnapshot operation.
Public Method BeginCreateTrust(CreateTrustRequest, AsyncCallback, object) Initiates the asynchronous execution of the CreateTrust operation.
Public Method BeginDeleteDirectory(DeleteDirectoryRequest, AsyncCallback, object) Initiates the asynchronous execution of the DeleteDirectory operation.
Public Method BeginDeleteSnapshot(DeleteSnapshotRequest, AsyncCallback, object) Initiates the asynchronous execution of the DeleteSnapshot operation.
Public Method BeginDeleteTrust(DeleteTrustRequest, AsyncCallback, object) Initiates the asynchronous execution of the DeleteTrust operation.
Public Method BeginDeregisterEventTopic(DeregisterEventTopicRequest, AsyncCallback, object) Initiates the asynchronous execution of the DeregisterEventTopic operation.
Public Method BeginDescribeDirectories(DescribeDirectoriesRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeDirectories operation.
Public Method BeginDescribeEventTopics(DescribeEventTopicsRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeEventTopics operation.
Public Method BeginDescribeSnapshots(DescribeSnapshotsRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeSnapshots operation.
Public Method BeginDescribeTrusts(DescribeTrustsRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeTrusts operation.
Public Method BeginDisableRadius(DisableRadiusRequest, AsyncCallback, object) Initiates the asynchronous execution of the DisableRadius operation.
Public Method BeginDisableSso(DisableSsoRequest, AsyncCallback, object) Initiates the asynchronous execution of the DisableSso operation.
Public Method BeginEnableRadius(EnableRadiusRequest, AsyncCallback, object) Initiates the asynchronous execution of the EnableRadius operation.
Public Method BeginEnableSso(EnableSsoRequest, AsyncCallback, object) Initiates the asynchronous execution of the EnableSso operation.
Public Method BeginGetDirectoryLimits(GetDirectoryLimitsRequest, AsyncCallback, object) Initiates the asynchronous execution of the GetDirectoryLimits operation.
Public Method BeginGetSnapshotLimits(GetSnapshotLimitsRequest, AsyncCallback, object) Initiates the asynchronous execution of the GetSnapshotLimits operation.
Public Method BeginRegisterEventTopic(RegisterEventTopicRequest, AsyncCallback, object) Initiates the asynchronous execution of the RegisterEventTopic operation.
Public Method BeginRestoreFromSnapshot(RestoreFromSnapshotRequest, AsyncCallback, object) Initiates the asynchronous execution of the RestoreFromSnapshot operation.
Public Method BeginUpdateRadius(UpdateRadiusRequest, AsyncCallback, object) Initiates the asynchronous execution of the UpdateRadius operation.
Public Method BeginVerifyTrust(VerifyTrustRequest, AsyncCallback, object) Initiates the asynchronous execution of the VerifyTrust operation.
Public Method ConnectDirectory(ConnectDirectoryRequest) Creates an AD Connector to connect to an on-premises directory.
Public Method CreateAlias(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.

Public Method CreateComputer(CreateComputerRequest) Creates a computer account in the specified directory, and joins the computer to the directory.
Public Method CreateDirectory(CreateDirectoryRequest) Creates a Simple AD directory.
Public Method CreateMicrosoftAD(CreateMicrosoftADRequest) Creates a Microsoft AD in the AWS cloud.
Public Method CreateSnapshot(CreateSnapshotRequest) Creates a snapshot of a Simple AD or Microsoft AD directory in the AWS cloud.

You cannot take snapshots of AD Connector directories.

Public Method CreateTrust(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.

Public Method DeleteDirectory(DeleteDirectoryRequest) Deletes an AWS Directory Service directory.
Public Method DeleteSnapshot(DeleteSnapshotRequest) Deletes a directory snapshot.
Public Method DeleteTrust(DeleteTrustRequest) Deletes an existing trust relationship between your Microsoft AD in the AWS cloud and an external domain.
Public Method DeregisterEventTopic(DeregisterEventTopicRequest) Removes the specified directory as a publisher to the specified SNS topic.
Public Method DescribeDirectories() 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.

Public Method DescribeDirectories(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.

Public Method DescribeEventTopics(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.

Public Method DescribeSnapshots(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.

Public Method DescribeTrusts(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.

Public Method DisableRadius(DisableRadiusRequest) Disables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service (RADIUS) server for an AD Connector directory.
Public Method DisableSso(DisableSsoRequest) Disables single-sign on for a directory.
Public Method EnableRadius(EnableRadiusRequest) Enables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service (RADIUS) server for an AD Connector directory.
Public Method EnableSso(EnableSsoRequest) Enables single-sign on for a directory.
Public Method EndConnectDirectory(IAsyncResult) Finishes the asynchronous execution of the ConnectDirectory operation.
Public Method EndCreateAlias(IAsyncResult) Finishes the asynchronous execution of the CreateAlias operation.
Public Method EndCreateComputer(IAsyncResult) Finishes the asynchronous execution of the CreateComputer operation.
Public Method EndCreateDirectory(IAsyncResult) Finishes the asynchronous execution of the CreateDirectory operation.
Public Method EndCreateMicrosoftAD(IAsyncResult) Finishes the asynchronous execution of the CreateMicrosoftAD operation.
Public Method EndCreateSnapshot(IAsyncResult) Finishes the asynchronous execution of the CreateSnapshot operation.
Public Method EndCreateTrust(IAsyncResult) Finishes the asynchronous execution of the CreateTrust operation.
Public Method EndDeleteDirectory(IAsyncResult) Finishes the asynchronous execution of the DeleteDirectory operation.
Public Method EndDeleteSnapshot(IAsyncResult) Finishes the asynchronous execution of the DeleteSnapshot operation.
Public Method EndDeleteTrust(IAsyncResult) Finishes the asynchronous execution of the DeleteTrust operation.
Public Method EndDeregisterEventTopic(IAsyncResult) Finishes the asynchronous execution of the DeregisterEventTopic operation.
Public Method EndDescribeDirectories(IAsyncResult) Finishes the asynchronous execution of the DescribeDirectories operation.
Public Method EndDescribeEventTopics(IAsyncResult) Finishes the asynchronous execution of the DescribeEventTopics operation.
Public Method EndDescribeSnapshots(IAsyncResult) Finishes the asynchronous execution of the DescribeSnapshots operation.
Public Method EndDescribeTrusts(IAsyncResult) Finishes the asynchronous execution of the DescribeTrusts operation.
Public Method EndDisableRadius(IAsyncResult) Finishes the asynchronous execution of the DisableRadius operation.
Public Method EndDisableSso(IAsyncResult) Finishes the asynchronous execution of the DisableSso operation.
Public Method EndEnableRadius(IAsyncResult) Finishes the asynchronous execution of the EnableRadius operation.
Public Method EndEnableSso(IAsyncResult) Finishes the asynchronous execution of the EnableSso operation.
Public Method EndGetDirectoryLimits(IAsyncResult) Finishes the asynchronous execution of the GetDirectoryLimits operation.
Public Method EndGetSnapshotLimits(IAsyncResult) Finishes the asynchronous execution of the GetSnapshotLimits operation.
Public Method EndRegisterEventTopic(IAsyncResult) Finishes the asynchronous execution of the RegisterEventTopic operation.
Public Method EndRestoreFromSnapshot(IAsyncResult) Finishes the asynchronous execution of the RestoreFromSnapshot operation.
Public Method EndUpdateRadius(IAsyncResult) Finishes the asynchronous execution of the UpdateRadius operation.
Public Method EndVerifyTrust(IAsyncResult) Finishes the asynchronous execution of the VerifyTrust operation.
Public Method GetDirectoryLimits() Obtains directory limit information for the current region.
Public Method GetDirectoryLimits(GetDirectoryLimitsRequest) Obtains directory limit information for the current region.
Public Method GetSnapshotLimits(GetSnapshotLimitsRequest) Obtains the manual snapshot limits for a directory.
Public Method RegisterEventTopic(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.
Public Method RestoreFromSnapshot(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.

Public Method UpdateRadius(UpdateRadiusRequest) Updates the Remote Authentication Dial In User Service (RADIUS) server information for an AD Connector directory.
Public Method VerifyTrust(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.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5