aws-solutions / content-analysis-on-aws

As of August 30, 2023, this AWS Solution is no longer available. Existing deployments will continue to run. The functionality provided by Content Analysis on AWS will be superseded with functionality in Media2Cloud on AWS and Content Localization on AWS. We encourage you to explore these solutions.
https://aws.amazon.com/solutions/implementations/aws-content-analysis/
Apache License 2.0
96 stars 47 forks source link

Add search api helper #37

Closed ianwow closed 3 years ago

ianwow commented 3 years ago

Issue #, if available:

Description of changes:

Add a modal in the GUI to show users how to use the search api via the command line.

It will look like this:

Screen Shot 2021-09-09 at 8 25 22 AM

The modal will provide a sample awscurl command which users can copy and paste into their command line to run, like this:

awscurl -X GET --profile default --service es --region us-west-2 'https://search-prb2e34-esdoma-1meb6f6ir8rnc-jx6sarrj4ohpgtq4cvkoixvzle.us-west-2.es.amazonaws.com/_search?q=AssetId%3A2c444585-1a85-4913-b37f-45a24c6a67e3%20Operator%3Atechnical_cue_detection'

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.