從 Amazon RDS 事件通知訂閱移除來源識別碼 - Amazon Relational Database Service

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

從 Amazon RDS 事件通知訂閱移除來源識別碼

如果您不想再收到有關該RDS來源的事件通知,可以從訂閱中移除來源識別碼 (產生事件的 Amazon 來源)。

您可以在修改訂閱時選取或取消選取來源識別碼,使用 Amazon RDS 主控台輕鬆新增或移除來源識別碼。如需詳細資訊,請參閱修改 Amazon RDS 事件通知訂閱

若要從 Amazon RDS 事件通知訂閱移除來源識別碼,請使用 AWS CLI remove-source-identifier-from-subscription指令。包含下列必要參數:

  • --subscription-name

  • --source-identifier

範例

下列範例將來源識別碼 mysqldbmyrdseventsubscription 訂閱中移除。

對於LinuxmacOS、或Unix:

aws rds remove-source-identifier-from-subscription \ --subscription-name myrdseventsubscription \ --source-identifier mysqldb

在 Windows 中:

aws rds remove-source-identifier-from-subscription ^ --subscription-name myrdseventsubscription ^ --source-identifier mysqldb

若要從 Amazon RDS 事件通知訂閱中移除來源識別碼,請使用 Amazon RDS API RemoveSourceIdentifierFromSubscription指令。包含下列必要參數:

  • SubscriptionName

  • SourceIdentifier