Generates a query from a natural language prompt. This operation uses generative artificial intelligence (generative AI) to produce a ready-to-use SQL query from the prompt.
See https://www.paws-r-sdk.com/docs/cloudtrail_generate_query/ for full documentation.
cloudtrail_generate_query(EventDataStores, Prompt)
[required] The ARN (or ID suffix of the ARN) of the event data store that you want to query. You can only specify one event data store.
[required] The prompt that you want to use to generate the query. The prompt must be in English. For example prompts, see Example prompts in the CloudTrail user guide.