def get_pipeline_state(name=None):
    """
    Returns information about the state of a pipeline, including the stages and actions.
    See also: AWS API Documentation
    
    
    :example: response = client.get_pipeline_state(
        name='string'
    )
    
    
    :type name: string
    :param name: [REQUIRED]
            The name of the pipeline about which you want to get information.
            

    :rtype: dict
    :return: {
        'pipelineName': 'string',
        'pipelineVersion': 123,
        'stageStates': [
            {
                'stageName': 'string',
                'inboundTransitionState': {
                    'enabled': True|False,
                    'lastChangedBy': 'string',
                    'lastChangedAt': datetime(2015, 1, 1),
                    'disabledReason': 'string'
                },
                'actionStates': [
                    {
                        'actionName': 'string',
                        'currentRevision': {
                            'revisionId': 'string',
                            'revisionChangeId': 'string',
                            'created': datetime(2015, 1, 1)
                        },
                        'latestExecution': {
                            'status': 'InProgress'|'Succeeded'|'Failed',
                            'summary': 'string',
                            'lastStatusChange': datetime(2015, 1, 1),
                            'token': 'string',
                            'lastUpdatedBy': 'string',
                            'externalExecutionId': 'string',
                            'externalExecutionUrl': 'string',
                            'percentComplete': 123,
                            'errorDetails': {
                                'code': 'string',
                                'message': 'string'
                            }
                        },
                        'entityUrl': 'string',
                        'revisionUrl': 'string'
                    },
                ],
                'latestExecution': {
                    'pipelineExecutionId': 'string',
                    'status': 'InProgress'|'Failed'|'Succeeded'
                }
            },
        ],
        'created': datetime(2015, 1, 1),
        'updated': datetime(2015, 1, 1)
    }
    
    
    """
    pass
