-
Notifications
You must be signed in to change notification settings - Fork 86
Expand file tree
/
Copy pathagent_aws_openapi.json
More file actions
118 lines (118 loc) · 4.96 KB
/
Copy pathagent_aws_openapi.json
File metadata and controls
118 lines (118 loc) · 4.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"openapi": "3.0.0",
"info": {
"title": "Agent AWS API",
"version": "1.0.0",
"description": "APIs helping customers with knowledge of AWS by querying the AWS Well-Architected Framework, writing Terraform code."
},
"paths": {
"/answer_query": {
"get": {
"summary": "Query the AWS Well-Architected Framework to answer a customer question.",
"description": "Query the AWS Well-Architected Framework to answer a customer question. The API takes in the customer query then returns the answer and a list of documents.",
"operationId": "queryWellArch",
"parameters": [
{
"name": "query",
"in": "path",
"description": "Customer query",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Response containing the answer to the customer query and a list of documents.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"answer": {
"type": "string",
"description": "The response to the customer query and list of documents cited."
}
}
}
}
}
}
}
}
},
"/iac_gen": {
"get": {
"summary": "Generate IaC code for the customer",
"description": "Write Terraform code for the customer. The API takes in the customer query and returns the code for the customer.",
"operationId": "iac_gen_tool",
"parameters": [
{
"name": "query",
"in": "path",
"description": "Customer query",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "The Terraform code requested by the customer.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "The Terraform code requested by the customer."
}
}
}
}
}
}
}
}
},
"/iac_estimate_tool": {
"get": {
"summary": "Estimate infrastructure costs.",
"description": "Estimate the cost of infrastructure based on the generated Terraform code. The API takes the customer request and returns the estimated cost.",
"operationId": "iac_estimate_tool",
"parameters": [
{
"name": "query",
"in": "path",
"description": "Customer query",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Estimated cost of the infrastructure based on the generated Terraform code.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "The estimated cost of the infrastructure based on the generated Terraform code."
}
}
}
}
}
}
}
}
}
}
}