# SNS topic names

The SNS topic names are unique per client, RL environment, version, and char type.  SNS topic names have the following structure:

`{environment}-rtl-div{client_id}-{version}-ct{char_type_id}`

For instance, `prd-rtl-div1-v4-ct3` topic would receive messages for Production environment, client ID 1, version 4, and char type 3 (rights).

We publish to both Standard and FIFO topics for each of the above, so `prd-rtl-div1-v4-ct3.fifo` is also available.

### SNS Topic ARNs

The ARN (Amazon Resource Name) is a unique identifier for a resource within AWS.  The Rightsline  SNS topic ARNs have the following format:

`arn:aws:sns:{region}:013474081760:{topic_name}`

The topic name is determined in the previous section.  The region varies based on the Rightsline environment you are receiving messages from.  See the table below:

### AWS Regions

| RL Environment                                                      | AWS region   |
| ------------------------------------------------------------------- | ------------ |
| Prod Mirror                                                         | us-east-1    |
| All EU environments                                                 | eu-central-1 |
| All other environments (including Staging, Integration, Production) | us-west-2    |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://queue-docs.rightsline.com/sns/topic-names.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
