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

************************
create_persistent_app_ui
************************



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

  

  Creates a persistent application user interface.

  

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


  **Request Syntax**
  ::

    response = client.create_persistent_app_ui(
        TargetResourceArn='string',
        EMRContainersConfig={
            'JobRunId': 'string'
        },
        Tags=[
            {
                'Key': 'string',
                'Value': 'string'
            },
        ],
        XReferer='string',
        ProfilerType='SHS'|'TEZUI'|'YTS'
    )
    
  :type TargetResourceArn: string
  :param TargetResourceArn: **[REQUIRED]** 

    The unique Amazon Resource Name (ARN) of the target resource.

    

  
  :type EMRContainersConfig: dict
  :param EMRContainersConfig: 

    The EMR containers configuration.

    

  
    - **JobRunId** *(string) --* 

      The Job run ID for the container configuration.

      

    
  
  :type Tags: list
  :param Tags: 

    Tags for the persistent application user interface.

    

  
    - *(dict) --* 

      A key-value pair containing user-defined metadata that you can associate with an Amazon EMR resource. Tags make it easier to associate clusters in various ways, such as grouping clusters to track your Amazon EMR resource allocation costs. For more information, see `Tag Clusters <https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-tags.html>`__.

      

    
      - **Key** *(string) --* 

        A user-defined key, which is the minimum required information for a valid tag. For more information, see `Tag <https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-tags.html>`__.

        

      
      - **Value** *(string) --* 

        A user-defined value, which is optional in a tag. For more information, see `Tag Clusters <https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-tags.html>`__.

        

      
    

  :type XReferer: string
  :param XReferer: 

    The cross reference for the persistent application user interface.

    

  
  :type ProfilerType: string
  :param ProfilerType: 

    The profiler type for the persistent application user interface.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'PersistentAppUIId': 'string',
          'RuntimeRoleEnabledCluster': True|False
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **PersistentAppUIId** *(string) --* 

        The persistent application user interface identifier.

        
      

      - **RuntimeRoleEnabledCluster** *(boolean) --* 

        Represents if the EMR on EC2 cluster that the persisent application user interface is created for is a runtime role enabled cluster or not.

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

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

  