IntegrationsAwsActions
Send SQS message
Send a message to an SQS queue URL of the form https://sqs.<region>.amazonaws.com/<12-digit-account>/<queue-name>. Caps body plus up to ten string attributes at 1 MiB. FIFO queues require message_group_id and reject per-message delay; standard queues reject message_deduplication_id. Unsafe with one SDK attempt. Excluded from MCP. Requires sqs:SendMessage.
sqs.messages.send · AWS · v1
Details
Scopes
sqs:SendMessage
Input
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
region | string | No | enum us-east-1 | us-east-2 | us-west-1 | us-west-2 | af-south-1 | ap-east-1 | ap-east-2 | ap-south-1 | ap-south-2 | ap-southeast-1 | ap-southeast-2 | ap-southeast-3 | ap-southeast-4 | ap-southeast-5 | ap-southeast-6 | ap-southeast-7 | ap-northeast-1 | ap-northeast-2 | ap-northeast-3 | ca-central-1 | ca-west-1 | eu-central-1 | eu-central-2 | eu-west-1 | eu-west-2 | eu-west-3 | eu-north-1 | eu-south-1 | eu-south-2 | il-central-1 | me-central-1 | me-south-1 | mx-central-1 | sa-east-1 |
queue_url | string | Yes | minLength 1; maxLength 2048; format uri |
body | string | Yes | minLength 1; maxLength 1048576 |
delay_seconds | integer | No | minimum 0; maximum 900 |
message_attributes | array<object> | No | maxItems 10 |
message_attributes[] | object | Yes | additionalProperties false |
message_attributes[].name | string | Yes | minLength 1; maxLength 256; pattern ^[A-Za-z0-9_.-]+$ |
message_attributes[].value | string | Yes | minLength 1; maxLength 262144 |
message_group_id | string | No | minLength 1; maxLength 128 |
message_deduplication_id | string | No | minLength 1; maxLength 128 |
Output
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
message_id | string | Yes | minLength 1; maxLength 128 |
md5_of_body | string | Yes | minLength 32; maxLength 32 |
md5_of_message_attributes | string | No | minLength 32; maxLength 32 |
sequence_number | string | No | minLength 1; maxLength 128 |
Raw schema
Input
{
"type": "object",
"additionalProperties": false,
"properties": {
"region": {
"type": "string",
"enum": [
"us-east-1",
"us-east-2",
"us-west-1",
"us-west-2",
"af-south-1",
"ap-east-1",
"ap-east-2",
"ap-south-1",
"ap-south-2",
"ap-southeast-1",
"ap-southeast-2",
"ap-southeast-3",
"ap-southeast-4",
"ap-southeast-5",
"ap-southeast-6",
"ap-southeast-7",
"ap-northeast-1",
"ap-northeast-2",
"ap-northeast-3",
"ca-central-1",
"ca-west-1",
"eu-central-1",
"eu-central-2",
"eu-west-1",
"eu-west-2",
"eu-west-3",
"eu-north-1",
"eu-south-1",
"eu-south-2",
"il-central-1",
"me-central-1",
"me-south-1",
"mx-central-1",
"sa-east-1"
]
},
"queue_url": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"format": "uri"
},
"body": {
"type": "string",
"minLength": 1,
"maxLength": 1048576
},
"delay_seconds": {
"type": "integer",
"minimum": 0,
"maximum": 900
},
"message_attributes": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[A-Za-z0-9_.-]+$"
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 262144
}
},
"required": [
"name",
"value"
]
},
"maxItems": 10
},
"message_group_id": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"message_deduplication_id": {
"type": "string",
"minLength": 1,
"maxLength": 128
}
},
"required": [
"queue_url",
"body"
]
}Output
{
"type": "object",
"additionalProperties": false,
"properties": {
"message_id": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"md5_of_body": {
"type": "string",
"minLength": 32,
"maxLength": 32
},
"md5_of_message_attributes": {
"type": "string",
"minLength": 32,
"maxLength": 32
},
"sequence_number": {
"type": "string",
"minLength": 1,
"maxLength": 128
}
},
"required": [
"message_id",
"md5_of_body"
]
}