@huaweicloud/huaweicloud-sdk-smn 3.1.10
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/LICENSE +13 -0
- package/README.md +1 -0
- package/huaweicloud-sdk-smn.d.ts +1 -0
- package/huaweicloud-sdk-smn.js +17 -0
- package/package.json +19 -0
- package/v2/SmnClient.d.ts +1187 -0
- package/v2/SmnClient.js +2299 -0
- package/v2/SmnRegion.d.ts +22 -0
- package/v2/SmnRegion.js +59 -0
- package/v2/model/AddSubscriptionRequest.d.ts +10 -0
- package/v2/model/AddSubscriptionRequest.js +28 -0
- package/v2/model/AddSubscriptionRequestBody.d.ts +9 -0
- package/v2/model/AddSubscriptionRequestBody.js +23 -0
- package/v2/model/AddSubscriptionResponse.d.ts +12 -0
- package/v2/model/AddSubscriptionResponse.js +55 -0
- package/v2/model/ApplicationEndpoint.d.ts +19 -0
- package/v2/model/ApplicationEndpoint.js +64 -0
- package/v2/model/ApplicationItem.d.ts +25 -0
- package/v2/model/ApplicationItem.js +83 -0
- package/v2/model/BatchCreateOrDeleteResourceTagsRequest.d.ts +14 -0
- package/v2/model/BatchCreateOrDeleteResourceTagsRequest.js +43 -0
- package/v2/model/BatchCreateOrDeleteResourceTagsRequestBody.d.ts +8 -0
- package/v2/model/BatchCreateOrDeleteResourceTagsRequestBody.js +19 -0
- package/v2/model/BatchCreateOrDeleteResourceTagsResponse.d.ts +4 -0
- package/v2/model/BatchCreateOrDeleteResourceTagsResponse.js +27 -0
- package/v2/model/CancelSubscriptionRequest.d.ts +7 -0
- package/v2/model/CancelSubscriptionRequest.js +24 -0
- package/v2/model/CancelSubscriptionResponse.d.ts +8 -0
- package/v2/model/CancelSubscriptionResponse.js +41 -0
- package/v2/model/CreateApplicationEndpointRequest.d.ts +10 -0
- package/v2/model/CreateApplicationEndpointRequest.js +28 -0
- package/v2/model/CreateApplicationEndpointRequestBody.d.ts +9 -0
- package/v2/model/CreateApplicationEndpointRequestBody.js +29 -0
- package/v2/model/CreateApplicationEndpointResponse.d.ts +12 -0
- package/v2/model/CreateApplicationEndpointResponse.js +55 -0
- package/v2/model/CreateApplicationRequest.d.ts +6 -0
- package/v2/model/CreateApplicationRequest.js +13 -0
- package/v2/model/CreateApplicationRequestBody.d.ts +15 -0
- package/v2/model/CreateApplicationRequestBody.js +49 -0
- package/v2/model/CreateApplicationResponse.d.ts +16 -0
- package/v2/model/CreateApplicationResponse.js +69 -0
- package/v2/model/CreateMessageTemplateRequest.d.ts +6 -0
- package/v2/model/CreateMessageTemplateRequest.js +13 -0
- package/v2/model/CreateMessageTemplateRequestBody.d.ts +11 -0
- package/v2/model/CreateMessageTemplateRequestBody.js +34 -0
- package/v2/model/CreateMessageTemplateResponse.d.ts +12 -0
- package/v2/model/CreateMessageTemplateResponse.js +55 -0
- package/v2/model/CreateResourceTagRequest.d.ts +14 -0
- package/v2/model/CreateResourceTagRequest.js +43 -0
- package/v2/model/CreateResourceTagRequestBody.d.ts +6 -0
- package/v2/model/CreateResourceTagRequestBody.js +14 -0
- package/v2/model/CreateResourceTagRequestBodyTag.d.ts +7 -0
- package/v2/model/CreateResourceTagRequestBodyTag.js +19 -0
- package/v2/model/CreateResourceTagResponse.d.ts +4 -0
- package/v2/model/CreateResourceTagResponse.js +27 -0
- package/v2/model/CreateTopicRequest.d.ts +6 -0
- package/v2/model/CreateTopicRequest.js +13 -0
- package/v2/model/CreateTopicRequestBody.d.ts +13 -0
- package/v2/model/CreateTopicRequestBody.js +43 -0
- package/v2/model/CreateTopicResponse.d.ts +12 -0
- package/v2/model/CreateTopicResponse.js +55 -0
- package/v2/model/DeleteApplicationEndpointRequest.d.ts +7 -0
- package/v2/model/DeleteApplicationEndpointRequest.js +24 -0
- package/v2/model/DeleteApplicationEndpointResponse.d.ts +8 -0
- package/v2/model/DeleteApplicationEndpointResponse.js +41 -0
- package/v2/model/DeleteApplicationRequest.d.ts +7 -0
- package/v2/model/DeleteApplicationRequest.js +24 -0
- package/v2/model/DeleteApplicationResponse.d.ts +8 -0
- package/v2/model/DeleteApplicationResponse.js +41 -0
- package/v2/model/DeleteMessageTemplateRequest.d.ts +7 -0
- package/v2/model/DeleteMessageTemplateRequest.js +24 -0
- package/v2/model/DeleteMessageTemplateResponse.d.ts +8 -0
- package/v2/model/DeleteMessageTemplateResponse.js +41 -0
- package/v2/model/DeleteResourceTagRequest.d.ts +13 -0
- package/v2/model/DeleteResourceTagRequest.js +44 -0
- package/v2/model/DeleteResourceTagResponse.d.ts +4 -0
- package/v2/model/DeleteResourceTagResponse.js +27 -0
- package/v2/model/DeleteTopicAttributeByNameRequest.d.ts +9 -0
- package/v2/model/DeleteTopicAttributeByNameRequest.js +29 -0
- package/v2/model/DeleteTopicAttributeByNameResponse.d.ts +8 -0
- package/v2/model/DeleteTopicAttributeByNameResponse.js +41 -0
- package/v2/model/DeleteTopicAttributesRequest.d.ts +7 -0
- package/v2/model/DeleteTopicAttributesRequest.js +24 -0
- package/v2/model/DeleteTopicAttributesResponse.d.ts +8 -0
- package/v2/model/DeleteTopicAttributesResponse.js +41 -0
- package/v2/model/DeleteTopicRequest.d.ts +7 -0
- package/v2/model/DeleteTopicRequest.js +24 -0
- package/v2/model/DeleteTopicResponse.d.ts +8 -0
- package/v2/model/DeleteTopicResponse.js +41 -0
- package/v2/model/LinksItem.d.ts +7 -0
- package/v2/model/LinksItem.js +19 -0
- package/v2/model/ListApplicationAttributesRequest.d.ts +7 -0
- package/v2/model/ListApplicationAttributesRequest.js +24 -0
- package/v2/model/ListApplicationAttributesResponse.d.ts +15 -0
- package/v2/model/ListApplicationAttributesResponse.js +59 -0
- package/v2/model/ListApplicationAttributesResponseBodyAttributes.d.ts +9 -0
- package/v2/model/ListApplicationAttributesResponseBodyAttributes.js +28 -0
- package/v2/model/ListApplicationEndpointAttributesRequest.d.ts +7 -0
- package/v2/model/ListApplicationEndpointAttributesRequest.js +24 -0
- package/v2/model/ListApplicationEndpointAttributesResponse.d.ts +11 -0
- package/v2/model/ListApplicationEndpointAttributesResponse.js +45 -0
- package/v2/model/ListApplicationEndpointAttributesResponseBodyAttributes.d.ts +11 -0
- package/v2/model/ListApplicationEndpointAttributesResponseBodyAttributes.js +34 -0
- package/v2/model/ListApplicationEndpointsRequest.d.ts +19 -0
- package/v2/model/ListApplicationEndpointsRequest.js +54 -0
- package/v2/model/ListApplicationEndpointsResponse.d.ts +15 -0
- package/v2/model/ListApplicationEndpointsResponse.js +59 -0
- package/v2/model/ListApplicationsRequest.d.ts +11 -0
- package/v2/model/ListApplicationsRequest.js +25 -0
- package/v2/model/ListApplicationsResponse.d.ts +15 -0
- package/v2/model/ListApplicationsResponse.js +59 -0
- package/v2/model/ListInstanceRequestBody.d.ts +27 -0
- package/v2/model/ListInstanceRequestBody.js +72 -0
- package/v2/model/ListMessageTemplateDetailsRequest.d.ts +7 -0
- package/v2/model/ListMessageTemplateDetailsRequest.js +24 -0
- package/v2/model/ListMessageTemplateDetailsResponse.d.ts +32 -0
- package/v2/model/ListMessageTemplateDetailsResponse.js +119 -0
- package/v2/model/ListMessageTemplatesRequest.d.ts +13 -0
- package/v2/model/ListMessageTemplatesRequest.js +35 -0
- package/v2/model/ListMessageTemplatesResponse.d.ts +17 -0
- package/v2/model/ListMessageTemplatesResponse.js +69 -0
- package/v2/model/ListProjectTagsRequest.d.ts +7 -0
- package/v2/model/ListProjectTagsRequest.js +24 -0
- package/v2/model/ListProjectTagsResponse.d.ts +7 -0
- package/v2/model/ListProjectTagsResponse.js +31 -0
- package/v2/model/ListResourceInstancesRequest.d.ts +10 -0
- package/v2/model/ListResourceInstancesRequest.js +28 -0
- package/v2/model/ListResourceInstancesResponse.d.ts +11 -0
- package/v2/model/ListResourceInstancesResponse.js +45 -0
- package/v2/model/ListResourceTagsRequest.d.ts +11 -0
- package/v2/model/ListResourceTagsRequest.js +39 -0
- package/v2/model/ListResourceTagsResponse.d.ts +7 -0
- package/v2/model/ListResourceTagsResponse.js +31 -0
- package/v2/model/ListSubscriptionsByTopicRequest.d.ts +11 -0
- package/v2/model/ListSubscriptionsByTopicRequest.js +32 -0
- package/v2/model/ListSubscriptionsByTopicResponse.d.ts +15 -0
- package/v2/model/ListSubscriptionsByTopicResponse.js +59 -0
- package/v2/model/ListSubscriptionsItem.d.ts +21 -0
- package/v2/model/ListSubscriptionsItem.js +64 -0
- package/v2/model/ListSubscriptionsRequest.d.ts +13 -0
- package/v2/model/ListSubscriptionsRequest.js +29 -0
- package/v2/model/ListSubscriptionsResponse.d.ts +15 -0
- package/v2/model/ListSubscriptionsResponse.js +59 -0
- package/v2/model/ListTopicAttributesRequest.d.ts +9 -0
- package/v2/model/ListTopicAttributesRequest.js +29 -0
- package/v2/model/ListTopicAttributesResponse.d.ts +11 -0
- package/v2/model/ListTopicAttributesResponse.js +45 -0
- package/v2/model/ListTopicDetailsRequest.d.ts +7 -0
- package/v2/model/ListTopicDetailsRequest.js +24 -0
- package/v2/model/ListTopicDetailsResponse.d.ts +34 -0
- package/v2/model/ListTopicDetailsResponse.js +129 -0
- package/v2/model/ListTopicsItem.d.ts +21 -0
- package/v2/model/ListTopicsItem.js +74 -0
- package/v2/model/ListTopicsRequest.d.ts +17 -0
- package/v2/model/ListTopicsRequest.js +49 -0
- package/v2/model/ListTopicsResponse.d.ts +15 -0
- package/v2/model/ListTopicsResponse.js +59 -0
- package/v2/model/ListVersionRequest.d.ts +7 -0
- package/v2/model/ListVersionRequest.js +24 -0
- package/v2/model/ListVersionResponse.d.ts +6 -0
- package/v2/model/ListVersionResponse.js +31 -0
- package/v2/model/ListVersionsRequest.d.ts +3 -0
- package/v2/model/ListVersionsRequest.js +9 -0
- package/v2/model/ListVersionsResponse.d.ts +7 -0
- package/v2/model/ListVersionsResponse.js +31 -0
- package/v2/model/MessageTemplate.d.ts +25 -0
- package/v2/model/MessageTemplate.js +89 -0
- package/v2/model/PublishAppMessageRequest.d.ts +10 -0
- package/v2/model/PublishAppMessageRequest.js +28 -0
- package/v2/model/PublishAppMessageRequestBody.d.ts +13 -0
- package/v2/model/PublishAppMessageRequestBody.js +41 -0
- package/v2/model/PublishAppMessageResponse.d.ts +12 -0
- package/v2/model/PublishAppMessageResponse.js +55 -0
- package/v2/model/PublishMessageRequest.d.ts +10 -0
- package/v2/model/PublishMessageRequest.js +28 -0
- package/v2/model/PublishMessageRequestBody.d.ts +25 -0
- package/v2/model/PublishMessageRequestBody.js +63 -0
- package/v2/model/PublishMessageResponse.d.ts +12 -0
- package/v2/model/PublishMessageResponse.js +55 -0
- package/v2/model/ResourceDetail.d.ts +17 -0
- package/v2/model/ResourceDetail.js +59 -0
- package/v2/model/ResourceTag.d.ts +7 -0
- package/v2/model/ResourceTag.js +19 -0
- package/v2/model/ResourceTags.d.ts +7 -0
- package/v2/model/ResourceTags.js +19 -0
- package/v2/model/Statement.d.ts +35 -0
- package/v2/model/Statement.js +123 -0
- package/v2/model/TagMatch.d.ts +7 -0
- package/v2/model/TagMatch.js +19 -0
- package/v2/model/TagResource.d.ts +19 -0
- package/v2/model/TagResource.js +59 -0
- package/v2/model/TopicAttribute.d.ts +16 -0
- package/v2/model/TopicAttribute.js +54 -0
- package/v2/model/UpdateApplicationEndpointRequest.d.ts +10 -0
- package/v2/model/UpdateApplicationEndpointRequest.js +28 -0
- package/v2/model/UpdateApplicationEndpointRequestBody.d.ts +9 -0
- package/v2/model/UpdateApplicationEndpointRequestBody.js +27 -0
- package/v2/model/UpdateApplicationEndpointResponse.d.ts +8 -0
- package/v2/model/UpdateApplicationEndpointResponse.js +41 -0
- package/v2/model/UpdateApplicationRequest.d.ts +10 -0
- package/v2/model/UpdateApplicationRequest.js +28 -0
- package/v2/model/UpdateApplicationRequestBody.d.ts +11 -0
- package/v2/model/UpdateApplicationRequestBody.js +39 -0
- package/v2/model/UpdateApplicationResponse.d.ts +8 -0
- package/v2/model/UpdateApplicationResponse.js +41 -0
- package/v2/model/UpdateMessageTemplateRequest.d.ts +10 -0
- package/v2/model/UpdateMessageTemplateRequest.js +28 -0
- package/v2/model/UpdateMessageTemplateRequestBody.d.ts +5 -0
- package/v2/model/UpdateMessageTemplateRequestBody.js +14 -0
- package/v2/model/UpdateMessageTemplateResponse.d.ts +8 -0
- package/v2/model/UpdateMessageTemplateResponse.js +41 -0
- package/v2/model/UpdateTopicAttributeRequest.d.ts +12 -0
- package/v2/model/UpdateTopicAttributeRequest.js +33 -0
- package/v2/model/UpdateTopicAttributeRequestBody.d.ts +5 -0
- package/v2/model/UpdateTopicAttributeRequestBody.js +14 -0
- package/v2/model/UpdateTopicAttributeResponse.d.ts +8 -0
- package/v2/model/UpdateTopicAttributeResponse.js +41 -0
- package/v2/model/UpdateTopicRequest.d.ts +10 -0
- package/v2/model/UpdateTopicRequest.js +28 -0
- package/v2/model/UpdateTopicRequestBody.d.ts +7 -0
- package/v2/model/UpdateTopicRequestBody.js +24 -0
- package/v2/model/UpdateTopicResponse.d.ts +8 -0
- package/v2/model/UpdateTopicResponse.js +41 -0
- package/v2/model/VersionItem.d.ts +18 -0
- package/v2/model/VersionItem.js +49 -0
- package/v2/public-api.d.ts +110 -0
- package/v2/public-api.js +126 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PublishAppMessageRequestBody = void 0;
|
|
4
|
+
var PublishAppMessageRequestBody = /** @class */ (function () {
|
|
5
|
+
function PublishAppMessageRequestBody() {
|
|
6
|
+
}
|
|
7
|
+
PublishAppMessageRequestBody.prototype.withMessage = function (message) {
|
|
8
|
+
this['message'] = message;
|
|
9
|
+
return this;
|
|
10
|
+
};
|
|
11
|
+
PublishAppMessageRequestBody.prototype.withMessageStructure = function (messageStructure) {
|
|
12
|
+
this['message_structure'] = messageStructure;
|
|
13
|
+
return this;
|
|
14
|
+
};
|
|
15
|
+
Object.defineProperty(PublishAppMessageRequestBody.prototype, "messageStructure", {
|
|
16
|
+
get: function () {
|
|
17
|
+
return this['message_structure'];
|
|
18
|
+
},
|
|
19
|
+
set: function (messageStructure) {
|
|
20
|
+
this['message_structure'] = messageStructure;
|
|
21
|
+
},
|
|
22
|
+
enumerable: false,
|
|
23
|
+
configurable: true
|
|
24
|
+
});
|
|
25
|
+
PublishAppMessageRequestBody.prototype.withTimeToLive = function (timeToLive) {
|
|
26
|
+
this['time_to_live'] = timeToLive;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(PublishAppMessageRequestBody.prototype, "timeToLive", {
|
|
30
|
+
get: function () {
|
|
31
|
+
return this['time_to_live'];
|
|
32
|
+
},
|
|
33
|
+
set: function (timeToLive) {
|
|
34
|
+
this['time_to_live'] = timeToLive;
|
|
35
|
+
},
|
|
36
|
+
enumerable: false,
|
|
37
|
+
configurable: true
|
|
38
|
+
});
|
|
39
|
+
return PublishAppMessageRequestBody;
|
|
40
|
+
}());
|
|
41
|
+
exports.PublishAppMessageRequestBody = PublishAppMessageRequestBody;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
2
|
+
export declare class PublishAppMessageResponse extends SdkResponse {
|
|
3
|
+
private 'message_id'?;
|
|
4
|
+
private 'request_id'?;
|
|
5
|
+
constructor();
|
|
6
|
+
withMessageId(messageId: string): PublishAppMessageResponse;
|
|
7
|
+
set messageId(messageId: string | undefined);
|
|
8
|
+
get messageId(): string | undefined;
|
|
9
|
+
withRequestId(requestId: string): PublishAppMessageResponse;
|
|
10
|
+
set requestId(requestId: string | undefined);
|
|
11
|
+
get requestId(): 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.PublishAppMessageResponse = void 0;
|
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
20
|
+
var PublishAppMessageResponse = /** @class */ (function (_super) {
|
|
21
|
+
__extends(PublishAppMessageResponse, _super);
|
|
22
|
+
function PublishAppMessageResponse() {
|
|
23
|
+
return _super.call(this) || this;
|
|
24
|
+
}
|
|
25
|
+
PublishAppMessageResponse.prototype.withMessageId = function (messageId) {
|
|
26
|
+
this['message_id'] = messageId;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(PublishAppMessageResponse.prototype, "messageId", {
|
|
30
|
+
get: function () {
|
|
31
|
+
return this['message_id'];
|
|
32
|
+
},
|
|
33
|
+
set: function (messageId) {
|
|
34
|
+
this['message_id'] = messageId;
|
|
35
|
+
},
|
|
36
|
+
enumerable: false,
|
|
37
|
+
configurable: true
|
|
38
|
+
});
|
|
39
|
+
PublishAppMessageResponse.prototype.withRequestId = function (requestId) {
|
|
40
|
+
this['request_id'] = requestId;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
Object.defineProperty(PublishAppMessageResponse.prototype, "requestId", {
|
|
44
|
+
get: function () {
|
|
45
|
+
return this['request_id'];
|
|
46
|
+
},
|
|
47
|
+
set: function (requestId) {
|
|
48
|
+
this['request_id'] = requestId;
|
|
49
|
+
},
|
|
50
|
+
enumerable: false,
|
|
51
|
+
configurable: true
|
|
52
|
+
});
|
|
53
|
+
return PublishAppMessageResponse;
|
|
54
|
+
}(SdkResponse_1.SdkResponse));
|
|
55
|
+
exports.PublishAppMessageResponse = PublishAppMessageResponse;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PublishMessageRequestBody } from './PublishMessageRequestBody';
|
|
2
|
+
export declare class PublishMessageRequest {
|
|
3
|
+
private 'topic_urn';
|
|
4
|
+
body?: PublishMessageRequestBody;
|
|
5
|
+
constructor(topicUrn?: any);
|
|
6
|
+
withTopicUrn(topicUrn: string): PublishMessageRequest;
|
|
7
|
+
set topicUrn(topicUrn: string | undefined);
|
|
8
|
+
get topicUrn(): string | undefined;
|
|
9
|
+
withBody(body: PublishMessageRequestBody): PublishMessageRequest;
|
|
10
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PublishMessageRequest = void 0;
|
|
4
|
+
var PublishMessageRequest = /** @class */ (function () {
|
|
5
|
+
function PublishMessageRequest(topicUrn) {
|
|
6
|
+
this['topic_urn'] = topicUrn;
|
|
7
|
+
}
|
|
8
|
+
PublishMessageRequest.prototype.withTopicUrn = function (topicUrn) {
|
|
9
|
+
this['topic_urn'] = topicUrn;
|
|
10
|
+
return this;
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(PublishMessageRequest.prototype, "topicUrn", {
|
|
13
|
+
get: function () {
|
|
14
|
+
return this['topic_urn'];
|
|
15
|
+
},
|
|
16
|
+
set: function (topicUrn) {
|
|
17
|
+
this['topic_urn'] = topicUrn;
|
|
18
|
+
},
|
|
19
|
+
enumerable: false,
|
|
20
|
+
configurable: true
|
|
21
|
+
});
|
|
22
|
+
PublishMessageRequest.prototype.withBody = function (body) {
|
|
23
|
+
this['body'] = body;
|
|
24
|
+
return this;
|
|
25
|
+
};
|
|
26
|
+
return PublishMessageRequest;
|
|
27
|
+
}());
|
|
28
|
+
exports.PublishMessageRequest = PublishMessageRequest;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare class PublishMessageRequestBody {
|
|
2
|
+
subject?: string;
|
|
3
|
+
message?: string;
|
|
4
|
+
private 'message_structure'?;
|
|
5
|
+
private 'message_template_name'?;
|
|
6
|
+
tags?: {
|
|
7
|
+
[key: string]: string;
|
|
8
|
+
};
|
|
9
|
+
private 'time_to_live'?;
|
|
10
|
+
constructor();
|
|
11
|
+
withSubject(subject: string): PublishMessageRequestBody;
|
|
12
|
+
withMessage(message: string): PublishMessageRequestBody;
|
|
13
|
+
withMessageStructure(messageStructure: string): PublishMessageRequestBody;
|
|
14
|
+
set messageStructure(messageStructure: string | undefined);
|
|
15
|
+
get messageStructure(): string | undefined;
|
|
16
|
+
withMessageTemplateName(messageTemplateName: string): PublishMessageRequestBody;
|
|
17
|
+
set messageTemplateName(messageTemplateName: string | undefined);
|
|
18
|
+
get messageTemplateName(): string | undefined;
|
|
19
|
+
withTags(tags: {
|
|
20
|
+
[key: string]: string;
|
|
21
|
+
}): PublishMessageRequestBody;
|
|
22
|
+
withTimeToLive(timeToLive: string): PublishMessageRequestBody;
|
|
23
|
+
set timeToLive(timeToLive: string | undefined);
|
|
24
|
+
get timeToLive(): string | undefined;
|
|
25
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PublishMessageRequestBody = void 0;
|
|
4
|
+
var PublishMessageRequestBody = /** @class */ (function () {
|
|
5
|
+
function PublishMessageRequestBody() {
|
|
6
|
+
}
|
|
7
|
+
PublishMessageRequestBody.prototype.withSubject = function (subject) {
|
|
8
|
+
this['subject'] = subject;
|
|
9
|
+
return this;
|
|
10
|
+
};
|
|
11
|
+
PublishMessageRequestBody.prototype.withMessage = function (message) {
|
|
12
|
+
this['message'] = message;
|
|
13
|
+
return this;
|
|
14
|
+
};
|
|
15
|
+
PublishMessageRequestBody.prototype.withMessageStructure = function (messageStructure) {
|
|
16
|
+
this['message_structure'] = messageStructure;
|
|
17
|
+
return this;
|
|
18
|
+
};
|
|
19
|
+
Object.defineProperty(PublishMessageRequestBody.prototype, "messageStructure", {
|
|
20
|
+
get: function () {
|
|
21
|
+
return this['message_structure'];
|
|
22
|
+
},
|
|
23
|
+
set: function (messageStructure) {
|
|
24
|
+
this['message_structure'] = messageStructure;
|
|
25
|
+
},
|
|
26
|
+
enumerable: false,
|
|
27
|
+
configurable: true
|
|
28
|
+
});
|
|
29
|
+
PublishMessageRequestBody.prototype.withMessageTemplateName = function (messageTemplateName) {
|
|
30
|
+
this['message_template_name'] = messageTemplateName;
|
|
31
|
+
return this;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(PublishMessageRequestBody.prototype, "messageTemplateName", {
|
|
34
|
+
get: function () {
|
|
35
|
+
return this['message_template_name'];
|
|
36
|
+
},
|
|
37
|
+
set: function (messageTemplateName) {
|
|
38
|
+
this['message_template_name'] = messageTemplateName;
|
|
39
|
+
},
|
|
40
|
+
enumerable: false,
|
|
41
|
+
configurable: true
|
|
42
|
+
});
|
|
43
|
+
PublishMessageRequestBody.prototype.withTags = function (tags) {
|
|
44
|
+
this['tags'] = tags;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
PublishMessageRequestBody.prototype.withTimeToLive = function (timeToLive) {
|
|
48
|
+
this['time_to_live'] = timeToLive;
|
|
49
|
+
return this;
|
|
50
|
+
};
|
|
51
|
+
Object.defineProperty(PublishMessageRequestBody.prototype, "timeToLive", {
|
|
52
|
+
get: function () {
|
|
53
|
+
return this['time_to_live'];
|
|
54
|
+
},
|
|
55
|
+
set: function (timeToLive) {
|
|
56
|
+
this['time_to_live'] = timeToLive;
|
|
57
|
+
},
|
|
58
|
+
enumerable: false,
|
|
59
|
+
configurable: true
|
|
60
|
+
});
|
|
61
|
+
return PublishMessageRequestBody;
|
|
62
|
+
}());
|
|
63
|
+
exports.PublishMessageRequestBody = PublishMessageRequestBody;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
2
|
+
export declare class PublishMessageResponse extends SdkResponse {
|
|
3
|
+
private 'request_id'?;
|
|
4
|
+
private 'message_id'?;
|
|
5
|
+
constructor();
|
|
6
|
+
withRequestId(requestId: string): PublishMessageResponse;
|
|
7
|
+
set requestId(requestId: string | undefined);
|
|
8
|
+
get requestId(): string | undefined;
|
|
9
|
+
withMessageId(messageId: string): PublishMessageResponse;
|
|
10
|
+
set messageId(messageId: string | undefined);
|
|
11
|
+
get messageId(): 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.PublishMessageResponse = void 0;
|
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
20
|
+
var PublishMessageResponse = /** @class */ (function (_super) {
|
|
21
|
+
__extends(PublishMessageResponse, _super);
|
|
22
|
+
function PublishMessageResponse() {
|
|
23
|
+
return _super.call(this) || this;
|
|
24
|
+
}
|
|
25
|
+
PublishMessageResponse.prototype.withRequestId = function (requestId) {
|
|
26
|
+
this['request_id'] = requestId;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(PublishMessageResponse.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
|
+
PublishMessageResponse.prototype.withMessageId = function (messageId) {
|
|
40
|
+
this['message_id'] = messageId;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
Object.defineProperty(PublishMessageResponse.prototype, "messageId", {
|
|
44
|
+
get: function () {
|
|
45
|
+
return this['message_id'];
|
|
46
|
+
},
|
|
47
|
+
set: function (messageId) {
|
|
48
|
+
this['message_id'] = messageId;
|
|
49
|
+
},
|
|
50
|
+
enumerable: false,
|
|
51
|
+
configurable: true
|
|
52
|
+
});
|
|
53
|
+
return PublishMessageResponse;
|
|
54
|
+
}(SdkResponse_1.SdkResponse));
|
|
55
|
+
exports.PublishMessageResponse = PublishMessageResponse;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare class ResourceDetail {
|
|
2
|
+
private 'enterprise_project_id';
|
|
3
|
+
detailId: string;
|
|
4
|
+
private 'topic_urn';
|
|
5
|
+
private 'display_name';
|
|
6
|
+
constructor(enterpriseProjectId?: any, detailId?: any, topicUrn?: any, displayName?: any);
|
|
7
|
+
withEnterpriseProjectId(enterpriseProjectId: string): ResourceDetail;
|
|
8
|
+
set enterpriseProjectId(enterpriseProjectId: string | undefined);
|
|
9
|
+
get enterpriseProjectId(): string | undefined;
|
|
10
|
+
withDetailId(detailId: string): ResourceDetail;
|
|
11
|
+
withTopicUrn(topicUrn: string): ResourceDetail;
|
|
12
|
+
set topicUrn(topicUrn: string | undefined);
|
|
13
|
+
get topicUrn(): string | undefined;
|
|
14
|
+
withDisplayName(displayName: string): ResourceDetail;
|
|
15
|
+
set displayName(displayName: string | undefined);
|
|
16
|
+
get displayName(): string | undefined;
|
|
17
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ResourceDetail = void 0;
|
|
4
|
+
var ResourceDetail = /** @class */ (function () {
|
|
5
|
+
function ResourceDetail(enterpriseProjectId, detailId, topicUrn, displayName) {
|
|
6
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
|
7
|
+
this['detailId'] = detailId;
|
|
8
|
+
this['topic_urn'] = topicUrn;
|
|
9
|
+
this['display_name'] = displayName;
|
|
10
|
+
}
|
|
11
|
+
ResourceDetail.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
|
|
12
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
|
13
|
+
return this;
|
|
14
|
+
};
|
|
15
|
+
Object.defineProperty(ResourceDetail.prototype, "enterpriseProjectId", {
|
|
16
|
+
get: function () {
|
|
17
|
+
return this['enterprise_project_id'];
|
|
18
|
+
},
|
|
19
|
+
set: function (enterpriseProjectId) {
|
|
20
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
|
21
|
+
},
|
|
22
|
+
enumerable: false,
|
|
23
|
+
configurable: true
|
|
24
|
+
});
|
|
25
|
+
ResourceDetail.prototype.withDetailId = function (detailId) {
|
|
26
|
+
this['detailId'] = detailId;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
ResourceDetail.prototype.withTopicUrn = function (topicUrn) {
|
|
30
|
+
this['topic_urn'] = topicUrn;
|
|
31
|
+
return this;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(ResourceDetail.prototype, "topicUrn", {
|
|
34
|
+
get: function () {
|
|
35
|
+
return this['topic_urn'];
|
|
36
|
+
},
|
|
37
|
+
set: function (topicUrn) {
|
|
38
|
+
this['topic_urn'] = topicUrn;
|
|
39
|
+
},
|
|
40
|
+
enumerable: false,
|
|
41
|
+
configurable: true
|
|
42
|
+
});
|
|
43
|
+
ResourceDetail.prototype.withDisplayName = function (displayName) {
|
|
44
|
+
this['display_name'] = displayName;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
Object.defineProperty(ResourceDetail.prototype, "displayName", {
|
|
48
|
+
get: function () {
|
|
49
|
+
return this['display_name'];
|
|
50
|
+
},
|
|
51
|
+
set: function (displayName) {
|
|
52
|
+
this['display_name'] = displayName;
|
|
53
|
+
},
|
|
54
|
+
enumerable: false,
|
|
55
|
+
configurable: true
|
|
56
|
+
});
|
|
57
|
+
return ResourceDetail;
|
|
58
|
+
}());
|
|
59
|
+
exports.ResourceDetail = ResourceDetail;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ResourceTag = void 0;
|
|
4
|
+
var ResourceTag = /** @class */ (function () {
|
|
5
|
+
function ResourceTag(key, value) {
|
|
6
|
+
this['key'] = key;
|
|
7
|
+
this['value'] = value;
|
|
8
|
+
}
|
|
9
|
+
ResourceTag.prototype.withKey = function (key) {
|
|
10
|
+
this['key'] = key;
|
|
11
|
+
return this;
|
|
12
|
+
};
|
|
13
|
+
ResourceTag.prototype.withValue = function (value) {
|
|
14
|
+
this['value'] = value;
|
|
15
|
+
return this;
|
|
16
|
+
};
|
|
17
|
+
return ResourceTag;
|
|
18
|
+
}());
|
|
19
|
+
exports.ResourceTag = ResourceTag;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ResourceTags = void 0;
|
|
4
|
+
var ResourceTags = /** @class */ (function () {
|
|
5
|
+
function ResourceTags(key, values) {
|
|
6
|
+
this['key'] = key;
|
|
7
|
+
this['values'] = values;
|
|
8
|
+
}
|
|
9
|
+
ResourceTags.prototype.withKey = function (key) {
|
|
10
|
+
this['key'] = key;
|
|
11
|
+
return this;
|
|
12
|
+
};
|
|
13
|
+
ResourceTags.prototype.withValues = function (values) {
|
|
14
|
+
this['values'] = values;
|
|
15
|
+
return this;
|
|
16
|
+
};
|
|
17
|
+
return ResourceTags;
|
|
18
|
+
}());
|
|
19
|
+
exports.ResourceTags = ResourceTags;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export declare class Statement {
|
|
2
|
+
private 'Sid';
|
|
3
|
+
private 'Effect';
|
|
4
|
+
private 'Principal'?;
|
|
5
|
+
private 'NotPrincipal'?;
|
|
6
|
+
private 'Action'?;
|
|
7
|
+
private 'NotAction'?;
|
|
8
|
+
private 'Resource'?;
|
|
9
|
+
private 'NotResource'?;
|
|
10
|
+
constructor(sid?: any, effect?: any);
|
|
11
|
+
withSid(sid: string): Statement;
|
|
12
|
+
set sid(sid: string | undefined);
|
|
13
|
+
get sid(): string | undefined;
|
|
14
|
+
withEffect(effect: string): Statement;
|
|
15
|
+
set effect(effect: string | undefined);
|
|
16
|
+
get effect(): string | undefined;
|
|
17
|
+
withPrincipal(principal: string): Statement;
|
|
18
|
+
set principal(principal: string | undefined);
|
|
19
|
+
get principal(): string | undefined;
|
|
20
|
+
withNotPrincipal(notPrincipal: string): Statement;
|
|
21
|
+
set notPrincipal(notPrincipal: string | undefined);
|
|
22
|
+
get notPrincipal(): string | undefined;
|
|
23
|
+
withAction(action: string): Statement;
|
|
24
|
+
set action(action: string | undefined);
|
|
25
|
+
get action(): string | undefined;
|
|
26
|
+
withNotAction(notAction: string): Statement;
|
|
27
|
+
set notAction(notAction: string | undefined);
|
|
28
|
+
get notAction(): string | undefined;
|
|
29
|
+
withResource(resource: string): Statement;
|
|
30
|
+
set resource(resource: string | undefined);
|
|
31
|
+
get resource(): string | undefined;
|
|
32
|
+
withNotResource(notResource: string): Statement;
|
|
33
|
+
set notResource(notResource: string | undefined);
|
|
34
|
+
get notResource(): string | undefined;
|
|
35
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Statement = void 0;
|
|
4
|
+
var Statement = /** @class */ (function () {
|
|
5
|
+
function Statement(sid, effect) {
|
|
6
|
+
this['Sid'] = sid;
|
|
7
|
+
this['Effect'] = effect;
|
|
8
|
+
}
|
|
9
|
+
Statement.prototype.withSid = function (sid) {
|
|
10
|
+
this['Sid'] = sid;
|
|
11
|
+
return this;
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(Statement.prototype, "sid", {
|
|
14
|
+
get: function () {
|
|
15
|
+
return this['Sid'];
|
|
16
|
+
},
|
|
17
|
+
set: function (sid) {
|
|
18
|
+
this['Sid'] = sid;
|
|
19
|
+
},
|
|
20
|
+
enumerable: false,
|
|
21
|
+
configurable: true
|
|
22
|
+
});
|
|
23
|
+
Statement.prototype.withEffect = function (effect) {
|
|
24
|
+
this['Effect'] = effect;
|
|
25
|
+
return this;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(Statement.prototype, "effect", {
|
|
28
|
+
get: function () {
|
|
29
|
+
return this['Effect'];
|
|
30
|
+
},
|
|
31
|
+
set: function (effect) {
|
|
32
|
+
this['Effect'] = effect;
|
|
33
|
+
},
|
|
34
|
+
enumerable: false,
|
|
35
|
+
configurable: true
|
|
36
|
+
});
|
|
37
|
+
Statement.prototype.withPrincipal = function (principal) {
|
|
38
|
+
this['Principal'] = principal;
|
|
39
|
+
return this;
|
|
40
|
+
};
|
|
41
|
+
Object.defineProperty(Statement.prototype, "principal", {
|
|
42
|
+
get: function () {
|
|
43
|
+
return this['Principal'];
|
|
44
|
+
},
|
|
45
|
+
set: function (principal) {
|
|
46
|
+
this['Principal'] = principal;
|
|
47
|
+
},
|
|
48
|
+
enumerable: false,
|
|
49
|
+
configurable: true
|
|
50
|
+
});
|
|
51
|
+
Statement.prototype.withNotPrincipal = function (notPrincipal) {
|
|
52
|
+
this['NotPrincipal'] = notPrincipal;
|
|
53
|
+
return this;
|
|
54
|
+
};
|
|
55
|
+
Object.defineProperty(Statement.prototype, "notPrincipal", {
|
|
56
|
+
get: function () {
|
|
57
|
+
return this['NotPrincipal'];
|
|
58
|
+
},
|
|
59
|
+
set: function (notPrincipal) {
|
|
60
|
+
this['NotPrincipal'] = notPrincipal;
|
|
61
|
+
},
|
|
62
|
+
enumerable: false,
|
|
63
|
+
configurable: true
|
|
64
|
+
});
|
|
65
|
+
Statement.prototype.withAction = function (action) {
|
|
66
|
+
this['Action'] = action;
|
|
67
|
+
return this;
|
|
68
|
+
};
|
|
69
|
+
Object.defineProperty(Statement.prototype, "action", {
|
|
70
|
+
get: function () {
|
|
71
|
+
return this['Action'];
|
|
72
|
+
},
|
|
73
|
+
set: function (action) {
|
|
74
|
+
this['Action'] = action;
|
|
75
|
+
},
|
|
76
|
+
enumerable: false,
|
|
77
|
+
configurable: true
|
|
78
|
+
});
|
|
79
|
+
Statement.prototype.withNotAction = function (notAction) {
|
|
80
|
+
this['NotAction'] = notAction;
|
|
81
|
+
return this;
|
|
82
|
+
};
|
|
83
|
+
Object.defineProperty(Statement.prototype, "notAction", {
|
|
84
|
+
get: function () {
|
|
85
|
+
return this['NotAction'];
|
|
86
|
+
},
|
|
87
|
+
set: function (notAction) {
|
|
88
|
+
this['NotAction'] = notAction;
|
|
89
|
+
},
|
|
90
|
+
enumerable: false,
|
|
91
|
+
configurable: true
|
|
92
|
+
});
|
|
93
|
+
Statement.prototype.withResource = function (resource) {
|
|
94
|
+
this['Resource'] = resource;
|
|
95
|
+
return this;
|
|
96
|
+
};
|
|
97
|
+
Object.defineProperty(Statement.prototype, "resource", {
|
|
98
|
+
get: function () {
|
|
99
|
+
return this['Resource'];
|
|
100
|
+
},
|
|
101
|
+
set: function (resource) {
|
|
102
|
+
this['Resource'] = resource;
|
|
103
|
+
},
|
|
104
|
+
enumerable: false,
|
|
105
|
+
configurable: true
|
|
106
|
+
});
|
|
107
|
+
Statement.prototype.withNotResource = function (notResource) {
|
|
108
|
+
this['NotResource'] = notResource;
|
|
109
|
+
return this;
|
|
110
|
+
};
|
|
111
|
+
Object.defineProperty(Statement.prototype, "notResource", {
|
|
112
|
+
get: function () {
|
|
113
|
+
return this['NotResource'];
|
|
114
|
+
},
|
|
115
|
+
set: function (notResource) {
|
|
116
|
+
this['NotResource'] = notResource;
|
|
117
|
+
},
|
|
118
|
+
enumerable: false,
|
|
119
|
+
configurable: true
|
|
120
|
+
});
|
|
121
|
+
return Statement;
|
|
122
|
+
}());
|
|
123
|
+
exports.Statement = Statement;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TagMatch = void 0;
|
|
4
|
+
var TagMatch = /** @class */ (function () {
|
|
5
|
+
function TagMatch(key, value) {
|
|
6
|
+
this['key'] = key;
|
|
7
|
+
this['value'] = value;
|
|
8
|
+
}
|
|
9
|
+
TagMatch.prototype.withKey = function (key) {
|
|
10
|
+
this['key'] = key;
|
|
11
|
+
return this;
|
|
12
|
+
};
|
|
13
|
+
TagMatch.prototype.withValue = function (value) {
|
|
14
|
+
this['value'] = value;
|
|
15
|
+
return this;
|
|
16
|
+
};
|
|
17
|
+
return TagMatch;
|
|
18
|
+
}());
|
|
19
|
+
exports.TagMatch = TagMatch;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ResourceDetail } from './ResourceDetail';
|
|
2
|
+
import { ResourceTag } from './ResourceTag';
|
|
3
|
+
export declare class TagResource {
|
|
4
|
+
private 'resource_id';
|
|
5
|
+
private 'resource_detail';
|
|
6
|
+
tags: Array<ResourceTag>;
|
|
7
|
+
private 'resource_name';
|
|
8
|
+
constructor(resourceId?: any, resourceDetail?: any, tags?: any, resourceName?: any);
|
|
9
|
+
withResourceId(resourceId: string): TagResource;
|
|
10
|
+
set resourceId(resourceId: string | undefined);
|
|
11
|
+
get resourceId(): string | undefined;
|
|
12
|
+
withResourceDetail(resourceDetail: ResourceDetail): TagResource;
|
|
13
|
+
set resourceDetail(resourceDetail: ResourceDetail | undefined);
|
|
14
|
+
get resourceDetail(): ResourceDetail | undefined;
|
|
15
|
+
withTags(tags: Array<ResourceTag>): TagResource;
|
|
16
|
+
withResourceName(resourceName: string): TagResource;
|
|
17
|
+
set resourceName(resourceName: string | undefined);
|
|
18
|
+
get resourceName(): string | undefined;
|
|
19
|
+
}
|