AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Lists the directory registrations that you created by using the https://docs.aws.amazon.com/pca-connector-ad/latest/APIReference/API_CreateDirectoryRegistration action.
For .NET Core this operation is only available in asynchronous form. Please refer to ListDirectoryRegistrationsAsync.
Namespace: Amazon.PcaConnectorAd
Assembly: AWSSDK.PcaConnectorAd.dll
Version: 3.x.y.z
public abstract ListDirectoryRegistrationsResponse ListDirectoryRegistrations( ListDirectoryRegistrationsRequest request )
Container for the necessary parameters to execute the ListDirectoryRegistrations service method.
Exception | Condition |
---|---|
AccessDeniedException | You can receive this error if you attempt to create a resource share when you don't have the required permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web Services account. |
InternalServerException | The request processing has failed because of an unknown error, exception or failure with an internal server. |
ThrottlingException | The limit on the number of requests per second was exceeded. |
ValidationException | An input validation error occurred. For example, invalid characters in a template name, or if a pagination token is invalid. |
.NET Framework:
Supported in: 4.5 and newer, 3.5