@huaweicloud/huaweicloud-sdk-smn 3.1.11 → 3.1.13
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.d.ts
CHANGED
|
@@ -80,8 +80,7 @@ export declare class SmnClient {
|
|
|
80
80
|
/**
|
|
81
81
|
* 为指定Topic添加一个订阅者,如果订阅者的状态为未确认,则向订阅者发送一个确认的消息。待订阅者进行ConfirmSubscription确认后,该订阅者才能收到Topic发布的消息。单Topic默认可添加10000个订阅者,高并发场景下,可能会出现订阅者数量超过10000仍添加成功的情况,此为正常现象。接口是幂等的,如果添加已存在的订阅者,则返回成功,且status code为200,否则status code为201。
|
|
82
82
|
*
|
|
83
|
-
*
|
|
84
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
83
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
85
84
|
*
|
|
86
85
|
* @summary 订阅
|
|
87
86
|
* @param {string} topicUrn Topic的唯一的资源标识,可通过[查询主题列表](https://support.huaweicloud.com/api-smn/smn_api_51004.html)获取该标识。
|
|
@@ -96,8 +95,7 @@ export declare class SmnClient {
|
|
|
96
95
|
* 创建时,不允许重复key,如果数据库存在就覆盖。
|
|
97
96
|
* 删除时,如果删除的标签不存在,默认处理成功,删除时不对标签字符集范围做校验。
|
|
98
97
|
*
|
|
99
|
-
*
|
|
100
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
98
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
101
99
|
*
|
|
102
100
|
* @summary 批量添加删除资源标签
|
|
103
101
|
* @param {string} resourceType 资源类型,目前有: smn_topic,主题 smn_sms,短信 smn_application,移动推送
|
|
@@ -110,8 +108,7 @@ export declare class SmnClient {
|
|
|
110
108
|
/**
|
|
111
109
|
* 删除指定的订阅者。
|
|
112
110
|
*
|
|
113
|
-
*
|
|
114
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
111
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
115
112
|
*
|
|
116
113
|
* @summary 取消订阅
|
|
117
114
|
* @param {string} subscriptionUrn 订阅者的唯一的资源标识,可通过[查询订阅者列表](https://support.huaweicloud.com/api-smn/ListSubscriptions.html)获取该标识。
|
|
@@ -123,8 +120,7 @@ export declare class SmnClient {
|
|
|
123
120
|
* 创建一个模板,用户可以按照模板去发送消息,这样可以减少请求的数据量。
|
|
124
121
|
* 单用户默认可创建100个消息模板,高并发场景下,可能会出现消息模板数量超过100仍创建成功的情况,此为正常现象。
|
|
125
122
|
*
|
|
126
|
-
*
|
|
127
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
123
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
128
124
|
*
|
|
129
125
|
* @summary 创建消息模板
|
|
130
126
|
* @param {CreateMessageTemplateRequestBody} [createMessageTemplateRequestBody]
|
|
@@ -135,8 +131,7 @@ export declare class SmnClient {
|
|
|
135
131
|
/**
|
|
136
132
|
* 一个资源上最多有10个标签。此接口为幂等接口:创建时,如果创建的标签已经存在(key相同),则覆盖。
|
|
137
133
|
*
|
|
138
|
-
*
|
|
139
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
134
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
140
135
|
*
|
|
141
136
|
* @summary 添加资源标签
|
|
142
137
|
* @param {string} resourceType 资源类型,目前有: smn_topic,主题 smn_sms,短信 smn_application,移动推送
|
|
@@ -150,8 +145,7 @@ export declare class SmnClient {
|
|
|
150
145
|
* 创建Topic,单用户默认配额为3000。高并发场景下,可能会出现Topic数量超过3000仍创建成功的情况,此为正常现象。
|
|
151
146
|
* 接口是幂等的,接口调用返回成功时,若已存在同名的Topic,返回的status code为200,否则返回的status code为201
|
|
152
147
|
*
|
|
153
|
-
*
|
|
154
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
148
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
155
149
|
*
|
|
156
150
|
* @summary 创建主题
|
|
157
151
|
* @param {CreateTopicRequestBody} createTopicRequestBody This is a auto create Body Object
|
|
@@ -162,8 +156,7 @@ export declare class SmnClient {
|
|
|
162
156
|
/**
|
|
163
157
|
* 删除消息模板。删除模板之前的消息请求都可以使用该模板发送,删除之后无法再使用该模板发送消息。
|
|
164
158
|
*
|
|
165
|
-
*
|
|
166
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
159
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
167
160
|
*
|
|
168
161
|
* @summary 删除消息模板
|
|
169
162
|
* @param {string} messageTemplateId 模板唯一的资源标识,可通过查询[消息模板列表](https://support.huaweicloud.com/api-smn/ListMessageTemplates.html)获取该标识。
|
|
@@ -174,8 +167,7 @@ export declare class SmnClient {
|
|
|
174
167
|
/**
|
|
175
168
|
* 幂等接口:删除时,不对标签做校验。删除的key不存在报404,key不能为空或者空字符串。
|
|
176
169
|
*
|
|
177
|
-
*
|
|
178
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
170
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
179
171
|
*
|
|
180
172
|
* @summary 删除资源标签
|
|
181
173
|
* @param {string} resourceType 资源类型,目前有: smn_topic,主题。 smn_sms,短信。 smn_application,移动推送。
|
|
@@ -188,8 +180,7 @@ export declare class SmnClient {
|
|
|
188
180
|
/**
|
|
189
181
|
* 删除主题。
|
|
190
182
|
*
|
|
191
|
-
*
|
|
192
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
183
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
193
184
|
*
|
|
194
185
|
* @summary 删除主题
|
|
195
186
|
* @param {string} topicUrn Topic的唯一的资源标识,可通过[查询主题列表](https://support.huaweicloud.com/api-smn/smn_api_51004.html)获取该标识。
|
|
@@ -200,8 +191,7 @@ export declare class SmnClient {
|
|
|
200
191
|
/**
|
|
201
192
|
* 删除指定名称的主题策略。
|
|
202
193
|
*
|
|
203
|
-
*
|
|
204
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
194
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
205
195
|
*
|
|
206
196
|
* @summary 删除指定名称的主题策略
|
|
207
197
|
* @param {string} topicUrn Topic的唯一的资源标识,可通过[查询主题列表](https://support.huaweicloud.com/api-smn/smn_api_51004.html)获取该标识。
|
|
@@ -213,8 +203,7 @@ export declare class SmnClient {
|
|
|
213
203
|
/**
|
|
214
204
|
* 删除所有主题策略。
|
|
215
205
|
*
|
|
216
|
-
*
|
|
217
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
206
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
218
207
|
*
|
|
219
208
|
* @summary 删除所有主题策略
|
|
220
209
|
* @param {string} topicUrn Topic的唯一的资源标识,可通过[查询主题列表](https://support.huaweicloud.com/api-smn/smn_api_51004.html)获取该标识。
|
|
@@ -225,8 +214,7 @@ export declare class SmnClient {
|
|
|
225
214
|
/**
|
|
226
215
|
* 查询模板详情,包括模板内容。
|
|
227
216
|
*
|
|
228
|
-
*
|
|
229
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
217
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
230
218
|
*
|
|
231
219
|
* @summary 查询消息模板详情
|
|
232
220
|
* @param {string} messageTemplateId 模板唯一的资源标识,可通过查询[消息模板列表](https://support.huaweicloud.com/api-smn/ListMessageTemplates.html)获取该标识。
|
|
@@ -237,8 +225,7 @@ export declare class SmnClient {
|
|
|
237
225
|
/**
|
|
238
226
|
* 分页查询模板列表,模板列表按照创建时间进行升序排列。分页查询可以指定offset以及limit。如果不存在模板,则返回空列表。额外的查询参数分别有message_template_name和protocol。
|
|
239
227
|
*
|
|
240
|
-
*
|
|
241
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
228
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
242
229
|
*
|
|
243
230
|
* @summary 查询消息模板列表
|
|
244
231
|
* @param {number} [offset] 偏移量,偏移量为一个大于0小于资源总个数的整数,表示查询该偏移量后面的所有的资源,默认值为0。
|
|
@@ -252,8 +239,7 @@ export declare class SmnClient {
|
|
|
252
239
|
/**
|
|
253
240
|
* 查询租户在指定Region和实例类型的所有标签集合。
|
|
254
241
|
*
|
|
255
|
-
*
|
|
256
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
242
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
257
243
|
*
|
|
258
244
|
* @summary 查询项目标签
|
|
259
245
|
* @param {string} resourceType 资源类型 目前有: smn_topic,主题 smn_sms,短信 smn_application,移动推送
|
|
@@ -264,8 +250,7 @@ export declare class SmnClient {
|
|
|
264
250
|
/**
|
|
265
251
|
* 使用标签过滤实例。
|
|
266
252
|
*
|
|
267
|
-
*
|
|
268
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
253
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
269
254
|
*
|
|
270
255
|
* @summary 查询资源实例
|
|
271
256
|
* @param {string} resourceType 资源类型,目前有: smn_topic,主题 smn_sms,短信 smn_application,移动推送
|
|
@@ -277,8 +262,7 @@ export declare class SmnClient {
|
|
|
277
262
|
/**
|
|
278
263
|
* 查询指定实例的标签信息。
|
|
279
264
|
*
|
|
280
|
-
*
|
|
281
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
265
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
282
266
|
*
|
|
283
267
|
* @summary 查询资源标签
|
|
284
268
|
* @param {string} resourceType 资源类型 目前有: smn_topic,主题 smn_sms,短信 smn_application,移动推送
|
|
@@ -290,8 +274,7 @@ export declare class SmnClient {
|
|
|
290
274
|
/**
|
|
291
275
|
* 分页返回请求者的所有的订阅列表,订阅列表按照订阅创建时间进行升序排列。分页查询可以指定offset以及limit。如果订阅者不存在,返回空列表。
|
|
292
276
|
*
|
|
293
|
-
*
|
|
294
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
277
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
295
278
|
*
|
|
296
279
|
* @summary 查询订阅者列表
|
|
297
280
|
* @param {number} [offset] 偏移量。 偏移量为一个大于0小于资源总个数的整数,表示查询该偏移量后面的所有的资源,默认值为0。
|
|
@@ -306,8 +289,7 @@ export declare class SmnClient {
|
|
|
306
289
|
/**
|
|
307
290
|
* 分页获取特定Topic的订阅列表,订阅列表按照订阅创建时间进行升序排列。分页查询可以指定offset以及limit。如果指定Topic不存在订阅者,返回空列表。
|
|
308
291
|
*
|
|
309
|
-
*
|
|
310
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
292
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
311
293
|
*
|
|
312
294
|
* @summary 查询指定Topic的订阅者列表
|
|
313
295
|
* @param {string} topicUrn Topic的唯一的资源标识,可通过[查询主题列表](https://support.huaweicloud.com/api-smn/smn_api_51004.html)获取该标识。
|
|
@@ -320,8 +302,7 @@ export declare class SmnClient {
|
|
|
320
302
|
/**
|
|
321
303
|
* 查询主题的策略信息。
|
|
322
304
|
*
|
|
323
|
-
*
|
|
324
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
305
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
325
306
|
*
|
|
326
307
|
* @summary 查询主题策略
|
|
327
308
|
* @param {string} topicUrn Topic的唯一的资源标识,可通过[查询主题列表](https://support.huaweicloud.com/api-smn/smn_api_51004.html)获取该标识。
|
|
@@ -333,8 +314,7 @@ export declare class SmnClient {
|
|
|
333
314
|
/**
|
|
334
315
|
* 查询Topic的详细信息。
|
|
335
316
|
*
|
|
336
|
-
*
|
|
337
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
317
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
338
318
|
*
|
|
339
319
|
* @summary 查询主题详情
|
|
340
320
|
* @param {string} topicUrn Topic的唯一的资源标识,可通过[查询主题列表](https://support.huaweicloud.com/api-smn/smn_api_51004.html)获取该标识。
|
|
@@ -345,8 +325,7 @@ export declare class SmnClient {
|
|
|
345
325
|
/**
|
|
346
326
|
* 分页查询Topic列表,Topic列表按照Topic创建时间进行降序排列。分页查询可以指定offset以及limit。如果不存在Topic,则返回空列表。
|
|
347
327
|
*
|
|
348
|
-
*
|
|
349
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
328
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
350
329
|
*
|
|
351
330
|
* @summary 查询主题列表
|
|
352
331
|
* @param {number} [offset] 偏移量。 偏移量为一个大于0小于资源总个数的整数,表示查询该偏移量后面的所有的资源,默认值为0。
|
|
@@ -361,8 +340,7 @@ export declare class SmnClient {
|
|
|
361
340
|
/**
|
|
362
341
|
* 查询SMN API V2版本信息。
|
|
363
342
|
*
|
|
364
|
-
*
|
|
365
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
343
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
366
344
|
*
|
|
367
345
|
* @summary 查询SMN API V2版本信息
|
|
368
346
|
* @param {string} apiVersion 待查询版本号。当前仅支持v2。
|
|
@@ -373,8 +351,7 @@ export declare class SmnClient {
|
|
|
373
351
|
/**
|
|
374
352
|
* 查询SMN开放API支持的版本号。
|
|
375
353
|
*
|
|
376
|
-
*
|
|
377
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
354
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
378
355
|
*
|
|
379
356
|
* @summary 查询SMN支持的API版本号信息
|
|
380
357
|
* @param {*} [options] Override http request option.
|
|
@@ -393,8 +370,7 @@ export declare class SmnClient {
|
|
|
393
370
|
* 只需要设置其中一个,如果同时设置,生效的优先级为
|
|
394
371
|
* message_structure > message_template_name > message。
|
|
395
372
|
*
|
|
396
|
-
*
|
|
397
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
373
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
398
374
|
*
|
|
399
375
|
* @summary 消息发布
|
|
400
376
|
* @param {string} topicUrn Topic的唯一的资源标识,可通过[查询主题列表](https://support.huaweicloud.com/api-smn/smn_api_51004.html)获取该标识。
|
|
@@ -406,8 +382,7 @@ export declare class SmnClient {
|
|
|
406
382
|
/**
|
|
407
383
|
* 修改消息模板的内容。
|
|
408
384
|
*
|
|
409
|
-
*
|
|
410
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
385
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
411
386
|
*
|
|
412
387
|
* @summary 更新消息模板
|
|
413
388
|
* @param {string} messageTemplateId 模板唯一的资源标识,可通过查询[消息模板列表](https://support.huaweicloud.com/api-smn/ListMessageTemplates.html)获取该标识。
|
|
@@ -419,8 +394,7 @@ export declare class SmnClient {
|
|
|
419
394
|
/**
|
|
420
395
|
* 更新显示名。
|
|
421
396
|
*
|
|
422
|
-
*
|
|
423
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
397
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
424
398
|
*
|
|
425
399
|
* @summary 更新主题
|
|
426
400
|
* @param {string} topicUrn Topic的唯一的资源标识。可以通过[查看主题列表](https://support.huaweicloud.com/api-smn/smn_api_51004.html)获取该标识。
|
|
@@ -432,8 +406,7 @@ export declare class SmnClient {
|
|
|
432
406
|
/**
|
|
433
407
|
* 更新主题的策略信息。
|
|
434
408
|
*
|
|
435
|
-
*
|
|
436
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
409
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
437
410
|
*
|
|
438
411
|
* @summary 更新主题策略
|
|
439
412
|
* @param {string} topicUrn Topic的唯一的资源标识,可通过[查询主题列表](https://support.huaweicloud.com/api-smn/smn_api_51004.html)获取该标识。
|
|
@@ -446,8 +419,7 @@ export declare class SmnClient {
|
|
|
446
419
|
/**
|
|
447
420
|
* 创建平台应用。
|
|
448
421
|
*
|
|
449
|
-
*
|
|
450
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
422
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
451
423
|
*
|
|
452
424
|
* @summary 创建Application
|
|
453
425
|
* @param {CreateApplicationRequestBody} [createApplicationRequestBody]
|
|
@@ -458,8 +430,7 @@ export declare class SmnClient {
|
|
|
458
430
|
/**
|
|
459
431
|
* 删除平台应用。
|
|
460
432
|
*
|
|
461
|
-
*
|
|
462
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
433
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
463
434
|
*
|
|
464
435
|
* @summary 删除Application
|
|
465
436
|
* @param {string} applicationUrn Application的唯一资源标识,可通过[查询Application](https://support.huaweicloud.com/api-smn/ListApplications.html)获取该标识。
|
|
@@ -470,8 +441,7 @@ export declare class SmnClient {
|
|
|
470
441
|
/**
|
|
471
442
|
* 获取应用平台属性。
|
|
472
443
|
*
|
|
473
|
-
*
|
|
474
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
444
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
475
445
|
*
|
|
476
446
|
* @summary 查询Application属性
|
|
477
447
|
* @param {string} applicationUrn Application的唯一资源标识,可通过[查询Application](https://support.huaweicloud.com/api-smn/ListApplications.html)获取该标识。
|
|
@@ -482,8 +452,7 @@ export declare class SmnClient {
|
|
|
482
452
|
/**
|
|
483
453
|
* 查询应用平台列表。
|
|
484
454
|
*
|
|
485
|
-
*
|
|
486
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
455
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
487
456
|
*
|
|
488
457
|
* @summary 查询Application
|
|
489
458
|
* @param {number} [offset] 偏移量。 偏移量为一个大于0小于资源总个数的整数,表示查询该偏移量后面的所有的资源,默认值为0。
|
|
@@ -497,8 +466,7 @@ export declare class SmnClient {
|
|
|
497
466
|
/**
|
|
498
467
|
* 将消息直发给endpoint设备。
|
|
499
468
|
*
|
|
500
|
-
*
|
|
501
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
469
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
502
470
|
*
|
|
503
471
|
* @summary App消息发布
|
|
504
472
|
* @param {string} endpointUrn Endpoint的唯一资源标识,可通过[查询Application的Endpoint列表](https://support.huaweicloud.com/api-smn/ListApplicationEndpoints.html)获取该标识
|
|
@@ -510,8 +478,7 @@ export declare class SmnClient {
|
|
|
510
478
|
/**
|
|
511
479
|
* 更新应用平台。
|
|
512
480
|
*
|
|
513
|
-
*
|
|
514
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
481
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
515
482
|
*
|
|
516
483
|
* @summary 更新Application
|
|
517
484
|
* @param {string} applicationUrn Application的唯一资源标识,可通过[查询Application](https://support.huaweicloud.com/api-smn/ListApplications.html)获取该标识。
|
|
@@ -523,8 +490,7 @@ export declare class SmnClient {
|
|
|
523
490
|
/**
|
|
524
491
|
* 创建应用平台的endpoint终端。
|
|
525
492
|
*
|
|
526
|
-
*
|
|
527
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
493
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
528
494
|
*
|
|
529
495
|
* @summary 创建Application endpoint
|
|
530
496
|
* @param {string} applicationUrn Application的唯一资源标识,可通过[查询Application](https://support.huaweicloud.com/api-smn/ListApplications.html)获取该标识。
|
|
@@ -536,8 +502,7 @@ export declare class SmnClient {
|
|
|
536
502
|
/**
|
|
537
503
|
* 删除设备。
|
|
538
504
|
*
|
|
539
|
-
*
|
|
540
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
505
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
541
506
|
*
|
|
542
507
|
* @summary 删除Application endpoint
|
|
543
508
|
* @param {string} endpointUrn Endpoint的唯一资源标识,可通过[查询Application的Endpoint列表](https://support.huaweicloud.com/api-smn/ListApplicationEndpoints.html)获取该标识。
|
|
@@ -548,8 +513,7 @@ export declare class SmnClient {
|
|
|
548
513
|
/**
|
|
549
514
|
* 获取endpoint的属性。
|
|
550
515
|
*
|
|
551
|
-
*
|
|
552
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
516
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
553
517
|
*
|
|
554
518
|
* @summary 查询Application的Endpoint属性
|
|
555
519
|
* @param {string} endpointUrn Endpoint的唯一资源标识,可通过[查询Application的Endpoint列表](https://support.huaweicloud.com/api-smn/ListApplicationEndpoints.html)获取该标识。
|
|
@@ -560,8 +524,7 @@ export declare class SmnClient {
|
|
|
560
524
|
/**
|
|
561
525
|
* 查询平台的endpoint列表。
|
|
562
526
|
*
|
|
563
|
-
*
|
|
564
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
527
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
565
528
|
*
|
|
566
529
|
* @summary 查询Application的Endpoint列表
|
|
567
530
|
* @param {string} applicationUrn Application的唯一资源标识,可通过[查询Application](https://support.huaweicloud.com/api-smn/ListApplications.html)获取该标识。
|
|
@@ -577,8 +540,7 @@ export declare class SmnClient {
|
|
|
577
540
|
/**
|
|
578
541
|
* 更新设备属性。
|
|
579
542
|
*
|
|
580
|
-
*
|
|
581
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
543
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
582
544
|
*
|
|
583
545
|
* @summary 更新Application endpoint
|
|
584
546
|
* @param {string} endpointUrn Endpoint的唯一资源标识,可通过[查询Application的Endpoint列表](https://support.huaweicloud.com/api-smn/ListApplicationEndpoints.html)获取该标识。
|
|
@@ -592,8 +554,7 @@ export declare const ParamCreater: () => {
|
|
|
592
554
|
/**
|
|
593
555
|
* 为指定Topic添加一个订阅者,如果订阅者的状态为未确认,则向订阅者发送一个确认的消息。待订阅者进行ConfirmSubscription确认后,该订阅者才能收到Topic发布的消息。单Topic默认可添加10000个订阅者,高并发场景下,可能会出现订阅者数量超过10000仍添加成功的情况,此为正常现象。接口是幂等的,如果添加已存在的订阅者,则返回成功,且status code为200,否则status code为201。
|
|
594
556
|
*
|
|
595
|
-
*
|
|
596
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
557
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
597
558
|
*/
|
|
598
559
|
addSubscription(addSubscriptionRequest?: AddSubscriptionRequest): {
|
|
599
560
|
method: string;
|
|
@@ -610,8 +571,7 @@ export declare const ParamCreater: () => {
|
|
|
610
571
|
* 创建时,不允许重复key,如果数据库存在就覆盖。
|
|
611
572
|
* 删除时,如果删除的标签不存在,默认处理成功,删除时不对标签字符集范围做校验。
|
|
612
573
|
*
|
|
613
|
-
*
|
|
614
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
574
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
615
575
|
*/
|
|
616
576
|
batchCreateOrDeleteResourceTags(batchCreateOrDeleteResourceTagsRequest?: BatchCreateOrDeleteResourceTagsRequest): {
|
|
617
577
|
method: string;
|
|
@@ -625,8 +585,7 @@ export declare const ParamCreater: () => {
|
|
|
625
585
|
/**
|
|
626
586
|
* 删除指定的订阅者。
|
|
627
587
|
*
|
|
628
|
-
*
|
|
629
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
588
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
630
589
|
*/
|
|
631
590
|
cancelSubscription(cancelSubscriptionRequest?: CancelSubscriptionRequest): {
|
|
632
591
|
method: string;
|
|
@@ -641,8 +600,7 @@ export declare const ParamCreater: () => {
|
|
|
641
600
|
* 创建一个模板,用户可以按照模板去发送消息,这样可以减少请求的数据量。
|
|
642
601
|
* 单用户默认可创建100个消息模板,高并发场景下,可能会出现消息模板数量超过100仍创建成功的情况,此为正常现象。
|
|
643
602
|
*
|
|
644
|
-
*
|
|
645
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
603
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
646
604
|
*/
|
|
647
605
|
createMessageTemplate(createMessageTemplateRequest?: CreateMessageTemplateRequest): {
|
|
648
606
|
method: string;
|
|
@@ -656,8 +614,7 @@ export declare const ParamCreater: () => {
|
|
|
656
614
|
/**
|
|
657
615
|
* 一个资源上最多有10个标签。此接口为幂等接口:创建时,如果创建的标签已经存在(key相同),则覆盖。
|
|
658
616
|
*
|
|
659
|
-
*
|
|
660
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
617
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
661
618
|
*/
|
|
662
619
|
createResourceTag(createResourceTagRequest?: CreateResourceTagRequest): {
|
|
663
620
|
method: string;
|
|
@@ -672,8 +629,7 @@ export declare const ParamCreater: () => {
|
|
|
672
629
|
* 创建Topic,单用户默认配额为3000。高并发场景下,可能会出现Topic数量超过3000仍创建成功的情况,此为正常现象。
|
|
673
630
|
* 接口是幂等的,接口调用返回成功时,若已存在同名的Topic,返回的status code为200,否则返回的status code为201
|
|
674
631
|
*
|
|
675
|
-
*
|
|
676
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
632
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
677
633
|
*/
|
|
678
634
|
createTopic(createTopicRequest?: CreateTopicRequest): {
|
|
679
635
|
method: string;
|
|
@@ -687,8 +643,7 @@ export declare const ParamCreater: () => {
|
|
|
687
643
|
/**
|
|
688
644
|
* 删除消息模板。删除模板之前的消息请求都可以使用该模板发送,删除之后无法再使用该模板发送消息。
|
|
689
645
|
*
|
|
690
|
-
*
|
|
691
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
646
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
692
647
|
*/
|
|
693
648
|
deleteMessageTemplate(deleteMessageTemplateRequest?: DeleteMessageTemplateRequest): {
|
|
694
649
|
method: string;
|
|
@@ -702,8 +657,7 @@ export declare const ParamCreater: () => {
|
|
|
702
657
|
/**
|
|
703
658
|
* 幂等接口:删除时,不对标签做校验。删除的key不存在报404,key不能为空或者空字符串。
|
|
704
659
|
*
|
|
705
|
-
*
|
|
706
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
660
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
707
661
|
*/
|
|
708
662
|
deleteResourceTag(deleteResourceTagRequest?: DeleteResourceTagRequest): {
|
|
709
663
|
method: string;
|
|
@@ -717,8 +671,7 @@ export declare const ParamCreater: () => {
|
|
|
717
671
|
/**
|
|
718
672
|
* 删除主题。
|
|
719
673
|
*
|
|
720
|
-
*
|
|
721
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
674
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
722
675
|
*/
|
|
723
676
|
deleteTopic(deleteTopicRequest?: DeleteTopicRequest): {
|
|
724
677
|
method: string;
|
|
@@ -732,8 +685,7 @@ export declare const ParamCreater: () => {
|
|
|
732
685
|
/**
|
|
733
686
|
* 删除指定名称的主题策略。
|
|
734
687
|
*
|
|
735
|
-
*
|
|
736
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
688
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
737
689
|
*/
|
|
738
690
|
deleteTopicAttributeByName(deleteTopicAttributeByNameRequest?: DeleteTopicAttributeByNameRequest): {
|
|
739
691
|
method: string;
|
|
@@ -747,8 +699,7 @@ export declare const ParamCreater: () => {
|
|
|
747
699
|
/**
|
|
748
700
|
* 删除所有主题策略。
|
|
749
701
|
*
|
|
750
|
-
*
|
|
751
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
702
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
752
703
|
*/
|
|
753
704
|
deleteTopicAttributes(deleteTopicAttributesRequest?: DeleteTopicAttributesRequest): {
|
|
754
705
|
method: string;
|
|
@@ -762,8 +713,7 @@ export declare const ParamCreater: () => {
|
|
|
762
713
|
/**
|
|
763
714
|
* 查询模板详情,包括模板内容。
|
|
764
715
|
*
|
|
765
|
-
*
|
|
766
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
716
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
767
717
|
*/
|
|
768
718
|
listMessageTemplateDetails(listMessageTemplateDetailsRequest?: ListMessageTemplateDetailsRequest): {
|
|
769
719
|
method: string;
|
|
@@ -777,8 +727,7 @@ export declare const ParamCreater: () => {
|
|
|
777
727
|
/**
|
|
778
728
|
* 分页查询模板列表,模板列表按照创建时间进行升序排列。分页查询可以指定offset以及limit。如果不存在模板,则返回空列表。额外的查询参数分别有message_template_name和protocol。
|
|
779
729
|
*
|
|
780
|
-
*
|
|
781
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
730
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
782
731
|
*/
|
|
783
732
|
listMessageTemplates(listMessageTemplatesRequest?: ListMessageTemplatesRequest): {
|
|
784
733
|
method: string;
|
|
@@ -792,8 +741,7 @@ export declare const ParamCreater: () => {
|
|
|
792
741
|
/**
|
|
793
742
|
* 查询租户在指定Region和实例类型的所有标签集合。
|
|
794
743
|
*
|
|
795
|
-
*
|
|
796
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
744
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
797
745
|
*/
|
|
798
746
|
listProjectTags(listProjectTagsRequest?: ListProjectTagsRequest): {
|
|
799
747
|
method: string;
|
|
@@ -807,8 +755,7 @@ export declare const ParamCreater: () => {
|
|
|
807
755
|
/**
|
|
808
756
|
* 使用标签过滤实例。
|
|
809
757
|
*
|
|
810
|
-
*
|
|
811
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
758
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
812
759
|
*/
|
|
813
760
|
listResourceInstances(listResourceInstancesRequest?: ListResourceInstancesRequest): {
|
|
814
761
|
method: string;
|
|
@@ -822,8 +769,7 @@ export declare const ParamCreater: () => {
|
|
|
822
769
|
/**
|
|
823
770
|
* 查询指定实例的标签信息。
|
|
824
771
|
*
|
|
825
|
-
*
|
|
826
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
772
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
827
773
|
*/
|
|
828
774
|
listResourceTags(listResourceTagsRequest?: ListResourceTagsRequest): {
|
|
829
775
|
method: string;
|
|
@@ -837,8 +783,7 @@ export declare const ParamCreater: () => {
|
|
|
837
783
|
/**
|
|
838
784
|
* 分页返回请求者的所有的订阅列表,订阅列表按照订阅创建时间进行升序排列。分页查询可以指定offset以及limit。如果订阅者不存在,返回空列表。
|
|
839
785
|
*
|
|
840
|
-
*
|
|
841
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
786
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
842
787
|
*/
|
|
843
788
|
listSubscriptions(listSubscriptionsRequest?: ListSubscriptionsRequest): {
|
|
844
789
|
method: string;
|
|
@@ -852,8 +797,7 @@ export declare const ParamCreater: () => {
|
|
|
852
797
|
/**
|
|
853
798
|
* 分页获取特定Topic的订阅列表,订阅列表按照订阅创建时间进行升序排列。分页查询可以指定offset以及limit。如果指定Topic不存在订阅者,返回空列表。
|
|
854
799
|
*
|
|
855
|
-
*
|
|
856
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
800
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
857
801
|
*/
|
|
858
802
|
listSubscriptionsByTopic(listSubscriptionsByTopicRequest?: ListSubscriptionsByTopicRequest): {
|
|
859
803
|
method: string;
|
|
@@ -867,8 +811,7 @@ export declare const ParamCreater: () => {
|
|
|
867
811
|
/**
|
|
868
812
|
* 查询主题的策略信息。
|
|
869
813
|
*
|
|
870
|
-
*
|
|
871
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
814
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
872
815
|
*/
|
|
873
816
|
listTopicAttributes(listTopicAttributesRequest?: ListTopicAttributesRequest): {
|
|
874
817
|
method: string;
|
|
@@ -882,8 +825,7 @@ export declare const ParamCreater: () => {
|
|
|
882
825
|
/**
|
|
883
826
|
* 查询Topic的详细信息。
|
|
884
827
|
*
|
|
885
|
-
*
|
|
886
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
828
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
887
829
|
*/
|
|
888
830
|
listTopicDetails(listTopicDetailsRequest?: ListTopicDetailsRequest): {
|
|
889
831
|
method: string;
|
|
@@ -897,8 +839,7 @@ export declare const ParamCreater: () => {
|
|
|
897
839
|
/**
|
|
898
840
|
* 分页查询Topic列表,Topic列表按照Topic创建时间进行降序排列。分页查询可以指定offset以及limit。如果不存在Topic,则返回空列表。
|
|
899
841
|
*
|
|
900
|
-
*
|
|
901
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
842
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
902
843
|
*/
|
|
903
844
|
listTopics(listTopicsRequest?: ListTopicsRequest): {
|
|
904
845
|
method: string;
|
|
@@ -912,8 +853,7 @@ export declare const ParamCreater: () => {
|
|
|
912
853
|
/**
|
|
913
854
|
* 查询SMN API V2版本信息。
|
|
914
855
|
*
|
|
915
|
-
*
|
|
916
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
856
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
917
857
|
*/
|
|
918
858
|
listVersion(listVersionRequest?: ListVersionRequest): {
|
|
919
859
|
method: string;
|
|
@@ -927,8 +867,7 @@ export declare const ParamCreater: () => {
|
|
|
927
867
|
/**
|
|
928
868
|
* 查询SMN开放API支持的版本号。
|
|
929
869
|
*
|
|
930
|
-
*
|
|
931
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
870
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
932
871
|
*/
|
|
933
872
|
listVersions(): {
|
|
934
873
|
method: string;
|
|
@@ -951,8 +890,7 @@ export declare const ParamCreater: () => {
|
|
|
951
890
|
* 只需要设置其中一个,如果同时设置,生效的优先级为
|
|
952
891
|
* message_structure > message_template_name > message。
|
|
953
892
|
*
|
|
954
|
-
*
|
|
955
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
893
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
956
894
|
*/
|
|
957
895
|
publishMessage(publishMessageRequest?: PublishMessageRequest): {
|
|
958
896
|
method: string;
|
|
@@ -966,8 +904,7 @@ export declare const ParamCreater: () => {
|
|
|
966
904
|
/**
|
|
967
905
|
* 修改消息模板的内容。
|
|
968
906
|
*
|
|
969
|
-
*
|
|
970
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
907
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
971
908
|
*/
|
|
972
909
|
updateMessageTemplate(updateMessageTemplateRequest?: UpdateMessageTemplateRequest): {
|
|
973
910
|
method: string;
|
|
@@ -981,8 +918,7 @@ export declare const ParamCreater: () => {
|
|
|
981
918
|
/**
|
|
982
919
|
* 更新显示名。
|
|
983
920
|
*
|
|
984
|
-
*
|
|
985
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
921
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
986
922
|
*/
|
|
987
923
|
updateTopic(updateTopicRequest?: UpdateTopicRequest): {
|
|
988
924
|
method: string;
|
|
@@ -996,8 +932,7 @@ export declare const ParamCreater: () => {
|
|
|
996
932
|
/**
|
|
997
933
|
* 更新主题的策略信息。
|
|
998
934
|
*
|
|
999
|
-
*
|
|
1000
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
935
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1001
936
|
*/
|
|
1002
937
|
updateTopicAttribute(updateTopicAttributeRequest?: UpdateTopicAttributeRequest): {
|
|
1003
938
|
method: string;
|
|
@@ -1011,8 +946,7 @@ export declare const ParamCreater: () => {
|
|
|
1011
946
|
/**
|
|
1012
947
|
* 创建平台应用。
|
|
1013
948
|
*
|
|
1014
|
-
*
|
|
1015
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
949
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1016
950
|
*/
|
|
1017
951
|
createApplication(createApplicationRequest?: CreateApplicationRequest): {
|
|
1018
952
|
method: string;
|
|
@@ -1026,8 +960,7 @@ export declare const ParamCreater: () => {
|
|
|
1026
960
|
/**
|
|
1027
961
|
* 删除平台应用。
|
|
1028
962
|
*
|
|
1029
|
-
*
|
|
1030
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
963
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1031
964
|
*/
|
|
1032
965
|
deleteApplication(deleteApplicationRequest?: DeleteApplicationRequest): {
|
|
1033
966
|
method: string;
|
|
@@ -1041,8 +974,7 @@ export declare const ParamCreater: () => {
|
|
|
1041
974
|
/**
|
|
1042
975
|
* 获取应用平台属性。
|
|
1043
976
|
*
|
|
1044
|
-
*
|
|
1045
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
977
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1046
978
|
*/
|
|
1047
979
|
listApplicationAttributes(listApplicationAttributesRequest?: ListApplicationAttributesRequest): {
|
|
1048
980
|
method: string;
|
|
@@ -1056,8 +988,7 @@ export declare const ParamCreater: () => {
|
|
|
1056
988
|
/**
|
|
1057
989
|
* 查询应用平台列表。
|
|
1058
990
|
*
|
|
1059
|
-
*
|
|
1060
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
991
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1061
992
|
*/
|
|
1062
993
|
listApplications(listApplicationsRequest?: ListApplicationsRequest): {
|
|
1063
994
|
method: string;
|
|
@@ -1071,8 +1002,7 @@ export declare const ParamCreater: () => {
|
|
|
1071
1002
|
/**
|
|
1072
1003
|
* 将消息直发给endpoint设备。
|
|
1073
1004
|
*
|
|
1074
|
-
*
|
|
1075
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
1005
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1076
1006
|
*/
|
|
1077
1007
|
publishAppMessage(publishAppMessageRequest?: PublishAppMessageRequest): {
|
|
1078
1008
|
method: string;
|
|
@@ -1086,8 +1016,7 @@ export declare const ParamCreater: () => {
|
|
|
1086
1016
|
/**
|
|
1087
1017
|
* 更新应用平台。
|
|
1088
1018
|
*
|
|
1089
|
-
*
|
|
1090
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
1019
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1091
1020
|
*/
|
|
1092
1021
|
updateApplication(updateApplicationRequest?: UpdateApplicationRequest): {
|
|
1093
1022
|
method: string;
|
|
@@ -1101,8 +1030,7 @@ export declare const ParamCreater: () => {
|
|
|
1101
1030
|
/**
|
|
1102
1031
|
* 创建应用平台的endpoint终端。
|
|
1103
1032
|
*
|
|
1104
|
-
*
|
|
1105
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
1033
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1106
1034
|
*/
|
|
1107
1035
|
createApplicationEndpoint(createApplicationEndpointRequest?: CreateApplicationEndpointRequest): {
|
|
1108
1036
|
method: string;
|
|
@@ -1116,8 +1044,7 @@ export declare const ParamCreater: () => {
|
|
|
1116
1044
|
/**
|
|
1117
1045
|
* 删除设备。
|
|
1118
1046
|
*
|
|
1119
|
-
*
|
|
1120
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
1047
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1121
1048
|
*/
|
|
1122
1049
|
deleteApplicationEndpoint(deleteApplicationEndpointRequest?: DeleteApplicationEndpointRequest): {
|
|
1123
1050
|
method: string;
|
|
@@ -1131,8 +1058,7 @@ export declare const ParamCreater: () => {
|
|
|
1131
1058
|
/**
|
|
1132
1059
|
* 获取endpoint的属性。
|
|
1133
1060
|
*
|
|
1134
|
-
*
|
|
1135
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
1061
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1136
1062
|
*/
|
|
1137
1063
|
listApplicationEndpointAttributes(listApplicationEndpointAttributesRequest?: ListApplicationEndpointAttributesRequest): {
|
|
1138
1064
|
method: string;
|
|
@@ -1146,8 +1072,7 @@ export declare const ParamCreater: () => {
|
|
|
1146
1072
|
/**
|
|
1147
1073
|
* 查询平台的endpoint列表。
|
|
1148
1074
|
*
|
|
1149
|
-
*
|
|
1150
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
1075
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1151
1076
|
*/
|
|
1152
1077
|
listApplicationEndpoints(listApplicationEndpointsRequest?: ListApplicationEndpointsRequest): {
|
|
1153
1078
|
method: string;
|
|
@@ -1161,8 +1086,7 @@ export declare const ParamCreater: () => {
|
|
|
1161
1086
|
/**
|
|
1162
1087
|
* 更新设备属性。
|
|
1163
1088
|
*
|
|
1164
|
-
*
|
|
1165
|
-
* Please refer to Huawei cloud API Explorer for details.
|
|
1089
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1166
1090
|
*/
|
|
1167
1091
|
updateApplicationEndpoint(updateApplicationEndpointRequest?: UpdateApplicationEndpointRequest): {
|
|
1168
1092
|
method: string;
|