AWS CLI 下载 lambda 包只有几个字节?

AWS CLI 下载 lambda 包只有几个字节?
url=$(aws lambda get-function --function-name my_func --query 'Code.Location' --output text)

当我执行 wget url 时,它显示:

--2022-11-21 11:09:03--  http://url/
Resolving url (url)... 23.217.x.x, 23.202.x.x
Connecting to url (url)|23.217.138.x|:x... connected.
HTTP request sent, awaiting response... 200 OK
Length: 355 [text/html]
Saving to: ‘index.html.2’

index.html.2                                 100%[=============================================================================================>]     355  --.-KB/s    in 0s

2022-11-21 11:09:04 (14.1 MB/s) - ‘index.html.2’ saved [355/355]

这个 html 文件只有几 KB。从 chrome 下载 url 时,正确的速度为 10mbs。

出了什么问题?

这是 HTML (kbs) 文件的内容

<html>
<head>
<meta http-equiv="refresh" content="0;url=http://searchguide.level3.com/search/?q=http://url%2F%26akaCid%3Daaaaaaaa%26t%3D0%26bc%3D"/>
</head>
<body>
<script type="text/javascript">window.location="http://searchguide.level3.com/search/?q="+escape(window.location)+"&r="+escape(document.referrer)+"&t=0&akaCid=aaaaaaaa&bc=";</script>
</body>
</html>

相关内容