tencentcloud-sdk-nodejs-oceanus 4.0.706 → 4.0.708

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -448,6 +448,26 @@ export interface DescribeJobSavepointRequest {
448
448
  */
449
449
  WorkSpaceId?: string;
450
450
  }
451
+ /**
452
+ * Sql Gateway返回Column类型
453
+ */
454
+ export interface ResultColumn {
455
+ /**
456
+ * 名称
457
+ 注意:此字段可能返回 null,表示取不到有效值。
458
+ */
459
+ Name?: string;
460
+ /**
461
+ * 本地类型描述
462
+ 注意:此字段可能返回 null,表示取不到有效值。
463
+ */
464
+ LogicalType?: LogicalType;
465
+ /**
466
+ * 备注
467
+ 注意:此字段可能返回 null,表示取不到有效值。
468
+ */
469
+ Comment?: string;
470
+ }
451
471
  /**
452
472
  * 资源详细描述
453
473
  */
@@ -600,6 +620,26 @@ export interface ResourceRefJobInfo {
600
620
  */
601
621
  ResourceVersion: number;
602
622
  }
623
+ /**
624
+ * SqlGateway返回LogicalType类型
625
+ */
626
+ export interface LogicalType {
627
+ /**
628
+ * 类型
629
+ 注意:此字段可能返回 null,表示取不到有效值。
630
+ */
631
+ Type?: string;
632
+ /**
633
+ * 是否允许为空
634
+ 注意:此字段可能返回 null,表示取不到有效值。
635
+ */
636
+ NullAble?: boolean;
637
+ /**
638
+ * 长度
639
+ 注意:此字段可能返回 null,表示取不到有效值。
640
+ */
641
+ Length?: number;
642
+ }
603
643
  /**
604
644
  * DescribeTreeResources请求参数结构体
605
645
  */
@@ -813,6 +853,26 @@ export interface DeleteTableConfigRequest {
813
853
  */
814
854
  WorkSpaceId?: string;
815
855
  }
856
+ /**
857
+ * Sql Gateway 返回Result结构类型
858
+ */
859
+ export interface StatementResult {
860
+ /**
861
+ * 返回结果列
862
+ 注意:此字段可能返回 null,表示取不到有效值。
863
+ */
864
+ Columns?: Array<ResultColumn>;
865
+ /**
866
+ * 格式
867
+ 注意:此字段可能返回 null,表示取不到有效值。
868
+ */
869
+ RowFormat?: string;
870
+ /**
871
+ * 结果值
872
+ 注意:此字段可能返回 null,表示取不到有效值。
873
+ */
874
+ Data?: Array<ResultData>;
875
+ }
816
876
  /**
817
877
  * DeleteResources返回参数结构体
818
878
  */
@@ -832,21 +892,29 @@ export interface ModifyJobResponse {
832
892
  RequestId?: string;
833
893
  }
834
894
  /**
835
- * CheckSavepoint返回参数结构体
895
+ * SlotSharingGroup的规格描述
836
896
  */
837
- export interface CheckSavepointResponse {
897
+ export interface SlotSharingGroupSpec {
838
898
  /**
839
- * 资源 id
899
+ * 适用的cpu
900
+ 注意:此字段可能返回 null,表示取不到有效值。
840
901
  */
841
- SerialId: string;
902
+ CPU: number;
842
903
  /**
843
- * 1=可用,2=不可用
904
+ * 默认为b, 支持单位有 b, kb, mb, gb
905
+ 注意:此字段可能返回 null,表示取不到有效值。
844
906
  */
845
- SavepointStatus: number;
907
+ HeapMemory: string;
846
908
  /**
847
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
909
+ * 默认为b, 支持单位有 b, kb, mb, gb
910
+ 注意:此字段可能返回 null,表示取不到有效值。
848
911
  */
849
- RequestId?: string;
912
+ OffHeapMemory?: string;
913
+ /**
914
+ * 默认为b, 支持单位有 b, kb, mb, gb
915
+ 注意:此字段可能返回 null,表示取不到有效值。
916
+ */
917
+ ManagedMemory?: string;
850
918
  }
851
919
  /**
852
920
  * 标签
@@ -863,6 +931,45 @@ export interface Tag {
863
931
  */
864
932
  TagValue?: string;
865
933
  }
934
+ /**
935
+ * FetchSqlGatewayStatementResult返回参数结构体
936
+ */
937
+ export interface FetchSqlGatewayStatementResultResponse {
938
+ /**
939
+ * 错误信息
940
+ 注意:此字段可能返回 null,表示取不到有效值。
941
+ */
942
+ ErrorMessage?: Array<string>;
943
+ /**
944
+ * 返回类型
945
+ 注意:此字段可能返回 null,表示取不到有效值。
946
+ */
947
+ ResultType?: string;
948
+ /**
949
+ * 是否DQL结果
950
+ 注意:此字段可能返回 null,表示取不到有效值。
951
+ */
952
+ IsQueryResult?: boolean;
953
+ /**
954
+ * 结果类型
955
+ 注意:此字段可能返回 null,表示取不到有效值。
956
+ */
957
+ ResultKind?: string;
958
+ /**
959
+ * 结果
960
+ 注意:此字段可能返回 null,表示取不到有效值。
961
+ */
962
+ Results?: StatementResult;
963
+ /**
964
+ * 下一次请求的uri
965
+ 注意:此字段可能返回 null,表示取不到有效值。
966
+ */
967
+ NextResultUri?: string;
968
+ /**
969
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
970
+ */
971
+ RequestId?: string;
972
+ }
866
973
  /**
867
974
  * Flink Job 运行图的点信息
868
975
  */
@@ -1836,6 +1943,21 @@ export interface ModifyJobRequest {
1836
1943
  */
1837
1944
  WorkSpaceId?: string;
1838
1945
  }
1946
+ /**
1947
+ * Sql Gateway返回数据
1948
+ */
1949
+ export interface ResultData {
1950
+ /**
1951
+ * 操作类型
1952
+ 注意:此字段可能返回 null,表示取不到有效值。
1953
+ */
1954
+ Kind?: string;
1955
+ /**
1956
+ * 结果
1957
+ 注意:此字段可能返回 null,表示取不到有效值。
1958
+ */
1959
+ Fields?: Array<string>;
1960
+ }
1839
1961
  /**
1840
1962
  * DeleteResourceConfigs返回参数结构体
1841
1963
  */
@@ -2435,6 +2557,28 @@ export interface SlotSharingGroup {
2435
2557
  */
2436
2558
  Description?: string;
2437
2559
  }
2560
+ /**
2561
+ * RunSqlGatewayStatement返回参数结构体
2562
+ */
2563
+ export interface RunSqlGatewayStatementResponse {
2564
+ /**
2565
+ * 错误信息
2566
+ 注意:此字段可能返回 null,表示取不到有效值。
2567
+ */
2568
+ ErrorMessage?: Array<string>;
2569
+ /**
2570
+ * 会话id,若入参未传,则返回自动创建的会话id,若入参已经传递,则返回值与原传入值一致
2571
+ */
2572
+ SessionId?: string;
2573
+ /**
2574
+ * 返回执行id,可以根据该执行id和会话id获取执行结果
2575
+ */
2576
+ OperationHandleId?: string;
2577
+ /**
2578
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2579
+ */
2580
+ RequestId?: string;
2581
+ }
2438
2582
  /**
2439
2583
  * CreateJob请求参数结构体
2440
2584
  */
@@ -2658,29 +2802,38 @@ export interface DescribeResourcesRequest {
2658
2802
  WorkSpaceId?: string;
2659
2803
  }
2660
2804
  /**
2661
- * SlotSharingGroup的规格描述
2805
+ * RunSqlGatewayStatement请求参数结构体
2662
2806
  */
2663
- export interface SlotSharingGroupSpec {
2807
+ export interface RunSqlGatewayStatementRequest {
2664
2808
  /**
2665
- * 适用的cpu
2666
- 注意:此字段可能返回 null,表示取不到有效值。
2809
+ * 集群ID
2667
2810
  */
2668
- CPU: number;
2811
+ ClusterId: string;
2669
2812
  /**
2670
- * 默认为b, 支持单位有 b, kb, mb, gb
2671
- 注意:此字段可能返回 null,表示取不到有效值。
2813
+ * 需要执行的sql,该sql会被Sql Gateway执行,当前支持的是paimon修改需求,因此主要是DDL语句
2672
2814
  */
2673
- HeapMemory: string;
2815
+ Sql: string;
2674
2816
  /**
2675
- * 默认为b, 支持单位有 b, kb, mb, gb
2676
- 注意:此字段可能返回 null,表示取不到有效值。
2817
+ * Sql Gateway会话ID,可不填,如果不填则会自动创建一个会话ID,每个会话ID都有一个存活时间,测试环境为10分钟,线上默认是30分钟
2677
2818
  */
2678
- OffHeapMemory?: string;
2819
+ SessionId?: string;
2820
+ }
2821
+ /**
2822
+ * CheckSavepoint返回参数结构体
2823
+ */
2824
+ export interface CheckSavepointResponse {
2679
2825
  /**
2680
- * 默认为b, 支持单位有 b, kb, mb, gb
2681
- 注意:此字段可能返回 null,表示取不到有效值。
2826
+ * 资源 id
2682
2827
  */
2683
- ManagedMemory?: string;
2828
+ SerialId: string;
2829
+ /**
2830
+ * 1=可用,2=不可用
2831
+ */
2832
+ SavepointStatus: number;
2833
+ /**
2834
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2835
+ */
2836
+ RequestId?: string;
2684
2837
  }
2685
2838
  /**
2686
2839
  * DescribeJobs返回参数结构体
@@ -2804,3 +2957,24 @@ export interface DescribeJobConfigsResponse {
2804
2957
  */
2805
2958
  RequestId?: string;
2806
2959
  }
2960
+ /**
2961
+ * FetchSqlGatewayStatementResult请求参数结构体
2962
+ */
2963
+ export interface FetchSqlGatewayStatementResultRequest {
2964
+ /**
2965
+ * 集群ID
2966
+ */
2967
+ ClusterId: string;
2968
+ /**
2969
+ * Sql Gateway会话ID
2970
+ */
2971
+ SessionId?: string;
2972
+ /**
2973
+ * sql的查询id
2974
+ */
2975
+ OperationHandleId?: string;
2976
+ /**
2977
+ * 下一条结果的获取url,首次获取执行结果时可以为空,当获取下一批查询结果时需要传递
2978
+ */
2979
+ ResultUri?: string;
2980
+ }