本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
AWS Marketplace 私人市场 EventBridge 活动
AWS Marketplace 每当买家提出产品请求时,私人市场管理员和买家都会收到事件。当请求获得批准或拒绝时,他们还会收到事件。这些活动包含产品IDs和卖家名称等详细信息。
本节中的主题提供有关下表所列事件的详细信息。
操作 | 收到的事件 | 更多信息 |
---|---|---|
买家为其私人市场申请产品 | 产品请求已创建 | 新产品请求活动 |
管理员批准产品 | 产品申请已批准 | 产品请求批准事件 |
管理员拒绝产品,或者系统在 30 天后自动拒绝 | 产品请求被拒绝 | 产品请求被拒绝的事件 |
新产品请求活动
当买家为其私有商城目录申请产品时,买家和私人商城管理员会收到包含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:22
Z", "region": "us-east-1", "resources": [ "arn:aws:aws-marketplace:us-east-1:255182084545
:AWSMarketplace/Experience/exp-12345
" ], "detail": { "requestId": "3d4c9f9b-b809-4f5e-9fac-a9ae98b05cbb
", "expirationDate": "2022-11-01T13:12:22
Z", "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
", "catalog": "AWSMarketplace", "requesterArn": "arn:aws:iam::255182084545
:user/pmp-enduser" } }
产品请求批准事件
当私人商城管理员批准某件商品加入买家的私有商城目录时,买家和私有市场管理员会收到包含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:22
Z", "region": "us-east-1", "resources": [ "arn:aws:aws-marketplace:us-east-1:255182084545
:AWSMarketplace/Experience/exp-12345
" ], "detail": { "requestId": "3d4c9f9b-b809-4f5e-9fac-a9ae98b05cbb
", "approvedDate": "2022-11-05
T13:12:22
Z", "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
", "catalog": "AWSMarketplace", "requesterArn": "arn:aws:iam::255182084545
:user/pmp-enduser" } }
产品请求被拒绝的事件
当私有市场管理员拒绝添加商品,或者系统在 30 天后自动拒绝该请求时,买家和私有市场管理员会收到包含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-01
T13:12:22
Z", "region": "us-east-1", "resources": [ "arn:aws:aws-marketplace:us-east-1:255182084545
:AWSMarketplace/Experience/exp-12345
" ], "detail": { "requestId": "3d4c9f9b-b809-4f5e-9fac-a9ae98b05cbb
", "declinedDate": "2022-11-05
T13:12:22
Z", "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
", "catalog": "AWSMarketplace", "requesterArn": "arn:aws:iam::255182084545
:user/pmp-enduser" } }