UNPKG

openapi-directory

Version:

Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS

1 lines 263 kB
{"openapi":"3.0.0","info":{"version":"2017-10-01","x-release":"v4","title":"Amazon WorkMail","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>","x-logo":{"url":"https://twitter.com/awscloud/profile_image?size=original","backgroundColor":"#FFFFFF"},"termsOfService":"https://aws.amazon.com/service-terms/","contact":{"name":"Mike Ralphson","email":"mike.ralphson@gmail.com","url":"https://github.com/mermade/aws2openapi","x-twitter":"PermittedSoc"},"license":{"name":"Apache 2.0 License","url":"http://www.apache.org/licenses/"},"x-providerName":"amazonaws.com","x-serviceName":"workmail","x-origin":[{"contentType":"application/json","url":"https://raw.githubusercontent.com/aws/aws-sdk-js/master/apis/workmail-2017-10-01.normal.json","converter":{"url":"https://github.com/mermade/aws2openapi","version":"1.0.0"},"x-apisguru-driver":"external"}],"x-apiClientRegistration":{"url":"https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct"},"x-apisguru-categories":["cloud"],"x-preferred":true},"externalDocs":{"description":"Amazon Web Services documentation","url":"https://docs.aws.amazon.com/workmail/"},"servers":[{"url":"http://workmail.{region}.amazonaws.com","variables":{"region":{"description":"The AWS region","enum":["us-east-1","us-east-2","us-west-1","us-west-2","us-gov-west-1","us-gov-east-1","ca-central-1","eu-north-1","eu-west-1","eu-west-2","eu-west-3","eu-central-1","eu-south-1","af-south-1","ap-northeast-1","ap-northeast-2","ap-northeast-3","ap-southeast-1","ap-southeast-2","ap-east-1","ap-south-1","sa-east-1","me-south-1"],"default":"us-east-1"}},"description":"The Amazon WorkMail multi-region endpoint"},{"url":"https://workmail.{region}.amazonaws.com","variables":{"region":{"description":"The AWS region","enum":["us-east-1","us-east-2","us-west-1","us-west-2","us-gov-west-1","us-gov-east-1","ca-central-1","eu-north-1","eu-west-1","eu-west-2","eu-west-3","eu-central-1","eu-south-1","af-south-1","ap-northeast-1","ap-northeast-2","ap-northeast-3","ap-southeast-1","ap-southeast-2","ap-east-1","ap-south-1","sa-east-1","me-south-1"],"default":"us-east-1"}},"description":"The Amazon WorkMail multi-region endpoint"},{"url":"http://workmail.{region}.amazonaws.com.cn","variables":{"region":{"description":"The AWS region","enum":["cn-north-1","cn-northwest-1"],"default":"cn-north-1"}},"description":"The Amazon WorkMail endpoint for China (Beijing) and China (Ningxia)"},{"url":"https://workmail.{region}.amazonaws.com.cn","variables":{"region":{"description":"The AWS region","enum":["cn-north-1","cn-northwest-1"],"default":"cn-north-1"}},"description":"The Amazon WorkMail endpoint for China (Beijing) and China (Ningxia)"}],"x-hasEquivalentPaths":true,"paths":{"/#X-Amz-Target=WorkMailService.AssociateDelegateToResource":{"post":{"operationId":"AssociateDelegateToResource","description":"Adds a member (user or group) to the resource's set of delegates.","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociateDelegateToResourceResponse"}}}},"480":{"description":"EntityNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityNotFoundException"}}}},"481":{"description":"EntityStateException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityStateException"}}}},"482":{"description":"InvalidParameterException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidParameterException"}}}},"483":{"description":"OrganizationNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationNotFoundException"}}}},"484":{"description":"OrganizationStateException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationStateException"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociateDelegateToResourceRequest"}}}},"parameters":[{"name":"X-Amz-Target","in":"header","required":true,"schema":{"type":"string","enum":["WorkMailService.AssociateDelegateToResource"]}}]},"parameters":[{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]},"/#X-Amz-Target=WorkMailService.AssociateMemberToGroup":{"post":{"operationId":"AssociateMemberToGroup","description":"Adds a member (user or group) to the group's set.","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociateMemberToGroupResponse"}}}},"480":{"description":"DirectoryServiceAuthenticationFailedException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DirectoryServiceAuthenticationFailedException"}}}},"481":{"description":"DirectoryUnavailableException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DirectoryUnavailableException"}}}},"482":{"description":"EntityNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityNotFoundException"}}}},"483":{"description":"EntityStateException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityStateException"}}}},"484":{"description":"InvalidParameterException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidParameterException"}}}},"485":{"description":"OrganizationNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationNotFoundException"}}}},"486":{"description":"OrganizationStateException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationStateException"}}}},"487":{"description":"UnsupportedOperationException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnsupportedOperationException"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociateMemberToGroupRequest"}}}},"parameters":[{"name":"X-Amz-Target","in":"header","required":true,"schema":{"type":"string","enum":["WorkMailService.AssociateMemberToGroup"]}}]},"parameters":[{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]},"/#X-Amz-Target=WorkMailService.AssumeImpersonationRole":{"post":{"operationId":"AssumeImpersonationRole","description":"Assumes an impersonation role for the given WorkMail organization. This method returns an authentication token you can use to make impersonated calls.","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssumeImpersonationRoleResponse"}}}},"480":{"description":"InvalidParameterException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidParameterException"}}}},"481":{"description":"OrganizationNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationNotFoundException"}}}},"482":{"description":"OrganizationStateException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationStateException"}}}},"483":{"description":"ResourceNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceNotFoundException"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssumeImpersonationRoleRequest"}}}},"parameters":[{"name":"X-Amz-Target","in":"header","required":true,"schema":{"type":"string","enum":["WorkMailService.AssumeImpersonationRole"]}}]},"parameters":[{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]},"/#X-Amz-Target=WorkMailService.CancelMailboxExportJob":{"post":{"operationId":"CancelMailboxExportJob","description":"<p>Cancels a mailbox export job.</p> <note> <p>If the mailbox export job is near completion, it might not be possible to cancel it.</p> </note>","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CancelMailboxExportJobResponse"}}}},"480":{"description":"InvalidParameterException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidParameterException"}}}},"481":{"description":"OrganizationNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationNotFoundException"}}}},"482":{"description":"OrganizationStateException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationStateException"}}}},"483":{"description":"EntityNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityNotFoundException"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CancelMailboxExportJobRequest"}}}},"parameters":[{"name":"X-Amz-Target","in":"header","required":true,"schema":{"type":"string","enum":["WorkMailService.CancelMailboxExportJob"]}}]},"parameters":[{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]},"/#X-Amz-Target=WorkMailService.CreateAlias":{"post":{"operationId":"CreateAlias","description":"Adds an alias to the set of a given member (user or group) of WorkMail.","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAliasResponse"}}}},"480":{"description":"EmailAddressInUseException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailAddressInUseException"}}}},"481":{"description":"EntityNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityNotFoundException"}}}},"482":{"description":"EntityStateException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityStateException"}}}},"483":{"description":"InvalidParameterException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidParameterException"}}}},"484":{"description":"MailDomainNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MailDomainNotFoundException"}}}},"485":{"description":"MailDomainStateException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MailDomainStateException"}}}},"486":{"description":"OrganizationNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationNotFoundException"}}}},"487":{"description":"OrganizationStateException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationStateException"}}}},"488":{"description":"LimitExceededException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LimitExceededException"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAliasRequest"}}}},"parameters":[{"name":"X-Amz-Target","in":"header","required":true,"schema":{"type":"string","enum":["WorkMailService.CreateAlias"]}}]},"parameters":[{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]},"/#X-Amz-Target=WorkMailService.CreateAvailabilityConfiguration":{"post":{"operationId":"CreateAvailabilityConfiguration","description":"Creates an <code>AvailabilityConfiguration</code> for the given WorkMail organization and domain.","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAvailabilityConfigurationResponse"}}}},"480":{"description":"OrganizationNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationNotFoundException"}}}},"481":{"description":"OrganizationStateException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationStateException"}}}},"482":{"description":"NameAvailabilityException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NameAvailabilityException"}}}},"483":{"description":"InvalidParameterException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidParameterException"}}}},"484":{"description":"LimitExceededException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LimitExceededException"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAvailabilityConfigurationRequest"}}}},"parameters":[{"name":"X-Amz-Target","in":"header","required":true,"schema":{"type":"string","enum":["WorkMailService.CreateAvailabilityConfiguration"]}}]},"parameters":[{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]},"/#X-Amz-Target=WorkMailService.CreateGroup":{"post":{"operationId":"CreateGroup","description":"Creates a group that can be used in WorkMail by calling the <a>RegisterToWorkMail</a> operation.","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateGroupResponse"}}}},"480":{"description":"DirectoryServiceAuthenticationFailedException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DirectoryServiceAuthenticationFailedException"}}}},"481":{"description":"DirectoryUnavailableException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DirectoryUnavailableException"}}}},"482":{"description":"InvalidParameterException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidParameterException"}}}},"483":{"description":"NameAvailabilityException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NameAvailabilityException"}}}},"484":{"description":"OrganizationNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationNotFoundException"}}}},"485":{"description":"OrganizationStateException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationStateException"}}}},"486":{"description":"ReservedNameException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservedNameException"}}}},"487":{"description":"UnsupportedOperationException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnsupportedOperationException"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateGroupRequest"}}}},"parameters":[{"name":"X-Amz-Target","in":"header","required":true,"schema":{"type":"string","enum":["WorkMailService.CreateGroup"]}}]},"parameters":[{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]},"/#X-Amz-Target=WorkMailService.CreateImpersonationRole":{"post":{"operationId":"CreateImpersonationRole","description":"<p>Creates an impersonation role for the given WorkMail organization.</p> <p> <i>Idempotency</i> ensures that an API request completes no more than one time. With an idempotent request, if the original request completes successfully, any subsequent retries also complete successfully without performing any further actions.</p>","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateImpersonationRoleResponse"}}}},"480":{"description":"InvalidParameterException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidParameterException"}}}},"481":{"description":"OrganizationNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationNotFoundException"}}}},"482":{"description":"OrganizationStateException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationStateException"}}}},"483":{"description":"EntityNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityNotFoundException"}}}},"484":{"description":"EntityStateException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityStateException"}}}},"485":{"description":"LimitExceededException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LimitExceededException"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateImpersonationRoleRequest"}}}},"parameters":[{"name":"X-Amz-Target","in":"header","required":true,"schema":{"type":"string","enum":["WorkMailService.CreateImpersonationRole"]}}]},"parameters":[{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]},"/#X-Amz-Target=WorkMailService.CreateMobileDeviceAccessRule":{"post":{"operationId":"CreateMobileDeviceAccessRule","description":"Creates a new mobile device access rule for the specified WorkMail organization.","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateMobileDeviceAccessRuleResponse"}}}},"480":{"description":"InvalidParameterException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidParameterException"}}}},"481":{"description":"LimitExceededException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LimitExceededException"}}}},"482":{"description":"OrganizationNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationNotFoundException"}}}},"483":{"description":"OrganizationStateException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationStateException"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateMobileDeviceAccessRuleRequest"}}}},"parameters":[{"name":"X-Amz-Target","in":"header","required":true,"schema":{"type":"string","enum":["WorkMailService.CreateMobileDeviceAccessRule"]}}]},"parameters":[{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]},"/#X-Amz-Target=WorkMailService.CreateOrganization":{"post":{"operationId":"CreateOrganization","description":"<p>Creates a new WorkMail organization. Optionally, you can choose to associate an existing AWS Directory Service directory with your organization. If an AWS Directory Service directory ID is specified, the organization alias must match the directory alias. If you choose not to associate an existing directory with your organization, then we create a new WorkMail directory for you. For more information, see <a href=\"https://docs.aws.amazon.com/workmail/latest/adminguide/add_new_organization.html\">Adding an organization</a> in the <i>WorkMail Administrator Guide</i>.</p> <p>You can associate multiple email domains with an organization, then choose your default email domain from the WorkMail console. You can also associate a domain that is managed in an Amazon Route 53 public hosted zone. For more information, see <a href=\"https://docs.aws.amazon.com/workmail/latest/adminguide/add_domain.html\">Adding a domain</a> and <a href=\"https://docs.aws.amazon.com/workmail/latest/adminguide/default_domain.html\">Choosing the default domain</a> in the <i>WorkMail Administrator Guide</i>.</p> <p>Optionally, you can use a customer managed key from AWS Key Management Service (AWS KMS) to encrypt email for your organization. If you don't associate an AWS KMS key, WorkMail creates a default, AWS managed key for you.</p>","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateOrganizationResponse"}}}},"480":{"description":"InvalidParameterException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidParameterException"}}}},"481":{"description":"DirectoryInUseException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DirectoryInUseException"}}}},"482":{"description":"DirectoryUnavailableException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DirectoryUnavailableException"}}}},"483":{"description":"LimitExceededException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LimitExceededException"}}}},"484":{"description":"NameAvailabilityException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NameAvailabilityException"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateOrganizationRequest"}}}},"parameters":[{"name":"X-Amz-Target","in":"header","required":true,"schema":{"type":"string","enum":["WorkMailService.CreateOrganization"]}}]},"parameters":[{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]},"/#X-Amz-Target=WorkMailService.CreateResource":{"post":{"operationId":"CreateResource","description":"Creates a new WorkMail resource.","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateResourceResponse"}}}},"480":{"description":"DirectoryServiceAuthenticationFailedException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DirectoryServiceAuthenticationFailedException"}}}},"481":{"description":"DirectoryUnavailableException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DirectoryUnavailableException"}}}},"482":{"description":"InvalidParameterException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidParameterException"}}}},"483":{"description":"NameAvailabilityException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NameAvailabilityException"}}}},"484":{"description":"OrganizationNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationNotFoundException"}}}},"485":{"description":"OrganizationStateException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationStateException"}}}},"486":{"description":"ReservedNameException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservedNameException"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateResourceRequest"}}}},"parameters":[{"name":"X-Amz-Target","in":"header","required":true,"schema":{"type":"string","enum":["WorkMailService.CreateResource"]}}]},"parameters":[{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]},"/#X-Amz-Target=WorkMailService.CreateUser":{"post":{"operationId":"CreateUser","description":"Creates a user who can be used in WorkMail by calling the <a>RegisterToWorkMail</a> operation.","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUserResponse"}}}},"480":{"description":"DirectoryServiceAuthenticationFailedException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DirectoryServiceAuthenticationFailedException"}}}},"481":{"description":"DirectoryUnavailableException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DirectoryUnavailableException"}}}},"482":{"description":"InvalidParameterException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidParameterException"}}}},"483":{"description":"InvalidPasswordException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidPasswordException"}}}},"484":{"description":"NameAvailabilityException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NameAvailabilityException"}}}},"485":{"description":"OrganizationNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationNotFoundException"}}}},"486":{"description":"OrganizationStateException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationStateException"}}}},"487":{"description":"ReservedNameException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservedNameException"}}}},"488":{"description":"UnsupportedOperationException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnsupportedOperationException"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUserRequest"}}}},"parameters":[{"name":"X-Amz-Target","in":"header","required":true,"schema":{"type":"string","enum":["WorkMailService.CreateUser"]}}]},"parameters":[{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]},"/#X-Amz-Target=WorkMailService.DeleteAccessControlRule":{"post":{"operationId":"DeleteAccessControlRule","description":"<p>Deletes an access control rule for the specified WorkMail organization.</p> <note> <p>Deleting already deleted and non-existing rules does not produce an error. In those cases, the service sends back an HTTP 200 response with an empty HTTP body.</p> </note>","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteAccessControlRuleResponse"}}}},"480":{"description":"OrganizationNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationNotFoundException"}}}},"481":{"description":"OrganizationStateException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationStateException"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteAccessControlRuleRequest"}}}},"parameters":[{"name":"X-Amz-Target","in":"header","required":true,"schema":{"type":"string","enum":["WorkMailService.DeleteAccessControlRule"]}}]},"parameters":[{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]},"/#X-Amz-Target=WorkMailService.DeleteAlias":{"post":{"operationId":"DeleteAlias","description":"Remove one or more specified aliases from a set of aliases for a given user.","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteAliasResponse"}}}},"480":{"description":"EntityNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityNotFoundException"}}}},"481":{"description":"EntityStateException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityStateException"}}}},"482":{"description":"InvalidParameterException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidParameterException"}}}},"483":{"description":"OrganizationNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationNotFoundException"}}}},"484":{"description":"OrganizationStateException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationStateException"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteAliasRequest"}}}},"parameters":[{"name":"X-Amz-Target","in":"header","required":true,"schema":{"type":"string","enum":["WorkMailService.DeleteAlias"]}}]},"parameters":[{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]},"/#X-Amz-Target=WorkMailService.DeleteAvailabilityConfiguration":{"post":{"operationId":"DeleteAvailabilityConfiguration","description":"Deletes the <code>AvailabilityConfiguration</code> for the given WorkMail organization and domain.","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteAvailabilityConfigurationResponse"}}}},"480":{"description":"OrganizationNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationNotFoundException"}}}},"481":{"description":"OrganizationStateException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationStateException"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteAvailabilityConfigurationRequest"}}}},"parameters":[{"name":"X-Amz-Target","in":"header","required":true,"schema":{"type":"string","enum":["WorkMailService.DeleteAvailabilityConfiguration"]}}]},"parameters":[{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]},"/#X-Amz-Target=WorkMailService.DeleteEmailMonitoringConfiguration":{"post":{"operationId":"DeleteEmailMonitoringConfiguration","description":"Deletes the email monitoring configuration for a specified organization.","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteEmailMonitoringConfigurationResponse"}}}},"480":{"description":"InvalidParameterException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidParameterException"}}}},"481":{"description":"OrganizationNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationNotFoundException"}}}},"482":{"description":"OrganizationStateException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationStateException"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteEmailMonitoringConfigurationRequest"}}}},"parameters":[{"name":"X-Amz-Target","in":"header","required":true,"schema":{"type":"string","enum":["WorkMailService.DeleteEmailMonitoringConfiguration"]}}]},"parameters":[{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]},"/#X-Amz-Target=WorkMailService.DeleteGroup":{"post":{"operationId":"DeleteGroup","description":"Deletes a group from WorkMail.","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteGroupResponse"}}}},"480":{"description":"DirectoryServiceAuthenticationFailedException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DirectoryServiceAuthenticationFailedException"}}}},"481":{"description":"DirectoryUnavailableException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DirectoryUnavailableException"}}}},"482":{"description":"EntityStateException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityStateException"}}}},"483":{"description":"InvalidParameterException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidParameterException"}}}},"484":{"description":"OrganizationNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationNotFoundException"}}}},"485":{"description":"OrganizationStateException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationStateException"}}}},"486":{"description":"UnsupportedOperationException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnsupportedOperationException"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteGroupRequest"}}}},"parameters":[{"name":"X-Amz-Target","in":"header","required":true,"schema":{"type":"string","enum":["WorkMailService.DeleteGroup"]}}]},"parameters":[{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]},"/#X-Amz-Target=WorkMailService.DeleteImpersonationRole":{"post":{"operationId":"DeleteImpersonationRole","description":"Deletes an impersonation role for the given WorkMail organization.","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteImpersonationRoleResponse"}}}},"480":{"description":"InvalidParameterException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidParameterException"}}}},"481":{"description":"OrganizationNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationNotFoundException"}}}},"482":{"description":"OrganizationStateException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationStateException"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteImpersonationRoleRequest"}}}},"parameters":[{"name":"X-Amz-Target","in":"header","required":true,"schema":{"type":"string","enum":["WorkMailService.DeleteImpersonationRole"]}}]},"parameters":[{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]},"/#X-Amz-Target=WorkMailService.DeleteMailboxPermissions":{"post":{"operationId":"DeleteMailboxPermissions","description":"Deletes permissions granted to a member (user or group).","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteMailboxPermissionsResponse"}}}},"480":{"description":"EntityNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityNotFoundException"}}}},"481":{"description":"EntityStateException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityStateException"}}}},"482":{"description":"InvalidParameterException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidParameterException"}}}},"483":{"description":"OrganizationNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationNotFoundException"}}}},"484":{"description":"OrganizationStateException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationStateException"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteMailboxPermissionsRequest"}}}},"parameters":[{"name":"X-Amz-Target","in":"header","required":true,"schema":{"type":"string","enum":["WorkMailService.DeleteMailboxPermissions"]}}]},"parameters":[{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]},"/#X-Amz-Target=WorkMailService.DeleteMobileDeviceAccessOverride":{"post":{"operationId":"DeleteMobileDeviceAccessOverride","description":"<p>Deletes the mobile device access override for the given WorkMail organization, user, and device.</p> <note> <p>Deleting already deleted and non-existing overrides does not produce an error. In those cases, the service sends back an HTTP 200 response with an empty HTTP body.</p> </note>","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteMobileDeviceAccessOverrideResponse"}}}},"480":{"description":"InvalidParameterException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidParameterException"}}}},"481":{"description":"OrganizationNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationNotFoundException"}}}},"482":{"description":"OrganizationStateException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationStateException"}}}},"483":{"description":"EntityNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityNotFoundException"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteMobileDeviceAccessOverrideRequest"}}}},"parameters":[{"name":"X-Amz-Target","in":"header","required":true,"schema":{"type":"string","enum":["WorkMailService.DeleteMobileDeviceAccessOverride"]}}]},"parameters":[{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]},"/#X-Amz-Target=WorkMailService.DeleteMobileDeviceAccessRule":{"post":{"operationId":"DeleteMobileDeviceAccessRule","description":"<p>Deletes a mobile device access rule for the specified WorkMail organization.</p> <note> <p>Deleting already deleted and non-existing rules does not produce an error. In those cases, the service sends back an HTTP 200 response with an empty HTTP body.</p> </note>","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteMobileDeviceAccessRuleResponse"}}}},"480":{"description":"InvalidParameterException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidParameterException"}}}},"481":{"description":"OrganizationNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationNotFoundException"}}}},"482":{"description":"OrganizationStateException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationStateException"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteMobileDeviceAccessRuleRequest"}}}},"parameters":[{"name":"X-Amz-Target","in":"header","required":true,"schema":{"type":"string","enum":["WorkMailService.DeleteMobileDeviceAccessRule"]}}]},"parameters":[{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]},"/#X-Amz-Target=WorkMailService.DeleteOrganization":{"post":{"operationId":"DeleteOrganization","description":"Deletes an WorkMail organization and all underlying AWS resources managed by WorkMail as part of the organization. You can choose whether to delete the associated directory. For more information, see <a href=\"https://docs.aws.amazon.com/workmail/latest/adminguide/remove_organization.html\">Removing an organization</a> in the <i>WorkMail Administrator Guide</i>.","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteOrganizationResponse"}}}},"480":{"description":"InvalidParameterException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidParameterException"}}}},"481":{"description":"OrganizationNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationNotFoundException"}}}},"482":{"description":"OrganizationStateException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationStateException"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteOrganizationRequest"}}}},"parameters":[{"name":"X-Amz-Target","in":"header","required":true,"schema":{"type":"string","enum":["WorkMailService.DeleteOrganization"]}}]},"parameters":[{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]},"/#X-Amz-Target=WorkMailService.DeleteResource":{"post":{"operationId":"DeleteResource","description":"Deletes the specified resource.","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteResourceResponse"}}}},"480":{"description":"EntityStateException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityStateException"}}}},"481":{"description":"InvalidParameterException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidParameterException"}}}},"482":{"description":"OrganizationNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationNotFoundException"}}}},"483":{"description":"OrganizationStateException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationStateException"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteResourceRequest"}}}},"parameters":[{"name":"X-Amz-Target","in":"header","required":true,"schema":{"type":"string","enum":["WorkMailService.DeleteResource"]}}]},"parameters":[{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]},"/#X-Amz-Target=WorkMailService.DeleteRetentionPolicy":{"post":{"operationId":"DeleteRetentionPolicy","description":"Deletes the specified retention policy from the specified organization.","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteRetentionPolicyResponse"}}}},"480":{"description":"InvalidParameterException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidParameterException"}}}},"481":{"description":"OrganizationNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationNotFoundException"}}}},"482":{"description":"OrganizationStateException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationStateException"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteRetentionPolicyRequest"}}}},"parameters":[{"name":"X-Amz-Target","in":"header","required":true,"schema":{"type":"string","enum":["WorkMailService.DeleteRetentionPolicy"]}}]},"parameters":[{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]},"/#X-Amz-Target=WorkMailService.DeleteUser":{"post":{"operationId":"DeleteUser","description":"<p>Deletes a user from WorkMail and all subsequent systems. Before you can delete a user, the user state must be <code>DISABLED</code>. Use the <a>DescribeUser</a> action to confirm the user state.</p> <p>Deleting a user is permanent and cannot be undone. WorkMail archives user mailboxes for 30 days before they are permanently removed.</p>","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteUserResponse"}}}},"480":{"description":"DirectoryServiceAuthenticationFailedException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DirectoryServiceAuthenticationFailedException"}}}},"481":{"description":"DirectoryUnavailableException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DirectoryUnavailableException"}}}},"482":{"description":"EntityStateException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityStateException"}}}},"483":{"description":"InvalidParameterException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidParameterE