def describe_workflow_execution(domain=None, execution=None):
    """
    Returns information about the specified workflow execution including its type and some statistics.
    Access Control
    You can use IAM policies to control this action's access to Amazon SWF resources as follows:
    If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows .
    See also: AWS API Documentation
    
    
    :example: response = client.describe_workflow_execution(
        domain='string',
        execution={
            'workflowId': 'string',
            'runId': 'string'
        }
    )
    
    
    :type domain: string
    :param domain: [REQUIRED]
            The name of the domain containing the workflow execution.
            

    :type execution: dict
    :param execution: [REQUIRED]
            The workflow execution to describe.
            workflowId (string) -- [REQUIRED]The user defined identifier associated with the workflow execution.
            runId (string) -- [REQUIRED]A system-generated unique identifier for the workflow execution.
            

    :rtype: dict
    :return: {
        'executionInfo': {
            'execution': {
                'workflowId': 'string',
                'runId': 'string'
            },
            'workflowType': {
                'name': 'string',
                'version': 'string'
            },
            'startTimestamp': datetime(2015, 1, 1),
            'closeTimestamp': datetime(2015, 1, 1),
            'executionStatus': 'OPEN'|'CLOSED',
            'closeStatus': 'COMPLETED'|'FAILED'|'CANCELED'|'TERMINATED'|'CONTINUED_AS_NEW'|'TIMED_OUT',
            'parent': {
                'workflowId': 'string',
                'runId': 'string'
            },
            'tagList': [
                'string',
            ],
            'cancelRequested': True|False
        },
        'executionConfiguration': {
            'taskStartToCloseTimeout': 'string',
            'executionStartToCloseTimeout': 'string',
            'taskList': {
                'name': 'string'
            },
            'taskPriority': 'string',
            'childPolicy': 'TERMINATE'|'REQUEST_CANCEL'|'ABANDON',
            'lambdaRole': 'string'
        },
        'openCounts': {
            'openActivityTasks': 123,
            'openDecisionTasks': 123,
            'openTimers': 123,
            'openChildWorkflowExecutions': 123,
            'openLambdaFunctions': 123
        },
        'latestActivityTaskTimestamp': datetime(2015, 1, 1),
        'latestExecutionContext': 'string'
    }
    
    
    :returns: 
    domain (string) -- [REQUIRED]
    The name of the domain containing the workflow execution.
    
    execution (dict) -- [REQUIRED]
    The workflow execution to describe.
    
    workflowId (string) -- [REQUIRED]The user defined identifier associated with the workflow execution.
    
    runId (string) -- [REQUIRED]A system-generated unique identifier for the workflow execution.
    
    
    
    
    """
    pass
