QueueFailureDestinationDetails¶
-
class
oci.functions.models.QueueFailureDestinationDetails(**kwargs)¶ Bases:
oci.functions.models.failure_destination_details.FailureDestinationDetailsThe destination queue or channel in the Queue service to which to send the response of the failed detached function invocation.
Example: {“kind”: “QUEUE”, “queueId”: “queue_OCID”, “channelId”: “channel_Id”}
Attributes
KIND_NONEstr(object=’’) -> str KIND_NOTIFICATIONstr(object=’’) -> str KIND_QUEUEstr(object=’’) -> str KIND_STREAMstr(object=’’) -> str channel_idGets the channel_id of this QueueFailureDestinationDetails. kind[Required] Gets the kind of this FailureDestinationDetails. queue_id[Required] Gets the queue_id of this QueueFailureDestinationDetails. Methods
__init__(**kwargs)Initializes a new QueueFailureDestinationDetails 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 QueueFailureDestinationDetails object with values from keyword arguments. The default value of the
kindattribute of this class isQUEUEand 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 QueueFailureDestinationDetails. Allowed values for this property are: “NOTIFICATION”, “QUEUE”, “STREAM”, “NONE”
- queue_id (str) – The value to assign to the queue_id property of this QueueFailureDestinationDetails.
- channel_id (str) – The value to assign to the channel_id property of this QueueFailureDestinationDetails.
-
channel_id¶ Gets the channel_id of this QueueFailureDestinationDetails. The ID of the channel in the queue.
Returns: The channel_id of this QueueFailureDestinationDetails. Return type: str
-
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 FailureDestinationDetails. The type of destination for the response to a failed 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 FailureDestinationDetails. Return type: str
-