• Object Storage Service

obs
  1. Help Center
  2. Object Storage Service
  3. API Reference (Python SDK)
  4. Data Types
  5. Event Notification Settings

Event Notification Settings

Namespace

Class

Module

TopicConfiguration

com.obs.models.notification

Parameter Description

Field

Type

Optional or Mandatory

Description

id

str

Optional when used as a request parameter

Event notification setting ID

topic

str

Mandatory when used as a request parameter

URN of the event notification topic. After detecting a specific event, OBS sends a message to the topic.

events

list of str

Mandatory when used as a request parameter

Type of events that need to be notified. Possible values are:

  • s3:ObjectCreated:*
  • s3:ObjectCreated:Put
  • s3:ObjectCreated:Post
  • s3:ObjectCreated:Copy
  • s3:ObjectCreated:CompleteMultipartUpload
  • s3:ObjectRemoved:*
  • s3:ObjectRemoved:Delete
  • s3:ObjectRemoved:DeleteMarkerCreated

filterRules

list of FilterRule

Optional when used as a request parameter

List of filtering rules