

# Amazon RDS イベント通知サブスクリプションを変更する
<a name="USER_Events.Modifying"></a>

サブスクリプションを作成すると、サブスクリプション名、ソース識別子、カテゴリ、トピック ARN を変更できます。

## コンソール
<a name="USER_Events.Modifying.Console"></a>

**Amazon RDS イベント通知サブスクリプションを変更するには**

1. AWS マネジメントコンソール にサインインし、Amazon RDS コンソール ([https://console.aws.amazon.com/rds/](https://console.aws.amazon.com/rds/)) を開きます。

1.  ナビゲーションペインで、[**イベントサブスクリプション**] を選択します。

1.  [**イベントサブスクリプション**] ペインで、変更するサブスクリプションを選択し、[**編集**] をクリックします。

1.  [**ターゲット**] セクションまたは [**ソース**] セクションのいずれかでサブスクリプションを変更します。

1. [**編集**] を選択します。Amazon RDS コンソールでは、サブスクリプションが変更されることが示されます。  
![\[DB イベント通知サブスクリプションのリスト\]](http://docs.aws.amazon.com/ja_jp/AmazonRDS/latest/UserGuide/images/EventNotification-Modify2.png)

   

## AWS CLI
<a name="USER_Events.Modifying.CLI"></a>

Amazon RDS イベント通知サブスクリプションを変更するには、AWS CLI の [https://docs.aws.amazon.com/cli/latest/reference/rds/modify-event-subscription.html](https://docs.aws.amazon.com/cli/latest/reference/rds/modify-event-subscription.html) コマンドを使用します。以下の必須パラメータを含めます。
+ `--subscription-name`

**Example**  
次のコードで `myeventsubscription` を有効にします。  
Linux、macOS、Unix の場合:  

```
aws rds modify-event-subscription \
    --subscription-name myeventsubscription \
    --enabled
```
Windows の場合:  

```
aws rds modify-event-subscription ^
    --subscription-name myeventsubscription ^
    --enabled
```

## API
<a name="USER_Events.Modifying.API"></a>

Amazon RDS イベントを変更するには、Amazon RDS API オペレーション [https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_ModifyEventSubscription.html](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_ModifyEventSubscription.html) を呼び出します。以下の必須パラメータを含めます。
+ `SubscriptionName`