amazonka-workmail-2.0: Amazon WorkMail SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.WorkMail.Lens

Contents

Description

 
Synopsis

Operations

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.

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.

AssumeImpersonationRole

assumeImpersonationRole_organizationId :: Lens' AssumeImpersonationRole Text Source #

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

assumeImpersonationRoleResponse_token :: Lens' AssumeImpersonationRoleResponse (Maybe Text) Source #

The authentication token for the impersonation role.

CancelMailboxExportJob

cancelMailboxExportJob_clientToken :: Lens' CancelMailboxExportJob Text Source #

The idempotency token for the client request.

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.

CreateAvailabilityConfiguration

createAvailabilityConfiguration_clientToken :: Lens' CreateAvailabilityConfiguration (Maybe Text) Source #

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

createAvailabilityConfiguration_ewsProvider :: Lens' CreateAvailabilityConfiguration (Maybe EwsAvailabilityProvider) Source #

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

createAvailabilityConfiguration_lambdaProvider :: Lens' CreateAvailabilityConfiguration (Maybe LambdaAvailabilityProvider) Source #

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

createAvailabilityConfiguration_organizationId :: Lens' CreateAvailabilityConfiguration Text Source #

The WorkMail organization for which the AvailabilityConfiguration will be created.

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.

CreateImpersonationRole

createImpersonationRole_clientToken :: Lens' CreateImpersonationRole (Maybe Text) Source #

The idempotency token for the client request.

createImpersonationRole_description :: Lens' CreateImpersonationRole (Maybe Text) Source #

The description of the new impersonation role.

createImpersonationRole_organizationId :: Lens' CreateImpersonationRole Text Source #

The WorkMail organization to create the new impersonation role within.

createImpersonationRole_name :: Lens' CreateImpersonationRole Text Source #

The name of the new impersonation role.

createImpersonationRole_type :: Lens' CreateImpersonationRole ImpersonationRoleType Source #

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

createImpersonationRole_rules :: Lens' CreateImpersonationRole [ImpersonationRule] Source #

The list of rules for the impersonation role.

CreateMobileDeviceAccessRule

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

Device models that the rule will not match. All other device models 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_notDeviceTypes :: Lens' CreateMobileDeviceAccessRule (Maybe (NonEmpty Text)) Source #

Device types that the rule will not match. All other device types 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_organizationId :: Lens' CreateMobileDeviceAccessRule Text Source #

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

CreateOrganization

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

The idempotency token associated with the request.

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

The AWS Directory Service directory ID.

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

The email domains to associate with the organization.

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

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

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

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

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.

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.

DeleteAccessControlRule

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

DeleteAvailabilityConfiguration

deleteAvailabilityConfiguration_organizationId :: Lens' DeleteAvailabilityConfiguration Text Source #

The WorkMail organization for which the AvailabilityConfiguration will be deleted.

deleteAvailabilityConfiguration_domainName :: Lens' DeleteAvailabilityConfiguration Text Source #

The domain for which the AvailabilityConfiguration will be deleted.

DeleteEmailMonitoringConfiguration

deleteEmailMonitoringConfiguration_organizationId :: Lens' DeleteEmailMonitoringConfiguration Text Source #

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

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.

DeleteImpersonationRole

deleteImpersonationRole_organizationId :: Lens' DeleteImpersonationRole Text Source #

The WorkMail organization from which to delete the impersonation role.

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.

DeleteMobileDeviceAccessOverride

deleteMobileDeviceAccessOverride_organizationId :: Lens' DeleteMobileDeviceAccessOverride Text Source #

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

DeleteMobileDeviceAccessRule

deleteMobileDeviceAccessRule_organizationId :: Lens' DeleteMobileDeviceAccessRule Text Source #

The WorkMail organization under which the rule will be deleted.

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.

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.

DeleteRetentionPolicy

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.

DeregisterFromWorkMail

deregisterFromWorkMail_organizationId :: Lens' DeregisterFromWorkMail Text Source #

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

deregisterFromWorkMail_entityId :: Lens' DeregisterFromWorkMail Text Source #

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

DeregisterMailDomain

deregisterMailDomain_organizationId :: Lens' DeregisterMailDomain Text Source #

The WorkMail organization for which the domain will be deregistered.

deregisterMailDomain_domainName :: Lens' DeregisterMailDomain Text Source #

The domain to deregister in WorkMail and SES.

DescribeEmailMonitoringConfiguration

describeEmailMonitoringConfiguration_organizationId :: Lens' DescribeEmailMonitoringConfiguration Text Source #

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

describeEmailMonitoringConfigurationResponse_logGroupArn :: Lens' DescribeEmailMonitoringConfigurationResponse (Maybe Text) Source #

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

describeEmailMonitoringConfigurationResponse_roleArn :: Lens' DescribeEmailMonitoringConfigurationResponse (Maybe Text) Source #

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

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_disabledDate :: Lens' DescribeGroupResponse (Maybe UTCTime) Source #

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

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

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

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

The identifier of the described group.

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

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

DescribeInboundDmarcSettings

DescribeMailboxExportJob

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

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

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

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

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

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

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

DescribeOrganization

describeOrganization_organizationId :: Lens' DescribeOrganization Text Source #

The identifier for the organization to be described.

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_defaultMailDomain :: Lens' DescribeOrganizationResponse (Maybe Text) Source #

The default mail domain associated with the organization.

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

The identifier for the directory associated with an WorkMail organization.

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

The type of directory associated with the WorkMail organization.

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

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

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

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

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

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_disabledDate :: Lens' DescribeUserResponse (Maybe UTCTime) Source #

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

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

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

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

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

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

The identifier for the described user.

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

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, and SYSTEM_USER.

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.

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.

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.

GetDefaultRetentionPolicy

GetImpersonationRole

getImpersonationRole_organizationId :: Lens' GetImpersonationRole Text Source #

The WorkMail organization from which to retrieve the impersonation role.

getImpersonationRoleResponse_dateModified :: Lens' GetImpersonationRoleResponse (Maybe UTCTime) Source #

The date when the impersonation role was last modified.

getImpersonationRoleResponse_rules :: Lens' GetImpersonationRoleResponse (Maybe [ImpersonationRule]) Source #

The list of rules for the given impersonation role.

GetImpersonationRoleEffect

getImpersonationRoleEffect_organizationId :: Lens' GetImpersonationRoleEffect Text Source #

The WorkMail organization where the impersonation role is defined.

getImpersonationRoleEffect_targetUser :: Lens' GetImpersonationRoleEffect Text Source #

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

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

getImpersonationRoleEffectResponse_effect :: Lens' GetImpersonationRoleEffectResponse (Maybe AccessEffect) Source #

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

getImpersonationRoleEffectResponse_matchedRules :: Lens' GetImpersonationRoleEffectResponse (Maybe [ImpersonationMatchedRule]) Source #

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

GetMailDomain

getMailDomain_organizationId :: Lens' GetMailDomain Text Source #

The WorkMail organization for which the domain is retrieved.

getMailDomain_domainName :: Lens' GetMailDomain Text Source #

The domain from which you want to retrieve details.

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

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

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

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.

GetMobileDeviceAccessEffect

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

Device operating system the simulated user will report.

getMobileDeviceAccessEffect_organizationId :: Lens' GetMobileDeviceAccessEffect Text Source #

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

GetMobileDeviceAccessOverride

getMobileDeviceAccessOverride_organizationId :: Lens' GetMobileDeviceAccessOverride Text Source #

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

ListAccessControlRules

ListAliases

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

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

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

ListAvailabilityConfigurations

listAvailabilityConfigurations_maxResults :: Lens' ListAvailabilityConfigurations (Maybe Natural) Source #

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

listAvailabilityConfigurations_nextToken :: Lens' ListAvailabilityConfigurations (Maybe Text) Source #

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

listAvailabilityConfigurations_organizationId :: Lens' ListAvailabilityConfigurations Text Source #

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

listAvailabilityConfigurationsResponse_availabilityConfigurations :: Lens' ListAvailabilityConfigurationsResponse (Maybe [AvailabilityConfiguration]) Source #

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

listAvailabilityConfigurationsResponse_nextToken :: Lens' ListAvailabilityConfigurationsResponse (Maybe Text) Source #

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

ListGroupMembers

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

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

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

ListGroups

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

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

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

ListImpersonationRoles

listImpersonationRoles_maxResults :: Lens' ListImpersonationRoles (Maybe Natural) Source #

The maximum number of results returned in a single call.

listImpersonationRoles_nextToken :: Lens' ListImpersonationRoles (Maybe Text) Source #

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

listImpersonationRoles_organizationId :: Lens' ListImpersonationRoles Text Source #

The WorkMail organization to which the listed impersonation roles belong.

listImpersonationRolesResponse_nextToken :: Lens' ListImpersonationRolesResponse (Maybe Text) Source #

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

listImpersonationRolesResponse_roles :: Lens' ListImpersonationRolesResponse (Maybe [ImpersonationRole]) Source #

The list of impersonation roles under the given WorkMail organization.

ListMailDomains

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

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

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_organizationId :: Lens' ListMailDomains Text Source #

The WorkMail organization for which to list domains.

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

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.

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.

ListMailboxExportJobs

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

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

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

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

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

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

ListMailboxPermissions

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

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

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

ListMobileDeviceAccessOverrides

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_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_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_organizationId :: Lens' ListMobileDeviceAccessOverrides Text Source #

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

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.

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

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

ListMobileDeviceAccessRules

listMobileDeviceAccessRules_organizationId :: Lens' ListMobileDeviceAccessRules Text Source #

The 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 WorkMail organization.

ListOrganizations

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

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

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.

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.

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.

ListResources

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

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

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_organizationId :: Lens' ListResources Text Source #

The identifier for the organization under which the resources exist.

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.

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

One page of the organization's resource representation.

ListTagsForResource

ListUsers

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

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

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_organizationId :: Lens' ListUsers Text Source #

The identifier for the organization under which the users exist.

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_users :: Lens' ListUsersResponse (Maybe [User]) Source #

The overview of users for an organization.

listUsersResponse_httpStatus :: Lens' ListUsersResponse Int Source #

The response's http status code.

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_impersonationRoleIds :: Lens' PutAccessControlRule (Maybe [Text]) Source #

Impersonation role IDs to include in the rule.

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

IPv4 CIDR ranges to include in 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.

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

Impersonation role IDs to exclude from the rule.

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

IPv4 CIDR ranges to exclude from the rule.

PutEmailMonitoringConfiguration

putEmailMonitoringConfiguration_organizationId :: Lens' PutEmailMonitoringConfiguration Text Source #

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

putEmailMonitoringConfiguration_roleArn :: Lens' PutEmailMonitoringConfiguration Text Source #

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

putEmailMonitoringConfiguration_logGroupArn :: Lens' PutEmailMonitoringConfiguration Text Source #

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

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.

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.

PutMobileDeviceAccessOverride

putMobileDeviceAccessOverride_organizationId :: Lens' PutMobileDeviceAccessOverride Text Source #

Identifies the 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.

PutRetentionPolicy

RegisterMailDomain

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

Idempotency token used when retrying requests.

registerMailDomain_organizationId :: Lens' RegisterMailDomain Text Source #

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

registerMailDomain_domainName :: Lens' RegisterMailDomain Text Source #

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

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.

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.

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.

TagResource

tagResource_tags :: Lens' TagResource [Tag] Source #

The tag key-value pairs.

TestAvailabilityConfiguration

testAvailabilityConfiguration_domainName :: Lens' TestAvailabilityConfiguration (Maybe Text) Source #

The domain to which the provider applies. If this field is provided, a stored availability provider associated to this domain name will be tested.

testAvailabilityConfiguration_organizationId :: Lens' TestAvailabilityConfiguration Text Source #

The WorkMail organization where the availability provider will be tested.

testAvailabilityConfigurationResponse_failureReason :: Lens' TestAvailabilityConfigurationResponse (Maybe Text) Source #

String containing the reason for a failed test if TestPassed is false.

UntagResource

UpdateAvailabilityConfiguration

updateAvailabilityConfiguration_ewsProvider :: Lens' UpdateAvailabilityConfiguration (Maybe EwsAvailabilityProvider) Source #

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.

updateAvailabilityConfiguration_lambdaProvider :: Lens' UpdateAvailabilityConfiguration (Maybe LambdaAvailabilityProvider) Source #

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.

updateAvailabilityConfiguration_organizationId :: Lens' UpdateAvailabilityConfiguration Text Source #

The WorkMail organization for which the AvailabilityConfiguration will be updated.

updateAvailabilityConfiguration_domainName :: Lens' UpdateAvailabilityConfiguration Text Source #

The domain to which the provider applies the availability configuration.

UpdateDefaultMailDomain

updateDefaultMailDomain_organizationId :: Lens' UpdateDefaultMailDomain Text Source #

The WorkMail organization for which to list domains.

updateDefaultMailDomain_domainName :: Lens' UpdateDefaultMailDomain Text Source #

The domain name that will become the default domain.

UpdateImpersonationRole

updateImpersonationRole_description :: Lens' UpdateImpersonationRole (Maybe Text) Source #

The updated impersonation role description.

updateImpersonationRole_organizationId :: Lens' UpdateImpersonationRole Text Source #

The WorkMail organization that contains the impersonation role to update.

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.

UpdateMobileDeviceAccessRule

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

Device operating systems that the updated rule 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_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_notDeviceTypes :: Lens' UpdateMobileDeviceAccessRule (Maybe (NonEmpty Text)) Source #

Device types that the updated rule will not match. All other device types 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_organizationId :: Lens' UpdateMobileDeviceAccessRule Text Source #

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

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.

UpdateResource

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

The resource's booking options to be updated.

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

The name of the resource 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.

Types

AccessControlRule

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_impersonationRoleIds :: Lens' AccessControlRule (Maybe [Text]) Source #

Impersonation role IDs to include in the rule.

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

IPv4 CIDR ranges to include in 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.

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

Impersonation role IDs to exclude from the rule.

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

IPv4 CIDR ranges to exclude from the rule.

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

User IDs to exclude from the rule.

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

User IDs to include in the rule.

AvailabilityConfiguration

availabilityConfiguration_dateCreated :: Lens' AvailabilityConfiguration (Maybe UTCTime) Source #

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

availabilityConfiguration_dateModified :: Lens' AvailabilityConfiguration (Maybe UTCTime) Source #

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

availabilityConfiguration_domainName :: Lens' AvailabilityConfiguration (Maybe Text) Source #

Displays the domain to which the provider applies.

availabilityConfiguration_ewsProvider :: Lens' AvailabilityConfiguration (Maybe RedactedEwsAvailabilityProvider) Source #

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

availabilityConfiguration_lambdaProvider :: Lens' AvailabilityConfiguration (Maybe LambdaAvailabilityProvider) Source #

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

BookingOptions

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.

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.

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_type :: Lens' DnsRecord (Maybe Text) Source #

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

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

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

Domain

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

The fully qualified domain name.

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.

EwsAvailabilityProvider

ewsAvailabilityProvider_ewsUsername :: Lens' EwsAvailabilityProvider Text Source #

The username used to authenticate the remote EWS server.

ewsAvailabilityProvider_ewsPassword :: Lens' EwsAvailabilityProvider Text Source #

The password used to authenticate the remote EWS server.

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_disabledDate :: Lens' Group (Maybe UTCTime) Source #

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

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

The email of the group.

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

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

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

The identifier of the group.

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

The name of the group.

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

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

ImpersonationMatchedRule

impersonationMatchedRule_name :: Lens' ImpersonationMatchedRule (Maybe Text) Source #

The name of the rule that matched the input.

ImpersonationRole

impersonationRole_dateCreated :: Lens' ImpersonationRole (Maybe UTCTime) Source #

The date when the impersonation role was created.

impersonationRole_dateModified :: Lens' ImpersonationRole (Maybe UTCTime) Source #

The date when the impersonation role was last modified.

impersonationRole_impersonationRoleId :: Lens' ImpersonationRole (Maybe Text) Source #

The identifier of the impersonation role.

ImpersonationRule

impersonationRule_notTargetUsers :: Lens' ImpersonationRule (Maybe (NonEmpty Text)) Source #

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

impersonationRule_targetUsers :: Lens' ImpersonationRule (Maybe (NonEmpty Text)) Source #

A list of user IDs that match the rule.

impersonationRule_effect :: Lens' ImpersonationRule AccessEffect Source #

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

LambdaAvailabilityProvider

lambdaAvailabilityProvider_lambdaArn :: Lens' LambdaAvailabilityProvider Text Source #

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

MailDomainSummary

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

Whether the domain is default or not.

MailboxExportJob

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

The mailbox export job description.

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

The mailbox export job end timestamp.

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

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

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

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

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

The identifier of the mailbox export job.

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

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

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

The mailbox export job start timestamp.

Member

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

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

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

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

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

The identifier of the member.

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

The name of the member.

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

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

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

A member can be a user or group.

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_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_effect :: Lens' MobileDeviceAccessRule (Maybe MobileDeviceAccessRuleEffect) Source #

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

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

Device models that a rule will not match. All other device models 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_notDeviceTypes :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text)) Source #

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

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

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

OrganizationSummary

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.

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

The state 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.

RedactedEwsAvailabilityProvider

redactedEwsAvailabilityProvider_ewsUsername :: Lens' RedactedEwsAvailabilityProvider (Maybe Text) Source #

The username used to authenticate the remote EWS server.

Resource

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

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

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

The email of the resource.

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

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

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

The identifier of the resource.

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

The name of the resource.

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

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

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

The type of the resource: equipment or room.

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_disabledDate :: Lens' User (Maybe UTCTime) Source #

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

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

The display name of the user.

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

The email of the user.

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

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

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

The identifier of the user.

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

The name of the user.

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

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

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

The role of the user.