{ "version": "2.0", "metadata": { "apiVersion": "2017-10-01", "endpointPrefix": "workmail", "jsonVersion": "1.1", "protocol": "json", "serviceFullName": "Amazon WorkMail", "serviceId": "WorkMail", "signatureVersion": "v4", "targetPrefix": "WorkMailService", "uid": "workmail-2017-10-01" }, "operations": { "AssociateDelegateToResource": { "name": "AssociateDelegateToResource", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "AssociateDelegateToResourceRequest" }, "output": { "shape": "AssociateDelegateToResourceResponse" }, "errors": [ { "shape": "EntityNotFoundException" }, { "shape": "EntityStateException" }, { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" }, { "shape": "UnsupportedOperationException" } ], "documentation": "

Adds a member (user or group) to the resource's set of delegates.

", "idempotent": true }, "AssociateMemberToGroup": { "name": "AssociateMemberToGroup", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "AssociateMemberToGroupRequest" }, "output": { "shape": "AssociateMemberToGroupResponse" }, "errors": [ { "shape": "DirectoryServiceAuthenticationFailedException" }, { "shape": "DirectoryUnavailableException" }, { "shape": "EntityNotFoundException" }, { "shape": "EntityStateException" }, { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" }, { "shape": "UnsupportedOperationException" } ], "documentation": "

Adds a member (user or group) to the group's set.

", "idempotent": true }, "AssumeImpersonationRole": { "name": "AssumeImpersonationRole", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "AssumeImpersonationRoleRequest" }, "output": { "shape": "AssumeImpersonationRoleResponse" }, "errors": [ { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" }, { "shape": "ResourceNotFoundException" } ], "documentation": "

Assumes an impersonation role for the given WorkMail organization. This method returns an authentication token you can use to make impersonated calls.

" }, "CancelMailboxExportJob": { "name": "CancelMailboxExportJob", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "CancelMailboxExportJobRequest" }, "output": { "shape": "CancelMailboxExportJobResponse" }, "errors": [ { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" }, { "shape": "EntityNotFoundException" } ], "documentation": "

Cancels a mailbox export job.

If the mailbox export job is near completion, it might not be possible to cancel it.

", "idempotent": true }, "CreateAlias": { "name": "CreateAlias", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "CreateAliasRequest" }, "output": { "shape": "CreateAliasResponse" }, "errors": [ { "shape": "EmailAddressInUseException" }, { "shape": "EntityNotFoundException" }, { "shape": "EntityStateException" }, { "shape": "InvalidParameterException" }, { "shape": "MailDomainNotFoundException" }, { "shape": "MailDomainStateException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" }, { "shape": "LimitExceededException" } ], "documentation": "

Adds an alias to the set of a given member (user or group) of WorkMail.

", "idempotent": true }, "CreateAvailabilityConfiguration": { "name": "CreateAvailabilityConfiguration", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "CreateAvailabilityConfigurationRequest" }, "output": { "shape": "CreateAvailabilityConfigurationResponse" }, "errors": [ { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" }, { "shape": "NameAvailabilityException" }, { "shape": "InvalidParameterException" }, { "shape": "LimitExceededException" } ], "documentation": "

Creates an AvailabilityConfiguration for the given WorkMail organization and domain.

", "idempotent": true }, "CreateGroup": { "name": "CreateGroup", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "CreateGroupRequest" }, "output": { "shape": "CreateGroupResponse" }, "errors": [ { "shape": "DirectoryServiceAuthenticationFailedException" }, { "shape": "DirectoryUnavailableException" }, { "shape": "InvalidParameterException" }, { "shape": "NameAvailabilityException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" }, { "shape": "ReservedNameException" }, { "shape": "UnsupportedOperationException" } ], "documentation": "

Creates a group that can be used in WorkMail by calling the RegisterToWorkMail operation.

", "idempotent": true }, "CreateImpersonationRole": { "name": "CreateImpersonationRole", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "CreateImpersonationRoleRequest" }, "output": { "shape": "CreateImpersonationRoleResponse" }, "errors": [ { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" }, { "shape": "EntityNotFoundException" }, { "shape": "EntityStateException" }, { "shape": "LimitExceededException" } ], "documentation": "

Creates an impersonation role for the given WorkMail organization.

Idempotency 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.

" }, "CreateMobileDeviceAccessRule": { "name": "CreateMobileDeviceAccessRule", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "CreateMobileDeviceAccessRuleRequest" }, "output": { "shape": "CreateMobileDeviceAccessRuleResponse" }, "errors": [ { "shape": "InvalidParameterException" }, { "shape": "LimitExceededException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" } ], "documentation": "

Creates a new mobile device access rule for the specified WorkMail organization.

" }, "CreateOrganization": { "name": "CreateOrganization", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "CreateOrganizationRequest" }, "output": { "shape": "CreateOrganizationResponse" }, "errors": [ { "shape": "InvalidParameterException" }, { "shape": "DirectoryInUseException" }, { "shape": "DirectoryUnavailableException" }, { "shape": "LimitExceededException" }, { "shape": "NameAvailabilityException" } ], "documentation": "

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 Adding an organization in the WorkMail Administrator Guide.

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 Adding a domain and Choosing the default domain in the WorkMail Administrator Guide.

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.

", "idempotent": true }, "CreateResource": { "name": "CreateResource", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "CreateResourceRequest" }, "output": { "shape": "CreateResourceResponse" }, "errors": [ { "shape": "DirectoryServiceAuthenticationFailedException" }, { "shape": "DirectoryUnavailableException" }, { "shape": "InvalidParameterException" }, { "shape": "NameAvailabilityException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" }, { "shape": "ReservedNameException" }, { "shape": "UnsupportedOperationException" } ], "documentation": "

Creates a new WorkMail resource.

", "idempotent": true }, "CreateUser": { "name": "CreateUser", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "CreateUserRequest" }, "output": { "shape": "CreateUserResponse" }, "errors": [ { "shape": "DirectoryServiceAuthenticationFailedException" }, { "shape": "DirectoryUnavailableException" }, { "shape": "InvalidParameterException" }, { "shape": "InvalidPasswordException" }, { "shape": "NameAvailabilityException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" }, { "shape": "ReservedNameException" }, { "shape": "UnsupportedOperationException" } ], "documentation": "

Creates a user who can be used in WorkMail by calling the RegisterToWorkMail operation.

", "idempotent": true }, "DeleteAccessControlRule": { "name": "DeleteAccessControlRule", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeleteAccessControlRuleRequest" }, "output": { "shape": "DeleteAccessControlRuleResponse" }, "errors": [ { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" } ], "documentation": "

Deletes an access control rule for the specified WorkMail organization.

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.

" }, "DeleteAlias": { "name": "DeleteAlias", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeleteAliasRequest" }, "output": { "shape": "DeleteAliasResponse" }, "errors": [ { "shape": "EntityNotFoundException" }, { "shape": "EntityStateException" }, { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" } ], "documentation": "

Remove one or more specified aliases from a set of aliases for a given user.

", "idempotent": true }, "DeleteAvailabilityConfiguration": { "name": "DeleteAvailabilityConfiguration", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeleteAvailabilityConfigurationRequest" }, "output": { "shape": "DeleteAvailabilityConfigurationResponse" }, "errors": [ { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" } ], "documentation": "

Deletes the AvailabilityConfiguration for the given WorkMail organization and domain.

", "idempotent": true }, "DeleteEmailMonitoringConfiguration": { "name": "DeleteEmailMonitoringConfiguration", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeleteEmailMonitoringConfigurationRequest" }, "output": { "shape": "DeleteEmailMonitoringConfigurationResponse" }, "errors": [ { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" } ], "documentation": "

Deletes the email monitoring configuration for a specified organization.

", "idempotent": true }, "DeleteGroup": { "name": "DeleteGroup", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeleteGroupRequest" }, "output": { "shape": "DeleteGroupResponse" }, "errors": [ { "shape": "DirectoryServiceAuthenticationFailedException" }, { "shape": "DirectoryUnavailableException" }, { "shape": "EntityStateException" }, { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" }, { "shape": "UnsupportedOperationException" } ], "documentation": "

Deletes a group from WorkMail.

", "idempotent": true }, "DeleteImpersonationRole": { "name": "DeleteImpersonationRole", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeleteImpersonationRoleRequest" }, "output": { "shape": "DeleteImpersonationRoleResponse" }, "errors": [ { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" } ], "documentation": "

Deletes an impersonation role for the given WorkMail organization.

" }, "DeleteMailboxPermissions": { "name": "DeleteMailboxPermissions", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeleteMailboxPermissionsRequest" }, "output": { "shape": "DeleteMailboxPermissionsResponse" }, "errors": [ { "shape": "EntityNotFoundException" }, { "shape": "EntityStateException" }, { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" } ], "documentation": "

Deletes permissions granted to a member (user or group).

", "idempotent": true }, "DeleteMobileDeviceAccessOverride": { "name": "DeleteMobileDeviceAccessOverride", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeleteMobileDeviceAccessOverrideRequest" }, "output": { "shape": "DeleteMobileDeviceAccessOverrideResponse" }, "errors": [ { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" }, { "shape": "EntityNotFoundException" } ], "documentation": "

Deletes the mobile device access override for the given WorkMail organization, user, and device.

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.

" }, "DeleteMobileDeviceAccessRule": { "name": "DeleteMobileDeviceAccessRule", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeleteMobileDeviceAccessRuleRequest" }, "output": { "shape": "DeleteMobileDeviceAccessRuleResponse" }, "errors": [ { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" } ], "documentation": "

Deletes a mobile device access rule for the specified WorkMail organization.

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.

" }, "DeleteOrganization": { "name": "DeleteOrganization", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeleteOrganizationRequest" }, "output": { "shape": "DeleteOrganizationResponse" }, "errors": [ { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" } ], "documentation": "

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 Removing an organization in the WorkMail Administrator Guide.

", "idempotent": true }, "DeleteResource": { "name": "DeleteResource", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeleteResourceRequest" }, "output": { "shape": "DeleteResourceResponse" }, "errors": [ { "shape": "EntityStateException" }, { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" }, { "shape": "UnsupportedOperationException" } ], "documentation": "

Deletes the specified resource.

", "idempotent": true }, "DeleteRetentionPolicy": { "name": "DeleteRetentionPolicy", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeleteRetentionPolicyRequest" }, "output": { "shape": "DeleteRetentionPolicyResponse" }, "errors": [ { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" } ], "documentation": "

Deletes the specified retention policy from the specified organization.

", "idempotent": true }, "DeleteUser": { "name": "DeleteUser", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeleteUserRequest" }, "output": { "shape": "DeleteUserResponse" }, "errors": [ { "shape": "DirectoryServiceAuthenticationFailedException" }, { "shape": "DirectoryUnavailableException" }, { "shape": "EntityStateException" }, { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" }, { "shape": "UnsupportedOperationException" } ], "documentation": "

Deletes a user from WorkMail and all subsequent systems. Before you can delete a user, the user state must be DISABLED. Use the DescribeUser action to confirm the user state.

Deleting a user is permanent and cannot be undone. WorkMail archives user mailboxes for 30 days before they are permanently removed.

", "idempotent": true }, "DeregisterFromWorkMail": { "name": "DeregisterFromWorkMail", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeregisterFromWorkMailRequest" }, "output": { "shape": "DeregisterFromWorkMailResponse" }, "errors": [ { "shape": "EntityNotFoundException" }, { "shape": "EntityStateException" }, { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" } ], "documentation": "

Mark a user, group, or resource as no longer used in WorkMail. This action disassociates the mailbox and schedules it for clean-up. WorkMail keeps mailboxes for 30 days before they are permanently removed. The functionality in the console is Disable.

", "idempotent": true }, "DeregisterMailDomain": { "name": "DeregisterMailDomain", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeregisterMailDomainRequest" }, "output": { "shape": "DeregisterMailDomainResponse" }, "errors": [ { "shape": "MailDomainInUseException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" }, { "shape": "InvalidParameterException" }, { "shape": "InvalidCustomSesConfigurationException" } ], "documentation": "

Removes a domain from WorkMail, stops email routing to WorkMail, and removes the authorization allowing WorkMail use. SES keeps the domain because other applications may use it. You must first remove any email address used by WorkMail entities before you remove the domain.

", "idempotent": true }, "DescribeEmailMonitoringConfiguration": { "name": "DescribeEmailMonitoringConfiguration", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DescribeEmailMonitoringConfigurationRequest" }, "output": { "shape": "DescribeEmailMonitoringConfigurationResponse" }, "errors": [ { "shape": "ResourceNotFoundException" }, { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" } ], "documentation": "

Describes the current email monitoring configuration for a specified organization.

", "idempotent": true }, "DescribeEntity": { "name": "DescribeEntity", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DescribeEntityRequest" }, "output": { "shape": "DescribeEntityResponse" }, "errors": [ { "shape": "EntityNotFoundException" }, { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" } ], "documentation": "

Returns basic details about an entity in WorkMail.

", "idempotent": true }, "DescribeGroup": { "name": "DescribeGroup", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DescribeGroupRequest" }, "output": { "shape": "DescribeGroupResponse" }, "errors": [ { "shape": "EntityNotFoundException" }, { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" } ], "documentation": "

Returns the data available for the group.

", "idempotent": true }, "DescribeInboundDmarcSettings": { "name": "DescribeInboundDmarcSettings", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DescribeInboundDmarcSettingsRequest" }, "output": { "shape": "DescribeInboundDmarcSettingsResponse" }, "errors": [ { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" } ], "documentation": "

Lists the settings in a DMARC policy for a specified organization.

", "idempotent": true }, "DescribeMailboxExportJob": { "name": "DescribeMailboxExportJob", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DescribeMailboxExportJobRequest" }, "output": { "shape": "DescribeMailboxExportJobResponse" }, "errors": [ { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" }, { "shape": "EntityNotFoundException" } ], "documentation": "

Describes the current status of a mailbox export job.

", "idempotent": true }, "DescribeOrganization": { "name": "DescribeOrganization", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DescribeOrganizationRequest" }, "output": { "shape": "DescribeOrganizationResponse" }, "errors": [ { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" } ], "documentation": "

Provides more information regarding a given organization based on its identifier.

", "idempotent": true }, "DescribeResource": { "name": "DescribeResource", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DescribeResourceRequest" }, "output": { "shape": "DescribeResourceResponse" }, "errors": [ { "shape": "EntityNotFoundException" }, { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" }, { "shape": "UnsupportedOperationException" } ], "documentation": "

Returns the data available for the resource.

", "idempotent": true }, "DescribeUser": { "name": "DescribeUser", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DescribeUserRequest" }, "output": { "shape": "DescribeUserResponse" }, "errors": [ { "shape": "EntityNotFoundException" }, { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" } ], "documentation": "

Provides information regarding the user.

", "idempotent": true }, "DisassociateDelegateFromResource": { "name": "DisassociateDelegateFromResource", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DisassociateDelegateFromResourceRequest" }, "output": { "shape": "DisassociateDelegateFromResourceResponse" }, "errors": [ { "shape": "EntityNotFoundException" }, { "shape": "EntityStateException" }, { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" }, { "shape": "UnsupportedOperationException" } ], "documentation": "

Removes a member from the resource's set of delegates.

", "idempotent": true }, "DisassociateMemberFromGroup": { "name": "DisassociateMemberFromGroup", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DisassociateMemberFromGroupRequest" }, "output": { "shape": "DisassociateMemberFromGroupResponse" }, "errors": [ { "shape": "DirectoryServiceAuthenticationFailedException" }, { "shape": "DirectoryUnavailableException" }, { "shape": "EntityNotFoundException" }, { "shape": "EntityStateException" }, { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" }, { "shape": "UnsupportedOperationException" } ], "documentation": "

Removes a member from a group.

", "idempotent": true }, "GetAccessControlEffect": { "name": "GetAccessControlEffect", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetAccessControlEffectRequest" }, "output": { "shape": "GetAccessControlEffectResponse" }, "errors": [ { "shape": "EntityNotFoundException" }, { "shape": "ResourceNotFoundException" }, { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" } ], "documentation": "

Gets the effects of an organization's access control rules as they apply to a specified IPv4 address, access protocol action, and user ID or impersonation role ID. You must provide either the user ID or impersonation role ID. Impersonation role ID can only be used with Action EWS.

" }, "GetDefaultRetentionPolicy": { "name": "GetDefaultRetentionPolicy", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetDefaultRetentionPolicyRequest" }, "output": { "shape": "GetDefaultRetentionPolicyResponse" }, "errors": [ { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" }, { "shape": "EntityNotFoundException" } ], "documentation": "

Gets the default retention policy details for the specified organization.

", "idempotent": true }, "GetImpersonationRole": { "name": "GetImpersonationRole", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetImpersonationRoleRequest" }, "output": { "shape": "GetImpersonationRoleResponse" }, "errors": [ { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" }, { "shape": "ResourceNotFoundException" } ], "documentation": "

Gets the impersonation role details for the given WorkMail organization.

" }, "GetImpersonationRoleEffect": { "name": "GetImpersonationRoleEffect", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetImpersonationRoleEffectRequest" }, "output": { "shape": "GetImpersonationRoleEffectResponse" }, "errors": [ { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" }, { "shape": "ResourceNotFoundException" }, { "shape": "EntityNotFoundException" }, { "shape": "EntityStateException" } ], "documentation": "

Tests whether the given impersonation role can impersonate a target user.

" }, "GetMailDomain": { "name": "GetMailDomain", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetMailDomainRequest" }, "output": { "shape": "GetMailDomainResponse" }, "errors": [ { "shape": "MailDomainNotFoundException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" }, { "shape": "InvalidParameterException" } ], "documentation": "

Gets details for a mail domain, including domain records required to configure your domain with recommended security.

", "idempotent": true }, "GetMailboxDetails": { "name": "GetMailboxDetails", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetMailboxDetailsRequest" }, "output": { "shape": "GetMailboxDetailsResponse" }, "errors": [ { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" }, { "shape": "EntityNotFoundException" } ], "documentation": "

Requests a user's mailbox details for a specified organization and user.

", "idempotent": true }, "GetMobileDeviceAccessEffect": { "name": "GetMobileDeviceAccessEffect", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetMobileDeviceAccessEffectRequest" }, "output": { "shape": "GetMobileDeviceAccessEffectResponse" }, "errors": [ { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" } ], "documentation": "

Simulates the effect of the mobile device access rules for the given attributes of a sample access event. Use this method to test the effects of the current set of mobile device access rules for the WorkMail organization for a particular user's attributes.

" }, "GetMobileDeviceAccessOverride": { "name": "GetMobileDeviceAccessOverride", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetMobileDeviceAccessOverrideRequest" }, "output": { "shape": "GetMobileDeviceAccessOverrideResponse" }, "errors": [ { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" }, { "shape": "EntityNotFoundException" }, { "shape": "ResourceNotFoundException" } ], "documentation": "

Gets the mobile device access override for the given WorkMail organization, user, and device.

" }, "ListAccessControlRules": { "name": "ListAccessControlRules", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ListAccessControlRulesRequest" }, "output": { "shape": "ListAccessControlRulesResponse" }, "errors": [ { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" } ], "documentation": "

Lists the access control rules for the specified organization.

" }, "ListAliases": { "name": "ListAliases", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ListAliasesRequest" }, "output": { "shape": "ListAliasesResponse" }, "errors": [ { "shape": "EntityNotFoundException" }, { "shape": "EntityStateException" }, { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" } ], "documentation": "

Creates a paginated call to list the aliases associated with a given entity.

", "idempotent": true }, "ListAvailabilityConfigurations": { "name": "ListAvailabilityConfigurations", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ListAvailabilityConfigurationsRequest" }, "output": { "shape": "ListAvailabilityConfigurationsResponse" }, "errors": [ { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" } ], "documentation": "

List all the AvailabilityConfiguration's for the given WorkMail organization.

" }, "ListGroupMembers": { "name": "ListGroupMembers", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ListGroupMembersRequest" }, "output": { "shape": "ListGroupMembersResponse" }, "errors": [ { "shape": "EntityNotFoundException" }, { "shape": "EntityStateException" }, { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" } ], "documentation": "

Returns an overview of the members of a group. Users and groups can be members of a group.

", "idempotent": true }, "ListGroups": { "name": "ListGroups", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ListGroupsRequest" }, "output": { "shape": "ListGroupsResponse" }, "errors": [ { "shape": "EntityNotFoundException" }, { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" } ], "documentation": "

Returns summaries of the organization's groups.

", "idempotent": true }, "ListGroupsForEntity": { "name": "ListGroupsForEntity", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ListGroupsForEntityRequest" }, "output": { "shape": "ListGroupsForEntityResponse" }, "errors": [ { "shape": "EntityNotFoundException" }, { "shape": "EntityStateException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" }, { "shape": "InvalidParameterException" } ], "documentation": "

Returns all the groups to which an entity belongs.

", "idempotent": true }, "ListImpersonationRoles": { "name": "ListImpersonationRoles", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ListImpersonationRolesRequest" }, "output": { "shape": "ListImpersonationRolesResponse" }, "errors": [ { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" } ], "documentation": "

Lists all the impersonation roles for the given WorkMail organization.

" }, "ListMailDomains": { "name": "ListMailDomains", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ListMailDomainsRequest" }, "output": { "shape": "ListMailDomainsResponse" }, "errors": [ { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" } ], "documentation": "

Lists the mail domains in a given WorkMail organization.

", "idempotent": true }, "ListMailboxExportJobs": { "name": "ListMailboxExportJobs", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ListMailboxExportJobsRequest" }, "output": { "shape": "ListMailboxExportJobsResponse" }, "errors": [ { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" } ], "documentation": "

Lists the mailbox export jobs started for the specified organization within the last seven days.

", "idempotent": true }, "ListMailboxPermissions": { "name": "ListMailboxPermissions", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ListMailboxPermissionsRequest" }, "output": { "shape": "ListMailboxPermissionsResponse" }, "errors": [ { "shape": "EntityNotFoundException" }, { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" } ], "documentation": "

Lists the mailbox permissions associated with a user, group, or resource mailbox.

", "idempotent": true }, "ListMobileDeviceAccessOverrides": { "name": "ListMobileDeviceAccessOverrides", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ListMobileDeviceAccessOverridesRequest" }, "output": { "shape": "ListMobileDeviceAccessOverridesResponse" }, "errors": [ { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" }, { "shape": "EntityNotFoundException" } ], "documentation": "

Lists all the mobile device access overrides for any given combination of WorkMail organization, user, or device.

" }, "ListMobileDeviceAccessRules": { "name": "ListMobileDeviceAccessRules", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ListMobileDeviceAccessRulesRequest" }, "output": { "shape": "ListMobileDeviceAccessRulesResponse" }, "errors": [ { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" } ], "documentation": "

Lists the mobile device access rules for the specified WorkMail organization.

" }, "ListOrganizations": { "name": "ListOrganizations", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ListOrganizationsRequest" }, "output": { "shape": "ListOrganizationsResponse" }, "errors": [ { "shape": "InvalidParameterException" } ], "documentation": "

Returns summaries of the customer's organizations.

", "idempotent": true }, "ListResourceDelegates": { "name": "ListResourceDelegates", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ListResourceDelegatesRequest" }, "output": { "shape": "ListResourceDelegatesResponse" }, "errors": [ { "shape": "EntityNotFoundException" }, { "shape": "EntityStateException" }, { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" }, { "shape": "UnsupportedOperationException" } ], "documentation": "

Lists the delegates associated with a resource. Users and groups can be resource delegates and answer requests on behalf of the resource.

", "idempotent": true }, "ListResources": { "name": "ListResources", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ListResourcesRequest" }, "output": { "shape": "ListResourcesResponse" }, "errors": [ { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" }, { "shape": "UnsupportedOperationException" } ], "documentation": "

Returns summaries of the organization's resources.

", "idempotent": true }, "ListTagsForResource": { "name": "ListTagsForResource", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ListTagsForResourceRequest" }, "output": { "shape": "ListTagsForResourceResponse" }, "errors": [ { "shape": "ResourceNotFoundException" } ], "documentation": "

Lists the tags applied to an WorkMail organization resource.

" }, "ListUsers": { "name": "ListUsers", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ListUsersRequest" }, "output": { "shape": "ListUsersResponse" }, "errors": [ { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" } ], "documentation": "

Returns summaries of the organization's users.

", "idempotent": true }, "PutAccessControlRule": { "name": "PutAccessControlRule", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "PutAccessControlRuleRequest" }, "output": { "shape": "PutAccessControlRuleResponse" }, "errors": [ { "shape": "LimitExceededException" }, { "shape": "InvalidParameterException" }, { "shape": "EntityNotFoundException" }, { "shape": "ResourceNotFoundException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" } ], "documentation": "

Adds a new access control rule for the specified organization. The rule allows or denies access to the organization for the specified IPv4 addresses, access protocol actions, user IDs and impersonation IDs. Adding a new rule with the same name as an existing rule replaces the older rule.

" }, "PutEmailMonitoringConfiguration": { "name": "PutEmailMonitoringConfiguration", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "PutEmailMonitoringConfigurationRequest" }, "output": { "shape": "PutEmailMonitoringConfigurationResponse" }, "errors": [ { "shape": "ResourceNotFoundException" }, { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" } ], "documentation": "

Creates or updates the email monitoring configuration for a specified organization.

", "idempotent": true }, "PutInboundDmarcSettings": { "name": "PutInboundDmarcSettings", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "PutInboundDmarcSettingsRequest" }, "output": { "shape": "PutInboundDmarcSettingsResponse" }, "errors": [ { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" } ], "documentation": "

Enables or disables a DMARC policy for a given organization.

", "idempotent": true }, "PutMailboxPermissions": { "name": "PutMailboxPermissions", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "PutMailboxPermissionsRequest" }, "output": { "shape": "PutMailboxPermissionsResponse" }, "errors": [ { "shape": "EntityNotFoundException" }, { "shape": "EntityStateException" }, { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" } ], "documentation": "

Sets permissions for a user, group, or resource. This replaces any pre-existing permissions.

", "idempotent": true }, "PutMobileDeviceAccessOverride": { "name": "PutMobileDeviceAccessOverride", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "PutMobileDeviceAccessOverrideRequest" }, "output": { "shape": "PutMobileDeviceAccessOverrideResponse" }, "errors": [ { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" }, { "shape": "EntityNotFoundException" }, { "shape": "EntityStateException" } ], "documentation": "

Creates or updates a mobile device access override for the given WorkMail organization, user, and device.

" }, "PutRetentionPolicy": { "name": "PutRetentionPolicy", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "PutRetentionPolicyRequest" }, "output": { "shape": "PutRetentionPolicyResponse" }, "errors": [ { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" }, { "shape": "LimitExceededException" } ], "documentation": "

Puts a retention policy to the specified organization.

", "idempotent": true }, "RegisterMailDomain": { "name": "RegisterMailDomain", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "RegisterMailDomainRequest" }, "output": { "shape": "RegisterMailDomainResponse" }, "errors": [ { "shape": "MailDomainInUseException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" }, { "shape": "LimitExceededException" }, { "shape": "InvalidParameterException" } ], "documentation": "

Registers a new domain in WorkMail and SES, and configures it for use by WorkMail. Emails received by SES for this domain are routed to the specified WorkMail organization, and WorkMail has permanent permission to use the specified domain for sending your users' emails.

", "idempotent": true }, "RegisterToWorkMail": { "name": "RegisterToWorkMail", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "RegisterToWorkMailRequest" }, "output": { "shape": "RegisterToWorkMailResponse" }, "errors": [ { "shape": "DirectoryServiceAuthenticationFailedException" }, { "shape": "DirectoryUnavailableException" }, { "shape": "EmailAddressInUseException" }, { "shape": "EntityNotFoundException" }, { "shape": "EntityStateException" }, { "shape": "EntityAlreadyRegisteredException" }, { "shape": "InvalidParameterException" }, { "shape": "MailDomainNotFoundException" }, { "shape": "MailDomainStateException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" } ], "documentation": "

Registers an existing and disabled user, group, or resource for WorkMail use by associating a mailbox and calendaring capabilities. It performs no change if the user, group, or resource is enabled and fails if the user, group, or resource is deleted. This operation results in the accumulation of costs. For more information, see Pricing. The equivalent console functionality for this operation is Enable.

Users can either be created by calling the CreateUser API operation or they can be synchronized from your directory. For more information, see DeregisterFromWorkMail.

", "idempotent": true }, "ResetPassword": { "name": "ResetPassword", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ResetPasswordRequest" }, "output": { "shape": "ResetPasswordResponse" }, "errors": [ { "shape": "DirectoryServiceAuthenticationFailedException" }, { "shape": "DirectoryUnavailableException" }, { "shape": "EntityNotFoundException" }, { "shape": "EntityStateException" }, { "shape": "InvalidParameterException" }, { "shape": "InvalidPasswordException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" }, { "shape": "UnsupportedOperationException" } ], "documentation": "

Allows the administrator to reset the password for a user.

", "idempotent": true }, "StartMailboxExportJob": { "name": "StartMailboxExportJob", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "StartMailboxExportJobRequest" }, "output": { "shape": "StartMailboxExportJobResponse" }, "errors": [ { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" }, { "shape": "EntityNotFoundException" }, { "shape": "LimitExceededException" } ], "documentation": "

Starts a mailbox export job to export MIME-format email messages and calendar items from the specified mailbox to the specified Amazon Simple Storage Service (Amazon S3) bucket. For more information, see Exporting mailbox content in the WorkMail Administrator Guide.

", "idempotent": true }, "TagResource": { "name": "TagResource", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "TagResourceRequest" }, "output": { "shape": "TagResourceResponse" }, "errors": [ { "shape": "InvalidParameterException" }, { "shape": "ResourceNotFoundException" }, { "shape": "TooManyTagsException" }, { "shape": "OrganizationStateException" } ], "documentation": "

Applies the specified tags to the specified WorkMailorganization resource.

" }, "TestAvailabilityConfiguration": { "name": "TestAvailabilityConfiguration", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "TestAvailabilityConfigurationRequest" }, "output": { "shape": "TestAvailabilityConfigurationResponse" }, "errors": [ { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" }, { "shape": "ResourceNotFoundException" }, { "shape": "InvalidParameterException" } ], "documentation": "

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 SourceArn or SourceAccount header.

The request must contain either one provider definition (EwsProvider or LambdaProvider) or the DomainName parameter. If the DomainName parameter is provided, the configuration stored under the DomainName will be tested.

" }, "UntagResource": { "name": "UntagResource", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UntagResourceRequest" }, "output": { "shape": "UntagResourceResponse" }, "errors": [ { "shape": "ResourceNotFoundException" } ], "documentation": "

Untags the specified tags from the specified WorkMail organization resource.

" }, "UpdateAvailabilityConfiguration": { "name": "UpdateAvailabilityConfiguration", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UpdateAvailabilityConfigurationRequest" }, "output": { "shape": "UpdateAvailabilityConfigurationResponse" }, "errors": [ { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" }, { "shape": "ResourceNotFoundException" }, { "shape": "InvalidParameterException" } ], "documentation": "

Updates an existing AvailabilityConfiguration for the given WorkMail organization and domain.

", "idempotent": true }, "UpdateDefaultMailDomain": { "name": "UpdateDefaultMailDomain", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UpdateDefaultMailDomainRequest" }, "output": { "shape": "UpdateDefaultMailDomainResponse" }, "errors": [ { "shape": "MailDomainNotFoundException" }, { "shape": "MailDomainStateException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" }, { "shape": "InvalidParameterException" } ], "documentation": "

Updates the default mail domain for an organization. The default mail domain is used by the WorkMail AWS Console to suggest an email address when enabling a mail user. You can only have one default domain.

", "idempotent": true }, "UpdateGroup": { "name": "UpdateGroup", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UpdateGroupRequest" }, "output": { "shape": "UpdateGroupResponse" }, "errors": [ { "shape": "EntityNotFoundException" }, { "shape": "EntityStateException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" }, { "shape": "UnsupportedOperationException" }, { "shape": "InvalidParameterException" } ], "documentation": "

Updates attibutes in a group.

", "idempotent": true }, "UpdateImpersonationRole": { "name": "UpdateImpersonationRole", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UpdateImpersonationRoleRequest" }, "output": { "shape": "UpdateImpersonationRoleResponse" }, "errors": [ { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" }, { "shape": "ResourceNotFoundException" }, { "shape": "EntityNotFoundException" }, { "shape": "EntityStateException" }, { "shape": "LimitExceededException" } ], "documentation": "

Updates an impersonation role for the given WorkMail organization.

" }, "UpdateMailboxQuota": { "name": "UpdateMailboxQuota", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UpdateMailboxQuotaRequest" }, "output": { "shape": "UpdateMailboxQuotaResponse" }, "errors": [ { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" }, { "shape": "EntityNotFoundException" }, { "shape": "EntityStateException" } ], "documentation": "

Updates a user's current mailbox quota for a specified organization and user.

", "idempotent": true }, "UpdateMobileDeviceAccessRule": { "name": "UpdateMobileDeviceAccessRule", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UpdateMobileDeviceAccessRuleRequest" }, "output": { "shape": "UpdateMobileDeviceAccessRuleResponse" }, "errors": [ { "shape": "InvalidParameterException" }, { "shape": "EntityNotFoundException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" } ], "documentation": "

Updates a mobile device access rule for the specified WorkMail organization.

" }, "UpdatePrimaryEmailAddress": { "name": "UpdatePrimaryEmailAddress", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UpdatePrimaryEmailAddressRequest" }, "output": { "shape": "UpdatePrimaryEmailAddressResponse" }, "errors": [ { "shape": "DirectoryServiceAuthenticationFailedException" }, { "shape": "DirectoryUnavailableException" }, { "shape": "EmailAddressInUseException" }, { "shape": "EntityNotFoundException" }, { "shape": "EntityStateException" }, { "shape": "InvalidParameterException" }, { "shape": "MailDomainNotFoundException" }, { "shape": "MailDomainStateException" }, { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" }, { "shape": "UnsupportedOperationException" } ], "documentation": "

Updates the primary email for a user, group, or resource. The current email is moved into the list of aliases (or swapped between an existing alias and the current primary email), and the email provided in the input is promoted as the primary.

", "idempotent": true }, "UpdateResource": { "name": "UpdateResource", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UpdateResourceRequest" }, "output": { "shape": "UpdateResourceResponse" }, "errors": [ { "shape": "DirectoryUnavailableException" }, { "shape": "EntityNotFoundException" }, { "shape": "EntityStateException" }, { "shape": "InvalidConfigurationException" }, { "shape": "EmailAddressInUseException" }, { "shape": "MailDomainNotFoundException" }, { "shape": "MailDomainStateException" }, { "shape": "NameAvailabilityException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" }, { "shape": "UnsupportedOperationException" }, { "shape": "InvalidParameterException" } ], "documentation": "

Updates data for the resource. To have the latest information, it must be preceded by a DescribeResource call. The dataset in the request should be the one expected when performing another DescribeResource call.

", "idempotent": true }, "UpdateUser": { "name": "UpdateUser", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UpdateUserRequest" }, "output": { "shape": "UpdateUserResponse" }, "errors": [ { "shape": "DirectoryServiceAuthenticationFailedException" }, { "shape": "DirectoryUnavailableException" }, { "shape": "EntityNotFoundException" }, { "shape": "InvalidParameterException" }, { "shape": "OrganizationNotFoundException" }, { "shape": "OrganizationStateException" }, { "shape": "UnsupportedOperationException" }, { "shape": "EntityStateException" } ], "documentation": "

Updates data for the user. To have the latest information, it must be preceded by a DescribeUser call. The dataset in the request should be the one expected when performing another DescribeUser call.

", "idempotent": true } }, "shapes": { "AccessControlRule": { "type": "structure", "members": { "Name": { "shape": "AccessControlRuleName", "documentation": "

The rule name.

" }, "Effect": { "shape": "AccessControlRuleEffect", "documentation": "

The rule effect.

" }, "Description": { "shape": "AccessControlRuleDescription", "documentation": "

The rule description.

" }, "IpRanges": { "shape": "IpRangeList", "documentation": "

IPv4 CIDR ranges to include in the rule.

" }, "NotIpRanges": { "shape": "IpRangeList", "documentation": "

IPv4 CIDR ranges to exclude from the rule.

" }, "Actions": { "shape": "ActionsList", "documentation": "

Access protocol actions to include in the rule. Valid values include ActiveSync, AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook, and WebMail.

" }, "NotActions": { "shape": "ActionsList", "documentation": "

Access protocol actions to exclude from the rule. Valid values include ActiveSync, AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook, and WebMail.

" }, "UserIds": { "shape": "UserIdList", "documentation": "

User IDs to include in the rule.

" }, "NotUserIds": { "shape": "UserIdList", "documentation": "

User IDs to exclude from the rule.

" }, "DateCreated": { "shape": "Timestamp", "documentation": "

The date that the rule was created.

" }, "DateModified": { "shape": "Timestamp", "documentation": "

The date that the rule was modified.

" }, "ImpersonationRoleIds": { "shape": "ImpersonationRoleIdList", "documentation": "

Impersonation role IDs to include in the rule.

" }, "NotImpersonationRoleIds": { "shape": "ImpersonationRoleIdList", "documentation": "

Impersonation role IDs to exclude from the rule.

" } }, "documentation": "

A rule that controls access to an WorkMail organization.

" }, "AccessControlRuleAction": { "type": "string", "max": 64, "min": 1, "pattern": "[a-zA-Z]+" }, "AccessControlRuleDescription": { "type": "string", "max": 255, "min": 0, "pattern": "[\\u0020-\\u00FF]+" }, "AccessControlRuleEffect": { "type": "string", "enum": [ "ALLOW", "DENY" ] }, "AccessControlRuleName": { "type": "string", "max": 64, "min": 1, "pattern": "[a-zA-Z0-9_-]+" }, "AccessControlRuleNameList": { "type": "list", "member": { "shape": "AccessControlRuleName" }, "max": 10, "min": 0 }, "AccessControlRulesList": { "type": "list", "member": { "shape": "AccessControlRule" }, "max": 10, "min": 0 }, "AccessEffect": { "type": "string", "enum": [ "ALLOW", "DENY" ] }, "ActionsList": { "type": "list", "member": { "shape": "AccessControlRuleAction" }, "max": 10, "min": 0 }, "Aliases": { "type": "list", "member": { "shape": "EmailAddress" } }, "AmazonResourceName": { "type": "string", "max": 1011, "min": 1, "pattern": "arn:aws:workmail:[a-z0-9-]*:[a-z0-9-]+:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}" }, "AssociateDelegateToResourceRequest": { "type": "structure", "required": [ "OrganizationId", "ResourceId", "EntityId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The organization under which the resource exists.

" }, "ResourceId": { "shape": "EntityIdentifier", "documentation": "

The resource for which members (users or groups) are associated.

The identifier can accept ResourceId, Resourcename, or email. The following identity formats are available:

" }, "EntityId": { "shape": "EntityIdentifier", "documentation": "

The member (user or group) to associate to the resource.

The entity ID can accept UserId or GroupID, Username or Groupname, or email.

" } } }, "AssociateDelegateToResourceResponse": { "type": "structure", "members": {} }, "AssociateMemberToGroupRequest": { "type": "structure", "required": [ "OrganizationId", "GroupId", "MemberId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The organization under which the group exists.

" }, "GroupId": { "shape": "EntityIdentifier", "documentation": "

The group to which the member (user or group) is associated.

The identifier can accept GroupId, Groupname, or email. The following identity formats are available:

" }, "MemberId": { "shape": "EntityIdentifier", "documentation": "

The member (user or group) to associate to the group.

The member ID can accept UserID or GroupId, Username or Groupname, or email.

" } } }, "AssociateMemberToGroupResponse": { "type": "structure", "members": {} }, "AssumeImpersonationRoleRequest": { "type": "structure", "required": [ "OrganizationId", "ImpersonationRoleId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The WorkMail organization under which the impersonation role will be assumed.

" }, "ImpersonationRoleId": { "shape": "ImpersonationRoleId", "documentation": "

The impersonation role ID to assume.

" } } }, "AssumeImpersonationRoleResponse": { "type": "structure", "members": { "Token": { "shape": "ImpersonationToken", "documentation": "

The authentication token for the impersonation role.

" }, "ExpiresIn": { "shape": "ExpiresIn", "documentation": "

The authentication token's validity, in seconds.

" } } }, "AvailabilityConfiguration": { "type": "structure", "members": { "DomainName": { "shape": "DomainName", "documentation": "

Displays the domain to which the provider applies.

" }, "ProviderType": { "shape": "AvailabilityProviderType", "documentation": "

Displays the provider type that applies to this domain.

" }, "EwsProvider": { "shape": "RedactedEwsAvailabilityProvider", "documentation": "

If ProviderType is EWS, then this field contains RedactedEwsAvailabilityProvider. Otherwise, it is not required.

" }, "LambdaProvider": { "shape": "LambdaAvailabilityProvider", "documentation": "

If ProviderType is LAMBDA then this field contains LambdaAvailabilityProvider. Otherwise, it is not required.

" }, "DateCreated": { "shape": "Timestamp", "documentation": "

The date and time at which the availability configuration was created.

" }, "DateModified": { "shape": "Timestamp", "documentation": "

The date and time at which the availability configuration was last modified.

" } }, "documentation": "

List all the AvailabilityConfiguration's for the given WorkMail organization.

" }, "AvailabilityConfigurationList": { "type": "list", "member": { "shape": "AvailabilityConfiguration" } }, "AvailabilityProviderType": { "type": "string", "enum": [ "EWS", "LAMBDA" ] }, "BookingOptions": { "type": "structure", "members": { "AutoAcceptRequests": { "shape": "Boolean", "documentation": "

The resource's ability to automatically reply to requests. If disabled, delegates must be associated to the resource.

" }, "AutoDeclineRecurringRequests": { "shape": "Boolean", "documentation": "

The resource's ability to automatically decline any recurring requests.

" }, "AutoDeclineConflictingRequests": { "shape": "Boolean", "documentation": "

The resource's ability to automatically decline any conflicting requests.

" } }, "documentation": "

At least one delegate must be associated to the resource to disable automatic replies from the resource.

" }, "Boolean": { "type": "boolean" }, "BooleanObject": { "type": "boolean" }, "CancelMailboxExportJobRequest": { "type": "structure", "required": [ "ClientToken", "JobId", "OrganizationId" ], "members": { "ClientToken": { "shape": "IdempotencyClientToken", "documentation": "

The idempotency token for the client request.

", "idempotencyToken": true }, "JobId": { "shape": "MailboxExportJobId", "documentation": "

The job ID.

" }, "OrganizationId": { "shape": "OrganizationId", "documentation": "

The organization ID.

" } } }, "CancelMailboxExportJobResponse": { "type": "structure", "members": {} }, "CreateAliasRequest": { "type": "structure", "required": [ "OrganizationId", "EntityId", "Alias" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The organization under which the member (user or group) exists.

" }, "EntityId": { "shape": "WorkMailIdentifier", "documentation": "

The member (user or group) to which this alias is added.

" }, "Alias": { "shape": "EmailAddress", "documentation": "

The alias to add to the member set.

" } } }, "CreateAliasResponse": { "type": "structure", "members": {} }, "CreateAvailabilityConfigurationRequest": { "type": "structure", "required": [ "OrganizationId", "DomainName" ], "members": { "ClientToken": { "shape": "IdempotencyClientToken", "documentation": "

An idempotent token that ensures that an API request is executed only once.

", "idempotencyToken": true }, "OrganizationId": { "shape": "OrganizationId", "documentation": "

The WorkMail organization for which the AvailabilityConfiguration will be created.

" }, "DomainName": { "shape": "DomainName", "documentation": "

The domain to which the provider applies.

" }, "EwsProvider": { "shape": "EwsAvailabilityProvider", "documentation": "

Exchange Web Services (EWS) availability provider definition. The request must contain exactly one provider definition, either EwsProvider or LambdaProvider.

" }, "LambdaProvider": { "shape": "LambdaAvailabilityProvider", "documentation": "

Lambda availability provider definition. The request must contain exactly one provider definition, either EwsProvider or LambdaProvider.

" } } }, "CreateAvailabilityConfigurationResponse": { "type": "structure", "members": {} }, "CreateGroupRequest": { "type": "structure", "required": [ "OrganizationId", "Name" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The organization under which the group is to be created.

" }, "Name": { "shape": "GroupName", "documentation": "

The name of the group.

" }, "HiddenFromGlobalAddressList": { "shape": "Boolean", "documentation": "

If this parameter is enabled, the group will be hidden from the address book.

" } } }, "CreateGroupResponse": { "type": "structure", "members": { "GroupId": { "shape": "WorkMailIdentifier", "documentation": "

The identifier of the group.

" } } }, "CreateImpersonationRoleRequest": { "type": "structure", "required": [ "OrganizationId", "Name", "Type", "Rules" ], "members": { "ClientToken": { "shape": "IdempotencyClientToken", "documentation": "

The idempotency token for the client request.

", "idempotencyToken": true }, "OrganizationId": { "shape": "OrganizationId", "documentation": "

The WorkMail organization to create the new impersonation role within.

" }, "Name": { "shape": "ImpersonationRoleName", "documentation": "

The name of the new impersonation role.

" }, "Type": { "shape": "ImpersonationRoleType", "documentation": "

The impersonation role's type. The available impersonation role types are READ_ONLY or FULL_ACCESS.

" }, "Description": { "shape": "ImpersonationRoleDescription", "documentation": "

The description of the new impersonation role.

" }, "Rules": { "shape": "ImpersonationRuleList", "documentation": "

The list of rules for the impersonation role.

" } } }, "CreateImpersonationRoleResponse": { "type": "structure", "members": { "ImpersonationRoleId": { "shape": "ImpersonationRoleId", "documentation": "

The new impersonation role ID.

" } } }, "CreateMobileDeviceAccessRuleRequest": { "type": "structure", "required": [ "OrganizationId", "Name", "Effect" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The WorkMail organization under which the rule will be created.

" }, "ClientToken": { "shape": "IdempotencyClientToken", "documentation": "

The idempotency token for the client request.

", "idempotencyToken": true }, "Name": { "shape": "MobileDeviceAccessRuleName", "documentation": "

The rule name.

" }, "Description": { "shape": "MobileDeviceAccessRuleDescription", "documentation": "

The rule description.

" }, "Effect": { "shape": "MobileDeviceAccessRuleEffect", "documentation": "

The effect of the rule when it matches. Allowed values are ALLOW or DENY.

" }, "DeviceTypes": { "shape": "DeviceTypeList", "documentation": "

Device types that the rule will match.

" }, "NotDeviceTypes": { "shape": "DeviceTypeList", "documentation": "

Device types that the rule will not match. All other device types will match.

" }, "DeviceModels": { "shape": "DeviceModelList", "documentation": "

Device models that the rule will match.

" }, "NotDeviceModels": { "shape": "DeviceModelList", "documentation": "

Device models that the rule will not match. All other device models will match.

" }, "DeviceOperatingSystems": { "shape": "DeviceOperatingSystemList", "documentation": "

Device operating systems that the rule will match.

" }, "NotDeviceOperatingSystems": { "shape": "DeviceOperatingSystemList", "documentation": "

Device operating systems that the rule will not match. All other device operating systems will match.

" }, "DeviceUserAgents": { "shape": "DeviceUserAgentList", "documentation": "

Device user agents that the rule will match.

" }, "NotDeviceUserAgents": { "shape": "DeviceUserAgentList", "documentation": "

Device user agents that the rule will not match. All other device user agents will match.

" } } }, "CreateMobileDeviceAccessRuleResponse": { "type": "structure", "members": { "MobileDeviceAccessRuleId": { "shape": "MobileDeviceAccessRuleId", "documentation": "

The identifier for the newly created mobile device access rule.

" } } }, "CreateOrganizationRequest": { "type": "structure", "required": [ "Alias" ], "members": { "DirectoryId": { "shape": "DirectoryId", "documentation": "

The AWS Directory Service directory ID.

" }, "Alias": { "shape": "OrganizationName", "documentation": "

The organization alias.

" }, "ClientToken": { "shape": "IdempotencyClientToken", "documentation": "

The idempotency token associated with the request.

", "idempotencyToken": true }, "Domains": { "shape": "Domains", "documentation": "

The email domains to associate with the organization.

" }, "KmsKeyArn": { "shape": "KmsKeyArn", "documentation": "

The Amazon Resource Name (ARN) of a customer managed key from AWS KMS.

" }, "EnableInteroperability": { "shape": "Boolean", "documentation": "

When true, allows organization interoperability between WorkMail and Microsoft Exchange. If true, you must include a AD Connector directory ID in the request.

" } } }, "CreateOrganizationResponse": { "type": "structure", "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The organization ID.

" } } }, "CreateResourceRequest": { "type": "structure", "required": [ "OrganizationId", "Name", "Type" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The identifier associated with the organization for which the resource is created.

" }, "Name": { "shape": "ResourceName", "documentation": "

The name of the new resource.

" }, "Type": { "shape": "ResourceType", "documentation": "

The type of the new resource. The available types are equipment and room.

" }, "Description": { "shape": "ResourceDescription", "documentation": "

Resource description.

" }, "HiddenFromGlobalAddressList": { "shape": "Boolean", "documentation": "

If this parameter is enabled, the resource will be hidden from the address book.

" } } }, "CreateResourceResponse": { "type": "structure", "members": { "ResourceId": { "shape": "ResourceId", "documentation": "

The identifier of the new resource.

" } } }, "CreateUserRequest": { "type": "structure", "required": [ "OrganizationId", "Name", "DisplayName" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The identifier of the organization for which the user is created.

" }, "Name": { "shape": "UserName", "documentation": "

The name for the new user. WorkMail directory user names have a maximum length of 64. All others have a maximum length of 20.

" }, "DisplayName": { "shape": "UserAttribute", "documentation": "

The display name for the new user.

" }, "Password": { "shape": "Password", "documentation": "

The password for the new user.

" }, "Role": { "shape": "UserRole", "documentation": "

The role of the new user.

You cannot pass SYSTEM_USER or RESOURCE role in a single request. When a user role is not selected, the default role of USER is selected.

" }, "FirstName": { "shape": "UserAttribute", "documentation": "

The first name of the new user.

" }, "LastName": { "shape": "UserAttribute", "documentation": "

The last name of the new user.

" }, "HiddenFromGlobalAddressList": { "shape": "Boolean", "documentation": "

If this parameter is enabled, the user will be hidden from the address book.

" } } }, "CreateUserResponse": { "type": "structure", "members": { "UserId": { "shape": "WorkMailIdentifier", "documentation": "

The identifier for the new user.

" } } }, "Delegate": { "type": "structure", "required": [ "Id", "Type" ], "members": { "Id": { "shape": "String", "documentation": "

The identifier for the user or group associated as the resource's delegate.

" }, "Type": { "shape": "MemberType", "documentation": "

The type of the delegate: user or group.

" } }, "documentation": "

The name of the attribute, which is one of the values defined in the UserAttribute enumeration.

" }, "DeleteAccessControlRuleRequest": { "type": "structure", "required": [ "OrganizationId", "Name" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The identifier for the organization.

" }, "Name": { "shape": "AccessControlRuleName", "documentation": "

The name of the access control rule.

" } } }, "DeleteAccessControlRuleResponse": { "type": "structure", "members": {} }, "DeleteAliasRequest": { "type": "structure", "required": [ "OrganizationId", "EntityId", "Alias" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The identifier for the organization under which the user exists.

" }, "EntityId": { "shape": "WorkMailIdentifier", "documentation": "

The identifier for the member (user or group) from which to have the aliases removed.

" }, "Alias": { "shape": "EmailAddress", "documentation": "

The aliases to be removed from the user's set of aliases. Duplicate entries in the list are collapsed into single entries (the list is transformed into a set).

" } } }, "DeleteAliasResponse": { "type": "structure", "members": {} }, "DeleteAvailabilityConfigurationRequest": { "type": "structure", "required": [ "OrganizationId", "DomainName" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The WorkMail organization for which the AvailabilityConfiguration will be deleted.

" }, "DomainName": { "shape": "DomainName", "documentation": "

The domain for which the AvailabilityConfiguration will be deleted.

" } } }, "DeleteAvailabilityConfigurationResponse": { "type": "structure", "members": {} }, "DeleteEmailMonitoringConfigurationRequest": { "type": "structure", "required": [ "OrganizationId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The ID of the organization from which the email monitoring configuration is deleted.

" } } }, "DeleteEmailMonitoringConfigurationResponse": { "type": "structure", "members": {} }, "DeleteGroupRequest": { "type": "structure", "required": [ "OrganizationId", "GroupId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The organization that contains the group.

" }, "GroupId": { "shape": "EntityIdentifier", "documentation": "

The identifier of the group to be deleted.

The identifier can be the GroupId, or Groupname. The following identity formats are available:

" } } }, "DeleteGroupResponse": { "type": "structure", "members": {} }, "DeleteImpersonationRoleRequest": { "type": "structure", "required": [ "OrganizationId", "ImpersonationRoleId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The WorkMail organization from which to delete the impersonation role.

" }, "ImpersonationRoleId": { "shape": "ImpersonationRoleId", "documentation": "

The ID of the impersonation role to delete.

" } } }, "DeleteImpersonationRoleResponse": { "type": "structure", "members": {} }, "DeleteMailboxPermissionsRequest": { "type": "structure", "required": [ "OrganizationId", "EntityId", "GranteeId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The identifier of the organization under which the member (user or group) exists.

" }, "EntityId": { "shape": "EntityIdentifier", "documentation": "

The identifier of the entity that owns the mailbox.

The identifier can be UserId or Group Id, Username or Groupname, or email.

" }, "GranteeId": { "shape": "EntityIdentifier", "documentation": "

The identifier of the entity for which to delete granted permissions.

The identifier can be UserId, ResourceID, or Group Id, Username or Groupname, or email.

" } } }, "DeleteMailboxPermissionsResponse": { "type": "structure", "members": {} }, "DeleteMobileDeviceAccessOverrideRequest": { "type": "structure", "required": [ "OrganizationId", "UserId", "DeviceId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The WorkMail organization for which the access override will be deleted.

" }, "UserId": { "shape": "EntityIdentifier", "documentation": "

The WorkMail user for which you want to delete the override. Accepts the following types of user identities:

" }, "DeviceId": { "shape": "DeviceId", "documentation": "

The mobile device for which you delete the override. DeviceId is case insensitive.

" } } }, "DeleteMobileDeviceAccessOverrideResponse": { "type": "structure", "members": {} }, "DeleteMobileDeviceAccessRuleRequest": { "type": "structure", "required": [ "OrganizationId", "MobileDeviceAccessRuleId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The WorkMail organization under which the rule will be deleted.

" }, "MobileDeviceAccessRuleId": { "shape": "MobileDeviceAccessRuleId", "documentation": "

The identifier of the rule to be deleted.

" } } }, "DeleteMobileDeviceAccessRuleResponse": { "type": "structure", "members": {} }, "DeleteOrganizationRequest": { "type": "structure", "required": [ "OrganizationId", "DeleteDirectory" ], "members": { "ClientToken": { "shape": "IdempotencyClientToken", "documentation": "

The idempotency token associated with the request.

", "idempotencyToken": true }, "OrganizationId": { "shape": "OrganizationId", "documentation": "

The organization ID.

" }, "DeleteDirectory": { "shape": "Boolean", "documentation": "

If true, deletes the AWS Directory Service directory associated with the organization.

" }, "ForceDelete": { "shape": "Boolean", "documentation": "

Deletes a WorkMail organization even if the organization has enabled users.

" } } }, "DeleteOrganizationResponse": { "type": "structure", "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The organization ID.

" }, "State": { "shape": "String", "documentation": "

The state of the organization.

" } } }, "DeleteResourceRequest": { "type": "structure", "required": [ "OrganizationId", "ResourceId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The identifier associated with the organization from which the resource is deleted.

" }, "ResourceId": { "shape": "EntityIdentifier", "documentation": "

The identifier of the resource to be deleted.

The identifier can accept ResourceId, or Resourcename. The following identity formats are available:

" } } }, "DeleteResourceResponse": { "type": "structure", "members": {} }, "DeleteRetentionPolicyRequest": { "type": "structure", "required": [ "OrganizationId", "Id" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The organization ID.

" }, "Id": { "shape": "ShortString", "documentation": "

The retention policy ID.

" } } }, "DeleteRetentionPolicyResponse": { "type": "structure", "members": {} }, "DeleteUserRequest": { "type": "structure", "required": [ "OrganizationId", "UserId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The organization that contains the user to be deleted.

" }, "UserId": { "shape": "EntityIdentifier", "documentation": "

The identifier of the user to be deleted.

The identifier can be the UserId or Username. The following identity formats are available:

" } } }, "DeleteUserResponse": { "type": "structure", "members": {} }, "DeregisterFromWorkMailRequest": { "type": "structure", "required": [ "OrganizationId", "EntityId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The identifier for the organization under which the WorkMail entity exists.

" }, "EntityId": { "shape": "EntityIdentifier", "documentation": "

The identifier for the member to be updated.

The identifier can be UserId, ResourceId, or Group Id, Username, Resourcename, or Groupname, or email.

" } } }, "DeregisterFromWorkMailResponse": { "type": "structure", "members": {} }, "DeregisterMailDomainRequest": { "type": "structure", "required": [ "OrganizationId", "DomainName" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The WorkMail organization for which the domain will be deregistered.

" }, "DomainName": { "shape": "WorkMailDomainName", "documentation": "

The domain to deregister in WorkMail and SES.

" } } }, "DeregisterMailDomainResponse": { "type": "structure", "members": {} }, "DescribeEmailMonitoringConfigurationRequest": { "type": "structure", "required": [ "OrganizationId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The ID of the organization for which the email monitoring configuration is described.

" } } }, "DescribeEmailMonitoringConfigurationResponse": { "type": "structure", "members": { "RoleArn": { "shape": "RoleArn", "documentation": "

The Amazon Resource Name (ARN) of the IAM Role associated with the email monitoring configuration.

" }, "LogGroupArn": { "shape": "LogGroupArn", "documentation": "

The Amazon Resource Name (ARN) of the CloudWatch Log group associated with the email monitoring configuration.

" } } }, "DescribeEntityRequest": { "type": "structure", "required": [ "OrganizationId", "Email" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The identifier for the organization under which the entity exists.

" }, "Email": { "shape": "EmailAddress", "documentation": "

The email under which the entity exists.

" } } }, "DescribeEntityResponse": { "type": "structure", "members": { "EntityId": { "shape": "WorkMailIdentifier", "documentation": "

The entity ID under which the entity exists.

" }, "Name": { "shape": "String", "documentation": "

Username, GroupName, or ResourceName based on entity type.

" }, "Type": { "shape": "EntityType", "documentation": "

Entity type.

" } } }, "DescribeGroupRequest": { "type": "structure", "required": [ "OrganizationId", "GroupId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The identifier for the organization under which the group exists.

" }, "GroupId": { "shape": "EntityIdentifier", "documentation": "

The identifier for the group to be described.

The identifier can accept GroupId, Groupname, or email. The following identity formats are available:

" } } }, "DescribeGroupResponse": { "type": "structure", "members": { "GroupId": { "shape": "WorkMailIdentifier", "documentation": "

The identifier of the described group.

" }, "Name": { "shape": "GroupName", "documentation": "

The name of the described group.

" }, "Email": { "shape": "EmailAddress", "documentation": "

The email of the described group.

" }, "State": { "shape": "EntityState", "documentation": "

The state of the user: enabled (registered to WorkMail) or disabled (deregistered or never registered to WorkMail).

" }, "EnabledDate": { "shape": "Timestamp", "documentation": "

The date and time when a user was registered to WorkMail, in UNIX epoch time format.

" }, "DisabledDate": { "shape": "Timestamp", "documentation": "

The date and time when a user was deregistered from WorkMail, in UNIX epoch time format.

" }, "HiddenFromGlobalAddressList": { "shape": "Boolean", "documentation": "

If the value is set to true, the group is hidden from the address book.

" } } }, "DescribeInboundDmarcSettingsRequest": { "type": "structure", "required": [ "OrganizationId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

Lists the ID of the given organization.

" } } }, "DescribeInboundDmarcSettingsResponse": { "type": "structure", "members": { "Enforced": { "shape": "Boolean", "documentation": "

Lists the enforcement setting of the applied policy.

" } } }, "DescribeMailboxExportJobRequest": { "type": "structure", "required": [ "JobId", "OrganizationId" ], "members": { "JobId": { "shape": "MailboxExportJobId", "documentation": "

The mailbox export job ID.

" }, "OrganizationId": { "shape": "OrganizationId", "documentation": "

The organization ID.

" } } }, "DescribeMailboxExportJobResponse": { "type": "structure", "members": { "EntityId": { "shape": "WorkMailIdentifier", "documentation": "

The identifier of the user or resource associated with the mailbox.

" }, "Description": { "shape": "Description", "documentation": "

The mailbox export job description.

" }, "RoleArn": { "shape": "RoleArn", "documentation": "

The ARN of the AWS Identity and Access Management (IAM) role that grants write permission to the Amazon Simple Storage Service (Amazon S3) bucket.

" }, "KmsKeyArn": { "shape": "KmsKeyArn", "documentation": "

The Amazon Resource Name (ARN) of the symmetric AWS Key Management Service (AWS KMS) key that encrypts the exported mailbox content.

" }, "S3BucketName": { "shape": "S3BucketName", "documentation": "

The name of the S3 bucket.

" }, "S3Prefix": { "shape": "S3ObjectKey", "documentation": "

The S3 bucket prefix.

" }, "S3Path": { "shape": "S3ObjectKey", "documentation": "

The path to the S3 bucket and file that the mailbox export job is exporting to.

" }, "EstimatedProgress": { "shape": "Percentage", "documentation": "

The estimated progress of the mailbox export job, in percentage points.

" }, "State": { "shape": "MailboxExportJobState", "documentation": "

The state of the mailbox export job.

" }, "ErrorInfo": { "shape": "MailboxExportErrorInfo", "documentation": "

Error information for failed mailbox export jobs.

" }, "StartTime": { "shape": "Timestamp", "documentation": "

The mailbox export job start timestamp.

" }, "EndTime": { "shape": "Timestamp", "documentation": "

The mailbox export job end timestamp.

" } } }, "DescribeOrganizationRequest": { "type": "structure", "required": [ "OrganizationId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The identifier for the organization to be described.

" } } }, "DescribeOrganizationResponse": { "type": "structure", "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The identifier of an organization.

" }, "Alias": { "shape": "OrganizationName", "documentation": "

The alias for an organization.

" }, "State": { "shape": "String", "documentation": "

The state of an organization.

" }, "DirectoryId": { "shape": "String", "documentation": "

The identifier for the directory associated with an WorkMail organization.

" }, "DirectoryType": { "shape": "String", "documentation": "

The type of directory associated with the WorkMail organization.

" }, "DefaultMailDomain": { "shape": "String", "documentation": "

The default mail domain associated with the organization.

" }, "CompletedDate": { "shape": "Timestamp", "documentation": "

The date at which the organization became usable in the WorkMail context, in UNIX epoch time format.

" }, "ErrorMessage": { "shape": "String", "documentation": "

(Optional) The error message indicating if unexpected behavior was encountered with regards to the organization.

" }, "ARN": { "shape": "AmazonResourceName", "documentation": "

The Amazon Resource Name (ARN) of the organization.

" }, "MigrationAdmin": { "shape": "WorkMailIdentifier", "documentation": "

The user ID of the migration admin if migration is enabled for the organization.

" }, "InteroperabilityEnabled": { "shape": "Boolean", "documentation": "

Indicates if interoperability is enabled for this organization.

" } } }, "DescribeResourceRequest": { "type": "structure", "required": [ "OrganizationId", "ResourceId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The identifier associated with the organization for which the resource is described.

" }, "ResourceId": { "shape": "EntityIdentifier", "documentation": "

The identifier of the resource to be described.

The identifier can accept ResourceId, Resourcename, or email. The following identity formats are available:

" } } }, "DescribeResourceResponse": { "type": "structure", "members": { "ResourceId": { "shape": "ResourceId", "documentation": "

The identifier of the described resource.

" }, "Email": { "shape": "EmailAddress", "documentation": "

The email of the described resource.

" }, "Name": { "shape": "ResourceName", "documentation": "

The name of the described resource.

" }, "Type": { "shape": "ResourceType", "documentation": "

The type of the described resource.

" }, "BookingOptions": { "shape": "BookingOptions", "documentation": "

The booking options for the described resource.

" }, "State": { "shape": "EntityState", "documentation": "

The state of the resource: enabled (registered to WorkMail), disabled (deregistered or never registered to WorkMail), or deleted.

" }, "EnabledDate": { "shape": "Timestamp", "documentation": "

The date and time when a resource was enabled for WorkMail, in UNIX epoch time format.

" }, "DisabledDate": { "shape": "Timestamp", "documentation": "

The date and time when a resource was disabled from WorkMail, in UNIX epoch time format.

" }, "Description": { "shape": "ResourceDescription", "documentation": "

Description of the resource.

" }, "HiddenFromGlobalAddressList": { "shape": "Boolean", "documentation": "

If enabled, the resource is hidden from the global address list.

" } } }, "DescribeUserRequest": { "type": "structure", "required": [ "OrganizationId", "UserId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The identifier for the organization under which the user exists.

" }, "UserId": { "shape": "EntityIdentifier", "documentation": "

The identifier for the user to be described.

The identifier can be the UserId, Username, or email. The following identity formats are available:

" } } }, "DescribeUserResponse": { "type": "structure", "members": { "UserId": { "shape": "WorkMailIdentifier", "documentation": "

The identifier for the described user.

" }, "Name": { "shape": "UserName", "documentation": "

The name for the user.

" }, "Email": { "shape": "EmailAddress", "documentation": "

The email of the user.

" }, "DisplayName": { "shape": "UserAttribute", "documentation": "

The display name of the user.

" }, "State": { "shape": "EntityState", "documentation": "

The state of a user: enabled (registered to WorkMail) or disabled (deregistered or never registered to WorkMail).

" }, "UserRole": { "shape": "UserRole", "documentation": "

In certain cases, other entities are modeled as users. If interoperability is enabled, resources are imported into WorkMail as users. Because different WorkMail organizations rely on different directory types, administrators can distinguish between an unregistered user (account is disabled and has a user role) and the directory administrators. The values are USER, RESOURCE, SYSTEM_USER, and REMOTE_USER.

" }, "EnabledDate": { "shape": "Timestamp", "documentation": "

The date and time at which the user was enabled for WorkMailusage, in UNIX epoch time format.

" }, "DisabledDate": { "shape": "Timestamp", "documentation": "

The date and time at which the user was disabled for WorkMail usage, in UNIX epoch time format.

" }, "MailboxProvisionedDate": { "shape": "Timestamp", "documentation": "

The date when the mailbox was created for the user.

" }, "MailboxDeprovisionedDate": { "shape": "Timestamp", "documentation": "

The date when the mailbox was removed for the user.

" }, "FirstName": { "shape": "UserAttribute", "documentation": "

First name of the user.

" }, "LastName": { "shape": "UserAttribute", "documentation": "

Last name of the user.

" }, "HiddenFromGlobalAddressList": { "shape": "Boolean", "documentation": "

If enabled, the user is hidden from the global address list.

" }, "Initials": { "shape": "UserAttribute", "documentation": "

Initials of the user.

" }, "Telephone": { "shape": "UserAttribute", "documentation": "

User's contact number.

" }, "Street": { "shape": "UserAttribute", "documentation": "

Street where the user is located.

" }, "JobTitle": { "shape": "UserAttribute", "documentation": "

Job title of the user.

" }, "City": { "shape": "UserAttribute", "documentation": "

City where the user is located.

" }, "Company": { "shape": "UserAttribute", "documentation": "

Company of the user.

" }, "ZipCode": { "shape": "UserAttribute", "documentation": "

Zip code of the user.

" }, "Department": { "shape": "UserAttribute", "documentation": "

Department of the user.

" }, "Country": { "shape": "UserAttribute", "documentation": "

Country where the user is located.

" }, "Office": { "shape": "UserAttribute", "documentation": "

Office where the user is located.

" } } }, "Description": { "type": "string", "max": 1023, "min": 0, "pattern": "[\\S\\s]*" }, "DeviceId": { "type": "string", "max": 32, "min": 1, "pattern": "[A-Za-z0-9]+" }, "DeviceModel": { "type": "string", "max": 256, "min": 1, "pattern": "[\\u0020-\\u00FF]+" }, "DeviceModelList": { "type": "list", "member": { "shape": "DeviceModel" }, "max": 10, "min": 1 }, "DeviceOperatingSystem": { "type": "string", "max": 256, "min": 1, "pattern": "[\\u0020-\\u00FF]+" }, "DeviceOperatingSystemList": { "type": "list", "member": { "shape": "DeviceOperatingSystem" }, "max": 10, "min": 1 }, "DeviceType": { "type": "string", "max": 256, "min": 1, "pattern": "[\\u0020-\\u00FF]+" }, "DeviceTypeList": { "type": "list", "member": { "shape": "DeviceType" }, "max": 10, "min": 1 }, "DeviceUserAgent": { "type": "string", "max": 256, "min": 1, "pattern": "[\\u0020-\\u00FF]+" }, "DeviceUserAgentList": { "type": "list", "member": { "shape": "DeviceUserAgent" }, "max": 10, "min": 1 }, "DirectoryId": { "type": "string", "max": 12, "min": 12, "pattern": "^d-[0-9a-f]{10}$" }, "DisassociateDelegateFromResourceRequest": { "type": "structure", "required": [ "OrganizationId", "ResourceId", "EntityId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The identifier for the organization under which the resource exists.

" }, "ResourceId": { "shape": "EntityIdentifier", "documentation": "

The identifier of the resource from which delegates' set members are removed.

The identifier can accept ResourceId, Resourcename, or email. The following identity formats are available:

" }, "EntityId": { "shape": "EntityIdentifier", "documentation": "

The identifier for the member (user, group) to be removed from the resource's delegates.

The entity ID can accept UserId or GroupID, Username or Groupname, or email.

" } } }, "DisassociateDelegateFromResourceResponse": { "type": "structure", "members": {} }, "DisassociateMemberFromGroupRequest": { "type": "structure", "required": [ "OrganizationId", "GroupId", "MemberId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The identifier for the organization under which the group exists.

" }, "GroupId": { "shape": "EntityIdentifier", "documentation": "

The identifier for the group from which members are removed.

The identifier can accept GroupId, Groupname, or email. The following identity formats are available:

" }, "MemberId": { "shape": "EntityIdentifier", "documentation": "

The identifier for the member to be removed from the group.

The member ID can accept UserID or GroupId, Username or Groupname, or email.

" } } }, "DisassociateMemberFromGroupResponse": { "type": "structure", "members": {} }, "DnsRecord": { "type": "structure", "members": { "Type": { "shape": "String", "documentation": "

The RFC 1035 record type. Possible values: CNAME, A, MX.

" }, "Hostname": { "shape": "String", "documentation": "

The DNS hostname.- For example, domain.example.com.

" }, "Value": { "shape": "String", "documentation": "

The value returned by the DNS for a query to that hostname and record type.

" } }, "documentation": "

A DNS record uploaded to your DNS provider.

" }, "DnsRecordVerificationStatus": { "type": "string", "enum": [ "PENDING", "VERIFIED", "FAILED" ] }, "DnsRecords": { "type": "list", "member": { "shape": "DnsRecord" } }, "Domain": { "type": "structure", "required": [ "DomainName" ], "members": { "DomainName": { "shape": "DomainName", "documentation": "

The fully qualified domain name.

" }, "HostedZoneId": { "shape": "HostedZoneId", "documentation": "

The hosted zone ID for a domain hosted in Route 53. Required when configuring a domain hosted in Route 53.

" } }, "documentation": "

The domain to associate with an WorkMail organization.

When you configure a domain hosted in Amazon Route 53 (Route 53), all recommended DNS records are added to the organization when you create it. For more information, see Adding a domain in the WorkMail Administrator Guide.

" }, "DomainName": { "type": "string", "max": 255, "min": 3, "pattern": "[a-zA-Z0-9.-]+" }, "Domains": { "type": "list", "member": { "shape": "Domain" }, "max": 5, "min": 0 }, "EmailAddress": { "type": "string", "max": 254, "min": 1, "pattern": "[a-zA-Z0-9._%+-]{1,64}@[a-zA-Z0-9.-]+\\.[a-zA-Z-]{2,}" }, "EntityIdentifier": { "type": "string", "max": 256, "min": 1, "pattern": "[a-zA-Z0-9._%+@-]+" }, "EntityState": { "type": "string", "enum": [ "ENABLED", "DISABLED", "DELETED" ] }, "EntityType": { "type": "string", "enum": [ "GROUP", "USER", "RESOURCE" ] }, "EwsAvailabilityProvider": { "type": "structure", "required": [ "EwsEndpoint", "EwsUsername", "EwsPassword" ], "members": { "EwsEndpoint": { "shape": "Url", "documentation": "

The endpoint of the remote EWS server.

" }, "EwsUsername": { "shape": "ExternalUserName", "documentation": "

The username used to authenticate the remote EWS server.

" }, "EwsPassword": { "shape": "Password", "documentation": "

The password used to authenticate the remote EWS server.

" } }, "documentation": "

Describes an EWS based availability provider. This is only used as input to the service.

" }, "ExpiresIn": { "type": "long", "box": true }, "ExternalUserName": { "type": "string", "max": 256, "pattern": "[\\u0020-\\u00FF]+" }, "FolderConfiguration": { "type": "structure", "required": [ "Name", "Action" ], "members": { "Name": { "shape": "FolderName", "documentation": "

The folder name.

" }, "Action": { "shape": "RetentionAction", "documentation": "

The action to take on the folder contents at the end of the folder configuration period.

" }, "Period": { "shape": "RetentionPeriod", "documentation": "

The number of days for which the folder-configuration action applies.

" } }, "documentation": "

The configuration applied to an organization's folders by its retention policy.

" }, "FolderConfigurations": { "type": "list", "member": { "shape": "FolderConfiguration" } }, "FolderName": { "type": "string", "enum": [ "INBOX", "DELETED_ITEMS", "SENT_ITEMS", "DRAFTS", "JUNK_EMAIL" ] }, "GetAccessControlEffectRequest": { "type": "structure", "required": [ "OrganizationId", "IpAddress", "Action" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The identifier for the organization.

" }, "IpAddress": { "shape": "IpAddress", "documentation": "

The IPv4 address.

" }, "Action": { "shape": "AccessControlRuleAction", "documentation": "

The access protocol action. Valid values include ActiveSync, AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook, and WebMail.

" }, "UserId": { "shape": "WorkMailIdentifier", "documentation": "

The user ID.

" }, "ImpersonationRoleId": { "shape": "ImpersonationRoleId", "documentation": "

The impersonation role ID.

" } } }, "GetAccessControlEffectResponse": { "type": "structure", "members": { "Effect": { "shape": "AccessControlRuleEffect", "documentation": "

The rule effect.

" }, "MatchedRules": { "shape": "AccessControlRuleNameList", "documentation": "

The rules that match the given parameters, resulting in an effect.

" } } }, "GetDefaultRetentionPolicyRequest": { "type": "structure", "required": [ "OrganizationId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The organization ID.

" } } }, "GetDefaultRetentionPolicyResponse": { "type": "structure", "members": { "Id": { "shape": "ShortString", "documentation": "

The retention policy ID.

" }, "Name": { "shape": "ShortString", "documentation": "

The retention policy name.

" }, "Description": { "shape": "String", "documentation": "

The retention policy description.

" }, "FolderConfigurations": { "shape": "FolderConfigurations", "documentation": "

The retention policy folder configurations.

" } } }, "GetImpersonationRoleEffectRequest": { "type": "structure", "required": [ "OrganizationId", "ImpersonationRoleId", "TargetUser" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The WorkMail organization where the impersonation role is defined.

" }, "ImpersonationRoleId": { "shape": "ImpersonationRoleId", "documentation": "

The impersonation role ID to test.

" }, "TargetUser": { "shape": "EntityIdentifier", "documentation": "

The WorkMail organization user chosen to test the impersonation role. The following identity formats are available:

" } } }, "GetImpersonationRoleEffectResponse": { "type": "structure", "members": { "Type": { "shape": "ImpersonationRoleType", "documentation": "

The impersonation role type.

" }, "Effect": { "shape": "AccessEffect", "documentation": "

Effect of the impersonation role on the target user based on its rules. Available effects are ALLOW or DENY.

" }, "MatchedRules": { "shape": "ImpersonationMatchedRuleList", "documentation": "

A list of the rules that match the input and produce the configured effect.

" } } }, "GetImpersonationRoleRequest": { "type": "structure", "required": [ "OrganizationId", "ImpersonationRoleId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The WorkMail organization from which to retrieve the impersonation role.

" }, "ImpersonationRoleId": { "shape": "ImpersonationRoleId", "documentation": "

The impersonation role ID to retrieve.

" } } }, "GetImpersonationRoleResponse": { "type": "structure", "members": { "ImpersonationRoleId": { "shape": "ImpersonationRoleId", "documentation": "

The impersonation role ID.

" }, "Name": { "shape": "ImpersonationRoleName", "documentation": "

The impersonation role name.

" }, "Type": { "shape": "ImpersonationRoleType", "documentation": "

The impersonation role type.

" }, "Description": { "shape": "ImpersonationRoleDescription", "documentation": "

The impersonation role description.

" }, "Rules": { "shape": "ImpersonationRuleList", "documentation": "

The list of rules for the given impersonation role.

" }, "DateCreated": { "shape": "Timestamp", "documentation": "

The date when the impersonation role was created.

" }, "DateModified": { "shape": "Timestamp", "documentation": "

The date when the impersonation role was last modified.

" } } }, "GetMailDomainRequest": { "type": "structure", "required": [ "OrganizationId", "DomainName" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The WorkMail organization for which the domain is retrieved.

" }, "DomainName": { "shape": "WorkMailDomainName", "documentation": "

The domain from which you want to retrieve details.

" } } }, "GetMailDomainResponse": { "type": "structure", "members": { "Records": { "shape": "DnsRecords", "documentation": "

A list of the DNS records that WorkMail recommends adding in your DNS provider for the best user experience. The records configure your domain with DMARC, SPF, DKIM, and direct incoming email traffic to SES. See admin guide for more details.

" }, "IsTestDomain": { "shape": "Boolean", "documentation": "

Specifies whether the domain is a test domain provided by WorkMail, or a custom domain.

" }, "IsDefault": { "shape": "Boolean", "documentation": "

Specifies whether the domain is the default domain for your organization.

" }, "OwnershipVerificationStatus": { "shape": "DnsRecordVerificationStatus", "documentation": "

Indicates the status of the domain ownership verification.

" }, "DkimVerificationStatus": { "shape": "DnsRecordVerificationStatus", "documentation": "

Indicates the status of a DKIM verification.

" } } }, "GetMailboxDetailsRequest": { "type": "structure", "required": [ "OrganizationId", "UserId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The identifier for the organization that contains the user whose mailbox details are being requested.

" }, "UserId": { "shape": "EntityIdentifier", "documentation": "

The identifier for the user whose mailbox details are being requested.

The identifier can be the UserId, Username, or email. The following identity formats are available:

" } } }, "GetMailboxDetailsResponse": { "type": "structure", "members": { "MailboxQuota": { "shape": "MailboxQuota", "documentation": "

The maximum allowed mailbox size, in MB, for the specified user.

" }, "MailboxSize": { "shape": "MailboxSize", "documentation": "

The current mailbox size, in MB, for the specified user.

" } } }, "GetMobileDeviceAccessEffectRequest": { "type": "structure", "required": [ "OrganizationId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The WorkMail organization to simulate the access effect for.

" }, "DeviceType": { "shape": "DeviceType", "documentation": "

Device type the simulated user will report.

" }, "DeviceModel": { "shape": "DeviceModel", "documentation": "

Device model the simulated user will report.

" }, "DeviceOperatingSystem": { "shape": "DeviceOperatingSystem", "documentation": "

Device operating system the simulated user will report.

" }, "DeviceUserAgent": { "shape": "DeviceUserAgent", "documentation": "

Device user agent the simulated user will report.

" } } }, "GetMobileDeviceAccessEffectResponse": { "type": "structure", "members": { "Effect": { "shape": "MobileDeviceAccessRuleEffect", "documentation": "

The effect of the simulated access, ALLOW or DENY, after evaluating mobile device access rules in the WorkMail organization for the simulated user parameters.

" }, "MatchedRules": { "shape": "MobileDeviceAccessMatchedRuleList", "documentation": "

A list of the rules which matched the simulated user input and produced the effect.

" } } }, "GetMobileDeviceAccessOverrideRequest": { "type": "structure", "required": [ "OrganizationId", "UserId", "DeviceId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The WorkMail organization to which you want to apply the override.

" }, "UserId": { "shape": "EntityIdentifier", "documentation": "

Identifies the WorkMail user for the override. Accepts the following types of user identities:

" }, "DeviceId": { "shape": "DeviceId", "documentation": "

The mobile device to which the override applies. DeviceId is case insensitive.

" } } }, "GetMobileDeviceAccessOverrideResponse": { "type": "structure", "members": { "UserId": { "shape": "WorkMailIdentifier", "documentation": "

The WorkMail user to which the access override applies.

" }, "DeviceId": { "shape": "DeviceId", "documentation": "

The device to which the access override applies.

" }, "Effect": { "shape": "MobileDeviceAccessRuleEffect", "documentation": "

The effect of the override, ALLOW or DENY.

" }, "Description": { "shape": "MobileDeviceAccessRuleDescription", "documentation": "

A description of the override.

" }, "DateCreated": { "shape": "Timestamp", "documentation": "

The date the override was first created.

" }, "DateModified": { "shape": "Timestamp", "documentation": "

The date the description was last modified.

" } } }, "Group": { "type": "structure", "members": { "Id": { "shape": "WorkMailIdentifier", "documentation": "

The identifier of the group.

" }, "Email": { "shape": "EmailAddress", "documentation": "

The email of the group.

" }, "Name": { "shape": "GroupName", "documentation": "

The name of the group.

" }, "State": { "shape": "EntityState", "documentation": "

The state of the group, which can be ENABLED, DISABLED, or DELETED.

" }, "EnabledDate": { "shape": "Timestamp", "documentation": "

The date indicating when the group was enabled for WorkMail use.

" }, "DisabledDate": { "shape": "Timestamp", "documentation": "

The date indicating when the group was disabled from WorkMail use.

" } }, "documentation": "

The representation of an WorkMail group.

" }, "GroupIdentifier": { "type": "structure", "members": { "GroupId": { "shape": "WorkMailIdentifier", "documentation": "

Group ID that matched the group.

" }, "GroupName": { "shape": "GroupName", "documentation": "

Group name that matched the group.

" } }, "documentation": "

The identifier that contains the Group ID and name of a group.

" }, "GroupIdentifiers": { "type": "list", "member": { "shape": "GroupIdentifier" } }, "GroupName": { "type": "string", "max": 256, "min": 1, "pattern": "[\\u0020-\\u00FF]+" }, "Groups": { "type": "list", "member": { "shape": "Group" } }, "HostedZoneId": { "type": "string", "max": 32, "min": 1, "pattern": "[^/\\\\]*" }, "IdempotencyClientToken": { "type": "string", "max": 128, "min": 1, "pattern": "[\\x21-\\x7e]+" }, "ImpersonationMatchedRule": { "type": "structure", "members": { "ImpersonationRuleId": { "shape": "ImpersonationRuleId", "documentation": "

The ID of the rule that matched the input

" }, "Name": { "shape": "ImpersonationRuleName", "documentation": "

The name of the rule that matched the input.

" } }, "documentation": "

The impersonation rule that matched the input.

" }, "ImpersonationMatchedRuleList": { "type": "list", "member": { "shape": "ImpersonationMatchedRule" }, "max": 10, "min": 0 }, "ImpersonationRole": { "type": "structure", "members": { "ImpersonationRoleId": { "shape": "ImpersonationRoleId", "documentation": "

The identifier of the impersonation role.

" }, "Name": { "shape": "ImpersonationRoleName", "documentation": "

The impersonation role name.

" }, "Type": { "shape": "ImpersonationRoleType", "documentation": "

The impersonation role type.

" }, "DateCreated": { "shape": "Timestamp", "documentation": "

The date when the impersonation role was created.

" }, "DateModified": { "shape": "Timestamp", "documentation": "

The date when the impersonation role was last modified.

" } }, "documentation": "

An impersonation role for the given WorkMail organization.

" }, "ImpersonationRoleDescription": { "type": "string", "max": 256, "min": 1, "pattern": "[^\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F\\x3C\\x3E\\x5C]+" }, "ImpersonationRoleId": { "type": "string", "max": 64, "min": 1, "pattern": "[a-zA-Z0-9_-]+" }, "ImpersonationRoleIdList": { "type": "list", "member": { "shape": "ImpersonationRoleId" }, "max": 10, "min": 0 }, "ImpersonationRoleList": { "type": "list", "member": { "shape": "ImpersonationRole" }, "max": 20, "min": 0 }, "ImpersonationRoleName": { "type": "string", "max": 64, "min": 1, "pattern": "[^\\x00-\\x1F\\x7F\\x3C\\x3E\\x5C]+" }, "ImpersonationRoleType": { "type": "string", "enum": [ "FULL_ACCESS", "READ_ONLY" ] }, "ImpersonationRule": { "type": "structure", "required": [ "ImpersonationRuleId", "Effect" ], "members": { "ImpersonationRuleId": { "shape": "ImpersonationRuleId", "documentation": "

The identifier of the rule.

" }, "Name": { "shape": "ImpersonationRuleName", "documentation": "

The rule name.

" }, "Description": { "shape": "ImpersonationRuleDescription", "documentation": "

The rule description.

" }, "Effect": { "shape": "AccessEffect", "documentation": "

The effect of the rule when it matches the input. Allowed effect values are ALLOW or DENY.

" }, "TargetUsers": { "shape": "TargetUsers", "documentation": "

A list of user IDs that match the rule.

" }, "NotTargetUsers": { "shape": "TargetUsers", "documentation": "

A list of user IDs that don't match the rule.

" } }, "documentation": "

The rules for the given impersonation role.

" }, "ImpersonationRuleDescription": { "type": "string", "max": 256, "min": 1, "pattern": "[^\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F\\x3C\\x3E\\x5C]+" }, "ImpersonationRuleId": { "type": "string", "max": 64, "min": 1, "pattern": "[a-zA-Z0-9_-]+" }, "ImpersonationRuleList": { "type": "list", "member": { "shape": "ImpersonationRule" }, "max": 10, "min": 0 }, "ImpersonationRuleName": { "type": "string", "max": 64, "min": 1, "pattern": "[^\\x00-\\x1F\\x7F\\x3C\\x3E\\x5C]+" }, "ImpersonationToken": { "type": "string", "max": 256, "min": 1, "pattern": "[\\x21-\\x7e]+" }, "IpAddress": { "type": "string", "max": 15, "min": 1, "pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$" }, "IpRange": { "type": "string", "max": 18, "min": 1, "pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])/([0-9]|[12][0-9]|3[0-2])$" }, "IpRangeList": { "type": "list", "member": { "shape": "IpRange" }, "max": 1024, "min": 0 }, "Jobs": { "type": "list", "member": { "shape": "MailboxExportJob" } }, "KmsKeyArn": { "type": "string", "max": 2048, "min": 20, "pattern": "arn:aws:kms:[a-z0-9-]*:[a-z0-9-]+:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}" }, "LambdaArn": { "type": "string", "max": 256, "min": 49, "pattern": "arn:aws:lambda:[a-z]{2}-[a-z]+-\\d{1}:\\d{12}:function:[a-zA-Z0-9\\-_\\.]+(:(\\$LATEST|[a-zA-Z0-9\\-_]+))?" }, "LambdaAvailabilityProvider": { "type": "structure", "required": [ "LambdaArn" ], "members": { "LambdaArn": { "shape": "LambdaArn", "documentation": "

The Amazon Resource Name (ARN) of the Lambda that acts as the availability provider.

" } }, "documentation": "

Describes a Lambda based availability provider.

" }, "ListAccessControlRulesRequest": { "type": "structure", "required": [ "OrganizationId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The identifier for the organization.

" } } }, "ListAccessControlRulesResponse": { "type": "structure", "members": { "Rules": { "shape": "AccessControlRulesList", "documentation": "

The access control rules.

" } } }, "ListAliasesRequest": { "type": "structure", "required": [ "OrganizationId", "EntityId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The identifier for the organization under which the entity exists.

" }, "EntityId": { "shape": "WorkMailIdentifier", "documentation": "

The identifier for the entity for which to list the aliases.

" }, "NextToken": { "shape": "NextToken", "documentation": "

The token to use to retrieve the next page of results. The first call does not contain any tokens.

" }, "MaxResults": { "shape": "MaxResults", "documentation": "

The maximum number of results to return in a single call.

" } } }, "ListAliasesResponse": { "type": "structure", "members": { "Aliases": { "shape": "Aliases", "documentation": "

The entity's paginated aliases.

" }, "NextToken": { "shape": "NextToken", "documentation": "

The token to use to retrieve the next page of results. The value is \"null\" when there are no more results to return.

" } } }, "ListAvailabilityConfigurationsRequest": { "type": "structure", "required": [ "OrganizationId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The WorkMail organization for which the AvailabilityConfiguration's will be listed.

" }, "MaxResults": { "shape": "MaxResults", "documentation": "

The maximum number of results to return in a single call.

" }, "NextToken": { "shape": "NextToken", "documentation": "

The token to use to retrieve the next page of results. The first call does not require a token.

" } } }, "ListAvailabilityConfigurationsResponse": { "type": "structure", "members": { "AvailabilityConfigurations": { "shape": "AvailabilityConfigurationList", "documentation": "

The list of AvailabilityConfiguration's that exist for the specified WorkMail organization.

" }, "NextToken": { "shape": "NextToken", "documentation": "

The token to use to retrieve the next page of results. The value is null when there are no further results to return.

" } } }, "ListGroupMembersRequest": { "type": "structure", "required": [ "OrganizationId", "GroupId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The identifier for the organization under which the group exists.

" }, "GroupId": { "shape": "EntityIdentifier", "documentation": "

The identifier for the group to which the members (users or groups) are associated.

The identifier can accept GroupId, Groupname, or email. The following identity formats are available:

" }, "NextToken": { "shape": "NextToken", "documentation": "

The token to use to retrieve the next page of results. The first call does not contain any tokens.

" }, "MaxResults": { "shape": "MaxResults", "documentation": "

The maximum number of results to return in a single call.

" } } }, "ListGroupMembersResponse": { "type": "structure", "members": { "Members": { "shape": "Members", "documentation": "

The members associated to the group.

" }, "NextToken": { "shape": "NextToken", "documentation": "

The token to use to retrieve the next page of results. The first call does not contain any tokens.

" } } }, "ListGroupsFilters": { "type": "structure", "members": { "NamePrefix": { "shape": "String", "documentation": "

Filters only groups with the provided name prefix.

" }, "PrimaryEmailPrefix": { "shape": "String", "documentation": "

Filters only groups with the provided primary email prefix.

" }, "State": { "shape": "EntityState", "documentation": "

Filters only groups with the provided state.

" } }, "documentation": "

Filtering options for ListGroups operation. This is only used as input to Operation.

" }, "ListGroupsForEntityFilters": { "type": "structure", "members": { "GroupNamePrefix": { "shape": "String", "documentation": "

Filters only group names that start with the provided name prefix.

" } }, "documentation": "

Filtering options for ListGroupsForEntity operation. This is only used as input to Operation.

" }, "ListGroupsForEntityRequest": { "type": "structure", "required": [ "OrganizationId", "EntityId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The identifier for the organization under which the entity exists.

" }, "EntityId": { "shape": "EntityIdentifier", "documentation": "

The identifier for the entity.

The entity ID can accept UserId or GroupID, Username or Groupname, or email.

" }, "Filters": { "shape": "ListGroupsForEntityFilters", "documentation": "

Limit the search results based on the filter criteria.

" }, "NextToken": { "shape": "NextToken", "documentation": "

The token to use to retrieve the next page of results. The first call does not contain any tokens.

" }, "MaxResults": { "shape": "MaxResults", "documentation": "

The maximum number of results to return in a single call.

" } } }, "ListGroupsForEntityResponse": { "type": "structure", "members": { "Groups": { "shape": "GroupIdentifiers", "documentation": "

The overview of groups in an organization.

" }, "NextToken": { "shape": "NextToken", "documentation": "

The token to use to retrieve the next page of results. This value is `null` when there are no more results to return.

" } } }, "ListGroupsRequest": { "type": "structure", "required": [ "OrganizationId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The identifier for the organization under which the groups exist.

" }, "NextToken": { "shape": "NextToken", "documentation": "

The token to use to retrieve the next page of results. The first call does not contain any tokens.

" }, "MaxResults": { "shape": "MaxResults", "documentation": "

The maximum number of results to return in a single call.

" }, "Filters": { "shape": "ListGroupsFilters", "documentation": "

Limit the search results based on the filter criteria. Only one filter per request is supported.

" } } }, "ListGroupsResponse": { "type": "structure", "members": { "Groups": { "shape": "Groups", "documentation": "

The overview of groups for an organization.

" }, "NextToken": { "shape": "NextToken", "documentation": "

The token to use to retrieve the next page of results. The value is \"null\" when there are no more results to return.

" } } }, "ListImpersonationRolesRequest": { "type": "structure", "required": [ "OrganizationId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The WorkMail organization to which the listed impersonation roles belong.

" }, "NextToken": { "shape": "NextToken", "documentation": "

The token used to retrieve the next page of results. The first call doesn't require a token.

" }, "MaxResults": { "shape": "MaxResults", "documentation": "

The maximum number of results returned in a single call.

" } } }, "ListImpersonationRolesResponse": { "type": "structure", "members": { "Roles": { "shape": "ImpersonationRoleList", "documentation": "

The list of impersonation roles under the given WorkMail organization.

" }, "NextToken": { "shape": "NextToken", "documentation": "

The token to retrieve the next page of results. The value is null when there are no results to return.

" } } }, "ListMailDomainsRequest": { "type": "structure", "required": [ "OrganizationId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The WorkMail organization for which to list domains.

" }, "MaxResults": { "shape": "MaxResults", "documentation": "

The maximum number of results to return in a single call.

" }, "NextToken": { "shape": "NextToken", "documentation": "

The token to use to retrieve the next page of results. The first call does not require a token.

" } } }, "ListMailDomainsResponse": { "type": "structure", "members": { "MailDomains": { "shape": "MailDomains", "documentation": "

The list of mail domain summaries, specifying domains that exist in the specified WorkMail organization, along with the information about whether the domain is or isn't the default.

" }, "NextToken": { "shape": "NextToken", "documentation": "

The token to use to retrieve the next page of results. The value becomes null when there are no more results to return.

" } } }, "ListMailboxExportJobsRequest": { "type": "structure", "required": [ "OrganizationId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The organization ID.

" }, "NextToken": { "shape": "NextToken", "documentation": "

The token to use to retrieve the next page of results.

" }, "MaxResults": { "shape": "MaxResults", "documentation": "

The maximum number of results to return in a single call.

" } } }, "ListMailboxExportJobsResponse": { "type": "structure", "members": { "Jobs": { "shape": "Jobs", "documentation": "

The mailbox export job details.

" }, "NextToken": { "shape": "NextToken", "documentation": "

The token to use to retrieve the next page of results.

" } } }, "ListMailboxPermissionsRequest": { "type": "structure", "required": [ "OrganizationId", "EntityId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The identifier of the organization under which the user, group, or resource exists.

" }, "EntityId": { "shape": "EntityIdentifier", "documentation": "

The identifier of the user, or resource for which to list mailbox permissions.

The entity ID can accept UserId or ResourceId, Username or Resourcename, or email.

" }, "NextToken": { "shape": "NextToken", "documentation": "

The token to use to retrieve the next page of results. The first call does not contain any tokens.

" }, "MaxResults": { "shape": "MaxResults", "documentation": "

The maximum number of results to return in a single call.

" } } }, "ListMailboxPermissionsResponse": { "type": "structure", "members": { "Permissions": { "shape": "Permissions", "documentation": "

One page of the user, group, or resource mailbox permissions.

" }, "NextToken": { "shape": "NextToken", "documentation": "

The token to use to retrieve the next page of results. The value is \"null\" when there are no more results to return.

" } } }, "ListMobileDeviceAccessOverridesRequest": { "type": "structure", "required": [ "OrganizationId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The WorkMail organization under which to list mobile device access overrides.

" }, "UserId": { "shape": "EntityIdentifier", "documentation": "

The WorkMail user under which you list the mobile device access overrides. Accepts the following types of user identities:

" }, "DeviceId": { "shape": "DeviceId", "documentation": "

The mobile device to which the access override applies.

" }, "NextToken": { "shape": "NextToken", "documentation": "

The token to use to retrieve the next page of results. The first call does not require a token.

" }, "MaxResults": { "shape": "MaxResults", "documentation": "

The maximum number of results to return in a single call.

" } } }, "ListMobileDeviceAccessOverridesResponse": { "type": "structure", "members": { "Overrides": { "shape": "MobileDeviceAccessOverridesList", "documentation": "

The list of mobile device access overrides that exist for the specified WorkMail organization and user.

" }, "NextToken": { "shape": "NextToken", "documentation": "

The token to use to retrieve the next page of results. The value is “null” when there are no more results to return.

" } } }, "ListMobileDeviceAccessRulesRequest": { "type": "structure", "required": [ "OrganizationId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The WorkMail organization for which to list the rules.

" } } }, "ListMobileDeviceAccessRulesResponse": { "type": "structure", "members": { "Rules": { "shape": "MobileDeviceAccessRulesList", "documentation": "

The list of mobile device access rules that exist under the specified WorkMail organization.

" } } }, "ListOrganizationsRequest": { "type": "structure", "members": { "NextToken": { "shape": "NextToken", "documentation": "

The token to use to retrieve the next page of results. The first call does not contain any tokens.

" }, "MaxResults": { "shape": "MaxResults", "documentation": "

The maximum number of results to return in a single call.

" } } }, "ListOrganizationsResponse": { "type": "structure", "members": { "OrganizationSummaries": { "shape": "OrganizationSummaries", "documentation": "

The overview of owned organizations presented as a list of organization summaries.

" }, "NextToken": { "shape": "NextToken", "documentation": "

The token to use to retrieve the next page of results. The value is \"null\" when there are no more results to return.

" } } }, "ListResourceDelegatesRequest": { "type": "structure", "required": [ "OrganizationId", "ResourceId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The identifier for the organization that contains the resource for which delegates are listed.

" }, "ResourceId": { "shape": "EntityIdentifier", "documentation": "

The identifier for the resource whose delegates are listed.

The identifier can accept ResourceId, Resourcename, or email. The following identity formats are available:

" }, "NextToken": { "shape": "NextToken", "documentation": "

The token used to paginate through the delegates associated with a resource.

" }, "MaxResults": { "shape": "MaxResults", "documentation": "

The number of maximum results in a page.

" } } }, "ListResourceDelegatesResponse": { "type": "structure", "members": { "Delegates": { "shape": "ResourceDelegates", "documentation": "

One page of the resource's delegates.

" }, "NextToken": { "shape": "NextToken", "documentation": "

The token used to paginate through the delegates associated with a resource. While results are still available, it has an associated value. When the last page is reached, the token is empty.

" } } }, "ListResourcesFilters": { "type": "structure", "members": { "NamePrefix": { "shape": "String", "documentation": "

Filters only resource that start with the entered name prefix .

" }, "PrimaryEmailPrefix": { "shape": "String", "documentation": "

Filters only resource with the provided primary email prefix.

" }, "State": { "shape": "EntityState", "documentation": "

Filters only resource with the provided state.

" } }, "documentation": "

Filtering options for ListResources operation. This is only used as input to Operation.

" }, "ListResourcesRequest": { "type": "structure", "required": [ "OrganizationId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The identifier for the organization under which the resources exist.

" }, "NextToken": { "shape": "NextToken", "documentation": "

The token to use to retrieve the next page of results. The first call does not contain any tokens.

" }, "MaxResults": { "shape": "MaxResults", "documentation": "

The maximum number of results to return in a single call.

" }, "Filters": { "shape": "ListResourcesFilters", "documentation": "

Limit the resource search results based on the filter criteria. You can only use one filter per request.

" } } }, "ListResourcesResponse": { "type": "structure", "members": { "Resources": { "shape": "Resources", "documentation": "

One page of the organization's resource representation.

" }, "NextToken": { "shape": "NextToken", "documentation": "

The token used to paginate through all the organization's resources. While results are still available, it has an associated value. When the last page is reached, the token is empty.

" } } }, "ListTagsForResourceRequest": { "type": "structure", "required": [ "ResourceARN" ], "members": { "ResourceARN": { "shape": "AmazonResourceName", "documentation": "

The resource ARN.

" } } }, "ListTagsForResourceResponse": { "type": "structure", "members": { "Tags": { "shape": "TagList", "documentation": "

A list of tag key-value pairs.

" } } }, "ListUsersFilters": { "type": "structure", "members": { "UsernamePrefix": { "shape": "String", "documentation": "

Filters only users with the provided username prefix.

" }, "DisplayNamePrefix": { "shape": "UserAttribute", "documentation": "

Filters only users with the provided display name prefix.

" }, "PrimaryEmailPrefix": { "shape": "String", "documentation": "

Filters only users with the provided email prefix.

" }, "State": { "shape": "EntityState", "documentation": "

Filters only users with the provided state.

" } }, "documentation": "

Filtering options for ListUsers operation. This is only used as input to Operation.

" }, "ListUsersRequest": { "type": "structure", "required": [ "OrganizationId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The identifier for the organization under which the users exist.

" }, "NextToken": { "shape": "NextToken", "documentation": "

The token to use to retrieve the next page of results. The first call does not contain any tokens.

" }, "MaxResults": { "shape": "MaxResults", "documentation": "

The maximum number of results to return in a single call.

" }, "Filters": { "shape": "ListUsersFilters", "documentation": "

Limit the user search results based on the filter criteria. You can only use one filter per request.

" } } }, "ListUsersResponse": { "type": "structure", "members": { "Users": { "shape": "Users", "documentation": "

The overview of users for an organization.

" }, "NextToken": { "shape": "NextToken", "documentation": "

The token to use to retrieve the next page of results. This value is `null` when there are no more results to return.

" } } }, "LogGroupArn": { "type": "string", "max": 562, "min": 47, "pattern": "arn:aws:logs:[a-z\\-0-9]*:[0-9]{12}:log-group:([\\.\\-_/#A-Za-z0-9]+):\\*$" }, "MailDomainSummary": { "type": "structure", "members": { "DomainName": { "shape": "DomainName", "documentation": "

The domain name.

" }, "DefaultDomain": { "shape": "Boolean", "documentation": "

Whether the domain is default or not.

" } }, "documentation": "

The data for a given domain.

" }, "MailDomains": { "type": "list", "member": { "shape": "MailDomainSummary" } }, "MailboxExportErrorInfo": { "type": "string", "max": 1024, "min": 1, "pattern": "[\\S\\s]*" }, "MailboxExportJob": { "type": "structure", "members": { "JobId": { "shape": "MailboxExportJobId", "documentation": "

The identifier of the mailbox export job.

" }, "EntityId": { "shape": "WorkMailIdentifier", "documentation": "

The identifier of the user or resource associated with the mailbox.

" }, "Description": { "shape": "Description", "documentation": "

The mailbox export job description.

" }, "S3BucketName": { "shape": "S3BucketName", "documentation": "

The name of the S3 bucket.

" }, "S3Path": { "shape": "S3ObjectKey", "documentation": "

The path to the S3 bucket and file that the mailbox export job exports to.

" }, "EstimatedProgress": { "shape": "Percentage", "documentation": "

The estimated progress of the mailbox export job, in percentage points.

" }, "State": { "shape": "MailboxExportJobState", "documentation": "

The state of the mailbox export job.

" }, "StartTime": { "shape": "Timestamp", "documentation": "

The mailbox export job start timestamp.

" }, "EndTime": { "shape": "Timestamp", "documentation": "

The mailbox export job end timestamp.

" } }, "documentation": "

The details of a mailbox export job, including the user or resource ID associated with the mailbox and the S3 bucket that the mailbox contents are exported to.

" }, "MailboxExportJobId": { "type": "string", "max": 63, "min": 1, "pattern": "[A-Za-z0-9-]+" }, "MailboxExportJobState": { "type": "string", "enum": [ "RUNNING", "COMPLETED", "FAILED", "CANCELLED" ] }, "MailboxQuota": { "type": "integer", "box": true, "min": 1 }, "MailboxSize": { "type": "double", "min": 0 }, "MaxResults": { "type": "integer", "box": true, "max": 100, "min": 1 }, "Member": { "type": "structure", "members": { "Id": { "shape": "String", "documentation": "

The identifier of the member.

" }, "Name": { "shape": "String", "documentation": "

The name of the member.

" }, "Type": { "shape": "MemberType", "documentation": "

A member can be a user or group.

" }, "State": { "shape": "EntityState", "documentation": "

The state of the member, which can be ENABLED, DISABLED, or DELETED.

" }, "EnabledDate": { "shape": "Timestamp", "documentation": "

The date indicating when the member was enabled for WorkMail use.

" }, "DisabledDate": { "shape": "Timestamp", "documentation": "

The date indicating when the member was disabled from WorkMail use.

" } }, "documentation": "

The representation of a user or group.

" }, "MemberType": { "type": "string", "enum": [ "GROUP", "USER" ] }, "Members": { "type": "list", "member": { "shape": "Member" } }, "MobileDeviceAccessMatchedRule": { "type": "structure", "members": { "MobileDeviceAccessRuleId": { "shape": "MobileDeviceAccessRuleId", "documentation": "

Identifier of the rule that a simulated user matches.

" }, "Name": { "shape": "MobileDeviceAccessRuleName", "documentation": "

Name of a rule that a simulated user matches.

" } }, "documentation": "

The rule that a simulated user matches.

" }, "MobileDeviceAccessMatchedRuleList": { "type": "list", "member": { "shape": "MobileDeviceAccessMatchedRule" }, "max": 10, "min": 0 }, "MobileDeviceAccessOverride": { "type": "structure", "members": { "UserId": { "shape": "WorkMailIdentifier", "documentation": "

The WorkMail user to which the access override applies.

" }, "DeviceId": { "shape": "DeviceId", "documentation": "

The device to which the override applies.

" }, "Effect": { "shape": "MobileDeviceAccessRuleEffect", "documentation": "

The effect of the override, ALLOW or DENY.

" }, "Description": { "shape": "MobileDeviceAccessRuleDescription", "documentation": "

A description of the override.

" }, "DateCreated": { "shape": "Timestamp", "documentation": "

The date the override was first created.

" }, "DateModified": { "shape": "Timestamp", "documentation": "

The date the override was last modified.

" } }, "documentation": "

The override object.

" }, "MobileDeviceAccessOverridesList": { "type": "list", "member": { "shape": "MobileDeviceAccessOverride" } }, "MobileDeviceAccessRule": { "type": "structure", "members": { "MobileDeviceAccessRuleId": { "shape": "MobileDeviceAccessRuleId", "documentation": "

The ID assigned to a mobile access rule.

" }, "Name": { "shape": "MobileDeviceAccessRuleName", "documentation": "

The name of a mobile access rule.

" }, "Description": { "shape": "MobileDeviceAccessRuleDescription", "documentation": "

The description of a mobile access rule.

" }, "Effect": { "shape": "MobileDeviceAccessRuleEffect", "documentation": "

The effect of the rule when it matches. Allowed values are ALLOW or DENY.

" }, "DeviceTypes": { "shape": "DeviceTypeList", "documentation": "

Device types that a rule will match.

" }, "NotDeviceTypes": { "shape": "DeviceTypeList", "documentation": "

Device types that a rule will not match. All other device types will match.

" }, "DeviceModels": { "shape": "DeviceModelList", "documentation": "

Device models that a rule will match.

" }, "NotDeviceModels": { "shape": "DeviceModelList", "documentation": "

Device models that a rule will not match. All other device models will match.

" }, "DeviceOperatingSystems": { "shape": "DeviceOperatingSystemList", "documentation": "

Device operating systems that a rule will match.

" }, "NotDeviceOperatingSystems": { "shape": "DeviceOperatingSystemList", "documentation": "

Device operating systems that a rule will not match. All other device types will match.

" }, "DeviceUserAgents": { "shape": "DeviceUserAgentList", "documentation": "

Device user agents that a rule will match.

" }, "NotDeviceUserAgents": { "shape": "DeviceUserAgentList", "documentation": "

Device user agents that a rule will not match. All other device user agents will match.

" }, "DateCreated": { "shape": "Timestamp", "documentation": "

The date and time at which an access rule was created.

" }, "DateModified": { "shape": "Timestamp", "documentation": "

The date and time at which an access rule was modified.

" } }, "documentation": "

A rule that controls access to mobile devices for an WorkMail group.

" }, "MobileDeviceAccessRuleDescription": { "type": "string", "max": 256, "min": 1, "pattern": "[\\S\\s]+" }, "MobileDeviceAccessRuleEffect": { "type": "string", "enum": [ "ALLOW", "DENY" ] }, "MobileDeviceAccessRuleId": { "type": "string", "max": 64, "min": 1, "pattern": "[a-zA-Z0-9_-]+" }, "MobileDeviceAccessRuleName": { "type": "string", "max": 64, "min": 1, "pattern": "[\\S\\s]+" }, "MobileDeviceAccessRulesList": { "type": "list", "member": { "shape": "MobileDeviceAccessRule" }, "max": 10, "min": 0 }, "NewResourceDescription": { "type": "string", "max": 64, "min": 0 }, "NextToken": { "type": "string", "max": 1024, "min": 1, "pattern": "[\\S\\s]*|[a-zA-Z0-9/+=]{1,1024}" }, "OrganizationId": { "type": "string", "max": 34, "min": 34, "pattern": "^m-[0-9a-f]{32}$" }, "OrganizationName": { "type": "string", "max": 62, "min": 1, "pattern": "^(?!d-)([\\da-zA-Z]+)([-][\\da-zA-Z]+)*" }, "OrganizationSummaries": { "type": "list", "member": { "shape": "OrganizationSummary" } }, "OrganizationSummary": { "type": "structure", "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The identifier associated with the organization.

" }, "Alias": { "shape": "OrganizationName", "documentation": "

The alias associated with the organization.

" }, "DefaultMailDomain": { "shape": "DomainName", "documentation": "

The default email domain associated with the organization.

" }, "ErrorMessage": { "shape": "String", "documentation": "

The error message associated with the organization. It is only present if unexpected behavior has occurred with regards to the organization. It provides insight or solutions regarding unexpected behavior.

" }, "State": { "shape": "String", "documentation": "

The state associated with the organization.

" } }, "documentation": "

The representation of an organization.

" }, "Password": { "type": "string", "max": 256, "pattern": "[\\u0020-\\u00FF]+", "sensitive": true }, "Percentage": { "type": "integer", "max": 100, "min": 0 }, "Permission": { "type": "structure", "required": [ "GranteeId", "GranteeType", "PermissionValues" ], "members": { "GranteeId": { "shape": "WorkMailIdentifier", "documentation": "

The identifier of the user, group, or resource to which the permissions are granted.

" }, "GranteeType": { "shape": "MemberType", "documentation": "

The type of user, group, or resource referred to in GranteeId.

" }, "PermissionValues": { "shape": "PermissionValues", "documentation": "

The permissions granted to the grantee. SEND_AS allows the grantee to send email as the owner of the mailbox (the grantee is not mentioned on these emails). SEND_ON_BEHALF allows the grantee to send email on behalf of the owner of the mailbox (the grantee is not mentioned as the physical sender of these emails). FULL_ACCESS allows the grantee full access to the mailbox, irrespective of other folder-level permissions set on the mailbox.

" } }, "documentation": "

Permission granted to a user, group, or resource to access a certain aspect of another user, group, or resource mailbox.

" }, "PermissionType": { "type": "string", "enum": [ "FULL_ACCESS", "SEND_AS", "SEND_ON_BEHALF" ] }, "PermissionValues": { "type": "list", "member": { "shape": "PermissionType" } }, "Permissions": { "type": "list", "member": { "shape": "Permission" } }, "PolicyDescription": { "type": "string", "max": 256, "pattern": "[\\w\\d\\s\\S\\-!?=,.;:'_]+", "sensitive": true }, "PutAccessControlRuleRequest": { "type": "structure", "required": [ "Name", "Effect", "Description", "OrganizationId" ], "members": { "Name": { "shape": "AccessControlRuleName", "documentation": "

The rule name.

" }, "Effect": { "shape": "AccessControlRuleEffect", "documentation": "

The rule effect.

" }, "Description": { "shape": "AccessControlRuleDescription", "documentation": "

The rule description.

" }, "IpRanges": { "shape": "IpRangeList", "documentation": "

IPv4 CIDR ranges to include in the rule.

" }, "NotIpRanges": { "shape": "IpRangeList", "documentation": "

IPv4 CIDR ranges to exclude from the rule.

" }, "Actions": { "shape": "ActionsList", "documentation": "

Access protocol actions to include in the rule. Valid values include ActiveSync, AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook, and WebMail.

" }, "NotActions": { "shape": "ActionsList", "documentation": "

Access protocol actions to exclude from the rule. Valid values include ActiveSync, AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook, and WebMail.

" }, "UserIds": { "shape": "UserIdList", "documentation": "

User IDs to include in the rule.

" }, "NotUserIds": { "shape": "UserIdList", "documentation": "

User IDs to exclude from the rule.

" }, "OrganizationId": { "shape": "OrganizationId", "documentation": "

The identifier of the organization.

" }, "ImpersonationRoleIds": { "shape": "ImpersonationRoleIdList", "documentation": "

Impersonation role IDs to include in the rule.

" }, "NotImpersonationRoleIds": { "shape": "ImpersonationRoleIdList", "documentation": "

Impersonation role IDs to exclude from the rule.

" } } }, "PutAccessControlRuleResponse": { "type": "structure", "members": {} }, "PutEmailMonitoringConfigurationRequest": { "type": "structure", "required": [ "OrganizationId", "RoleArn", "LogGroupArn" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The ID of the organization for which the email monitoring configuration is set.

" }, "RoleArn": { "shape": "RoleArn", "documentation": "

The Amazon Resource Name (ARN) of the IAM Role associated with the email monitoring configuration.

" }, "LogGroupArn": { "shape": "LogGroupArn", "documentation": "

The Amazon Resource Name (ARN) of the CloudWatch Log group associated with the email monitoring configuration.

" } } }, "PutEmailMonitoringConfigurationResponse": { "type": "structure", "members": {} }, "PutInboundDmarcSettingsRequest": { "type": "structure", "required": [ "OrganizationId", "Enforced" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The ID of the organization that you are applying the DMARC policy to.

" }, "Enforced": { "shape": "BooleanObject", "documentation": "

Enforces or suspends a policy after it's applied.

" } } }, "PutInboundDmarcSettingsResponse": { "type": "structure", "members": {} }, "PutMailboxPermissionsRequest": { "type": "structure", "required": [ "OrganizationId", "EntityId", "GranteeId", "PermissionValues" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The identifier of the organization under which the user, group, or resource exists.

" }, "EntityId": { "shape": "EntityIdentifier", "documentation": "

The identifier of the user or resource for which to update mailbox permissions.

The identifier can be UserId, ResourceID, or Group Id, Username, Resourcename, or Groupname, or email.

" }, "GranteeId": { "shape": "EntityIdentifier", "documentation": "

The identifier of the user, group, or resource to which to grant the permissions.

The identifier can be UserId, ResourceID, or Group Id, Username, Resourcename, or Groupname, or email.

" }, "PermissionValues": { "shape": "PermissionValues", "documentation": "

The permissions granted to the grantee. SEND_AS allows the grantee to send email as the owner of the mailbox (the grantee is not mentioned on these emails). SEND_ON_BEHALF allows the grantee to send email on behalf of the owner of the mailbox (the grantee is not mentioned as the physical sender of these emails). FULL_ACCESS allows the grantee full access to the mailbox, irrespective of other folder-level permissions set on the mailbox.

" } } }, "PutMailboxPermissionsResponse": { "type": "structure", "members": {} }, "PutMobileDeviceAccessOverrideRequest": { "type": "structure", "required": [ "OrganizationId", "UserId", "DeviceId", "Effect" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

Identifies the WorkMail organization for which you create the override.

" }, "UserId": { "shape": "EntityIdentifier", "documentation": "

The WorkMail user for which you create the override. Accepts the following types of user identities:

" }, "DeviceId": { "shape": "DeviceId", "documentation": "

The mobile device for which you create the override. DeviceId is case insensitive.

" }, "Effect": { "shape": "MobileDeviceAccessRuleEffect", "documentation": "

The effect of the override, ALLOW or DENY.

" }, "Description": { "shape": "MobileDeviceAccessRuleDescription", "documentation": "

A description of the override.

" } } }, "PutMobileDeviceAccessOverrideResponse": { "type": "structure", "members": {} }, "PutRetentionPolicyRequest": { "type": "structure", "required": [ "OrganizationId", "Name", "FolderConfigurations" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The organization ID.

" }, "Id": { "shape": "ShortString", "documentation": "

The retention policy ID.

" }, "Name": { "shape": "ShortString", "documentation": "

The retention policy name.

" }, "Description": { "shape": "PolicyDescription", "documentation": "

The retention policy description.

" }, "FolderConfigurations": { "shape": "FolderConfigurations", "documentation": "

The retention policy folder configurations.

" } } }, "PutRetentionPolicyResponse": { "type": "structure", "members": {} }, "RedactedEwsAvailabilityProvider": { "type": "structure", "members": { "EwsEndpoint": { "shape": "Url", "documentation": "

The endpoint of the remote EWS server.

" }, "EwsUsername": { "shape": "ExternalUserName", "documentation": "

The username used to authenticate the remote EWS server.

" } }, "documentation": "

Describes an EWS based availability provider when returned from the service. It does not contain the password of the endpoint.

" }, "RegisterMailDomainRequest": { "type": "structure", "required": [ "OrganizationId", "DomainName" ], "members": { "ClientToken": { "shape": "IdempotencyClientToken", "documentation": "

Idempotency token used when retrying requests.

", "idempotencyToken": true }, "OrganizationId": { "shape": "OrganizationId", "documentation": "

The WorkMail organization under which you're creating the domain.

" }, "DomainName": { "shape": "WorkMailDomainName", "documentation": "

The name of the mail domain to create in WorkMail and SES.

" } } }, "RegisterMailDomainResponse": { "type": "structure", "members": {} }, "RegisterToWorkMailRequest": { "type": "structure", "required": [ "OrganizationId", "EntityId", "Email" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The identifier for the organization under which the user, group, or resource exists.

" }, "EntityId": { "shape": "EntityIdentifier", "documentation": "

The identifier for the user, group, or resource to be updated.

The identifier can accept UserId, ResourceId, or GroupId, or Username, Resourcename, or Groupname. The following identity formats are available:

" }, "Email": { "shape": "EmailAddress", "documentation": "

The email for the user, group, or resource to be updated.

" } } }, "RegisterToWorkMailResponse": { "type": "structure", "members": {} }, "ResetPasswordRequest": { "type": "structure", "required": [ "OrganizationId", "UserId", "Password" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The identifier of the organization that contains the user for which the password is reset.

" }, "UserId": { "shape": "WorkMailIdentifier", "documentation": "

The identifier of the user for whom the password is reset.

" }, "Password": { "shape": "Password", "documentation": "

The new password for the user.

" } } }, "ResetPasswordResponse": { "type": "structure", "members": {} }, "Resource": { "type": "structure", "members": { "Id": { "shape": "WorkMailIdentifier", "documentation": "

The identifier of the resource.

" }, "Email": { "shape": "EmailAddress", "documentation": "

The email of the resource.

" }, "Name": { "shape": "ResourceName", "documentation": "

The name of the resource.

" }, "Type": { "shape": "ResourceType", "documentation": "

The type of the resource: equipment or room.

" }, "State": { "shape": "EntityState", "documentation": "

The state of the resource, which can be ENABLED, DISABLED, or DELETED.

" }, "EnabledDate": { "shape": "Timestamp", "documentation": "

The date indicating when the resource was enabled for WorkMail use.

" }, "DisabledDate": { "shape": "Timestamp", "documentation": "

The date indicating when the resource was disabled from WorkMail use.

" }, "Description": { "shape": "ResourceDescription", "documentation": "

Resource description.

" } }, "documentation": "

The representation of a resource.

" }, "ResourceDelegates": { "type": "list", "member": { "shape": "Delegate" } }, "ResourceDescription": { "type": "string", "max": 64, "min": 1 }, "ResourceId": { "type": "string", "max": 34, "min": 34, "pattern": "^r-[0-9a-f]{32}$" }, "ResourceName": { "type": "string", "max": 20, "min": 1, "pattern": "[\\w\\-.]+(@[a-zA-Z0-9.\\-]+\\.[a-zA-Z0-9-]{2,})?" }, "ResourceType": { "type": "string", "enum": [ "ROOM", "EQUIPMENT" ] }, "Resources": { "type": "list", "member": { "shape": "Resource" } }, "RetentionAction": { "type": "string", "enum": [ "NONE", "DELETE", "PERMANENTLY_DELETE" ] }, "RetentionPeriod": { "type": "integer", "box": true, "max": 730, "min": 1 }, "RoleArn": { "type": "string", "max": 2048, "min": 20, "pattern": "arn:aws:iam:[a-z0-9-]*:[a-z0-9-]+:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}" }, "S3BucketName": { "type": "string", "max": 63, "min": 1, "pattern": "[A-Za-z0-9.-]+" }, "S3ObjectKey": { "type": "string", "max": 1023, "min": 1, "pattern": "[A-Za-z0-9!_.*'()/-]+" }, "ShortString": { "type": "string", "max": 64, "min": 1, "pattern": "[a-zA-Z0-9_-]+" }, "StartMailboxExportJobRequest": { "type": "structure", "required": [ "ClientToken", "OrganizationId", "EntityId", "RoleArn", "KmsKeyArn", "S3BucketName", "S3Prefix" ], "members": { "ClientToken": { "shape": "IdempotencyClientToken", "documentation": "

The idempotency token for the client request.

", "idempotencyToken": true }, "OrganizationId": { "shape": "OrganizationId", "documentation": "

The identifier associated with the organization.

" }, "EntityId": { "shape": "EntityIdentifier", "documentation": "

The identifier of the user or resource associated with the mailbox.

The identifier can accept UserId or ResourceId, Username or Resourcename, or email. The following identity formats are available:

" }, "Description": { "shape": "Description", "documentation": "

The mailbox export job description.

" }, "RoleArn": { "shape": "RoleArn", "documentation": "

The ARN of the AWS Identity and Access Management (IAM) role that grants write permission to the S3 bucket.

" }, "KmsKeyArn": { "shape": "KmsKeyArn", "documentation": "

The Amazon Resource Name (ARN) of the symmetric AWS Key Management Service (AWS KMS) key that encrypts the exported mailbox content.

" }, "S3BucketName": { "shape": "S3BucketName", "documentation": "

The name of the S3 bucket.

" }, "S3Prefix": { "shape": "S3ObjectKey", "documentation": "

The S3 bucket prefix.

" } } }, "StartMailboxExportJobResponse": { "type": "structure", "members": { "JobId": { "shape": "MailboxExportJobId", "documentation": "

The job ID.

" } } }, "String": { "type": "string", "max": 256 }, "Tag": { "type": "structure", "required": [ "Key", "Value" ], "members": { "Key": { "shape": "TagKey", "documentation": "

The key of the tag.

" }, "Value": { "shape": "TagValue", "documentation": "

The value of the tag.

" } }, "documentation": "

Describes a tag applied to a resource.

" }, "TagKey": { "type": "string", "max": 128, "min": 1 }, "TagKeyList": { "type": "list", "member": { "shape": "TagKey" }, "max": 50, "min": 0 }, "TagList": { "type": "list", "member": { "shape": "Tag" }, "max": 50, "min": 0 }, "TagResourceRequest": { "type": "structure", "required": [ "ResourceARN", "Tags" ], "members": { "ResourceARN": { "shape": "AmazonResourceName", "documentation": "

The resource ARN.

" }, "Tags": { "shape": "TagList", "documentation": "

The tag key-value pairs.

" } } }, "TagResourceResponse": { "type": "structure", "members": {} }, "TagValue": { "type": "string", "max": 256, "min": 0 }, "TargetUsers": { "type": "list", "member": { "shape": "EntityIdentifier" }, "max": 10, "min": 1 }, "TestAvailabilityConfigurationRequest": { "type": "structure", "required": [ "OrganizationId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The WorkMail organization where the availability provider will be tested.

" }, "DomainName": { "shape": "DomainName", "documentation": "

The domain to which the provider applies. If this field is provided, a stored availability provider associated to this domain name will be tested.

" }, "EwsProvider": { "shape": "EwsAvailabilityProvider" }, "LambdaProvider": { "shape": "LambdaAvailabilityProvider" } } }, "TestAvailabilityConfigurationResponse": { "type": "structure", "members": { "TestPassed": { "shape": "Boolean", "documentation": "

Boolean indicating whether the test passed or failed.

" }, "FailureReason": { "shape": "String", "documentation": "

String containing the reason for a failed test if TestPassed is false.

" } } }, "Timestamp": { "type": "timestamp" }, "UntagResourceRequest": { "type": "structure", "required": [ "ResourceARN", "TagKeys" ], "members": { "ResourceARN": { "shape": "AmazonResourceName", "documentation": "

The resource ARN.

" }, "TagKeys": { "shape": "TagKeyList", "documentation": "

The tag keys.

" } } }, "UntagResourceResponse": { "type": "structure", "members": {} }, "UpdateAvailabilityConfigurationRequest": { "type": "structure", "required": [ "OrganizationId", "DomainName" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The WorkMail organization for which the AvailabilityConfiguration will be updated.

" }, "DomainName": { "shape": "DomainName", "documentation": "

The domain to which the provider applies the availability configuration.

" }, "EwsProvider": { "shape": "EwsAvailabilityProvider", "documentation": "

The EWS availability provider definition. The request must contain exactly one provider definition, either EwsProvider or LambdaProvider. The previously stored provider will be overridden by the one provided.

" }, "LambdaProvider": { "shape": "LambdaAvailabilityProvider", "documentation": "

The Lambda availability provider definition. The request must contain exactly one provider definition, either EwsProvider or LambdaProvider. The previously stored provider will be overridden by the one provided.

" } } }, "UpdateAvailabilityConfigurationResponse": { "type": "structure", "members": {} }, "UpdateDefaultMailDomainRequest": { "type": "structure", "required": [ "OrganizationId", "DomainName" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The WorkMail organization for which to list domains.

" }, "DomainName": { "shape": "WorkMailDomainName", "documentation": "

The domain name that will become the default domain.

" } } }, "UpdateDefaultMailDomainResponse": { "type": "structure", "members": {} }, "UpdateGroupRequest": { "type": "structure", "required": [ "OrganizationId", "GroupId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The identifier for the organization under which the group exists.

" }, "GroupId": { "shape": "EntityIdentifier", "documentation": "

The identifier for the group to be updated.

The identifier can accept GroupId, Groupname, or email. The following identity formats are available:

" }, "HiddenFromGlobalAddressList": { "shape": "BooleanObject", "documentation": "

If enabled, the group is hidden from the global address list.

" } } }, "UpdateGroupResponse": { "type": "structure", "members": {} }, "UpdateImpersonationRoleRequest": { "type": "structure", "required": [ "OrganizationId", "ImpersonationRoleId", "Name", "Type", "Rules" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The WorkMail organization that contains the impersonation role to update.

" }, "ImpersonationRoleId": { "shape": "ImpersonationRoleId", "documentation": "

The ID of the impersonation role to update.

" }, "Name": { "shape": "ImpersonationRoleName", "documentation": "

The updated impersonation role name.

" }, "Type": { "shape": "ImpersonationRoleType", "documentation": "

The updated impersonation role type.

" }, "Description": { "shape": "ImpersonationRoleDescription", "documentation": "

The updated impersonation role description.

" }, "Rules": { "shape": "ImpersonationRuleList", "documentation": "

The updated list of rules.

" } } }, "UpdateImpersonationRoleResponse": { "type": "structure", "members": {} }, "UpdateMailboxQuotaRequest": { "type": "structure", "required": [ "OrganizationId", "UserId", "MailboxQuota" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The identifier for the organization that contains the user for whom to update the mailbox quota.

" }, "UserId": { "shape": "EntityIdentifier", "documentation": "

The identifer for the user for whom to update the mailbox quota.

The identifier can be the UserId, Username, or email. The following identity formats are available:

" }, "MailboxQuota": { "shape": "MailboxQuota", "documentation": "

The updated mailbox quota, in MB, for the specified user.

" } } }, "UpdateMailboxQuotaResponse": { "type": "structure", "members": {} }, "UpdateMobileDeviceAccessRuleRequest": { "type": "structure", "required": [ "OrganizationId", "MobileDeviceAccessRuleId", "Name", "Effect" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The WorkMail organization under which the rule will be updated.

" }, "MobileDeviceAccessRuleId": { "shape": "MobileDeviceAccessRuleId", "documentation": "

The identifier of the rule to be updated.

" }, "Name": { "shape": "MobileDeviceAccessRuleName", "documentation": "

The updated rule name.

" }, "Description": { "shape": "MobileDeviceAccessRuleDescription", "documentation": "

The updated rule description.

" }, "Effect": { "shape": "MobileDeviceAccessRuleEffect", "documentation": "

The effect of the rule when it matches. Allowed values are ALLOW or DENY.

" }, "DeviceTypes": { "shape": "DeviceTypeList", "documentation": "

Device types that the updated rule will match.

" }, "NotDeviceTypes": { "shape": "DeviceTypeList", "documentation": "

Device types that the updated rule will not match. All other device types will match.

" }, "DeviceModels": { "shape": "DeviceModelList", "documentation": "

Device models that the updated rule will match.

" }, "NotDeviceModels": { "shape": "DeviceModelList", "documentation": "

Device models that the updated rule will not match. All other device models will match.

" }, "DeviceOperatingSystems": { "shape": "DeviceOperatingSystemList", "documentation": "

Device operating systems that the updated rule will match.

" }, "NotDeviceOperatingSystems": { "shape": "DeviceOperatingSystemList", "documentation": "

Device operating systems that the updated rule will not match. All other device operating systems will match.

" }, "DeviceUserAgents": { "shape": "DeviceUserAgentList", "documentation": "

User agents that the updated rule will match.

" }, "NotDeviceUserAgents": { "shape": "DeviceUserAgentList", "documentation": "

User agents that the updated rule will not match. All other user agents will match.

" } } }, "UpdateMobileDeviceAccessRuleResponse": { "type": "structure", "members": {} }, "UpdatePrimaryEmailAddressRequest": { "type": "structure", "required": [ "OrganizationId", "EntityId", "Email" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The organization that contains the user, group, or resource to update.

" }, "EntityId": { "shape": "EntityIdentifier", "documentation": "

The user, group, or resource to update.

The identifier can accept UseriD, ResourceId, or GroupId, Username, Resourcename, or Groupname, or email. The following identity formats are available:

" }, "Email": { "shape": "EmailAddress", "documentation": "

The value of the email to be updated as primary.

" } } }, "UpdatePrimaryEmailAddressResponse": { "type": "structure", "members": {} }, "UpdateResourceRequest": { "type": "structure", "required": [ "OrganizationId", "ResourceId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The identifier associated with the organization for which the resource is updated.

" }, "ResourceId": { "shape": "EntityIdentifier", "documentation": "

The identifier of the resource to be updated.

The identifier can accept ResourceId, Resourcename, or email. The following identity formats are available:

" }, "Name": { "shape": "ResourceName", "documentation": "

The name of the resource to be updated.

" }, "BookingOptions": { "shape": "BookingOptions", "documentation": "

The resource's booking options to be updated.

" }, "Description": { "shape": "NewResourceDescription", "documentation": "

Updates the resource description.

" }, "Type": { "shape": "ResourceType", "documentation": "

Updates the resource type.

" }, "HiddenFromGlobalAddressList": { "shape": "BooleanObject", "documentation": "

If enabled, the resource is hidden from the global address list.

" } } }, "UpdateResourceResponse": { "type": "structure", "members": {} }, "UpdateUserRequest": { "type": "structure", "required": [ "OrganizationId", "UserId" ], "members": { "OrganizationId": { "shape": "OrganizationId", "documentation": "

The identifier for the organization under which the user exists.

" }, "UserId": { "shape": "EntityIdentifier", "documentation": "

The identifier for the user to be updated.

The identifier can be the UserId, Username, or email. The following identity formats are available:

" }, "Role": { "shape": "UserRole", "documentation": "

Updates the user role.

You cannot pass SYSTEM_USER or RESOURCE.

" }, "DisplayName": { "shape": "UserAttribute", "documentation": "

Updates the display name of the user.

" }, "FirstName": { "shape": "UserAttribute", "documentation": "

Updates the user's first name.

" }, "LastName": { "shape": "UserAttribute", "documentation": "

Updates the user's last name.

" }, "HiddenFromGlobalAddressList": { "shape": "BooleanObject", "documentation": "

If enabled, the user is hidden from the global address list.

" }, "Initials": { "shape": "UserAttribute", "documentation": "

Updates the user's initials.

" }, "Telephone": { "shape": "UserAttribute", "documentation": "

Updates the user's contact details.

" }, "Street": { "shape": "UserAttribute", "documentation": "

Updates the user's street address.

" }, "JobTitle": { "shape": "UserAttribute", "documentation": "

Updates the user's job title.

" }, "City": { "shape": "UserAttribute", "documentation": "

Updates the user's city.

" }, "Company": { "shape": "UserAttribute", "documentation": "

Updates the user's company.

" }, "ZipCode": { "shape": "UserAttribute", "documentation": "

Updates the user's zipcode.

" }, "Department": { "shape": "UserAttribute", "documentation": "

Updates the user's department.

" }, "Country": { "shape": "UserAttribute", "documentation": "

Updates the user's country.

" }, "Office": { "shape": "UserAttribute", "documentation": "

Updates the user's office.

" } } }, "UpdateUserResponse": { "type": "structure", "members": {} }, "Url": { "type": "string", "max": 256, "pattern": "https?://[A-Za-z0-9.-]+(:[0-9]+)?/.*" }, "User": { "type": "structure", "members": { "Id": { "shape": "WorkMailIdentifier", "documentation": "

The identifier of the user.

" }, "Email": { "shape": "EmailAddress", "documentation": "

The email of the user.

" }, "Name": { "shape": "UserName", "documentation": "

The name of the user.

" }, "DisplayName": { "shape": "String", "documentation": "

The display name of the user.

" }, "State": { "shape": "EntityState", "documentation": "

The state of the user, which can be ENABLED, DISABLED, or DELETED.

" }, "UserRole": { "shape": "UserRole", "documentation": "

The role of the user.

" }, "EnabledDate": { "shape": "Timestamp", "documentation": "

The date indicating when the user was enabled for WorkMail use.

" }, "DisabledDate": { "shape": "Timestamp", "documentation": "

The date indicating when the user was disabled from WorkMail use.

" } }, "documentation": "

The representation of an WorkMail user.

" }, "UserAttribute": { "type": "string", "max": 256, "sensitive": true }, "UserIdList": { "type": "list", "member": { "shape": "WorkMailIdentifier" }, "max": 10, "min": 0 }, "UserName": { "type": "string", "max": 64, "min": 1, "pattern": "[\\w\\-.]+(@[a-zA-Z0-9.\\-]+\\.[a-zA-Z0-9-]{2,})?" }, "UserRole": { "type": "string", "enum": [ "USER", "RESOURCE", "SYSTEM_USER", "REMOTE_USER" ] }, "Users": { "type": "list", "member": { "shape": "User" } }, "WorkMailDomainName": { "type": "string", "max": 209, "min": 3, "pattern": "[a-zA-Z0-9.-]+" }, "WorkMailIdentifier": { "type": "string", "max": 256, "min": 12 } }, "documentation": "

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.

The WorkMail API is designed for the following scenarios:

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.

" }