日本熟妇hd丰满老熟妇,中文字幕一区二区三区在线不卡 ,亚洲成片在线观看,免费女同在线一区二区

對象存儲OSS事件

本文介紹對象存儲OSS作為事件源發布到事件總線EventBridge的事件類型。

支持的地域

支持對象存儲OSS發布到事件總線EventBridge的地域有華東1(杭州)、華東2(上海)、華北2(北京)、華北3(張家口)、華南1(深圳)、西南1(成都)、美國(硅谷)、新加坡和日本(東京)。

事件類型

對象存儲OSS支持發布到事件總線EventBridge的事件類型如下所示。

事件類型

type參數值

創建存儲空間

oss:BucketCreated:PutBucket

刪除存儲空間

oss:BucketRemoved:DeleteBucket

以追加寫的方式上傳文件

oss:ObjectCreated:AppendObject

拷貝文件

oss:ObjectCreated:CopyObject

通過HTML表單上傳文件

oss:ObjectCreated:PostObject

上傳文件

oss:ObjectCreated:PutObject

創建軟鏈接

oss:ObjectCreated:PutSymlink

刪除文件

oss:ObjectRemoved:DeleteObject

初始化分片上傳

oss:ObjectCreated:InitiateMultipartUpload

上傳文件分片

oss:ObjectCreated:UploadPart

以拷貝方式上傳文件分片

oss:ObjectCreated:UploadPartCopy

文件分片上傳已完成

oss:ObjectCreated:CompleteMultipartUpload

文件分片上傳已取消

oss:ObjectRemoved:AbortMultipartUpload

解凍數據文件已完成

oss:ObjectRestore:FinishRestore

通過跨區域復制生成文件

oss:ObjectReplication:ObjectCreated

通過跨區域復制覆蓋文件

oss:ObjectReplication:ObjectModified

通過跨區域復制刪除文件

oss:ObjectReplication:ObjectRemoved

阿里云平臺對資源執行的操作事件

oss:ActionTrail:AliyunServiceEvent

API調用

oss:ActionTrail:ApiCall

控制臺的操作事件

oss:ActionTrail:ConsoleOperation

Bucket下行帶寬超過匯報閾值

oss:CloudMonitor:BucketEgressBandwidth

Bucket下行帶寬超過流控閾值

oss:CloudMonitor:BucketEgressBandwidthThresholdExceeded

Bucket圖片處理占用CPU核數超過流控閾值

oss:CloudMonitor:BucketImageCpuThresholdExceeded

Bucket上行帶寬超過匯報閾值

oss:CloudMonitor:BucketIngressBandwidth

Bucket上行帶寬超過流控閾值

oss:CloudMonitor:BucketIngressBandwidthThresholdExceeded

Bucket鏡像回源帶寬超過流控閾值

oss:CloudMonitor:BucketMirrorIngressBandwidthThresholdExceeded

Bucket鏡像回源QPS超過流控閾值

oss:CloudMonitor:BucketMirrorQpsThresholdExceeded

Bucket每秒請求數超過QPS流控閾值

oss:CloudMonitor:BucketQpsThresholdExceeded

User下行帶寬超過匯報閾值

oss:CloudMonitor:UserEgressBandwidth

User下行帶寬超過流控閾值

oss:CloudMonitor:UserEgressBandwidthThresholdExceeded

User圖片處理占用CPU核數超過流控閾值

oss:CloudMonitor:UserImageCpuThresholdExceeded

User上行帶寬超過匯報閾值

oss:CloudMonitor:UserIngressBandwidth

User上行帶寬超過流控閾值

oss:CloudMonitor:UserIngressBandwidthThresholdExceeded

User鏡像回源帶寬超過流控閾值

oss:CloudMonitor:UserMirrorIngressBandwidthThresholdExceeded

User鏡像回源QPS超過流控閾值

oss:CloudMonitor:UserMirrorQpsThresholdExceeded

User QPS超過流控閾值

oss:CloudMonitor:UserQpsThresholdExceeded

資源變更投遞

oss:Config:ConfigurationItemChangeNotification

資源評估不合規通知

oss:Config:NonCompliantNotification

CloudEvents規范中定義的參數解釋,請參見事件概述

創建存儲空間

存儲空間(Bucket)是用于存儲對象(Object)的容器。在上傳任意類型的Object前,您需要先創建Bucket。創建存儲空間時,事件總線EventBridge接收到的示例事件如下所示。

{
    "datacontenttype":"application/json;charset=utf-8",
    "aliyunaccountid":"164901546557****",
    "data":{
        "region":"cn-beijing",
        "eventVersion":"1.0",
        "eventSource":"acs:oss",
        "eventName":"BucketCreated:PutBucket",
        "eventTime":"2021-08-13T06:45:43.000Z",
        "requestParameters":{
            "sourceIPAddress":"118.31.XX.XX"
        },
        "userIdentity":{
            "principalId":"28815334868278****"
        },
        "responseElements":{
            "requestId":"61161517B258223732BC****"
        },
        "oss":{
            "bucket":{
                "name":"oss-source-bucket1-cn-beijing",
                "arn":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing",
                "ownerIdentity":"164901546557****"
            },
            "ossSchemaVersion":"1.0"
        }
    },
    "subject":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing/1628837143916",
    "aliyunoriginalaccountid":"164901546557****",
    "source":"acs.oss",
    "type":"oss:BucketCreated:PutBucket",
    "aliyunpublishtime":"2021-08-13T06:45:43.986Z",
    "specversion":"1.0",
    "aliyuneventbusname":"default",
    "id":"61161517B258223732BC****",
    "time":"2021-08-13T06:45:43Z",
    "aliyunregionid":"cn-beijing"
}

data字段包含的參數解釋如下表所示。

參數

類型

示例值

描述

region

String

cn-beijing

bucket所在的地域。

eventVersion

String

1.0

事件協議的版本。

eventSource

String

acs:oss

事件源,固定為acs.oss

eventName

String

BucketCreated:PutBucket

事件類型。

eventTime

String

2021-08-13T06:45:43.000Z

事件產生的時間。使用ISO-8601標準時間格式。

requestParameters

String

請求參數。

sourceIPAddress

String

118.31.XX.XX

請求消息的源IP地址。

userIdentity

Map

用戶信息。

principalId

String

28815334868278****

請求發起者的用戶ID。

responseElements

Map

返回參數。

requestId

String

61161517B258223732BC****

請求對應的Request ID。

oss

Map

OSS事件內容。

bucket

Map

bucket參數內容。

name

String

oss-source-bucket1-cn-beijing

Bucket的名稱。

arn

String

acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing

Bucket的唯一標識符。

ownerIdentity

String

164901546557****

創建Bucket的用戶ID。

ossSchemaVersion

String

1.0

OSS模式的版本號。

刪除存儲空間

刪除存儲空間時,事件總線EventBridge接收到的示例事件如下所示。

{
    "datacontenttype":"application/json;charset=utf-8",
    "aliyunaccountid":"164901546557****",
    "data":{
        "region":"cn-beijing",
        "eventVersion":"1.0",
        "eventSource":"acs:oss",
        "eventName":"BucketCreated:DeleteBucket",
        "eventTime":"2021-08-13T06:45:43.000Z",
        "requestParameters":{
            "sourceIPAddress":"118.31.XX.XX"
        },
        "userIdentity":{
            "principalId":"28815334868278****"
        },
        "responseElements":{
            "requestId":"61161517B258223732BC****"
        },
        "oss":{
            "bucket":{
                "name":"oss-source-bucket1-cn-beijing",
                "arn":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing",
                "ownerIdentity":"164901546557****"
            },
            "ossSchemaVersion":"1.0"
        }
    },
    "subject":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing/1628837143916",
    "aliyunoriginalaccountid":"164901546557****",
    "source":"acs.oss",
    "type":"oss:BucketCreated:DeleteBucket",
    "aliyunpublishtime":"2021-08-13T06:45:43.986Z",
    "specversion":"1.0",
    "aliyuneventbusname":"default",
    "id":"61161517B258223732BC****",
    "time":"2021-08-13T06:45:43Z",
    "aliyunregionid":"cn-beijing"
}

關于data字段包含的參數解釋,請參見參數解釋

以追加寫的方式上傳文件

以追加寫的方式上傳文件時,事件總線EventBridge接收到的示例事件如下所示。

{
    "datacontenttype":"application/json;charset=utf-8",
    "aliyunaccountid":"164901546557****",
    "data":{
        "region":"cn-beijing",
        "eventVersion":"1.0",
        "eventSource":"acs:oss",
        "eventName":"ObjectCreated:AppendObject",
        "eventTime":"2021-08-13T06:45:43.000Z",
        "requestParameters":{
            "sourceIPAddress":"118.31.XX.XX"
        },
        "userIdentity":{
            "principalId":"28815334868278****"
        },
        "responseElements":{
            "requestId":"61161517B258223732BC****"
        },
        "oss":{
            "bucket":{
                "name":"oss-source-bucket1-cn-beijing",
                "arn":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing",
                "ownerIdentity":"164901546557****"
            },
            "ossSchemaVersion":"1.0",
            "object":{
                "size":9,
                "deltaSize":9,
                "eTag":"F0F18C2C66AE1DD512BDCD4366F7****",
                "key":"objectname",
                "position":0
            }
        }
    },
    "subject":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing/1628837143916",
    "aliyunoriginalaccountid":"164901546557****",
    "source":"acs.oss",
    "type":"oss:ObjectCreated:AppendObject",
    "aliyunpublishtime":"2021-08-13T06:45:43.986Z",
    "specversion":"1.0",
    "aliyuneventbusname":"default",
    "id":"61161517B258223732BC****",
    "time":"2021-08-13T06:45:43Z",
    "aliyunregionid":"cn-beijing"
}

data字段包含的參數解釋如下表所示。

參數

類型

示例值

描述

region

String

cn-beijing

bucket所在的地域。

eventVersion

String

1.0

事件協議的版本。

eventSource

String

acs:oss

事件源,固定為“acs:oss”。

eventName

String

ObjectCreated:AppendObject

事件類型。

eventTime

String

2021-08-13T06:45:43.000Z

事件產生的時間。使用ISO-8601標準時間格式。

requestParameters

String

請求參數。

sourceIPAddress

String

118.31.XX.XX

請求消息的源IP地址。

userIdentity

Map

用戶信息。

principalId

String

28815334868278****

請求發起者的用戶ID。

responseElements

Map

返回參數。

requestId

String

61161517B258223732BC****

請求對應的Request ID。

oss

Map

OSS事件內容。

bucket

Map

bucket參數內容。

name

String

oss-source-bucket1-cn-beijing

Bucket的名稱。

arn

String

acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing

Bucket的唯一標識符。

ownerIdentity

String

164901546557****

創建Bucket的用戶ID。

ossSchemaVersion

String

1.0

OSS模式的版本號。

object

Map

object參數內容。

size

Int

9

object的大小。單位:Byte。

deltaSize

Int

9

object的大小變化量。單位:Byte。

  • 如果新增一個文件,此參數的值表示文件大小。

  • 如果同名覆蓋一個文件,此參數的值表示新文件與舊文件的大小差值。

eTag

String

F0F18C2C66AE1DD512BDCD4366F7****

Object的標簽。

key

String

objectname

Object的名稱。

position

Int

0

以追加寫的方式上傳文件時,開始追加的位置。首次追加從0字節開始。

拷貝文件

拷貝文件時,事件總線EventBridge接收到的示例事件如下所示。

{
    "datacontenttype":"application/json;charset=utf-8",
    "aliyunaccountid":"164901546557****",
    "data":{
        "region":"cn-beijing",
        "eventVersion":"1.0",
        "eventSource":"acs:oss",
        "eventName":"ObjectCreated:CopyObject",
        "eventTime":"2021-08-13T06:45:43.000Z",
        "requestParameters":{
            "sourceIPAddress":"118.31.XX.XX"
        },
        "userIdentity":{
            "principalId":"28815334868278****"
        },
        "responseElements":{
            "requestId":"61161517B258223732BC****"
        },
        "oss":{
            "bucket":{
                "name":"oss-source-bucket1-cn-beijing",
                "arn":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing",
                "ownerIdentity":"164901546557****"
            },
            "ossSchemaVersion":"1.0",
            "object":{
                "size":9,
                "deltaSize":9,
                "eTag":"F0F18C2C66AE1DD512BDCD4366F7****",
                "key":"objectname"
            }
        }
    },
    "subject":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing/1628837143916",
    "aliyunoriginalaccountid":"164901546557****",
    "source":"acs.oss",
    "type":"oss:ObjectCreated:CopyObject",
    "aliyunpublishtime":"2021-08-13T06:45:43.986Z",
    "specversion":"1.0",
    "aliyuneventbusname":"default",
    "id":"61161517B258223732BC****",
    "time":"2021-08-13T06:45:43Z",
    "aliyunregionid":"cn-beijing"
}

關于data字段包含的參數解釋如下表所示。

參數

類型

示例值

描述

region

String

cn-beijing

bucket所在的地域。

eventVersion

String

1.0

事件協議的版本。

eventSource

String

acs:oss

事件源,固定為“acs:oss”。

eventName

String

ObjectCreated:AppendObject

事件類型。

eventTime

String

2021-08-13T06:45:43.000Z

事件產生的時間。使用ISO-8601標準時間格式。

requestParameters

String

請求參數。

sourceIPAddress

String

118.31.XX.XX

請求消息的源IP地址。

userIdentity

Map

用戶信息。

principalId

String

28815334868278****

請求發起者的用戶ID。

responseElements

Map

返回參數。

requestId

String

61161517B258223732BC****

請求對應的Request ID。

oss

Map

OSS事件內容。

bucket

Map

bucket參數內容。

name

String

oss-source-bucket1-cn-beijing

Bucket的名稱。

arn

String

acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing

Bucket的唯一標識符。

ownerIdentity

String

164901546557****

創建Bucket的用戶ID。

ossSchemaVersion

String

1.0

OSS模式的版本號。

object

Map

object參數內容。

size

Int

9

object的大小。單位:Byte。

deltaSize

Int

9

object的大小變化量。單位:Byte。

  • 如果新增一個文件,此參數的值表示文件大小。

  • 如果同名覆蓋一個文件,此參數的值表示新文件與舊文件的大小差值。

eTag

String

F0F18C2C66AE1DD512BDCD4366F7****

Object的標簽。

key

String

objectname

Object的名稱。

通過HTML表單上傳文件

通過HTML表單上傳文件時,事件總線EventBridge接收到的示例事件如下所示。

{
    "datacontenttype":"application/json;charset=utf-8",
    "aliyunaccountid":"164901546557****",
    "data":{
        "region":"cn-beijing",
        "eventVersion":"1.0",
        "eventSource":"acs:oss",
        "eventName":"ObjectCreated:PostObject",
        "eventTime":"2021-08-13T06:45:43.000Z",
        "requestParameters":{
            "sourceIPAddress":"118.31.XX.XX"
        },
        "userIdentity":{
            "principalId":"28815334868278****"
        },
        "responseElements":{
            "requestId":"61161517B258223732BC****"
        },
        "oss":{
            "bucket":{
                "name":"oss-source-bucket1-cn-beijing",
                "arn":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing",
                "ownerIdentity":"164901546557****"
            },
            "ossSchemaVersion":"1.0",
            "object":{
                "size":9,
                "deltaSize":9,
                "eTag":"F0F18C2C66AE1DD512BDCD4366F7****",
                "key":"objectname"
            }
        }
    },
    "subject":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing/1628837143916",
    "aliyunoriginalaccountid":"164901546557****",
    "source":"acs.oss",
    "type":"oss:ObjectCreated:PostObject",
    "aliyunpublishtime":"2021-08-13T06:45:43.986Z",
    "specversion":"1.0",
    "aliyuneventbusname":"default",
    "id":"61161517B258223732BC****",
    "time":"2021-08-13T06:45:43Z",
    "aliyunregionid":"cn-beijing"
}

關于data字段包含的參數解釋,請參見參數解釋

上傳文件

上傳文件時,事件總線EventBridge接收到的示例事件如下所示。

{
    "datacontenttype":"application/json;charset=utf-8",
    "aliyunaccountid":"164901546557****",
    "data":{
        "region":"cn-beijing",
        "eventVersion":"1.0",
        "eventSource":"acs:oss",
        "eventName":"ObjectCreated:PutObject",
        "eventTime":"2021-08-13T06:45:43.000Z",
        "requestParameters":{
            "sourceIPAddress":"118.31.XX.XX"
        },
        "userIdentity":{
            "principalId":"28815334868278****"
        },
        "responseElements":{
            "requestId":"61161517B258223732BC****"
        },
        "oss":{
            "bucket":{
                "name":"oss-source-bucket1-cn-beijing",
                "arn":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing",
                "ownerIdentity":"164901546557****"
            },
            "ossSchemaVersion":"1.0",
            "object":{
                "size":9,
                "deltaSize":9,
                "eTag":"F0F18C2C66AE1DD512BDCD4366F7****",
                "key":"objectname"
            }
        }
    },
    "subject":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing/1628837143916",
    "aliyunoriginalaccountid":"164901546557****",
    "source":"acs.oss",
    "type":"oss:ObjectCreated:PutObject",
    "aliyunpublishtime":"2021-08-13T06:45:43.986Z",
    "specversion":"1.0",
    "aliyuneventbusname":"default",
    "id":"61161517B258223732BC****",
    "time":"2021-08-13T06:45:43Z",
    "aliyunregionid":"cn-beijing"
}

關于data字段包含的參數解釋,請參見參數解釋

創建軟鏈接

創建軟鏈接時,事件總線EventBridge接收到的示例事件如下所示。

{
    "datacontenttype":"application/json;charset=utf-8",
    "aliyunaccountid":"164901546557****",
    "data":{
        "region":"cn-beijing",
        "eventVersion":"1.0",
        "eventSource":"acs:oss",
        "eventName":"ObjectCreated:PutSymlink",
        "eventTime":"2021-08-13T06:45:43.000Z",
        "requestParameters":{
            "sourceIPAddress":"118.31.XX.XX"
        },
        "userIdentity":{
            "principalId":"28815334868278****"
        },
        "responseElements":{
            "requestId":"61161517B258223732BC****"
        },
        "oss":{
            "bucket":{
                "name":"oss-source-bucket1-cn-beijing",
                "arn":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing",
                "ownerIdentity":"164901546557****"
            },
            "ossSchemaVersion":"1.0",
            "object":{
                "size":9,
                "deltaSize":9,
                "eTag":"F0F18C2C66AE1DD512BDCD4366F7****",
                "key":"objectname"
            }
        }
    },
    "subject":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing/1628837143916",
    "aliyunoriginalaccountid":"164901546557****",
    "source":"acs.oss",
    "type":"oss:ObjectCreated:PutSymlink",
    "aliyunpublishtime":"2021-08-13T06:45:43.986Z",
    "specversion":"1.0",
    "aliyuneventbusname":"default",
    "id":"61161517B258223732BC****",
    "time":"2021-08-13T06:45:43Z",
    "aliyunregionid":"cn-beijing"
}

關于data字段包含的參數解釋,請參見參數解釋

刪除文件

刪除文件時,事件總線EventBridge接收到的示例事件如下所示。

{
    "datacontenttype":"application/json;charset=utf-8",
    "aliyunaccountid":"164901546557****",
    "data":{
        "region":"cn-beijing",
        "eventVersion":"1.0",
        "eventSource":"acs:oss",
        "eventName":"ObjectRemoved:DeleteObject",
        "eventTime":"2021-08-13T06:45:43.000Z",
        "requestParameters":{
            "sourceIPAddress":"118.31.XX.XX"
        },
        "userIdentity":{
            "principalId":"28815334868278****"
        },
        "responseElements":{
            "requestId":"61161517B258223732BC****"
        },
        "oss":{
            "bucket":{
                "name":"oss-source-bucket1-cn-beijing",
                "arn":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing",
                "ownerIdentity":"164901546557****"
            },
            "ossSchemaVersion":"1.0",
            "object":{
                "size":9,
                "deltaSize":9,
                "eTag":"F0F18C2C66AE1DD512BDCD4366F7****",
                "key":"objectname"
            }
        }
    },
    "subject":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing/1628837143916",
    "aliyunoriginalaccountid":"164901546557****",
    "source":"acs.oss",
    "type":"oss:ObjectRemoved:DeleteObject",
    "aliyunpublishtime":"2021-08-13T06:45:43.986Z",
    "specversion":"1.0",
    "aliyuneventbusname":"default",
    "id":"61161517B258223732BC****",
    "time":"2021-08-13T06:45:43Z",
    "aliyunregionid":"cn-beijing"
}

關于data字段包含的參數解釋,請參見參數解釋

初始化分片上傳

初始化分片上傳時,事件總線EventBridge接收到的示例事件如下所示。

{
    "datacontenttype":"application/json;charset=utf-8",
    "aliyunaccountid":"164901546557****",
    "data":{
        "region":"cn-beijing",
        "eventVersion":"1.0",
        "eventSource":"acs:oss",
        "eventName":"ObjectCreated:InitiateMultipartUpload",
        "eventTime":"2021-08-13T06:45:43.000Z",
        "requestParameters":{
            "sourceIPAddress":"118.31.XX.XX"
        },
        "userIdentity":{
            "principalId":"28815334868278****"
        },
        "responseElements":{
            "requestId":"61161517B258223732BC****"
        },
        "oss":{
            "bucket":{
                "name":"oss-source-bucket1-cn-beijing",
                "arn":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing",
                "ownerIdentity":"164901546557****"
            },
            "ossSchemaVersion":"1.0",
            "object":{
                "size":9,
                "deltaSize":9,
                "eTag":"F0F18C2C66AE1DD512BDCD4366F7****",
                "key":"objectname"
            }
        }
    },
    "subject":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing/1628837143916",
    "aliyunoriginalaccountid":"164901546557****",
    "source":"acs.oss",
    "type":"oss:ObjectCreated:InitiateMultipartUpload",
    "aliyunpublishtime":"2021-08-13T06:45:43.986Z",
    "specversion":"1.0",
    "aliyuneventbusname":"default",
    "id":"61161517B258223732BC****",
    "time":"2021-08-13T06:45:43Z",
    "aliyunregionid":"cn-beijing"
}

關于data字段包含的參數解釋,請參見參數解釋

上傳文件分片

上傳文件分片時,事件總線EventBridge接收到的示例事件如下所示。

{
    "datacontenttype":"application/json;charset=utf-8",
    "aliyunaccountid":"164901546557****",
    "data":{
        "region":"cn-beijing",
        "eventVersion":"1.0",
        "eventSource":"acs:oss",
        "eventName":"ObjectCreated:UploadPart",
        "eventTime":"2021-08-13T06:45:43.000Z",
        "requestParameters":{
            "sourceIPAddress":"118.31.XX.XX"
        },
        "userIdentity":{
            "principalId":"28815334868278****"
        },
        "responseElements":{
            "requestId":"61161517B258223732BC****"
        },
        "oss":{
            "bucket":{
                "name":"oss-source-bucket1-cn-beijing",
                "arn":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing",
                "ownerIdentity":"164901546557****"
            },
            "ossSchemaVersion":"1.0",
            "object":{
                "size":9,
                "deltaSize":9,
                "eTag":"F0F18C2C66AE1DD512BDCD4366F7****",
                "key":"objectname"
            }
        }
    },
    "subject":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing/1628837143916",
    "aliyunoriginalaccountid":"164901546557****",
    "source":"acs.oss",
    "type":"oss:ObjectCreated:UploadPart",
    "aliyunpublishtime":"2021-08-13T06:45:43.986Z",
    "specversion":"1.0",
    "aliyuneventbusname":"default",
    "id":"61161517B258223732BC****",
    "time":"2021-08-13T06:45:43Z",
    "aliyunregionid":"cn-beijing"
}

關于data字段包含的參數解釋,請參見參數解釋

以拷貝方式上傳文件分片

以拷貝方式上傳文件分片時,事件總線EventBridge接收到的示例事件如下所示。

{
    "datacontenttype":"application/json;charset=utf-8",
    "aliyunaccountid":"164901546557****",
    "data":{
        "region":"cn-beijing",
        "eventVersion":"1.0",
        "eventSource":"acs:oss",
        "eventName":"ObjectCreated:UploadPartCopy",
        "eventTime":"2021-08-13T06:45:43.000Z",
        "requestParameters":{
            "sourceIPAddress":"118.31.XX.XX"
        },
        "userIdentity":{
            "principalId":"28815334868278****"
        },
        "responseElements":{
            "requestId":"61161517B258223732BC****"
        },
        "oss":{
            "bucket":{
                "name":"oss-source-bucket1-cn-beijing",
                "arn":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing",
                "ownerIdentity":"164901546557****"
            },
            "ossSchemaVersion":"1.0",
            "object":{
                "size":9,
                "deltaSize":9,
                "eTag":"F0F18C2C66AE1DD512BDCD4366F7****",
                "key":"objectname"
            }
        }
    },
    "subject":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing/1628837143916",
    "aliyunoriginalaccountid":"164901546557****",
    "source":"acs.oss",
    "type":"oss:ObjectCreated:UploadPartCopy",
    "aliyunpublishtime":"2021-08-13T06:45:43.986Z",
    "specversion":"1.0",
    "aliyuneventbusname":"default",
    "id":"61161517B258223732BC****",
    "time":"2021-08-13T06:45:43Z",
    "aliyunregionid":"cn-beijing"
}

關于data字段包含的參數解釋,請參見參數解釋

文件分片上傳已完成

文件分片上傳已完成時,事件總線EventBridge接收到的示例事件如下所示。

{
    "datacontenttype":"application/json;charset=utf-8",
    "aliyunaccountid":"164901546557****",
    "data":{
        "region":"cn-beijing",
        "eventVersion":"1.0",
        "eventSource":"acs:oss",
        "eventName":"ObjectCreated:CompleteMultipartUpload",
        "eventTime":"2021-08-13T06:45:43.000Z",
        "requestParameters":{
            "sourceIPAddress":"118.31.XX.XX"
        },
        "userIdentity":{
            "principalId":"28815334868278****"
        },
        "responseElements":{
            "requestId":"61161517B258223732BC****"
        },
        "oss":{
            "bucket":{
                "name":"oss-source-bucket1-cn-beijing",
                "arn":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing",
                "ownerIdentity":"164901546557****"
            },
            "ossSchemaVersion":"1.0",
            "object":{
                "size":9,
                "deltaSize":9,
                "eTag":"F0F18C2C66AE1DD512BDCD4366F7****",
                "key":"objectname"
            }
        }
    },
    "subject":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing/1628837143916",
    "aliyunoriginalaccountid":"164901546557****",
    "source":"acs.oss",
    "type":"oss:ObjectCreated:CompleteMultipartUpload",
    "aliyunpublishtime":"2021-08-13T06:45:43.986Z",
    "specversion":"1.0",
    "aliyuneventbusname":"default",
    "id":"61161517B258223732BC****",
    "time":"2021-08-13T06:45:43Z",
    "aliyunregionid":"cn-beijing"
}

關于data字段包含的參數解釋,請參見參數解釋

文件分片上傳已取消

文件分片上傳已取消時,事件總線EventBridge接收到的示例事件如下所示。

{
    "datacontenttype":"application/json;charset=utf-8",
    "aliyunaccountid":"164901546557****",
    "data":{
        "region":"cn-beijing",
        "eventVersion":"1.0",
        "eventSource":"acs:oss",
        "eventName":"ObjectRemoved:AbortMultipartUpload",
        "eventTime":"2021-08-13T06:45:43.000Z",
        "requestParameters":{
            "sourceIPAddress":"118.31.XX.XX"
        },
        "userIdentity":{
            "principalId":"28815334868278****"
        },
        "responseElements":{
            "requestId":"61161517B258223732BC****"
        },
        "oss":{
            "bucket":{
                "name":"oss-source-bucket1-cn-beijing",
                "arn":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing",
                "ownerIdentity":"164901546557****"
            },
            "ossSchemaVersion":"1.0",
            "object":{
                "size":9,
                "deltaSize":9,
                "eTag":"F0F18C2C66AE1DD512BDCD4366F7****",
                "key":"objectname"
            }
        }
    },
    "subject":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing/1628837143916",
    "aliyunoriginalaccountid":"164901546557****",
    "source":"acs.oss",
    "type":"oss:ObjectRemoved:AbortMultipartUpload",
    "aliyunpublishtime":"2021-08-13T06:45:43.986Z",
    "specversion":"1.0",
    "aliyuneventbusname":"default",
    "id":"61161517B258223732BC****",
    "time":"2021-08-13T06:45:43Z",
    "aliyunregionid":"cn-beijing"
}

關于data字段包含的參數解釋,請參見參數解釋

解凍數據文件已完成

解凍數據文件完成時,事件總線EventBridge接收到的示例事件如下所示。

{
    "datacontenttype":"application/json;charset=utf-8",
    "aliyunaccountid":"164901546557****",
    "data":{
        "region":"cn-beijing",
        "eventVersion":"1.0",
        "eventSource":"acs:oss",
        "eventName":"ObjectRestore:FinishRestore",
        "eventTime":"2021-08-13T06:45:43.000Z",
        "requestParameters":{
            "sourceIPAddress":"118.31.XX.XX"
        },
        "userIdentity":{
            "principalId":"28815334868278****"
        },
        "responseElements":{
            "requestId":"61161517B258223732BC****"
        },
        "oss":{
            "bucket":{
                "name":"oss-source-bucket1-cn-beijing",
                "arn":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing",
                "ownerIdentity":"164901546557****"
            },
            "ossSchemaVersion":"1.0",
            "object":{
                "size":9,
                "deltaSize":9,
                "eTag":"F0F18C2C66AE1DD512BDCD4366F7****",
                "key":"objectname"
            }
        }
    },
    "subject":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing/1628837143916",
    "aliyunoriginalaccountid":"164901546557****",
    "source":"acs.oss",
    "type":"oss:ObjectRestore:FinishRestore",
    "aliyunpublishtime":"2021-08-13T06:45:43.986Z",
    "specversion":"1.0",
    "aliyuneventbusname":"default",
    "id":"61161517B258223732BC****",
    "time":"2021-08-13T06:45:43Z",
    "aliyunregionid":"cn-beijing"
}

關于data字段包含的參數解釋如下表所示。

參數

類型

示例值

描述

region

String

cn-beijing

bucket所在的地域。

eventVersion

String

1.0

事件協議的版本。

eventSource

String

acs:oss

事件源,固定為“acs:oss”。

eventName

String

ObjectRestore:FinishRestore

事件類型。

eventTime

String

2021-08-13T06:45:43.000Z

事件產生的時間。使用ISO-8601標準時間格式。

sourceIPAddress

String

118.31.XX.XX

請求消息的源IP地址。

principalId

String

28815334868278****

請求發起者的用戶ID。

requestId

String

61161517B258223732BC****

請求對應的Request ID。

name

String

oss-source-bucket1-cn-beijing

Bucket的名稱。

arn

String

acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing

Bucket的唯一標識符。

ownerIdentity

String

164901546557****

創建Bucket的用戶ID。

ossSchemaVersion

String

1.0

OSS模式的版本號。

size

Int

9

object的大小。單位:Byte。

deltaSize

Int

9

object的大小變化量。單位:Byte。

  • 如果新增一個文件,此參數的值表示文件大小。

  • 如果同名覆蓋一個文件,此參數的值表示新文件與舊文件的大小差值。

eTag

String

F0F18C2C66AE1DD512BDCD4366F7****

Object的標簽。

key

String

objectname

Object的名稱。

通過跨區域復制生成文件

通過跨區域復制生成文件時,事件總線EventBridge接收到的示例事件如下所示。

{
    "id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
    "source": "acs.oss",
    "specversion": "1.0",
    "subject": "acs.oss:cn-hangzhou:161234567890984901546557****:oss-source-bucket1-cn-hangzhou/1628837143916",
    "time": "2020-11-19T21:04:41+08:00",
    "type": "oss:ObjectReplication:ObjectCreated",
    "aliyunaccountid": "123456789098****",
    "aliyunpublishtime": "2020-11-19T21:04:42Z",
    "aliyuneventbusname": "default",
    "aliyunregionid": "cn-hangzhou",
    "aliyunpublishaddr": "172.25.XX.XX",
    "datacontenttype":"application/json;charset=utf-8",
    "data": {
        "region":"cn-hangzhou",
        "eventVersion":"1.0",
        "eventSource":"acs:oss",
        "eventName":"ObjectReplication:ObjectCreated",
        "eventTime":"2021-08-13T06:45:43.000Z",
        "requestParameters":{
            "sourceIPAddress":"118.31.XX.XX"
        },
        "userIdentity":{
            "principalId":"28815334868278****"
        },
        "responseElements":{
            "requestId":"61161517B258223732BC****"
        },
        "oss":{
            "bucket":{
                "name":"oss-source-bucket1-cn-hangzhou",
                "arn":"acs:oss:cn-hangzhou:123456789098****:oss-source-bucket1-cn-hangzhou",
                "ownerIdentity":"164901546557****"
            },
            "ossSchemaVersion":"1.0",
            "object":{
                "size":9,
                "deltaSize":9,
                "eTag":"F0F18C2C66AE1DD512BDCD4366F7****",
                "key":"objectname",
                "objectMeta": {
                    "mimeType": "application/octet-stream"
                }
            }
        }
    }
}

關于data字段包含的參數解釋如下表所示。

參數

類型

示例值

描述

region

String

cn-hangzhou

bucket所在的地域。

eventVersion

String

1.0

事件協議的版本。

eventSource

String

acs:oss

事件源,固定為“acs:oss”。

eventName

String

ObjectReplication:ObjectCreated

事件類型。

eventTime

String

2021-08-13T06:45:43.000Z

事件產生的時間。使用ISO-8601標準時間格式。

sourceIPAddress

String

118.31.XX.XX

請求消息的源IP地址。

principalId

String

28815334868278****

請求發起者的用戶ID。

requestId

String

61161517B258223732BC****

請求對應的Request ID。

name

String

oss-source-bucket1-cn-beijing

Bucket的名稱。

arn

String

acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-hangzhou

Bucket的唯一標識符。

ownerIdentity

String

164901546557****

創建Bucket的用戶ID。

ossSchemaVersion

String

1.0

OSS模式的版本號。

size

Int

9

object的大小。單位:Byte。

deltaSize

Int

9

object的大小變化量。單位:Byte。

  • 如果新增一個文件,此參數的值表示文件大小。

  • 如果同名覆蓋一個文件,此參數的值表示新文件與舊文件的大小差值。

eTag

String

F0F18C2C66AE1DD512BDCD4366F7****

Object的標簽。

key

String

objectname

Object的名稱。

objectMeta

Object

Object的屬性。

mimeType

String

application/octet-stream

媒體類型。

通過跨區域復制覆蓋文件

通過跨區域復制覆蓋文件時,事件總線EventBridge接收到的示例事件如下所示。

{
    "id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
    "source": "acs.oss",
    "specversion": "1.0",
    "subject": "acs.oss:cn-hangzhou:161234567890984901546557****:oss-source-bucket1-cn-hangzhou/1628837143916",
    "time": "2020-11-19T21:04:41+08:00",
    "type": "oss:ObjectReplication:ObjectModified",
    "aliyunaccountid": "123456789098****",
    "aliyunpublishtime": "2020-11-19T21:04:42Z",
    "aliyuneventbusname": "default",
    "aliyunregionid": "cn-hangzhou",
    "aliyunpublishaddr": "172.25.XX.XX",
    "datacontenttype":"application/json;charset=utf-8",
    "data": {
        "region":"cn-hangzhou",
        "eventVersion":"1.0",
        "eventSource":"acs:oss",
        "eventName":"ObjectReplication:ObjectModified",
        "eventTime":"2021-08-13T06:45:43.000Z",
        "requestParameters":{
            "sourceIPAddress":"118.31.XX.XX"
        },
        "userIdentity":{
            "principalId":"28815334868278****"
        },
        "responseElements":{
            "requestId":"61161517B258223732BC****"
        },
        "oss":{
            "bucket":{
                "name":"oss-source-bucket1-cn-hangzhou",
                "arn":"acs:oss:cn-hangzhou:123456789098****:oss-source-bucket1-cn-hangzhou",
                "ownerIdentity":"164901546557****"
            },
            "ossSchemaVersion":"1.0",
            "object":{
                "size":9,
                "deltaSize":9,
                "eTag":"F0F18C2C66AE1DD512BDCD4366F7****",
                "key":"objectname",
                "objectMeta": {
                    "mimeType": "application/octet-stream"
                }
            }
        }
    }
}

關于data字段包含的參數解釋,請參見參數解釋

通過跨區域復制刪除文件

通過跨區域復制刪除文件時,事件總線EventBridge接收到的示例事件如下所示。

{
    "id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
    "source": "acs.oss",
    "specversion": "1.0",
    "subject": "acs.oss:cn-hangzhou:161234567890984901546557****:oss-source-bucket1-cn-hangzhou/1628837143916",
    "time": "2020-11-19T21:04:41+08:00",
    "type": "oss:ObjectReplication:ObjectRemoved",
    "aliyunaccountid": "123456789098****",
    "aliyunpublishtime": "2020-11-19T21:04:42Z",
    "aliyuneventbusname": "default",
    "aliyunregionid": "cn-hangzhou",
    "aliyunpublishaddr": "172.25.XX.XX",
    "datacontenttype":"application/json;charset=utf-8",
    "data": {
        "region":"cn-hangzhou",
        "eventVersion":"1.0",
        "eventSource":"acs:oss",
        "eventName":"ObjectReplication:ObjectRemoved",
        "eventTime":"2021-08-13T06:45:43.000Z",
        "requestParameters":{
            "sourceIPAddress":"118.31.XX.XX"
        },
        "userIdentity":{
            "principalId":"28815334868278****"
        },
        "responseElements":{
            "requestId":"61161517B258223732BC****"
        },
        "oss":{
            "bucket":{
                "name":"oss-source-bucket1-cn-hangzhou",
                "arn":"acs:oss:cn-hangzhou:123456789098****:oss-source-bucket1-cn-hangzhou",
                "ownerIdentity":"164901546557****"
            },
            "ossSchemaVersion":"1.0",
            "object":{
                "size":9,
                "deltaSize":9,
                "eTag":"F0F18C2C66AE1DD512BDCD4366F7****",
                "key":"objectname",
                "objectMeta": {
                    "mimeType": "application/octet-stream"
                }
            }
        }
    }
}

關于data字段包含的參數解釋,請參見參數解釋