Amazon SQS

The Amazon SQS output in ArcGIS Velocity allows you to write output features or values created using Arcade to Amazon Simple Queue Service (SQS). You can then send, store, and receive messages between software components. This enables ArcGIS Velocity, through the use of the Amazon SQS output, to integrate and decouple distributed applications.

Example

A data analyst wants to export features from a certain Velocity pipeline to Amazon SQS to integrate with either a serverless application or a distributed system.

Usage notes

  • The secret key is encrypted the first time the analytic is saved and it is stored in an encrypted state.
  • The following output data formats are available:
    Note:

    Alternatively, you can configure an Arcade expression to control the message sent to Amazon SQS.

    • Delimited
    • JSON
    • GeoJSON
    • EsriJSON
  • Data exported in the JSON format will provide geometry in the EsriJSON format.
  • Certain Amazon SQS actions are required for your user policy associated with the specified Amazon key for Velocity to successfully connect and write to an Amazon SQS queue.

Parameters

ParameterDescriptionData type

Access Key

The Amazon access key ID for the S3 queue, for example, AKIAIOSFODNN7EXAMPLE.

For details on Amazon access keys, see AWS security credentials in the AWS documentation.

String

Secret Key

The Amazon secret access key for the S3 bucket, for example, wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY.

Velocity uses the provided access key to load specified data sources into the application.

The secret key is encrypted the first time the analytic is saved and is stored in an encrypted state.

For details on Amazon secret access keys, see AWS security credentials in the AWS documentation.

Password (string)

Region

The region associated with the Amazon SQS queue, for example, s3.us-east-1.amazonaws.com.

String

Queue name

The name of the SQS queue, for example, yourQueueName.

String

Message

The message constructed using an Arcade expression that evaluates to text. Alternatively, the data format specified for each record will be sent to the queue separately.

String