Skip to content

get_persistent_app_ui_presigned_url

get_persistent_app_ui_presigned_url(
    *,
    config_overrides: Optional[EMRClientConfig] = None,
    persistent_app_ui_id: Optional[XmlStringMaxLen256] = None,
    persistent_app_ui_type: Optional[PersistentAppUIType] = None,
    application_id: Optional[XmlStringMaxLen256] = None,
    auth_proxy_call: Optional[BooleanObject] = None,
    execution_role_arn: Optional[ArnType] = None,
) -> GetPersistentAppUIPresignedURLOutput

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

Parameters:

  • persistent_app_ui_id (Optional[XmlStringMaxLen256], default: None ) –

    The persistent application user interface ID associated with the presigned URL.

  • persistent_app_ui_type (Optional[PersistentAppUIType], default: None ) –

    The persistent application user interface type associated with the presigned URL.

  • application_id (Optional[XmlStringMaxLen256], default: None ) –

    The application ID associated with the presigned URL.

  • auth_proxy_call (Optional[BooleanObject], default: None ) –

    A boolean that represents if the caller is an authentication proxy call.

  • execution_role_arn (Optional[ArnType], default: None ) –

    The execution role ARN associated with the presigned URL.

Raises:

  • InternalServerError –

    Indicates that an error occurred while processing the request and that the request was not completed.

  • 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
def get_persistent_app_ui_presigned_url(
    self,
    *,
    config_overrides: Optional[EMRClientConfig] = None,
    persistent_app_ui_id: Optional[
        "capo_emr.types.xml_string_max_len256.XmlStringMaxLen256"
    ] = None,
    persistent_app_ui_type: Optional[
        "capo_emr.types.persistent_app_ui_type.PersistentAppUIType"
    ] = None,
    application_id: Optional[
        "capo_emr.types.xml_string_max_len256.XmlStringMaxLen256"
    ] = None,
    auth_proxy_call: Optional["capo_emr.types.boolean_object.BooleanObject"] = None,
    execution_role_arn: Optional["capo_emr.types.arn_type.ArnType"] = None,
) -> "capo_emr.types.get_persistent_app_ui_presigned_url_output.GetPersistentAppUIPresignedURLOutput":
    """<p>The presigned URL properties for the cluster's application user interface.</p>

    Args:
        persistent_app_ui_id: <p>The persistent application user interface ID associated with the presigned URL.</p>
        persistent_app_ui_type: <p>The persistent application user interface type associated with the presigned URL.</p>
        application_id: <p>The application ID associated with the presigned URL.</p>
        auth_proxy_call: <p>A boolean that represents if the caller is an authentication proxy call.</p>
        execution_role_arn: <p>The execution role ARN associated with the presigned URL.</p>

    Raises:
        capo_emr.errors.internal_server_error.InternalServerError: <p>Indicates that an error occurred while processing the request and that the request was not completed.</p>
        capo_emr.errors.invalid_request_exception.InvalidRequestException: <p>This exception occurs when there is something wrong with user input.</p>
        capo_emr.errors.UnknownServiceError: The service returned an error code this client does not model.
    """

    def _handler(
        req: "OperationRequest[capo_emr.types.get_persistent_app_ui_presigned_url_input.GetPersistentAppUIPresignedURLInput]",
    ) -> OperationResponse[
        "capo_emr.types.get_persistent_app_ui_presigned_url_output.GetPersistentAppUIPresignedURLOutput"
    ]:
        import capo_emr._operations.elastic_map_reduce.get_persistent_app_ui_presigned_url

        output, http_response = (
            capo_emr._operations.elastic_map_reduce.get_persistent_app_ui_presigned_url.get_persistent_app_ui_presigned_url(
                req.options, req.input
            )
        )
        return OperationResponse(output=output, response=http_response)

    interceptors_, options_ = self.operation_options(
        config_overrides, OperationLogging("GetPersistentAppUIPresignedURL")
    )
    input_: capo_emr.types.get_persistent_app_ui_presigned_url_input.GetPersistentAppUIPresignedURLInput = {}
    if persistent_app_ui_id is not None:
        input_["persistent_app_ui_id"] = persistent_app_ui_id
    if persistent_app_ui_type is not None:
        input_["persistent_app_ui_type"] = persistent_app_ui_type
    if application_id is not None:
        input_["application_id"] = application_id
    if auth_proxy_call is not None:
        input_["auth_proxy_call"] = auth_proxy_call
    if execution_role_arn is not None:
        input_["execution_role_arn"] = execution_role_arn

    response = execute_pipeline(
        OperationRequest(input=input_, options=options_),
        handler=_handler,
        interceptors=list(interceptors_),
    )
    response.response.close()
    return response.output