def get_deployment_instance(deploymentId=None, instanceId=None):
    """
    Gets information about an instance as part of a deployment.
    See also: AWS API Documentation
    
    
    :example: response = client.get_deployment_instance(
        deploymentId='string',
        instanceId='string'
    )
    
    
    :type deploymentId: string
    :param deploymentId: [REQUIRED]
            The unique ID of a deployment.
            

    :type instanceId: string
    :param instanceId: [REQUIRED]
            The unique ID of an instance in the deployment group.
            

    :rtype: dict
    :return: {
        'instanceSummary': {
            'deploymentId': 'string',
            'instanceId': 'string',
            'status': 'Pending'|'InProgress'|'Succeeded'|'Failed'|'Skipped'|'Unknown'|'Ready',
            'lastUpdatedAt': datetime(2015, 1, 1),
            'lifecycleEvents': [
                {
                    'lifecycleEventName': 'string',
                    'diagnostics': {
                        'errorCode': 'Success'|'ScriptMissing'|'ScriptNotExecutable'|'ScriptTimedOut'|'ScriptFailed'|'UnknownError',
                        'scriptName': 'string',
                        'message': 'string',
                        'logTail': 'string'
                    },
                    'startTime': datetime(2015, 1, 1),
                    'endTime': datetime(2015, 1, 1),
                    'status': 'Pending'|'InProgress'|'Succeeded'|'Failed'|'Skipped'|'Unknown'
                },
            ],
            'instanceType': 'Blue'|'Green'
        }
    }
    
    
    :returns: 
    Pending: The deployment is pending for this instance.
    In Progress: The deployment is in progress for this instance.
    Succeeded: The deployment has succeeded for this instance.
    Failed: The deployment has failed for this instance.
    Skipped: The deployment has been skipped for this instance.
    Unknown: The deployment status is unknown for this instance.
    
    """
    pass
