update_studio_session_mapping
async
¶
update_studio_session_mapping(
*,
config_overrides: Optional[AsyncEMRClientConfig] = None,
studio_id: Optional[XmlStringMaxLen256] = None,
identity_id: Optional[XmlStringMaxLen256] = None,
identity_name: Optional[XmlStringMaxLen256] = None,
identity_type: Optional[IdentityType] = None,
session_policy_arn: Optional[XmlStringMaxLen256] = None,
) -> None
Updates the session policy attached to the user or group for the specified Amazon EMR Studio.
Parameters:
-
studio_id(Optional[XmlStringMaxLen256], default:None) –The ID of the Amazon EMR Studio.
-
identity_id(Optional[XmlStringMaxLen256], default:None) – -
identity_name(Optional[XmlStringMaxLen256], default:None) –The name of the user or group to update. For more information, see UserName and DisplayName in the IAM Identity Center Identity Store API Reference. Either
IdentityNameorIdentityIdmust be specified. -
identity_type(Optional[IdentityType], default:None) –Specifies whether the identity to update is a user or a group.
-
session_policy_arn(Optional[XmlStringMaxLen256], default:None) –The Amazon Resource Name (ARN) of the session policy to associate with the specified user or group.
Raises:
-
InternalServerError–Indicates that an error occurred while processing the request and that the request was not completed.
-
InvalidRequestException–This exception occurs when there is something wrong with user input.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_emr/_services/async_emr.py
4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 | |