

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

# 에서 로깅 및 모니터링 AWS Data Exchange
<a name="logging-and-monitoring"></a>

모니터링은 AWS Data Exchange의 구조화가 잘 된 특성 중 중요한 부분입니다. 다중 지점 장애가 발생할 경우 보다 쉽게 디버깅할 수 있도록 AWS 솔루션의 각 부분에서 모니터링 데이터를 수집해야 합니다.는에서 리소스 및 활동을 모니터링 AWS Data Exchange 하기 위한 여러 도구를 AWS 제공하여 잠재적 인시던트를 계획하고 대응할 수 있도록 합니다.

의 작업 및 이벤트 로깅은 Amazon CloudWatch와의 통합을 통해 AWS Data Exchange 수행됩니다.

다음 섹션에서는 모니터링 및 로그인에 대해 설명합니다 AWS Data Exchange.

**Topics**
+ [모니터링 AWS Data Exchange](monitoring-overview.md)
+ [에 대한 Amazon EventBridge 이벤트 AWS Data Exchange](cloudwatch-events.md)
+ [AWS AWS Data Exchange 이벤트에 대한 사용자 알림](user-notifications.md)
+ [를 사용하여 AWS Data Exchange API 호출 로깅 AWS CloudTrail](logging-api-calls-with-cloudtrail.md)
+ [AWS Data Exchange CloudTrail 로깅의 향후 변경 사항](upcoming-changes-in-cloudtrail-logging.md)

# 모니터링 AWS Data Exchange
<a name="monitoring-overview"></a>

모니터링은 AWS Data Exchange 및 기타 AWS 솔루션의 안정성, 가용성 및 성능을 유지하는 데 중요한 부분입니다.는 다음과 같은 모니터링 도구를 AWS 제공하여 모니터링 AWS Data Exchange, 보고 및 이상이 있을 때 이를 모니터링하고, 적절한 경우 자동 조치를 취합니다.
+ Amazon CloudWatch Events는 AWS 리소스의 변경 사항을 설명하는 시스템 이벤트의 스트림을 거의 실시간으로 제공합니다. CloudWatch Events는 자동화된 이벤트 중심 컴퓨팅을 지원합니다. 특정 이벤트를 감시하고 이러한 이벤트가 발생할 때 다른 AWS 서비스에서 자동화된 작업으로 응답하는 규칙을 작성할 수 있습니다. 자세한 내용은 [Amazon CloudWatch Events 사용 설명서](https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/)를 참조하세요.
+ Amazon CloudWatch Logs를 사용하면 Amazon Elastic Compute Cloud(Amazon EC2) 인스턴스 및 기타 소스에서 로그 파일을 모니터링 AWS CloudTrail, 저장 및 액세스할 수 있습니다. CloudWatch Logs는 로그 파일의 정보를 모니터링하고 특정 임곗값에 도달하면 사용자에게 알릴 수 있습니다. 또한 매우 내구력 있는 스토리지에 로그 데이터를 저장할 수 있습니다. 자세한 내용은 [Amazon CloudWatch Logs 사용 설명서](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/)를 참조하세요.
+ CloudTrail은에 의해 또는를 대신하여 수행된 API 호출 및 관련 이벤트를 캡처 AWS 계정 하고 사용자가 지정한 Amazon Simple Storage Service(Amazon S3) 버킷으로 로그 파일을 전송합니다. 호출한 사용자 및 계정 AWS, 호출이 수행된 소스 IP 주소, 호출이 발생한 시기를 식별할 수 있습니다.

# 에 대한 Amazon EventBridge 이벤트 AWS Data Exchange
<a name="cloudwatch-events"></a>

AWS Data Exchange 는 이전에 Amazon CloudWatch Events라고 했던 Amazon EventBridge와 통합됩니다. EventBridge는 애플리케이션을 다양한 소스의 데이터와 연결하는 데 사용할 수 있는 이벤트 버스 서비스입니다. 자세한 내용은 [https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-what-is.html](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-what-is.html)Amazon EventBridge 사용 설명서를 참조하세요.

제품에 대한 활성 구독이 있는 구독자는 공급자가 새 개정을 게시하거나 기존 제품에 새 데이터 세트를 추가할 AWS Data Exchange 때마다에서 *이벤트를* 수신합니다. 이벤트에는 `DataSetId`과 게시된 `RevisionIds` 목록이 포함됩니다.

제공자는 데이터 업데이트, 데이터 지연, 스키마 변경 및 지원 중단에 해당하는 알림을 보낼 수 있습니다. 제공업체에게는 구독자가 지켜야할 의견과 기대 행동을 포함한 옵션이 있습니다. 구독자는 Amazon EventBridge에서 이러한 알림을 이벤트로 수신하며, 이를 사용하여 자동화된 워크플로를 구축하거나 사용자 알림을 사용하여 [AWS 사람이 읽을 수 있는 알림을 이메일 및 채팅 프로그램에 전달할 수 있습니다](https://docs.aws.amazon.com/notifications/latest/userguide/what-is-service.html).

데이터 제품 관련 이벤트는 공급자 AWS 리전 가 데이터 세트를 게시한에서 내보내집니다. 동일한에서 이러한 이벤트를 사용하는 EventBridge 규칙을 설정 AWS 리전 하거나 [에서 Amazon EventBridge 이벤트 전송 및 수신 AWS 리전](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-cross-region.html)을 참조하여 추가 옵션을 확인해야 합니다.

이 주제는 다음 표에 나열된 각 이벤트에 대한 자세한 정보를 제공합니다. 이 표에는 공급자가 제품에 데이터 세트를 추가하거나, 제품에 수정 버전을 추가하거나, 제품에 대한 수정 버전을 취소하거나, 제품에 대한 액세스 권한을 제거할 때 구독자가 받는 이벤트가 포함되어 있습니다.


****  

| 작업 | 이벤트 수신 | 관련 주제: | 
| --- | --- | --- | 
| 제품에 파일 기반 데이터 세트를 추가하고 게시합니다. | Data Sets Published To Product | [파일 기반 데이터 세트 추가 이벤트](#events-add-data-sets) | 
| Amazon S3 데이터 액세스 데이터 세트를 제품에 추가하고 게시합니다. | Amazon S3 Data Access Data Sets Published To Product | [Amazon S3 데이터 액세스 데이터 세트 추가 이벤트](#events-add-s3-data-access-data-sets) | 
|  AWS Lake Formation 데이터 권한 데이터 세트를 추가하고 게시합니다. | AWS Lake Formation Data Permission Data Set Published To Product | [AWS Lake Formation 데이터 권한 데이터 세트를 추가하기 위한 이벤트](#events-add-LF-data-sets) | 
| Amazon Redshift 데이터 액세스 데이터 세트를 제품에 추가하고 게시합니다. | Redshift Data Shares Data Sets Published To Product | [Amazon Redshift 데이터 공유 데이터 세트 추가 이벤트](#events-add-RS-data-sets) | 
| Amazon API Gateway 데이터 액세스 데이터 세트를 제품에 추가하고 게시합니다. | API Gateway API Data Sets Published To Product | [Amazon API Gateway API 데이터 세트를 추가 이벤트](#events-add-api-gateway-api-data-sets) | 
| 제품에 파일 기반 데이터 세트 개정을 추가하고 게시합니다. | Revision Published To Data Set | [개정 추가 이벤트](#events-add-revisions) | 
| Amazon S3 데이터 액세스 데이터 세트 개정을 제품에 추가하고 게시합니다. | Revision Published to Amazon S3 Data Access Data Set | [Amazon S3 데이터 액세스 데이터 세트 개정 추가 이벤트](#events-add-s3-revisions) | 
| 제품에 AWS Lake Formation 데이터 권한 데이터 세트 개정을 추가하고 게시합니다. | Revision Published To Lake Formation Data Permission Data Set | [AWS Lake Formation 데이터 권한 데이터 세트 개정 추가 이벤트(미리 보기)](#events-add-LF-revision) | 
| Amazon Redshift 데이터 공유 데이터 세트 개정을 제품에 추가하고 게시합니다. | Revision Published To Redshift Data Shares Data Set | [Amazon Redshift 데이터 공유 데이터 세트 개정 추가 이벤트](#events-add-RS-revision) | 
| Amazon API Gateway 데이터 세트 개정을 제품에 추가하고 게시합니다. | Revision Published To API Gateway API Data Set | [Amazon API Gateway API 데이터 세트 개정 추가 이벤트](#events-add-api-gateway-api-data-sets-revisions) | 
| 제품 개정을 취소합니다. | Revision Revoked | [개정 취소 이벤트](#events-revoke-revisions) | 
| 구독자의 액세스 권한 제거를 할 수 있는 Amazon Redshift 리소스에 대한 작업을 수행합니다. | Action Performed On Redshift Data Share By Provider | [Amazon Redshift 리소스에서 수행된 작업에 대한 이벤트](#events-RS-action) | 
| 구독자의 액세스 권한 제거를 할 수 있는 Amazon Redshift 리소스에 대한 작업을 수행합니다. | Redshift Data Share Access Lost | [Amazon Redshift 데이터 공유에 대한 액세스 권한 상실로 인한 이벤트](#events-RS-lost-access) | 
| 데이터 업데이트에 대한 알림을 보냅니다. | Data Updated in Data Set | [제공자가 생성한 데이터 업데이트 알림 이벤트](#events-provider-generated-notification-of-data-update) | 
| 스키마 변경에 대한 알림을 보냅니다. | Schema Change Planned for Data Set | [제공자가 생성한 스키마 변경 알림 이벤트](#events-provider-generated-notification-of-schema-change) | 
| 데이터 지연에 대한 알림을 보냅니다. | Data Set Update Delayed | [제공자가 생성한 데이터 지연 알림 이벤트](#events-provider-generated-notification-of-data-delay) | 
| 데이터 지원 중단에 대한 알림을 보냅니다. | Deprecation Planned for Data Set | [제공자가 생성한 데이터 사용 중단 알림 이벤트](#events-provider-generated-notification-of-data-deprecation) | 
| 데이터 소비자가 데이터 권한을 수락할 때 이벤트를 보냅니다. | Data Grant Accepted | [데이터 권한 부여를 수락하기 위한 이벤트](#data-grant-accepted-event) | 
| 데이터 생산자가 데이터 권한을 확장할 때 이벤트를 보냅니다. | Data Grant Extended | [데이터 권한 부여를 확장하기 위한 이벤트](#data-grant-extended-event) | 
| 데이터 생산자가 데이터 권한을 취소할 때 이벤트를 보냅니다. | Data Grant Revoked | [데이터 권한 부여 취소 이벤트](#data-grant-revoked-event) | 
| 자동 내보내기 작업 완료 | Auto-export Job Completed | [자동 내보내기 작업 완료 이벤트](#events-auto-export-job-complete) | 
| 자동 내보내기 작업 실패 | Auto-export Job Failed | [자동 내보내기 작업 실패 이벤트](#events-auto-export-job-failed) | 

**참고**  
AWS Data Exchange 는 최대한 이벤트를 내보냅니다. 이벤트 전송에 대한 자세한 내용은 [이벤트를 참조하세요 AWS 서비스](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-service-event.html).

## 파일 기반 데이터 세트 추가 이벤트
<a name="events-add-data-sets"></a>

공급자가 제품에 파일 기반 데이터 세트를 추가하고 게시하면 구독자는 `Data Sets Published To Product` 세부 정보 유형의 이벤트를 수신합니다.

다음 예제에서는 세부 정보 유형의 이벤트 본문을 보여줍니다.

```
{
    "version": "0",
    "id": "dc529cb6-2e23-4c5f-d020-EXAMPLE92231",
    "detail-type": "Data Sets Published To Product",
    "source": "aws.dataexchange",
    "account": "123456789012",
    "time": "2020-07-29T18:24:04Z",
    "region": "us-east-1",
    "resources":  [
        "prod-uEXAMPLEabc1d" 
    ],
    "detail":  {
        "DataSetIds":  [
            "4afc623EXAMPLE099e6fcc8EXAMPLEe8",
            "5bgd734EXAMPLE100f7gdd9EXAMPLEe9" 
        ],
        "DataSets": [
            {
               "Id" : "4afc623EXAMPLE099e6fcc8EXAMPLEe8",
               "Name": "Data_Set_Hello_World_One"
            },
            {
               "Id" : "5bgd734EXAMPLE100f7gdd9EXAMPLEe9",
               "Name": "Data_Set_Hello_World_Two"
            }
        ],
        "Product":  
         { 
            "Id" : "prod-uEXAMPLEabc1d",
            "Name": "Product_Hello_World"
         }
    }
}
```

## Amazon S3 데이터 액세스 데이터 세트 추가 이벤트
<a name="events-add-s3-data-access-data-sets"></a>

제공자가 제품에 Amazon S3 데이터 액세스 데이터 세트를 추가하고 게시하면 구독자는 다음과 같은 세부 유형의 이벤트`Amazon S3 Data Access Data Set(s) Published To Product`를 수신합니다.

다음 예제에서는 세부 정보 유형의 이벤트 본문을 보여줍니다.

```
{
	"version": "0",
	"id": "dc529cb6-2e23-4c5f-d020-EXAMPLE92231",
	"detail-type": "S3 Data Access Data Set(s) Published to Product",
	"source": "aws.dataexchange",
	"account": "123456789012",
	"time": "2020-07-29T18:24:04Z",
	"region": "us-east-1",
	"resources": [
		"prod-uEXAMPLEabc1d"
	],
	"detail": {
		"DataSetIds": [
			"4afc623EXAMPLE099e6fcc8EXAMPLEe8",
			"5bgd734EXAMPLE100f7gdd9EXAMPLEe9"
		],
		"DataSets": [{
				"Id": "4afc623EXAMPLE099e6fcc8EXAMPLEe8",
				"Name": "Data_Set_Hello_World_One"
			},
			{
				"Id": "5bgd734EXAMPLE100f7gdd9EXAMPLEe9",
				"Name": "Data_Set_Hello_World_Two"
			}
		],
		"Product": {
			"Id": "prod-uEXAMPLEabc1d",
			"Name": "Product_Hello_World"
		}
	}
}
```

## AWS Lake Formation 데이터 권한 데이터 세트를 추가하기 위한 이벤트
<a name="events-add-LF-data-sets"></a>

공급자가 제품에 AWS Lake Formation 데이터 권한 데이터 세트를 추가하고 게시하면 구독자는 `Lake Formation Data Permission Data Sets Published To Product` 세부 정보 유형의 이벤트를 수신합니다.

다음 예제에서는 세부 정보 유형의 이벤트 본문을 보여줍니다.

```
{
    "version": "0",
    "id": "dc529cb6-2e23-4c5f-d020-EXAMPLE92231",
    "detail-type": "Lake Formation Data Permission Data Sets Published To Product",
    "source": "aws.dataexchange",
    "account": "123456789012",
    "time": "2021-12-15T18:24:04Z",
    "region": "us-east-1",
    "resources": [
        "prod-uEXAMPLEabc1d"
    ],
    "detail": {
        "DataSetIds": [
            "4afc623EXAMPLE099e6fcc8EXAMPLEe8",
            "5bgd734EXAMPLE100f7gdd9EXAMPLEe9"
        ],
        "DataSets": [
            {
                "Id": "4afc623EXAMPLE099e6fcc8EXAMPLEe8",
                "Name": "Data_Set_Hello_World_One"
            },
            {
                "Id": "5bgd734EXAMPLE100f7gdd9EXAMPLEe9",
                "Name": "Data_Set_Hello_World_Two"
            }
        ],
        "Product": {
            "Id": "prod-uEXAMPLEabc1d",
            "Name": "Product_Hello_World"
        }
    }
}
```

## Amazon Redshift 데이터 공유 데이터 세트 추가 이벤트
<a name="events-add-RS-data-sets"></a>

공급자가 Amazon Redshift 데이터 공유 데이터 세트를 제품에 추가하고 게시하면 구독자는 `Redshift Data Shares Data Sets Published To Product` 세부 정보 유형의 이벤트를 수신합니다.

다음 예제에서는 세부 정보 유형의 이벤트 본문을 보여줍니다.

```
{
    "version": "0",
    "id": "dc529cb6-2e23-4c5f-d020-EXAMPLE92231",
    "detail-type": "Redshift Data Shares Data Sets Published To Product",
    "source": "aws.dataexchange",
    "account": "123456789012",
    "time": "2021-12-15T18:24:04Z",
    "region": "us-east-1",
    "resources":  [
        "prod-uEXAMPLEabc1d" 
    ],
    "detail":  {
        "DataSetIds":  [
            "4afc623EXAMPLE099e6fcc8EXAMPLEe8",
            "5bgd734EXAMPLE100f7gdd9EXAMPLEe9" 
        ],
        "DataSets": [
            {
               "Id" : "4afc623EXAMPLE099e6fcc8EXAMPLEe8",
               "Name": "Data_Set_Hello_World_One"
            },
            {
               "Id" : "5bgd734EXAMPLE100f7gdd9EXAMPLEe9",
               "Name": "Data_Set_Hello_World_Two"
            }
        ],
        "Product":  
        { 
            "Id" : "prod-uEXAMPLEabc1d",
            "Name": "Product_Hello_World"
        } 
        
    }
}
```

## Amazon API Gateway API 데이터 세트를 추가 이벤트
<a name="events-add-api-gateway-api-data-sets"></a>

공급자가 Amazon API Gateway API 데이터 세트를 제품에 추가하고 게시하면 구독자는 `Amazon API Gateway Data Sets Published To Product` 세부 정보 유형의 이벤트를 수신합니다.

다음 예제에서는 세부 정보 유형의 이벤트 본문을 보여줍니다.

```
{
    "version": "0",
    "id": "dc529cb6-2e23-4c5f-d020-EXAMPLE92231",
    "detail-type": "API Gateway API Data Sets Published To Product",
    "source": "aws.dataexchange",
    "account": "123456789012",
    "time": "2021-12-15T18:24:04Z",
    "region": "us-east-1",
    "resources":  [
        "prod-uEXAMPLEabc1d" 
    ],
    "detail":  {
        "DataSetIds":  [
            "4afc623EXAMPLE099e6fcc8EXAMPLEe8",
            "5bgd734EXAMPLE100f7gdd9EXAMPLEe9" 
        ],
        "DataSets":  [
            {
                "Id" : "4afc623EXAMPLE099e6fcc8EXAMPLEe8",
                "Name": "Data_Set_Hello_World_One" 
            },
            {
                "Id" : "5bgd734EXAMPLE100f7gdd9EXAMPLEe9",
                "Name": "Data_Set_Hello_World_Two" 
            }
        ],
        "Product":  {
            "Id" : "prod-uEXAMPLEabc1d",
            "Name": "Product_Hello_World" 
        }
    }
}
```

## 개정 추가 이벤트
<a name="events-add-revisions"></a>

공급자가 제품에 데이터 세트를 추가하고 게시하면 구독자는 `Revision Published To Data Set` 세부 정보 유형의 이벤트를 수신합니다.

다음 예제에서는 세부 정보 유형의 이벤트 본문을 보여줍니다.

```
{
    "version": "0",
    "id": "dc529cb6-2e23-4c5f-d020-EXAMPLE92231",
    "detail-type": "Revision Published To Data Set",
    "source": "aws.dataexchange",
    "account": "123456789012",
    "time": "2020-07-29T04:16:28Z",
    "region": "us-east-1",
    "resources":  [
        "aae4c2cdEXAMPLE54f9369dEXAMPLE66" 
    ],
    "detail":  {
        "RevisionIds":  [
            "3afc623EXAMPLE099e6fcc8EXAMPLEe7" 
        ],
        "Revisions": [
            {
                "Id" : "3afc623EXAMPLE099e6fcc8EXAMPLEe7",
                "Comment": "Revision_Comment_One" 
            }
         ],
        "DataSets":  [
            {
                "Id" : "aae4c2cdEXAMPLE54f9369dEXAMPLE66",
                "Name": "Data_Set_Hello_World_One" 
            }
         ],
        "Product":  {
            "Id" : "prod-uEXAMPLEabc1d",
            "Name": "Product_Hello_World" 
        }
    }
}
```

## Amazon S3 데이터 액세스 데이터 세트 개정 추가 이벤트
<a name="events-add-s3-revisions"></a>

공급자가 Amazon S3 데이터 액세스 데이터 세트 개정을 제품에 추가하고 게시하면 구독자는 `Revision Published To Amazon S3 Data Access Data Set` 세부 정보 유형의 이벤트를 수신합니다.

다음 예제에서는 세부 정보 유형의 이벤트 본문을 보여줍니다.

```
{
    "version": "0",
    "id": "dc529cb6-2e23-4c5f-d020-EXAMPLE92231",
    "detail-type": "Revision Published to S3 Data Access Data Set(s)",
    "source": "aws.dataexchange",
    "account": "123456789012",
    "time": "2020-07-29T04:16:28Z",
    "region": "us-east-1",
    "resources":  [
        "aae4c2cdEXAMPLE54f9369dEXAMPLE66" 
    ],
    "detail":  {
        "RevisionIds":  [
            "3afc623EXAMPLE099e6fcc8EXAMPLEe7" 
        ],
        "Revisions": [
            {
                "Id" : "3afc623EXAMPLE099e6fcc8EXAMPLEe7",
                "Comment": "Revision_Comment_One" 
            }
         ],
        "DataSets":  [
            {
                "Id" : "4afc623EXAMPLE099e6fcc8EXAMPLEe8",
                "Name": "Data_Set_Hello_World_One" 
            }
         ],
        "Product":  {
            "Id" : "prod-uEXAMPLEabc1d",
            "Name": "Product_Hello_World" 
        }
    }
}
```

## AWS Lake Formation 데이터 권한 데이터 세트 개정 추가 이벤트(미리 보기)
<a name="events-add-LF-revision"></a>

공급자가 제품에 AWS Lake Formation 데이터 권한 데이터 세트 개정을 추가하고 게시하면 구독자는 `Revision Published to Lake Formation Data Permission Data Set` 세부 정보 유형의 이벤트를 수신합니다.

다음 예제에서는 세부 정보 유형의 이벤트 본문을 보여줍니다.

```
{
    "version": "0",
    "id": "dc529cb6-2e23-4c5f-d020-EXAMPLE92231",
    "detail-type": "Revision Published to Lake Formation Data Permission Data Set",
    "source": "aws.dataexchange",
    "account": "123456789012",
    "time": "2021-12-15T18:24:04Z",
    "region": "us-east-1",
    "resources": [
        "prod-uEXAMPLEabc1d"
    ],
    "detail": {
        "DataSetIds": [
            "4afc623EXAMPLE099e6fcc8EXAMPLEe8",
            "5bgd734EXAMPLE100f7gdd9EXAMPLEe9"
        ],
        "DataSets": [
            {
                "Id": "4afc623EXAMPLE099e6fcc8EXAMPLEe8",
                "Name": "Data_Set_Hello_World_One"
            },
            {
                "Id": "5bgd734EXAMPLE100f7gdd9EXAMPLEe9",
                "Name": "Data_Set_Hello_World_Two"
            }
        ],
        "Product": {
            "Id": "prod-uEXAMPLEabc1d",
            "Name": "Product_Hello_World"
        }
    }
}
```

## Amazon Redshift 데이터 공유 데이터 세트 개정 추가 이벤트
<a name="events-add-RS-revision"></a>

공급자가 Amazon Redshift 데이터 공유 데이터 세트 개정을 제품에 추가하고 게시하면 구독자는 `Revision Published To Redshift Data Shares Data Set` 세부 정보 유형의 이벤트를 수신합니다.

다음 예제에서는 세부 정보 유형의 이벤트 본문을 보여줍니다.

```
{
    "version": "0",
    "id": "dc529cb6-2e23-4c5f-d020-EXAMPLE92231",
    "detail-type": "Revision Published To Redshift Data Shares Data Set",
    "source": "aws.dataexchange",
    "account": "123456789012",
    "time": "2021-12-15T18:24:04Z",
    "region": "us-east-1",
    "resources":  [
        "aae4c2cdEXAMPLE54f9369dEXAMPLE66" 
    ],
    "detail":  {
        "RevisionIds":  [
            "3afc623EXAMPLE099e6fcc8EXAMPLEe7" 
        ],
        "Revisions": [
            {
                "Id" : "3afc623EXAMPLE099e6fcc8EXAMPLEe7",
                "Comment": "Revision_Comment_One," 
            }
         ],
        "DataSets":  [
            {
                "Id" : "aae4c2cdEXAMPLE54f9369dEXAMPLE66",
                "Name": "Data_Set_Hello_World_One" 
            }
         ],
        "Product":  {
            "Id" : "prod-uEXAMPLEabc1d",
            "Name": "Product_Hello_World" 
        }
    }
}
```

## Amazon API Gateway API 데이터 세트 개정 추가 이벤트
<a name="events-add-api-gateway-api-data-sets-revisions"></a>

공급자가 Amazon API Gateway API 데이터 세트 개정을 제품에 추가하고 게시하면 구독자는 `Revision Published To API Gateway Data Set` 세부 정보 유형의 이벤트를 수신합니다.

다음 예제에서는 세부 정보 유형의 이벤트 본문을 보여줍니다.

```
{
    "version": "0",
    "id": "dc529cb6-2e23-4c5f-d020-EXAMPLE92231",
    "detail-type": "Revision Published To API Gateway API Data Set",
    "source": "aws.dataexchange",
    "account": "123456789012",
    "time": "2021-12-15T18:24:04Z",
    "region": "us-east-1",
    "resources":  [
        "aae4c2cdEXAMPLE54f9369dEXAMPLE66" 
    ],
    "detail":  {
        "RevisionIds":  [
            "3afc623EXAMPLE099e6fcc8EXAMPLEe7" 
        ],
        "Revisions": [
            {
                "Id" : "3afc623EXAMPLE099e6fcc8EXAMPLEe7",
                "Comment": "Revision_Comment_One" 
            }
         ],
        "DataSets":  [
            {
                "Id" : "aae4c2cdEXAMPLE54f9369dEXAMPLE66",
                "Name": "Data_Set_Hello_World_One" 
            }
         ],
        "Product":  {
            "Id" : "prod-uEXAMPLEabc1d",
            "Name": "Product_Hello_World" 
        }
    }
}
```

다음 표에서는 API Gateway API 데이터 세트 개정 오류 코드에 대해 설명합니다.


| 오류 코드 | 메시지 | 설명 | 
| --- | --- | --- | 
| CLUSTER\$1DELETED | The datashare is unavailable because the provider deleted their cluster. Please contact the provider for more information. | 이 메시지는 제공자가 데이터 공유가 포함된 클러스터를 삭제하여 데이터 공유를 더 이상 사용할 수 없을 때 전송됩니다. | 
| CLUSTER\$1ENCRYPTION\$1DISABLED | The datashare is unavailable because the provider disabled encryption on their cluster. Please contact the provider for more information. | 이 메시지는 공급자가 클러스터에서 암호화를 비활성화하여 데이터 공유를 더 이상 사용할 수 없을 때 전송됩니다. 데이터 공유를 사용하려면 제공자와 구독자 모두 암호화를 활성화해야 합니다. | 
| DATASHARE\$1DELETED | The datashare is unavailable because the provider deleted the datashare. Please contact the provider for more information. | 이 메시지는 제공업체가 데이터 공유를 삭제하여 더 이상 사용할 수 없을 때 전송됩니다. 데이터에 다시 액세스할 수 있도록 공급자가 새 데이터 공유를 생성해야 합니다. | 
| DATASHARE\$1DEAUTHORIZED | The datashare is unavailable because the provider de-authorized the datashare. Please contact the provider for more information. | 공급자가 데이터 공유를 다시 승인했기 때문에 데이터 공유를 더 이상 사용할 수 없는 경우이 메시지가 전송됩니다. 데이터에 다시 액세스할 수 있도록 공급자가 새 데이터 공유를 생성해야 합니다. | 
| DATASHARE\$1PUBLIC\$1CONSUMER\$1BLOCKED | You cannot access a non-publicly accessible datashare from a publicly accessible cluster. You must turn off public accessibility on your cluster to access this datashare. Please contact your provider for more information. |  이 메시지는 제공자가 데이터 공유가 포함된 클러스터에서 **공개 액세스 가능** 옵션을 **비활성화**로 설정할 때 전송됩니다. 구독자 클러스터의 **공개 액세스 가능** 옵션이 **비활성화**로 설정된 경우 구독자 클러스터의 데이터 공유 액세스 기능에는 영향을 미치지 않습니다. 구독자가 데이터 공유에 액세스하려면 구독자가 클러스터에서 **공개 액세스** 옵션을 **비활성화**로 설정하거나 제공자가 클러스터에서 **공개 액세스** 옵션을 **활성화**로 설정해야 합니다. 데이터 공유가 포함된 클러스터를 비활성화합니다. 구독자 클러스터의 공개 액세스 가능 옵션이 비활성화로 설정된 경우 구독자 클러스터의 데이터 공유 액세스 기능에는 영향을 미치지 않습니다. 구독자가 데이터 공유에 액세스하려면 구독자가 클러스터에서 공개 액세스 옵션을 비활성화로 설정하거나 제공자가 클러스터에서 공개 액세스 옵션을 활성화로 설정해야 합니다. | 

## 개정 취소 이벤트
<a name="events-revoke-revisions"></a>

공급자가 제품에 대한 개정을 취소하고 게시하면 구독자는 `Revision Revoked` 세부 정보 유형의 이벤트를 수신합니다.

다음 예제에서는 세부 정보 유형의 이벤트 본문을 보여줍니다.

```
{
    "version": "0",
    "id": "dc529cb6-2e23-4c5f-d020-EXAMPLE92231",
    "detail-type": "Revision Revoked",
    "source": "aws.dataexchange",
    "account": "123456789012",
    "time": "2022-02-17T21:25:06Z",
    "region": "us-east-1",
    "resources":  [
        "aae4c2cdEXAMPLE54f9369dEXAMPLE66" 
    ],
    "detail":  {
        "RevisionIds":  [
            "3afc623EXAMPLE099e6fcc8EXAMPLEe7" 
        ],
        "RevocationComment": "example revocation comment",
        "Revisions": [
            {
                "Id" : "3afc623EXAMPLE099e6fcc8EXAMPLEe7",
                "Comment": "Revision_Comment_One" 
            }
         ],
        "DataSets":  [
            {
                "Id" : "aae4c2cdEXAMPLE54f9369dEXAMPLE66",
                "Name": "Data_Set_Hello_World_One" 
            }
         ],
        "Product":  {
            "Id" : "prod-uEXAMPLEabc1d",
            "Name": "Product_Hello_World" 
        }
    }
}
```

## Amazon Redshift 리소스에서 수행된 작업에 대한 이벤트
<a name="events-RS-action"></a>

공급자가 Amazon Redshift 리소스에 대해 구독자의 액세스를 제거할 *수* 있는 작업을 수행하면 구독자는 `Action Performed On Redshift Data Share By Provider` 세부 정보 유형의 이벤트를 수신합니다.

예를 들어 공급자가 데이터 공유의 공개 접근성 설정을 `true`에서 `false`로 변경하면 구독자는 이벤트를 수신합니다.

다음 예제에서는 세부 정보 유형의 이벤트 본문을 보여줍니다.

```
{
    "version": "0",
    "id": "dc529cb6-2e23-4c5f-d020-EXAMPLE92231",
    "detail-type": "Action Performed On Redshift Data Share By Provider",
    "source": "aws.dataexchange",
    "account": "123456789012",
    "time": "2021-12-15T18:24:04Z",
    "region": "us-east-1",
    "resources":  [
        "arn:aws:redshift:us-east-1:098765432123:datashare:01234567-2590-7654-1234-f57ea0081234/test_data_share" 
    ],
    "detail":  {
        "Message": "This is an example message which explains why you may have lost access.",
        "AssociatedProducts":  [
            {
                "ProductId": "aae4c2cdEXAMPLE54f9369dEXAMPLE66",
                "DataSetIds":  [
                    "4afc623EXAMPLE099e6fcc8EXAMPLEe8" 
                ],
                "DataSets":  [
                    {
                        "Id" : "4afc623EXAMPLE099e6fcc8EXAMPLEe8",
                        "Name": "Data_Set_Hello_World_One" 
                    }
                ],
                "Product":  {
                    "Id" : "aae4c2cdEXAMPLE54f9369dEXAMPLE66",
                    "Name": "Product_Hello_World" 
                }
            }
        ]
    }
}
```

## Amazon Redshift 데이터 공유에 대한 액세스 권한 상실로 인한 이벤트
<a name="events-RS-lost-access"></a>

공급자가 구독자로부터 액세스를 제거하는 Amazon Redshift 리소스에 대해 작업을 수행하면 구독자는 `Redshift Data Share Access Lost` 세부 정보 유형의 이벤트를 수신합니다.

예를 들어 공급자가 Amazon Redshift 데이터 공유 또는 클러스터를 삭제하면 구독자는 이벤트를 수신합니다.

다음 예제에서는 세부 정보 유형의 이벤트 본문을 보여줍니다.

```
{
    "version": "0",
    "id": "dc529cb6-2e23-4c5f-d020-EXAMPLE92231",
    "detail-type": "Redshift Data Share Access Lost",
    "source": "aws.dataexchange",
    "account": "123456789012",
    "time": "2021-12-15T18:24:04Z",
    "region": "us-east-1",
    "resources":  [
        "arn:aws:redshift:us-east-1:098765432123:datashare:01234567-2590-7654-1234-f57ea0081234/test_data_share" 
    ],
    "detail":  {
        "Message": "This is an example message which explains why you may have lost access.",
        "AssociatedProducts":  [
            {
                "ProductId": "aae4c2cdEXAMPLE54f9369dEXAMPLE66",
                "DataSetIds":  [
                    "4afc623EXAMPLE099e6fcc8EXAMPLEe8" 
                ],
                "DataSets":  [
                    {
                        "Id" : "4afc623EXAMPLE099e6fcc8EXAMPLEe8",
                        "Name": "Data_Set_Hello_World_One" 
                    }
                ],
                "Product":  {
                    "Id" : "prod-uEXAMPLEabc1d",
                    "Name": "Product_Hello_World" 
                }
            }
        ]
    }
}
```

## 자동 내보내기 작업 완료 이벤트
<a name="events-auto-export-job-complete"></a>

자동 내보내기 작업이 새로 게시된 파일 데이터 세트 개정의 모든 데이터를 구독자가 선택한 Amazon S3 버킷으로 이동하면 구독자는 `Auto-export Job Completed` 세부 정보 유형의 이벤트를 수신합니다.

다음 예제에서는 세부 정보 유형의 이벤트 본문을 보여줍니다.

```
{
    "version": "0",
    "id": "dc529cb6-2e23-4c5f-d020-EXAMPLE92231",
    "detail-type": "Auto-export Job Completed",
    "source": "aws.dataexchange",
    "account": "123456789012",
    "time": "2020-07-29T18:24:04Z",
    "region": "us-east-1",
    "resources": [
        "prod-uEXAMPLEabc1d"
    ],
    "detail": {
        "RevisionIds": [
            "3afc623EXAMPLE099e6fcc8EXAMPLEe7"
        ],
        "Revisions": [{
            "Id": "3afc623EXAMPLE099e6fcc8EXAMPLEe7",
            "Comment": "Revision_Comment_One"
        }],
        "DataSetIds": [
            "4afc623EXAMPLE099e6fcc8EXAMPLEe8",
        ],
        "DataSets": [{
            "Id": "4afc623EXAMPLE099e6fcc8EXAMPLEe8",
            "Name": "Data_Set_Hello_World_One"
        }, ],
        "Product": {
            "Id": "prod-uEXAMPLEabc1d",
        }
    }
}
```

## 자동 내보내기 작업 실패 이벤트
<a name="events-auto-export-job-failed"></a>

자동 내보내기 작업이 실패하면 구독자는 `Auto-export Job Failed` 세부 정보 유형의 이벤트를 수신합니다.

다음 예제에서는 세부 정보 유형의 이벤트 본문을 보여줍니다.

```
{
    "version": "0",
    "id": "dc529cb6-2e23-4c5f-d020-EXAMPLE92231",
    "detail-type": "Auto-Export job failed",
    "source": "aws.dataexchange",
    "account": "123456789012",
    "time": "2020-07-29T18:24:04Z",
    "region": "us-east-1",
    "resources": [
        "prod-uEXAMPLEabc1d"
    ],
    "detail": {
        "RevisionIds": [
            "3afc623EXAMPLE099e6fcc8EXAMPLEe7"
        ],
        "Revisions": [{
            "Id": "3afc623EXAMPLE099e6fcc8EXAMPLEe7",
            "Comment": "Revision_Comment_One"
        }],
        "DataSetIds": [
            "4afc623EXAMPLE099e6fcc8EXAMPLEe8",
            "5bgd734EXAMPLE100f7gdd9EXAMPLEe9"
        ],
        "DataSets": [{
                "Id": "4afc623EXAMPLE099e6fcc8EXAMPLEe8",
                "Name": "Data_Set_Hello_World_One"
            },
            {
                "Id": "5bgd734EXAMPLE100f7gdd9EXAMPLEe9",
                "Name": "Data_Set_Hello_World_Two"
            }
        ],
        "Product": {
            "Id": "prod-uEXAMPLEabc1d",
        }
    }
}
```

## 제공자가 생성한 데이터 업데이트 알림 이벤트
<a name="events-provider-generated-notification-of-data-update"></a>

공급자가 데이터 업데이트에 대한 알림을 보내면 구독자는 `Data Updated in Data Set` 세부 정보 유형의 이벤트를 수신합니다.

다음 예제에서는 세부 정보 유형의 이벤트 본문을 보여줍니다.

```
{
    "version": "0",
    "id": "dc529cb6-2e23-4c5f-d020-EXAMPLE92231",
    "detail-type": "Data Updated in Data Set",
    "source": "aws.dataexchange",
    "account": "123456789012",
    "time": "2023-08-21T10:29:48Z",
    "region": "us-east-1",
    "resources": [
        "arn:aws:dataexchange:us-east-1::data-sets/b5538f9f45e4613d448eb9eEXAMPLEc6"
    ],
    "detail": {
        "DataSet": {
            "Id": "b5538f9f45e4613d448eb9eEXAMPLEc6",
            "Name": "Example Data Set",
            "AssetType": "S3_DATA_ACCESS"
        },
        "Product": {
            "Id": "prod-7ip6EXAMPLEhs",
            "Name": "Example Data Product",
            "ProviderContact": "no-reply@marketplace.aws"
        },
        "Notification": {
            "Comment": "This is a test DATA_UPDATE notification.",
            "Type": "DATA_UPDATE",
            "Details": {
                "DataUpdate": {
                    "DataUpdatedAt": "2023-07-12T00:00:00Z"
                }
            },
            "Scope": {
                "S3DataAccesses": [{
                    "KeyPrefixes": [
                        "KeyPrefix"
                    ],
                    "Keys": [
                        "KeyA",
                        "KeyB"
                    ]
                }]
            }
        }
    }
}
```

## 제공자가 생성한 스키마 변경 알림 이벤트
<a name="events-provider-generated-notification-of-schema-change"></a>

공급자가 스키마 변경에 대한 알림을 보내면 구독자는 `Schema Change Planned for Data Set` 세부 정보 유형의 이벤트를 수신합니다.

다음 예제에서는 세부 정보 유형의 이벤트 본문을 보여줍니다.

```
{
    "version": "0",
    "id": "dc529cb6-2e23-4c5f-d020-EXAMPLE92231",
    "detail-type": "Schema Change Planned for Data Set",
    "source": "aws.dataexchange",
    "account": "123456789012",
    "time": "2023-08-21T10:29:48Z",
    "region": "us-east-1",
    "resources": [
        "arn:aws:dataexchange:us-east-1::data-sets/b5538f9f45e4613d448eb9eEXAMPLEc6"
    ],
    "detail": {
        "DataSet": {
            "Id": "b5538f9f45e4613d448eb9eEXAMPLEc6",
            "Name": "Example Data Set",
            "AssetType": "S3_DATA_ACCESS"
        },
        "Product": {
            "Id": "prod-7ip6EXAMPLEhs",
            "Name": "Example Data Product",
            "ProviderContact": "no-reply@marketplace.aws"
        },
        "Notification": {
            "Comment": "This is a test SCHEMA_CHANGE notification.",
            "Type": "SCHEMA_CHANGE",
            "Details": {
                "SchemaChange": {
                    "Changes": [{
                            "Type": "ADD",
                            "Description": "This object is being added to the bucket, or a field is being added to the object.",
                            "Name": "KeyA"
                        },
                        {
                            "Type": "REMOVE",
                            "Description": "This object is being removed from the bucket or a field is being removed from the object.",
                            "Name": "KeyB"
                        },
                        {
                            "Type": "MODIFY",
                            "Description": "The usage or meaning of this key prefix is changing, or something is changing about every file under this key prefix.",
                            "Name": "KeyPrefix"
                        }
                    ],
                    "SchemaChangeAt": "2023-09-08T13:46:01Z"
                }
            },
            "Scope": {
                "S3DataAccesses": [{
                    "KeyPrefixes": [
                        "KeyPrefix"
                    ],
                    "Keys": [
                        "KeyA",
                        "KeyB"
                    ]
                }]
            }
        }
    }
}
```

## 제공자가 생성한 데이터 지연 알림 이벤트
<a name="events-provider-generated-notification-of-data-delay"></a>

제공자가 데이터 지연 알림을 보내면 구독자는 **데이터 세트 업데이트 연기** 세부 정보 유형의 이벤트를 수신합니다.

다음 예제에서는 세부 정보 유형의 이벤트 본문을 보여줍니다.

```
{
    "version": "0",
    "id": "dc529cb6-2e23-4c5f-d020-EXAMPLE92231",
    "detail-type": "Data Set Update Delayed",
    "source": "aws.dataexchange",
    "account": "123456789012",
    "time": "2023-08-21T10:29:48Z",
    "region": "us-east-1",
    "resources": [
        "arn:aws:dataexchange:us-east-1::data-sets/b5538f9f45e4613d448eb9eEXAMPLEc6"
    ],
    "detail": {
        "DataSet": {
            "Id": "b5538f9f45e4613d448eb9eEXAMPLEc6",
            "Name": "Example Data Set",
            "AssetType": "S3_DATA_ACCESS"
        },
        "Product": {
            "Id": "prod-7ip6EXAMPLEhs",
            "Name": "Example Data Product",
            "ProviderContact": "no-reply@marketplace.aws"
        },
        "Notification": {
            "Comment": "This is a test DATA_DELAY notification.",
            "Type": "DATA_DELAY",
            "Scope": {
                "S3DataAccesses": [{
                    "KeyPrefixes": [
                        "KeyPrefix"
                    ],
                    "Keys": [
                        "KeyA",
                        "KeyB"
                    ]
                }]
            }
        }
    }
}
```

## 제공자가 생성한 데이터 사용 중단 알림 이벤트
<a name="events-provider-generated-notification-of-data-deprecation"></a>

공급자가 데이터 사용 중단에 대한 알림을 보내면 구독자는 `Deprecation Planned for Data Set` 세부 정보 유형의 이벤트를 수신합니다.

다음 예제에서는 세부 정보 유형의 이벤트 본문을 보여줍니다.

```
{
    "version": "0",
    "id": "dc529cb6-2e23-4c5f-d020-EXAMPLE92231",
    "detail-type": "Deprecation Planned for Data Set",
    "source": "aws.dataexchange",
    "account": "123456789012",
    "time": "2023-08-21T10:29:48Z",
    "region": "us-east-1",
    "resources": [
        "arn:aws:dataexchange:us-east-1::data-sets/b5538f9f45e4613d448eb9eEXAMPLEc6"
    ],
    "detail": {
        "DataSet": {
            "Id": "b5538f9f45e4613d448eb9eEXAMPLEc6",
            "Name": "Example Data Set",
            "AssetType": "S3_DATA_ACCESS"
        },
        "Product": {
            "Id": "prod-7ip6EXAMPLEhs",
            "Name": "Example Data Product",
            "ProviderContact": "no-reply@marketplace.aws"
        },
        "Notification": {
            "Comment": "This is a test DEPRECATION notification.",
            "Type": "DEPRECATION",
            "Details": {
                "Deprecation": {
                    "DeprecationAt": "2023-09-08T13:46:01Z"
                }
            },
            "Scope": {
                "S3DataAccesses": [{
                    "KeyPrefixes": [
                        "KeyPrefix"
                    ],
                    "Keys": [
                        "KeyA",
                        "KeyB"
                    ]
                }]
            }
        }
    }
}
```

## 데이터 권한 부여를 수락하기 위한 이벤트
<a name="data-grant-accepted-event"></a>

데이터 소비자가 데이터 권한을 수락하면 데이터 소유자는 `Data Grant Accepted` 세부 정보 유형의 이벤트를 수신합니다.

다음 예제에서는 세부 정보 유형의 이벤트 본문을 보여줍니다.

```
{
    "version": "0",
    "id": "dc529cb6-2e23-4c5f-d020-EXAMPLE92231",
    "detail-type": "Data Grant Accepted",
    "source": "aws.dataexchange",
    "account": "123456789012",
    "time": "2022-02-17T21:25:06Z",
    "region": "us-east-1",
    "resources":  [
        "arn:aws:dataexchange:us-east-1::data-sets/4afc623EXAMPLE099e6fcc8EXAMPLEe8" 
    ],
    "detail":  {
        "DataSets":  [
            {
                "Id" : "4afc623EXAMPLE099e6fcc8EXAMPLEe8",
                "Name": "Data_Set_Hello_World_One" 
            }
         ],
        "DataGrant":  {
            "Arn" : "arn:aws:dataexchange:us-east-1:123456789012:data-grants/4afc623EXAMPLE099e6fcc8EXAMPLEe9",
            "Name": "DataGrant_Hello_World" 
        }
    }
}
```

## 데이터 권한 부여를 확장하기 위한 이벤트
<a name="data-grant-extended-event"></a>

데이터 소유자가 데이터 권한을 확장하면 데이터 소비자는 `Data Grant Extended` 세부 정보 유형의 이벤트를 수신합니다.

다음 예제에서는 세부 정보 유형의 이벤트 본문을 보여줍니다.

```
{
    "version": "0",
    "id": "dc529cb6-2e23-4c5f-d020-EXAMPLE92231",
    "detail-type": "Data Grant Extended",
    "source": "aws.dataexchange",
    "account": "123456789012",
    "time": "2022-02-17T21:25:06Z",
    "region": "us-east-1",
    "resources":  [
        "arn:aws:dataexchange:us-east-1::data-sets/4afc623EXAMPLE099e6fcc8EXAMPLEe8"
    ],
    "detail":  {
        "DataSets":  [
            {
                "Id" : "4afc623EXAMPLE099e6fcc8EXAMPLEe8",
                "Name": "Data_Set_Hello_World_One" 
            }
         ],
         "DataGrant":  {
            "Arn" : "arn:aws:dataexchange:us-east-1:123456789012:data-grants/4afc623EXAMPLE099e6fcc8EXAMPLEe9",
            "Name": "DataGrant_Hello_World" 
        }
    }
}
```

## 데이터 권한 부여 취소 이벤트
<a name="data-grant-revoked-event"></a>

데이터 소유자가 데이터 권한을 취소하면 데이터 소비자는 `Data Grant Revoked` 세부 정보 유형의 이벤트를 수신합니다.

다음 예제에서는 세부 정보 유형의 이벤트 본문을 보여줍니다.

```
{
    "version": "0",
    "id": "dc529cb6-2e23-4c5f-d020-EXAMPLE92231",
    "detail-type": "Data Grant Revoked",
    "source": "aws.dataexchange",
    "account": "123456789012",
    "time": "2022-02-17T21:25:06Z",
    "region": "us-east-1",
    "resources":  [
        "arn:aws:dataexchange:us-east-1::data-sets/4afc623EXAMPLE099e6fcc8EXAMPLEe8"
    ],
    "detail":  {
        "DataSets":  [
            {
                "Id" : "4afc623EXAMPLE099e6fcc8EXAMPLEe8",
                "Name": "Data_Set_Hello_World_One" 
            }
         ],
         "DataGrant":  {
            "Arn" : "arn:aws:dataexchange:us-east-1:123456789012:data-grants/4afc623EXAMPLE099e6fcc8EXAMPLEe9",
            "Name": "DataGrant_Hello_World" 
        }
    }
}
```

# AWS AWS Data Exchange 이벤트에 대한 사용자 알림
<a name="user-notifications"></a>

[AWS 사용자 알림](https://docs.aws.amazon.com/notifications/latest/userguide/what-is-service.html)을 사용하여 AWS Data Exchange 이벤트에 대한 알림을 받을 전송 채널을 설정할 수 있습니다. 이벤트가 지정한 규칙과 일치하면 알림을 받습니다. 이메일, 채팅 애플리케이션의 Amazon Q Developer 채팅 알림 또는 AWS Console Mobile Application 푸시 알림을 비롯한 여러 채널을 통해 이벤트에 대한 알림을 받을 수 있습니다. AWS 사용자 알림 콘솔에서 콘솔 알림 센터를 사용하여 알림을 볼 수도 있습니다. AWS 사용자 알림은 집계를 지원하므로 특정 이벤트 중에 수신하는 알림 수를 줄일 수 있습니다. 자세한 내용은 [AWS 사용자 알림 사용 설명서](https://docs.aws.amazon.com/notifications/latest/userguide/what-is-service.html)를 참조하십시오.

 AWS 사용자 알림을 사용하려면 올바른 AWS Identity and Access Management (IAM) 권한이 있어야 합니다. IAM 권한 구성에 대한 자세한 내용은 [AWS 사용자 알림 사용 설명서의 사용자 알림 구성을](https://docs.aws.amazon.com/notifications/latest/userguide/getting-started.html#getting-started-step1) *AWS 참조하세요*.

다음 표에는 AWS 사용자 알림을 사용하여 AWS Data Exchange 이벤트에 대해 구성할 수 있는 알림에 대한 자세한 정보가 나와 있습니다.


| 작업 | 구독자가 받은 알림 | 
| --- | --- | 
| 제품에 파일 기반 데이터 세트를 추가하고 게시합니다. | Data Sets Published To Product | 
| Amazon Redshift 데이터 액세스 데이터 세트를 제품에 추가하고 게시합니다. | Redshift Data Shares Data Sets Published To Product | 
| 제품에 파일 기반 데이터 세트 개정을 추가하고 게시합니다. | Revision Published To Data Set | 
| 제품 개정을 취소합니다. | Revision Revoked | 
| Amazon Redshift 데이터 세트 개전을 제품에 추가하고 게시합니다. | Revision Published To Redshift Data Shares Data Set | 
| 구독자의 액세스 권한 제거를 할 수 있는 Amazon Redshift 리소스에 대한 작업을 수행합니다. | Action Performed On Redshift Data Share By Provider | 
| 구독자의 액세스 권한 제거를 할 수 있는 Amazon Redshift 리소스에 대한 작업을 수행합니다. | Redshift Data Share Access Lost | 
| Amazon API Gateway 데이터 액세스 데이터 세트를 제품에 추가하고 게시합니다. | API Gateway API Data Sets Published To Product | 
| Amazon API Gateway 데이터 세트 개정을 제품에 추가하고 게시합니다. | Revision Published To API Gateway API Data Set | 
| 제품에 AWS Lake Formation 데이터 세트를 추가하고 게시합니다(미리 보기). | Lake Formation Data Permission Data Sets Published To Product (Preview) | 
| 제품에 AWS Lake Formation 데이터 세트 개정을 추가하고 게시합니다(미리 보기). | Revision Published To Lake Formation Data Permission Data Set (Preview) | 
| 자동 내보내기 작업 완료 | Auto-export Job Completed | 
| 자동 내보내기 작업 실패 | Auto-export Job Failed | 
| 데이터 업데이트에 대한 알림을 보냅니다. | Data Updated in Data Set | 
| 스키마 변경에 대한 알림을 보냅니다. | Schema Change Planned for Data Set | 
| 데이터 지연에 대한 알림을 보냅니다. | Data Set Update Delayed | 
| 데이터 지원 중단에 대한 알림을 보냅니다. | Deprecation Planned for Data Set | 

# 를 사용하여 AWS Data Exchange API 호출 로깅 AWS CloudTrail
<a name="logging-api-calls-with-cloudtrail"></a>

 AWS Data Exchange 는 사용자 AWS CloudTrail, 역할 또는 서비스가 수행한 작업에 대한 레코드를 제공하는 AWS 서비스와 통합됩니다 AWS Data Exchange.는 AWS Data Exchange 콘솔로부터의 호출 및 AWS Data Exchange API 작업에 대한 코드 호출을 포함하여 AWS Data Exchange API 작업에 대한 모든 호출을 이벤트로 AWS CloudTrail 캡처합니다.

추적을 생성하면 이벤트를 포함하여 CloudTrail 이벤트를 Amazon Simple Storage Service(Amazon S3) 버킷에 지속적으로 배포할 수 있습니다 AWS Data Exchange. 추적을 구성하지 않은 경우에도 **이벤트 기록**에서 CloudTrail 콘솔의 최신 이벤트를 볼 수 있습니다. CloudTrail에서 수집한 정보를 사용하여 수행된 요청, 요청이 수행된 AWS Data Exchange IP 주소, 요청을 수행한 사람, 요청이 수행된 시간 및 기타 세부 정보를 확인할 수 있습니다.

**중요**  
할 수 있는 작업은 콘솔 전용 작업입니다. AWS SDK 또는 AWS Command Line Interface ()에는 해당 API가 없습니다AWS CLI. 이는 제품 게시 또는 구독과 같은 AWS Marketplace 기능에 의존하는 작업입니다.는 이러한 콘솔 전용 작업의 하위 집합에 대한 CloudTrail 로그를 AWS Data Exchange 제공합니다. CloudTrail 로그가 제공되는 콘솔 전용 작업의 다음 목록을 참조하십시오.  
자세한 내용은 [란 무엇입니까 AWS CloudTrail?를 참조하세요.](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/)

는 모든 [AWS Data Exchange APIs](https://docs.aws.amazon.com/data-exchange/latest/apireference) 및 해당 콘솔 작업에 대한 CloudTrail 이벤트 외에도 AWS Marketplace지원 콘솔 전용 작업의 하위 집합에 대한 CloudTrail 추적 AWS Data Exchange 도 제공합니다. AWS Data Exchange 는 다음 콘솔 전용 작업에 대한 CloudTrail 로그를 제공합니다.

**구독자 작업**
+ 제품 구독
+ 구독 확인 요청 전송
+ 구독 자동 갱신 활성화
+ 구독 자동 갱신 비활성화
+ 구독 확인 요청 취소
+ 활성 구독 목록
+ 구독 상태 확인
+ 대상 비공개 제안 목록
+ 특정 제품 및 제안의 세부 정보 보기
+ 특정 구독의 세부 정보 보기
+ 특정 구독 확인 요청 세부 정보 보기

**공급자 작업**
+ 제품 게시
+ 제품 게시 취소
+ 제품 편집
+ 사용자 지정 제안 생성
+ 사용자 지정 제안 편집
+ 구독 확인 요청 승인
+ 구독 확인 요청 거부
+ 구독자 연락처 정보 삭제
+ 구독 확인 요청 목록
+ 특정 구독 확인 요청 세부 정보 보기
+ 데이터 세트에 대한 알림 보내기

## AWS Data Exchange CloudTrail의 정보
<a name="information-in-cloudtrail"></a>

를 생성할 때 CloudTrail이 활성화됩니다 AWS 계정. 활동이 발생하면 AWS Data Exchange활동이 **이벤트 기록**의 다른 AWS 서비스 이벤트와 함께 CloudTrail 이벤트에 기록됩니다. 에서 최근 이벤트를 보고 검색하고 다운로드할 수 있습니다 AWS 계정. 자세한 내용은AWS CloudTrail 사용 설명서에서 [CloudTrail 이벤트 기록을 사용하여 이벤트 보기](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/view-cloudtrail-events.html)를 참조하세요.

에 대한 이벤트를 AWS 계정포함하여에 이벤트를 지속적으로 기록하려면 추적을 AWS Data Exchange생성합니다. CloudTrail은 Amazon S3 버킷으로 로그 파일을 전송하기 위해 이 추적을 사용합니다. 기본적으로 콘솔을 사용하여 추적을 생성하면 모든에 적용됩니다 AWS 리전. 모든 리전의 로그 이벤트를 추적하여 지정한 S3 버킷에 로그 파일을 전송합니다. CloudTrail 로그에 수집된 이벤트 데이터를 좀 더 분석하고 작업하도록 다른 AWS 서비스를 구성할 수 있습니다. 자세한 내용은 다음을 참조하세요.
+ [트레일 생성 개요](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-create-and-update-a-trail.html)
+ [CloudTrail 지원 서비스 및 통합](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-aws-service-specific-topics.html#cloudtrail-aws-service-specific-topics-integrations)
+ [CloudTrail에서 Amazon SNS 알림 구성](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/getting_notifications_top_level.html)
+ [여러 리전에서 CloudTrail 로그 파일 수신](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/receive-cloudtrail-log-files-from-multiple-regions.html)
+ [여러 계정에서 CloudTrail 로그 파일 수신](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-receive-logs-from-multiple-accounts.html)

 모든 AWS Data Exchange 작업은 *AWS Data Exchange API 참조*에 문서화되어 있습니다. 를 제외한 모든 AWS Data Exchange 작업은 CloudTrail에서 로깅`SendAPIAsset`됩니다. 예를 들어, `CreateDataSet`, `StartImportAssetsFromS3Workflow` 및 `ListRevisionAssets` API 작업에 대한 호출은 CloudTrail 로그 파일의 항목을 생성합니다.

모든 이벤트 또는 로그 항목에는 요청을 생성했던 사용자에 관한 정보가 포함됩니다. ID 정보를 이용하면 다음을 쉽게 판단할 수 있습니다.
+ 요청이 루트 또는 AWS Identity and Access Management (IAM) 자격 증명으로 이루어졌는지 여부입니다.
+ 역할 또는 페더레이션 사용자의 임시 자격 증명을 사용하여 요청이 생성되었는지 여부.
+ 요청이 다른 AWS 서비스에 의해 이루어졌는지 여부입니다.

자세한 내용은 [CloudTrail userIdentity 요소](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-user-identity.html)을 참조하세요.

## AWS Data Exchange 로그 파일 항목 이해
<a name="understanding-log-entries"></a>

추적이란 지정한 S3 버킷에 이벤트를 로그 파일로 입력할 수 있도록 하는 구성입니다. CloudTrail 로그 파일에는 하나 이상의 로그 항목이 포함될 수 있습니다. 이벤트는 모든 소스로부터의 단일 요청을 나타내며 요청 작업, 작업 날짜와 시간, 요청 파라미터 등에 대한 정보가 들어 있습니다. CloudTrail 로그 파일은 퍼블릭 API 호출에 대한 순서 지정된 스택 추적이 아니기 때문에 특정 순서로 표시되지 않습니다.

**참고**  
이는 서식을 수정하여 가독성을 높인 예제입니다. CloudTrail 로그 파일에서는 모든 항목 및 이벤트가 한 줄로 연결되어 있습니다. 이 예제는 단일 AWS Data Exchange 항목으로 제한되었습니다. 실제 CloudTrail 로그 파일에는 여러 AWS 서비스의 항목 및 이벤트가 기록됩니다.

다음 예는 `CreateDataSet`작업을 보여주는 CloudTrail 로그 항목입니다.

```
{
    "eventVersion": "1.05",
    "userIdentity": {
        "type": "AssumedRole",
        "principalId": "AIDACKCEVSQ6C2EXAMPLE:account_name",
        "arn": "arn:aws:sts::123456789012:user/Mary_Major",
        "accountId": "123456789012",
        "accessKeyId": "AKIAIOSFODNN7EXAMPLE",
        "sessionContext": {
            "attributes": {
                "mfaAuthenticated": "false",
                "creationDate": "2018-06-20T18:32:25Z"
            },
            "sessionIssuer": {
                "type": "Role",
                "principalId": "AIDACKCEVSQ6C2EXAMPLE",
                "arn": "arn:aws:iam::123456789012:role/Admin",
                "accountId": "123456789012",
                "userName": "username"
            }
        }
    },
    "eventTime": "2018-06-20T19:04:36Z",
    "eventSource": "dataexchange.amazonaws.com",
    "eventName": "CreateDataSet",
    "awsRegion": "us-east-1",
    "sourceIPAddress": "203.0.113.12",
    "userAgent": "console.amazonaws.com",
    "requestParameters": {
        "Name": "MyDataSet",
        "AssetType": "S3_SNAPSHOT",
        "Description": "This is my data set"
    },
    "responseElements": {
        "Origin": "OWNED",
        "AssetType": "S3_SNAPSHOT",
        "Name": "MyDataSet",
        "CreatedAt": 1726255485679,
        "UpdatedAt": 1726255485679,
        "Arn": "arn:aws:dataexchange:us-east-1:123456789012:data-sets/DataSetIdentifier",
        "Id": "DataSetIdentifier",
        "Description": "This is my data set"
    },
    "requestID": "cb8c167e-EXAMPLE",
    "eventID": "e3c6f4ce-EXAMPLE",
    "readOnly": false,
    "eventType": "AwsApiCall",
    "recipientAccountId": "123456789012"
}>
```

# AWS Data Exchange CloudTrail 로깅의 향후 변경 사항
<a name="upcoming-changes-in-cloudtrail-logging"></a>

이 섹션에서는에 대한 API 호출 로깅에 AWS CloudTrail 대한 예정된 변경 사항을 요약합니다 AWS Data Exchange. 변경 효력일은 2023년 9월 1일 이후입니다. CloudTrail 사용량을 검토하여 이러한 변경이 모니터링, 분석 또는 감사에 영향을 미치지 않는지 확인하는 것이 좋습니다. 질문이나 우려 사항이 있는 경우 [지원](https://console.aws.amazon.com/support/home#/case/create%3FissueType=customer-service)으로 이메일 메시지를 보내주세요.


| 고객 페르소나 | 이벤트 설명 | 이전 이벤트 이름 | 새 이벤트명 | 이전 이벤트 소스 | 새 이벤트 소스 | 
| --- | --- | --- | --- | --- | --- | 
| 구독자 | 제품 구독 | Subscribe | CreateAgreementRequest 및 AcceptAgreementRequest | aws-marketplace.amazonaws.com | agreement-marketplace.amazonaws.com | 
| 구독자 | 구독 확인 요청 전송 | Subscribe | CreateAgreementRequest 및 AcceptAgreementRequest | aws-marketplace.amazonaws.com | agreement-marketplace.amazonaws.com | 
| 구독자 | 구독 자동 갱신 활성화 | Subscribe | CreateAgreementRequest 및 AcceptAgreementRequest | aws-marketplace.amazonaws.com | agreement-marketplace.amazonaws.com | 
| 구독자 | 구독 자동 갱신 비활성화 | Unsubscribe | CreateAgreementRequest 및 AcceptAgreementRequest | aws-marketplace.amazonaws.com | agreement-marketplace.amazonaws.com | 
| 구독자 | 구독 확인 요청 취소 | CancelAgreementRequest | CancelAgreementRequest | aws-marketplace.amazonaws.com | agreement-marketplace.amazonaws.com | 
| 제공업체 | 제품 게시 | StartChangeSet | StartChangeSet | aws-marketplace.amazonaws.com | marketplacecatalog.amazonaws.com | 
| 제공업체 | 제품 편집 | StartChangeSet | StartChangeSet | aws-marketplace.amazonaws.com | marketplacecatalog.amazonaws.com | 
| 제공업체 | 제품 게시 취소 | StartChangeSet | StartChangeSet | aws-marketplace.amazonaws.com | marketplacecatalog.amazonaws.com | 
| 제공업체 | 사용자 지정 제안 생성 | StartChangeSet | StartChangeSet | aws-marketplace.amazonaws.com | marketplacecatalog.amazonaws.com | 
| 제공업체 | 사용자 지정 제안 편집 | StartChangeSet | StartChangeSet | aws-marketplace.amazonaws.com | marketplacecatalog.amazonaws.com | 
| 제공업체 | 구독 확인 요청 승인 | AcceptAgreementApprovalRequest | AcceptAgreementApprovalRequest | aws-marketplace.amazonaws.com | agreement-marketplace.amazonaws.com | 
| 제공업체 | 구독 확인 요청 거부 | RejectAgreementApprovalRequest | RejectAgreementApprovalRequest | aws-marketplace.amazonaws.com | agreement-marketplace.amazonaws.com | 
| 제공업체 | 구독자 연락처 정보 삭제 | UpdateAgreementApprovalRequest | UpdateAgreementApprovalRequest | aws-marketplace.amazonaws.com | agreement-marketplace.amazonaws.com | 