Learn R Programming

paws.management (version 0.8.0)

cloudtrail_generate_query: Generates a query from a natural language prompt

Description

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.

Usage

cloudtrail_generate_query(EventDataStores, Prompt)

Arguments

EventDataStores

[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.

Prompt

[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.