Updated on 2025-05-08 GMT+08:00

SMN

The SMN connector allows you to efficiently send messages to phone numbers, email addresses, and applications via Huawei Cloud Simple Message Notification (SMN).

Creating an SMN Connection

  1. Log in to the new ROMA Connect console.
  2. In the navigation pane on the left, choose Connector. On the page displayed, click New Connection.
  3. Select the SMN connector.
  4. In the dialog box displayed, configure the connector and click OK.

    Parameter

    Description

    Name

    Enter the connector instance name.

    Authenticated By

    Select an authentication mode for the connector.

    • Cloud service agency. For details, see Cloud Service Delegation.

      Dependencies

      smn:topic:list

      smn:template:create

      smn:template:list

      smn:topic:publish

    • AK/SK

    Access Key

    Mandatory when Authentication Mode is set to AK/SK.

    Access key ID (AK) of the current account. Obtain the AK by referring to Access Keys. If an AK/SK pair has been generated, find the downloaded AK/SK file (such as credentials.csv).

    Secret Access Key

    Mandatory when Authentication Mode is set to AK/SK.

    Secret access key (SK) of the current account. Obtain the SK by referring to Access Keys. If an AK/SK pair has been generated, find the downloaded AK/SK file (such as credentials.csv).

    Description

    Enter the description of the connector to identify it.

Action

  • Publishing a message with template
  • Publishing a text message

Configuring Parameters

Table 1 Publishing a message with template

Parameter

Description

Region

Region where the SMN service resides.

Project

Project to which the SMN service belongs.

Topic

The SMN topic, which stores a specific type of events for message publishing and subscription.

Message Subject

The email subject when emails are sent to subscribers.

Template

The SMN template, which specifies a fixed message format. When publishing a message using a template, set relevant parameters in the template.

Table 2 Publishing a text message

Parameter

Description

Region

Region where the SMN service resides.

Project

Project to which the SMN service belongs.

Topic

The SMN topic, which stores a specific type of events for message publishing and subscription.

Message Subject

The email subject when emails are sent to subscribers.

Message Content

Message body sent to the subscriber.