alibabacloud-sls20201230 5.7.1__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 +160 -870
- alibabacloud_sls20201230/models.py +343 -962
- {alibabacloud_sls20201230-5.7.1.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.1.dist-info/RECORD +0 -8
- {alibabacloud_sls20201230-5.7.1.dist-info → alibabacloud_sls20201230-5.7.2.dist-info}/LICENSE +0 -0
- {alibabacloud_sls20201230-5.7.1.dist-info → alibabacloud_sls20201230-5.7.2.dist-info}/WHEEL +0 -0
- {alibabacloud_sls20201230-5.7.1.dist-info → alibabacloud_sls20201230-5.7.2.dist-info}/top_level.txt +0 -0
@@ -726,14 +726,14 @@ class Client(OpenApiClient):
|
|
726
726
|
"""
|
727
727
|
UtilClient.validate_model(request)
|
728
728
|
body = {}
|
729
|
+
if not UtilClient.is_unset(request.attributes):
|
730
|
+
body['attributes'] = request.attributes
|
729
731
|
if not UtilClient.is_unset(request.config):
|
730
732
|
body['config'] = request.config
|
731
|
-
if not UtilClient.is_unset(request.
|
732
|
-
body['
|
733
|
-
if not UtilClient.is_unset(request.
|
734
|
-
body['
|
735
|
-
if not UtilClient.is_unset(request.is_gray):
|
736
|
-
body['isGray'] = request.is_gray
|
733
|
+
if not UtilClient.is_unset(request.config_type):
|
734
|
+
body['configType'] = request.config_type
|
735
|
+
if not UtilClient.is_unset(request.gray_configs):
|
736
|
+
body['grayConfigs'] = request.gray_configs
|
737
737
|
req = open_api_models.OpenApiRequest(
|
738
738
|
headers=headers,
|
739
739
|
body=OpenApiUtilClient.parse_to_map(body)
|
@@ -770,14 +770,14 @@ class Client(OpenApiClient):
|
|
770
770
|
"""
|
771
771
|
UtilClient.validate_model(request)
|
772
772
|
body = {}
|
773
|
+
if not UtilClient.is_unset(request.attributes):
|
774
|
+
body['attributes'] = request.attributes
|
773
775
|
if not UtilClient.is_unset(request.config):
|
774
776
|
body['config'] = request.config
|
775
|
-
if not UtilClient.is_unset(request.
|
776
|
-
body['
|
777
|
-
if not UtilClient.is_unset(request.
|
778
|
-
body['
|
779
|
-
if not UtilClient.is_unset(request.is_gray):
|
780
|
-
body['isGray'] = request.is_gray
|
777
|
+
if not UtilClient.is_unset(request.config_type):
|
778
|
+
body['configType'] = request.config_type
|
779
|
+
if not UtilClient.is_unset(request.gray_configs):
|
780
|
+
body['grayConfigs'] = request.gray_configs
|
781
781
|
req = open_api_models.OpenApiRequest(
|
782
782
|
headers=headers,
|
783
783
|
body=OpenApiUtilClient.parse_to_map(body)
|
@@ -1866,7 +1866,7 @@ class Client(OpenApiClient):
|
|
1866
1866
|
runtime: util_models.RuntimeOptions,
|
1867
1867
|
) -> sls_20201230_models.CreateETLResponse:
|
1868
1868
|
"""
|
1869
|
-
@summary
|
1869
|
+
@summary Creates a data transformation job in a project.
|
1870
1870
|
|
1871
1871
|
@param request: CreateETLRequest
|
1872
1872
|
@param headers: map
|
@@ -1914,7 +1914,7 @@ class Client(OpenApiClient):
|
|
1914
1914
|
runtime: util_models.RuntimeOptions,
|
1915
1915
|
) -> sls_20201230_models.CreateETLResponse:
|
1916
1916
|
"""
|
1917
|
-
@summary
|
1917
|
+
@summary Creates a data transformation job in a project.
|
1918
1918
|
|
1919
1919
|
@param request: CreateETLRequest
|
1920
1920
|
@param headers: map
|
@@ -1960,7 +1960,7 @@ class Client(OpenApiClient):
|
|
1960
1960
|
request: sls_20201230_models.CreateETLRequest,
|
1961
1961
|
) -> sls_20201230_models.CreateETLResponse:
|
1962
1962
|
"""
|
1963
|
-
@summary
|
1963
|
+
@summary Creates a data transformation job in a project.
|
1964
1964
|
|
1965
1965
|
@param request: CreateETLRequest
|
1966
1966
|
@return: CreateETLResponse
|
@@ -1975,7 +1975,7 @@ class Client(OpenApiClient):
|
|
1975
1975
|
request: sls_20201230_models.CreateETLRequest,
|
1976
1976
|
) -> sls_20201230_models.CreateETLResponse:
|
1977
1977
|
"""
|
1978
|
-
@summary
|
1978
|
+
@summary Creates a data transformation job in a project.
|
1979
1979
|
|
1980
1980
|
@param request: CreateETLRequest
|
1981
1981
|
@return: CreateETLResponse
|
@@ -3438,140 +3438,6 @@ class Client(OpenApiClient):
|
|
3438
3438
|
headers = {}
|
3439
3439
|
return await self.create_ossingestion_with_options_async(project, request, headers, runtime)
|
3440
3440
|
|
3441
|
-
def create_oss_external_store_with_options(
|
3442
|
-
self,
|
3443
|
-
project: str,
|
3444
|
-
request: sls_20201230_models.CreateOssExternalStoreRequest,
|
3445
|
-
headers: Dict[str, str],
|
3446
|
-
runtime: util_models.RuntimeOptions,
|
3447
|
-
) -> sls_20201230_models.CreateOssExternalStoreResponse:
|
3448
|
-
"""
|
3449
|
-
@summary Creates an Object Storage Service (OSS) external store.
|
3450
|
-
|
3451
|
-
@description ### [](#)Usage notes
|
3452
|
-
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
3453
|
-
|
3454
|
-
@param request: CreateOssExternalStoreRequest
|
3455
|
-
@param headers: map
|
3456
|
-
@param runtime: runtime options for this request RuntimeOptions
|
3457
|
-
@return: CreateOssExternalStoreResponse
|
3458
|
-
"""
|
3459
|
-
UtilClient.validate_model(request)
|
3460
|
-
host_map = {}
|
3461
|
-
host_map['project'] = project
|
3462
|
-
body = {}
|
3463
|
-
if not UtilClient.is_unset(request.external_store_name):
|
3464
|
-
body['externalStoreName'] = request.external_store_name
|
3465
|
-
if not UtilClient.is_unset(request.parameter):
|
3466
|
-
body['parameter'] = request.parameter
|
3467
|
-
if not UtilClient.is_unset(request.store_type):
|
3468
|
-
body['storeType'] = request.store_type
|
3469
|
-
req = open_api_models.OpenApiRequest(
|
3470
|
-
host_map=host_map,
|
3471
|
-
headers=headers,
|
3472
|
-
body=OpenApiUtilClient.parse_to_map(body)
|
3473
|
-
)
|
3474
|
-
params = open_api_models.Params(
|
3475
|
-
action='CreateOssExternalStore',
|
3476
|
-
version='2020-12-30',
|
3477
|
-
protocol='HTTPS',
|
3478
|
-
pathname=f'/externalstores',
|
3479
|
-
method='POST',
|
3480
|
-
auth_type='AK',
|
3481
|
-
style='ROA',
|
3482
|
-
req_body_type='json',
|
3483
|
-
body_type='none'
|
3484
|
-
)
|
3485
|
-
return TeaCore.from_map(
|
3486
|
-
sls_20201230_models.CreateOssExternalStoreResponse(),
|
3487
|
-
self.execute(params, req, runtime)
|
3488
|
-
)
|
3489
|
-
|
3490
|
-
async def create_oss_external_store_with_options_async(
|
3491
|
-
self,
|
3492
|
-
project: str,
|
3493
|
-
request: sls_20201230_models.CreateOssExternalStoreRequest,
|
3494
|
-
headers: Dict[str, str],
|
3495
|
-
runtime: util_models.RuntimeOptions,
|
3496
|
-
) -> sls_20201230_models.CreateOssExternalStoreResponse:
|
3497
|
-
"""
|
3498
|
-
@summary Creates an Object Storage Service (OSS) external store.
|
3499
|
-
|
3500
|
-
@description ### [](#)Usage notes
|
3501
|
-
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
3502
|
-
|
3503
|
-
@param request: CreateOssExternalStoreRequest
|
3504
|
-
@param headers: map
|
3505
|
-
@param runtime: runtime options for this request RuntimeOptions
|
3506
|
-
@return: CreateOssExternalStoreResponse
|
3507
|
-
"""
|
3508
|
-
UtilClient.validate_model(request)
|
3509
|
-
host_map = {}
|
3510
|
-
host_map['project'] = project
|
3511
|
-
body = {}
|
3512
|
-
if not UtilClient.is_unset(request.external_store_name):
|
3513
|
-
body['externalStoreName'] = request.external_store_name
|
3514
|
-
if not UtilClient.is_unset(request.parameter):
|
3515
|
-
body['parameter'] = request.parameter
|
3516
|
-
if not UtilClient.is_unset(request.store_type):
|
3517
|
-
body['storeType'] = request.store_type
|
3518
|
-
req = open_api_models.OpenApiRequest(
|
3519
|
-
host_map=host_map,
|
3520
|
-
headers=headers,
|
3521
|
-
body=OpenApiUtilClient.parse_to_map(body)
|
3522
|
-
)
|
3523
|
-
params = open_api_models.Params(
|
3524
|
-
action='CreateOssExternalStore',
|
3525
|
-
version='2020-12-30',
|
3526
|
-
protocol='HTTPS',
|
3527
|
-
pathname=f'/externalstores',
|
3528
|
-
method='POST',
|
3529
|
-
auth_type='AK',
|
3530
|
-
style='ROA',
|
3531
|
-
req_body_type='json',
|
3532
|
-
body_type='none'
|
3533
|
-
)
|
3534
|
-
return TeaCore.from_map(
|
3535
|
-
sls_20201230_models.CreateOssExternalStoreResponse(),
|
3536
|
-
await self.execute_async(params, req, runtime)
|
3537
|
-
)
|
3538
|
-
|
3539
|
-
def create_oss_external_store(
|
3540
|
-
self,
|
3541
|
-
project: str,
|
3542
|
-
request: sls_20201230_models.CreateOssExternalStoreRequest,
|
3543
|
-
) -> sls_20201230_models.CreateOssExternalStoreResponse:
|
3544
|
-
"""
|
3545
|
-
@summary Creates an Object Storage Service (OSS) external store.
|
3546
|
-
|
3547
|
-
@description ### [](#)Usage notes
|
3548
|
-
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
3549
|
-
|
3550
|
-
@param request: CreateOssExternalStoreRequest
|
3551
|
-
@return: CreateOssExternalStoreResponse
|
3552
|
-
"""
|
3553
|
-
runtime = util_models.RuntimeOptions()
|
3554
|
-
headers = {}
|
3555
|
-
return self.create_oss_external_store_with_options(project, request, headers, runtime)
|
3556
|
-
|
3557
|
-
async def create_oss_external_store_async(
|
3558
|
-
self,
|
3559
|
-
project: str,
|
3560
|
-
request: sls_20201230_models.CreateOssExternalStoreRequest,
|
3561
|
-
) -> sls_20201230_models.CreateOssExternalStoreResponse:
|
3562
|
-
"""
|
3563
|
-
@summary Creates an Object Storage Service (OSS) external store.
|
3564
|
-
|
3565
|
-
@description ### [](#)Usage notes
|
3566
|
-
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
3567
|
-
|
3568
|
-
@param request: CreateOssExternalStoreRequest
|
3569
|
-
@return: CreateOssExternalStoreResponse
|
3570
|
-
"""
|
3571
|
-
runtime = util_models.RuntimeOptions()
|
3572
|
-
headers = {}
|
3573
|
-
return await self.create_oss_external_store_with_options_async(project, request, headers, runtime)
|
3574
|
-
|
3575
3441
|
def create_project_with_options(
|
3576
3442
|
self,
|
3577
3443
|
request: sls_20201230_models.CreateProjectRequest,
|
@@ -3692,136 +3558,6 @@ class Client(OpenApiClient):
|
|
3692
3558
|
headers = {}
|
3693
3559
|
return await self.create_project_with_options_async(request, headers, runtime)
|
3694
3560
|
|
3695
|
-
def create_rds_external_store_with_options(
|
3696
|
-
self,
|
3697
|
-
project: str,
|
3698
|
-
request: sls_20201230_models.CreateRdsExternalStoreRequest,
|
3699
|
-
headers: Dict[str, str],
|
3700
|
-
runtime: util_models.RuntimeOptions,
|
3701
|
-
) -> sls_20201230_models.CreateRdsExternalStoreResponse:
|
3702
|
-
"""
|
3703
|
-
@summary Creates an ApsaraDB RDS external store.
|
3704
|
-
|
3705
|
-
@description Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
3706
|
-
|
3707
|
-
@param request: CreateRdsExternalStoreRequest
|
3708
|
-
@param headers: map
|
3709
|
-
@param runtime: runtime options for this request RuntimeOptions
|
3710
|
-
@return: CreateRdsExternalStoreResponse
|
3711
|
-
"""
|
3712
|
-
UtilClient.validate_model(request)
|
3713
|
-
host_map = {}
|
3714
|
-
host_map['project'] = project
|
3715
|
-
body = {}
|
3716
|
-
if not UtilClient.is_unset(request.external_store_name):
|
3717
|
-
body['externalStoreName'] = request.external_store_name
|
3718
|
-
if not UtilClient.is_unset(request.parameter):
|
3719
|
-
body['parameter'] = request.parameter
|
3720
|
-
if not UtilClient.is_unset(request.store_type):
|
3721
|
-
body['storeType'] = request.store_type
|
3722
|
-
req = open_api_models.OpenApiRequest(
|
3723
|
-
host_map=host_map,
|
3724
|
-
headers=headers,
|
3725
|
-
body=OpenApiUtilClient.parse_to_map(body)
|
3726
|
-
)
|
3727
|
-
params = open_api_models.Params(
|
3728
|
-
action='CreateRdsExternalStore',
|
3729
|
-
version='2020-12-30',
|
3730
|
-
protocol='HTTPS',
|
3731
|
-
pathname=f'/externalstores',
|
3732
|
-
method='POST',
|
3733
|
-
auth_type='AK',
|
3734
|
-
style='ROA',
|
3735
|
-
req_body_type='json',
|
3736
|
-
body_type='none'
|
3737
|
-
)
|
3738
|
-
return TeaCore.from_map(
|
3739
|
-
sls_20201230_models.CreateRdsExternalStoreResponse(),
|
3740
|
-
self.execute(params, req, runtime)
|
3741
|
-
)
|
3742
|
-
|
3743
|
-
async def create_rds_external_store_with_options_async(
|
3744
|
-
self,
|
3745
|
-
project: str,
|
3746
|
-
request: sls_20201230_models.CreateRdsExternalStoreRequest,
|
3747
|
-
headers: Dict[str, str],
|
3748
|
-
runtime: util_models.RuntimeOptions,
|
3749
|
-
) -> sls_20201230_models.CreateRdsExternalStoreResponse:
|
3750
|
-
"""
|
3751
|
-
@summary Creates an ApsaraDB RDS external store.
|
3752
|
-
|
3753
|
-
@description Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
3754
|
-
|
3755
|
-
@param request: CreateRdsExternalStoreRequest
|
3756
|
-
@param headers: map
|
3757
|
-
@param runtime: runtime options for this request RuntimeOptions
|
3758
|
-
@return: CreateRdsExternalStoreResponse
|
3759
|
-
"""
|
3760
|
-
UtilClient.validate_model(request)
|
3761
|
-
host_map = {}
|
3762
|
-
host_map['project'] = project
|
3763
|
-
body = {}
|
3764
|
-
if not UtilClient.is_unset(request.external_store_name):
|
3765
|
-
body['externalStoreName'] = request.external_store_name
|
3766
|
-
if not UtilClient.is_unset(request.parameter):
|
3767
|
-
body['parameter'] = request.parameter
|
3768
|
-
if not UtilClient.is_unset(request.store_type):
|
3769
|
-
body['storeType'] = request.store_type
|
3770
|
-
req = open_api_models.OpenApiRequest(
|
3771
|
-
host_map=host_map,
|
3772
|
-
headers=headers,
|
3773
|
-
body=OpenApiUtilClient.parse_to_map(body)
|
3774
|
-
)
|
3775
|
-
params = open_api_models.Params(
|
3776
|
-
action='CreateRdsExternalStore',
|
3777
|
-
version='2020-12-30',
|
3778
|
-
protocol='HTTPS',
|
3779
|
-
pathname=f'/externalstores',
|
3780
|
-
method='POST',
|
3781
|
-
auth_type='AK',
|
3782
|
-
style='ROA',
|
3783
|
-
req_body_type='json',
|
3784
|
-
body_type='none'
|
3785
|
-
)
|
3786
|
-
return TeaCore.from_map(
|
3787
|
-
sls_20201230_models.CreateRdsExternalStoreResponse(),
|
3788
|
-
await self.execute_async(params, req, runtime)
|
3789
|
-
)
|
3790
|
-
|
3791
|
-
def create_rds_external_store(
|
3792
|
-
self,
|
3793
|
-
project: str,
|
3794
|
-
request: sls_20201230_models.CreateRdsExternalStoreRequest,
|
3795
|
-
) -> sls_20201230_models.CreateRdsExternalStoreResponse:
|
3796
|
-
"""
|
3797
|
-
@summary Creates an ApsaraDB RDS external store.
|
3798
|
-
|
3799
|
-
@description Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
3800
|
-
|
3801
|
-
@param request: CreateRdsExternalStoreRequest
|
3802
|
-
@return: CreateRdsExternalStoreResponse
|
3803
|
-
"""
|
3804
|
-
runtime = util_models.RuntimeOptions()
|
3805
|
-
headers = {}
|
3806
|
-
return self.create_rds_external_store_with_options(project, request, headers, runtime)
|
3807
|
-
|
3808
|
-
async def create_rds_external_store_async(
|
3809
|
-
self,
|
3810
|
-
project: str,
|
3811
|
-
request: sls_20201230_models.CreateRdsExternalStoreRequest,
|
3812
|
-
) -> sls_20201230_models.CreateRdsExternalStoreResponse:
|
3813
|
-
"""
|
3814
|
-
@summary Creates an ApsaraDB RDS external store.
|
3815
|
-
|
3816
|
-
@description Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
3817
|
-
|
3818
|
-
@param request: CreateRdsExternalStoreRequest
|
3819
|
-
@return: CreateRdsExternalStoreResponse
|
3820
|
-
"""
|
3821
|
-
runtime = util_models.RuntimeOptions()
|
3822
|
-
headers = {}
|
3823
|
-
return await self.create_rds_external_store_with_options_async(project, request, headers, runtime)
|
3824
|
-
|
3825
3561
|
def create_saved_search_with_options(
|
3826
3562
|
self,
|
3827
3563
|
project: str,
|
@@ -4488,7 +4224,7 @@ class Client(OpenApiClient):
|
|
4488
4224
|
|
4489
4225
|
def delete_agent_instance_config_with_options(
|
4490
4226
|
self,
|
4491
|
-
|
4227
|
+
config_type: str,
|
4492
4228
|
request: sls_20201230_models.DeleteAgentInstanceConfigRequest,
|
4493
4229
|
headers: Dict[str, str],
|
4494
4230
|
runtime: util_models.RuntimeOptions,
|
@@ -4503,8 +4239,8 @@ class Client(OpenApiClient):
|
|
4503
4239
|
"""
|
4504
4240
|
UtilClient.validate_model(request)
|
4505
4241
|
query = {}
|
4506
|
-
if not UtilClient.is_unset(request.
|
4507
|
-
query['
|
4242
|
+
if not UtilClient.is_unset(request.attributes):
|
4243
|
+
query['attributes'] = request.attributes
|
4508
4244
|
req = open_api_models.OpenApiRequest(
|
4509
4245
|
headers=headers,
|
4510
4246
|
query=OpenApiUtilClient.query(query)
|
@@ -4513,7 +4249,7 @@ class Client(OpenApiClient):
|
|
4513
4249
|
action='DeleteAgentInstanceConfig',
|
4514
4250
|
version='2020-12-30',
|
4515
4251
|
protocol='HTTPS',
|
4516
|
-
pathname=f'/agentinstanceconfigs/{
|
4252
|
+
pathname=f'/agentinstanceconfigs/{config_type}',
|
4517
4253
|
method='DELETE',
|
4518
4254
|
auth_type='AK',
|
4519
4255
|
style='ROA',
|
@@ -4527,7 +4263,7 @@ class Client(OpenApiClient):
|
|
4527
4263
|
|
4528
4264
|
async def delete_agent_instance_config_with_options_async(
|
4529
4265
|
self,
|
4530
|
-
|
4266
|
+
config_type: str,
|
4531
4267
|
request: sls_20201230_models.DeleteAgentInstanceConfigRequest,
|
4532
4268
|
headers: Dict[str, str],
|
4533
4269
|
runtime: util_models.RuntimeOptions,
|
@@ -4542,8 +4278,8 @@ class Client(OpenApiClient):
|
|
4542
4278
|
"""
|
4543
4279
|
UtilClient.validate_model(request)
|
4544
4280
|
query = {}
|
4545
|
-
if not UtilClient.is_unset(request.
|
4546
|
-
query['
|
4281
|
+
if not UtilClient.is_unset(request.attributes):
|
4282
|
+
query['attributes'] = request.attributes
|
4547
4283
|
req = open_api_models.OpenApiRequest(
|
4548
4284
|
headers=headers,
|
4549
4285
|
query=OpenApiUtilClient.query(query)
|
@@ -4552,7 +4288,7 @@ class Client(OpenApiClient):
|
|
4552
4288
|
action='DeleteAgentInstanceConfig',
|
4553
4289
|
version='2020-12-30',
|
4554
4290
|
protocol='HTTPS',
|
4555
|
-
pathname=f'/agentinstanceconfigs/{
|
4291
|
+
pathname=f'/agentinstanceconfigs/{config_type}',
|
4556
4292
|
method='DELETE',
|
4557
4293
|
auth_type='AK',
|
4558
4294
|
style='ROA',
|
@@ -4566,7 +4302,7 @@ class Client(OpenApiClient):
|
|
4566
4302
|
|
4567
4303
|
def delete_agent_instance_config(
|
4568
4304
|
self,
|
4569
|
-
|
4305
|
+
config_type: str,
|
4570
4306
|
request: sls_20201230_models.DeleteAgentInstanceConfigRequest,
|
4571
4307
|
) -> sls_20201230_models.DeleteAgentInstanceConfigResponse:
|
4572
4308
|
"""
|
@@ -4577,11 +4313,11 @@ class Client(OpenApiClient):
|
|
4577
4313
|
"""
|
4578
4314
|
runtime = util_models.RuntimeOptions()
|
4579
4315
|
headers = {}
|
4580
|
-
return self.delete_agent_instance_config_with_options(
|
4316
|
+
return self.delete_agent_instance_config_with_options(config_type, request, headers, runtime)
|
4581
4317
|
|
4582
4318
|
async def delete_agent_instance_config_async(
|
4583
4319
|
self,
|
4584
|
-
|
4320
|
+
config_type: str,
|
4585
4321
|
request: sls_20201230_models.DeleteAgentInstanceConfigRequest,
|
4586
4322
|
) -> sls_20201230_models.DeleteAgentInstanceConfigResponse:
|
4587
4323
|
"""
|
@@ -4592,7 +4328,7 @@ class Client(OpenApiClient):
|
|
4592
4328
|
"""
|
4593
4329
|
runtime = util_models.RuntimeOptions()
|
4594
4330
|
headers = {}
|
4595
|
-
return await self.delete_agent_instance_config_with_options_async(
|
4331
|
+
return await self.delete_agent_instance_config_with_options_async(config_type, request, headers, runtime)
|
4596
4332
|
|
4597
4333
|
def delete_alert_with_options(
|
4598
4334
|
self,
|
@@ -5728,7 +5464,7 @@ class Client(OpenApiClient):
|
|
5728
5464
|
runtime: util_models.RuntimeOptions,
|
5729
5465
|
) -> sls_20201230_models.DeleteETLResponse:
|
5730
5466
|
"""
|
5731
|
-
@summary
|
5467
|
+
@summary Deletes a data transformation job.
|
5732
5468
|
|
5733
5469
|
@param headers: map
|
5734
5470
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -5764,7 +5500,7 @@ class Client(OpenApiClient):
|
|
5764
5500
|
runtime: util_models.RuntimeOptions,
|
5765
5501
|
) -> sls_20201230_models.DeleteETLResponse:
|
5766
5502
|
"""
|
5767
|
-
@summary
|
5503
|
+
@summary Deletes a data transformation job.
|
5768
5504
|
|
5769
5505
|
@param headers: map
|
5770
5506
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -5798,7 +5534,7 @@ class Client(OpenApiClient):
|
|
5798
5534
|
etl_name: str,
|
5799
5535
|
) -> sls_20201230_models.DeleteETLResponse:
|
5800
5536
|
"""
|
5801
|
-
@summary
|
5537
|
+
@summary Deletes a data transformation job.
|
5802
5538
|
|
5803
5539
|
@return: DeleteETLResponse
|
5804
5540
|
"""
|
@@ -5812,7 +5548,7 @@ class Client(OpenApiClient):
|
|
5812
5548
|
etl_name: str,
|
5813
5549
|
) -> sls_20201230_models.DeleteETLResponse:
|
5814
5550
|
"""
|
5815
|
-
@summary
|
5551
|
+
@summary Deletes a data transformation job.
|
5816
5552
|
|
5817
5553
|
@return: DeleteETLResponse
|
5818
5554
|
"""
|
@@ -5820,114 +5556,6 @@ class Client(OpenApiClient):
|
|
5820
5556
|
headers = {}
|
5821
5557
|
return await self.delete_etlwith_options_async(project, etl_name, headers, runtime)
|
5822
5558
|
|
5823
|
-
def delete_external_store_with_options(
|
5824
|
-
self,
|
5825
|
-
project: str,
|
5826
|
-
external_store_name: str,
|
5827
|
-
headers: Dict[str, str],
|
5828
|
-
runtime: util_models.RuntimeOptions,
|
5829
|
-
) -> sls_20201230_models.DeleteExternalStoreResponse:
|
5830
|
-
"""
|
5831
|
-
@summary Deletes an external storage configuration.
|
5832
|
-
|
5833
|
-
@description Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
5834
|
-
|
5835
|
-
@param headers: map
|
5836
|
-
@param runtime: runtime options for this request RuntimeOptions
|
5837
|
-
@return: DeleteExternalStoreResponse
|
5838
|
-
"""
|
5839
|
-
host_map = {}
|
5840
|
-
host_map['project'] = project
|
5841
|
-
req = open_api_models.OpenApiRequest(
|
5842
|
-
host_map=host_map,
|
5843
|
-
headers=headers
|
5844
|
-
)
|
5845
|
-
params = open_api_models.Params(
|
5846
|
-
action='DeleteExternalStore',
|
5847
|
-
version='2020-12-30',
|
5848
|
-
protocol='HTTPS',
|
5849
|
-
pathname=f'/externalstores/{external_store_name}',
|
5850
|
-
method='DELETE',
|
5851
|
-
auth_type='AK',
|
5852
|
-
style='ROA',
|
5853
|
-
req_body_type='json',
|
5854
|
-
body_type='none'
|
5855
|
-
)
|
5856
|
-
return TeaCore.from_map(
|
5857
|
-
sls_20201230_models.DeleteExternalStoreResponse(),
|
5858
|
-
self.execute(params, req, runtime)
|
5859
|
-
)
|
5860
|
-
|
5861
|
-
async def delete_external_store_with_options_async(
|
5862
|
-
self,
|
5863
|
-
project: str,
|
5864
|
-
external_store_name: str,
|
5865
|
-
headers: Dict[str, str],
|
5866
|
-
runtime: util_models.RuntimeOptions,
|
5867
|
-
) -> sls_20201230_models.DeleteExternalStoreResponse:
|
5868
|
-
"""
|
5869
|
-
@summary Deletes an external storage configuration.
|
5870
|
-
|
5871
|
-
@description Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
5872
|
-
|
5873
|
-
@param headers: map
|
5874
|
-
@param runtime: runtime options for this request RuntimeOptions
|
5875
|
-
@return: DeleteExternalStoreResponse
|
5876
|
-
"""
|
5877
|
-
host_map = {}
|
5878
|
-
host_map['project'] = project
|
5879
|
-
req = open_api_models.OpenApiRequest(
|
5880
|
-
host_map=host_map,
|
5881
|
-
headers=headers
|
5882
|
-
)
|
5883
|
-
params = open_api_models.Params(
|
5884
|
-
action='DeleteExternalStore',
|
5885
|
-
version='2020-12-30',
|
5886
|
-
protocol='HTTPS',
|
5887
|
-
pathname=f'/externalstores/{external_store_name}',
|
5888
|
-
method='DELETE',
|
5889
|
-
auth_type='AK',
|
5890
|
-
style='ROA',
|
5891
|
-
req_body_type='json',
|
5892
|
-
body_type='none'
|
5893
|
-
)
|
5894
|
-
return TeaCore.from_map(
|
5895
|
-
sls_20201230_models.DeleteExternalStoreResponse(),
|
5896
|
-
await self.execute_async(params, req, runtime)
|
5897
|
-
)
|
5898
|
-
|
5899
|
-
def delete_external_store(
|
5900
|
-
self,
|
5901
|
-
project: str,
|
5902
|
-
external_store_name: str,
|
5903
|
-
) -> sls_20201230_models.DeleteExternalStoreResponse:
|
5904
|
-
"""
|
5905
|
-
@summary Deletes an external storage configuration.
|
5906
|
-
|
5907
|
-
@description Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
5908
|
-
|
5909
|
-
@return: DeleteExternalStoreResponse
|
5910
|
-
"""
|
5911
|
-
runtime = util_models.RuntimeOptions()
|
5912
|
-
headers = {}
|
5913
|
-
return self.delete_external_store_with_options(project, external_store_name, headers, runtime)
|
5914
|
-
|
5915
|
-
async def delete_external_store_async(
|
5916
|
-
self,
|
5917
|
-
project: str,
|
5918
|
-
external_store_name: str,
|
5919
|
-
) -> sls_20201230_models.DeleteExternalStoreResponse:
|
5920
|
-
"""
|
5921
|
-
@summary Deletes an external storage configuration.
|
5922
|
-
|
5923
|
-
@description Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
5924
|
-
|
5925
|
-
@return: DeleteExternalStoreResponse
|
5926
|
-
"""
|
5927
|
-
runtime = util_models.RuntimeOptions()
|
5928
|
-
headers = {}
|
5929
|
-
return await self.delete_external_store_with_options_async(project, external_store_name, headers, runtime)
|
5930
|
-
|
5931
5559
|
def delete_index_with_options(
|
5932
5560
|
self,
|
5933
5561
|
project: str,
|
@@ -8256,25 +7884,32 @@ class Client(OpenApiClient):
|
|
8256
7884
|
|
8257
7885
|
def get_agent_instance_config_with_options(
|
8258
7886
|
self,
|
8259
|
-
|
7887
|
+
config_type: str,
|
7888
|
+
request: sls_20201230_models.GetAgentInstanceConfigRequest,
|
8260
7889
|
headers: Dict[str, str],
|
8261
7890
|
runtime: util_models.RuntimeOptions,
|
8262
7891
|
) -> sls_20201230_models.GetAgentInstanceConfigResponse:
|
8263
7892
|
"""
|
8264
7893
|
@summary GetAgentInstanceConfig
|
8265
7894
|
|
7895
|
+
@param request: GetAgentInstanceConfigRequest
|
8266
7896
|
@param headers: map
|
8267
7897
|
@param runtime: runtime options for this request RuntimeOptions
|
8268
7898
|
@return: GetAgentInstanceConfigResponse
|
8269
7899
|
"""
|
7900
|
+
UtilClient.validate_model(request)
|
7901
|
+
query = {}
|
7902
|
+
if not UtilClient.is_unset(request.attributes):
|
7903
|
+
query['attributes'] = request.attributes
|
8270
7904
|
req = open_api_models.OpenApiRequest(
|
8271
|
-
headers=headers
|
7905
|
+
headers=headers,
|
7906
|
+
query=OpenApiUtilClient.query(query)
|
8272
7907
|
)
|
8273
7908
|
params = open_api_models.Params(
|
8274
7909
|
action='GetAgentInstanceConfig',
|
8275
7910
|
version='2020-12-30',
|
8276
7911
|
protocol='HTTPS',
|
8277
|
-
pathname=f'/agentinstanceconfigs/{
|
7912
|
+
pathname=f'/agentinstanceconfigs/{config_type}',
|
8278
7913
|
method='GET',
|
8279
7914
|
auth_type='AK',
|
8280
7915
|
style='ROA',
|
@@ -8288,25 +7923,32 @@ class Client(OpenApiClient):
|
|
8288
7923
|
|
8289
7924
|
async def get_agent_instance_config_with_options_async(
|
8290
7925
|
self,
|
8291
|
-
|
7926
|
+
config_type: str,
|
7927
|
+
request: sls_20201230_models.GetAgentInstanceConfigRequest,
|
8292
7928
|
headers: Dict[str, str],
|
8293
7929
|
runtime: util_models.RuntimeOptions,
|
8294
7930
|
) -> sls_20201230_models.GetAgentInstanceConfigResponse:
|
8295
7931
|
"""
|
8296
7932
|
@summary GetAgentInstanceConfig
|
8297
7933
|
|
7934
|
+
@param request: GetAgentInstanceConfigRequest
|
8298
7935
|
@param headers: map
|
8299
7936
|
@param runtime: runtime options for this request RuntimeOptions
|
8300
7937
|
@return: GetAgentInstanceConfigResponse
|
8301
7938
|
"""
|
7939
|
+
UtilClient.validate_model(request)
|
7940
|
+
query = {}
|
7941
|
+
if not UtilClient.is_unset(request.attributes):
|
7942
|
+
query['attributes'] = request.attributes
|
8302
7943
|
req = open_api_models.OpenApiRequest(
|
8303
|
-
headers=headers
|
7944
|
+
headers=headers,
|
7945
|
+
query=OpenApiUtilClient.query(query)
|
8304
7946
|
)
|
8305
7947
|
params = open_api_models.Params(
|
8306
7948
|
action='GetAgentInstanceConfig',
|
8307
7949
|
version='2020-12-30',
|
8308
7950
|
protocol='HTTPS',
|
8309
|
-
pathname=f'/agentinstanceconfigs/{
|
7951
|
+
pathname=f'/agentinstanceconfigs/{config_type}',
|
8310
7952
|
method='GET',
|
8311
7953
|
auth_type='AK',
|
8312
7954
|
style='ROA',
|
@@ -8320,29 +7962,33 @@ class Client(OpenApiClient):
|
|
8320
7962
|
|
8321
7963
|
def get_agent_instance_config(
|
8322
7964
|
self,
|
8323
|
-
|
7965
|
+
config_type: str,
|
7966
|
+
request: sls_20201230_models.GetAgentInstanceConfigRequest,
|
8324
7967
|
) -> sls_20201230_models.GetAgentInstanceConfigResponse:
|
8325
7968
|
"""
|
8326
7969
|
@summary GetAgentInstanceConfig
|
8327
7970
|
|
7971
|
+
@param request: GetAgentInstanceConfigRequest
|
8328
7972
|
@return: GetAgentInstanceConfigResponse
|
8329
7973
|
"""
|
8330
7974
|
runtime = util_models.RuntimeOptions()
|
8331
7975
|
headers = {}
|
8332
|
-
return self.get_agent_instance_config_with_options(
|
7976
|
+
return self.get_agent_instance_config_with_options(config_type, request, headers, runtime)
|
8333
7977
|
|
8334
7978
|
async def get_agent_instance_config_async(
|
8335
7979
|
self,
|
8336
|
-
|
7980
|
+
config_type: str,
|
7981
|
+
request: sls_20201230_models.GetAgentInstanceConfigRequest,
|
8337
7982
|
) -> sls_20201230_models.GetAgentInstanceConfigResponse:
|
8338
7983
|
"""
|
8339
7984
|
@summary GetAgentInstanceConfig
|
8340
7985
|
|
7986
|
+
@param request: GetAgentInstanceConfigRequest
|
8341
7987
|
@return: GetAgentInstanceConfigResponse
|
8342
7988
|
"""
|
8343
7989
|
runtime = util_models.RuntimeOptions()
|
8344
7990
|
headers = {}
|
8345
|
-
return await self.get_agent_instance_config_with_options_async(
|
7991
|
+
return await self.get_agent_instance_config_with_options_async(config_type, request, headers, runtime)
|
8346
7992
|
|
8347
7993
|
def get_alert_with_options(
|
8348
7994
|
self,
|
@@ -9988,128 +9634,25 @@ class Client(OpenApiClient):
|
|
9988
9634
|
"""
|
9989
9635
|
@summary Queries the information about a download task.
|
9990
9636
|
|
9991
|
-
@return: GetDownloadJobResponse
|
9992
|
-
"""
|
9993
|
-
runtime = util_models.RuntimeOptions()
|
9994
|
-
headers = {}
|
9995
|
-
return await self.get_download_job_with_options_async(project, download_job_name, headers, runtime)
|
9996
|
-
|
9997
|
-
def get_etlwith_options(
|
9998
|
-
self,
|
9999
|
-
project: str,
|
10000
|
-
etl_name: str,
|
10001
|
-
headers: Dict[str, str],
|
10002
|
-
runtime: util_models.RuntimeOptions,
|
10003
|
-
) -> sls_20201230_models.GetETLResponse:
|
10004
|
-
"""
|
10005
|
-
@summary 获取数据加工任务信息
|
10006
|
-
|
10007
|
-
@param headers: map
|
10008
|
-
@param runtime: runtime options for this request RuntimeOptions
|
10009
|
-
@return: GetETLResponse
|
10010
|
-
"""
|
10011
|
-
host_map = {}
|
10012
|
-
host_map['project'] = project
|
10013
|
-
req = open_api_models.OpenApiRequest(
|
10014
|
-
host_map=host_map,
|
10015
|
-
headers=headers
|
10016
|
-
)
|
10017
|
-
params = open_api_models.Params(
|
10018
|
-
action='GetETL',
|
10019
|
-
version='2020-12-30',
|
10020
|
-
protocol='HTTPS',
|
10021
|
-
pathname=f'/etls/{etl_name}',
|
10022
|
-
method='GET',
|
10023
|
-
auth_type='AK',
|
10024
|
-
style='ROA',
|
10025
|
-
req_body_type='json',
|
10026
|
-
body_type='json'
|
10027
|
-
)
|
10028
|
-
return TeaCore.from_map(
|
10029
|
-
sls_20201230_models.GetETLResponse(),
|
10030
|
-
self.execute(params, req, runtime)
|
10031
|
-
)
|
10032
|
-
|
10033
|
-
async def get_etlwith_options_async(
|
10034
|
-
self,
|
10035
|
-
project: str,
|
10036
|
-
etl_name: str,
|
10037
|
-
headers: Dict[str, str],
|
10038
|
-
runtime: util_models.RuntimeOptions,
|
10039
|
-
) -> sls_20201230_models.GetETLResponse:
|
10040
|
-
"""
|
10041
|
-
@summary 获取数据加工任务信息
|
10042
|
-
|
10043
|
-
@param headers: map
|
10044
|
-
@param runtime: runtime options for this request RuntimeOptions
|
10045
|
-
@return: GetETLResponse
|
10046
|
-
"""
|
10047
|
-
host_map = {}
|
10048
|
-
host_map['project'] = project
|
10049
|
-
req = open_api_models.OpenApiRequest(
|
10050
|
-
host_map=host_map,
|
10051
|
-
headers=headers
|
10052
|
-
)
|
10053
|
-
params = open_api_models.Params(
|
10054
|
-
action='GetETL',
|
10055
|
-
version='2020-12-30',
|
10056
|
-
protocol='HTTPS',
|
10057
|
-
pathname=f'/etls/{etl_name}',
|
10058
|
-
method='GET',
|
10059
|
-
auth_type='AK',
|
10060
|
-
style='ROA',
|
10061
|
-
req_body_type='json',
|
10062
|
-
body_type='json'
|
10063
|
-
)
|
10064
|
-
return TeaCore.from_map(
|
10065
|
-
sls_20201230_models.GetETLResponse(),
|
10066
|
-
await self.execute_async(params, req, runtime)
|
10067
|
-
)
|
10068
|
-
|
10069
|
-
def get_etl(
|
10070
|
-
self,
|
10071
|
-
project: str,
|
10072
|
-
etl_name: str,
|
10073
|
-
) -> sls_20201230_models.GetETLResponse:
|
10074
|
-
"""
|
10075
|
-
@summary 获取数据加工任务信息
|
10076
|
-
|
10077
|
-
@return: GetETLResponse
|
10078
|
-
"""
|
10079
|
-
runtime = util_models.RuntimeOptions()
|
10080
|
-
headers = {}
|
10081
|
-
return self.get_etlwith_options(project, etl_name, headers, runtime)
|
10082
|
-
|
10083
|
-
async def get_etl_async(
|
10084
|
-
self,
|
10085
|
-
project: str,
|
10086
|
-
etl_name: str,
|
10087
|
-
) -> sls_20201230_models.GetETLResponse:
|
10088
|
-
"""
|
10089
|
-
@summary 获取数据加工任务信息
|
10090
|
-
|
10091
|
-
@return: GetETLResponse
|
9637
|
+
@return: GetDownloadJobResponse
|
10092
9638
|
"""
|
10093
9639
|
runtime = util_models.RuntimeOptions()
|
10094
9640
|
headers = {}
|
10095
|
-
return await self.
|
9641
|
+
return await self.get_download_job_with_options_async(project, download_job_name, headers, runtime)
|
10096
9642
|
|
10097
|
-
def
|
9643
|
+
def get_etlwith_options(
|
10098
9644
|
self,
|
10099
9645
|
project: str,
|
10100
|
-
|
9646
|
+
etl_name: str,
|
10101
9647
|
headers: Dict[str, str],
|
10102
9648
|
runtime: util_models.RuntimeOptions,
|
10103
|
-
) -> sls_20201230_models.
|
9649
|
+
) -> sls_20201230_models.GetETLResponse:
|
10104
9650
|
"""
|
10105
|
-
@summary Queries the
|
10106
|
-
|
10107
|
-
@description The supported data sources of external stores include Object Storage Service (OSS) buckets and ApsaraDB RDS for MySQL databases in a virtual private cloud (VPC).
|
10108
|
-
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
9651
|
+
@summary Queries the configurations of a data transformation job.
|
10109
9652
|
|
10110
9653
|
@param headers: map
|
10111
9654
|
@param runtime: runtime options for this request RuntimeOptions
|
10112
|
-
@return:
|
9655
|
+
@return: GetETLResponse
|
10113
9656
|
"""
|
10114
9657
|
host_map = {}
|
10115
9658
|
host_map['project'] = project
|
@@ -10118,10 +9661,10 @@ class Client(OpenApiClient):
|
|
10118
9661
|
headers=headers
|
10119
9662
|
)
|
10120
9663
|
params = open_api_models.Params(
|
10121
|
-
action='
|
9664
|
+
action='GetETL',
|
10122
9665
|
version='2020-12-30',
|
10123
9666
|
protocol='HTTPS',
|
10124
|
-
pathname=f'/
|
9667
|
+
pathname=f'/etls/{etl_name}',
|
10125
9668
|
method='GET',
|
10126
9669
|
auth_type='AK',
|
10127
9670
|
style='ROA',
|
@@ -10129,26 +9672,23 @@ class Client(OpenApiClient):
|
|
10129
9672
|
body_type='json'
|
10130
9673
|
)
|
10131
9674
|
return TeaCore.from_map(
|
10132
|
-
sls_20201230_models.
|
9675
|
+
sls_20201230_models.GetETLResponse(),
|
10133
9676
|
self.execute(params, req, runtime)
|
10134
9677
|
)
|
10135
9678
|
|
10136
|
-
async def
|
9679
|
+
async def get_etlwith_options_async(
|
10137
9680
|
self,
|
10138
9681
|
project: str,
|
10139
|
-
|
9682
|
+
etl_name: str,
|
10140
9683
|
headers: Dict[str, str],
|
10141
9684
|
runtime: util_models.RuntimeOptions,
|
10142
|
-
) -> sls_20201230_models.
|
9685
|
+
) -> sls_20201230_models.GetETLResponse:
|
10143
9686
|
"""
|
10144
|
-
@summary Queries the
|
10145
|
-
|
10146
|
-
@description The supported data sources of external stores include Object Storage Service (OSS) buckets and ApsaraDB RDS for MySQL databases in a virtual private cloud (VPC).
|
10147
|
-
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
9687
|
+
@summary Queries the configurations of a data transformation job.
|
10148
9688
|
|
10149
9689
|
@param headers: map
|
10150
9690
|
@param runtime: runtime options for this request RuntimeOptions
|
10151
|
-
@return:
|
9691
|
+
@return: GetETLResponse
|
10152
9692
|
"""
|
10153
9693
|
host_map = {}
|
10154
9694
|
host_map['project'] = project
|
@@ -10157,10 +9697,10 @@ class Client(OpenApiClient):
|
|
10157
9697
|
headers=headers
|
10158
9698
|
)
|
10159
9699
|
params = open_api_models.Params(
|
10160
|
-
action='
|
9700
|
+
action='GetETL',
|
10161
9701
|
version='2020-12-30',
|
10162
9702
|
protocol='HTTPS',
|
10163
|
-
pathname=f'/
|
9703
|
+
pathname=f'/etls/{etl_name}',
|
10164
9704
|
method='GET',
|
10165
9705
|
auth_type='AK',
|
10166
9706
|
style='ROA',
|
@@ -10168,43 +9708,37 @@ class Client(OpenApiClient):
|
|
10168
9708
|
body_type='json'
|
10169
9709
|
)
|
10170
9710
|
return TeaCore.from_map(
|
10171
|
-
sls_20201230_models.
|
9711
|
+
sls_20201230_models.GetETLResponse(),
|
10172
9712
|
await self.execute_async(params, req, runtime)
|
10173
9713
|
)
|
10174
9714
|
|
10175
|
-
def
|
9715
|
+
def get_etl(
|
10176
9716
|
self,
|
10177
9717
|
project: str,
|
10178
|
-
|
10179
|
-
) -> sls_20201230_models.
|
9718
|
+
etl_name: str,
|
9719
|
+
) -> sls_20201230_models.GetETLResponse:
|
10180
9720
|
"""
|
10181
|
-
@summary Queries the
|
10182
|
-
|
10183
|
-
@description The supported data sources of external stores include Object Storage Service (OSS) buckets and ApsaraDB RDS for MySQL databases in a virtual private cloud (VPC).
|
10184
|
-
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
9721
|
+
@summary Queries the configurations of a data transformation job.
|
10185
9722
|
|
10186
|
-
@return:
|
9723
|
+
@return: GetETLResponse
|
10187
9724
|
"""
|
10188
9725
|
runtime = util_models.RuntimeOptions()
|
10189
9726
|
headers = {}
|
10190
|
-
return self.
|
9727
|
+
return self.get_etlwith_options(project, etl_name, headers, runtime)
|
10191
9728
|
|
10192
|
-
async def
|
9729
|
+
async def get_etl_async(
|
10193
9730
|
self,
|
10194
9731
|
project: str,
|
10195
|
-
|
10196
|
-
) -> sls_20201230_models.
|
9732
|
+
etl_name: str,
|
9733
|
+
) -> sls_20201230_models.GetETLResponse:
|
10197
9734
|
"""
|
10198
|
-
@summary Queries the
|
9735
|
+
@summary Queries the configurations of a data transformation job.
|
10199
9736
|
|
10200
|
-
@
|
10201
|
-
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
10202
|
-
|
10203
|
-
@return: GetExternalStoreResponse
|
9737
|
+
@return: GetETLResponse
|
10204
9738
|
"""
|
10205
9739
|
runtime = util_models.RuntimeOptions()
|
10206
9740
|
headers = {}
|
10207
|
-
return await self.
|
9741
|
+
return await self.get_etlwith_options_async(project, etl_name, headers, runtime)
|
10208
9742
|
|
10209
9743
|
def get_histograms_with_options(
|
10210
9744
|
self,
|
@@ -13420,6 +12954,10 @@ class Client(OpenApiClient):
|
|
13420
12954
|
"""
|
13421
12955
|
UtilClient.validate_model(request)
|
13422
12956
|
query = {}
|
12957
|
+
if not UtilClient.is_unset(request.attributes):
|
12958
|
+
query['attributes'] = request.attributes
|
12959
|
+
if not UtilClient.is_unset(request.config_type):
|
12960
|
+
query['configType'] = request.config_type
|
13423
12961
|
if not UtilClient.is_unset(request.offset):
|
13424
12962
|
query['offset'] = request.offset
|
13425
12963
|
if not UtilClient.is_unset(request.size):
|
@@ -13460,6 +12998,10 @@ class Client(OpenApiClient):
|
|
13460
12998
|
"""
|
13461
12999
|
UtilClient.validate_model(request)
|
13462
13000
|
query = {}
|
13001
|
+
if not UtilClient.is_unset(request.attributes):
|
13002
|
+
query['attributes'] = request.attributes
|
13003
|
+
if not UtilClient.is_unset(request.config_type):
|
13004
|
+
query['configType'] = request.config_type
|
13463
13005
|
if not UtilClient.is_unset(request.offset):
|
13464
13006
|
query['offset'] = request.offset
|
13465
13007
|
if not UtilClient.is_unset(request.size):
|
@@ -14477,7 +14019,7 @@ class Client(OpenApiClient):
|
|
14477
14019
|
def list_dashboard_with_options(
|
14478
14020
|
self,
|
14479
14021
|
project: str,
|
14480
|
-
|
14022
|
+
tmp_req: sls_20201230_models.ListDashboardRequest,
|
14481
14023
|
headers: Dict[str, str],
|
14482
14024
|
runtime: util_models.RuntimeOptions,
|
14483
14025
|
) -> sls_20201230_models.ListDashboardResponse:
|
@@ -14490,19 +14032,29 @@ class Client(OpenApiClient):
|
|
14490
14032
|
The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a RAM user to call API operations or perform routine O\\&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](https://help.aliyun.com/document_detail/47664.html).
|
14491
14033
|
The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong and the region of the project. For more information, see [Manage a project](https://help.aliyun.com/document_detail/48984.html).
|
14492
14034
|
|
14493
|
-
@param
|
14035
|
+
@param tmp_req: ListDashboardRequest
|
14494
14036
|
@param headers: map
|
14495
14037
|
@param runtime: runtime options for this request RuntimeOptions
|
14496
14038
|
@return: ListDashboardResponse
|
14497
14039
|
"""
|
14498
|
-
UtilClient.validate_model(
|
14040
|
+
UtilClient.validate_model(tmp_req)
|
14499
14041
|
host_map = {}
|
14500
14042
|
host_map['project'] = project
|
14043
|
+
request = sls_20201230_models.ListDashboardShrinkRequest()
|
14044
|
+
OpenApiUtilClient.convert(tmp_req, request)
|
14045
|
+
if not UtilClient.is_unset(tmp_req.tags):
|
14046
|
+
request.tags_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.tags, 'tags', 'json')
|
14501
14047
|
query = {}
|
14048
|
+
if not UtilClient.is_unset(request.dashboard_name):
|
14049
|
+
query['dashboardName'] = request.dashboard_name
|
14050
|
+
if not UtilClient.is_unset(request.display_name):
|
14051
|
+
query['displayName'] = request.display_name
|
14502
14052
|
if not UtilClient.is_unset(request.offset):
|
14503
14053
|
query['offset'] = request.offset
|
14504
14054
|
if not UtilClient.is_unset(request.size):
|
14505
14055
|
query['size'] = request.size
|
14056
|
+
if not UtilClient.is_unset(request.tags_shrink):
|
14057
|
+
query['tags'] = request.tags_shrink
|
14506
14058
|
req = open_api_models.OpenApiRequest(
|
14507
14059
|
host_map=host_map,
|
14508
14060
|
headers=headers,
|
@@ -14527,7 +14079,7 @@ class Client(OpenApiClient):
|
|
14527
14079
|
async def list_dashboard_with_options_async(
|
14528
14080
|
self,
|
14529
14081
|
project: str,
|
14530
|
-
|
14082
|
+
tmp_req: sls_20201230_models.ListDashboardRequest,
|
14531
14083
|
headers: Dict[str, str],
|
14532
14084
|
runtime: util_models.RuntimeOptions,
|
14533
14085
|
) -> sls_20201230_models.ListDashboardResponse:
|
@@ -14540,19 +14092,29 @@ class Client(OpenApiClient):
|
|
14540
14092
|
The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a RAM user to call API operations or perform routine O\\&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](https://help.aliyun.com/document_detail/47664.html).
|
14541
14093
|
The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong and the region of the project. For more information, see [Manage a project](https://help.aliyun.com/document_detail/48984.html).
|
14542
14094
|
|
14543
|
-
@param
|
14095
|
+
@param tmp_req: ListDashboardRequest
|
14544
14096
|
@param headers: map
|
14545
14097
|
@param runtime: runtime options for this request RuntimeOptions
|
14546
14098
|
@return: ListDashboardResponse
|
14547
14099
|
"""
|
14548
|
-
UtilClient.validate_model(
|
14100
|
+
UtilClient.validate_model(tmp_req)
|
14549
14101
|
host_map = {}
|
14550
14102
|
host_map['project'] = project
|
14103
|
+
request = sls_20201230_models.ListDashboardShrinkRequest()
|
14104
|
+
OpenApiUtilClient.convert(tmp_req, request)
|
14105
|
+
if not UtilClient.is_unset(tmp_req.tags):
|
14106
|
+
request.tags_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.tags, 'tags', 'json')
|
14551
14107
|
query = {}
|
14108
|
+
if not UtilClient.is_unset(request.dashboard_name):
|
14109
|
+
query['dashboardName'] = request.dashboard_name
|
14110
|
+
if not UtilClient.is_unset(request.display_name):
|
14111
|
+
query['displayName'] = request.display_name
|
14552
14112
|
if not UtilClient.is_unset(request.offset):
|
14553
14113
|
query['offset'] = request.offset
|
14554
14114
|
if not UtilClient.is_unset(request.size):
|
14555
14115
|
query['size'] = request.size
|
14116
|
+
if not UtilClient.is_unset(request.tags_shrink):
|
14117
|
+
query['tags'] = request.tags_shrink
|
14556
14118
|
req = open_api_models.OpenApiRequest(
|
14557
14119
|
host_map=host_map,
|
14558
14120
|
headers=headers,
|
@@ -14880,7 +14442,7 @@ class Client(OpenApiClient):
|
|
14880
14442
|
runtime: util_models.RuntimeOptions,
|
14881
14443
|
) -> sls_20201230_models.ListETLsResponse:
|
14882
14444
|
"""
|
14883
|
-
@summary
|
14445
|
+
@summary Queries a list of data transformation jobs in a project.
|
14884
14446
|
|
14885
14447
|
@param request: ListETLsRequest
|
14886
14448
|
@param headers: map
|
@@ -14926,7 +14488,7 @@ class Client(OpenApiClient):
|
|
14926
14488
|
runtime: util_models.RuntimeOptions,
|
14927
14489
|
) -> sls_20201230_models.ListETLsResponse:
|
14928
14490
|
"""
|
14929
|
-
@summary
|
14491
|
+
@summary Queries a list of data transformation jobs in a project.
|
14930
14492
|
|
14931
14493
|
@param request: ListETLsRequest
|
14932
14494
|
@param headers: map
|
@@ -14970,7 +14532,7 @@ class Client(OpenApiClient):
|
|
14970
14532
|
request: sls_20201230_models.ListETLsRequest,
|
14971
14533
|
) -> sls_20201230_models.ListETLsResponse:
|
14972
14534
|
"""
|
14973
|
-
@summary
|
14535
|
+
@summary Queries a list of data transformation jobs in a project.
|
14974
14536
|
|
14975
14537
|
@param request: ListETLsRequest
|
14976
14538
|
@return: ListETLsResponse
|
@@ -14985,7 +14547,7 @@ class Client(OpenApiClient):
|
|
14985
14547
|
request: sls_20201230_models.ListETLsRequest,
|
14986
14548
|
) -> sls_20201230_models.ListETLsResponse:
|
14987
14549
|
"""
|
14988
|
-
@summary
|
14550
|
+
@summary Queries a list of data transformation jobs in a project.
|
14989
14551
|
|
14990
14552
|
@param request: ListETLsRequest
|
14991
14553
|
@return: ListETLsResponse
|
@@ -18666,7 +18228,7 @@ class Client(OpenApiClient):
|
|
18666
18228
|
runtime: util_models.RuntimeOptions,
|
18667
18229
|
) -> sls_20201230_models.StartETLResponse:
|
18668
18230
|
"""
|
18669
|
-
@summary
|
18231
|
+
@summary Starts a data transformation job.
|
18670
18232
|
|
18671
18233
|
@param headers: map
|
18672
18234
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -18702,7 +18264,7 @@ class Client(OpenApiClient):
|
|
18702
18264
|
runtime: util_models.RuntimeOptions,
|
18703
18265
|
) -> sls_20201230_models.StartETLResponse:
|
18704
18266
|
"""
|
18705
|
-
@summary
|
18267
|
+
@summary Starts a data transformation job.
|
18706
18268
|
|
18707
18269
|
@param headers: map
|
18708
18270
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -18736,7 +18298,7 @@ class Client(OpenApiClient):
|
|
18736
18298
|
etl_name: str,
|
18737
18299
|
) -> sls_20201230_models.StartETLResponse:
|
18738
18300
|
"""
|
18739
|
-
@summary
|
18301
|
+
@summary Starts a data transformation job.
|
18740
18302
|
|
18741
18303
|
@return: StartETLResponse
|
18742
18304
|
"""
|
@@ -18750,7 +18312,7 @@ class Client(OpenApiClient):
|
|
18750
18312
|
etl_name: str,
|
18751
18313
|
) -> sls_20201230_models.StartETLResponse:
|
18752
18314
|
"""
|
18753
|
-
@summary
|
18315
|
+
@summary Starts a data transformation job.
|
18754
18316
|
|
18755
18317
|
@return: StartETLResponse
|
18756
18318
|
"""
|
@@ -19186,7 +18748,7 @@ class Client(OpenApiClient):
|
|
19186
18748
|
runtime: util_models.RuntimeOptions,
|
19187
18749
|
) -> sls_20201230_models.StopETLResponse:
|
19188
18750
|
"""
|
19189
|
-
@summary
|
18751
|
+
@summary Stops a data transformation job.
|
19190
18752
|
|
19191
18753
|
@param headers: map
|
19192
18754
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -19222,7 +18784,7 @@ class Client(OpenApiClient):
|
|
19222
18784
|
runtime: util_models.RuntimeOptions,
|
19223
18785
|
) -> sls_20201230_models.StopETLResponse:
|
19224
18786
|
"""
|
19225
|
-
@summary
|
18787
|
+
@summary Stops a data transformation job.
|
19226
18788
|
|
19227
18789
|
@param headers: map
|
19228
18790
|
@param runtime: runtime options for this request RuntimeOptions
|
@@ -19256,7 +18818,7 @@ class Client(OpenApiClient):
|
|
19256
18818
|
etl_name: str,
|
19257
18819
|
) -> sls_20201230_models.StopETLResponse:
|
19258
18820
|
"""
|
19259
|
-
@summary
|
18821
|
+
@summary Stops a data transformation job.
|
19260
18822
|
|
19261
18823
|
@return: StopETLResponse
|
19262
18824
|
"""
|
@@ -19270,7 +18832,7 @@ class Client(OpenApiClient):
|
|
19270
18832
|
etl_name: str,
|
19271
18833
|
) -> sls_20201230_models.StopETLResponse:
|
19272
18834
|
"""
|
19273
|
-
@summary
|
18835
|
+
@summary Stops a data transformation job.
|
19274
18836
|
|
19275
18837
|
@return: StopETLResponse
|
19276
18838
|
"""
|
@@ -20020,7 +19582,7 @@ class Client(OpenApiClient):
|
|
20020
19582
|
|
20021
19583
|
def update_agent_instance_config_with_options(
|
20022
19584
|
self,
|
20023
|
-
|
19585
|
+
config_type: str,
|
20024
19586
|
request: sls_20201230_models.UpdateAgentInstanceConfigRequest,
|
20025
19587
|
headers: Dict[str, str],
|
20026
19588
|
runtime: util_models.RuntimeOptions,
|
@@ -20034,22 +19596,24 @@ class Client(OpenApiClient):
|
|
20034
19596
|
@return: UpdateAgentInstanceConfigResponse
|
20035
19597
|
"""
|
20036
19598
|
UtilClient.validate_model(request)
|
19599
|
+
query = {}
|
19600
|
+
if not UtilClient.is_unset(request.attributes):
|
19601
|
+
query['attributes'] = request.attributes
|
20037
19602
|
body = {}
|
20038
19603
|
if not UtilClient.is_unset(request.config):
|
20039
19604
|
body['config'] = request.config
|
20040
|
-
if not UtilClient.is_unset(request.
|
20041
|
-
body['
|
20042
|
-
if not UtilClient.is_unset(request.is_gray):
|
20043
|
-
body['isGray'] = request.is_gray
|
19605
|
+
if not UtilClient.is_unset(request.gray_configs):
|
19606
|
+
body['grayConfigs'] = request.gray_configs
|
20044
19607
|
req = open_api_models.OpenApiRequest(
|
20045
19608
|
headers=headers,
|
19609
|
+
query=OpenApiUtilClient.query(query),
|
20046
19610
|
body=OpenApiUtilClient.parse_to_map(body)
|
20047
19611
|
)
|
20048
19612
|
params = open_api_models.Params(
|
20049
19613
|
action='UpdateAgentInstanceConfig',
|
20050
19614
|
version='2020-12-30',
|
20051
19615
|
protocol='HTTPS',
|
20052
|
-
pathname=f'/agentinstanceconfigs/{
|
19616
|
+
pathname=f'/agentinstanceconfigs/{config_type}',
|
20053
19617
|
method='PUT',
|
20054
19618
|
auth_type='AK',
|
20055
19619
|
style='ROA',
|
@@ -20063,7 +19627,7 @@ class Client(OpenApiClient):
|
|
20063
19627
|
|
20064
19628
|
async def update_agent_instance_config_with_options_async(
|
20065
19629
|
self,
|
20066
|
-
|
19630
|
+
config_type: str,
|
20067
19631
|
request: sls_20201230_models.UpdateAgentInstanceConfigRequest,
|
20068
19632
|
headers: Dict[str, str],
|
20069
19633
|
runtime: util_models.RuntimeOptions,
|
@@ -20077,22 +19641,24 @@ class Client(OpenApiClient):
|
|
20077
19641
|
@return: UpdateAgentInstanceConfigResponse
|
20078
19642
|
"""
|
20079
19643
|
UtilClient.validate_model(request)
|
19644
|
+
query = {}
|
19645
|
+
if not UtilClient.is_unset(request.attributes):
|
19646
|
+
query['attributes'] = request.attributes
|
20080
19647
|
body = {}
|
20081
19648
|
if not UtilClient.is_unset(request.config):
|
20082
19649
|
body['config'] = request.config
|
20083
|
-
if not UtilClient.is_unset(request.
|
20084
|
-
body['
|
20085
|
-
if not UtilClient.is_unset(request.is_gray):
|
20086
|
-
body['isGray'] = request.is_gray
|
19650
|
+
if not UtilClient.is_unset(request.gray_configs):
|
19651
|
+
body['grayConfigs'] = request.gray_configs
|
20087
19652
|
req = open_api_models.OpenApiRequest(
|
20088
19653
|
headers=headers,
|
19654
|
+
query=OpenApiUtilClient.query(query),
|
20089
19655
|
body=OpenApiUtilClient.parse_to_map(body)
|
20090
19656
|
)
|
20091
19657
|
params = open_api_models.Params(
|
20092
19658
|
action='UpdateAgentInstanceConfig',
|
20093
19659
|
version='2020-12-30',
|
20094
19660
|
protocol='HTTPS',
|
20095
|
-
pathname=f'/agentinstanceconfigs/{
|
19661
|
+
pathname=f'/agentinstanceconfigs/{config_type}',
|
20096
19662
|
method='PUT',
|
20097
19663
|
auth_type='AK',
|
20098
19664
|
style='ROA',
|
@@ -20106,7 +19672,7 @@ class Client(OpenApiClient):
|
|
20106
19672
|
|
20107
19673
|
def update_agent_instance_config(
|
20108
19674
|
self,
|
20109
|
-
|
19675
|
+
config_type: str,
|
20110
19676
|
request: sls_20201230_models.UpdateAgentInstanceConfigRequest,
|
20111
19677
|
) -> sls_20201230_models.UpdateAgentInstanceConfigResponse:
|
20112
19678
|
"""
|
@@ -20117,11 +19683,11 @@ class Client(OpenApiClient):
|
|
20117
19683
|
"""
|
20118
19684
|
runtime = util_models.RuntimeOptions()
|
20119
19685
|
headers = {}
|
20120
|
-
return self.update_agent_instance_config_with_options(
|
19686
|
+
return self.update_agent_instance_config_with_options(config_type, request, headers, runtime)
|
20121
19687
|
|
20122
19688
|
async def update_agent_instance_config_async(
|
20123
19689
|
self,
|
20124
|
-
|
19690
|
+
config_type: str,
|
20125
19691
|
request: sls_20201230_models.UpdateAgentInstanceConfigRequest,
|
20126
19692
|
) -> sls_20201230_models.UpdateAgentInstanceConfigResponse:
|
20127
19693
|
"""
|
@@ -20132,7 +19698,7 @@ class Client(OpenApiClient):
|
|
20132
19698
|
"""
|
20133
19699
|
runtime = util_models.RuntimeOptions()
|
20134
19700
|
headers = {}
|
20135
|
-
return await self.update_agent_instance_config_with_options_async(
|
19701
|
+
return await self.update_agent_instance_config_with_options_async(config_type, request, headers, runtime)
|
20136
19702
|
|
20137
19703
|
def update_alert_with_options(
|
20138
19704
|
self,
|
@@ -20941,7 +20507,7 @@ class Client(OpenApiClient):
|
|
20941
20507
|
runtime: util_models.RuntimeOptions,
|
20942
20508
|
) -> sls_20201230_models.UpdateETLResponse:
|
20943
20509
|
"""
|
20944
|
-
@summary
|
20510
|
+
@summary Updates a data transformation job.
|
20945
20511
|
|
20946
20512
|
@param request: UpdateETLRequest
|
20947
20513
|
@param headers: map
|
@@ -20988,7 +20554,7 @@ class Client(OpenApiClient):
|
|
20988
20554
|
runtime: util_models.RuntimeOptions,
|
20989
20555
|
) -> sls_20201230_models.UpdateETLResponse:
|
20990
20556
|
"""
|
20991
|
-
@summary
|
20557
|
+
@summary Updates a data transformation job.
|
20992
20558
|
|
20993
20559
|
@param request: UpdateETLRequest
|
20994
20560
|
@param headers: map
|
@@ -21033,7 +20599,7 @@ class Client(OpenApiClient):
|
|
21033
20599
|
request: sls_20201230_models.UpdateETLRequest,
|
21034
20600
|
) -> sls_20201230_models.UpdateETLResponse:
|
21035
20601
|
"""
|
21036
|
-
@summary
|
20602
|
+
@summary Updates a data transformation job.
|
21037
20603
|
|
21038
20604
|
@param request: UpdateETLRequest
|
21039
20605
|
@return: UpdateETLResponse
|
@@ -21049,7 +20615,7 @@ class Client(OpenApiClient):
|
|
21049
20615
|
request: sls_20201230_models.UpdateETLRequest,
|
21050
20616
|
) -> sls_20201230_models.UpdateETLResponse:
|
21051
20617
|
"""
|
21052
|
-
@summary
|
20618
|
+
@summary Updates a data transformation job.
|
21053
20619
|
|
21054
20620
|
@param request: UpdateETLRequest
|
21055
20621
|
@return: UpdateETLResponse
|
@@ -23246,144 +22812,6 @@ class Client(OpenApiClient):
|
|
23246
22812
|
headers = {}
|
23247
22813
|
return await self.update_ossingestion_with_options_async(project, oss_ingestion_name, request, headers, runtime)
|
23248
22814
|
|
23249
|
-
def update_oss_external_store_with_options(
|
23250
|
-
self,
|
23251
|
-
project: str,
|
23252
|
-
external_store_name: str,
|
23253
|
-
request: sls_20201230_models.UpdateOssExternalStoreRequest,
|
23254
|
-
headers: Dict[str, str],
|
23255
|
-
runtime: util_models.RuntimeOptions,
|
23256
|
-
) -> sls_20201230_models.UpdateOssExternalStoreResponse:
|
23257
|
-
"""
|
23258
|
-
@summary Updates an Object Storage Service (OSS) external store.
|
23259
|
-
|
23260
|
-
@description ### [](#)Usage notes
|
23261
|
-
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
23262
|
-
|
23263
|
-
@param request: UpdateOssExternalStoreRequest
|
23264
|
-
@param headers: map
|
23265
|
-
@param runtime: runtime options for this request RuntimeOptions
|
23266
|
-
@return: UpdateOssExternalStoreResponse
|
23267
|
-
"""
|
23268
|
-
UtilClient.validate_model(request)
|
23269
|
-
host_map = {}
|
23270
|
-
host_map['project'] = project
|
23271
|
-
body = {}
|
23272
|
-
if not UtilClient.is_unset(request.external_store_name):
|
23273
|
-
body['externalStoreName'] = request.external_store_name
|
23274
|
-
if not UtilClient.is_unset(request.parameter):
|
23275
|
-
body['parameter'] = request.parameter
|
23276
|
-
if not UtilClient.is_unset(request.store_type):
|
23277
|
-
body['storeType'] = request.store_type
|
23278
|
-
req = open_api_models.OpenApiRequest(
|
23279
|
-
host_map=host_map,
|
23280
|
-
headers=headers,
|
23281
|
-
body=OpenApiUtilClient.parse_to_map(body)
|
23282
|
-
)
|
23283
|
-
params = open_api_models.Params(
|
23284
|
-
action='UpdateOssExternalStore',
|
23285
|
-
version='2020-12-30',
|
23286
|
-
protocol='HTTPS',
|
23287
|
-
pathname=f'/externalstores/{external_store_name}',
|
23288
|
-
method='PUT',
|
23289
|
-
auth_type='AK',
|
23290
|
-
style='ROA',
|
23291
|
-
req_body_type='json',
|
23292
|
-
body_type='none'
|
23293
|
-
)
|
23294
|
-
return TeaCore.from_map(
|
23295
|
-
sls_20201230_models.UpdateOssExternalStoreResponse(),
|
23296
|
-
self.execute(params, req, runtime)
|
23297
|
-
)
|
23298
|
-
|
23299
|
-
async def update_oss_external_store_with_options_async(
|
23300
|
-
self,
|
23301
|
-
project: str,
|
23302
|
-
external_store_name: str,
|
23303
|
-
request: sls_20201230_models.UpdateOssExternalStoreRequest,
|
23304
|
-
headers: Dict[str, str],
|
23305
|
-
runtime: util_models.RuntimeOptions,
|
23306
|
-
) -> sls_20201230_models.UpdateOssExternalStoreResponse:
|
23307
|
-
"""
|
23308
|
-
@summary Updates an Object Storage Service (OSS) external store.
|
23309
|
-
|
23310
|
-
@description ### [](#)Usage notes
|
23311
|
-
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
23312
|
-
|
23313
|
-
@param request: UpdateOssExternalStoreRequest
|
23314
|
-
@param headers: map
|
23315
|
-
@param runtime: runtime options for this request RuntimeOptions
|
23316
|
-
@return: UpdateOssExternalStoreResponse
|
23317
|
-
"""
|
23318
|
-
UtilClient.validate_model(request)
|
23319
|
-
host_map = {}
|
23320
|
-
host_map['project'] = project
|
23321
|
-
body = {}
|
23322
|
-
if not UtilClient.is_unset(request.external_store_name):
|
23323
|
-
body['externalStoreName'] = request.external_store_name
|
23324
|
-
if not UtilClient.is_unset(request.parameter):
|
23325
|
-
body['parameter'] = request.parameter
|
23326
|
-
if not UtilClient.is_unset(request.store_type):
|
23327
|
-
body['storeType'] = request.store_type
|
23328
|
-
req = open_api_models.OpenApiRequest(
|
23329
|
-
host_map=host_map,
|
23330
|
-
headers=headers,
|
23331
|
-
body=OpenApiUtilClient.parse_to_map(body)
|
23332
|
-
)
|
23333
|
-
params = open_api_models.Params(
|
23334
|
-
action='UpdateOssExternalStore',
|
23335
|
-
version='2020-12-30',
|
23336
|
-
protocol='HTTPS',
|
23337
|
-
pathname=f'/externalstores/{external_store_name}',
|
23338
|
-
method='PUT',
|
23339
|
-
auth_type='AK',
|
23340
|
-
style='ROA',
|
23341
|
-
req_body_type='json',
|
23342
|
-
body_type='none'
|
23343
|
-
)
|
23344
|
-
return TeaCore.from_map(
|
23345
|
-
sls_20201230_models.UpdateOssExternalStoreResponse(),
|
23346
|
-
await self.execute_async(params, req, runtime)
|
23347
|
-
)
|
23348
|
-
|
23349
|
-
def update_oss_external_store(
|
23350
|
-
self,
|
23351
|
-
project: str,
|
23352
|
-
external_store_name: str,
|
23353
|
-
request: sls_20201230_models.UpdateOssExternalStoreRequest,
|
23354
|
-
) -> sls_20201230_models.UpdateOssExternalStoreResponse:
|
23355
|
-
"""
|
23356
|
-
@summary Updates an Object Storage Service (OSS) external store.
|
23357
|
-
|
23358
|
-
@description ### [](#)Usage notes
|
23359
|
-
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
23360
|
-
|
23361
|
-
@param request: UpdateOssExternalStoreRequest
|
23362
|
-
@return: UpdateOssExternalStoreResponse
|
23363
|
-
"""
|
23364
|
-
runtime = util_models.RuntimeOptions()
|
23365
|
-
headers = {}
|
23366
|
-
return self.update_oss_external_store_with_options(project, external_store_name, request, headers, runtime)
|
23367
|
-
|
23368
|
-
async def update_oss_external_store_async(
|
23369
|
-
self,
|
23370
|
-
project: str,
|
23371
|
-
external_store_name: str,
|
23372
|
-
request: sls_20201230_models.UpdateOssExternalStoreRequest,
|
23373
|
-
) -> sls_20201230_models.UpdateOssExternalStoreResponse:
|
23374
|
-
"""
|
23375
|
-
@summary Updates an Object Storage Service (OSS) external store.
|
23376
|
-
|
23377
|
-
@description ### [](#)Usage notes
|
23378
|
-
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
23379
|
-
|
23380
|
-
@param request: UpdateOssExternalStoreRequest
|
23381
|
-
@return: UpdateOssExternalStoreResponse
|
23382
|
-
"""
|
23383
|
-
runtime = util_models.RuntimeOptions()
|
23384
|
-
headers = {}
|
23385
|
-
return await self.update_oss_external_store_with_options_async(project, external_store_name, request, headers, runtime)
|
23386
|
-
|
23387
22815
|
def update_project_with_options(
|
23388
22816
|
self,
|
23389
22817
|
project: str,
|
@@ -23542,144 +22970,6 @@ class Client(OpenApiClient):
|
|
23542
22970
|
headers = {}
|
23543
22971
|
return await self.update_project_with_options_async(project, request, headers, runtime)
|
23544
22972
|
|
23545
|
-
def update_rds_external_store_with_options(
|
23546
|
-
self,
|
23547
|
-
project: str,
|
23548
|
-
external_store_name: str,
|
23549
|
-
request: sls_20201230_models.UpdateRdsExternalStoreRequest,
|
23550
|
-
headers: Dict[str, str],
|
23551
|
-
runtime: util_models.RuntimeOptions,
|
23552
|
-
) -> sls_20201230_models.UpdateRdsExternalStoreResponse:
|
23553
|
-
"""
|
23554
|
-
@summary Updates an ApsaraDB RDS external store.
|
23555
|
-
|
23556
|
-
@description ### [](#)Usage notes
|
23557
|
-
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
23558
|
-
|
23559
|
-
@param request: UpdateRdsExternalStoreRequest
|
23560
|
-
@param headers: map
|
23561
|
-
@param runtime: runtime options for this request RuntimeOptions
|
23562
|
-
@return: UpdateRdsExternalStoreResponse
|
23563
|
-
"""
|
23564
|
-
UtilClient.validate_model(request)
|
23565
|
-
host_map = {}
|
23566
|
-
host_map['project'] = project
|
23567
|
-
body = {}
|
23568
|
-
if not UtilClient.is_unset(request.external_store_name):
|
23569
|
-
body['externalStoreName'] = request.external_store_name
|
23570
|
-
if not UtilClient.is_unset(request.parameter):
|
23571
|
-
body['parameter'] = request.parameter
|
23572
|
-
if not UtilClient.is_unset(request.store_type):
|
23573
|
-
body['storeType'] = request.store_type
|
23574
|
-
req = open_api_models.OpenApiRequest(
|
23575
|
-
host_map=host_map,
|
23576
|
-
headers=headers,
|
23577
|
-
body=OpenApiUtilClient.parse_to_map(body)
|
23578
|
-
)
|
23579
|
-
params = open_api_models.Params(
|
23580
|
-
action='UpdateRdsExternalStore',
|
23581
|
-
version='2020-12-30',
|
23582
|
-
protocol='HTTPS',
|
23583
|
-
pathname=f'/externalstores/{external_store_name}',
|
23584
|
-
method='PUT',
|
23585
|
-
auth_type='AK',
|
23586
|
-
style='ROA',
|
23587
|
-
req_body_type='json',
|
23588
|
-
body_type='none'
|
23589
|
-
)
|
23590
|
-
return TeaCore.from_map(
|
23591
|
-
sls_20201230_models.UpdateRdsExternalStoreResponse(),
|
23592
|
-
self.execute(params, req, runtime)
|
23593
|
-
)
|
23594
|
-
|
23595
|
-
async def update_rds_external_store_with_options_async(
|
23596
|
-
self,
|
23597
|
-
project: str,
|
23598
|
-
external_store_name: str,
|
23599
|
-
request: sls_20201230_models.UpdateRdsExternalStoreRequest,
|
23600
|
-
headers: Dict[str, str],
|
23601
|
-
runtime: util_models.RuntimeOptions,
|
23602
|
-
) -> sls_20201230_models.UpdateRdsExternalStoreResponse:
|
23603
|
-
"""
|
23604
|
-
@summary Updates an ApsaraDB RDS external store.
|
23605
|
-
|
23606
|
-
@description ### [](#)Usage notes
|
23607
|
-
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
23608
|
-
|
23609
|
-
@param request: UpdateRdsExternalStoreRequest
|
23610
|
-
@param headers: map
|
23611
|
-
@param runtime: runtime options for this request RuntimeOptions
|
23612
|
-
@return: UpdateRdsExternalStoreResponse
|
23613
|
-
"""
|
23614
|
-
UtilClient.validate_model(request)
|
23615
|
-
host_map = {}
|
23616
|
-
host_map['project'] = project
|
23617
|
-
body = {}
|
23618
|
-
if not UtilClient.is_unset(request.external_store_name):
|
23619
|
-
body['externalStoreName'] = request.external_store_name
|
23620
|
-
if not UtilClient.is_unset(request.parameter):
|
23621
|
-
body['parameter'] = request.parameter
|
23622
|
-
if not UtilClient.is_unset(request.store_type):
|
23623
|
-
body['storeType'] = request.store_type
|
23624
|
-
req = open_api_models.OpenApiRequest(
|
23625
|
-
host_map=host_map,
|
23626
|
-
headers=headers,
|
23627
|
-
body=OpenApiUtilClient.parse_to_map(body)
|
23628
|
-
)
|
23629
|
-
params = open_api_models.Params(
|
23630
|
-
action='UpdateRdsExternalStore',
|
23631
|
-
version='2020-12-30',
|
23632
|
-
protocol='HTTPS',
|
23633
|
-
pathname=f'/externalstores/{external_store_name}',
|
23634
|
-
method='PUT',
|
23635
|
-
auth_type='AK',
|
23636
|
-
style='ROA',
|
23637
|
-
req_body_type='json',
|
23638
|
-
body_type='none'
|
23639
|
-
)
|
23640
|
-
return TeaCore.from_map(
|
23641
|
-
sls_20201230_models.UpdateRdsExternalStoreResponse(),
|
23642
|
-
await self.execute_async(params, req, runtime)
|
23643
|
-
)
|
23644
|
-
|
23645
|
-
def update_rds_external_store(
|
23646
|
-
self,
|
23647
|
-
project: str,
|
23648
|
-
external_store_name: str,
|
23649
|
-
request: sls_20201230_models.UpdateRdsExternalStoreRequest,
|
23650
|
-
) -> sls_20201230_models.UpdateRdsExternalStoreResponse:
|
23651
|
-
"""
|
23652
|
-
@summary Updates an ApsaraDB RDS external store.
|
23653
|
-
|
23654
|
-
@description ### [](#)Usage notes
|
23655
|
-
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
23656
|
-
|
23657
|
-
@param request: UpdateRdsExternalStoreRequest
|
23658
|
-
@return: UpdateRdsExternalStoreResponse
|
23659
|
-
"""
|
23660
|
-
runtime = util_models.RuntimeOptions()
|
23661
|
-
headers = {}
|
23662
|
-
return self.update_rds_external_store_with_options(project, external_store_name, request, headers, runtime)
|
23663
|
-
|
23664
|
-
async def update_rds_external_store_async(
|
23665
|
-
self,
|
23666
|
-
project: str,
|
23667
|
-
external_store_name: str,
|
23668
|
-
request: sls_20201230_models.UpdateRdsExternalStoreRequest,
|
23669
|
-
) -> sls_20201230_models.UpdateRdsExternalStoreResponse:
|
23670
|
-
"""
|
23671
|
-
@summary Updates an ApsaraDB RDS external store.
|
23672
|
-
|
23673
|
-
@description ### [](#)Usage notes
|
23674
|
-
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
|
23675
|
-
|
23676
|
-
@param request: UpdateRdsExternalStoreRequest
|
23677
|
-
@return: UpdateRdsExternalStoreResponse
|
23678
|
-
"""
|
23679
|
-
runtime = util_models.RuntimeOptions()
|
23680
|
-
headers = {}
|
23681
|
-
return await self.update_rds_external_store_with_options_async(project, external_store_name, request, headers, runtime)
|
23682
|
-
|
23683
22973
|
def update_saved_search_with_options(
|
23684
22974
|
self,
|
23685
22975
|
project: str,
|