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
4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 | |