/** * @module SNS */ import { DeleteTopicCommandOutput, SubscribeCommandOutput } from '@aws-sdk/client-sns'; /** * Publish a message to an SNS topic. Does not catch * errors, to allow more specific handling by the caller. * * @param snsTopicArn - SNS topic ARN * @param message - Message object * @param retryOptions - options to control retry behavior when publishing * a message fails. See https://github.com/tim-kos/node-retry#retryoperationoptions * @returns {Promise} */ export declare const publishSnsMessageWithRetry: (snsTopicArn: string, message: Object, retryOptions?: {}) => Promise; /** * Create an SNS topic with a given name. * * @param snsTopicName - Name of the SNS topic * @returns - ARN of the created SNS topic */ export declare const createSnsTopic: (snsTopicName: string) => Promise<{ TopicArn: string | undefined; }>; /** * Delete an SNS topic with a given ARN. * * @param snsTopicArn - ARN of the SNS topic * @returns - Promise that resolves when the topic is deleted */ export declare const deleteSnsTopic: (snsTopicArn: string) => Promise; /** * Subscribe an SQS queue to an SNS topic. * * @param snsTopicArn - ARN of the SNS topic * @param sqsQueueArn - ARN of the SQS queue * @returns - Promise that resolves with the subscription ARN */ export declare const subscribeSqsToSnsTopic: (snsTopicArn: string, sqsQueueArn: string) => Promise; //# sourceMappingURL=SNS.d.ts.map