

# Amazon RDS 이벤트 알림 구독에서 소스 식별자 제거
<a name="USER_Events.RemovingSource"></a>

임의 소스의 이벤트 알림 메시지를 더 이상 받고 싶지 않을 때는 소스 식별자(이벤트를 발생시키는 Amazon RDS 소스)를 구독에서 제거할 수 있습니다.

## 콘솔
<a name="USER_Events.RemovingSource.Console"></a>

소스 식별자는 Amazon RDS 콘솔에서 구독 관련 설정을 변경하면서 선택 또는 선택 해제를 통해 쉽게 추가하거나 제거할 수 있습니다. 자세한 내용은 [Amazon RDS 이벤트 알림 구독 수정](USER_Events.Modifying.md) 섹션을 참조하세요.

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

Amazon RDS 이벤트 알림 구독에서 소스 식별자를 제거하려면 AWS CLI [https://docs.aws.amazon.com/cli/latest/reference/rds/remove-source-identifier-from-subscription.html](https://docs.aws.amazon.com/cli/latest/reference/rds/remove-source-identifier-from-subscription.html) 명령을 사용합니다. 다음 필수 파라미터를 포함합니다.
+ `--subscription-name`
+ `--source-identifier`

**Example**  
다음 예제에서는 `mysqldb` 구독에서 소스 식별자 `myrdseventsubscription`를 제거합니다.  
대상 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
```

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

Amazon RDS 이벤트 알림 구독에서 소스 식별자를 제거하려면 Amazon RDS API [https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_RemoveSourceIdentifierFromSubscription.html](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_RemoveSourceIdentifierFromSubscription.html) 명령을 사용합니다. 다음 필수 파라미터를 포함합니다.
+ `SubscriptionName`
+ `SourceIdentifier`