Create dashboard objects programmatically

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
2.13

Describe the issue:
How does one create dashboard objects - visualizations and index patterns, programmatically using OpenSearch clients example go, python