-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathcloudquery.sql
24193 lines (18773 loc) · 664 KB
/
cloudquery.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
--
-- PostgreSQL database dump
--
-- Dumped from database version 15.2
-- Dumped by pg_dump version 15.2
SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET xmloption = content;
SET client_min_messages = warning;
SET row_security = off;
SET default_tablespace = '';
SET default_table_access_method = heap;
--
-- Name: aws_accessanalyzer_analyzer_archive_rules; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.aws_accessanalyzer_analyzer_archive_rules (
_cq_source_name text,
_cq_sync_time timestamp without time zone,
_cq_id uuid NOT NULL,
_cq_parent_id uuid,
account_id text,
region text,
analyzer_arn text,
created_at timestamp without time zone,
filter jsonb,
rule_name text,
updated_at timestamp without time zone
);
ALTER TABLE public.aws_accessanalyzer_analyzer_archive_rules OWNER TO postgres;
--
-- Name: aws_accessanalyzer_analyzer_findings; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.aws_accessanalyzer_analyzer_findings (
_cq_source_name text,
_cq_sync_time timestamp without time zone,
_cq_id uuid NOT NULL,
_cq_parent_id uuid,
account_id text,
region text,
arn text NOT NULL,
analyzer_arn text,
analyzed_at timestamp without time zone,
condition jsonb,
created_at timestamp without time zone,
id text,
resource_owner_account text,
resource_type text,
status text,
updated_at timestamp without time zone,
action text[],
error text,
is_public boolean,
principal jsonb,
resource text,
sources jsonb
);
ALTER TABLE public.aws_accessanalyzer_analyzer_findings OWNER TO postgres;
--
-- Name: aws_accessanalyzer_analyzers; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.aws_accessanalyzer_analyzers (
_cq_source_name text,
_cq_sync_time timestamp without time zone,
_cq_id uuid NOT NULL,
_cq_parent_id uuid,
account_id text,
region text,
arn text NOT NULL,
created_at timestamp without time zone,
name text,
status text,
type text,
last_resource_analyzed text,
last_resource_analyzed_at timestamp without time zone,
status_reason jsonb,
tags jsonb
);
ALTER TABLE public.aws_accessanalyzer_analyzers OWNER TO postgres;
--
-- Name: aws_account_alternate_contacts; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.aws_account_alternate_contacts (
_cq_source_name text,
_cq_sync_time timestamp without time zone,
_cq_id uuid NOT NULL,
_cq_parent_id uuid,
account_id text NOT NULL,
alternate_contact_type text NOT NULL,
email_address text,
name text,
phone_number text,
title text
);
ALTER TABLE public.aws_account_alternate_contacts OWNER TO postgres;
--
-- Name: aws_account_contacts; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.aws_account_contacts (
_cq_source_name text,
_cq_sync_time timestamp without time zone,
_cq_id uuid NOT NULL,
_cq_parent_id uuid,
account_id text NOT NULL,
address_line1 text,
city text,
country_code text,
full_name text,
phone_number text,
postal_code text,
address_line2 text,
address_line3 text,
company_name text,
district_or_county text,
state_or_region text,
website_url text
);
ALTER TABLE public.aws_account_contacts OWNER TO postgres;
--
-- Name: aws_acm_certificates; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.aws_acm_certificates (
_cq_source_name text,
_cq_sync_time timestamp without time zone,
_cq_id uuid NOT NULL,
_cq_parent_id uuid,
account_id text,
region text,
arn text NOT NULL,
tags jsonb,
certificate_authority_arn text,
created_at timestamp without time zone,
domain_name text,
domain_validation_options jsonb,
extended_key_usages jsonb,
failure_reason text,
imported_at timestamp without time zone,
in_use_by text[],
issued_at timestamp without time zone,
issuer text,
key_algorithm text,
key_usages jsonb,
not_after timestamp without time zone,
not_before timestamp without time zone,
options jsonb,
renewal_eligibility text,
renewal_summary jsonb,
revocation_reason text,
revoked_at timestamp without time zone,
serial text,
signature_algorithm text,
status text,
subject text,
subject_alternative_names text[],
type text
);
ALTER TABLE public.aws_acm_certificates OWNER TO postgres;
--
-- Name: aws_amp_rule_groups_namespaces; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.aws_amp_rule_groups_namespaces (
_cq_source_name text,
_cq_sync_time timestamp without time zone,
_cq_id uuid NOT NULL,
_cq_parent_id uuid,
account_id text,
region text,
workspace_arn text,
arn text NOT NULL,
created_at timestamp without time zone,
data bytea,
modified_at timestamp without time zone,
name text,
status jsonb,
tags jsonb
);
ALTER TABLE public.aws_amp_rule_groups_namespaces OWNER TO postgres;
--
-- Name: aws_amp_workspaces; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.aws_amp_workspaces (
_cq_source_name text,
_cq_sync_time timestamp without time zone,
_cq_id uuid NOT NULL,
_cq_parent_id uuid,
account_id text,
region text,
alert_manager_definition jsonb,
logging_configuration jsonb,
arn text NOT NULL,
created_at timestamp without time zone,
status jsonb,
workspace_id text,
alias text,
prometheus_endpoint text,
tags jsonb
);
ALTER TABLE public.aws_amp_workspaces OWNER TO postgres;
--
-- Name: aws_amplify_apps; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.aws_amplify_apps (
_cq_source_name text,
_cq_sync_time timestamp without time zone,
_cq_id uuid NOT NULL,
_cq_parent_id uuid,
account_id text,
region text,
arn text NOT NULL,
app_arn text,
app_id text,
create_time timestamp without time zone,
default_domain text,
description text,
enable_basic_auth boolean,
enable_branch_auto_build boolean,
environment_variables jsonb,
name text,
platform text,
repository text,
update_time timestamp without time zone,
auto_branch_creation_config jsonb,
auto_branch_creation_patterns text[],
basic_auth_credentials text,
build_spec text,
custom_headers text,
custom_rules jsonb,
enable_auto_branch_creation boolean,
enable_branch_auto_deletion boolean,
iam_service_role_arn text,
production_branch jsonb,
repository_clone_method text,
tags jsonb
);
ALTER TABLE public.aws_amplify_apps OWNER TO postgres;
--
-- Name: aws_apigateway_api_keys; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.aws_apigateway_api_keys (
_cq_source_name text,
_cq_sync_time timestamp without time zone,
_cq_id uuid NOT NULL,
_cq_parent_id uuid,
account_id text,
region text,
arn text NOT NULL,
created_date timestamp without time zone,
customer_id text,
description text,
enabled boolean,
id text,
last_updated_date timestamp without time zone,
name text,
stage_keys text[],
tags jsonb,
value text
);
ALTER TABLE public.aws_apigateway_api_keys OWNER TO postgres;
--
-- Name: aws_apigateway_client_certificates; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.aws_apigateway_client_certificates (
_cq_source_name text,
_cq_sync_time timestamp without time zone,
_cq_id uuid NOT NULL,
_cq_parent_id uuid,
account_id text,
region text,
arn text NOT NULL,
client_certificate_id text,
created_date timestamp without time zone,
description text,
expiration_date timestamp without time zone,
pem_encoded_certificate text,
tags jsonb
);
ALTER TABLE public.aws_apigateway_client_certificates OWNER TO postgres;
--
-- Name: aws_apigateway_domain_name_base_path_mappings; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.aws_apigateway_domain_name_base_path_mappings (
_cq_source_name text,
_cq_sync_time timestamp without time zone,
_cq_id uuid NOT NULL,
_cq_parent_id uuid,
account_id text NOT NULL,
region text,
domain_name_arn text,
arn text NOT NULL,
base_path text,
rest_api_id text,
stage text
);
ALTER TABLE public.aws_apigateway_domain_name_base_path_mappings OWNER TO postgres;
--
-- Name: aws_apigateway_domain_names; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.aws_apigateway_domain_names (
_cq_source_name text,
_cq_sync_time timestamp without time zone,
_cq_id uuid NOT NULL,
_cq_parent_id uuid,
account_id text,
region text,
arn text NOT NULL,
certificate_arn text,
certificate_name text,
certificate_upload_date timestamp without time zone,
distribution_domain_name text,
distribution_hosted_zone_id text,
domain_name text,
domain_name_status text,
domain_name_status_message text,
endpoint_configuration jsonb,
mutual_tls_authentication jsonb,
ownership_verification_certificate_arn text,
regional_certificate_arn text,
regional_certificate_name text,
regional_domain_name text,
regional_hosted_zone_id text,
security_policy text,
tags jsonb
);
ALTER TABLE public.aws_apigateway_domain_names OWNER TO postgres;
--
-- Name: aws_apigateway_rest_api_authorizers; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.aws_apigateway_rest_api_authorizers (
_cq_source_name text,
_cq_sync_time timestamp without time zone,
_cq_id uuid NOT NULL,
_cq_parent_id uuid,
account_id text NOT NULL,
region text,
rest_api_arn text,
arn text NOT NULL,
auth_type text,
authorizer_credentials text,
authorizer_result_ttl_in_seconds bigint,
authorizer_uri text,
id text,
identity_source text,
identity_validation_expression text,
name text,
provider_ar_ns text[],
type text
);
ALTER TABLE public.aws_apigateway_rest_api_authorizers OWNER TO postgres;
--
-- Name: aws_apigateway_rest_api_deployments; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.aws_apigateway_rest_api_deployments (
_cq_source_name text,
_cq_sync_time timestamp without time zone,
_cq_id uuid NOT NULL,
_cq_parent_id uuid,
account_id text NOT NULL,
region text,
rest_api_arn text,
arn text NOT NULL,
api_summary jsonb,
created_date timestamp without time zone,
description text,
id text
);
ALTER TABLE public.aws_apigateway_rest_api_deployments OWNER TO postgres;
--
-- Name: aws_apigateway_rest_api_documentation_parts; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.aws_apigateway_rest_api_documentation_parts (
_cq_source_name text,
_cq_sync_time timestamp without time zone,
_cq_id uuid NOT NULL,
_cq_parent_id uuid,
account_id text NOT NULL,
region text,
rest_api_arn text,
arn text NOT NULL,
id text,
location jsonb,
properties text
);
ALTER TABLE public.aws_apigateway_rest_api_documentation_parts OWNER TO postgres;
--
-- Name: aws_apigateway_rest_api_documentation_versions; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.aws_apigateway_rest_api_documentation_versions (
_cq_source_name text,
_cq_sync_time timestamp without time zone,
_cq_id uuid NOT NULL,
_cq_parent_id uuid,
account_id text NOT NULL,
region text,
rest_api_arn text,
arn text NOT NULL,
created_date timestamp without time zone,
description text,
version text
);
ALTER TABLE public.aws_apigateway_rest_api_documentation_versions OWNER TO postgres;
--
-- Name: aws_apigateway_rest_api_gateway_responses; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.aws_apigateway_rest_api_gateway_responses (
_cq_source_name text,
_cq_sync_time timestamp without time zone,
_cq_id uuid NOT NULL,
_cq_parent_id uuid,
account_id text NOT NULL,
region text,
rest_api_arn text,
arn text NOT NULL,
default_response boolean,
response_parameters jsonb,
response_templates jsonb,
response_type text,
status_code text
);
ALTER TABLE public.aws_apigateway_rest_api_gateway_responses OWNER TO postgres;
--
-- Name: aws_apigateway_rest_api_models; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.aws_apigateway_rest_api_models (
_cq_source_name text,
_cq_sync_time timestamp without time zone,
_cq_id uuid NOT NULL,
_cq_parent_id uuid,
account_id text NOT NULL,
region text,
rest_api_arn text,
arn text NOT NULL,
model_template text,
content_type text,
description text,
id text,
name text,
schema text
);
ALTER TABLE public.aws_apigateway_rest_api_models OWNER TO postgres;
--
-- Name: aws_apigateway_rest_api_request_validators; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.aws_apigateway_rest_api_request_validators (
_cq_source_name text,
_cq_sync_time timestamp without time zone,
_cq_id uuid NOT NULL,
_cq_parent_id uuid,
account_id text NOT NULL,
region text,
rest_api_arn text,
arn text NOT NULL,
id text,
name text,
validate_request_body boolean,
validate_request_parameters boolean
);
ALTER TABLE public.aws_apigateway_rest_api_request_validators OWNER TO postgres;
--
-- Name: aws_apigateway_rest_api_resource_method_integrations; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.aws_apigateway_rest_api_resource_method_integrations (
_cq_source_name text,
_cq_sync_time timestamp without time zone,
_cq_id uuid NOT NULL,
_cq_parent_id uuid,
account_id text NOT NULL,
region text,
rest_api_arn text,
resource_arn text,
method_arn text,
arn text NOT NULL,
cache_key_parameters text[],
cache_namespace text,
connection_id text,
connection_type text,
content_handling text,
credentials text,
http_method text,
integration_responses jsonb,
passthrough_behavior text,
request_parameters jsonb,
request_templates jsonb,
timeout_in_millis bigint,
tls_config jsonb,
type text,
uri text
);
ALTER TABLE public.aws_apigateway_rest_api_resource_method_integrations OWNER TO postgres;
--
-- Name: aws_apigateway_rest_api_resource_methods; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.aws_apigateway_rest_api_resource_methods (
_cq_source_name text,
_cq_sync_time timestamp without time zone,
_cq_id uuid NOT NULL,
_cq_parent_id uuid,
account_id text NOT NULL,
region text,
rest_api_arn text,
resource_arn text,
arn text NOT NULL,
api_key_required boolean,
authorization_scopes text[],
authorization_type text,
authorizer_id text,
http_method text,
method_integration jsonb,
method_responses jsonb,
operation_name text,
request_models jsonb,
request_parameters jsonb,
request_validator_id text
);
ALTER TABLE public.aws_apigateway_rest_api_resource_methods OWNER TO postgres;
--
-- Name: aws_apigateway_rest_api_resources; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.aws_apigateway_rest_api_resources (
_cq_source_name text,
_cq_sync_time timestamp without time zone,
_cq_id uuid NOT NULL,
_cq_parent_id uuid,
account_id text NOT NULL,
region text,
rest_api_arn text,
arn text NOT NULL,
id text,
parent_id text,
path text,
path_part text,
resource_methods jsonb
);
ALTER TABLE public.aws_apigateway_rest_api_resources OWNER TO postgres;
--
-- Name: aws_apigateway_rest_api_stages; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.aws_apigateway_rest_api_stages (
_cq_source_name text,
_cq_sync_time timestamp without time zone,
_cq_id uuid NOT NULL,
_cq_parent_id uuid,
account_id text NOT NULL,
region text,
rest_api_arn text,
arn text NOT NULL,
access_log_settings jsonb,
cache_cluster_enabled boolean,
cache_cluster_size text,
cache_cluster_status text,
canary_settings jsonb,
client_certificate_id text,
created_date timestamp without time zone,
deployment_id text,
description text,
documentation_version text,
last_updated_date timestamp without time zone,
method_settings jsonb,
stage_name text,
tags jsonb,
tracing_enabled boolean,
variables jsonb,
web_acl_arn text
);
ALTER TABLE public.aws_apigateway_rest_api_stages OWNER TO postgres;
--
-- Name: aws_apigateway_rest_apis; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.aws_apigateway_rest_apis (
_cq_source_name text,
_cq_sync_time timestamp without time zone,
_cq_id uuid NOT NULL,
_cq_parent_id uuid,
account_id text,
region text,
arn text NOT NULL,
api_key_source text,
binary_media_types text[],
created_date timestamp without time zone,
description text,
disable_execute_api_endpoint boolean,
endpoint_configuration jsonb,
id text,
minimum_compression_size bigint,
name text,
policy text,
tags jsonb,
version text,
warnings text[]
);
ALTER TABLE public.aws_apigateway_rest_apis OWNER TO postgres;
--
-- Name: aws_apigateway_usage_plan_keys; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.aws_apigateway_usage_plan_keys (
_cq_source_name text,
_cq_sync_time timestamp without time zone,
_cq_id uuid NOT NULL,
_cq_parent_id uuid,
account_id text NOT NULL,
region text,
usage_plan_arn text,
arn text NOT NULL,
id text,
name text,
type text,
value text
);
ALTER TABLE public.aws_apigateway_usage_plan_keys OWNER TO postgres;
--
-- Name: aws_apigateway_usage_plans; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.aws_apigateway_usage_plans (
_cq_source_name text,
_cq_sync_time timestamp without time zone,
_cq_id uuid NOT NULL,
_cq_parent_id uuid,
account_id text NOT NULL,
region text,
arn text NOT NULL,
api_stages jsonb,
description text,
id text,
name text,
product_code text,
quota jsonb,
tags jsonb,
throttle jsonb
);
ALTER TABLE public.aws_apigateway_usage_plans OWNER TO postgres;
--
-- Name: aws_apigateway_vpc_links; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.aws_apigateway_vpc_links (
_cq_source_name text,
_cq_sync_time timestamp without time zone,
_cq_id uuid NOT NULL,
_cq_parent_id uuid,
account_id text NOT NULL,
region text,
arn text NOT NULL,
description text,
id text,
name text,
status text,
status_message text,
tags jsonb,
target_arns text[]
);
ALTER TABLE public.aws_apigateway_vpc_links OWNER TO postgres;
--
-- Name: aws_apigatewayv2_api_authorizers; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.aws_apigatewayv2_api_authorizers (
_cq_source_name text,
_cq_sync_time timestamp without time zone,
_cq_id uuid NOT NULL,
_cq_parent_id uuid,
account_id text NOT NULL,
region text,
api_arn text,
api_id text,
arn text NOT NULL,
name text,
authorizer_credentials_arn text,
authorizer_id text,
authorizer_payload_format_version text,
authorizer_result_ttl_in_seconds bigint,
authorizer_type text,
authorizer_uri text,
enable_simple_responses boolean,
identity_source text[],
identity_validation_expression text,
jwt_configuration jsonb
);
ALTER TABLE public.aws_apigatewayv2_api_authorizers OWNER TO postgres;
--
-- Name: aws_apigatewayv2_api_deployments; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.aws_apigatewayv2_api_deployments (
_cq_source_name text,
_cq_sync_time timestamp without time zone,
_cq_id uuid NOT NULL,
_cq_parent_id uuid,
account_id text NOT NULL,
region text,
api_arn text,
api_id text,
arn text NOT NULL,
auto_deployed boolean,
created_date timestamp without time zone,
deployment_id text,
deployment_status text,
deployment_status_message text,
description text
);
ALTER TABLE public.aws_apigatewayv2_api_deployments OWNER TO postgres;
--
-- Name: aws_apigatewayv2_api_integration_responses; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.aws_apigatewayv2_api_integration_responses (
_cq_source_name text,
_cq_sync_time timestamp without time zone,
_cq_id uuid NOT NULL,
_cq_parent_id uuid,
account_id text NOT NULL,
region text,
api_integration_arn text,
integration_id text,
arn text NOT NULL,
integration_response_key text,
content_handling_strategy text,
integration_response_id text,
response_parameters jsonb,
response_templates jsonb,
template_selection_expression text
);
ALTER TABLE public.aws_apigatewayv2_api_integration_responses OWNER TO postgres;
--
-- Name: aws_apigatewayv2_api_integrations; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.aws_apigatewayv2_api_integrations (
_cq_source_name text,
_cq_sync_time timestamp without time zone,
_cq_id uuid NOT NULL,
_cq_parent_id uuid,
account_id text NOT NULL,
region text,
api_arn text,
api_id text,
arn text NOT NULL,
api_gateway_managed boolean,
connection_id text,
connection_type text,
content_handling_strategy text,
credentials_arn text,
description text,
integration_id text,
integration_method text,
integration_response_selection_expression text,
integration_subtype text,
integration_type text,
integration_uri text,
passthrough_behavior text,
payload_format_version text,
request_parameters jsonb,
request_templates jsonb,
response_parameters jsonb,
template_selection_expression text,
timeout_in_millis bigint,
tls_config jsonb
);
ALTER TABLE public.aws_apigatewayv2_api_integrations OWNER TO postgres;
--
-- Name: aws_apigatewayv2_api_models; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.aws_apigatewayv2_api_models (
_cq_source_name text,
_cq_sync_time timestamp without time zone,
_cq_id uuid NOT NULL,
_cq_parent_id uuid,
account_id text NOT NULL,
region text,
api_arn text,
api_id text,
arn text NOT NULL,
model_template text,
name text,
content_type text,
description text,
model_id text,
schema text
);
ALTER TABLE public.aws_apigatewayv2_api_models OWNER TO postgres;
--
-- Name: aws_apigatewayv2_api_route_responses; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.aws_apigatewayv2_api_route_responses (
_cq_source_name text,
_cq_sync_time timestamp without time zone,
_cq_id uuid NOT NULL,
_cq_parent_id uuid,
account_id text NOT NULL,
region text,
api_route_arn text,
route_id text,
arn text NOT NULL,
route_response_key text,
model_selection_expression text,
response_models jsonb,
response_parameters jsonb,
route_response_id text
);
ALTER TABLE public.aws_apigatewayv2_api_route_responses OWNER TO postgres;
--
-- Name: aws_apigatewayv2_api_routes; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.aws_apigatewayv2_api_routes (
_cq_source_name text,
_cq_sync_time timestamp without time zone,
_cq_id uuid NOT NULL,
_cq_parent_id uuid,
account_id text NOT NULL,
region text,
api_arn text,
api_id text,
arn text NOT NULL,
route_key text,
api_gateway_managed boolean,
api_key_required boolean,
authorization_scopes text[],
authorization_type text,
authorizer_id text,
model_selection_expression text,
operation_name text,
request_models jsonb,
request_parameters jsonb,
route_id text,
route_response_selection_expression text,
target text
);
ALTER TABLE public.aws_apigatewayv2_api_routes OWNER TO postgres;
--
-- Name: aws_apigatewayv2_api_stages; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.aws_apigatewayv2_api_stages (
_cq_source_name text,
_cq_sync_time timestamp without time zone,
_cq_id uuid NOT NULL,
_cq_parent_id uuid,
account_id text NOT NULL,
region text,
api_arn text,
api_id text,
arn text NOT NULL,
stage_name text,
access_log_settings jsonb,
api_gateway_managed boolean,
auto_deploy boolean,
client_certificate_id text,
created_date timestamp without time zone,
default_route_settings jsonb,
deployment_id text,
description text,
last_deployment_status_message text,
last_updated_date timestamp without time zone,
route_settings jsonb,
stage_variables jsonb,
tags jsonb
);