Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ jobs:

- name: "[DEPLOY] deploy to deno deploy (dev)"
if: env.REG_TARGET_BRANCH == 'dev' && env.REG_EVENT == 'push'
uses: denoland/deployctl@v1
uses: denoland/deployctl@1.13.1
with:
project: ${{ env.REG_DENO_DEPLOY_API_DEV }}
entrypoint: index.ts
Expand Down
119 changes: 119 additions & 0 deletions providers/src/aws/v00.00.00000/services/cloud_control.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -654,6 +654,125 @@ components:
- $ref: '#/components/x-stackQL-resources/resource_requests/methods/list_resource_requests'
update: []
title: resource_requests
vw_successful_requests:
name: vw_successful_requests
id: aws.cloud_control.vw_successful_requests
config:
views:
select:
predicate: sqlDialect == "sqlite3"
ddl: |-
select * from aws.cloud_control.resource_requests
where data__ResourceRequestStatusFilter = '{"OperationStatuses": ["SUCCESS"], "Operations": ["CREATE", "UPDATE", "DELETE"]}'
and region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
ddl: |-
select * from aws.cloud_control.resource_requests
where data__ResourceRequestStatusFilter = '{"OperationStatuses": ["SUCCESS"], "Operations": ["CREATE", "UPDATE", "DELETE"]}'
and region = 'us-east-1'
vw_failed_requests:
name: vw_failed_requests
id: aws.cloud_control.vw_failed_requests
config:
views:
select:
predicate: sqlDialect == "sqlite3"
ddl: |-
select * from aws.cloud_control.resource_requests
where data__ResourceRequestStatusFilter = '{"OperationStatuses": ["FAILED"], "Operations": ["CREATE", "UPDATE", "DELETE"]}'
and region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
ddl: |-
select * from aws.cloud_control.resource_requests
where data__ResourceRequestStatusFilter = '{"OperationStatuses": ["FAILED"], "Operations": ["CREATE", "UPDATE", "DELETE"]}'
and region = 'us-east-1'
vw_cancelled_requests:
name: vw_cancelled_requests
id: aws.cloud_control.vw_cancelled_requests
config:
views:
select:
predicate: sqlDialect == "sqlite3"
ddl: |-
select * from aws.cloud_control.resource_requests
where data__ResourceRequestStatusFilter = '{"OperationStatuses": ["CANCEL_IN_PROGRESS", "CANCEL_COMPLETE"], "Operations": ["CREATE", "UPDATE", "DELETE"]}'
and region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
ddl: |-
select * from aws.cloud_control.resource_requests
where data__ResourceRequestStatusFilter = '{"OperationStatuses": ["CANCEL_IN_PROGRESS", "CANCEL_COMPLETE"], "Operations": ["CREATE", "UPDATE", "DELETE"]}'
and region = 'us-east-1'
vw_pending_requests:
name: vw_pending_requests
id: aws.cloud_control.vw_pending_requests
config:
views:
select:
predicate: sqlDialect == "sqlite3"
ddl: |-
select * from aws.cloud_control.resource_requests
where data__ResourceRequestStatusFilter = '{"OperationStatuses": ["PENDING", "IN_PROGRESS"], "Operations": ["CREATE", "UPDATE", "DELETE"]}'
and region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
ddl: |-
select * from aws.cloud_control.resource_requests
where data__ResourceRequestStatusFilter = '{"OperationStatuses": ["PENDING", "IN_PROGRESS"], "Operations": ["CREATE", "UPDATE", "DELETE"]}'
and region = 'us-east-1'
vw_create_requests:
name: vw_create_requests
id: aws.cloud_control.vw_create_requests
config:
views:
select:
predicate: sqlDialect == "sqlite3"
ddl: |-
select * from aws.cloud_control.resource_requests
where data__ResourceRequestStatusFilter = '{"OperationStatuses": ["PENDING", "IN_PROGRESS", "SUCCESS", "FAILED", "CANCEL_IN_PROGRESS", "CANCEL_COMPLETE"], "Operations": ["CREATE"]}'
and region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
ddl: |-
select * from aws.cloud_control.resource_requests
where data__ResourceRequestStatusFilter = '{"OperationStatuses": ["PENDING", "IN_PROGRESS", "SUCCESS", "FAILED", "CANCEL_IN_PROGRESS", "CANCEL_COMPLETE"], "Operations": ["CREATE"]}'
and region = 'us-east-1'
vw_update_requests:
name: vw_update_requests
id: aws.cloud_control.vw_update_requests
config:
views:
select:
predicate: sqlDialect == "sqlite3"
ddl: |-
select * from aws.cloud_control.resource_requests
where data__ResourceRequestStatusFilter = '{"OperationStatuses": ["PENDING", "IN_PROGRESS", "SUCCESS", "FAILED", "CANCEL_IN_PROGRESS", "CANCEL_COMPLETE"], "Operations": ["UPDATE"]}'
and region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
ddl: |-
select * from aws.cloud_control.resource_requests
where data__ResourceRequestStatusFilter = '{"OperationStatuses": ["PENDING", "IN_PROGRESS", "SUCCESS", "FAILED", "CANCEL_IN_PROGRESS", "CANCEL_COMPLETE"], "Operations": ["UPDATE"]}'
and region = 'us-east-1'
vw_delete_requests:
name: vw_delete_requests
id: aws.cloud_control.vw_delete_requests
config:
views:
select:
predicate: sqlDialect == "sqlite3"
ddl: |-
select * from aws.cloud_control.resource_requests
where data__ResourceRequestStatusFilter = '{"OperationStatuses": ["PENDING", "IN_PROGRESS", "SUCCESS", "FAILED", "CANCEL_IN_PROGRESS", "CANCEL_COMPLETE"], "Operations": ["DELETE"]}'
and region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
ddl: |-
select * from aws.cloud_control.resource_requests
where data__ResourceRequestStatusFilter = '{"OperationStatuses": ["PENDING", "IN_PROGRESS", "SUCCESS", "FAILED", "CANCEL_IN_PROGRESS", "CANCEL_COMPLETE"], "Operations": ["DELETE"]}'
and region = 'us-east-1'
parameters:
X-Amz-Content-Sha256:
name: X-Amz-Content-Sha256
Expand Down
69 changes: 33 additions & 36 deletions providers/src/aws/v00.00.00000/services/ec2_native.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ info:
version: '2016-11-15'
x-release: v4
title: ec2_native
description: '<fullname>Amazon Elastic Compute Cloud</fullname> <p>Amazon Elastic Compute Cloud (Amazon EC2) provides secure and resizable computing capacity in the Amazon Web Services Cloud. Using Amazon EC2 eliminates the need to invest in hardware up front, so you can develop and deploy applications faster. Amazon Virtual Private Cloud (Amazon VPC) enables you to provision a logically isolated section of the Amazon Web Services Cloud where you can launch Amazon Web Services resources in a virtual network that you''ve defined. Amazon Elastic Block Store (Amazon EBS) provides block level storage volumes for use with EC2 instances. EBS volumes are highly available and reliable storage volumes that can be attached to any running instance and used like a hard drive.</p> <p>To learn more, see the following resources:</p> <ul> <li> <p>Amazon EC2: <a href="http://aws.amazon.com/ec2">AmazonEC2 product page</a>, <a href="http://aws.amazon.com/documentation/ec2">Amazon EC2 documentation</a> </p> </li> <li> <p>Amazon EBS: <a href="http://aws.amazon.com/ebs">Amazon EBS product page</a>, <a href="http://aws.amazon.com/documentation/ebs">Amazon EBS documentation</a> </p> </li> <li> <p>Amazon VPC: <a href="http://aws.amazon.com/vpc">Amazon VPC product page</a>, <a href="http://aws.amazon.com/documentation/vpc">Amazon VPC documentation</a> </p> </li> <li> <p>Amazon Web Services VPN: <a href="http://aws.amazon.com/vpn">Amazon Web Services VPN product page</a>, <a href="http://aws.amazon.com/documentation/vpn">Amazon Web Services VPN documentation</a> </p> </li> </ul>'
# description: '<fullname>Amazon Elastic Compute Cloud</fullname> <p>Amazon Elastic Compute Cloud (Amazon EC2) provides secure and resizable computing capacity in the Amazon Web Services Cloud. Using Amazon EC2 eliminates the need to invest in hardware up front, so you can develop and deploy applications faster. Amazon Virtual Private Cloud (Amazon VPC) enables you to provision a logically isolated section of the Amazon Web Services Cloud where you can launch Amazon Web Services resources in a virtual network that you''ve defined. Amazon Elastic Block Store (Amazon EBS) provides block level storage volumes for use with EC2 instances. EBS volumes are highly available and reliable storage volumes that can be attached to any running instance and used like a hard drive.</p> <p>To learn more, see the following resources:</p> <ul> <li> <p>Amazon EC2: <a href="http://aws.amazon.com/ec2">AmazonEC2 product page</a>, <a href="http://aws.amazon.com/documentation/ec2">Amazon EC2 documentation</a> </p> </li> <li> <p>Amazon EBS: <a href="http://aws.amazon.com/ebs">Amazon EBS product page</a>, <a href="http://aws.amazon.com/documentation/ebs">Amazon EBS documentation</a> </p> </li> <li> <p>Amazon VPC: <a href="http://aws.amazon.com/vpc">Amazon VPC product page</a>, <a href="http://aws.amazon.com/documentation/vpc">Amazon VPC documentation</a> </p> </li> <li> <p>Amazon Web Services VPN: <a href="http://aws.amazon.com/vpn">Amazon Web Services VPN product page</a>, <a href="http://aws.amazon.com/documentation/vpn">Amazon Web Services VPN documentation</a> </p> </li> </ul>'
description: "Native EC2 API operations"
x-logo:
url: 'https://twitter.com/awscloud/profile_image?size=original'
backgroundColor: '#FFFFFF'
Expand Down Expand Up @@ -42433,64 +42434,61 @@ components:
instances:
name: instances
methods:
instance_Bundle:
bundle:
operation:
$ref: '#/paths/~1?Action=BundleInstance&Version=2016-11-15/get'
response:
mediaType: text/xml
openAPIDocKey: '200'
instance_Import:
import:
operation:
$ref: '#/paths/~1?Action=ImportInstance&Version=2016-11-15/get'
response:
mediaType: text/xml
openAPIDocKey: '200'
instances_Describe:
describe:
operation:
$ref: '#/paths/~1?Action=DescribeInstances&Version=2016-11-15/get'
response:
mediaType: text/xml
objectKey: /*/reservationSet/item/instancesSet/item
openAPIDocKey: '200'
instances_Monitor:
monitor:
operation:
$ref: '#/paths/~1?Action=MonitorInstances&Version=2016-11-15/get'
response:
mediaType: text/xml
openAPIDocKey: '200'
instances_Reboot:
reboot:
operation:
$ref: '#/paths/~1?Action=RebootInstances&Version=2016-11-15/get'
response:
openAPIDocKey: '200'
instances_Run:
run:
operation:
$ref: '#/paths/~1?Action=RunInstances&Version=2016-11-15/get'
response:
mediaType: text/xml
openAPIDocKey: '200'
instances_Start:
start:
operation:
$ref: '#/paths/~1?Action=StartInstances&Version=2016-11-15/get'
# request:
# mediaType: text/xml
# xmlRootAnnotation: 'xmlns="http://ec2.amazonaws.com/doc/2016-11-15/"'
response:
mediaType: text/xml
openAPIDocKey: '200'
instances_Stop:
stop:
operation:
$ref: '#/paths/~1?Action=StopInstances&Version=2016-11-15/get'
response:
mediaType: text/xml
openAPIDocKey: '200'
instances_Terminate:
terminate:
operation:
$ref: '#/paths/~1?Action=TerminateInstances&Version=2016-11-15/get'
response:
mediaType: text/xml
openAPIDocKey: '200'
instances_Unmonitor:
unmonitor:
operation:
$ref: '#/paths/~1?Action=UnmonitorInstances&Version=2016-11-15/get'
response:
Expand All @@ -42501,29 +42499,28 @@ components:
delete: []
insert: []
select:
- $ref: '#/components/x-stackQL-resources/instances/methods/instances_Describe'
update:
- $ref: '#/components/x-stackQL-resources/instances/methods/instances_Start'
instances_start:
name: instances_start
methods:
instances_Start:
operation:
$ref: '#/paths/~1?Action=StartInstances&Version=2016-11-15/get'
# request:
# mediaType: text/xml
# xmlRootAnnotation: 'xmlns="http://ec2.amazonaws.com/doc/2016-11-15/"'
response:
mediaType: text/xml
openAPIDocKey: '200'
id: aws.ec2_native.instances
sqlVerbs:
delete: []
insert:
- $ref: '#/components/x-stackQL-resources/instances/methods/instances_Start'
select: []
- $ref: '#/components/x-stackQL-resources/instances/methods/describe'
update: []
title: instances_Start
# instances_start:
# name: instances_start
# methods:
# instances_Start:
# operation:
# $ref: '#/paths/~1?Action=StartInstances&Version=2016-11-15/get'
# # request:
# # mediaType: text/xml
# # xmlRootAnnotation: 'xmlns="http://ec2.amazonaws.com/doc/2016-11-15/"'
# response:
# mediaType: text/xml
# openAPIDocKey: '200'
# id: aws.ec2_native.instances
# sqlVerbs:
# delete: []
# insert:
# - $ref: '#/components/x-stackQL-resources/instances/methods/instances_Start'
# select: []
# update: []
# title: instances_Start
internet_gateways:
name: internet_gateways
methods:
Expand Down
Loading