diff --git a/bin/generate-docs.js b/bin/generate-docs.js
index d62f19c77..560828d57 100644
--- a/bin/generate-docs.js
+++ b/bin/generate-docs.js
@@ -207,7 +207,7 @@ function createDeleteExample(serviceName, resourceName, resourceData, thisSchema
${sqlCodeBlockStart}
/*+ delete */
DELETE FROM ${providerName}.${serviceName}.${resourceName}
-WHERE Identifier = '<${resourceData['x-identifiers'].join('|')}>'
+WHERE Identifier = '${resourceData['x-identifiers'].map(id => `{{ ${toSnakeCase(fixCamelCaseIssues(id))} }}`).join('|')}'
AND region = 'us-east-1';
${codeBlockEnd}
`;
@@ -230,7 +230,7 @@ function createUpdateExample(serviceName, resourceName, resourceData, thisSchema
}
const patchFields = updatableProps.map(p => ` "${p}": ${toSnakeCase(fixCamelCaseIssues(p))}`).join(',\n');
- const identifierValues = (resourceData['x-identifiers'] || []).map(id => `<${id}>`).join('|');
+ const identifierValues = (resourceData['x-identifiers'] || []).map(id => `{{ ${toSnakeCase(fixCamelCaseIssues(id))} }}`).join('|');
return `\n## ${mdCodeAnchor}UPDATE${mdCodeAnchor} example
@@ -320,14 +320,15 @@ function createInsertExample(serviceName, resourceName, resourceData, thisSchema
function templateObjectValues(obj) {
const templatedObj = JSON.parse(JSON.stringify(obj), (key, value) => {
+ const snakeKey = key ? toSnakeCase(fixCamelCaseIssues(key)) : key;
if (typeof value === 'string') {
- return `{{ ${key} }}`;
+ return `{{ ${snakeKey} }}`;
}
if (typeof value === 'boolean' || typeof value === 'number') {
- return `{{ ${key} }}`;
+ return `{{ ${snakeKey} }}`;
}
if (Array.isArray(value) && value.length > 0 && typeof value[0] === 'string') {
- return [`{{ ${key}[0] }}`];
+ return [`{{ ${snakeKey}[0] }}`];
}
return value;
});
@@ -350,13 +351,13 @@ function createInsertExample(serviceName, resourceName, resourceData, thisSchema
function transformDataToResource(templateData, resourceName, isRoot = true) {
if (!templateData) return null;
-
+
if (isRoot) {
// If it's the root object, return a structured resource
return {
name: `${pluralize.singular(resourceName)}`,
props: Object.entries(templateData).map(([key, value]) => ({
- name: key,
+ name: toSnakeCase(fixCamelCaseIssues(key)),
value: transformDataToResource(value, resourceName, false)
}))
};
@@ -367,7 +368,7 @@ function createInsertExample(serviceName, resourceName, resourceData, thisSchema
// For object values, recursively call transformation for each property
const transformedObject = {};
for (const [key, value] of Object.entries(templateData)) {
- transformedObject[key] = transformDataToResource(value, resourceName, false);
+ transformedObject[toSnakeCase(fixCamelCaseIssues(key))] = transformDataToResource(value, resourceName, false);
}
return transformedObject;
} else {
@@ -378,6 +379,11 @@ function createInsertExample(serviceName, resourceName, resourceData, thisSchema
templateObject.resources.push(transformDataToResource(templateObjectValues(resolveType(thisSchema, false)), resourceName));
+ const requiredKeys = getObjectDetails(resolveType(thisSchema, true), 'keys');
+ const allKeys = getObjectDetails(resolveType(thisSchema, false), 'keys');
+ const requiredSnakeKeys = requiredKeys.map(k => toSnakeCase(fixCamelCaseIssues(k)));
+ const allSnakeKeys = allKeys.map(k => toSnakeCase(fixCamelCaseIssues(k)));
+
return `\n## ${mdCodeAnchor}INSERT${mdCodeAnchor} example
Use the following StackQL query and manifest file to create a new ${pluralize.singular(resourceName)} resource, using [__${mdCodeAnchor}stack-deploy${mdCodeAnchor}__](https://pypi.org/project/stack-deploy/).
@@ -395,11 +401,11 @@ Use the following StackQL query and manifest file to create a new ${plural
${sqlCodeBlockStart}
/*+ create */
INSERT INTO ${providerName}.${serviceName}.${resourceName} (
- ${getObjectDetails(resolveType(thisSchema, true), 'keys').join(",\n ")},
+ ${requiredKeys.join(",\n ")},
region
)
-SELECT
-'{{ ${getObjectDetails(resolveType(thisSchema, true), 'keys').join(" }}',\n '{{ ")} }}',
+SELECT
+'{{ ${requiredSnakeKeys.join(" }}',\n '{{ ")} }}',
'{{ region }}';
${codeBlockEnd}
@@ -408,18 +414,18 @@ ${codeBlockEnd}
${sqlCodeBlockStart}
/*+ create */
INSERT INTO ${providerName}.${serviceName}.${resourceName} (
- ${getObjectDetails(resolveType(thisSchema, false), 'keys').join(",\n ")},
+ ${allKeys.join(",\n ")},
region
)
-SELECT
- '{{ ${getObjectDetails(resolveType(thisSchema, false), 'keys').join(" }}',\n '{{ ")} }}',
+SELECT
+ '{{ ${allSnakeKeys.join(" }}',\n '{{ ")} }}',
'{{ region }}';
${codeBlockEnd}
${yamlCodeBlockStart}
-${yaml.dump(templateObject)}
+${yaml.dump(templateObject, { lineWidth: -1 }).trimEnd()}
${codeBlockEnd}
`;
@@ -454,8 +460,7 @@ function createResourceIndexContent(serviceName, resourceName, resourceType, res
const sqlExampleSelect = `SELECT`;
const sqlExampleFrom = `FROM ${providerName}.${serviceName}.${resourceName}`;
- const globalServices = ['iam', 'route53', 'cloudfront', 'wafv2', 'shield', 'globalaccelerator'];
- sqlExampleWhere = globalServices.includes(serviceName) ? "" : "WHERE region = 'us-east-1'";
+ sqlExampleWhere = "WHERE region = 'us-east-1'";
let fields = resourceIdentifiers;
@@ -664,11 +669,11 @@ ${tabItems}
});
}
- const identifierValues = resourceIdentifiers.map(id => `<${id}>`).join('|');
+ const identifierValues = resourceIdentifiers.map(id => `{{ ${toSnakeCase(fixCamelCaseIssues(id))} }}`).join('|');
const identifierClause = `Identifier = '${identifierValues}'`;
sqlExampleListWhere = `${sqlExampleWhere};`;
- globalServices.includes(serviceName) ? sqlExampleGetWhere = `WHERE ${identifierClause};`: sqlExampleGetWhere = `${sqlExampleWhere} AND ${identifierClause};`;
+ sqlExampleGetWhere = `${sqlExampleWhere} AND ${identifierClause};`;
}
diff --git a/website/docs/services/accessanalyzer/analyzers/index.md b/website/docs/services/accessanalyzer/analyzers/index.md
index e025b4e29..76c866714 100644
--- a/website/docs/services/accessanalyzer/analyzers/index.md
+++ b/website/docs/services/accessanalyzer/analyzers/index.md
@@ -260,7 +260,7 @@ tags,
type,
analyzer_configuration
FROM awscc.accessanalyzer.analyzers
-WHERE region = 'us-east-1' AND Identifier = '';
+WHERE region = 'us-east-1' AND Identifier = '{{ arn }}';
```
@@ -296,8 +296,8 @@ INSERT INTO awscc.accessanalyzer.analyzers (
Type,
region
)
-SELECT
-'{{ Type }}',
+SELECT
+'{{ type }}',
'{{ region }}';
```
@@ -313,12 +313,12 @@ INSERT INTO awscc.accessanalyzer.analyzers (
AnalyzerConfiguration,
region
)
-SELECT
- '{{ AnalyzerName }}',
- '{{ ArchiveRules }}',
- '{{ Tags }}',
- '{{ Type }}',
- '{{ AnalyzerConfiguration }}',
+SELECT
+ '{{ analyzer_name }}',
+ '{{ archive_rules }}',
+ '{{ tags }}',
+ '{{ type }}',
+ '{{ analyzer_configuration }}',
'{{ region }}';
```
@@ -336,46 +336,45 @@ globals:
resources:
- name: analyzer
props:
- - name: AnalyzerName
- value: '{{ AnalyzerName }}'
- - name: ArchiveRules
+ - name: analyzer_name
+ value: '{{ analyzer_name }}'
+ - name: archive_rules
value:
- - Filter:
- - Contains:
- - '{{ Contains[0] }}'
- Eq:
- - '{{ Eq[0] }}'
- Exists: '{{ Exists }}'
- Property: '{{ Property }}'
- Neq:
- - '{{ Neq[0] }}'
- RuleName: '{{ RuleName }}'
- - name: Tags
+ - filter:
+ - contains:
+ - '{{ contains[0] }}'
+ eq:
+ - '{{ eq[0] }}'
+ exists: '{{ exists }}'
+ property: '{{ property }}'
+ neq:
+ - '{{ neq[0] }}'
+ rule_name: '{{ rule_name }}'
+ - name: tags
value:
- - Key: '{{ Key }}'
- Value: '{{ Value }}'
- - name: Type
- value: '{{ Type }}'
- - name: AnalyzerConfiguration
+ - key: '{{ key }}'
+ value: '{{ value }}'
+ - name: type
+ value: '{{ type }}'
+ - name: analyzer_configuration
value:
- UnusedAccessConfiguration:
- UnusedAccessAge: '{{ UnusedAccessAge }}'
- AnalysisRule:
- Exclusions:
- - AccountIds:
- - '{{ AccountIds[0] }}'
- ResourceTags:
+ unused_access_configuration:
+ unused_access_age: '{{ unused_access_age }}'
+ analysis_rule:
+ exclusions:
+ - account_ids:
+ - '{{ account_ids[0] }}'
+ resource_tags:
- - null
- InternalAccessConfiguration:
- InternalAccessAnalysisRule:
- Inclusions:
- - AccountIds:
- - '{{ AccountIds[0] }}'
- ResourceArns:
- - '{{ ResourceArns[0] }}'
- ResourceTypes:
- - '{{ ResourceTypes[0] }}'
-
+ internal_access_configuration:
+ internal_access_analysis_rule:
+ inclusions:
+ - account_ids:
+ - '{{ account_ids[0] }}'
+ resource_arns:
+ - '{{ resource_arns[0] }}'
+ resource_types:
+ - '{{ resource_types[0] }}'
```
@@ -393,7 +392,7 @@ SET PatchDocument = string('{{ {
"AnalyzerConfiguration": analyzer_configuration
} | generate_patch_document }}')
WHERE region = '{{ region }}'
-AND Identifier = '';
+AND Identifier = '{{ arn }}';
```
@@ -402,7 +401,7 @@ AND Identifier = '';
```sql
/*+ delete */
DELETE FROM awscc.accessanalyzer.analyzers
-WHERE Identifier = ''
+WHERE Identifier = '{{ arn }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/acmpca/certificate_authorities/index.md b/website/docs/services/acmpca/certificate_authorities/index.md
index aff453668..9d8fe842e 100644
--- a/website/docs/services/acmpca/certificate_authorities/index.md
+++ b/website/docs/services/acmpca/certificate_authorities/index.md
@@ -488,7 +488,7 @@ csr_extensions,
key_storage_security_standard,
usage_mode
FROM awscc.acmpca.certificate_authorities
-WHERE region = 'us-east-1' AND Identifier = '';
+WHERE region = 'us-east-1' AND Identifier = '{{ arn }}';
```
@@ -527,11 +527,11 @@ INSERT INTO awscc.acmpca.certificate_authorities (
Subject,
region
)
-SELECT
-'{{ Type }}',
- '{{ KeyAlgorithm }}',
- '{{ SigningAlgorithm }}',
- '{{ Subject }}',
+SELECT
+'{{ type }}',
+ '{{ key_algorithm }}',
+ '{{ signing_algorithm }}',
+ '{{ subject }}',
'{{ region }}';
```
@@ -551,16 +551,16 @@ INSERT INTO awscc.acmpca.certificate_authorities (
UsageMode,
region
)
-SELECT
- '{{ Type }}',
- '{{ KeyAlgorithm }}',
- '{{ SigningAlgorithm }}',
- '{{ Subject }}',
- '{{ RevocationConfiguration }}',
- '{{ Tags }}',
- '{{ CsrExtensions }}',
- '{{ KeyStorageSecurityStandard }}',
- '{{ UsageMode }}',
+SELECT
+ '{{ type }}',
+ '{{ key_algorithm }}',
+ '{{ signing_algorithm }}',
+ '{{ subject }}',
+ '{{ revocation_configuration }}',
+ '{{ tags }}',
+ '{{ csr_extensions }}',
+ '{{ key_storage_security_standard }}',
+ '{{ usage_mode }}',
'{{ region }}';
```
@@ -578,84 +578,83 @@ globals:
resources:
- name: certificate_authority
props:
- - name: Type
- value: '{{ Type }}'
- - name: KeyAlgorithm
- value: '{{ KeyAlgorithm }}'
- - name: SigningAlgorithm
- value: '{{ SigningAlgorithm }}'
- - name: Subject
+ - name: type
+ value: '{{ type }}'
+ - name: key_algorithm
+ value: '{{ key_algorithm }}'
+ - name: signing_algorithm
+ value: '{{ signing_algorithm }}'
+ - name: subject
value:
- Country: '{{ Country }}'
- Organization: '{{ Organization }}'
- OrganizationalUnit: '{{ OrganizationalUnit }}'
- DistinguishedNameQualifier: '{{ DistinguishedNameQualifier }}'
- State: '{{ State }}'
- CommonName: '{{ CommonName }}'
- SerialNumber: '{{ SerialNumber }}'
- Locality: '{{ Locality }}'
- Title: '{{ Title }}'
- Surname: '{{ Surname }}'
- GivenName: '{{ GivenName }}'
- Initials: '{{ Initials }}'
- Pseudonym: '{{ Pseudonym }}'
- GenerationQualifier: '{{ GenerationQualifier }}'
- CustomAttributes:
- - ObjectIdentifier: '{{ ObjectIdentifier }}'
- Value: '{{ Value }}'
- - name: RevocationConfiguration
+ country: '{{ country }}'
+ organization: '{{ organization }}'
+ organizational_unit: '{{ organizational_unit }}'
+ distinguished_name_qualifier: '{{ distinguished_name_qualifier }}'
+ state: '{{ state }}'
+ common_name: '{{ common_name }}'
+ serial_number: '{{ serial_number }}'
+ locality: '{{ locality }}'
+ title: '{{ title }}'
+ surname: '{{ surname }}'
+ given_name: '{{ given_name }}'
+ initials: '{{ initials }}'
+ pseudonym: '{{ pseudonym }}'
+ generation_qualifier: '{{ generation_qualifier }}'
+ custom_attributes:
+ - object_identifier: '{{ object_identifier }}'
+ value: '{{ value }}'
+ - name: revocation_configuration
value:
- CrlConfiguration:
- Enabled: '{{ Enabled }}'
- ExpirationInDays: '{{ ExpirationInDays }}'
- CustomCname: '{{ CustomCname }}'
- S3BucketName: '{{ S3BucketName }}'
- S3ObjectAcl: '{{ S3ObjectAcl }}'
- CrlDistributionPointExtensionConfiguration:
- OmitExtension: '{{ OmitExtension }}'
- CrlType: '{{ CrlType }}'
- CustomPath: '{{ CustomPath }}'
- OcspConfiguration:
- Enabled: '{{ Enabled }}'
- OcspCustomCname: '{{ OcspCustomCname }}'
- - name: Tags
+ crl_configuration:
+ enabled: '{{ enabled }}'
+ expiration_in_days: '{{ expiration_in_days }}'
+ custom_cname: '{{ custom_cname }}'
+ s3_bucket_name: '{{ s3_bucket_name }}'
+ s3_object_acl: '{{ s3_object_acl }}'
+ crl_distribution_point_extension_configuration:
+ omit_extension: '{{ omit_extension }}'
+ crl_type: '{{ crl_type }}'
+ custom_path: '{{ custom_path }}'
+ ocsp_configuration:
+ enabled: '{{ enabled }}'
+ ocsp_custom_cname: '{{ ocsp_custom_cname }}'
+ - name: tags
value:
- - Key: '{{ Key }}'
- Value: '{{ Value }}'
- - name: CsrExtensions
+ - key: '{{ key }}'
+ value: '{{ value }}'
+ - name: csr_extensions
value:
- KeyUsage:
- DigitalSignature: '{{ DigitalSignature }}'
- NonRepudiation: '{{ NonRepudiation }}'
- KeyEncipherment: '{{ KeyEncipherment }}'
- DataEncipherment: '{{ DataEncipherment }}'
- KeyAgreement: '{{ KeyAgreement }}'
- KeyCertSign: '{{ KeyCertSign }}'
- CRLSign: '{{ CRLSign }}'
- EncipherOnly: '{{ EncipherOnly }}'
- DecipherOnly: '{{ DecipherOnly }}'
- SubjectInformationAccess:
- - AccessMethod:
- CustomObjectIdentifier: null
- AccessMethodType: '{{ AccessMethodType }}'
- AccessLocation:
- OtherName:
- TypeId: null
- Value: '{{ Value }}'
- Rfc822Name: '{{ Rfc822Name }}'
- DnsName: '{{ DnsName }}'
- DirectoryName: null
- EdiPartyName:
- PartyName: '{{ PartyName }}'
- NameAssigner: '{{ NameAssigner }}'
- UniformResourceIdentifier: '{{ UniformResourceIdentifier }}'
- IpAddress: '{{ IpAddress }}'
- RegisteredId: null
- - name: KeyStorageSecurityStandard
- value: '{{ KeyStorageSecurityStandard }}'
- - name: UsageMode
- value: '{{ UsageMode }}'
-
+ key_usage:
+ digital_signature: '{{ digital_signature }}'
+ non_repudiation: '{{ non_repudiation }}'
+ key_encipherment: '{{ key_encipherment }}'
+ data_encipherment: '{{ data_encipherment }}'
+ key_agreement: '{{ key_agreement }}'
+ key_cert_sign: '{{ key_cert_sign }}'
+ c_rl_sign: '{{ c_rl_sign }}'
+ encipher_only: '{{ encipher_only }}'
+ decipher_only: '{{ decipher_only }}'
+ subject_information_access:
+ - access_method:
+ custom_object_identifier: null
+ access_method_type: '{{ access_method_type }}'
+ access_location:
+ other_name:
+ type_id: null
+ value: '{{ value }}'
+ rfc822_name: '{{ rfc822_name }}'
+ dns_name: '{{ dns_name }}'
+ directory_name: null
+ edi_party_name:
+ party_name: '{{ party_name }}'
+ name_assigner: '{{ name_assigner }}'
+ uniform_resource_identifier: '{{ uniform_resource_identifier }}'
+ ip_address: '{{ ip_address }}'
+ registered_id: null
+ - name: key_storage_security_standard
+ value: '{{ key_storage_security_standard }}'
+ - name: usage_mode
+ value: '{{ usage_mode }}'
```
@@ -672,7 +671,7 @@ SET PatchDocument = string('{{ {
"Tags": tags
} | generate_patch_document }}')
WHERE region = '{{ region }}'
-AND Identifier = '';
+AND Identifier = '{{ arn }}';
```
@@ -681,7 +680,7 @@ AND Identifier = '';
```sql
/*+ delete */
DELETE FROM awscc.acmpca.certificate_authorities
-WHERE Identifier = ''
+WHERE Identifier = '{{ arn }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/acmpca/certificate_authority_activations/index.md b/website/docs/services/acmpca/certificate_authority_activations/index.md
index 88ba7ee1d..09fa0ff31 100644
--- a/website/docs/services/acmpca/certificate_authority_activations/index.md
+++ b/website/docs/services/acmpca/certificate_authority_activations/index.md
@@ -112,7 +112,7 @@ certificate_chain,
status,
complete_certificate_chain
FROM awscc.acmpca.certificate_authority_activations
-WHERE region = 'us-east-1' AND Identifier = '';
+WHERE region = 'us-east-1' AND Identifier = '{{ certificate_authority_arn }}';
```
## `INSERT` example
@@ -136,9 +136,9 @@ INSERT INTO awscc.acmpca.certificate_authority_activations (
Certificate,
region
)
-SELECT
-'{{ CertificateAuthorityArn }}',
- '{{ Certificate }}',
+SELECT
+'{{ certificate_authority_arn }}',
+ '{{ certificate }}',
'{{ region }}';
```
@@ -153,11 +153,11 @@ INSERT INTO awscc.acmpca.certificate_authority_activations (
Status,
region
)
-SELECT
- '{{ CertificateAuthorityArn }}',
- '{{ Certificate }}',
- '{{ CertificateChain }}',
- '{{ Status }}',
+SELECT
+ '{{ certificate_authority_arn }}',
+ '{{ certificate }}',
+ '{{ certificate_chain }}',
+ '{{ status }}',
'{{ region }}';
```
@@ -175,15 +175,14 @@ globals:
resources:
- name: certificate_authority_activation
props:
- - name: CertificateAuthorityArn
- value: '{{ CertificateAuthorityArn }}'
- - name: Certificate
- value: '{{ Certificate }}'
- - name: CertificateChain
- value: '{{ CertificateChain }}'
- - name: Status
- value: '{{ Status }}'
-
+ - name: certificate_authority_arn
+ value: '{{ certificate_authority_arn }}'
+ - name: certificate
+ value: '{{ certificate }}'
+ - name: certificate_chain
+ value: '{{ certificate_chain }}'
+ - name: status
+ value: '{{ status }}'
```
@@ -201,7 +200,7 @@ SET PatchDocument = string('{{ {
"Status": status
} | generate_patch_document }}')
WHERE region = '{{ region }}'
-AND Identifier = '';
+AND Identifier = '{{ certificate_authority_arn }}';
```
@@ -210,7 +209,7 @@ AND Identifier = '';
```sql
/*+ delete */
DELETE FROM awscc.acmpca.certificate_authority_activations
-WHERE Identifier = ''
+WHERE Identifier = '{{ certificate_authority_arn }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/acmpca/certificates/index.md b/website/docs/services/acmpca/certificates/index.md
index b5fc59552..62cd19355 100644
--- a/website/docs/services/acmpca/certificates/index.md
+++ b/website/docs/services/acmpca/certificates/index.md
@@ -386,7 +386,7 @@ validity_not_before,
certificate,
arn
FROM awscc.acmpca.certificates
-WHERE region = 'us-east-1' AND Identifier = '|';
+WHERE region = 'us-east-1' AND Identifier = '{{ arn }}|{{ certificate_authority_arn }}';
```
## `INSERT` example
@@ -412,11 +412,11 @@ INSERT INTO awscc.acmpca.certificates (
Validity,
region
)
-SELECT
-'{{ CertificateAuthorityArn }}',
- '{{ CertificateSigningRequest }}',
- '{{ SigningAlgorithm }}',
- '{{ Validity }}',
+SELECT
+'{{ certificate_authority_arn }}',
+ '{{ certificate_signing_request }}',
+ '{{ signing_algorithm }}',
+ '{{ validity }}',
'{{ region }}';
```
@@ -434,14 +434,14 @@ INSERT INTO awscc.acmpca.certificates (
ValidityNotBefore,
region
)
-SELECT
- '{{ ApiPassthrough }}',
- '{{ CertificateAuthorityArn }}',
- '{{ CertificateSigningRequest }}',
- '{{ SigningAlgorithm }}',
- '{{ TemplateArn }}',
- '{{ Validity }}',
- '{{ ValidityNotBefore }}',
+SELECT
+ '{{ api_passthrough }}',
+ '{{ certificate_authority_arn }}',
+ '{{ certificate_signing_request }}',
+ '{{ signing_algorithm }}',
+ '{{ template_arn }}',
+ '{{ validity }}',
+ '{{ validity_not_before }}',
'{{ region }}';
```
@@ -459,78 +459,77 @@ globals:
resources:
- name: certificate
props:
- - name: ApiPassthrough
+ - name: api_passthrough
value:
- Extensions:
- CertificatePolicies:
- - CertPolicyId: '{{ CertPolicyId }}'
- PolicyQualifiers:
- - PolicyQualifierId: '{{ PolicyQualifierId }}'
- Qualifier:
- CpsUri: '{{ CpsUri }}'
- ExtendedKeyUsage:
- - ExtendedKeyUsageType: '{{ ExtendedKeyUsageType }}'
- ExtendedKeyUsageObjectIdentifier: null
- KeyUsage:
- DigitalSignature: '{{ DigitalSignature }}'
- NonRepudiation: '{{ NonRepudiation }}'
- KeyEncipherment: '{{ KeyEncipherment }}'
- DataEncipherment: '{{ DataEncipherment }}'
- KeyAgreement: '{{ KeyAgreement }}'
- KeyCertSign: '{{ KeyCertSign }}'
- CRLSign: '{{ CRLSign }}'
- EncipherOnly: '{{ EncipherOnly }}'
- DecipherOnly: '{{ DecipherOnly }}'
- SubjectAlternativeNames:
- - OtherName:
- TypeId: null
- Value: '{{ Value }}'
- Rfc822Name: '{{ Rfc822Name }}'
- DnsName: '{{ DnsName }}'
- DirectoryName:
- Country: '{{ Country }}'
- Organization: '{{ Organization }}'
- OrganizationalUnit: '{{ OrganizationalUnit }}'
- DistinguishedNameQualifier: '{{ DistinguishedNameQualifier }}'
- State: '{{ State }}'
- CommonName: '{{ CommonName }}'
- SerialNumber: '{{ SerialNumber }}'
- Locality: '{{ Locality }}'
- Title: '{{ Title }}'
- Surname: '{{ Surname }}'
- GivenName: '{{ GivenName }}'
- Initials: '{{ Initials }}'
- Pseudonym: '{{ Pseudonym }}'
- GenerationQualifier: '{{ GenerationQualifier }}'
- CustomAttributes:
- - ObjectIdentifier: null
- Value: '{{ Value }}'
- EdiPartyName:
- PartyName: '{{ PartyName }}'
- NameAssigner: '{{ NameAssigner }}'
- UniformResourceIdentifier: '{{ UniformResourceIdentifier }}'
- IpAddress: '{{ IpAddress }}'
- RegisteredId: null
- CustomExtensions:
- - Critical: '{{ Critical }}'
- ObjectIdentifier: null
- Value: '{{ Value }}'
- Subject: null
- - name: CertificateAuthorityArn
- value: '{{ CertificateAuthorityArn }}'
- - name: CertificateSigningRequest
- value: '{{ CertificateSigningRequest }}'
- - name: SigningAlgorithm
- value: '{{ SigningAlgorithm }}'
- - name: TemplateArn
+ extensions:
+ certificate_policies:
+ - cert_policy_id: '{{ cert_policy_id }}'
+ policy_qualifiers:
+ - policy_qualifier_id: '{{ policy_qualifier_id }}'
+ qualifier:
+ cps_uri: '{{ cps_uri }}'
+ extended_key_usage:
+ - extended_key_usage_type: '{{ extended_key_usage_type }}'
+ extended_key_usage_object_identifier: null
+ key_usage:
+ digital_signature: '{{ digital_signature }}'
+ non_repudiation: '{{ non_repudiation }}'
+ key_encipherment: '{{ key_encipherment }}'
+ data_encipherment: '{{ data_encipherment }}'
+ key_agreement: '{{ key_agreement }}'
+ key_cert_sign: '{{ key_cert_sign }}'
+ c_rl_sign: '{{ c_rl_sign }}'
+ encipher_only: '{{ encipher_only }}'
+ decipher_only: '{{ decipher_only }}'
+ subject_alternative_names:
+ - other_name:
+ type_id: null
+ value: '{{ value }}'
+ rfc822_name: '{{ rfc822_name }}'
+ dns_name: '{{ dns_name }}'
+ directory_name:
+ country: '{{ country }}'
+ organization: '{{ organization }}'
+ organizational_unit: '{{ organizational_unit }}'
+ distinguished_name_qualifier: '{{ distinguished_name_qualifier }}'
+ state: '{{ state }}'
+ common_name: '{{ common_name }}'
+ serial_number: '{{ serial_number }}'
+ locality: '{{ locality }}'
+ title: '{{ title }}'
+ surname: '{{ surname }}'
+ given_name: '{{ given_name }}'
+ initials: '{{ initials }}'
+ pseudonym: '{{ pseudonym }}'
+ generation_qualifier: '{{ generation_qualifier }}'
+ custom_attributes:
+ - object_identifier: null
+ value: '{{ value }}'
+ edi_party_name:
+ party_name: '{{ party_name }}'
+ name_assigner: '{{ name_assigner }}'
+ uniform_resource_identifier: '{{ uniform_resource_identifier }}'
+ ip_address: '{{ ip_address }}'
+ registered_id: null
+ custom_extensions:
+ - critical: '{{ critical }}'
+ object_identifier: null
+ value: '{{ value }}'
+ subject: null
+ - name: certificate_authority_arn
+ value: '{{ certificate_authority_arn }}'
+ - name: certificate_signing_request
+ value: '{{ certificate_signing_request }}'
+ - name: signing_algorithm
+ value: '{{ signing_algorithm }}'
+ - name: template_arn
value: null
- - name: Validity
+ - name: validity
value:
- Value: null
- Type: '{{ Type }}'
- - name: ValidityNotBefore
+ value: null
+ type: '{{ type }}'
+ - name: validity_not_before
value: null
-
```
@@ -541,7 +540,7 @@ resources:
```sql
/*+ delete */
DELETE FROM awscc.acmpca.certificates
-WHERE Identifier = ''
+WHERE Identifier = '{{ arn }}|{{ certificate_authority_arn }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/acmpca/permissions/index.md b/website/docs/services/acmpca/permissions/index.md
index faec976c2..79a86df23 100644
--- a/website/docs/services/acmpca/permissions/index.md
+++ b/website/docs/services/acmpca/permissions/index.md
@@ -101,7 +101,7 @@ certificate_authority_arn,
principal,
source_account
FROM awscc.acmpca.permissions
-WHERE region = 'us-east-1' AND Identifier = '|';
+WHERE region = 'us-east-1' AND Identifier = '{{ certificate_authority_arn }}|{{ principal }}';
```
## `INSERT` example
@@ -126,10 +126,10 @@ INSERT INTO awscc.acmpca.permissions (
Principal,
region
)
-SELECT
-'{{ Actions }}',
- '{{ CertificateAuthorityArn }}',
- '{{ Principal }}',
+SELECT
+'{{ actions }}',
+ '{{ certificate_authority_arn }}',
+ '{{ principal }}',
'{{ region }}';
```
@@ -144,11 +144,11 @@ INSERT INTO awscc.acmpca.permissions (
SourceAccount,
region
)
-SELECT
- '{{ Actions }}',
- '{{ CertificateAuthorityArn }}',
- '{{ Principal }}',
- '{{ SourceAccount }}',
+SELECT
+ '{{ actions }}',
+ '{{ certificate_authority_arn }}',
+ '{{ principal }}',
+ '{{ source_account }}',
'{{ region }}';
```
@@ -166,16 +166,15 @@ globals:
resources:
- name: permission
props:
- - name: Actions
+ - name: actions
value:
- - '{{ Actions[0] }}'
- - name: CertificateAuthorityArn
- value: '{{ CertificateAuthorityArn }}'
- - name: Principal
- value: '{{ Principal }}'
- - name: SourceAccount
- value: '{{ SourceAccount }}'
-
+ - '{{ actions[0] }}'
+ - name: certificate_authority_arn
+ value: '{{ certificate_authority_arn }}'
+ - name: principal
+ value: '{{ principal }}'
+ - name: source_account
+ value: '{{ source_account }}'
```
@@ -186,7 +185,7 @@ resources:
```sql
/*+ delete */
DELETE FROM awscc.acmpca.permissions
-WHERE Identifier = ''
+WHERE Identifier = '{{ certificate_authority_arn }}|{{ principal }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/aiops/investigation_groups/index.md b/website/docs/services/aiops/investigation_groups/index.md
index b9ebca432..77e1c75b9 100644
--- a/website/docs/services/aiops/investigation_groups/index.md
+++ b/website/docs/services/aiops/investigation_groups/index.md
@@ -239,7 +239,7 @@ chatbot_notification_channels,
cross_account_configurations,
tags
FROM awscc.aiops.investigation_groups
-WHERE region = 'us-east-1' AND Identifier = '';
+WHERE region = 'us-east-1' AND Identifier = '{{ arn }}';
```
@@ -275,8 +275,8 @@ INSERT INTO awscc.aiops.investigation_groups (
Name,
region
)
-SELECT
-'{{ Name }}',
+SELECT
+'{{ name }}',
'{{ region }}';
```
@@ -297,17 +297,17 @@ INSERT INTO awscc.aiops.investigation_groups (
Tags,
region
)
-SELECT
- '{{ RoleArn }}',
- '{{ Name }}',
- '{{ RetentionInDays }}',
- '{{ EncryptionConfig }}',
- '{{ InvestigationGroupPolicy }}',
- '{{ IsCloudTrailEventHistoryEnabled }}',
- '{{ TagKeyBoundaries }}',
- '{{ ChatbotNotificationChannels }}',
- '{{ CrossAccountConfigurations }}',
- '{{ Tags }}',
+SELECT
+ '{{ role_arn }}',
+ '{{ name }}',
+ '{{ retention_in_days }}',
+ '{{ encryption_config }}',
+ '{{ investigation_group_policy }}',
+ '{{ is_cloud_trail_event_history_enabled }}',
+ '{{ tag_key_boundaries }}',
+ '{{ chatbot_notification_channels }}',
+ '{{ cross_account_configurations }}',
+ '{{ tags }}',
'{{ region }}';
```
@@ -325,36 +325,35 @@ globals:
resources:
- name: investigation_group
props:
- - name: RoleArn
- value: '{{ RoleArn }}'
- - name: Name
- value: '{{ Name }}'
- - name: RetentionInDays
- value: '{{ RetentionInDays }}'
- - name: EncryptionConfig
+ - name: role_arn
+ value: '{{ role_arn }}'
+ - name: name
+ value: '{{ name }}'
+ - name: retention_in_days
+ value: '{{ retention_in_days }}'
+ - name: encryption_config
value:
- EncryptionConfigurationType: '{{ EncryptionConfigurationType }}'
- KmsKeyId: '{{ KmsKeyId }}'
- - name: InvestigationGroupPolicy
- value: '{{ InvestigationGroupPolicy }}'
- - name: IsCloudTrailEventHistoryEnabled
- value: '{{ IsCloudTrailEventHistoryEnabled }}'
- - name: TagKeyBoundaries
+ encryption_configuration_type: '{{ encryption_configuration_type }}'
+ kms_key_id: '{{ kms_key_id }}'
+ - name: investigation_group_policy
+ value: '{{ investigation_group_policy }}'
+ - name: is_cloud_trail_event_history_enabled
+ value: '{{ is_cloud_trail_event_history_enabled }}'
+ - name: tag_key_boundaries
value:
- - '{{ TagKeyBoundaries[0] }}'
- - name: ChatbotNotificationChannels
+ - '{{ tag_key_boundaries[0] }}'
+ - name: chatbot_notification_channels
value:
- - SNSTopicArn: '{{ SNSTopicArn }}'
- ChatConfigurationArns:
- - '{{ ChatConfigurationArns[0] }}'
- - name: CrossAccountConfigurations
+ - sns_topic_arn: '{{ sns_topic_arn }}'
+ chat_configuration_arns:
+ - '{{ chat_configuration_arns[0] }}'
+ - name: cross_account_configurations
value:
- - SourceRoleArn: null
- - name: Tags
+ - source_role_arn: null
+ - name: tags
value:
- - Key: '{{ Key }}'
- Value: '{{ Value }}'
-
+ - key: '{{ key }}'
+ value: '{{ value }}'
```
@@ -377,7 +376,7 @@ SET PatchDocument = string('{{ {
"Tags": tags
} | generate_patch_document }}')
WHERE region = '{{ region }}'
-AND Identifier = '';
+AND Identifier = '{{ arn }}';
```
@@ -386,7 +385,7 @@ AND Identifier = '';
```sql
/*+ delete */
DELETE FROM awscc.aiops.investigation_groups
-WHERE Identifier = ''
+WHERE Identifier = '{{ arn }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/amazonmq/configurations/index.md b/website/docs/services/amazonmq/configurations/index.md
index 1b4bac0e8..a3ffabea1 100644
--- a/website/docs/services/amazonmq/configurations/index.md
+++ b/website/docs/services/amazonmq/configurations/index.md
@@ -200,7 +200,7 @@ name,
revision,
tags
FROM awscc.amazonmq.configurations
-WHERE region = 'us-east-1' AND Identifier = '';
+WHERE region = 'us-east-1' AND Identifier = '{{ id }}';
```
@@ -237,9 +237,9 @@ INSERT INTO awscc.amazonmq.configurations (
Name,
region
)
-SELECT
-'{{ EngineType }}',
- '{{ Name }}',
+SELECT
+'{{ engine_type }}',
+ '{{ name }}',
'{{ region }}';
```
@@ -257,14 +257,14 @@ INSERT INTO awscc.amazonmq.configurations (
Tags,
region
)
-SELECT
- '{{ AuthenticationStrategy }}',
- '{{ EngineType }}',
- '{{ EngineVersion }}',
- '{{ Data }}',
- '{{ Description }}',
- '{{ Name }}',
- '{{ Tags }}',
+SELECT
+ '{{ authentication_strategy }}',
+ '{{ engine_type }}',
+ '{{ engine_version }}',
+ '{{ data }}',
+ '{{ description }}',
+ '{{ name }}',
+ '{{ tags }}',
'{{ region }}';
```
@@ -282,23 +282,22 @@ globals:
resources:
- name: configuration
props:
- - name: AuthenticationStrategy
- value: '{{ AuthenticationStrategy }}'
- - name: EngineType
- value: '{{ EngineType }}'
- - name: EngineVersion
- value: '{{ EngineVersion }}'
- - name: Data
- value: '{{ Data }}'
- - name: Description
- value: '{{ Description }}'
- - name: Name
- value: '{{ Name }}'
- - name: Tags
+ - name: authentication_strategy
+ value: '{{ authentication_strategy }}'
+ - name: engine_type
+ value: '{{ engine_type }}'
+ - name: engine_version
+ value: '{{ engine_version }}'
+ - name: data
+ value: '{{ data }}'
+ - name: description
+ value: '{{ description }}'
+ - name: name
+ value: '{{ name }}'
+ - name: tags
value:
- - Value: '{{ Value }}'
- Key: '{{ Key }}'
-
+ - value: '{{ value }}'
+ key: '{{ key }}'
```
@@ -316,7 +315,7 @@ SET PatchDocument = string('{{ {
"Tags": tags
} | generate_patch_document }}')
WHERE region = '{{ region }}'
-AND Identifier = '';
+AND Identifier = '{{ id }}';
```
@@ -325,7 +324,7 @@ AND Identifier = '';
```sql
/*+ delete */
DELETE FROM awscc.amazonmq.configurations
-WHERE Identifier = ''
+WHERE Identifier = '{{ id }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/amplify/apps/index.md b/website/docs/services/amplify/apps/index.md
index a1656b896..70581b421 100644
--- a/website/docs/services/amplify/apps/index.md
+++ b/website/docs/services/amplify/apps/index.md
@@ -423,7 +423,7 @@ repository,
tags,
job_config
FROM awscc.amplify.apps
-WHERE region = 'us-east-1' AND Identifier = '';
+WHERE region = 'us-east-1' AND Identifier = '{{ arn }}';
```
@@ -459,8 +459,8 @@ INSERT INTO awscc.amplify.apps (
Name,
region
)
-SELECT
-'{{ Name }}',
+SELECT
+'{{ name }}',
'{{ region }}';
```
@@ -489,25 +489,25 @@ INSERT INTO awscc.amplify.apps (
JobConfig,
region
)
-SELECT
- '{{ AccessToken }}',
- '{{ AutoBranchCreationConfig }}',
- '{{ BasicAuthConfig }}',
- '{{ BuildSpec }}',
- '{{ CacheConfig }}',
- '{{ ComputeRoleArn }}',
- '{{ CustomHeaders }}',
- '{{ CustomRules }}',
- '{{ Description }}',
- '{{ EnableBranchAutoDeletion }}',
- '{{ EnvironmentVariables }}',
- '{{ IAMServiceRole }}',
- '{{ Name }}',
- '{{ OauthToken }}',
- '{{ Platform }}',
- '{{ Repository }}',
- '{{ Tags }}',
- '{{ JobConfig }}',
+SELECT
+ '{{ access_token }}',
+ '{{ auto_branch_creation_config }}',
+ '{{ basic_auth_config }}',
+ '{{ build_spec }}',
+ '{{ cache_config }}',
+ '{{ compute_role_arn }}',
+ '{{ custom_headers }}',
+ '{{ custom_rules }}',
+ '{{ description }}',
+ '{{ enable_branch_auto_deletion }}',
+ '{{ environment_variables }}',
+ '{{ iam_service_role }}',
+ '{{ name }}',
+ '{{ oauth_token }}',
+ '{{ platform }}',
+ '{{ repository }}',
+ '{{ tags }}',
+ '{{ job_config }}',
'{{ region }}';
```
@@ -525,69 +525,68 @@ globals:
resources:
- name: app
props:
- - name: AccessToken
- value: '{{ AccessToken }}'
- - name: AutoBranchCreationConfig
+ - name: access_token
+ value: '{{ access_token }}'
+ - name: auto_branch_creation_config
value:
- AutoBranchCreationPatterns:
- - '{{ AutoBranchCreationPatterns[0] }}'
- BasicAuthConfig:
- EnableBasicAuth: '{{ EnableBasicAuth }}'
- Username: '{{ Username }}'
- Password: '{{ Password }}'
- BuildSpec: '{{ BuildSpec }}'
- EnableAutoBranchCreation: '{{ EnableAutoBranchCreation }}'
- EnableAutoBuild: '{{ EnableAutoBuild }}'
- EnablePerformanceMode: '{{ EnablePerformanceMode }}'
- EnablePullRequestPreview: '{{ EnablePullRequestPreview }}'
- EnvironmentVariables:
- - Name: '{{ Name }}'
- Value: '{{ Value }}'
- Framework: '{{ Framework }}'
- PullRequestEnvironmentName: '{{ PullRequestEnvironmentName }}'
- Stage: '{{ Stage }}'
- - name: BasicAuthConfig
+ auto_branch_creation_patterns:
+ - '{{ auto_branch_creation_patterns[0] }}'
+ basic_auth_config:
+ enable_basic_auth: '{{ enable_basic_auth }}'
+ username: '{{ username }}'
+ password: '{{ password }}'
+ build_spec: '{{ build_spec }}'
+ enable_auto_branch_creation: '{{ enable_auto_branch_creation }}'
+ enable_auto_build: '{{ enable_auto_build }}'
+ enable_performance_mode: '{{ enable_performance_mode }}'
+ enable_pull_request_preview: '{{ enable_pull_request_preview }}'
+ environment_variables:
+ - name: '{{ name }}'
+ value: '{{ value }}'
+ framework: '{{ framework }}'
+ pull_request_environment_name: '{{ pull_request_environment_name }}'
+ stage: '{{ stage }}'
+ - name: basic_auth_config
value: null
- - name: BuildSpec
- value: '{{ BuildSpec }}'
- - name: CacheConfig
+ - name: build_spec
+ value: '{{ build_spec }}'
+ - name: cache_config
value:
- Type: '{{ Type }}'
- - name: ComputeRoleArn
- value: '{{ ComputeRoleArn }}'
- - name: CustomHeaders
- value: '{{ CustomHeaders }}'
- - name: CustomRules
+ type: '{{ type }}'
+ - name: compute_role_arn
+ value: '{{ compute_role_arn }}'
+ - name: custom_headers
+ value: '{{ custom_headers }}'
+ - name: custom_rules
value:
- - Condition: '{{ Condition }}'
- Status: '{{ Status }}'
- Target: '{{ Target }}'
- Source: '{{ Source }}'
- - name: Description
- value: '{{ Description }}'
- - name: EnableBranchAutoDeletion
- value: '{{ EnableBranchAutoDeletion }}'
- - name: EnvironmentVariables
+ - condition: '{{ condition }}'
+ status: '{{ status }}'
+ target: '{{ target }}'
+ source: '{{ source }}'
+ - name: description
+ value: '{{ description }}'
+ - name: enable_branch_auto_deletion
+ value: '{{ enable_branch_auto_deletion }}'
+ - name: environment_variables
value:
- null
- - name: IAMServiceRole
- value: '{{ IAMServiceRole }}'
- - name: Name
- value: '{{ Name }}'
- - name: OauthToken
- value: '{{ OauthToken }}'
- - name: Platform
- value: '{{ Platform }}'
- - name: Repository
- value: '{{ Repository }}'
- - name: Tags
+ - name: iam_service_role
+ value: '{{ iam_service_role }}'
+ - name: name
+ value: '{{ name }}'
+ - name: oauth_token
+ value: '{{ oauth_token }}'
+ - name: platform
+ value: '{{ platform }}'
+ - name: repository
+ value: '{{ repository }}'
+ - name: tags
value:
- - Key: '{{ Key }}'
- Value: '{{ Value }}'
- - name: JobConfig
+ - key: '{{ key }}'
+ value: '{{ value }}'
+ - name: job_config
value:
- BuildComputeType: '{{ BuildComputeType }}'
-
+ build_compute_type: '{{ build_compute_type }}'
```
@@ -620,7 +619,7 @@ SET PatchDocument = string('{{ {
"JobConfig": job_config
} | generate_patch_document }}')
WHERE region = '{{ region }}'
-AND Identifier = '';
+AND Identifier = '{{ arn }}';
```
@@ -629,7 +628,7 @@ AND Identifier = '';
```sql
/*+ delete */
DELETE FROM awscc.amplify.apps
-WHERE Identifier = ''
+WHERE Identifier = '{{ arn }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/amplify/branches/index.md b/website/docs/services/amplify/branches/index.md
index 1dc858e79..995e4bbfa 100644
--- a/website/docs/services/amplify/branches/index.md
+++ b/website/docs/services/amplify/branches/index.md
@@ -278,7 +278,7 @@ pull_request_environment_name,
stage,
tags
FROM awscc.amplify.branches
-WHERE region = 'us-east-1' AND Identifier = '';
+WHERE region = 'us-east-1' AND Identifier = '{{ arn }}';
```
@@ -315,9 +315,9 @@ INSERT INTO awscc.amplify.branches (
BranchName,
region
)
-SELECT
-'{{ AppId }}',
- '{{ BranchName }}',
+SELECT
+'{{ app_id }}',
+ '{{ branch_name }}',
'{{ region }}';
```
@@ -344,23 +344,23 @@ INSERT INTO awscc.amplify.branches (
Tags,
region
)
-SELECT
- '{{ AppId }}',
- '{{ BasicAuthConfig }}',
- '{{ Backend }}',
- '{{ BranchName }}',
- '{{ BuildSpec }}',
- '{{ ComputeRoleArn }}',
- '{{ Description }}',
- '{{ EnableAutoBuild }}',
- '{{ EnablePerformanceMode }}',
- '{{ EnablePullRequestPreview }}',
- '{{ EnableSkewProtection }}',
- '{{ EnvironmentVariables }}',
- '{{ Framework }}',
- '{{ PullRequestEnvironmentName }}',
- '{{ Stage }}',
- '{{ Tags }}',
+SELECT
+ '{{ app_id }}',
+ '{{ basic_auth_config }}',
+ '{{ backend }}',
+ '{{ branch_name }}',
+ '{{ build_spec }}',
+ '{{ compute_role_arn }}',
+ '{{ description }}',
+ '{{ enable_auto_build }}',
+ '{{ enable_performance_mode }}',
+ '{{ enable_pull_request_preview }}',
+ '{{ enable_skew_protection }}',
+ '{{ environment_variables }}',
+ '{{ framework }}',
+ '{{ pull_request_environment_name }}',
+ '{{ stage }}',
+ '{{ tags }}',
'{{ region }}';
```
@@ -378,47 +378,46 @@ globals:
resources:
- name: branch
props:
- - name: AppId
- value: '{{ AppId }}'
- - name: BasicAuthConfig
+ - name: app_id
+ value: '{{ app_id }}'
+ - name: basic_auth_config
value:
- EnableBasicAuth: '{{ EnableBasicAuth }}'
- Username: '{{ Username }}'
- Password: '{{ Password }}'
- - name: Backend
+ enable_basic_auth: '{{ enable_basic_auth }}'
+ username: '{{ username }}'
+ password: '{{ password }}'
+ - name: backend
value:
- StackArn: '{{ StackArn }}'
- - name: BranchName
- value: '{{ BranchName }}'
- - name: BuildSpec
- value: '{{ BuildSpec }}'
- - name: ComputeRoleArn
- value: '{{ ComputeRoleArn }}'
- - name: Description
- value: '{{ Description }}'
- - name: EnableAutoBuild
- value: '{{ EnableAutoBuild }}'
- - name: EnablePerformanceMode
- value: '{{ EnablePerformanceMode }}'
- - name: EnablePullRequestPreview
- value: '{{ EnablePullRequestPreview }}'
- - name: EnableSkewProtection
- value: '{{ EnableSkewProtection }}'
- - name: EnvironmentVariables
+ stack_arn: '{{ stack_arn }}'
+ - name: branch_name
+ value: '{{ branch_name }}'
+ - name: build_spec
+ value: '{{ build_spec }}'
+ - name: compute_role_arn
+ value: '{{ compute_role_arn }}'
+ - name: description
+ value: '{{ description }}'
+ - name: enable_auto_build
+ value: '{{ enable_auto_build }}'
+ - name: enable_performance_mode
+ value: '{{ enable_performance_mode }}'
+ - name: enable_pull_request_preview
+ value: '{{ enable_pull_request_preview }}'
+ - name: enable_skew_protection
+ value: '{{ enable_skew_protection }}'
+ - name: environment_variables
value:
- - Name: '{{ Name }}'
- Value: '{{ Value }}'
- - name: Framework
- value: '{{ Framework }}'
- - name: PullRequestEnvironmentName
- value: '{{ PullRequestEnvironmentName }}'
- - name: Stage
- value: '{{ Stage }}'
- - name: Tags
+ - name: '{{ name }}'
+ value: '{{ value }}'
+ - name: framework
+ value: '{{ framework }}'
+ - name: pull_request_environment_name
+ value: '{{ pull_request_environment_name }}'
+ - name: stage
+ value: '{{ stage }}'
+ - name: tags
value:
- - Key: '{{ Key }}'
- Value: '{{ Value }}'
-
+ - key: '{{ key }}'
+ value: '{{ value }}'
```
@@ -447,7 +446,7 @@ SET PatchDocument = string('{{ {
"Tags": tags
} | generate_patch_document }}')
WHERE region = '{{ region }}'
-AND Identifier = '';
+AND Identifier = '{{ arn }}';
```
@@ -456,7 +455,7 @@ AND Identifier = '';
```sql
/*+ delete */
DELETE FROM awscc.amplify.branches
-WHERE Identifier = ''
+WHERE Identifier = '{{ arn }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/amplify/domains/index.md b/website/docs/services/amplify/domains/index.md
index 607d281d1..79c6ae6d4 100644
--- a/website/docs/services/amplify/domains/index.md
+++ b/website/docs/services/amplify/domains/index.md
@@ -247,7 +247,7 @@ enable_auto_sub_domain,
status_reason,
sub_domain_settings
FROM awscc.amplify.domains
-WHERE region = 'us-east-1' AND Identifier = '';
+WHERE region = 'us-east-1' AND Identifier = '{{ arn }}';
```
@@ -285,10 +285,10 @@ INSERT INTO awscc.amplify.domains (
SubDomainSettings,
region
)
-SELECT
-'{{ AppId }}',
- '{{ DomainName }}',
- '{{ SubDomainSettings }}',
+SELECT
+'{{ app_id }}',
+ '{{ domain_name }}',
+ '{{ sub_domain_settings }}',
'{{ region }}';
```
@@ -306,14 +306,14 @@ INSERT INTO awscc.amplify.domains (
SubDomainSettings,
region
)
-SELECT
- '{{ AppId }}',
- '{{ AutoSubDomainCreationPatterns }}',
- '{{ AutoSubDomainIAMRole }}',
- '{{ CertificateSettings }}',
- '{{ DomainName }}',
- '{{ EnableAutoSubDomain }}',
- '{{ SubDomainSettings }}',
+SELECT
+ '{{ app_id }}',
+ '{{ auto_sub_domain_creation_patterns }}',
+ '{{ auto_sub_domain_iam_role }}',
+ '{{ certificate_settings }}',
+ '{{ domain_name }}',
+ '{{ enable_auto_sub_domain }}',
+ '{{ sub_domain_settings }}',
'{{ region }}';
```
@@ -331,26 +331,25 @@ globals:
resources:
- name: domain
props:
- - name: AppId
- value: '{{ AppId }}'
- - name: AutoSubDomainCreationPatterns
+ - name: app_id
+ value: '{{ app_id }}'
+ - name: auto_sub_domain_creation_patterns
value:
- - '{{ AutoSubDomainCreationPatterns[0] }}'
- - name: AutoSubDomainIAMRole
- value: '{{ AutoSubDomainIAMRole }}'
- - name: CertificateSettings
+ - '{{ auto_sub_domain_creation_patterns[0] }}'
+ - name: auto_sub_domain_iam_role
+ value: '{{ auto_sub_domain_iam_role }}'
+ - name: certificate_settings
value:
- CertificateType: '{{ CertificateType }}'
- CustomCertificateArn: '{{ CustomCertificateArn }}'
- - name: DomainName
- value: '{{ DomainName }}'
- - name: EnableAutoSubDomain
- value: '{{ EnableAutoSubDomain }}'
- - name: SubDomainSettings
+ certificate_type: '{{ certificate_type }}'
+ custom_certificate_arn: '{{ custom_certificate_arn }}'
+ - name: domain_name
+ value: '{{ domain_name }}'
+ - name: enable_auto_sub_domain
+ value: '{{ enable_auto_sub_domain }}'
+ - name: sub_domain_settings
value:
- - Prefix: '{{ Prefix }}'
- BranchName: '{{ BranchName }}'
-
+ - prefix: '{{ prefix }}'
+ branch_name: '{{ branch_name }}'
```
@@ -370,7 +369,7 @@ SET PatchDocument = string('{{ {
"SubDomainSettings": sub_domain_settings
} | generate_patch_document }}')
WHERE region = '{{ region }}'
-AND Identifier = '';
+AND Identifier = '{{ arn }}';
```
@@ -379,7 +378,7 @@ AND Identifier = '';
```sql
/*+ delete */
DELETE FROM awscc.amplify.domains
-WHERE Identifier = ''
+WHERE Identifier = '{{ arn }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/amplifyuibuilder/components/index.md b/website/docs/services/amplifyuibuilder/components/index.md
index 1c1e89f5d..e2a161bf5 100644
--- a/website/docs/services/amplifyuibuilder/components/index.md
+++ b/website/docs/services/amplifyuibuilder/components/index.md
@@ -284,7 +284,7 @@ source_id,
tags,
variants
FROM awscc.amplifyuibuilder.components
-WHERE region = 'us-east-1' AND Identifier = '||';
+WHERE region = 'us-east-1' AND Identifier = '{{ app_id }}|{{ environment_name }}|{{ id }}';
```
@@ -335,21 +335,21 @@ INSERT INTO awscc.amplifyuibuilder.components (
Variants,
region
)
-SELECT
-'{{ AppId }}',
- '{{ BindingProperties }}',
- '{{ Children }}',
- '{{ CollectionProperties }}',
- '{{ ComponentType }}',
- '{{ EnvironmentName }}',
- '{{ Events }}',
- '{{ Name }}',
- '{{ Overrides }}',
- '{{ Properties }}',
- '{{ SchemaVersion }}',
- '{{ SourceId }}',
- '{{ Tags }}',
- '{{ Variants }}',
+SELECT
+'{{ app_id }}',
+ '{{ binding_properties }}',
+ '{{ children }}',
+ '{{ collection_properties }}',
+ '{{ component_type }}',
+ '{{ environment_name }}',
+ '{{ events }}',
+ '{{ name }}',
+ '{{ overrides }}',
+ '{{ properties }}',
+ '{{ schema_version }}',
+ '{{ source_id }}',
+ '{{ tags }}',
+ '{{ variants }}',
'{{ region }}';
```
@@ -374,21 +374,21 @@ INSERT INTO awscc.amplifyuibuilder.components (
Variants,
region
)
-SELECT
- '{{ AppId }}',
- '{{ BindingProperties }}',
- '{{ Children }}',
- '{{ CollectionProperties }}',
- '{{ ComponentType }}',
- '{{ EnvironmentName }}',
- '{{ Events }}',
- '{{ Name }}',
- '{{ Overrides }}',
- '{{ Properties }}',
- '{{ SchemaVersion }}',
- '{{ SourceId }}',
- '{{ Tags }}',
- '{{ Variants }}',
+SELECT
+ '{{ app_id }}',
+ '{{ binding_properties }}',
+ '{{ children }}',
+ '{{ collection_properties }}',
+ '{{ component_type }}',
+ '{{ environment_name }}',
+ '{{ events }}',
+ '{{ name }}',
+ '{{ overrides }}',
+ '{{ properties }}',
+ '{{ schema_version }}',
+ '{{ source_id }}',
+ '{{ tags }}',
+ '{{ variants }}',
'{{ region }}';
```
@@ -406,44 +406,43 @@ globals:
resources:
- name: component
props:
- - name: AppId
- value: '{{ AppId }}'
- - name: BindingProperties
+ - name: app_id
+ value: '{{ app_id }}'
+ - name: binding_properties
value: {}
- - name: Children
+ - name: children
value:
- - ComponentType: '{{ ComponentType }}'
- Name: '{{ Name }}'
- Properties: {}
- Children:
+ - component_type: '{{ component_type }}'
+ name: '{{ name }}'
+ properties: {}
+ children:
- null
- Events: {}
- SourceId: '{{ SourceId }}'
- - name: CollectionProperties
+ events: {}
+ source_id: '{{ source_id }}'
+ - name: collection_properties
value: {}
- - name: ComponentType
- value: '{{ ComponentType }}'
- - name: EnvironmentName
- value: '{{ EnvironmentName }}'
- - name: Events
+ - name: component_type
+ value: '{{ component_type }}'
+ - name: environment_name
+ value: '{{ environment_name }}'
+ - name: events
value: null
- - name: Name
- value: '{{ Name }}'
- - name: Overrides
+ - name: name
+ value: '{{ name }}'
+ - name: overrides
value: {}
- - name: Properties
+ - name: properties
value: null
- - name: SchemaVersion
- value: '{{ SchemaVersion }}'
- - name: SourceId
- value: '{{ SourceId }}'
- - name: Tags
+ - name: schema_version
+ value: '{{ schema_version }}'
+ - name: source_id
+ value: '{{ source_id }}'
+ - name: tags
value: {}
- - name: Variants
+ - name: variants
value:
- - VariantValues: {}
- Overrides: null
-
+ - variant_values: {}
+ overrides: null
```
@@ -470,7 +469,7 @@ SET PatchDocument = string('{{ {
"Variants": variants
} | generate_patch_document }}')
WHERE region = '{{ region }}'
-AND Identifier = '||';
+AND Identifier = '{{ app_id }}|{{ environment_name }}|{{ id }}';
```
@@ -479,7 +478,7 @@ AND Identifier = '||';
```sql
/*+ delete */
DELETE FROM awscc.amplifyuibuilder.components
-WHERE Identifier = ''
+WHERE Identifier = '{{ app_id }}|{{ environment_name }}|{{ id }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/amplifyuibuilder/forms/index.md b/website/docs/services/amplifyuibuilder/forms/index.md
index 1bf4a6378..e9b72c8d6 100644
--- a/website/docs/services/amplifyuibuilder/forms/index.md
+++ b/website/docs/services/amplifyuibuilder/forms/index.md
@@ -269,7 +269,7 @@ sectional_elements,
style,
tags
FROM awscc.amplifyuibuilder.forms
-WHERE region = 'us-east-1' AND Identifier = '||';
+WHERE region = 'us-east-1' AND Identifier = '{{ app_id }}|{{ environment_name }}|{{ id }}';
```
@@ -318,19 +318,19 @@ INSERT INTO awscc.amplifyuibuilder.forms (
Tags,
region
)
-SELECT
-'{{ AppId }}',
- '{{ Cta }}',
- '{{ DataType }}',
- '{{ EnvironmentName }}',
- '{{ Fields }}',
- '{{ FormActionType }}',
- '{{ LabelDecorator }}',
- '{{ Name }}',
- '{{ SchemaVersion }}',
- '{{ SectionalElements }}',
- '{{ Style }}',
- '{{ Tags }}',
+SELECT
+'{{ app_id }}',
+ '{{ cta }}',
+ '{{ data_type }}',
+ '{{ environment_name }}',
+ '{{ fields }}',
+ '{{ form_action_type }}',
+ '{{ label_decorator }}',
+ '{{ name }}',
+ '{{ schema_version }}',
+ '{{ sectional_elements }}',
+ '{{ style }}',
+ '{{ tags }}',
'{{ region }}';
```
@@ -353,19 +353,19 @@ INSERT INTO awscc.amplifyuibuilder.forms (
Tags,
region
)
-SELECT
- '{{ AppId }}',
- '{{ Cta }}',
- '{{ DataType }}',
- '{{ EnvironmentName }}',
- '{{ Fields }}',
- '{{ FormActionType }}',
- '{{ LabelDecorator }}',
- '{{ Name }}',
- '{{ SchemaVersion }}',
- '{{ SectionalElements }}',
- '{{ Style }}',
- '{{ Tags }}',
+SELECT
+ '{{ app_id }}',
+ '{{ cta }}',
+ '{{ data_type }}',
+ '{{ environment_name }}',
+ '{{ fields }}',
+ '{{ form_action_type }}',
+ '{{ label_decorator }}',
+ '{{ name }}',
+ '{{ schema_version }}',
+ '{{ sectional_elements }}',
+ '{{ style }}',
+ '{{ tags }}',
'{{ region }}';
```
@@ -383,43 +383,42 @@ globals:
resources:
- name: form
props:
- - name: AppId
- value: '{{ AppId }}'
- - name: Cta
+ - name: app_id
+ value: '{{ app_id }}'
+ - name: cta
value:
- Position: '{{ Position }}'
- Clear:
- Excluded: '{{ Excluded }}'
- Children: '{{ Children }}'
- Position: null
- Cancel: null
- Submit: null
- - name: DataType
+ position: '{{ position }}'
+ clear:
+ excluded: '{{ excluded }}'
+ children: '{{ children }}'
+ position: null
+ cancel: null
+ submit: null
+ - name: data_type
value:
- DataSourceType: '{{ DataSourceType }}'
- DataTypeName: '{{ DataTypeName }}'
- - name: EnvironmentName
- value: '{{ EnvironmentName }}'
- - name: Fields
+ data_source_type: '{{ data_source_type }}'
+ data_type_name: '{{ data_type_name }}'
+ - name: environment_name
+ value: '{{ environment_name }}'
+ - name: fields
value: {}
- - name: FormActionType
- value: '{{ FormActionType }}'
- - name: LabelDecorator
- value: '{{ LabelDecorator }}'
- - name: Name
- value: '{{ Name }}'
- - name: SchemaVersion
- value: '{{ SchemaVersion }}'
- - name: SectionalElements
+ - name: form_action_type
+ value: '{{ form_action_type }}'
+ - name: label_decorator
+ value: '{{ label_decorator }}'
+ - name: name
+ value: '{{ name }}'
+ - name: schema_version
+ value: '{{ schema_version }}'
+ - name: sectional_elements
value: {}
- - name: Style
+ - name: style
value:
- HorizontalGap: null
- VerticalGap: null
- OuterPadding: null
- - name: Tags
+ horizontal_gap: null
+ vertical_gap: null
+ outer_padding: null
+ - name: tags
value: {}
-
```
@@ -444,7 +443,7 @@ SET PatchDocument = string('{{ {
"Tags": tags
} | generate_patch_document }}')
WHERE region = '{{ region }}'
-AND Identifier = '||';
+AND Identifier = '{{ app_id }}|{{ environment_name }}|{{ id }}';
```
@@ -453,7 +452,7 @@ AND Identifier = '||';
```sql
/*+ delete */
DELETE FROM awscc.amplifyuibuilder.forms
-WHERE Identifier = ''
+WHERE Identifier = '{{ app_id }}|{{ environment_name }}|{{ id }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/amplifyuibuilder/themes/index.md b/website/docs/services/amplifyuibuilder/themes/index.md
index e6707306e..844a50db5 100644
--- a/website/docs/services/amplifyuibuilder/themes/index.md
+++ b/website/docs/services/amplifyuibuilder/themes/index.md
@@ -221,7 +221,7 @@ overrides,
tags,
values
FROM awscc.amplifyuibuilder.themes
-WHERE region = 'us-east-1' AND Identifier = '||';
+WHERE region = 'us-east-1' AND Identifier = '{{ app_id }}|{{ environment_name }}|{{ id }}';
```
@@ -264,13 +264,13 @@ INSERT INTO awscc.amplifyuibuilder.themes (
Values,
region
)
-SELECT
-'{{ AppId }}',
- '{{ EnvironmentName }}',
- '{{ Name }}',
- '{{ Overrides }}',
- '{{ Tags }}',
- '{{ Values }}',
+SELECT
+'{{ app_id }}',
+ '{{ environment_name }}',
+ '{{ name }}',
+ '{{ overrides }}',
+ '{{ tags }}',
+ '{{ values }}',
'{{ region }}';
```
@@ -287,13 +287,13 @@ INSERT INTO awscc.amplifyuibuilder.themes (
Values,
region
)
-SELECT
- '{{ AppId }}',
- '{{ EnvironmentName }}',
- '{{ Name }}',
- '{{ Overrides }}',
- '{{ Tags }}',
- '{{ Values }}',
+SELECT
+ '{{ app_id }}',
+ '{{ environment_name }}',
+ '{{ name }}',
+ '{{ overrides }}',
+ '{{ tags }}',
+ '{{ values }}',
'{{ region }}';
```
@@ -311,25 +311,24 @@ globals:
resources:
- name: theme
props:
- - name: AppId
- value: '{{ AppId }}'
- - name: EnvironmentName
- value: '{{ EnvironmentName }}'
- - name: Name
- value: '{{ Name }}'
- - name: Overrides
+ - name: app_id
+ value: '{{ app_id }}'
+ - name: environment_name
+ value: '{{ environment_name }}'
+ - name: name
+ value: '{{ name }}'
+ - name: overrides
value:
- - Key: '{{ Key }}'
- Value:
- Value: '{{ Value }}'
- Children:
+ - key: '{{ key }}'
+ value:
+ value: '{{ value }}'
+ children:
- null
- - name: Tags
+ - name: tags
value: {}
- - name: Values
+ - name: values
value:
- null
-
```
@@ -348,7 +347,7 @@ SET PatchDocument = string('{{ {
"Values": values
} | generate_patch_document }}')
WHERE region = '{{ region }}'
-AND Identifier = '||';
+AND Identifier = '{{ app_id }}|{{ environment_name }}|{{ id }}';
```
@@ -357,7 +356,7 @@ AND Identifier = '||';
```sql
/*+ delete */
DELETE FROM awscc.amplifyuibuilder.themes
-WHERE Identifier = ''
+WHERE Identifier = '{{ app_id }}|{{ environment_name }}|{{ id }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/apigateway/accounts/index.md b/website/docs/services/apigateway/accounts/index.md
index 9e30385cf..f7deb3af7 100644
--- a/website/docs/services/apigateway/accounts/index.md
+++ b/website/docs/services/apigateway/accounts/index.md
@@ -94,7 +94,7 @@ region,
id,
cloud_watch_role_arn
FROM awscc.apigateway.accounts
-WHERE region = 'us-east-1' AND Identifier = '';
+WHERE region = 'us-east-1' AND Identifier = '{{ id }}';
```
## `INSERT` example
@@ -117,8 +117,8 @@ INSERT INTO awscc.apigateway.accounts (
CloudWatchRoleArn,
region
)
-SELECT
-'{{ CloudWatchRoleArn }}',
+SELECT
+'{{ cloud_watch_role_arn }}',
'{{ region }}';
```
@@ -130,8 +130,8 @@ INSERT INTO awscc.apigateway.accounts (
CloudWatchRoleArn,
region
)
-SELECT
- '{{ CloudWatchRoleArn }}',
+SELECT
+ '{{ cloud_watch_role_arn }}',
'{{ region }}';
```
@@ -149,9 +149,8 @@ globals:
resources:
- name: account
props:
- - name: CloudWatchRoleArn
- value: '{{ CloudWatchRoleArn }}'
-
+ - name: cloud_watch_role_arn
+ value: '{{ cloud_watch_role_arn }}'
```
@@ -167,7 +166,7 @@ SET PatchDocument = string('{{ {
"CloudWatchRoleArn": cloud_watch_role_arn
} | generate_patch_document }}')
WHERE region = '{{ region }}'
-AND Identifier = '';
+AND Identifier = '{{ id }}';
```
@@ -176,7 +175,7 @@ AND Identifier = '';
```sql
/*+ delete */
DELETE FROM awscc.apigateway.accounts
-WHERE Identifier = ''
+WHERE Identifier = '{{ id }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/apigateway/api_keys/index.md b/website/docs/services/apigateway/api_keys/index.md
index 26b2bf748..31f4ae484 100644
--- a/website/docs/services/apigateway/api_keys/index.md
+++ b/website/docs/services/apigateway/api_keys/index.md
@@ -206,7 +206,7 @@ stage_keys,
tags,
value
FROM awscc.apigateway.api_keys
-WHERE region = 'us-east-1' AND Identifier = '';
+WHERE region = 'us-east-1' AND Identifier = '{{ api_key_id }}';
```
@@ -249,15 +249,15 @@ INSERT INTO awscc.apigateway.api_keys (
Value,
region
)
-SELECT
-'{{ CustomerId }}',
- '{{ Description }}',
- '{{ Enabled }}',
- '{{ GenerateDistinctId }}',
- '{{ Name }}',
- '{{ StageKeys }}',
- '{{ Tags }}',
- '{{ Value }}',
+SELECT
+'{{ customer_id }}',
+ '{{ description }}',
+ '{{ enabled }}',
+ '{{ generate_distinct_id }}',
+ '{{ name }}',
+ '{{ stage_keys }}',
+ '{{ tags }}',
+ '{{ value }}',
'{{ region }}';
```
@@ -276,15 +276,15 @@ INSERT INTO awscc.apigateway.api_keys (
Value,
region
)
-SELECT
- '{{ CustomerId }}',
- '{{ Description }}',
- '{{ Enabled }}',
- '{{ GenerateDistinctId }}',
- '{{ Name }}',
- '{{ StageKeys }}',
- '{{ Tags }}',
- '{{ Value }}',
+SELECT
+ '{{ customer_id }}',
+ '{{ description }}',
+ '{{ enabled }}',
+ '{{ generate_distinct_id }}',
+ '{{ name }}',
+ '{{ stage_keys }}',
+ '{{ tags }}',
+ '{{ value }}',
'{{ region }}';
```
@@ -302,27 +302,26 @@ globals:
resources:
- name: api_key
props:
- - name: CustomerId
- value: '{{ CustomerId }}'
- - name: Description
- value: '{{ Description }}'
- - name: Enabled
- value: '{{ Enabled }}'
- - name: GenerateDistinctId
- value: '{{ GenerateDistinctId }}'
- - name: Name
- value: '{{ Name }}'
- - name: StageKeys
+ - name: customer_id
+ value: '{{ customer_id }}'
+ - name: description
+ value: '{{ description }}'
+ - name: enabled
+ value: '{{ enabled }}'
+ - name: generate_distinct_id
+ value: '{{ generate_distinct_id }}'
+ - name: name
+ value: '{{ name }}'
+ - name: stage_keys
value:
- - RestApiId: '{{ RestApiId }}'
- StageName: '{{ StageName }}'
- - name: Tags
+ - rest_api_id: '{{ rest_api_id }}'
+ stage_name: '{{ stage_name }}'
+ - name: tags
value:
- - Value: '{{ Value }}'
- Key: '{{ Key }}'
- - name: Value
- value: '{{ Value }}'
-
+ - value: '{{ value }}'
+ key: '{{ key }}'
+ - name: value
+ value: '{{ value }}'
```
@@ -342,7 +341,7 @@ SET PatchDocument = string('{{ {
"Tags": tags
} | generate_patch_document }}')
WHERE region = '{{ region }}'
-AND Identifier = '';
+AND Identifier = '{{ api_key_id }}';
```
@@ -351,7 +350,7 @@ AND Identifier = '';
```sql
/*+ delete */
DELETE FROM awscc.apigateway.api_keys
-WHERE Identifier = ''
+WHERE Identifier = '{{ api_key_id }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/apigateway/authorizers/index.md b/website/docs/services/apigateway/authorizers/index.md
index 17b7a0356..54647837f 100644
--- a/website/docs/services/apigateway/authorizers/index.md
+++ b/website/docs/services/apigateway/authorizers/index.md
@@ -199,7 +199,7 @@ name,
provider_arns,
type
FROM awscc.apigateway.authorizers
-WHERE region = 'us-east-1' AND Identifier = '|';
+WHERE region = 'us-east-1' AND Identifier = '{{ rest_api_id }}|{{ authorizer_id }}';
```
@@ -238,10 +238,10 @@ INSERT INTO awscc.apigateway.authorizers (
Type,
region
)
-SELECT
-'{{ RestApiId }}',
- '{{ Name }}',
- '{{ Type }}',
+SELECT
+'{{ rest_api_id }}',
+ '{{ name }}',
+ '{{ type }}',
'{{ region }}';
```
@@ -262,17 +262,17 @@ INSERT INTO awscc.apigateway.authorizers (
Type,
region
)
-SELECT
- '{{ RestApiId }}',
- '{{ AuthType }}',
- '{{ AuthorizerCredentials }}',
- '{{ AuthorizerResultTtlInSeconds }}',
- '{{ AuthorizerUri }}',
- '{{ IdentitySource }}',
- '{{ IdentityValidationExpression }}',
- '{{ Name }}',
- '{{ ProviderARNs }}',
- '{{ Type }}',
+SELECT
+ '{{ rest_api_id }}',
+ '{{ auth_type }}',
+ '{{ authorizer_credentials }}',
+ '{{ authorizer_result_ttl_in_seconds }}',
+ '{{ authorizer_uri }}',
+ '{{ identity_source }}',
+ '{{ identity_validation_expression }}',
+ '{{ name }}',
+ '{{ provider_arns }}',
+ '{{ type }}',
'{{ region }}';
```
@@ -290,28 +290,27 @@ globals:
resources:
- name: authorizer
props:
- - name: RestApiId
- value: '{{ RestApiId }}'
- - name: AuthType
- value: '{{ AuthType }}'
- - name: AuthorizerCredentials
- value: '{{ AuthorizerCredentials }}'
- - name: AuthorizerResultTtlInSeconds
- value: '{{ AuthorizerResultTtlInSeconds }}'
- - name: AuthorizerUri
- value: '{{ AuthorizerUri }}'
- - name: IdentitySource
- value: '{{ IdentitySource }}'
- - name: IdentityValidationExpression
- value: '{{ IdentityValidationExpression }}'
- - name: Name
- value: '{{ Name }}'
- - name: ProviderARNs
+ - name: rest_api_id
+ value: '{{ rest_api_id }}'
+ - name: auth_type
+ value: '{{ auth_type }}'
+ - name: authorizer_credentials
+ value: '{{ authorizer_credentials }}'
+ - name: authorizer_result_ttl_in_seconds
+ value: '{{ authorizer_result_ttl_in_seconds }}'
+ - name: authorizer_uri
+ value: '{{ authorizer_uri }}'
+ - name: identity_source
+ value: '{{ identity_source }}'
+ - name: identity_validation_expression
+ value: '{{ identity_validation_expression }}'
+ - name: name
+ value: '{{ name }}'
+ - name: provider_arns
value:
- - '{{ ProviderARNs[0] }}'
- - name: Type
- value: '{{ Type }}'
-
+ - '{{ provider_arns[0] }}'
+ - name: type
+ value: '{{ type }}'
```
@@ -335,7 +334,7 @@ SET PatchDocument = string('{{ {
"Type": type
} | generate_patch_document }}')
WHERE region = '{{ region }}'
-AND Identifier = '|';
+AND Identifier = '{{ rest_api_id }}|{{ authorizer_id }}';
```
@@ -344,7 +343,7 @@ AND Identifier = '|';
```sql
/*+ delete */
DELETE FROM awscc.apigateway.authorizers
-WHERE Identifier = ''
+WHERE Identifier = '{{ rest_api_id }}|{{ authorizer_id }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/apigateway/base_path_mapping_v2s/index.md b/website/docs/services/apigateway/base_path_mapping_v2s/index.md
index dd379d413..9e870ff2e 100644
--- a/website/docs/services/apigateway/base_path_mapping_v2s/index.md
+++ b/website/docs/services/apigateway/base_path_mapping_v2s/index.md
@@ -163,7 +163,7 @@ rest_api_id,
stage,
base_path_mapping_arn
FROM awscc.apigateway.base_path_mapping_v2s
-WHERE region = 'us-east-1' AND Identifier = '';
+WHERE region = 'us-east-1' AND Identifier = '{{ base_path_mapping_arn }}';
```
@@ -200,9 +200,9 @@ INSERT INTO awscc.apigateway.base_path_mapping_v2s (
RestApiId,
region
)
-SELECT
-'{{ DomainNameArn }}',
- '{{ RestApiId }}',
+SELECT
+'{{ domain_name_arn }}',
+ '{{ rest_api_id }}',
'{{ region }}';
```
@@ -217,11 +217,11 @@ INSERT INTO awscc.apigateway.base_path_mapping_v2s (
Stage,
region
)
-SELECT
- '{{ BasePath }}',
- '{{ DomainNameArn }}',
- '{{ RestApiId }}',
- '{{ Stage }}',
+SELECT
+ '{{ base_path }}',
+ '{{ domain_name_arn }}',
+ '{{ rest_api_id }}',
+ '{{ stage }}',
'{{ region }}';
```
@@ -239,15 +239,14 @@ globals:
resources:
- name: base_path_mapping_v2
props:
- - name: BasePath
- value: '{{ BasePath }}'
- - name: DomainNameArn
- value: '{{ DomainNameArn }}'
- - name: RestApiId
- value: '{{ RestApiId }}'
- - name: Stage
- value: '{{ Stage }}'
-
+ - name: base_path
+ value: '{{ base_path }}'
+ - name: domain_name_arn
+ value: '{{ domain_name_arn }}'
+ - name: rest_api_id
+ value: '{{ rest_api_id }}'
+ - name: stage
+ value: '{{ stage }}'
```
@@ -264,7 +263,7 @@ SET PatchDocument = string('{{ {
"Stage": stage
} | generate_patch_document }}')
WHERE region = '{{ region }}'
-AND Identifier = '';
+AND Identifier = '{{ base_path_mapping_arn }}';
```
@@ -273,7 +272,7 @@ AND Identifier = '';
```sql
/*+ delete */
DELETE FROM awscc.apigateway.base_path_mapping_v2s
-WHERE Identifier = ''
+WHERE Identifier = '{{ base_path_mapping_arn }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/apigateway/base_path_mappings/index.md b/website/docs/services/apigateway/base_path_mappings/index.md
index 73ca41651..c879a4270 100644
--- a/website/docs/services/apigateway/base_path_mappings/index.md
+++ b/website/docs/services/apigateway/base_path_mappings/index.md
@@ -157,7 +157,7 @@ domain_name,
rest_api_id,
stage
FROM awscc.apigateway.base_path_mappings
-WHERE region = 'us-east-1' AND Identifier = '|';
+WHERE region = 'us-east-1' AND Identifier = '{{ domain_name }}|{{ base_path }}';
```
@@ -194,8 +194,8 @@ INSERT INTO awscc.apigateway.base_path_mappings (
DomainName,
region
)
-SELECT
-'{{ DomainName }}',
+SELECT
+'{{ domain_name }}',
'{{ region }}';
```
@@ -210,11 +210,11 @@ INSERT INTO awscc.apigateway.base_path_mappings (
Stage,
region
)
-SELECT
- '{{ BasePath }}',
- '{{ DomainName }}',
- '{{ RestApiId }}',
- '{{ Stage }}',
+SELECT
+ '{{ base_path }}',
+ '{{ domain_name }}',
+ '{{ rest_api_id }}',
+ '{{ stage }}',
'{{ region }}';
```
@@ -232,15 +232,14 @@ globals:
resources:
- name: base_path_mapping
props:
- - name: BasePath
- value: '{{ BasePath }}'
- - name: DomainName
- value: '{{ DomainName }}'
- - name: RestApiId
- value: '{{ RestApiId }}'
- - name: Stage
- value: '{{ Stage }}'
-
+ - name: base_path
+ value: '{{ base_path }}'
+ - name: domain_name
+ value: '{{ domain_name }}'
+ - name: rest_api_id
+ value: '{{ rest_api_id }}'
+ - name: stage
+ value: '{{ stage }}'
```
@@ -257,7 +256,7 @@ SET PatchDocument = string('{{ {
"Stage": stage
} | generate_patch_document }}')
WHERE region = '{{ region }}'
-AND Identifier = '|';
+AND Identifier = '{{ domain_name }}|{{ base_path }}';
```
@@ -266,7 +265,7 @@ AND Identifier = '|';
```sql
/*+ delete */
DELETE FROM awscc.apigateway.base_path_mappings
-WHERE Identifier = ''
+WHERE Identifier = '{{ domain_name }}|{{ base_path }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/apigateway/client_certificates/index.md b/website/docs/services/apigateway/client_certificates/index.md
index 7a62a95c3..bf2ef1f3b 100644
--- a/website/docs/services/apigateway/client_certificates/index.md
+++ b/website/docs/services/apigateway/client_certificates/index.md
@@ -158,7 +158,7 @@ client_certificate_id,
description,
tags
FROM awscc.apigateway.client_certificates
-WHERE region = 'us-east-1' AND Identifier = '';
+WHERE region = 'us-east-1' AND Identifier = '{{ client_certificate_id }}';
```
@@ -195,9 +195,9 @@ INSERT INTO awscc.apigateway.client_certificates (
Tags,
region
)
-SELECT
-'{{ Description }}',
- '{{ Tags }}',
+SELECT
+'{{ description }}',
+ '{{ tags }}',
'{{ region }}';
```
@@ -210,9 +210,9 @@ INSERT INTO awscc.apigateway.client_certificates (
Tags,
region
)
-SELECT
- '{{ Description }}',
- '{{ Tags }}',
+SELECT
+ '{{ description }}',
+ '{{ tags }}',
'{{ region }}';
```
@@ -230,13 +230,12 @@ globals:
resources:
- name: client_certificate
props:
- - name: Description
- value: '{{ Description }}'
- - name: Tags
+ - name: description
+ value: '{{ description }}'
+ - name: tags
value:
- - Value: '{{ Value }}'
- Key: '{{ Key }}'
-
+ - value: '{{ value }}'
+ key: '{{ key }}'
```
@@ -253,7 +252,7 @@ SET PatchDocument = string('{{ {
"Tags": tags
} | generate_patch_document }}')
WHERE region = '{{ region }}'
-AND Identifier = '';
+AND Identifier = '{{ client_certificate_id }}';
```
@@ -262,7 +261,7 @@ AND Identifier = '';
```sql
/*+ delete */
DELETE FROM awscc.apigateway.client_certificates
-WHERE Identifier = ''
+WHERE Identifier = '{{ client_certificate_id }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/apigateway/deployments/index.md b/website/docs/services/apigateway/deployments/index.md
index 2ea35bad9..a85d542b6 100644
--- a/website/docs/services/apigateway/deployments/index.md
+++ b/website/docs/services/apigateway/deployments/index.md
@@ -381,7 +381,7 @@ stage_name,
rest_api_id,
deployment_canary_settings
FROM awscc.apigateway.deployments
-WHERE region = 'us-east-1' AND Identifier = '|';
+WHERE region = 'us-east-1' AND Identifier = '{{ deployment_id }}|{{ rest_api_id }}';
```
@@ -418,8 +418,8 @@ INSERT INTO awscc.apigateway.deployments (
RestApiId,
region
)
-SELECT
-'{{ RestApiId }}',
+SELECT
+'{{ rest_api_id }}',
'{{ region }}';
```
@@ -435,12 +435,12 @@ INSERT INTO awscc.apigateway.deployments (
DeploymentCanarySettings,
region
)
-SELECT
- '{{ Description }}',
- '{{ StageDescription }}',
- '{{ StageName }}',
- '{{ RestApiId }}',
- '{{ DeploymentCanarySettings }}',
+SELECT
+ '{{ description }}',
+ '{{ stage_description }}',
+ '{{ stage_name }}',
+ '{{ rest_api_id }}',
+ '{{ deployment_canary_settings }}',
'{{ region }}';
```
@@ -458,57 +458,56 @@ globals:
resources:
- name: deployment
props:
- - name: Description
- value: '{{ Description }}'
- - name: StageDescription
+ - name: description
+ value: '{{ description }}'
+ - name: stage_description
value:
- CacheTtlInSeconds: '{{ CacheTtlInSeconds }}'
- Description: '{{ Description }}'
- LoggingLevel: '{{ LoggingLevel }}'
- CanarySetting:
- DeploymentId: '{{ DeploymentId }}'
- PercentTraffic: null
- StageVariableOverrides: {}
- UseStageCache: '{{ UseStageCache }}'
- ThrottlingRateLimit: null
- ClientCertificateId: '{{ ClientCertificateId }}'
- Variables: {}
- DocumentationVersion: '{{ DocumentationVersion }}'
- CacheDataEncrypted: '{{ CacheDataEncrypted }}'
- DataTraceEnabled: '{{ DataTraceEnabled }}'
- ThrottlingBurstLimit: '{{ ThrottlingBurstLimit }}'
- CachingEnabled: '{{ CachingEnabled }}'
- TracingEnabled: '{{ TracingEnabled }}'
- MethodSettings:
- - CacheDataEncrypted: '{{ CacheDataEncrypted }}'
- CacheTtlInSeconds: '{{ CacheTtlInSeconds }}'
- CachingEnabled: '{{ CachingEnabled }}'
- DataTraceEnabled: '{{ DataTraceEnabled }}'
- HttpMethod: '{{ HttpMethod }}'
- LoggingLevel: '{{ LoggingLevel }}'
- MetricsEnabled: '{{ MetricsEnabled }}'
- ResourcePath: '{{ ResourcePath }}'
- ThrottlingBurstLimit: '{{ ThrottlingBurstLimit }}'
- ThrottlingRateLimit: null
- AccessLogSetting:
- DestinationArn: '{{ DestinationArn }}'
- Format: '{{ Format }}'
- CacheClusterSize: '{{ CacheClusterSize }}'
- MetricsEnabled: '{{ MetricsEnabled }}'
- Tags:
- - Value: '{{ Value }}'
- Key: '{{ Key }}'
- CacheClusterEnabled: '{{ CacheClusterEnabled }}'
- - name: StageName
- value: '{{ StageName }}'
- - name: RestApiId
- value: '{{ RestApiId }}'
- - name: DeploymentCanarySettings
+ cache_ttl_in_seconds: '{{ cache_ttl_in_seconds }}'
+ description: '{{ description }}'
+ logging_level: '{{ logging_level }}'
+ canary_setting:
+ deployment_id: '{{ deployment_id }}'
+ percent_traffic: null
+ stage_variable_overrides: {}
+ use_stage_cache: '{{ use_stage_cache }}'
+ throttling_rate_limit: null
+ client_certificate_id: '{{ client_certificate_id }}'
+ variables: {}
+ documentation_version: '{{ documentation_version }}'
+ cache_data_encrypted: '{{ cache_data_encrypted }}'
+ data_trace_enabled: '{{ data_trace_enabled }}'
+ throttling_burst_limit: '{{ throttling_burst_limit }}'
+ caching_enabled: '{{ caching_enabled }}'
+ tracing_enabled: '{{ tracing_enabled }}'
+ method_settings:
+ - cache_data_encrypted: '{{ cache_data_encrypted }}'
+ cache_ttl_in_seconds: '{{ cache_ttl_in_seconds }}'
+ caching_enabled: '{{ caching_enabled }}'
+ data_trace_enabled: '{{ data_trace_enabled }}'
+ http_method: '{{ http_method }}'
+ logging_level: '{{ logging_level }}'
+ metrics_enabled: '{{ metrics_enabled }}'
+ resource_path: '{{ resource_path }}'
+ throttling_burst_limit: '{{ throttling_burst_limit }}'
+ throttling_rate_limit: null
+ access_log_setting:
+ destination_arn: '{{ destination_arn }}'
+ format: '{{ format }}'
+ cache_cluster_size: '{{ cache_cluster_size }}'
+ metrics_enabled: '{{ metrics_enabled }}'
+ tags:
+ - value: '{{ value }}'
+ key: '{{ key }}'
+ cache_cluster_enabled: '{{ cache_cluster_enabled }}'
+ - name: stage_name
+ value: '{{ stage_name }}'
+ - name: rest_api_id
+ value: '{{ rest_api_id }}'
+ - name: deployment_canary_settings
value:
- StageVariableOverrides: {}
- PercentTraffic: null
- UseStageCache: '{{ UseStageCache }}'
-
+ stage_variable_overrides: {}
+ percent_traffic: null
+ use_stage_cache: '{{ use_stage_cache }}'
```
@@ -526,7 +525,7 @@ SET PatchDocument = string('{{ {
"StageName": stage_name
} | generate_patch_document }}')
WHERE region = '{{ region }}'
-AND Identifier = '|';
+AND Identifier = '{{ deployment_id }}|{{ rest_api_id }}';
```
@@ -535,7 +534,7 @@ AND Identifier = '|';
```sql
/*+ delete */
DELETE FROM awscc.apigateway.deployments
-WHERE Identifier = ''
+WHERE Identifier = '{{ deployment_id }}|{{ rest_api_id }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/apigateway/documentation_parts/index.md b/website/docs/services/apigateway/documentation_parts/index.md
index d17dbc615..efaa8a28e 100644
--- a/website/docs/services/apigateway/documentation_parts/index.md
+++ b/website/docs/services/apigateway/documentation_parts/index.md
@@ -184,7 +184,7 @@ location,
properties,
rest_api_id
FROM awscc.apigateway.documentation_parts
-WHERE region = 'us-east-1' AND Identifier = '|';
+WHERE region = 'us-east-1' AND Identifier = '{{ documentation_part_id }}|{{ rest_api_id }}';
```
@@ -223,10 +223,10 @@ INSERT INTO awscc.apigateway.documentation_parts (
RestApiId,
region
)
-SELECT
-'{{ Location }}',
- '{{ Properties }}',
- '{{ RestApiId }}',
+SELECT
+'{{ location }}',
+ '{{ properties }}',
+ '{{ rest_api_id }}',
'{{ region }}';
```
@@ -240,10 +240,10 @@ INSERT INTO awscc.apigateway.documentation_parts (
RestApiId,
region
)
-SELECT
- '{{ Location }}',
- '{{ Properties }}',
- '{{ RestApiId }}',
+SELECT
+ '{{ location }}',
+ '{{ properties }}',
+ '{{ rest_api_id }}',
'{{ region }}';
```
@@ -261,18 +261,17 @@ globals:
resources:
- name: documentation_part
props:
- - name: Location
+ - name: location
value:
- Method: '{{ Method }}'
- Name: '{{ Name }}'
- Path: '{{ Path }}'
- StatusCode: '{{ StatusCode }}'
- Type: '{{ Type }}'
- - name: Properties
- value: '{{ Properties }}'
- - name: RestApiId
- value: '{{ RestApiId }}'
-
+ method: '{{ method }}'
+ name: '{{ name }}'
+ path: '{{ path }}'
+ status_code: '{{ status_code }}'
+ type: '{{ type }}'
+ - name: properties
+ value: '{{ properties }}'
+ - name: rest_api_id
+ value: '{{ rest_api_id }}'
```
@@ -288,7 +287,7 @@ SET PatchDocument = string('{{ {
"Properties": properties
} | generate_patch_document }}')
WHERE region = '{{ region }}'
-AND Identifier = '|';
+AND Identifier = '{{ documentation_part_id }}|{{ rest_api_id }}';
```
@@ -297,7 +296,7 @@ AND Identifier = '|';
```sql
/*+ delete */
DELETE FROM awscc.apigateway.documentation_parts
-WHERE Identifier = ''
+WHERE Identifier = '{{ documentation_part_id }}|{{ rest_api_id }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/apigateway/documentation_versions/index.md b/website/docs/services/apigateway/documentation_versions/index.md
index 7a8d04e76..78273ee6b 100644
--- a/website/docs/services/apigateway/documentation_versions/index.md
+++ b/website/docs/services/apigateway/documentation_versions/index.md
@@ -151,7 +151,7 @@ description,
documentation_version,
rest_api_id
FROM awscc.apigateway.documentation_versions
-WHERE region = 'us-east-1' AND Identifier = '|';
+WHERE region = 'us-east-1' AND Identifier = '{{ documentation_version }}|{{ rest_api_id }}';
```
@@ -189,9 +189,9 @@ INSERT INTO awscc.apigateway.documentation_versions (
RestApiId,
region
)
-SELECT
-'{{ DocumentationVersion }}',
- '{{ RestApiId }}',
+SELECT
+'{{ documentation_version }}',
+ '{{ rest_api_id }}',
'{{ region }}';
```
@@ -205,10 +205,10 @@ INSERT INTO awscc.apigateway.documentation_versions (
RestApiId,
region
)
-SELECT
- '{{ Description }}',
- '{{ DocumentationVersion }}',
- '{{ RestApiId }}',
+SELECT
+ '{{ description }}',
+ '{{ documentation_version }}',
+ '{{ rest_api_id }}',
'{{ region }}';
```
@@ -226,13 +226,12 @@ globals:
resources:
- name: documentation_version
props:
- - name: Description
- value: '{{ Description }}'
- - name: DocumentationVersion
- value: '{{ DocumentationVersion }}'
- - name: RestApiId
- value: '{{ RestApiId }}'
-
+ - name: description
+ value: '{{ description }}'
+ - name: documentation_version
+ value: '{{ documentation_version }}'
+ - name: rest_api_id
+ value: '{{ rest_api_id }}'
```
@@ -248,7 +247,7 @@ SET PatchDocument = string('{{ {
"Description": description
} | generate_patch_document }}')
WHERE region = '{{ region }}'
-AND Identifier = '|';
+AND Identifier = '{{ documentation_version }}|{{ rest_api_id }}';
```
@@ -257,7 +256,7 @@ AND Identifier = '|';
```sql
/*+ delete */
DELETE FROM awscc.apigateway.documentation_versions
-WHERE Identifier = ''
+WHERE Identifier = '{{ documentation_version }}|{{ rest_api_id }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/apigateway/domain_name_access_associations/index.md b/website/docs/services/apigateway/domain_name_access_associations/index.md
index 0f5b61f45..2210921a5 100644
--- a/website/docs/services/apigateway/domain_name_access_associations/index.md
+++ b/website/docs/services/apigateway/domain_name_access_associations/index.md
@@ -164,7 +164,7 @@ access_association_source,
access_association_source_type,
tags
FROM awscc.apigateway.domain_name_access_associations
-WHERE region = 'us-east-1' AND Identifier = '';
+WHERE region = 'us-east-1' AND Identifier = '{{ domain_name_access_association_arn }}';
```
@@ -202,10 +202,10 @@ INSERT INTO awscc.apigateway.domain_name_access_associations (
AccessAssociationSourceType,
region
)
-SELECT
-'{{ DomainNameArn }}',
- '{{ AccessAssociationSource }}',
- '{{ AccessAssociationSourceType }}',
+SELECT
+'{{ domain_name_arn }}',
+ '{{ access_association_source }}',
+ '{{ access_association_source_type }}',
'{{ region }}';
```
@@ -220,11 +220,11 @@ INSERT INTO awscc.apigateway.domain_name_access_associations (
Tags,
region
)
-SELECT
- '{{ DomainNameArn }}',
- '{{ AccessAssociationSource }}',
- '{{ AccessAssociationSourceType }}',
- '{{ Tags }}',
+SELECT
+ '{{ domain_name_arn }}',
+ '{{ access_association_source }}',
+ '{{ access_association_source_type }}',
+ '{{ tags }}',
'{{ region }}';
```
@@ -242,17 +242,16 @@ globals:
resources:
- name: domain_name_access_association
props:
- - name: DomainNameArn
- value: '{{ DomainNameArn }}'
- - name: AccessAssociationSource
- value: '{{ AccessAssociationSource }}'
- - name: AccessAssociationSourceType
- value: '{{ AccessAssociationSourceType }}'
- - name: Tags
+ - name: domain_name_arn
+ value: '{{ domain_name_arn }}'
+ - name: access_association_source
+ value: '{{ access_association_source }}'
+ - name: access_association_source_type
+ value: '{{ access_association_source_type }}'
+ - name: tags
value:
- - Value: '{{ Value }}'
- Key: '{{ Key }}'
-
+ - value: '{{ value }}'
+ key: '{{ key }}'
```
@@ -263,7 +262,7 @@ resources:
```sql
/*+ delete */
DELETE FROM awscc.apigateway.domain_name_access_associations
-WHERE Identifier = ''
+WHERE Identifier = '{{ domain_name_access_association_arn }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/apigateway/domain_name_v2s/index.md b/website/docs/services/apigateway/domain_name_v2s/index.md
index e979ad5b4..6bebeaafa 100644
--- a/website/docs/services/apigateway/domain_name_v2s/index.md
+++ b/website/docs/services/apigateway/domain_name_v2s/index.md
@@ -216,7 +216,7 @@ domain_name_arn,
routing_mode,
tags
FROM awscc.apigateway.domain_name_v2s
-WHERE region = 'us-east-1' AND Identifier = '';
+WHERE region = 'us-east-1' AND Identifier = '{{ domain_name_arn }}';
```
@@ -258,14 +258,14 @@ INSERT INTO awscc.apigateway.domain_name_v2s (
Tags,
region
)
-SELECT
-'{{ CertificateArn }}',
- '{{ DomainName }}',
- '{{ EndpointConfiguration }}',
- '{{ SecurityPolicy }}',
- '{{ Policy }}',
- '{{ RoutingMode }}',
- '{{ Tags }}',
+SELECT
+'{{ certificate_arn }}',
+ '{{ domain_name }}',
+ '{{ endpoint_configuration }}',
+ '{{ security_policy }}',
+ '{{ policy }}',
+ '{{ routing_mode }}',
+ '{{ tags }}',
'{{ region }}';
```
@@ -283,14 +283,14 @@ INSERT INTO awscc.apigateway.domain_name_v2s (
Tags,
region
)
-SELECT
- '{{ CertificateArn }}',
- '{{ DomainName }}',
- '{{ EndpointConfiguration }}',
- '{{ SecurityPolicy }}',
- '{{ Policy }}',
- '{{ RoutingMode }}',
- '{{ Tags }}',
+SELECT
+ '{{ certificate_arn }}',
+ '{{ domain_name }}',
+ '{{ endpoint_configuration }}',
+ '{{ security_policy }}',
+ '{{ policy }}',
+ '{{ routing_mode }}',
+ '{{ tags }}',
'{{ region }}';
```
@@ -308,28 +308,27 @@ globals:
resources:
- name: domain_name_v2
props:
- - name: CertificateArn
- value: '{{ CertificateArn }}'
- - name: DomainName
- value: '{{ DomainName }}'
- - name: EndpointConfiguration
+ - name: certificate_arn
+ value: '{{ certificate_arn }}'
+ - name: domain_name
+ value: '{{ domain_name }}'
+ - name: endpoint_configuration
value:
- IpAddressType: '{{ IpAddressType }}'
- Types:
- - '{{ Types[0] }}'
- VpcEndpointIds:
- - '{{ VpcEndpointIds[0] }}'
- - name: SecurityPolicy
- value: '{{ SecurityPolicy }}'
- - name: Policy
+ ip_address_type: '{{ ip_address_type }}'
+ types:
+ - '{{ types[0] }}'
+ vpc_endpoint_ids:
+ - '{{ vpc_endpoint_ids[0] }}'
+ - name: security_policy
+ value: '{{ security_policy }}'
+ - name: policy
value: {}
- - name: RoutingMode
- value: '{{ RoutingMode }}'
- - name: Tags
+ - name: routing_mode
+ value: '{{ routing_mode }}'
+ - name: tags
value:
- - Value: '{{ Value }}'
- Key: '{{ Key }}'
-
+ - value: '{{ value }}'
+ key: '{{ key }}'
```
@@ -348,7 +347,7 @@ SET PatchDocument = string('{{ {
"Tags": tags
} | generate_patch_document }}')
WHERE region = '{{ region }}'
-AND Identifier = '';
+AND Identifier = '{{ domain_name_arn }}';
```
@@ -357,7 +356,7 @@ AND Identifier = '';
```sql
/*+ delete */
DELETE FROM awscc.apigateway.domain_name_v2s
-WHERE Identifier = ''
+WHERE Identifier = '{{ domain_name_arn }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/apigateway/domain_names/index.md b/website/docs/services/apigateway/domain_names/index.md
index e184c089d..7dcaee119 100644
--- a/website/docs/services/apigateway/domain_names/index.md
+++ b/website/docs/services/apigateway/domain_names/index.md
@@ -253,7 +253,7 @@ security_policy,
routing_mode,
tags
FROM awscc.apigateway.domain_names
-WHERE region = 'us-east-1' AND Identifier = '';
+WHERE region = 'us-east-1' AND Identifier = '{{ domain_name }}';
```
@@ -297,16 +297,16 @@ INSERT INTO awscc.apigateway.domain_names (
Tags,
region
)
-SELECT
-'{{ DomainName }}',
- '{{ EndpointConfiguration }}',
- '{{ MutualTlsAuthentication }}',
- '{{ CertificateArn }}',
- '{{ RegionalCertificateArn }}',
- '{{ OwnershipVerificationCertificateArn }}',
- '{{ SecurityPolicy }}',
- '{{ RoutingMode }}',
- '{{ Tags }}',
+SELECT
+'{{ domain_name }}',
+ '{{ endpoint_configuration }}',
+ '{{ mutual_tls_authentication }}',
+ '{{ certificate_arn }}',
+ '{{ regional_certificate_arn }}',
+ '{{ ownership_verification_certificate_arn }}',
+ '{{ security_policy }}',
+ '{{ routing_mode }}',
+ '{{ tags }}',
'{{ region }}';
```
@@ -326,16 +326,16 @@ INSERT INTO awscc.apigateway.domain_names (
Tags,
region
)
-SELECT
- '{{ DomainName }}',
- '{{ EndpointConfiguration }}',
- '{{ MutualTlsAuthentication }}',
- '{{ CertificateArn }}',
- '{{ RegionalCertificateArn }}',
- '{{ OwnershipVerificationCertificateArn }}',
- '{{ SecurityPolicy }}',
- '{{ RoutingMode }}',
- '{{ Tags }}',
+SELECT
+ '{{ domain_name }}',
+ '{{ endpoint_configuration }}',
+ '{{ mutual_tls_authentication }}',
+ '{{ certificate_arn }}',
+ '{{ regional_certificate_arn }}',
+ '{{ ownership_verification_certificate_arn }}',
+ '{{ security_policy }}',
+ '{{ routing_mode }}',
+ '{{ tags }}',
'{{ region }}';
```
@@ -353,34 +353,33 @@ globals:
resources:
- name: domain_name
props:
- - name: DomainName
- value: '{{ DomainName }}'
- - name: EndpointConfiguration
+ - name: domain_name
+ value: '{{ domain_name }}'
+ - name: endpoint_configuration
value:
- IpAddressType: '{{ IpAddressType }}'
- Types:
- - '{{ Types[0] }}'
- VpcEndpointIds:
- - '{{ VpcEndpointIds[0] }}'
- - name: MutualTlsAuthentication
+ ip_address_type: '{{ ip_address_type }}'
+ types:
+ - '{{ types[0] }}'
+ vpc_endpoint_ids:
+ - '{{ vpc_endpoint_ids[0] }}'
+ - name: mutual_tls_authentication
value:
- TruststoreUri: '{{ TruststoreUri }}'
- TruststoreVersion: '{{ TruststoreVersion }}'
- - name: CertificateArn
- value: '{{ CertificateArn }}'
- - name: RegionalCertificateArn
- value: '{{ RegionalCertificateArn }}'
- - name: OwnershipVerificationCertificateArn
- value: '{{ OwnershipVerificationCertificateArn }}'
- - name: SecurityPolicy
- value: '{{ SecurityPolicy }}'
- - name: RoutingMode
- value: '{{ RoutingMode }}'
- - name: Tags
+ truststore_uri: '{{ truststore_uri }}'
+ truststore_version: '{{ truststore_version }}'
+ - name: certificate_arn
+ value: '{{ certificate_arn }}'
+ - name: regional_certificate_arn
+ value: '{{ regional_certificate_arn }}'
+ - name: ownership_verification_certificate_arn
+ value: '{{ ownership_verification_certificate_arn }}'
+ - name: security_policy
+ value: '{{ security_policy }}'
+ - name: routing_mode
+ value: '{{ routing_mode }}'
+ - name: tags
value:
- - Value: '{{ Value }}'
- Key: '{{ Key }}'
-
+ - value: '{{ value }}'
+ key: '{{ key }}'
```
@@ -403,7 +402,7 @@ SET PatchDocument = string('{{ {
"Tags": tags
} | generate_patch_document }}')
WHERE region = '{{ region }}'
-AND Identifier = '';
+AND Identifier = '{{ domain_name }}';
```
@@ -412,7 +411,7 @@ AND Identifier = '';
```sql
/*+ delete */
DELETE FROM awscc.apigateway.domain_names
-WHERE Identifier = ''
+WHERE Identifier = '{{ domain_name }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/apigateway/gateway_responses/index.md b/website/docs/services/apigateway/gateway_responses/index.md
index 276855e39..f9f5cd7d1 100644
--- a/website/docs/services/apigateway/gateway_responses/index.md
+++ b/website/docs/services/apigateway/gateway_responses/index.md
@@ -164,7 +164,7 @@ status_code,
response_parameters,
response_templates
FROM awscc.apigateway.gateway_responses
-WHERE region = 'us-east-1' AND Identifier = '';
+WHERE region = 'us-east-1' AND Identifier = '{{ id }}';
```
@@ -201,9 +201,9 @@ INSERT INTO awscc.apigateway.gateway_responses (
ResponseType,
region
)
-SELECT
-'{{ RestApiId }}',
- '{{ ResponseType }}',
+SELECT
+'{{ rest_api_id }}',
+ '{{ response_type }}',
'{{ region }}';
```
@@ -219,12 +219,12 @@ INSERT INTO awscc.apigateway.gateway_responses (
ResponseTemplates,
region
)
-SELECT
- '{{ RestApiId }}',
- '{{ ResponseType }}',
- '{{ StatusCode }}',
- '{{ ResponseParameters }}',
- '{{ ResponseTemplates }}',
+SELECT
+ '{{ rest_api_id }}',
+ '{{ response_type }}',
+ '{{ status_code }}',
+ '{{ response_parameters }}',
+ '{{ response_templates }}',
'{{ region }}';
```
@@ -242,17 +242,16 @@ globals:
resources:
- name: gateway_response
props:
- - name: RestApiId
- value: '{{ RestApiId }}'
- - name: ResponseType
- value: '{{ ResponseType }}'
- - name: StatusCode
- value: '{{ StatusCode }}'
- - name: ResponseParameters
+ - name: rest_api_id
+ value: '{{ rest_api_id }}'
+ - name: response_type
+ value: '{{ response_type }}'
+ - name: status_code
+ value: '{{ status_code }}'
+ - name: response_parameters
value: {}
- - name: ResponseTemplates
+ - name: response_templates
value: {}
-
```
@@ -270,7 +269,7 @@ SET PatchDocument = string('{{ {
"ResponseTemplates": response_templates
} | generate_patch_document }}')
WHERE region = '{{ region }}'
-AND Identifier = '';
+AND Identifier = '{{ id }}';
```
@@ -279,7 +278,7 @@ AND Identifier = '';
```sql
/*+ delete */
DELETE FROM awscc.apigateway.gateway_responses
-WHERE Identifier = ''
+WHERE Identifier = '{{ id }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/apigateway/methods/index.md b/website/docs/services/apigateway/methods/index.md
index 211f4a141..bef416647 100644
--- a/website/docs/services/apigateway/methods/index.md
+++ b/website/docs/services/apigateway/methods/index.md
@@ -276,7 +276,7 @@ api_key_required,
authorization_type,
http_method
FROM awscc.apigateway.methods
-WHERE region = 'us-east-1' AND Identifier = '||';
+WHERE region = 'us-east-1' AND Identifier = '{{ rest_api_id }}|{{ resource_id }}|{{ http_method }}';
```
## `INSERT` example
@@ -301,10 +301,10 @@ INSERT INTO awscc.apigateway.methods (
HttpMethod,
region
)
-SELECT
-'{{ RestApiId }}',
- '{{ ResourceId }}',
- '{{ HttpMethod }}',
+SELECT
+'{{ rest_api_id }}',
+ '{{ resource_id }}',
+ '{{ http_method }}',
'{{ region }}';
```
@@ -328,20 +328,20 @@ INSERT INTO awscc.apigateway.methods (
HttpMethod,
region
)
-SELECT
- '{{ Integration }}',
- '{{ OperationName }}',
- '{{ RequestModels }}',
- '{{ RestApiId }}',
- '{{ AuthorizationScopes }}',
- '{{ RequestValidatorId }}',
- '{{ RequestParameters }}',
- '{{ MethodResponses }}',
- '{{ AuthorizerId }}',
- '{{ ResourceId }}',
- '{{ ApiKeyRequired }}',
- '{{ AuthorizationType }}',
- '{{ HttpMethod }}',
+SELECT
+ '{{ integration }}',
+ '{{ operation_name }}',
+ '{{ request_models }}',
+ '{{ rest_api_id }}',
+ '{{ authorization_scopes }}',
+ '{{ request_validator_id }}',
+ '{{ request_parameters }}',
+ '{{ method_responses }}',
+ '{{ authorizer_id }}',
+ '{{ resource_id }}',
+ '{{ api_key_required }}',
+ '{{ authorization_type }}',
+ '{{ http_method }}',
'{{ region }}';
```
@@ -359,57 +359,56 @@ globals:
resources:
- name: method
props:
- - name: Integration
+ - name: integration
value:
- CacheNamespace: '{{ CacheNamespace }}'
- ConnectionType: '{{ ConnectionType }}'
- IntegrationResponses:
- - ResponseTemplates: {}
- SelectionPattern: '{{ SelectionPattern }}'
- ContentHandling: '{{ ContentHandling }}'
- ResponseParameters: {}
- StatusCode: '{{ StatusCode }}'
- IntegrationHttpMethod: '{{ IntegrationHttpMethod }}'
- Uri: '{{ Uri }}'
- PassthroughBehavior: '{{ PassthroughBehavior }}'
- RequestParameters: {}
- ConnectionId: '{{ ConnectionId }}'
- Type: '{{ Type }}'
- CacheKeyParameters:
- - '{{ CacheKeyParameters[0] }}'
- ContentHandling: '{{ ContentHandling }}'
- RequestTemplates: {}
- TimeoutInMillis: '{{ TimeoutInMillis }}'
- Credentials: '{{ Credentials }}'
- - name: OperationName
- value: '{{ OperationName }}'
- - name: RequestModels
+ cache_namespace: '{{ cache_namespace }}'
+ connection_type: '{{ connection_type }}'
+ integration_responses:
+ - response_templates: {}
+ selection_pattern: '{{ selection_pattern }}'
+ content_handling: '{{ content_handling }}'
+ response_parameters: {}
+ status_code: '{{ status_code }}'
+ integration_http_method: '{{ integration_http_method }}'
+ uri: '{{ uri }}'
+ passthrough_behavior: '{{ passthrough_behavior }}'
+ request_parameters: {}
+ connection_id: '{{ connection_id }}'
+ type: '{{ type }}'
+ cache_key_parameters:
+ - '{{ cache_key_parameters[0] }}'
+ content_handling: '{{ content_handling }}'
+ request_templates: {}
+ timeout_in_millis: '{{ timeout_in_millis }}'
+ credentials: '{{ credentials }}'
+ - name: operation_name
+ value: '{{ operation_name }}'
+ - name: request_models
value: {}
- - name: RestApiId
- value: '{{ RestApiId }}'
- - name: AuthorizationScopes
+ - name: rest_api_id
+ value: '{{ rest_api_id }}'
+ - name: authorization_scopes
value:
- - '{{ AuthorizationScopes[0] }}'
- - name: RequestValidatorId
- value: '{{ RequestValidatorId }}'
- - name: RequestParameters
+ - '{{ authorization_scopes[0] }}'
+ - name: request_validator_id
+ value: '{{ request_validator_id }}'
+ - name: request_parameters
value: {}
- - name: MethodResponses
+ - name: method_responses
value:
- - ResponseParameters: {}
- StatusCode: '{{ StatusCode }}'
- ResponseModels: {}
- - name: AuthorizerId
- value: '{{ AuthorizerId }}'
- - name: ResourceId
- value: '{{ ResourceId }}'
- - name: ApiKeyRequired
- value: '{{ ApiKeyRequired }}'
- - name: AuthorizationType
- value: '{{ AuthorizationType }}'
- - name: HttpMethod
- value: '{{ HttpMethod }}'
-
+ - response_parameters: {}
+ status_code: '{{ status_code }}'
+ response_models: {}
+ - name: authorizer_id
+ value: '{{ authorizer_id }}'
+ - name: resource_id
+ value: '{{ resource_id }}'
+ - name: api_key_required
+ value: '{{ api_key_required }}'
+ - name: authorization_type
+ value: '{{ authorization_type }}'
+ - name: http_method
+ value: '{{ http_method }}'
```
@@ -434,7 +433,7 @@ SET PatchDocument = string('{{ {
"AuthorizationType": authorization_type
} | generate_patch_document }}')
WHERE region = '{{ region }}'
-AND Identifier = '||';
+AND Identifier = '{{ rest_api_id }}|{{ resource_id }}|{{ http_method }}';
```
@@ -443,7 +442,7 @@ AND Identifier = '||';
```sql
/*+ delete */
DELETE FROM awscc.apigateway.methods
-WHERE Identifier = ''
+WHERE Identifier = '{{ rest_api_id }}|{{ resource_id }}|{{ http_method }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/apigateway/models/index.md b/website/docs/services/apigateway/models/index.md
index 06f48c483..410a246ce 100644
--- a/website/docs/services/apigateway/models/index.md
+++ b/website/docs/services/apigateway/models/index.md
@@ -163,7 +163,7 @@ name,
rest_api_id,
schema
FROM awscc.apigateway.models
-WHERE region = 'us-east-1' AND Identifier = '|';
+WHERE region = 'us-east-1' AND Identifier = '{{ rest_api_id }}|{{ name }}';
```
@@ -200,8 +200,8 @@ INSERT INTO awscc.apigateway.models (
RestApiId,
region
)
-SELECT
-'{{ RestApiId }}',
+SELECT
+'{{ rest_api_id }}',
'{{ region }}';
```
@@ -217,12 +217,12 @@ INSERT INTO awscc.apigateway.models (
Schema,
region
)
-SELECT
- '{{ ContentType }}',
- '{{ Description }}',
- '{{ Name }}',
- '{{ RestApiId }}',
- '{{ Schema }}',
+SELECT
+ '{{ content_type }}',
+ '{{ description }}',
+ '{{ name }}',
+ '{{ rest_api_id }}',
+ '{{ schema }}',
'{{ region }}';
```
@@ -240,17 +240,16 @@ globals:
resources:
- name: model
props:
- - name: ContentType
- value: '{{ ContentType }}'
- - name: Description
- value: '{{ Description }}'
- - name: Name
- value: '{{ Name }}'
- - name: RestApiId
- value: '{{ RestApiId }}'
- - name: Schema
+ - name: content_type
+ value: '{{ content_type }}'
+ - name: description
+ value: '{{ description }}'
+ - name: name
+ value: '{{ name }}'
+ - name: rest_api_id
+ value: '{{ rest_api_id }}'
+ - name: schema
value: {}
-
```
@@ -267,7 +266,7 @@ SET PatchDocument = string('{{ {
"Schema": schema
} | generate_patch_document }}')
WHERE region = '{{ region }}'
-AND Identifier = '|';
+AND Identifier = '{{ rest_api_id }}|{{ name }}';
```
@@ -276,7 +275,7 @@ AND Identifier = '|';
```sql
/*+ delete */
DELETE FROM awscc.apigateway.models
-WHERE Identifier = ''
+WHERE Identifier = '{{ rest_api_id }}|{{ name }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/apigateway/request_validators/index.md b/website/docs/services/apigateway/request_validators/index.md
index 330577fe8..42706bd66 100644
--- a/website/docs/services/apigateway/request_validators/index.md
+++ b/website/docs/services/apigateway/request_validators/index.md
@@ -163,7 +163,7 @@ rest_api_id,
validate_request_body,
validate_request_parameters
FROM awscc.apigateway.request_validators
-WHERE region = 'us-east-1' AND Identifier = '|';
+WHERE region = 'us-east-1' AND Identifier = '{{ rest_api_id }}|{{ request_validator_id }}';
```
@@ -200,8 +200,8 @@ INSERT INTO awscc.apigateway.request_validators (
RestApiId,
region
)
-SELECT
-'{{ RestApiId }}',
+SELECT
+'{{ rest_api_id }}',
'{{ region }}';
```
@@ -216,11 +216,11 @@ INSERT INTO awscc.apigateway.request_validators (
ValidateRequestParameters,
region
)
-SELECT
- '{{ Name }}',
- '{{ RestApiId }}',
- '{{ ValidateRequestBody }}',
- '{{ ValidateRequestParameters }}',
+SELECT
+ '{{ name }}',
+ '{{ rest_api_id }}',
+ '{{ validate_request_body }}',
+ '{{ validate_request_parameters }}',
'{{ region }}';
```
@@ -238,15 +238,14 @@ globals:
resources:
- name: request_validator
props:
- - name: Name
- value: '{{ Name }}'
- - name: RestApiId
- value: '{{ RestApiId }}'
- - name: ValidateRequestBody
- value: '{{ ValidateRequestBody }}'
- - name: ValidateRequestParameters
- value: '{{ ValidateRequestParameters }}'
-
+ - name: name
+ value: '{{ name }}'
+ - name: rest_api_id
+ value: '{{ rest_api_id }}'
+ - name: validate_request_body
+ value: '{{ validate_request_body }}'
+ - name: validate_request_parameters
+ value: '{{ validate_request_parameters }}'
```
@@ -263,7 +262,7 @@ SET PatchDocument = string('{{ {
"ValidateRequestParameters": validate_request_parameters
} | generate_patch_document }}')
WHERE region = '{{ region }}'
-AND Identifier = '|';
+AND Identifier = '{{ rest_api_id }}|{{ request_validator_id }}';
```
@@ -272,7 +271,7 @@ AND Identifier = '|';
```sql
/*+ delete */
DELETE FROM awscc.apigateway.request_validators
-WHERE Identifier = ''
+WHERE Identifier = '{{ rest_api_id }}|{{ request_validator_id }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/apigateway/resources/index.md b/website/docs/services/apigateway/resources/index.md
index 1f2dda5e6..87e00f67f 100644
--- a/website/docs/services/apigateway/resources/index.md
+++ b/website/docs/services/apigateway/resources/index.md
@@ -157,7 +157,7 @@ path_part,
resource_id,
rest_api_id
FROM awscc.apigateway.resources
-WHERE region = 'us-east-1' AND Identifier = '|';
+WHERE region = 'us-east-1' AND Identifier = '{{ rest_api_id }}|{{ resource_id }}';
```
@@ -196,10 +196,10 @@ INSERT INTO awscc.apigateway.resources (
RestApiId,
region
)
-SELECT
-'{{ ParentId }}',
- '{{ PathPart }}',
- '{{ RestApiId }}',
+SELECT
+'{{ parent_id }}',
+ '{{ path_part }}',
+ '{{ rest_api_id }}',
'{{ region }}';
```
@@ -213,10 +213,10 @@ INSERT INTO awscc.apigateway.resources (
RestApiId,
region
)
-SELECT
- '{{ ParentId }}',
- '{{ PathPart }}',
- '{{ RestApiId }}',
+SELECT
+ '{{ parent_id }}',
+ '{{ path_part }}',
+ '{{ rest_api_id }}',
'{{ region }}';
```
@@ -234,13 +234,12 @@ globals:
resources:
- name: resource
props:
- - name: ParentId
- value: '{{ ParentId }}'
- - name: PathPart
- value: '{{ PathPart }}'
- - name: RestApiId
- value: '{{ RestApiId }}'
-
+ - name: parent_id
+ value: '{{ parent_id }}'
+ - name: path_part
+ value: '{{ path_part }}'
+ - name: rest_api_id
+ value: '{{ rest_api_id }}'
```
@@ -251,7 +250,7 @@ resources:
```sql
/*+ delete */
DELETE FROM awscc.apigateway.resources
-WHERE Identifier = ''
+WHERE Identifier = '{{ rest_api_id }}|{{ resource_id }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/apigateway/rest_apis/index.md b/website/docs/services/apigateway/rest_apis/index.md
index e121c73c9..2ea71a621 100644
--- a/website/docs/services/apigateway/rest_apis/index.md
+++ b/website/docs/services/apigateway/rest_apis/index.md
@@ -281,7 +281,7 @@ endpoint_configuration,
body,
tags
FROM awscc.apigateway.rest_apis
-WHERE region = 'us-east-1' AND Identifier = '';
+WHERE region = 'us-east-1' AND Identifier = '{{ rest_api_id }}';
```
@@ -331,22 +331,22 @@ INSERT INTO awscc.apigateway.rest_apis (
Tags,
region
)
-SELECT
-'{{ Policy }}',
- '{{ BodyS3Location }}',
- '{{ Description }}',
- '{{ MinimumCompressionSize }}',
- '{{ Parameters }}',
- '{{ CloneFrom }}',
- '{{ Mode }}',
- '{{ DisableExecuteApiEndpoint }}',
- '{{ FailOnWarnings }}',
- '{{ BinaryMediaTypes }}',
- '{{ Name }}',
- '{{ ApiKeySourceType }}',
- '{{ EndpointConfiguration }}',
- '{{ Body }}',
- '{{ Tags }}',
+SELECT
+'{{ policy }}',
+ '{{ body_s3_location }}',
+ '{{ description }}',
+ '{{ minimum_compression_size }}',
+ '{{ parameters }}',
+ '{{ clone_from }}',
+ '{{ mode }}',
+ '{{ disable_execute_api_endpoint }}',
+ '{{ fail_on_warnings }}',
+ '{{ binary_media_types }}',
+ '{{ name }}',
+ '{{ api_key_source_type }}',
+ '{{ endpoint_configuration }}',
+ '{{ body }}',
+ '{{ tags }}',
'{{ region }}';
```
@@ -372,22 +372,22 @@ INSERT INTO awscc.apigateway.rest_apis (
Tags,
region
)
-SELECT
- '{{ Policy }}',
- '{{ BodyS3Location }}',
- '{{ Description }}',
- '{{ MinimumCompressionSize }}',
- '{{ Parameters }}',
- '{{ CloneFrom }}',
- '{{ Mode }}',
- '{{ DisableExecuteApiEndpoint }}',
- '{{ FailOnWarnings }}',
- '{{ BinaryMediaTypes }}',
- '{{ Name }}',
- '{{ ApiKeySourceType }}',
- '{{ EndpointConfiguration }}',
- '{{ Body }}',
- '{{ Tags }}',
+SELECT
+ '{{ policy }}',
+ '{{ body_s3_location }}',
+ '{{ description }}',
+ '{{ minimum_compression_size }}',
+ '{{ parameters }}',
+ '{{ clone_from }}',
+ '{{ mode }}',
+ '{{ disable_execute_api_endpoint }}',
+ '{{ fail_on_warnings }}',
+ '{{ binary_media_types }}',
+ '{{ name }}',
+ '{{ api_key_source_type }}',
+ '{{ endpoint_configuration }}',
+ '{{ body }}',
+ '{{ tags }}',
'{{ region }}';
```
@@ -405,49 +405,48 @@ globals:
resources:
- name: rest_api
props:
- - name: Policy
+ - name: policy
value: {}
- - name: BodyS3Location
+ - name: body_s3_location
value:
- Bucket: '{{ Bucket }}'
- ETag: '{{ ETag }}'
- Version: '{{ Version }}'
- Key: '{{ Key }}'
- - name: Description
- value: '{{ Description }}'
- - name: MinimumCompressionSize
- value: '{{ MinimumCompressionSize }}'
- - name: Parameters
+ bucket: '{{ bucket }}'
+ e_tag: '{{ e_tag }}'
+ version: '{{ version }}'
+ key: '{{ key }}'
+ - name: description
+ value: '{{ description }}'
+ - name: minimum_compression_size
+ value: '{{ minimum_compression_size }}'
+ - name: parameters
value: {}
- - name: CloneFrom
- value: '{{ CloneFrom }}'
- - name: Mode
- value: '{{ Mode }}'
- - name: DisableExecuteApiEndpoint
- value: '{{ DisableExecuteApiEndpoint }}'
- - name: FailOnWarnings
- value: '{{ FailOnWarnings }}'
- - name: BinaryMediaTypes
+ - name: clone_from
+ value: '{{ clone_from }}'
+ - name: mode
+ value: '{{ mode }}'
+ - name: disable_execute_api_endpoint
+ value: '{{ disable_execute_api_endpoint }}'
+ - name: fail_on_warnings
+ value: '{{ fail_on_warnings }}'
+ - name: binary_media_types
value:
- - '{{ BinaryMediaTypes[0] }}'
- - name: Name
- value: '{{ Name }}'
- - name: ApiKeySourceType
- value: '{{ ApiKeySourceType }}'
- - name: EndpointConfiguration
+ - '{{ binary_media_types[0] }}'
+ - name: name
+ value: '{{ name }}'
+ - name: api_key_source_type
+ value: '{{ api_key_source_type }}'
+ - name: endpoint_configuration
value:
- IpAddressType: '{{ IpAddressType }}'
- Types:
- - '{{ Types[0] }}'
- VpcEndpointIds:
- - '{{ VpcEndpointIds[0] }}'
- - name: Body
+ ip_address_type: '{{ ip_address_type }}'
+ types:
+ - '{{ types[0] }}'
+ vpc_endpoint_ids:
+ - '{{ vpc_endpoint_ids[0] }}'
+ - name: body
value: {}
- - name: Tags
+ - name: tags
value:
- - Value: '{{ Value }}'
- Key: '{{ Key }}'
-
+ - value: '{{ value }}'
+ key: '{{ key }}'
```
@@ -477,7 +476,7 @@ SET PatchDocument = string('{{ {
"Tags": tags
} | generate_patch_document }}')
WHERE region = '{{ region }}'
-AND Identifier = '';
+AND Identifier = '{{ rest_api_id }}';
```
@@ -486,7 +485,7 @@ AND Identifier = '';
```sql
/*+ delete */
DELETE FROM awscc.apigateway.rest_apis
-WHERE Identifier = ''
+WHERE Identifier = '{{ rest_api_id }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/apigateway/stages/index.md b/website/docs/services/apigateway/stages/index.md
index 32fd10fe2..50af17ccc 100644
--- a/website/docs/services/apigateway/stages/index.md
+++ b/website/docs/services/apigateway/stages/index.md
@@ -315,7 +315,7 @@ tags,
tracing_enabled,
variables
FROM awscc.apigateway.stages
-WHERE region = 'us-east-1' AND Identifier = '|';
+WHERE region = 'us-east-1' AND Identifier = '{{ rest_api_id }}|{{ stage_name }}';
```
@@ -352,8 +352,8 @@ INSERT INTO awscc.apigateway.stages (
RestApiId,
region
)
-SELECT
-'{{ RestApiId }}',
+SELECT
+'{{ rest_api_id }}',
'{{ region }}';
```
@@ -378,21 +378,21 @@ INSERT INTO awscc.apigateway.stages (
Variables,
region
)
-SELECT
- '{{ AccessLogSetting }}',
- '{{ CacheClusterEnabled }}',
- '{{ CacheClusterSize }}',
- '{{ CanarySetting }}',
- '{{ ClientCertificateId }}',
- '{{ DeploymentId }}',
- '{{ Description }}',
- '{{ DocumentationVersion }}',
- '{{ MethodSettings }}',
- '{{ RestApiId }}',
- '{{ StageName }}',
- '{{ Tags }}',
- '{{ TracingEnabled }}',
- '{{ Variables }}',
+SELECT
+ '{{ access_log_setting }}',
+ '{{ cache_cluster_enabled }}',
+ '{{ cache_cluster_size }}',
+ '{{ canary_setting }}',
+ '{{ client_certificate_id }}',
+ '{{ deployment_id }}',
+ '{{ description }}',
+ '{{ documentation_version }}',
+ '{{ method_settings }}',
+ '{{ rest_api_id }}',
+ '{{ stage_name }}',
+ '{{ tags }}',
+ '{{ tracing_enabled }}',
+ '{{ variables }}',
'{{ region }}';
```
@@ -410,53 +410,52 @@ globals:
resources:
- name: stage
props:
- - name: AccessLogSetting
+ - name: access_log_setting
value:
- DestinationArn: '{{ DestinationArn }}'
- Format: '{{ Format }}'
- - name: CacheClusterEnabled
- value: '{{ CacheClusterEnabled }}'
- - name: CacheClusterSize
- value: '{{ CacheClusterSize }}'
- - name: CanarySetting
+ destination_arn: '{{ destination_arn }}'
+ format: '{{ format }}'
+ - name: cache_cluster_enabled
+ value: '{{ cache_cluster_enabled }}'
+ - name: cache_cluster_size
+ value: '{{ cache_cluster_size }}'
+ - name: canary_setting
value:
- DeploymentId: '{{ DeploymentId }}'
- PercentTraffic: null
- StageVariableOverrides: {}
- UseStageCache: '{{ UseStageCache }}'
- - name: ClientCertificateId
- value: '{{ ClientCertificateId }}'
- - name: DeploymentId
- value: '{{ DeploymentId }}'
- - name: Description
- value: '{{ Description }}'
- - name: DocumentationVersion
- value: '{{ DocumentationVersion }}'
- - name: MethodSettings
+ deployment_id: '{{ deployment_id }}'
+ percent_traffic: null
+ stage_variable_overrides: {}
+ use_stage_cache: '{{ use_stage_cache }}'
+ - name: client_certificate_id
+ value: '{{ client_certificate_id }}'
+ - name: deployment_id
+ value: '{{ deployment_id }}'
+ - name: description
+ value: '{{ description }}'
+ - name: documentation_version
+ value: '{{ documentation_version }}'
+ - name: method_settings
value:
- - CacheDataEncrypted: '{{ CacheDataEncrypted }}'
- CacheTtlInSeconds: '{{ CacheTtlInSeconds }}'
- CachingEnabled: '{{ CachingEnabled }}'
- DataTraceEnabled: '{{ DataTraceEnabled }}'
- HttpMethod: '{{ HttpMethod }}'
- LoggingLevel: '{{ LoggingLevel }}'
- MetricsEnabled: '{{ MetricsEnabled }}'
- ResourcePath: '{{ ResourcePath }}'
- ThrottlingBurstLimit: '{{ ThrottlingBurstLimit }}'
- ThrottlingRateLimit: null
- - name: RestApiId
- value: '{{ RestApiId }}'
- - name: StageName
- value: '{{ StageName }}'
- - name: Tags
+ - cache_data_encrypted: '{{ cache_data_encrypted }}'
+ cache_ttl_in_seconds: '{{ cache_ttl_in_seconds }}'
+ caching_enabled: '{{ caching_enabled }}'
+ data_trace_enabled: '{{ data_trace_enabled }}'
+ http_method: '{{ http_method }}'
+ logging_level: '{{ logging_level }}'
+ metrics_enabled: '{{ metrics_enabled }}'
+ resource_path: '{{ resource_path }}'
+ throttling_burst_limit: '{{ throttling_burst_limit }}'
+ throttling_rate_limit: null
+ - name: rest_api_id
+ value: '{{ rest_api_id }}'
+ - name: stage_name
+ value: '{{ stage_name }}'
+ - name: tags
value:
- - Value: '{{ Value }}'
- Key: '{{ Key }}'
- - name: TracingEnabled
- value: '{{ TracingEnabled }}'
- - name: Variables
+ - value: '{{ value }}'
+ key: '{{ key }}'
+ - name: tracing_enabled
+ value: '{{ tracing_enabled }}'
+ - name: variables
value: {}
-
```
@@ -483,7 +482,7 @@ SET PatchDocument = string('{{ {
"Variables": variables
} | generate_patch_document }}')
WHERE region = '{{ region }}'
-AND Identifier = '|';
+AND Identifier = '{{ rest_api_id }}|{{ stage_name }}';
```
@@ -492,7 +491,7 @@ AND Identifier = '|';
```sql
/*+ delete */
DELETE FROM awscc.apigateway.stages
-WHERE Identifier = ''
+WHERE Identifier = '{{ rest_api_id }}|{{ stage_name }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/apigateway/usage_plan_keys/index.md b/website/docs/services/apigateway/usage_plan_keys/index.md
index 2d637df5e..e50785d86 100644
--- a/website/docs/services/apigateway/usage_plan_keys/index.md
+++ b/website/docs/services/apigateway/usage_plan_keys/index.md
@@ -146,7 +146,7 @@ key_type,
usage_plan_id,
id
FROM awscc.apigateway.usage_plan_keys
-WHERE region = 'us-east-1' AND Identifier = '';
+WHERE region = 'us-east-1' AND Identifier = '{{ id }}';
```
@@ -184,10 +184,10 @@ INSERT INTO awscc.apigateway.usage_plan_keys (
UsagePlanId,
region
)
-SELECT
-'{{ KeyId }}',
- '{{ KeyType }}',
- '{{ UsagePlanId }}',
+SELECT
+'{{ key_id }}',
+ '{{ key_type }}',
+ '{{ usage_plan_id }}',
'{{ region }}';
```
@@ -201,10 +201,10 @@ INSERT INTO awscc.apigateway.usage_plan_keys (
UsagePlanId,
region
)
-SELECT
- '{{ KeyId }}',
- '{{ KeyType }}',
- '{{ UsagePlanId }}',
+SELECT
+ '{{ key_id }}',
+ '{{ key_type }}',
+ '{{ usage_plan_id }}',
'{{ region }}';
```
@@ -222,13 +222,12 @@ globals:
resources:
- name: usage_plan_key
props:
- - name: KeyId
- value: '{{ KeyId }}'
- - name: KeyType
- value: '{{ KeyType }}'
- - name: UsagePlanId
- value: '{{ UsagePlanId }}'
-
+ - name: key_id
+ value: '{{ key_id }}'
+ - name: key_type
+ value: '{{ key_type }}'
+ - name: usage_plan_id
+ value: '{{ usage_plan_id }}'
```
@@ -239,7 +238,7 @@ resources:
```sql
/*+ delete */
DELETE FROM awscc.apigateway.usage_plan_keys
-WHERE Identifier = ''
+WHERE Identifier = '{{ id }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/apigateway/usage_plans/index.md b/website/docs/services/apigateway/usage_plans/index.md
index 88b5b8dd0..3c7f74d53 100644
--- a/website/docs/services/apigateway/usage_plans/index.md
+++ b/website/docs/services/apigateway/usage_plans/index.md
@@ -228,7 +228,7 @@ tags,
throttle,
usage_plan_name
FROM awscc.apigateway.usage_plans
-WHERE region = 'us-east-1' AND Identifier = '';
+WHERE region = 'us-east-1' AND Identifier = '{{ id }}';
```
@@ -269,13 +269,13 @@ INSERT INTO awscc.apigateway.usage_plans (
UsagePlanName,
region
)
-SELECT
-'{{ ApiStages }}',
- '{{ Description }}',
- '{{ Quota }}',
- '{{ Tags }}',
- '{{ Throttle }}',
- '{{ UsagePlanName }}',
+SELECT
+'{{ api_stages }}',
+ '{{ description }}',
+ '{{ quota }}',
+ '{{ tags }}',
+ '{{ throttle }}',
+ '{{ usage_plan_name }}',
'{{ region }}';
```
@@ -292,13 +292,13 @@ INSERT INTO awscc.apigateway.usage_plans (
UsagePlanName,
region
)
-SELECT
- '{{ ApiStages }}',
- '{{ Description }}',
- '{{ Quota }}',
- '{{ Tags }}',
- '{{ Throttle }}',
- '{{ UsagePlanName }}',
+SELECT
+ '{{ api_stages }}',
+ '{{ description }}',
+ '{{ quota }}',
+ '{{ tags }}',
+ '{{ throttle }}',
+ '{{ usage_plan_name }}',
'{{ region }}';
```
@@ -316,29 +316,28 @@ globals:
resources:
- name: usage_plan
props:
- - name: ApiStages
+ - name: api_stages
value:
- - ApiId: '{{ ApiId }}'
- Stage: '{{ Stage }}'
- Throttle: {}
- - name: Description
- value: '{{ Description }}'
- - name: Quota
+ - api_id: '{{ api_id }}'
+ stage: '{{ stage }}'
+ throttle: {}
+ - name: description
+ value: '{{ description }}'
+ - name: quota
value:
- Limit: '{{ Limit }}'
- Offset: '{{ Offset }}'
- Period: '{{ Period }}'
- - name: Tags
+ limit: '{{ limit }}'
+ offset: '{{ offset }}'
+ period: '{{ period }}'
+ - name: tags
value:
- - Value: '{{ Value }}'
- Key: '{{ Key }}'
- - name: Throttle
+ - value: '{{ value }}'
+ key: '{{ key }}'
+ - name: throttle
value:
- BurstLimit: '{{ BurstLimit }}'
- RateLimit: null
- - name: UsagePlanName
- value: '{{ UsagePlanName }}'
-
+ burst_limit: '{{ burst_limit }}'
+ rate_limit: null
+ - name: usage_plan_name
+ value: '{{ usage_plan_name }}'
```
@@ -359,7 +358,7 @@ SET PatchDocument = string('{{ {
"UsagePlanName": usage_plan_name
} | generate_patch_document }}')
WHERE region = '{{ region }}'
-AND Identifier = '';
+AND Identifier = '{{ id }}';
```
@@ -368,7 +367,7 @@ AND Identifier = '';
```sql
/*+ delete */
DELETE FROM awscc.apigateway.usage_plans
-WHERE Identifier = ''
+WHERE Identifier = '{{ id }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/apigateway/vpc_links/index.md b/website/docs/services/apigateway/vpc_links/index.md
index 0cb8dafbd..f912404b1 100644
--- a/website/docs/services/apigateway/vpc_links/index.md
+++ b/website/docs/services/apigateway/vpc_links/index.md
@@ -170,7 +170,7 @@ tags,
target_arns,
vpc_link_id
FROM awscc.apigateway.vpc_links
-WHERE region = 'us-east-1' AND Identifier = '';
+WHERE region = 'us-east-1' AND Identifier = '{{ vpc_link_id }}';
```
@@ -207,9 +207,9 @@ INSERT INTO awscc.apigateway.vpc_links (
TargetArns,
region
)
-SELECT
-'{{ Name }}',
- '{{ TargetArns }}',
+SELECT
+'{{ name }}',
+ '{{ target_arns }}',
'{{ region }}';
```
@@ -224,11 +224,11 @@ INSERT INTO awscc.apigateway.vpc_links (
TargetArns,
region
)
-SELECT
- '{{ Name }}',
- '{{ Description }}',
- '{{ Tags }}',
- '{{ TargetArns }}',
+SELECT
+ '{{ name }}',
+ '{{ description }}',
+ '{{ tags }}',
+ '{{ target_arns }}',
'{{ region }}';
```
@@ -246,18 +246,17 @@ globals:
resources:
- name: vpc_link
props:
- - name: Name
- value: '{{ Name }}'
- - name: Description
- value: '{{ Description }}'
- - name: Tags
+ - name: name
+ value: '{{ name }}'
+ - name: description
+ value: '{{ description }}'
+ - name: tags
value:
- - Value: '{{ Value }}'
- Key: '{{ Key }}'
- - name: TargetArns
+ - value: '{{ value }}'
+ key: '{{ key }}'
+ - name: target_arns
value:
- - '{{ TargetArns[0] }}'
-
+ - '{{ target_arns[0] }}'
```
@@ -275,7 +274,7 @@ SET PatchDocument = string('{{ {
"Tags": tags
} | generate_patch_document }}')
WHERE region = '{{ region }}'
-AND Identifier = '';
+AND Identifier = '{{ vpc_link_id }}';
```
@@ -284,7 +283,7 @@ AND Identifier = '';
```sql
/*+ delete */
DELETE FROM awscc.apigateway.vpc_links
-WHERE Identifier = ''
+WHERE Identifier = '{{ vpc_link_id }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/apigatewayv2/api_mappings/index.md b/website/docs/services/apigatewayv2/api_mappings/index.md
index 248256045..6035512ff 100644
--- a/website/docs/services/apigatewayv2/api_mappings/index.md
+++ b/website/docs/services/apigatewayv2/api_mappings/index.md
@@ -163,7 +163,7 @@ stage,
api_mapping_key,
api_id
FROM awscc.apigatewayv2.api_mappings
-WHERE region = 'us-east-1' AND Identifier = '|';
+WHERE region = 'us-east-1' AND Identifier = '{{ api_mapping_id }}|{{ domain_name }}';
```
@@ -202,10 +202,10 @@ INSERT INTO awscc.apigatewayv2.api_mappings (
ApiId,
region
)
-SELECT
-'{{ DomainName }}',
- '{{ Stage }}',
- '{{ ApiId }}',
+SELECT
+'{{ domain_name }}',
+ '{{ stage }}',
+ '{{ api_id }}',
'{{ region }}';
```
@@ -220,11 +220,11 @@ INSERT INTO awscc.apigatewayv2.api_mappings (
ApiId,
region
)
-SELECT
- '{{ DomainName }}',
- '{{ Stage }}',
- '{{ ApiMappingKey }}',
- '{{ ApiId }}',
+SELECT
+ '{{ domain_name }}',
+ '{{ stage }}',
+ '{{ api_mapping_key }}',
+ '{{ api_id }}',
'{{ region }}';
```
@@ -242,15 +242,14 @@ globals:
resources:
- name: api_mapping
props:
- - name: DomainName
- value: '{{ DomainName }}'
- - name: Stage
- value: '{{ Stage }}'
- - name: ApiMappingKey
- value: '{{ ApiMappingKey }}'
- - name: ApiId
- value: '{{ ApiId }}'
-
+ - name: domain_name
+ value: '{{ domain_name }}'
+ - name: stage
+ value: '{{ stage }}'
+ - name: api_mapping_key
+ value: '{{ api_mapping_key }}'
+ - name: api_id
+ value: '{{ api_id }}'
```
@@ -268,7 +267,7 @@ SET PatchDocument = string('{{ {
"ApiId": api_id
} | generate_patch_document }}')
WHERE region = '{{ region }}'
-AND Identifier = '|';
+AND Identifier = '{{ api_mapping_id }}|{{ domain_name }}';
```
@@ -277,7 +276,7 @@ AND Identifier = '|';
```sql
/*+ delete */
DELETE FROM awscc.apigatewayv2.api_mappings
-WHERE Identifier = ''
+WHERE Identifier = '{{ api_mapping_id }}|{{ domain_name }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/apigatewayv2/apis/index.md b/website/docs/services/apigatewayv2/apis/index.md
index f54d739e5..65af84bc9 100644
--- a/website/docs/services/apigatewayv2/apis/index.md
+++ b/website/docs/services/apigatewayv2/apis/index.md
@@ -302,7 +302,7 @@ tags,
api_key_selection_expression,
ip_address_type
FROM awscc.apigatewayv2.apis
-WHERE region = 'us-east-1' AND Identifier = '';
+WHERE region = 'us-east-1' AND Identifier = '{{ api_id }}';
```
@@ -355,25 +355,25 @@ INSERT INTO awscc.apigatewayv2.apis (
IpAddressType,
region
)
-SELECT
-'{{ RouteSelectionExpression }}',
- '{{ Body }}',
- '{{ BodyS3Location }}',
- '{{ BasePath }}',
- '{{ CredentialsArn }}',
- '{{ CorsConfiguration }}',
- '{{ RouteKey }}',
- '{{ Target }}',
- '{{ FailOnWarnings }}',
- '{{ Description }}',
- '{{ DisableExecuteApiEndpoint }}',
- '{{ DisableSchemaValidation }}',
- '{{ Name }}',
- '{{ Version }}',
- '{{ ProtocolType }}',
- '{{ Tags }}',
- '{{ ApiKeySelectionExpression }}',
- '{{ IpAddressType }}',
+SELECT
+'{{ route_selection_expression }}',
+ '{{ body }}',
+ '{{ body_s3_location }}',
+ '{{ base_path }}',
+ '{{ credentials_arn }}',
+ '{{ cors_configuration }}',
+ '{{ route_key }}',
+ '{{ target }}',
+ '{{ fail_on_warnings }}',
+ '{{ description }}',
+ '{{ disable_execute_api_endpoint }}',
+ '{{ disable_schema_validation }}',
+ '{{ name }}',
+ '{{ version }}',
+ '{{ protocol_type }}',
+ '{{ tags }}',
+ '{{ api_key_selection_expression }}',
+ '{{ ip_address_type }}',
'{{ region }}';
```
@@ -402,25 +402,25 @@ INSERT INTO awscc.apigatewayv2.apis (
IpAddressType,
region
)
-SELECT
- '{{ RouteSelectionExpression }}',
- '{{ Body }}',
- '{{ BodyS3Location }}',
- '{{ BasePath }}',
- '{{ CredentialsArn }}',
- '{{ CorsConfiguration }}',
- '{{ RouteKey }}',
- '{{ Target }}',
- '{{ FailOnWarnings }}',
- '{{ Description }}',
- '{{ DisableExecuteApiEndpoint }}',
- '{{ DisableSchemaValidation }}',
- '{{ Name }}',
- '{{ Version }}',
- '{{ ProtocolType }}',
- '{{ Tags }}',
- '{{ ApiKeySelectionExpression }}',
- '{{ IpAddressType }}',
+SELECT
+ '{{ route_selection_expression }}',
+ '{{ body }}',
+ '{{ body_s3_location }}',
+ '{{ base_path }}',
+ '{{ credentials_arn }}',
+ '{{ cors_configuration }}',
+ '{{ route_key }}',
+ '{{ target }}',
+ '{{ fail_on_warnings }}',
+ '{{ description }}',
+ '{{ disable_execute_api_endpoint }}',
+ '{{ disable_schema_validation }}',
+ '{{ name }}',
+ '{{ version }}',
+ '{{ protocol_type }}',
+ '{{ tags }}',
+ '{{ api_key_selection_expression }}',
+ '{{ ip_address_type }}',
'{{ region }}';
```
@@ -438,57 +438,56 @@ globals:
resources:
- name: api
props:
- - name: RouteSelectionExpression
- value: '{{ RouteSelectionExpression }}'
- - name: Body
+ - name: route_selection_expression
+ value: '{{ route_selection_expression }}'
+ - name: body
value: {}
- - name: BodyS3Location
+ - name: body_s3_location
value:
- Etag: '{{ Etag }}'
- Bucket: '{{ Bucket }}'
- Version: '{{ Version }}'
- Key: '{{ Key }}'
- - name: BasePath
- value: '{{ BasePath }}'
- - name: CredentialsArn
- value: '{{ CredentialsArn }}'
- - name: CorsConfiguration
+ etag: '{{ etag }}'
+ bucket: '{{ bucket }}'
+ version: '{{ version }}'
+ key: '{{ key }}'
+ - name: base_path
+ value: '{{ base_path }}'
+ - name: credentials_arn
+ value: '{{ credentials_arn }}'
+ - name: cors_configuration
value:
- AllowOrigins:
- - '{{ AllowOrigins[0] }}'
- AllowCredentials: '{{ AllowCredentials }}'
- ExposeHeaders:
- - '{{ ExposeHeaders[0] }}'
- AllowHeaders:
- - '{{ AllowHeaders[0] }}'
- MaxAge: '{{ MaxAge }}'
- AllowMethods:
- - '{{ AllowMethods[0] }}'
- - name: RouteKey
- value: '{{ RouteKey }}'
- - name: Target
- value: '{{ Target }}'
- - name: FailOnWarnings
- value: '{{ FailOnWarnings }}'
- - name: Description
- value: '{{ Description }}'
- - name: DisableExecuteApiEndpoint
- value: '{{ DisableExecuteApiEndpoint }}'
- - name: DisableSchemaValidation
- value: '{{ DisableSchemaValidation }}'
- - name: Name
- value: '{{ Name }}'
- - name: Version
- value: '{{ Version }}'
- - name: ProtocolType
- value: '{{ ProtocolType }}'
- - name: Tags
+ allow_origins:
+ - '{{ allow_origins[0] }}'
+ allow_credentials: '{{ allow_credentials }}'
+ expose_headers:
+ - '{{ expose_headers[0] }}'
+ allow_headers:
+ - '{{ allow_headers[0] }}'
+ max_age: '{{ max_age }}'
+ allow_methods:
+ - '{{ allow_methods[0] }}'
+ - name: route_key
+ value: '{{ route_key }}'
+ - name: target
+ value: '{{ target }}'
+ - name: fail_on_warnings
+ value: '{{ fail_on_warnings }}'
+ - name: description
+ value: '{{ description }}'
+ - name: disable_execute_api_endpoint
+ value: '{{ disable_execute_api_endpoint }}'
+ - name: disable_schema_validation
+ value: '{{ disable_schema_validation }}'
+ - name: name
+ value: '{{ name }}'
+ - name: version
+ value: '{{ version }}'
+ - name: protocol_type
+ value: '{{ protocol_type }}'
+ - name: tags
value: {}
- - name: ApiKeySelectionExpression
- value: '{{ ApiKeySelectionExpression }}'
- - name: IpAddressType
- value: '{{ IpAddressType }}'
-
+ - name: api_key_selection_expression
+ value: '{{ api_key_selection_expression }}'
+ - name: ip_address_type
+ value: '{{ ip_address_type }}'
```
@@ -520,7 +519,7 @@ SET PatchDocument = string('{{ {
"IpAddressType": ip_address_type
} | generate_patch_document }}')
WHERE region = '{{ region }}'
-AND Identifier = '';
+AND Identifier = '{{ api_id }}';
```
@@ -529,7 +528,7 @@ AND Identifier = '';
```sql
/*+ delete */
DELETE FROM awscc.apigatewayv2.apis
-WHERE Identifier = ''
+WHERE Identifier = '{{ api_id }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/apigatewayv2/authorizers/index.md b/website/docs/services/apigatewayv2/authorizers/index.md
index 55755f151..400240a55 100644
--- a/website/docs/services/apigatewayv2/authorizers/index.md
+++ b/website/docs/services/apigatewayv2/authorizers/index.md
@@ -217,7 +217,7 @@ api_id,
authorizer_id,
name
FROM awscc.apigatewayv2.authorizers
-WHERE region = 'us-east-1' AND Identifier = '|';
+WHERE region = 'us-east-1' AND Identifier = '{{ authorizer_id }}|{{ api_id }}';
```
@@ -256,10 +256,10 @@ INSERT INTO awscc.apigatewayv2.authorizers (
Name,
region
)
-SELECT
-'{{ AuthorizerType }}',
- '{{ ApiId }}',
- '{{ Name }}',
+SELECT
+'{{ authorizer_type }}',
+ '{{ api_id }}',
+ '{{ name }}',
'{{ region }}';
```
@@ -281,18 +281,18 @@ INSERT INTO awscc.apigatewayv2.authorizers (
Name,
region
)
-SELECT
- '{{ IdentityValidationExpression }}',
- '{{ AuthorizerUri }}',
- '{{ AuthorizerCredentialsArn }}',
- '{{ AuthorizerType }}',
- '{{ IdentitySource }}',
- '{{ JwtConfiguration }}',
- '{{ AuthorizerResultTtlInSeconds }}',
- '{{ AuthorizerPayloadFormatVersion }}',
- '{{ EnableSimpleResponses }}',
- '{{ ApiId }}',
- '{{ Name }}',
+SELECT
+ '{{ identity_validation_expression }}',
+ '{{ authorizer_uri }}',
+ '{{ authorizer_credentials_arn }}',
+ '{{ authorizer_type }}',
+ '{{ identity_source }}',
+ '{{ jwt_configuration }}',
+ '{{ authorizer_result_ttl_in_seconds }}',
+ '{{ authorizer_payload_format_version }}',
+ '{{ enable_simple_responses }}',
+ '{{ api_id }}',
+ '{{ name }}',
'{{ region }}';
```
@@ -310,33 +310,32 @@ globals:
resources:
- name: authorizer
props:
- - name: IdentityValidationExpression
- value: '{{ IdentityValidationExpression }}'
- - name: AuthorizerUri
- value: '{{ AuthorizerUri }}'
- - name: AuthorizerCredentialsArn
- value: '{{ AuthorizerCredentialsArn }}'
- - name: AuthorizerType
- value: '{{ AuthorizerType }}'
- - name: IdentitySource
+ - name: identity_validation_expression
+ value: '{{ identity_validation_expression }}'
+ - name: authorizer_uri
+ value: '{{ authorizer_uri }}'
+ - name: authorizer_credentials_arn
+ value: '{{ authorizer_credentials_arn }}'
+ - name: authorizer_type
+ value: '{{ authorizer_type }}'
+ - name: identity_source
value:
- - '{{ IdentitySource[0] }}'
- - name: JwtConfiguration
+ - '{{ identity_source[0] }}'
+ - name: jwt_configuration
value:
- Issuer: '{{ Issuer }}'
- Audience:
- - '{{ Audience[0] }}'
- - name: AuthorizerResultTtlInSeconds
- value: '{{ AuthorizerResultTtlInSeconds }}'
- - name: AuthorizerPayloadFormatVersion
- value: '{{ AuthorizerPayloadFormatVersion }}'
- - name: EnableSimpleResponses
- value: '{{ EnableSimpleResponses }}'
- - name: ApiId
- value: '{{ ApiId }}'
- - name: Name
- value: '{{ Name }}'
-
+ issuer: '{{ issuer }}'
+ audience:
+ - '{{ audience[0] }}'
+ - name: authorizer_result_ttl_in_seconds
+ value: '{{ authorizer_result_ttl_in_seconds }}'
+ - name: authorizer_payload_format_version
+ value: '{{ authorizer_payload_format_version }}'
+ - name: enable_simple_responses
+ value: '{{ enable_simple_responses }}'
+ - name: api_id
+ value: '{{ api_id }}'
+ - name: name
+ value: '{{ name }}'
```
@@ -361,7 +360,7 @@ SET PatchDocument = string('{{ {
"Name": name
} | generate_patch_document }}')
WHERE region = '{{ region }}'
-AND Identifier = '|';
+AND Identifier = '{{ authorizer_id }}|{{ api_id }}';
```
@@ -370,7 +369,7 @@ AND Identifier = '|';
```sql
/*+ delete */
DELETE FROM awscc.apigatewayv2.authorizers
-WHERE Identifier = ''
+WHERE Identifier = '{{ authorizer_id }}|{{ api_id }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/apigatewayv2/deployments/index.md b/website/docs/services/apigatewayv2/deployments/index.md
index 483fdb1c7..f32267570 100644
--- a/website/docs/services/apigatewayv2/deployments/index.md
+++ b/website/docs/services/apigatewayv2/deployments/index.md
@@ -157,7 +157,7 @@ description,
stage_name,
api_id
FROM awscc.apigatewayv2.deployments
-WHERE region = 'us-east-1' AND Identifier = '|';
+WHERE region = 'us-east-1' AND Identifier = '{{ api_id }}|{{ deployment_id }}';
```
@@ -194,8 +194,8 @@ INSERT INTO awscc.apigatewayv2.deployments (
ApiId,
region
)
-SELECT
-'{{ ApiId }}',
+SELECT
+'{{ api_id }}',
'{{ region }}';
```
@@ -209,10 +209,10 @@ INSERT INTO awscc.apigatewayv2.deployments (
ApiId,
region
)
-SELECT
- '{{ Description }}',
- '{{ StageName }}',
- '{{ ApiId }}',
+SELECT
+ '{{ description }}',
+ '{{ stage_name }}',
+ '{{ api_id }}',
'{{ region }}';
```
@@ -230,13 +230,12 @@ globals:
resources:
- name: deployment
props:
- - name: Description
- value: '{{ Description }}'
- - name: StageName
- value: '{{ StageName }}'
- - name: ApiId
- value: '{{ ApiId }}'
-
+ - name: description
+ value: '{{ description }}'
+ - name: stage_name
+ value: '{{ stage_name }}'
+ - name: api_id
+ value: '{{ api_id }}'
```
@@ -253,7 +252,7 @@ SET PatchDocument = string('{{ {
"StageName": stage_name
} | generate_patch_document }}')
WHERE region = '{{ region }}'
-AND Identifier = '|';
+AND Identifier = '{{ api_id }}|{{ deployment_id }}';
```
@@ -262,7 +261,7 @@ AND Identifier = '|';
```sql
/*+ delete */
DELETE FROM awscc.apigatewayv2.deployments
-WHERE Identifier = ''
+WHERE Identifier = '{{ api_id }}|{{ deployment_id }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/apigatewayv2/domain_names/index.md b/website/docs/services/apigatewayv2/domain_names/index.md
index d4a5ee927..3879370ff 100644
--- a/website/docs/services/apigatewayv2/domain_names/index.md
+++ b/website/docs/services/apigatewayv2/domain_names/index.md
@@ -220,7 +220,7 @@ domain_name_configurations,
routing_mode,
tags
FROM awscc.apigatewayv2.domain_names
-WHERE region = 'us-east-1' AND Identifier = '';
+WHERE region = 'us-east-1' AND Identifier = '{{ domain_name }}';
```
@@ -256,8 +256,8 @@ INSERT INTO awscc.apigatewayv2.domain_names (
DomainName,
region
)
-SELECT
-'{{ DomainName }}',
+SELECT
+'{{ domain_name }}',
'{{ region }}';
```
@@ -273,12 +273,12 @@ INSERT INTO awscc.apigatewayv2.domain_names (
Tags,
region
)
-SELECT
- '{{ MutualTlsAuthentication }}',
- '{{ DomainName }}',
- '{{ DomainNameConfigurations }}',
- '{{ RoutingMode }}',
- '{{ Tags }}',
+SELECT
+ '{{ mutual_tls_authentication }}',
+ '{{ domain_name }}',
+ '{{ domain_name_configurations }}',
+ '{{ routing_mode }}',
+ '{{ tags }}',
'{{ region }}';
```
@@ -296,25 +296,24 @@ globals:
resources:
- name: domain_name
props:
- - name: MutualTlsAuthentication
+ - name: mutual_tls_authentication
value:
- TruststoreVersion: '{{ TruststoreVersion }}'
- TruststoreUri: '{{ TruststoreUri }}'
- - name: DomainName
- value: '{{ DomainName }}'
- - name: DomainNameConfigurations
+ truststore_version: '{{ truststore_version }}'
+ truststore_uri: '{{ truststore_uri }}'
+ - name: domain_name
+ value: '{{ domain_name }}'
+ - name: domain_name_configurations
value:
- - OwnershipVerificationCertificateArn: '{{ OwnershipVerificationCertificateArn }}'
- EndpointType: '{{ EndpointType }}'
- CertificateName: '{{ CertificateName }}'
- SecurityPolicy: '{{ SecurityPolicy }}'
- CertificateArn: '{{ CertificateArn }}'
- IpAddressType: '{{ IpAddressType }}'
- - name: RoutingMode
- value: '{{ RoutingMode }}'
- - name: Tags
+ - ownership_verification_certificate_arn: '{{ ownership_verification_certificate_arn }}'
+ endpoint_type: '{{ endpoint_type }}'
+ certificate_name: '{{ certificate_name }}'
+ security_policy: '{{ security_policy }}'
+ certificate_arn: '{{ certificate_arn }}'
+ ip_address_type: '{{ ip_address_type }}'
+ - name: routing_mode
+ value: '{{ routing_mode }}'
+ - name: tags
value: {}
-
```
@@ -333,7 +332,7 @@ SET PatchDocument = string('{{ {
"Tags": tags
} | generate_patch_document }}')
WHERE region = '{{ region }}'
-AND Identifier = '';
+AND Identifier = '{{ domain_name }}';
```
@@ -342,7 +341,7 @@ AND Identifier = '';
```sql
/*+ delete */
DELETE FROM awscc.apigatewayv2.domain_names
-WHERE Identifier = ''
+WHERE Identifier = '{{ domain_name }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/apigatewayv2/integration_responses/index.md b/website/docs/services/apigatewayv2/integration_responses/index.md
index 70db74df9..95eafd49e 100644
--- a/website/docs/services/apigatewayv2/integration_responses/index.md
+++ b/website/docs/services/apigatewayv2/integration_responses/index.md
@@ -186,7 +186,7 @@ integration_id,
integration_response_key,
api_id
FROM awscc.apigatewayv2.integration_responses
-WHERE region = 'us-east-1' AND Identifier = '||';
+WHERE region = 'us-east-1' AND Identifier = '{{ api_id }}|{{ integration_id }}|{{ integration_response_id }}';
```
@@ -226,10 +226,10 @@ INSERT INTO awscc.apigatewayv2.integration_responses (
ApiId,
region
)
-SELECT
-'{{ IntegrationId }}',
- '{{ IntegrationResponseKey }}',
- '{{ ApiId }}',
+SELECT
+'{{ integration_id }}',
+ '{{ integration_response_key }}',
+ '{{ api_id }}',
'{{ region }}';
```
@@ -247,14 +247,14 @@ INSERT INTO awscc.apigatewayv2.integration_responses (
ApiId,
region
)
-SELECT
- '{{ ResponseTemplates }}',
- '{{ TemplateSelectionExpression }}',
- '{{ ResponseParameters }}',
- '{{ ContentHandlingStrategy }}',
- '{{ IntegrationId }}',
- '{{ IntegrationResponseKey }}',
- '{{ ApiId }}',
+SELECT
+ '{{ response_templates }}',
+ '{{ template_selection_expression }}',
+ '{{ response_parameters }}',
+ '{{ content_handling_strategy }}',
+ '{{ integration_id }}',
+ '{{ integration_response_key }}',
+ '{{ api_id }}',
'{{ region }}';
```
@@ -272,21 +272,20 @@ globals:
resources:
- name: integration_response
props:
- - name: ResponseTemplates
+ - name: response_templates
value: {}
- - name: TemplateSelectionExpression
- value: '{{ TemplateSelectionExpression }}'
- - name: ResponseParameters
+ - name: template_selection_expression
+ value: '{{ template_selection_expression }}'
+ - name: response_parameters
value: {}
- - name: ContentHandlingStrategy
- value: '{{ ContentHandlingStrategy }}'
- - name: IntegrationId
- value: '{{ IntegrationId }}'
- - name: IntegrationResponseKey
- value: '{{ IntegrationResponseKey }}'
- - name: ApiId
- value: '{{ ApiId }}'
-
+ - name: content_handling_strategy
+ value: '{{ content_handling_strategy }}'
+ - name: integration_id
+ value: '{{ integration_id }}'
+ - name: integration_response_key
+ value: '{{ integration_response_key }}'
+ - name: api_id
+ value: '{{ api_id }}'
```
@@ -306,7 +305,7 @@ SET PatchDocument = string('{{ {
"IntegrationResponseKey": integration_response_key
} | generate_patch_document }}')
WHERE region = '{{ region }}'
-AND Identifier = '||';
+AND Identifier = '{{ api_id }}|{{ integration_id }}|{{ integration_response_id }}';
```
@@ -315,7 +314,7 @@ AND Identifier = '||';
```sql
/*+ delete */
DELETE FROM awscc.apigatewayv2.integration_responses
-WHERE Identifier = ''
+WHERE Identifier = '{{ api_id }}|{{ integration_id }}|{{ integration_response_id }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/apigatewayv2/integrations/index.md b/website/docs/services/apigatewayv2/integrations/index.md
index 06b7e21d6..c052c4fcf 100644
--- a/website/docs/services/apigatewayv2/integrations/index.md
+++ b/website/docs/services/apigatewayv2/integrations/index.md
@@ -254,7 +254,7 @@ template_selection_expression,
timeout_in_millis,
tls_config
FROM awscc.apigatewayv2.integrations
-WHERE region = 'us-east-1' AND Identifier = '|';
+WHERE region = 'us-east-1' AND Identifier = '{{ api_id }}|{{ integration_id }}';
```
@@ -292,9 +292,9 @@ INSERT INTO awscc.apigatewayv2.integrations (
IntegrationType,
region
)
-SELECT
-'{{ ApiId }}',
- '{{ IntegrationType }}',
+SELECT
+'{{ api_id }}',
+ '{{ integration_type }}',
'{{ region }}';
```
@@ -323,25 +323,25 @@ INSERT INTO awscc.apigatewayv2.integrations (
TlsConfig,
region
)
-SELECT
- '{{ ApiId }}',
- '{{ ConnectionId }}',
- '{{ ConnectionType }}',
- '{{ ContentHandlingStrategy }}',
- '{{ CredentialsArn }}',
- '{{ Description }}',
- '{{ IntegrationMethod }}',
- '{{ IntegrationSubtype }}',
- '{{ IntegrationType }}',
- '{{ IntegrationUri }}',
- '{{ PassthroughBehavior }}',
- '{{ PayloadFormatVersion }}',
- '{{ RequestParameters }}',
- '{{ RequestTemplates }}',
- '{{ ResponseParameters }}',
- '{{ TemplateSelectionExpression }}',
- '{{ TimeoutInMillis }}',
- '{{ TlsConfig }}',
+SELECT
+ '{{ api_id }}',
+ '{{ connection_id }}',
+ '{{ connection_type }}',
+ '{{ content_handling_strategy }}',
+ '{{ credentials_arn }}',
+ '{{ description }}',
+ '{{ integration_method }}',
+ '{{ integration_subtype }}',
+ '{{ integration_type }}',
+ '{{ integration_uri }}',
+ '{{ passthrough_behavior }}',
+ '{{ payload_format_version }}',
+ '{{ request_parameters }}',
+ '{{ request_templates }}',
+ '{{ response_parameters }}',
+ '{{ template_selection_expression }}',
+ '{{ timeout_in_millis }}',
+ '{{ tls_config }}',
'{{ region }}';
```
@@ -359,44 +359,43 @@ globals:
resources:
- name: integration
props:
- - name: ApiId
- value: '{{ ApiId }}'
- - name: ConnectionId
- value: '{{ ConnectionId }}'
- - name: ConnectionType
- value: '{{ ConnectionType }}'
- - name: ContentHandlingStrategy
- value: '{{ ContentHandlingStrategy }}'
- - name: CredentialsArn
- value: '{{ CredentialsArn }}'
- - name: Description
- value: '{{ Description }}'
- - name: IntegrationMethod
- value: '{{ IntegrationMethod }}'
- - name: IntegrationSubtype
- value: '{{ IntegrationSubtype }}'
- - name: IntegrationType
- value: '{{ IntegrationType }}'
- - name: IntegrationUri
- value: '{{ IntegrationUri }}'
- - name: PassthroughBehavior
- value: '{{ PassthroughBehavior }}'
- - name: PayloadFormatVersion
- value: '{{ PayloadFormatVersion }}'
- - name: RequestParameters
+ - name: api_id
+ value: '{{ api_id }}'
+ - name: connection_id
+ value: '{{ connection_id }}'
+ - name: connection_type
+ value: '{{ connection_type }}'
+ - name: content_handling_strategy
+ value: '{{ content_handling_strategy }}'
+ - name: credentials_arn
+ value: '{{ credentials_arn }}'
+ - name: description
+ value: '{{ description }}'
+ - name: integration_method
+ value: '{{ integration_method }}'
+ - name: integration_subtype
+ value: '{{ integration_subtype }}'
+ - name: integration_type
+ value: '{{ integration_type }}'
+ - name: integration_uri
+ value: '{{ integration_uri }}'
+ - name: passthrough_behavior
+ value: '{{ passthrough_behavior }}'
+ - name: payload_format_version
+ value: '{{ payload_format_version }}'
+ - name: request_parameters
value: {}
- - name: RequestTemplates
+ - name: request_templates
value: {}
- - name: ResponseParameters
+ - name: response_parameters
value: {}
- - name: TemplateSelectionExpression
- value: '{{ TemplateSelectionExpression }}'
- - name: TimeoutInMillis
- value: '{{ TimeoutInMillis }}'
- - name: TlsConfig
+ - name: template_selection_expression
+ value: '{{ template_selection_expression }}'
+ - name: timeout_in_millis
+ value: '{{ timeout_in_millis }}'
+ - name: tls_config
value:
- ServerNameToVerify: '{{ ServerNameToVerify }}'
-
+ server_name_to_verify: '{{ server_name_to_verify }}'
```
@@ -428,7 +427,7 @@ SET PatchDocument = string('{{ {
"TlsConfig": tls_config
} | generate_patch_document }}')
WHERE region = '{{ region }}'
-AND Identifier = '|';
+AND Identifier = '{{ api_id }}|{{ integration_id }}';
```
@@ -437,7 +436,7 @@ AND Identifier = '|';
```sql
/*+ delete */
DELETE FROM awscc.apigatewayv2.integrations
-WHERE Identifier = ''
+WHERE Identifier = '{{ api_id }}|{{ integration_id }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/apigatewayv2/models/index.md b/website/docs/services/apigatewayv2/models/index.md
index 1557c6e2f..5d8ae298b 100644
--- a/website/docs/services/apigatewayv2/models/index.md
+++ b/website/docs/services/apigatewayv2/models/index.md
@@ -169,7 +169,7 @@ schema,
api_id,
name
FROM awscc.apigatewayv2.models
-WHERE region = 'us-east-1' AND Identifier = '|';
+WHERE region = 'us-east-1' AND Identifier = '{{ api_id }}|{{ model_id }}';
```
@@ -208,10 +208,10 @@ INSERT INTO awscc.apigatewayv2.models (
Name,
region
)
-SELECT
-'{{ Schema }}',
- '{{ ApiId }}',
- '{{ Name }}',
+SELECT
+'{{ schema }}',
+ '{{ api_id }}',
+ '{{ name }}',
'{{ region }}';
```
@@ -227,12 +227,12 @@ INSERT INTO awscc.apigatewayv2.models (
Name,
region
)
-SELECT
- '{{ Description }}',
- '{{ ContentType }}',
- '{{ Schema }}',
- '{{ ApiId }}',
- '{{ Name }}',
+SELECT
+ '{{ description }}',
+ '{{ content_type }}',
+ '{{ schema }}',
+ '{{ api_id }}',
+ '{{ name }}',
'{{ region }}';
```
@@ -250,17 +250,16 @@ globals:
resources:
- name: model
props:
- - name: Description
- value: '{{ Description }}'
- - name: ContentType
- value: '{{ ContentType }}'
- - name: Schema
+ - name: description
+ value: '{{ description }}'
+ - name: content_type
+ value: '{{ content_type }}'
+ - name: schema
value: {}
- - name: ApiId
- value: '{{ ApiId }}'
- - name: Name
- value: '{{ Name }}'
-
+ - name: api_id
+ value: '{{ api_id }}'
+ - name: name
+ value: '{{ name }}'
```
@@ -279,7 +278,7 @@ SET PatchDocument = string('{{ {
"Name": name
} | generate_patch_document }}')
WHERE region = '{{ region }}'
-AND Identifier = '|';
+AND Identifier = '{{ api_id }}|{{ model_id }}';
```
@@ -288,7 +287,7 @@ AND Identifier = '|';
```sql
/*+ delete */
DELETE FROM awscc.apigatewayv2.models
-WHERE Identifier = ''
+WHERE Identifier = '{{ api_id }}|{{ model_id }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/apigatewayv2/route_responses/index.md b/website/docs/services/apigatewayv2/route_responses/index.md
index ed54d9019..f20ed7a29 100644
--- a/website/docs/services/apigatewayv2/route_responses/index.md
+++ b/website/docs/services/apigatewayv2/route_responses/index.md
@@ -180,7 +180,7 @@ api_id,
response_models,
route_response_id
FROM awscc.apigatewayv2.route_responses
-WHERE region = 'us-east-1' AND Identifier = '||';
+WHERE region = 'us-east-1' AND Identifier = '{{ api_id }}|{{ route_id }}|{{ route_response_id }}';
```
@@ -220,10 +220,10 @@ INSERT INTO awscc.apigatewayv2.route_responses (
ApiId,
region
)
-SELECT
-'{{ RouteResponseKey }}',
- '{{ RouteId }}',
- '{{ ApiId }}',
+SELECT
+'{{ route_response_key }}',
+ '{{ route_id }}',
+ '{{ api_id }}',
'{{ region }}';
```
@@ -240,13 +240,13 @@ INSERT INTO awscc.apigatewayv2.route_responses (
ResponseModels,
region
)
-SELECT
- '{{ RouteResponseKey }}',
- '{{ ResponseParameters }}',
- '{{ RouteId }}',
- '{{ ModelSelectionExpression }}',
- '{{ ApiId }}',
- '{{ ResponseModels }}',
+SELECT
+ '{{ route_response_key }}',
+ '{{ response_parameters }}',
+ '{{ route_id }}',
+ '{{ model_selection_expression }}',
+ '{{ api_id }}',
+ '{{ response_models }}',
'{{ region }}';
```
@@ -264,19 +264,18 @@ globals:
resources:
- name: route_response
props:
- - name: RouteResponseKey
- value: '{{ RouteResponseKey }}'
- - name: ResponseParameters
+ - name: route_response_key
+ value: '{{ route_response_key }}'
+ - name: response_parameters
value: null
- - name: RouteId
- value: '{{ RouteId }}'
- - name: ModelSelectionExpression
- value: '{{ ModelSelectionExpression }}'
- - name: ApiId
- value: '{{ ApiId }}'
- - name: ResponseModels
+ - name: route_id
+ value: '{{ route_id }}'
+ - name: model_selection_expression
+ value: '{{ model_selection_expression }}'
+ - name: api_id
+ value: '{{ api_id }}'
+ - name: response_models
value: {}
-
```
@@ -295,7 +294,7 @@ SET PatchDocument = string('{{ {
"ResponseModels": response_models
} | generate_patch_document }}')
WHERE region = '{{ region }}'
-AND Identifier = '||';
+AND Identifier = '{{ api_id }}|{{ route_id }}|{{ route_response_id }}';
```
@@ -304,7 +303,7 @@ AND Identifier = '||';
```sql
/*+ delete */
DELETE FROM awscc.apigatewayv2.route_responses
-WHERE Identifier = ''
+WHERE Identifier = '{{ api_id }}|{{ route_id }}|{{ route_response_id }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/apigatewayv2/routes/index.md b/website/docs/services/apigatewayv2/routes/index.md
index 6e691913c..09e250192 100644
--- a/website/docs/services/apigatewayv2/routes/index.md
+++ b/website/docs/services/apigatewayv2/routes/index.md
@@ -211,7 +211,7 @@ request_parameters,
target,
authorizer_id
FROM awscc.apigatewayv2.routes
-WHERE region = 'us-east-1' AND Identifier = '|';
+WHERE region = 'us-east-1' AND Identifier = '{{ api_id }}|{{ route_id }}';
```
@@ -249,9 +249,9 @@ INSERT INTO awscc.apigatewayv2.routes (
ApiId,
region
)
-SELECT
-'{{ RouteKey }}',
- '{{ ApiId }}',
+SELECT
+'{{ route_key }}',
+ '{{ api_id }}',
'{{ region }}';
```
@@ -274,19 +274,19 @@ INSERT INTO awscc.apigatewayv2.routes (
AuthorizerId,
region
)
-SELECT
- '{{ RouteResponseSelectionExpression }}',
- '{{ RequestModels }}',
- '{{ OperationName }}',
- '{{ AuthorizationScopes }}',
- '{{ ApiKeyRequired }}',
- '{{ RouteKey }}',
- '{{ AuthorizationType }}',
- '{{ ModelSelectionExpression }}',
- '{{ ApiId }}',
- '{{ RequestParameters }}',
- '{{ Target }}',
- '{{ AuthorizerId }}',
+SELECT
+ '{{ route_response_selection_expression }}',
+ '{{ request_models }}',
+ '{{ operation_name }}',
+ '{{ authorization_scopes }}',
+ '{{ api_key_required }}',
+ '{{ route_key }}',
+ '{{ authorization_type }}',
+ '{{ model_selection_expression }}',
+ '{{ api_id }}',
+ '{{ request_parameters }}',
+ '{{ target }}',
+ '{{ authorizer_id }}',
'{{ region }}';
```
@@ -304,32 +304,31 @@ globals:
resources:
- name: route
props:
- - name: RouteResponseSelectionExpression
- value: '{{ RouteResponseSelectionExpression }}'
- - name: RequestModels
+ - name: route_response_selection_expression
+ value: '{{ route_response_selection_expression }}'
+ - name: request_models
value: {}
- - name: OperationName
- value: '{{ OperationName }}'
- - name: AuthorizationScopes
+ - name: operation_name
+ value: '{{ operation_name }}'
+ - name: authorization_scopes
value:
- - '{{ AuthorizationScopes[0] }}'
- - name: ApiKeyRequired
- value: '{{ ApiKeyRequired }}'
- - name: RouteKey
- value: '{{ RouteKey }}'
- - name: AuthorizationType
- value: '{{ AuthorizationType }}'
- - name: ModelSelectionExpression
- value: '{{ ModelSelectionExpression }}'
- - name: ApiId
- value: '{{ ApiId }}'
- - name: RequestParameters
+ - '{{ authorization_scopes[0] }}'
+ - name: api_key_required
+ value: '{{ api_key_required }}'
+ - name: route_key
+ value: '{{ route_key }}'
+ - name: authorization_type
+ value: '{{ authorization_type }}'
+ - name: model_selection_expression
+ value: '{{ model_selection_expression }}'
+ - name: api_id
+ value: '{{ api_id }}'
+ - name: request_parameters
value: {}
- - name: Target
- value: '{{ Target }}'
- - name: AuthorizerId
- value: '{{ AuthorizerId }}'
-
+ - name: target
+ value: '{{ target }}'
+ - name: authorizer_id
+ value: '{{ authorizer_id }}'
```
@@ -355,7 +354,7 @@ SET PatchDocument = string('{{ {
"AuthorizerId": authorizer_id
} | generate_patch_document }}')
WHERE region = '{{ region }}'
-AND Identifier = '|';
+AND Identifier = '{{ api_id }}|{{ route_id }}';
```
@@ -364,7 +363,7 @@ AND Identifier = '|';
```sql
/*+ delete */
DELETE FROM awscc.apigatewayv2.routes
-WHERE Identifier = ''
+WHERE Identifier = '{{ api_id }}|{{ route_id }}'
AND region = 'us-east-1';
```
diff --git a/website/docs/services/apigatewayv2/routing_rules/index.md b/website/docs/services/apigatewayv2/routing_rules/index.md
index 23c18a4ff..b8ae5d75f 100644
--- a/website/docs/services/apigatewayv2/routing_rules/index.md
+++ b/website/docs/services/apigatewayv2/routing_rules/index.md
@@ -226,7 +226,7 @@ priority,
conditions,
actions
FROM awscc.apigatewayv2.routing_rules
-WHERE region = 'us-east-1' AND Identifier = '';
+WHERE region = 'us-east-1' AND Identifier = '{{ routing_rule_arn }}';
```
@@ -265,11 +265,11 @@ INSERT INTO awscc.apigatewayv2.routing_rules (
Actions,
region
)
-SELECT
-'{{ DomainNameArn }}',
- '{{ Priority }}',
- '{{ Conditions }}',
- '{{ Actions }}',
+SELECT
+'{{ domain_name_arn }}',
+ '{{ priority }}',
+ '{{ conditions }}',
+ '{{ actions }}',
'{{ region }}';
```
@@ -284,11 +284,11 @@ INSERT INTO awscc.apigatewayv2.routing_rules (
Actions,
region
)
-SELECT
- '{{ DomainNameArn }}',
- '{{ Priority }}',
- '{{ Conditions }}',
- '{{ Actions }}',
+SELECT
+ '{{ domain_name_arn }}',
+ '{{ priority }}',
+ '{{ conditions }}',
+ '{{ actions }}',
'{{ region }}';
```
@@ -306,26 +306,25 @@ globals:
resources:
- name: routing_rule
props:
- - name: DomainNameArn
- value: '{{ DomainNameArn }}'
- - name: Priority
- value: '{{ Priority }}'
- - name: Conditions
+ - name: domain_name_arn
+ value: '{{ domain_name_arn }}'
+ - name: priority
+ value: '{{ priority }}'
+ - name: conditions
value:
- - MatchHeaders:
- AnyOf:
- - Header: '{{ Header }}'
- ValueGlob: '{{ ValueGlob }}'
- MatchBasePaths:
- AnyOf:
- - '{{ AnyOf[0] }}'
- - name: Actions
+ - match_headers:
+ any_of:
+ - header: '{{ header }}'
+ value_glob: '{{ value_glob }}'
+ match_base_paths:
+ any_of:
+ - '{{ any_of[0] }}'
+ - name: actions
value:
- - InvokeApi:
- ApiId: '{{ ApiId }}'
- Stage: '{{ Stage }}'
- StripBasePath: '{{ StripBasePath }}'
-
+ - invoke_api:
+ api_id: '{{ api_id }}'
+ stage: '{{ stage }}'
+ strip_base_path: '{{ strip_base_path }}'
```
@@ -343,7 +342,7 @@ SET PatchDocument = string('{{ {
"Actions": actions
} | generate_patch_document }}')
WHERE region = '{{ region }}'
-AND Identifier = '';
+AND Identifier = '{{ routing_rule_arn }}';
```
@@ -352,7 +351,7 @@ AND Identifier = '