def describe_domain(name=None):
    """
    Returns information about the specified domain, including description and status.
    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_domain(
        name='string'
    )
    
    
    :type name: string
    :param name: [REQUIRED]
            The name of the domain to describe.
            

    :rtype: dict
    :return: {
        'domainInfo': {
            'name': 'string',
            'status': 'REGISTERED'|'DEPRECATED',
            'description': 'string'
        },
        'configuration': {
            'workflowExecutionRetentionPeriodInDays': 'string'
        }
    }
    
    
    :returns: 
    REGISTERED : The domain is properly registered and available. You can use this domain for registering types and creating new workflow executions.
    DEPRECATED : The domain was deprecated using  DeprecateDomain , but is still in use. You should not create new workflow executions in this domain.
    
    """
    pass
