OSP Event Handler V2 - SQS Util Code¶
Code¶
- ecstask.osp_eventhandler_v2.utilities.sqs_util.write_messages_to_sqs(queue_name: str, request_data_dict: Dict)[source]¶
This method is used to save the request data in to SQS in case of failures.
- Parameters
queue_name (str) – Name of the queue to save the message.
request_data_dict (Dict) – Dictionary containing the request data including error details which needs to be
message. (inserted into the queue as a) –