@alicloud/cloudapi20160714 2.1.0 → 2.1.1

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.d.ts CHANGED
@@ -1492,6 +1492,47 @@ export declare class DeleteModelResponse extends $tea.Model {
1492
1492
  [key: string]: any;
1493
1493
  });
1494
1494
  }
1495
+ export declare class DeleteMonitorGroupRequest extends $tea.Model {
1496
+ groupId?: string;
1497
+ rawMonitorGroupId?: number;
1498
+ securityToken?: string;
1499
+ static names(): {
1500
+ [key: string]: string;
1501
+ };
1502
+ static types(): {
1503
+ [key: string]: any;
1504
+ };
1505
+ constructor(map?: {
1506
+ [key: string]: any;
1507
+ });
1508
+ }
1509
+ export declare class DeleteMonitorGroupResponseBody extends $tea.Model {
1510
+ requestId?: string;
1511
+ static names(): {
1512
+ [key: string]: string;
1513
+ };
1514
+ static types(): {
1515
+ [key: string]: any;
1516
+ };
1517
+ constructor(map?: {
1518
+ [key: string]: any;
1519
+ });
1520
+ }
1521
+ export declare class DeleteMonitorGroupResponse extends $tea.Model {
1522
+ headers: {
1523
+ [key: string]: string;
1524
+ };
1525
+ body: DeleteMonitorGroupResponseBody;
1526
+ static names(): {
1527
+ [key: string]: string;
1528
+ };
1529
+ static types(): {
1530
+ [key: string]: any;
1531
+ };
1532
+ constructor(map?: {
1533
+ [key: string]: any;
1534
+ });
1535
+ }
1495
1536
  export declare class DeletePluginRequest extends $tea.Model {
1496
1537
  pluginId?: string;
1497
1538
  securityToken?: string;
@@ -9889,6 +9930,8 @@ export default class Client extends OpenApi {
9889
9930
  deleteLogConfig(request: DeleteLogConfigRequest): Promise<DeleteLogConfigResponse>;
9890
9931
  deleteModelWithOptions(request: DeleteModelRequest, runtime: $Util.RuntimeOptions): Promise<DeleteModelResponse>;
9891
9932
  deleteModel(request: DeleteModelRequest): Promise<DeleteModelResponse>;
9933
+ deleteMonitorGroupWithOptions(request: DeleteMonitorGroupRequest, runtime: $Util.RuntimeOptions): Promise<DeleteMonitorGroupResponse>;
9934
+ deleteMonitorGroup(request: DeleteMonitorGroupRequest): Promise<DeleteMonitorGroupResponse>;
9892
9935
  deletePluginWithOptions(request: DeletePluginRequest, runtime: $Util.RuntimeOptions): Promise<DeletePluginResponse>;
9893
9936
  deletePlugin(request: DeletePluginRequest): Promise<DeletePluginResponse>;
9894
9937
  deleteSignatureWithOptions(request: DeleteSignatureRequest, runtime: $Util.RuntimeOptions): Promise<DeleteSignatureResponse>;
package/dist/client.js CHANGED
@@ -2043,6 +2043,60 @@ class DeleteModelResponse extends $tea.Model {
2043
2043
  }
2044
2044
  }
2045
2045
  exports.DeleteModelResponse = DeleteModelResponse;
2046
+ class DeleteMonitorGroupRequest extends $tea.Model {
2047
+ constructor(map) {
2048
+ super(map);
2049
+ }
2050
+ static names() {
2051
+ return {
2052
+ groupId: 'GroupId',
2053
+ rawMonitorGroupId: 'RawMonitorGroupId',
2054
+ securityToken: 'SecurityToken',
2055
+ };
2056
+ }
2057
+ static types() {
2058
+ return {
2059
+ groupId: 'string',
2060
+ rawMonitorGroupId: 'number',
2061
+ securityToken: 'string',
2062
+ };
2063
+ }
2064
+ }
2065
+ exports.DeleteMonitorGroupRequest = DeleteMonitorGroupRequest;
2066
+ class DeleteMonitorGroupResponseBody extends $tea.Model {
2067
+ constructor(map) {
2068
+ super(map);
2069
+ }
2070
+ static names() {
2071
+ return {
2072
+ requestId: 'RequestId',
2073
+ };
2074
+ }
2075
+ static types() {
2076
+ return {
2077
+ requestId: 'string',
2078
+ };
2079
+ }
2080
+ }
2081
+ exports.DeleteMonitorGroupResponseBody = DeleteMonitorGroupResponseBody;
2082
+ class DeleteMonitorGroupResponse extends $tea.Model {
2083
+ constructor(map) {
2084
+ super(map);
2085
+ }
2086
+ static names() {
2087
+ return {
2088
+ headers: 'headers',
2089
+ body: 'body',
2090
+ };
2091
+ }
2092
+ static types() {
2093
+ return {
2094
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2095
+ body: DeleteMonitorGroupResponseBody,
2096
+ };
2097
+ }
2098
+ }
2099
+ exports.DeleteMonitorGroupResponse = DeleteMonitorGroupResponse;
2046
2100
  class DeletePluginRequest extends $tea.Model {
2047
2101
  constructor(map) {
2048
2102
  super(map);
@@ -15162,6 +15216,38 @@ class Client extends openapi_client_1.default {
15162
15216
  let runtime = new $Util.RuntimeOptions({});
15163
15217
  return await this.deleteModelWithOptions(request, runtime);
15164
15218
  }
15219
+ async deleteMonitorGroupWithOptions(request, runtime) {
15220
+ tea_util_1.default.validateModel(request);
15221
+ let query = {};
15222
+ if (!tea_util_1.default.isUnset(request.groupId)) {
15223
+ query["GroupId"] = request.groupId;
15224
+ }
15225
+ if (!tea_util_1.default.isUnset(request.rawMonitorGroupId)) {
15226
+ query["RawMonitorGroupId"] = request.rawMonitorGroupId;
15227
+ }
15228
+ if (!tea_util_1.default.isUnset(request.securityToken)) {
15229
+ query["SecurityToken"] = request.securityToken;
15230
+ }
15231
+ let req = new $OpenApi.OpenApiRequest({
15232
+ query: openapi_util_1.default.query(query),
15233
+ });
15234
+ let params = new $OpenApi.Params({
15235
+ action: "DeleteMonitorGroup",
15236
+ version: "2016-07-14",
15237
+ protocol: "HTTPS",
15238
+ pathname: "/",
15239
+ method: "POST",
15240
+ authType: "AK",
15241
+ style: "RPC",
15242
+ reqBodyType: "formData",
15243
+ bodyType: "json",
15244
+ });
15245
+ return $tea.cast(await this.callApi(params, req, runtime), new DeleteMonitorGroupResponse({}));
15246
+ }
15247
+ async deleteMonitorGroup(request) {
15248
+ let runtime = new $Util.RuntimeOptions({});
15249
+ return await this.deleteMonitorGroupWithOptions(request, runtime);
15250
+ }
15165
15251
  async deletePluginWithOptions(request, runtime) {
15166
15252
  tea_util_1.default.validateModel(request);
15167
15253
  let query = {};