list_mobile_device_access_overrides
¶
list_mobile_device_access_overrides(
organization_id: OrganizationId,
*,
config_overrides: Optional[WorkMailClientConfig] = None,
user_id: Optional[EntityIdentifier] = None,
device_id: Optional[DeviceId] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListMobileDeviceAccessOverridesResponse
Lists all the mobile device access overrides for any given combination of WorkMail organization, user, or device.
Parameters:
-
organization_id(OrganizationId) –The WorkMail organization under which to list mobile device access overrides.
-
user_id(Optional[EntityIdentifier], default:None) –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-123456789012orS-1-1-12-1234567890-123456789-123456789-1234 -
Email address:
[email protected] -
User name:
user
-
-
device_id(Optional[DeviceId], default:None) –The mobile device to which the access override applies.
-
next_token(Optional[NextToken], default:None) –The token to use to retrieve the next page of results. The first call does not require a token.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return in a single call.
Raises:
-
EntityNotFoundException–The identifier supplied for the user, group, or resource does not exist in your organization.
-
InvalidParameterException–One or more of the input parameters don't match the service's restrictions.
-
OrganizationNotFoundException–An operation received a valid organization identifier that either doesn't belong or exist in the system.
-
OrganizationStateException–The organization must have a valid state to perform certain operations on the organization or its members.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_workmail/_services/work_mail.py
4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 | |