@huaweicloud/huaweicloud-sdk-smn 3.1.10 → 3.1.12
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 +0 -0
- package/README.md +0 -0
- package/huaweicloud-sdk-smn.d.ts +0 -0
- package/huaweicloud-sdk-smn.js +0 -0
- package/package.json +2 -2
- package/v2/SmnClient.d.ts +76 -152
- package/v2/SmnClient.js +76 -152
- package/v2/SmnRegion.d.ts +0 -0
- package/v2/SmnRegion.js +0 -0
- package/v2/model/AddSubscriptionRequest.d.ts +0 -0
- package/v2/model/AddSubscriptionRequest.js +0 -0
- package/v2/model/AddSubscriptionRequestBody.d.ts +0 -0
- package/v2/model/AddSubscriptionRequestBody.js +0 -0
- package/v2/model/AddSubscriptionResponse.d.ts +0 -0
- package/v2/model/AddSubscriptionResponse.js +0 -0
- package/v2/model/ApplicationEndpoint.d.ts +0 -0
- package/v2/model/ApplicationEndpoint.js +0 -0
- package/v2/model/ApplicationItem.d.ts +0 -0
- package/v2/model/ApplicationItem.js +0 -0
- package/v2/model/BatchCreateOrDeleteResourceTagsRequest.d.ts +0 -0
- package/v2/model/BatchCreateOrDeleteResourceTagsRequest.js +0 -0
- package/v2/model/BatchCreateOrDeleteResourceTagsRequestBody.d.ts +0 -0
- package/v2/model/BatchCreateOrDeleteResourceTagsRequestBody.js +0 -0
- package/v2/model/BatchCreateOrDeleteResourceTagsResponse.d.ts +0 -0
- package/v2/model/BatchCreateOrDeleteResourceTagsResponse.js +0 -0
- package/v2/model/CancelSubscriptionRequest.d.ts +0 -0
- package/v2/model/CancelSubscriptionRequest.js +0 -0
- package/v2/model/CancelSubscriptionResponse.d.ts +0 -0
- package/v2/model/CancelSubscriptionResponse.js +0 -0
- package/v2/model/CreateApplicationEndpointRequest.d.ts +0 -0
- package/v2/model/CreateApplicationEndpointRequest.js +0 -0
- package/v2/model/CreateApplicationEndpointRequestBody.d.ts +0 -0
- package/v2/model/CreateApplicationEndpointRequestBody.js +0 -0
- package/v2/model/CreateApplicationEndpointResponse.d.ts +0 -0
- package/v2/model/CreateApplicationEndpointResponse.js +0 -0
- package/v2/model/CreateApplicationRequest.d.ts +0 -0
- package/v2/model/CreateApplicationRequest.js +0 -0
- package/v2/model/CreateApplicationRequestBody.d.ts +0 -0
- package/v2/model/CreateApplicationRequestBody.js +0 -0
- package/v2/model/CreateApplicationResponse.d.ts +0 -0
- package/v2/model/CreateApplicationResponse.js +0 -0
- package/v2/model/CreateMessageTemplateRequest.d.ts +0 -0
- package/v2/model/CreateMessageTemplateRequest.js +0 -0
- package/v2/model/CreateMessageTemplateRequestBody.d.ts +0 -0
- package/v2/model/CreateMessageTemplateRequestBody.js +0 -0
- package/v2/model/CreateMessageTemplateResponse.d.ts +0 -0
- package/v2/model/CreateMessageTemplateResponse.js +0 -0
- package/v2/model/CreateResourceTagRequest.d.ts +0 -0
- package/v2/model/CreateResourceTagRequest.js +0 -0
- package/v2/model/CreateResourceTagRequestBody.d.ts +0 -0
- package/v2/model/CreateResourceTagRequestBody.js +0 -0
- package/v2/model/CreateResourceTagRequestBodyTag.d.ts +0 -0
- package/v2/model/CreateResourceTagRequestBodyTag.js +0 -0
- package/v2/model/CreateResourceTagResponse.d.ts +0 -0
- package/v2/model/CreateResourceTagResponse.js +0 -0
- package/v2/model/CreateTopicRequest.d.ts +0 -0
- package/v2/model/CreateTopicRequest.js +0 -0
- package/v2/model/CreateTopicRequestBody.d.ts +0 -0
- package/v2/model/CreateTopicRequestBody.js +0 -0
- package/v2/model/CreateTopicResponse.d.ts +0 -0
- package/v2/model/CreateTopicResponse.js +0 -0
- package/v2/model/DeleteApplicationEndpointRequest.d.ts +0 -0
- package/v2/model/DeleteApplicationEndpointRequest.js +0 -0
- package/v2/model/DeleteApplicationEndpointResponse.d.ts +0 -0
- package/v2/model/DeleteApplicationEndpointResponse.js +0 -0
- package/v2/model/DeleteApplicationRequest.d.ts +0 -0
- package/v2/model/DeleteApplicationRequest.js +0 -0
- package/v2/model/DeleteApplicationResponse.d.ts +0 -0
- package/v2/model/DeleteApplicationResponse.js +0 -0
- package/v2/model/DeleteMessageTemplateRequest.d.ts +0 -0
- package/v2/model/DeleteMessageTemplateRequest.js +0 -0
- package/v2/model/DeleteMessageTemplateResponse.d.ts +0 -0
- package/v2/model/DeleteMessageTemplateResponse.js +0 -0
- package/v2/model/DeleteResourceTagRequest.d.ts +0 -0
- package/v2/model/DeleteResourceTagRequest.js +0 -0
- package/v2/model/DeleteResourceTagResponse.d.ts +0 -0
- package/v2/model/DeleteResourceTagResponse.js +0 -0
- package/v2/model/DeleteTopicAttributeByNameRequest.d.ts +0 -0
- package/v2/model/DeleteTopicAttributeByNameRequest.js +0 -0
- package/v2/model/DeleteTopicAttributeByNameResponse.d.ts +0 -0
- package/v2/model/DeleteTopicAttributeByNameResponse.js +0 -0
- package/v2/model/DeleteTopicAttributesRequest.d.ts +0 -0
- package/v2/model/DeleteTopicAttributesRequest.js +0 -0
- package/v2/model/DeleteTopicAttributesResponse.d.ts +0 -0
- package/v2/model/DeleteTopicAttributesResponse.js +0 -0
- package/v2/model/DeleteTopicRequest.d.ts +0 -0
- package/v2/model/DeleteTopicRequest.js +0 -0
- package/v2/model/DeleteTopicResponse.d.ts +0 -0
- package/v2/model/DeleteTopicResponse.js +0 -0
- package/v2/model/LinksItem.d.ts +0 -0
- package/v2/model/LinksItem.js +0 -0
- package/v2/model/ListApplicationAttributesRequest.d.ts +0 -0
- package/v2/model/ListApplicationAttributesRequest.js +0 -0
- package/v2/model/ListApplicationAttributesResponse.d.ts +0 -0
- package/v2/model/ListApplicationAttributesResponse.js +0 -0
- package/v2/model/ListApplicationAttributesResponseBodyAttributes.d.ts +0 -0
- package/v2/model/ListApplicationAttributesResponseBodyAttributes.js +0 -0
- package/v2/model/ListApplicationEndpointAttributesRequest.d.ts +0 -0
- package/v2/model/ListApplicationEndpointAttributesRequest.js +0 -0
- package/v2/model/ListApplicationEndpointAttributesResponse.d.ts +0 -0
- package/v2/model/ListApplicationEndpointAttributesResponse.js +0 -0
- package/v2/model/ListApplicationEndpointAttributesResponseBodyAttributes.d.ts +0 -0
- package/v2/model/ListApplicationEndpointAttributesResponseBodyAttributes.js +0 -0
- package/v2/model/ListApplicationEndpointsRequest.d.ts +0 -0
- package/v2/model/ListApplicationEndpointsRequest.js +0 -0
- package/v2/model/ListApplicationEndpointsResponse.d.ts +0 -0
- package/v2/model/ListApplicationEndpointsResponse.js +0 -0
- package/v2/model/ListApplicationsRequest.d.ts +0 -0
- package/v2/model/ListApplicationsRequest.js +0 -0
- package/v2/model/ListApplicationsResponse.d.ts +0 -0
- package/v2/model/ListApplicationsResponse.js +0 -0
- package/v2/model/ListInstanceRequestBody.d.ts +0 -0
- package/v2/model/ListInstanceRequestBody.js +0 -0
- package/v2/model/ListMessageTemplateDetailsRequest.d.ts +0 -0
- package/v2/model/ListMessageTemplateDetailsRequest.js +0 -0
- package/v2/model/ListMessageTemplateDetailsResponse.d.ts +0 -0
- package/v2/model/ListMessageTemplateDetailsResponse.js +0 -0
- package/v2/model/ListMessageTemplatesRequest.d.ts +0 -0
- package/v2/model/ListMessageTemplatesRequest.js +0 -0
- package/v2/model/ListMessageTemplatesResponse.d.ts +0 -0
- package/v2/model/ListMessageTemplatesResponse.js +0 -0
- package/v2/model/ListProjectTagsRequest.d.ts +0 -0
- package/v2/model/ListProjectTagsRequest.js +0 -0
- package/v2/model/ListProjectTagsResponse.d.ts +0 -0
- package/v2/model/ListProjectTagsResponse.js +0 -0
- package/v2/model/ListResourceInstancesRequest.d.ts +0 -0
- package/v2/model/ListResourceInstancesRequest.js +0 -0
- package/v2/model/ListResourceInstancesResponse.d.ts +0 -0
- package/v2/model/ListResourceInstancesResponse.js +0 -0
- package/v2/model/ListResourceTagsRequest.d.ts +0 -0
- package/v2/model/ListResourceTagsRequest.js +0 -0
- package/v2/model/ListResourceTagsResponse.d.ts +0 -0
- package/v2/model/ListResourceTagsResponse.js +0 -0
- package/v2/model/ListSubscriptionsByTopicRequest.d.ts +0 -0
- package/v2/model/ListSubscriptionsByTopicRequest.js +0 -0
- package/v2/model/ListSubscriptionsByTopicResponse.d.ts +0 -0
- package/v2/model/ListSubscriptionsByTopicResponse.js +0 -0
- package/v2/model/ListSubscriptionsItem.d.ts +0 -0
- package/v2/model/ListSubscriptionsItem.js +0 -0
- package/v2/model/ListSubscriptionsRequest.d.ts +0 -0
- package/v2/model/ListSubscriptionsRequest.js +0 -0
- package/v2/model/ListSubscriptionsResponse.d.ts +0 -0
- package/v2/model/ListSubscriptionsResponse.js +0 -0
- package/v2/model/ListTopicAttributesRequest.d.ts +0 -0
- package/v2/model/ListTopicAttributesRequest.js +0 -0
- package/v2/model/ListTopicAttributesResponse.d.ts +0 -0
- package/v2/model/ListTopicAttributesResponse.js +0 -0
- package/v2/model/ListTopicDetailsRequest.d.ts +0 -0
- package/v2/model/ListTopicDetailsRequest.js +0 -0
- package/v2/model/ListTopicDetailsResponse.d.ts +0 -0
- package/v2/model/ListTopicDetailsResponse.js +0 -0
- package/v2/model/ListTopicsItem.d.ts +0 -0
- package/v2/model/ListTopicsItem.js +0 -0
- package/v2/model/ListTopicsRequest.d.ts +0 -0
- package/v2/model/ListTopicsRequest.js +0 -0
- package/v2/model/ListTopicsResponse.d.ts +0 -0
- package/v2/model/ListTopicsResponse.js +0 -0
- package/v2/model/ListVersionRequest.d.ts +0 -0
- package/v2/model/ListVersionRequest.js +0 -0
- package/v2/model/ListVersionResponse.d.ts +0 -0
- package/v2/model/ListVersionResponse.js +0 -0
- package/v2/model/ListVersionsRequest.d.ts +0 -0
- package/v2/model/ListVersionsRequest.js +0 -0
- package/v2/model/ListVersionsResponse.d.ts +0 -0
- package/v2/model/ListVersionsResponse.js +0 -0
- package/v2/model/MessageTemplate.d.ts +0 -0
- package/v2/model/MessageTemplate.js +0 -0
- package/v2/model/PublishAppMessageRequest.d.ts +0 -0
- package/v2/model/PublishAppMessageRequest.js +0 -0
- package/v2/model/PublishAppMessageRequestBody.d.ts +0 -0
- package/v2/model/PublishAppMessageRequestBody.js +0 -0
- package/v2/model/PublishAppMessageResponse.d.ts +0 -0
- package/v2/model/PublishAppMessageResponse.js +0 -0
- package/v2/model/PublishMessageRequest.d.ts +0 -0
- package/v2/model/PublishMessageRequest.js +0 -0
- package/v2/model/PublishMessageRequestBody.d.ts +0 -0
- package/v2/model/PublishMessageRequestBody.js +0 -0
- package/v2/model/PublishMessageResponse.d.ts +0 -0
- package/v2/model/PublishMessageResponse.js +0 -0
- package/v2/model/ResourceDetail.d.ts +0 -0
- package/v2/model/ResourceDetail.js +0 -0
- package/v2/model/ResourceTag.d.ts +0 -0
- package/v2/model/ResourceTag.js +0 -0
- package/v2/model/ResourceTags.d.ts +0 -0
- package/v2/model/ResourceTags.js +0 -0
- package/v2/model/Statement.d.ts +0 -0
- package/v2/model/Statement.js +0 -0
- package/v2/model/TagMatch.d.ts +0 -0
- package/v2/model/TagMatch.js +0 -0
- package/v2/model/TagResource.d.ts +0 -0
- package/v2/model/TagResource.js +0 -0
- package/v2/model/TopicAttribute.d.ts +0 -0
- package/v2/model/TopicAttribute.js +0 -0
- package/v2/model/UpdateApplicationEndpointRequest.d.ts +0 -0
- package/v2/model/UpdateApplicationEndpointRequest.js +0 -0
- package/v2/model/UpdateApplicationEndpointRequestBody.d.ts +0 -0
- package/v2/model/UpdateApplicationEndpointRequestBody.js +0 -0
- package/v2/model/UpdateApplicationEndpointResponse.d.ts +0 -0
- package/v2/model/UpdateApplicationEndpointResponse.js +0 -0
- package/v2/model/UpdateApplicationRequest.d.ts +0 -0
- package/v2/model/UpdateApplicationRequest.js +0 -0
- package/v2/model/UpdateApplicationRequestBody.d.ts +0 -0
- package/v2/model/UpdateApplicationRequestBody.js +0 -0
- package/v2/model/UpdateApplicationResponse.d.ts +0 -0
- package/v2/model/UpdateApplicationResponse.js +0 -0
- package/v2/model/UpdateMessageTemplateRequest.d.ts +0 -0
- package/v2/model/UpdateMessageTemplateRequest.js +0 -0
- package/v2/model/UpdateMessageTemplateRequestBody.d.ts +0 -0
- package/v2/model/UpdateMessageTemplateRequestBody.js +0 -0
- package/v2/model/UpdateMessageTemplateResponse.d.ts +0 -0
- package/v2/model/UpdateMessageTemplateResponse.js +0 -0
- package/v2/model/UpdateTopicAttributeRequest.d.ts +0 -0
- package/v2/model/UpdateTopicAttributeRequest.js +0 -0
- package/v2/model/UpdateTopicAttributeRequestBody.d.ts +0 -0
- package/v2/model/UpdateTopicAttributeRequestBody.js +0 -0
- package/v2/model/UpdateTopicAttributeResponse.d.ts +0 -0
- package/v2/model/UpdateTopicAttributeResponse.js +0 -0
- package/v2/model/UpdateTopicRequest.d.ts +0 -0
- package/v2/model/UpdateTopicRequest.js +0 -0
- package/v2/model/UpdateTopicRequestBody.d.ts +0 -0
- package/v2/model/UpdateTopicRequestBody.js +0 -0
- package/v2/model/UpdateTopicResponse.d.ts +0 -0
- package/v2/model/UpdateTopicResponse.js +0 -0
- package/v2/model/VersionItem.d.ts +0 -0
- package/v2/model/VersionItem.js +0 -0
- package/v2/public-api.d.ts +0 -0
- package/v2/public-api.js +0 -0
package/v2/SmnClient.js
CHANGED
|
@@ -67,8 +67,7 @@ var SmnClient = /** @class */ (function () {
|
|
|
67
67
|
/**
|
|
68
68
|
* 为指定Topic添加一个订阅者,如果订阅者的状态为未确认,则向订阅者发送一个确认的消息。待订阅者进行ConfirmSubscription确认后,该订阅者才能收到Topic发布的消息。单Topic默认可添加10000个订阅者,高并发场景下,可能会出现订阅者数量超过10000仍添加成功的情况,此为正常现象。接口是幂等的,如果添加已存在的订阅者,则返回成功,且status code为200,否则status code为201。
|
|
69
69
|
*
|
|
70
|
-
*
|
|
71
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
70
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
72
71
|
*
|
|
73
72
|
* @summary 订阅
|
|
74
73
|
* @param {string} topicUrn Topic的唯一的资源标识,可通过[查询主题列表](https://support.huaweicloud.com/api-smn/smn_api_51004.html)获取该标识。
|
|
@@ -88,8 +87,7 @@ var SmnClient = /** @class */ (function () {
|
|
|
88
87
|
* 创建时,不允许重复key,如果数据库存在就覆盖。
|
|
89
88
|
* 删除时,如果删除的标签不存在,默认处理成功,删除时不对标签字符集范围做校验。
|
|
90
89
|
*
|
|
91
|
-
*
|
|
92
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
90
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
93
91
|
*
|
|
94
92
|
* @summary 批量添加删除资源标签
|
|
95
93
|
* @param {string} resourceType 资源类型,目前有: smn_topic,主题 smn_sms,短信 smn_application,移动推送
|
|
@@ -107,8 +105,7 @@ var SmnClient = /** @class */ (function () {
|
|
|
107
105
|
/**
|
|
108
106
|
* 删除指定的订阅者。
|
|
109
107
|
*
|
|
110
|
-
*
|
|
111
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
108
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
112
109
|
*
|
|
113
110
|
* @summary 取消订阅
|
|
114
111
|
* @param {string} subscriptionUrn 订阅者的唯一的资源标识,可通过[查询订阅者列表](https://support.huaweicloud.com/api-smn/ListSubscriptions.html)获取该标识。
|
|
@@ -125,8 +122,7 @@ var SmnClient = /** @class */ (function () {
|
|
|
125
122
|
* 创建一个模板,用户可以按照模板去发送消息,这样可以减少请求的数据量。
|
|
126
123
|
* 单用户默认可创建100个消息模板,高并发场景下,可能会出现消息模板数量超过100仍创建成功的情况,此为正常现象。
|
|
127
124
|
*
|
|
128
|
-
*
|
|
129
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
125
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
130
126
|
*
|
|
131
127
|
* @summary 创建消息模板
|
|
132
128
|
* @param {CreateMessageTemplateRequestBody} [createMessageTemplateRequestBody]
|
|
@@ -142,8 +138,7 @@ var SmnClient = /** @class */ (function () {
|
|
|
142
138
|
/**
|
|
143
139
|
* 一个资源上最多有10个标签。此接口为幂等接口:创建时,如果创建的标签已经存在(key相同),则覆盖。
|
|
144
140
|
*
|
|
145
|
-
*
|
|
146
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
141
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
147
142
|
*
|
|
148
143
|
* @summary 添加资源标签
|
|
149
144
|
* @param {string} resourceType 资源类型,目前有: smn_topic,主题 smn_sms,短信 smn_application,移动推送
|
|
@@ -162,8 +157,7 @@ var SmnClient = /** @class */ (function () {
|
|
|
162
157
|
* 创建Topic,单用户默认配额为3000。高并发场景下,可能会出现Topic数量超过3000仍创建成功的情况,此为正常现象。
|
|
163
158
|
* 接口是幂等的,接口调用返回成功时,若已存在同名的Topic,返回的status code为200,否则返回的status code为201
|
|
164
159
|
*
|
|
165
|
-
*
|
|
166
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
160
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
167
161
|
*
|
|
168
162
|
* @summary 创建主题
|
|
169
163
|
* @param {CreateTopicRequestBody} createTopicRequestBody This is a auto create Body Object
|
|
@@ -179,8 +173,7 @@ var SmnClient = /** @class */ (function () {
|
|
|
179
173
|
/**
|
|
180
174
|
* 删除消息模板。删除模板之前的消息请求都可以使用该模板发送,删除之后无法再使用该模板发送消息。
|
|
181
175
|
*
|
|
182
|
-
*
|
|
183
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
176
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
184
177
|
*
|
|
185
178
|
* @summary 删除消息模板
|
|
186
179
|
* @param {string} messageTemplateId 模板唯一的资源标识,可通过查询[消息模板列表](https://support.huaweicloud.com/api-smn/ListMessageTemplates.html)获取该标识。
|
|
@@ -196,8 +189,7 @@ var SmnClient = /** @class */ (function () {
|
|
|
196
189
|
/**
|
|
197
190
|
* 幂等接口:删除时,不对标签做校验。删除的key不存在报404,key不能为空或者空字符串。
|
|
198
191
|
*
|
|
199
|
-
*
|
|
200
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
192
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
201
193
|
*
|
|
202
194
|
* @summary 删除资源标签
|
|
203
195
|
* @param {string} resourceType 资源类型,目前有: smn_topic,主题。 smn_sms,短信。 smn_application,移动推送。
|
|
@@ -215,8 +207,7 @@ var SmnClient = /** @class */ (function () {
|
|
|
215
207
|
/**
|
|
216
208
|
* 删除主题。
|
|
217
209
|
*
|
|
218
|
-
*
|
|
219
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
210
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
220
211
|
*
|
|
221
212
|
* @summary 删除主题
|
|
222
213
|
* @param {string} topicUrn Topic的唯一的资源标识,可通过[查询主题列表](https://support.huaweicloud.com/api-smn/smn_api_51004.html)获取该标识。
|
|
@@ -232,8 +223,7 @@ var SmnClient = /** @class */ (function () {
|
|
|
232
223
|
/**
|
|
233
224
|
* 删除指定名称的主题策略。
|
|
234
225
|
*
|
|
235
|
-
*
|
|
236
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
226
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
237
227
|
*
|
|
238
228
|
* @summary 删除指定名称的主题策略
|
|
239
229
|
* @param {string} topicUrn Topic的唯一的资源标识,可通过[查询主题列表](https://support.huaweicloud.com/api-smn/smn_api_51004.html)获取该标识。
|
|
@@ -250,8 +240,7 @@ var SmnClient = /** @class */ (function () {
|
|
|
250
240
|
/**
|
|
251
241
|
* 删除所有主题策略。
|
|
252
242
|
*
|
|
253
|
-
*
|
|
254
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
243
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
255
244
|
*
|
|
256
245
|
* @summary 删除所有主题策略
|
|
257
246
|
* @param {string} topicUrn Topic的唯一的资源标识,可通过[查询主题列表](https://support.huaweicloud.com/api-smn/smn_api_51004.html)获取该标识。
|
|
@@ -267,8 +256,7 @@ var SmnClient = /** @class */ (function () {
|
|
|
267
256
|
/**
|
|
268
257
|
* 查询模板详情,包括模板内容。
|
|
269
258
|
*
|
|
270
|
-
*
|
|
271
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
259
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
272
260
|
*
|
|
273
261
|
* @summary 查询消息模板详情
|
|
274
262
|
* @param {string} messageTemplateId 模板唯一的资源标识,可通过查询[消息模板列表](https://support.huaweicloud.com/api-smn/ListMessageTemplates.html)获取该标识。
|
|
@@ -284,8 +272,7 @@ var SmnClient = /** @class */ (function () {
|
|
|
284
272
|
/**
|
|
285
273
|
* 分页查询模板列表,模板列表按照创建时间进行升序排列。分页查询可以指定offset以及limit。如果不存在模板,则返回空列表。额外的查询参数分别有message_template_name和protocol。
|
|
286
274
|
*
|
|
287
|
-
*
|
|
288
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
275
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
289
276
|
*
|
|
290
277
|
* @summary 查询消息模板列表
|
|
291
278
|
* @param {number} [offset] 偏移量,偏移量为一个大于0小于资源总个数的整数,表示查询该偏移量后面的所有的资源,默认值为0。
|
|
@@ -304,8 +291,7 @@ var SmnClient = /** @class */ (function () {
|
|
|
304
291
|
/**
|
|
305
292
|
* 查询租户在指定Region和实例类型的所有标签集合。
|
|
306
293
|
*
|
|
307
|
-
*
|
|
308
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
294
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
309
295
|
*
|
|
310
296
|
* @summary 查询项目标签
|
|
311
297
|
* @param {string} resourceType 资源类型 目前有: smn_topic,主题 smn_sms,短信 smn_application,移动推送
|
|
@@ -321,8 +307,7 @@ var SmnClient = /** @class */ (function () {
|
|
|
321
307
|
/**
|
|
322
308
|
* 使用标签过滤实例。
|
|
323
309
|
*
|
|
324
|
-
*
|
|
325
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
310
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
326
311
|
*
|
|
327
312
|
* @summary 查询资源实例
|
|
328
313
|
* @param {string} resourceType 资源类型,目前有: smn_topic,主题 smn_sms,短信 smn_application,移动推送
|
|
@@ -339,8 +324,7 @@ var SmnClient = /** @class */ (function () {
|
|
|
339
324
|
/**
|
|
340
325
|
* 查询指定实例的标签信息。
|
|
341
326
|
*
|
|
342
|
-
*
|
|
343
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
327
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
344
328
|
*
|
|
345
329
|
* @summary 查询资源标签
|
|
346
330
|
* @param {string} resourceType 资源类型 目前有: smn_topic,主题 smn_sms,短信 smn_application,移动推送
|
|
@@ -357,8 +341,7 @@ var SmnClient = /** @class */ (function () {
|
|
|
357
341
|
/**
|
|
358
342
|
* 分页返回请求者的所有的订阅列表,订阅列表按照订阅创建时间进行升序排列。分页查询可以指定offset以及limit。如果订阅者不存在,返回空列表。
|
|
359
343
|
*
|
|
360
|
-
*
|
|
361
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
344
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
362
345
|
*
|
|
363
346
|
* @summary 查询订阅者列表
|
|
364
347
|
* @param {number} [offset] 偏移量。 偏移量为一个大于0小于资源总个数的整数,表示查询该偏移量后面的所有的资源,默认值为0。
|
|
@@ -378,8 +361,7 @@ var SmnClient = /** @class */ (function () {
|
|
|
378
361
|
/**
|
|
379
362
|
* 分页获取特定Topic的订阅列表,订阅列表按照订阅创建时间进行升序排列。分页查询可以指定offset以及limit。如果指定Topic不存在订阅者,返回空列表。
|
|
380
363
|
*
|
|
381
|
-
*
|
|
382
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
364
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
383
365
|
*
|
|
384
366
|
* @summary 查询指定Topic的订阅者列表
|
|
385
367
|
* @param {string} topicUrn Topic的唯一的资源标识,可通过[查询主题列表](https://support.huaweicloud.com/api-smn/smn_api_51004.html)获取该标识。
|
|
@@ -397,8 +379,7 @@ var SmnClient = /** @class */ (function () {
|
|
|
397
379
|
/**
|
|
398
380
|
* 查询主题的策略信息。
|
|
399
381
|
*
|
|
400
|
-
*
|
|
401
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
382
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
402
383
|
*
|
|
403
384
|
* @summary 查询主题策略
|
|
404
385
|
* @param {string} topicUrn Topic的唯一的资源标识,可通过[查询主题列表](https://support.huaweicloud.com/api-smn/smn_api_51004.html)获取该标识。
|
|
@@ -415,8 +396,7 @@ var SmnClient = /** @class */ (function () {
|
|
|
415
396
|
/**
|
|
416
397
|
* 查询Topic的详细信息。
|
|
417
398
|
*
|
|
418
|
-
*
|
|
419
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
399
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
420
400
|
*
|
|
421
401
|
* @summary 查询主题详情
|
|
422
402
|
* @param {string} topicUrn Topic的唯一的资源标识,可通过[查询主题列表](https://support.huaweicloud.com/api-smn/smn_api_51004.html)获取该标识。
|
|
@@ -432,8 +412,7 @@ var SmnClient = /** @class */ (function () {
|
|
|
432
412
|
/**
|
|
433
413
|
* 分页查询Topic列表,Topic列表按照Topic创建时间进行降序排列。分页查询可以指定offset以及limit。如果不存在Topic,则返回空列表。
|
|
434
414
|
*
|
|
435
|
-
*
|
|
436
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
415
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
437
416
|
*
|
|
438
417
|
* @summary 查询主题列表
|
|
439
418
|
* @param {number} [offset] 偏移量。 偏移量为一个大于0小于资源总个数的整数,表示查询该偏移量后面的所有的资源,默认值为0。
|
|
@@ -453,8 +432,7 @@ var SmnClient = /** @class */ (function () {
|
|
|
453
432
|
/**
|
|
454
433
|
* 查询SMN API V2版本信息。
|
|
455
434
|
*
|
|
456
|
-
*
|
|
457
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
435
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
458
436
|
*
|
|
459
437
|
* @summary 查询SMN API V2版本信息
|
|
460
438
|
* @param {string} apiVersion 待查询版本号。当前仅支持v2。
|
|
@@ -470,8 +448,7 @@ var SmnClient = /** @class */ (function () {
|
|
|
470
448
|
/**
|
|
471
449
|
* 查询SMN开放API支持的版本号。
|
|
472
450
|
*
|
|
473
|
-
*
|
|
474
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
451
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
475
452
|
*
|
|
476
453
|
* @summary 查询SMN支持的API版本号信息
|
|
477
454
|
* @param {*} [options] Override http request option.
|
|
@@ -495,8 +472,7 @@ var SmnClient = /** @class */ (function () {
|
|
|
495
472
|
* 只需要设置其中一个,如果同时设置,生效的优先级为
|
|
496
473
|
* message_structure > message_template_name > message。
|
|
497
474
|
*
|
|
498
|
-
*
|
|
499
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
475
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
500
476
|
*
|
|
501
477
|
* @summary 消息发布
|
|
502
478
|
* @param {string} topicUrn Topic的唯一的资源标识,可通过[查询主题列表](https://support.huaweicloud.com/api-smn/smn_api_51004.html)获取该标识。
|
|
@@ -513,8 +489,7 @@ var SmnClient = /** @class */ (function () {
|
|
|
513
489
|
/**
|
|
514
490
|
* 修改消息模板的内容。
|
|
515
491
|
*
|
|
516
|
-
*
|
|
517
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
492
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
518
493
|
*
|
|
519
494
|
* @summary 更新消息模板
|
|
520
495
|
* @param {string} messageTemplateId 模板唯一的资源标识,可通过查询[消息模板列表](https://support.huaweicloud.com/api-smn/ListMessageTemplates.html)获取该标识。
|
|
@@ -531,8 +506,7 @@ var SmnClient = /** @class */ (function () {
|
|
|
531
506
|
/**
|
|
532
507
|
* 更新显示名。
|
|
533
508
|
*
|
|
534
|
-
*
|
|
535
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
509
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
536
510
|
*
|
|
537
511
|
* @summary 更新主题
|
|
538
512
|
* @param {string} topicUrn Topic的唯一的资源标识。可以通过[查看主题列表](https://support.huaweicloud.com/api-smn/smn_api_51004.html)获取该标识。
|
|
@@ -549,8 +523,7 @@ var SmnClient = /** @class */ (function () {
|
|
|
549
523
|
/**
|
|
550
524
|
* 更新主题的策略信息。
|
|
551
525
|
*
|
|
552
|
-
*
|
|
553
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
526
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
554
527
|
*
|
|
555
528
|
* @summary 更新主题策略
|
|
556
529
|
* @param {string} topicUrn Topic的唯一的资源标识,可通过[查询主题列表](https://support.huaweicloud.com/api-smn/smn_api_51004.html)获取该标识。
|
|
@@ -568,8 +541,7 @@ var SmnClient = /** @class */ (function () {
|
|
|
568
541
|
/**
|
|
569
542
|
* 创建平台应用。
|
|
570
543
|
*
|
|
571
|
-
*
|
|
572
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
544
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
573
545
|
*
|
|
574
546
|
* @summary 创建Application
|
|
575
547
|
* @param {CreateApplicationRequestBody} [createApplicationRequestBody]
|
|
@@ -585,8 +557,7 @@ var SmnClient = /** @class */ (function () {
|
|
|
585
557
|
/**
|
|
586
558
|
* 删除平台应用。
|
|
587
559
|
*
|
|
588
|
-
*
|
|
589
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
560
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
590
561
|
*
|
|
591
562
|
* @summary 删除Application
|
|
592
563
|
* @param {string} applicationUrn Application的唯一资源标识,可通过[查询Application](https://support.huaweicloud.com/api-smn/ListApplications.html)获取该标识。
|
|
@@ -602,8 +573,7 @@ var SmnClient = /** @class */ (function () {
|
|
|
602
573
|
/**
|
|
603
574
|
* 获取应用平台属性。
|
|
604
575
|
*
|
|
605
|
-
*
|
|
606
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
576
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
607
577
|
*
|
|
608
578
|
* @summary 查询Application属性
|
|
609
579
|
* @param {string} applicationUrn Application的唯一资源标识,可通过[查询Application](https://support.huaweicloud.com/api-smn/ListApplications.html)获取该标识。
|
|
@@ -619,8 +589,7 @@ var SmnClient = /** @class */ (function () {
|
|
|
619
589
|
/**
|
|
620
590
|
* 查询应用平台列表。
|
|
621
591
|
*
|
|
622
|
-
*
|
|
623
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
592
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
624
593
|
*
|
|
625
594
|
* @summary 查询Application
|
|
626
595
|
* @param {number} [offset] 偏移量。 偏移量为一个大于0小于资源总个数的整数,表示查询该偏移量后面的所有的资源,默认值为0。
|
|
@@ -639,8 +608,7 @@ var SmnClient = /** @class */ (function () {
|
|
|
639
608
|
/**
|
|
640
609
|
* 将消息直发给endpoint设备。
|
|
641
610
|
*
|
|
642
|
-
*
|
|
643
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
611
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
644
612
|
*
|
|
645
613
|
* @summary App消息发布
|
|
646
614
|
* @param {string} endpointUrn Endpoint的唯一资源标识,可通过[查询Application的Endpoint列表](https://support.huaweicloud.com/api-smn/ListApplicationEndpoints.html)获取该标识
|
|
@@ -657,8 +625,7 @@ var SmnClient = /** @class */ (function () {
|
|
|
657
625
|
/**
|
|
658
626
|
* 更新应用平台。
|
|
659
627
|
*
|
|
660
|
-
*
|
|
661
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
628
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
662
629
|
*
|
|
663
630
|
* @summary 更新Application
|
|
664
631
|
* @param {string} applicationUrn Application的唯一资源标识,可通过[查询Application](https://support.huaweicloud.com/api-smn/ListApplications.html)获取该标识。
|
|
@@ -675,8 +642,7 @@ var SmnClient = /** @class */ (function () {
|
|
|
675
642
|
/**
|
|
676
643
|
* 创建应用平台的endpoint终端。
|
|
677
644
|
*
|
|
678
|
-
*
|
|
679
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
645
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
680
646
|
*
|
|
681
647
|
* @summary 创建Application endpoint
|
|
682
648
|
* @param {string} applicationUrn Application的唯一资源标识,可通过[查询Application](https://support.huaweicloud.com/api-smn/ListApplications.html)获取该标识。
|
|
@@ -693,8 +659,7 @@ var SmnClient = /** @class */ (function () {
|
|
|
693
659
|
/**
|
|
694
660
|
* 删除设备。
|
|
695
661
|
*
|
|
696
|
-
*
|
|
697
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
662
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
698
663
|
*
|
|
699
664
|
* @summary 删除Application endpoint
|
|
700
665
|
* @param {string} endpointUrn Endpoint的唯一资源标识,可通过[查询Application的Endpoint列表](https://support.huaweicloud.com/api-smn/ListApplicationEndpoints.html)获取该标识。
|
|
@@ -710,8 +675,7 @@ var SmnClient = /** @class */ (function () {
|
|
|
710
675
|
/**
|
|
711
676
|
* 获取endpoint的属性。
|
|
712
677
|
*
|
|
713
|
-
*
|
|
714
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
678
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
715
679
|
*
|
|
716
680
|
* @summary 查询Application的Endpoint属性
|
|
717
681
|
* @param {string} endpointUrn Endpoint的唯一资源标识,可通过[查询Application的Endpoint列表](https://support.huaweicloud.com/api-smn/ListApplicationEndpoints.html)获取该标识。
|
|
@@ -727,8 +691,7 @@ var SmnClient = /** @class */ (function () {
|
|
|
727
691
|
/**
|
|
728
692
|
* 查询平台的endpoint列表。
|
|
729
693
|
*
|
|
730
|
-
*
|
|
731
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
694
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
732
695
|
*
|
|
733
696
|
* @summary 查询Application的Endpoint列表
|
|
734
697
|
* @param {string} applicationUrn Application的唯一资源标识,可通过[查询Application](https://support.huaweicloud.com/api-smn/ListApplications.html)获取该标识。
|
|
@@ -749,8 +712,7 @@ var SmnClient = /** @class */ (function () {
|
|
|
749
712
|
/**
|
|
750
713
|
* 更新设备属性。
|
|
751
714
|
*
|
|
752
|
-
*
|
|
753
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
715
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
754
716
|
*
|
|
755
717
|
* @summary 更新Application endpoint
|
|
756
718
|
* @param {string} endpointUrn Endpoint的唯一资源标识,可通过[查询Application的Endpoint列表](https://support.huaweicloud.com/api-smn/ListApplicationEndpoints.html)获取该标识。
|
|
@@ -772,8 +734,7 @@ var ParamCreater = function () {
|
|
|
772
734
|
/**
|
|
773
735
|
* 为指定Topic添加一个订阅者,如果订阅者的状态为未确认,则向订阅者发送一个确认的消息。待订阅者进行ConfirmSubscription确认后,该订阅者才能收到Topic发布的消息。单Topic默认可添加10000个订阅者,高并发场景下,可能会出现订阅者数量超过10000仍添加成功的情况,此为正常现象。接口是幂等的,如果添加已存在的订阅者,则返回成功,且status code为200,否则status code为201。
|
|
774
736
|
*
|
|
775
|
-
*
|
|
776
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
737
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
777
738
|
*/
|
|
778
739
|
addSubscription: function (addSubscriptionRequest) {
|
|
779
740
|
var options = {
|
|
@@ -813,8 +774,7 @@ var ParamCreater = function () {
|
|
|
813
774
|
* 创建时,不允许重复key,如果数据库存在就覆盖。
|
|
814
775
|
* 删除时,如果删除的标签不存在,默认处理成功,删除时不对标签字符集范围做校验。
|
|
815
776
|
*
|
|
816
|
-
*
|
|
817
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
777
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
818
778
|
*/
|
|
819
779
|
batchCreateOrDeleteResourceTags: function (batchCreateOrDeleteResourceTagsRequest) {
|
|
820
780
|
var options = {
|
|
@@ -857,8 +817,7 @@ var ParamCreater = function () {
|
|
|
857
817
|
/**
|
|
858
818
|
* 删除指定的订阅者。
|
|
859
819
|
*
|
|
860
|
-
*
|
|
861
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
820
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
862
821
|
*/
|
|
863
822
|
cancelSubscription: function (cancelSubscriptionRequest) {
|
|
864
823
|
var options = {
|
|
@@ -891,8 +850,7 @@ var ParamCreater = function () {
|
|
|
891
850
|
* 创建一个模板,用户可以按照模板去发送消息,这样可以减少请求的数据量。
|
|
892
851
|
* 单用户默认可创建100个消息模板,高并发场景下,可能会出现消息模板数量超过100仍创建成功的情况,此为正常现象。
|
|
893
852
|
*
|
|
894
|
-
*
|
|
895
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
853
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
896
854
|
*/
|
|
897
855
|
createMessageTemplate: function (createMessageTemplateRequest) {
|
|
898
856
|
var options = {
|
|
@@ -922,8 +880,7 @@ var ParamCreater = function () {
|
|
|
922
880
|
/**
|
|
923
881
|
* 一个资源上最多有10个标签。此接口为幂等接口:创建时,如果创建的标签已经存在(key相同),则覆盖。
|
|
924
882
|
*
|
|
925
|
-
*
|
|
926
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
883
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
927
884
|
*/
|
|
928
885
|
createResourceTag: function (createResourceTagRequest) {
|
|
929
886
|
var options = {
|
|
@@ -967,8 +924,7 @@ var ParamCreater = function () {
|
|
|
967
924
|
* 创建Topic,单用户默认配额为3000。高并发场景下,可能会出现Topic数量超过3000仍创建成功的情况,此为正常现象。
|
|
968
925
|
* 接口是幂等的,接口调用返回成功时,若已存在同名的Topic,返回的status code为200,否则返回的status code为201
|
|
969
926
|
*
|
|
970
|
-
*
|
|
971
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
927
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
972
928
|
*/
|
|
973
929
|
createTopic: function (createTopicRequest) {
|
|
974
930
|
var options = {
|
|
@@ -1001,8 +957,7 @@ var ParamCreater = function () {
|
|
|
1001
957
|
/**
|
|
1002
958
|
* 删除消息模板。删除模板之前的消息请求都可以使用该模板发送,删除之后无法再使用该模板发送消息。
|
|
1003
959
|
*
|
|
1004
|
-
*
|
|
1005
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
960
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1006
961
|
*/
|
|
1007
962
|
deleteMessageTemplate: function (deleteMessageTemplateRequest) {
|
|
1008
963
|
var options = {
|
|
@@ -1034,8 +989,7 @@ var ParamCreater = function () {
|
|
|
1034
989
|
/**
|
|
1035
990
|
* 幂等接口:删除时,不对标签做校验。删除的key不存在报404,key不能为空或者空字符串。
|
|
1036
991
|
*
|
|
1037
|
-
*
|
|
1038
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
992
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1039
993
|
*/
|
|
1040
994
|
deleteResourceTag: function (deleteResourceTagRequest) {
|
|
1041
995
|
var options = {
|
|
@@ -1079,8 +1033,7 @@ var ParamCreater = function () {
|
|
|
1079
1033
|
/**
|
|
1080
1034
|
* 删除主题。
|
|
1081
1035
|
*
|
|
1082
|
-
*
|
|
1083
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
1036
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1084
1037
|
*/
|
|
1085
1038
|
deleteTopic: function (deleteTopicRequest) {
|
|
1086
1039
|
var options = {
|
|
@@ -1112,8 +1065,7 @@ var ParamCreater = function () {
|
|
|
1112
1065
|
/**
|
|
1113
1066
|
* 删除指定名称的主题策略。
|
|
1114
1067
|
*
|
|
1115
|
-
*
|
|
1116
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
1068
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1117
1069
|
*/
|
|
1118
1070
|
deleteTopicAttributeByName: function (deleteTopicAttributeByNameRequest) {
|
|
1119
1071
|
var options = {
|
|
@@ -1151,8 +1103,7 @@ var ParamCreater = function () {
|
|
|
1151
1103
|
/**
|
|
1152
1104
|
* 删除所有主题策略。
|
|
1153
1105
|
*
|
|
1154
|
-
*
|
|
1155
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
1106
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1156
1107
|
*/
|
|
1157
1108
|
deleteTopicAttributes: function (deleteTopicAttributesRequest) {
|
|
1158
1109
|
var options = {
|
|
@@ -1184,8 +1135,7 @@ var ParamCreater = function () {
|
|
|
1184
1135
|
/**
|
|
1185
1136
|
* 查询模板详情,包括模板内容。
|
|
1186
1137
|
*
|
|
1187
|
-
*
|
|
1188
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
1138
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1189
1139
|
*/
|
|
1190
1140
|
listMessageTemplateDetails: function (listMessageTemplateDetailsRequest) {
|
|
1191
1141
|
var options = {
|
|
@@ -1217,8 +1167,7 @@ var ParamCreater = function () {
|
|
|
1217
1167
|
/**
|
|
1218
1168
|
* 分页查询模板列表,模板列表按照创建时间进行升序排列。分页查询可以指定offset以及limit。如果不存在模板,则返回空列表。额外的查询参数分别有message_template_name和protocol。
|
|
1219
1169
|
*
|
|
1220
|
-
*
|
|
1221
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
1170
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1222
1171
|
*/
|
|
1223
1172
|
listMessageTemplates: function (listMessageTemplatesRequest) {
|
|
1224
1173
|
var options = {
|
|
@@ -1269,8 +1218,7 @@ var ParamCreater = function () {
|
|
|
1269
1218
|
/**
|
|
1270
1219
|
* 查询租户在指定Region和实例类型的所有标签集合。
|
|
1271
1220
|
*
|
|
1272
|
-
*
|
|
1273
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
1221
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1274
1222
|
*/
|
|
1275
1223
|
listProjectTags: function (listProjectTagsRequest) {
|
|
1276
1224
|
var options = {
|
|
@@ -1302,8 +1250,7 @@ var ParamCreater = function () {
|
|
|
1302
1250
|
/**
|
|
1303
1251
|
* 使用标签过滤实例。
|
|
1304
1252
|
*
|
|
1305
|
-
*
|
|
1306
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
1253
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1307
1254
|
*/
|
|
1308
1255
|
listResourceInstances: function (listResourceInstancesRequest) {
|
|
1309
1256
|
var options = {
|
|
@@ -1340,8 +1287,7 @@ var ParamCreater = function () {
|
|
|
1340
1287
|
/**
|
|
1341
1288
|
* 查询指定实例的标签信息。
|
|
1342
1289
|
*
|
|
1343
|
-
*
|
|
1344
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
1290
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1345
1291
|
*/
|
|
1346
1292
|
listResourceTags: function (listResourceTagsRequest) {
|
|
1347
1293
|
var options = {
|
|
@@ -1379,8 +1325,7 @@ var ParamCreater = function () {
|
|
|
1379
1325
|
/**
|
|
1380
1326
|
* 分页返回请求者的所有的订阅列表,订阅列表按照订阅创建时间进行升序排列。分页查询可以指定offset以及limit。如果订阅者不存在,返回空列表。
|
|
1381
1327
|
*
|
|
1382
|
-
*
|
|
1383
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
1328
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1384
1329
|
*/
|
|
1385
1330
|
listSubscriptions: function (listSubscriptionsRequest) {
|
|
1386
1331
|
var options = {
|
|
@@ -1437,8 +1382,7 @@ var ParamCreater = function () {
|
|
|
1437
1382
|
/**
|
|
1438
1383
|
* 分页获取特定Topic的订阅列表,订阅列表按照订阅创建时间进行升序排列。分页查询可以指定offset以及limit。如果指定Topic不存在订阅者,返回空列表。
|
|
1439
1384
|
*
|
|
1440
|
-
*
|
|
1441
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
1385
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1442
1386
|
*/
|
|
1443
1387
|
listSubscriptionsByTopic: function (listSubscriptionsByTopicRequest) {
|
|
1444
1388
|
var options = {
|
|
@@ -1484,8 +1428,7 @@ var ParamCreater = function () {
|
|
|
1484
1428
|
/**
|
|
1485
1429
|
* 查询主题的策略信息。
|
|
1486
1430
|
*
|
|
1487
|
-
*
|
|
1488
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
1431
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1489
1432
|
*/
|
|
1490
1433
|
listTopicAttributes: function (listTopicAttributesRequest) {
|
|
1491
1434
|
var options = {
|
|
@@ -1528,8 +1471,7 @@ var ParamCreater = function () {
|
|
|
1528
1471
|
/**
|
|
1529
1472
|
* 查询Topic的详细信息。
|
|
1530
1473
|
*
|
|
1531
|
-
*
|
|
1532
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
1474
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1533
1475
|
*/
|
|
1534
1476
|
listTopicDetails: function (listTopicDetailsRequest) {
|
|
1535
1477
|
var options = {
|
|
@@ -1561,8 +1503,7 @@ var ParamCreater = function () {
|
|
|
1561
1503
|
/**
|
|
1562
1504
|
* 分页查询Topic列表,Topic列表按照Topic创建时间进行降序排列。分页查询可以指定offset以及limit。如果不存在Topic,则返回空列表。
|
|
1563
1505
|
*
|
|
1564
|
-
*
|
|
1565
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
1506
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1566
1507
|
*/
|
|
1567
1508
|
listTopics: function (listTopicsRequest) {
|
|
1568
1509
|
var options = {
|
|
@@ -1619,8 +1560,7 @@ var ParamCreater = function () {
|
|
|
1619
1560
|
/**
|
|
1620
1561
|
* 查询SMN API V2版本信息。
|
|
1621
1562
|
*
|
|
1622
|
-
*
|
|
1623
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
1563
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1624
1564
|
*/
|
|
1625
1565
|
listVersion: function (listVersionRequest) {
|
|
1626
1566
|
var options = {
|
|
@@ -1652,8 +1592,7 @@ var ParamCreater = function () {
|
|
|
1652
1592
|
/**
|
|
1653
1593
|
* 查询SMN开放API支持的版本号。
|
|
1654
1594
|
*
|
|
1655
|
-
*
|
|
1656
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
1595
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1657
1596
|
*/
|
|
1658
1597
|
listVersions: function () {
|
|
1659
1598
|
var options = {
|
|
@@ -1681,8 +1620,7 @@ var ParamCreater = function () {
|
|
|
1681
1620
|
* 只需要设置其中一个,如果同时设置,生效的优先级为
|
|
1682
1621
|
* message_structure > message_template_name > message。
|
|
1683
1622
|
*
|
|
1684
|
-
*
|
|
1685
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
1623
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1686
1624
|
*/
|
|
1687
1625
|
publishMessage: function (publishMessageRequest) {
|
|
1688
1626
|
var options = {
|
|
@@ -1719,8 +1657,7 @@ var ParamCreater = function () {
|
|
|
1719
1657
|
/**
|
|
1720
1658
|
* 修改消息模板的内容。
|
|
1721
1659
|
*
|
|
1722
|
-
*
|
|
1723
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
1660
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1724
1661
|
*/
|
|
1725
1662
|
updateMessageTemplate: function (updateMessageTemplateRequest) {
|
|
1726
1663
|
var options = {
|
|
@@ -1757,8 +1694,7 @@ var ParamCreater = function () {
|
|
|
1757
1694
|
/**
|
|
1758
1695
|
* 更新显示名。
|
|
1759
1696
|
*
|
|
1760
|
-
*
|
|
1761
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
1697
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1762
1698
|
*/
|
|
1763
1699
|
updateTopic: function (updateTopicRequest) {
|
|
1764
1700
|
var options = {
|
|
@@ -1798,8 +1734,7 @@ var ParamCreater = function () {
|
|
|
1798
1734
|
/**
|
|
1799
1735
|
* 更新主题的策略信息。
|
|
1800
1736
|
*
|
|
1801
|
-
*
|
|
1802
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
1737
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1803
1738
|
*/
|
|
1804
1739
|
updateTopicAttribute: function (updateTopicAttributeRequest) {
|
|
1805
1740
|
var options = {
|
|
@@ -1845,8 +1780,7 @@ var ParamCreater = function () {
|
|
|
1845
1780
|
/**
|
|
1846
1781
|
* 创建平台应用。
|
|
1847
1782
|
*
|
|
1848
|
-
*
|
|
1849
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
1783
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1850
1784
|
*/
|
|
1851
1785
|
createApplication: function (createApplicationRequest) {
|
|
1852
1786
|
var options = {
|
|
@@ -1876,8 +1810,7 @@ var ParamCreater = function () {
|
|
|
1876
1810
|
/**
|
|
1877
1811
|
* 删除平台应用。
|
|
1878
1812
|
*
|
|
1879
|
-
*
|
|
1880
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
1813
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1881
1814
|
*/
|
|
1882
1815
|
deleteApplication: function (deleteApplicationRequest) {
|
|
1883
1816
|
var options = {
|
|
@@ -1909,8 +1842,7 @@ var ParamCreater = function () {
|
|
|
1909
1842
|
/**
|
|
1910
1843
|
* 获取应用平台属性。
|
|
1911
1844
|
*
|
|
1912
|
-
*
|
|
1913
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
1845
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1914
1846
|
*/
|
|
1915
1847
|
listApplicationAttributes: function (listApplicationAttributesRequest) {
|
|
1916
1848
|
var options = {
|
|
@@ -1942,8 +1874,7 @@ var ParamCreater = function () {
|
|
|
1942
1874
|
/**
|
|
1943
1875
|
* 查询应用平台列表。
|
|
1944
1876
|
*
|
|
1945
|
-
*
|
|
1946
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
1877
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1947
1878
|
*/
|
|
1948
1879
|
listApplications: function (listApplicationsRequest) {
|
|
1949
1880
|
var options = {
|
|
@@ -1994,8 +1925,7 @@ var ParamCreater = function () {
|
|
|
1994
1925
|
/**
|
|
1995
1926
|
* 将消息直发给endpoint设备。
|
|
1996
1927
|
*
|
|
1997
|
-
*
|
|
1998
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
1928
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1999
1929
|
*/
|
|
2000
1930
|
publishAppMessage: function (publishAppMessageRequest) {
|
|
2001
1931
|
var options = {
|
|
@@ -2032,8 +1962,7 @@ var ParamCreater = function () {
|
|
|
2032
1962
|
/**
|
|
2033
1963
|
* 更新应用平台。
|
|
2034
1964
|
*
|
|
2035
|
-
*
|
|
2036
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
1965
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2037
1966
|
*/
|
|
2038
1967
|
updateApplication: function (updateApplicationRequest) {
|
|
2039
1968
|
var options = {
|
|
@@ -2070,8 +1999,7 @@ var ParamCreater = function () {
|
|
|
2070
1999
|
/**
|
|
2071
2000
|
* 创建应用平台的endpoint终端。
|
|
2072
2001
|
*
|
|
2073
|
-
*
|
|
2074
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
2002
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2075
2003
|
*/
|
|
2076
2004
|
createApplicationEndpoint: function (createApplicationEndpointRequest) {
|
|
2077
2005
|
var options = {
|
|
@@ -2108,8 +2036,7 @@ var ParamCreater = function () {
|
|
|
2108
2036
|
/**
|
|
2109
2037
|
* 删除设备。
|
|
2110
2038
|
*
|
|
2111
|
-
*
|
|
2112
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
2039
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2113
2040
|
*/
|
|
2114
2041
|
deleteApplicationEndpoint: function (deleteApplicationEndpointRequest) {
|
|
2115
2042
|
var options = {
|
|
@@ -2141,8 +2068,7 @@ var ParamCreater = function () {
|
|
|
2141
2068
|
/**
|
|
2142
2069
|
* 获取endpoint的属性。
|
|
2143
2070
|
*
|
|
2144
|
-
*
|
|
2145
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
2071
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2146
2072
|
*/
|
|
2147
2073
|
listApplicationEndpointAttributes: function (listApplicationEndpointAttributesRequest) {
|
|
2148
2074
|
var options = {
|
|
@@ -2174,8 +2100,7 @@ var ParamCreater = function () {
|
|
|
2174
2100
|
/**
|
|
2175
2101
|
* 查询平台的endpoint列表。
|
|
2176
2102
|
*
|
|
2177
|
-
*
|
|
2178
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
2103
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2179
2104
|
*/
|
|
2180
2105
|
listApplicationEndpoints: function (listApplicationEndpointsRequest) {
|
|
2181
2106
|
var options = {
|
|
@@ -2239,8 +2164,7 @@ var ParamCreater = function () {
|
|
|
2239
2164
|
/**
|
|
2240
2165
|
* 更新设备属性。
|
|
2241
2166
|
*
|
|
2242
|
-
*
|
|
2243
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
2167
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2244
2168
|
*/
|
|
2245
2169
|
updateApplicationEndpoint: function (updateApplicationEndpointRequest) {
|
|
2246
2170
|
var options = {
|