Documentation ¶
Index ¶
- func GenReqDefForAddSubscription() *def.HttpRequestDef
- func GenReqDefForBatchCreateOrDeleteResourceTags() *def.HttpRequestDef
- func GenReqDefForCancelSubscription() *def.HttpRequestDef
- func GenReqDefForCreateApplication() *def.HttpRequestDef
- func GenReqDefForCreateApplicationEndpoint() *def.HttpRequestDef
- func GenReqDefForCreateMessageTemplate() *def.HttpRequestDef
- func GenReqDefForCreateResourceTag() *def.HttpRequestDef
- func GenReqDefForCreateTopic() *def.HttpRequestDef
- func GenReqDefForDeleteApplication() *def.HttpRequestDef
- func GenReqDefForDeleteApplicationEndpoint() *def.HttpRequestDef
- func GenReqDefForDeleteMessageTemplate() *def.HttpRequestDef
- func GenReqDefForDeleteResourceTag() *def.HttpRequestDef
- func GenReqDefForDeleteTopic() *def.HttpRequestDef
- func GenReqDefForDeleteTopicAttributeByName() *def.HttpRequestDef
- func GenReqDefForDeleteTopicAttributes() *def.HttpRequestDef
- func GenReqDefForListApplicationAttributes() *def.HttpRequestDef
- func GenReqDefForListApplicationEndpointAttributes() *def.HttpRequestDef
- func GenReqDefForListApplicationEndpoints() *def.HttpRequestDef
- func GenReqDefForListApplications() *def.HttpRequestDef
- func GenReqDefForListMessageTemplateDetails() *def.HttpRequestDef
- func GenReqDefForListMessageTemplates() *def.HttpRequestDef
- func GenReqDefForListProjectTags() *def.HttpRequestDef
- func GenReqDefForListResourceInstances() *def.HttpRequestDef
- func GenReqDefForListResourceTags() *def.HttpRequestDef
- func GenReqDefForListSubscriptions() *def.HttpRequestDef
- func GenReqDefForListSubscriptionsByTopic() *def.HttpRequestDef
- func GenReqDefForListTopicAttributes() *def.HttpRequestDef
- func GenReqDefForListTopicDetails() *def.HttpRequestDef
- func GenReqDefForListTopics() *def.HttpRequestDef
- func GenReqDefForListVersion() *def.HttpRequestDef
- func GenReqDefForListVersions() *def.HttpRequestDef
- func GenReqDefForPublishAppMessage() *def.HttpRequestDef
- func GenReqDefForPublishMessage() *def.HttpRequestDef
- func GenReqDefForUpdateApplication() *def.HttpRequestDef
- func GenReqDefForUpdateApplicationEndpoint() *def.HttpRequestDef
- func GenReqDefForUpdateMessageTemplate() *def.HttpRequestDef
- func GenReqDefForUpdateTopic() *def.HttpRequestDef
- func GenReqDefForUpdateTopicAttribute() *def.HttpRequestDef
- func SmnClientBuilder() *http_client.HcHttpClientBuilder
- type AddSubscriptionInvoker
- type BatchCreateOrDeleteResourceTagsInvoker
- type CancelSubscriptionInvoker
- type CreateApplicationEndpointInvoker
- type CreateApplicationInvoker
- type CreateMessageTemplateInvoker
- type CreateResourceTagInvoker
- type CreateTopicInvoker
- type DeleteApplicationEndpointInvoker
- type DeleteApplicationInvoker
- type DeleteMessageTemplateInvoker
- type DeleteResourceTagInvoker
- type DeleteTopicAttributeByNameInvoker
- type DeleteTopicAttributesInvoker
- type DeleteTopicInvoker
- type ListApplicationAttributesInvoker
- type ListApplicationEndpointAttributesInvoker
- type ListApplicationEndpointsInvoker
- type ListApplicationsInvoker
- type ListMessageTemplateDetailsInvoker
- type ListMessageTemplatesInvoker
- type ListProjectTagsInvoker
- type ListResourceInstancesInvoker
- type ListResourceTagsInvoker
- type ListSubscriptionsByTopicInvoker
- type ListSubscriptionsInvoker
- type ListTopicAttributesInvoker
- type ListTopicDetailsInvoker
- type ListTopicsInvoker
- type ListVersionInvoker
- type ListVersionsInvoker
- type PublishAppMessageInvoker
- type PublishMessageInvoker
- type SmnClient
- func (c *SmnClient) AddSubscription(request *model.AddSubscriptionRequest) (*model.AddSubscriptionResponse, error)
- func (c *SmnClient) AddSubscriptionInvoker(request *model.AddSubscriptionRequest) *AddSubscriptionInvoker
- func (c *SmnClient) BatchCreateOrDeleteResourceTags(request *model.BatchCreateOrDeleteResourceTagsRequest) (*model.BatchCreateOrDeleteResourceTagsResponse, error)
- func (c *SmnClient) BatchCreateOrDeleteResourceTagsInvoker(request *model.BatchCreateOrDeleteResourceTagsRequest) *BatchCreateOrDeleteResourceTagsInvoker
- func (c *SmnClient) CancelSubscription(request *model.CancelSubscriptionRequest) (*model.CancelSubscriptionResponse, error)
- func (c *SmnClient) CancelSubscriptionInvoker(request *model.CancelSubscriptionRequest) *CancelSubscriptionInvoker
- func (c *SmnClient) CreateApplication(request *model.CreateApplicationRequest) (*model.CreateApplicationResponse, error)
- func (c *SmnClient) CreateApplicationEndpoint(request *model.CreateApplicationEndpointRequest) (*model.CreateApplicationEndpointResponse, error)
- func (c *SmnClient) CreateApplicationEndpointInvoker(request *model.CreateApplicationEndpointRequest) *CreateApplicationEndpointInvoker
- func (c *SmnClient) CreateApplicationInvoker(request *model.CreateApplicationRequest) *CreateApplicationInvoker
- func (c *SmnClient) CreateMessageTemplate(request *model.CreateMessageTemplateRequest) (*model.CreateMessageTemplateResponse, error)
- func (c *SmnClient) CreateMessageTemplateInvoker(request *model.CreateMessageTemplateRequest) *CreateMessageTemplateInvoker
- func (c *SmnClient) CreateResourceTag(request *model.CreateResourceTagRequest) (*model.CreateResourceTagResponse, error)
- func (c *SmnClient) CreateResourceTagInvoker(request *model.CreateResourceTagRequest) *CreateResourceTagInvoker
- func (c *SmnClient) CreateTopic(request *model.CreateTopicRequest) (*model.CreateTopicResponse, error)
- func (c *SmnClient) CreateTopicInvoker(request *model.CreateTopicRequest) *CreateTopicInvoker
- func (c *SmnClient) DeleteApplication(request *model.DeleteApplicationRequest) (*model.DeleteApplicationResponse, error)
- func (c *SmnClient) DeleteApplicationEndpoint(request *model.DeleteApplicationEndpointRequest) (*model.DeleteApplicationEndpointResponse, error)
- func (c *SmnClient) DeleteApplicationEndpointInvoker(request *model.DeleteApplicationEndpointRequest) *DeleteApplicationEndpointInvoker
- func (c *SmnClient) DeleteApplicationInvoker(request *model.DeleteApplicationRequest) *DeleteApplicationInvoker
- func (c *SmnClient) DeleteMessageTemplate(request *model.DeleteMessageTemplateRequest) (*model.DeleteMessageTemplateResponse, error)
- func (c *SmnClient) DeleteMessageTemplateInvoker(request *model.DeleteMessageTemplateRequest) *DeleteMessageTemplateInvoker
- func (c *SmnClient) DeleteResourceTag(request *model.DeleteResourceTagRequest) (*model.DeleteResourceTagResponse, error)
- func (c *SmnClient) DeleteResourceTagInvoker(request *model.DeleteResourceTagRequest) *DeleteResourceTagInvoker
- func (c *SmnClient) DeleteTopic(request *model.DeleteTopicRequest) (*model.DeleteTopicResponse, error)
- func (c *SmnClient) DeleteTopicAttributeByName(request *model.DeleteTopicAttributeByNameRequest) (*model.DeleteTopicAttributeByNameResponse, error)
- func (c *SmnClient) DeleteTopicAttributeByNameInvoker(request *model.DeleteTopicAttributeByNameRequest) *DeleteTopicAttributeByNameInvoker
- func (c *SmnClient) DeleteTopicAttributes(request *model.DeleteTopicAttributesRequest) (*model.DeleteTopicAttributesResponse, error)
- func (c *SmnClient) DeleteTopicAttributesInvoker(request *model.DeleteTopicAttributesRequest) *DeleteTopicAttributesInvoker
- func (c *SmnClient) DeleteTopicInvoker(request *model.DeleteTopicRequest) *DeleteTopicInvoker
- func (c *SmnClient) ListApplicationAttributes(request *model.ListApplicationAttributesRequest) (*model.ListApplicationAttributesResponse, error)
- func (c *SmnClient) ListApplicationAttributesInvoker(request *model.ListApplicationAttributesRequest) *ListApplicationAttributesInvoker
- func (c *SmnClient) ListApplicationEndpointAttributes(request *model.ListApplicationEndpointAttributesRequest) (*model.ListApplicationEndpointAttributesResponse, error)
- func (c *SmnClient) ListApplicationEndpointAttributesInvoker(request *model.ListApplicationEndpointAttributesRequest) *ListApplicationEndpointAttributesInvoker
- func (c *SmnClient) ListApplicationEndpoints(request *model.ListApplicationEndpointsRequest) (*model.ListApplicationEndpointsResponse, error)
- func (c *SmnClient) ListApplicationEndpointsInvoker(request *model.ListApplicationEndpointsRequest) *ListApplicationEndpointsInvoker
- func (c *SmnClient) ListApplications(request *model.ListApplicationsRequest) (*model.ListApplicationsResponse, error)
- func (c *SmnClient) ListApplicationsInvoker(request *model.ListApplicationsRequest) *ListApplicationsInvoker
- func (c *SmnClient) ListMessageTemplateDetails(request *model.ListMessageTemplateDetailsRequest) (*model.ListMessageTemplateDetailsResponse, error)
- func (c *SmnClient) ListMessageTemplateDetailsInvoker(request *model.ListMessageTemplateDetailsRequest) *ListMessageTemplateDetailsInvoker
- func (c *SmnClient) ListMessageTemplates(request *model.ListMessageTemplatesRequest) (*model.ListMessageTemplatesResponse, error)
- func (c *SmnClient) ListMessageTemplatesInvoker(request *model.ListMessageTemplatesRequest) *ListMessageTemplatesInvoker
- func (c *SmnClient) ListProjectTags(request *model.ListProjectTagsRequest) (*model.ListProjectTagsResponse, error)
- func (c *SmnClient) ListProjectTagsInvoker(request *model.ListProjectTagsRequest) *ListProjectTagsInvoker
- func (c *SmnClient) ListResourceInstances(request *model.ListResourceInstancesRequest) (*model.ListResourceInstancesResponse, error)
- func (c *SmnClient) ListResourceInstancesInvoker(request *model.ListResourceInstancesRequest) *ListResourceInstancesInvoker
- func (c *SmnClient) ListResourceTags(request *model.ListResourceTagsRequest) (*model.ListResourceTagsResponse, error)
- func (c *SmnClient) ListResourceTagsInvoker(request *model.ListResourceTagsRequest) *ListResourceTagsInvoker
- func (c *SmnClient) ListSubscriptions(request *model.ListSubscriptionsRequest) (*model.ListSubscriptionsResponse, error)
- func (c *SmnClient) ListSubscriptionsByTopic(request *model.ListSubscriptionsByTopicRequest) (*model.ListSubscriptionsByTopicResponse, error)
- func (c *SmnClient) ListSubscriptionsByTopicInvoker(request *model.ListSubscriptionsByTopicRequest) *ListSubscriptionsByTopicInvoker
- func (c *SmnClient) ListSubscriptionsInvoker(request *model.ListSubscriptionsRequest) *ListSubscriptionsInvoker
- func (c *SmnClient) ListTopicAttributes(request *model.ListTopicAttributesRequest) (*model.ListTopicAttributesResponse, error)
- func (c *SmnClient) ListTopicAttributesInvoker(request *model.ListTopicAttributesRequest) *ListTopicAttributesInvoker
- func (c *SmnClient) ListTopicDetails(request *model.ListTopicDetailsRequest) (*model.ListTopicDetailsResponse, error)
- func (c *SmnClient) ListTopicDetailsInvoker(request *model.ListTopicDetailsRequest) *ListTopicDetailsInvoker
- func (c *SmnClient) ListTopics(request *model.ListTopicsRequest) (*model.ListTopicsResponse, error)
- func (c *SmnClient) ListTopicsInvoker(request *model.ListTopicsRequest) *ListTopicsInvoker
- func (c *SmnClient) ListVersion(request *model.ListVersionRequest) (*model.ListVersionResponse, error)
- func (c *SmnClient) ListVersionInvoker(request *model.ListVersionRequest) *ListVersionInvoker
- func (c *SmnClient) ListVersions(request *model.ListVersionsRequest) (*model.ListVersionsResponse, error)
- func (c *SmnClient) ListVersionsInvoker(request *model.ListVersionsRequest) *ListVersionsInvoker
- func (c *SmnClient) PublishAppMessage(request *model.PublishAppMessageRequest) (*model.PublishAppMessageResponse, error)
- func (c *SmnClient) PublishAppMessageInvoker(request *model.PublishAppMessageRequest) *PublishAppMessageInvoker
- func (c *SmnClient) PublishMessage(request *model.PublishMessageRequest) (*model.PublishMessageResponse, error)
- func (c *SmnClient) PublishMessageInvoker(request *model.PublishMessageRequest) *PublishMessageInvoker
- func (c *SmnClient) UpdateApplication(request *model.UpdateApplicationRequest) (*model.UpdateApplicationResponse, error)
- func (c *SmnClient) UpdateApplicationEndpoint(request *model.UpdateApplicationEndpointRequest) (*model.UpdateApplicationEndpointResponse, error)
- func (c *SmnClient) UpdateApplicationEndpointInvoker(request *model.UpdateApplicationEndpointRequest) *UpdateApplicationEndpointInvoker
- func (c *SmnClient) UpdateApplicationInvoker(request *model.UpdateApplicationRequest) *UpdateApplicationInvoker
- func (c *SmnClient) UpdateMessageTemplate(request *model.UpdateMessageTemplateRequest) (*model.UpdateMessageTemplateResponse, error)
- func (c *SmnClient) UpdateMessageTemplateInvoker(request *model.UpdateMessageTemplateRequest) *UpdateMessageTemplateInvoker
- func (c *SmnClient) UpdateTopic(request *model.UpdateTopicRequest) (*model.UpdateTopicResponse, error)
- func (c *SmnClient) UpdateTopicAttribute(request *model.UpdateTopicAttributeRequest) (*model.UpdateTopicAttributeResponse, error)
- func (c *SmnClient) UpdateTopicAttributeInvoker(request *model.UpdateTopicAttributeRequest) *UpdateTopicAttributeInvoker
- func (c *SmnClient) UpdateTopicInvoker(request *model.UpdateTopicRequest) *UpdateTopicInvoker
- type UpdateApplicationEndpointInvoker
- type UpdateApplicationInvoker
- type UpdateMessageTemplateInvoker
- type UpdateTopicAttributeInvoker
- type UpdateTopicInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenReqDefForAddSubscription ¶
func GenReqDefForAddSubscription() *def.HttpRequestDef
func GenReqDefForBatchCreateOrDeleteResourceTags ¶
func GenReqDefForBatchCreateOrDeleteResourceTags() *def.HttpRequestDef
func GenReqDefForCancelSubscription ¶
func GenReqDefForCancelSubscription() *def.HttpRequestDef
func GenReqDefForCreateApplication ¶
func GenReqDefForCreateApplication() *def.HttpRequestDef
func GenReqDefForCreateApplicationEndpoint ¶
func GenReqDefForCreateApplicationEndpoint() *def.HttpRequestDef
func GenReqDefForCreateMessageTemplate ¶
func GenReqDefForCreateMessageTemplate() *def.HttpRequestDef
func GenReqDefForCreateResourceTag ¶
func GenReqDefForCreateResourceTag() *def.HttpRequestDef
func GenReqDefForCreateTopic ¶
func GenReqDefForCreateTopic() *def.HttpRequestDef
func GenReqDefForDeleteApplication ¶
func GenReqDefForDeleteApplication() *def.HttpRequestDef
func GenReqDefForDeleteApplicationEndpoint ¶
func GenReqDefForDeleteApplicationEndpoint() *def.HttpRequestDef
func GenReqDefForDeleteMessageTemplate ¶
func GenReqDefForDeleteMessageTemplate() *def.HttpRequestDef
func GenReqDefForDeleteResourceTag ¶
func GenReqDefForDeleteResourceTag() *def.HttpRequestDef
func GenReqDefForDeleteTopic ¶
func GenReqDefForDeleteTopic() *def.HttpRequestDef
func GenReqDefForDeleteTopicAttributeByName ¶
func GenReqDefForDeleteTopicAttributeByName() *def.HttpRequestDef
func GenReqDefForDeleteTopicAttributes ¶
func GenReqDefForDeleteTopicAttributes() *def.HttpRequestDef
func GenReqDefForListApplicationAttributes ¶
func GenReqDefForListApplicationAttributes() *def.HttpRequestDef
func GenReqDefForListApplicationEndpointAttributes ¶
func GenReqDefForListApplicationEndpointAttributes() *def.HttpRequestDef
func GenReqDefForListApplicationEndpoints ¶
func GenReqDefForListApplicationEndpoints() *def.HttpRequestDef
func GenReqDefForListApplications ¶
func GenReqDefForListApplications() *def.HttpRequestDef
func GenReqDefForListMessageTemplateDetails ¶
func GenReqDefForListMessageTemplateDetails() *def.HttpRequestDef
func GenReqDefForListMessageTemplates ¶
func GenReqDefForListMessageTemplates() *def.HttpRequestDef
func GenReqDefForListProjectTags ¶
func GenReqDefForListProjectTags() *def.HttpRequestDef
func GenReqDefForListResourceInstances ¶
func GenReqDefForListResourceInstances() *def.HttpRequestDef
func GenReqDefForListResourceTags ¶
func GenReqDefForListResourceTags() *def.HttpRequestDef
func GenReqDefForListSubscriptions ¶
func GenReqDefForListSubscriptions() *def.HttpRequestDef
func GenReqDefForListSubscriptionsByTopic ¶
func GenReqDefForListSubscriptionsByTopic() *def.HttpRequestDef
func GenReqDefForListTopicAttributes ¶
func GenReqDefForListTopicAttributes() *def.HttpRequestDef
func GenReqDefForListTopicDetails ¶
func GenReqDefForListTopicDetails() *def.HttpRequestDef
func GenReqDefForListTopics ¶
func GenReqDefForListTopics() *def.HttpRequestDef
func GenReqDefForListVersion ¶
func GenReqDefForListVersion() *def.HttpRequestDef
func GenReqDefForListVersions ¶
func GenReqDefForListVersions() *def.HttpRequestDef
func GenReqDefForPublishAppMessage ¶
func GenReqDefForPublishAppMessage() *def.HttpRequestDef
func GenReqDefForPublishMessage ¶
func GenReqDefForPublishMessage() *def.HttpRequestDef
func GenReqDefForUpdateApplication ¶
func GenReqDefForUpdateApplication() *def.HttpRequestDef
func GenReqDefForUpdateApplicationEndpoint ¶
func GenReqDefForUpdateApplicationEndpoint() *def.HttpRequestDef
func GenReqDefForUpdateMessageTemplate ¶
func GenReqDefForUpdateMessageTemplate() *def.HttpRequestDef
func GenReqDefForUpdateTopic ¶
func GenReqDefForUpdateTopic() *def.HttpRequestDef
func GenReqDefForUpdateTopicAttribute ¶
func GenReqDefForUpdateTopicAttribute() *def.HttpRequestDef
func SmnClientBuilder ¶
func SmnClientBuilder() *http_client.HcHttpClientBuilder
Types ¶
type AddSubscriptionInvoker ¶ added in v0.0.90
type AddSubscriptionInvoker struct {
*invoker.BaseInvoker
}
func (*AddSubscriptionInvoker) Invoke ¶ added in v0.0.90
func (i *AddSubscriptionInvoker) Invoke() (*model.AddSubscriptionResponse, error)
type BatchCreateOrDeleteResourceTagsInvoker ¶ added in v0.0.90
type BatchCreateOrDeleteResourceTagsInvoker struct {
*invoker.BaseInvoker
}
func (*BatchCreateOrDeleteResourceTagsInvoker) Invoke ¶ added in v0.0.90
func (i *BatchCreateOrDeleteResourceTagsInvoker) Invoke() (*model.BatchCreateOrDeleteResourceTagsResponse, error)
type CancelSubscriptionInvoker ¶ added in v0.0.90
type CancelSubscriptionInvoker struct {
*invoker.BaseInvoker
}
func (*CancelSubscriptionInvoker) Invoke ¶ added in v0.0.90
func (i *CancelSubscriptionInvoker) Invoke() (*model.CancelSubscriptionResponse, error)
type CreateApplicationEndpointInvoker ¶ added in v0.0.90
type CreateApplicationEndpointInvoker struct {
*invoker.BaseInvoker
}
func (*CreateApplicationEndpointInvoker) Invoke ¶ added in v0.0.90
func (i *CreateApplicationEndpointInvoker) Invoke() (*model.CreateApplicationEndpointResponse, error)
type CreateApplicationInvoker ¶ added in v0.0.90
type CreateApplicationInvoker struct {
*invoker.BaseInvoker
}
func (*CreateApplicationInvoker) Invoke ¶ added in v0.0.90
func (i *CreateApplicationInvoker) Invoke() (*model.CreateApplicationResponse, error)
type CreateMessageTemplateInvoker ¶ added in v0.0.90
type CreateMessageTemplateInvoker struct {
*invoker.BaseInvoker
}
func (*CreateMessageTemplateInvoker) Invoke ¶ added in v0.0.90
func (i *CreateMessageTemplateInvoker) Invoke() (*model.CreateMessageTemplateResponse, error)
type CreateResourceTagInvoker ¶ added in v0.0.90
type CreateResourceTagInvoker struct {
*invoker.BaseInvoker
}
func (*CreateResourceTagInvoker) Invoke ¶ added in v0.0.90
func (i *CreateResourceTagInvoker) Invoke() (*model.CreateResourceTagResponse, error)
type CreateTopicInvoker ¶ added in v0.0.90
type CreateTopicInvoker struct {
*invoker.BaseInvoker
}
func (*CreateTopicInvoker) Invoke ¶ added in v0.0.90
func (i *CreateTopicInvoker) Invoke() (*model.CreateTopicResponse, error)
type DeleteApplicationEndpointInvoker ¶ added in v0.0.90
type DeleteApplicationEndpointInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteApplicationEndpointInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteApplicationEndpointInvoker) Invoke() (*model.DeleteApplicationEndpointResponse, error)
type DeleteApplicationInvoker ¶ added in v0.0.90
type DeleteApplicationInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteApplicationInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteApplicationInvoker) Invoke() (*model.DeleteApplicationResponse, error)
type DeleteMessageTemplateInvoker ¶ added in v0.0.90
type DeleteMessageTemplateInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteMessageTemplateInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteMessageTemplateInvoker) Invoke() (*model.DeleteMessageTemplateResponse, error)
type DeleteResourceTagInvoker ¶ added in v0.0.90
type DeleteResourceTagInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteResourceTagInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteResourceTagInvoker) Invoke() (*model.DeleteResourceTagResponse, error)
type DeleteTopicAttributeByNameInvoker ¶ added in v0.0.90
type DeleteTopicAttributeByNameInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteTopicAttributeByNameInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteTopicAttributeByNameInvoker) Invoke() (*model.DeleteTopicAttributeByNameResponse, error)
type DeleteTopicAttributesInvoker ¶ added in v0.0.90
type DeleteTopicAttributesInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteTopicAttributesInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteTopicAttributesInvoker) Invoke() (*model.DeleteTopicAttributesResponse, error)
type DeleteTopicInvoker ¶ added in v0.0.90
type DeleteTopicInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteTopicInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteTopicInvoker) Invoke() (*model.DeleteTopicResponse, error)
type ListApplicationAttributesInvoker ¶ added in v0.0.90
type ListApplicationAttributesInvoker struct {
*invoker.BaseInvoker
}
func (*ListApplicationAttributesInvoker) Invoke ¶ added in v0.0.90
func (i *ListApplicationAttributesInvoker) Invoke() (*model.ListApplicationAttributesResponse, error)
type ListApplicationEndpointAttributesInvoker ¶ added in v0.0.90
type ListApplicationEndpointAttributesInvoker struct {
*invoker.BaseInvoker
}
func (*ListApplicationEndpointAttributesInvoker) Invoke ¶ added in v0.0.90
func (i *ListApplicationEndpointAttributesInvoker) Invoke() (*model.ListApplicationEndpointAttributesResponse, error)
type ListApplicationEndpointsInvoker ¶ added in v0.0.90
type ListApplicationEndpointsInvoker struct {
*invoker.BaseInvoker
}
func (*ListApplicationEndpointsInvoker) Invoke ¶ added in v0.0.90
func (i *ListApplicationEndpointsInvoker) Invoke() (*model.ListApplicationEndpointsResponse, error)
type ListApplicationsInvoker ¶ added in v0.0.90
type ListApplicationsInvoker struct {
*invoker.BaseInvoker
}
func (*ListApplicationsInvoker) Invoke ¶ added in v0.0.90
func (i *ListApplicationsInvoker) Invoke() (*model.ListApplicationsResponse, error)
type ListMessageTemplateDetailsInvoker ¶ added in v0.0.90
type ListMessageTemplateDetailsInvoker struct {
*invoker.BaseInvoker
}
func (*ListMessageTemplateDetailsInvoker) Invoke ¶ added in v0.0.90
func (i *ListMessageTemplateDetailsInvoker) Invoke() (*model.ListMessageTemplateDetailsResponse, error)
type ListMessageTemplatesInvoker ¶ added in v0.0.90
type ListMessageTemplatesInvoker struct {
*invoker.BaseInvoker
}
func (*ListMessageTemplatesInvoker) Invoke ¶ added in v0.0.90
func (i *ListMessageTemplatesInvoker) Invoke() (*model.ListMessageTemplatesResponse, error)
type ListProjectTagsInvoker ¶ added in v0.0.90
type ListProjectTagsInvoker struct {
*invoker.BaseInvoker
}
func (*ListProjectTagsInvoker) Invoke ¶ added in v0.0.90
func (i *ListProjectTagsInvoker) Invoke() (*model.ListProjectTagsResponse, error)
type ListResourceInstancesInvoker ¶ added in v0.0.90
type ListResourceInstancesInvoker struct {
*invoker.BaseInvoker
}
func (*ListResourceInstancesInvoker) Invoke ¶ added in v0.0.90
func (i *ListResourceInstancesInvoker) Invoke() (*model.ListResourceInstancesResponse, error)
type ListResourceTagsInvoker ¶ added in v0.0.90
type ListResourceTagsInvoker struct {
*invoker.BaseInvoker
}
func (*ListResourceTagsInvoker) Invoke ¶ added in v0.0.90
func (i *ListResourceTagsInvoker) Invoke() (*model.ListResourceTagsResponse, error)
type ListSubscriptionsByTopicInvoker ¶ added in v0.0.90
type ListSubscriptionsByTopicInvoker struct {
*invoker.BaseInvoker
}
func (*ListSubscriptionsByTopicInvoker) Invoke ¶ added in v0.0.90
func (i *ListSubscriptionsByTopicInvoker) Invoke() (*model.ListSubscriptionsByTopicResponse, error)
type ListSubscriptionsInvoker ¶ added in v0.0.90
type ListSubscriptionsInvoker struct {
*invoker.BaseInvoker
}
func (*ListSubscriptionsInvoker) Invoke ¶ added in v0.0.90
func (i *ListSubscriptionsInvoker) Invoke() (*model.ListSubscriptionsResponse, error)
type ListTopicAttributesInvoker ¶ added in v0.0.90
type ListTopicAttributesInvoker struct {
*invoker.BaseInvoker
}
func (*ListTopicAttributesInvoker) Invoke ¶ added in v0.0.90
func (i *ListTopicAttributesInvoker) Invoke() (*model.ListTopicAttributesResponse, error)
type ListTopicDetailsInvoker ¶ added in v0.0.90
type ListTopicDetailsInvoker struct {
*invoker.BaseInvoker
}
func (*ListTopicDetailsInvoker) Invoke ¶ added in v0.0.90
func (i *ListTopicDetailsInvoker) Invoke() (*model.ListTopicDetailsResponse, error)
type ListTopicsInvoker ¶ added in v0.0.90
type ListTopicsInvoker struct {
*invoker.BaseInvoker
}
func (*ListTopicsInvoker) Invoke ¶ added in v0.0.90
func (i *ListTopicsInvoker) Invoke() (*model.ListTopicsResponse, error)
type ListVersionInvoker ¶ added in v0.0.90
type ListVersionInvoker struct {
*invoker.BaseInvoker
}
func (*ListVersionInvoker) Invoke ¶ added in v0.0.90
func (i *ListVersionInvoker) Invoke() (*model.ListVersionResponse, error)
type ListVersionsInvoker ¶ added in v0.0.90
type ListVersionsInvoker struct {
*invoker.BaseInvoker
}
func (*ListVersionsInvoker) Invoke ¶ added in v0.0.90
func (i *ListVersionsInvoker) Invoke() (*model.ListVersionsResponse, error)
type PublishAppMessageInvoker ¶ added in v0.0.90
type PublishAppMessageInvoker struct {
*invoker.BaseInvoker
}
func (*PublishAppMessageInvoker) Invoke ¶ added in v0.0.90
func (i *PublishAppMessageInvoker) Invoke() (*model.PublishAppMessageResponse, error)
type PublishMessageInvoker ¶ added in v0.0.90
type PublishMessageInvoker struct {
*invoker.BaseInvoker
}
func (*PublishMessageInvoker) Invoke ¶ added in v0.0.90
func (i *PublishMessageInvoker) Invoke() (*model.PublishMessageResponse, error)
type SmnClient ¶
type SmnClient struct {
HcClient *http_client.HcHttpClient
}
func NewSmnClient ¶
func NewSmnClient(hcClient *http_client.HcHttpClient) *SmnClient
func (*SmnClient) AddSubscription ¶
func (c *SmnClient) AddSubscription(request *model.AddSubscriptionRequest) (*model.AddSubscriptionResponse, error)
AddSubscription 订阅
为指定Topic添加一个订阅者,如果订阅者的状态为未确认,则向订阅者发送一个确认的消息。待订阅者进行ConfirmSubscription确认后,该订阅者才能收到Topic发布的消息。单Topic默认可添加10000个订阅者,高并发场景下,可能会出现订阅者数量超过10000仍添加成功的情况,此为正常现象。接口是幂等的,如果添加已存在的订阅者,则返回成功,且status code为200,否则status code为201。
Please refer to HUAWEI cloud API Explorer for details.
func (*SmnClient) AddSubscriptionInvoker ¶ added in v0.0.90
func (c *SmnClient) AddSubscriptionInvoker(request *model.AddSubscriptionRequest) *AddSubscriptionInvoker
AddSubscriptionInvoker 订阅
func (*SmnClient) BatchCreateOrDeleteResourceTags ¶
func (c *SmnClient) BatchCreateOrDeleteResourceTags(request *model.BatchCreateOrDeleteResourceTagsRequest) (*model.BatchCreateOrDeleteResourceTagsResponse, error)
BatchCreateOrDeleteResourceTags 批量添加删除资源标签
为指定实例批量添加或删除标签。一个资源上最多有10个标签。 此接口为幂等接口:创建时如果请求体中存在重复key则报错。 创建时,不允许重复key,如果数据库存在就覆盖。 删除时,如果删除的标签不存在,默认处理成功,删除时不对标签字符集范围做校验。
Please refer to HUAWEI cloud API Explorer for details.
func (*SmnClient) BatchCreateOrDeleteResourceTagsInvoker ¶ added in v0.0.90
func (c *SmnClient) BatchCreateOrDeleteResourceTagsInvoker(request *model.BatchCreateOrDeleteResourceTagsRequest) *BatchCreateOrDeleteResourceTagsInvoker
BatchCreateOrDeleteResourceTagsInvoker 批量添加删除资源标签
func (*SmnClient) CancelSubscription ¶
func (c *SmnClient) CancelSubscription(request *model.CancelSubscriptionRequest) (*model.CancelSubscriptionResponse, error)
CancelSubscription 取消订阅
删除指定的订阅者。
Please refer to HUAWEI cloud API Explorer for details.
func (*SmnClient) CancelSubscriptionInvoker ¶ added in v0.0.90
func (c *SmnClient) CancelSubscriptionInvoker(request *model.CancelSubscriptionRequest) *CancelSubscriptionInvoker
CancelSubscriptionInvoker 取消订阅
func (*SmnClient) CreateApplication ¶
func (c *SmnClient) CreateApplication(request *model.CreateApplicationRequest) (*model.CreateApplicationResponse, error)
CreateApplication 创建Application
创建平台应用。
Please refer to HUAWEI cloud API Explorer for details.
func (*SmnClient) CreateApplicationEndpoint ¶
func (c *SmnClient) CreateApplicationEndpoint(request *model.CreateApplicationEndpointRequest) (*model.CreateApplicationEndpointResponse, error)
CreateApplicationEndpoint 创建Application endpoint
创建应用平台的endpoint终端。
Please refer to HUAWEI cloud API Explorer for details.
func (*SmnClient) CreateApplicationEndpointInvoker ¶ added in v0.0.90
func (c *SmnClient) CreateApplicationEndpointInvoker(request *model.CreateApplicationEndpointRequest) *CreateApplicationEndpointInvoker
CreateApplicationEndpointInvoker 创建Application endpoint
func (*SmnClient) CreateApplicationInvoker ¶ added in v0.0.90
func (c *SmnClient) CreateApplicationInvoker(request *model.CreateApplicationRequest) *CreateApplicationInvoker
CreateApplicationInvoker 创建Application
func (*SmnClient) CreateMessageTemplate ¶
func (c *SmnClient) CreateMessageTemplate(request *model.CreateMessageTemplateRequest) (*model.CreateMessageTemplateResponse, error)
CreateMessageTemplate 创建消息模板
创建一个模板,用户可以按照模板去发送消息,这样可以减少请求的数据量。 单用户默认可创建100个消息模板,高并发场景下,可能会出现消息模板数量超过100仍创建成功的情况,此为正常现象。
Please refer to HUAWEI cloud API Explorer for details.
func (*SmnClient) CreateMessageTemplateInvoker ¶ added in v0.0.90
func (c *SmnClient) CreateMessageTemplateInvoker(request *model.CreateMessageTemplateRequest) *CreateMessageTemplateInvoker
CreateMessageTemplateInvoker 创建消息模板
func (*SmnClient) CreateResourceTag ¶
func (c *SmnClient) CreateResourceTag(request *model.CreateResourceTagRequest) (*model.CreateResourceTagResponse, error)
CreateResourceTag 添加资源标签
一个资源上最多有10个标签。此接口为幂等接口:创建时,如果创建的标签已经存在(key相同),则覆盖。
Please refer to HUAWEI cloud API Explorer for details.
func (*SmnClient) CreateResourceTagInvoker ¶ added in v0.0.90
func (c *SmnClient) CreateResourceTagInvoker(request *model.CreateResourceTagRequest) *CreateResourceTagInvoker
CreateResourceTagInvoker 添加资源标签
func (*SmnClient) CreateTopic ¶
func (c *SmnClient) CreateTopic(request *model.CreateTopicRequest) (*model.CreateTopicResponse, error)
CreateTopic 创建主题
创建Topic,单用户默认配额为3000。高并发场景下,可能会出现Topic数量超过3000仍创建成功的情况,此为正常现象。 接口是幂等的,接口调用返回成功时,若已存在同名的Topic,返回的status code为200,否则返回的status code为201
Please refer to HUAWEI cloud API Explorer for details.
func (*SmnClient) CreateTopicInvoker ¶ added in v0.0.90
func (c *SmnClient) CreateTopicInvoker(request *model.CreateTopicRequest) *CreateTopicInvoker
CreateTopicInvoker 创建主题
func (*SmnClient) DeleteApplication ¶
func (c *SmnClient) DeleteApplication(request *model.DeleteApplicationRequest) (*model.DeleteApplicationResponse, error)
DeleteApplication 删除Application
删除平台应用。
Please refer to HUAWEI cloud API Explorer for details.
func (*SmnClient) DeleteApplicationEndpoint ¶
func (c *SmnClient) DeleteApplicationEndpoint(request *model.DeleteApplicationEndpointRequest) (*model.DeleteApplicationEndpointResponse, error)
DeleteApplicationEndpoint 删除Application endpoint
删除设备。
Please refer to HUAWEI cloud API Explorer for details.
func (*SmnClient) DeleteApplicationEndpointInvoker ¶ added in v0.0.90
func (c *SmnClient) DeleteApplicationEndpointInvoker(request *model.DeleteApplicationEndpointRequest) *DeleteApplicationEndpointInvoker
DeleteApplicationEndpointInvoker 删除Application endpoint
func (*SmnClient) DeleteApplicationInvoker ¶ added in v0.0.90
func (c *SmnClient) DeleteApplicationInvoker(request *model.DeleteApplicationRequest) *DeleteApplicationInvoker
DeleteApplicationInvoker 删除Application
func (*SmnClient) DeleteMessageTemplate ¶
func (c *SmnClient) DeleteMessageTemplate(request *model.DeleteMessageTemplateRequest) (*model.DeleteMessageTemplateResponse, error)
DeleteMessageTemplate 删除消息模板
删除消息模板。删除模板之前的消息请求都可以使用该模板发送,删除之后无法再使用该模板发送消息。
Please refer to HUAWEI cloud API Explorer for details.
func (*SmnClient) DeleteMessageTemplateInvoker ¶ added in v0.0.90
func (c *SmnClient) DeleteMessageTemplateInvoker(request *model.DeleteMessageTemplateRequest) *DeleteMessageTemplateInvoker
DeleteMessageTemplateInvoker 删除消息模板
func (*SmnClient) DeleteResourceTag ¶
func (c *SmnClient) DeleteResourceTag(request *model.DeleteResourceTagRequest) (*model.DeleteResourceTagResponse, error)
DeleteResourceTag 删除资源标签
幂等接口:删除时,不对标签做校验。删除的key不存在报404,key不能为空或者空字符串。
Please refer to HUAWEI cloud API Explorer for details.
func (*SmnClient) DeleteResourceTagInvoker ¶ added in v0.0.90
func (c *SmnClient) DeleteResourceTagInvoker(request *model.DeleteResourceTagRequest) *DeleteResourceTagInvoker
DeleteResourceTagInvoker 删除资源标签
func (*SmnClient) DeleteTopic ¶
func (c *SmnClient) DeleteTopic(request *model.DeleteTopicRequest) (*model.DeleteTopicResponse, error)
DeleteTopic 删除主题
删除主题。
Please refer to HUAWEI cloud API Explorer for details.
func (*SmnClient) DeleteTopicAttributeByName ¶
func (c *SmnClient) DeleteTopicAttributeByName(request *model.DeleteTopicAttributeByNameRequest) (*model.DeleteTopicAttributeByNameResponse, error)
DeleteTopicAttributeByName 删除指定名称的主题策略
删除指定名称的主题策略。
Please refer to HUAWEI cloud API Explorer for details.
func (*SmnClient) DeleteTopicAttributeByNameInvoker ¶ added in v0.0.90
func (c *SmnClient) DeleteTopicAttributeByNameInvoker(request *model.DeleteTopicAttributeByNameRequest) *DeleteTopicAttributeByNameInvoker
DeleteTopicAttributeByNameInvoker 删除指定名称的主题策略
func (*SmnClient) DeleteTopicAttributes ¶
func (c *SmnClient) DeleteTopicAttributes(request *model.DeleteTopicAttributesRequest) (*model.DeleteTopicAttributesResponse, error)
DeleteTopicAttributes 删除所有主题策略
删除所有主题策略。
Please refer to HUAWEI cloud API Explorer for details.
func (*SmnClient) DeleteTopicAttributesInvoker ¶ added in v0.0.90
func (c *SmnClient) DeleteTopicAttributesInvoker(request *model.DeleteTopicAttributesRequest) *DeleteTopicAttributesInvoker
DeleteTopicAttributesInvoker 删除所有主题策略
func (*SmnClient) DeleteTopicInvoker ¶ added in v0.0.90
func (c *SmnClient) DeleteTopicInvoker(request *model.DeleteTopicRequest) *DeleteTopicInvoker
DeleteTopicInvoker 删除主题
func (*SmnClient) ListApplicationAttributes ¶
func (c *SmnClient) ListApplicationAttributes(request *model.ListApplicationAttributesRequest) (*model.ListApplicationAttributesResponse, error)
ListApplicationAttributes 查询Application属性
获取应用平台属性。
Please refer to HUAWEI cloud API Explorer for details.
func (*SmnClient) ListApplicationAttributesInvoker ¶ added in v0.0.90
func (c *SmnClient) ListApplicationAttributesInvoker(request *model.ListApplicationAttributesRequest) *ListApplicationAttributesInvoker
ListApplicationAttributesInvoker 查询Application属性
func (*SmnClient) ListApplicationEndpointAttributes ¶
func (c *SmnClient) ListApplicationEndpointAttributes(request *model.ListApplicationEndpointAttributesRequest) (*model.ListApplicationEndpointAttributesResponse, error)
ListApplicationEndpointAttributes 查询Application的Endpoint属性
获取endpoint的属性。
Please refer to HUAWEI cloud API Explorer for details.
func (*SmnClient) ListApplicationEndpointAttributesInvoker ¶ added in v0.0.90
func (c *SmnClient) ListApplicationEndpointAttributesInvoker(request *model.ListApplicationEndpointAttributesRequest) *ListApplicationEndpointAttributesInvoker
ListApplicationEndpointAttributesInvoker 查询Application的Endpoint属性
func (*SmnClient) ListApplicationEndpoints ¶
func (c *SmnClient) ListApplicationEndpoints(request *model.ListApplicationEndpointsRequest) (*model.ListApplicationEndpointsResponse, error)
ListApplicationEndpoints 查询Application的Endpoint列表
查询平台的endpoint列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*SmnClient) ListApplicationEndpointsInvoker ¶ added in v0.0.90
func (c *SmnClient) ListApplicationEndpointsInvoker(request *model.ListApplicationEndpointsRequest) *ListApplicationEndpointsInvoker
ListApplicationEndpointsInvoker 查询Application的Endpoint列表
func (*SmnClient) ListApplications ¶
func (c *SmnClient) ListApplications(request *model.ListApplicationsRequest) (*model.ListApplicationsResponse, error)
ListApplications 查询Application
查询应用平台列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*SmnClient) ListApplicationsInvoker ¶ added in v0.0.90
func (c *SmnClient) ListApplicationsInvoker(request *model.ListApplicationsRequest) *ListApplicationsInvoker
ListApplicationsInvoker 查询Application
func (*SmnClient) ListMessageTemplateDetails ¶
func (c *SmnClient) ListMessageTemplateDetails(request *model.ListMessageTemplateDetailsRequest) (*model.ListMessageTemplateDetailsResponse, error)
ListMessageTemplateDetails 查询消息模板详情
查询模板详情,包括模板内容。
Please refer to HUAWEI cloud API Explorer for details.
func (*SmnClient) ListMessageTemplateDetailsInvoker ¶ added in v0.0.90
func (c *SmnClient) ListMessageTemplateDetailsInvoker(request *model.ListMessageTemplateDetailsRequest) *ListMessageTemplateDetailsInvoker
ListMessageTemplateDetailsInvoker 查询消息模板详情
func (*SmnClient) ListMessageTemplates ¶
func (c *SmnClient) ListMessageTemplates(request *model.ListMessageTemplatesRequest) (*model.ListMessageTemplatesResponse, error)
ListMessageTemplates 查询消息模板列表
分页查询模板列表,模板列表按照创建时间进行升序排列。分页查询可以指定offset以及limit。如果不存在模板,则返回空列表。额外的查询参数分别有message_template_name和protocol。
Please refer to HUAWEI cloud API Explorer for details.
func (*SmnClient) ListMessageTemplatesInvoker ¶ added in v0.0.90
func (c *SmnClient) ListMessageTemplatesInvoker(request *model.ListMessageTemplatesRequest) *ListMessageTemplatesInvoker
ListMessageTemplatesInvoker 查询消息模板列表
func (*SmnClient) ListProjectTags ¶
func (c *SmnClient) ListProjectTags(request *model.ListProjectTagsRequest) (*model.ListProjectTagsResponse, error)
ListProjectTags 查询项目标签
查询租户在指定Region和实例类型的所有标签集合。
Please refer to HUAWEI cloud API Explorer for details.
func (*SmnClient) ListProjectTagsInvoker ¶ added in v0.0.90
func (c *SmnClient) ListProjectTagsInvoker(request *model.ListProjectTagsRequest) *ListProjectTagsInvoker
ListProjectTagsInvoker 查询项目标签
func (*SmnClient) ListResourceInstances ¶
func (c *SmnClient) ListResourceInstances(request *model.ListResourceInstancesRequest) (*model.ListResourceInstancesResponse, error)
ListResourceInstances 查询资源实例
使用标签过滤实例。
Please refer to HUAWEI cloud API Explorer for details.
func (*SmnClient) ListResourceInstancesInvoker ¶ added in v0.0.90
func (c *SmnClient) ListResourceInstancesInvoker(request *model.ListResourceInstancesRequest) *ListResourceInstancesInvoker
ListResourceInstancesInvoker 查询资源实例
func (*SmnClient) ListResourceTags ¶
func (c *SmnClient) ListResourceTags(request *model.ListResourceTagsRequest) (*model.ListResourceTagsResponse, error)
ListResourceTags 查询资源标签
查询指定实例的标签信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*SmnClient) ListResourceTagsInvoker ¶ added in v0.0.90
func (c *SmnClient) ListResourceTagsInvoker(request *model.ListResourceTagsRequest) *ListResourceTagsInvoker
ListResourceTagsInvoker 查询资源标签
func (*SmnClient) ListSubscriptions ¶
func (c *SmnClient) ListSubscriptions(request *model.ListSubscriptionsRequest) (*model.ListSubscriptionsResponse, error)
ListSubscriptions 查询订阅者列表
分页返回请求者的所有的订阅列表,订阅列表按照订阅创建时间进行升序排列。分页查询可以指定offset以及limit。如果订阅者不存在,返回空列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*SmnClient) ListSubscriptionsByTopic ¶
func (c *SmnClient) ListSubscriptionsByTopic(request *model.ListSubscriptionsByTopicRequest) (*model.ListSubscriptionsByTopicResponse, error)
ListSubscriptionsByTopic 查询指定Topic的订阅者列表
分页获取特定Topic的订阅列表,订阅列表按照订阅创建时间进行升序排列。分页查询可以指定offset以及limit。如果指定Topic不存在订阅者,返回空列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*SmnClient) ListSubscriptionsByTopicInvoker ¶ added in v0.0.90
func (c *SmnClient) ListSubscriptionsByTopicInvoker(request *model.ListSubscriptionsByTopicRequest) *ListSubscriptionsByTopicInvoker
ListSubscriptionsByTopicInvoker 查询指定Topic的订阅者列表
func (*SmnClient) ListSubscriptionsInvoker ¶ added in v0.0.90
func (c *SmnClient) ListSubscriptionsInvoker(request *model.ListSubscriptionsRequest) *ListSubscriptionsInvoker
ListSubscriptionsInvoker 查询订阅者列表
func (*SmnClient) ListTopicAttributes ¶
func (c *SmnClient) ListTopicAttributes(request *model.ListTopicAttributesRequest) (*model.ListTopicAttributesResponse, error)
ListTopicAttributes 查询主题策略
查询主题的策略信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*SmnClient) ListTopicAttributesInvoker ¶ added in v0.0.90
func (c *SmnClient) ListTopicAttributesInvoker(request *model.ListTopicAttributesRequest) *ListTopicAttributesInvoker
ListTopicAttributesInvoker 查询主题策略
func (*SmnClient) ListTopicDetails ¶
func (c *SmnClient) ListTopicDetails(request *model.ListTopicDetailsRequest) (*model.ListTopicDetailsResponse, error)
ListTopicDetails 查询主题详情
查询Topic的详细信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*SmnClient) ListTopicDetailsInvoker ¶ added in v0.0.90
func (c *SmnClient) ListTopicDetailsInvoker(request *model.ListTopicDetailsRequest) *ListTopicDetailsInvoker
ListTopicDetailsInvoker 查询主题详情
func (*SmnClient) ListTopics ¶
func (c *SmnClient) ListTopics(request *model.ListTopicsRequest) (*model.ListTopicsResponse, error)
ListTopics 查询主题列表
分页查询Topic列表,Topic列表按照Topic创建时间进行降序排列。分页查询可以指定offset以及limit。如果不存在Topic,则返回空列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*SmnClient) ListTopicsInvoker ¶ added in v0.0.90
func (c *SmnClient) ListTopicsInvoker(request *model.ListTopicsRequest) *ListTopicsInvoker
ListTopicsInvoker 查询主题列表
func (*SmnClient) ListVersion ¶
func (c *SmnClient) ListVersion(request *model.ListVersionRequest) (*model.ListVersionResponse, error)
ListVersion 查询SMN API V2版本信息
查询SMN API V2版本信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*SmnClient) ListVersionInvoker ¶ added in v0.0.90
func (c *SmnClient) ListVersionInvoker(request *model.ListVersionRequest) *ListVersionInvoker
ListVersionInvoker 查询SMN API V2版本信息
func (*SmnClient) ListVersions ¶
func (c *SmnClient) ListVersions(request *model.ListVersionsRequest) (*model.ListVersionsResponse, error)
ListVersions 查询SMN支持的API版本号信息
查询SMN开放API支持的版本号。
Please refer to HUAWEI cloud API Explorer for details.
func (*SmnClient) ListVersionsInvoker ¶ added in v0.0.90
func (c *SmnClient) ListVersionsInvoker(request *model.ListVersionsRequest) *ListVersionsInvoker
ListVersionsInvoker 查询SMN支持的API版本号信息
func (*SmnClient) PublishAppMessage ¶
func (c *SmnClient) PublishAppMessage(request *model.PublishAppMessageRequest) (*model.PublishAppMessageResponse, error)
PublishAppMessage App消息发布
将消息直发给endpoint设备。
Please refer to HUAWEI cloud API Explorer for details.
func (*SmnClient) PublishAppMessageInvoker ¶ added in v0.0.90
func (c *SmnClient) PublishAppMessageInvoker(request *model.PublishAppMessageRequest) *PublishAppMessageInvoker
PublishAppMessageInvoker App消息发布
func (*SmnClient) PublishMessage ¶
func (c *SmnClient) PublishMessage(request *model.PublishMessageRequest) (*model.PublishMessageResponse, error)
PublishMessage 消息发布
将消息发送给Topic的所有订阅端点。当返回消息ID时,该消息已被保存并开始尝试将其推送给Topic的订阅者。三种消息发送方式
message
message_structure
message_template_name
只需要设置其中一个,如果同时设置,生效的优先级为 message_structure > message_template_name > message。
Please refer to HUAWEI cloud API Explorer for details.
func (*SmnClient) PublishMessageInvoker ¶ added in v0.0.90
func (c *SmnClient) PublishMessageInvoker(request *model.PublishMessageRequest) *PublishMessageInvoker
PublishMessageInvoker 消息发布
func (*SmnClient) UpdateApplication ¶
func (c *SmnClient) UpdateApplication(request *model.UpdateApplicationRequest) (*model.UpdateApplicationResponse, error)
UpdateApplication 更新Application
更新应用平台。
Please refer to HUAWEI cloud API Explorer for details.
func (*SmnClient) UpdateApplicationEndpoint ¶
func (c *SmnClient) UpdateApplicationEndpoint(request *model.UpdateApplicationEndpointRequest) (*model.UpdateApplicationEndpointResponse, error)
UpdateApplicationEndpoint 更新Application endpoint
更新设备属性。
Please refer to HUAWEI cloud API Explorer for details.
func (*SmnClient) UpdateApplicationEndpointInvoker ¶ added in v0.0.90
func (c *SmnClient) UpdateApplicationEndpointInvoker(request *model.UpdateApplicationEndpointRequest) *UpdateApplicationEndpointInvoker
UpdateApplicationEndpointInvoker 更新Application endpoint
func (*SmnClient) UpdateApplicationInvoker ¶ added in v0.0.90
func (c *SmnClient) UpdateApplicationInvoker(request *model.UpdateApplicationRequest) *UpdateApplicationInvoker
UpdateApplicationInvoker 更新Application
func (*SmnClient) UpdateMessageTemplate ¶
func (c *SmnClient) UpdateMessageTemplate(request *model.UpdateMessageTemplateRequest) (*model.UpdateMessageTemplateResponse, error)
UpdateMessageTemplate 更新消息模板
修改消息模板的内容。
Please refer to HUAWEI cloud API Explorer for details.
func (*SmnClient) UpdateMessageTemplateInvoker ¶ added in v0.0.90
func (c *SmnClient) UpdateMessageTemplateInvoker(request *model.UpdateMessageTemplateRequest) *UpdateMessageTemplateInvoker
UpdateMessageTemplateInvoker 更新消息模板
func (*SmnClient) UpdateTopic ¶
func (c *SmnClient) UpdateTopic(request *model.UpdateTopicRequest) (*model.UpdateTopicResponse, error)
UpdateTopic 更新主题
更新显示名。
Please refer to HUAWEI cloud API Explorer for details.
func (*SmnClient) UpdateTopicAttribute ¶
func (c *SmnClient) UpdateTopicAttribute(request *model.UpdateTopicAttributeRequest) (*model.UpdateTopicAttributeResponse, error)
UpdateTopicAttribute 更新主题策略
更新主题的策略信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*SmnClient) UpdateTopicAttributeInvoker ¶ added in v0.0.90
func (c *SmnClient) UpdateTopicAttributeInvoker(request *model.UpdateTopicAttributeRequest) *UpdateTopicAttributeInvoker
UpdateTopicAttributeInvoker 更新主题策略
func (*SmnClient) UpdateTopicInvoker ¶ added in v0.0.90
func (c *SmnClient) UpdateTopicInvoker(request *model.UpdateTopicRequest) *UpdateTopicInvoker
UpdateTopicInvoker 更新主题
type UpdateApplicationEndpointInvoker ¶ added in v0.0.90
type UpdateApplicationEndpointInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateApplicationEndpointInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateApplicationEndpointInvoker) Invoke() (*model.UpdateApplicationEndpointResponse, error)
type UpdateApplicationInvoker ¶ added in v0.0.90
type UpdateApplicationInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateApplicationInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateApplicationInvoker) Invoke() (*model.UpdateApplicationResponse, error)
type UpdateMessageTemplateInvoker ¶ added in v0.0.90
type UpdateMessageTemplateInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateMessageTemplateInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateMessageTemplateInvoker) Invoke() (*model.UpdateMessageTemplateResponse, error)
type UpdateTopicAttributeInvoker ¶ added in v0.0.90
type UpdateTopicAttributeInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateTopicAttributeInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateTopicAttributeInvoker) Invoke() (*model.UpdateTopicAttributeResponse, error)
type UpdateTopicInvoker ¶ added in v0.0.90
type UpdateTopicInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateTopicInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateTopicInvoker) Invoke() (*model.UpdateTopicResponse, error)