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
4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 | |