Skip to content

Commit

Permalink
Merge pull request #134 from stackql/feature/doc-updates
Browse files Browse the repository at this point in the history
updated awscc
  • Loading branch information
jeffreyaven authored Mar 22, 2024
2 parents b1a5781 + 0f40871 commit 8f21484
Show file tree
Hide file tree
Showing 158 changed files with 11,877 additions and 10 deletions.
13 changes: 7 additions & 6 deletions docs/awscc-docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ slug: /providers/awscc
---
Cloud services from AWS using the Cloud Control API.

:::info Provider Summary (v24.03.00214)
:::info Provider Summary (v24.03.00216)

<div class="row">
<div class="providerDocColumn">
<span>total services:&nbsp;<b>207</b></span><br />
<span>total methods:&nbsp;<b>1,637</b></span><br />
<span>total services:&nbsp;<b>208</b></span><br />
<span>total methods:&nbsp;<b>1,792</b></span><br />
</div>
<div class="providerDocColumn">
<span>total resources:&nbsp;<b>1,633</b></span><br />
<span>total selectable resources:&nbsp;<b>1,633</b></span><br />
<span>total resources:&nbsp;<b>1,788</b></span><br />
<span>total selectable resources:&nbsp;<b>1,788</b></span><br />
</div>
</div>

Expand Down Expand Up @@ -153,6 +153,7 @@ This parameter must be supplied to the `WHERE` clause of each `SELECT` statement
<a href="/providers/awscc/dms/">dms</a><br />
<a href="/providers/awscc/docdbelastic/">docdbelastic</a><br />
<a href="/providers/awscc/dynamodb/">dynamodb</a><br />
<a href="/providers/awscc/ec2/">ec2</a><br />
<a href="/providers/awscc/ecr/">ecr</a><br />
<a href="/providers/awscc/ecs/">ecs</a><br />
<a href="/providers/awscc/efs/">efs</a><br />
Expand Down Expand Up @@ -195,9 +196,9 @@ This parameter must be supplied to the `WHERE` clause of each `SELECT` statement
<a href="/providers/awscc/iotfleethub/">iotfleethub</a><br />
<a href="/providers/awscc/iotfleetwise/">iotfleetwise</a><br />
<a href="/providers/awscc/iotsitewise/">iotsitewise</a><br />
<a href="/providers/awscc/iottwinmaker/">iottwinmaker</a><br />
</div>
<div class="providerDocColumn">
<a href="/providers/awscc/iottwinmaker/">iottwinmaker</a><br />
<a href="/providers/awscc/iotwireless/">iotwireless</a><br />
<a href="/providers/awscc/ivs/">ivs</a><br />
<a href="/providers/awscc/ivschat/">ivschat</a><br />
Expand Down
103 changes: 103 additions & 0 deletions docs/awscc-docs/providers/awscc/ec2/capacity_reservation/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
---
title: capacity_reservation
hide_title: false
hide_table_of_contents: false
keywords:
- capacity_reservation
- ec2
- aws
- stackql
- infrastructure-as-code
- configuration-as-data
- cloud inventory
description: Query, deploy and manage AWS resources using SQL
custom_edit_url: null
image: /img/providers/aws/stackql-aws-provider-featured-image.png
---
Gets an individual <code>capacity_reservation</code> resource

## Overview
<table><tbody>
<tr><td><b>Name</b></td><td><code>capacity_reservation</code></td></tr>
<tr><td><b>Type</b></td><td>Resource</td></tr>
<tr><td><b>Description</b></td><td>capacity_reservation</td></tr>
<tr><td><b>Id</b></td><td><code>awscc.ec2.capacity_reservation</code></td></tr>
</tbody></table>

## Fields
<table><tbody>
<tr><th>Name</th><th>Datatype</th><th>Description</th></tr>
<tr><td><code>tenancy</code></td><td><code>string</code></td><td></td></tr>
<tr><td><code>end_date_type</code></td><td><code>string</code></td><td></td></tr>
<tr><td><code>tag_specifications</code></td><td><code>array</code></td><td></td></tr>
<tr><td><code>availability_zone</code></td><td><code>string</code></td><td></td></tr>
<tr><td><code>total_instance_count</code></td><td><code>integer</code></td><td></td></tr>
<tr><td><code>end_date</code></td><td><code>string</code></td><td></td></tr>
<tr><td><code>ebs_optimized</code></td><td><code>boolean</code></td><td></td></tr>
<tr><td><code>out_post_arn</code></td><td><code>string</code></td><td></td></tr>
<tr><td><code>instance_count</code></td><td><code>integer</code></td><td></td></tr>
<tr><td><code>placement_group_arn</code></td><td><code>string</code></td><td></td></tr>
<tr><td><code>available_instance_count</code></td><td><code>integer</code></td><td></td></tr>
<tr><td><code>instance_platform</code></td><td><code>string</code></td><td></td></tr>
<tr><td><code>id</code></td><td><code>string</code></td><td></td></tr>
<tr><td><code>instance_type</code></td><td><code>string</code></td><td></td></tr>
<tr><td><code>ephemeral_storage</code></td><td><code>boolean</code></td><td></td></tr>
<tr><td><code>instance_match_criteria</code></td><td><code>string</code></td><td></td></tr>
<tr><td><code>region</code></td><td><code>string</code></td><td>AWS region.</td></tr>

</tbody></table>

## Methods
Currently only <code>SELECT</code> is supported for this resource resource.

## Example
```sql
SELECT
region,
tenancy,
end_date_type,
tag_specifications,
availability_zone,
total_instance_count,
end_date,
ebs_optimized,
out_post_arn,
instance_count,
placement_group_arn,
available_instance_count,
instance_platform,
id,
instance_type,
ephemeral_storage,
instance_match_criteria
FROM awscc.ec2.capacity_reservation
WHERE data__Identifier = '<Id>';
```

## Permissions

To operate on the <code>capacity_reservation</code> resource, the following permissions are required:

### Delete
```json
ec2:CreateCapacityReservation,
ec2:DescribeCapacityReservations,
ec2:CancelCapacityReservation,
ec2:DeleteTags
```

### Read
```json
ec2:DescribeCapacityReservations
```

### Update
```json
ec2:ModifyCapacityReservation,
ec2:CreateCapacityReservation,
ec2:DescribeCapacityReservations,
ec2:CancelCapacityReservation,
ec2:CreateTags,
ec2:DeleteTags
```

Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
---
title: capacity_reservation_fleet
hide_title: false
hide_table_of_contents: false
keywords:
- capacity_reservation_fleet
- ec2
- aws
- stackql
- infrastructure-as-code
- configuration-as-data
- cloud inventory
description: Query, deploy and manage AWS resources using SQL
custom_edit_url: null
image: /img/providers/aws/stackql-aws-provider-featured-image.png
---
Gets an individual <code>capacity_reservation_fleet</code> resource

## Overview
<table><tbody>
<tr><td><b>Name</b></td><td><code>capacity_reservation_fleet</code></td></tr>
<tr><td><b>Type</b></td><td>Resource</td></tr>
<tr><td><b>Description</b></td><td>capacity_reservation_fleet</td></tr>
<tr><td><b>Id</b></td><td><code>awscc.ec2.capacity_reservation_fleet</code></td></tr>
</tbody></table>

## Fields
<table><tbody>
<tr><th>Name</th><th>Datatype</th><th>Description</th></tr>
<tr><td><code>allocation_strategy</code></td><td><code>string</code></td><td></td></tr>
<tr><td><code>tag_specifications</code></td><td><code>array</code></td><td></td></tr>
<tr><td><code>instance_type_specifications</code></td><td><code>array</code></td><td></td></tr>
<tr><td><code>total_target_capacity</code></td><td><code>integer</code></td><td></td></tr>
<tr><td><code>end_date</code></td><td><code>string</code></td><td></td></tr>
<tr><td><code>instance_match_criteria</code></td><td><code>string</code></td><td></td></tr>
<tr><td><code>capacity_reservation_fleet_id</code></td><td><code>string</code></td><td></td></tr>
<tr><td><code>tenancy</code></td><td><code>string</code></td><td></td></tr>
<tr><td><code>remove_end_date</code></td><td><code>boolean</code></td><td></td></tr>
<tr><td><code>no_remove_end_date</code></td><td><code>boolean</code></td><td></td></tr>
<tr><td><code>region</code></td><td><code>string</code></td><td>AWS region.</td></tr>

</tbody></table>

## Methods
Currently only <code>SELECT</code> is supported for this resource resource.

## Example
```sql
SELECT
region,
allocation_strategy,
tag_specifications,
instance_type_specifications,
total_target_capacity,
end_date,
instance_match_criteria,
capacity_reservation_fleet_id,
tenancy,
remove_end_date,
no_remove_end_date
FROM awscc.ec2.capacity_reservation_fleet
WHERE data__Identifier = '<CapacityReservationFleetId>';
```

## Permissions

To operate on the <code>capacity_reservation_fleet</code> resource, the following permissions are required:

### Delete
```json
ec2:CreateCapacityReservationFleet,
ec2:ModifyCapacityReservationFleet,
ec2:DescribeCapacityReservationFleets,
ec2:CancelCapacityReservationFleets,
ec2:CreateCapacityReservation,
ec2:DescribeCapacityReservations,
ec2:CancelCapacityReservation,
ec2:DeleteTags
```

### Read
```json
ec2:DescribeCapacityReservationFleets,
ec2:DescribeInstances,
ec2:DescribeCapacityReservations
```

### Update
```json
ec2:CreateCapacityReservationFleet,
ec2:ModifyCapacityReservationFleet,
ec2:DescribeCapacityReservationFleets,
ec2:CancelCapacityReservationFleets,
ec2:CreateCapacityReservation,
ec2:ModifyCapacityReservation,
ec2:DescribeCapacityReservations,
ec2:CancelCapacityReservation,
ec2:DescribeInstances,
ec2:DeleteTags
```

Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
---
title: capacity_reservation_fleets
hide_title: false
hide_table_of_contents: false
keywords:
- capacity_reservation_fleets
- ec2
- aws
- stackql
- infrastructure-as-code
- configuration-as-data
- cloud inventory
description: Query, deploy and manage AWS resources using SQL
custom_edit_url: null
image: /img/providers/aws/stackql-aws-provider-featured-image.png
---
Retrieves a list of <code>capacity_reservation_fleets</code> in a region

## Overview
<table><tbody>
<tr><td><b>Name</b></td><td><code>capacity_reservation_fleets</code></td></tr>
<tr><td><b>Type</b></td><td>Resource</td></tr>
<tr><td><b>Description</b></td><td>capacity_reservation_fleets</td></tr>
<tr><td><b>Id</b></td><td><code>awscc.ec2.capacity_reservation_fleets</code></td></tr>
</tbody></table>

## Fields
<table><tbody>
<tr><th>Name</th><th>Datatype</th><th>Description</th></tr>
<tr><td><code>capacity_reservation_fleet_id</code></td><td><code>string</code></td><td></td></tr>
<tr><td><code>region</code></td><td><code>string</code></td><td>AWS region.</td></tr>

</tbody></table>

## Methods
Currently only <code>SELECT</code> is supported for this resource resource.

## Example
```sql
SELECT
region,
capacity_reservation_fleet_id
FROM awscc.ec2.capacity_reservation_fleets
WHERE region = 'us-east-1'
```

## Permissions

To operate on the <code>capacity_reservation_fleets</code> resource, the following permissions are required:

### Create
```json
ec2:CreateCapacityReservationFleet,
ec2:ModifyCapacityReservationFleet,
ec2:DescribeCapacityReservationFleets,
ec2:CancelCapacityReservationFleets,
ec2:CreateCapacityReservation,
ec2:DescribeCapacityReservations,
ec2:CancelCapacityReservation,
ec2:DescribeInstances,
ec2:CreateTags,
iam:CreateServiceLinkedRole
```

### List
```json
ec2:DescribeCapacityReservationFleets,
ec2:DescribeCapacityReservations,
ec2:DescribeInstances
```

63 changes: 63 additions & 0 deletions docs/awscc-docs/providers/awscc/ec2/capacity_reservations/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
---
title: capacity_reservations
hide_title: false
hide_table_of_contents: false
keywords:
- capacity_reservations
- ec2
- aws
- stackql
- infrastructure-as-code
- configuration-as-data
- cloud inventory
description: Query, deploy and manage AWS resources using SQL
custom_edit_url: null
image: /img/providers/aws/stackql-aws-provider-featured-image.png
---
Retrieves a list of <code>capacity_reservations</code> in a region

## Overview
<table><tbody>
<tr><td><b>Name</b></td><td><code>capacity_reservations</code></td></tr>
<tr><td><b>Type</b></td><td>Resource</td></tr>
<tr><td><b>Description</b></td><td>capacity_reservations</td></tr>
<tr><td><b>Id</b></td><td><code>awscc.ec2.capacity_reservations</code></td></tr>
</tbody></table>

## Fields
<table><tbody>
<tr><th>Name</th><th>Datatype</th><th>Description</th></tr>
<tr><td><code>id</code></td><td><code>string</code></td><td></td></tr>
<tr><td><code>region</code></td><td><code>string</code></td><td>AWS region.</td></tr>

</tbody></table>

## Methods
Currently only <code>SELECT</code> is supported for this resource resource.

## Example
```sql
SELECT
region,
id
FROM awscc.ec2.capacity_reservations
WHERE region = 'us-east-1'
```

## Permissions

To operate on the <code>capacity_reservations</code> resource, the following permissions are required:

### Create
```json
ec2:CreateCapacityReservation,
ec2:DescribeCapacityReservations,
ec2:CancelCapacityReservation,
ec2:CreateTags
```

### List
```json
ec2:DescribeCapacityReservations
```

Loading

0 comments on commit 8f21484

Please sign in to comment.