# response = sqs_client.receive_message
# queue 가 비었을 때
{
"ResponseMetadata": {
"HTTPHeaders": {
"content-length": "2",
"content-type": "application/x-amz-json-1.0",
"date": "Wed, 11 Sep 2024 06:33:04 GMT",
"server": "TwistedWeb/24.3.0",
"x-amzn-requestid": "fb6a358f-f955-4ffa-b3a8-360533218623"
},
"HTTPStatusCode": 200,
"RequestId": "fb6a358f-f955-4ffa-b3a8-360533218623",
"RetryAttempts": 0
}
}
# queue 에 데이터가 있을 때
{
"Messages": [
{
"Attributes": {
"ApproximateFirstReceiveTimestamp": "1726036509898",
"ApproximateReceiveCount": "1",
"SenderId": "000000000000",
"SentTimestamp": "1726036493564"
},
"Body": "{\"database\": \"o_tango_i\", \"table\": \"im_eqp_bas\"}",
"MD5OfBody": "544343dab91d4ce41a6ccbc9864c1809",
"MessageId": "526d4863-4a79-40ce-989b-9b8d765197b6",
"ReceiptHandle": "OWU1MDI2MTQtMDU1ZS00Mjc3LTkxOGUtYTYyZGE2MjIyMzhiIGFybjphd3M6c3FzOnVzLWVhc3QtMTowMDAwMDAwMDAwMDA6c2FtcGxlLXF1ZXVlIDUyNmQ0ODYzLTRhNzktNDBjZS05ODliLTliOGQ3NjUxOTdiNiAxNzI2MDM2NTA5Ljg5ODE5OTY="
}
],
"ResponseMetadata": {
"HTTPHeaders": {
"content-length": "558",
"content-type": "application/x-amz-json-1.0",
"date": "Wed, 11 Sep 2024 06:35:09 GMT",
"server": "TwistedWeb/24.3.0",
"x-amzn-requestid": "ea205782-a143-43ac-8d48-80c76f1f6384"
},
"HTTPStatusCode": 200,
"RequestId": "ea205782-a143-43ac-8d48-80c76f1f6384",
"RetryAttempts": 0
}
}