@alicloud/ga20191120 1.0.15 → 1.0.16

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/dist/client.js CHANGED
@@ -1161,6 +1161,80 @@ class CreateBasicAcceleratorResponse extends $tea.Model {
1161
1161
  }
1162
1162
  }
1163
1163
  exports.CreateBasicAcceleratorResponse = CreateBasicAcceleratorResponse;
1164
+ class CreateBasicEndpointRequest extends $tea.Model {
1165
+ constructor(map) {
1166
+ super(map);
1167
+ }
1168
+ static names() {
1169
+ return {
1170
+ acceleratorId: 'AcceleratorId',
1171
+ clientToken: 'ClientToken',
1172
+ endpointAddress: 'EndpointAddress',
1173
+ endpointGroupId: 'EndpointGroupId',
1174
+ endpointSubAddress: 'EndpointSubAddress',
1175
+ endpointSubAddressType: 'EndpointSubAddressType',
1176
+ endpointType: 'EndpointType',
1177
+ endpointZoneId: 'EndpointZoneId',
1178
+ name: 'Name',
1179
+ regionId: 'RegionId',
1180
+ };
1181
+ }
1182
+ static types() {
1183
+ return {
1184
+ acceleratorId: 'string',
1185
+ clientToken: 'string',
1186
+ endpointAddress: 'string',
1187
+ endpointGroupId: 'string',
1188
+ endpointSubAddress: 'string',
1189
+ endpointSubAddressType: 'string',
1190
+ endpointType: 'string',
1191
+ endpointZoneId: 'string',
1192
+ name: 'string',
1193
+ regionId: 'string',
1194
+ };
1195
+ }
1196
+ }
1197
+ exports.CreateBasicEndpointRequest = CreateBasicEndpointRequest;
1198
+ class CreateBasicEndpointResponseBody extends $tea.Model {
1199
+ constructor(map) {
1200
+ super(map);
1201
+ }
1202
+ static names() {
1203
+ return {
1204
+ endpointGroupId: 'EndpointGroupId',
1205
+ endpointId: 'EndpointId',
1206
+ requestId: 'RequestId',
1207
+ };
1208
+ }
1209
+ static types() {
1210
+ return {
1211
+ endpointGroupId: 'string',
1212
+ endpointId: 'string',
1213
+ requestId: 'string',
1214
+ };
1215
+ }
1216
+ }
1217
+ exports.CreateBasicEndpointResponseBody = CreateBasicEndpointResponseBody;
1218
+ class CreateBasicEndpointResponse extends $tea.Model {
1219
+ constructor(map) {
1220
+ super(map);
1221
+ }
1222
+ static names() {
1223
+ return {
1224
+ headers: 'headers',
1225
+ statusCode: 'statusCode',
1226
+ body: 'body',
1227
+ };
1228
+ }
1229
+ static types() {
1230
+ return {
1231
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1232
+ statusCode: 'number',
1233
+ body: CreateBasicEndpointResponseBody,
1234
+ };
1235
+ }
1236
+ }
1237
+ exports.CreateBasicEndpointResponse = CreateBasicEndpointResponse;
1164
1238
  class CreateBasicEndpointGroupRequest extends $tea.Model {
1165
1239
  constructor(map) {
1166
1240
  super(map);
@@ -1231,6 +1305,70 @@ class CreateBasicEndpointGroupResponse extends $tea.Model {
1231
1305
  }
1232
1306
  }
1233
1307
  exports.CreateBasicEndpointGroupResponse = CreateBasicEndpointGroupResponse;
1308
+ class CreateBasicEndpointsRequest extends $tea.Model {
1309
+ constructor(map) {
1310
+ super(map);
1311
+ }
1312
+ static names() {
1313
+ return {
1314
+ acceleratorId: 'AcceleratorId',
1315
+ clientToken: 'ClientToken',
1316
+ endpointGroupId: 'EndpointGroupId',
1317
+ endpoints: 'Endpoints',
1318
+ regionId: 'RegionId',
1319
+ };
1320
+ }
1321
+ static types() {
1322
+ return {
1323
+ acceleratorId: 'string',
1324
+ clientToken: 'string',
1325
+ endpointGroupId: 'string',
1326
+ endpoints: { 'type': 'array', 'itemType': CreateBasicEndpointsRequestEndpoints },
1327
+ regionId: 'string',
1328
+ };
1329
+ }
1330
+ }
1331
+ exports.CreateBasicEndpointsRequest = CreateBasicEndpointsRequest;
1332
+ class CreateBasicEndpointsResponseBody extends $tea.Model {
1333
+ constructor(map) {
1334
+ super(map);
1335
+ }
1336
+ static names() {
1337
+ return {
1338
+ endpointGroupId: 'EndpointGroupId',
1339
+ endpoints: 'Endpoints',
1340
+ requestId: 'RequestId',
1341
+ };
1342
+ }
1343
+ static types() {
1344
+ return {
1345
+ endpointGroupId: 'string',
1346
+ endpoints: { 'type': 'array', 'itemType': CreateBasicEndpointsResponseBodyEndpoints },
1347
+ requestId: 'string',
1348
+ };
1349
+ }
1350
+ }
1351
+ exports.CreateBasicEndpointsResponseBody = CreateBasicEndpointsResponseBody;
1352
+ class CreateBasicEndpointsResponse extends $tea.Model {
1353
+ constructor(map) {
1354
+ super(map);
1355
+ }
1356
+ static names() {
1357
+ return {
1358
+ headers: 'headers',
1359
+ statusCode: 'statusCode',
1360
+ body: 'body',
1361
+ };
1362
+ }
1363
+ static types() {
1364
+ return {
1365
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1366
+ statusCode: 'number',
1367
+ body: CreateBasicEndpointsResponseBody,
1368
+ };
1369
+ }
1370
+ }
1371
+ exports.CreateBasicEndpointsResponse = CreateBasicEndpointsResponse;
1234
1372
  class CreateBasicIpSetRequest extends $tea.Model {
1235
1373
  constructor(map) {
1236
1374
  super(map);
@@ -4723,6 +4861,144 @@ class GetBasicAccelerateIpResponse extends $tea.Model {
4723
4861
  }
4724
4862
  }
4725
4863
  exports.GetBasicAccelerateIpResponse = GetBasicAccelerateIpResponse;
4864
+ class GetBasicAccelerateIpEndpointRelationRequest extends $tea.Model {
4865
+ constructor(map) {
4866
+ super(map);
4867
+ }
4868
+ static names() {
4869
+ return {
4870
+ accelerateIpId: 'AccelerateIpId',
4871
+ acceleratorId: 'AcceleratorId',
4872
+ clientToken: 'ClientToken',
4873
+ endpointId: 'EndpointId',
4874
+ regionId: 'RegionId',
4875
+ };
4876
+ }
4877
+ static types() {
4878
+ return {
4879
+ accelerateIpId: 'string',
4880
+ acceleratorId: 'string',
4881
+ clientToken: 'string',
4882
+ endpointId: 'string',
4883
+ regionId: 'string',
4884
+ };
4885
+ }
4886
+ }
4887
+ exports.GetBasicAccelerateIpEndpointRelationRequest = GetBasicAccelerateIpEndpointRelationRequest;
4888
+ class GetBasicAccelerateIpEndpointRelationResponseBody extends $tea.Model {
4889
+ constructor(map) {
4890
+ super(map);
4891
+ }
4892
+ static names() {
4893
+ return {
4894
+ accelerateIpId: 'AccelerateIpId',
4895
+ endpointAddress: 'EndpointAddress',
4896
+ endpointId: 'EndpointId',
4897
+ endpointName: 'EndpointName',
4898
+ endpointSubAddress: 'EndpointSubAddress',
4899
+ endpointSubAddressType: 'EndpointSubAddressType',
4900
+ endpointType: 'EndpointType',
4901
+ endpointZoneId: 'EndpointZoneId',
4902
+ ipAddress: 'IpAddress',
4903
+ requestId: 'RequestId',
4904
+ state: 'State',
4905
+ };
4906
+ }
4907
+ static types() {
4908
+ return {
4909
+ accelerateIpId: 'string',
4910
+ endpointAddress: 'string',
4911
+ endpointId: 'string',
4912
+ endpointName: 'string',
4913
+ endpointSubAddress: 'string',
4914
+ endpointSubAddressType: 'string',
4915
+ endpointType: 'string',
4916
+ endpointZoneId: 'string',
4917
+ ipAddress: 'string',
4918
+ requestId: 'string',
4919
+ state: 'string',
4920
+ };
4921
+ }
4922
+ }
4923
+ exports.GetBasicAccelerateIpEndpointRelationResponseBody = GetBasicAccelerateIpEndpointRelationResponseBody;
4924
+ class GetBasicAccelerateIpEndpointRelationResponse extends $tea.Model {
4925
+ constructor(map) {
4926
+ super(map);
4927
+ }
4928
+ static names() {
4929
+ return {
4930
+ headers: 'headers',
4931
+ statusCode: 'statusCode',
4932
+ body: 'body',
4933
+ };
4934
+ }
4935
+ static types() {
4936
+ return {
4937
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4938
+ statusCode: 'number',
4939
+ body: GetBasicAccelerateIpEndpointRelationResponseBody,
4940
+ };
4941
+ }
4942
+ }
4943
+ exports.GetBasicAccelerateIpEndpointRelationResponse = GetBasicAccelerateIpEndpointRelationResponse;
4944
+ class GetBasicAccelerateIpIdleCountRequest extends $tea.Model {
4945
+ constructor(map) {
4946
+ super(map);
4947
+ }
4948
+ static names() {
4949
+ return {
4950
+ clientToken: 'ClientToken',
4951
+ ipSetId: 'IpSetId',
4952
+ regionId: 'RegionId',
4953
+ };
4954
+ }
4955
+ static types() {
4956
+ return {
4957
+ clientToken: 'string',
4958
+ ipSetId: 'string',
4959
+ regionId: 'string',
4960
+ };
4961
+ }
4962
+ }
4963
+ exports.GetBasicAccelerateIpIdleCountRequest = GetBasicAccelerateIpIdleCountRequest;
4964
+ class GetBasicAccelerateIpIdleCountResponseBody extends $tea.Model {
4965
+ constructor(map) {
4966
+ super(map);
4967
+ }
4968
+ static names() {
4969
+ return {
4970
+ requestId: 'RequestId',
4971
+ totalCount: 'TotalCount',
4972
+ };
4973
+ }
4974
+ static types() {
4975
+ return {
4976
+ requestId: 'string',
4977
+ totalCount: 'number',
4978
+ };
4979
+ }
4980
+ }
4981
+ exports.GetBasicAccelerateIpIdleCountResponseBody = GetBasicAccelerateIpIdleCountResponseBody;
4982
+ class GetBasicAccelerateIpIdleCountResponse extends $tea.Model {
4983
+ constructor(map) {
4984
+ super(map);
4985
+ }
4986
+ static names() {
4987
+ return {
4988
+ headers: 'headers',
4989
+ statusCode: 'statusCode',
4990
+ body: 'body',
4991
+ };
4992
+ }
4993
+ static types() {
4994
+ return {
4995
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4996
+ statusCode: 'number',
4997
+ body: GetBasicAccelerateIpIdleCountResponseBody,
4998
+ };
4999
+ }
5000
+ }
5001
+ exports.GetBasicAccelerateIpIdleCountResponse = GetBasicAccelerateIpIdleCountResponse;
4726
5002
  class GetBasicAcceleratorRequest extends $tea.Model {
4727
5003
  constructor(map) {
4728
5004
  super(map);
@@ -4811,39 +5087,40 @@ class GetBasicAcceleratorResponse extends $tea.Model {
4811
5087
  }
4812
5088
  }
4813
5089
  exports.GetBasicAcceleratorResponse = GetBasicAcceleratorResponse;
4814
- class GetBasicEndpointGroupRequest extends $tea.Model {
5090
+ class GetBasicEndpointRequest extends $tea.Model {
4815
5091
  constructor(map) {
4816
5092
  super(map);
4817
5093
  }
4818
5094
  static names() {
4819
5095
  return {
4820
5096
  clientToken: 'ClientToken',
4821
- endpointGroupId: 'EndpointGroupId',
5097
+ endpointId: 'EndpointId',
4822
5098
  regionId: 'RegionId',
4823
5099
  };
4824
5100
  }
4825
5101
  static types() {
4826
5102
  return {
4827
5103
  clientToken: 'string',
4828
- endpointGroupId: 'string',
5104
+ endpointId: 'string',
4829
5105
  regionId: 'string',
4830
5106
  };
4831
5107
  }
4832
5108
  }
4833
- exports.GetBasicEndpointGroupRequest = GetBasicEndpointGroupRequest;
4834
- class GetBasicEndpointGroupResponseBody extends $tea.Model {
5109
+ exports.GetBasicEndpointRequest = GetBasicEndpointRequest;
5110
+ class GetBasicEndpointResponseBody extends $tea.Model {
4835
5111
  constructor(map) {
4836
5112
  super(map);
4837
5113
  }
4838
5114
  static names() {
4839
5115
  return {
4840
5116
  acceleratorId: 'AcceleratorId',
4841
- description: 'Description',
5117
+ endPointId: 'EndPointId',
4842
5118
  endpointAddress: 'EndpointAddress',
4843
5119
  endpointGroupId: 'EndpointGroupId',
4844
- endpointGroupRegion: 'EndpointGroupRegion',
4845
5120
  endpointSubAddress: 'EndpointSubAddress',
5121
+ endpointSubAddressType: 'EndpointSubAddressType',
4846
5122
  endpointType: 'EndpointType',
5123
+ endpointZoneId: 'EndpointZoneId',
4847
5124
  name: 'Name',
4848
5125
  requestId: 'RequestId',
4849
5126
  state: 'State',
@@ -4852,20 +5129,21 @@ class GetBasicEndpointGroupResponseBody extends $tea.Model {
4852
5129
  static types() {
4853
5130
  return {
4854
5131
  acceleratorId: 'string',
4855
- description: 'string',
5132
+ endPointId: 'string',
4856
5133
  endpointAddress: 'string',
4857
5134
  endpointGroupId: 'string',
4858
- endpointGroupRegion: 'string',
4859
5135
  endpointSubAddress: 'string',
5136
+ endpointSubAddressType: 'string',
4860
5137
  endpointType: 'string',
5138
+ endpointZoneId: 'string',
4861
5139
  name: 'string',
4862
5140
  requestId: 'string',
4863
5141
  state: 'string',
4864
5142
  };
4865
5143
  }
4866
5144
  }
4867
- exports.GetBasicEndpointGroupResponseBody = GetBasicEndpointGroupResponseBody;
4868
- class GetBasicEndpointGroupResponse extends $tea.Model {
5145
+ exports.GetBasicEndpointResponseBody = GetBasicEndpointResponseBody;
5146
+ class GetBasicEndpointResponse extends $tea.Model {
4869
5147
  constructor(map) {
4870
5148
  super(map);
4871
5149
  }
@@ -4880,26 +5158,100 @@ class GetBasicEndpointGroupResponse extends $tea.Model {
4880
5158
  return {
4881
5159
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4882
5160
  statusCode: 'number',
4883
- body: GetBasicEndpointGroupResponseBody,
5161
+ body: GetBasicEndpointResponseBody,
4884
5162
  };
4885
5163
  }
4886
5164
  }
4887
- exports.GetBasicEndpointGroupResponse = GetBasicEndpointGroupResponse;
4888
- class GetBasicIpSetRequest extends $tea.Model {
5165
+ exports.GetBasicEndpointResponse = GetBasicEndpointResponse;
5166
+ class GetBasicEndpointGroupRequest extends $tea.Model {
4889
5167
  constructor(map) {
4890
5168
  super(map);
4891
5169
  }
4892
5170
  static names() {
4893
5171
  return {
4894
5172
  clientToken: 'ClientToken',
4895
- ipSetId: 'IpSetId',
5173
+ endpointGroupId: 'EndpointGroupId',
4896
5174
  regionId: 'RegionId',
4897
5175
  };
4898
5176
  }
4899
5177
  static types() {
4900
5178
  return {
4901
5179
  clientToken: 'string',
4902
- ipSetId: 'string',
5180
+ endpointGroupId: 'string',
5181
+ regionId: 'string',
5182
+ };
5183
+ }
5184
+ }
5185
+ exports.GetBasicEndpointGroupRequest = GetBasicEndpointGroupRequest;
5186
+ class GetBasicEndpointGroupResponseBody extends $tea.Model {
5187
+ constructor(map) {
5188
+ super(map);
5189
+ }
5190
+ static names() {
5191
+ return {
5192
+ acceleratorId: 'AcceleratorId',
5193
+ description: 'Description',
5194
+ endpointAddress: 'EndpointAddress',
5195
+ endpointGroupId: 'EndpointGroupId',
5196
+ endpointGroupRegion: 'EndpointGroupRegion',
5197
+ endpointSubAddress: 'EndpointSubAddress',
5198
+ endpointType: 'EndpointType',
5199
+ name: 'Name',
5200
+ requestId: 'RequestId',
5201
+ state: 'State',
5202
+ };
5203
+ }
5204
+ static types() {
5205
+ return {
5206
+ acceleratorId: 'string',
5207
+ description: 'string',
5208
+ endpointAddress: 'string',
5209
+ endpointGroupId: 'string',
5210
+ endpointGroupRegion: 'string',
5211
+ endpointSubAddress: 'string',
5212
+ endpointType: 'string',
5213
+ name: 'string',
5214
+ requestId: 'string',
5215
+ state: 'string',
5216
+ };
5217
+ }
5218
+ }
5219
+ exports.GetBasicEndpointGroupResponseBody = GetBasicEndpointGroupResponseBody;
5220
+ class GetBasicEndpointGroupResponse extends $tea.Model {
5221
+ constructor(map) {
5222
+ super(map);
5223
+ }
5224
+ static names() {
5225
+ return {
5226
+ headers: 'headers',
5227
+ statusCode: 'statusCode',
5228
+ body: 'body',
5229
+ };
5230
+ }
5231
+ static types() {
5232
+ return {
5233
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5234
+ statusCode: 'number',
5235
+ body: GetBasicEndpointGroupResponseBody,
5236
+ };
5237
+ }
5238
+ }
5239
+ exports.GetBasicEndpointGroupResponse = GetBasicEndpointGroupResponse;
5240
+ class GetBasicIpSetRequest extends $tea.Model {
5241
+ constructor(map) {
5242
+ super(map);
5243
+ }
5244
+ static names() {
5245
+ return {
5246
+ clientToken: 'ClientToken',
5247
+ ipSetId: 'IpSetId',
5248
+ regionId: 'RegionId',
5249
+ };
5250
+ }
5251
+ static types() {
5252
+ return {
5253
+ clientToken: 'string',
5254
+ ipSetId: 'string',
4903
5255
  regionId: 'string',
4904
5256
  };
4905
5257
  }
@@ -5671,6 +6023,150 @@ class ListBandwidthackagesResponse extends $tea.Model {
5671
6023
  }
5672
6024
  }
5673
6025
  exports.ListBandwidthackagesResponse = ListBandwidthackagesResponse;
6026
+ class ListBasicAccelerateIpEndpointRelationsRequest extends $tea.Model {
6027
+ constructor(map) {
6028
+ super(map);
6029
+ }
6030
+ static names() {
6031
+ return {
6032
+ accelerateIpId: 'AccelerateIpId',
6033
+ acceleratorId: 'AcceleratorId',
6034
+ clientToken: 'ClientToken',
6035
+ endpointId: 'EndpointId',
6036
+ maxResults: 'MaxResults',
6037
+ nextToken: 'NextToken',
6038
+ regionId: 'RegionId',
6039
+ };
6040
+ }
6041
+ static types() {
6042
+ return {
6043
+ accelerateIpId: 'string',
6044
+ acceleratorId: 'string',
6045
+ clientToken: 'string',
6046
+ endpointId: 'string',
6047
+ maxResults: 'number',
6048
+ nextToken: 'string',
6049
+ regionId: 'string',
6050
+ };
6051
+ }
6052
+ }
6053
+ exports.ListBasicAccelerateIpEndpointRelationsRequest = ListBasicAccelerateIpEndpointRelationsRequest;
6054
+ class ListBasicAccelerateIpEndpointRelationsResponseBody extends $tea.Model {
6055
+ constructor(map) {
6056
+ super(map);
6057
+ }
6058
+ static names() {
6059
+ return {
6060
+ accelerateIpEndpointRelations: 'AccelerateIpEndpointRelations',
6061
+ maxResults: 'MaxResults',
6062
+ nextToken: 'NextToken',
6063
+ requestId: 'RequestId',
6064
+ totalCount: 'TotalCount',
6065
+ };
6066
+ }
6067
+ static types() {
6068
+ return {
6069
+ accelerateIpEndpointRelations: { 'type': 'array', 'itemType': ListBasicAccelerateIpEndpointRelationsResponseBodyAccelerateIpEndpointRelations },
6070
+ maxResults: 'string',
6071
+ nextToken: 'string',
6072
+ requestId: 'string',
6073
+ totalCount: 'string',
6074
+ };
6075
+ }
6076
+ }
6077
+ exports.ListBasicAccelerateIpEndpointRelationsResponseBody = ListBasicAccelerateIpEndpointRelationsResponseBody;
6078
+ class ListBasicAccelerateIpEndpointRelationsResponse extends $tea.Model {
6079
+ constructor(map) {
6080
+ super(map);
6081
+ }
6082
+ static names() {
6083
+ return {
6084
+ headers: 'headers',
6085
+ statusCode: 'statusCode',
6086
+ body: 'body',
6087
+ };
6088
+ }
6089
+ static types() {
6090
+ return {
6091
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6092
+ statusCode: 'number',
6093
+ body: ListBasicAccelerateIpEndpointRelationsResponseBody,
6094
+ };
6095
+ }
6096
+ }
6097
+ exports.ListBasicAccelerateIpEndpointRelationsResponse = ListBasicAccelerateIpEndpointRelationsResponse;
6098
+ class ListBasicAccelerateIpsRequest extends $tea.Model {
6099
+ constructor(map) {
6100
+ super(map);
6101
+ }
6102
+ static names() {
6103
+ return {
6104
+ accelerateIpAddress: 'AccelerateIpAddress',
6105
+ accelerateIpId: 'AccelerateIpId',
6106
+ clientToken: 'ClientToken',
6107
+ ipSetId: 'IpSetId',
6108
+ maxResults: 'MaxResults',
6109
+ nextToken: 'NextToken',
6110
+ regionId: 'RegionId',
6111
+ };
6112
+ }
6113
+ static types() {
6114
+ return {
6115
+ accelerateIpAddress: 'string',
6116
+ accelerateIpId: 'string',
6117
+ clientToken: 'string',
6118
+ ipSetId: 'string',
6119
+ maxResults: 'number',
6120
+ nextToken: 'string',
6121
+ regionId: 'string',
6122
+ };
6123
+ }
6124
+ }
6125
+ exports.ListBasicAccelerateIpsRequest = ListBasicAccelerateIpsRequest;
6126
+ class ListBasicAccelerateIpsResponseBody extends $tea.Model {
6127
+ constructor(map) {
6128
+ super(map);
6129
+ }
6130
+ static names() {
6131
+ return {
6132
+ accelerateIps: 'AccelerateIps',
6133
+ maxResults: 'MaxResults',
6134
+ nextToken: 'NextToken',
6135
+ requestId: 'RequestId',
6136
+ totalCount: 'TotalCount',
6137
+ };
6138
+ }
6139
+ static types() {
6140
+ return {
6141
+ accelerateIps: { 'type': 'array', 'itemType': ListBasicAccelerateIpsResponseBodyAccelerateIps },
6142
+ maxResults: 'number',
6143
+ nextToken: 'string',
6144
+ requestId: 'string',
6145
+ totalCount: 'number',
6146
+ };
6147
+ }
6148
+ }
6149
+ exports.ListBasicAccelerateIpsResponseBody = ListBasicAccelerateIpsResponseBody;
6150
+ class ListBasicAccelerateIpsResponse extends $tea.Model {
6151
+ constructor(map) {
6152
+ super(map);
6153
+ }
6154
+ static names() {
6155
+ return {
6156
+ headers: 'headers',
6157
+ statusCode: 'statusCode',
6158
+ body: 'body',
6159
+ };
6160
+ }
6161
+ static types() {
6162
+ return {
6163
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6164
+ statusCode: 'number',
6165
+ body: ListBasicAccelerateIpsResponseBody,
6166
+ };
6167
+ }
6168
+ }
6169
+ exports.ListBasicAccelerateIpsResponse = ListBasicAccelerateIpsResponse;
5674
6170
  class ListBasicAcceleratorsRequest extends $tea.Model {
5675
6171
  constructor(map) {
5676
6172
  super(map);
@@ -5743,6 +6239,80 @@ class ListBasicAcceleratorsResponse extends $tea.Model {
5743
6239
  }
5744
6240
  }
5745
6241
  exports.ListBasicAcceleratorsResponse = ListBasicAcceleratorsResponse;
6242
+ class ListBasicEndpointsRequest extends $tea.Model {
6243
+ constructor(map) {
6244
+ super(map);
6245
+ }
6246
+ static names() {
6247
+ return {
6248
+ clientToken: 'ClientToken',
6249
+ endpointGroupId: 'EndpointGroupId',
6250
+ endpointId: 'EndpointId',
6251
+ endpointType: 'EndpointType',
6252
+ maxResults: 'MaxResults',
6253
+ name: 'Name',
6254
+ nextToken: 'NextToken',
6255
+ regionId: 'RegionId',
6256
+ };
6257
+ }
6258
+ static types() {
6259
+ return {
6260
+ clientToken: 'string',
6261
+ endpointGroupId: 'string',
6262
+ endpointId: 'string',
6263
+ endpointType: 'string',
6264
+ maxResults: 'number',
6265
+ name: 'string',
6266
+ nextToken: 'string',
6267
+ regionId: 'string',
6268
+ };
6269
+ }
6270
+ }
6271
+ exports.ListBasicEndpointsRequest = ListBasicEndpointsRequest;
6272
+ class ListBasicEndpointsResponseBody extends $tea.Model {
6273
+ constructor(map) {
6274
+ super(map);
6275
+ }
6276
+ static names() {
6277
+ return {
6278
+ endpoints: 'Endpoints',
6279
+ maxResults: 'MaxResults',
6280
+ nextToken: 'NextToken',
6281
+ requestId: 'RequestId',
6282
+ totalCount: 'TotalCount',
6283
+ };
6284
+ }
6285
+ static types() {
6286
+ return {
6287
+ endpoints: { 'type': 'array', 'itemType': ListBasicEndpointsResponseBodyEndpoints },
6288
+ maxResults: 'string',
6289
+ nextToken: 'string',
6290
+ requestId: 'string',
6291
+ totalCount: 'string',
6292
+ };
6293
+ }
6294
+ }
6295
+ exports.ListBasicEndpointsResponseBody = ListBasicEndpointsResponseBody;
6296
+ class ListBasicEndpointsResponse extends $tea.Model {
6297
+ constructor(map) {
6298
+ super(map);
6299
+ }
6300
+ static names() {
6301
+ return {
6302
+ headers: 'headers',
6303
+ statusCode: 'statusCode',
6304
+ body: 'body',
6305
+ };
6306
+ }
6307
+ static types() {
6308
+ return {
6309
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6310
+ statusCode: 'number',
6311
+ body: ListBasicEndpointsResponseBody,
6312
+ };
6313
+ }
6314
+ }
6315
+ exports.ListBasicEndpointsResponse = ListBasicEndpointsResponse;
5746
6316
  class ListBusiRegionsRequest extends $tea.Model {
5747
6317
  constructor(map) {
5748
6318
  super(map);
@@ -7307,23 +7877,83 @@ class UpdateBandwidthPackageResponseBody extends $tea.Model {
7307
7877
  }
7308
7878
  static names() {
7309
7879
  return {
7310
- bandwidthPackage: 'BandwidthPackage',
7311
- description: 'Description',
7312
- name: 'Name',
7880
+ bandwidthPackage: 'BandwidthPackage',
7881
+ description: 'Description',
7882
+ name: 'Name',
7883
+ requestId: 'RequestId',
7884
+ };
7885
+ }
7886
+ static types() {
7887
+ return {
7888
+ bandwidthPackage: 'string',
7889
+ description: 'string',
7890
+ name: 'string',
7891
+ requestId: 'string',
7892
+ };
7893
+ }
7894
+ }
7895
+ exports.UpdateBandwidthPackageResponseBody = UpdateBandwidthPackageResponseBody;
7896
+ class UpdateBandwidthPackageResponse extends $tea.Model {
7897
+ constructor(map) {
7898
+ super(map);
7899
+ }
7900
+ static names() {
7901
+ return {
7902
+ headers: 'headers',
7903
+ statusCode: 'statusCode',
7904
+ body: 'body',
7905
+ };
7906
+ }
7907
+ static types() {
7908
+ return {
7909
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7910
+ statusCode: 'number',
7911
+ body: UpdateBandwidthPackageResponseBody,
7912
+ };
7913
+ }
7914
+ }
7915
+ exports.UpdateBandwidthPackageResponse = UpdateBandwidthPackageResponse;
7916
+ class UpdateBasicAcceleratorRequest extends $tea.Model {
7917
+ constructor(map) {
7918
+ super(map);
7919
+ }
7920
+ static names() {
7921
+ return {
7922
+ acceleratorId: 'AcceleratorId',
7923
+ clientToken: 'ClientToken',
7924
+ description: 'Description',
7925
+ name: 'Name',
7926
+ regionId: 'RegionId',
7927
+ };
7928
+ }
7929
+ static types() {
7930
+ return {
7931
+ acceleratorId: 'string',
7932
+ clientToken: 'string',
7933
+ description: 'string',
7934
+ name: 'string',
7935
+ regionId: 'string',
7936
+ };
7937
+ }
7938
+ }
7939
+ exports.UpdateBasicAcceleratorRequest = UpdateBasicAcceleratorRequest;
7940
+ class UpdateBasicAcceleratorResponseBody extends $tea.Model {
7941
+ constructor(map) {
7942
+ super(map);
7943
+ }
7944
+ static names() {
7945
+ return {
7313
7946
  requestId: 'RequestId',
7314
7947
  };
7315
7948
  }
7316
7949
  static types() {
7317
7950
  return {
7318
- bandwidthPackage: 'string',
7319
- description: 'string',
7320
- name: 'string',
7321
7951
  requestId: 'string',
7322
7952
  };
7323
7953
  }
7324
7954
  }
7325
- exports.UpdateBandwidthPackageResponseBody = UpdateBandwidthPackageResponseBody;
7326
- class UpdateBandwidthPackageResponse extends $tea.Model {
7955
+ exports.UpdateBasicAcceleratorResponseBody = UpdateBasicAcceleratorResponseBody;
7956
+ class UpdateBasicAcceleratorResponse extends $tea.Model {
7327
7957
  constructor(map) {
7328
7958
  super(map);
7329
7959
  }
@@ -7338,52 +7968,58 @@ class UpdateBandwidthPackageResponse extends $tea.Model {
7338
7968
  return {
7339
7969
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7340
7970
  statusCode: 'number',
7341
- body: UpdateBandwidthPackageResponseBody,
7971
+ body: UpdateBasicAcceleratorResponseBody,
7342
7972
  };
7343
7973
  }
7344
7974
  }
7345
- exports.UpdateBandwidthPackageResponse = UpdateBandwidthPackageResponse;
7346
- class UpdateBasicAcceleratorRequest extends $tea.Model {
7975
+ exports.UpdateBasicAcceleratorResponse = UpdateBasicAcceleratorResponse;
7976
+ class UpdateBasicEndpointRequest extends $tea.Model {
7347
7977
  constructor(map) {
7348
7978
  super(map);
7349
7979
  }
7350
7980
  static names() {
7351
7981
  return {
7352
- acceleratorId: 'AcceleratorId',
7353
7982
  clientToken: 'ClientToken',
7354
- description: 'Description',
7983
+ endpointGroupId: 'EndpointGroupId',
7984
+ endpointId: 'EndpointId',
7355
7985
  name: 'Name',
7356
7986
  regionId: 'RegionId',
7357
7987
  };
7358
7988
  }
7359
7989
  static types() {
7360
7990
  return {
7361
- acceleratorId: 'string',
7362
7991
  clientToken: 'string',
7363
- description: 'string',
7992
+ endpointGroupId: 'string',
7993
+ endpointId: 'string',
7364
7994
  name: 'string',
7365
7995
  regionId: 'string',
7366
7996
  };
7367
7997
  }
7368
7998
  }
7369
- exports.UpdateBasicAcceleratorRequest = UpdateBasicAcceleratorRequest;
7370
- class UpdateBasicAcceleratorResponseBody extends $tea.Model {
7999
+ exports.UpdateBasicEndpointRequest = UpdateBasicEndpointRequest;
8000
+ class UpdateBasicEndpointResponseBody extends $tea.Model {
7371
8001
  constructor(map) {
7372
8002
  super(map);
7373
8003
  }
7374
8004
  static names() {
7375
8005
  return {
8006
+ endpointGroupId: 'EndpointGroupId',
8007
+ endpointId: 'EndpointId',
8008
+ name: 'Name',
7376
8009
  requestId: 'RequestId',
7377
8010
  };
7378
8011
  }
7379
8012
  static types() {
7380
8013
  return {
8014
+ endpointGroupId: 'string',
8015
+ endpointId: 'string',
8016
+ name: 'string',
7381
8017
  requestId: 'string',
7382
8018
  };
7383
8019
  }
7384
8020
  }
7385
- exports.UpdateBasicAcceleratorResponseBody = UpdateBasicAcceleratorResponseBody;
7386
- class UpdateBasicAcceleratorResponse extends $tea.Model {
8021
+ exports.UpdateBasicEndpointResponseBody = UpdateBasicEndpointResponseBody;
8022
+ class UpdateBasicEndpointResponse extends $tea.Model {
7387
8023
  constructor(map) {
7388
8024
  super(map);
7389
8025
  }
@@ -7398,11 +8034,11 @@ class UpdateBasicAcceleratorResponse extends $tea.Model {
7398
8034
  return {
7399
8035
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7400
8036
  statusCode: 'number',
7401
- body: UpdateBasicAcceleratorResponseBody,
8037
+ body: UpdateBasicEndpointResponseBody,
7402
8038
  };
7403
8039
  }
7404
8040
  }
7405
- exports.UpdateBasicAcceleratorResponse = UpdateBasicAcceleratorResponse;
8041
+ exports.UpdateBasicEndpointResponse = UpdateBasicEndpointResponse;
7406
8042
  class UpdateBasicEndpointGroupRequest extends $tea.Model {
7407
8043
  constructor(map) {
7408
8044
  super(map);
@@ -8309,6 +8945,54 @@ class CreateBasicAccelerateIpEndpointRelationsRequestAccelerateIpEndpointRelatio
8309
8945
  }
8310
8946
  }
8311
8947
  exports.CreateBasicAccelerateIpEndpointRelationsRequestAccelerateIpEndpointRelations = CreateBasicAccelerateIpEndpointRelationsRequestAccelerateIpEndpointRelations;
8948
+ class CreateBasicEndpointsRequestEndpoints extends $tea.Model {
8949
+ constructor(map) {
8950
+ super(map);
8951
+ }
8952
+ static names() {
8953
+ return {
8954
+ endpointAddress: 'EndpointAddress',
8955
+ endpointSubAddress: 'EndpointSubAddress',
8956
+ endpointSubAddressType: 'EndpointSubAddressType',
8957
+ endpointType: 'EndpointType',
8958
+ endpointZoneId: 'EndpointZoneId',
8959
+ name: 'Name',
8960
+ };
8961
+ }
8962
+ static types() {
8963
+ return {
8964
+ endpointAddress: 'string',
8965
+ endpointSubAddress: 'string',
8966
+ endpointSubAddressType: 'string',
8967
+ endpointType: 'string',
8968
+ endpointZoneId: 'string',
8969
+ name: 'string',
8970
+ };
8971
+ }
8972
+ }
8973
+ exports.CreateBasicEndpointsRequestEndpoints = CreateBasicEndpointsRequestEndpoints;
8974
+ class CreateBasicEndpointsResponseBodyEndpoints extends $tea.Model {
8975
+ constructor(map) {
8976
+ super(map);
8977
+ }
8978
+ static names() {
8979
+ return {
8980
+ endpointAddress: 'EndpointAddress',
8981
+ endpointId: 'EndpointId',
8982
+ endpointSubAddress: 'EndpointSubAddress',
8983
+ endpointType: 'EndpointType',
8984
+ };
8985
+ }
8986
+ static types() {
8987
+ return {
8988
+ endpointAddress: 'string',
8989
+ endpointId: 'string',
8990
+ endpointSubAddress: 'string',
8991
+ endpointType: 'string',
8992
+ };
8993
+ }
8994
+ }
8995
+ exports.CreateBasicEndpointsResponseBodyEndpoints = CreateBasicEndpointsResponseBodyEndpoints;
8312
8996
  class CreateCustomRoutingEndpointGroupDestinationsRequestDestinationConfigurations extends $tea.Model {
8313
8997
  constructor(map) {
8314
8998
  super(map);
@@ -10085,6 +10769,98 @@ class ListBandwidthackagesResponseBodyBandwidthPackages extends $tea.Model {
10085
10769
  }
10086
10770
  }
10087
10771
  exports.ListBandwidthackagesResponseBodyBandwidthPackages = ListBandwidthackagesResponseBodyBandwidthPackages;
10772
+ class ListBasicAccelerateIpEndpointRelationsResponseBodyAccelerateIpEndpointRelations extends $tea.Model {
10773
+ constructor(map) {
10774
+ super(map);
10775
+ }
10776
+ static names() {
10777
+ return {
10778
+ accelerateIpId: 'AccelerateIpId',
10779
+ endpointAddress: 'EndpointAddress',
10780
+ endpointId: 'EndpointId',
10781
+ endpointName: 'EndpointName',
10782
+ endpointSubAddress: 'EndpointSubAddress',
10783
+ endpointSubAddressType: 'EndpointSubAddressType',
10784
+ endpointType: 'EndpointType',
10785
+ endpointZoneId: 'EndpointZoneId',
10786
+ ipAddress: 'IpAddress',
10787
+ state: 'State',
10788
+ };
10789
+ }
10790
+ static types() {
10791
+ return {
10792
+ accelerateIpId: 'string',
10793
+ endpointAddress: 'string',
10794
+ endpointId: 'string',
10795
+ endpointName: 'string',
10796
+ endpointSubAddress: 'string',
10797
+ endpointSubAddressType: 'string',
10798
+ endpointType: 'string',
10799
+ endpointZoneId: 'string',
10800
+ ipAddress: 'string',
10801
+ state: 'string',
10802
+ };
10803
+ }
10804
+ }
10805
+ exports.ListBasicAccelerateIpEndpointRelationsResponseBodyAccelerateIpEndpointRelations = ListBasicAccelerateIpEndpointRelationsResponseBodyAccelerateIpEndpointRelations;
10806
+ class ListBasicAccelerateIpsResponseBodyAccelerateIpsEndpoint extends $tea.Model {
10807
+ constructor(map) {
10808
+ super(map);
10809
+ }
10810
+ static names() {
10811
+ return {
10812
+ endPointId: 'EndPointId',
10813
+ endpointAddress: 'EndpointAddress',
10814
+ endpointGroupId: 'EndpointGroupId',
10815
+ endpointSubAddress: 'EndpointSubAddress',
10816
+ endpointSubAddressType: 'EndpointSubAddressType',
10817
+ endpointType: 'EndpointType',
10818
+ endpointZoneId: 'EndpointZoneId',
10819
+ name: 'Name',
10820
+ state: 'State',
10821
+ };
10822
+ }
10823
+ static types() {
10824
+ return {
10825
+ endPointId: 'string',
10826
+ endpointAddress: 'string',
10827
+ endpointGroupId: 'string',
10828
+ endpointSubAddress: 'string',
10829
+ endpointSubAddressType: 'string',
10830
+ endpointType: 'string',
10831
+ endpointZoneId: 'string',
10832
+ name: 'string',
10833
+ state: 'string',
10834
+ };
10835
+ }
10836
+ }
10837
+ exports.ListBasicAccelerateIpsResponseBodyAccelerateIpsEndpoint = ListBasicAccelerateIpsResponseBodyAccelerateIpsEndpoint;
10838
+ class ListBasicAccelerateIpsResponseBodyAccelerateIps extends $tea.Model {
10839
+ constructor(map) {
10840
+ super(map);
10841
+ }
10842
+ static names() {
10843
+ return {
10844
+ accelerateIpAddress: 'AccelerateIpAddress',
10845
+ accelerateIpId: 'AccelerateIpId',
10846
+ acceleratorId: 'AcceleratorId',
10847
+ endpoint: 'Endpoint',
10848
+ ipSetId: 'IpSetId',
10849
+ state: 'State',
10850
+ };
10851
+ }
10852
+ static types() {
10853
+ return {
10854
+ accelerateIpAddress: 'string',
10855
+ accelerateIpId: 'string',
10856
+ acceleratorId: 'string',
10857
+ endpoint: ListBasicAccelerateIpsResponseBodyAccelerateIpsEndpoint,
10858
+ ipSetId: 'string',
10859
+ state: 'string',
10860
+ };
10861
+ }
10862
+ }
10863
+ exports.ListBasicAccelerateIpsResponseBodyAccelerateIps = ListBasicAccelerateIpsResponseBodyAccelerateIps;
10088
10864
  class ListBasicAcceleratorsRequestTag extends $tea.Model {
10089
10865
  constructor(map) {
10090
10866
  super(map);
@@ -10205,6 +10981,40 @@ class ListBasicAcceleratorsResponseBodyAccelerators extends $tea.Model {
10205
10981
  }
10206
10982
  }
10207
10983
  exports.ListBasicAcceleratorsResponseBodyAccelerators = ListBasicAcceleratorsResponseBodyAccelerators;
10984
+ class ListBasicEndpointsResponseBodyEndpoints extends $tea.Model {
10985
+ constructor(map) {
10986
+ super(map);
10987
+ }
10988
+ static names() {
10989
+ return {
10990
+ acceleratorId: 'AcceleratorId',
10991
+ endpointAddress: 'EndpointAddress',
10992
+ endpointGroupId: 'EndpointGroupId',
10993
+ endpointId: 'EndpointId',
10994
+ endpointSubAddress: 'EndpointSubAddress',
10995
+ endpointSubAddressType: 'EndpointSubAddressType',
10996
+ endpointType: 'EndpointType',
10997
+ endpointZoneId: 'EndpointZoneId',
10998
+ name: 'Name',
10999
+ state: 'State',
11000
+ };
11001
+ }
11002
+ static types() {
11003
+ return {
11004
+ acceleratorId: 'string',
11005
+ endpointAddress: 'string',
11006
+ endpointGroupId: 'string',
11007
+ endpointId: 'string',
11008
+ endpointSubAddress: 'string',
11009
+ endpointSubAddressType: 'string',
11010
+ endpointType: 'string',
11011
+ endpointZoneId: 'string',
11012
+ name: 'string',
11013
+ state: 'string',
11014
+ };
11015
+ }
11016
+ }
11017
+ exports.ListBasicEndpointsResponseBodyEndpoints = ListBasicEndpointsResponseBodyEndpoints;
10208
11018
  class ListBusiRegionsResponseBodyRegions extends $tea.Model {
10209
11019
  constructor(map) {
10210
11020
  super(map);
@@ -12208,6 +13018,59 @@ class Client extends openapi_client_1.default {
12208
13018
  let runtime = new $Util.RuntimeOptions({});
12209
13019
  return await this.createBasicAcceleratorWithOptions(request, runtime);
12210
13020
  }
13021
+ async createBasicEndpointWithOptions(request, runtime) {
13022
+ tea_util_1.default.validateModel(request);
13023
+ let query = {};
13024
+ if (!tea_util_1.default.isUnset(request.acceleratorId)) {
13025
+ query["AcceleratorId"] = request.acceleratorId;
13026
+ }
13027
+ if (!tea_util_1.default.isUnset(request.clientToken)) {
13028
+ query["ClientToken"] = request.clientToken;
13029
+ }
13030
+ if (!tea_util_1.default.isUnset(request.endpointAddress)) {
13031
+ query["EndpointAddress"] = request.endpointAddress;
13032
+ }
13033
+ if (!tea_util_1.default.isUnset(request.endpointGroupId)) {
13034
+ query["EndpointGroupId"] = request.endpointGroupId;
13035
+ }
13036
+ if (!tea_util_1.default.isUnset(request.endpointSubAddress)) {
13037
+ query["EndpointSubAddress"] = request.endpointSubAddress;
13038
+ }
13039
+ if (!tea_util_1.default.isUnset(request.endpointSubAddressType)) {
13040
+ query["EndpointSubAddressType"] = request.endpointSubAddressType;
13041
+ }
13042
+ if (!tea_util_1.default.isUnset(request.endpointType)) {
13043
+ query["EndpointType"] = request.endpointType;
13044
+ }
13045
+ if (!tea_util_1.default.isUnset(request.endpointZoneId)) {
13046
+ query["EndpointZoneId"] = request.endpointZoneId;
13047
+ }
13048
+ if (!tea_util_1.default.isUnset(request.name)) {
13049
+ query["Name"] = request.name;
13050
+ }
13051
+ if (!tea_util_1.default.isUnset(request.regionId)) {
13052
+ query["RegionId"] = request.regionId;
13053
+ }
13054
+ let req = new $OpenApi.OpenApiRequest({
13055
+ query: openapi_util_1.default.query(query),
13056
+ });
13057
+ let params = new $OpenApi.Params({
13058
+ action: "CreateBasicEndpoint",
13059
+ version: "2019-11-20",
13060
+ protocol: "HTTPS",
13061
+ pathname: "/",
13062
+ method: "POST",
13063
+ authType: "AK",
13064
+ style: "RPC",
13065
+ reqBodyType: "formData",
13066
+ bodyType: "json",
13067
+ });
13068
+ return $tea.cast(await this.callApi(params, req, runtime), new CreateBasicEndpointResponse({}));
13069
+ }
13070
+ async createBasicEndpoint(request) {
13071
+ let runtime = new $Util.RuntimeOptions({});
13072
+ return await this.createBasicEndpointWithOptions(request, runtime);
13073
+ }
12211
13074
  async createBasicEndpointGroupWithOptions(request, runtime) {
12212
13075
  tea_util_1.default.validateModel(request);
12213
13076
  let query = {};
@@ -12226,14 +13089,52 @@ class Client extends openapi_client_1.default {
12226
13089
  if (!tea_util_1.default.isUnset(request.endpointGroupRegion)) {
12227
13090
  query["EndpointGroupRegion"] = request.endpointGroupRegion;
12228
13091
  }
12229
- if (!tea_util_1.default.isUnset(request.endpointSubAddress)) {
12230
- query["EndpointSubAddress"] = request.endpointSubAddress;
13092
+ if (!tea_util_1.default.isUnset(request.endpointSubAddress)) {
13093
+ query["EndpointSubAddress"] = request.endpointSubAddress;
13094
+ }
13095
+ if (!tea_util_1.default.isUnset(request.endpointType)) {
13096
+ query["EndpointType"] = request.endpointType;
13097
+ }
13098
+ if (!tea_util_1.default.isUnset(request.name)) {
13099
+ query["Name"] = request.name;
13100
+ }
13101
+ if (!tea_util_1.default.isUnset(request.regionId)) {
13102
+ query["RegionId"] = request.regionId;
13103
+ }
13104
+ let req = new $OpenApi.OpenApiRequest({
13105
+ query: openapi_util_1.default.query(query),
13106
+ });
13107
+ let params = new $OpenApi.Params({
13108
+ action: "CreateBasicEndpointGroup",
13109
+ version: "2019-11-20",
13110
+ protocol: "HTTPS",
13111
+ pathname: "/",
13112
+ method: "POST",
13113
+ authType: "AK",
13114
+ style: "RPC",
13115
+ reqBodyType: "formData",
13116
+ bodyType: "json",
13117
+ });
13118
+ return $tea.cast(await this.callApi(params, req, runtime), new CreateBasicEndpointGroupResponse({}));
13119
+ }
13120
+ async createBasicEndpointGroup(request) {
13121
+ let runtime = new $Util.RuntimeOptions({});
13122
+ return await this.createBasicEndpointGroupWithOptions(request, runtime);
13123
+ }
13124
+ async createBasicEndpointsWithOptions(request, runtime) {
13125
+ tea_util_1.default.validateModel(request);
13126
+ let query = {};
13127
+ if (!tea_util_1.default.isUnset(request.acceleratorId)) {
13128
+ query["AcceleratorId"] = request.acceleratorId;
13129
+ }
13130
+ if (!tea_util_1.default.isUnset(request.clientToken)) {
13131
+ query["ClientToken"] = request.clientToken;
12231
13132
  }
12232
- if (!tea_util_1.default.isUnset(request.endpointType)) {
12233
- query["EndpointType"] = request.endpointType;
13133
+ if (!tea_util_1.default.isUnset(request.endpointGroupId)) {
13134
+ query["EndpointGroupId"] = request.endpointGroupId;
12234
13135
  }
12235
- if (!tea_util_1.default.isUnset(request.name)) {
12236
- query["Name"] = request.name;
13136
+ if (!tea_util_1.default.isUnset(request.endpoints)) {
13137
+ query["Endpoints"] = request.endpoints;
12237
13138
  }
12238
13139
  if (!tea_util_1.default.isUnset(request.regionId)) {
12239
13140
  query["RegionId"] = request.regionId;
@@ -12242,7 +13143,7 @@ class Client extends openapi_client_1.default {
12242
13143
  query: openapi_util_1.default.query(query),
12243
13144
  });
12244
13145
  let params = new $OpenApi.Params({
12245
- action: "CreateBasicEndpointGroup",
13146
+ action: "CreateBasicEndpoints",
12246
13147
  version: "2019-11-20",
12247
13148
  protocol: "HTTPS",
12248
13149
  pathname: "/",
@@ -12252,11 +13153,11 @@ class Client extends openapi_client_1.default {
12252
13153
  reqBodyType: "formData",
12253
13154
  bodyType: "json",
12254
13155
  });
12255
- return $tea.cast(await this.callApi(params, req, runtime), new CreateBasicEndpointGroupResponse({}));
13156
+ return $tea.cast(await this.callApi(params, req, runtime), new CreateBasicEndpointsResponse({}));
12256
13157
  }
12257
- async createBasicEndpointGroup(request) {
13158
+ async createBasicEndpoints(request) {
12258
13159
  let runtime = new $Util.RuntimeOptions({});
12259
- return await this.createBasicEndpointGroupWithOptions(request, runtime);
13160
+ return await this.createBasicEndpointsWithOptions(request, runtime);
12260
13161
  }
12261
13162
  async createBasicIpSetWithOptions(request, runtime) {
12262
13163
  tea_util_1.default.validateModel(request);
@@ -14130,6 +15031,76 @@ class Client extends openapi_client_1.default {
14130
15031
  let runtime = new $Util.RuntimeOptions({});
14131
15032
  return await this.getBasicAccelerateIpWithOptions(request, runtime);
14132
15033
  }
15034
+ async getBasicAccelerateIpEndpointRelationWithOptions(request, runtime) {
15035
+ tea_util_1.default.validateModel(request);
15036
+ let query = {};
15037
+ if (!tea_util_1.default.isUnset(request.accelerateIpId)) {
15038
+ query["AccelerateIpId"] = request.accelerateIpId;
15039
+ }
15040
+ if (!tea_util_1.default.isUnset(request.acceleratorId)) {
15041
+ query["AcceleratorId"] = request.acceleratorId;
15042
+ }
15043
+ if (!tea_util_1.default.isUnset(request.clientToken)) {
15044
+ query["ClientToken"] = request.clientToken;
15045
+ }
15046
+ if (!tea_util_1.default.isUnset(request.endpointId)) {
15047
+ query["EndpointId"] = request.endpointId;
15048
+ }
15049
+ if (!tea_util_1.default.isUnset(request.regionId)) {
15050
+ query["RegionId"] = request.regionId;
15051
+ }
15052
+ let req = new $OpenApi.OpenApiRequest({
15053
+ query: openapi_util_1.default.query(query),
15054
+ });
15055
+ let params = new $OpenApi.Params({
15056
+ action: "GetBasicAccelerateIpEndpointRelation",
15057
+ version: "2019-11-20",
15058
+ protocol: "HTTPS",
15059
+ pathname: "/",
15060
+ method: "POST",
15061
+ authType: "AK",
15062
+ style: "RPC",
15063
+ reqBodyType: "formData",
15064
+ bodyType: "json",
15065
+ });
15066
+ return $tea.cast(await this.callApi(params, req, runtime), new GetBasicAccelerateIpEndpointRelationResponse({}));
15067
+ }
15068
+ async getBasicAccelerateIpEndpointRelation(request) {
15069
+ let runtime = new $Util.RuntimeOptions({});
15070
+ return await this.getBasicAccelerateIpEndpointRelationWithOptions(request, runtime);
15071
+ }
15072
+ async getBasicAccelerateIpIdleCountWithOptions(request, runtime) {
15073
+ tea_util_1.default.validateModel(request);
15074
+ let query = {};
15075
+ if (!tea_util_1.default.isUnset(request.clientToken)) {
15076
+ query["ClientToken"] = request.clientToken;
15077
+ }
15078
+ if (!tea_util_1.default.isUnset(request.ipSetId)) {
15079
+ query["IpSetId"] = request.ipSetId;
15080
+ }
15081
+ if (!tea_util_1.default.isUnset(request.regionId)) {
15082
+ query["RegionId"] = request.regionId;
15083
+ }
15084
+ let req = new $OpenApi.OpenApiRequest({
15085
+ query: openapi_util_1.default.query(query),
15086
+ });
15087
+ let params = new $OpenApi.Params({
15088
+ action: "GetBasicAccelerateIpIdleCount",
15089
+ version: "2019-11-20",
15090
+ protocol: "HTTPS",
15091
+ pathname: "/",
15092
+ method: "POST",
15093
+ authType: "AK",
15094
+ style: "RPC",
15095
+ reqBodyType: "formData",
15096
+ bodyType: "json",
15097
+ });
15098
+ return $tea.cast(await this.callApi(params, req, runtime), new GetBasicAccelerateIpIdleCountResponse({}));
15099
+ }
15100
+ async getBasicAccelerateIpIdleCount(request) {
15101
+ let runtime = new $Util.RuntimeOptions({});
15102
+ return await this.getBasicAccelerateIpIdleCountWithOptions(request, runtime);
15103
+ }
14133
15104
  async getBasicAcceleratorWithOptions(request, runtime) {
14134
15105
  tea_util_1.default.validateModel(request);
14135
15106
  let query = {};
@@ -14159,6 +15130,38 @@ class Client extends openapi_client_1.default {
14159
15130
  let runtime = new $Util.RuntimeOptions({});
14160
15131
  return await this.getBasicAcceleratorWithOptions(request, runtime);
14161
15132
  }
15133
+ async getBasicEndpointWithOptions(request, runtime) {
15134
+ tea_util_1.default.validateModel(request);
15135
+ let query = {};
15136
+ if (!tea_util_1.default.isUnset(request.clientToken)) {
15137
+ query["ClientToken"] = request.clientToken;
15138
+ }
15139
+ if (!tea_util_1.default.isUnset(request.endpointId)) {
15140
+ query["EndpointId"] = request.endpointId;
15141
+ }
15142
+ if (!tea_util_1.default.isUnset(request.regionId)) {
15143
+ query["RegionId"] = request.regionId;
15144
+ }
15145
+ let req = new $OpenApi.OpenApiRequest({
15146
+ query: openapi_util_1.default.query(query),
15147
+ });
15148
+ let params = new $OpenApi.Params({
15149
+ action: "GetBasicEndpoint",
15150
+ version: "2019-11-20",
15151
+ protocol: "HTTPS",
15152
+ pathname: "/",
15153
+ method: "POST",
15154
+ authType: "AK",
15155
+ style: "RPC",
15156
+ reqBodyType: "formData",
15157
+ bodyType: "json",
15158
+ });
15159
+ return $tea.cast(await this.callApi(params, req, runtime), new GetBasicEndpointResponse({}));
15160
+ }
15161
+ async getBasicEndpoint(request) {
15162
+ let runtime = new $Util.RuntimeOptions({});
15163
+ return await this.getBasicEndpointWithOptions(request, runtime);
15164
+ }
14162
15165
  async getBasicEndpointGroupWithOptions(request, runtime) {
14163
15166
  tea_util_1.default.validateModel(request);
14164
15167
  let query = {};
@@ -14629,6 +15632,94 @@ class Client extends openapi_client_1.default {
14629
15632
  let runtime = new $Util.RuntimeOptions({});
14630
15633
  return await this.listBandwidthackagesWithOptions(request, runtime);
14631
15634
  }
15635
+ async listBasicAccelerateIpEndpointRelationsWithOptions(request, runtime) {
15636
+ tea_util_1.default.validateModel(request);
15637
+ let query = {};
15638
+ if (!tea_util_1.default.isUnset(request.accelerateIpId)) {
15639
+ query["AccelerateIpId"] = request.accelerateIpId;
15640
+ }
15641
+ if (!tea_util_1.default.isUnset(request.acceleratorId)) {
15642
+ query["AcceleratorId"] = request.acceleratorId;
15643
+ }
15644
+ if (!tea_util_1.default.isUnset(request.clientToken)) {
15645
+ query["ClientToken"] = request.clientToken;
15646
+ }
15647
+ if (!tea_util_1.default.isUnset(request.endpointId)) {
15648
+ query["EndpointId"] = request.endpointId;
15649
+ }
15650
+ if (!tea_util_1.default.isUnset(request.maxResults)) {
15651
+ query["MaxResults"] = request.maxResults;
15652
+ }
15653
+ if (!tea_util_1.default.isUnset(request.nextToken)) {
15654
+ query["NextToken"] = request.nextToken;
15655
+ }
15656
+ if (!tea_util_1.default.isUnset(request.regionId)) {
15657
+ query["RegionId"] = request.regionId;
15658
+ }
15659
+ let req = new $OpenApi.OpenApiRequest({
15660
+ query: openapi_util_1.default.query(query),
15661
+ });
15662
+ let params = new $OpenApi.Params({
15663
+ action: "ListBasicAccelerateIpEndpointRelations",
15664
+ version: "2019-11-20",
15665
+ protocol: "HTTPS",
15666
+ pathname: "/",
15667
+ method: "POST",
15668
+ authType: "AK",
15669
+ style: "RPC",
15670
+ reqBodyType: "formData",
15671
+ bodyType: "json",
15672
+ });
15673
+ return $tea.cast(await this.callApi(params, req, runtime), new ListBasicAccelerateIpEndpointRelationsResponse({}));
15674
+ }
15675
+ async listBasicAccelerateIpEndpointRelations(request) {
15676
+ let runtime = new $Util.RuntimeOptions({});
15677
+ return await this.listBasicAccelerateIpEndpointRelationsWithOptions(request, runtime);
15678
+ }
15679
+ async listBasicAccelerateIpsWithOptions(request, runtime) {
15680
+ tea_util_1.default.validateModel(request);
15681
+ let query = {};
15682
+ if (!tea_util_1.default.isUnset(request.accelerateIpAddress)) {
15683
+ query["AccelerateIpAddress"] = request.accelerateIpAddress;
15684
+ }
15685
+ if (!tea_util_1.default.isUnset(request.accelerateIpId)) {
15686
+ query["AccelerateIpId"] = request.accelerateIpId;
15687
+ }
15688
+ if (!tea_util_1.default.isUnset(request.clientToken)) {
15689
+ query["ClientToken"] = request.clientToken;
15690
+ }
15691
+ if (!tea_util_1.default.isUnset(request.ipSetId)) {
15692
+ query["IpSetId"] = request.ipSetId;
15693
+ }
15694
+ if (!tea_util_1.default.isUnset(request.maxResults)) {
15695
+ query["MaxResults"] = request.maxResults;
15696
+ }
15697
+ if (!tea_util_1.default.isUnset(request.nextToken)) {
15698
+ query["NextToken"] = request.nextToken;
15699
+ }
15700
+ if (!tea_util_1.default.isUnset(request.regionId)) {
15701
+ query["RegionId"] = request.regionId;
15702
+ }
15703
+ let req = new $OpenApi.OpenApiRequest({
15704
+ query: openapi_util_1.default.query(query),
15705
+ });
15706
+ let params = new $OpenApi.Params({
15707
+ action: "ListBasicAccelerateIps",
15708
+ version: "2019-11-20",
15709
+ protocol: "HTTPS",
15710
+ pathname: "/",
15711
+ method: "POST",
15712
+ authType: "AK",
15713
+ style: "RPC",
15714
+ reqBodyType: "formData",
15715
+ bodyType: "json",
15716
+ });
15717
+ return $tea.cast(await this.callApi(params, req, runtime), new ListBasicAccelerateIpsResponse({}));
15718
+ }
15719
+ async listBasicAccelerateIps(request) {
15720
+ let runtime = new $Util.RuntimeOptions({});
15721
+ return await this.listBasicAccelerateIpsWithOptions(request, runtime);
15722
+ }
14632
15723
  async listBasicAcceleratorsWithOptions(request, runtime) {
14633
15724
  tea_util_1.default.validateModel(request);
14634
15725
  let query = {};
@@ -14673,6 +15764,53 @@ class Client extends openapi_client_1.default {
14673
15764
  let runtime = new $Util.RuntimeOptions({});
14674
15765
  return await this.listBasicAcceleratorsWithOptions(request, runtime);
14675
15766
  }
15767
+ async listBasicEndpointsWithOptions(request, runtime) {
15768
+ tea_util_1.default.validateModel(request);
15769
+ let query = {};
15770
+ if (!tea_util_1.default.isUnset(request.clientToken)) {
15771
+ query["ClientToken"] = request.clientToken;
15772
+ }
15773
+ if (!tea_util_1.default.isUnset(request.endpointGroupId)) {
15774
+ query["EndpointGroupId"] = request.endpointGroupId;
15775
+ }
15776
+ if (!tea_util_1.default.isUnset(request.endpointId)) {
15777
+ query["EndpointId"] = request.endpointId;
15778
+ }
15779
+ if (!tea_util_1.default.isUnset(request.endpointType)) {
15780
+ query["EndpointType"] = request.endpointType;
15781
+ }
15782
+ if (!tea_util_1.default.isUnset(request.maxResults)) {
15783
+ query["MaxResults"] = request.maxResults;
15784
+ }
15785
+ if (!tea_util_1.default.isUnset(request.name)) {
15786
+ query["Name"] = request.name;
15787
+ }
15788
+ if (!tea_util_1.default.isUnset(request.nextToken)) {
15789
+ query["NextToken"] = request.nextToken;
15790
+ }
15791
+ if (!tea_util_1.default.isUnset(request.regionId)) {
15792
+ query["RegionId"] = request.regionId;
15793
+ }
15794
+ let req = new $OpenApi.OpenApiRequest({
15795
+ query: openapi_util_1.default.query(query),
15796
+ });
15797
+ let params = new $OpenApi.Params({
15798
+ action: "ListBasicEndpoints",
15799
+ version: "2019-11-20",
15800
+ protocol: "HTTPS",
15801
+ pathname: "/",
15802
+ method: "POST",
15803
+ authType: "AK",
15804
+ style: "RPC",
15805
+ reqBodyType: "formData",
15806
+ bodyType: "json",
15807
+ });
15808
+ return $tea.cast(await this.callApi(params, req, runtime), new ListBasicEndpointsResponse({}));
15809
+ }
15810
+ async listBasicEndpoints(request) {
15811
+ let runtime = new $Util.RuntimeOptions({});
15812
+ return await this.listBasicEndpointsWithOptions(request, runtime);
15813
+ }
14676
15814
  async listBusiRegionsWithOptions(request, runtime) {
14677
15815
  tea_util_1.default.validateModel(request);
14678
15816
  let query = {};
@@ -15689,6 +16827,44 @@ class Client extends openapi_client_1.default {
15689
16827
  let runtime = new $Util.RuntimeOptions({});
15690
16828
  return await this.updateBasicAcceleratorWithOptions(request, runtime);
15691
16829
  }
16830
+ async updateBasicEndpointWithOptions(request, runtime) {
16831
+ tea_util_1.default.validateModel(request);
16832
+ let query = {};
16833
+ if (!tea_util_1.default.isUnset(request.clientToken)) {
16834
+ query["ClientToken"] = request.clientToken;
16835
+ }
16836
+ if (!tea_util_1.default.isUnset(request.endpointGroupId)) {
16837
+ query["EndpointGroupId"] = request.endpointGroupId;
16838
+ }
16839
+ if (!tea_util_1.default.isUnset(request.endpointId)) {
16840
+ query["EndpointId"] = request.endpointId;
16841
+ }
16842
+ if (!tea_util_1.default.isUnset(request.name)) {
16843
+ query["Name"] = request.name;
16844
+ }
16845
+ if (!tea_util_1.default.isUnset(request.regionId)) {
16846
+ query["RegionId"] = request.regionId;
16847
+ }
16848
+ let req = new $OpenApi.OpenApiRequest({
16849
+ query: openapi_util_1.default.query(query),
16850
+ });
16851
+ let params = new $OpenApi.Params({
16852
+ action: "UpdateBasicEndpoint",
16853
+ version: "2019-11-20",
16854
+ protocol: "HTTPS",
16855
+ pathname: "/",
16856
+ method: "POST",
16857
+ authType: "AK",
16858
+ style: "RPC",
16859
+ reqBodyType: "formData",
16860
+ bodyType: "json",
16861
+ });
16862
+ return $tea.cast(await this.callApi(params, req, runtime), new UpdateBasicEndpointResponse({}));
16863
+ }
16864
+ async updateBasicEndpoint(request) {
16865
+ let runtime = new $Util.RuntimeOptions({});
16866
+ return await this.updateBasicEndpointWithOptions(request, runtime);
16867
+ }
15692
16868
  async updateBasicEndpointGroupWithOptions(request, runtime) {
15693
16869
  tea_util_1.default.validateModel(request);
15694
16870
  let query = {};