@huaweicloud/huaweicloud-sdk-smn 3.1.39 → 3.1.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/v2/SmnClient.d.ts +168 -30
- package/v2/SmnClient.js +328 -45
- package/v2/SmnRegion.d.ts +2 -0
- package/v2/SmnRegion.js +5 -1
- package/v2/model/AccessPolicy.d.ts +16 -0
- package/v2/model/AccessPolicy.js +54 -0
- package/v2/model/AddSubscriptionRequestBody.d.ts +3 -0
- package/v2/model/AddSubscriptionRequestBody.js +4 -0
- package/v2/model/CreateLogtankRequest.d.ts +10 -0
- package/v2/model/CreateLogtankRequest.js +28 -0
- package/v2/model/CreateLogtankRequestBody.d.ts +11 -0
- package/v2/model/CreateLogtankRequestBody.js +39 -0
- package/v2/model/CreateLogtankResponse.d.ts +10 -0
- package/v2/model/CreateLogtankResponse.js +45 -0
- package/v2/model/CreateResourceTagRequestBody.d.ts +3 -3
- package/v2/model/DeleteLogtankRequest.d.ts +11 -0
- package/v2/model/DeleteLogtankRequest.js +39 -0
- package/v2/model/DeleteLogtankResponse.d.ts +8 -0
- package/v2/model/DeleteLogtankResponse.js +41 -0
- package/v2/model/ListLogtankRequest.d.ts +7 -0
- package/v2/model/ListLogtankRequest.js +24 -0
- package/v2/model/ListLogtankResponse.d.ts +13 -0
- package/v2/model/ListLogtankResponse.js +49 -0
- package/v2/model/ListTopicDetailsResponse.d.ts +4 -0
- package/v2/model/ListTopicDetailsResponse.js +14 -0
- package/v2/model/ListTopicsItem.d.ts +5 -1
- package/v2/model/ListTopicsItem.js +16 -1
- package/v2/model/ListTopicsRequest.d.ts +4 -0
- package/v2/model/ListTopicsRequest.js +14 -0
- package/v2/model/ListVersionRequest.d.ts +1 -5
- package/v2/model/ListVersionRequest.js +1 -16
- package/v2/model/ListVersionResponse.d.ts +3 -2
- package/v2/model/LogtankItem.d.ts +21 -0
- package/v2/model/LogtankItem.js +74 -0
- package/v2/model/SubscriptionExtension.d.ts +17 -0
- package/v2/model/SubscriptionExtension.js +55 -0
- package/v2/model/TopicAttribute.d.ts +8 -14
- package/v2/model/TopicAttribute.js +9 -36
- package/v2/model/UpdateLogtankRequest.d.ts +14 -0
- package/v2/model/UpdateLogtankRequest.js +43 -0
- package/v2/model/UpdateLogtankRequestBody.d.ts +11 -0
- package/v2/model/UpdateLogtankRequestBody.js +39 -0
- package/v2/model/UpdateLogtankResponse.d.ts +11 -0
- package/v2/model/UpdateLogtankResponse.js +45 -0
- package/v2/model/UpdateSubscriptionRequest.d.ts +14 -0
- package/v2/model/UpdateSubscriptionRequest.js +43 -0
- package/v2/model/UpdateSubscriptionRequestBody.d.ts +5 -0
- package/v2/model/UpdateSubscriptionRequestBody.js +14 -0
- package/v2/model/UpdateSubscriptionResponse.d.ts +12 -0
- package/v2/model/UpdateSubscriptionResponse.js +55 -0
- package/v2/public-api.d.ts +16 -1
- package/v2/public-api.js +16 -1
- package/v2/model/CreateResourceTagRequestBodyTag.d.ts +0 -7
- package/v2/model/CreateResourceTagRequestBodyTag.js +0 -19
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { VersionItem } from './VersionItem';
|
|
1
2
|
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
2
3
|
export declare class ListVersionResponse extends SdkResponse {
|
|
3
|
-
version?:
|
|
4
|
+
version?: VersionItem;
|
|
4
5
|
constructor();
|
|
5
|
-
withVersion(version:
|
|
6
|
+
withVersion(version: VersionItem): ListVersionResponse;
|
|
6
7
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare class LogtankItem {
|
|
2
|
+
id: string;
|
|
3
|
+
private 'log_group_id';
|
|
4
|
+
private 'log_stream_id';
|
|
5
|
+
private 'create_time';
|
|
6
|
+
private 'update_time';
|
|
7
|
+
constructor(id?: any, logGroupId?: any, logStreamId?: any, createTime?: any, updateTime?: any);
|
|
8
|
+
withId(id: string): LogtankItem;
|
|
9
|
+
withLogGroupId(logGroupId: string): LogtankItem;
|
|
10
|
+
set logGroupId(logGroupId: string | undefined);
|
|
11
|
+
get logGroupId(): string | undefined;
|
|
12
|
+
withLogStreamId(logStreamId: string): LogtankItem;
|
|
13
|
+
set logStreamId(logStreamId: string | undefined);
|
|
14
|
+
get logStreamId(): string | undefined;
|
|
15
|
+
withCreateTime(createTime: string): LogtankItem;
|
|
16
|
+
set createTime(createTime: string | undefined);
|
|
17
|
+
get createTime(): string | undefined;
|
|
18
|
+
withUpdateTime(updateTime: string): LogtankItem;
|
|
19
|
+
set updateTime(updateTime: string | undefined);
|
|
20
|
+
get updateTime(): string | undefined;
|
|
21
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LogtankItem = void 0;
|
|
4
|
+
var LogtankItem = /** @class */ (function () {
|
|
5
|
+
function LogtankItem(id, logGroupId, logStreamId, createTime, updateTime) {
|
|
6
|
+
this['id'] = id;
|
|
7
|
+
this['log_group_id'] = logGroupId;
|
|
8
|
+
this['log_stream_id'] = logStreamId;
|
|
9
|
+
this['create_time'] = createTime;
|
|
10
|
+
this['update_time'] = updateTime;
|
|
11
|
+
}
|
|
12
|
+
LogtankItem.prototype.withId = function (id) {
|
|
13
|
+
this['id'] = id;
|
|
14
|
+
return this;
|
|
15
|
+
};
|
|
16
|
+
LogtankItem.prototype.withLogGroupId = function (logGroupId) {
|
|
17
|
+
this['log_group_id'] = logGroupId;
|
|
18
|
+
return this;
|
|
19
|
+
};
|
|
20
|
+
Object.defineProperty(LogtankItem.prototype, "logGroupId", {
|
|
21
|
+
get: function () {
|
|
22
|
+
return this['log_group_id'];
|
|
23
|
+
},
|
|
24
|
+
set: function (logGroupId) {
|
|
25
|
+
this['log_group_id'] = logGroupId;
|
|
26
|
+
},
|
|
27
|
+
enumerable: false,
|
|
28
|
+
configurable: true
|
|
29
|
+
});
|
|
30
|
+
LogtankItem.prototype.withLogStreamId = function (logStreamId) {
|
|
31
|
+
this['log_stream_id'] = logStreamId;
|
|
32
|
+
return this;
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(LogtankItem.prototype, "logStreamId", {
|
|
35
|
+
get: function () {
|
|
36
|
+
return this['log_stream_id'];
|
|
37
|
+
},
|
|
38
|
+
set: function (logStreamId) {
|
|
39
|
+
this['log_stream_id'] = logStreamId;
|
|
40
|
+
},
|
|
41
|
+
enumerable: false,
|
|
42
|
+
configurable: true
|
|
43
|
+
});
|
|
44
|
+
LogtankItem.prototype.withCreateTime = function (createTime) {
|
|
45
|
+
this['create_time'] = createTime;
|
|
46
|
+
return this;
|
|
47
|
+
};
|
|
48
|
+
Object.defineProperty(LogtankItem.prototype, "createTime", {
|
|
49
|
+
get: function () {
|
|
50
|
+
return this['create_time'];
|
|
51
|
+
},
|
|
52
|
+
set: function (createTime) {
|
|
53
|
+
this['create_time'] = createTime;
|
|
54
|
+
},
|
|
55
|
+
enumerable: false,
|
|
56
|
+
configurable: true
|
|
57
|
+
});
|
|
58
|
+
LogtankItem.prototype.withUpdateTime = function (updateTime) {
|
|
59
|
+
this['update_time'] = updateTime;
|
|
60
|
+
return this;
|
|
61
|
+
};
|
|
62
|
+
Object.defineProperty(LogtankItem.prototype, "updateTime", {
|
|
63
|
+
get: function () {
|
|
64
|
+
return this['update_time'];
|
|
65
|
+
},
|
|
66
|
+
set: function (updateTime) {
|
|
67
|
+
this['update_time'] = updateTime;
|
|
68
|
+
},
|
|
69
|
+
enumerable: false,
|
|
70
|
+
configurable: true
|
|
71
|
+
});
|
|
72
|
+
return LogtankItem;
|
|
73
|
+
}());
|
|
74
|
+
exports.LogtankItem = LogtankItem;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare class SubscriptionExtension {
|
|
2
|
+
private 'client_id'?;
|
|
3
|
+
private 'client_secret'?;
|
|
4
|
+
keyword?: string;
|
|
5
|
+
private 'sign_secret'?;
|
|
6
|
+
constructor();
|
|
7
|
+
withClientId(clientId: string): SubscriptionExtension;
|
|
8
|
+
set clientId(clientId: string | undefined);
|
|
9
|
+
get clientId(): string | undefined;
|
|
10
|
+
withClientSecret(clientSecret: string): SubscriptionExtension;
|
|
11
|
+
set clientSecret(clientSecret: string | undefined);
|
|
12
|
+
get clientSecret(): string | undefined;
|
|
13
|
+
withKeyword(keyword: string): SubscriptionExtension;
|
|
14
|
+
withSignSecret(signSecret: string): SubscriptionExtension;
|
|
15
|
+
set signSecret(signSecret: string | undefined);
|
|
16
|
+
get signSecret(): string | undefined;
|
|
17
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SubscriptionExtension = void 0;
|
|
4
|
+
var SubscriptionExtension = /** @class */ (function () {
|
|
5
|
+
function SubscriptionExtension() {
|
|
6
|
+
}
|
|
7
|
+
SubscriptionExtension.prototype.withClientId = function (clientId) {
|
|
8
|
+
this['client_id'] = clientId;
|
|
9
|
+
return this;
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(SubscriptionExtension.prototype, "clientId", {
|
|
12
|
+
get: function () {
|
|
13
|
+
return this['client_id'];
|
|
14
|
+
},
|
|
15
|
+
set: function (clientId) {
|
|
16
|
+
this['client_id'] = clientId;
|
|
17
|
+
},
|
|
18
|
+
enumerable: false,
|
|
19
|
+
configurable: true
|
|
20
|
+
});
|
|
21
|
+
SubscriptionExtension.prototype.withClientSecret = function (clientSecret) {
|
|
22
|
+
this['client_secret'] = clientSecret;
|
|
23
|
+
return this;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(SubscriptionExtension.prototype, "clientSecret", {
|
|
26
|
+
get: function () {
|
|
27
|
+
return this['client_secret'];
|
|
28
|
+
},
|
|
29
|
+
set: function (clientSecret) {
|
|
30
|
+
this['client_secret'] = clientSecret;
|
|
31
|
+
},
|
|
32
|
+
enumerable: false,
|
|
33
|
+
configurable: true
|
|
34
|
+
});
|
|
35
|
+
SubscriptionExtension.prototype.withKeyword = function (keyword) {
|
|
36
|
+
this['keyword'] = keyword;
|
|
37
|
+
return this;
|
|
38
|
+
};
|
|
39
|
+
SubscriptionExtension.prototype.withSignSecret = function (signSecret) {
|
|
40
|
+
this['sign_secret'] = signSecret;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
Object.defineProperty(SubscriptionExtension.prototype, "signSecret", {
|
|
44
|
+
get: function () {
|
|
45
|
+
return this['sign_secret'];
|
|
46
|
+
},
|
|
47
|
+
set: function (signSecret) {
|
|
48
|
+
this['sign_secret'] = signSecret;
|
|
49
|
+
},
|
|
50
|
+
enumerable: false,
|
|
51
|
+
configurable: true
|
|
52
|
+
});
|
|
53
|
+
return SubscriptionExtension;
|
|
54
|
+
}());
|
|
55
|
+
exports.SubscriptionExtension = SubscriptionExtension;
|
|
@@ -1,16 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AccessPolicy } from './AccessPolicy';
|
|
2
2
|
export declare class TopicAttribute {
|
|
3
|
-
private '
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
withId(id: string): TopicAttribute;
|
|
11
|
-
set id(id: string | undefined);
|
|
12
|
-
get id(): string | undefined;
|
|
13
|
-
withStatement(statement: Array<Statement>): TopicAttribute;
|
|
14
|
-
set statement(statement: Array<Statement> | undefined);
|
|
15
|
-
get statement(): Array<Statement> | undefined;
|
|
3
|
+
private 'access_policy'?;
|
|
4
|
+
introduction?: string;
|
|
5
|
+
constructor();
|
|
6
|
+
withAccessPolicy(accessPolicy: AccessPolicy): TopicAttribute;
|
|
7
|
+
set accessPolicy(accessPolicy: AccessPolicy | undefined);
|
|
8
|
+
get accessPolicy(): AccessPolicy | undefined;
|
|
9
|
+
withIntroduction(introduction: string): TopicAttribute;
|
|
16
10
|
}
|
|
@@ -2,53 +2,26 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TopicAttribute = void 0;
|
|
4
4
|
var TopicAttribute = /** @class */ (function () {
|
|
5
|
-
function TopicAttribute(
|
|
6
|
-
this['Version'] = version;
|
|
7
|
-
this['Id'] = id;
|
|
8
|
-
this['Statement'] = statement;
|
|
5
|
+
function TopicAttribute() {
|
|
9
6
|
}
|
|
10
|
-
TopicAttribute.prototype.
|
|
11
|
-
this['
|
|
7
|
+
TopicAttribute.prototype.withAccessPolicy = function (accessPolicy) {
|
|
8
|
+
this['access_policy'] = accessPolicy;
|
|
12
9
|
return this;
|
|
13
10
|
};
|
|
14
|
-
Object.defineProperty(TopicAttribute.prototype, "
|
|
11
|
+
Object.defineProperty(TopicAttribute.prototype, "accessPolicy", {
|
|
15
12
|
get: function () {
|
|
16
|
-
return this['
|
|
13
|
+
return this['access_policy'];
|
|
17
14
|
},
|
|
18
|
-
set: function (
|
|
19
|
-
this['
|
|
15
|
+
set: function (accessPolicy) {
|
|
16
|
+
this['access_policy'] = accessPolicy;
|
|
20
17
|
},
|
|
21
18
|
enumerable: false,
|
|
22
19
|
configurable: true
|
|
23
20
|
});
|
|
24
|
-
TopicAttribute.prototype.
|
|
25
|
-
this['
|
|
21
|
+
TopicAttribute.prototype.withIntroduction = function (introduction) {
|
|
22
|
+
this['introduction'] = introduction;
|
|
26
23
|
return this;
|
|
27
24
|
};
|
|
28
|
-
Object.defineProperty(TopicAttribute.prototype, "id", {
|
|
29
|
-
get: function () {
|
|
30
|
-
return this['Id'];
|
|
31
|
-
},
|
|
32
|
-
set: function (id) {
|
|
33
|
-
this['Id'] = id;
|
|
34
|
-
},
|
|
35
|
-
enumerable: false,
|
|
36
|
-
configurable: true
|
|
37
|
-
});
|
|
38
|
-
TopicAttribute.prototype.withStatement = function (statement) {
|
|
39
|
-
this['Statement'] = statement;
|
|
40
|
-
return this;
|
|
41
|
-
};
|
|
42
|
-
Object.defineProperty(TopicAttribute.prototype, "statement", {
|
|
43
|
-
get: function () {
|
|
44
|
-
return this['Statement'];
|
|
45
|
-
},
|
|
46
|
-
set: function (statement) {
|
|
47
|
-
this['Statement'] = statement;
|
|
48
|
-
},
|
|
49
|
-
enumerable: false,
|
|
50
|
-
configurable: true
|
|
51
|
-
});
|
|
52
25
|
return TopicAttribute;
|
|
53
26
|
}());
|
|
54
27
|
exports.TopicAttribute = TopicAttribute;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { UpdateLogtankRequestBody } from './UpdateLogtankRequestBody';
|
|
2
|
+
export declare class UpdateLogtankRequest {
|
|
3
|
+
private 'topic_urn';
|
|
4
|
+
private 'logtank_id';
|
|
5
|
+
body?: UpdateLogtankRequestBody;
|
|
6
|
+
constructor(topicUrn?: any, logtankId?: any);
|
|
7
|
+
withTopicUrn(topicUrn: string): UpdateLogtankRequest;
|
|
8
|
+
set topicUrn(topicUrn: string | undefined);
|
|
9
|
+
get topicUrn(): string | undefined;
|
|
10
|
+
withLogtankId(logtankId: string): UpdateLogtankRequest;
|
|
11
|
+
set logtankId(logtankId: string | undefined);
|
|
12
|
+
get logtankId(): string | undefined;
|
|
13
|
+
withBody(body: UpdateLogtankRequestBody): UpdateLogtankRequest;
|
|
14
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateLogtankRequest = void 0;
|
|
4
|
+
var UpdateLogtankRequest = /** @class */ (function () {
|
|
5
|
+
function UpdateLogtankRequest(topicUrn, logtankId) {
|
|
6
|
+
this['topic_urn'] = topicUrn;
|
|
7
|
+
this['logtank_id'] = logtankId;
|
|
8
|
+
}
|
|
9
|
+
UpdateLogtankRequest.prototype.withTopicUrn = function (topicUrn) {
|
|
10
|
+
this['topic_urn'] = topicUrn;
|
|
11
|
+
return this;
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(UpdateLogtankRequest.prototype, "topicUrn", {
|
|
14
|
+
get: function () {
|
|
15
|
+
return this['topic_urn'];
|
|
16
|
+
},
|
|
17
|
+
set: function (topicUrn) {
|
|
18
|
+
this['topic_urn'] = topicUrn;
|
|
19
|
+
},
|
|
20
|
+
enumerable: false,
|
|
21
|
+
configurable: true
|
|
22
|
+
});
|
|
23
|
+
UpdateLogtankRequest.prototype.withLogtankId = function (logtankId) {
|
|
24
|
+
this['logtank_id'] = logtankId;
|
|
25
|
+
return this;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(UpdateLogtankRequest.prototype, "logtankId", {
|
|
28
|
+
get: function () {
|
|
29
|
+
return this['logtank_id'];
|
|
30
|
+
},
|
|
31
|
+
set: function (logtankId) {
|
|
32
|
+
this['logtank_id'] = logtankId;
|
|
33
|
+
},
|
|
34
|
+
enumerable: false,
|
|
35
|
+
configurable: true
|
|
36
|
+
});
|
|
37
|
+
UpdateLogtankRequest.prototype.withBody = function (body) {
|
|
38
|
+
this['body'] = body;
|
|
39
|
+
return this;
|
|
40
|
+
};
|
|
41
|
+
return UpdateLogtankRequest;
|
|
42
|
+
}());
|
|
43
|
+
exports.UpdateLogtankRequest = UpdateLogtankRequest;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare class UpdateLogtankRequestBody {
|
|
2
|
+
private 'log_group_id';
|
|
3
|
+
private 'log_stream_id';
|
|
4
|
+
constructor(logGroupId?: any, logStreamId?: any);
|
|
5
|
+
withLogGroupId(logGroupId: string): UpdateLogtankRequestBody;
|
|
6
|
+
set logGroupId(logGroupId: string | undefined);
|
|
7
|
+
get logGroupId(): string | undefined;
|
|
8
|
+
withLogStreamId(logStreamId: string): UpdateLogtankRequestBody;
|
|
9
|
+
set logStreamId(logStreamId: string | undefined);
|
|
10
|
+
get logStreamId(): string | undefined;
|
|
11
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateLogtankRequestBody = void 0;
|
|
4
|
+
var UpdateLogtankRequestBody = /** @class */ (function () {
|
|
5
|
+
function UpdateLogtankRequestBody(logGroupId, logStreamId) {
|
|
6
|
+
this['log_group_id'] = logGroupId;
|
|
7
|
+
this['log_stream_id'] = logStreamId;
|
|
8
|
+
}
|
|
9
|
+
UpdateLogtankRequestBody.prototype.withLogGroupId = function (logGroupId) {
|
|
10
|
+
this['log_group_id'] = logGroupId;
|
|
11
|
+
return this;
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(UpdateLogtankRequestBody.prototype, "logGroupId", {
|
|
14
|
+
get: function () {
|
|
15
|
+
return this['log_group_id'];
|
|
16
|
+
},
|
|
17
|
+
set: function (logGroupId) {
|
|
18
|
+
this['log_group_id'] = logGroupId;
|
|
19
|
+
},
|
|
20
|
+
enumerable: false,
|
|
21
|
+
configurable: true
|
|
22
|
+
});
|
|
23
|
+
UpdateLogtankRequestBody.prototype.withLogStreamId = function (logStreamId) {
|
|
24
|
+
this['log_stream_id'] = logStreamId;
|
|
25
|
+
return this;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(UpdateLogtankRequestBody.prototype, "logStreamId", {
|
|
28
|
+
get: function () {
|
|
29
|
+
return this['log_stream_id'];
|
|
30
|
+
},
|
|
31
|
+
set: function (logStreamId) {
|
|
32
|
+
this['log_stream_id'] = logStreamId;
|
|
33
|
+
},
|
|
34
|
+
enumerable: false,
|
|
35
|
+
configurable: true
|
|
36
|
+
});
|
|
37
|
+
return UpdateLogtankRequestBody;
|
|
38
|
+
}());
|
|
39
|
+
exports.UpdateLogtankRequestBody = UpdateLogtankRequestBody;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { LogtankItem } from './LogtankItem';
|
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
3
|
+
export declare class UpdateLogtankResponse extends SdkResponse {
|
|
4
|
+
private 'request_id'?;
|
|
5
|
+
logtank?: LogtankItem;
|
|
6
|
+
constructor();
|
|
7
|
+
withRequestId(requestId: string): UpdateLogtankResponse;
|
|
8
|
+
set requestId(requestId: string | undefined);
|
|
9
|
+
get requestId(): string | undefined;
|
|
10
|
+
withLogtank(logtank: LogtankItem): UpdateLogtankResponse;
|
|
11
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.UpdateLogtankResponse = void 0;
|
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
20
|
+
var UpdateLogtankResponse = /** @class */ (function (_super) {
|
|
21
|
+
__extends(UpdateLogtankResponse, _super);
|
|
22
|
+
function UpdateLogtankResponse() {
|
|
23
|
+
return _super.call(this) || this;
|
|
24
|
+
}
|
|
25
|
+
UpdateLogtankResponse.prototype.withRequestId = function (requestId) {
|
|
26
|
+
this['request_id'] = requestId;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(UpdateLogtankResponse.prototype, "requestId", {
|
|
30
|
+
get: function () {
|
|
31
|
+
return this['request_id'];
|
|
32
|
+
},
|
|
33
|
+
set: function (requestId) {
|
|
34
|
+
this['request_id'] = requestId;
|
|
35
|
+
},
|
|
36
|
+
enumerable: false,
|
|
37
|
+
configurable: true
|
|
38
|
+
});
|
|
39
|
+
UpdateLogtankResponse.prototype.withLogtank = function (logtank) {
|
|
40
|
+
this['logtank'] = logtank;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
return UpdateLogtankResponse;
|
|
44
|
+
}(SdkResponse_1.SdkResponse));
|
|
45
|
+
exports.UpdateLogtankResponse = UpdateLogtankResponse;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { UpdateSubscriptionRequestBody } from './UpdateSubscriptionRequestBody';
|
|
2
|
+
export declare class UpdateSubscriptionRequest {
|
|
3
|
+
private 'topic_urn';
|
|
4
|
+
private 'subscription_urn';
|
|
5
|
+
body?: UpdateSubscriptionRequestBody;
|
|
6
|
+
constructor(topicUrn?: any, subscriptionUrn?: any);
|
|
7
|
+
withTopicUrn(topicUrn: string): UpdateSubscriptionRequest;
|
|
8
|
+
set topicUrn(topicUrn: string | undefined);
|
|
9
|
+
get topicUrn(): string | undefined;
|
|
10
|
+
withSubscriptionUrn(subscriptionUrn: string): UpdateSubscriptionRequest;
|
|
11
|
+
set subscriptionUrn(subscriptionUrn: string | undefined);
|
|
12
|
+
get subscriptionUrn(): string | undefined;
|
|
13
|
+
withBody(body: UpdateSubscriptionRequestBody): UpdateSubscriptionRequest;
|
|
14
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateSubscriptionRequest = void 0;
|
|
4
|
+
var UpdateSubscriptionRequest = /** @class */ (function () {
|
|
5
|
+
function UpdateSubscriptionRequest(topicUrn, subscriptionUrn) {
|
|
6
|
+
this['topic_urn'] = topicUrn;
|
|
7
|
+
this['subscription_urn'] = subscriptionUrn;
|
|
8
|
+
}
|
|
9
|
+
UpdateSubscriptionRequest.prototype.withTopicUrn = function (topicUrn) {
|
|
10
|
+
this['topic_urn'] = topicUrn;
|
|
11
|
+
return this;
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(UpdateSubscriptionRequest.prototype, "topicUrn", {
|
|
14
|
+
get: function () {
|
|
15
|
+
return this['topic_urn'];
|
|
16
|
+
},
|
|
17
|
+
set: function (topicUrn) {
|
|
18
|
+
this['topic_urn'] = topicUrn;
|
|
19
|
+
},
|
|
20
|
+
enumerable: false,
|
|
21
|
+
configurable: true
|
|
22
|
+
});
|
|
23
|
+
UpdateSubscriptionRequest.prototype.withSubscriptionUrn = function (subscriptionUrn) {
|
|
24
|
+
this['subscription_urn'] = subscriptionUrn;
|
|
25
|
+
return this;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(UpdateSubscriptionRequest.prototype, "subscriptionUrn", {
|
|
28
|
+
get: function () {
|
|
29
|
+
return this['subscription_urn'];
|
|
30
|
+
},
|
|
31
|
+
set: function (subscriptionUrn) {
|
|
32
|
+
this['subscription_urn'] = subscriptionUrn;
|
|
33
|
+
},
|
|
34
|
+
enumerable: false,
|
|
35
|
+
configurable: true
|
|
36
|
+
});
|
|
37
|
+
UpdateSubscriptionRequest.prototype.withBody = function (body) {
|
|
38
|
+
this['body'] = body;
|
|
39
|
+
return this;
|
|
40
|
+
};
|
|
41
|
+
return UpdateSubscriptionRequest;
|
|
42
|
+
}());
|
|
43
|
+
exports.UpdateSubscriptionRequest = UpdateSubscriptionRequest;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateSubscriptionRequestBody = void 0;
|
|
4
|
+
var UpdateSubscriptionRequestBody = /** @class */ (function () {
|
|
5
|
+
function UpdateSubscriptionRequestBody(remark) {
|
|
6
|
+
this['remark'] = remark;
|
|
7
|
+
}
|
|
8
|
+
UpdateSubscriptionRequestBody.prototype.withRemark = function (remark) {
|
|
9
|
+
this['remark'] = remark;
|
|
10
|
+
return this;
|
|
11
|
+
};
|
|
12
|
+
return UpdateSubscriptionRequestBody;
|
|
13
|
+
}());
|
|
14
|
+
exports.UpdateSubscriptionRequestBody = UpdateSubscriptionRequestBody;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
2
|
+
export declare class UpdateSubscriptionResponse extends SdkResponse {
|
|
3
|
+
private 'request_id'?;
|
|
4
|
+
private 'subscription_urn'?;
|
|
5
|
+
constructor();
|
|
6
|
+
withRequestId(requestId: string): UpdateSubscriptionResponse;
|
|
7
|
+
set requestId(requestId: string | undefined);
|
|
8
|
+
get requestId(): string | undefined;
|
|
9
|
+
withSubscriptionUrn(subscriptionUrn: string): UpdateSubscriptionResponse;
|
|
10
|
+
set subscriptionUrn(subscriptionUrn: string | undefined);
|
|
11
|
+
get subscriptionUrn(): string | undefined;
|
|
12
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.UpdateSubscriptionResponse = void 0;
|
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
20
|
+
var UpdateSubscriptionResponse = /** @class */ (function (_super) {
|
|
21
|
+
__extends(UpdateSubscriptionResponse, _super);
|
|
22
|
+
function UpdateSubscriptionResponse() {
|
|
23
|
+
return _super.call(this) || this;
|
|
24
|
+
}
|
|
25
|
+
UpdateSubscriptionResponse.prototype.withRequestId = function (requestId) {
|
|
26
|
+
this['request_id'] = requestId;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(UpdateSubscriptionResponse.prototype, "requestId", {
|
|
30
|
+
get: function () {
|
|
31
|
+
return this['request_id'];
|
|
32
|
+
},
|
|
33
|
+
set: function (requestId) {
|
|
34
|
+
this['request_id'] = requestId;
|
|
35
|
+
},
|
|
36
|
+
enumerable: false,
|
|
37
|
+
configurable: true
|
|
38
|
+
});
|
|
39
|
+
UpdateSubscriptionResponse.prototype.withSubscriptionUrn = function (subscriptionUrn) {
|
|
40
|
+
this['subscription_urn'] = subscriptionUrn;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
Object.defineProperty(UpdateSubscriptionResponse.prototype, "subscriptionUrn", {
|
|
44
|
+
get: function () {
|
|
45
|
+
return this['subscription_urn'];
|
|
46
|
+
},
|
|
47
|
+
set: function (subscriptionUrn) {
|
|
48
|
+
this['subscription_urn'] = subscriptionUrn;
|
|
49
|
+
},
|
|
50
|
+
enumerable: false,
|
|
51
|
+
configurable: true
|
|
52
|
+
});
|
|
53
|
+
return UpdateSubscriptionResponse;
|
|
54
|
+
}(SdkResponse_1.SdkResponse));
|
|
55
|
+
exports.UpdateSubscriptionResponse = UpdateSubscriptionResponse;
|
package/v2/public-api.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from './SmnClient';
|
|
2
|
+
export * from './model/AccessPolicy';
|
|
2
3
|
export * from './model/AddSubscriptionRequest';
|
|
3
4
|
export * from './model/AddSubscriptionRequestBody';
|
|
4
5
|
export * from './model/AddSubscriptionResponse';
|
|
@@ -15,12 +16,14 @@ export * from './model/CreateApplicationEndpointResponse';
|
|
|
15
16
|
export * from './model/CreateApplicationRequest';
|
|
16
17
|
export * from './model/CreateApplicationRequestBody';
|
|
17
18
|
export * from './model/CreateApplicationResponse';
|
|
19
|
+
export * from './model/CreateLogtankRequest';
|
|
20
|
+
export * from './model/CreateLogtankRequestBody';
|
|
21
|
+
export * from './model/CreateLogtankResponse';
|
|
18
22
|
export * from './model/CreateMessageTemplateRequest';
|
|
19
23
|
export * from './model/CreateMessageTemplateRequestBody';
|
|
20
24
|
export * from './model/CreateMessageTemplateResponse';
|
|
21
25
|
export * from './model/CreateResourceTagRequest';
|
|
22
26
|
export * from './model/CreateResourceTagRequestBody';
|
|
23
|
-
export * from './model/CreateResourceTagRequestBodyTag';
|
|
24
27
|
export * from './model/CreateResourceTagResponse';
|
|
25
28
|
export * from './model/CreateTopicRequest';
|
|
26
29
|
export * from './model/CreateTopicRequestBody';
|
|
@@ -29,6 +32,8 @@ export * from './model/DeleteApplicationEndpointRequest';
|
|
|
29
32
|
export * from './model/DeleteApplicationEndpointResponse';
|
|
30
33
|
export * from './model/DeleteApplicationRequest';
|
|
31
34
|
export * from './model/DeleteApplicationResponse';
|
|
35
|
+
export * from './model/DeleteLogtankRequest';
|
|
36
|
+
export * from './model/DeleteLogtankResponse';
|
|
32
37
|
export * from './model/DeleteMessageTemplateRequest';
|
|
33
38
|
export * from './model/DeleteMessageTemplateResponse';
|
|
34
39
|
export * from './model/DeleteResourceTagRequest';
|
|
@@ -51,6 +56,8 @@ export * from './model/ListApplicationEndpointsResponse';
|
|
|
51
56
|
export * from './model/ListApplicationsRequest';
|
|
52
57
|
export * from './model/ListApplicationsResponse';
|
|
53
58
|
export * from './model/ListInstanceRequestBody';
|
|
59
|
+
export * from './model/ListLogtankRequest';
|
|
60
|
+
export * from './model/ListLogtankResponse';
|
|
54
61
|
export * from './model/ListMessageTemplateDetailsRequest';
|
|
55
62
|
export * from './model/ListMessageTemplateDetailsResponse';
|
|
56
63
|
export * from './model/ListMessageTemplatesRequest';
|
|
@@ -77,6 +84,7 @@ export * from './model/ListVersionRequest';
|
|
|
77
84
|
export * from './model/ListVersionResponse';
|
|
78
85
|
export * from './model/ListVersionsRequest';
|
|
79
86
|
export * from './model/ListVersionsResponse';
|
|
87
|
+
export * from './model/LogtankItem';
|
|
80
88
|
export * from './model/MessageTemplate';
|
|
81
89
|
export * from './model/PublishAppMessageRequest';
|
|
82
90
|
export * from './model/PublishAppMessageRequestBody';
|
|
@@ -88,6 +96,7 @@ export * from './model/ResourceDetail';
|
|
|
88
96
|
export * from './model/ResourceTag';
|
|
89
97
|
export * from './model/ResourceTags';
|
|
90
98
|
export * from './model/Statement';
|
|
99
|
+
export * from './model/SubscriptionExtension';
|
|
91
100
|
export * from './model/TagMatch';
|
|
92
101
|
export * from './model/TagResource';
|
|
93
102
|
export * from './model/TopicAttribute';
|
|
@@ -97,9 +106,15 @@ export * from './model/UpdateApplicationEndpointResponse';
|
|
|
97
106
|
export * from './model/UpdateApplicationRequest';
|
|
98
107
|
export * from './model/UpdateApplicationRequestBody';
|
|
99
108
|
export * from './model/UpdateApplicationResponse';
|
|
109
|
+
export * from './model/UpdateLogtankRequest';
|
|
110
|
+
export * from './model/UpdateLogtankRequestBody';
|
|
111
|
+
export * from './model/UpdateLogtankResponse';
|
|
100
112
|
export * from './model/UpdateMessageTemplateRequest';
|
|
101
113
|
export * from './model/UpdateMessageTemplateRequestBody';
|
|
102
114
|
export * from './model/UpdateMessageTemplateResponse';
|
|
115
|
+
export * from './model/UpdateSubscriptionRequest';
|
|
116
|
+
export * from './model/UpdateSubscriptionRequestBody';
|
|
117
|
+
export * from './model/UpdateSubscriptionResponse';
|
|
103
118
|
export * from './model/UpdateTopicAttributeRequest';
|
|
104
119
|
export * from './model/UpdateTopicAttributeRequestBody';
|
|
105
120
|
export * from './model/UpdateTopicAttributeResponse';
|