@alicloud/eventbridge20200401 4.1.1 → 4.2.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/dist/client.d.ts +30 -0
- package/dist/client.js +88 -0
- package/dist/client.js.map +1 -1
- package/dist/models/DiscoverEventSourceRequest.d.ts +15 -0
- package/dist/models/DiscoverEventSourceRequest.js +62 -0
- package/dist/models/DiscoverEventSourceRequest.js.map +1 -0
- package/dist/models/DiscoverEventSourceRequestSourceMySqlparameters.d.ts +78 -0
- package/dist/models/DiscoverEventSourceRequestSourceMySqlparameters.js +82 -0
- package/dist/models/DiscoverEventSourceRequestSourceMySqlparameters.js.map +1 -0
- package/dist/models/DiscoverEventSourceResponse.d.ts +19 -0
- package/dist/models/DiscoverEventSourceResponse.js +69 -0
- package/dist/models/DiscoverEventSourceResponse.js.map +1 -0
- package/dist/models/DiscoverEventSourceResponseBody.d.ts +35 -0
- package/dist/models/DiscoverEventSourceResponseBody.js +70 -0
- package/dist/models/DiscoverEventSourceResponseBody.js.map +1 -0
- package/dist/models/DiscoverEventSourceResponseBodyData.d.ts +15 -0
- package/dist/models/DiscoverEventSourceResponseBodyData.js +62 -0
- package/dist/models/DiscoverEventSourceResponseBodyData.js.map +1 -0
- package/dist/models/DiscoverEventSourceResponseBodyDataSourceMySqldiscovery.d.ts +22 -0
- package/dist/models/DiscoverEventSourceResponseBodyDataSourceMySqldiscovery.js +74 -0
- package/dist/models/DiscoverEventSourceResponseBodyDataSourceMySqldiscovery.js.map +1 -0
- package/dist/models/DiscoverEventSourceResponseBodyDataSourceMySqldiscoveryTableSchema.d.ts +20 -0
- package/dist/models/DiscoverEventSourceResponseBodyDataSourceMySqldiscoveryTableSchema.js +64 -0
- package/dist/models/DiscoverEventSourceResponseBodyDataSourceMySqldiscoveryTableSchema.js.map +1 -0
- package/dist/models/DiscoverEventSourceResponseBodyDataSourceMySqldiscoveryTableSchemaColumns.d.ts +38 -0
- package/dist/models/DiscoverEventSourceResponseBodyDataSourceMySqldiscoveryTableSchemaColumns.js +66 -0
- package/dist/models/DiscoverEventSourceResponseBodyDataSourceMySqldiscoveryTableSchemaColumns.js.map +1 -0
- package/dist/models/DiscoverEventSourceShrinkRequest.d.ts +14 -0
- package/dist/models/DiscoverEventSourceShrinkRequest.js +58 -0
- package/dist/models/DiscoverEventSourceShrinkRequest.js.map +1 -0
- package/dist/models/TestEventSourceConfigRequest.d.ts +15 -0
- package/dist/models/TestEventSourceConfigRequest.js +62 -0
- package/dist/models/TestEventSourceConfigRequest.js.map +1 -0
- package/dist/models/TestEventSourceConfigRequestSourceMySqlparameters.d.ts +71 -0
- package/dist/models/TestEventSourceConfigRequestSourceMySqlparameters.js +78 -0
- package/dist/models/TestEventSourceConfigRequestSourceMySqlparameters.js.map +1 -0
- package/dist/models/TestEventSourceConfigResponse.d.ts +19 -0
- package/dist/models/TestEventSourceConfigResponse.js +69 -0
- package/dist/models/TestEventSourceConfigResponse.js.map +1 -0
- package/dist/models/TestEventSourceConfigResponseBody.d.ts +35 -0
- package/dist/models/TestEventSourceConfigResponseBody.js +70 -0
- package/dist/models/TestEventSourceConfigResponseBody.js.map +1 -0
- package/dist/models/TestEventSourceConfigResponseBodyData.d.ts +28 -0
- package/dist/models/TestEventSourceConfigResponseBodyData.js +62 -0
- package/dist/models/TestEventSourceConfigResponseBodyData.js.map +1 -0
- package/dist/models/TestEventSourceConfigShrinkRequest.d.ts +14 -0
- package/dist/models/TestEventSourceConfigShrinkRequest.js +58 -0
- package/dist/models/TestEventSourceConfigShrinkRequest.js.map +1 -0
- package/dist/models/model.d.ts +15 -0
- package/dist/models/model.js +43 -12
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +96 -0
- package/src/models/DiscoverEventSourceRequest.ts +31 -0
- package/src/models/DiscoverEventSourceRequestSourceMySqlparameters.ts +115 -0
- package/src/models/DiscoverEventSourceResponse.ts +40 -0
- package/src/models/DiscoverEventSourceResponseBody.ts +59 -0
- package/src/models/DiscoverEventSourceResponseBodyData.ts +31 -0
- package/src/models/DiscoverEventSourceResponseBodyDataSourceMySqldiscovery.ts +50 -0
- package/src/models/DiscoverEventSourceResponseBodyDataSourceMySqldiscoveryTableSchema.ts +38 -0
- package/src/models/DiscoverEventSourceResponseBodyDataSourceMySqldiscoveryTableSchemaColumns.ts +59 -0
- package/src/models/DiscoverEventSourceShrinkRequest.ts +27 -0
- package/src/models/TestEventSourceConfigRequest.ts +31 -0
- package/src/models/TestEventSourceConfigRequestSourceMySqlparameters.ts +104 -0
- package/src/models/TestEventSourceConfigResponse.ts +40 -0
- package/src/models/TestEventSourceConfigResponseBody.ts +59 -0
- package/src/models/TestEventSourceConfigResponseBodyData.ts +45 -0
- package/src/models/TestEventSourceConfigShrinkRequest.ts +27 -0
- package/src/models/model.ts +15 -0
package/dist/models/DiscoverEventSourceResponseBodyDataSourceMySqldiscoveryTableSchemaColumns.js
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.DiscoverEventSourceResponseBodyDataSourceMySQLDiscoveryTableSchemaColumns = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class DiscoverEventSourceResponseBodyDataSourceMySQLDiscoveryTableSchemaColumns extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
extra: 'Extra',
|
|
43
|
+
field: 'Field',
|
|
44
|
+
isNull: 'IsNull',
|
|
45
|
+
key: 'Key',
|
|
46
|
+
type: 'Type',
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
static types() {
|
|
50
|
+
return {
|
|
51
|
+
extra: 'string',
|
|
52
|
+
field: 'string',
|
|
53
|
+
isNull: 'string',
|
|
54
|
+
key: 'string',
|
|
55
|
+
type: 'string',
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
validate() {
|
|
59
|
+
super.validate();
|
|
60
|
+
}
|
|
61
|
+
constructor(map) {
|
|
62
|
+
super(map);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
exports.DiscoverEventSourceResponseBodyDataSourceMySQLDiscoveryTableSchemaColumns = DiscoverEventSourceResponseBodyDataSourceMySQLDiscoveryTableSchemaColumns;
|
|
66
|
+
//# sourceMappingURL=DiscoverEventSourceResponseBodyDataSourceMySqldiscoveryTableSchemaColumns.js.map
|
package/dist/models/DiscoverEventSourceResponseBodyDataSourceMySqldiscoveryTableSchemaColumns.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DiscoverEventSourceResponseBodyDataSourceMySqldiscoveryTableSchemaColumns.js","sourceRoot":"","sources":["../../src/models/DiscoverEventSourceResponseBodyDataSourceMySqldiscoveryTableSchemaColumns.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,yEAA0E,SAAQ,KAAK,CAAC,KAAK;IA0BxG,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,KAAK,EAAE,OAAO;YACd,MAAM,EAAE,QAAQ;YAChB,GAAG,EAAE,KAAK;YACV,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,KAAK,EAAE,QAAQ;YACf,MAAM,EAAE,QAAQ;YAChB,GAAG,EAAE,QAAQ;YACb,IAAI,EAAE,QAAQ;SACf,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AArDD,8JAqDC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class DiscoverEventSourceShrinkRequest extends $dara.Model {
|
|
3
|
+
sourceMySQLParametersShrink?: string;
|
|
4
|
+
static names(): {
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
};
|
|
7
|
+
static types(): {
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
};
|
|
10
|
+
validate(): void;
|
|
11
|
+
constructor(map?: {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
});
|
|
14
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.DiscoverEventSourceShrinkRequest = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class DiscoverEventSourceShrinkRequest extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
sourceMySQLParametersShrink: 'SourceMySQLParameters',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
static types() {
|
|
46
|
+
return {
|
|
47
|
+
sourceMySQLParametersShrink: 'string',
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
validate() {
|
|
51
|
+
super.validate();
|
|
52
|
+
}
|
|
53
|
+
constructor(map) {
|
|
54
|
+
super(map);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
exports.DiscoverEventSourceShrinkRequest = DiscoverEventSourceShrinkRequest;
|
|
58
|
+
//# sourceMappingURL=DiscoverEventSourceShrinkRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DiscoverEventSourceShrinkRequest.js","sourceRoot":"","sources":["../../src/models/DiscoverEventSourceShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IAE/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,2BAA2B,EAAE,uBAAuB;SACrD,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,2BAA2B,EAAE,QAAQ;SACtC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AArBD,4EAqBC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
import { TestEventSourceConfigRequestSourceMySQLParameters } from "./TestEventSourceConfigRequestSourceMySqlparameters";
|
|
3
|
+
export declare class TestEventSourceConfigRequest extends $dara.Model {
|
|
4
|
+
sourceMySQLParameters?: TestEventSourceConfigRequestSourceMySQLParameters;
|
|
5
|
+
static names(): {
|
|
6
|
+
[key: string]: string;
|
|
7
|
+
};
|
|
8
|
+
static types(): {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
};
|
|
11
|
+
validate(): void;
|
|
12
|
+
constructor(map?: {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
});
|
|
15
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.TestEventSourceConfigRequest = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
const TestEventSourceConfigRequestSourceMySqlparameters_1 = require("./TestEventSourceConfigRequestSourceMySqlparameters");
|
|
40
|
+
class TestEventSourceConfigRequest extends $dara.Model {
|
|
41
|
+
static names() {
|
|
42
|
+
return {
|
|
43
|
+
sourceMySQLParameters: 'SourceMySQLParameters',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
static types() {
|
|
47
|
+
return {
|
|
48
|
+
sourceMySQLParameters: TestEventSourceConfigRequestSourceMySqlparameters_1.TestEventSourceConfigRequestSourceMySQLParameters,
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
validate() {
|
|
52
|
+
if (this.sourceMySQLParameters && typeof this.sourceMySQLParameters.validate === 'function') {
|
|
53
|
+
this.sourceMySQLParameters.validate();
|
|
54
|
+
}
|
|
55
|
+
super.validate();
|
|
56
|
+
}
|
|
57
|
+
constructor(map) {
|
|
58
|
+
super(map);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
exports.TestEventSourceConfigRequest = TestEventSourceConfigRequest;
|
|
62
|
+
//# sourceMappingURL=TestEventSourceConfigRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TestEventSourceConfigRequest.js","sourceRoot":"","sources":["../../src/models/TestEventSourceConfigRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,2HAAwH;AAGxH,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;IAE3D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,qBAAqB,EAAE,uBAAuB;SAC/C,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,qBAAqB,EAAE,qGAAiD;SACzE,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,qBAAqB,IAAI,OAAQ,IAAI,CAAC,qBAA6B,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACnG,IAAI,CAAC,qBAA6B,CAAC,QAAQ,EAAE,CAAC;QACjD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAxBD,oEAwBC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class TestEventSourceConfigRequestSourceMySQLParameters extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @example
|
|
5
|
+
* database1
|
|
6
|
+
*/
|
|
7
|
+
databaseName?: string;
|
|
8
|
+
/**
|
|
9
|
+
* @example
|
|
10
|
+
* rm-bp1vxxx.mysql.rds.aliyuncs.com
|
|
11
|
+
*/
|
|
12
|
+
hostName?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @example
|
|
15
|
+
* PrivateNetwork
|
|
16
|
+
*/
|
|
17
|
+
networkType?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @example
|
|
20
|
+
* 1234xxx
|
|
21
|
+
*/
|
|
22
|
+
password?: string;
|
|
23
|
+
/**
|
|
24
|
+
* @example
|
|
25
|
+
* 80
|
|
26
|
+
*/
|
|
27
|
+
port?: number;
|
|
28
|
+
/**
|
|
29
|
+
* @example
|
|
30
|
+
* cn-hangzhou
|
|
31
|
+
*/
|
|
32
|
+
regionId?: string;
|
|
33
|
+
/**
|
|
34
|
+
* @example
|
|
35
|
+
* sg-xxx
|
|
36
|
+
*/
|
|
37
|
+
securityGroupId?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @example
|
|
40
|
+
* database1.table1
|
|
41
|
+
*/
|
|
42
|
+
tableNames?: string;
|
|
43
|
+
/**
|
|
44
|
+
* @example
|
|
45
|
+
* user***
|
|
46
|
+
*/
|
|
47
|
+
user?: string;
|
|
48
|
+
/**
|
|
49
|
+
* @example
|
|
50
|
+
* vsw-bp1gb7xxx
|
|
51
|
+
*/
|
|
52
|
+
vSwitchIds?: string;
|
|
53
|
+
/**
|
|
54
|
+
* @remarks
|
|
55
|
+
* VPC ID。
|
|
56
|
+
*
|
|
57
|
+
* @example
|
|
58
|
+
* vpc-xxx
|
|
59
|
+
*/
|
|
60
|
+
vpcId?: string;
|
|
61
|
+
static names(): {
|
|
62
|
+
[key: string]: string;
|
|
63
|
+
};
|
|
64
|
+
static types(): {
|
|
65
|
+
[key: string]: any;
|
|
66
|
+
};
|
|
67
|
+
validate(): void;
|
|
68
|
+
constructor(map?: {
|
|
69
|
+
[key: string]: any;
|
|
70
|
+
});
|
|
71
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.TestEventSourceConfigRequestSourceMySQLParameters = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class TestEventSourceConfigRequestSourceMySQLParameters extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
databaseName: 'DatabaseName',
|
|
43
|
+
hostName: 'HostName',
|
|
44
|
+
networkType: 'NetworkType',
|
|
45
|
+
password: 'Password',
|
|
46
|
+
port: 'Port',
|
|
47
|
+
regionId: 'RegionId',
|
|
48
|
+
securityGroupId: 'SecurityGroupId',
|
|
49
|
+
tableNames: 'TableNames',
|
|
50
|
+
user: 'User',
|
|
51
|
+
vSwitchIds: 'VSwitchIds',
|
|
52
|
+
vpcId: 'VpcId',
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
static types() {
|
|
56
|
+
return {
|
|
57
|
+
databaseName: 'string',
|
|
58
|
+
hostName: 'string',
|
|
59
|
+
networkType: 'string',
|
|
60
|
+
password: 'string',
|
|
61
|
+
port: 'number',
|
|
62
|
+
regionId: 'string',
|
|
63
|
+
securityGroupId: 'string',
|
|
64
|
+
tableNames: 'string',
|
|
65
|
+
user: 'string',
|
|
66
|
+
vSwitchIds: 'string',
|
|
67
|
+
vpcId: 'string',
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
validate() {
|
|
71
|
+
super.validate();
|
|
72
|
+
}
|
|
73
|
+
constructor(map) {
|
|
74
|
+
super(map);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
exports.TestEventSourceConfigRequestSourceMySQLParameters = TestEventSourceConfigRequestSourceMySQLParameters;
|
|
78
|
+
//# sourceMappingURL=TestEventSourceConfigRequestSourceMySqlparameters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TestEventSourceConfigRequestSourceMySqlparameters.js","sourceRoot":"","sources":["../../src/models/TestEventSourceConfigRequestSourceMySqlparameters.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,iDAAkD,SAAQ,KAAK,CAAC,KAAK;IA2DhF,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,cAAc;YAC5B,QAAQ,EAAE,UAAU;YACpB,WAAW,EAAE,aAAa;YAC1B,QAAQ,EAAE,UAAU;YACpB,IAAI,EAAE,MAAM;YACZ,QAAQ,EAAE,UAAU;YACpB,eAAe,EAAE,iBAAiB;YAClC,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;YACZ,UAAU,EAAE,YAAY;YACxB,KAAK,EAAE,OAAO;SACf,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,QAAQ;YACtB,QAAQ,EAAE,QAAQ;YAClB,WAAW,EAAE,QAAQ;YACrB,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,QAAQ;YAClB,eAAe,EAAE,QAAQ;YACzB,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE,QAAQ;YACpB,KAAK,EAAE,QAAQ;SAChB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAlGD,8GAkGC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
import { TestEventSourceConfigResponseBody } from "./TestEventSourceConfigResponseBody";
|
|
3
|
+
export declare class TestEventSourceConfigResponse extends $dara.Model {
|
|
4
|
+
headers?: {
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
};
|
|
7
|
+
statusCode?: number;
|
|
8
|
+
body?: TestEventSourceConfigResponseBody;
|
|
9
|
+
static names(): {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
12
|
+
static types(): {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
};
|
|
15
|
+
validate(): void;
|
|
16
|
+
constructor(map?: {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
});
|
|
19
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.TestEventSourceConfigResponse = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
const TestEventSourceConfigResponseBody_1 = require("./TestEventSourceConfigResponseBody");
|
|
40
|
+
class TestEventSourceConfigResponse extends $dara.Model {
|
|
41
|
+
static names() {
|
|
42
|
+
return {
|
|
43
|
+
headers: 'headers',
|
|
44
|
+
statusCode: 'statusCode',
|
|
45
|
+
body: 'body',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
static types() {
|
|
49
|
+
return {
|
|
50
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
51
|
+
statusCode: 'number',
|
|
52
|
+
body: TestEventSourceConfigResponseBody_1.TestEventSourceConfigResponseBody,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
validate() {
|
|
56
|
+
if (this.headers) {
|
|
57
|
+
$dara.Model.validateMap(this.headers);
|
|
58
|
+
}
|
|
59
|
+
if (this.body && typeof this.body.validate === 'function') {
|
|
60
|
+
this.body.validate();
|
|
61
|
+
}
|
|
62
|
+
super.validate();
|
|
63
|
+
}
|
|
64
|
+
constructor(map) {
|
|
65
|
+
super(map);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.TestEventSourceConfigResponse = TestEventSourceConfigResponse;
|
|
69
|
+
//# sourceMappingURL=TestEventSourceConfigResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TestEventSourceConfigResponse.js","sourceRoot":"","sources":["../../src/models/TestEventSourceConfigResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,2FAAwF;AAGxF,MAAa,6BAA8B,SAAQ,KAAK,CAAC,KAAK;IAI5D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,qEAAiC;SACxC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,sEAiCC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
import { TestEventSourceConfigResponseBodyData } from "./TestEventSourceConfigResponseBodyData";
|
|
3
|
+
export declare class TestEventSourceConfigResponseBody extends $dara.Model {
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* Success
|
|
7
|
+
*/
|
|
8
|
+
code?: string;
|
|
9
|
+
data?: TestEventSourceConfigResponseBodyData[];
|
|
10
|
+
/**
|
|
11
|
+
* @example
|
|
12
|
+
* Success
|
|
13
|
+
*/
|
|
14
|
+
message?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @example
|
|
17
|
+
* FF942675-F937-549C-A942-EB94FFE28DD3
|
|
18
|
+
*/
|
|
19
|
+
requestId?: string;
|
|
20
|
+
/**
|
|
21
|
+
* @example
|
|
22
|
+
* true
|
|
23
|
+
*/
|
|
24
|
+
success?: boolean;
|
|
25
|
+
static names(): {
|
|
26
|
+
[key: string]: string;
|
|
27
|
+
};
|
|
28
|
+
static types(): {
|
|
29
|
+
[key: string]: any;
|
|
30
|
+
};
|
|
31
|
+
validate(): void;
|
|
32
|
+
constructor(map?: {
|
|
33
|
+
[key: string]: any;
|
|
34
|
+
});
|
|
35
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.TestEventSourceConfigResponseBody = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
const TestEventSourceConfigResponseBodyData_1 = require("./TestEventSourceConfigResponseBodyData");
|
|
40
|
+
class TestEventSourceConfigResponseBody extends $dara.Model {
|
|
41
|
+
static names() {
|
|
42
|
+
return {
|
|
43
|
+
code: 'Code',
|
|
44
|
+
data: 'Data',
|
|
45
|
+
message: 'Message',
|
|
46
|
+
requestId: 'RequestId',
|
|
47
|
+
success: 'Success',
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
static types() {
|
|
51
|
+
return {
|
|
52
|
+
code: 'string',
|
|
53
|
+
data: { 'type': 'array', 'itemType': TestEventSourceConfigResponseBodyData_1.TestEventSourceConfigResponseBodyData },
|
|
54
|
+
message: 'string',
|
|
55
|
+
requestId: 'string',
|
|
56
|
+
success: 'boolean',
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
validate() {
|
|
60
|
+
if (Array.isArray(this.data)) {
|
|
61
|
+
$dara.Model.validateArray(this.data);
|
|
62
|
+
}
|
|
63
|
+
super.validate();
|
|
64
|
+
}
|
|
65
|
+
constructor(map) {
|
|
66
|
+
super(map);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
exports.TestEventSourceConfigResponseBody = TestEventSourceConfigResponseBody;
|
|
70
|
+
//# sourceMappingURL=TestEventSourceConfigResponseBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TestEventSourceConfigResponseBody.js","sourceRoot":"","sources":["../../src/models/TestEventSourceConfigResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,mGAAgG;AAGhG,MAAa,iCAAkC,SAAQ,KAAK,CAAC,KAAK;IAsBhE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,6EAAqC,EAAE;YAC5E,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;YAC5B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACvC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApDD,8EAoDC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class TestEventSourceConfigResponseBodyData extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @example
|
|
5
|
+
* CHECK_CONNECTION
|
|
6
|
+
*/
|
|
7
|
+
checkItem?: string;
|
|
8
|
+
/**
|
|
9
|
+
* @example
|
|
10
|
+
* Connection established successfully.
|
|
11
|
+
*/
|
|
12
|
+
errorMsg?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @example
|
|
15
|
+
* true
|
|
16
|
+
*/
|
|
17
|
+
isSucceed?: string;
|
|
18
|
+
static names(): {
|
|
19
|
+
[key: string]: string;
|
|
20
|
+
};
|
|
21
|
+
static types(): {
|
|
22
|
+
[key: string]: any;
|
|
23
|
+
};
|
|
24
|
+
validate(): void;
|
|
25
|
+
constructor(map?: {
|
|
26
|
+
[key: string]: any;
|
|
27
|
+
});
|
|
28
|
+
}
|