cloudtrail_generate_query: Generates a query from a natural language prompt

View source: R/cloudtrail_operations.R

cloudtrail_generate_queryR Documentation

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.


paws.management documentation built on April 3, 2025, 10:39 p.m.