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

***********************************
get_on_cluster_app_ui_presigned_url
***********************************



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

  

  The presigned URL properties for the cluster's application user interface.

  

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


  **Request Syntax**
  ::

    response = client.get_on_cluster_app_ui_presigned_url(
        ClusterId='string',
        OnClusterAppUIType='SparkHistoryServer'|'YarnTimelineService'|'TezUI'|'ApplicationMaster'|'JobHistoryServer'|'ResourceManager',
        ApplicationId='string',
        DryRun=True|False,
        ExecutionRoleArn='string'
    )
    
  :type ClusterId: string
  :param ClusterId: **[REQUIRED]** 

    The cluster ID associated with the cluster's application user interface presigned URL.

    

  
  :type OnClusterAppUIType: string
  :param OnClusterAppUIType: 

    The application UI type associated with the cluster's application user interface presigned URL.

    

  
  :type ApplicationId: string
  :param ApplicationId: 

    The application ID associated with the cluster's application user interface presigned URL.

    

  
  :type DryRun: boolean
  :param DryRun: 

    Determines if the user interface presigned URL is for a dry run.

    

  
  :type ExecutionRoleArn: string
  :param ExecutionRoleArn: 

    The execution role ARN associated with the cluster's application user interface presigned URL.

    

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

    
    ::

      {
          'PresignedURLReady': True|False,
          'PresignedURL': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **PresignedURLReady** *(boolean) --* 

        Used to determine if the presigned URL is ready.

        
      

      - **PresignedURL** *(string) --* 

        The cluster's generated presigned URL.

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

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

  