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
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 4469 4470 4471 4472 4473 4474 | |