{
  "info": {
    "_postman_id": "a844a64a-d0c1-443f-a07c-9da3aafa9cf9",
    "name": "Amazon WorkMail #X Amz Target=WorkMailService.AssociateDelegateToResource #X Amz Target=WorkMailService.AssociateDelegateToResource #X Amz Target=WorkMailService.TestAvailabilityConfiguration API",
    "description": "<p>WorkMail is a secure, managed business email and calendaring service with support for existing desktop and mobile email clients. You can access your email, contacts, and calendars using Microsoft Outlook, your browser, or other native iOS and Android email applications. You can integrate WorkMail with your existing corporate directory and control both the keys that encrypt your data and the location in which your data is stored.</p> <p>The WorkMail API is designed for the following scenarios:</p> <ul> <li> <p>Listing and describing organizations</p> </li> </ul> <ul> <li> <p>Managing users</p> </li> </ul> <ul> <li> <p>Managing groups</p> </li> </ul> <ul> <li> <p>Managing resources</p> </li> </ul> <p>All WorkMail API operations are Amazon-authenticated and certificate-signed. They not only require the use of the AWS SDK, but also allow for the exclusive use of AWS Identity and Access Management users and roles to help facilitate access, trust, and permission policies. By creating a role and allowing an IAM user to access the WorkMail site, the IAM user gains full administrative visibility into the entire WorkMail organization (or as set in the IAM policy). This includes, but is not limited to, the ability to create, update, and delete users, groups, and resources. This allows developers to perform the scenarios listed above, as well as give users the ability to grant access on a selective basis using the IAM model.</p>\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:52:59.000Z",
    "updatedAt": "2026-07-28T10:53:00.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-a844a64a-d0c1-443f-a07c-9da3aafa9cf9"
  },
  "item": [
    {
      "name": "#X-Amz-Target=WorkMailService.TestAvailabilityConfiguration",
      "item": [
        {
          "name": "Amazon WorkMail Test Availability Configuration",
          "id": "e3810767-754c-471c-9e89-760c18d7a13e",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "description": "(Required) ",
                "key": "X-Amz-Target",
                "value": "WorkMailService.TestAvailabilityConfiguration"
              },
              {
                "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  \"OrganizationId\": \"m-cf6964a9e2f0d1d4673a0ae2126bca68\",\n  \"DomainName\": \".hXuKcZ2UP.qfKtMU\",\n  \"EwsProvider\": {\n    \"EwsEndpoint\": \"https://K2wus49/:eT'%m<e$E\",\n    \"EwsUsername\": \"\u0089yV\u00b3G;\u00b1[1\",\n    \"EwsPassword\": \"*\u009c\"\n  },\n  \"LambdaProvider\": {\n    \"LambdaArn\": \"arn:aws:lambda:ai-wjemedon-8:689484548535:function:Pn_MSSSA\"\n  }\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/#X-Amz-Target=WorkMailService.TestAvailabilityConfiguration",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                ""
              ],
              "hash": "X-Amz-Target=WorkMailService.TestAvailabilityConfiguration"
            },
            "description": "<p>Performs a test on an availability provider to ensure that access is allowed. For EWS, it verifies the provided credentials can be used to successfully log in. For Lambda, it verifies that the Lambda function can be invoked and that the resource access policy was configured to deny anonymous access. An anonymous invocation is one done without providing either a <code>SourceArn</code> or <code>SourceAccount</code> header.</p> <note> <p>The request must contain either one provider definition (<code>EwsProvider</code> or <code>LambdaProvider</code>) or the <code>DomainName</code> parameter. If the <code>DomainName</code> parameter is provided, the configuration stored under the <code>DomainName</code> will be tested.</p> </note>"
          },
          "response": [
            {
              "id": "a1f7a006-1d20-447c-88dc-6f3bf01aae0a",
              "name": "Success",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "description": "(Required) ",
                    "key": "X-Amz-Target",
                    "value": "WorkMailService.TestAvailabilityConfiguration"
                  },
                  {
                    "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  \"OrganizationId\": \"m-cf6964a9e2f0d1d4673a0ae2126bca68\",\n  \"DomainName\": \".hXuKcZ2UP.qfKtMU\",\n  \"EwsProvider\": {\n    \"EwsEndpoint\": \"https://K2wus49/:eT'%m<e$E\",\n    \"EwsUsername\": \"\u0089yV\u00b3G;\u00b1[1\",\n    \"EwsPassword\": \"*\u009c\"\n  },\n  \"LambdaProvider\": {\n    \"LambdaArn\": \"arn:aws:lambda:ai-wjemedon-8:689484548535:function:Pn_MSSSA\"\n  }\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/#X-Amz-Target=WorkMailService.TestAvailabilityConfiguration",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "hash": "X-Amz-Target=WorkMailService.TestAvailabilityConfiguration"
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"TestPassed\": \"<boolean>\",\n  \"FailureReason\": \"<string>\"\n}",
              "createdAt": "2026-07-28T10:53:00.000Z",
              "updatedAt": "2026-07-28T10:53:00.000Z",
              "uid": "35240-a1f7a006-1d20-447c-88dc-6f3bf01aae0a"
            },
            {
              "id": "fdba1814-6baa-4458-b7a4-b7ed3d54aa6c",
              "name": "OrganizationNotFoundException",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "description": "(Required) ",
                    "key": "X-Amz-Target",
                    "value": "WorkMailService.TestAvailabilityConfiguration"
                  },
                  {
                    "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  \"OrganizationId\": \"m-cf6964a9e2f0d1d4673a0ae2126bca68\",\n  \"DomainName\": \".hXuKcZ2UP.qfKtMU\",\n  \"EwsProvider\": {\n    \"EwsEndpoint\": \"https://K2wus49/:eT'%m<e$E\",\n    \"EwsUsername\": \"\u0089yV\u00b3G;\u00b1[1\",\n    \"EwsPassword\": \"*\u009c\"\n  },\n  \"LambdaProvider\": {\n    \"LambdaArn\": \"arn:aws:lambda:ai-wjemedon-8:689484548535:function:Pn_MSSSA\"\n  }\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/#X-Amz-Target=WorkMailService.TestAvailabilityConfiguration",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "hash": "X-Amz-Target=WorkMailService.TestAvailabilityConfiguration"
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:53:00.000Z",
              "updatedAt": "2026-07-28T10:53:00.000Z",
              "uid": "35240-fdba1814-6baa-4458-b7a4-b7ed3d54aa6c"
            },
            {
              "id": "0150f13c-3493-46ce-8874-a94af5bf7514",
              "name": "OrganizationStateException",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "description": "(Required) ",
                    "key": "X-Amz-Target",
                    "value": "WorkMailService.TestAvailabilityConfiguration"
                  },
                  {
                    "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  \"OrganizationId\": \"m-cf6964a9e2f0d1d4673a0ae2126bca68\",\n  \"DomainName\": \".hXuKcZ2UP.qfKtMU\",\n  \"EwsProvider\": {\n    \"EwsEndpoint\": \"https://K2wus49/:eT'%m<e$E\",\n    \"EwsUsername\": \"\u0089yV\u00b3G;\u00b1[1\",\n    \"EwsPassword\": \"*\u009c\"\n  },\n  \"LambdaProvider\": {\n    \"LambdaArn\": \"arn:aws:lambda:ai-wjemedon-8:689484548535:function:Pn_MSSSA\"\n  }\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/#X-Amz-Target=WorkMailService.TestAvailabilityConfiguration",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "hash": "X-Amz-Target=WorkMailService.TestAvailabilityConfiguration"
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:53:00.000Z",
              "updatedAt": "2026-07-28T10:53:00.000Z",
              "uid": "35240-0150f13c-3493-46ce-8874-a94af5bf7514"
            },
            {
              "id": "d0697bca-7d5d-4841-92fd-8695ac3f544e",
              "name": "ResourceNotFoundException",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "description": "(Required) ",
                    "key": "X-Amz-Target",
                    "value": "WorkMailService.TestAvailabilityConfiguration"
                  },
                  {
                    "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  \"OrganizationId\": \"m-cf6964a9e2f0d1d4673a0ae2126bca68\",\n  \"DomainName\": \".hXuKcZ2UP.qfKtMU\",\n  \"EwsProvider\": {\n    \"EwsEndpoint\": \"https://K2wus49/:eT'%m<e$E\",\n    \"EwsUsername\": \"\u0089yV\u00b3G;\u00b1[1\",\n    \"EwsPassword\": \"*\u009c\"\n  },\n  \"LambdaProvider\": {\n    \"LambdaArn\": \"arn:aws:lambda:ai-wjemedon-8:689484548535:function:Pn_MSSSA\"\n  }\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/#X-Amz-Target=WorkMailService.TestAvailabilityConfiguration",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "hash": "X-Amz-Target=WorkMailService.TestAvailabilityConfiguration"
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:53:00.000Z",
              "updatedAt": "2026-07-28T10:53:00.000Z",
              "uid": "35240-d0697bca-7d5d-4841-92fd-8695ac3f544e"
            },
            {
              "id": "8d5a93d4-7e81-4405-8019-31cb0c389621",
              "name": "InvalidParameterException",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "description": "(Required) ",
                    "key": "X-Amz-Target",
                    "value": "WorkMailService.TestAvailabilityConfiguration"
                  },
                  {
                    "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  \"OrganizationId\": \"m-cf6964a9e2f0d1d4673a0ae2126bca68\",\n  \"DomainName\": \".hXuKcZ2UP.qfKtMU\",\n  \"EwsProvider\": {\n    \"EwsEndpoint\": \"https://K2wus49/:eT'%m<e$E\",\n    \"EwsUsername\": \"\u0089yV\u00b3G;\u00b1[1\",\n    \"EwsPassword\": \"*\u009c\"\n  },\n  \"LambdaProvider\": {\n    \"LambdaArn\": \"arn:aws:lambda:ai-wjemedon-8:689484548535:function:Pn_MSSSA\"\n  }\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/#X-Amz-Target=WorkMailService.TestAvailabilityConfiguration",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "hash": "X-Amz-Target=WorkMailService.TestAvailabilityConfiguration"
                }
              },
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{}",
              "createdAt": "2026-07-28T10:53:00.000Z",
              "updatedAt": "2026-07-28T10:53:00.000Z",
              "uid": "35240-8d5a93d4-7e81-4405-8019-31cb0c389621"
            }
          ],
          "createdAt": "2026-07-28T10:53:00.000Z",
          "updatedAt": "2026-07-28T10:53:00.000Z",
          "uid": "35240-e3810767-754c-471c-9e89-760c18d7a13e"
        }
      ],
      "id": "c901b033-bc56-4660-9429-e73866244101",
      "createdAt": "2026-07-28T10:53:00.000Z",
      "updatedAt": "2026-07-28T10:53:00.000Z",
      "uid": "35240-c901b033-bc56-4660-9429-e73866244101"
    }
  ],
  "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://workmail.{{region}}.amazonaws.com"
    }
  ]
}