def disable_policy_type(RootId=None, PolicyType=None):
    """
    Disables an organizational control policy type in a root. A poicy of a certain type can be attached to entities in a root only if that type is enabled in the root. After you perform this operation, you no longer can attach policies of the specified type to that root or to any OU or account in that root. You can undo this by using the  EnablePolicyType operation.
    This operation can be called only from the organization's master account.
    See also: AWS API Documentation
    
    
    :example: response = client.disable_policy_type(
        RootId='string',
        PolicyType='SERVICE_CONTROL_POLICY'
    )
    
    
    :type RootId: string
    :param RootId: [REQUIRED]
            The unique identifier (ID) of the root in which you want to disable a policy type. You can get the ID from the ListPolicies operation.
            The regex pattern for a root ID string requires 'r-' followed by from 4 to 32 lower-case letters or digits.
            

    :type PolicyType: string
    :param PolicyType: [REQUIRED]
            The policy type that you want to disable in this root.
            

    :rtype: dict
    :return: {
        'Root': {
            'Id': 'string',
            'Arn': 'string',
            'Name': 'string',
            'PolicyTypes': [
                {
                    'Type': 'SERVICE_CONTROL_POLICY',
                    'Status': 'ENABLED'|'PENDING_ENABLE'|'PENDING_DISABLE'
                },
            ]
        }
    }
    
    
    """
    pass
