def register_volume(Ec2VolumeId=None, StackId=None):
    """
    Registers an Amazon EBS volume with a specified stack. A volume can be registered with only one stack at a time. If the volume is already registered, you must first deregister it by calling  DeregisterVolume . For more information, see Resource Management .
    See also: AWS API Documentation
    
    
    :example: response = client.register_volume(
        Ec2VolumeId='string',
        StackId='string'
    )
    
    
    :type Ec2VolumeId: string
    :param Ec2VolumeId: The Amazon EBS volume ID.

    :type StackId: string
    :param StackId: [REQUIRED]
            The stack ID.
            

    :rtype: dict
    :return: {
        'VolumeId': 'string'
    }
    
    
    """
    pass
