

지원 종료 알림: 2025년 12월 15일에 AWS 에 대한 지원이 종료됩니다 AWS IoT 분석. 2025년 12월 15일 이후에는 AWS IoT 분석 콘솔 또는 AWS IoT 분석 리소스에 더 이상 액세스할 수 없습니다. 자세한 내용은 [AWS IoT 분석 지원 종료를 참조하세요](https://docs.aws.amazon.com/iotanalytics/latest/userguide/iotanalytics-end-of-support.html).

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

# RemoveAttributes 활동
<a name="pipeline-activities.removeattributes"></a>

`removeAttributes` 활동은 메시지에서 속성을 제거합니다. 예를 들어 `addAttributes` 활동의 결과인 메시지가 있다고 가정합니다.

```
{
    "device": {
        "id": "device-123",
        "coord": [ 47.6, -122.3 ]
    },
    "id": "device-123",
    "lat": 47.6,
    "lon": -122.3
}
```

루트 수준에 필요한 데이터만을 포함하도록 메시지를 정규화하려면 다음 `removeAttributes` 활동을 사용합니다.

```
{
    "removeAttributes": {
        "name": "MyRemoveAttributesActivity",
        "attributes": [
            "device"
        ],
        "next": "MyDatastoreActivity"
    }
}
```

그러면 파이프라인을 따라 다음 메시지가 이동합니다.

```
{
    "id": "device-123",
    "lat": 47.6,
    "lon": -122.3
}
```