list_mobile_device_access_overrides
async
¶
list_mobile_device_access_overrides(
organization_id: OrganizationId,
*,
config_overrides: Optional[AsyncWorkMailClientConfig] = 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/async_work_mail.py
4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 | |