update_studio
async
¶
update_studio(
*,
config_overrides: Optional[AsyncEMRClientConfig] = 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/async_emr.py
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 4587 4588 4589 4590 4591 4592 4593 4594 | |