Skip to content

Commit 3977503

Browse files
committed
Complete Request Body.
1 parent aff813b commit 3977503

File tree

2 files changed

+56
-5
lines changed

2 files changed

+56
-5
lines changed

elasticsearch-20170613/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@alicloud/elasticsearch20170613",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"description": "",
55
"main": "dist/client.js",
66
"scripts": {

elasticsearch-20170613/src/client.ts

Lines changed: 55 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10657,18 +10657,18 @@ export class UntagResourcesResponse extends $tea.Model {
1065710657
}
1065810658

1065910659
export class UpdateAdminPasswordRequest extends $tea.Model {
10660-
body?: string;
10660+
esAdminPassword?: string;
1066110661
clientToken?: string;
1066210662
static names(): { [key: string]: string } {
1066310663
return {
10664-
body: 'body',
10664+
esAdminPassword: 'esAdminPassword',
1066510665
clientToken: 'clientToken',
1066610666
};
1066710667
}
1066810668

1066910669
static types(): { [key: string]: any } {
1067010670
return {
10671-
body: 'string',
10671+
esAdminPassword: 'string',
1067210672
clientToken: 'string',
1067310673
};
1067410674
}
@@ -10680,15 +10680,18 @@ export class UpdateAdminPasswordRequest extends $tea.Model {
1068010680

1068110681
export class UpdateAdminPasswordResponseBody extends $tea.Model {
1068210682
requestId?: string;
10683+
result?: boolean;
1068310684
static names(): { [key: string]: string } {
1068410685
return {
1068510686
requestId: 'RequestId',
10687+
result: 'Result',
1068610688
};
1068710689
}
1068810690

1068910691
static types(): { [key: string]: any } {
1069010692
return {
1069110693
requestId: 'string',
10694+
result: 'boolean',
1069210695
};
1069310696
}
1069410697

@@ -15038,19 +15041,50 @@ export class DescribeInstanceResponseBodyResultElasticDataNodeConfiguration exte
1503815041
}
1503915042
}
1504015043

15044+
export class DescribeInstanceResponseBodyResultIkHotDicts extends $tea.Model {
15045+
fileSize?: number;
15046+
name?: string;
15047+
sourceType?: string;
15048+
type?: string;
15049+
static names(): { [key: string]: string } {
15050+
return {
15051+
fileSize: 'fileSize',
15052+
name: 'name',
15053+
sourceType: 'sourceType',
15054+
type: 'type',
15055+
};
15056+
}
15057+
15058+
static types(): { [key: string]: any } {
15059+
return {
15060+
fileSize: 'number',
15061+
name: 'string',
15062+
sourceType: 'string',
15063+
type: 'string',
15064+
};
15065+
}
15066+
15067+
constructor(map?: { [key: string]: any }) {
15068+
super(map);
15069+
}
15070+
}
15071+
1504115072
export class DescribeInstanceResponseBodyResultKibanaConfiguration extends $tea.Model {
1504215073
amount?: number;
15074+
disk?: number;
1504315075
spec?: string;
1504415076
static names(): { [key: string]: string } {
1504515077
return {
1504615078
amount: 'amount',
15079+
disk: 'disk',
1504715080
spec: 'spec',
1504815081
};
1504915082
}
1505015083

1505115084
static types(): { [key: string]: any } {
1505215085
return {
1505315086
amount: 'number',
15087+
disk: 'number',
1505415088
spec: 'string',
1505515089
};
1505615090
}
@@ -15148,12 +15182,14 @@ export class DescribeInstanceResponseBodyResultNodeSpec extends $tea.Model {
1514815182
disk?: number;
1514915183
diskEncryption?: boolean;
1515015184
diskType?: string;
15185+
performanceLevel?: string;
1515115186
spec?: string;
1515215187
static names(): { [key: string]: string } {
1515315188
return {
1515415189
disk: 'disk',
1515515190
diskEncryption: 'diskEncryption',
1515615191
diskType: 'diskType',
15192+
performanceLevel: 'performanceLevel',
1515715193
spec: 'spec',
1515815194
};
1515915195
}
@@ -15163,6 +15199,7 @@ export class DescribeInstanceResponseBodyResultNodeSpec extends $tea.Model {
1516315199
disk: 'number',
1516415200
diskEncryption: 'boolean',
1516515201
diskType: 'string',
15202+
performanceLevel: 'string',
1516615203
spec: 'string',
1516715204
};
1516815205
}
@@ -15296,6 +15333,7 @@ export class DescribeInstanceResponseBodyResult extends $tea.Model {
1529615333
extendConfigs?: { [key: string]: any }[];
1529715334
haveClientNode?: boolean;
1529815335
haveKibana?: boolean;
15336+
ikHotDicts?: DescribeInstanceResponseBodyResultIkHotDicts[];
1529915337
instanceId?: string;
1530015338
isNewDeployment?: boolean;
1530115339
kibanaConfiguration?: DescribeInstanceResponseBodyResultKibanaConfiguration;
@@ -15348,6 +15386,7 @@ export class DescribeInstanceResponseBodyResult extends $tea.Model {
1534815386
extendConfigs: 'extendConfigs',
1534915387
haveClientNode: 'haveClientNode',
1535015388
haveKibana: 'haveKibana',
15389+
ikHotDicts: 'ikHotDicts',
1535115390
instanceId: 'instanceId',
1535215391
isNewDeployment: 'isNewDeployment',
1535315392
kibanaConfiguration: 'kibanaConfiguration',
@@ -15403,6 +15442,7 @@ export class DescribeInstanceResponseBodyResult extends $tea.Model {
1540315442
extendConfigs: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'any' } },
1540415443
haveClientNode: 'boolean',
1540515444
haveKibana: 'boolean',
15445+
ikHotDicts: { 'type': 'array', 'itemType': DescribeInstanceResponseBodyResultIkHotDicts },
1540615446
instanceId: 'string',
1540715447
isNewDeployment: 'boolean',
1540815448
kibanaConfiguration: DescribeInstanceResponseBodyResultKibanaConfiguration,
@@ -18452,12 +18492,14 @@ export class ListInstanceResponseBodyResultNodeSpec extends $tea.Model {
1845218492
disk?: number;
1845318493
diskEncryption?: boolean;
1845418494
diskType?: string;
18495+
performanceLevel?: string;
1845518496
spec?: string;
1845618497
static names(): { [key: string]: string } {
1845718498
return {
1845818499
disk: 'disk',
1845918500
diskEncryption: 'diskEncryption',
1846018501
diskType: 'diskType',
18502+
performanceLevel: 'performanceLevel',
1846118503
spec: 'spec',
1846218504
};
1846318505
}
@@ -18467,6 +18509,7 @@ export class ListInstanceResponseBodyResultNodeSpec extends $tea.Model {
1846718509
disk: 'number',
1846818510
diskEncryption: 'boolean',
1846918511
diskType: 'string',
18512+
performanceLevel: 'string',
1847018513
spec: 'string',
1847118514
};
1847218515
}
@@ -18521,6 +18564,7 @@ export class ListInstanceResponseBodyResult extends $tea.Model {
1852118564
status?: string;
1852218565
tags?: ListInstanceResponseBodyResultTags[];
1852318566
updatedAt?: string;
18567+
vpcInstanceId?: string;
1852418568
static names(): { [key: string]: string } {
1852518569
return {
1852618570
advancedDedicateMaster: 'advancedDedicateMaster',
@@ -18545,6 +18589,7 @@ export class ListInstanceResponseBodyResult extends $tea.Model {
1854518589
status: 'status',
1854618590
tags: 'tags',
1854718591
updatedAt: 'updatedAt',
18592+
vpcInstanceId: 'vpcInstanceId',
1854818593
};
1854918594
}
1855018595

@@ -18572,6 +18617,7 @@ export class ListInstanceResponseBodyResult extends $tea.Model {
1857218617
status: 'string',
1857318618
tags: { 'type': 'array', 'itemType': ListInstanceResponseBodyResultTags },
1857418619
updatedAt: 'string',
18620+
vpcInstanceId: 'string',
1857518621
};
1857618622
}
1857718623

@@ -26360,10 +26406,15 @@ export default class Client extends OpenApi {
2636026406
query["clientToken"] = request.clientToken;
2636126407
}
2636226408

26409+
let body : {[key: string ]: any} = { };
26410+
if (!Util.isUnset(request.esAdminPassword)) {
26411+
body["esAdminPassword"] = request.esAdminPassword;
26412+
}
26413+
2636326414
let req = new $OpenApi.OpenApiRequest({
2636426415
headers: headers,
2636526416
query: OpenApiUtil.query(query),
26366-
body: request.body,
26417+
body: OpenApiUtil.parseToMap(body),
2636726418
});
2636826419
let params = new $OpenApi.Params({
2636926420
action: "UpdateAdminPassword",

0 commit comments

Comments
 (0)