Recently, I have been trying to access a data products from the AWS marketplace using the AWS CLI. I have an active subscription on the product; however, I get the NotFoundException
error whenever I try to access any of the product's endpoints via an API call.
Similar to the AWS workshop training in Task 2 i.e. Make API call with AWS CLI, I attempted to make calls to SimilarWeb endpoints using the code below:
aws dataexchange send-api-asset \
--data-set-id **************************** \
--revision-id **************************** \
--asset-id ******************************* \
--method GET \
--path '' \
--query-string-parameters 'param1=value1,param2=value2' \
--output json | jq -r '.Body' | jq '.params.querystring'
but resulted in the following error:
An error occurred (NotFoundException) when calling the SendApiAsset operation: No method found matching route / for http method GET
How can I fix this error or correctly make API call to the SimilarWeb's endpoint from AWS CLI or using boto3? Please post your suggestions. Thanks.