Skip to content

Commit b389f59

Browse files
committed
feat: update spec
1 parent 6f07a24 commit b389f59

14 files changed

+4194
-199
lines changed

src/aws.ts

+10
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,16 @@ const completionSpec: Fig.Spec = {
264264
"Contains APIs related to model invocation and querying of knowledge bases",
265265
loadSpec: "aws/bedrock-agent-runtime",
266266
},
267+
{
268+
name: "bedrock-data-automation",
269+
description: "Amazon Bedrock Keystone Build",
270+
loadSpec: "aws/bedrock-data-automation",
271+
},
272+
{
273+
name: "bedrock-data-automation-runtime",
274+
description: "Amazon Bedrock Keystone Runtime",
275+
loadSpec: "aws/bedrock-data-automation-runtime",
276+
},
267277
{
268278
name: "bedrock-runtime",
269279
description:

src/aws/bedrock-agent-runtime.ts

+40
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,46 @@ const completionSpec: Fig.Spec = {
4848
},
4949
],
5050
},
51+
{
52+
name: "generate-query",
53+
description:
54+
"Generates an SQL query from a natural language query. For more information, see Generate a query for structured data in the Amazon Bedrock User Guide",
55+
options: [
56+
{
57+
name: "--query-generation-input",
58+
description:
59+
"Specifies information about a natural language query to transform into SQL",
60+
args: {
61+
name: "structure",
62+
},
63+
},
64+
{
65+
name: "--transformation-configuration",
66+
description:
67+
"Specifies configurations for transforming the natural language query into SQL",
68+
args: {
69+
name: "structure",
70+
},
71+
},
72+
{
73+
name: "--cli-input-json",
74+
description:
75+
"Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally",
76+
args: {
77+
name: "string",
78+
},
79+
},
80+
{
81+
name: "--generate-cli-skeleton",
82+
description:
83+
"Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value ``input``, prints a sample input JSON that can be used as an argument for ``--cli-input-json``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command",
84+
args: {
85+
name: "string",
86+
suggestions: ["input", "output"],
87+
},
88+
},
89+
],
90+
},
5191
{
5292
name: "get-agent-memory",
5393
description: "Gets the sessions stored in the memory of the agent",
+110
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
const completionSpec: Fig.Spec = {
2+
name: "bedrock-data-automation-runtime",
3+
description: "Amazon Bedrock Keystone Runtime",
4+
subcommands: [
5+
{
6+
name: "get-data-automation-status",
7+
description: "API used to get data automation status",
8+
options: [
9+
{
10+
name: "--invocation-arn",
11+
description: "Invocation arn",
12+
args: {
13+
name: "string",
14+
},
15+
},
16+
{
17+
name: "--cli-input-json",
18+
description:
19+
"Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally",
20+
args: {
21+
name: "string",
22+
},
23+
},
24+
{
25+
name: "--generate-cli-skeleton",
26+
description:
27+
"Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value ``input``, prints a sample input JSON that can be used as an argument for ``--cli-input-json``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command",
28+
args: {
29+
name: "string",
30+
suggestions: ["input", "output"],
31+
},
32+
},
33+
],
34+
},
35+
{
36+
name: "invoke-data-automation-async",
37+
description: "Async API: Invoke data automation",
38+
options: [
39+
{
40+
name: "--client-token",
41+
description: "Idempotency token",
42+
args: {
43+
name: "string",
44+
},
45+
},
46+
{
47+
name: "--input-configuration",
48+
description: "Input configuration",
49+
args: {
50+
name: "structure",
51+
},
52+
},
53+
{
54+
name: "--output-configuration",
55+
description: "Output configuration",
56+
args: {
57+
name: "structure",
58+
},
59+
},
60+
{
61+
name: "--data-automation-configuration",
62+
description: "Data automation configuration",
63+
args: {
64+
name: "structure",
65+
},
66+
},
67+
{
68+
name: "--encryption-configuration",
69+
description: "Encryption configuration",
70+
args: {
71+
name: "structure",
72+
},
73+
},
74+
{
75+
name: "--notification-configuration",
76+
description: "Notification configuration",
77+
args: {
78+
name: "structure",
79+
},
80+
},
81+
{
82+
name: "--blueprints",
83+
description: "Blueprint list",
84+
args: {
85+
name: "list",
86+
},
87+
},
88+
{
89+
name: "--cli-input-json",
90+
description:
91+
"Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally",
92+
args: {
93+
name: "string",
94+
},
95+
},
96+
{
97+
name: "--generate-cli-skeleton",
98+
description:
99+
"Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value ``input``, prints a sample input JSON that can be used as an argument for ``--cli-input-json``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command",
100+
args: {
101+
name: "string",
102+
suggestions: ["input", "output"],
103+
},
104+
},
105+
],
106+
},
107+
],
108+
};
109+
110+
export default completionSpec;

0 commit comments

Comments
 (0)