v3.22.2.2
Employee Retirement Benefit Plans-AOCI (Details) - USD ($)
$ in Millions
12 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2020
Defined Benefit Plan, Amounts Recognized in Other Comprehensive Income (Loss) [Abstract]      
Net (gain)/loss arising during the year $ (13) $ 0 $ (4)
Retirement Benefits [Member]      
Defined Benefit Plan, Amounts Recognized in Other Comprehensive Income (Loss) [Abstract]      
Net (gain)/loss arising during the year (14) 0  
Exchange rate gain/(loss) recognized during the year 1 0  
Total minimum pension liability, pretax (13) 0  
Other Comprehensive (Income) Loss, Defined Benefit Plan, Prior Service Cost (Credit), after Tax (12) 0  
Estimated Amounts to be Amortized from Accumulated Other Comprehensive Income into Net Periodic Benefit Cost      
Net (gain)/loss $ 1 $ 3  
Financial Assumptions Used to Determine Benefit Obligations at the Balance Sheet Date      
Discount rate (percent) 3.60% 1.60%  
Rate of compensation increases (percent) 2.70% 2.00%  
Financial Assumptions Used to Determine Net Periodic Benefit Cost for Financial Year      
Discount rate (percent) 1.60% 1.40%  
Rate of compensation increases (percent) 2.00% 2.00%  
Expected long-term rate of return (percent) 3.40% 3.60%  
Expected Future Contributions      
Fiscal Year 2020 Expected Future Contributions $ 7 $ 8  
Other Post-Retirement Benefits [Member]      
Defined Benefit Plan, Amounts Recognized in Other Comprehensive Income (Loss) [Abstract]      
Net (gain)/loss arising during the year 0 0  
Exchange rate gain/(loss) recognized during the year 0 0  
Total minimum pension liability, pretax 0 0  
Other Comprehensive (Income) Loss, Defined Benefit Plan, Prior Service Cost (Credit), after Tax 0 0  
Estimated Amounts to be Amortized from Accumulated Other Comprehensive Income into Net Periodic Benefit Cost      
Net (gain)/loss $ 0 $ 0  
Financial Assumptions Used to Determine Benefit Obligations at the Balance Sheet Date      
Discount rate (percent) 4.00% 2.00%  
Financial Assumptions Used to Determine Net Periodic Benefit Cost for Financial Year      
Discount rate (percent) 2.00% 1.80%  
Expected Future Contributions      
Fiscal Year 2020 Expected Future Contributions $ 0 $ 0