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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions providers/src/awscc/v00.00.00000/services/accessanalyzer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -742,34 +742,34 @@ components:
config:
views:
select:
predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
predicate: sqlDialect == "sqlite3" && requiredParams == [ Identifier ]
ddl: |-
SELECT
region,
data__Identifier,
Identifier,
JSON_EXTRACT(Properties, '$.AnalyzerName') as analyzer_name,
JSON_EXTRACT(Properties, '$.ArchiveRules') as archive_rules,
JSON_EXTRACT(Properties, '$.Arn') as arn,
JSON_EXTRACT(Properties, '$.Tags') as tags,
JSON_EXTRACT(Properties, '$.Type') as type,
JSON_EXTRACT(Properties, '$.AnalyzerConfiguration') as analyzer_configuration
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AccessAnalyzer::Analyzer'
AND data__Identifier = '<Arn>'
FROM awscc.cloud_control.resource WHERE TypeName = 'AWS::AccessAnalyzer::Analyzer'
AND Identifier = '<Arn>'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
predicate: sqlDialect == "postgres" && requiredParams == [ Identifier ]
ddl: |-
SELECT
region,
data__Identifier,
Identifier,
json_extract_path_text(Properties, 'AnalyzerName') as analyzer_name,
json_extract_path_text(Properties, 'ArchiveRules') as archive_rules,
json_extract_path_text(Properties, 'Arn') as arn,
json_extract_path_text(Properties, 'Tags') as tags,
json_extract_path_text(Properties, 'Type') as type,
json_extract_path_text(Properties, 'AnalyzerConfiguration') as analyzer_configuration
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AccessAnalyzer::Analyzer'
AND data__Identifier = '<Arn>'
FROM awscc.cloud_control.resource WHERE TypeName = 'AWS::AccessAnalyzer::Analyzer'
AND Identifier = '<Arn>'
AND region = 'us-east-1'
analyzers_list_only:
name: analyzers_list_only
Expand All @@ -792,15 +792,15 @@ components:
SELECT
region,
JSON_EXTRACT(Properties, '$.Arn') as arn
FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AccessAnalyzer::Analyzer'
FROM awscc.cloud_control.resources WHERE TypeName = 'AWS::AccessAnalyzer::Analyzer'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
ddl: |-
SELECT
region,
json_extract_path_text(Properties, 'Arn') as arn
FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AccessAnalyzer::Analyzer'
FROM awscc.cloud_control.resources WHERE TypeName = 'AWS::AccessAnalyzer::Analyzer'
AND region = 'us-east-1'
paths:
/?Action=CreateResource&Version=2021-09-30:
Expand Down
68 changes: 34 additions & 34 deletions providers/src/awscc/v00.00.00000/services/acmpca.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1275,11 +1275,11 @@ components:
config:
views:
select:
predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
predicate: sqlDialect == "sqlite3" && requiredParams == [ Identifier ]
ddl: |-
SELECT
region,
data__Identifier,
Identifier,
JSON_EXTRACT(Properties, '$.ApiPassthrough') as api_passthrough,
JSON_EXTRACT(Properties, '$.CertificateAuthorityArn') as certificate_authority_arn,
JSON_EXTRACT(Properties, '$.CertificateSigningRequest') as certificate_signing_request,
Expand All @@ -1289,15 +1289,15 @@ components:
JSON_EXTRACT(Properties, '$.ValidityNotBefore') as validity_not_before,
JSON_EXTRACT(Properties, '$.Certificate') as certificate,
JSON_EXTRACT(Properties, '$.Arn') as arn
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ACMPCA::Certificate'
AND data__Identifier = '<Arn>|<CertificateAuthorityArn>'
FROM awscc.cloud_control.resource WHERE TypeName = 'AWS::ACMPCA::Certificate'
AND Identifier = '<Arn>|<CertificateAuthorityArn>'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
predicate: sqlDialect == "postgres" && requiredParams == [ Identifier ]
ddl: |-
SELECT
region,
data__Identifier,
Identifier,
json_extract_path_text(Properties, 'ApiPassthrough') as api_passthrough,
json_extract_path_text(Properties, 'CertificateAuthorityArn') as certificate_authority_arn,
json_extract_path_text(Properties, 'CertificateSigningRequest') as certificate_signing_request,
Expand All @@ -1307,8 +1307,8 @@ components:
json_extract_path_text(Properties, 'ValidityNotBefore') as validity_not_before,
json_extract_path_text(Properties, 'Certificate') as certificate,
json_extract_path_text(Properties, 'Arn') as arn
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ACMPCA::Certificate'
AND data__Identifier = '<Arn>|<CertificateAuthorityArn>'
FROM awscc.cloud_control.resource WHERE TypeName = 'AWS::ACMPCA::Certificate'
AND Identifier = '<Arn>|<CertificateAuthorityArn>'
AND region = 'us-east-1'
certificate_authorities:
name: certificate_authorities
Expand Down Expand Up @@ -1368,11 +1368,11 @@ components:
config:
views:
select:
predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
predicate: sqlDialect == "sqlite3" && requiredParams == [ Identifier ]
ddl: |-
SELECT
region,
data__Identifier,
Identifier,
JSON_EXTRACT(Properties, '$.Arn') as arn,
JSON_EXTRACT(Properties, '$.Type') as type,
JSON_EXTRACT(Properties, '$.KeyAlgorithm') as key_algorithm,
Expand All @@ -1384,15 +1384,15 @@ components:
JSON_EXTRACT(Properties, '$.CsrExtensions') as csr_extensions,
JSON_EXTRACT(Properties, '$.KeyStorageSecurityStandard') as key_storage_security_standard,
JSON_EXTRACT(Properties, '$.UsageMode') as usage_mode
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ACMPCA::CertificateAuthority'
AND data__Identifier = '<Arn>'
FROM awscc.cloud_control.resource WHERE TypeName = 'AWS::ACMPCA::CertificateAuthority'
AND Identifier = '<Arn>'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
predicate: sqlDialect == "postgres" && requiredParams == [ Identifier ]
ddl: |-
SELECT
region,
data__Identifier,
Identifier,
json_extract_path_text(Properties, 'Arn') as arn,
json_extract_path_text(Properties, 'Type') as type,
json_extract_path_text(Properties, 'KeyAlgorithm') as key_algorithm,
Expand All @@ -1404,8 +1404,8 @@ components:
json_extract_path_text(Properties, 'CsrExtensions') as csr_extensions,
json_extract_path_text(Properties, 'KeyStorageSecurityStandard') as key_storage_security_standard,
json_extract_path_text(Properties, 'UsageMode') as usage_mode
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ACMPCA::CertificateAuthority'
AND data__Identifier = '<Arn>'
FROM awscc.cloud_control.resource WHERE TypeName = 'AWS::ACMPCA::CertificateAuthority'
AND Identifier = '<Arn>'
AND region = 'us-east-1'
certificate_authorities_list_only:
name: certificate_authorities_list_only
Expand All @@ -1428,15 +1428,15 @@ components:
SELECT
region,
JSON_EXTRACT(Properties, '$.Arn') as arn
FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ACMPCA::CertificateAuthority'
FROM awscc.cloud_control.resources WHERE TypeName = 'AWS::ACMPCA::CertificateAuthority'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
ddl: |-
SELECT
region,
json_extract_path_text(Properties, 'Arn') as arn
FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::ACMPCA::CertificateAuthority'
FROM awscc.cloud_control.resources WHERE TypeName = 'AWS::ACMPCA::CertificateAuthority'
AND region = 'us-east-1'
certificate_authority_activations:
name: certificate_authority_activations
Expand Down Expand Up @@ -1496,32 +1496,32 @@ components:
config:
views:
select:
predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
predicate: sqlDialect == "sqlite3" && requiredParams == [ Identifier ]
ddl: |-
SELECT
region,
data__Identifier,
Identifier,
JSON_EXTRACT(Properties, '$.CertificateAuthorityArn') as certificate_authority_arn,
JSON_EXTRACT(Properties, '$.Certificate') as certificate,
JSON_EXTRACT(Properties, '$.CertificateChain') as certificate_chain,
JSON_EXTRACT(Properties, '$.Status') as status,
JSON_EXTRACT(Properties, '$.CompleteCertificateChain') as complete_certificate_chain
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ACMPCA::CertificateAuthorityActivation'
AND data__Identifier = '<CertificateAuthorityArn>'
FROM awscc.cloud_control.resource WHERE TypeName = 'AWS::ACMPCA::CertificateAuthorityActivation'
AND Identifier = '<CertificateAuthorityArn>'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
predicate: sqlDialect == "postgres" && requiredParams == [ Identifier ]
ddl: |-
SELECT
region,
data__Identifier,
Identifier,
json_extract_path_text(Properties, 'CertificateAuthorityArn') as certificate_authority_arn,
json_extract_path_text(Properties, 'Certificate') as certificate,
json_extract_path_text(Properties, 'CertificateChain') as certificate_chain,
json_extract_path_text(Properties, 'Status') as status,
json_extract_path_text(Properties, 'CompleteCertificateChain') as complete_certificate_chain
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ACMPCA::CertificateAuthorityActivation'
AND data__Identifier = '<CertificateAuthorityArn>'
FROM awscc.cloud_control.resource WHERE TypeName = 'AWS::ACMPCA::CertificateAuthorityActivation'
AND Identifier = '<CertificateAuthorityArn>'
AND region = 'us-east-1'
permissions:
name: permissions
Expand Down Expand Up @@ -1569,30 +1569,30 @@ components:
config:
views:
select:
predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
predicate: sqlDialect == "sqlite3" && requiredParams == [ Identifier ]
ddl: |-
SELECT
region,
data__Identifier,
Identifier,
JSON_EXTRACT(Properties, '$.Actions') as actions,
JSON_EXTRACT(Properties, '$.CertificateAuthorityArn') as certificate_authority_arn,
JSON_EXTRACT(Properties, '$.Principal') as principal,
JSON_EXTRACT(Properties, '$.SourceAccount') as source_account
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ACMPCA::Permission'
AND data__Identifier = '<CertificateAuthorityArn>|<Principal>'
FROM awscc.cloud_control.resource WHERE TypeName = 'AWS::ACMPCA::Permission'
AND Identifier = '<CertificateAuthorityArn>|<Principal>'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
predicate: sqlDialect == "postgres" && requiredParams == [ Identifier ]
ddl: |-
SELECT
region,
data__Identifier,
Identifier,
json_extract_path_text(Properties, 'Actions') as actions,
json_extract_path_text(Properties, 'CertificateAuthorityArn') as certificate_authority_arn,
json_extract_path_text(Properties, 'Principal') as principal,
json_extract_path_text(Properties, 'SourceAccount') as source_account
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::ACMPCA::Permission'
AND data__Identifier = '<CertificateAuthorityArn>|<Principal>'
FROM awscc.cloud_control.resource WHERE TypeName = 'AWS::ACMPCA::Permission'
AND Identifier = '<CertificateAuthorityArn>|<Principal>'
AND region = 'us-east-1'
paths:
/?Action=CreateResource&Version=2021-09-30:
Expand Down
20 changes: 10 additions & 10 deletions providers/src/awscc/v00.00.00000/services/aiops.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -721,11 +721,11 @@ components:
config:
views:
select:
predicate: sqlDialect == "sqlite3" && requiredParams == [ data__Identifier ]
predicate: sqlDialect == "sqlite3" && requiredParams == [ Identifier ]
ddl: |-
SELECT
region,
data__Identifier,
Identifier,
JSON_EXTRACT(Properties, '$.RoleArn') as role_arn,
JSON_EXTRACT(Properties, '$.Name') as name,
JSON_EXTRACT(Properties, '$.CreatedBy') as created_by,
Expand All @@ -741,15 +741,15 @@ components:
JSON_EXTRACT(Properties, '$.ChatbotNotificationChannels') as chatbot_notification_channels,
JSON_EXTRACT(Properties, '$.CrossAccountConfigurations') as cross_account_configurations,
JSON_EXTRACT(Properties, '$.Tags') as tags
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AIOps::InvestigationGroup'
AND data__Identifier = '<Arn>'
FROM awscc.cloud_control.resource WHERE TypeName = 'AWS::AIOps::InvestigationGroup'
AND Identifier = '<Arn>'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres" && requiredParams == [ data__Identifier ]
predicate: sqlDialect == "postgres" && requiredParams == [ Identifier ]
ddl: |-
SELECT
region,
data__Identifier,
Identifier,
json_extract_path_text(Properties, 'RoleArn') as role_arn,
json_extract_path_text(Properties, 'Name') as name,
json_extract_path_text(Properties, 'CreatedBy') as created_by,
Expand All @@ -765,8 +765,8 @@ components:
json_extract_path_text(Properties, 'ChatbotNotificationChannels') as chatbot_notification_channels,
json_extract_path_text(Properties, 'CrossAccountConfigurations') as cross_account_configurations,
json_extract_path_text(Properties, 'Tags') as tags
FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::AIOps::InvestigationGroup'
AND data__Identifier = '<Arn>'
FROM awscc.cloud_control.resource WHERE TypeName = 'AWS::AIOps::InvestigationGroup'
AND Identifier = '<Arn>'
AND region = 'us-east-1'
investigation_groups_list_only:
name: investigation_groups_list_only
Expand All @@ -789,15 +789,15 @@ components:
SELECT
region,
JSON_EXTRACT(Properties, '$.Arn') as arn
FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AIOps::InvestigationGroup'
FROM awscc.cloud_control.resources WHERE TypeName = 'AWS::AIOps::InvestigationGroup'
AND region = 'us-east-1'
fallback:
predicate: sqlDialect == "postgres"
ddl: |-
SELECT
region,
json_extract_path_text(Properties, 'Arn') as arn
FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::AIOps::InvestigationGroup'
FROM awscc.cloud_control.resources WHERE TypeName = 'AWS::AIOps::InvestigationGroup'
AND region = 'us-east-1'
paths:
/?Action=CreateResource&Version=2021-09-30:
Expand Down
Loading
Loading