"errorMessage": "Unknown service: 'datazone'

0

I am trying to interact with datazone through API:

client = boto3.client('datazone')

But it is throwing error - "errorMessage": "Unknown service: 'datazone'. I am running it in lambda function in US-EAST-1. Please do let me know what is the root cause for the same.

Thanks, Girish

Girish
已提問 3 個月前檢視次數 92 次
1 個回答
1

The error indicates that Boto3 does not acknowledge "datazone" as a valid service name. This issue likely stems from using an outdated version of Boto3. Given that the DataZone services were first released on March 29, 2023, you need to ensure your Boto3 installation is updated to at least version 1.34.57.

The inclusion of DataZone into Boto3 is documented in the changelog found here: https://github.com/boto/boto3/blob/develop/CHANGELOG.rst#L1205-L1212. To ensure compatibility, please verify that your Boto3 installation is updated to version 1.28.60 or later.

profile picture
專家
已回答 3 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南