Overriding the default Athena schema with AWS Quicksight start-asset-bundle-import-job API via CLI

I have two aws accounts with an AWS QuickSight dashboard in my source environment and am trying to copy that dashboard to my target environment on the other account. I have identical Athena databases/tables in both environments with the exception of the schema name. I can’t figure out how to issue or format the --override-parameters argument in the CLI to supply the appropriate schema name (or otherwise), so when I execute the start-asset-bundle-import-job. However, if I run start-asset-bundle-export-job on my source environment and download the output .qs bundle, and edit the schema name in the datasets .json file, and then simply run start-asset-bundle-import-job, everything works. If I attempt to update the dataset via the CLI using the --physical-table-map, the dashboards are unable to connect to the data. I’ve also tried running the --override-parameters option with no luck. Does anyone know how to issue change the schema of the Athena database upon import with the API?

For reference here is some toy code that explains what I have tried:

Export the bundle from the source environment, called “dev”:

aws quicksight start-asset-bundle-export-job --profile dev --aws-account-id XXXXXXXXXXXX --asset-bundle-export-job-id="migration_6_export" --resource-arns='arn:aws:quicksight:us-east-1:XXXXXXXXXXXX:dashboard/redacted-redacted-redacted-9817-redacted' --include-all-dependencies --export-format "QUICKSIGHT_JSON"

Then after running describe-asset-bundle-export-job I obtain the migration_6_export.js file and upload it to an s3 bucket my target environment “val”. Next, I imported the bundle successfully:

aws quicksight start-asset-bundle-import-job --profile dev --aws-account-id YYYYYYYYYYYY --asset-bundle-import-job-id="migration_6_export" --asset-bundle-import-source S3Uri="s3://val-quicksight-migration-files/migration_6_export.qs"

I can now see the dashboard in my target environment. I figured this would require a simple updating of the dataset schema using the following code, since the Athena database schema “my-new-schema-database-in-athena-db” already exists in my target enviroment, but this does not work:

aws quicksight update-data-set --profile ocse-val-dev --aws-account-id YYYYYYYYYYYY --data-set-id 'redacted-c5ec-redacted-redacted-redacted' --name "migration_dummy_table" --import-mode "SPICE" --physical-table-map='{"redacted-513e-redacted-redacted-redacted": {
                "RelationalTable": {
                    "DataSourceArn": "arn:aws:quicksight:us-east-1:YYYYYYYYYYYY :datasource/redacted-e621-redactedredacted-redacted",
                    "Catalog": "AwsDataCatalog",
                    "Schema": "my-new-schema-database-in-athena-db",
                    "Name": "migration_dummy_table",
                    "InputColumns": [
                        {
                            "Name": "id",
                            "Type": "INTEGER"
                        },
                        {
                            "Name": "total_cases",
                            "Type": "DECIMAL",
                            "SubType": "FLOAT"
                        }
                    ]
                }
            }
        }'

If I now review the dashboard, the visuals are not displayed. Instead I get an error on each visual that reads, “Fields for this Visual no longer in Analysis.”

Can anyone help or provide some suggestions? For reference, I’ve been following the recording here:

https://www.youtube.com/watch?v=VhAumX35-X0 as well as the blog blost here on this topic:
https://aws.amazon.com/blogs/business-intelligence/automate-and-accelerate-your-amazon-quicksight-asset-deployments-using-the-new-apis/

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật