update_studio_session_mapping
¶
update_studio_session_mapping(
*,
config_overrides: Optional[EMRClientConfig] = 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/emr.py
4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 | |