Summary of Changes in Accumulated Other Comprehensive Income (Loss) by Component (Parenthetical) (Detail) - USD ($) $ in Millions |
3 Months Ended | |
|---|---|---|
Sep. 30, 2022 |
Sep. 30, 2021 |
|
| Derivatives | ||
| Accumulated Other Comprehensive Income (Loss) [Line Items] | ||
| Unrealized losses, tax | $ (11) | $ (3) |
| Net change related to other comprehensive income (loss), tax | 1 | 0 |
| Investments | ||
| Accumulated Other Comprehensive Income (Loss) [Line Items] | ||
| Unrealized losses, tax | (510) | (110) |
| Net change related to other comprehensive income (loss), tax | (503) | (112) |
| Translation adjustments and other | ||
| Accumulated Other Comprehensive Income (Loss) [Line Items] | ||
| Net change related to other comprehensive income (loss), tax | $ 0 | $ 0 |