delete_attribute_mapping
async
¶
delete_attribute_mapping(
profile_id: ProfileIdentifier,
certificate_field: CertificateField,
*,
config_overrides: Optional[AsyncRolesAnywhereClientConfig] = None,
specifiers: Optional[SpecifierList] = None,
) -> DeleteAttributeMappingResponse
Delete an entry from the attribute mapping rules enforced by a given profile.
Parameters:
-
profile_id(ProfileIdentifier) –The profile to act on. You can specify one of the following:
-
The profile ID.
-
The profile ARN.
-
The alias ARN of the profile.
An ARN must be for a profile in your account and Region.
-
-
certificate_field(CertificateField) –Fields (x509Subject, x509Issuer and x509SAN) within X.509 certificates.
-
specifiers(Optional[SpecifierList], default:None) –A list of specifiers of a certificate field; for example, CN, OU, UID from a Subject.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ResourceNotFoundException–The resource could not be found.
-
ServiceUnavailableException–The request has failed due to a temporary failure of the service.
-
ValidationException–Validation exception error.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
DeleteAttributeMapping - Deletes a custom attribute mapping rule
>>> await client.delete_attribute_mapping(profile_id='00000000-0000-0000-0000-000000000000', specifiers=['OU'], certificate_field='x509Subject')
Source code in docs_src/capo_rolesanywhere/_services/async_roles_anywhere.py
1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 | |