{
  "info": {
    "_postman_id": "44414fd5-06b1-48f0-aafb-a7063974926c",
    "name": "AWS Directory Service #X Amz Target=DirectoryService 20150416.AcceptSharedDirectory #X Amz Target=DirectoryService 20150416.AcceptSharedDirectory #X Amz Target=DirectoryService 20150416.CreateDirectory API",
    "description": "<fullname>Directory Service</fullname> <p>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 <a href=\"https://aws.amazon.com/directoryservice/\">Directory Service</a> and the <a href=\"http://docs.aws.amazon.com/directoryservice/latest/admin-guide/what_is.html\">Directory Service Administration Guide</a>.</p> <note> <p>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 <a href=\"http://aws.amazon.com/tools/\">Tools for Amazon Web Services</a>.</p> </note>\n\nContact Support:\n Name: Mike Ralphson\n Email: mike.ralphson@gmail.com",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T10:17:04.000Z",
    "updatedAt": "2026-07-28T10:17:05.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-44414fd5-06b1-48f0-aafb-a7063974926c"
  },
  "item": [
    {
      "name": "#X-Amz-Target=DirectoryService_20150416.CreateDirectory",
      "item": [
        {
          "name": "Create Directory",
          "id": "45948194-5096-48ea-adf9-3a20f754e8c2",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "description": "(Required) ",
                "key": "X-Amz-Target",
                "value": "DirectoryService_20150416.CreateDirectory"
              },
              {
                "key": "X-Amz-Content-Sha256",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Date",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Algorithm",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Credential",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Security-Token",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Signature",
                "value": "<string>"
              },
              {
                "key": "X-Amz-SignedHeaders",
                "value": "<string>"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"Name\": \"porES.SSWu8iUi\\\\HTUrNHi\",\n  \"Password\": \"nT:xZqn\",\n  \"Size\": \"Large\",\n  \"ShortName\": \"iQ#+~w$s0a;R)~nZ]c\",\n  \"Description\": \"b\u2005\u205f@Ey?\u3000G\",\n  \"VpcSettings\": {\n    \"VpcId\": \"vpc-c754bdf9\",\n    \"SubnetIds\": [\n      \"subnet-d718a1ff061bcc00f\",\n      \"subnet-439c627dd0dfb04f0\"\n    ]\n  },\n  \"Tags\": [\n    {\n      \"Key\": \"_:\",\n      \"Value\": \":++Z_\"\n    },\n    {\n      \"Key\": \"__{+LpN\",\n      \"Value\": \"/p.\"\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/#X-Amz-Target=DirectoryService_20150416.CreateDirectory",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                ""
              ],
              "hash": "X-Amz-Target=DirectoryService_20150416.CreateDirectory"
            },
            "description": "<p>Creates a Simple AD directory. For more information, see <a href=\"https://docs.aws.amazon.com/directoryservice/latest/admin-guide/directory_simple_ad.html\">Simple Active Directory</a> in the <i>Directory Service Admin Guide</i>.</p> <p>Before you call <code>CreateDirectory</code>, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the <code>CreateDirectory</code> operation, see <a href=\"http://docs.aws.amazon.com/directoryservice/latest/admin-guide/UsingWithDS_IAM_ResourcePermissions.html\">Directory Service API Permissions: Actions, Resources, and Conditions Reference</a>.</p>"
          },
          "response": [
            {
              "id": "4e41d376-4beb-41de-95df-6bdddf27ce31",
              "name": "Success",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "description": "(Required) ",
                    "key": "X-Amz-Target",
                    "value": "DirectoryService_20150416.CreateDirectory"
                  },
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"Name\": \"porES.SSWu8iUi\\\\HTUrNHi\",\n  \"Password\": \"nT:xZqn\",\n  \"Size\": \"Large\",\n  \"ShortName\": \"iQ#+~w$s0a;R)~nZ]c\",\n  \"Description\": \"b\u2005\u205f@Ey?\u3000G\",\n  \"VpcSettings\": {\n    \"VpcId\": \"vpc-c754bdf9\",\n    \"SubnetIds\": [\n      \"subnet-d718a1ff061bcc00f\",\n      \"subnet-439c627dd0dfb04f0\"\n    ]\n  },\n  \"Tags\": [\n    {\n      \"Key\": \"_:\",\n      \"Value\": \":++Z_\"\n    },\n    {\n      \"Key\": \"__{+LpN\",\n      \"Value\": \"/p.\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/#X-Amz-Target=DirectoryService_20150416.CreateDirectory",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "hash": "X-Amz-Target=DirectoryService_20150416.CreateDirectory"
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"DirectoryId\": \"d-5adfe1e31e\"\n}",
              "createdAt": "2026-07-28T10:17:05.000Z",
              "updatedAt": "2026-07-28T10:17:05.000Z",
              "uid": "35240-4e41d376-4beb-41de-95df-6bdddf27ce31"
            },
            {
              "id": "09f38b0d-e188-4a9f-ae98-45b90859d9b9",
              "name": "DirectoryLimitExceededException",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "description": "(Required) ",
                    "key": "X-Amz-Target",
                    "value": "DirectoryService_20150416.CreateDirectory"
                  },
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"Name\": \"porES.SSWu8iUi\\\\HTUrNHi\",\n  \"Password\": \"nT:xZqn\",\n  \"Size\": \"Large\",\n  \"ShortName\": \"iQ#+~w$s0a;R)~nZ]c\",\n  \"Description\": \"b\u2005\u205f@Ey?\u3000G\",\n  \"VpcSettings\": {\n    \"VpcId\": \"vpc-c754bdf9\",\n    \"SubnetIds\": [\n      \"subnet-d718a1ff061bcc00f\",\n      \"subnet-439c627dd0dfb04f0\"\n    ]\n  },\n  \"Tags\": [\n    {\n      \"Key\": \"_:\",\n      \"Value\": \":++Z_\"\n    },\n    {\n      \"Key\": \"__{+LpN\",\n      \"Value\": \"/p.\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/#X-Amz-Target=DirectoryService_20150416.CreateDirectory",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "hash": "X-Amz-Target=DirectoryService_20150416.CreateDirectory"
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:17:05.000Z",
              "updatedAt": "2026-07-28T10:17:05.000Z",
              "uid": "35240-09f38b0d-e188-4a9f-ae98-45b90859d9b9"
            },
            {
              "id": "402c1389-a156-40d3-94de-4ef49f491096",
              "name": "InvalidParameterException",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "description": "(Required) ",
                    "key": "X-Amz-Target",
                    "value": "DirectoryService_20150416.CreateDirectory"
                  },
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"Name\": \"porES.SSWu8iUi\\\\HTUrNHi\",\n  \"Password\": \"nT:xZqn\",\n  \"Size\": \"Large\",\n  \"ShortName\": \"iQ#+~w$s0a;R)~nZ]c\",\n  \"Description\": \"b\u2005\u205f@Ey?\u3000G\",\n  \"VpcSettings\": {\n    \"VpcId\": \"vpc-c754bdf9\",\n    \"SubnetIds\": [\n      \"subnet-d718a1ff061bcc00f\",\n      \"subnet-439c627dd0dfb04f0\"\n    ]\n  },\n  \"Tags\": [\n    {\n      \"Key\": \"_:\",\n      \"Value\": \":++Z_\"\n    },\n    {\n      \"Key\": \"__{+LpN\",\n      \"Value\": \"/p.\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/#X-Amz-Target=DirectoryService_20150416.CreateDirectory",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "hash": "X-Amz-Target=DirectoryService_20150416.CreateDirectory"
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:17:05.000Z",
              "updatedAt": "2026-07-28T10:17:05.000Z",
              "uid": "35240-402c1389-a156-40d3-94de-4ef49f491096"
            },
            {
              "id": "135629f1-c269-4e2a-8013-f0e589eca631",
              "name": "ClientException",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "description": "(Required) ",
                    "key": "X-Amz-Target",
                    "value": "DirectoryService_20150416.CreateDirectory"
                  },
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"Name\": \"porES.SSWu8iUi\\\\HTUrNHi\",\n  \"Password\": \"nT:xZqn\",\n  \"Size\": \"Large\",\n  \"ShortName\": \"iQ#+~w$s0a;R)~nZ]c\",\n  \"Description\": \"b\u2005\u205f@Ey?\u3000G\",\n  \"VpcSettings\": {\n    \"VpcId\": \"vpc-c754bdf9\",\n    \"SubnetIds\": [\n      \"subnet-d718a1ff061bcc00f\",\n      \"subnet-439c627dd0dfb04f0\"\n    ]\n  },\n  \"Tags\": [\n    {\n      \"Key\": \"_:\",\n      \"Value\": \":++Z_\"\n    },\n    {\n      \"Key\": \"__{+LpN\",\n      \"Value\": \"/p.\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/#X-Amz-Target=DirectoryService_20150416.CreateDirectory",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "hash": "X-Amz-Target=DirectoryService_20150416.CreateDirectory"
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:17:05.000Z",
              "updatedAt": "2026-07-28T10:17:05.000Z",
              "uid": "35240-135629f1-c269-4e2a-8013-f0e589eca631"
            },
            {
              "id": "1bd43a6a-8117-4e82-b75a-4d2f90301e63",
              "name": "ServiceException",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "description": "(Required) ",
                    "key": "X-Amz-Target",
                    "value": "DirectoryService_20150416.CreateDirectory"
                  },
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"Name\": \"porES.SSWu8iUi\\\\HTUrNHi\",\n  \"Password\": \"nT:xZqn\",\n  \"Size\": \"Large\",\n  \"ShortName\": \"iQ#+~w$s0a;R)~nZ]c\",\n  \"Description\": \"b\u2005\u205f@Ey?\u3000G\",\n  \"VpcSettings\": {\n    \"VpcId\": \"vpc-c754bdf9\",\n    \"SubnetIds\": [\n      \"subnet-d718a1ff061bcc00f\",\n      \"subnet-439c627dd0dfb04f0\"\n    ]\n  },\n  \"Tags\": [\n    {\n      \"Key\": \"_:\",\n      \"Value\": \":++Z_\"\n    },\n    {\n      \"Key\": \"__{+LpN\",\n      \"Value\": \"/p.\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/#X-Amz-Target=DirectoryService_20150416.CreateDirectory",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "hash": "X-Amz-Target=DirectoryService_20150416.CreateDirectory"
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:17:05.000Z",
              "updatedAt": "2026-07-28T10:17:05.000Z",
              "uid": "35240-1bd43a6a-8117-4e82-b75a-4d2f90301e63"
            }
          ],
          "createdAt": "2026-07-28T10:17:05.000Z",
          "updatedAt": "2026-07-28T10:17:05.000Z",
          "uid": "35240-45948194-5096-48ea-adf9-3a20f754e8c2"
        }
      ],
      "id": "bf0f5a59-bdd3-4c28-80c5-6c32fe61969b",
      "createdAt": "2026-07-28T10:17:05.000Z",
      "updatedAt": "2026-07-28T10:17:05.000Z",
      "uid": "35240-bf0f5a59-bdd3-4c28-80c5-6c32fe61969b"
    }
  ],
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "Authorization",
        "type": "string"
      },
      {
        "key": "value",
        "value": "{{apiKey}}",
        "type": "string"
      },
      {
        "key": "in",
        "value": "header",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "region",
      "value": "us-east-1"
    },
    {
      "key": "baseUrl",
      "value": "http://ds.{{region}}.amazonaws.com"
    }
  ]
}