/* * Copyright 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. */ /* * Do not modify this file. This file is generated from the ds-2015-04-16.normal.json service model. */ using System; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using Amazon.Runtime; using Amazon.DirectoryService.Model; namespace Amazon.DirectoryService { /// /// Interface for accessing DirectoryService /// /// Directory Service /// /// Directory Service is a web service that makes it easy for you to setup and run directories /// in the Amazon Web Services cloud, or connect your Amazon Web Services resources with /// an existing self-managed Microsoft Active Directory. This guide provides detailed /// information about Directory Service operations, data types, parameters, and errors. /// For information about Directory Services features, see Directory /// Service and the Directory /// Service Administration Guide. /// /// /// /// Amazon Web Services provides SDKs that consist of libraries and sample code for various /// programming languages and platforms (Java, Ruby, .Net, iOS, Android, etc.). The SDKs /// provide a convenient way to create programmatic access to Directory Service and other /// Amazon Web Services services. For more information about the Amazon Web Services SDKs, /// including how to download and install them, see Tools /// for Amazon Web Services. /// /// /// public partial interface IAmazonDirectoryService : IAmazonService, IDisposable { /// /// Paginators for the service /// IDirectoryServicePaginatorFactory Paginators { get; } #region AcceptSharedDirectory /// /// Accepts a directory sharing request that was sent from the directory owner account. /// /// Container for the necessary parameters to execute the AcceptSharedDirectory service method. /// /// The response from the AcceptSharedDirectory service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified directory has already been shared with this Amazon Web Services account. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for AcceptSharedDirectory Operation AcceptSharedDirectoryResponse AcceptSharedDirectory(AcceptSharedDirectoryRequest request); /// /// Accepts a directory sharing request that was sent from the directory owner account. /// /// Container for the necessary parameters to execute the AcceptSharedDirectory service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AcceptSharedDirectory service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified directory has already been shared with this Amazon Web Services account. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for AcceptSharedDirectory Operation Task AcceptSharedDirectoryAsync(AcceptSharedDirectoryRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region AddIpRoutes /// /// If the DNS server for your self-managed domain uses a publicly addressable IP address, /// you must add a CIDR address block to correctly route traffic to and from your Microsoft /// AD on Amazon Web Services. AddIpRoutes adds this address block. You can also /// use AddIpRoutes to facilitate routing traffic that uses public IP ranges from /// your Microsoft AD on Amazon Web Services to a peer VPC. /// /// /// /// Before you call AddIpRoutes, ensure that all of the required permissions have /// been explicitly granted through a policy. For details about what permissions are required /// to run the AddIpRoutes operation, see Directory /// Service API Permissions: Actions, Resources, and Conditions Reference. /// /// /// Container for the necessary parameters to execute the AddIpRoutes service method. /// /// The response from the AddIpRoutes service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified directory is unavailable or could not be found. /// /// /// The specified entity already exists. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// The maximum allowed number of IP addresses was exceeded. The default limit is 100 /// IP address blocks. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for AddIpRoutes Operation AddIpRoutesResponse AddIpRoutes(AddIpRoutesRequest request); /// /// If the DNS server for your self-managed domain uses a publicly addressable IP address, /// you must add a CIDR address block to correctly route traffic to and from your Microsoft /// AD on Amazon Web Services. AddIpRoutes adds this address block. You can also /// use AddIpRoutes to facilitate routing traffic that uses public IP ranges from /// your Microsoft AD on Amazon Web Services to a peer VPC. /// /// /// /// Before you call AddIpRoutes, ensure that all of the required permissions have /// been explicitly granted through a policy. For details about what permissions are required /// to run the AddIpRoutes operation, see Directory /// Service API Permissions: Actions, Resources, and Conditions Reference. /// /// /// Container for the necessary parameters to execute the AddIpRoutes service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AddIpRoutes service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified directory is unavailable or could not be found. /// /// /// The specified entity already exists. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// The maximum allowed number of IP addresses was exceeded. The default limit is 100 /// IP address blocks. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for AddIpRoutes Operation Task AddIpRoutesAsync(AddIpRoutesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region AddRegion /// /// Adds two domain controllers in the specified Region for the specified directory. /// /// Container for the necessary parameters to execute the AddRegion service method. /// /// The response from the AddRegion service method, as returned by DirectoryService. /// /// Client authentication is not available in this region at this time. /// /// /// A client exception has occurred. /// /// /// The Region you specified is the same Region where the Managed Microsoft AD directory /// was created. Specify a different Region and try again. /// /// /// The specified directory does not exist in the system. /// /// /// The specified directory is unavailable or could not be found. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// You have reached the limit for maximum number of simultaneous Region replications /// per directory. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for AddRegion Operation AddRegionResponse AddRegion(AddRegionRequest request); /// /// Adds two domain controllers in the specified Region for the specified directory. /// /// Container for the necessary parameters to execute the AddRegion service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AddRegion service method, as returned by DirectoryService. /// /// Client authentication is not available in this region at this time. /// /// /// A client exception has occurred. /// /// /// The Region you specified is the same Region where the Managed Microsoft AD directory /// was created. Specify a different Region and try again. /// /// /// The specified directory does not exist in the system. /// /// /// The specified directory is unavailable or could not be found. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// You have reached the limit for maximum number of simultaneous Region replications /// per directory. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for AddRegion Operation Task AddRegionAsync(AddRegionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region AddTagsToResource /// /// Adds or overwrites one or more tags for the specified directory. Each directory can /// have a maximum of 50 tags. Each tag consists of a key and optional value. Tag keys /// must be unique to each resource. /// /// Container for the necessary parameters to execute the AddTagsToResource service method. /// /// The response from the AddTagsToResource service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The maximum allowed number of tags was exceeded. /// /// REST API Reference for AddTagsToResource Operation AddTagsToResourceResponse AddTagsToResource(AddTagsToResourceRequest request); /// /// Adds or overwrites one or more tags for the specified directory. Each directory can /// have a maximum of 50 tags. Each tag consists of a key and optional value. Tag keys /// must be unique to each resource. /// /// Container for the necessary parameters to execute the AddTagsToResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AddTagsToResource service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The maximum allowed number of tags was exceeded. /// /// REST API Reference for AddTagsToResource Operation Task AddTagsToResourceAsync(AddTagsToResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CancelSchemaExtension /// /// Cancels an in-progress schema extension to a Microsoft AD directory. Once a schema /// extension has started replicating to all domain controllers, the task can no longer /// be canceled. A schema extension can be canceled during any of the following states; /// Initializing, CreatingSnapshot, and UpdatingSchema. /// /// Container for the necessary parameters to execute the CancelSchemaExtension service method. /// /// The response from the CancelSchemaExtension service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for CancelSchemaExtension Operation CancelSchemaExtensionResponse CancelSchemaExtension(CancelSchemaExtensionRequest request); /// /// Cancels an in-progress schema extension to a Microsoft AD directory. Once a schema /// extension has started replicating to all domain controllers, the task can no longer /// be canceled. A schema extension can be canceled during any of the following states; /// Initializing, CreatingSnapshot, and UpdatingSchema. /// /// Container for the necessary parameters to execute the CancelSchemaExtension service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CancelSchemaExtension service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for CancelSchemaExtension Operation Task CancelSchemaExtensionAsync(CancelSchemaExtensionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ConnectDirectory /// /// Creates an AD Connector to connect to a self-managed directory. /// /// /// /// Before you call ConnectDirectory, ensure that all of the required permissions /// have been explicitly granted through a policy. For details about what permissions /// are required to run the ConnectDirectory operation, see Directory /// Service API Permissions: Actions, Resources, and Conditions Reference. /// /// /// Container for the necessary parameters to execute the ConnectDirectory service method. /// /// The response from the ConnectDirectory service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The maximum number of directories in the region has been reached. You can use the /// GetDirectoryLimits operation to determine your directory limits in the region. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for ConnectDirectory Operation ConnectDirectoryResponse ConnectDirectory(ConnectDirectoryRequest request); /// /// Creates an AD Connector to connect to a self-managed directory. /// /// /// /// Before you call ConnectDirectory, ensure that all of the required permissions /// have been explicitly granted through a policy. For details about what permissions /// are required to run the ConnectDirectory operation, see Directory /// Service API Permissions: Actions, Resources, and Conditions Reference. /// /// /// Container for the necessary parameters to execute the ConnectDirectory service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ConnectDirectory service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The maximum number of directories in the region has been reached. You can use the /// GetDirectoryLimits operation to determine your directory limits in the region. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for ConnectDirectory Operation Task ConnectDirectoryAsync(ConnectDirectoryRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateAlias /// /// 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. /// /// /// /// Container for the necessary parameters to execute the CreateAlias service method. /// /// The response from the CreateAlias service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity already exists. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for CreateAlias Operation CreateAliasResponse CreateAlias(CreateAliasRequest request); /// /// 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. /// /// /// /// Container for the necessary parameters to execute the CreateAlias service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateAlias service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity already exists. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for CreateAlias Operation Task CreateAliasAsync(CreateAliasRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateComputer /// /// Creates an Active Directory computer object in the specified directory. /// /// Container for the necessary parameters to execute the CreateComputer service method. /// /// The response from the CreateComputer service method, as returned by DirectoryService. /// /// An authentication error occurred. /// /// /// A client exception has occurred. /// /// /// The specified directory is unavailable or could not be found. /// /// /// The specified entity already exists. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for CreateComputer Operation CreateComputerResponse CreateComputer(CreateComputerRequest request); /// /// Creates an Active Directory computer object in the specified directory. /// /// Container for the necessary parameters to execute the CreateComputer service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateComputer service method, as returned by DirectoryService. /// /// An authentication error occurred. /// /// /// A client exception has occurred. /// /// /// The specified directory is unavailable or could not be found. /// /// /// The specified entity already exists. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for CreateComputer Operation Task CreateComputerAsync(CreateComputerRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateConditionalForwarder /// /// Creates a conditional forwarder associated with your Amazon Web Services directory. /// Conditional forwarders are required in order to set up a trust relationship with another /// domain. The conditional forwarder points to the trusted domain. /// /// Container for the necessary parameters to execute the CreateConditionalForwarder service method. /// /// The response from the CreateConditionalForwarder service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified directory is unavailable or could not be found. /// /// /// The specified entity already exists. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for CreateConditionalForwarder Operation CreateConditionalForwarderResponse CreateConditionalForwarder(CreateConditionalForwarderRequest request); /// /// Creates a conditional forwarder associated with your Amazon Web Services directory. /// Conditional forwarders are required in order to set up a trust relationship with another /// domain. The conditional forwarder points to the trusted domain. /// /// Container for the necessary parameters to execute the CreateConditionalForwarder service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateConditionalForwarder service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified directory is unavailable or could not be found. /// /// /// The specified entity already exists. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for CreateConditionalForwarder Operation Task CreateConditionalForwarderAsync(CreateConditionalForwarderRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateDirectory /// /// Creates a Simple AD directory. For more information, see Simple /// Active Directory in the Directory Service Admin Guide. /// /// /// /// Before you call CreateDirectory, ensure that all of the required permissions /// have been explicitly granted through a policy. For details about what permissions /// are required to run the CreateDirectory operation, see Directory /// Service API Permissions: Actions, Resources, and Conditions Reference. /// /// /// Container for the necessary parameters to execute the CreateDirectory service method. /// /// The response from the CreateDirectory service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The maximum number of directories in the region has been reached. You can use the /// GetDirectoryLimits operation to determine your directory limits in the region. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for CreateDirectory Operation CreateDirectoryResponse CreateDirectory(CreateDirectoryRequest request); /// /// Creates a Simple AD directory. For more information, see Simple /// Active Directory in the Directory Service Admin Guide. /// /// /// /// Before you call CreateDirectory, ensure that all of the required permissions /// have been explicitly granted through a policy. For details about what permissions /// are required to run the CreateDirectory operation, see Directory /// Service API Permissions: Actions, Resources, and Conditions Reference. /// /// /// Container for the necessary parameters to execute the CreateDirectory service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateDirectory service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The maximum number of directories in the region has been reached. You can use the /// GetDirectoryLimits operation to determine your directory limits in the region. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for CreateDirectory Operation Task CreateDirectoryAsync(CreateDirectoryRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateLogSubscription /// /// Creates a subscription to forward real-time Directory Service domain controller security /// logs to the specified Amazon CloudWatch log group in your Amazon Web Services account. /// /// Container for the necessary parameters to execute the CreateLogSubscription service method. /// /// The response from the CreateLogSubscription service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity already exists. /// /// /// The specified entity could not be found. /// /// /// The account does not have sufficient permission to perform the operation. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for CreateLogSubscription Operation CreateLogSubscriptionResponse CreateLogSubscription(CreateLogSubscriptionRequest request); /// /// Creates a subscription to forward real-time Directory Service domain controller security /// logs to the specified Amazon CloudWatch log group in your Amazon Web Services account. /// /// Container for the necessary parameters to execute the CreateLogSubscription service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateLogSubscription service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity already exists. /// /// /// The specified entity could not be found. /// /// /// The account does not have sufficient permission to perform the operation. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for CreateLogSubscription Operation Task CreateLogSubscriptionAsync(CreateLogSubscriptionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateMicrosoftAD /// /// Creates a Microsoft AD directory in the Amazon Web Services Cloud. For more information, /// see Managed /// Microsoft AD in the Directory Service Admin Guide. /// /// /// /// Before you call CreateMicrosoftAD, ensure that all of the required permissions /// have been explicitly granted through a policy. For details about what permissions /// are required to run the CreateMicrosoftAD operation, see Directory /// Service API Permissions: Actions, Resources, and Conditions Reference. /// /// /// Container for the necessary parameters to execute the CreateMicrosoftAD service method. /// /// The response from the CreateMicrosoftAD service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The maximum number of directories in the region has been reached. You can use the /// GetDirectoryLimits operation to determine your directory limits in the region. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for CreateMicrosoftAD Operation CreateMicrosoftADResponse CreateMicrosoftAD(CreateMicrosoftADRequest request); /// /// Creates a Microsoft AD directory in the Amazon Web Services Cloud. For more information, /// see Managed /// Microsoft AD in the Directory Service Admin Guide. /// /// /// /// Before you call CreateMicrosoftAD, ensure that all of the required permissions /// have been explicitly granted through a policy. For details about what permissions /// are required to run the CreateMicrosoftAD operation, see Directory /// Service API Permissions: Actions, Resources, and Conditions Reference. /// /// /// Container for the necessary parameters to execute the CreateMicrosoftAD service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateMicrosoftAD service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The maximum number of directories in the region has been reached. You can use the /// GetDirectoryLimits operation to determine your directory limits in the region. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for CreateMicrosoftAD Operation Task CreateMicrosoftADAsync(CreateMicrosoftADRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateSnapshot /// /// Creates a snapshot of a Simple AD or Microsoft AD directory in the Amazon Web Services /// cloud. /// /// /// /// You cannot take snapshots of AD Connector directories. /// /// /// /// Container for the necessary parameters to execute the CreateSnapshot service method. /// /// The response from the CreateSnapshot service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The maximum number of manual snapshots for the directory has been reached. You can /// use the GetSnapshotLimits operation to determine the snapshot limits for a /// directory. /// /// REST API Reference for CreateSnapshot Operation CreateSnapshotResponse CreateSnapshot(CreateSnapshotRequest request); /// /// Creates a snapshot of a Simple AD or Microsoft AD directory in the Amazon Web Services /// cloud. /// /// /// /// You cannot take snapshots of AD Connector directories. /// /// /// /// Container for the necessary parameters to execute the CreateSnapshot service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateSnapshot service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The maximum number of manual snapshots for the directory has been reached. You can /// use the GetSnapshotLimits operation to determine the snapshot limits for a /// directory. /// /// REST API Reference for CreateSnapshot Operation Task CreateSnapshotAsync(CreateSnapshotRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateTrust /// /// Directory Service for Microsoft Active Directory allows you to configure trust relationships. /// For example, you can establish a trust between your Managed Microsoft AD directory, /// and your existing self-managed Microsoft Active Directory. This would allow you to /// provide users and groups access to resources in either domain, with a single set of /// credentials. /// /// /// /// This action initiates the creation of the Amazon Web Services side of a trust relationship /// between an Managed Microsoft AD directory and an external domain. You can create either /// a forest trust or an external trust. /// /// /// Container for the necessary parameters to execute the CreateTrust service method. /// /// The response from the CreateTrust service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity already exists. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for CreateTrust Operation CreateTrustResponse CreateTrust(CreateTrustRequest request); /// /// Directory Service for Microsoft Active Directory allows you to configure trust relationships. /// For example, you can establish a trust between your Managed Microsoft AD directory, /// and your existing self-managed Microsoft Active Directory. This would allow you to /// provide users and groups access to resources in either domain, with a single set of /// credentials. /// /// /// /// This action initiates the creation of the Amazon Web Services side of a trust relationship /// between an Managed Microsoft AD directory and an external domain. You can create either /// a forest trust or an external trust. /// /// /// Container for the necessary parameters to execute the CreateTrust service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateTrust service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity already exists. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for CreateTrust Operation Task CreateTrustAsync(CreateTrustRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteConditionalForwarder /// /// Deletes a conditional forwarder that has been set up for your Amazon Web Services /// directory. /// /// Container for the necessary parameters to execute the DeleteConditionalForwarder service method. /// /// The response from the DeleteConditionalForwarder service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified directory is unavailable or could not be found. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for DeleteConditionalForwarder Operation DeleteConditionalForwarderResponse DeleteConditionalForwarder(DeleteConditionalForwarderRequest request); /// /// Deletes a conditional forwarder that has been set up for your Amazon Web Services /// directory. /// /// Container for the necessary parameters to execute the DeleteConditionalForwarder service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteConditionalForwarder service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified directory is unavailable or could not be found. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for DeleteConditionalForwarder Operation Task DeleteConditionalForwarderAsync(DeleteConditionalForwarderRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteDirectory /// /// Deletes an Directory Service directory. /// /// /// /// Before you call DeleteDirectory, ensure that all of the required permissions /// have been explicitly granted through a policy. For details about what permissions /// are required to run the DeleteDirectory operation, see Directory /// Service API Permissions: Actions, Resources, and Conditions Reference. /// /// /// Container for the necessary parameters to execute the DeleteDirectory service method. /// /// The response from the DeleteDirectory service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for DeleteDirectory Operation DeleteDirectoryResponse DeleteDirectory(DeleteDirectoryRequest request); /// /// Deletes an Directory Service directory. /// /// /// /// Before you call DeleteDirectory, ensure that all of the required permissions /// have been explicitly granted through a policy. For details about what permissions /// are required to run the DeleteDirectory operation, see Directory /// Service API Permissions: Actions, Resources, and Conditions Reference. /// /// /// Container for the necessary parameters to execute the DeleteDirectory service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteDirectory service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for DeleteDirectory Operation Task DeleteDirectoryAsync(DeleteDirectoryRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteLogSubscription /// /// Deletes the specified log subscription. /// /// Container for the necessary parameters to execute the DeleteLogSubscription service method. /// /// The response from the DeleteLogSubscription service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for DeleteLogSubscription Operation DeleteLogSubscriptionResponse DeleteLogSubscription(DeleteLogSubscriptionRequest request); /// /// Deletes the specified log subscription. /// /// Container for the necessary parameters to execute the DeleteLogSubscription service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteLogSubscription service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for DeleteLogSubscription Operation Task DeleteLogSubscriptionAsync(DeleteLogSubscriptionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteSnapshot /// /// Deletes a directory snapshot. /// /// Container for the necessary parameters to execute the DeleteSnapshot service method. /// /// The response from the DeleteSnapshot service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for DeleteSnapshot Operation DeleteSnapshotResponse DeleteSnapshot(DeleteSnapshotRequest request); /// /// Deletes a directory snapshot. /// /// Container for the necessary parameters to execute the DeleteSnapshot service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteSnapshot service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for DeleteSnapshot Operation Task DeleteSnapshotAsync(DeleteSnapshotRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteTrust /// /// Deletes an existing trust relationship between your Managed Microsoft AD directory /// and an external domain. /// /// Container for the necessary parameters to execute the DeleteTrust service method. /// /// The response from the DeleteTrust service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for DeleteTrust Operation DeleteTrustResponse DeleteTrust(DeleteTrustRequest request); /// /// Deletes an existing trust relationship between your Managed Microsoft AD directory /// and an external domain. /// /// Container for the necessary parameters to execute the DeleteTrust service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteTrust service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for DeleteTrust Operation Task DeleteTrustAsync(DeleteTrustRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeregisterCertificate /// /// Deletes from the system the certificate that was registered for secure LDAP or client /// certificate authentication. /// /// Container for the necessary parameters to execute the DeregisterCertificate service method. /// /// The response from the DeregisterCertificate service method, as returned by DirectoryService. /// /// The certificate is not present in the system for describe or deregister activities. /// /// /// The certificate is being used for the LDAP security connection and cannot be removed /// without disabling LDAP security. /// /// /// A client exception has occurred. /// /// /// The specified directory does not exist in the system. /// /// /// The specified directory is unavailable or could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for DeregisterCertificate Operation DeregisterCertificateResponse DeregisterCertificate(DeregisterCertificateRequest request); /// /// Deletes from the system the certificate that was registered for secure LDAP or client /// certificate authentication. /// /// Container for the necessary parameters to execute the DeregisterCertificate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeregisterCertificate service method, as returned by DirectoryService. /// /// The certificate is not present in the system for describe or deregister activities. /// /// /// The certificate is being used for the LDAP security connection and cannot be removed /// without disabling LDAP security. /// /// /// A client exception has occurred. /// /// /// The specified directory does not exist in the system. /// /// /// The specified directory is unavailable or could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for DeregisterCertificate Operation Task DeregisterCertificateAsync(DeregisterCertificateRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeregisterEventTopic /// /// Removes the specified directory as a publisher to the specified Amazon SNS topic. /// /// Container for the necessary parameters to execute the DeregisterEventTopic service method. /// /// The response from the DeregisterEventTopic service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for DeregisterEventTopic Operation DeregisterEventTopicResponse DeregisterEventTopic(DeregisterEventTopicRequest request); /// /// Removes the specified directory as a publisher to the specified Amazon SNS topic. /// /// Container for the necessary parameters to execute the DeregisterEventTopic service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeregisterEventTopic service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for DeregisterEventTopic Operation Task DeregisterEventTopicAsync(DeregisterEventTopicRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeCertificate /// /// Displays information about the certificate registered for secure LDAP or client certificate /// authentication. /// /// Container for the necessary parameters to execute the DescribeCertificate service method. /// /// The response from the DescribeCertificate service method, as returned by DirectoryService. /// /// The certificate is not present in the system for describe or deregister activities. /// /// /// A client exception has occurred. /// /// /// The specified directory does not exist in the system. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for DescribeCertificate Operation DescribeCertificateResponse DescribeCertificate(DescribeCertificateRequest request); /// /// Displays information about the certificate registered for secure LDAP or client certificate /// authentication. /// /// Container for the necessary parameters to execute the DescribeCertificate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeCertificate service method, as returned by DirectoryService. /// /// The certificate is not present in the system for describe or deregister activities. /// /// /// A client exception has occurred. /// /// /// The specified directory does not exist in the system. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for DescribeCertificate Operation Task DescribeCertificateAsync(DescribeCertificateRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeClientAuthenticationSettings /// /// Retrieves information about the type of client authentication for the specified directory, /// if the type is specified. If no type is specified, information about all client authentication /// types that are supported for the specified directory is retrieved. Currently, only /// SmartCard is supported. /// /// Container for the necessary parameters to execute the DescribeClientAuthenticationSettings service method. /// /// The response from the DescribeClientAuthenticationSettings service method, as returned by DirectoryService. /// /// Client authentication is not available in this region at this time. /// /// /// A client exception has occurred. /// /// /// The specified directory does not exist in the system. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for DescribeClientAuthenticationSettings Operation DescribeClientAuthenticationSettingsResponse DescribeClientAuthenticationSettings(DescribeClientAuthenticationSettingsRequest request); /// /// Retrieves information about the type of client authentication for the specified directory, /// if the type is specified. If no type is specified, information about all client authentication /// types that are supported for the specified directory is retrieved. Currently, only /// SmartCard is supported. /// /// Container for the necessary parameters to execute the DescribeClientAuthenticationSettings service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeClientAuthenticationSettings service method, as returned by DirectoryService. /// /// Client authentication is not available in this region at this time. /// /// /// A client exception has occurred. /// /// /// The specified directory does not exist in the system. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for DescribeClientAuthenticationSettings Operation Task DescribeClientAuthenticationSettingsAsync(DescribeClientAuthenticationSettingsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeConditionalForwarders /// /// 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. /// /// /// Container for the necessary parameters to execute the DescribeConditionalForwarders service method. /// /// The response from the DescribeConditionalForwarders service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified directory is unavailable or could not be found. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for DescribeConditionalForwarders Operation DescribeConditionalForwardersResponse DescribeConditionalForwarders(DescribeConditionalForwardersRequest request); /// /// 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. /// /// /// Container for the necessary parameters to execute the DescribeConditionalForwarders service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeConditionalForwarders service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified directory is unavailable or could not be found. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for DescribeConditionalForwarders Operation Task DescribeConditionalForwardersAsync(DescribeConditionalForwardersRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region 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. /// /// /// /// The response from the DescribeDirectories service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// The NextToken value is not valid. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for DescribeDirectories Operation DescribeDirectoriesResponse 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. /// /// /// Container for the necessary parameters to execute the DescribeDirectories service method. /// /// The response from the DescribeDirectories service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// The NextToken value is not valid. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for DescribeDirectories Operation DescribeDirectoriesResponse DescribeDirectories(DescribeDirectoriesRequest request); /// /// 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. /// /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeDirectories service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// The NextToken value is not valid. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for DescribeDirectories Operation Task DescribeDirectoriesAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)); /// /// 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. /// /// /// Container for the necessary parameters to execute the DescribeDirectories service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeDirectories service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// The NextToken value is not valid. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for DescribeDirectories Operation Task DescribeDirectoriesAsync(DescribeDirectoriesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeDomainControllers /// /// Provides information about any domain controllers in your directory. /// /// Container for the necessary parameters to execute the DescribeDomainControllers service method. /// /// The response from the DescribeDomainControllers service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// The NextToken value is not valid. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for DescribeDomainControllers Operation DescribeDomainControllersResponse DescribeDomainControllers(DescribeDomainControllersRequest request); /// /// Provides information about any domain controllers in your directory. /// /// Container for the necessary parameters to execute the DescribeDomainControllers service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeDomainControllers service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// The NextToken value is not valid. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for DescribeDomainControllers Operation Task DescribeDomainControllersAsync(DescribeDomainControllersRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeEventTopics /// /// Obtains information about which Amazon SNS topics receive status messages from the /// specified directory. /// /// /// /// If no input parameters are provided, such as DirectoryId or TopicName, this request /// describes all of the associations in the account. /// /// /// Container for the necessary parameters to execute the DescribeEventTopics service method. /// /// The response from the DescribeEventTopics service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for DescribeEventTopics Operation DescribeEventTopicsResponse DescribeEventTopics(DescribeEventTopicsRequest request); /// /// Obtains information about which Amazon SNS topics receive status messages from the /// specified directory. /// /// /// /// If no input parameters are provided, such as DirectoryId or TopicName, this request /// describes all of the associations in the account. /// /// /// Container for the necessary parameters to execute the DescribeEventTopics service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeEventTopics service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for DescribeEventTopics Operation Task DescribeEventTopicsAsync(DescribeEventTopicsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeLDAPSSettings /// /// Describes the status of LDAP security for the specified directory. /// /// Container for the necessary parameters to execute the DescribeLDAPSSettings service method. /// /// The response from the DescribeLDAPSSettings service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified directory does not exist in the system. /// /// /// The NextToken value is not valid. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for DescribeLDAPSSettings Operation DescribeLDAPSSettingsResponse DescribeLDAPSSettings(DescribeLDAPSSettingsRequest request); /// /// Describes the status of LDAP security for the specified directory. /// /// Container for the necessary parameters to execute the DescribeLDAPSSettings service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeLDAPSSettings service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified directory does not exist in the system. /// /// /// The NextToken value is not valid. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for DescribeLDAPSSettings Operation Task DescribeLDAPSSettingsAsync(DescribeLDAPSSettingsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeRegions /// /// Provides information about the Regions that are configured for multi-Region replication. /// /// Container for the necessary parameters to execute the DescribeRegions service method. /// /// The response from the DescribeRegions service method, as returned by DirectoryService. /// /// Client authentication is not available in this region at this time. /// /// /// A client exception has occurred. /// /// /// The specified directory does not exist in the system. /// /// /// The NextToken value is not valid. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for DescribeRegions Operation DescribeRegionsResponse DescribeRegions(DescribeRegionsRequest request); /// /// Provides information about the Regions that are configured for multi-Region replication. /// /// Container for the necessary parameters to execute the DescribeRegions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeRegions service method, as returned by DirectoryService. /// /// Client authentication is not available in this region at this time. /// /// /// A client exception has occurred. /// /// /// The specified directory does not exist in the system. /// /// /// The NextToken value is not valid. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for DescribeRegions Operation Task DescribeRegionsAsync(DescribeRegionsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeSettings /// /// Retrieves information about the configurable settings for the specified directory. /// /// Container for the necessary parameters to execute the DescribeSettings service method. /// /// The response from the DescribeSettings service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified directory does not exist in the system. /// /// /// The NextToken value is not valid. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for DescribeSettings Operation DescribeSettingsResponse DescribeSettings(DescribeSettingsRequest request); /// /// Retrieves information about the configurable settings for the specified directory. /// /// Container for the necessary parameters to execute the DescribeSettings service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeSettings service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified directory does not exist in the system. /// /// /// The NextToken value is not valid. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for DescribeSettings Operation Task DescribeSettingsAsync(DescribeSettingsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeSharedDirectories /// /// Returns the shared directories in your account. /// /// Container for the necessary parameters to execute the DescribeSharedDirectories service method. /// /// The response from the DescribeSharedDirectories service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// The NextToken value is not valid. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for DescribeSharedDirectories Operation DescribeSharedDirectoriesResponse DescribeSharedDirectories(DescribeSharedDirectoriesRequest request); /// /// Returns the shared directories in your account. /// /// Container for the necessary parameters to execute the DescribeSharedDirectories service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeSharedDirectories service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// The NextToken value is not valid. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for DescribeSharedDirectories Operation Task DescribeSharedDirectoriesAsync(DescribeSharedDirectoriesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeSnapshots /// /// 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. /// /// /// Container for the necessary parameters to execute the DescribeSnapshots service method. /// /// The response from the DescribeSnapshots service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// The NextToken value is not valid. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for DescribeSnapshots Operation DescribeSnapshotsResponse DescribeSnapshots(DescribeSnapshotsRequest request); /// /// 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. /// /// /// Container for the necessary parameters to execute the DescribeSnapshots service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeSnapshots service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// The NextToken value is not valid. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for DescribeSnapshots Operation Task DescribeSnapshotsAsync(DescribeSnapshotsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeTrusts /// /// 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. /// /// /// Container for the necessary parameters to execute the DescribeTrusts service method. /// /// The response from the DescribeTrusts service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// The NextToken value is not valid. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for DescribeTrusts Operation DescribeTrustsResponse DescribeTrusts(DescribeTrustsRequest request); /// /// 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. /// /// /// Container for the necessary parameters to execute the DescribeTrusts service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeTrusts service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// The NextToken value is not valid. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for DescribeTrusts Operation Task DescribeTrustsAsync(DescribeTrustsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeUpdateDirectory /// /// Describes the updates of a directory for a particular update type. /// /// Container for the necessary parameters to execute the DescribeUpdateDirectory service method. /// /// The response from the DescribeUpdateDirectory service method, as returned by DirectoryService. /// /// Client authentication is not available in this region at this time. /// /// /// A client exception has occurred. /// /// /// The specified directory does not exist in the system. /// /// /// The NextToken value is not valid. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for DescribeUpdateDirectory Operation DescribeUpdateDirectoryResponse DescribeUpdateDirectory(DescribeUpdateDirectoryRequest request); /// /// Describes the updates of a directory for a particular update type. /// /// Container for the necessary parameters to execute the DescribeUpdateDirectory service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeUpdateDirectory service method, as returned by DirectoryService. /// /// Client authentication is not available in this region at this time. /// /// /// A client exception has occurred. /// /// /// The specified directory does not exist in the system. /// /// /// The NextToken value is not valid. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for DescribeUpdateDirectory Operation Task DescribeUpdateDirectoryAsync(DescribeUpdateDirectoryRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DisableClientAuthentication /// /// Disables alternative client authentication methods for the specified directory. /// /// Container for the necessary parameters to execute the DisableClientAuthentication service method. /// /// The response from the DisableClientAuthentication service method, as returned by DirectoryService. /// /// Client authentication is not available in this region at this time. /// /// /// A client exception has occurred. /// /// /// The specified directory does not exist in the system. /// /// /// Client authentication is already enabled. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for DisableClientAuthentication Operation DisableClientAuthenticationResponse DisableClientAuthentication(DisableClientAuthenticationRequest request); /// /// Disables alternative client authentication methods for the specified directory. /// /// Container for the necessary parameters to execute the DisableClientAuthentication service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisableClientAuthentication service method, as returned by DirectoryService. /// /// Client authentication is not available in this region at this time. /// /// /// A client exception has occurred. /// /// /// The specified directory does not exist in the system. /// /// /// Client authentication is already enabled. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for DisableClientAuthentication Operation Task DisableClientAuthenticationAsync(DisableClientAuthenticationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DisableLDAPS /// /// Deactivates LDAP secure calls for the specified directory. /// /// Container for the necessary parameters to execute the DisableLDAPS service method. /// /// The response from the DisableLDAPS service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified directory does not exist in the system. /// /// /// The specified directory is unavailable or could not be found. /// /// /// The LDAP activities could not be performed because they are limited by the LDAPS status. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for DisableLDAPS Operation DisableLDAPSResponse DisableLDAPS(DisableLDAPSRequest request); /// /// Deactivates LDAP secure calls for the specified directory. /// /// Container for the necessary parameters to execute the DisableLDAPS service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisableLDAPS service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified directory does not exist in the system. /// /// /// The specified directory is unavailable or could not be found. /// /// /// The LDAP activities could not be performed because they are limited by the LDAPS status. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for DisableLDAPS Operation Task DisableLDAPSAsync(DisableLDAPSRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DisableRadius /// /// Disables multi-factor authentication (MFA) with the Remote Authentication Dial In /// User Service (RADIUS) server for an AD Connector or Microsoft AD directory. /// /// Container for the necessary parameters to execute the DisableRadius service method. /// /// The response from the DisableRadius service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for DisableRadius Operation DisableRadiusResponse DisableRadius(DisableRadiusRequest request); /// /// Disables multi-factor authentication (MFA) with the Remote Authentication Dial In /// User Service (RADIUS) server for an AD Connector or Microsoft AD directory. /// /// Container for the necessary parameters to execute the DisableRadius service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisableRadius service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for DisableRadius Operation Task DisableRadiusAsync(DisableRadiusRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DisableSso /// /// Disables single-sign on for a directory. /// /// Container for the necessary parameters to execute the DisableSso service method. /// /// The response from the DisableSso service method, as returned by DirectoryService. /// /// An authentication error occurred. /// /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// The account does not have sufficient permission to perform the operation. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for DisableSso Operation DisableSsoResponse DisableSso(DisableSsoRequest request); /// /// Disables single-sign on for a directory. /// /// Container for the necessary parameters to execute the DisableSso service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisableSso service method, as returned by DirectoryService. /// /// An authentication error occurred. /// /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// The account does not have sufficient permission to perform the operation. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for DisableSso Operation Task DisableSsoAsync(DisableSsoRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region EnableClientAuthentication /// /// Enables alternative client authentication methods for the specified directory. /// /// Container for the necessary parameters to execute the EnableClientAuthentication service method. /// /// The response from the EnableClientAuthentication service method, as returned by DirectoryService. /// /// Client authentication is not available in this region at this time. /// /// /// A client exception has occurred. /// /// /// The specified directory does not exist in the system. /// /// /// Client authentication is already enabled. /// /// /// Client authentication setup could not be completed because at least one valid certificate /// must be registered in the system. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for EnableClientAuthentication Operation EnableClientAuthenticationResponse EnableClientAuthentication(EnableClientAuthenticationRequest request); /// /// Enables alternative client authentication methods for the specified directory. /// /// Container for the necessary parameters to execute the EnableClientAuthentication service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the EnableClientAuthentication service method, as returned by DirectoryService. /// /// Client authentication is not available in this region at this time. /// /// /// A client exception has occurred. /// /// /// The specified directory does not exist in the system. /// /// /// Client authentication is already enabled. /// /// /// Client authentication setup could not be completed because at least one valid certificate /// must be registered in the system. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for EnableClientAuthentication Operation Task EnableClientAuthenticationAsync(EnableClientAuthenticationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region EnableLDAPS /// /// Activates the switch for the specific directory to always use LDAP secure calls. /// /// Container for the necessary parameters to execute the EnableLDAPS service method. /// /// The response from the EnableLDAPS service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified directory does not exist in the system. /// /// /// The specified directory is unavailable or could not be found. /// /// /// The LDAP activities could not be performed because they are limited by the LDAPS status. /// /// /// One or more parameters are not valid. /// /// /// Client authentication setup could not be completed because at least one valid certificate /// must be registered in the system. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for EnableLDAPS Operation EnableLDAPSResponse EnableLDAPS(EnableLDAPSRequest request); /// /// Activates the switch for the specific directory to always use LDAP secure calls. /// /// Container for the necessary parameters to execute the EnableLDAPS service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the EnableLDAPS service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified directory does not exist in the system. /// /// /// The specified directory is unavailable or could not be found. /// /// /// The LDAP activities could not be performed because they are limited by the LDAPS status. /// /// /// One or more parameters are not valid. /// /// /// Client authentication setup could not be completed because at least one valid certificate /// must be registered in the system. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for EnableLDAPS Operation Task EnableLDAPSAsync(EnableLDAPSRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region EnableRadius /// /// Enables multi-factor authentication (MFA) with the Remote Authentication Dial In User /// Service (RADIUS) server for an AD Connector or Microsoft AD directory. /// /// Container for the necessary parameters to execute the EnableRadius service method. /// /// The response from the EnableRadius service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity already exists. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for EnableRadius Operation EnableRadiusResponse EnableRadius(EnableRadiusRequest request); /// /// Enables multi-factor authentication (MFA) with the Remote Authentication Dial In User /// Service (RADIUS) server for an AD Connector or Microsoft AD directory. /// /// Container for the necessary parameters to execute the EnableRadius service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the EnableRadius service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity already exists. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for EnableRadius Operation Task EnableRadiusAsync(EnableRadiusRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region EnableSso /// /// Enables single sign-on for a directory. Single sign-on allows users in your directory /// to access certain Amazon Web Services services from a computer joined to the directory /// without having to enter their credentials separately. /// /// Container for the necessary parameters to execute the EnableSso service method. /// /// The response from the EnableSso service method, as returned by DirectoryService. /// /// An authentication error occurred. /// /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// The account does not have sufficient permission to perform the operation. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for EnableSso Operation EnableSsoResponse EnableSso(EnableSsoRequest request); /// /// Enables single sign-on for a directory. Single sign-on allows users in your directory /// to access certain Amazon Web Services services from a computer joined to the directory /// without having to enter their credentials separately. /// /// Container for the necessary parameters to execute the EnableSso service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the EnableSso service method, as returned by DirectoryService. /// /// An authentication error occurred. /// /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// The account does not have sufficient permission to perform the operation. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for EnableSso Operation Task EnableSsoAsync(EnableSsoRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetDirectoryLimits /// /// Obtains directory limit information for the current Region. /// /// /// The response from the GetDirectoryLimits service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for GetDirectoryLimits Operation GetDirectoryLimitsResponse GetDirectoryLimits(); /// /// Obtains directory limit information for the current Region. /// /// Container for the necessary parameters to execute the GetDirectoryLimits service method. /// /// The response from the GetDirectoryLimits service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for GetDirectoryLimits Operation GetDirectoryLimitsResponse GetDirectoryLimits(GetDirectoryLimitsRequest request); /// /// Obtains directory limit information for the current Region. /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetDirectoryLimits service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for GetDirectoryLimits Operation Task GetDirectoryLimitsAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)); /// /// Obtains directory limit information for the current Region. /// /// Container for the necessary parameters to execute the GetDirectoryLimits service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetDirectoryLimits service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for GetDirectoryLimits Operation Task GetDirectoryLimitsAsync(GetDirectoryLimitsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetSnapshotLimits /// /// Obtains the manual snapshot limits for a directory. /// /// Container for the necessary parameters to execute the GetSnapshotLimits service method. /// /// The response from the GetSnapshotLimits service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for GetSnapshotLimits Operation GetSnapshotLimitsResponse GetSnapshotLimits(GetSnapshotLimitsRequest request); /// /// Obtains the manual snapshot limits for a directory. /// /// Container for the necessary parameters to execute the GetSnapshotLimits service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetSnapshotLimits service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for GetSnapshotLimits Operation Task GetSnapshotLimitsAsync(GetSnapshotLimitsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListCertificates /// /// For the specified directory, lists all the certificates registered for a secure LDAP /// or client certificate authentication. /// /// Container for the necessary parameters to execute the ListCertificates service method. /// /// The response from the ListCertificates service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified directory does not exist in the system. /// /// /// The NextToken value is not valid. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for ListCertificates Operation ListCertificatesResponse ListCertificates(ListCertificatesRequest request); /// /// For the specified directory, lists all the certificates registered for a secure LDAP /// or client certificate authentication. /// /// Container for the necessary parameters to execute the ListCertificates service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListCertificates service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified directory does not exist in the system. /// /// /// The NextToken value is not valid. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for ListCertificates Operation Task ListCertificatesAsync(ListCertificatesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListIpRoutes /// /// Lists the address blocks that you have added to a directory. /// /// Container for the necessary parameters to execute the ListIpRoutes service method. /// /// The response from the ListIpRoutes service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// The NextToken value is not valid. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for ListIpRoutes Operation ListIpRoutesResponse ListIpRoutes(ListIpRoutesRequest request); /// /// Lists the address blocks that you have added to a directory. /// /// Container for the necessary parameters to execute the ListIpRoutes service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListIpRoutes service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// The NextToken value is not valid. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for ListIpRoutes Operation Task ListIpRoutesAsync(ListIpRoutesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListLogSubscriptions /// /// Lists the active log subscriptions for the Amazon Web Services account. /// /// Container for the necessary parameters to execute the ListLogSubscriptions service method. /// /// The response from the ListLogSubscriptions service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// The NextToken value is not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for ListLogSubscriptions Operation ListLogSubscriptionsResponse ListLogSubscriptions(ListLogSubscriptionsRequest request); /// /// Lists the active log subscriptions for the Amazon Web Services account. /// /// Container for the necessary parameters to execute the ListLogSubscriptions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListLogSubscriptions service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// The NextToken value is not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for ListLogSubscriptions Operation Task ListLogSubscriptionsAsync(ListLogSubscriptionsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListSchemaExtensions /// /// Lists all schema extensions applied to a Microsoft AD Directory. /// /// Container for the necessary parameters to execute the ListSchemaExtensions service method. /// /// The response from the ListSchemaExtensions service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// The NextToken value is not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for ListSchemaExtensions Operation ListSchemaExtensionsResponse ListSchemaExtensions(ListSchemaExtensionsRequest request); /// /// Lists all schema extensions applied to a Microsoft AD Directory. /// /// Container for the necessary parameters to execute the ListSchemaExtensions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListSchemaExtensions service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// The NextToken value is not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for ListSchemaExtensions Operation Task ListSchemaExtensionsAsync(ListSchemaExtensionsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListTagsForResource /// /// Lists all tags on a directory. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// The response from the ListTagsForResource service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// The NextToken value is not valid. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for ListTagsForResource Operation ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request); /// /// Lists all tags on a directory. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListTagsForResource service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// The NextToken value is not valid. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for ListTagsForResource Operation Task ListTagsForResourceAsync(ListTagsForResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region RegisterCertificate /// /// Registers a certificate for a secure LDAP or client certificate authentication. /// /// Container for the necessary parameters to execute the RegisterCertificate service method. /// /// The response from the RegisterCertificate service method, as returned by DirectoryService. /// /// The certificate has already been registered into the system. /// /// /// The certificate could not be added because the certificate limit has been reached. /// /// /// A client exception has occurred. /// /// /// The specified directory does not exist in the system. /// /// /// The specified directory is unavailable or could not be found. /// /// /// The certificate PEM that was provided has incorrect encoding. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for RegisterCertificate Operation RegisterCertificateResponse RegisterCertificate(RegisterCertificateRequest request); /// /// Registers a certificate for a secure LDAP or client certificate authentication. /// /// Container for the necessary parameters to execute the RegisterCertificate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RegisterCertificate service method, as returned by DirectoryService. /// /// The certificate has already been registered into the system. /// /// /// The certificate could not be added because the certificate limit has been reached. /// /// /// A client exception has occurred. /// /// /// The specified directory does not exist in the system. /// /// /// The specified directory is unavailable or could not be found. /// /// /// The certificate PEM that was provided has incorrect encoding. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for RegisterCertificate Operation Task RegisterCertificateAsync(RegisterCertificateRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region RegisterEventTopic /// /// Associates a directory with an Amazon SNS topic. This establishes the directory as /// a publisher to the specified Amazon SNS topic. You can then receive email or text /// (SMS) messages when the status of your directory changes. You get notified if your /// directory goes from an Active status to an Impaired or Inoperable status. You also /// receive a notification when the directory returns to an Active status. /// /// Container for the necessary parameters to execute the RegisterEventTopic service method. /// /// The response from the RegisterEventTopic service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for RegisterEventTopic Operation RegisterEventTopicResponse RegisterEventTopic(RegisterEventTopicRequest request); /// /// Associates a directory with an Amazon SNS topic. This establishes the directory as /// a publisher to the specified Amazon SNS topic. You can then receive email or text /// (SMS) messages when the status of your directory changes. You get notified if your /// directory goes from an Active status to an Impaired or Inoperable status. You also /// receive a notification when the directory returns to an Active status. /// /// Container for the necessary parameters to execute the RegisterEventTopic service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RegisterEventTopic service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for RegisterEventTopic Operation Task RegisterEventTopicAsync(RegisterEventTopicRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region RejectSharedDirectory /// /// Rejects a directory sharing request that was sent from the directory owner account. /// /// Container for the necessary parameters to execute the RejectSharedDirectory service method. /// /// The response from the RejectSharedDirectory service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified directory has already been shared with this Amazon Web Services account. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for RejectSharedDirectory Operation RejectSharedDirectoryResponse RejectSharedDirectory(RejectSharedDirectoryRequest request); /// /// Rejects a directory sharing request that was sent from the directory owner account. /// /// Container for the necessary parameters to execute the RejectSharedDirectory service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RejectSharedDirectory service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified directory has already been shared with this Amazon Web Services account. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for RejectSharedDirectory Operation Task RejectSharedDirectoryAsync(RejectSharedDirectoryRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region RemoveIpRoutes /// /// Removes IP address blocks from a directory. /// /// Container for the necessary parameters to execute the RemoveIpRoutes service method. /// /// The response from the RemoveIpRoutes service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified directory is unavailable or could not be found. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for RemoveIpRoutes Operation RemoveIpRoutesResponse RemoveIpRoutes(RemoveIpRoutesRequest request); /// /// Removes IP address blocks from a directory. /// /// Container for the necessary parameters to execute the RemoveIpRoutes service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RemoveIpRoutes service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified directory is unavailable or could not be found. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for RemoveIpRoutes Operation Task RemoveIpRoutesAsync(RemoveIpRoutesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region RemoveRegion /// /// Stops all replication and removes the domain controllers from the specified Region. /// You cannot remove the primary Region with this operation. Instead, use the DeleteDirectory /// API. /// /// Container for the necessary parameters to execute the RemoveRegion service method. /// /// The response from the RemoveRegion service method, as returned by DirectoryService. /// /// Client authentication is not available in this region at this time. /// /// /// A client exception has occurred. /// /// /// The specified directory does not exist in the system. /// /// /// The specified directory is unavailable or could not be found. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for RemoveRegion Operation RemoveRegionResponse RemoveRegion(RemoveRegionRequest request); /// /// Stops all replication and removes the domain controllers from the specified Region. /// You cannot remove the primary Region with this operation. Instead, use the DeleteDirectory /// API. /// /// Container for the necessary parameters to execute the RemoveRegion service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RemoveRegion service method, as returned by DirectoryService. /// /// Client authentication is not available in this region at this time. /// /// /// A client exception has occurred. /// /// /// The specified directory does not exist in the system. /// /// /// The specified directory is unavailable or could not be found. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for RemoveRegion Operation Task RemoveRegionAsync(RemoveRegionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region RemoveTagsFromResource /// /// Removes tags from a directory. /// /// Container for the necessary parameters to execute the RemoveTagsFromResource service method. /// /// The response from the RemoveTagsFromResource service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for RemoveTagsFromResource Operation RemoveTagsFromResourceResponse RemoveTagsFromResource(RemoveTagsFromResourceRequest request); /// /// Removes tags from a directory. /// /// Container for the necessary parameters to execute the RemoveTagsFromResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RemoveTagsFromResource service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for RemoveTagsFromResource Operation Task RemoveTagsFromResourceAsync(RemoveTagsFromResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ResetUserPassword /// /// Resets the password for any user in your Managed Microsoft AD or Simple AD directory. /// /// /// /// You can reset the password for any user in your directory with the following exceptions: /// ///
  • /// /// For Simple AD, you cannot reset the password for any user that is a member of either /// the Domain Admins or Enterprise Admins group except for the administrator /// user. /// ///
  • /// /// For Managed Microsoft AD, you can only reset the password for a user that is in an /// OU based off of the NetBIOS name that you typed when you created your directory. For /// example, you cannot reset the password for a user in the Amazon Web Services Reserved /// OU. For more information about the OU structure for an Managed Microsoft AD directory, /// see What /// Gets Created in the Directory Service Administration Guide. /// ///
///
/// Container for the necessary parameters to execute the ResetUserPassword service method. /// /// The response from the ResetUserPassword service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified directory is unavailable or could not be found. /// /// /// The specified entity could not be found. /// /// /// The new password provided by the user does not meet the password complexity requirements /// defined in your directory. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// /// The user provided a username that does not exist in your directory. /// /// REST API Reference for ResetUserPassword Operation ResetUserPasswordResponse ResetUserPassword(ResetUserPasswordRequest request); /// /// Resets the password for any user in your Managed Microsoft AD or Simple AD directory. /// /// /// /// You can reset the password for any user in your directory with the following exceptions: /// ///
  • /// /// For Simple AD, you cannot reset the password for any user that is a member of either /// the Domain Admins or Enterprise Admins group except for the administrator /// user. /// ///
  • /// /// For Managed Microsoft AD, you can only reset the password for a user that is in an /// OU based off of the NetBIOS name that you typed when you created your directory. For /// example, you cannot reset the password for a user in the Amazon Web Services Reserved /// OU. For more information about the OU structure for an Managed Microsoft AD directory, /// see What /// Gets Created in the Directory Service Administration Guide. /// ///
///
/// Container for the necessary parameters to execute the ResetUserPassword service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ResetUserPassword service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified directory is unavailable or could not be found. /// /// /// The specified entity could not be found. /// /// /// The new password provided by the user does not meet the password complexity requirements /// defined in your directory. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// /// The user provided a username that does not exist in your directory. /// /// REST API Reference for ResetUserPassword Operation Task ResetUserPasswordAsync(ResetUserPasswordRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region RestoreFromSnapshot /// /// 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. /// /// /// Container for the necessary parameters to execute the RestoreFromSnapshot service method. /// /// The response from the RestoreFromSnapshot service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for RestoreFromSnapshot Operation RestoreFromSnapshotResponse RestoreFromSnapshot(RestoreFromSnapshotRequest request); /// /// 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. /// /// /// Container for the necessary parameters to execute the RestoreFromSnapshot service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RestoreFromSnapshot service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for RestoreFromSnapshot Operation Task RestoreFromSnapshotAsync(RestoreFromSnapshotRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ShareDirectory /// /// Shares a specified directory (DirectoryId) in your Amazon Web Services /// account (directory owner) with another Amazon Web Services account (directory consumer). /// With this operation you can use your directory from any Amazon Web Services account /// and from any Amazon VPC within an Amazon Web Services Region. /// /// /// /// When you share your Managed Microsoft AD directory, Directory Service creates a shared /// directory in the directory consumer account. This shared directory contains the metadata /// to provide access to the directory within the directory owner account. The shared /// directory is visible in all VPCs in the directory consumer account. /// /// /// /// The ShareMethod parameter determines whether the specified directory /// can be shared between Amazon Web Services accounts inside the same Amazon Web Services /// organization (ORGANIZATIONS). It also determines whether you can share /// the directory with any other Amazon Web Services account either inside or outside /// of the organization (HANDSHAKE). /// /// /// /// The ShareNotes parameter is only used when HANDSHAKE is /// called, which sends a directory sharing request to the directory consumer. /// /// /// Container for the necessary parameters to execute the ShareDirectory service method. /// /// The response from the ShareDirectory service method, as returned by DirectoryService. /// /// Client authentication is not available in this region at this time. /// /// /// A client exception has occurred. /// /// /// The specified directory has already been shared with this Amazon Web Services account. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// The specified shared target is not valid. /// /// /// Exception encountered while trying to access your Amazon Web Services organization. /// /// /// An exception has occurred in Directory Service. /// /// /// The maximum number of Amazon Web Services accounts that you can share with this directory /// has been reached. /// /// /// The operation is not supported. /// /// REST API Reference for ShareDirectory Operation ShareDirectoryResponse ShareDirectory(ShareDirectoryRequest request); /// /// Shares a specified directory (DirectoryId) in your Amazon Web Services /// account (directory owner) with another Amazon Web Services account (directory consumer). /// With this operation you can use your directory from any Amazon Web Services account /// and from any Amazon VPC within an Amazon Web Services Region. /// /// /// /// When you share your Managed Microsoft AD directory, Directory Service creates a shared /// directory in the directory consumer account. This shared directory contains the metadata /// to provide access to the directory within the directory owner account. The shared /// directory is visible in all VPCs in the directory consumer account. /// /// /// /// The ShareMethod parameter determines whether the specified directory /// can be shared between Amazon Web Services accounts inside the same Amazon Web Services /// organization (ORGANIZATIONS). It also determines whether you can share /// the directory with any other Amazon Web Services account either inside or outside /// of the organization (HANDSHAKE). /// /// /// /// The ShareNotes parameter is only used when HANDSHAKE is /// called, which sends a directory sharing request to the directory consumer. /// /// /// Container for the necessary parameters to execute the ShareDirectory service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ShareDirectory service method, as returned by DirectoryService. /// /// Client authentication is not available in this region at this time. /// /// /// A client exception has occurred. /// /// /// The specified directory has already been shared with this Amazon Web Services account. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// The specified shared target is not valid. /// /// /// Exception encountered while trying to access your Amazon Web Services organization. /// /// /// An exception has occurred in Directory Service. /// /// /// The maximum number of Amazon Web Services accounts that you can share with this directory /// has been reached. /// /// /// The operation is not supported. /// /// REST API Reference for ShareDirectory Operation Task ShareDirectoryAsync(ShareDirectoryRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StartSchemaExtension /// /// Applies a schema extension to a Microsoft AD directory. /// /// Container for the necessary parameters to execute the StartSchemaExtension service method. /// /// The response from the StartSchemaExtension service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified directory is unavailable or could not be found. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The maximum number of manual snapshots for the directory has been reached. You can /// use the GetSnapshotLimits operation to determine the snapshot limits for a /// directory. /// /// REST API Reference for StartSchemaExtension Operation StartSchemaExtensionResponse StartSchemaExtension(StartSchemaExtensionRequest request); /// /// Applies a schema extension to a Microsoft AD directory. /// /// Container for the necessary parameters to execute the StartSchemaExtension service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartSchemaExtension service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified directory is unavailable or could not be found. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The maximum number of manual snapshots for the directory has been reached. You can /// use the GetSnapshotLimits operation to determine the snapshot limits for a /// directory. /// /// REST API Reference for StartSchemaExtension Operation Task StartSchemaExtensionAsync(StartSchemaExtensionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UnshareDirectory /// /// Stops the directory sharing between the directory owner and consumer accounts. /// /// Container for the necessary parameters to execute the UnshareDirectory service method. /// /// The response from the UnshareDirectory service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified directory has not been shared with this Amazon Web Services account. /// /// /// The specified entity could not be found. /// /// /// The specified shared target is not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for UnshareDirectory Operation UnshareDirectoryResponse UnshareDirectory(UnshareDirectoryRequest request); /// /// Stops the directory sharing between the directory owner and consumer accounts. /// /// Container for the necessary parameters to execute the UnshareDirectory service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UnshareDirectory service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified directory has not been shared with this Amazon Web Services account. /// /// /// The specified entity could not be found. /// /// /// The specified shared target is not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for UnshareDirectory Operation Task UnshareDirectoryAsync(UnshareDirectoryRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateConditionalForwarder /// /// Updates a conditional forwarder that has been set up for your Amazon Web Services /// directory. /// /// Container for the necessary parameters to execute the UpdateConditionalForwarder service method. /// /// The response from the UpdateConditionalForwarder service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified directory is unavailable or could not be found. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for UpdateConditionalForwarder Operation UpdateConditionalForwarderResponse UpdateConditionalForwarder(UpdateConditionalForwarderRequest request); /// /// Updates a conditional forwarder that has been set up for your Amazon Web Services /// directory. /// /// Container for the necessary parameters to execute the UpdateConditionalForwarder service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateConditionalForwarder service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified directory is unavailable or could not be found. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for UpdateConditionalForwarder Operation Task UpdateConditionalForwarderAsync(UpdateConditionalForwarderRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateDirectorySetup /// /// Updates the directory for a particular update type. /// /// Container for the necessary parameters to execute the UpdateDirectorySetup service method. /// /// The response from the UpdateDirectorySetup service method, as returned by DirectoryService. /// /// Client authentication is not available in this region at this time. /// /// /// A client exception has occurred. /// /// /// The specified directory does not exist in the system. /// /// /// The directory is already updated to desired update type settings. /// /// /// The specified directory is unavailable or could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The maximum number of manual snapshots for the directory has been reached. You can /// use the GetSnapshotLimits operation to determine the snapshot limits for a /// directory. /// /// /// The operation is not supported. /// /// REST API Reference for UpdateDirectorySetup Operation UpdateDirectorySetupResponse UpdateDirectorySetup(UpdateDirectorySetupRequest request); /// /// Updates the directory for a particular update type. /// /// Container for the necessary parameters to execute the UpdateDirectorySetup service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateDirectorySetup service method, as returned by DirectoryService. /// /// Client authentication is not available in this region at this time. /// /// /// A client exception has occurred. /// /// /// The specified directory does not exist in the system. /// /// /// The directory is already updated to desired update type settings. /// /// /// The specified directory is unavailable or could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The maximum number of manual snapshots for the directory has been reached. You can /// use the GetSnapshotLimits operation to determine the snapshot limits for a /// directory. /// /// /// The operation is not supported. /// /// REST API Reference for UpdateDirectorySetup Operation Task UpdateDirectorySetupAsync(UpdateDirectorySetupRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateNumberOfDomainControllers /// /// Adds or removes domain controllers to or from the directory. Based on the difference /// between current value and new value (provided through this API call), domain controllers /// will be added or removed. It may take up to 45 minutes for any new domain controllers /// to become fully active once the requested number of domain controllers is updated. /// During this time, you cannot make another update request. /// /// Container for the necessary parameters to execute the UpdateNumberOfDomainControllers service method. /// /// The response from the UpdateNumberOfDomainControllers service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified directory is unavailable or could not be found. /// /// /// The maximum allowed number of domain controllers per directory was exceeded. The default /// limit per directory is 20 domain controllers. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for UpdateNumberOfDomainControllers Operation UpdateNumberOfDomainControllersResponse UpdateNumberOfDomainControllers(UpdateNumberOfDomainControllersRequest request); /// /// Adds or removes domain controllers to or from the directory. Based on the difference /// between current value and new value (provided through this API call), domain controllers /// will be added or removed. It may take up to 45 minutes for any new domain controllers /// to become fully active once the requested number of domain controllers is updated. /// During this time, you cannot make another update request. /// /// Container for the necessary parameters to execute the UpdateNumberOfDomainControllers service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateNumberOfDomainControllers service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified directory is unavailable or could not be found. /// /// /// The maximum allowed number of domain controllers per directory was exceeded. The default /// limit per directory is 20 domain controllers. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for UpdateNumberOfDomainControllers Operation Task UpdateNumberOfDomainControllersAsync(UpdateNumberOfDomainControllersRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateRadius /// /// Updates the Remote Authentication Dial In User Service (RADIUS) server information /// for an AD Connector or Microsoft AD directory. /// /// Container for the necessary parameters to execute the UpdateRadius service method. /// /// The response from the UpdateRadius service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for UpdateRadius Operation UpdateRadiusResponse UpdateRadius(UpdateRadiusRequest request); /// /// Updates the Remote Authentication Dial In User Service (RADIUS) server information /// for an AD Connector or Microsoft AD directory. /// /// Container for the necessary parameters to execute the UpdateRadius service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateRadius service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for UpdateRadius Operation Task UpdateRadiusAsync(UpdateRadiusRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateSettings /// /// Updates the configurable settings for the specified directory. /// /// Container for the necessary parameters to execute the UpdateSettings service method. /// /// The response from the UpdateSettings service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified directory does not exist in the system. /// /// /// The specified directory is unavailable or could not be found. /// /// /// The specified directory setting is not compatible with other settings. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// /// The specified directory setting is not supported. /// /// REST API Reference for UpdateSettings Operation UpdateSettingsResponse UpdateSettings(UpdateSettingsRequest request); /// /// Updates the configurable settings for the specified directory. /// /// Container for the necessary parameters to execute the UpdateSettings service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateSettings service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified directory does not exist in the system. /// /// /// The specified directory is unavailable or could not be found. /// /// /// The specified directory setting is not compatible with other settings. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// /// The specified directory setting is not supported. /// /// REST API Reference for UpdateSettings Operation Task UpdateSettingsAsync(UpdateSettingsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateTrust /// /// Updates the trust that has been set up between your Managed Microsoft AD directory /// and an self-managed Active Directory. /// /// Container for the necessary parameters to execute the UpdateTrust service method. /// /// The response from the UpdateTrust service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for UpdateTrust Operation UpdateTrustResponse UpdateTrust(UpdateTrustRequest request); /// /// Updates the trust that has been set up between your Managed Microsoft AD directory /// and an self-managed Active Directory. /// /// Container for the necessary parameters to execute the UpdateTrust service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateTrust service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// REST API Reference for UpdateTrust Operation Task UpdateTrustAsync(UpdateTrustRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region VerifyTrust /// /// Directory Service for Microsoft Active Directory allows you to configure and verify /// trust relationships. /// /// /// /// This action verifies a trust relationship between your Managed Microsoft AD directory /// and an external domain. /// /// /// Container for the necessary parameters to execute the VerifyTrust service method. /// /// The response from the VerifyTrust service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for VerifyTrust Operation VerifyTrustResponse VerifyTrust(VerifyTrustRequest request); /// /// Directory Service for Microsoft Active Directory allows you to configure and verify /// trust relationships. /// /// /// /// This action verifies a trust relationship between your Managed Microsoft AD directory /// and an external domain. /// /// /// Container for the necessary parameters to execute the VerifyTrust service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the VerifyTrust service method, as returned by DirectoryService. /// /// A client exception has occurred. /// /// /// The specified entity could not be found. /// /// /// One or more parameters are not valid. /// /// /// An exception has occurred in Directory Service. /// /// /// The operation is not supported. /// /// REST API Reference for VerifyTrust Operation Task VerifyTrustAsync(VerifyTrustRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion } }