我正在尝试按照提供的文档重置我的Neptune实例,
https://aws.amazon.com/blogs/database/resetting-your-graph-data-in-amazon-neptune-in-seconds/https://docs.aws.amazon.com/neptune/latest/userguide/manage-console-fast-reset.html
当我尝试这些方法awscurl
,我得到BadRequestException错误
{"requestId":"21cd6d80-some-more-code-25566575a4ba","code":"BadRequestException","detailedMessage":"Bad route: /system"}
这是awscurl
awscurl -X POST --access_key ACCESS_KEY --secret_key SECRET_KEY --service neptune-db "https://neptunedbinstance-somecode.somemorecode.us-east-2.neptune.amazonaws.com:8182/system" -H 'Content-Type: application/json' --region us-east-2 -d '{ "action" : "initiateDatabaseReset" }'
添加答案,以防其他人发现此问题
快速复位功能要求海王星引擎版本为1.0.4.0及以上。有一篇相关的博客文章详细描述了这个特性。