Finite-Lived Intangible Assets (Detail) - USD ($) $ in Millions |
Dec. 31, 2022 |
Jun. 30, 2022 |
|---|---|---|
| Finite-Lived Intangible Assets [Line Items] | ||
| Gross Carrying Amount | $ 23,408 | $ 23,577 |
| Accumulated Amortization | (13,054) | (12,279) |
| Net Carrying Amount | 10,354 | 11,298 |
| Technology-based | ||
| Finite-Lived Intangible Assets [Line Items] | ||
| Gross Carrying Amount | 11,093 | 11,277 |
| Accumulated Amortization | (7,073) | (6,958) |
| Net Carrying Amount | 4,020 | 4,319 |
| Customer-related | ||
| Finite-Lived Intangible Assets [Line Items] | ||
| Gross Carrying Amount | 7,352 | 7,342 |
| Accumulated Amortization | (3,646) | (3,171) |
| Net Carrying Amount | 3,706 | 4,171 |
| Marketing-related | ||
| Finite-Lived Intangible Assets [Line Items] | ||
| Gross Carrying Amount | 4,942 | 4,942 |
| Accumulated Amortization | (2,324) | (2,143) |
| Net Carrying Amount | 2,618 | 2,799 |
| Contract-based | ||
| Finite-Lived Intangible Assets [Line Items] | ||
| Gross Carrying Amount | 21 | 16 |
| Accumulated Amortization | (11) | (7) |
| Net Carrying Amount | $ 10 | $ 9 |