@message-queue-toolkit/sns
Version:
SNS adapter for message-queue-toolkit
9 lines (8 loc) • 471 B
TypeScript
import { type STSClient } from '@aws-sdk/client-sts';
/**
* Manually builds the ARN of a topic based on the current AWS account and the topic name.
* It follows the following pattern: arn:aws:sns:<region>:<account-id>:<topic-name>
* Doc -> https://docs.aws.amazon.com/IAM/latest/UserGuide/reference-arns.html
*/
export declare const buildTopicArn: (client: STSClient, topicName: string) => Promise<string>;
export declare const clearCachedCallerIdentity: () => void;