From bf567b64cfd5f6fb37684b5f2df2ca28da322c5c Mon Sep 17 00:00:00 2001 From: Jeffrey Aven Date: Thu, 7 Mar 2024 15:41:50 +1100 Subject: [PATCH] awscc update --- .github/workflows/main.yml | 5 +- .../src/awscc/v00.00.00000/provider.yaml | 1 - .../awscc/v00.00.00000/services/.gitignore | 4 + .../awscc/v00.00.00000/services/neptune.yaml | 24 +-- .../src/awscc/v00.00.00000/services/rds.yaml | 156 +++++++++--------- .../awscc/v00.00.00000/services/redshift.yaml | 4 +- 6 files changed, 98 insertions(+), 96 deletions(-) create mode 100644 providers/src/awscc/v00.00.00000/services/.gitignore diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 86f494e4..14a6dacd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -30,7 +30,7 @@ jobs: REG_DENO_DEPLOY_API_PROD: stackql-registry steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4.1.1 name: "[SETUP] checkout repo" with: fetch-depth: 0 @@ -67,7 +67,7 @@ jobs: - name: '[PACKAGE] set up golang' if: env.NUM_PROVIDERS > 0 - uses: actions/setup-go@v3 + uses: actions/setup-go@v5.0.0 with: go-version: ^1.19 check-latest: true @@ -124,7 +124,6 @@ jobs: while IFS= read -r provider do echo "testing ${provider}..." - tree $providersdir sh test-provider.sh $provider false $providersdir done < ../providers.txt diff --git a/providers/src/awscc/v00.00.00000/provider.yaml b/providers/src/awscc/v00.00.00000/provider.yaml index e5e7951d..30137766 100644 --- a/providers/src/awscc/v00.00.00000/provider.yaml +++ b/providers/src/awscc/v00.00.00000/provider.yaml @@ -1870,4 +1870,3 @@ config: type: aws_signing_v4 credentialsenvvar: AWS_SECRET_ACCESS_KEY keyIDenvvar: AWS_ACCESS_KEY_ID - \ No newline at end of file diff --git a/providers/src/awscc/v00.00.00000/services/.gitignore b/providers/src/awscc/v00.00.00000/services/.gitignore new file mode 100644 index 00000000..86d0cb27 --- /dev/null +++ b/providers/src/awscc/v00.00.00000/services/.gitignore @@ -0,0 +1,4 @@ +# Ignore everything in this directory +* +# Except this file +!.gitignore \ No newline at end of file diff --git a/providers/src/awscc/v00.00.00000/services/neptune.yaml b/providers/src/awscc/v00.00.00000/services/neptune.yaml index 6dc47847..22b3a924 100644 --- a/providers/src/awscc/v00.00.00000/services/neptune.yaml +++ b/providers/src/awscc/v00.00.00000/services/neptune.yaml @@ -285,7 +285,7 @@ components: ddl: |- SELECT region, - JSON_EXTRACT(Properties, '$.DBClusterIdentifier') as d_bcluster_identifier + JSON_EXTRACT(Properties, '$.DBClusterIdentifier') as dbcluster_identifier FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::Neptune::DBCluster' AND region = 'us-east-1' fallback: @@ -293,7 +293,7 @@ components: ddl: |- SELECT region, - json_extract_path_text(Properties, 'DBClusterIdentifier') as d_bcluster_identifier + json_extract_path_text(Properties, 'DBClusterIdentifier') as dbcluster_identifier FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::Neptune::DBCluster' AND region = 'us-east-1' db_cluster: @@ -317,11 +317,11 @@ components: JSON_EXTRACT(Properties, '$.AvailabilityZones') as availability_zones, JSON_EXTRACT(Properties, '$.BackupRetentionPeriod') as backup_retention_period, JSON_EXTRACT(Properties, '$.CopyTagsToSnapshot') as copy_tags_to_snapshot, - JSON_EXTRACT(Properties, '$.DBClusterIdentifier') as d_bcluster_identifier, - JSON_EXTRACT(Properties, '$.DBClusterParameterGroupName') as d_bcluster_parameter_group_name, - JSON_EXTRACT(Properties, '$.DBInstanceParameterGroupName') as d_binstance_parameter_group_name, - JSON_EXTRACT(Properties, '$.DBPort') as d_bport, - JSON_EXTRACT(Properties, '$.DBSubnetGroupName') as d_bsubnet_group_name, + JSON_EXTRACT(Properties, '$.DBClusterIdentifier') as dbcluster_identifier, + JSON_EXTRACT(Properties, '$.DBClusterParameterGroupName') as dbcluster_parameter_group_name, + JSON_EXTRACT(Properties, '$.DBInstanceParameterGroupName') as dbinstance_parameter_group_name, + JSON_EXTRACT(Properties, '$.DBPort') as dbport, + JSON_EXTRACT(Properties, '$.DBSubnetGroupName') as dbsubnet_group_name, JSON_EXTRACT(Properties, '$.DeletionProtection') as deletion_protection, JSON_EXTRACT(Properties, '$.EnableCloudwatchLogsExports') as enable_cloudwatch_logs_exports, JSON_EXTRACT(Properties, '$.EngineVersion') as engine_version, @@ -354,11 +354,11 @@ components: json_extract_path_text(Properties, 'AvailabilityZones') as availability_zones, json_extract_path_text(Properties, 'BackupRetentionPeriod') as backup_retention_period, json_extract_path_text(Properties, 'CopyTagsToSnapshot') as copy_tags_to_snapshot, - json_extract_path_text(Properties, 'DBClusterIdentifier') as d_bcluster_identifier, - json_extract_path_text(Properties, 'DBClusterParameterGroupName') as d_bcluster_parameter_group_name, - json_extract_path_text(Properties, 'DBInstanceParameterGroupName') as d_binstance_parameter_group_name, - json_extract_path_text(Properties, 'DBPort') as d_bport, - json_extract_path_text(Properties, 'DBSubnetGroupName') as d_bsubnet_group_name, + json_extract_path_text(Properties, 'DBClusterIdentifier') as dbcluster_identifier, + json_extract_path_text(Properties, 'DBClusterParameterGroupName') as dbcluster_parameter_group_name, + json_extract_path_text(Properties, 'DBInstanceParameterGroupName') as dbinstance_parameter_group_name, + json_extract_path_text(Properties, 'DBPort') as dbport, + json_extract_path_text(Properties, 'DBSubnetGroupName') as dbsubnet_group_name, json_extract_path_text(Properties, 'DeletionProtection') as deletion_protection, json_extract_path_text(Properties, 'EnableCloudwatchLogsExports') as enable_cloudwatch_logs_exports, json_extract_path_text(Properties, 'EngineVersion') as engine_version, diff --git a/providers/src/awscc/v00.00.00000/services/rds.yaml b/providers/src/awscc/v00.00.00000/services/rds.yaml index d8a42450..7285c85a 100644 --- a/providers/src/awscc/v00.00.00000/services/rds.yaml +++ b/providers/src/awscc/v00.00.00000/services/rds.yaml @@ -2214,7 +2214,7 @@ components: JSON_EXTRACT(Properties, '$.EngineVersion') as engine_version, JSON_EXTRACT(Properties, '$.KMSKeyId') as k_ms_key_id, JSON_EXTRACT(Properties, '$.Manifest') as manifest, - JSON_EXTRACT(Properties, '$.DBEngineVersionArn') as d_bengine_version_arn, + JSON_EXTRACT(Properties, '$.DBEngineVersionArn') as dbengine_version_arn, JSON_EXTRACT(Properties, '$.Status') as status, JSON_EXTRACT(Properties, '$.Tags') as tags FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::RDS::CustomDBEngineVersion' @@ -2232,7 +2232,7 @@ components: json_extract_path_text(Properties, 'EngineVersion') as engine_version, json_extract_path_text(Properties, 'KMSKeyId') as k_ms_key_id, json_extract_path_text(Properties, 'Manifest') as manifest, - json_extract_path_text(Properties, 'DBEngineVersionArn') as d_bengine_version_arn, + json_extract_path_text(Properties, 'DBEngineVersionArn') as dbengine_version_arn, json_extract_path_text(Properties, 'Status') as status, json_extract_path_text(Properties, 'Tags') as tags FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::RDS::CustomDBEngineVersion' @@ -2252,7 +2252,7 @@ components: ddl: |- SELECT region, - JSON_EXTRACT(Properties, '$.DBClusterIdentifier') as d_bcluster_identifier + JSON_EXTRACT(Properties, '$.DBClusterIdentifier') as dbcluster_identifier FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::RDS::DBCluster' AND region = 'us-east-1' fallback: @@ -2260,7 +2260,7 @@ components: ddl: |- SELECT region, - json_extract_path_text(Properties, 'DBClusterIdentifier') as d_bcluster_identifier + json_extract_path_text(Properties, 'DBClusterIdentifier') as dbcluster_identifier FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::RDS::DBCluster' AND region = 'us-east-1' db_cluster: @@ -2287,15 +2287,15 @@ components: JSON_EXTRACT(Properties, '$.BackupRetentionPeriod') as backup_retention_period, JSON_EXTRACT(Properties, '$.CopyTagsToSnapshot') as copy_tags_to_snapshot, JSON_EXTRACT(Properties, '$.DatabaseName') as database_name, - JSON_EXTRACT(Properties, '$.DBClusterArn') as d_bcluster_arn, - JSON_EXTRACT(Properties, '$.DBClusterInstanceClass') as d_bcluster_instance_class, - JSON_EXTRACT(Properties, '$.DBClusterResourceId') as d_bcluster_resource_id, - JSON_EXTRACT(Properties, '$.DBInstanceParameterGroupName') as d_binstance_parameter_group_name, - JSON_EXTRACT(Properties, '$.DBSystemId') as d_bsystem_id, + JSON_EXTRACT(Properties, '$.DBClusterArn') as dbcluster_arn, + JSON_EXTRACT(Properties, '$.DBClusterInstanceClass') as dbcluster_instance_class, + JSON_EXTRACT(Properties, '$.DBClusterResourceId') as dbcluster_resource_id, + JSON_EXTRACT(Properties, '$.DBInstanceParameterGroupName') as dbinstance_parameter_group_name, + JSON_EXTRACT(Properties, '$.DBSystemId') as dbsystem_id, JSON_EXTRACT(Properties, '$.GlobalClusterIdentifier') as global_cluster_identifier, - JSON_EXTRACT(Properties, '$.DBClusterIdentifier') as d_bcluster_identifier, - JSON_EXTRACT(Properties, '$.DBClusterParameterGroupName') as d_bcluster_parameter_group_name, - JSON_EXTRACT(Properties, '$.DBSubnetGroupName') as d_bsubnet_group_name, + JSON_EXTRACT(Properties, '$.DBClusterIdentifier') as dbcluster_identifier, + JSON_EXTRACT(Properties, '$.DBClusterParameterGroupName') as dbcluster_parameter_group_name, + JSON_EXTRACT(Properties, '$.DBSubnetGroupName') as dbsubnet_group_name, JSON_EXTRACT(Properties, '$.DeletionProtection') as deletion_protection, JSON_EXTRACT(Properties, '$.Domain') as domain, JSON_EXTRACT(Properties, '$.DomainIAMRoleName') as domain_ia_mrole_name, @@ -2353,15 +2353,15 @@ components: json_extract_path_text(Properties, 'BackupRetentionPeriod') as backup_retention_period, json_extract_path_text(Properties, 'CopyTagsToSnapshot') as copy_tags_to_snapshot, json_extract_path_text(Properties, 'DatabaseName') as database_name, - json_extract_path_text(Properties, 'DBClusterArn') as d_bcluster_arn, - json_extract_path_text(Properties, 'DBClusterInstanceClass') as d_bcluster_instance_class, - json_extract_path_text(Properties, 'DBClusterResourceId') as d_bcluster_resource_id, - json_extract_path_text(Properties, 'DBInstanceParameterGroupName') as d_binstance_parameter_group_name, - json_extract_path_text(Properties, 'DBSystemId') as d_bsystem_id, + json_extract_path_text(Properties, 'DBClusterArn') as dbcluster_arn, + json_extract_path_text(Properties, 'DBClusterInstanceClass') as dbcluster_instance_class, + json_extract_path_text(Properties, 'DBClusterResourceId') as dbcluster_resource_id, + json_extract_path_text(Properties, 'DBInstanceParameterGroupName') as dbinstance_parameter_group_name, + json_extract_path_text(Properties, 'DBSystemId') as dbsystem_id, json_extract_path_text(Properties, 'GlobalClusterIdentifier') as global_cluster_identifier, - json_extract_path_text(Properties, 'DBClusterIdentifier') as d_bcluster_identifier, - json_extract_path_text(Properties, 'DBClusterParameterGroupName') as d_bcluster_parameter_group_name, - json_extract_path_text(Properties, 'DBSubnetGroupName') as d_bsubnet_group_name, + json_extract_path_text(Properties, 'DBClusterIdentifier') as dbcluster_identifier, + json_extract_path_text(Properties, 'DBClusterParameterGroupName') as dbcluster_parameter_group_name, + json_extract_path_text(Properties, 'DBSubnetGroupName') as dbsubnet_group_name, json_extract_path_text(Properties, 'DeletionProtection') as deletion_protection, json_extract_path_text(Properties, 'Domain') as domain, json_extract_path_text(Properties, 'DomainIAMRoleName') as domain_ia_mrole_name, @@ -2418,7 +2418,7 @@ components: ddl: |- SELECT region, - JSON_EXTRACT(Properties, '$.DBClusterParameterGroupName') as d_bcluster_parameter_group_name + JSON_EXTRACT(Properties, '$.DBClusterParameterGroupName') as dbcluster_parameter_group_name FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::RDS::DBClusterParameterGroup' AND region = 'us-east-1' fallback: @@ -2426,7 +2426,7 @@ components: ddl: |- SELECT region, - json_extract_path_text(Properties, 'DBClusterParameterGroupName') as d_bcluster_parameter_group_name + json_extract_path_text(Properties, 'DBClusterParameterGroupName') as dbcluster_parameter_group_name FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::RDS::DBClusterParameterGroup' AND region = 'us-east-1' db_cluster_parameter_group: @@ -2446,7 +2446,7 @@ components: JSON_EXTRACT(Properties, '$.Description') as description, JSON_EXTRACT(Properties, '$.Family') as family, JSON_EXTRACT(Properties, '$.Parameters') as parameters, - JSON_EXTRACT(Properties, '$.DBClusterParameterGroupName') as d_bcluster_parameter_group_name, + JSON_EXTRACT(Properties, '$.DBClusterParameterGroupName') as dbcluster_parameter_group_name, JSON_EXTRACT(Properties, '$.Tags') as tags FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::RDS::DBClusterParameterGroup' AND data__Identifier = '' @@ -2459,7 +2459,7 @@ components: json_extract_path_text(Properties, 'Description') as description, json_extract_path_text(Properties, 'Family') as family, json_extract_path_text(Properties, 'Parameters') as parameters, - json_extract_path_text(Properties, 'DBClusterParameterGroupName') as d_bcluster_parameter_group_name, + json_extract_path_text(Properties, 'DBClusterParameterGroupName') as dbcluster_parameter_group_name, json_extract_path_text(Properties, 'Tags') as tags FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::RDS::DBClusterParameterGroup' AND data__Identifier = '' @@ -2478,7 +2478,7 @@ components: ddl: |- SELECT region, - JSON_EXTRACT(Properties, '$.DBInstanceIdentifier') as d_binstance_identifier + JSON_EXTRACT(Properties, '$.DBInstanceIdentifier') as dbinstance_identifier FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::RDS::DBInstance' AND region = 'us-east-1' fallback: @@ -2486,7 +2486,7 @@ components: ddl: |- SELECT region, - json_extract_path_text(Properties, 'DBInstanceIdentifier') as d_binstance_identifier + json_extract_path_text(Properties, 'DBInstanceIdentifier') as dbinstance_identifier FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::RDS::DBInstance' AND region = 'us-east-1' db_instance: @@ -2516,18 +2516,18 @@ components: JSON_EXTRACT(Properties, '$.CharacterSetName') as character_set_name, JSON_EXTRACT(Properties, '$.CopyTagsToSnapshot') as copy_tags_to_snapshot, JSON_EXTRACT(Properties, '$.CustomIAMInstanceProfile') as custom_ia_minstance_profile, - JSON_EXTRACT(Properties, '$.DBClusterIdentifier') as d_bcluster_identifier, - JSON_EXTRACT(Properties, '$.DBClusterSnapshotIdentifier') as d_bcluster_snapshot_identifier, - JSON_EXTRACT(Properties, '$.DBInstanceArn') as d_binstance_arn, - JSON_EXTRACT(Properties, '$.DBInstanceClass') as d_binstance_class, - JSON_EXTRACT(Properties, '$.DBInstanceIdentifier') as d_binstance_identifier, + JSON_EXTRACT(Properties, '$.DBClusterIdentifier') as dbcluster_identifier, + JSON_EXTRACT(Properties, '$.DBClusterSnapshotIdentifier') as dbcluster_snapshot_identifier, + JSON_EXTRACT(Properties, '$.DBInstanceArn') as dbinstance_arn, + JSON_EXTRACT(Properties, '$.DBInstanceClass') as dbinstance_class, + JSON_EXTRACT(Properties, '$.DBInstanceIdentifier') as dbinstance_identifier, JSON_EXTRACT(Properties, '$.DbiResourceId') as dbi_resource_id, - JSON_EXTRACT(Properties, '$.DBName') as d_bname, - JSON_EXTRACT(Properties, '$.DBParameterGroupName') as d_bparameter_group_name, - JSON_EXTRACT(Properties, '$.DBSecurityGroups') as d_bsecurity_groups, - JSON_EXTRACT(Properties, '$.DBSnapshotIdentifier') as d_bsnapshot_identifier, - JSON_EXTRACT(Properties, '$.DBSubnetGroupName') as d_bsubnet_group_name, - JSON_EXTRACT(Properties, '$.DBSystemId') as d_bsystem_id, + JSON_EXTRACT(Properties, '$.DBName') as dbname, + JSON_EXTRACT(Properties, '$.DBParameterGroupName') as dbparameter_group_name, + JSON_EXTRACT(Properties, '$.DBSecurityGroups') as dbsecurity_groups, + JSON_EXTRACT(Properties, '$.DBSnapshotIdentifier') as dbsnapshot_identifier, + JSON_EXTRACT(Properties, '$.DBSubnetGroupName') as dbsubnet_group_name, + JSON_EXTRACT(Properties, '$.DBSystemId') as dbsystem_id, JSON_EXTRACT(Properties, '$.DedicatedLogVolume') as dedicated_log_volume, JSON_EXTRACT(Properties, '$.DeleteAutomatedBackups') as delete_automated_backups, JSON_EXTRACT(Properties, '$.DeletionProtection') as deletion_protection, @@ -2603,18 +2603,18 @@ components: json_extract_path_text(Properties, 'CharacterSetName') as character_set_name, json_extract_path_text(Properties, 'CopyTagsToSnapshot') as copy_tags_to_snapshot, json_extract_path_text(Properties, 'CustomIAMInstanceProfile') as custom_ia_minstance_profile, - json_extract_path_text(Properties, 'DBClusterIdentifier') as d_bcluster_identifier, - json_extract_path_text(Properties, 'DBClusterSnapshotIdentifier') as d_bcluster_snapshot_identifier, - json_extract_path_text(Properties, 'DBInstanceArn') as d_binstance_arn, - json_extract_path_text(Properties, 'DBInstanceClass') as d_binstance_class, - json_extract_path_text(Properties, 'DBInstanceIdentifier') as d_binstance_identifier, + json_extract_path_text(Properties, 'DBClusterIdentifier') as dbcluster_identifier, + json_extract_path_text(Properties, 'DBClusterSnapshotIdentifier') as dbcluster_snapshot_identifier, + json_extract_path_text(Properties, 'DBInstanceArn') as dbinstance_arn, + json_extract_path_text(Properties, 'DBInstanceClass') as dbinstance_class, + json_extract_path_text(Properties, 'DBInstanceIdentifier') as dbinstance_identifier, json_extract_path_text(Properties, 'DbiResourceId') as dbi_resource_id, - json_extract_path_text(Properties, 'DBName') as d_bname, - json_extract_path_text(Properties, 'DBParameterGroupName') as d_bparameter_group_name, - json_extract_path_text(Properties, 'DBSecurityGroups') as d_bsecurity_groups, - json_extract_path_text(Properties, 'DBSnapshotIdentifier') as d_bsnapshot_identifier, - json_extract_path_text(Properties, 'DBSubnetGroupName') as d_bsubnet_group_name, - json_extract_path_text(Properties, 'DBSystemId') as d_bsystem_id, + json_extract_path_text(Properties, 'DBName') as dbname, + json_extract_path_text(Properties, 'DBParameterGroupName') as dbparameter_group_name, + json_extract_path_text(Properties, 'DBSecurityGroups') as dbsecurity_groups, + json_extract_path_text(Properties, 'DBSnapshotIdentifier') as dbsnapshot_identifier, + json_extract_path_text(Properties, 'DBSubnetGroupName') as dbsubnet_group_name, + json_extract_path_text(Properties, 'DBSystemId') as dbsystem_id, json_extract_path_text(Properties, 'DedicatedLogVolume') as dedicated_log_volume, json_extract_path_text(Properties, 'DeleteAutomatedBackups') as delete_automated_backups, json_extract_path_text(Properties, 'DeletionProtection') as deletion_protection, @@ -2686,7 +2686,7 @@ components: ddl: |- SELECT region, - JSON_EXTRACT(Properties, '$.DBParameterGroupName') as d_bparameter_group_name + JSON_EXTRACT(Properties, '$.DBParameterGroupName') as dbparameter_group_name FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::RDS::DBParameterGroup' AND region = 'us-east-1' fallback: @@ -2694,7 +2694,7 @@ components: ddl: |- SELECT region, - json_extract_path_text(Properties, 'DBParameterGroupName') as d_bparameter_group_name + json_extract_path_text(Properties, 'DBParameterGroupName') as dbparameter_group_name FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::RDS::DBParameterGroup' AND region = 'us-east-1' db_parameter_group: @@ -2711,7 +2711,7 @@ components: ddl: |- SELECT region, - JSON_EXTRACT(Properties, '$.DBParameterGroupName') as d_bparameter_group_name, + JSON_EXTRACT(Properties, '$.DBParameterGroupName') as dbparameter_group_name, JSON_EXTRACT(Properties, '$.Description') as description, JSON_EXTRACT(Properties, '$.Family') as family, JSON_EXTRACT(Properties, '$.Parameters') as parameters, @@ -2724,7 +2724,7 @@ components: ddl: |- SELECT region, - json_extract_path_text(Properties, 'DBParameterGroupName') as d_bparameter_group_name, + json_extract_path_text(Properties, 'DBParameterGroupName') as dbparameter_group_name, json_extract_path_text(Properties, 'Description') as description, json_extract_path_text(Properties, 'Family') as family, json_extract_path_text(Properties, 'Parameters') as parameters, @@ -2746,7 +2746,7 @@ components: ddl: |- SELECT region, - JSON_EXTRACT(Properties, '$.DBProxyName') as d_bproxy_name + JSON_EXTRACT(Properties, '$.DBProxyName') as dbproxy_name FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::RDS::DBProxy' AND region = 'us-east-1' fallback: @@ -2754,7 +2754,7 @@ components: ddl: |- SELECT region, - json_extract_path_text(Properties, 'DBProxyName') as d_bproxy_name + json_extract_path_text(Properties, 'DBProxyName') as dbproxy_name FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::RDS::DBProxy' AND region = 'us-east-1' db_proxy: @@ -2772,8 +2772,8 @@ components: SELECT region, JSON_EXTRACT(Properties, '$.Auth') as auth, - JSON_EXTRACT(Properties, '$.DBProxyArn') as d_bproxy_arn, - JSON_EXTRACT(Properties, '$.DBProxyName') as d_bproxy_name, + JSON_EXTRACT(Properties, '$.DBProxyArn') as dbproxy_arn, + JSON_EXTRACT(Properties, '$.DBProxyName') as dbproxy_name, JSON_EXTRACT(Properties, '$.DebugLogging') as debug_logging, JSON_EXTRACT(Properties, '$.Endpoint') as endpoint, JSON_EXTRACT(Properties, '$.EngineFamily') as engine_family, @@ -2793,8 +2793,8 @@ components: SELECT region, json_extract_path_text(Properties, 'Auth') as auth, - json_extract_path_text(Properties, 'DBProxyArn') as d_bproxy_arn, - json_extract_path_text(Properties, 'DBProxyName') as d_bproxy_name, + json_extract_path_text(Properties, 'DBProxyArn') as dbproxy_arn, + json_extract_path_text(Properties, 'DBProxyName') as dbproxy_name, json_extract_path_text(Properties, 'DebugLogging') as debug_logging, json_extract_path_text(Properties, 'Endpoint') as endpoint, json_extract_path_text(Properties, 'EngineFamily') as engine_family, @@ -2822,7 +2822,7 @@ components: ddl: |- SELECT region, - JSON_EXTRACT(Properties, '$.DBProxyEndpointName') as d_bproxy_endpoint_name + JSON_EXTRACT(Properties, '$.DBProxyEndpointName') as dbproxy_endpoint_name FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::RDS::DBProxyEndpoint' AND region = 'us-east-1' fallback: @@ -2830,7 +2830,7 @@ components: ddl: |- SELECT region, - json_extract_path_text(Properties, 'DBProxyEndpointName') as d_bproxy_endpoint_name + json_extract_path_text(Properties, 'DBProxyEndpointName') as dbproxy_endpoint_name FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::RDS::DBProxyEndpoint' AND region = 'us-east-1' db_proxy_endpoint: @@ -2847,9 +2847,9 @@ components: ddl: |- SELECT region, - JSON_EXTRACT(Properties, '$.DBProxyEndpointName') as d_bproxy_endpoint_name, - JSON_EXTRACT(Properties, '$.DBProxyEndpointArn') as d_bproxy_endpoint_arn, - JSON_EXTRACT(Properties, '$.DBProxyName') as d_bproxy_name, + JSON_EXTRACT(Properties, '$.DBProxyEndpointName') as dbproxy_endpoint_name, + JSON_EXTRACT(Properties, '$.DBProxyEndpointArn') as dbproxy_endpoint_arn, + JSON_EXTRACT(Properties, '$.DBProxyName') as dbproxy_name, JSON_EXTRACT(Properties, '$.VpcId') as vpc_id, JSON_EXTRACT(Properties, '$.VpcSecurityGroupIds') as vpc_security_group_ids, JSON_EXTRACT(Properties, '$.VpcSubnetIds') as vpc_subnet_ids, @@ -2865,9 +2865,9 @@ components: ddl: |- SELECT region, - json_extract_path_text(Properties, 'DBProxyEndpointName') as d_bproxy_endpoint_name, - json_extract_path_text(Properties, 'DBProxyEndpointArn') as d_bproxy_endpoint_arn, - json_extract_path_text(Properties, 'DBProxyName') as d_bproxy_name, + json_extract_path_text(Properties, 'DBProxyEndpointName') as dbproxy_endpoint_name, + json_extract_path_text(Properties, 'DBProxyEndpointArn') as dbproxy_endpoint_arn, + json_extract_path_text(Properties, 'DBProxyName') as dbproxy_name, json_extract_path_text(Properties, 'VpcId') as vpc_id, json_extract_path_text(Properties, 'VpcSecurityGroupIds') as vpc_security_group_ids, json_extract_path_text(Properties, 'VpcSubnetIds') as vpc_subnet_ids, @@ -2917,12 +2917,12 @@ components: ddl: |- SELECT region, - JSON_EXTRACT(Properties, '$.DBProxyName') as d_bproxy_name, + JSON_EXTRACT(Properties, '$.DBProxyName') as dbproxy_name, JSON_EXTRACT(Properties, '$.TargetGroupArn') as target_group_arn, JSON_EXTRACT(Properties, '$.TargetGroupName') as target_group_name, JSON_EXTRACT(Properties, '$.ConnectionPoolConfigurationInfo') as connection_pool_configuration_info, - JSON_EXTRACT(Properties, '$.DBInstanceIdentifiers') as d_binstance_identifiers, - JSON_EXTRACT(Properties, '$.DBClusterIdentifiers') as d_bcluster_identifiers + JSON_EXTRACT(Properties, '$.DBInstanceIdentifiers') as dbinstance_identifiers, + JSON_EXTRACT(Properties, '$.DBClusterIdentifiers') as dbcluster_identifiers FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::RDS::DBProxyTargetGroup' AND data__Identifier = '' AND region = 'us-east-1' @@ -2931,12 +2931,12 @@ components: ddl: |- SELECT region, - json_extract_path_text(Properties, 'DBProxyName') as d_bproxy_name, + json_extract_path_text(Properties, 'DBProxyName') as dbproxy_name, json_extract_path_text(Properties, 'TargetGroupArn') as target_group_arn, json_extract_path_text(Properties, 'TargetGroupName') as target_group_name, json_extract_path_text(Properties, 'ConnectionPoolConfigurationInfo') as connection_pool_configuration_info, - json_extract_path_text(Properties, 'DBInstanceIdentifiers') as d_binstance_identifiers, - json_extract_path_text(Properties, 'DBClusterIdentifiers') as d_bcluster_identifiers + json_extract_path_text(Properties, 'DBInstanceIdentifiers') as dbinstance_identifiers, + json_extract_path_text(Properties, 'DBClusterIdentifiers') as dbcluster_identifiers FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::RDS::DBProxyTargetGroup' AND data__Identifier = '' AND region = 'us-east-1' @@ -2954,7 +2954,7 @@ components: ddl: |- SELECT region, - JSON_EXTRACT(Properties, '$.DBSubnetGroupName') as d_bsubnet_group_name + JSON_EXTRACT(Properties, '$.DBSubnetGroupName') as dbsubnet_group_name FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::RDS::DBSubnetGroup' AND region = 'us-east-1' fallback: @@ -2962,7 +2962,7 @@ components: ddl: |- SELECT region, - json_extract_path_text(Properties, 'DBSubnetGroupName') as d_bsubnet_group_name + json_extract_path_text(Properties, 'DBSubnetGroupName') as dbsubnet_group_name FROM awscc.cloud_control.resources WHERE data__TypeName = 'AWS::RDS::DBSubnetGroup' AND region = 'us-east-1' db_subnet_group: @@ -2979,8 +2979,8 @@ components: ddl: |- SELECT region, - JSON_EXTRACT(Properties, '$.DBSubnetGroupDescription') as d_bsubnet_group_description, - JSON_EXTRACT(Properties, '$.DBSubnetGroupName') as d_bsubnet_group_name, + JSON_EXTRACT(Properties, '$.DBSubnetGroupDescription') as dbsubnet_group_description, + JSON_EXTRACT(Properties, '$.DBSubnetGroupName') as dbsubnet_group_name, JSON_EXTRACT(Properties, '$.SubnetIds') as subnet_ids, JSON_EXTRACT(Properties, '$.Tags') as tags FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::RDS::DBSubnetGroup' @@ -2991,8 +2991,8 @@ components: ddl: |- SELECT region, - json_extract_path_text(Properties, 'DBSubnetGroupDescription') as d_bsubnet_group_description, - json_extract_path_text(Properties, 'DBSubnetGroupName') as d_bsubnet_group_name, + json_extract_path_text(Properties, 'DBSubnetGroupDescription') as dbsubnet_group_description, + json_extract_path_text(Properties, 'DBSubnetGroupName') as dbsubnet_group_name, json_extract_path_text(Properties, 'SubnetIds') as subnet_ids, json_extract_path_text(Properties, 'Tags') as tags FROM awscc.cloud_control.resource WHERE data__TypeName = 'AWS::RDS::DBSubnetGroup' diff --git a/providers/src/awscc/v00.00.00000/services/redshift.yaml b/providers/src/awscc/v00.00.00000/services/redshift.yaml index cee07934..711dffdb 100644 --- a/providers/src/awscc/v00.00.00000/services/redshift.yaml +++ b/providers/src/awscc/v00.00.00000/services/redshift.yaml @@ -1095,7 +1095,7 @@ components: JSON_EXTRACT(Properties, '$.ClusterType') as cluster_type, JSON_EXTRACT(Properties, '$.ClusterVersion') as cluster_version, JSON_EXTRACT(Properties, '$.ClusterSubnetGroupName') as cluster_subnet_group_name, - JSON_EXTRACT(Properties, '$.DBName') as d_bname, + JSON_EXTRACT(Properties, '$.DBName') as dbname, JSON_EXTRACT(Properties, '$.ElasticIp') as elastic_ip, JSON_EXTRACT(Properties, '$.Encrypted') as encrypted, JSON_EXTRACT(Properties, '$.HsmClientCertificateIdentifier') as hsm_client_certificate_identifier, @@ -1158,7 +1158,7 @@ components: json_extract_path_text(Properties, 'ClusterType') as cluster_type, json_extract_path_text(Properties, 'ClusterVersion') as cluster_version, json_extract_path_text(Properties, 'ClusterSubnetGroupName') as cluster_subnet_group_name, - json_extract_path_text(Properties, 'DBName') as d_bname, + json_extract_path_text(Properties, 'DBName') as dbname, json_extract_path_text(Properties, 'ElasticIp') as elastic_ip, json_extract_path_text(Properties, 'Encrypted') as encrypted, json_extract_path_text(Properties, 'HsmClientCertificateIdentifier') as hsm_client_certificate_identifier,