delete_attribute_mapping
¶
delete_attribute_mapping(
profile_id: ProfileIdentifier,
certificate_field: CertificateField,
*,
config_overrides: Optional[RolesAnywhereClientConfig] = 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
>>> client.delete_attribute_mapping(profile_id='00000000-0000-0000-0000-000000000000', specifiers=['OU'], certificate_field='x509Subject')
Source code in docs_src/capo_rolesanywhere/_services/roles_anywhere.py
1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 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 | |