Skip to content

Commit

Permalink
Merge pull request #141 from stackql/feature/doc-updates
Browse files Browse the repository at this point in the history
copyable code for aws
  • Loading branch information
jeffreyaven authored May 3, 2024
2 parents 94b287c + eab11ac commit 9201ff0
Show file tree
Hide file tree
Showing 1,920 changed files with 28,504 additions and 22,681 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:

- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v35
uses: tj-actions/changed-files@v44.3.0

- name: find updated providers
id: provider-to-deploy
uses: actions/github-script@v6
uses: actions/github-script@v7.0.1
env:
CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
with:
Expand All @@ -43,7 +43,7 @@ jobs:
- name: Send Slack message
id: slack
uses: slackapi/slack-github-action@v1.23.0
uses: slackapi/slack-github-action@v1.26.0
with:
payload-file-path: slack-message.json
env:
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
- name: Send Slack message
id: slack
uses: slackapi/slack-github-action@v1.23.0
uses: slackapi/slack-github-action@v1.26.0
with:
payload-file-path: slack-message.json
env:
Expand Down
31 changes: 17 additions & 14 deletions docs/aws-docs/providers/aws/accessanalyzer/analyzer/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,29 @@ description: Query, deploy and manage AWS resources using SQL
custom_edit_url: null
image: /img/providers/aws/stackql-aws-provider-featured-image.png
---

import CopyableCode from '@site/src/components/CopyableCode/CopyableCode';

Gets or operates on an individual <code>analyzer</code> resource, use <code>analyzers</code> to retrieve a list of resources or to create a resource.

## Overview
<table><tbody>
<tr><td><b>Name</b></td><td><code>analyzer</code></td></tr>
<tr><td><b>Type</b></td><td>Resource</td></tr>
<tr><td><b>Description</b></td><td>The AWS::AccessAnalyzer::Analyzer type specifies an analyzer of the user's account</td></tr>
<tr><td><b>Id</b></td><td><code>aws.accessanalyzer.analyzer</code></td></tr>
<tr><td><b>Id</b></td><td><CopyableCode code="aws.accessanalyzer.analyzer" /></td></tr>
</tbody></table>

## Fields
<table><tbody>
<tr><th>Name</th><th>Datatype</th><th>Description</th></tr>
<tr><td><code>analyzer_name</code></td><td><code>string</code></td><td>Analyzer name</td></tr>
<tr><td><code>archive_rules</code></td><td><code>array</code></td><td></td></tr>
<tr><td><code>arn</code></td><td><code>string</code></td><td>Amazon Resource Name (ARN) of the analyzer</td></tr>
<tr><td><code>tags</code></td><td><code>array</code></td><td>An array of key-value pairs to apply to this resource.</td></tr>
<tr><td><code>type</code></td><td><code>string</code></td><td>The type of the analyzer, must be one of ACCOUNT, ORGANIZATION, ACCOUNT_UNUSED_ACCESS or ORGANIZATION_UNUSED_ACCESS</td></tr>
<tr><td><code>analyzer_configuration</code></td><td><code>object</code></td><td>The configuration for the analyzer</td></tr>
<tr><td><code>region</code></td><td><code>string</code></td><td>AWS region.</td></tr>
<tr><td><CopyableCode code="analyzer_name" /></td><td><code>string</code></td><td>Analyzer name</td></tr>
<tr><td><CopyableCode code="archive_rules" /></td><td><code>array</code></td><td></td></tr>
<tr><td><CopyableCode code="arn" /></td><td><code>string</code></td><td>Amazon Resource Name (ARN) of the analyzer</td></tr>
<tr><td><CopyableCode code="tags" /></td><td><code>array</code></td><td>An array of key-value pairs to apply to this resource.</td></tr>
<tr><td><CopyableCode code="type" /></td><td><code>string</code></td><td>The type of the analyzer, must be one of ACCOUNT, ORGANIZATION, ACCOUNT_UNUSED_ACCESS or ORGANIZATION_UNUSED_ACCESS</td></tr>
<tr><td><CopyableCode code="analyzer_configuration" /></td><td><code>object</code></td><td>The configuration for the analyzer</td></tr>
<tr><td><CopyableCode code="region" /></td><td><code>string</code></td><td>AWS region.</td></tr>

</tbody></table>

Expand All @@ -46,19 +49,19 @@ Gets or operates on an individual <code>analyzer</code> resource, use <code>anal
<th>Required Params</th>
</tr>
<tr>
<td><code>update_resource</code></td>
<td><CopyableCode code="update_resource" /></td>
<td><code>UPDATE</code></td>
<td><code>data__Identifier, data__PatchDocument, region</code></td>
<td><CopyableCode code="data__Identifier, data__PatchDocument, region" /></td>
</tr>
<tr>
<td><code>delete_resource</code></td>
<td><CopyableCode code="delete_resource" /></td>
<td><code>DELETE</code></td>
<td><code>data__Identifier, region</code></td>
<td><CopyableCode code="data__Identifier, region" /></td>
</tr>
<tr>
<td><code>get_resource</code></td>
<td><CopyableCode code="get_resource" /></td>
<td><code>SELECT</code></td>
<td><code>data__Identifier, region</code></td>
<td><CopyableCode code="data__Identifier, region" /></td>
</tr>
</tbody></table>

Expand Down
17 changes: 10 additions & 7 deletions docs/aws-docs/providers/aws/accessanalyzer/analyzers/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,24 @@ description: Query, deploy and manage AWS resources using SQL
custom_edit_url: null
image: /img/providers/aws/stackql-aws-provider-featured-image.png
---

import CopyableCode from '@site/src/components/CopyableCode/CopyableCode';

Used to retrieve a list of <code>analyzers</code> in a region or create a <code>analyzers</code> resource, use <code>analyzer</code> to operate on an individual resource.

## Overview
<table><tbody>
<tr><td><b>Name</b></td><td><code>analyzers</code></td></tr>
<tr><td><b>Type</b></td><td>Resource</td></tr>
<tr><td><b>Description</b></td><td>The AWS::AccessAnalyzer::Analyzer type specifies an analyzer of the user's account</td></tr>
<tr><td><b>Id</b></td><td><code>aws.accessanalyzer.analyzers</code></td></tr>
<tr><td><b>Id</b></td><td><CopyableCode code="aws.accessanalyzer.analyzers" /></td></tr>
</tbody></table>

## Fields
<table><tbody>
<tr><th>Name</th><th>Datatype</th><th>Description</th></tr>
<tr><td><code>arn</code></td><td><code>string</code></td><td>Amazon Resource Name (ARN) of the analyzer</td></tr>
<tr><td><code>region</code></td><td><code>string</code></td><td>AWS region.</td></tr>
<tr><td><CopyableCode code="arn" /></td><td><code>string</code></td><td>Amazon Resource Name (ARN) of the analyzer</td></tr>
<tr><td><CopyableCode code="region" /></td><td><code>string</code></td><td>AWS region.</td></tr>

</tbody></table>

Expand All @@ -41,14 +44,14 @@ Used to retrieve a list of <code>analyzers</code> in a region or create a <code>
<th>Required Params</th>
</tr>
<tr>
<td><code>create_resource</code></td>
<td><CopyableCode code="create_resource" /></td>
<td><code>INSERT</code></td>
<td><code>data__DesiredState, region</code></td>
<td><CopyableCode code="data__DesiredState, region" /></td>
</tr>
<tr>
<td><code>list_resource</code></td>
<td><CopyableCode code="list_resource" /></td>
<td><code>SELECT</code></td>
<td><code>region</code></td>
<td><CopyableCode code="region" /></td>
</tr>
</tbody></table>

Expand Down
37 changes: 20 additions & 17 deletions docs/aws-docs/providers/aws/acmpca/certificate/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,29 +14,32 @@ description: Query, deploy and manage AWS resources using SQL
custom_edit_url: null
image: /img/providers/aws/stackql-aws-provider-featured-image.png
---

import CopyableCode from '@site/src/components/CopyableCode/CopyableCode';

Gets or operates on an individual <code>certificate</code> resource, use <code>certificates</code> to retrieve a list of resources or to create a resource.

## Overview
<table><tbody>
<tr><td><b>Name</b></td><td><code>certificate</code></td></tr>
<tr><td><b>Type</b></td><td>Resource</td></tr>
<tr><td><b>Description</b></td><td>The ``AWS::ACMPCA::Certificate`` resource is used to issue a certificate using your private certificate authority. For more information, see the &#91;IssueCertificate&#93;(https:&#x2F;&#x2F;docs.aws.amazon.com&#x2F;privateca&#x2F;latest&#x2F;APIReference&#x2F;API_IssueCertificate.html) action.</td></tr>
<tr><td><b>Id</b></td><td><code>aws.acmpca.certificate</code></td></tr>
<tr><td><b>Id</b></td><td><CopyableCode code="aws.acmpca.certificate" /></td></tr>
</tbody></table>

## Fields
<table><tbody>
<tr><th>Name</th><th>Datatype</th><th>Description</th></tr>
<tr><td><code>api_passthrough</code></td><td><code>object</code></td><td>Specifies X.509 certificate information to be included in the issued certificate. An ``APIPassthrough`` or ``APICSRPassthrough`` template variant must be selected, or else this parameter is ignored.</td></tr>
<tr><td><code>certificate_authority_arn</code></td><td><code>string</code></td><td>The Amazon Resource Name (ARN) for the private CA issues the certificate.</td></tr>
<tr><td><code>certificate_signing_request</code></td><td><code>string</code></td><td>The certificate signing request (CSR) for the certificate.</td></tr>
<tr><td><code>signing_algorithm</code></td><td><code>string</code></td><td>The name of the algorithm that will be used to sign the certificate to be issued. &lt;br&#x2F;&gt; This parameter should not be confused with the ``SigningAlgorithm`` parameter used to sign a CSR in the ``CreateCertificateAuthority`` action.&lt;br&#x2F;&gt; The specified signing algorithm family (RSA or ECDSA) must match the algorithm family of the CA's secret key.</td></tr>
<tr><td><code>template_arn</code></td><td><code>string</code></td><td>Specifies a custom configuration template to use when issuing a certificate. If this parameter is not provided, PCAshort defaults to the ``EndEntityCertificate&#x2F;V1`` template. For more information about PCAshort templates, see &#91;Using Templates&#93;(https:&#x2F;&#x2F;docs.aws.amazon.com&#x2F;privateca&#x2F;latest&#x2F;userguide&#x2F;UsingTemplates.html).</td></tr>
<tr><td><code>validity</code></td><td><code>object</code></td><td>The period of time during which the certificate will be valid.</td></tr>
<tr><td><code>validity_not_before</code></td><td><code>object</code></td><td>Information describing the start of the validity period of the certificate. This parameter sets the “Not Before" date for the certificate.&lt;br&#x2F;&gt; By default, when issuing a certificate, PCAshort sets the "Not Before" date to the issuance time minus 60 minutes. This compensates for clock inconsistencies across computer systems. The ``ValidityNotBefore`` parameter can be used to customize the “Not Before” value. &lt;br&#x2F;&gt; Unlike the ``Validity`` parameter, the ``ValidityNotBefore`` parameter is optional.&lt;br&#x2F;&gt; The ``ValidityNotBefore`` value is expressed as an explicit date and time, using the ``Validity`` type value ``ABSOLUTE``.</td></tr>
<tr><td><code>certificate</code></td><td><code>string</code></td><td></td></tr>
<tr><td><code>arn</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>
<tr><td><CopyableCode code="api_passthrough" /></td><td><code>object</code></td><td>Specifies X.509 certificate information to be included in the issued certificate. An ``APIPassthrough`` or ``APICSRPassthrough`` template variant must be selected, or else this parameter is ignored.</td></tr>
<tr><td><CopyableCode code="certificate_authority_arn" /></td><td><code>string</code></td><td>The Amazon Resource Name (ARN) for the private CA issues the certificate.</td></tr>
<tr><td><CopyableCode code="certificate_signing_request" /></td><td><code>string</code></td><td>The certificate signing request (CSR) for the certificate.</td></tr>
<tr><td><CopyableCode code="signing_algorithm" /></td><td><code>string</code></td><td>The name of the algorithm that will be used to sign the certificate to be issued. &lt;br&#x2F;&gt; This parameter should not be confused with the ``SigningAlgorithm`` parameter used to sign a CSR in the ``CreateCertificateAuthority`` action.&lt;br&#x2F;&gt; The specified signing algorithm family (RSA or ECDSA) must match the algorithm family of the CA's secret key.</td></tr>
<tr><td><CopyableCode code="template_arn" /></td><td><code>string</code></td><td>Specifies a custom configuration template to use when issuing a certificate. If this parameter is not provided, PCAshort defaults to the ``EndEntityCertificate&#x2F;V1`` template. For more information about PCAshort templates, see &#91;Using Templates&#93;(https:&#x2F;&#x2F;docs.aws.amazon.com&#x2F;privateca&#x2F;latest&#x2F;userguide&#x2F;UsingTemplates.html).</td></tr>
<tr><td><CopyableCode code="validity" /></td><td><code>object</code></td><td>The period of time during which the certificate will be valid.</td></tr>
<tr><td><CopyableCode code="validity_not_before" /></td><td><code>object</code></td><td>Information describing the start of the validity period of the certificate. This parameter sets the “Not Before" date for the certificate.&lt;br&#x2F;&gt; By default, when issuing a certificate, PCAshort sets the "Not Before" date to the issuance time minus 60 minutes. This compensates for clock inconsistencies across computer systems. The ``ValidityNotBefore`` parameter can be used to customize the “Not Before” value. &lt;br&#x2F;&gt; Unlike the ``Validity`` parameter, the ``ValidityNotBefore`` parameter is optional.&lt;br&#x2F;&gt; The ``ValidityNotBefore`` value is expressed as an explicit date and time, using the ``Validity`` type value ``ABSOLUTE``.</td></tr>
<tr><td><CopyableCode code="certificate" /></td><td><code>string</code></td><td></td></tr>
<tr><td><CopyableCode code="arn" /></td><td><code>string</code></td><td></td></tr>
<tr><td><CopyableCode code="region" /></td><td><code>string</code></td><td>AWS region.</td></tr>

</tbody></table>

Expand All @@ -49,19 +52,19 @@ Gets or operates on an individual <code>certificate</code> resource, use <code>c
<th>Required Params</th>
</tr>
<tr>
<td><code>update_resource</code></td>
<td><CopyableCode code="update_resource" /></td>
<td><code>UPDATE</code></td>
<td><code>data__Identifier, data__PatchDocument, region</code></td>
<td><CopyableCode code="data__Identifier, data__PatchDocument, region" /></td>
</tr>
<tr>
<td><code>delete_resource</code></td>
<td><CopyableCode code="delete_resource" /></td>
<td><code>DELETE</code></td>
<td><code>data__Identifier, region</code></td>
<td><CopyableCode code="data__Identifier, region" /></td>
</tr>
<tr>
<td><code>get_resource</code></td>
<td><CopyableCode code="get_resource" /></td>
<td><code>SELECT</code></td>
<td><code>data__Identifier, region</code></td>
<td><CopyableCode code="data__Identifier, region" /></td>
</tr>
</tbody></table>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,24 @@ description: Query, deploy and manage AWS resources using SQL
custom_edit_url: null
image: /img/providers/aws/stackql-aws-provider-featured-image.png
---

import CopyableCode from '@site/src/components/CopyableCode/CopyableCode';

Used to retrieve a list of <code>certificate_authorities</code> in a region or create a <code>certificate_authorities</code> resource, use <code>certificate_authority</code> to operate on an individual resource.

## Overview
<table><tbody>
<tr><td><b>Name</b></td><td><code>certificate_authorities</code></td></tr>
<tr><td><b>Type</b></td><td>Resource</td></tr>
<tr><td><b>Description</b></td><td>Private certificate authority.</td></tr>
<tr><td><b>Id</b></td><td><code>aws.acmpca.certificate_authorities</code></td></tr>
<tr><td><b>Id</b></td><td><CopyableCode code="aws.acmpca.certificate_authorities" /></td></tr>
</tbody></table>

## Fields
<table><tbody>
<tr><th>Name</th><th>Datatype</th><th>Description</th></tr>
<tr><td><code>arn</code></td><td><code>undefined</code></td><td>The Amazon Resource Name (ARN) of the certificate authority.</td></tr>
<tr><td><code>region</code></td><td><code>string</code></td><td>AWS region.</td></tr>
<tr><td><CopyableCode code="arn" /></td><td><code>undefined</code></td><td>The Amazon Resource Name (ARN) of the certificate authority.</td></tr>
<tr><td><CopyableCode code="region" /></td><td><code>string</code></td><td>AWS region.</td></tr>

</tbody></table>

Expand All @@ -41,14 +44,14 @@ Used to retrieve a list of <code>certificate_authorities</code> in a region or c
<th>Required Params</th>
</tr>
<tr>
<td><code>create_resource</code></td>
<td><CopyableCode code="create_resource" /></td>
<td><code>INSERT</code></td>
<td><code>data__DesiredState, region</code></td>
<td><CopyableCode code="data__DesiredState, region" /></td>
</tr>
<tr>
<td><code>list_resource</code></td>
<td><CopyableCode code="list_resource" /></td>
<td><code>SELECT</code></td>
<td><code>region</code></td>
<td><CopyableCode code="region" /></td>
</tr>
</tbody></table>

Expand Down
Loading

0 comments on commit 9201ff0

Please sign in to comment.