/proc/self/root/var/runtime/node_modules/@aws-sdk/client-sns/dist-cjs
This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.
'use strict'; var client$1 = require('@aws-sdk/core/client');var core = require('@smithy/core');var client = require('@smithy/core/client');var config = require('@smithy/core/config');var endpoints = require('@smithy/core/endpoints');var protocols = require('@smithy/core/protocols');var retry = require('@smithy/core/retry');var schema = require('@smithy/core/schema');var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');var runtimeConfig = require('./runtimeConfig');var schemas_0 = require('./schemas/schemas_0');var errors = require('./models/errors');var SNSServiceException = require('./models/SNSServiceException'); const resolveClientEndpointParameters = (options) => { return Object.assign(options, { useDualstackEndpoint: options.useDualstackEndpoint ?? false, useFipsEndpoint: options.useFipsEndpoint ?? false, defaultSigningName: "sns", });};const commonParams = { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, Endpoint: { type: "builtInParams", name: "endpoint" }, Region: { type: "builtInParams", name: "region" }, UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },}; const getHttpAuthExtensionConfiguration = (runtimeConfig) => { const _httpAuthSchemes = runtimeConfig.httpAuthSchemes; let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider; let _credentials = runtimeConfig.credentials; return { setHttpAuthScheme(httpAuthScheme) { const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId); if (index === -1) { _httpAuthSchemes.push(httpAuthScheme); } else { _httpAuthSchemes.splice(index, 1, httpAuthScheme); } }, httpAuthSchemes() { return _httpAuthSchemes; }, setHttpAuthSchemeProvider(httpAuthSchemeProvider) { _httpAuthSchemeProvider = httpAuthSchemeProvider; }, httpAuthSchemeProvider() { return _httpAuthSchemeProvider; }, setCredentials(credentials) { _credentials = credentials; }, credentials() { return _credentials; }, };};const resolveHttpAuthRuntimeConfig = (config) => { return { httpAuthSchemes: config.httpAuthSchemes(), httpAuthSchemeProvider: config.httpAuthSchemeProvider(), credentials: config.credentials(), };}; const resolveRuntimeExtensions = (runtimeConfig, extensions) => { const extensionConfiguration = Object.assign(client$1.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig)); extensions.forEach((extension) => extension.configure(extensionConfiguration)); return Object.assign(runtimeConfig, client$1.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));}; class SNSClient extends client.Client { config; constructor(...[configuration]) { const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {}); super(_config_0); this.initConfig = _config_0; const _config_1 = resolveClientEndpointParameters(_config_0); const _config_2 = client$1.resolveUserAgentConfig(_config_1); const _config_3 = retry.resolveRetryConfig(_config_2); const _config_4 = config.resolveRegionConfig(_config_3); const _config_5 = client$1.resolveHostHeaderConfig(_config_4); const _config_6 = endpoints.resolveEndpointConfig(_config_5); const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6); const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); this.config = _config_8; this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config)); this.middlewareStack.use(client$1.getUserAgentPlugin(this.config)); this.middlewareStack.use(retry.getRetryPlugin(this.config)); this.middlewareStack.use(protocols.getContentLengthPlugin(this.config)); this.middlewareStack.use(client$1.getHostHeaderPlugin(this.config)); this.middlewareStack.use(client$1.getLoggerPlugin(this.config)); this.middlewareStack.use(client$1.getRecursionDetectionPlugin(this.config)); this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, { httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultSNSHttpAuthSchemeParametersProvider, identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({ "aws.auth#sigv4": config.credentials, }), })); this.middlewareStack.use(core.getHttpSigningPlugin(this.config)); } destroy() { super.destroy(); }} class AddPermissionCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonSimpleNotificationService", "AddPermission", {}) .n("SNSClient", "AddPermissionCommand") .sc(schemas_0.AddPermission$) .build() {} class CheckIfPhoneNumberIsOptedOutCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonSimpleNotificationService", "CheckIfPhoneNumberIsOptedOut", {}) .n("SNSClient", "CheckIfPhoneNumberIsOptedOutCommand") .sc(schemas_0.CheckIfPhoneNumberIsOptedOut$) .build() {} class ConfirmSubscriptionCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonSimpleNotificationService", "ConfirmSubscription", {}) .n("SNSClient", "ConfirmSubscriptionCommand") .sc(schemas_0.ConfirmSubscription$) .build() {} class CreatePlatformApplicationCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonSimpleNotificationService", "CreatePlatformApplication", {}) .n("SNSClient", "CreatePlatformApplicationCommand") .sc(schemas_0.CreatePlatformApplication$) .build() {} class CreatePlatformEndpointCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonSimpleNotificationService", "CreatePlatformEndpoint", {}) .n("SNSClient", "CreatePlatformEndpointCommand") .sc(schemas_0.CreatePlatformEndpoint$) .build() {} class CreateSMSSandboxPhoneNumberCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonSimpleNotificationService", "CreateSMSSandboxPhoneNumber", {}) .n("SNSClient", "CreateSMSSandboxPhoneNumberCommand") .sc(schemas_0.CreateSMSSandboxPhoneNumber$) .build() {} class CreateTopicCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonSimpleNotificationService", "CreateTopic", {}) .n("SNSClient", "CreateTopicCommand") .sc(schemas_0.CreateTopic$) .build() {} class DeleteEndpointCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonSimpleNotificationService", "DeleteEndpoint", {}) .n("SNSClient", "DeleteEndpointCommand") .sc(schemas_0.DeleteEndpoint$) .build() {} class DeletePlatformApplicationCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonSimpleNotificationService", "DeletePlatformApplication", {}) .n("SNSClient", "DeletePlatformApplicationCommand") .sc(schemas_0.DeletePlatformApplication$) .build() {} class DeleteSMSSandboxPhoneNumberCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonSimpleNotificationService", "DeleteSMSSandboxPhoneNumber", {}) .n("SNSClient", "DeleteSMSSandboxPhoneNumberCommand") .sc(schemas_0.DeleteSMSSandboxPhoneNumber$) .build() {} class DeleteTopicCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonSimpleNotificationService", "DeleteTopic", {}) .n("SNSClient", "DeleteTopicCommand") .sc(schemas_0.DeleteTopic$) .build() {} class GetDataProtectionPolicyCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonSimpleNotificationService", "GetDataProtectionPolicy", {}) .n("SNSClient", "GetDataProtectionPolicyCommand") .sc(schemas_0.GetDataProtectionPolicy$) .build() {} class GetEndpointAttributesCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonSimpleNotificationService", "GetEndpointAttributes", {}) .n("SNSClient", "GetEndpointAttributesCommand") .sc(schemas_0.GetEndpointAttributes$) .build() {} class GetPlatformApplicationAttributesCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonSimpleNotificationService", "GetPlatformApplicationAttributes", {}) .n("SNSClient", "GetPlatformApplicationAttributesCommand") .sc(schemas_0.GetPlatformApplicationAttributes$) .build() {} class GetSMSAttributesCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonSimpleNotificationService", "GetSMSAttributes", {}) .n("SNSClient", "GetSMSAttributesCommand") .sc(schemas_0.GetSMSAttributes$) .build() {} class GetSMSSandboxAccountStatusCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonSimpleNotificationService", "GetSMSSandboxAccountStatus", {}) .n("SNSClient", "GetSMSSandboxAccountStatusCommand") .sc(schemas_0.GetSMSSandboxAccountStatus$) .build() {} class GetSubscriptionAttributesCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonSimpleNotificationService", "GetSubscriptionAttributes", {}) .n("SNSClient", "GetSubscriptionAttributesCommand") .sc(schemas_0.GetSubscriptionAttributes$) .build() {} class GetTopicAttributesCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonSimpleNotificationService", "GetTopicAttributes", {}) .n("SNSClient", "GetTopicAttributesCommand") .sc(schemas_0.GetTopicAttributes$) .build() {} class ListEndpointsByPlatformApplicationCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonSimpleNotificationService", "ListEndpointsByPlatformApplication", {}) .n("SNSClient", "ListEndpointsByPlatformApplicationCommand") .sc(schemas_0.ListEndpointsByPlatformApplication$) .build() {} class ListOriginationNumbersCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonSimpleNotificationService", "ListOriginationNumbers", {}) .n("SNSClient", "ListOriginationNumbersCommand") .sc(schemas_0.ListOriginationNumbers$) .build() {} class ListPhoneNumbersOptedOutCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonSimpleNotificationService", "ListPhoneNumbersOptedOut", {}) .n("SNSClient", "ListPhoneNumbersOptedOutCommand") .sc(schemas_0.ListPhoneNumbersOptedOut$) .build() {} class ListPlatformApplicationsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonSimpleNotificationService", "ListPlatformApplications", {}) .n("SNSClient", "ListPlatformApplicationsCommand") .sc(schemas_0.ListPlatformApplications$) .build() {} class ListSMSSandboxPhoneNumbersCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonSimpleNotificationService", "ListSMSSandboxPhoneNumbers", {}) .n("SNSClient", "ListSMSSandboxPhoneNumbersCommand") .sc(schemas_0.ListSMSSandboxPhoneNumbers$) .build() {} class ListSubscriptionsByTopicCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonSimpleNotificationService", "ListSubscriptionsByTopic", {}) .n("SNSClient", "ListSubscriptionsByTopicCommand") .sc(schemas_0.ListSubscriptionsByTopic$) .build() {} class ListSubscriptionsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonSimpleNotificationService", "ListSubscriptions", {}) .n("SNSClient", "ListSubscriptionsCommand") .sc(schemas_0.ListSubscriptions$) .build() {} class ListTagsForResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonSimpleNotificationService", "ListTagsForResource", {}) .n("SNSClient", "ListTagsForResourceCommand") .sc(schemas_0.ListTagsForResource$) .build() {} class ListTopicsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonSimpleNotificationService", "ListTopics", {}) .n("SNSClient", "ListTopicsCommand") .sc(schemas_0.ListTopics$) .build() {} class OptInPhoneNumberCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonSimpleNotificationService", "OptInPhoneNumber", {}) .n("SNSClient", "OptInPhoneNumberCommand") .sc(schemas_0.OptInPhoneNumber$) .build() {} class PublishBatchCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonSimpleNotificationService", "PublishBatch", {}) .n("SNSClient", "PublishBatchCommand") .sc(schemas_0.PublishBatch$) .build() {} class PublishCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonSimpleNotificationService", "Publish", {}) .n("SNSClient", "PublishCommand") .sc(schemas_0.Publish$) .build() {} class PutDataProtectionPolicyCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonSimpleNotificationService", "PutDataProtectionPolicy", {}) .n("SNSClient", "PutDataProtectionPolicyCommand") .sc(schemas_0.PutDataProtectionPolicy$) .build() {} class RemovePermissionCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonSimpleNotificationService", "RemovePermission", {}) .n("SNSClient", "RemovePermissionCommand") .sc(schemas_0.RemovePermission$) .build() {} class SetEndpointAttributesCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonSimpleNotificationService", "SetEndpointAttributes", {}) .n("SNSClient", "SetEndpointAttributesCommand") .sc(schemas_0.SetEndpointAttributes$) .build() {} class SetPlatformApplicationAttributesCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonSimpleNotificationService", "SetPlatformApplicationAttributes", {}) .n("SNSClient", "SetPlatformApplicationAttributesCommand") .sc(schemas_0.SetPlatformApplicationAttributes$) .build() {} class SetSMSAttributesCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonSimpleNotificationService", "SetSMSAttributes", {}) .n("SNSClient", "SetSMSAttributesCommand") .sc(schemas_0.SetSMSAttributes$) .build() {} class SetSubscriptionAttributesCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonSimpleNotificationService", "SetSubscriptionAttributes", {}) .n("SNSClient", "SetSubscriptionAttributesCommand") .sc(schemas_0.SetSubscriptionAttributes$) .build() {} class SetTopicAttributesCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonSimpleNotificationService", "SetTopicAttributes", {}) .n("SNSClient", "SetTopicAttributesCommand") .sc(schemas_0.SetTopicAttributes$) .build() {} class SubscribeCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonSimpleNotificationService", "Subscribe", {}) .n("SNSClient", "SubscribeCommand") .sc(schemas_0.Subscribe$) .build() {} class TagResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonSimpleNotificationService", "TagResource", {}) .n("SNSClient", "TagResourceCommand") .sc(schemas_0.TagResource$) .build() {} class UnsubscribeCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonSimpleNotificationService", "Unsubscribe", {}) .n("SNSClient", "UnsubscribeCommand") .sc(schemas_0.Unsubscribe$) .build() {} class UntagResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonSimpleNotificationService", "UntagResource", {}) .n("SNSClient", "UntagResourceCommand") .sc(schemas_0.UntagResource$) .build() {} class VerifySMSSandboxPhoneNumberCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonSimpleNotificationService", "VerifySMSSandboxPhoneNumber", {}) .n("SNSClient", "VerifySMSSandboxPhoneNumberCommand") .sc(schemas_0.VerifySMSSandboxPhoneNumber$) .build() {} const paginateListEndpointsByPlatformApplication = core.createPaginator(SNSClient, ListEndpointsByPlatformApplicationCommand, "NextToken", "NextToken", ""); const paginateListOriginationNumbers = core.createPaginator(SNSClient, ListOriginationNumbersCommand, "NextToken", "NextToken", "MaxResults"); const paginateListPhoneNumbersOptedOut = core.createPaginator(SNSClient, ListPhoneNumbersOptedOutCommand, "nextToken", "nextToken", ""); const paginateListPlatformApplications = core.createPaginator(SNSClient, ListPlatformApplicationsCommand, "NextToken", "NextToken", ""); const paginateListSMSSandboxPhoneNumbers = core.createPaginator(SNSClient, ListSMSSandboxPhoneNumbersCommand, "NextToken", "NextToken", "MaxResults"); const paginateListSubscriptionsByTopic = core.createPaginator(SNSClient, ListSubscriptionsByTopicCommand, "NextToken", "NextToken", ""); const paginateListSubscriptions = core.createPaginator(SNSClient, ListSubscriptionsCommand, "NextToken", "NextToken", ""); const paginateListTopics = core.createPaginator(SNSClient, ListTopicsCommand, "NextToken", "NextToken", ""); const commands = { AddPermissionCommand, CheckIfPhoneNumberIsOptedOutCommand, ConfirmSubscriptionCommand, CreatePlatformApplicationCommand, CreatePlatformEndpointCommand, CreateSMSSandboxPhoneNumberCommand, CreateTopicCommand, DeleteEndpointCommand, DeletePlatformApplicationCommand, DeleteSMSSandboxPhoneNumberCommand, DeleteTopicCommand, GetDataProtectionPolicyCommand, GetEndpointAttributesCommand, GetPlatformApplicationAttributesCommand, GetSMSAttributesCommand, GetSMSSandboxAccountStatusCommand, GetSubscriptionAttributesCommand, GetTopicAttributesCommand, ListEndpointsByPlatformApplicationCommand, ListOriginationNumbersCommand, ListPhoneNumbersOptedOutCommand, ListPlatformApplicationsCommand, ListSMSSandboxPhoneNumbersCommand, ListSubscriptionsCommand, ListSubscriptionsByTopicCommand, ListTagsForResourceCommand, ListTopicsCommand, OptInPhoneNumberCommand, PublishCommand, PublishBatchCommand, PutDataProtectionPolicyCommand, RemovePermissionCommand, SetEndpointAttributesCommand, SetPlatformApplicationAttributesCommand, SetSMSAttributesCommand, SetSubscriptionAttributesCommand, SetTopicAttributesCommand, SubscribeCommand, TagResourceCommand, UnsubscribeCommand, UntagResourceCommand, VerifySMSSandboxPhoneNumberCommand,};const paginators = { paginateListEndpointsByPlatformApplication, paginateListOriginationNumbers, paginateListPhoneNumbersOptedOut, paginateListPlatformApplications, paginateListSMSSandboxPhoneNumbers, paginateListSubscriptions, paginateListSubscriptionsByTopic, paginateListTopics,};class SNS extends SNSClient {}client.createAggregatedClient(commands, SNS, { paginators }); const LanguageCodeString = { de_DE: "de-DE", en_GB: "en-GB", en_US: "en-US", es_419: "es-419", es_ES: "es-ES", fr_CA: "fr-CA", fr_FR: "fr-FR", it_IT: "it-IT", jp_JP: "ja-JP", kr_KR: "kr-KR", pt_BR: "pt-BR", zh_CN: "zh-CN", zh_TW: "zh-TW",};const NumberCapability = { MMS: "MMS", SMS: "SMS", VOICE: "VOICE",};const RouteType = { Premium: "Premium", Promotional: "Promotional", Transactional: "Transactional",};const SMSSandboxPhoneNumberVerificationStatus = { Pending: "Pending", Verified: "Verified",}; exports.$Command = client.Command;exports.__Client = client.Client;exports.SNSServiceException = SNSServiceException.SNSServiceException;exports.AddPermissionCommand = AddPermissionCommand;exports.CheckIfPhoneNumberIsOptedOutCommand = CheckIfPhoneNumberIsOptedOutCommand;exports.ConfirmSubscriptionCommand = ConfirmSubscriptionCommand;exports.CreatePlatformApplicationCommand = CreatePlatformApplicationCommand;exports.CreatePlatformEndpointCommand = CreatePlatformEndpointCommand;exports.CreateSMSSandboxPhoneNumberCommand = CreateSMSSandboxPhoneNumberCommand;exports.CreateTopicCommand = CreateTopicCommand;exports.DeleteEndpointCommand = DeleteEndpointCommand;exports.DeletePlatformApplicationCommand = DeletePlatformApplicationCommand;exports.DeleteSMSSandboxPhoneNumberCommand = DeleteSMSSandboxPhoneNumberCommand;exports.DeleteTopicCommand = DeleteTopicCommand;exports.GetDataProtectionPolicyCommand = GetDataProtectionPolicyCommand;exports.GetEndpointAttributesCommand = GetEndpointAttributesCommand;exports.GetPlatformApplicationAttributesCommand = GetPlatformApplicationAttributesCommand;exports.GetSMSAttributesCommand = GetSMSAttributesCommand;exports.GetSMSSandboxAccountStatusCommand = GetSMSSandboxAccountStatusCommand;exports.GetSubscriptionAttributesCommand = GetSubscriptionAttributesCommand;exports.GetTopicAttributesCommand = GetTopicAttributesCommand;exports.LanguageCodeString = LanguageCodeString;exports.ListEndpointsByPlatformApplicationCommand = ListEndpointsByPlatformApplicationCommand;exports.ListOriginationNumbersCommand = ListOriginationNumbersCommand;exports.ListPhoneNumbersOptedOutCommand = ListPhoneNumbersOptedOutCommand;exports.ListPlatformApplicationsCommand = ListPlatformApplicationsCommand;exports.ListSMSSandboxPhoneNumbersCommand = ListSMSSandboxPhoneNumbersCommand;exports.ListSubscriptionsByTopicCommand = ListSubscriptionsByTopicCommand;exports.ListSubscriptionsCommand = ListSubscriptionsCommand;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.ListTopicsCommand = ListTopicsCommand;exports.NumberCapability = NumberCapability;exports.OptInPhoneNumberCommand = OptInPhoneNumberCommand;exports.PublishBatchCommand = PublishBatchCommand;exports.PublishCommand = PublishCommand;exports.PutDataProtectionPolicyCommand = PutDataProtectionPolicyCommand;exports.RemovePermissionCommand = RemovePermissionCommand;exports.RouteType = RouteType;exports.SMSSandboxPhoneNumberVerificationStatus = SMSSandboxPhoneNumberVerificationStatus;exports.SNS = SNS;exports.SNSClient = SNSClient;exports.SetEndpointAttributesCommand = SetEndpointAttributesCommand;exports.SetPlatformApplicationAttributesCommand = SetPlatformApplicationAttributesCommand;exports.SetSMSAttributesCommand = SetSMSAttributesCommand;exports.SetSubscriptionAttributesCommand = SetSubscriptionAttributesCommand;exports.SetTopicAttributesCommand = SetTopicAttributesCommand;exports.SubscribeCommand = SubscribeCommand;exports.TagResourceCommand = TagResourceCommand;exports.UnsubscribeCommand = UnsubscribeCommand;exports.UntagResourceCommand = UntagResourceCommand;exports.VerifySMSSandboxPhoneNumberCommand = VerifySMSSandboxPhoneNumberCommand;exports.paginateListEndpointsByPlatformApplication = paginateListEndpointsByPlatformApplication;exports.paginateListOriginationNumbers = paginateListOriginationNumbers;exports.paginateListPhoneNumbersOptedOut = paginateListPhoneNumbersOptedOut;exports.paginateListPlatformApplications = paginateListPlatformApplications;exports.paginateListSMSSandboxPhoneNumbers = paginateListSMSSandboxPhoneNumbers;exports.paginateListSubscriptions = paginateListSubscriptions;exports.paginateListSubscriptionsByTopic = paginateListSubscriptionsByTopic;exports.paginateListTopics = paginateListTopics;Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') && !Object.prototype.hasOwnProperty.call(exports, '__proto__') && Object.defineProperty(exports, '__proto__', { enumerable: true, value: schemas_0['__proto__'] }); Object.keys(schemas_0).forEach(function (k) { if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];});Object.prototype.hasOwnProperty.call(errors, '__proto__') && !Object.prototype.hasOwnProperty.call(exports, '__proto__') && Object.defineProperty(exports, '__proto__', { enumerable: true, value: errors['__proto__'] }); Object.keys(errors).forEach(function (k) { if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];});