libZSservicesZSamazonka-workmailZSamazonka-workmail
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.WorkMail.Lens

Contents

Description

 
Synopsis

Operations

DescribeInboundDmarcSettings

GetMailDomain

getMailDomain_organizationId :: Lens' GetMailDomain Text Source #

The Amazon WorkMail organization for which the domain is retrieved.

getMailDomain_domainName :: Lens' GetMailDomain Text Source #

The domain from which you want to retrieve details.

getMailDomainResponse_isTestDomain :: Lens' GetMailDomainResponse (Maybe Bool) Source #

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

getMailDomainResponse_records :: Lens' GetMailDomainResponse (Maybe [DnsRecord]) Source #

A list of the DNS records that Amazon 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.

getMailDomainResponse_isDefault :: Lens' GetMailDomainResponse (Maybe Bool) Source #

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

UpdatePrimaryEmailAddress

updatePrimaryEmailAddress_organizationId :: Lens' UpdatePrimaryEmailAddress Text Source #

The organization that contains the user, group, or resource to update.

updatePrimaryEmailAddress_email :: Lens' UpdatePrimaryEmailAddress Text Source #

The value of the email to be updated as primary.

DescribeResource

describeResource_organizationId :: Lens' DescribeResource Text Source #

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

describeResource_resourceId :: Lens' DescribeResource Text Source #

The identifier of the resource to be described.

describeResourceResponse_state :: Lens' DescribeResourceResponse (Maybe EntityState) Source #

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

describeResourceResponse_disabledDate :: Lens' DescribeResourceResponse (Maybe UTCTime) Source #

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

describeResourceResponse_enabledDate :: Lens' DescribeResourceResponse (Maybe UTCTime) Source #

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

CreateOrganization

createOrganization_directoryId :: Lens' CreateOrganization (Maybe Text) Source #

The AWS Directory Service directory ID.

createOrganization_enableInteroperability :: Lens' CreateOrganization (Maybe Bool) Source #

When true, allows organization interoperability between Amazon WorkMail and Microsoft Exchange. Can only be set to true if an AD Connector directory ID is included in the request.

createOrganization_kmsKeyArn :: Lens' CreateOrganization (Maybe Text) Source #

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

createOrganization_clientToken :: Lens' CreateOrganization (Maybe Text) Source #

The idempotency token associated with the request.

createOrganization_domains :: Lens' CreateOrganization (Maybe [Domain]) Source #

The email domains to associate with the organization.

CreateAlias

createAlias_organizationId :: Lens' CreateAlias Text Source #

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

createAlias_entityId :: Lens' CreateAlias Text Source #

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

createAlias_alias :: Lens' CreateAlias Text Source #

The alias to add to the member set.

DeleteOrganization

deleteOrganization_clientToken :: Lens' DeleteOrganization (Maybe Text) Source #

The idempotency token associated with the request.

deleteOrganization_deleteDirectory :: Lens' DeleteOrganization Bool Source #

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

ResetPassword

resetPassword_organizationId :: Lens' ResetPassword Text Source #

The identifier of the organization that contains the user for which the password is reset.

resetPassword_userId :: Lens' ResetPassword Text Source #

The identifier of the user for whom the password is reset.

resetPassword_password :: Lens' ResetPassword Text Source #

The new password for the user.

DescribeGroup

describeGroup_organizationId :: Lens' DescribeGroup Text Source #

The identifier for the organization under which the group exists.

describeGroup_groupId :: Lens' DescribeGroup Text Source #

The identifier for the group to be described.

describeGroupResponse_state :: Lens' DescribeGroupResponse (Maybe EntityState) Source #

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

describeGroupResponse_disabledDate :: Lens' DescribeGroupResponse (Maybe UTCTime) Source #

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

describeGroupResponse_groupId :: Lens' DescribeGroupResponse (Maybe Text) Source #

The identifier of the described group.

describeGroupResponse_enabledDate :: Lens' DescribeGroupResponse (Maybe UTCTime) Source #

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

DescribeMailboxExportJob

describeMailboxExportJobResponse_kmsKeyArn :: Lens' DescribeMailboxExportJobResponse (Maybe Text) Source #

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

describeMailboxExportJobResponse_estimatedProgress :: Lens' DescribeMailboxExportJobResponse (Maybe Natural) Source #

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

describeMailboxExportJobResponse_s3Path :: Lens' DescribeMailboxExportJobResponse (Maybe Text) Source #

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

describeMailboxExportJobResponse_entityId :: Lens' DescribeMailboxExportJobResponse (Maybe Text) Source #

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

describeMailboxExportJobResponse_roleArn :: Lens' DescribeMailboxExportJobResponse (Maybe Text) Source #

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

ListTagsForResource

RegisterToWorkMail

registerToWorkMail_organizationId :: Lens' RegisterToWorkMail Text Source #

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

registerToWorkMail_entityId :: Lens' RegisterToWorkMail Text Source #

The identifier for the user, group, or resource to be updated.

registerToWorkMail_email :: Lens' RegisterToWorkMail Text Source #

The email for the user, group, or resource to be updated.

ListAliases

listAliases_nextToken :: Lens' ListAliases (Maybe Text) Source #

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

listAliases_maxResults :: Lens' ListAliases (Maybe Natural) Source #

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

listAliases_organizationId :: Lens' ListAliases Text Source #

The identifier for the organization under which the entity exists.

listAliases_entityId :: Lens' ListAliases Text Source #

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

listAliasesResponse_nextToken :: Lens' ListAliasesResponse (Maybe Text) Source #

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

PutMailboxPermissions

putMailboxPermissions_organizationId :: Lens' PutMailboxPermissions Text Source #

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

putMailboxPermissions_entityId :: Lens' PutMailboxPermissions Text Source #

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

putMailboxPermissions_granteeId :: Lens' PutMailboxPermissions Text Source #

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

putMailboxPermissions_permissionValues :: Lens' PutMailboxPermissions [PermissionType] Source #

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.

GetMobileDeviceAccessEffect

getMobileDeviceAccessEffect_deviceOperatingSystem :: Lens' GetMobileDeviceAccessEffect (Maybe Text) Source #

Device operating system the simulated user will report.

getMobileDeviceAccessEffect_organizationId :: Lens' GetMobileDeviceAccessEffect Text Source #

The Amazon WorkMail organization to simulate the access effect for.

getMobileDeviceAccessEffectResponse_effect :: Lens' GetMobileDeviceAccessEffectResponse (Maybe MobileDeviceAccessRuleEffect) Source #

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

getMobileDeviceAccessEffectResponse_matchedRules :: Lens' GetMobileDeviceAccessEffectResponse (Maybe [MobileDeviceAccessMatchedRule]) Source #

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

DeleteMailboxPermissions

deleteMailboxPermissions_organizationId :: Lens' DeleteMailboxPermissions Text Source #

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

deleteMailboxPermissions_entityId :: Lens' DeleteMailboxPermissions Text Source #

The identifier of the member (user or group) that owns the mailbox.

deleteMailboxPermissions_granteeId :: Lens' DeleteMailboxPermissions Text Source #

The identifier of the member (user or group) for which to delete granted permissions.

ListUsers

listUsers_nextToken :: Lens' ListUsers (Maybe Text) Source #

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

listUsers_maxResults :: Lens' ListUsers (Maybe Natural) Source #

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

listUsers_organizationId :: Lens' ListUsers Text Source #

The identifier for the organization under which the users exist.

listUsersResponse_users :: Lens' ListUsersResponse (Maybe [User]) Source #

The overview of users for an organization.

listUsersResponse_nextToken :: Lens' ListUsersResponse (Maybe Text) Source #

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

listUsersResponse_httpStatus :: Lens' ListUsersResponse Int Source #

The response's http status code.

PutInboundDmarcSettings

putInboundDmarcSettings_organizationId :: Lens' PutInboundDmarcSettings Text Source #

The ID of the organization that you are applying the DMARC policy to.

putInboundDmarcSettings_enforced :: Lens' PutInboundDmarcSettings Bool Source #

Enforces or suspends a policy after it's applied.

GetMailboxDetails

getMailboxDetails_organizationId :: Lens' GetMailboxDetails Text Source #

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

getMailboxDetails_userId :: Lens' GetMailboxDetails Text Source #

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

getMailboxDetailsResponse_mailboxQuota :: Lens' GetMailboxDetailsResponse (Maybe Natural) Source #

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

getMailboxDetailsResponse_mailboxSize :: Lens' GetMailboxDetailsResponse (Maybe Double) Source #

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

AssociateMemberToGroup

associateMemberToGroup_organizationId :: Lens' AssociateMemberToGroup Text Source #

The organization under which the group exists.

associateMemberToGroup_groupId :: Lens' AssociateMemberToGroup Text Source #

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

associateMemberToGroup_memberId :: Lens' AssociateMemberToGroup Text Source #

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

DeleteResource

deleteResource_organizationId :: Lens' DeleteResource Text Source #

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

deleteResource_resourceId :: Lens' DeleteResource Text Source #

The identifier of the resource to be deleted.

UpdateResource

updateResource_name :: Lens' UpdateResource (Maybe Text) Source #

The name of the resource to be updated.

updateResource_bookingOptions :: Lens' UpdateResource (Maybe BookingOptions) Source #

The resource's booking options to be updated.

updateResource_organizationId :: Lens' UpdateResource Text Source #

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

updateResource_resourceId :: Lens' UpdateResource Text Source #

The identifier of the resource to be updated.

DisassociateMemberFromGroup

disassociateMemberFromGroup_organizationId :: Lens' DisassociateMemberFromGroup Text Source #

The identifier for the organization under which the group exists.

disassociateMemberFromGroup_groupId :: Lens' DisassociateMemberFromGroup Text Source #

The identifier for the group from which members are removed.

disassociateMemberFromGroup_memberId :: Lens' DisassociateMemberFromGroup Text Source #

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

ListResources

listResources_nextToken :: Lens' ListResources (Maybe Text) Source #

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

listResources_maxResults :: Lens' ListResources (Maybe Natural) Source #

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

listResources_organizationId :: Lens' ListResources Text Source #

The identifier for the organization under which the resources exist.

listResourcesResponse_resources :: Lens' ListResourcesResponse (Maybe [Resource]) Source #

One page of the organization's resource representation.

listResourcesResponse_nextToken :: Lens' ListResourcesResponse (Maybe Text) Source #

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.

DeregisterFromWorkMail

deregisterFromWorkMail_organizationId :: Lens' DeregisterFromWorkMail Text Source #

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

deregisterFromWorkMail_entityId :: Lens' DeregisterFromWorkMail Text Source #

The identifier for the member (user or group) to be updated.

ListMailboxExportJobs

listMailboxExportJobs_nextToken :: Lens' ListMailboxExportJobs (Maybe Text) Source #

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

listMailboxExportJobs_maxResults :: Lens' ListMailboxExportJobs (Maybe Natural) Source #

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

listMailboxExportJobsResponse_nextToken :: Lens' ListMailboxExportJobsResponse (Maybe Text) Source #

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

CreateMobileDeviceAccessRule

createMobileDeviceAccessRule_notDeviceTypes :: Lens' CreateMobileDeviceAccessRule (Maybe (NonEmpty Text)) Source #

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

createMobileDeviceAccessRule_notDeviceOperatingSystems :: Lens' CreateMobileDeviceAccessRule (Maybe (NonEmpty Text)) Source #

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

createMobileDeviceAccessRule_notDeviceUserAgents :: Lens' CreateMobileDeviceAccessRule (Maybe (NonEmpty Text)) Source #

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

createMobileDeviceAccessRule_notDeviceModels :: Lens' CreateMobileDeviceAccessRule (Maybe (NonEmpty Text)) Source #

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

createMobileDeviceAccessRule_organizationId :: Lens' CreateMobileDeviceAccessRule Text Source #

The Amazon WorkMail organization under which the rule will be created.

createMobileDeviceAccessRule_effect :: Lens' CreateMobileDeviceAccessRule MobileDeviceAccessRuleEffect Source #

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

ListMailboxPermissions

listMailboxPermissions_nextToken :: Lens' ListMailboxPermissions (Maybe Text) Source #

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

listMailboxPermissions_maxResults :: Lens' ListMailboxPermissions (Maybe Natural) Source #

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

listMailboxPermissions_organizationId :: Lens' ListMailboxPermissions Text Source #

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

listMailboxPermissions_entityId :: Lens' ListMailboxPermissions Text Source #

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

listMailboxPermissionsResponse_nextToken :: Lens' ListMailboxPermissionsResponse (Maybe Text) Source #

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

listMailboxPermissionsResponse_permissions :: Lens' ListMailboxPermissionsResponse (Maybe [Permission]) Source #

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

GetMobileDeviceAccessOverride

getMobileDeviceAccessOverride_organizationId :: Lens' GetMobileDeviceAccessOverride Text Source #

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

getMobileDeviceAccessOverride_userId :: Lens' GetMobileDeviceAccessOverride Text Source #

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

  • User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
  • Email address: user@domain.tld
  • User name: user

getMobileDeviceAccessOverride_deviceId :: Lens' GetMobileDeviceAccessOverride Text Source #

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

ListGroupMembers

listGroupMembers_nextToken :: Lens' ListGroupMembers (Maybe Text) Source #

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

listGroupMembers_maxResults :: Lens' ListGroupMembers (Maybe Natural) Source #

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

listGroupMembers_organizationId :: Lens' ListGroupMembers Text Source #

The identifier for the organization under which the group exists.

listGroupMembers_groupId :: Lens' ListGroupMembers Text Source #

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

listGroupMembersResponse_nextToken :: Lens' ListGroupMembersResponse (Maybe Text) Source #

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

DisassociateDelegateFromResource

disassociateDelegateFromResource_organizationId :: Lens' DisassociateDelegateFromResource Text Source #

The identifier for the organization under which the resource exists.

disassociateDelegateFromResource_resourceId :: Lens' DisassociateDelegateFromResource Text Source #

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

disassociateDelegateFromResource_entityId :: Lens' DisassociateDelegateFromResource Text Source #

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

DeleteAccessControlRule

ListResourceDelegates

listResourceDelegates_nextToken :: Lens' ListResourceDelegates (Maybe Text) Source #

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

listResourceDelegates_organizationId :: Lens' ListResourceDelegates Text Source #

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

listResourceDelegates_resourceId :: Lens' ListResourceDelegates Text Source #

The identifier for the resource whose delegates are listed.

listResourceDelegatesResponse_nextToken :: Lens' ListResourceDelegatesResponse (Maybe Text) Source #

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.

ListAccessControlRules

DescribeUser

describeUser_organizationId :: Lens' DescribeUser Text Source #

The identifier for the organization under which the user exists.

describeUser_userId :: Lens' DescribeUser Text Source #

The identifier for the user to be described.

describeUserResponse_state :: Lens' DescribeUserResponse (Maybe EntityState) Source #

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

describeUserResponse_userId :: Lens' DescribeUserResponse (Maybe Text) Source #

The identifier for the described user.

describeUserResponse_disabledDate :: Lens' DescribeUserResponse (Maybe UTCTime) Source #

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

describeUserResponse_userRole :: Lens' DescribeUserResponse (Maybe UserRole) Source #

In certain cases, other entities are modeled as users. If interoperability is enabled, resources are imported into Amazon 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, and SYSTEM_USER.

describeUserResponse_enabledDate :: Lens' DescribeUserResponse (Maybe UTCTime) Source #

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

PutAccessControlRule

putAccessControlRule_actions :: Lens' PutAccessControlRule (Maybe [Text]) Source #

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

putAccessControlRule_ipRanges :: Lens' PutAccessControlRule (Maybe [Text]) Source #

IPv4 CIDR ranges to include in the rule.

putAccessControlRule_notIpRanges :: Lens' PutAccessControlRule (Maybe [Text]) Source #

IPv4 CIDR ranges to exclude from the rule.

putAccessControlRule_notActions :: Lens' PutAccessControlRule (Maybe [Text]) Source #

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

StartMailboxExportJob

startMailboxExportJob_clientToken :: Lens' StartMailboxExportJob Text Source #

The idempotency token for the client request.

startMailboxExportJob_organizationId :: Lens' StartMailboxExportJob Text Source #

The identifier associated with the organization.

startMailboxExportJob_entityId :: Lens' StartMailboxExportJob Text Source #

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

startMailboxExportJob_roleArn :: Lens' StartMailboxExportJob Text Source #

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

startMailboxExportJob_kmsKeyArn :: Lens' StartMailboxExportJob Text Source #

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

DeleteAlias

deleteAlias_organizationId :: Lens' DeleteAlias Text Source #

The identifier for the organization under which the user exists.

deleteAlias_entityId :: Lens' DeleteAlias Text Source #

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

deleteAlias_alias :: Lens' DeleteAlias Text Source #

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

ListOrganizations

listOrganizations_nextToken :: Lens' ListOrganizations (Maybe Text) Source #

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

listOrganizations_maxResults :: Lens' ListOrganizations (Maybe Natural) Source #

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

listOrganizationsResponse_nextToken :: Lens' ListOrganizationsResponse (Maybe Text) Source #

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

listOrganizationsResponse_organizationSummaries :: Lens' ListOrganizationsResponse (Maybe [OrganizationSummary]) Source #

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

AssociateDelegateToResource

associateDelegateToResource_organizationId :: Lens' AssociateDelegateToResource Text Source #

The organization under which the resource exists.

associateDelegateToResource_resourceId :: Lens' AssociateDelegateToResource Text Source #

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

associateDelegateToResource_entityId :: Lens' AssociateDelegateToResource Text Source #

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

GetAccessControlEffect

getAccessControlEffect_action :: Lens' GetAccessControlEffect Text Source #

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

getAccessControlEffectResponse_matchedRules :: Lens' GetAccessControlEffectResponse (Maybe [Text]) Source #

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

DeleteRetentionPolicy

CreateUser

createUser_organizationId :: Lens' CreateUser Text Source #

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

createUser_name :: Lens' CreateUser Text Source #

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

createUser_displayName :: Lens' CreateUser Text Source #

The display name for the new user.

createUser_password :: Lens' CreateUser Text Source #

The password for the new user.

createUserResponse_userId :: Lens' CreateUserResponse (Maybe Text) Source #

The identifier for the new user.

PutRetentionPolicy

ListMailDomains

listMailDomains_nextToken :: Lens' ListMailDomains (Maybe Text) Source #

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

listMailDomains_maxResults :: Lens' ListMailDomains (Maybe Natural) Source #

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

listMailDomains_organizationId :: Lens' ListMailDomains Text Source #

The Amazon WorkMail organization for which to list domains.

listMailDomainsResponse_nextToken :: Lens' ListMailDomainsResponse (Maybe Text) Source #

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

listMailDomainsResponse_mailDomains :: Lens' ListMailDomainsResponse (Maybe [MailDomainSummary]) Source #

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

DeleteUser

deleteUser_organizationId :: Lens' DeleteUser Text Source #

The organization that contains the user to be deleted.

deleteUser_userId :: Lens' DeleteUser Text Source #

The identifier of the user to be deleted.

TagResource

tagResource_tags :: Lens' TagResource [Tag] Source #

The tag key-value pairs.

RegisterMailDomain

registerMailDomain_clientToken :: Lens' RegisterMailDomain (Maybe Text) Source #

Idempotency token used when retrying requests.

registerMailDomain_organizationId :: Lens' RegisterMailDomain Text Source #

The Amazon WorkMail organization under which you're creating the domain.

registerMailDomain_domainName :: Lens' RegisterMailDomain Text Source #

The name of the mail domain to create in Amazon WorkMail and SES.

UpdateDefaultMailDomain

updateDefaultMailDomain_organizationId :: Lens' UpdateDefaultMailDomain Text Source #

The Amazon WorkMail organization for which to list domains.

updateDefaultMailDomain_domainName :: Lens' UpdateDefaultMailDomain Text Source #

The domain name that will become the default domain.

UpdateMobileDeviceAccessRule

updateMobileDeviceAccessRule_notDeviceTypes :: Lens' UpdateMobileDeviceAccessRule (Maybe (NonEmpty Text)) Source #

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

updateMobileDeviceAccessRule_notDeviceOperatingSystems :: Lens' UpdateMobileDeviceAccessRule (Maybe (NonEmpty Text)) Source #

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

updateMobileDeviceAccessRule_deviceOperatingSystems :: Lens' UpdateMobileDeviceAccessRule (Maybe (NonEmpty Text)) Source #

Device operating systems that the updated rule will match.

updateMobileDeviceAccessRule_notDeviceUserAgents :: Lens' UpdateMobileDeviceAccessRule (Maybe (NonEmpty Text)) Source #

User agents that the updated rule will not match. All other user agents will match.

updateMobileDeviceAccessRule_notDeviceModels :: Lens' UpdateMobileDeviceAccessRule (Maybe (NonEmpty Text)) Source #

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

updateMobileDeviceAccessRule_organizationId :: Lens' UpdateMobileDeviceAccessRule Text Source #

The Amazon WorkMail organization under which the rule will be updated.

updateMobileDeviceAccessRule_effect :: Lens' UpdateMobileDeviceAccessRule MobileDeviceAccessRuleEffect Source #

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

DeleteMobileDeviceAccessRule

deleteMobileDeviceAccessRule_organizationId :: Lens' DeleteMobileDeviceAccessRule Text Source #

The Amazon WorkMail organization under which the rule will be deleted.

CreateGroup

createGroup_organizationId :: Lens' CreateGroup Text Source #

The organization under which the group is to be created.

createGroup_name :: Lens' CreateGroup Text Source #

The name of the group.

UpdateMailboxQuota

updateMailboxQuota_organizationId :: Lens' UpdateMailboxQuota Text Source #

The identifier for the organization that contains the user for whom to update the mailbox quota.

updateMailboxQuota_userId :: Lens' UpdateMailboxQuota Text Source #

The identifer for the user for whom to update the mailbox quota.

updateMailboxQuota_mailboxQuota :: Lens' UpdateMailboxQuota Natural Source #

The updated mailbox quota, in MB, for the specified user.

UntagResource

ListMobileDeviceAccessRules

listMobileDeviceAccessRules_organizationId :: Lens' ListMobileDeviceAccessRules Text Source #

The Amazon WorkMail organization for which to list the rules.

listMobileDeviceAccessRulesResponse_rules :: Lens' ListMobileDeviceAccessRulesResponse (Maybe [MobileDeviceAccessRule]) Source #

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

DeleteGroup

deleteGroup_organizationId :: Lens' DeleteGroup Text Source #

The organization that contains the group.

deleteGroup_groupId :: Lens' DeleteGroup Text Source #

The identifier of the group to be deleted.

ListGroups

listGroups_nextToken :: Lens' ListGroups (Maybe Text) Source #

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

listGroups_maxResults :: Lens' ListGroups (Maybe Natural) Source #

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

listGroups_organizationId :: Lens' ListGroups Text Source #

The identifier for the organization under which the groups exist.

listGroupsResponse_groups :: Lens' ListGroupsResponse (Maybe [Group]) Source #

The overview of groups for an organization.

listGroupsResponse_nextToken :: Lens' ListGroupsResponse (Maybe Text) Source #

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

DescribeOrganization

describeOrganization_organizationId :: Lens' DescribeOrganization Text Source #

The identifier for the organization to be described.

describeOrganizationResponse_directoryId :: Lens' DescribeOrganizationResponse (Maybe Text) Source #

The identifier for the directory associated with an Amazon WorkMail organization.

describeOrganizationResponse_arn :: Lens' DescribeOrganizationResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the organization.

describeOrganizationResponse_completedDate :: Lens' DescribeOrganizationResponse (Maybe UTCTime) Source #

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

describeOrganizationResponse_directoryType :: Lens' DescribeOrganizationResponse (Maybe Text) Source #

The type of directory associated with the WorkMail organization.

describeOrganizationResponse_defaultMailDomain :: Lens' DescribeOrganizationResponse (Maybe Text) Source #

The default mail domain associated with the organization.

describeOrganizationResponse_errorMessage :: Lens' DescribeOrganizationResponse (Maybe Text) Source #

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

CreateResource

createResource_organizationId :: Lens' CreateResource Text Source #

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

createResource_name :: Lens' CreateResource Text Source #

The name of the new resource.

createResource_type :: Lens' CreateResource ResourceType Source #

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

GetDefaultRetentionPolicy

DeregisterMailDomain

deregisterMailDomain_organizationId :: Lens' DeregisterMailDomain Text Source #

The Amazon WorkMail organization for which the domain will be deregistered.

deregisterMailDomain_domainName :: Lens' DeregisterMailDomain Text Source #

The domain to deregister in WorkMail and SES.

CancelMailboxExportJob

cancelMailboxExportJob_clientToken :: Lens' CancelMailboxExportJob Text Source #

The idempotency token for the client request.

ListMobileDeviceAccessOverrides

listMobileDeviceAccessOverrides_userId :: Lens' ListMobileDeviceAccessOverrides (Maybe Text) Source #

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

  • User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
  • Email address: user@domain.tld
  • User name: user

listMobileDeviceAccessOverrides_nextToken :: Lens' ListMobileDeviceAccessOverrides (Maybe Text) Source #

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

listMobileDeviceAccessOverrides_deviceId :: Lens' ListMobileDeviceAccessOverrides (Maybe Text) Source #

The mobile device to which the access override applies.

listMobileDeviceAccessOverrides_maxResults :: Lens' ListMobileDeviceAccessOverrides (Maybe Natural) Source #

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

listMobileDeviceAccessOverrides_organizationId :: Lens' ListMobileDeviceAccessOverrides Text Source #

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

listMobileDeviceAccessOverridesResponse_overrides :: Lens' ListMobileDeviceAccessOverridesResponse (Maybe [MobileDeviceAccessOverride]) Source #

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

listMobileDeviceAccessOverridesResponse_nextToken :: Lens' ListMobileDeviceAccessOverridesResponse (Maybe Text) Source #

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

DeleteMobileDeviceAccessOverride

deleteMobileDeviceAccessOverride_organizationId :: Lens' DeleteMobileDeviceAccessOverride Text Source #

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

deleteMobileDeviceAccessOverride_userId :: Lens' DeleteMobileDeviceAccessOverride Text Source #

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

  • User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
  • Email address: user@domain.tld
  • User name: user

deleteMobileDeviceAccessOverride_deviceId :: Lens' DeleteMobileDeviceAccessOverride Text Source #

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

PutMobileDeviceAccessOverride

putMobileDeviceAccessOverride_organizationId :: Lens' PutMobileDeviceAccessOverride Text Source #

Identifies the Amazon WorkMail organization for which you create the override.

putMobileDeviceAccessOverride_userId :: Lens' PutMobileDeviceAccessOverride Text Source #

The WorkMail user for which you create the override. Accepts the following types of user identities:

  • User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
  • Email address: user@domain.tld
  • User name: user

putMobileDeviceAccessOverride_deviceId :: Lens' PutMobileDeviceAccessOverride Text Source #

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

Types

AccessControlRule

accessControlRule_userIds :: Lens' AccessControlRule (Maybe [Text]) Source #

User IDs to include in the rule.

accessControlRule_actions :: Lens' AccessControlRule (Maybe [Text]) Source #

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

accessControlRule_notUserIds :: Lens' AccessControlRule (Maybe [Text]) Source #

User IDs to exclude from the rule.

accessControlRule_ipRanges :: Lens' AccessControlRule (Maybe [Text]) Source #

IPv4 CIDR ranges to include in the rule.

accessControlRule_notIpRanges :: Lens' AccessControlRule (Maybe [Text]) Source #

IPv4 CIDR ranges to exclude from the rule.

accessControlRule_notActions :: Lens' AccessControlRule (Maybe [Text]) Source #

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

BookingOptions

bookingOptions_autoDeclineConflictingRequests :: Lens' BookingOptions (Maybe Bool) Source #

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

bookingOptions_autoDeclineRecurringRequests :: Lens' BookingOptions (Maybe Bool) Source #

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

bookingOptions_autoAcceptRequests :: Lens' BookingOptions (Maybe Bool) Source #

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

Delegate

delegate_id :: Lens' Delegate Text Source #

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

delegate_type :: Lens' Delegate MemberType Source #

The type of the delegate: user or group.

DnsRecord

dnsRecord_hostname :: Lens' DnsRecord (Maybe Text) Source #

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

dnsRecord_value :: Lens' DnsRecord (Maybe Text) Source #

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

dnsRecord_type :: Lens' DnsRecord (Maybe Text) Source #

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

Domain

domain_hostedZoneId :: Lens' Domain (Maybe Text) Source #

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

domain_domainName :: Lens' Domain (Maybe Text) Source #

The fully qualified domain name.

FolderConfiguration

folderConfiguration_period :: Lens' FolderConfiguration (Maybe Natural) Source #

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

folderConfiguration_action :: Lens' FolderConfiguration RetentionAction Source #

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

Group

group_email :: Lens' Group (Maybe Text) Source #

The email of the group.

group_state :: Lens' Group (Maybe EntityState) Source #

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

group_disabledDate :: Lens' Group (Maybe UTCTime) Source #

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

group_name :: Lens' Group (Maybe Text) Source #

The name of the group.

group_id :: Lens' Group (Maybe Text) Source #

The identifier of the group.

group_enabledDate :: Lens' Group (Maybe UTCTime) Source #

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

MailDomainSummary

mailDomainSummary_defaultDomain :: Lens' MailDomainSummary (Maybe Bool) Source #

Whether the domain is default or not.

MailboxExportJob

mailboxExportJob_jobId :: Lens' MailboxExportJob (Maybe Text) Source #

The identifier of the mailbox export job.

mailboxExportJob_startTime :: Lens' MailboxExportJob (Maybe UTCTime) Source #

The mailbox export job start timestamp.

mailboxExportJob_estimatedProgress :: Lens' MailboxExportJob (Maybe Natural) Source #

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

mailboxExportJob_endTime :: Lens' MailboxExportJob (Maybe UTCTime) Source #

The mailbox export job end timestamp.

mailboxExportJob_s3Path :: Lens' MailboxExportJob (Maybe Text) Source #

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

mailboxExportJob_entityId :: Lens' MailboxExportJob (Maybe Text) Source #

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

mailboxExportJob_description :: Lens' MailboxExportJob (Maybe Text) Source #

The mailbox export job description.

Member

member_state :: Lens' Member (Maybe EntityState) Source #

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

member_disabledDate :: Lens' Member (Maybe UTCTime) Source #

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

member_name :: Lens' Member (Maybe Text) Source #

The name of the member.

member_id :: Lens' Member (Maybe Text) Source #

The identifier of the member.

member_type :: Lens' Member (Maybe MemberType) Source #

A member can be a user or group.

member_enabledDate :: Lens' Member (Maybe UTCTime) Source #

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

MobileDeviceAccessMatchedRule

mobileDeviceAccessMatchedRule_name :: Lens' MobileDeviceAccessMatchedRule (Maybe Text) Source #

Name of a rule that a simulated user matches.

MobileDeviceAccessOverride

mobileDeviceAccessOverride_userId :: Lens' MobileDeviceAccessOverride (Maybe Text) Source #

The WorkMail user to which the access override applies.

MobileDeviceAccessRule

mobileDeviceAccessRule_effect :: Lens' MobileDeviceAccessRule (Maybe MobileDeviceAccessRuleEffect) Source #

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

mobileDeviceAccessRule_notDeviceTypes :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text)) Source #

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

mobileDeviceAccessRule_notDeviceOperatingSystems :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text)) Source #

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

mobileDeviceAccessRule_dateCreated :: Lens' MobileDeviceAccessRule (Maybe UTCTime) Source #

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

mobileDeviceAccessRule_dateModified :: Lens' MobileDeviceAccessRule (Maybe UTCTime) Source #

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

mobileDeviceAccessRule_notDeviceUserAgents :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text)) Source #

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

mobileDeviceAccessRule_notDeviceModels :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text)) Source #

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

OrganizationSummary

organizationSummary_state :: Lens' OrganizationSummary (Maybe Text) Source #

The state associated with the organization.

organizationSummary_alias :: Lens' OrganizationSummary (Maybe Text) Source #

The alias associated with the organization.

organizationSummary_defaultMailDomain :: Lens' OrganizationSummary (Maybe Text) Source #

The default email domain associated with the organization.

organizationSummary_errorMessage :: Lens' OrganizationSummary (Maybe Text) Source #

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.

organizationSummary_organizationId :: Lens' OrganizationSummary (Maybe Text) Source #

The identifier associated with the organization.

Permission

permission_granteeId :: Lens' Permission Text Source #

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

permission_granteeType :: Lens' Permission MemberType Source #

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

permission_permissionValues :: Lens' Permission [PermissionType] Source #

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.

Resource

resource_email :: Lens' Resource (Maybe Text) Source #

The email of the resource.

resource_state :: Lens' Resource (Maybe EntityState) Source #

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

resource_disabledDate :: Lens' Resource (Maybe UTCTime) Source #

The date indicating when the resource was disabled from Amazon WorkMail use.

resource_name :: Lens' Resource (Maybe Text) Source #

The name of the resource.

resource_id :: Lens' Resource (Maybe Text) Source #

The identifier of the resource.

resource_type :: Lens' Resource (Maybe ResourceType) Source #

The type of the resource: equipment or room.

resource_enabledDate :: Lens' Resource (Maybe UTCTime) Source #

The date indicating when the resource was enabled for Amazon WorkMail use.

Tag

tag_key :: Lens' Tag Text Source #

The key of the tag.

tag_value :: Lens' Tag Text Source #

The value of the tag.

User

user_email :: Lens' User (Maybe Text) Source #

The email of the user.

user_state :: Lens' User (Maybe EntityState) Source #

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

user_disabledDate :: Lens' User (Maybe UTCTime) Source #

The date indicating when the user was disabled from Amazon WorkMail use.

user_name :: Lens' User (Maybe Text) Source #

The name of the user.

user_id :: Lens' User (Maybe Text) Source #

The identifier of the user.

user_displayName :: Lens' User (Maybe Text) Source #

The display name of the user.

user_userRole :: Lens' User (Maybe UserRole) Source #

The role of the user.

user_enabledDate :: Lens' User (Maybe UTCTime) Source #

The date indicating when the user was enabled for Amazon WorkMail use.