# AWS Directory Service API

> AWS Directory Service API on Apizie: 67 endpoints (Accepts a directory sharing request that was sent from the directory owner account., If the DNS server for your self-managed domain uses a publicly addressable IP address, you must add a CIDR…, Adds two domain controllers in the specified Region for the specified directory., Adds or overwrites one or more tags for the specified directory. Each directory can have a maximum of 50…, …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://apizie.tech/v1/cloud:amazonaws-ds/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `cloud:amazonaws-ds`
- Category: Cloud
- Status: byok
- Source: https://github.com/mermade/aws2openapi
- Page: https://apizie.tech/api/cloud/amazonaws-ds
- OpenAPI: https://apizie.tech/api/cloud/amazonaws-ds/openapi.json

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…

## Endpoints

### Accepts a directory sharing request that was sent from the directory owner account.
`POST https://apizie.tech/v1/cloud:amazonaws-ds/accept-shared-directory` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### If the DNS server for your self-managed domain uses a publicly addressable IP address, you must add a CIDR…
`POST https://apizie.tech/v1/cloud:amazonaws-ds/add-ip-routes` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Adds two domain controllers in the specified Region for the specified directory.
`POST https://apizie.tech/v1/cloud:amazonaws-ds/add-region` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Adds or overwrites one or more tags for the specified directory. Each directory can have a maximum of 50…
`POST https://apizie.tech/v1/cloud:amazonaws-ds/add-tags-to-resource` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Cancels an in-progress schema extension to a Microsoft AD directory. Once a schema extension has started…
`POST https://apizie.tech/v1/cloud:amazonaws-ds/cancel-schema-extension` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Creates an AD Connector to connect to a self-managed directory. Before you call ConnectDirectory , ensure…
`POST https://apizie.tech/v1/cloud:amazonaws-ds/connect-directory` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Creates an alias for a directory and assigns the alias to the directory. The alias is used to construct the…
`POST https://apizie.tech/v1/cloud:amazonaws-ds/create-alias` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Creates an Active Directory computer object in the specified directory.
`POST https://apizie.tech/v1/cloud:amazonaws-ds/create-computer` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Creates a conditional forwarder associated with your Amazon Web Services directory. Conditional forwarders…
`POST https://apizie.tech/v1/cloud:amazonaws-ds/create-conditional-forwarder` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Creates a Simple AD directory. For more information, see Simple Active Directory in the Directory Service…
`POST https://apizie.tech/v1/cloud:amazonaws-ds/create-directory` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Creates a subscription to forward real-time Directory Service domain controller security logs to the…
`POST https://apizie.tech/v1/cloud:amazonaws-ds/create-log-subscription` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Creates a Microsoft AD directory in the Amazon Web Services Cloud. For more information, see Managed…
`POST https://apizie.tech/v1/cloud:amazonaws-ds/create-microsoft-ad` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Creates a snapshot of a Simple AD or Microsoft AD directory in the Amazon Web Services cloud. You cannot…
`POST https://apizie.tech/v1/cloud:amazonaws-ds/create-snapshot` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Directory Service for Microsoft Active Directory allows you to configure trust relationships. For example,…
`POST https://apizie.tech/v1/cloud:amazonaws-ds/create-trust` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Deletes a conditional forwarder that has been set up for your Amazon Web Services directory.
`POST https://apizie.tech/v1/cloud:amazonaws-ds/delete-conditional-forwarder` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Deletes an Directory Service directory. Before you call DeleteDirectory , ensure that all of the required…
`POST https://apizie.tech/v1/cloud:amazonaws-ds/delete-directory` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Deletes the specified log subscription.
`POST https://apizie.tech/v1/cloud:amazonaws-ds/delete-log-subscription` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Deletes a directory snapshot.
`POST https://apizie.tech/v1/cloud:amazonaws-ds/delete-snapshot` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Deletes an existing trust relationship between your Managed Microsoft AD directory and an external domain.
`POST https://apizie.tech/v1/cloud:amazonaws-ds/delete-trust` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Deletes from the system the certificate that was registered for secure LDAP or client certificate…
`POST https://apizie.tech/v1/cloud:amazonaws-ds/deregister-certificate` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Removes the specified directory as a publisher to the specified Amazon SNS topic.
`POST https://apizie.tech/v1/cloud:amazonaws-ds/deregister-event-topic` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Displays information about the certificate registered for secure LDAP or client certificate authentication.
`POST https://apizie.tech/v1/cloud:amazonaws-ds/describe-certificate` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Retrieves information about the type of client authentication for the specified directory, if the type is…
`POST https://apizie.tech/v1/cloud:amazonaws-ds/describe-client-authentication-settings` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| Limit | integer | no | Pagination limit |
| NextToken | string | no | Pagination token |
| body | object | no | JSON request body |

### Obtains information about the conditional forwarders for this account. If no input parameters are provided…
`POST https://apizie.tech/v1/cloud:amazonaws-ds/describe-conditional-forwarders` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Obtains information about the directories that belong to this account. You can retrieve information about…
`POST https://apizie.tech/v1/cloud:amazonaws-ds/describe-directories` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| Limit | integer | no | Pagination limit |
| NextToken | string | no | Pagination token |
| body | object | no | JSON request body |

### Provides information about any domain controllers in your directory.
`POST https://apizie.tech/v1/cloud:amazonaws-ds/describe-domain-controllers` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| Limit | integer | no | Pagination limit |
| NextToken | string | no | Pagination token |
| body | object | no | JSON request body |

### Obtains information about which Amazon SNS topics receive status messages from the specified directory. If…
`POST https://apizie.tech/v1/cloud:amazonaws-ds/describe-event-topics` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Describes the status of LDAP security for the specified directory.
`POST https://apizie.tech/v1/cloud:amazonaws-ds/describe-ldapssettings` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| Limit | integer | no | Pagination limit |
| NextToken | string | no | Pagination token |
| body | object | no | JSON request body |

### Provides information about the Regions that are configured for multi-Region replication.
`POST https://apizie.tech/v1/cloud:amazonaws-ds/describe-regions` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| NextToken | string | no | Pagination token |
| body | object | no | JSON request body |

### Retrieves information about the configurable settings for the specified directory.
`POST https://apizie.tech/v1/cloud:amazonaws-ds/describe-settings` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Returns the shared directories in your account.
`POST https://apizie.tech/v1/cloud:amazonaws-ds/describe-shared-directories` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| Limit | integer | no | Pagination limit |
| NextToken | string | no | Pagination token |
| body | object | no | JSON request body |

### Obtains information about the directory snapshots that belong to this account. This operation supports…
`POST https://apizie.tech/v1/cloud:amazonaws-ds/describe-snapshots` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| Limit | integer | no | Pagination limit |
| NextToken | string | no | Pagination token |
| body | object | no | JSON request body |

### Obtains information about the trust relationships for this account. If no input parameters are provided,…
`POST https://apizie.tech/v1/cloud:amazonaws-ds/describe-trusts` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| Limit | integer | no | Pagination limit |
| NextToken | string | no | Pagination token |
| body | object | no | JSON request body |

### Describes the updates of a directory for a particular update type.
`POST https://apizie.tech/v1/cloud:amazonaws-ds/describe-update-directory` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| NextToken | string | no | Pagination token |
| body | object | no | JSON request body |

### Disables alternative client authentication methods for the specified directory.
`POST https://apizie.tech/v1/cloud:amazonaws-ds/disable-client-authentication` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Deactivates LDAP secure calls for the specified directory.
`POST https://apizie.tech/v1/cloud:amazonaws-ds/disable-ldaps` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Disables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service (RADIUS)…
`POST https://apizie.tech/v1/cloud:amazonaws-ds/disable-radius` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Disables single-sign on for a directory.
`POST https://apizie.tech/v1/cloud:amazonaws-ds/disable-sso` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Enables alternative client authentication methods for the specified directory.
`POST https://apizie.tech/v1/cloud:amazonaws-ds/enable-client-authentication` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Activates the switch for the specific directory to always use LDAP secure calls.
`POST https://apizie.tech/v1/cloud:amazonaws-ds/enable-ldaps` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Enables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service (RADIUS)…
`POST https://apizie.tech/v1/cloud:amazonaws-ds/enable-radius` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Enables single sign-on for a directory. Single sign-on allows users in your directory to access certain…
`POST https://apizie.tech/v1/cloud:amazonaws-ds/enable-sso` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Obtains directory limit information for the current Region.
`POST https://apizie.tech/v1/cloud:amazonaws-ds/get-directory-limits` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Obtains the manual snapshot limits for a directory.
`POST https://apizie.tech/v1/cloud:amazonaws-ds/get-snapshot-limits` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### For the specified directory, lists all the certificates registered for a secure LDAP or client certificate…
`POST https://apizie.tech/v1/cloud:amazonaws-ds/list-certificates` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| Limit | integer | no | Pagination limit |
| NextToken | string | no | Pagination token |
| body | object | no | JSON request body |

### Lists the address blocks that you have added to a directory.
`POST https://apizie.tech/v1/cloud:amazonaws-ds/list-ip-routes` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| Limit | integer | no | Pagination limit |
| NextToken | string | no | Pagination token |
| body | object | no | JSON request body |

### Lists the active log subscriptions for the Amazon Web Services account.
`POST https://apizie.tech/v1/cloud:amazonaws-ds/list-log-subscriptions` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| Limit | integer | no | Pagination limit |
| NextToken | string | no | Pagination token |
| body | object | no | JSON request body |

### Lists all schema extensions applied to a Microsoft AD Directory.
`POST https://apizie.tech/v1/cloud:amazonaws-ds/list-schema-extensions` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| Limit | integer | no | Pagination limit |
| NextToken | string | no | Pagination token |
| body | object | no | JSON request body |

### Lists all tags on a directory.
`POST https://apizie.tech/v1/cloud:amazonaws-ds/list-tags-for-resource` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| Limit | integer | no | Pagination limit |
| NextToken | string | no | Pagination token |
| body | object | no | JSON request body |

### Registers a certificate for a secure LDAP or client certificate authentication.
`POST https://apizie.tech/v1/cloud:amazonaws-ds/register-certificate` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Associates a directory with an Amazon SNS topic. This establishes the directory as a publisher to the…
`POST https://apizie.tech/v1/cloud:amazonaws-ds/register-event-topic` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Rejects a directory sharing request that was sent from the directory owner account.
`POST https://apizie.tech/v1/cloud:amazonaws-ds/reject-shared-directory` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Removes IP address blocks from a directory.
`POST https://apizie.tech/v1/cloud:amazonaws-ds/remove-ip-routes` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Stops all replication and removes the domain controllers from the specified Region. You cannot remove the…
`POST https://apizie.tech/v1/cloud:amazonaws-ds/remove-region` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Removes tags from a directory.
`POST https://apizie.tech/v1/cloud:amazonaws-ds/remove-tags-from-resource` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Resets the password for any user in your Managed Microsoft AD or Simple AD directory. You can reset the…
`POST https://apizie.tech/v1/cloud:amazonaws-ds/reset-user-password` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Restores a directory using an existing directory snapshot. When you restore a directory from a snapshot, any…
`POST https://apizie.tech/v1/cloud:amazonaws-ds/restore-from-snapshot` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Shares a specified directory ( DirectoryId ) in your Amazon Web Services account (directory owner) with…
`POST https://apizie.tech/v1/cloud:amazonaws-ds/share-directory` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Applies a schema extension to a Microsoft AD directory.
`POST https://apizie.tech/v1/cloud:amazonaws-ds/start-schema-extension` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Stops the directory sharing between the directory owner and consumer accounts.
`POST https://apizie.tech/v1/cloud:amazonaws-ds/unshare-directory` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Updates a conditional forwarder that has been set up for your Amazon Web Services directory.
`POST https://apizie.tech/v1/cloud:amazonaws-ds/update-conditional-forwarder` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Updates the directory for a particular update type.
`POST https://apizie.tech/v1/cloud:amazonaws-ds/update-directory-setup` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Adds or removes domain controllers to or from the directory. Based on the difference between current value…
`POST https://apizie.tech/v1/cloud:amazonaws-ds/update-number-of-domain-controllers` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Updates the Remote Authentication Dial In User Service (RADIUS) server information for an AD Connector or…
`POST https://apizie.tech/v1/cloud:amazonaws-ds/update-radius` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Updates the configurable settings for the specified directory.
`POST https://apizie.tech/v1/cloud:amazonaws-ds/update-settings` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Updates the trust that has been set up between your Managed Microsoft AD directory and an self-managed…
`POST https://apizie.tech/v1/cloud:amazonaws-ds/update-trust` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Directory Service for Microsoft Active Directory allows you to configure and verify trust relationships.…
`POST https://apizie.tech/v1/cloud:amazonaws-ds/verify-trust` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

## Example
```
curl "https://apizie.tech/v1/cloud:amazonaws-ds/accept-shared-directory" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the AWS Directory Service API?
Create a free Apizie key, then send POST https://apizie.tech/v1/cloud:amazonaws-ds/accept-shared-directory with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the AWS Directory Service API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. AWS Directory Service itself also needs your own key from amazonaws.com.

### Can AI agents use the AWS Directory Service API?
Yes. Add the Apizie MCP server (https://apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key cloud:amazonaws-ds.

### What is the status of the AWS Directory Service API?
Needs your own provider key (bring your own key)
