Skip to main content
FuseFuse
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.

Agent markdown

sqs.messages.send · AWS · v1

Details

Risk
Write
Idempotency
Unsafe
Availability
Default
Exposure
REST, SDK
MCP hints
readOnly=false, destructive=false, idempotent=false, openWorld=true

Scopes

  • sqs:SendMessage

Input

Input schema
NameTypeRequiredConstraints
(root)objectYesadditionalProperties false
regionstringNoenum 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_urlstringYesminLength 1; maxLength 2048; format uri
bodystringYesminLength 1; maxLength 1048576
delay_secondsintegerNominimum 0; maximum 900
message_attributesarray<object>NomaxItems 10
message_attributes[]objectYesadditionalProperties false
message_attributes[].namestringYesminLength 1; maxLength 256; pattern ^[A-Za-z0-9_.-]+$
message_attributes[].valuestringYesminLength 1; maxLength 262144
message_group_idstringNominLength 1; maxLength 128
message_deduplication_idstringNominLength 1; maxLength 128

Output

Output schema
NameTypeRequiredConstraints
(root)objectYesadditionalProperties false
message_idstringYesminLength 1; maxLength 128
md5_of_bodystringYesminLength 32; maxLength 32
md5_of_message_attributesstringNominLength 32; maxLength 32
sequence_numberstringNominLength 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"
  ]
}