Skip to content

Commit 5b48cad

Browse files
committed
Update API CreateApsKafkaHudiJob: add request parameters DataFormatType.
1 parent a997d19 commit 5b48cad

File tree

5 files changed

+22
-2
lines changed

5 files changed

+22
-2
lines changed

adb-20211201/ChangeLog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2025-12-03 Version: 3.6.1
2+
- Update API CreateApsKafkaHudiJob: add request parameters DataFormatType.
3+
4+
15
2025-12-02 Version: 3.6.0
26
- Support API DeleteMaterializedViewRecommend.
37
- Support API DescribeMVRecommendResults.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '3.6.0'
1+
__version__ = '3.6.1'

adb-20211201/alibabacloud_adb20211201/client.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2061,6 +2061,8 @@ def create_aps_kafka_hudi_job_with_options(
20612061
body['Columns'] = request.columns_shrink
20622062
if not UtilClient.is_unset(request.dbcluster_id):
20632063
body['DBClusterId'] = request.dbcluster_id
2064+
if not UtilClient.is_unset(request.data_format_type):
2065+
body['DataFormatType'] = request.data_format_type
20642066
if not UtilClient.is_unset(request.data_output_format):
20652067
body['DataOutputFormat'] = request.data_output_format
20662068
if not UtilClient.is_unset(request.datasource_id):
@@ -2156,6 +2158,8 @@ async def create_aps_kafka_hudi_job_with_options_async(
21562158
body['Columns'] = request.columns_shrink
21572159
if not UtilClient.is_unset(request.dbcluster_id):
21582160
body['DBClusterId'] = request.dbcluster_id
2161+
if not UtilClient.is_unset(request.data_format_type):
2162+
body['DataFormatType'] = request.data_format_type
21592163
if not UtilClient.is_unset(request.data_output_format):
21602164
body['DataOutputFormat'] = request.data_output_format
21612165
if not UtilClient.is_unset(request.datasource_id):

adb-20211201/alibabacloud_adb20211201/models.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6140,6 +6140,7 @@ def __init__(
61406140
advanced_config: str = None,
61416141
columns: List[CreateApsKafkaHudiJobRequestColumns] = None,
61426142
dbcluster_id: str = None,
6143+
data_format_type: str = None,
61436144
data_output_format: str = None,
61446145
datasource_id: int = None,
61456146
db_name: str = None,
@@ -6180,6 +6181,7 @@ def __init__(
61806181
#
61816182
# This parameter is required.
61826183
self.dbcluster_id = dbcluster_id
6184+
self.data_format_type = data_format_type
61836185
# Enumeration value and description. Single: The source is a single-row JSON record. Multi: source is a JSON array. Output a single JSON record.
61846186
self.data_output_format = data_output_format
61856187
# The data source ID.
@@ -6265,6 +6267,8 @@ def to_map(self):
62656267
result['Columns'].append(k.to_map() if k else None)
62666268
if self.dbcluster_id is not None:
62676269
result['DBClusterId'] = self.dbcluster_id
6270+
if self.data_format_type is not None:
6271+
result['DataFormatType'] = self.data_format_type
62686272
if self.data_output_format is not None:
62696273
result['DataOutputFormat'] = self.data_output_format
62706274
if self.datasource_id is not None:
@@ -6328,6 +6332,8 @@ def from_map(self, m: dict = None):
63286332
self.columns.append(temp_model.from_map(k))
63296333
if m.get('DBClusterId') is not None:
63306334
self.dbcluster_id = m.get('DBClusterId')
6335+
if m.get('DataFormatType') is not None:
6336+
self.data_format_type = m.get('DataFormatType')
63316337
if m.get('DataOutputFormat') is not None:
63326338
self.data_output_format = m.get('DataOutputFormat')
63336339
if m.get('DatasourceId') is not None:
@@ -6385,6 +6391,7 @@ def __init__(
63856391
advanced_config: str = None,
63866392
columns_shrink: str = None,
63876393
dbcluster_id: str = None,
6394+
data_format_type: str = None,
63886395
data_output_format: str = None,
63896396
datasource_id: int = None,
63906397
db_name: str = None,
@@ -6425,6 +6432,7 @@ def __init__(
64256432
#
64266433
# This parameter is required.
64276434
self.dbcluster_id = dbcluster_id
6435+
self.data_format_type = data_format_type
64286436
# Enumeration value and description. Single: The source is a single-row JSON record. Multi: source is a JSON array. Output a single JSON record.
64296437
self.data_output_format = data_output_format
64306438
# The data source ID.
@@ -6505,6 +6513,8 @@ def to_map(self):
65056513
result['Columns'] = self.columns_shrink
65066514
if self.dbcluster_id is not None:
65076515
result['DBClusterId'] = self.dbcluster_id
6516+
if self.data_format_type is not None:
6517+
result['DataFormatType'] = self.data_format_type
65086518
if self.data_output_format is not None:
65096519
result['DataOutputFormat'] = self.data_output_format
65106520
if self.datasource_id is not None:
@@ -6565,6 +6575,8 @@ def from_map(self, m: dict = None):
65656575
self.columns_shrink = m.get('Columns')
65666576
if m.get('DBClusterId') is not None:
65676577
self.dbcluster_id = m.get('DBClusterId')
6578+
if m.get('DataFormatType') is not None:
6579+
self.data_format_type = m.get('DataFormatType')
65686580
if m.get('DataOutputFormat') is not None:
65696581
self.data_output_format = m.get('DataOutputFormat')
65706582
if m.get('DatasourceId') is not None:

adb-20211201/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"""
2525
setup module for alibabacloud_adb20211201.
2626
27-
Created on 02/12/2025
27+
Created on 03/12/2025
2828
2929
@author: Alibaba Cloud SDK
3030
"""

0 commit comments

Comments
 (0)