

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

# AWS Marketplace 이벤트에 대한 Amazon EventBridge 알림
<a name="buyer-notifications-eventbridge"></a>

AWS Marketplace 는 이전에 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)를 참조하세요.

AWS Marketplace 는 다음과 같은 유형의 EventBridge 이벤트를 전송합니다.
+ [Discovery API 이벤트](buyer-eventbridge.md) - 구매자는 판매자가 제안을 생성하고 구매할 수 있도록 할 AWS Marketplace 때마다에서 이벤트를 수신합니다. 이벤트에는 제품 ID, 만료 날짜, 제품 세부 정보, 판매자 이름 등의 세부 정보가 포함되어 있습니다.
+ [프라이빗 마켓플레이스 이벤트](pmp-eventbridge.md) - 프라이빗 마켓플레이스 관리자와 구매자는 구매자가 제품 요청을 생성할 AWS Marketplace 때마다, 그리고 요청이 승인되거나 거부될 때마다에서 이벤트를 수신합니다. 이벤트에는 제품 세부 정보, 판매자 이름과 같은 세부 정보가 포함되어 있습니다.
+ [계약 이벤트](agreement-eventbridge.md) - 계약 수명 주기(즉, 구매한 제안) 동안 특정 이벤트가 발생하면 Amazon EventBridge에 알림을 AWS Marketplace 보냅니다. 이벤트에는 계약 ID, 제안 ID 및 계약 상태와 같은 세부 정보가 포함됩니다.
+ [취소 및 결제 조정 이벤트](cancellation-adjustment-eventbridge.md) - 판매자가 계약 중 하나에 대한 취소 요청 또는 결제 조정(환불)을 시작하면 Amazon EventBridge에 알림을 AWS Marketplace 보냅니다.

**참고**  
EventBridge 규칙 생성에 대한 자세한 내용은 **Amazon EventBridge 사용 설명서의 [Amazon EventBridge 규칙](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-rules.html)을 참조하세요.

# AWS Marketplace Discovery API Amazon EventBridge 이벤트
<a name="buyer-eventbridge"></a>

구매자는 판매자가 제안을 생성하여 구매할 수 있게 할 때마다 AWS Marketplace에서 **이벤트를 받습니다. 이벤트에는 판매자 ID, 만료 날짜, 제품 세부 정보, 판매자 이름 등의 세부 정보가 포함되어 있습니다.

이 주제는 다음 표에 나열된 이벤트에 대한 자세한 정보를 제공합니다.


****  

| 판매자 조치 | 구매자가 받은 이벤트 | 추가 정보 | 
| --- | --- | --- | 
| 제안을 생성하고 구매할 수 있게 만들기 | Listing Available | [새 리스팅 이벤트](#events-listingavailable) | 

## 새 리스팅 이벤트
<a name="events-listingavailable"></a>

판매자가 제안을 생성하고 구매 가능하게 하면 구매자는 `Listing Available` 세부 정보 유형이 포함된 이벤트를 받습니다.

다음 예는 `Listing Available` 이벤트의 데이터 본문을 보여줍니다.

```
{
    "version": "0",
    "id": "01234567-0123-0123-0123-0123456789ab",
    "detail-type": "Listing Available",
    "source": "aws.discovery-marketplace",
    "account": "123456789012",
    "time": "2023-08-26T00:00:00Z",
    "region": "us-east-1",
    "resources": [],
    "detail": {
        "requestId": "3d4c9f9b-b809-4f5e-9fac-a9ae98b05cbb",
        "catalog": "AWSMarketplace",
        "offer": {
            "id": "offer-1234567890123",
            "expirationDate": "2025-08-26T00:00:00Z"
        },
        "product": {
            "id": "bbbbaaaa-abcd-1111-abcd-666666666666",
            "title": "Product Title"
        },
        "sellerOfRecord": {
            "name": "Seller Name"
        }
    }
}
```

# AWS Marketplace Private Marketplace EventBridge 이벤트
<a name="pmp-eventbridge"></a>

프라이빗 마켓플레이스 관리자와 구매자는 구매자가 제품에 대한 요청을 생성할 때마다 AWS Marketplace 에서 *이벤트*를 수신합니다. 또한 요청이 승인되거나 거부될 때도 이벤트를 수신합니다. 이벤트에는 제품 ID 및 판매자 이름과 같은 세부 정보가 있습니다.

이 섹션의 주제는 다음 표에 나열된 각 이벤트에 대한 자세한 정보를 제공합니다.


| 작업 | 이벤트 수신 | 추가 정보 | 
| --- | --- | --- | 
| 구매자가 프라이빗 마켓플레이스에 제품을 요청  |  제품 요청 생성됨  |  [새로운 제품 요청 이벤트](#event-new-product-requests)  | 
| 관리자가 제품을 승인  |  제품 요청 승인됨  |  [제품 요청 승인됨 이벤트](#event-when-request-approved)  | 
| 관리자가 제품을 거부하거나 30일 후 시스템이 자동으로 거부  |  제품 요청 거부됨  |  [제품 요청 거부 이벤트](#event-request-declined)  | 
| 구매자가 Private Marketplace에 대한 제품 요청을 취소함 |  제품 요청 취소됨  |  [제품 요청 취소 이벤트](#event-request-cancelled)  | 
| 시스템이 30일 후 제품 요청을 자동으로 거부합니다. |  제품 요청 만료  |  [제품 요청 만료 이벤트](#event-request-expired)  | 

## 새로운 제품 요청 이벤트
<a name="event-new-product-requests"></a>

구매자가 Private Marketplace 카탈로그에 대한 제품을 요청하면 구매자와 Private Marketplace 관리자는 `Product Request Created` 세부 정보 유형의 이벤트를 수신합니다.

다음 예는 `Product Request Created` 이벤트의 데이터 본문을 보여줍니다.

```
{
  "version": "0", 		 	 	                   
  "id": "01234567-0123-0123-0123-0123456789ab",
  "detail-type": "Product Request Created",
  "source": "aws.private-marketplace",
  "account": "255182084545",
  "time": "2016-11-01T13:12:22Z",
  "region": "us-east-1",
  "resources": [
    "arn:aws:aws-marketplace:us-east-1:255182084545:AWSMarketplace/Experience/exp-12345",
    "arn:aws:aws-marketplace:us-east-1:982534358349:AWSMarketplace/ProductProcurementRequest/prodprocreq-67890"
  ],
  "detail": {
    "requestId": "3d4c9f9b-b809-4f5e-9fac-a9ae98b05cbb",
    "expirationDate": "2022-11-01T13:12:22Z",
    "schemaVersion": "1.0.0",
    "product": {
        "id": "product-12345",
        "arn": "arn:aws:aws-marketplace:us-east-1:123456789012:AWSMarketplace/SaaSProduct/product-12345",
        "title": "MSP360 Backup for Google Workspace"
    },
    "manufacturer": {
        "name": "Test Vendor"
    },
    "experienceId": "exp-12345",
    "productProcurementRequestId": "prodprocreq-67890",
    "catalog": "AWSMarketplace",
    "requesterArn": "arn:aws:iam::255182084545:user/pmp-enduser"
  }
}
```

## 제품 요청 승인됨 이벤트
<a name="event-when-request-approved"></a>

Private Marketplace 관리자가 구매자의 Private Marketplace 카탈로그에 대한 제품을 승인하면 구매자와 Private Marketplace 관리자는 `Product Request Approved` 세부 정보 유형의 이벤트를 수신합니다.

다음 예는 `Product Request Approved` 이벤트의 데이터 본문을 보여줍니다.

```
{
  "version": "0", 		 	 	                   
  "id": "01234567-0123-0123-0123-0123456789ab",
  "detail-type": "Product Request Approved",
  "source": "aws.private-marketplace",
  "account": "255182084545",
  "time": "2016-11-01T13:12:22Z",
  "region": "us-east-1",
  "resources": [
    "arn:aws:aws-marketplace:us-east-1:255182084545:AWSMarketplace/Experience/exp-12345",
    "arn:aws:aws-marketplace:us-east-1:982534358349:AWSMarketplace/ProductProcurementRequest/prodprocreq-67890"
  ],
  "detail": {
    "requestId": "3d4c9f9b-b809-4f5e-9fac-a9ae98b05cbb",
    "approvedDate": "2022-11-05T13:12:22Z",
    "schemaVersion": "1.0.0",
    "product": {
        "id": "product-12345",
        "arn": "arn:aws:aws-marketplace:us-east-1:123456789012:AWSMarketplace/SaaSProduct/product-12345",
        "title": "MSP360 Backup for Google Workspace"
    },
    "manufacturer": {
        "name": "Test Vendor"
    },
    "experienceId": "exp-12345",
    "productProcurementRequestId": "prodprocreq-67890",
    "catalog": "AWSMarketplace",
    "requesterArn": "arn:aws:iam::255182084545:user/pmp-enduser"
  }
}
```

## 제품 요청 거부 이벤트
<a name="event-request-declined"></a>

Private Marketplace 관리자가 제품 추가를 거부하면 구매자와 Private Marketplace 관리자는 `Product Request Declined` 세부 정보 유형의 이벤트를 수신합니다.

다음 예는 `Product Request Declined` 이벤트의 데이터 본문을 보여줍니다.

```
{
  "version": "0", 		 	 	                   
  "id": "01234567-0123-0123-0123-0123456789ab",
  "detail-type": "Product Request Declined",
  "source": "aws.private-marketplace",
  "account": "255182084545",
  "time": "2016-11-01T13:12:22Z",
  "region": "us-east-1",
  "resources": [
    "arn:aws:aws-marketplace:us-east-1:255182084545:AWSMarketplace/Experience/exp-12345",
    "arn:aws:aws-marketplace:us-east-1:982534358349:AWSMarketplace/ProductProcurementRequest/prodprocreq-67890"
  ],
  "detail": {
    "requestId": "3d4c9f9b-b809-4f5e-9fac-a9ae98b05cbb",
    "declinedDate": "2022-11-05T13:12:22Z",
    "declinedCause": "REQUEST_EXPIRED",
    "schemaVersion": "1.0.0",
    "product": {
        "id": "product-12345",
        "arn": "arn:aws:aws-marketplace:us-east-1:123456789012:AWSMarketplace/SaaSProduct/product-12345",
        "title": "MSP360 Backup for Google Workspace"
    },
    "manufacturer": {
        "name": "Test Vendor"
    },
    "experienceId": "exp-12345",
    "productProcurementRequestId": "prodprocreq-67890",
    "catalog": "AWSMarketplace",
    "requesterArn": "arn:aws:iam::255182084545:user/pmp-enduser"
  }
}
```

## 제품 요청 취소 이벤트
<a name="event-request-cancelled"></a>

Private Marketplace 구매자가 제품 요청을 취소하면 구매자와 Private Marketplace 관리자는 `Product Request Cancelled` 세부 정보 유형의 이벤트를 수신합니다.

다음 예는 `Product Request Cancelled` 이벤트의 데이터 본문을 보여줍니다.

```
{
  "version": "0", 		 	 	 
  "id": "01234567-0123-0123-0123-0123456789ab", 
  "detail-type": "Product Request Cancelled",
  "source": "aws.private-marketplace", // Event is specific to Private Marketplace
  "account": "982534358349",
  "time": "2016-11-01T13:12:22Z",
  "region": "us-east-1",
  "resources": [
    "arn:aws:aws-marketplace:us-east-1:255182084545:AWSMarketplace/Experience/exp-12345",
    "arn:aws:aws-marketplace:us-east-1:982534358349:AWSMarketplace/ProductProcurementRequest/prodprocreq-67890"
  ],
  "detail": {
    "requestId": "3d4c9f9b-b809-4f5e-9fac-a9ae98b05cbb",
    "cancelledDate": "2022-11-05T13:12:22Z",
    "schemaVersion": "1.0.0",
    "product": {
        "id": "prod-xpaczqtfx7xqe",
        "arn": "arn:aws:aws-marketplace:us-east-1:123456789012:AWSMarketplace/SaaSProduct/product-12345",
        "title": "MSP360 Backup for Google Workspace"
    },
    "manufacturer": {
        "name": "Test Vendor"
    },
    "experienceId": "exp-12345",
    "productProcurementRequestId": "prodprocreq-67890",
    "catalog": "AWSMarketplace",
    "requesterArn": "arn:aws:iam::982534358349:enduser1"
  }
}
```

## 제품 요청 만료 이벤트
<a name="event-request-expired"></a>

Private Marketplace 제품 요청이 30일 후에 만료되면 구매자와 Private Marketplace 관리자는 `Product Request Expired` 세부 정보 유형의 이벤트를 수신합니다.

다음 예는 `Product Request Expired` 이벤트의 데이터 본문을 보여줍니다.

```
{
  "version": "0", 		 	 	                   
  "id": "01234567-0123-0123-0123-0123456789ab",
  "detail-type": "Product Request Expired",
  "source": "aws.private-marketplace",
  "account": "255182084545",
  "time": "2016-11-01T13:12:22Z",
  "region": "us-east-1",
  "resources": [
    "arn:aws:aws-marketplace:us-east-1:255182084545:AWSMarketplace/Experience/exp-12345",
    "arn:aws:aws-marketplace:us-east-1:982534358349:AWSMarketplace/ProductProcurementRequest/prodprocreq-67890"
  ],
  "detail": {
    "requestId": "3d4c9f9b-b809-4f5e-9fac-a9ae98b05cbb",
    "declinedDate": "2022-11-05T13:12:22Z",
    "declinedCause": "REQUEST_EXPIRED",
    "schemaVersion": "1.0.0",
    "product": {
        "id": "product-12345",
        "arn": "arn:aws:aws-marketplace:us-east-1:123456789012:AWSMarketplace/SaaSProduct/product-12345",
        "title": "MSP360 Backup for Google Workspace"
    },
    "manufacturer": {
        "name": "Test Vendor"
    },
    "experienceId": "exp-12345",
    "productProcurementRequestId": "prodprocreq-67890",
    "catalog": "AWSMarketplace",
    "requesterArn": "arn:aws:iam::255182084545:user/pmp-enduser"
  }
}
```

# AWS Marketplace 계약 EventBridge 이벤트
<a name="agreement-eventbridge"></a>

AWS Marketplace 는 계약의 수명 주기(즉, 구매한 제안)에 특정 이벤트가 발생하면 Amazon EventBridge에 알림을 보냅니다. 이러한 이벤트를 사용하여 워크플로를 자동화하고 마켓플레이스 구매를 추적할 수 있습니다.

다음 표에는가 EventBridge로 AWS Marketplace 보내는 구매자 이벤트가 나열되어 있습니다.


| 이벤트 | 설명 | 
| --- | --- | 
| 구매 계약 생성됨 - 수락자 | 계정에서 새 구매 계약이 생성, 갱신 또는 교체될 때 전송됨 | 
| 구매 계약 수정 - 수락자 | 기존 구매 계약을 수정할 때 전송됨 | 
| 구매 계약 종료됨 - 수락자 | 구매 계약이 취소, 만료, 종료, 갱신 또는 교체될 때 전송됨 | 
| 구매 계약 종료 - 수락자 | 구매 계약이 만료되기 30일, 60일 및 90일 전에 전송됨 | 

## 개요
<a name="agreement-events-overview"></a>

구매자는 다음 구매 계약 수명 주기 이벤트에 대한 EventBridge 알림을 받습니다.
+ 계약 생성
+ 계약 수정
+ 계약 종료(취소, 만료 또는 해지)
+ 계약 종료

모든 이벤트는 이벤트 소스를 사용하여 `us-east-1` 리전의 기본 EventBridge 이벤트 버스로 전송됩니다`aws.agreement-marketplace`.

## 이벤트 유형
<a name="agreement-event-types"></a>

### 구매 계약 생성됨 - 수락자
<a name="agreement-created-event"></a>

AWS Marketplace 는 계정에 새 구매 계약이 생성되면이 이벤트를 전송합니다.

**트리거 시나리오:**
+ `NEW` - 계약이 처음으로 생성됨
+ `REPLACE` - 계약 기반 제안(ABO)의 일부로 새 비공개 제안을 수락해야 합니다.
+ `RENEW` - 계약이 만료 시 자동 갱신됨(활성화된 경우)

**이벤트 스키마:**

```
{
  "version": "0",
  "id": "abcd1234-5678-90ef-ghij-klmnopqrstuv",
  "detail-type": "Purchase Agreement Created - Acceptor",
  "source": "aws.agreement-marketplace",
  "account": "<Buyer Account ID>",
  "time": "2024-08-30T21:36:03Z",
  "region": "us-east-1",
  "resources": [
    "arn:aws:aws-marketplace::agreement:agmt-9xyz8wmklp67rt32nb1qv45ds"
  ],
  "detail": {
    "requestId": "7f3e2d1c-a9b8-4f5e-6d7c-1234567890ab",
    "catalog": "AWSMarketplace",
    "agreement": {
      "id": "agmt-9xyz8wmklp67rt32nb1qv45ds",
      "intent": "NEW|RENEW|REPLACE",
      "status": "ACTIVE",
      "acceptanceTime": "2024-06-26T21:36:03Z",
      "startTime": "2024-08-30T21:36:03Z",
      "endTime": "2025-05-30T21:36:03Z"
    },
    "acceptor": {
      "accountId": "<Buyer Account ID>"
    },
    "proposer": {
      "accountId": "<Proposer Account ID>"
    },
    "offer": {
      "id": "offer-abcdef123456"
    }
  }
}
```

### 구매 계약 수정 - 수락자
<a name="agreement-amended-event"></a>

AWS Marketplace 는 조건, 요금 또는 기타 계약 파라미터 변경과 같이 기존 구매 계약을 수정할 때이 이벤트를 전송합니다.

**이벤트 스키마:**

```
{
  "version": "0",
  "id": "12345678-1234-1234-1234-123456789012",
  "detail-type": "Purchase Agreement Amended Acceptor",
  "source": "aws.agreement-marketplace",
  "account": "<Buyer Account ID>",
  "time": "2024-08-30T21:36:03Z",
  "region": "us-east-1",
  "resources": [
    "arn:aws:aws-marketplace::aws:agreement:agmt-4mwg1nevbokzw95eca5797ixs"
  ],
  "detail": {
    "requestId": "3d4c9f9b-b809-4f5e-9fac-a9ae98b05cbb",
    "catalog": "AWSMarketplace",
    "agreement": {
      "id": "agmt-4mwg1nevbokzw95eca5797ixs",
      "intent": "AMEND",
      "status": "ACTIVE",
      "acceptanceTime": "2024-06-26T21:36:03Z",
      "startTime": "2024-08-30T21:36:03Z",
      "endTime": "2025-05-30T21:36:03Z"
    },
    "acceptor": {
      "accountId": "<Buyer Account ID>"
    },
    "proposer": {
      "accountId": "<Proposer Account ID>"
    },
    "offer": {
      "id": "offer-1234567890123"
    }
  }
}
```

### 구매 계약 종료됨 - 수락자
<a name="agreement-ended-event"></a>

AWS Marketplace 는 구매 계약이 종료되면이 이벤트를 전송합니다.

**트리거 시나리오:**
+ `CANCELLED` - 정의된 종료 날짜 이전에 계약을 종료했습니다.
+ `EXPIRED` - 계약이 정의된 종료 날짜에 도달했습니다.
+ `TERMINATED` 계약 AWS 종료(예: 결제 실패로 인해)
+ `RENEWED` - 계약이 새 계약으로 갱신되었습니다.
+ `REPLACED` - 계약이 계약 대체 제안을 사용하여 대체되었습니다.

**이벤트 스키마:**

```
{
  "version": "0",
  "id": "abcd1234-5678-90ef-ghij-klmnopqrstuv",
  "detail-type": "Purchase Agreement Ended - Acceptor",
  "source": "aws.agreement-marketplace",
  "account": "987654321098",
  "time": "2024-08-30T21:36:03Z",
  "region": "us-east-1",
  "resources": [
    "arn:aws:aws-marketplace:aws:agreement:agmt-9xyz8wmklp67rt32nb1qv45ds"
  ],
  "detail": {
    "requestId": "7f3e2d1c-a9b8-4f5e-6d7c-1234567890ab",
    "catalog": "AWSMarketplace",
    "agreement": {
      "id": "agmt-9xyz8wmklp67rt32nb1qv45ds",
      "status": "CANCELLED|EXPIRED|RENEWED|REPLACED|TERMINATED"
    },
    "acceptor": {
      "accountId": "<Buyer Account ID>"
    },
    "proposer": {
      "accountId": "<Proposer Account ID>"
    },
    "offer": {
      "id": "offer-abcdef123456"
    }
  }
}
```

### 구매 계약 종료 - 수락자
<a name="agreement-ending-event"></a>

AWS Marketplace 는 구매 계약이 만료되기 30일, 60일 및 90일 전에이 이벤트를 전송합니다.

이 이벤트에는 다른 구매자 이벤트에 없는 추가 필드가 포함됩니다.
+ `agreement.autoRenewalEnabled` - 계약에 자동 갱신이 활성화되어 있는지 여부를 나타냅니다.
+ `product.id` 및 `product.title` - 계약에 대한 제품 정보
+ `proposer.name` 및 `offer.name` - 판매자 및 제안의 사람이 읽을 수 있는 이름

**이벤트 스키마:**

```
{
  "version": "0",
  "id": "abcd1234-5678-90ef-ghij-klmnopqrstuv",
  "detail-type": "Purchase Agreement Ending - Acceptor",
  "source": "aws.agreement-marketplace",
  "account": "<Buyer Account ID>",
  "time": "2025-03-31T21:36:03Z",
  "region": "us-east-1",
  "resources": [
    "arn:aws:aws-marketplace::aws:agreement:agmt-9xyz8wmklp67rt32nb1qv45ds"
  ],
  "detail": {
    "requestId": "7f3e2d1c-a9b8-4f5e-6d7c-1234567890ab",
    "catalog": "AWSMarketplace",
    "agreement": {
      "id": "agmt-9xyz8wmklp67rt32nb1qv45ds",
      "startTime": "2024-08-30T21:36:03Z",
      "endTime": "2025-05-30T21:36:03Z",
      "autoRenewalEnabled": true,
      "status": "ACTIVE"
    },
    "product": {
      "id": "prod-abc123xyz456",
      "title": "Example Product Title"
    },
    "acceptor": {
      "accountId": "<Buyer Account ID>"
    },
    "proposer": {
      "name": "Example Seller Name",
      "accountId": "<Proposer Account ID>"
    },
    "offer": {
      "id": "offer-abcdef123456",
      "name": "Example Offer Name"
    }
  }
}
```

## 공통 이벤트 필드
<a name="agreement-common-fields"></a>

모든 구매자 이벤트에는 다음과 같은 공통 필드가 포함됩니다.


| 필드 | 설명 | 
| --- | --- | 
| requestId | 중복 이벤트를 중복 제거하는 데 사용되는 UUID | 
| catalog |  AWS Marketplace 카탈로그(일반적으로 "AWSMarketplace") | 
| agreementId | 계약의 고유 식별자 | 
| acceptor.accountId |  AWS 계정 ID | 
| proposer.accountId | 판매자의 AWS 계정 ID | 
| offer.id | 제안 식별자 | 

## EventBridge 규칙 설정
<a name="agreement-eventbridge-setup"></a>

이러한 알림을 받으려면 구매자 이벤트의 이벤트 패턴과 일치하는 EventBridge 규칙을 생성합니다. 규칙 생성에 대한 자세한 내용은 [Amazon EventBridge 사용 설명서의 Amazon EventBridge 규칙 생성을](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-create-rule.html) 참조하세요. * EventBridge *

# 취소 및 결제 조정 이벤트
<a name="cancellation-adjustment-eventbridge"></a>

AWS Marketplace 는 판매자가 계약 중 하나에 대한 취소 요청 또는 결제 조정을 시작하면 Amazon EventBridge에 알림을 보냅니다. 이러한 이벤트를 사용하여 워크플로를 자동화하고 취소 및 환불 활동을 추적할 수 있습니다.

다음 표에는가 취소 및 결제 조정을 위해 EventBridge로 AWS Marketplace 보내는 구매자 이벤트가 나열되어 있습니다.


| 이벤트 | 설명 | 
| --- | --- | 
| 승인 보류 중인 계약 취소 요청 - 수락자 | 판매자가 계약에 대한 취소 요청을 제출할 때 전송됩니다. 필요한 조치: 승인 또는 거부 기한은 7일입니다. | 
| 계약 취소 요청 승인됨 - 수락자 | 취소 요청이 사용자의 승인을 받거나 7일 후에 자동 승인될 때 전송됩니다. | 
| 계약 취소 요청 거부됨 - 수락자 | 취소 요청을 거부할 때 전송됨 | 
| 계약 취소 요청 취소됨 - 수락자 | 판매자가 취소 요청을 취소할 때 전송됨 | 
| 구매 계약 결제 조정 완료 - 수락자 | 계약에 대한 결제 조정(환불)이 처리될 때 전송됨 | 

모든 이벤트는 이벤트 소스를 사용하여 `us-east-1` 리전의 기본 EventBridge 이벤트 버스로 전송됩니다`aws.agreement-marketplace`.

## 취소 요청 이벤트 유형
<a name="cancellation-event-types"></a>

### 승인 보류 중인 계약 취소 요청 - 수락자
<a name="cancellation-pending-approval-acceptor"></a>

AWS Marketplace 는 판매자가 계약 중 하나에 대한 취소 요청을 제출할 때이 이벤트를 보냅니다. 요청을 승인하거나 거부할 수 있는 기간은 7일입니다. 응답하지 않으면 취소가 자동으로 승인됩니다.

**이벤트 스키마:**

```
{
  "version": "0",
  "id": "01234567-0123-0123-0123-0123456789ab",
  "detail-type": "Agreement Cancellation Request Pending Approval - Acceptor",
  "source": "aws.agreement-marketplace",
  "account": "123456789012",
  "time": "2025-01-01T13:12:22Z",
  "region": "us-east-1",
  "resources": [],
  "detail": {
    "requestId": "3d4c9f9b-b809-4f5e-9fac-a9ae98b05cbb",
    "catalog": "AWSMarketplace",
    "agreement": {
      "id": "agmt-abcdexampleid",
      "proposerId": "123456789012",
      "productId": "prod-exampleid",
      "offerId": "offer-exampleid"
    },
    "agreementCancellationRequest": {
      "id": "acr-abcdexampleid",
      "reasonCode": "INCORRECT_TERMS_ACCEPTED",
      "reasonMessage": "",
      "statusCode": "PENDING_APPROVAL",
      "statusMessage": "",
      "createdAt": "2025-01-01T13:12:22Z",
      "updatedAt": "2025-01-01T13:12:22Z"
    }
  }
}
```

### 계약 취소 요청 승인됨 - 수락자
<a name="cancellation-approved-acceptor"></a>

AWS Marketplace 는 계약 중 하나에 대한 취소 요청이 승인되면이 이벤트를 전송합니다. 이는 요청을 승인하거나 응답 없이 7일 후에 자동 승인될 때 발생할 수 있습니다.

**이벤트 스키마:**

```
{
  "version": "0",
  "id": "01234567-0123-0123-0123-0123456789ab",
  "detail-type": "Agreement Cancellation Request Approved - Acceptor",
  "source": "aws.agreement-marketplace",
  "account": "123456789012",
  "time": "2025-01-01T13:16:07Z",
  "region": "us-east-1",
  "resources": [],
  "detail": {
    "requestId": "3d4c9f9b-b809-4f5e-9fac-a9ae98b05cbb",
    "catalog": "AWSMarketplace",
    "agreement": {
      "id": "agmt-abcdexampleid",
      "proposerId": "123456789012",
      "productId": "prod-exampleid",
      "offerId": "offer-exampleid"
    },
    "agreementCancellationRequest": {
      "id": "acr-abcdexampleid",
      "reasonCode": "INCORRECT_TERMS_ACCEPTED",
      "reasonMessage": "The terms accepted in agreement had wrong rate",
      "statusCode": "APPROVED",
      "statusMessage": "",
      "createdAt": "2025-01-01T13:12:22Z",
      "updatedAt": "2025-01-01T13:16:07Z"
    }
  }
}
```

### 계약 취소 요청 거부됨 - 수락자
<a name="cancellation-rejected-acceptor"></a>

AWS Marketplace 는 계약 중 하나에 대한 취소 요청을 거부하면이 이벤트를 전송합니다.

**이벤트 스키마:**

```
{
  "version": "0",
  "id": "01234567-0123-0123-0123-0123456789ab",
  "detail-type": "Agreement Cancellation Request Rejected - Acceptor",
  "source": "aws.agreement-marketplace",
  "account": "123456789012",
  "time": "2025-01-02T10:30:00Z",
  "region": "us-east-1",
  "resources": [],
  "detail": {
    "requestId": "3d4c9f9b-b809-4f5e-9fac-a9ae98b05cbb",
    "catalog": "AWSMarketplace",
    "agreement": {
      "id": "agmt-abcdexampleid",
      "proposerId": "123456789012",
      "productId": "prod-exampleid",
      "offerId": "offer-exampleid"
    },
    "agreementCancellationRequest": {
      "id": "acr-abcdexampleid",
      "reasonCode": "INCORRECT_TERMS_ACCEPTED",
      "reasonMessage": "",
      "statusCode": "REJECTED",
      "statusMessage": "We still need this product",
      "createdAt": "2025-01-01T13:12:22Z",
      "updatedAt": "2025-01-02T10:30:00Z"
    }
  }
}
```

### 계약 취소 요청 취소됨 - 수락자
<a name="cancellation-cancelled-acceptor"></a>

AWS Marketplace 는 판매자가 응답하기 전에 취소 요청을 철회하면이 이벤트를 보냅니다.

**이벤트 스키마:**

```
{
  "version": "0",
  "id": "01234567-0123-0123-0123-0123456789ab",
  "detail-type": "Agreement Cancellation Request Cancelled - Acceptor",
  "source": "aws.agreement-marketplace",
  "account": "123456789012",
  "time": "2025-01-02T08:00:00Z",
  "region": "us-east-1",
  "resources": [],
  "detail": {
    "requestId": "3d4c9f9b-b809-4f5e-9fac-a9ae98b05cbb",
    "catalog": "AWSMarketplace",
    "agreement": {
      "id": "agmt-abcdexampleid",
      "proposerId": "123456789012",
      "productId": "prod-exampleid",
      "offerId": "offer-exampleid"
    },
    "agreementCancellationRequest": {
      "id": "acr-abcdexampleid",
      "reasonCode": "INCORRECT_TERMS_ACCEPTED",
      "reasonMessage": "",
      "statusCode": "CANCELLED",
      "statusMessage": "Seller withdrew the request",
      "createdAt": "2025-01-01T13:12:22Z",
      "updatedAt": "2025-01-02T08:00:00Z"
    }
  }
}
```

## 결제 조정 이벤트 유형
<a name="billing-adjustment-event-types"></a>

### 구매 계약 결제 조정 완료 - 수락자
<a name="billing-adjustment-successful-acceptor"></a>

AWS Marketplace 는 계약 중 하나에 대한 결제 조정(환불)이 처리되면이 이벤트를 전송합니다.

**이벤트 스키마:**

```
{
  "version": "0",
  "id": "01234567-0123-0123-0123-0123456789ab",
  "detail-type": "Purchase Agreement Billing Adjustment Completed - Acceptor",
  "source": "aws.agreement-marketplace",
  "account": "123456789012",
  "time": "2025-01-01T14:00:00Z",
  "region": "us-east-1",
  "resources": [],
  "detail": {
    "requestId": "3d4c9f9b-b809-4f5e-9fac-a9ae98b05cbb",
    "catalog": "AWSMarketplace",
    "agreement": {
      "id": "agmt-abcdexampleid"
    },
    "billingAdjustmentRequest": {
      "id": "ba-abcdexampleid",
      "adjustmentAmount": "-1000.00",
      "currencyCode": "USD",
      "adjustmentReasonCode": "INCORRECT_TERMS_ACCEPTED"
    },
    "invoice": {
      "originalInvoiceId": "2028746221"
    }
  }
}
```

취소 요청에 응답하고 결제 조정을 추적하는 방법에 대한 자세한 내용은 섹션을 참조하세요[의 환불 및 취소 AWS Marketplace](buyer-refunds.md).