:doc:`EMR <../../emr>` / Client / update_studio

*************
update_studio
*************



.. py:method:: EMR.Client.update_studio(**kwargs)

  

  Updates an Amazon EMR Studio configuration, including attributes such as name, description, and subnets.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/UpdateStudio>`_  


  **Request Syntax**
  ::

    response = client.update_studio(
        StudioId='string',
        Name='string',
        Description='string',
        SubnetIds=[
            'string',
        ],
        DefaultS3Location='string',
        EncryptionKeyArn='string'
    )
    
  :type StudioId: string
  :param StudioId: **[REQUIRED]** 

    The ID of the Amazon EMR Studio to update.

    

  
  :type Name: string
  :param Name: 

    A descriptive name for the Amazon EMR Studio.

    

  
  :type Description: string
  :param Description: 

    A detailed description to assign to the Amazon EMR Studio.

    

  
  :type SubnetIds: list
  :param SubnetIds: 

    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.

    

  
    - *(string) --* 

    

  :type DefaultS3Location: string
  :param DefaultS3Location: 

    The Amazon S3 location to back up Workspaces and notebook files for the Amazon EMR Studio.

    

  
  :type EncryptionKeyArn: string
  :param EncryptionKeyArn: 

    The KMS key identifier (ARN) used to encrypt Amazon EMR Studio workspace and notebook files when backed up to Amazon S3.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`EMR.Client.exceptions.InternalServerException`

  
  *   :py:class:`EMR.Client.exceptions.InvalidRequestException`

  