EMR / Client / create_persistent_app_ui

create_persistent_app_ui

EMR.Client.create_persistent_app_ui(**kwargs)

Creates a persistent application user interface.

See also: AWS API Documentation

Request Syntax

response = client.create_persistent_app_ui(
    TargetResourceArn='string',
    EMRContainersConfig={
        'JobRunId': 'string'
    },
    Tags=[
        {
            'Key': 'string',
            'Value': 'string'
        },
    ],
    XReferer='string',
    ProfilerType='SHS'|'TEZUI'|'YTS'
)
Parameters:
  • TargetResourceArn (string) –

    [REQUIRED]

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

  • EMRContainersConfig (dict) –

    The EMR containers configuration.

    • JobRunId (string) –

      The Job run ID for the container configuration.

  • Tags (list) –

    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.

      • Key (string) –

        A user-defined key, which is the minimum required information for a valid tag. For more information, see Tag.

      • Value (string) –

        A user-defined value, which is optional in a tag. For more information, see Tag Clusters.

  • XReferer (string) – The cross reference for the persistent application user interface.

  • ProfilerType (string) – The profiler type for the persistent application user interface. Valid values are SHS, TEZUI, or YTS.

Return type:

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