Amazon SQS – Connectors

Amazon SQS

Simple Queue Service (SQS) is a queue service provided by Amazon Web Services.

In this article

This connector is available in the following products and regions:

Service
Class
Regions

Logic Apps
Standard
All Logic Apps regions except the following:
     –   Azure Government regions
     –   Azure China regions
     –   US Department of Defense (DoD)

Power Automate
Premium
All Power Automate regions except the following:
     –   US Government (GCC)
     –   US Government (GCC High)
     –   China Cloud operated by 21Vianet
     –   US Department of Defense (DoD)

Power Apps
Premium
All Power Apps regions except the following:
     –   US Government (GCC)
     –   US Government (GCC High)
     –   China Cloud operated by 21Vianet
     –   US Department of Defense (DoD)

Connector Metadata

Publisher
Microsoft

Creating a connection

The connector supports the following authentication types:

Default
Parameters for creating connection.
All regions
Not shareable

Default

Applicable: All regions

Parameters for creating connection.

This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.

Name
Type
Description
Required

SQS queue URL
string
Endpoint of the SQS queue to use in the connection
True

Access Key Id
string
Amazon access key Id
True

Access Key secret
securestring
Amazon access key secret
True

Throttling Limits

Name
Calls
Renewal Period

API calls per connection600060 seconds

Actions

Deletes a message from the SQS queue

Operation ID:
DeleteMessageFromQueue

Deletes a message from the SQS queue.

Parameters

Name
Key
Required
Type
Description

Message receipt handle

messageReceiptHandle

True

string

The receipt handle associated with the message to delete.

Sends a message to the SQS queue

Operation ID:
SendMessageToQueue

Sends a message to the SQS queue.

Parameters

Name
Key
Required
Type
Description

Message visibility delay (in seconds)

messageVisibilityDelaySeconds

integer

The duration (in seconds) for which to delay a specific message.

Message content

messageContent

string

The content message to send to the queue.

Returns

Metadata of a message

Body
QueueMessageMetadata

Triggers

When a message is received from the SQS queue

Operation ID:
GetMessageFromQueue

When a message is received from the SQS queue.

Parameters

Name
Key
Required
Type
Description

Message visibility timeout (in seconds)

messageVisibilityTimeoutSeconds

integer

The duration (in seconds) that the received messages are hidden from subsequent retrieve requests after being retrieved.

Request wait timeout (in seconds)

requestWaitTimeoutSeconds

integer

The duration (in seconds) for which the call waits for a message to arrive in the queue before returning.

Message attribute names

messageAttributeNames

string

The attributes of the message to fetch. This must be a comma delimited string with supported values from ‘All,ApproximateFirstReceiveTimestamp,ApproximateReceiveCount,AWSTraceHeader,SenderId,SentTimestamp,MessageDeduplicationId,MessageGroupId,SequenceNumber’. Attribute names are case sensitive.

Returns

Content of a message

Body
QueueMessage

When messages are received from the SQS queue

Operation ID:
GetMessagesFromQueue

When messages are received from the SQS queue.

Parameters

Name
Key
Required
Type
Description

Maximum number of messages to fetch

maximumNumberOfMessages

integer

The maximum number of messages to fetch from the queue.

Message visibility timeout (in seconds)

messageVisibilityTimeoutSeconds

integer

The duration (in seconds) that the received messages are hidden from subsequent retrieve requests after being retrieved.

Request wait timeout (in seconds)

requestWaitTimeoutSeconds

integer

The duration (in seconds) for which the call waits for a message to arrive in the queue before returning.

Message attribute names

messageAttributeNames

string

The attributes of the message to fetch. This must be a comma delimited string with supported values from ‘All,ApproximateFirstReceiveTimestamp,ApproximateReceiveCount,AWSTraceHeader,SenderId,SentTimestamp,MessageDeduplicationId,MessageGroupId,SequenceNumber’. Attribute names are case sensitive.

Returns

Content of a message

Body
QueueMessage

Definitions

QueueMessage

Content of a message

Name
Path
Type
Description

messageId

messageId

string

A unique identifier for the message.

receiptHandle

receiptHandle

string

An identifier associated with the act of receiving the message.

content

content

string

The message’s contents (not URL encoded).

contentMD5

contentMD5

string

An MD5 digest of the non-URL encoded message content.

attributes

attributes

object

The attributes of the message.

QueueMessageMetadata

Metadata of a message

Name
Path
Type
Description

messageId

messageId

string

A unique identifier for the message.

contentMD5

contentMD5

string

An MD5 digest of the non-URL encoded message content.