Amazon SNS
Publish messages to Amazon SNS topics, one by one or in batches, and manage topics and subscriptions with filter policies. Typical uses: fan out business events to queues, e-mail or web hooks.
sns pingsns topic_createsns topic_createsns topicssns topicssns subscribesns subscribesns subscriptionssns subscriptionssns subscriptionssns publishsns publishsns publish_batchsns publish_batchsns unsubscribesns topic_drop
sns ping <config>
Description
Check the endpoint and the credentials with a cheap call (ListTopics). Returns {ok, latency_ms}; a failure is an error
Check the endpoint and the credentials with a cheap call (ListTopics). Returns {ok, latency_ms}; a failure is an error
Parameters
config: The AWS configuration as JSON, as for SQS: access_key and secret_key (the name of a secret: secret set), session_token (the name of a secret: secret set), region (us-east-1), endpoint (https://sns..amazonaws.com, or a compatible server), timeout_ms (30000), max_bytes (64 MB), ca_file, allow_plain (false: an http endpoint is refused unless the host is localhost or 127.0.0.1) - String - required
config: The AWS configuration as JSON, as for SQS: access_key and secret_key (the name of a secret: secret set), session_token (the name of a secret: secret set), region (us-east-1), endpoint (https://sns.
admin
sns ping "{\"endpoint\": \"http://localhost:9324\", \"region\": \"us-east-1\", \"access_key\": \"aws_access_key_id\", \"secret_key\": \"aws_secret_access_key\"}"
mentdb
{"ok": true, "latency_ms": 4}
sns topic_create <config> <topic>
Description
Create a topic (FIFO when the name ends with .fifo). Creating an existing topic returns it. Returns {topic, arn}
Create a topic (FIFO when the name ends with .fifo). Creating an existing topic returns it. Returns {topic, arn}
Parameters
config: The AWS configuration as JSON, as for SQS: access_key and secret_key (the name of a secret: secret set), session_token (the name of a secret: secret set), region (us-east-1), endpoint (https://sns..amazonaws.com, or a compatible server), timeout_ms (30000), max_bytes (64 MB), ca_file, allow_plain (false: an http endpoint is refused unless the host is localhost or 127.0.0.1) - String - required
topic: The name: 1 to 256 letters, digits, - or _, with the suffix .fifo for a FIFO topic - String - required
config: The AWS configuration as JSON, as for SQS: access_key and secret_key (the name of a secret: secret set), session_token (the name of a secret: secret set), region (us-east-1), endpoint (https://sns.
topic: The name: 1 to 256 letters, digits, - or _, with the suffix .fifo for a FIFO topic - String - required
admin
sns topic_create "{\"endpoint\": \"http://localhost:9324\", \"region\": \"us-east-1\", \"access_key\": \"aws_access_key_id\", \"secret_key\": \"aws_secret_access_key\"}" "alerts"
mentdb
{"topic": "alerts", "arn": "arn:aws:sns:us-east-1:123456789012:alerts"}
sns topic_create <config> <topic> <json_params>
Description
Create a topic with parameters: fifo (from the name), content_based_dedup (FIFO only), attributes (other AWS attributes by their name, as texts: DisplayName, Policy...), tags (a JSON object)
Create a topic with parameters: fifo (from the name), content_based_dedup (FIFO only), attributes (other AWS attributes by their name, as texts: DisplayName, Policy...), tags (a JSON object)
Parameters
config: The AWS configuration as JSON, as for SQS: access_key and secret_key (the name of a secret: secret set), session_token (the name of a secret: secret set), region (us-east-1), endpoint (https://sns..amazonaws.com, or a compatible server), timeout_ms (30000), max_bytes (64 MB), ca_file, allow_plain (false: an http endpoint is refused unless the host is localhost or 127.0.0.1) - String - required
topic: The name - String - required
json_params: The parameters - String - required
config: The AWS configuration as JSON, as for SQS: access_key and secret_key (the name of a secret: secret set), session_token (the name of a secret: secret set), region (us-east-1), endpoint (https://sns.
topic: The name - String - required
json_params: The parameters - String - required
admin
sns topic_create "{\"endpoint\": \"http://localhost:9324\", \"region\": \"us-east-1\", \"access_key\": \"aws_access_key_id\", \"secret_key\": \"aws_secret_access_key\"}" "ledger.fifo" "{\"content_based_dedup\": true, \"tags\": {\"team\": \"finance\"}}"
mentdb
{"topic": "ledger.fifo", "arn": "arn:aws:sns:us-east-1:123456789012:ledger.fifo"}
sns topics <config>
Description
List the topics, following the pages. Returns rows {name, arn}
List the topics, following the pages. Returns rows {name, arn}
Parameters
config: The AWS configuration as JSON, as for SQS: access_key and secret_key (the name of a secret: secret set), session_token (the name of a secret: secret set), region (us-east-1), endpoint (https://sns..amazonaws.com, or a compatible server), timeout_ms (30000), max_bytes (64 MB), ca_file, allow_plain (false: an http endpoint is refused unless the host is localhost or 127.0.0.1) - String - required
config: The AWS configuration as JSON, as for SQS: access_key and secret_key (the name of a secret: secret set), session_token (the name of a secret: secret set), region (us-east-1), endpoint (https://sns.
admin
sns topics "{\"endpoint\": \"http://localhost:9324\", \"region\": \"us-east-1\", \"access_key\": \"aws_access_key_id\", \"secret_key\": \"aws_secret_access_key\"}"
mentdb
[{"name": "alerts", "arn": "arn:aws:sns:us-east-1:123456789012:alerts"}, {"name": "ledger.fifo", "arn": "arn:aws:sns:us-east-1:123456789012:ledger.fifo"}]
sns topics <config> <json_params>
Description
List the topics with parameters: prefix (the start of the names, filtered here), limit (1000)
List the topics with parameters: prefix (the start of the names, filtered here), limit (1000)
Parameters
config: The AWS configuration as JSON, as for SQS: access_key and secret_key (the name of a secret: secret set), session_token (the name of a secret: secret set), region (us-east-1), endpoint (https://sns..amazonaws.com, or a compatible server), timeout_ms (30000), max_bytes (64 MB), ca_file, allow_plain (false: an http endpoint is refused unless the host is localhost or 127.0.0.1) - String - required
json_params: The parameters - String - required
config: The AWS configuration as JSON, as for SQS: access_key and secret_key (the name of a secret: secret set), session_token (the name of a secret: secret set), region (us-east-1), endpoint (https://sns.
json_params: The parameters - String - required
admin
sns topics "{\"endpoint\": \"http://localhost:9324\", \"region\": \"us-east-1\", \"access_key\": \"aws_access_key_id\", \"secret_key\": \"aws_secret_access_key\"}" "{\"prefix\": \"led\"}"
mentdb
[{"name": "ledger.fifo", "arn": "arn:aws:sns:us-east-1:123456789012:ledger.fifo"}]
sns subscribe <config> <topic> <protocol> <endpoint>
Description
Subscribe an endpoint to a topic. protocol: sqs (endpoint: a queue ARN), https or http (a URL), email, email-json, sms, lambda, application, firehose. Returns {subscription_arn, pending}: pending is true while the endpoint has not confirmed
Subscribe an endpoint to a topic. protocol: sqs (endpoint: a queue ARN), https or http (a URL), email, email-json, sms, lambda, application, firehose. Returns {subscription_arn, pending}: pending is true while the endpoint has not confirmed
Parameters
config: The AWS configuration as JSON, as for SQS: access_key and secret_key (the name of a secret: secret set), session_token (the name of a secret: secret set), region (us-east-1), endpoint (https://sns..amazonaws.com, or a compatible server), timeout_ms (30000), max_bytes (64 MB), ca_file, allow_plain (false: an http endpoint is refused unless the host is localhost or 127.0.0.1) - String - required
topic: The topic: its name (found by sns topics) or its ARN (arn:aws:sns:region:account:name) - String - required
protocol: The protocol - String - required
endpoint: The endpoint: queue ARN, URL, email address... - String - required
config: The AWS configuration as JSON, as for SQS: access_key and secret_key (the name of a secret: secret set), session_token (the name of a secret: secret set), region (us-east-1), endpoint (https://sns.
topic: The topic: its name (found by sns topics) or its ARN (arn:aws:sns:region:account:name) - String - required
protocol: The protocol - String - required
endpoint: The endpoint: queue ARN, URL, email address... - String - required
admin
sns subscribe "{\"endpoint\": \"http://localhost:9324\", \"region\": \"us-east-1\", \"access_key\": \"aws_access_key_id\", \"secret_key\": \"aws_secret_access_key\"}" "alerts" "https" "https://example.com/hooks/alerts"
mentdb
{"subscription_arn": "arn:aws:sns:us-east-1:123456789012:alerts:9e16502a-2239-4e60-b967-b269b23d8334", "pending": false}
sns subscribe <config> <topic> <protocol> <endpoint> <json_params>
Description
Subscribe with parameters: raw (false; true: the body is the message alone, without the JSON envelope of SNS), filter_policy (a JSON object on the attributes, ex: {"level": ["high"]}), attributes (other subscription attributes by their name, as texts)
Subscribe with parameters: raw (false; true: the body is the message alone, without the JSON envelope of SNS), filter_policy (a JSON object on the attributes, ex: {"level": ["high"]}), attributes (other subscription attributes by their name, as texts)
Parameters
config: The AWS configuration as JSON, as for SQS: access_key and secret_key (the name of a secret: secret set), session_token (the name of a secret: secret set), region (us-east-1), endpoint (https://sns..amazonaws.com, or a compatible server), timeout_ms (30000), max_bytes (64 MB), ca_file, allow_plain (false: an http endpoint is refused unless the host is localhost or 127.0.0.1) - String - required
topic: The topic: its name (found by sns topics) or its ARN (arn:aws:sns:region:account:name) - String - required
protocol: The protocol - String - required
endpoint: The endpoint - String - required
json_params: The parameters - String - required
config: The AWS configuration as JSON, as for SQS: access_key and secret_key (the name of a secret: secret set), session_token (the name of a secret: secret set), region (us-east-1), endpoint (https://sns.
topic: The topic: its name (found by sns topics) or its ARN (arn:aws:sns:region:account:name) - String - required
protocol: The protocol - String - required
endpoint: The endpoint - String - required
json_params: The parameters - String - required
admin
sns subscribe "{\"endpoint\": \"http://localhost:9324\", \"region\": \"us-east-1\", \"access_key\": \"aws_access_key_id\", \"secret_key\": \"aws_secret_access_key\"}" "alerts" "sqs" "arn:aws:sqs:us-east-1:123456789012:alerts-high" "{\"raw\": true, \"filter_policy\": {\"level\": [\"high\"]}}"
mentdb
{"subscription_arn": "arn:aws:sns:us-east-1:123456789012:alerts:d869b1b1-3b4d-46dc-95ea-d5e21d203772", "pending": false}
sns subscriptions <config>
Description
List all the subscriptions. Returns rows {subscription_arn, topic, topic_arn, protocol, endpoint}
List all the subscriptions. Returns rows {subscription_arn, topic, topic_arn, protocol, endpoint}
Parameters
config: The AWS configuration as JSON, as for SQS: access_key and secret_key (the name of a secret: secret set), session_token (the name of a secret: secret set), region (us-east-1), endpoint (https://sns..amazonaws.com, or a compatible server), timeout_ms (30000), max_bytes (64 MB), ca_file, allow_plain (false: an http endpoint is refused unless the host is localhost or 127.0.0.1) - String - required
config: The AWS configuration as JSON, as for SQS: access_key and secret_key (the name of a secret: secret set), session_token (the name of a secret: secret set), region (us-east-1), endpoint (https://sns.
admin
sns subscriptions "{\"endpoint\": \"http://localhost:9324\", \"region\": \"us-east-1\", \"access_key\": \"aws_access_key_id\", \"secret_key\": \"aws_secret_access_key\"}"
mentdb
[{"subscription_arn": "arn:aws:sns:us-east-1:123456789012:alerts:9e16502a-2239-4e60-b967-b269b23d8334", "topic": "alerts", "topic_arn": "arn:aws:sns:us-east-1:123456789012:alerts", "protocol": "https", "endpoint": "https://example.com/hooks/alerts"}, {"subscription_arn": "arn:aws:sns:us-east-1:123456789012:alerts:d869b1b1-3b4d-46dc-95ea-d5e21d203772", "topic": "alerts", "topic_arn": "arn:aws:sns:us-east-1:123456789012:alerts", "protocol": "sqs", "endpoint": "arn:aws:sqs:us-east-1:123456789012:alerts-high"}]
sns subscriptions <config> <topic>
Description
List the subscriptions of a topic
List the subscriptions of a topic
Parameters
config: The AWS configuration as JSON, as for SQS: access_key and secret_key (the name of a secret: secret set), session_token (the name of a secret: secret set), region (us-east-1), endpoint (https://sns..amazonaws.com, or a compatible server), timeout_ms (30000), max_bytes (64 MB), ca_file, allow_plain (false: an http endpoint is refused unless the host is localhost or 127.0.0.1) - String - required
topic: The topic: its name (found by sns topics) or its ARN (arn:aws:sns:region:account:name) - String - required
config: The AWS configuration as JSON, as for SQS: access_key and secret_key (the name of a secret: secret set), session_token (the name of a secret: secret set), region (us-east-1), endpoint (https://sns.
topic: The topic: its name (found by sns topics) or its ARN (arn:aws:sns:region:account:name) - String - required
admin
sns subscriptions "{\"endpoint\": \"http://localhost:9324\", \"region\": \"us-east-1\", \"access_key\": \"aws_access_key_id\", \"secret_key\": \"aws_secret_access_key\"}" "alerts"
mentdb
[{"subscription_arn": "arn:aws:sns:us-east-1:123456789012:alerts:9e16502a-2239-4e60-b967-b269b23d8334", "topic": "alerts", "topic_arn": "arn:aws:sns:us-east-1:123456789012:alerts", "protocol": "https", "endpoint": "https://example.com/hooks/alerts"}, {"subscription_arn": "arn:aws:sns:us-east-1:123456789012:alerts:d869b1b1-3b4d-46dc-95ea-d5e21d203772", "topic": "alerts", "topic_arn": "arn:aws:sns:us-east-1:123456789012:alerts", "protocol": "sqs", "endpoint": "arn:aws:sqs:us-east-1:123456789012:alerts-high"}]
sns subscriptions <config> <topic> <json_params>
Description
List the subscriptions with parameters: limit (1000)
List the subscriptions with parameters: limit (1000)
Parameters
config: The AWS configuration as JSON, as for SQS: access_key and secret_key (the name of a secret: secret set), session_token (the name of a secret: secret set), region (us-east-1), endpoint (https://sns..amazonaws.com, or a compatible server), timeout_ms (30000), max_bytes (64 MB), ca_file, allow_plain (false: an http endpoint is refused unless the host is localhost or 127.0.0.1) - String - required
topic: The topic: its name (found by sns topics) or its ARN (arn:aws:sns:region:account:name) - String - required
json_params: The parameters - String - required
config: The AWS configuration as JSON, as for SQS: access_key and secret_key (the name of a secret: secret set), session_token (the name of a secret: secret set), region (us-east-1), endpoint (https://sns.
topic: The topic: its name (found by sns topics) or its ARN (arn:aws:sns:region:account:name) - String - required
json_params: The parameters - String - required
admin
sns subscriptions "{\"endpoint\": \"http://localhost:9324\", \"region\": \"us-east-1\", \"access_key\": \"aws_access_key_id\", \"secret_key\": \"aws_secret_access_key\"}" "alerts" "{\"limit\": 1}"
mentdb
[{"subscription_arn": "arn:aws:sns:us-east-1:123456789012:alerts:9e16502a-2239-4e60-b967-b269b23d8334", "topic": "alerts", "topic_arn": "arn:aws:sns:us-east-1:123456789012:alerts", "protocol": "https", "endpoint": "https://example.com/hooks/alerts"}]
sns publish <config> <topic> <message>
Description
Publish a text to a topic. Returns {message_id}, with sequence_number for a FIFO topic
Publish a text to a topic. Returns {message_id}, with sequence_number for a FIFO topic
Parameters
config: The AWS configuration as JSON, as for SQS: access_key and secret_key (the name of a secret: secret set), session_token (the name of a secret: secret set), region (us-east-1), endpoint (https://sns..amazonaws.com, or a compatible server), timeout_ms (30000), max_bytes (64 MB), ca_file, allow_plain (false: an http endpoint is refused unless the host is localhost or 127.0.0.1) - String - required
topic: The topic: its name (found by sns topics) or its ARN (arn:aws:sns:region:account:name) - String - required
message: The text, 256 KB at most - String - required
config: The AWS configuration as JSON, as for SQS: access_key and secret_key (the name of a secret: secret set), session_token (the name of a secret: secret set), region (us-east-1), endpoint (https://sns.
topic: The topic: its name (found by sns topics) or its ARN (arn:aws:sns:region:account:name) - String - required
message: The text, 256 KB at most - String - required
admin
sns publish "{\"endpoint\": \"http://localhost:9324\", \"region\": \"us-east-1\", \"access_key\": \"aws_access_key_id\", \"secret_key\": \"aws_secret_access_key\"}" "alerts" "backup done"
mentdb
{"message_id": "ff7fb072-660c-4570-b0d4-ba5170e139b3"}
sns publish <config> <topic> <message> <json_params>
Description
Publish with parameters: subject (100 printable ASCII characters, for email), attributes (a JSON object, 10 at most), group_id (needed by a FIFO topic), dedup_id, message_structure (json: the message is a JSON object with one text by protocol and a default)
Publish with parameters: subject (100 printable ASCII characters, for email), attributes (a JSON object, 10 at most), group_id (needed by a FIFO topic), dedup_id, message_structure (json: the message is a JSON object with one text by protocol and a default)
Parameters
config: The AWS configuration as JSON, as for SQS: access_key and secret_key (the name of a secret: secret set), session_token (the name of a secret: secret set), region (us-east-1), endpoint (https://sns..amazonaws.com, or a compatible server), timeout_ms (30000), max_bytes (64 MB), ca_file, allow_plain (false: an http endpoint is refused unless the host is localhost or 127.0.0.1) - String - required
topic: The topic: its name (found by sns topics) or its ARN (arn:aws:sns:region:account:name) - String - required
message: The text - String - required
json_params: The parameters - String - required
config: The AWS configuration as JSON, as for SQS: access_key and secret_key (the name of a secret: secret set), session_token (the name of a secret: secret set), region (us-east-1), endpoint (https://sns.
topic: The topic: its name (found by sns topics) or its ARN (arn:aws:sns:region:account:name) - String - required
message: The text - String - required
json_params: The parameters - String - required
admin
sns publish "{\"endpoint\": \"http://localhost:9324\", \"region\": \"us-east-1\", \"access_key\": \"aws_access_key_id\", \"secret_key\": \"aws_secret_access_key\"}" "alerts" "disk full on srv1" "{\"subject\": \"Disk\", \"attributes\": {\"level\": \"high\", \"code\": 507}}"
mentdb
{"message_id": "1e607429-ea54-458f-a1bc-e61f470d1263"}
to a FIFO topic (fixed result: a real local moto 5.1.22 server, not AWS)
admin
sns publish "{\"endpoint\": \"http://localhost:9324\", \"region\": \"us-east-1\", \"access_key\": \"aws_access_key_id\", \"secret_key\": \"aws_secret_access_key\"}" "ledger.fifo" "entry 1" "{\"group_id\": \"book-1\"}"
mentdb
{"message_id": "52e771f8-cde2-4715-b8b9-ace65d6749e5"}
sns publish_batch <config> <topic> <json_rows>
Description
Publish a list of rows {body, subject, attributes, group_id, dedup_id} (only body is needed) by requests of 10. Returns {sent, failed, not_attempted, errors} as sqs publish_batch
Publish a list of rows {body, subject, attributes, group_id, dedup_id} (only body is needed) by requests of 10. Returns {sent, failed, not_attempted, errors} as sqs publish_batch
Parameters
config: The AWS configuration as JSON, as for SQS: access_key and secret_key (the name of a secret: secret set), session_token (the name of a secret: secret set), region (us-east-1), endpoint (https://sns..amazonaws.com, or a compatible server), timeout_ms (30000), max_bytes (64 MB), ca_file, allow_plain (false: an http endpoint is refused unless the host is localhost or 127.0.0.1) - String - required
topic: The topic: its name (found by sns topics) or its ARN (arn:aws:sns:region:account:name) - String - required
json_rows: The messages as a JSON array of objects (100000 at most). A body that is not a text is sent as JSON - String - required
config: The AWS configuration as JSON, as for SQS: access_key and secret_key (the name of a secret: secret set), session_token (the name of a secret: secret set), region (us-east-1), endpoint (https://sns.
topic: The topic: its name (found by sns topics) or its ARN (arn:aws:sns:region:account:name) - String - required
json_rows: The messages as a JSON array of objects (100000 at most). A body that is not a text is sent as JSON - String - required
admin
sns publish_batch "{\"endpoint\": \"http://localhost:9324\", \"region\": \"us-east-1\", \"access_key\": \"aws_access_key_id\", \"secret_key\": \"aws_secret_access_key\"}" "alerts" "[{\"body\": \"cpu 95\", \"attributes\": {\"level\": \"high\"}}, {\"body\": \"\"}, {\"body\": {\"temp\": 81}, \"subject\": \"Temp\", \"attributes\": {\"level\": \"low\"}}]"
mentdb
{"sent": 2, "failed": 1, "not_attempted": 0, "errors": [{"row": 1, "error": "SNS refuses an empty message"}]}
sns publish_batch <config> <topic> <json_rows> <json_params>
Description
Publish a list with parameters: body_field (body), subject, group_id, attributes (for every row; those of a row are added)
Publish a list with parameters: body_field (body), subject, group_id, attributes (for every row; those of a row are added)
Parameters
config: The AWS configuration as JSON, as for SQS: access_key and secret_key (the name of a secret: secret set), session_token (the name of a secret: secret set), region (us-east-1), endpoint (https://sns..amazonaws.com, or a compatible server), timeout_ms (30000), max_bytes (64 MB), ca_file, allow_plain (false: an http endpoint is refused unless the host is localhost or 127.0.0.1) - String - required
topic: The topic: its name (found by sns topics) or its ARN (arn:aws:sns:region:account:name) - String - required
json_rows: The messages as a JSON array of objects (100000 at most). A body that is not a text is sent as JSON - String - required
json_params: The parameters - String - required
config: The AWS configuration as JSON, as for SQS: access_key and secret_key (the name of a secret: secret set), session_token (the name of a secret: secret set), region (us-east-1), endpoint (https://sns.
topic: The topic: its name (found by sns topics) or its ARN (arn:aws:sns:region:account:name) - String - required
json_rows: The messages as a JSON array of objects (100000 at most). A body that is not a text is sent as JSON - String - required
json_params: The parameters - String - required
admin
sns publish_batch "{\"endpoint\": \"http://localhost:9324\", \"region\": \"us-east-1\", \"access_key\": \"aws_access_key_id\", \"secret_key\": \"aws_secret_access_key\"}" "alerts" "[{\"t\": \"fan 2 stopped\"}, {\"t\": \"fan 3 stopped\"}]" "{\"body_field\": \"t\", \"attributes\": {\"level\": \"high\"}}"
mentdb
{"sent": 2, "failed": 0, "not_attempted": 0, "errors": []}
sns unsubscribe <config> <subscription_arn>
Description
Delete a subscription by its ARN. Returns {unsubscribed}
Delete a subscription by its ARN. Returns {unsubscribed}
Parameters
config: The AWS configuration as JSON, as for SQS: access_key and secret_key (the name of a secret: secret set), session_token (the name of a secret: secret set), region (us-east-1), endpoint (https://sns..amazonaws.com, or a compatible server), timeout_ms (30000), max_bytes (64 MB), ca_file, allow_plain (false: an http endpoint is refused unless the host is localhost or 127.0.0.1) - String - required
subscription_arn: The ARN of the subscription (see sns subscriptions) - String - required
config: The AWS configuration as JSON, as for SQS: access_key and secret_key (the name of a secret: secret set), session_token (the name of a secret: secret set), region (us-east-1), endpoint (https://sns.
subscription_arn: The ARN of the subscription (see sns subscriptions) - String - required
admin
sns unsubscribe "{\"endpoint\": \"http://localhost:9324\", \"region\": \"us-east-1\", \"access_key\": \"aws_access_key_id\", \"secret_key\": \"aws_secret_access_key\"}" "arn:aws:sns:us-east-1:123456789012:alerts:9e16502a-2239-4e60-b967-b269b23d8334"
mentdb
{"unsubscribed": "arn:aws:sns:us-east-1:123456789012:alerts:9e16502a-2239-4e60-b967-b269b23d8334"}
sns topic_drop <config> <topic>
Description
Delete a topic and its subscriptions. Returns {topic, dropped}
Delete a topic and its subscriptions. Returns {topic, dropped}
Parameters
config: The AWS configuration as JSON, as for SQS: access_key and secret_key (the name of a secret: secret set), session_token (the name of a secret: secret set), region (us-east-1), endpoint (https://sns..amazonaws.com, or a compatible server), timeout_ms (30000), max_bytes (64 MB), ca_file, allow_plain (false: an http endpoint is refused unless the host is localhost or 127.0.0.1) - String - required
topic: The topic: its name (found by sns topics) or its ARN (arn:aws:sns:region:account:name) - String - required
config: The AWS configuration as JSON, as for SQS: access_key and secret_key (the name of a secret: secret set), session_token (the name of a secret: secret set), region (us-east-1), endpoint (https://sns.
topic: The topic: its name (found by sns topics) or its ARN (arn:aws:sns:region:account:name) - String - required
admin
sns topic_drop "{\"endpoint\": \"http://localhost:9324\", \"region\": \"us-east-1\", \"access_key\": \"aws_access_key_id\", \"secret_key\": \"aws_secret_access_key\"}" "ledger.fifo"
mentdb
{"topic": "ledger.fifo", "dropped": true}
