Long-term Debt (Detail) - USD ($) $ in Millions |
9 Months Ended |
12 Months Ended |
Mar. 31, 2018 |
Jun. 30, 2017 |
| Debt Instrument [Line Items] |
|
|
|
| Face Value |
|
$ 77,600
|
$ 77,837
|
| Notes 0.875 Percent Due November 15th 2017 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
|
Nov. 15, 2017
|
Nov. 15, 2017
|
| Face Value |
|
$ 0
|
$ 600
|
| Stated Interest Rate |
|
0.875%
|
0.875%
|
| Effective Interest Rate |
|
1.084%
|
1.084%
|
| Notes 1.0 Percent Due May 1st 2018 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
|
May 01, 2018
|
May 01, 2018
|
| Face Value |
|
$ 450
|
$ 450
|
| Stated Interest Rate |
|
1.00%
|
1.00%
|
| Effective Interest Rate |
|
1.106%
|
1.106%
|
| Notes 1.30 Percent Due November 3rd 2018 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
|
Nov. 03, 2018
|
Nov. 03, 2018
|
| Face Value |
|
$ 1,750
|
$ 1,750
|
| Stated Interest Rate |
|
1.30%
|
1.30%
|
| Effective Interest Rate |
|
1.396%
|
1.396%
|
| Notes 1.625 Percent Due December 6th 2018 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
|
Dec. 06, 2018
|
Dec. 06, 2018
|
| Face Value |
|
$ 1,250
|
$ 1,250
|
| Stated Interest Rate |
|
1.625%
|
1.625%
|
| Effective Interest Rate |
|
1.824%
|
1.824%
|
| Notes 4.2 Percent Due June 1st 2019 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
|
Jun. 01, 2019
|
Jun. 01, 2019
|
| Face Value |
|
$ 1,000
|
$ 1,000
|
| Stated Interest Rate |
|
4.20%
|
4.20%
|
| Effective Interest Rate |
|
4.379%
|
4.379%
|
| Notes 1.1 Percent Due August 8th 2019 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
|
Aug. 08, 2019
|
Aug. 08, 2019
|
| Face Value |
|
$ 2,500
|
$ 2,500
|
| Stated Interest Rate |
|
1.10%
|
1.10%
|
| Effective Interest Rate |
|
1.203%
|
1.203%
|
| Notes 0.500 Percent Due November 1st 2019 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
|
Nov. 01, 2019
|
Nov. 01, 2019
|
| Face Value |
|
$ 18
|
$ 18
|
| Stated Interest Rate |
|
0.50%
|
0.50%
|
| Effective Interest Rate |
|
0.50%
|
0.50%
|
| Notes 1.850 Percent Due February 6th 2020 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
|
Feb. 06, 2020
|
Feb. 06, 2020
|
| Face Value |
|
$ 1,500
|
$ 1,500
|
| Stated Interest Rate |
|
1.85%
|
1.85%
|
| Effective Interest Rate |
|
1.952%
|
1.952%
|
| Notes 1.850 Percent Due February 12th 2020 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
|
Feb. 12, 2020
|
Feb. 12, 2020
|
| Face Value |
|
$ 1,500
|
$ 1,500
|
| Stated Interest Rate |
|
1.85%
|
1.85%
|
| Effective Interest Rate |
|
1.935%
|
1.935%
|
| Notes 3.0 Percent Due October 1st 2020 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
|
Oct. 01, 2020
|
Oct. 01, 2020
|
| Face Value |
|
$ 1,000
|
$ 1,000
|
| Stated Interest Rate |
|
3.00%
|
3.00%
|
| Effective Interest Rate |
|
3.137%
|
3.137%
|
| Notes 2.0 Percent Due November 3rd 2020 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
|
Nov. 03, 2020
|
Nov. 03, 2020
|
| Face Value |
|
$ 2,250
|
$ 2,250
|
| Stated Interest Rate |
|
2.00%
|
2.00%
|
| Effective Interest Rate |
|
2.093%
|
2.093%
|
| Notes 4.0 Percent Due February 8th 2021 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
|
Feb. 08, 2021
|
Feb. 08, 2021
|
| Face Value |
|
$ 500
|
$ 500
|
| Stated Interest Rate |
|
4.00%
|
4.00%
|
| Effective Interest Rate |
|
4.082%
|
4.082%
|
| Notes 1.55 Percent Due August 8th 2021 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
|
Aug. 08, 2021
|
Aug. 08, 2021
|
| Face Value |
|
$ 2,750
|
$ 2,750
|
| Stated Interest Rate |
|
1.55%
|
1.55%
|
| Effective Interest Rate |
|
1.642%
|
1.642%
|
| Notes 2.125 Percent Due December 6th 2021 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
[1] |
Dec. 06, 2021
|
Dec. 06, 2021
|
| Face Value |
[1] |
$ 2,153
|
$ 1,996
|
| Stated Interest Rate |
[1] |
2.125%
|
2.125%
|
| Effective Interest Rate |
[1] |
2.233%
|
2.233%
|
| Notes 2.40 Percent Due February 6th 2022 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
|
Feb. 06, 2022
|
Feb. 06, 2022
|
| Face Value |
|
$ 1,750
|
$ 1,750
|
| Stated Interest Rate |
|
2.40%
|
2.40%
|
| Effective Interest Rate |
|
2.52%
|
2.52%
|
| Notes 2.375 Percent Due February 12th 2022 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
|
Feb. 12, 2022
|
Feb. 12, 2022
|
| Face Value |
|
$ 1,500
|
$ 1,500
|
| Stated Interest Rate |
|
2.375%
|
2.375%
|
| Effective Interest Rate |
|
2.466%
|
2.466%
|
| Notes 2.65 Percent Due November 3rd 2022 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
|
Nov. 03, 2022
|
Nov. 03, 2022
|
| Face Value |
|
$ 1,000
|
$ 1,000
|
| Stated Interest Rate |
|
2.65%
|
2.65%
|
| Effective Interest Rate |
|
2.717%
|
2.717%
|
| Notes 2.125 Percent Due November 15th 2022 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
|
Nov. 15, 2022
|
Nov. 15, 2022
|
| Face Value |
|
$ 750
|
$ 750
|
| Stated Interest Rate |
|
2.125%
|
2.125%
|
| Effective Interest Rate |
|
2.239%
|
2.239%
|
| Notes 2.375 Percent Due May 1st 2023 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
|
May 01, 2023
|
May 01, 2023
|
| Face Value |
|
$ 1,000
|
$ 1,000
|
| Stated Interest Rate |
|
2.375%
|
2.375%
|
| Effective Interest Rate |
|
2.465%
|
2.465%
|
| Notes 2.0 Percent Due August 8th 2023 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
|
Aug. 08, 2023
|
Aug. 08, 2023
|
| Face Value |
|
$ 1,500
|
$ 1,500
|
| Stated Interest Rate |
|
2.00%
|
2.00%
|
| Effective Interest Rate |
|
2.101%
|
2.101%
|
| Notes 3.625 Percent Due December 15th 2023 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
|
Dec. 15, 2023
|
Dec. 15, 2023
|
| Face Value |
|
$ 1,500
|
$ 1,500
|
| Stated Interest Rate |
|
3.625%
|
3.625%
|
| Effective Interest Rate |
|
3.726%
|
3.726%
|
| Notes 2.875 Percent Due February 6th 2024 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
|
Feb. 06, 2024
|
Feb. 06, 2024
|
| Face Value |
|
$ 2,250
|
$ 2,250
|
| Stated Interest Rate |
|
2.875%
|
2.875%
|
| Effective Interest Rate |
|
3.041%
|
3.041%
|
| Notes 2.70 Percent Due February 12th 2025 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
|
Feb. 12, 2025
|
Feb. 12, 2025
|
| Face Value |
|
$ 2,250
|
$ 2,250
|
| Stated Interest Rate |
|
2.70%
|
2.70%
|
| Effective Interest Rate |
|
2.772%
|
2.772%
|
| Notes 3.125 Percent Due November 3rd 2025 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
|
Nov. 03, 2025
|
Nov. 03, 2025
|
| Face Value |
|
$ 3,000
|
$ 3,000
|
| Stated Interest Rate |
|
3.125%
|
3.125%
|
| Effective Interest Rate |
|
3.176%
|
3.176%
|
| Notes 2.4 Percent Due August 8th 2026 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
|
Aug. 08, 2026
|
Aug. 08, 2026
|
| Face Value |
|
$ 4,000
|
$ 4,000
|
| Stated Interest Rate |
|
2.40%
|
2.40%
|
| Effective Interest Rate |
|
2.464%
|
2.464%
|
| Notes 3.3 Percent Due February 6th 2027 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
|
Feb. 06, 2027
|
Feb. 06, 2027
|
| Face Value |
|
$ 4,000
|
$ 4,000
|
| Stated Interest Rate |
|
3.30%
|
3.30%
|
| Effective Interest Rate |
|
3.383%
|
3.383%
|
| Notes 3.125 Percent Due December 6th 2028 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
[1] |
Dec. 06, 2028
|
Dec. 06, 2028
|
| Face Value |
[1] |
$ 2,153
|
$ 1,996
|
| Stated Interest Rate |
[1] |
3.125%
|
3.125%
|
| Effective Interest Rate |
[1] |
3.218%
|
3.218%
|
| Notes 2.625 Percent Due May 2nd 2033 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
[1] |
May 02, 2033
|
May 02, 2033
|
| Face Value |
[1] |
$ 676
|
$ 627
|
| Stated Interest Rate |
[1] |
2.625%
|
2.625%
|
| Effective Interest Rate |
[1] |
2.69%
|
2.69%
|
| Notes 3.50 Percent Due February 12th 2035 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
|
Feb. 12, 2035
|
Feb. 12, 2035
|
| Face Value |
|
$ 1,500
|
$ 1,500
|
| Stated Interest Rate |
|
3.50%
|
3.50%
|
| Effective Interest Rate |
|
3.604%
|
3.604%
|
| Notes 4.2 Percent Due November 3rd 2035 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
|
Nov. 03, 2035
|
Nov. 03, 2035
|
| Face Value |
|
$ 1,000
|
$ 1,000
|
| Stated Interest Rate |
|
4.20%
|
4.20%
|
| Effective Interest Rate |
|
4.26%
|
4.26%
|
| Notes 3.45 Percent Due August 8th 2036 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
|
Aug. 08, 2036
|
Aug. 08, 2036
|
| Face Value |
|
$ 2,250
|
$ 2,250
|
| Stated Interest Rate |
|
3.45%
|
3.45%
|
| Effective Interest Rate |
|
3.51%
|
3.51%
|
| Notes 4.1 Percent Due February 6th 2037 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
|
Feb. 06, 2037
|
Feb. 06, 2037
|
| Face Value |
|
$ 2,500
|
$ 2,500
|
| Stated Interest Rate |
|
4.10%
|
4.10%
|
| Effective Interest Rate |
|
4.152%
|
4.152%
|
| Notes 5.2 Percent Due June 1st 2039 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
|
Jun. 01, 2039
|
Jun. 01, 2039
|
| Face Value |
|
$ 750
|
$ 750
|
| Stated Interest Rate |
|
5.20%
|
5.20%
|
| Effective Interest Rate |
|
5.24%
|
5.24%
|
| Notes 4.5 Percent Due October 1st 2040 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
|
Oct. 01, 2040
|
Oct. 01, 2040
|
| Face Value |
|
$ 1,000
|
$ 1,000
|
| Stated Interest Rate |
|
4.50%
|
4.50%
|
| Effective Interest Rate |
|
4.567%
|
4.567%
|
| Notes 5.3 Percent Due February 8th 2041 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
|
Feb. 08, 2041
|
Feb. 08, 2041
|
| Face Value |
|
$ 1,000
|
$ 1,000
|
| Stated Interest Rate |
|
5.30%
|
5.30%
|
| Effective Interest Rate |
|
5.361%
|
5.361%
|
| Notes 3.5 Percent Due November 15th 2042 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
|
Nov. 15, 2042
|
Nov. 15, 2042
|
| Face Value |
|
$ 900
|
$ 900
|
| Stated Interest Rate |
|
3.50%
|
3.50%
|
| Effective Interest Rate |
|
3.571%
|
3.571%
|
| Notes 3.750 Percent Due May 1st 2043 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
|
May 01, 2043
|
May 01, 2043
|
| Face Value |
|
$ 500
|
$ 500
|
| Stated Interest Rate |
|
3.75%
|
3.75%
|
| Effective Interest Rate |
|
3.829%
|
3.829%
|
| Notes 4.875 Percent Due December 15th 2043 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
|
Dec. 15, 2043
|
Dec. 15, 2043
|
| Face Value |
|
$ 500
|
$ 500
|
| Stated Interest Rate |
|
4.875%
|
4.875%
|
| Effective Interest Rate |
|
4.918%
|
4.918%
|
| Notes 3.750 Percent Due February 12th 2045 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
|
Feb. 12, 2045
|
Feb. 12, 2045
|
| Face Value |
|
$ 1,750
|
$ 1,750
|
| Stated Interest Rate |
|
3.75%
|
3.75%
|
| Effective Interest Rate |
|
3.80%
|
3.80%
|
| Notes 4.45 Percent Due November 3rd 2045 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
|
Nov. 03, 2045
|
Nov. 03, 2045
|
| Face Value |
|
$ 3,000
|
$ 3,000
|
| Stated Interest Rate |
|
4.45%
|
4.45%
|
| Effective Interest Rate |
|
4.492%
|
4.492%
|
| Notes 3.7 Percent Due August 8th 2046 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
|
Aug. 08, 2046
|
Aug. 08, 2046
|
| Face Value |
|
$ 4,500
|
$ 4,500
|
| Stated Interest Rate |
|
3.70%
|
3.70%
|
| Effective Interest Rate |
|
3.743%
|
3.743%
|
| Notes 4.25 Percent Due February 6th 2047 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
|
Feb. 06, 2047
|
Feb. 06, 2047
|
| Face Value |
|
$ 3,000
|
$ 3,000
|
| Stated Interest Rate |
|
4.25%
|
4.25%
|
| Effective Interest Rate |
|
4.287%
|
4.287%
|
| Notes 4.0 Percent Due February 12th 2055 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
|
Feb. 12, 2055
|
Feb. 12, 2055
|
| Face Value |
|
$ 2,250
|
$ 2,250
|
| Stated Interest Rate |
|
4.00%
|
4.00%
|
| Effective Interest Rate |
|
4.063%
|
4.063%
|
| Notes 4.75 Percent Due November 3rd 2055 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
|
Nov. 03, 2055
|
Nov. 03, 2055
|
| Face Value |
|
$ 1,000
|
$ 1,000
|
| Stated Interest Rate |
|
4.75%
|
4.75%
|
| Effective Interest Rate |
|
4.782%
|
4.782%
|
| Notes 3.95 Percent Due August 8th 2056 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
|
Aug. 08, 2056
|
Aug. 08, 2056
|
| Face Value |
|
$ 2,250
|
$ 2,250
|
| Stated Interest Rate |
|
3.95%
|
3.95%
|
| Effective Interest Rate |
|
4.033%
|
4.033%
|
| Notes 4.5 Percent Due February 6th 2057 |
|
|
|
| Debt Instrument [Line Items] |
|
|
|
| Debt maturity date |
|
Feb. 06, 2057
|
Feb. 06, 2057
|
| Face Value |
|
$ 2,000
|
$ 2,000
|
| Stated Interest Rate |
|
4.50%
|
4.50%
|
| Effective Interest Rate |
|
4.528%
|
4.528%
|
|
|