StreamSuccessDestinationDetails

class oci.functions.models.StreamSuccessDestinationDetails(**kwargs)

Bases: oci.functions.models.success_destination_details.SuccessDestinationDetails

The destination stream in the Streaming service to which to send the response of the successful detached function invocation.

Example: {“kind”: “STREAM”, “streamId”: “stream_OCID”}

Attributes

KIND_NONE str(object=’’) -> str
KIND_NOTIFICATION str(object=’’) -> str
KIND_QUEUE str(object=’’) -> str
KIND_STREAM str(object=’’) -> str
kind [Required] Gets the kind of this SuccessDestinationDetails.
stream_id [Required] Gets the stream_id of this StreamSuccessDestinationDetails.

Methods

__init__(**kwargs) Initializes a new StreamSuccessDestinationDetails object with values from keyword arguments.
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.
KIND_NONE = 'NONE'
KIND_NOTIFICATION = 'NOTIFICATION'
KIND_QUEUE = 'QUEUE'
KIND_STREAM = 'STREAM'
__init__(**kwargs)

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

Parameters:
  • kind (str) – The value to assign to the kind property of this StreamSuccessDestinationDetails. Allowed values for this property are: “NOTIFICATION”, “QUEUE”, “STREAM”, “NONE”
  • stream_id (str) – The value to assign to the stream_id property of this StreamSuccessDestinationDetails.
static 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.

kind

[Required] Gets the kind of this SuccessDestinationDetails. The type of destination for the response to a successful detached function invocation.

Allowed values for this property are: “NOTIFICATION”, “QUEUE”, “STREAM”, “NONE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The kind of this SuccessDestinationDetails.
Return type:str
stream_id

[Required] Gets the stream_id of this StreamSuccessDestinationDetails. The OCID of the stream.

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