update_studio
¶
update_studio(
*,
config_overrides: Optional[EMRClientConfig] = None,
studio_id: Optional[XmlStringMaxLen256] = None,
name: Optional[XmlStringMaxLen256] = None,
description: Optional[XmlStringMaxLen256] = None,
subnet_ids: Optional[SubnetIdList] = None,
default_s3_location: Optional[XmlString] = None,
encryption_key_arn: Optional[XmlString] = None,
) -> None
Updates an Amazon EMR Studio configuration, including attributes such as name, description, and subnets.
Parameters:
-
studio_id(Optional[XmlStringMaxLen256], default:None) –The ID of the Amazon EMR Studio to update.
-
name(Optional[XmlStringMaxLen256], default:None) –A descriptive name for the Amazon EMR Studio.
-
description(Optional[XmlStringMaxLen256], default:None) –A detailed description to assign to the Amazon EMR Studio.
-
subnet_ids(Optional[SubnetIdList], default:None) –A list of subnet IDs to associate with the Amazon EMR Studio. The list can include new subnet IDs, but must also include all of the subnet IDs previously associated with the Studio. The list order does not matter. A Studio can have a maximum of 5 subnets. The subnets must belong to the same VPC as the Studio.
-
default_s3_location(Optional[XmlString], default:None) –The Amazon S3 location to back up Workspaces and notebook files for the Amazon EMR Studio.
-
encryption_key_arn(Optional[XmlString], default:None) –The KMS key identifier (ARN) used to encrypt Amazon EMR Studio workspace and notebook files when backed up to Amazon S3.
Raises:
-
InternalServerException–This exception occurs when there is an internal failure in the Amazon EMR service.
-
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
4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 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 | |