我正在尝试在 aws 中查询预测 arn,但出现以下错误:
import boto3
client = boto3.client('forecastquery')
response = client.query_forecast(
ForecastArn=' ',
StartDate='2018-12-31T00:00:00',
EndDate='2019-12-31T23:00:00',
Filters={
'item_id':' '
}
)
print(response)
botocore.exceptions.ClientError:调用QueryForecast操作时发生错误(UnrecognizedClientException):请求中包含的安全令牌无效。