Amazon Web Services (AWS) SQS

The Amazon Web Services (AWS) 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. Velocity uses the Amazon SQS output to integrate and decouple distributed applications.

Example

The following is an example use case for the output:

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

Keep the following in mind when working with the output:

  • 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:

    • Delimited
    • JSON
    • GeoJSON
    • EsriJSON

    Note:

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

  • Data exported in the JSON format provides geometry in the EsriJSON format.

  • Certain Amazon SQS actions are required for your user policy associated with the specified Amazon key for Velocity to connect and write to an Amazon SQS queue.

Parameters

The following are the parameters for the output:

ParameterDescriptionData type

Access key

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

Learn more about AWS security credentials

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.

Learn more about AWS security credentials

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 Amazon SQS queue, for example, yourQueueName.

String

Configure message from an Arcade expression

The message constructed using an ArcGIS Arcade expression.

When you choose this parameter, the Message option appears.

The expression is configured in the Arcade expression builder, accessed by clicking the Configure an Arcade Expression option under the Message option.

Arcade expression

Send feature to AWS SQS in specified format

The feature sent to AWS SQS in a specified format.

When you choose this parameter, the Data format option appears.

The default data format option is GeoJSON. Other supported formats are EsriJSON, Delimited, and JSON .

Data format type