def cancel_bundle_task(DryRun=None, BundleId=None):
    """
    Cancels a bundling operation for an instance store-backed Windows instance.
    See also: AWS API Documentation
    
    
    :example: response = client.cancel_bundle_task(
        DryRun=True|False,
        BundleId='string'
    )
    
    
    :type DryRun: boolean
    :param DryRun: Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation . Otherwise, it is UnauthorizedOperation .

    :type BundleId: string
    :param BundleId: [REQUIRED]
            The ID of the bundle task.
            

    :rtype: dict
    :return: {
        'BundleTask': {
            'InstanceId': 'string',
            'BundleId': 'string',
            'State': 'pending'|'waiting-for-shutdown'|'bundling'|'storing'|'cancelling'|'complete'|'failed',
            'StartTime': datetime(2015, 1, 1),
            'UpdateTime': datetime(2015, 1, 1),
            'Storage': {
                'S3': {
                    'Bucket': 'string',
                    'Prefix': 'string',
                    'AWSAccessKeyId': 'string',
                    'UploadPolicy': b'bytes',
                    'UploadPolicySignature': 'string'
                }
            },
            'Progress': 'string',
            'BundleTaskError': {
                'Code': 'string',
                'Message': 'string'
            }
        }
    }
    
    
    """
    pass
