{
  "info": {
    "_postman_id": "68ec635e-8f3c-4bb9-af72-4643d4b3497a",
    "name": "AWS Directory Service #X Amz Target=DirectoryService 20150416.AcceptSharedDirectory #X Amz Target=DirectoryService 20150416.AcceptSharedDirectory #X Amz Target=DirectoryService 20150416.CreateAlias 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:16:58.000Z",
    "updatedAt": "2026-07-28T10:16:58.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-68ec635e-8f3c-4bb9-af72-4643d4b3497a"
  },
  "item": [
    {
      "name": "#X-Amz-Target=DirectoryService_20150416.CreateAlias",
      "item": [
        {
          "name": "Create Alias",
          "id": "b4da2185-62f4-4908-abd4-49d8501a185d",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "description": "(Required) ",
                "key": "X-Amz-Target",
                "value": "DirectoryService_20150416.CreateAlias"
              },
              {
                "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  \"DirectoryId\": \"d-cc1d2f5f0b\",\n  \"Alias\": \"0kZ7C----V---m---m\"\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/#X-Amz-Target=DirectoryService_20150416.CreateAlias",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                ""
              ],
              "hash": "X-Amz-Target=DirectoryService_20150416.CreateAlias"
            },
            "description": "<p>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 <code>http://&lt;alias&gt;.awsapps.com</code>.</p> <important> <p>After an alias has been created, it cannot be deleted or reused, so this operation should only be used when absolutely necessary.</p> </important>"
          },
          "response": [
            {
              "id": "05af583a-b723-4e57-b974-0a70b1bb90b4",
              "name": "Success",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "description": "(Required) ",
                    "key": "X-Amz-Target",
                    "value": "DirectoryService_20150416.CreateAlias"
                  },
                  {
                    "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  \"DirectoryId\": \"d-cc1d2f5f0b\",\n  \"Alias\": \"0kZ7C----V---m---m\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/#X-Amz-Target=DirectoryService_20150416.CreateAlias",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "hash": "X-Amz-Target=DirectoryService_20150416.CreateAlias"
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"DirectoryId\": \"d-6cb932191f\",\n  \"Alias\": \"vE3W2Px---a-----ve--U--6O----------q--------T--------3--------\"\n}",
              "createdAt": "2026-07-28T10:16:58.000Z",
              "updatedAt": "2026-07-28T10:16:58.000Z",
              "uid": "35240-05af583a-b723-4e57-b974-0a70b1bb90b4"
            },
            {
              "id": "d4f568c0-c2e3-43fa-86a6-f768d0de9564",
              "name": "EntityAlreadyExistsException",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "description": "(Required) ",
                    "key": "X-Amz-Target",
                    "value": "DirectoryService_20150416.CreateAlias"
                  },
                  {
                    "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  \"DirectoryId\": \"d-cc1d2f5f0b\",\n  \"Alias\": \"0kZ7C----V---m---m\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/#X-Amz-Target=DirectoryService_20150416.CreateAlias",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "hash": "X-Amz-Target=DirectoryService_20150416.CreateAlias"
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:16:58.000Z",
              "updatedAt": "2026-07-28T10:16:58.000Z",
              "uid": "35240-d4f568c0-c2e3-43fa-86a6-f768d0de9564"
            },
            {
              "id": "4c9b2605-efa4-4037-8404-0604bdb3892e",
              "name": "EntityDoesNotExistException",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "description": "(Required) ",
                    "key": "X-Amz-Target",
                    "value": "DirectoryService_20150416.CreateAlias"
                  },
                  {
                    "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  \"DirectoryId\": \"d-cc1d2f5f0b\",\n  \"Alias\": \"0kZ7C----V---m---m\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/#X-Amz-Target=DirectoryService_20150416.CreateAlias",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "hash": "X-Amz-Target=DirectoryService_20150416.CreateAlias"
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:16:58.000Z",
              "updatedAt": "2026-07-28T10:16:58.000Z",
              "uid": "35240-4c9b2605-efa4-4037-8404-0604bdb3892e"
            },
            {
              "id": "b249eb3d-bc02-4883-b919-8290b404b320",
              "name": "InvalidParameterException",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "description": "(Required) ",
                    "key": "X-Amz-Target",
                    "value": "DirectoryService_20150416.CreateAlias"
                  },
                  {
                    "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  \"DirectoryId\": \"d-cc1d2f5f0b\",\n  \"Alias\": \"0kZ7C----V---m---m\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/#X-Amz-Target=DirectoryService_20150416.CreateAlias",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "hash": "X-Amz-Target=DirectoryService_20150416.CreateAlias"
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:16:58.000Z",
              "updatedAt": "2026-07-28T10:16:58.000Z",
              "uid": "35240-b249eb3d-bc02-4883-b919-8290b404b320"
            },
            {
              "id": "d6039ff0-81e1-400b-b18d-943d9af5f9f0",
              "name": "ClientException",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "description": "(Required) ",
                    "key": "X-Amz-Target",
                    "value": "DirectoryService_20150416.CreateAlias"
                  },
                  {
                    "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  \"DirectoryId\": \"d-cc1d2f5f0b\",\n  \"Alias\": \"0kZ7C----V---m---m\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/#X-Amz-Target=DirectoryService_20150416.CreateAlias",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "hash": "X-Amz-Target=DirectoryService_20150416.CreateAlias"
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:16:58.000Z",
              "updatedAt": "2026-07-28T10:16:58.000Z",
              "uid": "35240-d6039ff0-81e1-400b-b18d-943d9af5f9f0"
            },
            {
              "id": "38dbc65c-9b05-4a0b-814d-536a1a75cd55",
              "name": "ServiceException",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "description": "(Required) ",
                    "key": "X-Amz-Target",
                    "value": "DirectoryService_20150416.CreateAlias"
                  },
                  {
                    "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  \"DirectoryId\": \"d-cc1d2f5f0b\",\n  \"Alias\": \"0kZ7C----V---m---m\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/#X-Amz-Target=DirectoryService_20150416.CreateAlias",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "hash": "X-Amz-Target=DirectoryService_20150416.CreateAlias"
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:16:58.000Z",
              "updatedAt": "2026-07-28T10:16:58.000Z",
              "uid": "35240-38dbc65c-9b05-4a0b-814d-536a1a75cd55"
            }
          ],
          "createdAt": "2026-07-28T10:16:58.000Z",
          "updatedAt": "2026-07-28T10:16:58.000Z",
          "uid": "35240-b4da2185-62f4-4908-abd4-49d8501a185d"
        }
      ],
      "id": "7b32d6f1-0701-41c4-8b9b-a37947127493",
      "createdAt": "2026-07-28T10:16:58.000Z",
      "updatedAt": "2026-07-28T10:16:58.000Z",
      "uid": "35240-7b32d6f1-0701-41c4-8b9b-a37947127493"
    }
  ],
  "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"
    }
  ]
}