@alicloud/sddp20190103 1.3.0 → 1.4.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/sddp20190103",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
@@ -21,7 +21,7 @@
21
21
  "dependencies": {
22
22
  "@alicloud/tea-typescript": "^1.7.1",
23
23
  "@alicloud/tea-util": "^1.4.9",
24
- "@alicloud/openapi-client": "^0.4.11",
24
+ "@alicloud/openapi-client": "^0.4.12",
25
25
  "@alicloud/openapi-util": "^0.3.2",
26
26
  "@alicloud/endpoint-util": "^0.0.1"
27
27
  },
package/src/client.ts CHANGED
@@ -4427,6 +4427,90 @@ export class DescribeEventsResponse extends $tea.Model {
4427
4427
  }
4428
4428
  }
4429
4429
 
4430
+ export class DescribeIdentifyTaskStatusRequest extends $tea.Model {
4431
+ /**
4432
+ * @remarks
4433
+ * This parameter is required.
4434
+ *
4435
+ * @example
4436
+ * 268
4437
+ */
4438
+ id?: number;
4439
+ /**
4440
+ * @example
4441
+ * zh_cn
4442
+ */
4443
+ lang?: string;
4444
+ static names(): { [key: string]: string } {
4445
+ return {
4446
+ id: 'Id',
4447
+ lang: 'Lang',
4448
+ };
4449
+ }
4450
+
4451
+ static types(): { [key: string]: any } {
4452
+ return {
4453
+ id: 'number',
4454
+ lang: 'string',
4455
+ };
4456
+ }
4457
+
4458
+ constructor(map?: { [key: string]: any }) {
4459
+ super(map);
4460
+ }
4461
+ }
4462
+
4463
+ export class DescribeIdentifyTaskStatusResponseBody extends $tea.Model {
4464
+ content?: DescribeIdentifyTaskStatusResponseBodyContent;
4465
+ /**
4466
+ * @example
4467
+ * 71064826-726F-4ADA-B879-05D8055476FB
4468
+ */
4469
+ requestId?: string;
4470
+ static names(): { [key: string]: string } {
4471
+ return {
4472
+ content: 'Content',
4473
+ requestId: 'RequestId',
4474
+ };
4475
+ }
4476
+
4477
+ static types(): { [key: string]: any } {
4478
+ return {
4479
+ content: DescribeIdentifyTaskStatusResponseBodyContent,
4480
+ requestId: 'string',
4481
+ };
4482
+ }
4483
+
4484
+ constructor(map?: { [key: string]: any }) {
4485
+ super(map);
4486
+ }
4487
+ }
4488
+
4489
+ export class DescribeIdentifyTaskStatusResponse extends $tea.Model {
4490
+ headers?: { [key: string]: string };
4491
+ statusCode?: number;
4492
+ body?: DescribeIdentifyTaskStatusResponseBody;
4493
+ static names(): { [key: string]: string } {
4494
+ return {
4495
+ headers: 'headers',
4496
+ statusCode: 'statusCode',
4497
+ body: 'body',
4498
+ };
4499
+ }
4500
+
4501
+ static types(): { [key: string]: any } {
4502
+ return {
4503
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4504
+ statusCode: 'number',
4505
+ body: DescribeIdentifyTaskStatusResponseBody,
4506
+ };
4507
+ }
4508
+
4509
+ constructor(map?: { [key: string]: any }) {
4510
+ super(map);
4511
+ }
4512
+ }
4513
+
4430
4514
  export class DescribeInstanceSourcesRequest extends $tea.Model {
4431
4515
  /**
4432
4516
  * @remarks
@@ -12173,6 +12257,25 @@ export class DescribeEventsResponseBodyItems extends $tea.Model {
12173
12257
  }
12174
12258
  }
12175
12259
 
12260
+ export class DescribeIdentifyTaskStatusResponseBodyContent extends $tea.Model {
12261
+ status?: number;
12262
+ static names(): { [key: string]: string } {
12263
+ return {
12264
+ status: 'Status',
12265
+ };
12266
+ }
12267
+
12268
+ static types(): { [key: string]: any } {
12269
+ return {
12270
+ status: 'number',
12271
+ };
12272
+ }
12273
+
12274
+ constructor(map?: { [key: string]: any }) {
12275
+ super(map);
12276
+ }
12277
+ }
12278
+
12176
12279
  export class DescribeInstanceSourcesResponseBodyItems extends $tea.Model {
12177
12280
  /**
12178
12281
  * @remarks
@@ -12559,6 +12662,7 @@ export class DescribeInstancesResponseBodyItems extends $tea.Model {
12559
12662
  * 1637622793000
12560
12663
  */
12561
12664
  lastFinishTime?: number;
12665
+ memberAliUid?: string;
12562
12666
  /**
12563
12667
  * @remarks
12564
12668
  * A list of tags.
@@ -12694,6 +12798,7 @@ export class DescribeInstancesResponseBodyItems extends $tea.Model {
12694
12798
  instanceDescription: 'InstanceDescription',
12695
12799
  labelsec: 'Labelsec',
12696
12800
  lastFinishTime: 'LastFinishTime',
12801
+ memberAliUid: 'MemberAliUid',
12697
12802
  modelTags: 'ModelTags',
12698
12803
  name: 'Name',
12699
12804
  odpsRiskLevelName: 'OdpsRiskLevelName',
@@ -12719,6 +12824,7 @@ export class DescribeInstancesResponseBodyItems extends $tea.Model {
12719
12824
  instanceDescription: 'string',
12720
12825
  labelsec: 'boolean',
12721
12826
  lastFinishTime: 'number',
12827
+ memberAliUid: 'string',
12722
12828
  modelTags: { 'type': 'array', 'itemType': DescribeInstancesResponseBodyItemsModelTags },
12723
12829
  name: 'string',
12724
12830
  odpsRiskLevelName: 'string',
@@ -13032,30 +13138,42 @@ export class DescribeOssObjectDetailV2ResponseBodyOssObjectDetail extends $tea.M
13032
13138
  * Excel file
13033
13139
  */
13034
13140
  categoryName?: string;
13141
+ fileCategoryName?: string;
13142
+ id?: string;
13143
+ modelTagIds?: string;
13035
13144
  /**
13036
13145
  * @example
13037
13146
  * obj_id
13038
13147
  */
13039
13148
  name?: string;
13149
+ objectAcl?: string;
13040
13150
  /**
13041
13151
  * @example
13042
13152
  * cn-zhangjiakou
13043
13153
  */
13044
13154
  regionId?: string;
13155
+ riskLevelId?: number;
13045
13156
  /**
13046
13157
  * @example
13047
13158
  * S1
13048
13159
  */
13049
13160
  riskLevelName?: string;
13050
13161
  ruleList?: DescribeOssObjectDetailV2ResponseBodyOssObjectDetailRuleList[];
13162
+ size?: number;
13051
13163
  static names(): { [key: string]: string } {
13052
13164
  return {
13053
13165
  bucketName: 'BucketName',
13054
13166
  categoryName: 'CategoryName',
13167
+ fileCategoryName: 'FileCategoryName',
13168
+ id: 'Id',
13169
+ modelTagIds: 'ModelTagIds',
13055
13170
  name: 'Name',
13171
+ objectAcl: 'ObjectAcl',
13056
13172
  regionId: 'RegionId',
13173
+ riskLevelId: 'RiskLevelId',
13057
13174
  riskLevelName: 'RiskLevelName',
13058
13175
  ruleList: 'RuleList',
13176
+ size: 'Size',
13059
13177
  };
13060
13178
  }
13061
13179
 
@@ -13063,10 +13181,16 @@ export class DescribeOssObjectDetailV2ResponseBodyOssObjectDetail extends $tea.M
13063
13181
  return {
13064
13182
  bucketName: 'string',
13065
13183
  categoryName: 'string',
13184
+ fileCategoryName: 'string',
13185
+ id: 'string',
13186
+ modelTagIds: 'string',
13066
13187
  name: 'string',
13188
+ objectAcl: 'string',
13067
13189
  regionId: 'string',
13190
+ riskLevelId: 'number',
13068
13191
  riskLevelName: 'string',
13069
13192
  ruleList: { 'type': 'array', 'itemType': DescribeOssObjectDetailV2ResponseBodyOssObjectDetailRuleList },
13193
+ size: 'number',
13070
13194
  };
13071
13195
  }
13072
13196
 
@@ -16432,6 +16556,44 @@ export default class Client extends OpenApi {
16432
16556
  return await this.describeEventsWithOptions(request, runtime);
16433
16557
  }
16434
16558
 
16559
+ /**
16560
+ * 查询识别任务状态
16561
+ *
16562
+ * @param request - DescribeIdentifyTaskStatusRequest
16563
+ * @param runtime - runtime options for this request RuntimeOptions
16564
+ * @returns DescribeIdentifyTaskStatusResponse
16565
+ */
16566
+ async describeIdentifyTaskStatusWithOptions(request: DescribeIdentifyTaskStatusRequest, runtime: $Util.RuntimeOptions): Promise<DescribeIdentifyTaskStatusResponse> {
16567
+ Util.validateModel(request);
16568
+ let query = OpenApiUtil.query(Util.toMap(request));
16569
+ let req = new $OpenApi.OpenApiRequest({
16570
+ query: OpenApiUtil.query(query),
16571
+ });
16572
+ let params = new $OpenApi.Params({
16573
+ action: "DescribeIdentifyTaskStatus",
16574
+ version: "2019-01-03",
16575
+ protocol: "HTTPS",
16576
+ pathname: "/",
16577
+ method: "GET",
16578
+ authType: "AK",
16579
+ style: "RPC",
16580
+ reqBodyType: "formData",
16581
+ bodyType: "json",
16582
+ });
16583
+ return $tea.cast<DescribeIdentifyTaskStatusResponse>(await this.callApi(params, req, runtime), new DescribeIdentifyTaskStatusResponse({}));
16584
+ }
16585
+
16586
+ /**
16587
+ * 查询识别任务状态
16588
+ *
16589
+ * @param request - DescribeIdentifyTaskStatusRequest
16590
+ * @returns DescribeIdentifyTaskStatusResponse
16591
+ */
16592
+ async describeIdentifyTaskStatus(request: DescribeIdentifyTaskStatusRequest): Promise<DescribeIdentifyTaskStatusResponse> {
16593
+ let runtime = new $Util.RuntimeOptions({ });
16594
+ return await this.describeIdentifyTaskStatusWithOptions(request, runtime);
16595
+ }
16596
+
16435
16597
  /**
16436
16598
  * Queries a list of data assets.
16437
16599
  *