2개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
Looks like we do not have IoT analytics supported in AWS::QuickSight::DataSource DataSourceParameters https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-datasourceparameters.html
One option could be to use CLI as referred here https://awscli.amazonaws.com/v2/documentation/api/latest/reference/quicksight/create-data-source.html. The ListDataSources has AWS_IOT_ANALYTICS in it and below
AwsIotAnalyticsParameters -> (structure)
The parameters for IoT Analytics.
DataSetName -> (string)
Dataset name.
0
up.. I also try to create datasource via CLI with this code:
aws quicksight create-data-source --aws-account-id "<my-account-id>" --data-source-id "test123" --name "test123" --type "AWS_IOT_ANALYTICS" --data-source-parameters '{"AwsIotAnalyticsParameters":{"DataSetName" : "test_30_day_dataset_dev"}}'
but this also fails.
Here is CLI response: An error occurred (InvalidParameterValueException) when calling the CreateDataSource operation: DataSourceParameters field is incorrectly set
Does someone knows what may cause that error msg?
답변함 일 년 전
관련 콘텐츠
- AWS 공식업데이트됨 2년 전
Hi AWS-User_Nitin , I did try to create datasource also via CLI with this code:
but this also fails. Here is CLI response:
An error occurred (InvalidParameterValueException) when calling the CreateDataSource operation: DataSourceParameters field is incorrectly set