CreateStreamingServiceActionDetails

class oci.events.models.CreateStreamingServiceActionDetails(**kwargs)

Bases: oci.events.models.action_details.ActionDetails

Create an action that delivers to an Oracle Stream Service stream.

ACTION_TYPE_FAAS = 'FAAS'
ACTION_TYPE_ONS = 'ONS'
ACTION_TYPE_OSS = 'OSS'
__init__(**kwargs)

Initializes a new CreateStreamingServiceActionDetails object with values from keyword arguments. The default value of the action_type attribute of this class is OSS and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • action_type (str) -- The value to assign to the action_type property of this CreateStreamingServiceActionDetails. Allowed values for this property are: "ONS", "OSS", "FAAS"
  • is_enabled (bool) -- The value to assign to the is_enabled property of this CreateStreamingServiceActionDetails.
  • description (str) -- The value to assign to the description property of this CreateStreamingServiceActionDetails.
  • stream_id (str) -- The value to assign to the stream_id property of this CreateStreamingServiceActionDetails.
action_type

[Required] Gets the action_type of this ActionDetails. The action to perform if the condition in the rule matches an event.

  • ONS: Send to an Oracle Notification Service topic.
  • OSS: Send to a stream from Oracle Streaming Service.
  • FAAS: Send to an Oracle Functions Service endpoint.

Allowed values for this property are: "ONS", "OSS", "FAAS"

Returns:The action_type of this ActionDetails.
Return type:str
description

Gets the description of this ActionDetails. A string that describes the details of the action. It does not have to be unique, and you can change it. Avoid entering confidential information.

Returns:The description of this ActionDetails.
Return type:str
get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

is_enabled

[Required] Gets the is_enabled of this ActionDetails. Whether or not this action is currently enabled.

Example: true

Returns:The is_enabled of this ActionDetails.
Return type:bool
stream_id

[Required] Gets the stream_id of this CreateStreamingServiceActionDetails. The OCID of the stream to which messages are delivered.

Returns:The stream_id of this CreateStreamingServiceActionDetails.
Return type:str