alibabacloud-sls20201230 5.7.0__py3-none-any.whl → 5.7.2__py3-none-any.whl
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.
- alibabacloud_sls20201230/__init__.py +1 -1
- alibabacloud_sls20201230/client.py +164 -870
- alibabacloud_sls20201230/models.py +353 -966
- {alibabacloud_sls20201230-5.7.0.dist-info → alibabacloud_sls20201230-5.7.2.dist-info}/METADATA +2 -2
- alibabacloud_sls20201230-5.7.2.dist-info/RECORD +8 -0
- alibabacloud_sls20201230-5.7.0.dist-info/RECORD +0 -8
- {alibabacloud_sls20201230-5.7.0.dist-info → alibabacloud_sls20201230-5.7.2.dist-info}/LICENSE +0 -0
- {alibabacloud_sls20201230-5.7.0.dist-info → alibabacloud_sls20201230-5.7.2.dist-info}/WHEEL +0 -0
- {alibabacloud_sls20201230-5.7.0.dist-info → alibabacloud_sls20201230-5.7.2.dist-info}/top_level.txt +0 -0
@@ -1070,6 +1070,7 @@ class CopilotAction(TeaModel):
|
|
1070
1070
|
description: str = None,
|
1071
1071
|
name: str = None,
|
1072
1072
|
parameters: List[CopilotActionParameters] = None,
|
1073
|
+
query_max_length: int = None,
|
1073
1074
|
query_template: str = None,
|
1074
1075
|
query_template_parameters: List[CopilotActionQueryTemplateParameters] = None,
|
1075
1076
|
scene: str = None,
|
@@ -1078,6 +1079,7 @@ class CopilotAction(TeaModel):
|
|
1078
1079
|
self.description = description
|
1079
1080
|
self.name = name
|
1080
1081
|
self.parameters = parameters
|
1082
|
+
self.query_max_length = query_max_length
|
1081
1083
|
self.query_template = query_template
|
1082
1084
|
self.query_template_parameters = query_template_parameters
|
1083
1085
|
self.scene = scene
|
@@ -1108,6 +1110,8 @@ class CopilotAction(TeaModel):
|
|
1108
1110
|
if self.parameters is not None:
|
1109
1111
|
for k in self.parameters:
|
1110
1112
|
result['parameters'].append(k.to_map() if k else None)
|
1113
|
+
if self.query_max_length is not None:
|
1114
|
+
result['queryMaxLength'] = self.query_max_length
|
1111
1115
|
if self.query_template is not None:
|
1112
1116
|
result['queryTemplate'] = self.query_template
|
1113
1117
|
result['queryTemplateParameters'] = []
|
@@ -1131,6 +1135,8 @@ class CopilotAction(TeaModel):
|
|
1131
1135
|
for k in m.get('parameters'):
|
1132
1136
|
temp_model = CopilotActionParameters()
|
1133
1137
|
self.parameters.append(temp_model.from_map(k))
|
1138
|
+
if m.get('queryMaxLength') is not None:
|
1139
|
+
self.query_max_length = m.get('queryMaxLength')
|
1134
1140
|
if m.get('queryTemplate') is not None:
|
1135
1141
|
self.query_template = m.get('queryTemplate')
|
1136
1142
|
self.query_template_parameters = []
|
@@ -3213,6 +3219,7 @@ class OSSIngestionConfigurationSource(TeaModel):
|
|
3213
3219
|
restore_object_enabled: bool = None,
|
3214
3220
|
role_arn: str = None,
|
3215
3221
|
start_time: int = None,
|
3222
|
+
tag_pack_id: bool = None,
|
3216
3223
|
time_field: str = None,
|
3217
3224
|
time_format: str = None,
|
3218
3225
|
time_pattern: str = None,
|
@@ -3237,6 +3244,7 @@ class OSSIngestionConfigurationSource(TeaModel):
|
|
3237
3244
|
self.restore_object_enabled = restore_object_enabled
|
3238
3245
|
self.role_arn = role_arn
|
3239
3246
|
self.start_time = start_time
|
3247
|
+
self.tag_pack_id = tag_pack_id
|
3240
3248
|
self.time_field = time_field
|
3241
3249
|
self.time_format = time_format
|
3242
3250
|
self.time_pattern = time_pattern
|
@@ -3277,6 +3285,8 @@ class OSSIngestionConfigurationSource(TeaModel):
|
|
3277
3285
|
result['roleARN'] = self.role_arn
|
3278
3286
|
if self.start_time is not None:
|
3279
3287
|
result['startTime'] = self.start_time
|
3288
|
+
if self.tag_pack_id is not None:
|
3289
|
+
result['tagPackId'] = self.tag_pack_id
|
3280
3290
|
if self.time_field is not None:
|
3281
3291
|
result['timeField'] = self.time_field
|
3282
3292
|
if self.time_format is not None:
|
@@ -3315,6 +3325,8 @@ class OSSIngestionConfigurationSource(TeaModel):
|
|
3315
3325
|
self.role_arn = m.get('roleARN')
|
3316
3326
|
if m.get('startTime') is not None:
|
3317
3327
|
self.start_time = m.get('startTime')
|
3328
|
+
if m.get('tagPackId') is not None:
|
3329
|
+
self.tag_pack_id = m.get('tagPackId')
|
3318
3330
|
if m.get('timeField') is not None:
|
3319
3331
|
self.time_field = m.get('timeField')
|
3320
3332
|
if m.get('timeFormat') is not None:
|
@@ -5383,18 +5395,18 @@ class ConsumerGroupUpdateCheckPointResponse(TeaModel):
|
|
5383
5395
|
class CreateAgentInstanceConfigRequest(TeaModel):
|
5384
5396
|
def __init__(
|
5385
5397
|
self,
|
5398
|
+
attributes: str = None,
|
5386
5399
|
config: str = None,
|
5387
|
-
|
5388
|
-
|
5389
|
-
is_gray: bool = None,
|
5400
|
+
config_type: str = None,
|
5401
|
+
gray_configs: str = None,
|
5390
5402
|
):
|
5391
5403
|
# This parameter is required.
|
5392
|
-
self.
|
5404
|
+
self.attributes = attributes
|
5393
5405
|
# This parameter is required.
|
5394
|
-
self.
|
5406
|
+
self.config = config
|
5395
5407
|
# This parameter is required.
|
5396
|
-
self.
|
5397
|
-
self.
|
5408
|
+
self.config_type = config_type
|
5409
|
+
self.gray_configs = gray_configs
|
5398
5410
|
|
5399
5411
|
def validate(self):
|
5400
5412
|
pass
|
@@ -5405,26 +5417,26 @@ class CreateAgentInstanceConfigRequest(TeaModel):
|
|
5405
5417
|
return _map
|
5406
5418
|
|
5407
5419
|
result = dict()
|
5420
|
+
if self.attributes is not None:
|
5421
|
+
result['attributes'] = self.attributes
|
5408
5422
|
if self.config is not None:
|
5409
5423
|
result['config'] = self.config
|
5410
|
-
if self.
|
5411
|
-
result['
|
5412
|
-
if self.
|
5413
|
-
result['
|
5414
|
-
if self.is_gray is not None:
|
5415
|
-
result['isGray'] = self.is_gray
|
5424
|
+
if self.config_type is not None:
|
5425
|
+
result['configType'] = self.config_type
|
5426
|
+
if self.gray_configs is not None:
|
5427
|
+
result['grayConfigs'] = self.gray_configs
|
5416
5428
|
return result
|
5417
5429
|
|
5418
5430
|
def from_map(self, m: dict = None):
|
5419
5431
|
m = m or dict()
|
5432
|
+
if m.get('attributes') is not None:
|
5433
|
+
self.attributes = m.get('attributes')
|
5420
5434
|
if m.get('config') is not None:
|
5421
5435
|
self.config = m.get('config')
|
5422
|
-
if m.get('
|
5423
|
-
self.
|
5424
|
-
if m.get('
|
5425
|
-
self.
|
5426
|
-
if m.get('isGray') is not None:
|
5427
|
-
self.is_gray = m.get('isGray')
|
5436
|
+
if m.get('configType') is not None:
|
5437
|
+
self.config_type = m.get('configType')
|
5438
|
+
if m.get('grayConfigs') is not None:
|
5439
|
+
self.gray_configs = m.get('grayConfigs')
|
5428
5440
|
return self
|
5429
5441
|
|
5430
5442
|
|
@@ -6222,11 +6234,18 @@ class CreateETLRequest(TeaModel):
|
|
6222
6234
|
display_name: str = None,
|
6223
6235
|
name: str = None,
|
6224
6236
|
):
|
6237
|
+
# The detailed configuration of the job.
|
6238
|
+
#
|
6225
6239
|
# This parameter is required.
|
6226
6240
|
self.configuration = configuration
|
6241
|
+
# The description of the job.
|
6227
6242
|
self.description = description
|
6243
|
+
# The display name of the job.
|
6244
|
+
#
|
6228
6245
|
# This parameter is required.
|
6229
6246
|
self.display_name = display_name
|
6247
|
+
# The name of the job (unique within a project).
|
6248
|
+
#
|
6230
6249
|
# This parameter is required.
|
6231
6250
|
self.name = name
|
6232
6251
|
|
@@ -6377,10 +6396,10 @@ class CreateLogStoreRequest(TeaModel):
|
|
6377
6396
|
telemetry_type: str = None,
|
6378
6397
|
ttl: int = None,
|
6379
6398
|
):
|
6380
|
-
# Specifies whether to record the **public IP address** and **log receiving time**. Default value: false. Valid values:
|
6399
|
+
# Specifies whether to record the **public IP address** and the **log receiving time**. Default value: false. Valid values:
|
6381
6400
|
#
|
6382
|
-
# * true
|
6383
|
-
# * false
|
6401
|
+
# * true: records the public IP address and the log receiving time. If you set this parameter to true, Simple Log Service automatically adds the public IP address of the device from which the log is collected and the time when Simple Log Service receives the log to the Tag field of the collected log.
|
6402
|
+
# * false: does not record the public IP address or log receiving time.
|
6384
6403
|
self.append_meta = append_meta
|
6385
6404
|
# Specifies whether to enable automatic sharding. Valid values:
|
6386
6405
|
#
|
@@ -6394,18 +6413,18 @@ class CreateLogStoreRequest(TeaModel):
|
|
6394
6413
|
self.enable_tracking = enable_tracking
|
6395
6414
|
# The data structure of the encryption configuration. The following parameters are included: `enable`, `encrypt_type`, and `user_cmk_info`. For more information, see [EncryptConf](https://help.aliyun.com/document_detail/409461.html).
|
6396
6415
|
self.encrypt_conf = encrypt_conf
|
6397
|
-
# The retention period
|
6416
|
+
# The data retention period for the hot storage tier. Unit: days. Minimum value: 7. The value of this parameter cannot exceed the value of ttl. If you set this parameter to -1, all data is stored in the hot storage tier.
|
6398
6417
|
#
|
6399
6418
|
# After the retention period that is specified for the hot storage tier elapses, the data is moved to the Infrequent Access (IA) storage tier. For more information, see [Enable hot and cold-tiered storage for a Logstore](https://help.aliyun.com/document_detail/308645.html).
|
6400
6419
|
self.hot_ttl = hot_ttl
|
6401
|
-
# The retention period
|
6420
|
+
# The data retention period for the IA storage tier. You must set this parameter to at least 30 days. After the data retention period that you specify for the IA storage tier elapses, the data is moved to the Archive storage tier.
|
6402
6421
|
self.infrequent_access_ttl = infrequent_access_ttl
|
6403
6422
|
# The name of the Logstore. The name must meet the following requirements:
|
6404
6423
|
#
|
6405
6424
|
# * The name must be unique in a project.
|
6406
6425
|
# * The name can contain only lowercase letters, digits, hyphens (-), and underscores (_).
|
6407
|
-
# * The name must start and end with a lowercase letter or
|
6408
|
-
# * The name must be
|
6426
|
+
# * The name must start and end with a lowercase letter or digit.
|
6427
|
+
# * The name must be 3 to 63 characters in length.
|
6409
6428
|
#
|
6410
6429
|
# This parameter is required.
|
6411
6430
|
self.logstore_name = logstore_name
|
@@ -6415,8 +6434,8 @@ class CreateLogStoreRequest(TeaModel):
|
|
6415
6434
|
self.max_split_shard = max_split_shard
|
6416
6435
|
# The type of the Logstore. Simple Log Service provides two types of Logstores: Standard Logstores and Query Logstores. Valid values:
|
6417
6436
|
#
|
6418
|
-
# * **standard**: Standard Logstore. This type of Logstore supports the log analysis feature and is suitable for scenarios such as real-time monitoring and interactive analysis. You can
|
6419
|
-
# * **query**: Query Logstore. This type of Logstore supports high-performance
|
6437
|
+
# * **standard**: Standard Logstore. This type of Logstore supports the log analysis feature and is suitable for scenarios such as real-time monitoring and interactive analysis. You can use this type of Logstore to build a comprehensive observability system.
|
6438
|
+
# * **query**: Query Logstore. This type of Logstore supports high-performance query operations. The index traffic fee of a Query Logstore is approximately half that of a Standard Logstore. Query Logstores do not support SQL analysis. Query Logstores are suitable for scenarios in which the amount of data is large, the data retention period is long, or log analysis is not required. Data retention periods of weeks or months are considered long.
|
6420
6439
|
self.mode = mode
|
6421
6440
|
# IngestProcessor ID
|
6422
6441
|
self.processor_id = processor_id
|
@@ -6431,7 +6450,7 @@ class CreateLogStoreRequest(TeaModel):
|
|
6431
6450
|
# * **None** (default): log data
|
6432
6451
|
# * **Metrics**: metric data
|
6433
6452
|
self.telemetry_type = telemetry_type
|
6434
|
-
# The retention period
|
6453
|
+
# The data retention period. Unit: days. Valid values: 1 to 3650. If you set this parameter to 3650, data is permanently stored.
|
6435
6454
|
#
|
6436
6455
|
# This parameter is required.
|
6437
6456
|
self.ttl = ttl
|
@@ -7346,13 +7365,13 @@ class CreateOSSIngestionRequest(TeaModel):
|
|
7346
7365
|
name: str = None,
|
7347
7366
|
schedule: Schedule = None,
|
7348
7367
|
):
|
7349
|
-
# The
|
7368
|
+
# The configuration of the OSS data import job.
|
7350
7369
|
#
|
7351
7370
|
# This parameter is required.
|
7352
7371
|
self.configuration = configuration
|
7353
7372
|
# The description of the job.
|
7354
7373
|
self.description = description
|
7355
|
-
# The display name.
|
7374
|
+
# The display name of the job.
|
7356
7375
|
#
|
7357
7376
|
# This parameter is required.
|
7358
7377
|
self.display_name = display_name
|
@@ -7437,211 +7456,6 @@ class CreateOSSIngestionResponse(TeaModel):
|
|
7437
7456
|
return self
|
7438
7457
|
|
7439
7458
|
|
7440
|
-
class CreateOssExternalStoreRequestParameterColumns(TeaModel):
|
7441
|
-
def __init__(
|
7442
|
-
self,
|
7443
|
-
name: str = None,
|
7444
|
-
type: str = None,
|
7445
|
-
):
|
7446
|
-
# The name of the field.
|
7447
|
-
#
|
7448
|
-
# This parameter is required.
|
7449
|
-
self.name = name
|
7450
|
-
# The data type of the field.
|
7451
|
-
#
|
7452
|
-
# This parameter is required.
|
7453
|
-
self.type = type
|
7454
|
-
|
7455
|
-
def validate(self):
|
7456
|
-
pass
|
7457
|
-
|
7458
|
-
def to_map(self):
|
7459
|
-
_map = super().to_map()
|
7460
|
-
if _map is not None:
|
7461
|
-
return _map
|
7462
|
-
|
7463
|
-
result = dict()
|
7464
|
-
if self.name is not None:
|
7465
|
-
result['name'] = self.name
|
7466
|
-
if self.type is not None:
|
7467
|
-
result['type'] = self.type
|
7468
|
-
return result
|
7469
|
-
|
7470
|
-
def from_map(self, m: dict = None):
|
7471
|
-
m = m or dict()
|
7472
|
-
if m.get('name') is not None:
|
7473
|
-
self.name = m.get('name')
|
7474
|
-
if m.get('type') is not None:
|
7475
|
-
self.type = m.get('type')
|
7476
|
-
return self
|
7477
|
-
|
7478
|
-
|
7479
|
-
class CreateOssExternalStoreRequestParameter(TeaModel):
|
7480
|
-
def __init__(
|
7481
|
-
self,
|
7482
|
-
accessid: str = None,
|
7483
|
-
accesskey: str = None,
|
7484
|
-
bucket: str = None,
|
7485
|
-
columns: List[CreateOssExternalStoreRequestParameterColumns] = None,
|
7486
|
-
endpoint: str = None,
|
7487
|
-
objects: List[str] = None,
|
7488
|
-
):
|
7489
|
-
# The AccessKey ID.
|
7490
|
-
#
|
7491
|
-
# This parameter is required.
|
7492
|
-
self.accessid = accessid
|
7493
|
-
# The AccessKey secret.
|
7494
|
-
#
|
7495
|
-
# This parameter is required.
|
7496
|
-
self.accesskey = accesskey
|
7497
|
-
# The name of the OSS bucket.
|
7498
|
-
#
|
7499
|
-
# This parameter is required.
|
7500
|
-
self.bucket = bucket
|
7501
|
-
# The associated fields.
|
7502
|
-
#
|
7503
|
-
# This parameter is required.
|
7504
|
-
self.columns = columns
|
7505
|
-
# The OSS endpoint. For more information, see [Regions and endpoints](https://help.aliyun.com/document_detail/31837.html).
|
7506
|
-
#
|
7507
|
-
# This parameter is required.
|
7508
|
-
self.endpoint = endpoint
|
7509
|
-
# The associated OSS objects. Valid values of n: 1 to 100.
|
7510
|
-
#
|
7511
|
-
# This parameter is required.
|
7512
|
-
self.objects = objects
|
7513
|
-
|
7514
|
-
def validate(self):
|
7515
|
-
if self.columns:
|
7516
|
-
for k in self.columns:
|
7517
|
-
if k:
|
7518
|
-
k.validate()
|
7519
|
-
|
7520
|
-
def to_map(self):
|
7521
|
-
_map = super().to_map()
|
7522
|
-
if _map is not None:
|
7523
|
-
return _map
|
7524
|
-
|
7525
|
-
result = dict()
|
7526
|
-
if self.accessid is not None:
|
7527
|
-
result['accessid'] = self.accessid
|
7528
|
-
if self.accesskey is not None:
|
7529
|
-
result['accesskey'] = self.accesskey
|
7530
|
-
if self.bucket is not None:
|
7531
|
-
result['bucket'] = self.bucket
|
7532
|
-
result['columns'] = []
|
7533
|
-
if self.columns is not None:
|
7534
|
-
for k in self.columns:
|
7535
|
-
result['columns'].append(k.to_map() if k else None)
|
7536
|
-
if self.endpoint is not None:
|
7537
|
-
result['endpoint'] = self.endpoint
|
7538
|
-
if self.objects is not None:
|
7539
|
-
result['objects'] = self.objects
|
7540
|
-
return result
|
7541
|
-
|
7542
|
-
def from_map(self, m: dict = None):
|
7543
|
-
m = m or dict()
|
7544
|
-
if m.get('accessid') is not None:
|
7545
|
-
self.accessid = m.get('accessid')
|
7546
|
-
if m.get('accesskey') is not None:
|
7547
|
-
self.accesskey = m.get('accesskey')
|
7548
|
-
if m.get('bucket') is not None:
|
7549
|
-
self.bucket = m.get('bucket')
|
7550
|
-
self.columns = []
|
7551
|
-
if m.get('columns') is not None:
|
7552
|
-
for k in m.get('columns'):
|
7553
|
-
temp_model = CreateOssExternalStoreRequestParameterColumns()
|
7554
|
-
self.columns.append(temp_model.from_map(k))
|
7555
|
-
if m.get('endpoint') is not None:
|
7556
|
-
self.endpoint = m.get('endpoint')
|
7557
|
-
if m.get('objects') is not None:
|
7558
|
-
self.objects = m.get('objects')
|
7559
|
-
return self
|
7560
|
-
|
7561
|
-
|
7562
|
-
class CreateOssExternalStoreRequest(TeaModel):
|
7563
|
-
def __init__(
|
7564
|
-
self,
|
7565
|
-
external_store_name: str = None,
|
7566
|
-
parameter: CreateOssExternalStoreRequestParameter = None,
|
7567
|
-
store_type: str = None,
|
7568
|
-
):
|
7569
|
-
# The name of the external store.
|
7570
|
-
#
|
7571
|
-
# This parameter is required.
|
7572
|
-
self.external_store_name = external_store_name
|
7573
|
-
# The parameters of the external store.
|
7574
|
-
#
|
7575
|
-
# This parameter is required.
|
7576
|
-
self.parameter = parameter
|
7577
|
-
# The type of the external store. Set the value to oss.
|
7578
|
-
#
|
7579
|
-
# This parameter is required.
|
7580
|
-
self.store_type = store_type
|
7581
|
-
|
7582
|
-
def validate(self):
|
7583
|
-
if self.parameter:
|
7584
|
-
self.parameter.validate()
|
7585
|
-
|
7586
|
-
def to_map(self):
|
7587
|
-
_map = super().to_map()
|
7588
|
-
if _map is not None:
|
7589
|
-
return _map
|
7590
|
-
|
7591
|
-
result = dict()
|
7592
|
-
if self.external_store_name is not None:
|
7593
|
-
result['externalStoreName'] = self.external_store_name
|
7594
|
-
if self.parameter is not None:
|
7595
|
-
result['parameter'] = self.parameter.to_map()
|
7596
|
-
if self.store_type is not None:
|
7597
|
-
result['storeType'] = self.store_type
|
7598
|
-
return result
|
7599
|
-
|
7600
|
-
def from_map(self, m: dict = None):
|
7601
|
-
m = m or dict()
|
7602
|
-
if m.get('externalStoreName') is not None:
|
7603
|
-
self.external_store_name = m.get('externalStoreName')
|
7604
|
-
if m.get('parameter') is not None:
|
7605
|
-
temp_model = CreateOssExternalStoreRequestParameter()
|
7606
|
-
self.parameter = temp_model.from_map(m['parameter'])
|
7607
|
-
if m.get('storeType') is not None:
|
7608
|
-
self.store_type = m.get('storeType')
|
7609
|
-
return self
|
7610
|
-
|
7611
|
-
|
7612
|
-
class CreateOssExternalStoreResponse(TeaModel):
|
7613
|
-
def __init__(
|
7614
|
-
self,
|
7615
|
-
headers: Dict[str, str] = None,
|
7616
|
-
status_code: int = None,
|
7617
|
-
):
|
7618
|
-
self.headers = headers
|
7619
|
-
self.status_code = status_code
|
7620
|
-
|
7621
|
-
def validate(self):
|
7622
|
-
pass
|
7623
|
-
|
7624
|
-
def to_map(self):
|
7625
|
-
_map = super().to_map()
|
7626
|
-
if _map is not None:
|
7627
|
-
return _map
|
7628
|
-
|
7629
|
-
result = dict()
|
7630
|
-
if self.headers is not None:
|
7631
|
-
result['headers'] = self.headers
|
7632
|
-
if self.status_code is not None:
|
7633
|
-
result['statusCode'] = self.status_code
|
7634
|
-
return result
|
7635
|
-
|
7636
|
-
def from_map(self, m: dict = None):
|
7637
|
-
m = m or dict()
|
7638
|
-
if m.get('headers') is not None:
|
7639
|
-
self.headers = m.get('headers')
|
7640
|
-
if m.get('statusCode') is not None:
|
7641
|
-
self.status_code = m.get('statusCode')
|
7642
|
-
return self
|
7643
|
-
|
7644
|
-
|
7645
7459
|
class CreateProjectRequest(TeaModel):
|
7646
7460
|
def __init__(
|
7647
7461
|
self,
|
@@ -7748,49 +7562,35 @@ class CreateProjectResponse(TeaModel):
|
|
7748
7562
|
return self
|
7749
7563
|
|
7750
7564
|
|
7751
|
-
class
|
7565
|
+
class CreateSavedSearchRequest(TeaModel):
|
7752
7566
|
def __init__(
|
7753
7567
|
self,
|
7754
|
-
|
7755
|
-
|
7756
|
-
|
7757
|
-
|
7758
|
-
|
7759
|
-
region: str = None,
|
7760
|
-
table: str = None,
|
7761
|
-
username: str = None,
|
7762
|
-
vpc_id: str = None,
|
7568
|
+
display_name: str = None,
|
7569
|
+
logstore: str = None,
|
7570
|
+
savedsearch_name: str = None,
|
7571
|
+
search_query: str = None,
|
7572
|
+
topic: str = None,
|
7763
7573
|
):
|
7764
|
-
# The name
|
7765
|
-
#
|
7766
|
-
# This parameter is required.
|
7767
|
-
self.db = db
|
7768
|
-
# The internal or public endpoint of the ApsaraDB RDS for MySQL instance.
|
7769
|
-
self.host = host
|
7770
|
-
# The ID of the ApsaraDB RDS for MySQL instance.
|
7771
|
-
self.instance_id = instance_id
|
7772
|
-
# The password that is used to log on to the ApsaraDB RDS for MySQL instance.
|
7574
|
+
# The display name.
|
7773
7575
|
#
|
7774
7576
|
# This parameter is required.
|
7775
|
-
self.
|
7776
|
-
# The
|
7577
|
+
self.display_name = display_name
|
7578
|
+
# The name of the Logstore to which the saved search belongs.
|
7777
7579
|
#
|
7778
7580
|
# This parameter is required.
|
7779
|
-
self.
|
7780
|
-
# The
|
7581
|
+
self.logstore = logstore
|
7582
|
+
# The name of the saved search. The name must be 3 to 63 characters in length.
|
7781
7583
|
#
|
7782
7584
|
# This parameter is required.
|
7783
|
-
self.
|
7784
|
-
# The
|
7585
|
+
self.savedsearch_name = savedsearch_name
|
7586
|
+
# The query statement of the saved search. A query statement consists of a search statement and an analytic statement in the `Search statement|Analytic statement` format. For more information, see [Log search overview](https://help.aliyun.com/document_detail/43772.html) and [Log analysis overview](https://help.aliyun.com/document_detail/53608.html).
|
7785
7587
|
#
|
7786
7588
|
# This parameter is required.
|
7787
|
-
self.
|
7788
|
-
# The
|
7589
|
+
self.search_query = search_query
|
7590
|
+
# The topic of the logs.
|
7789
7591
|
#
|
7790
7592
|
# This parameter is required.
|
7791
|
-
self.
|
7792
|
-
# The ID of the VPC to which the ApsaraDB RDS for MySQL instance belongs.
|
7793
|
-
self.vpc_id = vpc_id
|
7593
|
+
self.topic = topic
|
7794
7594
|
|
7795
7595
|
def validate(self):
|
7796
7596
|
pass
|
@@ -7801,72 +7601,44 @@ class CreateRdsExternalStoreRequestParameter(TeaModel):
|
|
7801
7601
|
return _map
|
7802
7602
|
|
7803
7603
|
result = dict()
|
7804
|
-
if self.
|
7805
|
-
result['
|
7806
|
-
if self.
|
7807
|
-
result['
|
7808
|
-
if self.
|
7809
|
-
result['
|
7810
|
-
if self.
|
7811
|
-
result['
|
7812
|
-
if self.
|
7813
|
-
result['
|
7814
|
-
|
7815
|
-
|
7816
|
-
|
7817
|
-
|
7818
|
-
if
|
7819
|
-
|
7820
|
-
if
|
7821
|
-
|
7822
|
-
|
7823
|
-
|
7824
|
-
|
7825
|
-
|
7826
|
-
if m.get('
|
7827
|
-
self.
|
7828
|
-
if m.get('host') is not None:
|
7829
|
-
self.host = m.get('host')
|
7830
|
-
if m.get('instance-id') is not None:
|
7831
|
-
self.instance_id = m.get('instance-id')
|
7832
|
-
if m.get('password') is not None:
|
7833
|
-
self.password = m.get('password')
|
7834
|
-
if m.get('port') is not None:
|
7835
|
-
self.port = m.get('port')
|
7836
|
-
if m.get('region') is not None:
|
7837
|
-
self.region = m.get('region')
|
7838
|
-
if m.get('table') is not None:
|
7839
|
-
self.table = m.get('table')
|
7840
|
-
if m.get('username') is not None:
|
7841
|
-
self.username = m.get('username')
|
7842
|
-
if m.get('vpc-id') is not None:
|
7843
|
-
self.vpc_id = m.get('vpc-id')
|
7604
|
+
if self.display_name is not None:
|
7605
|
+
result['displayName'] = self.display_name
|
7606
|
+
if self.logstore is not None:
|
7607
|
+
result['logstore'] = self.logstore
|
7608
|
+
if self.savedsearch_name is not None:
|
7609
|
+
result['savedsearchName'] = self.savedsearch_name
|
7610
|
+
if self.search_query is not None:
|
7611
|
+
result['searchQuery'] = self.search_query
|
7612
|
+
if self.topic is not None:
|
7613
|
+
result['topic'] = self.topic
|
7614
|
+
return result
|
7615
|
+
|
7616
|
+
def from_map(self, m: dict = None):
|
7617
|
+
m = m or dict()
|
7618
|
+
if m.get('displayName') is not None:
|
7619
|
+
self.display_name = m.get('displayName')
|
7620
|
+
if m.get('logstore') is not None:
|
7621
|
+
self.logstore = m.get('logstore')
|
7622
|
+
if m.get('savedsearchName') is not None:
|
7623
|
+
self.savedsearch_name = m.get('savedsearchName')
|
7624
|
+
if m.get('searchQuery') is not None:
|
7625
|
+
self.search_query = m.get('searchQuery')
|
7626
|
+
if m.get('topic') is not None:
|
7627
|
+
self.topic = m.get('topic')
|
7844
7628
|
return self
|
7845
7629
|
|
7846
7630
|
|
7847
|
-
class
|
7631
|
+
class CreateSavedSearchResponse(TeaModel):
|
7848
7632
|
def __init__(
|
7849
7633
|
self,
|
7850
|
-
|
7851
|
-
|
7852
|
-
store_type: str = None,
|
7634
|
+
headers: Dict[str, str] = None,
|
7635
|
+
status_code: int = None,
|
7853
7636
|
):
|
7854
|
-
|
7855
|
-
|
7856
|
-
# This parameter is required.
|
7857
|
-
self.external_store_name = external_store_name
|
7858
|
-
# The parameter struct.
|
7859
|
-
#
|
7860
|
-
# This parameter is required.
|
7861
|
-
self.parameter = parameter
|
7862
|
-
# The storage type. Set the value to rds-vpc, which indicates an ApsaraDB RDS for MySQL database in a virtual private cloud (VPC).
|
7863
|
-
#
|
7864
|
-
# This parameter is required.
|
7865
|
-
self.store_type = store_type
|
7637
|
+
self.headers = headers
|
7638
|
+
self.status_code = status_code
|
7866
7639
|
|
7867
7640
|
def validate(self):
|
7868
|
-
|
7869
|
-
self.parameter.validate()
|
7641
|
+
pass
|
7870
7642
|
|
7871
7643
|
def to_map(self):
|
7872
7644
|
_map = super().to_map()
|
@@ -7874,147 +7646,10 @@ class CreateRdsExternalStoreRequest(TeaModel):
|
|
7874
7646
|
return _map
|
7875
7647
|
|
7876
7648
|
result = dict()
|
7877
|
-
if self.
|
7878
|
-
result['
|
7879
|
-
if self.
|
7880
|
-
result['
|
7881
|
-
if self.store_type is not None:
|
7882
|
-
result['storeType'] = self.store_type
|
7883
|
-
return result
|
7884
|
-
|
7885
|
-
def from_map(self, m: dict = None):
|
7886
|
-
m = m or dict()
|
7887
|
-
if m.get('externalStoreName') is not None:
|
7888
|
-
self.external_store_name = m.get('externalStoreName')
|
7889
|
-
if m.get('parameter') is not None:
|
7890
|
-
temp_model = CreateRdsExternalStoreRequestParameter()
|
7891
|
-
self.parameter = temp_model.from_map(m['parameter'])
|
7892
|
-
if m.get('storeType') is not None:
|
7893
|
-
self.store_type = m.get('storeType')
|
7894
|
-
return self
|
7895
|
-
|
7896
|
-
|
7897
|
-
class CreateRdsExternalStoreResponse(TeaModel):
|
7898
|
-
def __init__(
|
7899
|
-
self,
|
7900
|
-
headers: Dict[str, str] = None,
|
7901
|
-
status_code: int = None,
|
7902
|
-
):
|
7903
|
-
self.headers = headers
|
7904
|
-
self.status_code = status_code
|
7905
|
-
|
7906
|
-
def validate(self):
|
7907
|
-
pass
|
7908
|
-
|
7909
|
-
def to_map(self):
|
7910
|
-
_map = super().to_map()
|
7911
|
-
if _map is not None:
|
7912
|
-
return _map
|
7913
|
-
|
7914
|
-
result = dict()
|
7915
|
-
if self.headers is not None:
|
7916
|
-
result['headers'] = self.headers
|
7917
|
-
if self.status_code is not None:
|
7918
|
-
result['statusCode'] = self.status_code
|
7919
|
-
return result
|
7920
|
-
|
7921
|
-
def from_map(self, m: dict = None):
|
7922
|
-
m = m or dict()
|
7923
|
-
if m.get('headers') is not None:
|
7924
|
-
self.headers = m.get('headers')
|
7925
|
-
if m.get('statusCode') is not None:
|
7926
|
-
self.status_code = m.get('statusCode')
|
7927
|
-
return self
|
7928
|
-
|
7929
|
-
|
7930
|
-
class CreateSavedSearchRequest(TeaModel):
|
7931
|
-
def __init__(
|
7932
|
-
self,
|
7933
|
-
display_name: str = None,
|
7934
|
-
logstore: str = None,
|
7935
|
-
savedsearch_name: str = None,
|
7936
|
-
search_query: str = None,
|
7937
|
-
topic: str = None,
|
7938
|
-
):
|
7939
|
-
# The display name.
|
7940
|
-
#
|
7941
|
-
# This parameter is required.
|
7942
|
-
self.display_name = display_name
|
7943
|
-
# The name of the Logstore to which the saved search belongs.
|
7944
|
-
#
|
7945
|
-
# This parameter is required.
|
7946
|
-
self.logstore = logstore
|
7947
|
-
# The name of the saved search. The name must be 3 to 63 characters in length.
|
7948
|
-
#
|
7949
|
-
# This parameter is required.
|
7950
|
-
self.savedsearch_name = savedsearch_name
|
7951
|
-
# The query statement of the saved search. A query statement consists of a search statement and an analytic statement in the `Search statement|Analytic statement` format. For more information, see [Log search overview](https://help.aliyun.com/document_detail/43772.html) and [Log analysis overview](https://help.aliyun.com/document_detail/53608.html).
|
7952
|
-
#
|
7953
|
-
# This parameter is required.
|
7954
|
-
self.search_query = search_query
|
7955
|
-
# The topic of the logs.
|
7956
|
-
#
|
7957
|
-
# This parameter is required.
|
7958
|
-
self.topic = topic
|
7959
|
-
|
7960
|
-
def validate(self):
|
7961
|
-
pass
|
7962
|
-
|
7963
|
-
def to_map(self):
|
7964
|
-
_map = super().to_map()
|
7965
|
-
if _map is not None:
|
7966
|
-
return _map
|
7967
|
-
|
7968
|
-
result = dict()
|
7969
|
-
if self.display_name is not None:
|
7970
|
-
result['displayName'] = self.display_name
|
7971
|
-
if self.logstore is not None:
|
7972
|
-
result['logstore'] = self.logstore
|
7973
|
-
if self.savedsearch_name is not None:
|
7974
|
-
result['savedsearchName'] = self.savedsearch_name
|
7975
|
-
if self.search_query is not None:
|
7976
|
-
result['searchQuery'] = self.search_query
|
7977
|
-
if self.topic is not None:
|
7978
|
-
result['topic'] = self.topic
|
7979
|
-
return result
|
7980
|
-
|
7981
|
-
def from_map(self, m: dict = None):
|
7982
|
-
m = m or dict()
|
7983
|
-
if m.get('displayName') is not None:
|
7984
|
-
self.display_name = m.get('displayName')
|
7985
|
-
if m.get('logstore') is not None:
|
7986
|
-
self.logstore = m.get('logstore')
|
7987
|
-
if m.get('savedsearchName') is not None:
|
7988
|
-
self.savedsearch_name = m.get('savedsearchName')
|
7989
|
-
if m.get('searchQuery') is not None:
|
7990
|
-
self.search_query = m.get('searchQuery')
|
7991
|
-
if m.get('topic') is not None:
|
7992
|
-
self.topic = m.get('topic')
|
7993
|
-
return self
|
7994
|
-
|
7995
|
-
|
7996
|
-
class CreateSavedSearchResponse(TeaModel):
|
7997
|
-
def __init__(
|
7998
|
-
self,
|
7999
|
-
headers: Dict[str, str] = None,
|
8000
|
-
status_code: int = None,
|
8001
|
-
):
|
8002
|
-
self.headers = headers
|
8003
|
-
self.status_code = status_code
|
8004
|
-
|
8005
|
-
def validate(self):
|
8006
|
-
pass
|
8007
|
-
|
8008
|
-
def to_map(self):
|
8009
|
-
_map = super().to_map()
|
8010
|
-
if _map is not None:
|
8011
|
-
return _map
|
8012
|
-
|
8013
|
-
result = dict()
|
8014
|
-
if self.headers is not None:
|
8015
|
-
result['headers'] = self.headers
|
8016
|
-
if self.status_code is not None:
|
8017
|
-
result['statusCode'] = self.status_code
|
7649
|
+
if self.headers is not None:
|
7650
|
+
result['headers'] = self.headers
|
7651
|
+
if self.status_code is not None:
|
7652
|
+
result['statusCode'] = self.status_code
|
8018
7653
|
return result
|
8019
7654
|
|
8020
7655
|
def from_map(self, m: dict = None):
|
@@ -8394,9 +8029,10 @@ class CreateTicketResponse(TeaModel):
|
|
8394
8029
|
class DeleteAgentInstanceConfigRequest(TeaModel):
|
8395
8030
|
def __init__(
|
8396
8031
|
self,
|
8397
|
-
|
8032
|
+
attributes: str = None,
|
8398
8033
|
):
|
8399
|
-
|
8034
|
+
# This parameter is required.
|
8035
|
+
self.attributes = attributes
|
8400
8036
|
|
8401
8037
|
def validate(self):
|
8402
8038
|
pass
|
@@ -8407,14 +8043,14 @@ class DeleteAgentInstanceConfigRequest(TeaModel):
|
|
8407
8043
|
return _map
|
8408
8044
|
|
8409
8045
|
result = dict()
|
8410
|
-
if self.
|
8411
|
-
result['
|
8046
|
+
if self.attributes is not None:
|
8047
|
+
result['attributes'] = self.attributes
|
8412
8048
|
return result
|
8413
8049
|
|
8414
8050
|
def from_map(self, m: dict = None):
|
8415
8051
|
m = m or dict()
|
8416
|
-
if m.get('
|
8417
|
-
self.
|
8052
|
+
if m.get('attributes') is not None:
|
8053
|
+
self.attributes = m.get('attributes')
|
8418
8054
|
return self
|
8419
8055
|
|
8420
8056
|
|
@@ -8847,39 +8483,6 @@ class DeleteETLResponse(TeaModel):
|
|
8847
8483
|
return self
|
8848
8484
|
|
8849
8485
|
|
8850
|
-
class DeleteExternalStoreResponse(TeaModel):
|
8851
|
-
def __init__(
|
8852
|
-
self,
|
8853
|
-
headers: Dict[str, str] = None,
|
8854
|
-
status_code: int = None,
|
8855
|
-
):
|
8856
|
-
self.headers = headers
|
8857
|
-
self.status_code = status_code
|
8858
|
-
|
8859
|
-
def validate(self):
|
8860
|
-
pass
|
8861
|
-
|
8862
|
-
def to_map(self):
|
8863
|
-
_map = super().to_map()
|
8864
|
-
if _map is not None:
|
8865
|
-
return _map
|
8866
|
-
|
8867
|
-
result = dict()
|
8868
|
-
if self.headers is not None:
|
8869
|
-
result['headers'] = self.headers
|
8870
|
-
if self.status_code is not None:
|
8871
|
-
result['statusCode'] = self.status_code
|
8872
|
-
return result
|
8873
|
-
|
8874
|
-
def from_map(self, m: dict = None):
|
8875
|
-
m = m or dict()
|
8876
|
-
if m.get('headers') is not None:
|
8877
|
-
self.headers = m.get('headers')
|
8878
|
-
if m.get('statusCode') is not None:
|
8879
|
-
self.status_code = m.get('statusCode')
|
8880
|
-
return self
|
8881
|
-
|
8882
|
-
|
8883
8486
|
class DeleteIndexResponse(TeaModel):
|
8884
8487
|
def __init__(
|
8885
8488
|
self,
|
@@ -9726,21 +9329,49 @@ class EnableScheduledSQLResponse(TeaModel):
|
|
9726
9329
|
return self
|
9727
9330
|
|
9728
9331
|
|
9332
|
+
class GetAgentInstanceConfigRequest(TeaModel):
|
9333
|
+
def __init__(
|
9334
|
+
self,
|
9335
|
+
attributes: str = None,
|
9336
|
+
):
|
9337
|
+
# This parameter is required.
|
9338
|
+
self.attributes = attributes
|
9339
|
+
|
9340
|
+
def validate(self):
|
9341
|
+
pass
|
9342
|
+
|
9343
|
+
def to_map(self):
|
9344
|
+
_map = super().to_map()
|
9345
|
+
if _map is not None:
|
9346
|
+
return _map
|
9347
|
+
|
9348
|
+
result = dict()
|
9349
|
+
if self.attributes is not None:
|
9350
|
+
result['attributes'] = self.attributes
|
9351
|
+
return result
|
9352
|
+
|
9353
|
+
def from_map(self, m: dict = None):
|
9354
|
+
m = m or dict()
|
9355
|
+
if m.get('attributes') is not None:
|
9356
|
+
self.attributes = m.get('attributes')
|
9357
|
+
return self
|
9358
|
+
|
9359
|
+
|
9729
9360
|
class GetAgentInstanceConfigResponseBody(TeaModel):
|
9730
9361
|
def __init__(
|
9731
9362
|
self,
|
9363
|
+
attributes: str = None,
|
9732
9364
|
config: str = None,
|
9733
|
-
|
9734
|
-
config_name: str = None,
|
9365
|
+
config_type: str = None,
|
9735
9366
|
create_time: int = None,
|
9736
|
-
|
9367
|
+
gray_configs: List[Dict[str, str]] = None,
|
9737
9368
|
last_modify_time: int = None,
|
9738
9369
|
):
|
9370
|
+
self.attributes = attributes
|
9739
9371
|
self.config = config
|
9740
|
-
self.
|
9741
|
-
self.config_name = config_name
|
9372
|
+
self.config_type = config_type
|
9742
9373
|
self.create_time = create_time
|
9743
|
-
self.
|
9374
|
+
self.gray_configs = gray_configs
|
9744
9375
|
self.last_modify_time = last_modify_time
|
9745
9376
|
|
9746
9377
|
def validate(self):
|
@@ -9752,32 +9383,32 @@ class GetAgentInstanceConfigResponseBody(TeaModel):
|
|
9752
9383
|
return _map
|
9753
9384
|
|
9754
9385
|
result = dict()
|
9386
|
+
if self.attributes is not None:
|
9387
|
+
result['attributes'] = self.attributes
|
9755
9388
|
if self.config is not None:
|
9756
9389
|
result['config'] = self.config
|
9757
|
-
if self.
|
9758
|
-
result['
|
9759
|
-
if self.config_name is not None:
|
9760
|
-
result['configName'] = self.config_name
|
9390
|
+
if self.config_type is not None:
|
9391
|
+
result['configType'] = self.config_type
|
9761
9392
|
if self.create_time is not None:
|
9762
9393
|
result['createTime'] = self.create_time
|
9763
|
-
if self.
|
9764
|
-
result['
|
9394
|
+
if self.gray_configs is not None:
|
9395
|
+
result['grayConfigs'] = self.gray_configs
|
9765
9396
|
if self.last_modify_time is not None:
|
9766
9397
|
result['lastModifyTime'] = self.last_modify_time
|
9767
9398
|
return result
|
9768
9399
|
|
9769
9400
|
def from_map(self, m: dict = None):
|
9770
9401
|
m = m or dict()
|
9402
|
+
if m.get('attributes') is not None:
|
9403
|
+
self.attributes = m.get('attributes')
|
9771
9404
|
if m.get('config') is not None:
|
9772
9405
|
self.config = m.get('config')
|
9773
|
-
if m.get('
|
9774
|
-
self.
|
9775
|
-
if m.get('configName') is not None:
|
9776
|
-
self.config_name = m.get('configName')
|
9406
|
+
if m.get('configType') is not None:
|
9407
|
+
self.config_type = m.get('configType')
|
9777
9408
|
if m.get('createTime') is not None:
|
9778
9409
|
self.create_time = m.get('createTime')
|
9779
|
-
if m.get('
|
9780
|
-
self.
|
9410
|
+
if m.get('grayConfigs') is not None:
|
9411
|
+
self.gray_configs = m.get('grayConfigs')
|
9781
9412
|
if m.get('lastModifyTime') is not None:
|
9782
9413
|
self.last_modify_time = m.get('lastModifyTime')
|
9783
9414
|
return self
|
@@ -11425,47 +11056,6 @@ class GetETLResponse(TeaModel):
|
|
11425
11056
|
return self
|
11426
11057
|
|
11427
11058
|
|
11428
|
-
class GetExternalStoreResponse(TeaModel):
|
11429
|
-
def __init__(
|
11430
|
-
self,
|
11431
|
-
headers: Dict[str, str] = None,
|
11432
|
-
status_code: int = None,
|
11433
|
-
body: ExternalStore = None,
|
11434
|
-
):
|
11435
|
-
self.headers = headers
|
11436
|
-
self.status_code = status_code
|
11437
|
-
self.body = body
|
11438
|
-
|
11439
|
-
def validate(self):
|
11440
|
-
if self.body:
|
11441
|
-
self.body.validate()
|
11442
|
-
|
11443
|
-
def to_map(self):
|
11444
|
-
_map = super().to_map()
|
11445
|
-
if _map is not None:
|
11446
|
-
return _map
|
11447
|
-
|
11448
|
-
result = dict()
|
11449
|
-
if self.headers is not None:
|
11450
|
-
result['headers'] = self.headers
|
11451
|
-
if self.status_code is not None:
|
11452
|
-
result['statusCode'] = self.status_code
|
11453
|
-
if self.body is not None:
|
11454
|
-
result['body'] = self.body.to_map()
|
11455
|
-
return result
|
11456
|
-
|
11457
|
-
def from_map(self, m: dict = None):
|
11458
|
-
m = m or dict()
|
11459
|
-
if m.get('headers') is not None:
|
11460
|
-
self.headers = m.get('headers')
|
11461
|
-
if m.get('statusCode') is not None:
|
11462
|
-
self.status_code = m.get('statusCode')
|
11463
|
-
if m.get('body') is not None:
|
11464
|
-
temp_model = ExternalStore()
|
11465
|
-
self.body = temp_model.from_map(m['body'])
|
11466
|
-
return self
|
11467
|
-
|
11468
|
-
|
11469
11059
|
class GetHistogramsRequest(TeaModel):
|
11470
11060
|
def __init__(
|
11471
11061
|
self,
|
@@ -13803,9 +13393,13 @@ class GetStoreViewIndexResponse(TeaModel):
|
|
13803
13393
|
class ListAgentInstanceConfigsRequest(TeaModel):
|
13804
13394
|
def __init__(
|
13805
13395
|
self,
|
13396
|
+
attributes: str = None,
|
13397
|
+
config_type: str = None,
|
13806
13398
|
offset: int = None,
|
13807
13399
|
size: int = None,
|
13808
13400
|
):
|
13401
|
+
self.attributes = attributes
|
13402
|
+
self.config_type = config_type
|
13809
13403
|
self.offset = offset
|
13810
13404
|
self.size = size
|
13811
13405
|
|
@@ -13818,6 +13412,10 @@ class ListAgentInstanceConfigsRequest(TeaModel):
|
|
13818
13412
|
return _map
|
13819
13413
|
|
13820
13414
|
result = dict()
|
13415
|
+
if self.attributes is not None:
|
13416
|
+
result['attributes'] = self.attributes
|
13417
|
+
if self.config_type is not None:
|
13418
|
+
result['configType'] = self.config_type
|
13821
13419
|
if self.offset is not None:
|
13822
13420
|
result['offset'] = self.offset
|
13823
13421
|
if self.size is not None:
|
@@ -13826,6 +13424,10 @@ class ListAgentInstanceConfigsRequest(TeaModel):
|
|
13826
13424
|
|
13827
13425
|
def from_map(self, m: dict = None):
|
13828
13426
|
m = m or dict()
|
13427
|
+
if m.get('attributes') is not None:
|
13428
|
+
self.attributes = m.get('attributes')
|
13429
|
+
if m.get('configType') is not None:
|
13430
|
+
self.config_type = m.get('configType')
|
13829
13431
|
if m.get('offset') is not None:
|
13830
13432
|
self.offset = m.get('offset')
|
13831
13433
|
if m.get('size') is not None:
|
@@ -13833,10 +13435,43 @@ class ListAgentInstanceConfigsRequest(TeaModel):
|
|
13833
13435
|
return self
|
13834
13436
|
|
13835
13437
|
|
13438
|
+
class ListAgentInstanceConfigsResponseBodyConfigs(TeaModel):
|
13439
|
+
def __init__(
|
13440
|
+
self,
|
13441
|
+
attributes: str = None,
|
13442
|
+
config_type: str = None,
|
13443
|
+
):
|
13444
|
+
self.attributes = attributes
|
13445
|
+
self.config_type = config_type
|
13446
|
+
|
13447
|
+
def validate(self):
|
13448
|
+
pass
|
13449
|
+
|
13450
|
+
def to_map(self):
|
13451
|
+
_map = super().to_map()
|
13452
|
+
if _map is not None:
|
13453
|
+
return _map
|
13454
|
+
|
13455
|
+
result = dict()
|
13456
|
+
if self.attributes is not None:
|
13457
|
+
result['attributes'] = self.attributes
|
13458
|
+
if self.config_type is not None:
|
13459
|
+
result['configType'] = self.config_type
|
13460
|
+
return result
|
13461
|
+
|
13462
|
+
def from_map(self, m: dict = None):
|
13463
|
+
m = m or dict()
|
13464
|
+
if m.get('attributes') is not None:
|
13465
|
+
self.attributes = m.get('attributes')
|
13466
|
+
if m.get('configType') is not None:
|
13467
|
+
self.config_type = m.get('configType')
|
13468
|
+
return self
|
13469
|
+
|
13470
|
+
|
13836
13471
|
class ListAgentInstanceConfigsResponseBody(TeaModel):
|
13837
13472
|
def __init__(
|
13838
13473
|
self,
|
13839
|
-
configs: List[
|
13474
|
+
configs: List[ListAgentInstanceConfigsResponseBodyConfigs] = None,
|
13840
13475
|
size: int = None,
|
13841
13476
|
total: int = None,
|
13842
13477
|
):
|
@@ -13845,7 +13480,10 @@ class ListAgentInstanceConfigsResponseBody(TeaModel):
|
|
13845
13480
|
self.total = total
|
13846
13481
|
|
13847
13482
|
def validate(self):
|
13848
|
-
|
13483
|
+
if self.configs:
|
13484
|
+
for k in self.configs:
|
13485
|
+
if k:
|
13486
|
+
k.validate()
|
13849
13487
|
|
13850
13488
|
def to_map(self):
|
13851
13489
|
_map = super().to_map()
|
@@ -13853,8 +13491,10 @@ class ListAgentInstanceConfigsResponseBody(TeaModel):
|
|
13853
13491
|
return _map
|
13854
13492
|
|
13855
13493
|
result = dict()
|
13494
|
+
result['configs'] = []
|
13856
13495
|
if self.configs is not None:
|
13857
|
-
|
13496
|
+
for k in self.configs:
|
13497
|
+
result['configs'].append(k.to_map() if k else None)
|
13858
13498
|
if self.size is not None:
|
13859
13499
|
result['size'] = self.size
|
13860
13500
|
if self.total is not None:
|
@@ -13863,8 +13503,11 @@ class ListAgentInstanceConfigsResponseBody(TeaModel):
|
|
13863
13503
|
|
13864
13504
|
def from_map(self, m: dict = None):
|
13865
13505
|
m = m or dict()
|
13506
|
+
self.configs = []
|
13866
13507
|
if m.get('configs') is not None:
|
13867
|
-
|
13508
|
+
for k in m.get('configs'):
|
13509
|
+
temp_model = ListAgentInstanceConfigsResponseBodyConfigs()
|
13510
|
+
self.configs.append(temp_model.from_map(k))
|
13868
13511
|
if m.get('size') is not None:
|
13869
13512
|
self.size = m.get('size')
|
13870
13513
|
if m.get('total') is not None:
|
@@ -15235,16 +14878,116 @@ class ListConsumerGroupResponse(TeaModel):
|
|
15235
14878
|
return self
|
15236
14879
|
|
15237
14880
|
|
14881
|
+
class ListDashboardRequestTags(TeaModel):
|
14882
|
+
def __init__(
|
14883
|
+
self,
|
14884
|
+
key: str = None,
|
14885
|
+
value: str = None,
|
14886
|
+
):
|
14887
|
+
self.key = key
|
14888
|
+
self.value = value
|
14889
|
+
|
14890
|
+
def validate(self):
|
14891
|
+
pass
|
14892
|
+
|
14893
|
+
def to_map(self):
|
14894
|
+
_map = super().to_map()
|
14895
|
+
if _map is not None:
|
14896
|
+
return _map
|
14897
|
+
|
14898
|
+
result = dict()
|
14899
|
+
if self.key is not None:
|
14900
|
+
result['key'] = self.key
|
14901
|
+
if self.value is not None:
|
14902
|
+
result['value'] = self.value
|
14903
|
+
return result
|
14904
|
+
|
14905
|
+
def from_map(self, m: dict = None):
|
14906
|
+
m = m or dict()
|
14907
|
+
if m.get('key') is not None:
|
14908
|
+
self.key = m.get('key')
|
14909
|
+
if m.get('value') is not None:
|
14910
|
+
self.value = m.get('value')
|
14911
|
+
return self
|
14912
|
+
|
14913
|
+
|
15238
14914
|
class ListDashboardRequest(TeaModel):
|
15239
14915
|
def __init__(
|
15240
14916
|
self,
|
14917
|
+
dashboard_name: str = None,
|
14918
|
+
display_name: str = None,
|
15241
14919
|
offset: int = None,
|
15242
14920
|
size: int = None,
|
14921
|
+
tags: List[ListDashboardRequestTags] = None,
|
15243
14922
|
):
|
14923
|
+
self.dashboard_name = dashboard_name
|
14924
|
+
self.display_name = display_name
|
15244
14925
|
# The line from which the query starts. Default value: 0.
|
15245
14926
|
self.offset = offset
|
15246
14927
|
# The number of entries per page. Maximum value: 500. Default value: 500.
|
15247
14928
|
self.size = size
|
14929
|
+
self.tags = tags
|
14930
|
+
|
14931
|
+
def validate(self):
|
14932
|
+
if self.tags:
|
14933
|
+
for k in self.tags:
|
14934
|
+
if k:
|
14935
|
+
k.validate()
|
14936
|
+
|
14937
|
+
def to_map(self):
|
14938
|
+
_map = super().to_map()
|
14939
|
+
if _map is not None:
|
14940
|
+
return _map
|
14941
|
+
|
14942
|
+
result = dict()
|
14943
|
+
if self.dashboard_name is not None:
|
14944
|
+
result['dashboardName'] = self.dashboard_name
|
14945
|
+
if self.display_name is not None:
|
14946
|
+
result['displayName'] = self.display_name
|
14947
|
+
if self.offset is not None:
|
14948
|
+
result['offset'] = self.offset
|
14949
|
+
if self.size is not None:
|
14950
|
+
result['size'] = self.size
|
14951
|
+
result['tags'] = []
|
14952
|
+
if self.tags is not None:
|
14953
|
+
for k in self.tags:
|
14954
|
+
result['tags'].append(k.to_map() if k else None)
|
14955
|
+
return result
|
14956
|
+
|
14957
|
+
def from_map(self, m: dict = None):
|
14958
|
+
m = m or dict()
|
14959
|
+
if m.get('dashboardName') is not None:
|
14960
|
+
self.dashboard_name = m.get('dashboardName')
|
14961
|
+
if m.get('displayName') is not None:
|
14962
|
+
self.display_name = m.get('displayName')
|
14963
|
+
if m.get('offset') is not None:
|
14964
|
+
self.offset = m.get('offset')
|
14965
|
+
if m.get('size') is not None:
|
14966
|
+
self.size = m.get('size')
|
14967
|
+
self.tags = []
|
14968
|
+
if m.get('tags') is not None:
|
14969
|
+
for k in m.get('tags'):
|
14970
|
+
temp_model = ListDashboardRequestTags()
|
14971
|
+
self.tags.append(temp_model.from_map(k))
|
14972
|
+
return self
|
14973
|
+
|
14974
|
+
|
14975
|
+
class ListDashboardShrinkRequest(TeaModel):
|
14976
|
+
def __init__(
|
14977
|
+
self,
|
14978
|
+
dashboard_name: str = None,
|
14979
|
+
display_name: str = None,
|
14980
|
+
offset: int = None,
|
14981
|
+
size: int = None,
|
14982
|
+
tags_shrink: str = None,
|
14983
|
+
):
|
14984
|
+
self.dashboard_name = dashboard_name
|
14985
|
+
self.display_name = display_name
|
14986
|
+
# The line from which the query starts. Default value: 0.
|
14987
|
+
self.offset = offset
|
14988
|
+
# The number of entries per page. Maximum value: 500. Default value: 500.
|
14989
|
+
self.size = size
|
14990
|
+
self.tags_shrink = tags_shrink
|
15248
14991
|
|
15249
14992
|
def validate(self):
|
15250
14993
|
pass
|
@@ -15255,18 +14998,30 @@ class ListDashboardRequest(TeaModel):
|
|
15255
14998
|
return _map
|
15256
14999
|
|
15257
15000
|
result = dict()
|
15001
|
+
if self.dashboard_name is not None:
|
15002
|
+
result['dashboardName'] = self.dashboard_name
|
15003
|
+
if self.display_name is not None:
|
15004
|
+
result['displayName'] = self.display_name
|
15258
15005
|
if self.offset is not None:
|
15259
15006
|
result['offset'] = self.offset
|
15260
15007
|
if self.size is not None:
|
15261
15008
|
result['size'] = self.size
|
15009
|
+
if self.tags_shrink is not None:
|
15010
|
+
result['tags'] = self.tags_shrink
|
15262
15011
|
return result
|
15263
15012
|
|
15264
15013
|
def from_map(self, m: dict = None):
|
15265
15014
|
m = m or dict()
|
15015
|
+
if m.get('dashboardName') is not None:
|
15016
|
+
self.dashboard_name = m.get('dashboardName')
|
15017
|
+
if m.get('displayName') is not None:
|
15018
|
+
self.display_name = m.get('displayName')
|
15266
15019
|
if m.get('offset') is not None:
|
15267
15020
|
self.offset = m.get('offset')
|
15268
15021
|
if m.get('size') is not None:
|
15269
15022
|
self.size = m.get('size')
|
15023
|
+
if m.get('tags') is not None:
|
15024
|
+
self.tags_shrink = m.get('tags')
|
15270
15025
|
return self
|
15271
15026
|
|
15272
15027
|
|
@@ -15274,10 +15029,12 @@ class ListDashboardResponseBodyDashboardItems(TeaModel):
|
|
15274
15029
|
def __init__(
|
15275
15030
|
self,
|
15276
15031
|
dashboard_name: str = None,
|
15032
|
+
description: str = None,
|
15277
15033
|
display_name: str = None,
|
15278
15034
|
):
|
15279
15035
|
# The dashboard ID. The ID must be unique in a project. Fuzzy search is supported. For example, if you enter da, all dashboards whose IDs start with da are queried.
|
15280
15036
|
self.dashboard_name = dashboard_name
|
15037
|
+
self.description = description
|
15281
15038
|
# The display name of the dashboard.
|
15282
15039
|
self.display_name = display_name
|
15283
15040
|
|
@@ -15292,6 +15049,8 @@ class ListDashboardResponseBodyDashboardItems(TeaModel):
|
|
15292
15049
|
result = dict()
|
15293
15050
|
if self.dashboard_name is not None:
|
15294
15051
|
result['dashboardName'] = self.dashboard_name
|
15052
|
+
if self.description is not None:
|
15053
|
+
result['description'] = self.description
|
15295
15054
|
if self.display_name is not None:
|
15296
15055
|
result['displayName'] = self.display_name
|
15297
15056
|
return result
|
@@ -15300,6 +15059,8 @@ class ListDashboardResponseBodyDashboardItems(TeaModel):
|
|
15300
15059
|
m = m or dict()
|
15301
15060
|
if m.get('dashboardName') is not None:
|
15302
15061
|
self.dashboard_name = m.get('dashboardName')
|
15062
|
+
if m.get('description') is not None:
|
15063
|
+
self.description = m.get('description')
|
15303
15064
|
if m.get('displayName') is not None:
|
15304
15065
|
self.display_name = m.get('displayName')
|
15305
15066
|
return self
|
@@ -15969,8 +15730,10 @@ class ListETLsResponseBody(TeaModel):
|
|
15969
15730
|
results: List[ETL] = None,
|
15970
15731
|
total: int = None,
|
15971
15732
|
):
|
15733
|
+
# The number of data transformation jobs that are returned.
|
15972
15734
|
self.count = count
|
15973
15735
|
self.results = results
|
15736
|
+
# The total number of data transformation jobs in the project.
|
15974
15737
|
self.total = total
|
15975
15738
|
|
15976
15739
|
def validate(self):
|
@@ -19699,15 +19462,15 @@ class UntagResourcesResponse(TeaModel):
|
|
19699
19462
|
class UpdateAgentInstanceConfigRequest(TeaModel):
|
19700
19463
|
def __init__(
|
19701
19464
|
self,
|
19465
|
+
attributes: str = None,
|
19702
19466
|
config: str = None,
|
19703
|
-
|
19704
|
-
is_gray: bool = None,
|
19467
|
+
gray_configs: str = None,
|
19705
19468
|
):
|
19706
19469
|
# This parameter is required.
|
19707
|
-
self.
|
19470
|
+
self.attributes = attributes
|
19708
19471
|
# This parameter is required.
|
19709
|
-
self.
|
19710
|
-
self.
|
19472
|
+
self.config = config
|
19473
|
+
self.gray_configs = gray_configs
|
19711
19474
|
|
19712
19475
|
def validate(self):
|
19713
19476
|
pass
|
@@ -19718,22 +19481,22 @@ class UpdateAgentInstanceConfigRequest(TeaModel):
|
|
19718
19481
|
return _map
|
19719
19482
|
|
19720
19483
|
result = dict()
|
19484
|
+
if self.attributes is not None:
|
19485
|
+
result['attributes'] = self.attributes
|
19721
19486
|
if self.config is not None:
|
19722
19487
|
result['config'] = self.config
|
19723
|
-
if self.
|
19724
|
-
result['
|
19725
|
-
if self.is_gray is not None:
|
19726
|
-
result['isGray'] = self.is_gray
|
19488
|
+
if self.gray_configs is not None:
|
19489
|
+
result['grayConfigs'] = self.gray_configs
|
19727
19490
|
return result
|
19728
19491
|
|
19729
19492
|
def from_map(self, m: dict = None):
|
19730
19493
|
m = m or dict()
|
19494
|
+
if m.get('attributes') is not None:
|
19495
|
+
self.attributes = m.get('attributes')
|
19731
19496
|
if m.get('config') is not None:
|
19732
19497
|
self.config = m.get('config')
|
19733
|
-
if m.get('
|
19734
|
-
self.
|
19735
|
-
if m.get('isGray') is not None:
|
19736
|
-
self.is_gray = m.get('isGray')
|
19498
|
+
if m.get('grayConfigs') is not None:
|
19499
|
+
self.gray_configs = m.get('grayConfigs')
|
19737
19500
|
return self
|
19738
19501
|
|
19739
19502
|
|
@@ -21421,6 +21184,8 @@ class UpdateMetricStoreMeteringModeRequest(TeaModel):
|
|
21421
21184
|
self,
|
21422
21185
|
metering_mode: str = None,
|
21423
21186
|
):
|
21187
|
+
# The billing mode. Default value: ChargeByFunction. Valid values: ChargeByFunction and ChargeByDataIngest.
|
21188
|
+
#
|
21424
21189
|
# This parameter is required.
|
21425
21190
|
self.metering_mode = metering_mode
|
21426
21191
|
|
@@ -21706,11 +21471,11 @@ class UpdateOSSIngestionRequest(TeaModel):
|
|
21706
21471
|
display_name: str = None,
|
21707
21472
|
schedule: Schedule = None,
|
21708
21473
|
):
|
21709
|
-
# The
|
21474
|
+
# The configuration of the OSS data import job.
|
21710
21475
|
#
|
21711
21476
|
# This parameter is required.
|
21712
21477
|
self.configuration = configuration
|
21713
|
-
# The description of the OSS data import job.
|
21478
|
+
# The description of the Object Storage Service (OSS) data import job.
|
21714
21479
|
self.description = description
|
21715
21480
|
# The display name of the OSS data import job.
|
21716
21481
|
#
|
@@ -21789,211 +21554,6 @@ class UpdateOSSIngestionResponse(TeaModel):
|
|
21789
21554
|
return self
|
21790
21555
|
|
21791
21556
|
|
21792
|
-
class UpdateOssExternalStoreRequestParameterColumns(TeaModel):
|
21793
|
-
def __init__(
|
21794
|
-
self,
|
21795
|
-
name: str = None,
|
21796
|
-
type: str = None,
|
21797
|
-
):
|
21798
|
-
# The name of the field.
|
21799
|
-
#
|
21800
|
-
# This parameter is required.
|
21801
|
-
self.name = name
|
21802
|
-
# The type of the field.
|
21803
|
-
#
|
21804
|
-
# This parameter is required.
|
21805
|
-
self.type = type
|
21806
|
-
|
21807
|
-
def validate(self):
|
21808
|
-
pass
|
21809
|
-
|
21810
|
-
def to_map(self):
|
21811
|
-
_map = super().to_map()
|
21812
|
-
if _map is not None:
|
21813
|
-
return _map
|
21814
|
-
|
21815
|
-
result = dict()
|
21816
|
-
if self.name is not None:
|
21817
|
-
result['name'] = self.name
|
21818
|
-
if self.type is not None:
|
21819
|
-
result['type'] = self.type
|
21820
|
-
return result
|
21821
|
-
|
21822
|
-
def from_map(self, m: dict = None):
|
21823
|
-
m = m or dict()
|
21824
|
-
if m.get('name') is not None:
|
21825
|
-
self.name = m.get('name')
|
21826
|
-
if m.get('type') is not None:
|
21827
|
-
self.type = m.get('type')
|
21828
|
-
return self
|
21829
|
-
|
21830
|
-
|
21831
|
-
class UpdateOssExternalStoreRequestParameter(TeaModel):
|
21832
|
-
def __init__(
|
21833
|
-
self,
|
21834
|
-
accessid: str = None,
|
21835
|
-
accesskey: str = None,
|
21836
|
-
bucket: str = None,
|
21837
|
-
columns: List[UpdateOssExternalStoreRequestParameterColumns] = None,
|
21838
|
-
endpoint: str = None,
|
21839
|
-
objects: List[str] = None,
|
21840
|
-
):
|
21841
|
-
# The AccessKey ID of your account.
|
21842
|
-
#
|
21843
|
-
# This parameter is required.
|
21844
|
-
self.accessid = accessid
|
21845
|
-
# The AccessKey secret of your account.
|
21846
|
-
#
|
21847
|
-
# This parameter is required.
|
21848
|
-
self.accesskey = accesskey
|
21849
|
-
# The name of the OSS bucket.
|
21850
|
-
#
|
21851
|
-
# This parameter is required.
|
21852
|
-
self.bucket = bucket
|
21853
|
-
# The fields that are associated to the external store.
|
21854
|
-
#
|
21855
|
-
# This parameter is required.
|
21856
|
-
self.columns = columns
|
21857
|
-
# The Object Storage Service (OSS) endpoint.
|
21858
|
-
#
|
21859
|
-
# This parameter is required.
|
21860
|
-
self.endpoint = endpoint
|
21861
|
-
# The names of the OSS objects that are associated to the external store.
|
21862
|
-
#
|
21863
|
-
# This parameter is required.
|
21864
|
-
self.objects = objects
|
21865
|
-
|
21866
|
-
def validate(self):
|
21867
|
-
if self.columns:
|
21868
|
-
for k in self.columns:
|
21869
|
-
if k:
|
21870
|
-
k.validate()
|
21871
|
-
|
21872
|
-
def to_map(self):
|
21873
|
-
_map = super().to_map()
|
21874
|
-
if _map is not None:
|
21875
|
-
return _map
|
21876
|
-
|
21877
|
-
result = dict()
|
21878
|
-
if self.accessid is not None:
|
21879
|
-
result['accessid'] = self.accessid
|
21880
|
-
if self.accesskey is not None:
|
21881
|
-
result['accesskey'] = self.accesskey
|
21882
|
-
if self.bucket is not None:
|
21883
|
-
result['bucket'] = self.bucket
|
21884
|
-
result['columns'] = []
|
21885
|
-
if self.columns is not None:
|
21886
|
-
for k in self.columns:
|
21887
|
-
result['columns'].append(k.to_map() if k else None)
|
21888
|
-
if self.endpoint is not None:
|
21889
|
-
result['endpoint'] = self.endpoint
|
21890
|
-
if self.objects is not None:
|
21891
|
-
result['objects'] = self.objects
|
21892
|
-
return result
|
21893
|
-
|
21894
|
-
def from_map(self, m: dict = None):
|
21895
|
-
m = m or dict()
|
21896
|
-
if m.get('accessid') is not None:
|
21897
|
-
self.accessid = m.get('accessid')
|
21898
|
-
if m.get('accesskey') is not None:
|
21899
|
-
self.accesskey = m.get('accesskey')
|
21900
|
-
if m.get('bucket') is not None:
|
21901
|
-
self.bucket = m.get('bucket')
|
21902
|
-
self.columns = []
|
21903
|
-
if m.get('columns') is not None:
|
21904
|
-
for k in m.get('columns'):
|
21905
|
-
temp_model = UpdateOssExternalStoreRequestParameterColumns()
|
21906
|
-
self.columns.append(temp_model.from_map(k))
|
21907
|
-
if m.get('endpoint') is not None:
|
21908
|
-
self.endpoint = m.get('endpoint')
|
21909
|
-
if m.get('objects') is not None:
|
21910
|
-
self.objects = m.get('objects')
|
21911
|
-
return self
|
21912
|
-
|
21913
|
-
|
21914
|
-
class UpdateOssExternalStoreRequest(TeaModel):
|
21915
|
-
def __init__(
|
21916
|
-
self,
|
21917
|
-
external_store_name: str = None,
|
21918
|
-
parameter: UpdateOssExternalStoreRequestParameter = None,
|
21919
|
-
store_type: str = None,
|
21920
|
-
):
|
21921
|
-
# The name of the external store.
|
21922
|
-
#
|
21923
|
-
# This parameter is required.
|
21924
|
-
self.external_store_name = external_store_name
|
21925
|
-
# The parameters that are configured for the external store.
|
21926
|
-
#
|
21927
|
-
# This parameter is required.
|
21928
|
-
self.parameter = parameter
|
21929
|
-
# The type of the external store. Set the value to oss.
|
21930
|
-
#
|
21931
|
-
# This parameter is required.
|
21932
|
-
self.store_type = store_type
|
21933
|
-
|
21934
|
-
def validate(self):
|
21935
|
-
if self.parameter:
|
21936
|
-
self.parameter.validate()
|
21937
|
-
|
21938
|
-
def to_map(self):
|
21939
|
-
_map = super().to_map()
|
21940
|
-
if _map is not None:
|
21941
|
-
return _map
|
21942
|
-
|
21943
|
-
result = dict()
|
21944
|
-
if self.external_store_name is not None:
|
21945
|
-
result['externalStoreName'] = self.external_store_name
|
21946
|
-
if self.parameter is not None:
|
21947
|
-
result['parameter'] = self.parameter.to_map()
|
21948
|
-
if self.store_type is not None:
|
21949
|
-
result['storeType'] = self.store_type
|
21950
|
-
return result
|
21951
|
-
|
21952
|
-
def from_map(self, m: dict = None):
|
21953
|
-
m = m or dict()
|
21954
|
-
if m.get('externalStoreName') is not None:
|
21955
|
-
self.external_store_name = m.get('externalStoreName')
|
21956
|
-
if m.get('parameter') is not None:
|
21957
|
-
temp_model = UpdateOssExternalStoreRequestParameter()
|
21958
|
-
self.parameter = temp_model.from_map(m['parameter'])
|
21959
|
-
if m.get('storeType') is not None:
|
21960
|
-
self.store_type = m.get('storeType')
|
21961
|
-
return self
|
21962
|
-
|
21963
|
-
|
21964
|
-
class UpdateOssExternalStoreResponse(TeaModel):
|
21965
|
-
def __init__(
|
21966
|
-
self,
|
21967
|
-
headers: Dict[str, str] = None,
|
21968
|
-
status_code: int = None,
|
21969
|
-
):
|
21970
|
-
self.headers = headers
|
21971
|
-
self.status_code = status_code
|
21972
|
-
|
21973
|
-
def validate(self):
|
21974
|
-
pass
|
21975
|
-
|
21976
|
-
def to_map(self):
|
21977
|
-
_map = super().to_map()
|
21978
|
-
if _map is not None:
|
21979
|
-
return _map
|
21980
|
-
|
21981
|
-
result = dict()
|
21982
|
-
if self.headers is not None:
|
21983
|
-
result['headers'] = self.headers
|
21984
|
-
if self.status_code is not None:
|
21985
|
-
result['statusCode'] = self.status_code
|
21986
|
-
return result
|
21987
|
-
|
21988
|
-
def from_map(self, m: dict = None):
|
21989
|
-
m = m or dict()
|
21990
|
-
if m.get('headers') is not None:
|
21991
|
-
self.headers = m.get('headers')
|
21992
|
-
if m.get('statusCode') is not None:
|
21993
|
-
self.status_code = m.get('statusCode')
|
21994
|
-
return self
|
21995
|
-
|
21996
|
-
|
21997
21557
|
class UpdateProjectRequest(TeaModel):
|
21998
21558
|
def __init__(
|
21999
21559
|
self,
|
@@ -22004,6 +21564,12 @@ class UpdateProjectRequest(TeaModel):
|
|
22004
21564
|
#
|
22005
21565
|
# This parameter is required.
|
22006
21566
|
self.description = description
|
21567
|
+
# Specifies whether to enable the recycle bin feature.
|
21568
|
+
#
|
21569
|
+
# Valid values:
|
21570
|
+
#
|
21571
|
+
# * true
|
21572
|
+
# * false
|
22007
21573
|
self.recycle_bin_enabled = recycle_bin_enabled
|
22008
21574
|
|
22009
21575
|
def validate(self):
|
@@ -22063,185 +21629,6 @@ class UpdateProjectResponse(TeaModel):
|
|
22063
21629
|
return self
|
22064
21630
|
|
22065
21631
|
|
22066
|
-
class UpdateRdsExternalStoreRequestParameter(TeaModel):
|
22067
|
-
def __init__(
|
22068
|
-
self,
|
22069
|
-
db: str = None,
|
22070
|
-
host: str = None,
|
22071
|
-
instance_id: str = None,
|
22072
|
-
password: str = None,
|
22073
|
-
port: str = None,
|
22074
|
-
region: str = None,
|
22075
|
-
table: str = None,
|
22076
|
-
username: str = None,
|
22077
|
-
vpc_id: str = None,
|
22078
|
-
):
|
22079
|
-
# The name of the database in the ApsaraDB RDS for MySQL instance.
|
22080
|
-
#
|
22081
|
-
# This parameter is required.
|
22082
|
-
self.db = db
|
22083
|
-
# The internal or public endpoint of the ApsaraDB RDS for MySQL instance.
|
22084
|
-
self.host = host
|
22085
|
-
# The ID of the ApsaraDB RDS for MySQL instance.
|
22086
|
-
self.instance_id = instance_id
|
22087
|
-
# The password that is used to log on to the ApsaraDB RDS for MySQL instance.
|
22088
|
-
#
|
22089
|
-
# This parameter is required.
|
22090
|
-
self.password = password
|
22091
|
-
# The internal or public port of the ApsaraDB RDS for MySQL instance.
|
22092
|
-
#
|
22093
|
-
# This parameter is required.
|
22094
|
-
self.port = port
|
22095
|
-
# The region where the ApsaraDB RDS for MySQL instance resides. Valid values: cn-qingdao, cn-beijing, and cn-hangzhou.
|
22096
|
-
#
|
22097
|
-
# This parameter is required.
|
22098
|
-
self.region = region
|
22099
|
-
# The name of the database table in the ApsaraDB RDS for MySQL instance.
|
22100
|
-
#
|
22101
|
-
# This parameter is required.
|
22102
|
-
self.table = table
|
22103
|
-
# The username that is used to log on to the ApsaraDB RDS for MySQL instance.
|
22104
|
-
#
|
22105
|
-
# This parameter is required.
|
22106
|
-
self.username = username
|
22107
|
-
# The ID of the VPC to which the ApsaraDB RDS for MySQL instance belongs.
|
22108
|
-
self.vpc_id = vpc_id
|
22109
|
-
|
22110
|
-
def validate(self):
|
22111
|
-
pass
|
22112
|
-
|
22113
|
-
def to_map(self):
|
22114
|
-
_map = super().to_map()
|
22115
|
-
if _map is not None:
|
22116
|
-
return _map
|
22117
|
-
|
22118
|
-
result = dict()
|
22119
|
-
if self.db is not None:
|
22120
|
-
result['db'] = self.db
|
22121
|
-
if self.host is not None:
|
22122
|
-
result['host'] = self.host
|
22123
|
-
if self.instance_id is not None:
|
22124
|
-
result['instance-id'] = self.instance_id
|
22125
|
-
if self.password is not None:
|
22126
|
-
result['password'] = self.password
|
22127
|
-
if self.port is not None:
|
22128
|
-
result['port'] = self.port
|
22129
|
-
if self.region is not None:
|
22130
|
-
result['region'] = self.region
|
22131
|
-
if self.table is not None:
|
22132
|
-
result['table'] = self.table
|
22133
|
-
if self.username is not None:
|
22134
|
-
result['username'] = self.username
|
22135
|
-
if self.vpc_id is not None:
|
22136
|
-
result['vpc-id'] = self.vpc_id
|
22137
|
-
return result
|
22138
|
-
|
22139
|
-
def from_map(self, m: dict = None):
|
22140
|
-
m = m or dict()
|
22141
|
-
if m.get('db') is not None:
|
22142
|
-
self.db = m.get('db')
|
22143
|
-
if m.get('host') is not None:
|
22144
|
-
self.host = m.get('host')
|
22145
|
-
if m.get('instance-id') is not None:
|
22146
|
-
self.instance_id = m.get('instance-id')
|
22147
|
-
if m.get('password') is not None:
|
22148
|
-
self.password = m.get('password')
|
22149
|
-
if m.get('port') is not None:
|
22150
|
-
self.port = m.get('port')
|
22151
|
-
if m.get('region') is not None:
|
22152
|
-
self.region = m.get('region')
|
22153
|
-
if m.get('table') is not None:
|
22154
|
-
self.table = m.get('table')
|
22155
|
-
if m.get('username') is not None:
|
22156
|
-
self.username = m.get('username')
|
22157
|
-
if m.get('vpc-id') is not None:
|
22158
|
-
self.vpc_id = m.get('vpc-id')
|
22159
|
-
return self
|
22160
|
-
|
22161
|
-
|
22162
|
-
class UpdateRdsExternalStoreRequest(TeaModel):
|
22163
|
-
def __init__(
|
22164
|
-
self,
|
22165
|
-
external_store_name: str = None,
|
22166
|
-
parameter: UpdateRdsExternalStoreRequestParameter = None,
|
22167
|
-
store_type: str = None,
|
22168
|
-
):
|
22169
|
-
# The name of the external store.
|
22170
|
-
#
|
22171
|
-
# This parameter is required.
|
22172
|
-
self.external_store_name = external_store_name
|
22173
|
-
# The parameter struct.
|
22174
|
-
#
|
22175
|
-
# This parameter is required.
|
22176
|
-
self.parameter = parameter
|
22177
|
-
# The storage type. Set the value to rds-vpc, which indicates an ApsaraDB RDS for MySQL database in a virtual private cloud (VPC).
|
22178
|
-
#
|
22179
|
-
# This parameter is required.
|
22180
|
-
self.store_type = store_type
|
22181
|
-
|
22182
|
-
def validate(self):
|
22183
|
-
if self.parameter:
|
22184
|
-
self.parameter.validate()
|
22185
|
-
|
22186
|
-
def to_map(self):
|
22187
|
-
_map = super().to_map()
|
22188
|
-
if _map is not None:
|
22189
|
-
return _map
|
22190
|
-
|
22191
|
-
result = dict()
|
22192
|
-
if self.external_store_name is not None:
|
22193
|
-
result['externalStoreName'] = self.external_store_name
|
22194
|
-
if self.parameter is not None:
|
22195
|
-
result['parameter'] = self.parameter.to_map()
|
22196
|
-
if self.store_type is not None:
|
22197
|
-
result['storeType'] = self.store_type
|
22198
|
-
return result
|
22199
|
-
|
22200
|
-
def from_map(self, m: dict = None):
|
22201
|
-
m = m or dict()
|
22202
|
-
if m.get('externalStoreName') is not None:
|
22203
|
-
self.external_store_name = m.get('externalStoreName')
|
22204
|
-
if m.get('parameter') is not None:
|
22205
|
-
temp_model = UpdateRdsExternalStoreRequestParameter()
|
22206
|
-
self.parameter = temp_model.from_map(m['parameter'])
|
22207
|
-
if m.get('storeType') is not None:
|
22208
|
-
self.store_type = m.get('storeType')
|
22209
|
-
return self
|
22210
|
-
|
22211
|
-
|
22212
|
-
class UpdateRdsExternalStoreResponse(TeaModel):
|
22213
|
-
def __init__(
|
22214
|
-
self,
|
22215
|
-
headers: Dict[str, str] = None,
|
22216
|
-
status_code: int = None,
|
22217
|
-
):
|
22218
|
-
self.headers = headers
|
22219
|
-
self.status_code = status_code
|
22220
|
-
|
22221
|
-
def validate(self):
|
22222
|
-
pass
|
22223
|
-
|
22224
|
-
def to_map(self):
|
22225
|
-
_map = super().to_map()
|
22226
|
-
if _map is not None:
|
22227
|
-
return _map
|
22228
|
-
|
22229
|
-
result = dict()
|
22230
|
-
if self.headers is not None:
|
22231
|
-
result['headers'] = self.headers
|
22232
|
-
if self.status_code is not None:
|
22233
|
-
result['statusCode'] = self.status_code
|
22234
|
-
return result
|
22235
|
-
|
22236
|
-
def from_map(self, m: dict = None):
|
22237
|
-
m = m or dict()
|
22238
|
-
if m.get('headers') is not None:
|
22239
|
-
self.headers = m.get('headers')
|
22240
|
-
if m.get('statusCode') is not None:
|
22241
|
-
self.status_code = m.get('statusCode')
|
22242
|
-
return self
|
22243
|
-
|
22244
|
-
|
22245
21632
|
class UpdateSavedSearchRequest(TeaModel):
|
22246
21633
|
def __init__(
|
22247
21634
|
self,
|