UNPKG

serverless-spy

Version:

CDK-based library for writing elegant integration tests on AWS serverless architecture and an additional web console to monitor events in real time.

1,343 lines (1,320 loc) 185 kB
"use strict"; var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __hasOwnProp = Object.prototype.hasOwnProperty; var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); }; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to; }; var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); // src/index.ts var src_exports = {}; __export(src_exports, { AddPermissionCommand: () => AddPermissionCommand, AuthorizationErrorException: () => AuthorizationErrorException, BatchEntryIdsNotDistinctException: () => BatchEntryIdsNotDistinctException, BatchRequestTooLongException: () => BatchRequestTooLongException, CheckIfPhoneNumberIsOptedOutCommand: () => CheckIfPhoneNumberIsOptedOutCommand, CheckIfPhoneNumberIsOptedOutInputFilterSensitiveLog: () => CheckIfPhoneNumberIsOptedOutInputFilterSensitiveLog, ConcurrentAccessException: () => ConcurrentAccessException, ConfirmSubscriptionCommand: () => ConfirmSubscriptionCommand, CreatePlatformApplicationCommand: () => CreatePlatformApplicationCommand, CreatePlatformEndpointCommand: () => CreatePlatformEndpointCommand, CreateSMSSandboxPhoneNumberCommand: () => CreateSMSSandboxPhoneNumberCommand, CreateSMSSandboxPhoneNumberInputFilterSensitiveLog: () => CreateSMSSandboxPhoneNumberInputFilterSensitiveLog, CreateTopicCommand: () => CreateTopicCommand, DeleteEndpointCommand: () => DeleteEndpointCommand, DeletePlatformApplicationCommand: () => DeletePlatformApplicationCommand, DeleteSMSSandboxPhoneNumberCommand: () => DeleteSMSSandboxPhoneNumberCommand, DeleteSMSSandboxPhoneNumberInputFilterSensitiveLog: () => DeleteSMSSandboxPhoneNumberInputFilterSensitiveLog, DeleteTopicCommand: () => DeleteTopicCommand, EmptyBatchRequestException: () => EmptyBatchRequestException, EndpointDisabledException: () => EndpointDisabledException, FilterPolicyLimitExceededException: () => FilterPolicyLimitExceededException, GetDataProtectionPolicyCommand: () => GetDataProtectionPolicyCommand, GetEndpointAttributesCommand: () => GetEndpointAttributesCommand, GetPlatformApplicationAttributesCommand: () => GetPlatformApplicationAttributesCommand, GetSMSAttributesCommand: () => GetSMSAttributesCommand, GetSMSSandboxAccountStatusCommand: () => GetSMSSandboxAccountStatusCommand, GetSubscriptionAttributesCommand: () => GetSubscriptionAttributesCommand, GetTopicAttributesCommand: () => GetTopicAttributesCommand, InternalErrorException: () => InternalErrorException, InvalidBatchEntryIdException: () => InvalidBatchEntryIdException, InvalidParameterException: () => InvalidParameterException, InvalidParameterValueException: () => InvalidParameterValueException, InvalidSecurityException: () => InvalidSecurityException, InvalidStateException: () => InvalidStateException, KMSAccessDeniedException: () => KMSAccessDeniedException, KMSDisabledException: () => KMSDisabledException, KMSInvalidStateException: () => KMSInvalidStateException, KMSNotFoundException: () => KMSNotFoundException, KMSOptInRequired: () => KMSOptInRequired, KMSThrottlingException: () => KMSThrottlingException, LanguageCodeString: () => LanguageCodeString, ListEndpointsByPlatformApplicationCommand: () => ListEndpointsByPlatformApplicationCommand, ListOriginationNumbersCommand: () => ListOriginationNumbersCommand, ListOriginationNumbersResultFilterSensitiveLog: () => ListOriginationNumbersResultFilterSensitiveLog, ListPhoneNumbersOptedOutCommand: () => ListPhoneNumbersOptedOutCommand, ListPhoneNumbersOptedOutResponseFilterSensitiveLog: () => ListPhoneNumbersOptedOutResponseFilterSensitiveLog, ListPlatformApplicationsCommand: () => ListPlatformApplicationsCommand, ListSMSSandboxPhoneNumbersCommand: () => ListSMSSandboxPhoneNumbersCommand, ListSMSSandboxPhoneNumbersResultFilterSensitiveLog: () => ListSMSSandboxPhoneNumbersResultFilterSensitiveLog, ListSubscriptionsByTopicCommand: () => ListSubscriptionsByTopicCommand, ListSubscriptionsCommand: () => ListSubscriptionsCommand, ListTagsForResourceCommand: () => ListTagsForResourceCommand, ListTopicsCommand: () => ListTopicsCommand, NotFoundException: () => NotFoundException, NumberCapability: () => NumberCapability, OptInPhoneNumberCommand: () => OptInPhoneNumberCommand, OptInPhoneNumberInputFilterSensitiveLog: () => OptInPhoneNumberInputFilterSensitiveLog, OptedOutException: () => OptedOutException, PhoneNumberInformationFilterSensitiveLog: () => PhoneNumberInformationFilterSensitiveLog, PlatformApplicationDisabledException: () => PlatformApplicationDisabledException, PublishBatchCommand: () => PublishBatchCommand, PublishCommand: () => PublishCommand, PublishInputFilterSensitiveLog: () => PublishInputFilterSensitiveLog, PutDataProtectionPolicyCommand: () => PutDataProtectionPolicyCommand, RemovePermissionCommand: () => RemovePermissionCommand, ReplayLimitExceededException: () => ReplayLimitExceededException, ResourceNotFoundException: () => ResourceNotFoundException, RouteType: () => RouteType, SMSSandboxPhoneNumberFilterSensitiveLog: () => SMSSandboxPhoneNumberFilterSensitiveLog, SMSSandboxPhoneNumberVerificationStatus: () => SMSSandboxPhoneNumberVerificationStatus, SNS: () => SNS, SNSClient: () => SNSClient, SNSServiceException: () => SNSServiceException, SetEndpointAttributesCommand: () => SetEndpointAttributesCommand, SetPlatformApplicationAttributesCommand: () => SetPlatformApplicationAttributesCommand, SetSMSAttributesCommand: () => SetSMSAttributesCommand, SetSubscriptionAttributesCommand: () => SetSubscriptionAttributesCommand, SetTopicAttributesCommand: () => SetTopicAttributesCommand, StaleTagException: () => StaleTagException, SubscribeCommand: () => SubscribeCommand, SubscriptionLimitExceededException: () => SubscriptionLimitExceededException, TagLimitExceededException: () => TagLimitExceededException, TagPolicyException: () => TagPolicyException, TagResourceCommand: () => TagResourceCommand, ThrottledException: () => ThrottledException, TooManyEntriesInBatchRequestException: () => TooManyEntriesInBatchRequestException, TopicLimitExceededException: () => TopicLimitExceededException, UnsubscribeCommand: () => UnsubscribeCommand, UntagResourceCommand: () => UntagResourceCommand, UserErrorException: () => UserErrorException, ValidationException: () => ValidationException, VerificationException: () => VerificationException, VerifySMSSandboxPhoneNumberCommand: () => VerifySMSSandboxPhoneNumberCommand, VerifySMSSandboxPhoneNumberInputFilterSensitiveLog: () => VerifySMSSandboxPhoneNumberInputFilterSensitiveLog, __Client: () => import_smithy_client.Client, paginateListEndpointsByPlatformApplication: () => paginateListEndpointsByPlatformApplication, paginateListOriginationNumbers: () => paginateListOriginationNumbers, paginateListPhoneNumbersOptedOut: () => paginateListPhoneNumbersOptedOut, paginateListPlatformApplications: () => paginateListPlatformApplications, paginateListSMSSandboxPhoneNumbers: () => paginateListSMSSandboxPhoneNumbers, paginateListSubscriptions: () => paginateListSubscriptions, paginateListSubscriptionsByTopic: () => paginateListSubscriptionsByTopic, paginateListTopics: () => paginateListTopics }); module.exports = __toCommonJS(src_exports); // src/SNSClient.ts var import_middleware_host_header = require("@aws-sdk/middleware-host-header"); var import_middleware_logger = require("@aws-sdk/middleware-logger"); var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection"); var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent"); var import_config_resolver = require("@smithy/config-resolver"); var import_core = require("@smithy/core"); var import_middleware_content_length = require("@smithy/middleware-content-length"); var import_middleware_endpoint = require("@smithy/middleware-endpoint"); var import_middleware_retry = require("@smithy/middleware-retry"); var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider"); // src/endpoint/EndpointParameters.ts var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => { return { ...options, useDualstackEndpoint: options.useDualstackEndpoint ?? false, useFipsEndpoint: options.useFipsEndpoint ?? false, defaultSigningName: "sns" }; }, "resolveClientEndpointParameters"); var commonParams = { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, Endpoint: { type: "builtInParams", name: "endpoint" }, Region: { type: "builtInParams", name: "region" }, UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" } }; // src/SNSClient.ts var import_runtimeConfig = require("././runtimeConfig"); // src/runtimeExtensions.ts var import_region_config_resolver = require("@aws-sdk/region-config-resolver"); var import_protocol_http = require("@smithy/protocol-http"); var import_smithy_client = require("@smithy/smithy-client"); // src/auth/httpAuthExtensionConfiguration.ts var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((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; } }; }, "getHttpAuthExtensionConfiguration"); var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => { return { httpAuthSchemes: config.httpAuthSchemes(), httpAuthSchemeProvider: config.httpAuthSchemeProvider(), credentials: config.credentials() }; }, "resolveHttpAuthRuntimeConfig"); // src/runtimeExtensions.ts var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial"); var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => { const extensionConfiguration = { ...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)), ...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)), ...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig)), ...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)) }; extensions.forEach((extension) => extension.configure(extensionConfiguration)); return { ...runtimeConfig, ...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), ...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration), ...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration), ...resolveHttpAuthRuntimeConfig(extensionConfiguration) }; }, "resolveRuntimeExtensions"); // src/SNSClient.ts var _SNSClient = class _SNSClient extends import_smithy_client.Client { constructor(...[configuration]) { const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {}); const _config_1 = resolveClientEndpointParameters(_config_0); const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1); const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2); const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3); const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4); const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5); const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6); const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []); super(_config_8); this.config = _config_8; this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config)); this.middlewareStack.use( (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, { httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSNSHttpAuthSchemeParametersProvider, identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({ "aws.auth#sigv4": config.credentials }) }) ); this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config)); } /** * Destroy underlying resources, like sockets. It's usually not necessary to do this. * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. * Otherwise, sockets might stay open for quite a long time before the server terminates them. */ destroy() { super.destroy(); } }; __name(_SNSClient, "SNSClient"); var SNSClient = _SNSClient; // src/SNS.ts // src/commands/AddPermissionCommand.ts var import_middleware_serde = require("@smithy/middleware-serde"); // src/protocols/Aws_query.ts var import_core2 = require("@aws-sdk/core"); // src/models/models_0.ts // src/models/SNSServiceException.ts var _SNSServiceException = class _SNSServiceException extends import_smithy_client.ServiceException { /** * @internal */ constructor(options) { super(options); Object.setPrototypeOf(this, _SNSServiceException.prototype); } }; __name(_SNSServiceException, "SNSServiceException"); var SNSServiceException = _SNSServiceException; // src/models/models_0.ts var _AuthorizationErrorException = class _AuthorizationErrorException extends SNSServiceException { /** * @internal */ constructor(opts) { super({ name: "AuthorizationErrorException", $fault: "client", ...opts }); this.name = "AuthorizationErrorException"; this.$fault = "client"; Object.setPrototypeOf(this, _AuthorizationErrorException.prototype); } }; __name(_AuthorizationErrorException, "AuthorizationErrorException"); var AuthorizationErrorException = _AuthorizationErrorException; var _InternalErrorException = class _InternalErrorException extends SNSServiceException { /** * @internal */ constructor(opts) { super({ name: "InternalErrorException", $fault: "server", ...opts }); this.name = "InternalErrorException"; this.$fault = "server"; Object.setPrototypeOf(this, _InternalErrorException.prototype); } }; __name(_InternalErrorException, "InternalErrorException"); var InternalErrorException = _InternalErrorException; var _InvalidParameterException = class _InvalidParameterException extends SNSServiceException { /** * @internal */ constructor(opts) { super({ name: "InvalidParameterException", $fault: "client", ...opts }); this.name = "InvalidParameterException"; this.$fault = "client"; Object.setPrototypeOf(this, _InvalidParameterException.prototype); } }; __name(_InvalidParameterException, "InvalidParameterException"); var InvalidParameterException = _InvalidParameterException; var _NotFoundException = class _NotFoundException extends SNSServiceException { /** * @internal */ constructor(opts) { super({ name: "NotFoundException", $fault: "client", ...opts }); this.name = "NotFoundException"; this.$fault = "client"; Object.setPrototypeOf(this, _NotFoundException.prototype); } }; __name(_NotFoundException, "NotFoundException"); var NotFoundException = _NotFoundException; var _ThrottledException = class _ThrottledException extends SNSServiceException { /** * @internal */ constructor(opts) { super({ name: "ThrottledException", $fault: "client", ...opts }); this.name = "ThrottledException"; this.$fault = "client"; Object.setPrototypeOf(this, _ThrottledException.prototype); } }; __name(_ThrottledException, "ThrottledException"); var ThrottledException = _ThrottledException; var _FilterPolicyLimitExceededException = class _FilterPolicyLimitExceededException extends SNSServiceException { /** * @internal */ constructor(opts) { super({ name: "FilterPolicyLimitExceededException", $fault: "client", ...opts }); this.name = "FilterPolicyLimitExceededException"; this.$fault = "client"; Object.setPrototypeOf(this, _FilterPolicyLimitExceededException.prototype); } }; __name(_FilterPolicyLimitExceededException, "FilterPolicyLimitExceededException"); var FilterPolicyLimitExceededException = _FilterPolicyLimitExceededException; var _ReplayLimitExceededException = class _ReplayLimitExceededException extends SNSServiceException { /** * @internal */ constructor(opts) { super({ name: "ReplayLimitExceededException", $fault: "client", ...opts }); this.name = "ReplayLimitExceededException"; this.$fault = "client"; Object.setPrototypeOf(this, _ReplayLimitExceededException.prototype); } }; __name(_ReplayLimitExceededException, "ReplayLimitExceededException"); var ReplayLimitExceededException = _ReplayLimitExceededException; var _SubscriptionLimitExceededException = class _SubscriptionLimitExceededException extends SNSServiceException { /** * @internal */ constructor(opts) { super({ name: "SubscriptionLimitExceededException", $fault: "client", ...opts }); this.name = "SubscriptionLimitExceededException"; this.$fault = "client"; Object.setPrototypeOf(this, _SubscriptionLimitExceededException.prototype); } }; __name(_SubscriptionLimitExceededException, "SubscriptionLimitExceededException"); var SubscriptionLimitExceededException = _SubscriptionLimitExceededException; var 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" }; var _OptedOutException = class _OptedOutException extends SNSServiceException { /** * @internal */ constructor(opts) { super({ name: "OptedOutException", $fault: "client", ...opts }); this.name = "OptedOutException"; this.$fault = "client"; Object.setPrototypeOf(this, _OptedOutException.prototype); } }; __name(_OptedOutException, "OptedOutException"); var OptedOutException = _OptedOutException; var _UserErrorException = class _UserErrorException extends SNSServiceException { /** * @internal */ constructor(opts) { super({ name: "UserErrorException", $fault: "client", ...opts }); this.name = "UserErrorException"; this.$fault = "client"; Object.setPrototypeOf(this, _UserErrorException.prototype); } }; __name(_UserErrorException, "UserErrorException"); var UserErrorException = _UserErrorException; var _ConcurrentAccessException = class _ConcurrentAccessException extends SNSServiceException { /** * @internal */ constructor(opts) { super({ name: "ConcurrentAccessException", $fault: "client", ...opts }); this.name = "ConcurrentAccessException"; this.$fault = "client"; Object.setPrototypeOf(this, _ConcurrentAccessException.prototype); } }; __name(_ConcurrentAccessException, "ConcurrentAccessException"); var ConcurrentAccessException = _ConcurrentAccessException; var _InvalidSecurityException = class _InvalidSecurityException extends SNSServiceException { /** * @internal */ constructor(opts) { super({ name: "InvalidSecurityException", $fault: "client", ...opts }); this.name = "InvalidSecurityException"; this.$fault = "client"; Object.setPrototypeOf(this, _InvalidSecurityException.prototype); } }; __name(_InvalidSecurityException, "InvalidSecurityException"); var InvalidSecurityException = _InvalidSecurityException; var _StaleTagException = class _StaleTagException extends SNSServiceException { /** * @internal */ constructor(opts) { super({ name: "StaleTagException", $fault: "client", ...opts }); this.name = "StaleTagException"; this.$fault = "client"; Object.setPrototypeOf(this, _StaleTagException.prototype); } }; __name(_StaleTagException, "StaleTagException"); var StaleTagException = _StaleTagException; var _TagLimitExceededException = class _TagLimitExceededException extends SNSServiceException { /** * @internal */ constructor(opts) { super({ name: "TagLimitExceededException", $fault: "client", ...opts }); this.name = "TagLimitExceededException"; this.$fault = "client"; Object.setPrototypeOf(this, _TagLimitExceededException.prototype); } }; __name(_TagLimitExceededException, "TagLimitExceededException"); var TagLimitExceededException = _TagLimitExceededException; var _TagPolicyException = class _TagPolicyException extends SNSServiceException { /** * @internal */ constructor(opts) { super({ name: "TagPolicyException", $fault: "client", ...opts }); this.name = "TagPolicyException"; this.$fault = "client"; Object.setPrototypeOf(this, _TagPolicyException.prototype); } }; __name(_TagPolicyException, "TagPolicyException"); var TagPolicyException = _TagPolicyException; var _TopicLimitExceededException = class _TopicLimitExceededException extends SNSServiceException { /** * @internal */ constructor(opts) { super({ name: "TopicLimitExceededException", $fault: "client", ...opts }); this.name = "TopicLimitExceededException"; this.$fault = "client"; Object.setPrototypeOf(this, _TopicLimitExceededException.prototype); } }; __name(_TopicLimitExceededException, "TopicLimitExceededException"); var TopicLimitExceededException = _TopicLimitExceededException; var _ResourceNotFoundException = class _ResourceNotFoundException extends SNSServiceException { /** * @internal */ constructor(opts) { super({ name: "ResourceNotFoundException", $fault: "client", ...opts }); this.name = "ResourceNotFoundException"; this.$fault = "client"; Object.setPrototypeOf(this, _ResourceNotFoundException.prototype); } }; __name(_ResourceNotFoundException, "ResourceNotFoundException"); var ResourceNotFoundException = _ResourceNotFoundException; var _InvalidStateException = class _InvalidStateException extends SNSServiceException { /** * @internal */ constructor(opts) { super({ name: "InvalidStateException", $fault: "client", ...opts }); this.name = "InvalidStateException"; this.$fault = "client"; Object.setPrototypeOf(this, _InvalidStateException.prototype); } }; __name(_InvalidStateException, "InvalidStateException"); var InvalidStateException = _InvalidStateException; var NumberCapability = { MMS: "MMS", SMS: "SMS", VOICE: "VOICE" }; var RouteType = { Premium: "Premium", Promotional: "Promotional", Transactional: "Transactional" }; var _ValidationException = class _ValidationException extends SNSServiceException { /** * @internal */ constructor(opts) { super({ name: "ValidationException", $fault: "client", ...opts }); this.name = "ValidationException"; this.$fault = "client"; Object.setPrototypeOf(this, _ValidationException.prototype); this.Message = opts.Message; } }; __name(_ValidationException, "ValidationException"); var ValidationException = _ValidationException; var SMSSandboxPhoneNumberVerificationStatus = { Pending: "Pending", Verified: "Verified" }; var _EndpointDisabledException = class _EndpointDisabledException extends SNSServiceException { /** * @internal */ constructor(opts) { super({ name: "EndpointDisabledException", $fault: "client", ...opts }); this.name = "EndpointDisabledException"; this.$fault = "client"; Object.setPrototypeOf(this, _EndpointDisabledException.prototype); } }; __name(_EndpointDisabledException, "EndpointDisabledException"); var EndpointDisabledException = _EndpointDisabledException; var _InvalidParameterValueException = class _InvalidParameterValueException extends SNSServiceException { /** * @internal */ constructor(opts) { super({ name: "InvalidParameterValueException", $fault: "client", ...opts }); this.name = "InvalidParameterValueException"; this.$fault = "client"; Object.setPrototypeOf(this, _InvalidParameterValueException.prototype); } }; __name(_InvalidParameterValueException, "InvalidParameterValueException"); var InvalidParameterValueException = _InvalidParameterValueException; var _KMSAccessDeniedException = class _KMSAccessDeniedException extends SNSServiceException { /** * @internal */ constructor(opts) { super({ name: "KMSAccessDeniedException", $fault: "client", ...opts }); this.name = "KMSAccessDeniedException"; this.$fault = "client"; Object.setPrototypeOf(this, _KMSAccessDeniedException.prototype); } }; __name(_KMSAccessDeniedException, "KMSAccessDeniedException"); var KMSAccessDeniedException = _KMSAccessDeniedException; var _KMSDisabledException = class _KMSDisabledException extends SNSServiceException { /** * @internal */ constructor(opts) { super({ name: "KMSDisabledException", $fault: "client", ...opts }); this.name = "KMSDisabledException"; this.$fault = "client"; Object.setPrototypeOf(this, _KMSDisabledException.prototype); } }; __name(_KMSDisabledException, "KMSDisabledException"); var KMSDisabledException = _KMSDisabledException; var _KMSInvalidStateException = class _KMSInvalidStateException extends SNSServiceException { /** * @internal */ constructor(opts) { super({ name: "KMSInvalidStateException", $fault: "client", ...opts }); this.name = "KMSInvalidStateException"; this.$fault = "client"; Object.setPrototypeOf(this, _KMSInvalidStateException.prototype); } }; __name(_KMSInvalidStateException, "KMSInvalidStateException"); var KMSInvalidStateException = _KMSInvalidStateException; var _KMSNotFoundException = class _KMSNotFoundException extends SNSServiceException { /** * @internal */ constructor(opts) { super({ name: "KMSNotFoundException", $fault: "client", ...opts }); this.name = "KMSNotFoundException"; this.$fault = "client"; Object.setPrototypeOf(this, _KMSNotFoundException.prototype); } }; __name(_KMSNotFoundException, "KMSNotFoundException"); var KMSNotFoundException = _KMSNotFoundException; var _KMSOptInRequired = class _KMSOptInRequired extends SNSServiceException { /** * @internal */ constructor(opts) { super({ name: "KMSOptInRequired", $fault: "client", ...opts }); this.name = "KMSOptInRequired"; this.$fault = "client"; Object.setPrototypeOf(this, _KMSOptInRequired.prototype); } }; __name(_KMSOptInRequired, "KMSOptInRequired"); var KMSOptInRequired = _KMSOptInRequired; var _KMSThrottlingException = class _KMSThrottlingException extends SNSServiceException { /** * @internal */ constructor(opts) { super({ name: "KMSThrottlingException", $fault: "client", ...opts }); this.name = "KMSThrottlingException"; this.$fault = "client"; Object.setPrototypeOf(this, _KMSThrottlingException.prototype); } }; __name(_KMSThrottlingException, "KMSThrottlingException"); var KMSThrottlingException = _KMSThrottlingException; var _PlatformApplicationDisabledException = class _PlatformApplicationDisabledException extends SNSServiceException { /** * @internal */ constructor(opts) { super({ name: "PlatformApplicationDisabledException", $fault: "client", ...opts }); this.name = "PlatformApplicationDisabledException"; this.$fault = "client"; Object.setPrototypeOf(this, _PlatformApplicationDisabledException.prototype); } }; __name(_PlatformApplicationDisabledException, "PlatformApplicationDisabledException"); var PlatformApplicationDisabledException = _PlatformApplicationDisabledException; var _BatchEntryIdsNotDistinctException = class _BatchEntryIdsNotDistinctException extends SNSServiceException { /** * @internal */ constructor(opts) { super({ name: "BatchEntryIdsNotDistinctException", $fault: "client", ...opts }); this.name = "BatchEntryIdsNotDistinctException"; this.$fault = "client"; Object.setPrototypeOf(this, _BatchEntryIdsNotDistinctException.prototype); } }; __name(_BatchEntryIdsNotDistinctException, "BatchEntryIdsNotDistinctException"); var BatchEntryIdsNotDistinctException = _BatchEntryIdsNotDistinctException; var _BatchRequestTooLongException = class _BatchRequestTooLongException extends SNSServiceException { /** * @internal */ constructor(opts) { super({ name: "BatchRequestTooLongException", $fault: "client", ...opts }); this.name = "BatchRequestTooLongException"; this.$fault = "client"; Object.setPrototypeOf(this, _BatchRequestTooLongException.prototype); } }; __name(_BatchRequestTooLongException, "BatchRequestTooLongException"); var BatchRequestTooLongException = _BatchRequestTooLongException; var _EmptyBatchRequestException = class _EmptyBatchRequestException extends SNSServiceException { /** * @internal */ constructor(opts) { super({ name: "EmptyBatchRequestException", $fault: "client", ...opts }); this.name = "EmptyBatchRequestException"; this.$fault = "client"; Object.setPrototypeOf(this, _EmptyBatchRequestException.prototype); } }; __name(_EmptyBatchRequestException, "EmptyBatchRequestException"); var EmptyBatchRequestException = _EmptyBatchRequestException; var _InvalidBatchEntryIdException = class _InvalidBatchEntryIdException extends SNSServiceException { /** * @internal */ constructor(opts) { super({ name: "InvalidBatchEntryIdException", $fault: "client", ...opts }); this.name = "InvalidBatchEntryIdException"; this.$fault = "client"; Object.setPrototypeOf(this, _InvalidBatchEntryIdException.prototype); } }; __name(_InvalidBatchEntryIdException, "InvalidBatchEntryIdException"); var InvalidBatchEntryIdException = _InvalidBatchEntryIdException; var _TooManyEntriesInBatchRequestException = class _TooManyEntriesInBatchRequestException extends SNSServiceException { /** * @internal */ constructor(opts) { super({ name: "TooManyEntriesInBatchRequestException", $fault: "client", ...opts }); this.name = "TooManyEntriesInBatchRequestException"; this.$fault = "client"; Object.setPrototypeOf(this, _TooManyEntriesInBatchRequestException.prototype); } }; __name(_TooManyEntriesInBatchRequestException, "TooManyEntriesInBatchRequestException"); var TooManyEntriesInBatchRequestException = _TooManyEntriesInBatchRequestException; var _VerificationException = class _VerificationException extends SNSServiceException { /** * @internal */ constructor(opts) { super({ name: "VerificationException", $fault: "client", ...opts }); this.name = "VerificationException"; this.$fault = "client"; Object.setPrototypeOf(this, _VerificationException.prototype); this.Message = opts.Message; this.Status = opts.Status; } }; __name(_VerificationException, "VerificationException"); var VerificationException = _VerificationException; var CheckIfPhoneNumberIsOptedOutInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.phoneNumber && { phoneNumber: import_smithy_client.SENSITIVE_STRING } }), "CheckIfPhoneNumberIsOptedOutInputFilterSensitiveLog"); var CreateSMSSandboxPhoneNumberInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.PhoneNumber && { PhoneNumber: import_smithy_client.SENSITIVE_STRING } }), "CreateSMSSandboxPhoneNumberInputFilterSensitiveLog"); var DeleteSMSSandboxPhoneNumberInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.PhoneNumber && { PhoneNumber: import_smithy_client.SENSITIVE_STRING } }), "DeleteSMSSandboxPhoneNumberInputFilterSensitiveLog"); var PhoneNumberInformationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.PhoneNumber && { PhoneNumber: import_smithy_client.SENSITIVE_STRING } }), "PhoneNumberInformationFilterSensitiveLog"); var ListOriginationNumbersResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.PhoneNumbers && { PhoneNumbers: obj.PhoneNumbers.map((item) => PhoneNumberInformationFilterSensitiveLog(item)) } }), "ListOriginationNumbersResultFilterSensitiveLog"); var ListPhoneNumbersOptedOutResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.phoneNumbers && { phoneNumbers: import_smithy_client.SENSITIVE_STRING } }), "ListPhoneNumbersOptedOutResponseFilterSensitiveLog"); var SMSSandboxPhoneNumberFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.PhoneNumber && { PhoneNumber: import_smithy_client.SENSITIVE_STRING } }), "SMSSandboxPhoneNumberFilterSensitiveLog"); var ListSMSSandboxPhoneNumbersResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.PhoneNumbers && { PhoneNumbers: obj.PhoneNumbers.map((item) => SMSSandboxPhoneNumberFilterSensitiveLog(item)) } }), "ListSMSSandboxPhoneNumbersResultFilterSensitiveLog"); var OptInPhoneNumberInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.phoneNumber && { phoneNumber: import_smithy_client.SENSITIVE_STRING } }), "OptInPhoneNumberInputFilterSensitiveLog"); var PublishInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.PhoneNumber && { PhoneNumber: import_smithy_client.SENSITIVE_STRING } }), "PublishInputFilterSensitiveLog"); var VerifySMSSandboxPhoneNumberInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.PhoneNumber && { PhoneNumber: import_smithy_client.SENSITIVE_STRING } }), "VerifySMSSandboxPhoneNumberInputFilterSensitiveLog"); // src/protocols/Aws_query.ts var se_AddPermissionCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = SHARED_HEADERS; let body; body = buildFormUrlencodedString({ ...se_AddPermissionInput(input, context), [_A]: _AP, [_V]: _ }); return buildHttpRpcRequest(context, headers, "/", void 0, body); }, "se_AddPermissionCommand"); var se_CheckIfPhoneNumberIsOptedOutCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = SHARED_HEADERS; let body; body = buildFormUrlencodedString({ ...se_CheckIfPhoneNumberIsOptedOutInput(input, context), [_A]: _CIPNIOO, [_V]: _ }); return buildHttpRpcRequest(context, headers, "/", void 0, body); }, "se_CheckIfPhoneNumberIsOptedOutCommand"); var se_ConfirmSubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = SHARED_HEADERS; let body; body = buildFormUrlencodedString({ ...se_ConfirmSubscriptionInput(input, context), [_A]: _CS, [_V]: _ }); return buildHttpRpcRequest(context, headers, "/", void 0, body); }, "se_ConfirmSubscriptionCommand"); var se_CreatePlatformApplicationCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = SHARED_HEADERS; let body; body = buildFormUrlencodedString({ ...se_CreatePlatformApplicationInput(input, context), [_A]: _CPA, [_V]: _ }); return buildHttpRpcRequest(context, headers, "/", void 0, body); }, "se_CreatePlatformApplicationCommand"); var se_CreatePlatformEndpointCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = SHARED_HEADERS; let body; body = buildFormUrlencodedString({ ...se_CreatePlatformEndpointInput(input, context), [_A]: _CPE, [_V]: _ }); return buildHttpRpcRequest(context, headers, "/", void 0, body); }, "se_CreatePlatformEndpointCommand"); var se_CreateSMSSandboxPhoneNumberCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = SHARED_HEADERS; let body; body = buildFormUrlencodedString({ ...se_CreateSMSSandboxPhoneNumberInput(input, context), [_A]: _CSMSSPN, [_V]: _ }); return buildHttpRpcRequest(context, headers, "/", void 0, body); }, "se_CreateSMSSandboxPhoneNumberCommand"); var se_CreateTopicCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = SHARED_HEADERS; let body; body = buildFormUrlencodedString({ ...se_CreateTopicInput(input, context), [_A]: _CT, [_V]: _ }); return buildHttpRpcRequest(context, headers, "/", void 0, body); }, "se_CreateTopicCommand"); var se_DeleteEndpointCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = SHARED_HEADERS; let body; body = buildFormUrlencodedString({ ...se_DeleteEndpointInput(input, context), [_A]: _DE, [_V]: _ }); return buildHttpRpcRequest(context, headers, "/", void 0, body); }, "se_DeleteEndpointCommand"); var se_DeletePlatformApplicationCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = SHARED_HEADERS; let body; body = buildFormUrlencodedString({ ...se_DeletePlatformApplicationInput(input, context), [_A]: _DPA, [_V]: _ }); return buildHttpRpcRequest(context, headers, "/", void 0, body); }, "se_DeletePlatformApplicationCommand"); var se_DeleteSMSSandboxPhoneNumberCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = SHARED_HEADERS; let body; body = buildFormUrlencodedString({ ...se_DeleteSMSSandboxPhoneNumberInput(input, context), [_A]: _DSMSSPN, [_V]: _ }); return buildHttpRpcRequest(context, headers, "/", void 0, body); }, "se_DeleteSMSSandboxPhoneNumberCommand"); var se_DeleteTopicCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = SHARED_HEADERS; let body; body = buildFormUrlencodedString({ ...se_DeleteTopicInput(input, context), [_A]: _DT, [_V]: _ }); return buildHttpRpcRequest(context, headers, "/", void 0, body); }, "se_DeleteTopicCommand"); var se_GetDataProtectionPolicyCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = SHARED_HEADERS; let body; body = buildFormUrlencodedString({ ...se_GetDataProtectionPolicyInput(input, context), [_A]: _GDPP, [_V]: _ }); return buildHttpRpcRequest(context, headers, "/", void 0, body); }, "se_GetDataProtectionPolicyCommand"); var se_GetEndpointAttributesCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = SHARED_HEADERS; let body; body = buildFormUrlencodedString({ ...se_GetEndpointAttributesInput(input, context), [_A]: _GEA, [_V]: _ }); return buildHttpRpcRequest(context, headers, "/", void 0, body); }, "se_GetEndpointAttributesCommand"); var se_GetPlatformApplicationAttributesCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = SHARED_HEADERS; let body; body = buildFormUrlencodedString({ ...se_GetPlatformApplicationAttributesInput(input, context), [_A]: _GPAA, [_V]: _ }); return buildHttpRpcRequest(context, headers, "/", void 0, body); }, "se_GetPlatformApplicationAttributesCommand"); var se_GetSMSAttributesCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = SHARED_HEADERS; let body; body = buildFormUrlencodedString({ ...se_GetSMSAttributesInput(input, context), [_A]: _GSMSA, [_V]: _ }); return buildHttpRpcRequest(context, headers, "/", void 0, body); }, "se_GetSMSAttributesCommand"); var se_GetSMSSandboxAccountStatusCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = SHARED_HEADERS; let body; body = buildFormUrlencodedString({ ...se_GetSMSSandboxAccountStatusInput(input, context), [_A]: _GSMSSAS, [_V]: _ }); return buildHttpRpcRequest(context, headers, "/", void 0, body); }, "se_GetSMSSandboxAccountStatusCommand"); var se_GetSubscriptionAttributesCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = SHARED_HEADERS; let body; body = buildFormUrlencodedString({ ...se_GetSubscriptionAttributesInput(input, context), [_A]: _GSA, [_V]: _ }); return buildHttpRpcRequest(context, headers, "/", void 0, body); }, "se_GetSubscriptionAttributesCommand"); var se_GetTopicAttributesCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = SHARED_HEADERS; let body; body = buildFormUrlencodedString({ ...se_GetTopicAttributesInput(input, context), [_A]: _GTA, [_V]: _ }); return buildHttpRpcRequest(context, headers, "/", void 0, body); }, "se_GetTopicAttributesCommand"); var se_ListEndpointsByPlatformApplicationCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = SHARED_HEADERS; let body; body = buildFormUrlencodedString({ ...se_ListEndpointsByPlatformApplicationInput(input, context), [_A]: _LEBPA, [_V]: _ }); return buildHttpRpcRequest(context, headers, "/", void 0, body); }, "se_ListEndpointsByPlatformApplicationCommand"); var se_ListOriginationNumbersCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = SHARED_HEADERS; let body; body = buildFormUrlencodedString({ ...se_ListOriginationNumbersRequest(input, context), [_A]: _LON, [_V]: _ }); return buildHttpRpcRequest(context, headers, "/", void 0, body); }, "se_ListOriginationNumbersCommand"); var se_ListPhoneNumbersOptedOutCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = SHARED_HEADERS; let body; body = buildFormUrlencodedString({ ...se_ListPhoneNumbersOptedOutInput(input, context), [_A]: _LPNOO, [_V]: _ }); return buildHttpRpcRequest(context, headers, "/", void 0, body); }, "se_ListPhoneNumbersOptedOutCommand"); var se_ListPlatformApplicationsCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = SHARED_HEADERS; let body; body = buildFormUrlencodedString({ ...se_ListPlatformApplicationsInput(input, context), [_A]: _LPA, [_V]: _ }); return buildHttpRpcRequest(context, headers, "/", void 0, body); }, "se_ListPlatformApplicationsCommand"); var se_ListSMSSandboxPhoneNumbersCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = SHARED_HEADERS; let body; body = buildFormUrlencodedString({ ...se_ListSMSSandboxPhoneNumbersInput(input, context), [_A]: _LSMSSPN, [_V]: _ }); return buildHttpRpcRequest(context, headers, "/", void 0, body); }, "se_ListSMSSandboxPhoneNumbersCommand"); var se_ListSubscriptionsCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = SHARED_HEADERS; let body; body = buildFormUrlencodedString({ ...se_ListSubscriptionsInput(input, context), [_A]: _LS, [_V]: _ }); return buildHttpRpcRequest(context, headers, "/", void 0, body); }, "se_ListSubscriptionsCommand"); var se_ListSubscriptionsByTopicCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = SHARED_HEADERS; let body; body = buildFormUrlencodedString({ ...se_ListSubscriptionsByTopicInput(input, context), [_A]: _LSBT, [_V]: _ }); return buildHttpRpcRequest(context, headers, "/", void 0, body); }, "se_ListSubscriptionsByTopicCommand"); var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = SHARED_HEADERS; let body; body = buildFormUrlencodedString({ ...se_ListTagsForResourceRequest(input, context), [_A]: _LTFR, [_V]: _ }); return buildHttpRpcRequest(context, headers, "/", void 0, body); }, "se_ListTagsForResourceCommand"); var se_ListTopicsCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = SHARED_HEADERS; let body; body = buildFormUrlencodedString({ ...se_ListTopicsInput(input, context), [_A]: _LT, [_V]: _ }); return buildHttpRpcRequest(context, headers, "/", void 0, body); }, "se_ListTopicsCommand"); var se_OptInPhoneNumberCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = SHARED_HEADERS; let body; body = buildFormUrlencodedString({ ...se_OptInPhoneNumberInput(input, context), [_A]: _OIPN, [_V]: _ }); return buildHttpRpcRequest(context, headers, "/", void 0, body); }, "se_OptInPhoneNumberCommand"); var se_PublishCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = SHARED_HEADERS; let body; body = buildFormUrlencodedString({ ...se_PublishInput(input, context), [_A]: _P, [_V]: _ }); return buildHttpRpcRequest(context, headers, "/", void 0, body); }, "se_PublishCommand"); var se_PublishBatchCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = SHARED_HEADERS; let body; body = buildFormUrlencodedString({ ...se_PublishBatchInput(input, context), [_A]: _PB, [_V]: _ }); return buildHttpRpcRequest(context, headers, "/", void 0, body); }, "se_PublishBatchCommand"); var se_PutDataProtectionPolicyCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = SHARED_HEADERS; let body; body = buildFormUrlencodedString({ ...se_PutDataProtectionPolicyInput(input, context), [_A]: _PDPP, [_V]: _ }); return buildHttpRpcRequest(context, headers, "/", void 0, body); }, "se_PutDataProtectionPolicyCommand"); var se_RemovePermissionCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = SHARED_HEADERS; let body; body = buildFormUrlencodedString({ ...se_RemovePermissionInput(input, context), [_A]: _RP, [_V]: _ }); return buildHttpRpcRequest(context, headers, "/", void 0, body); }, "se_RemovePermissionCommand"); var se_SetEndpointAttributesCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = SHARED_HEADERS; let body; body = buildFormUrlencodedString({ ...se_SetEndpointAttributesInput(input, context), [_A]: _SEA, [_V]: _ }); return buildHttpRpcRequest(context, headers, "/", void 0, body); }, "se_SetEndpointAttributesCommand"); var se_SetPlatformApplicationAttributesCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = SHARED_HEADERS; let body; body = buildFormUrlencodedString({ ...se_SetPlatformApplicationAttributesInput(input, context), [_A]: _SPAA, [_V]: _ }); return buildHttpRpcRequest(context, headers, "/", void 0, body); }, "se_SetPlatformApplicationAttributesCommand"); var se_SetSMSAttributesCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = SHARED_HEADERS; let body; body = buildFormUrlencodedString({ ...se_SetSMSAttributesInput(input, context), [_A]: _SSMSA, [_V]: _ }); return buildHttpRpcRequest(context, headers, "/", void 0, body); }, "se_SetSMSAttributesCommand"); var se_SetSubscriptionAttributesCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = SHARED_HEADERS; let body; body = buildFormUrlencodedString({ ...se_SetSubscriptionAttributesInput(input, context), [_A]: _SSA, [_V]: _ }); return buildHttpRpcRequest(context, headers, "/", void 0, body); }, "se_SetSubscriptionAttributesCommand"); var se_SetTopicAttributesCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = SHARED_HEADERS; let body; body = buildFormUrlencodedString({ ...se_SetTopicAttributesInput(input, context), [_A]: _STA, [_V]: _ }); return buildHttpRpcRequest(context, headers, "/", void 0, body); }, "se_SetTopicAttributesCommand"); var se_SubscribeCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = SHARED_HEADERS; let body; body = buildFormUrlencodedString({ ...se_SubscribeInput(input, context), [_A]: _S, [_V]: _ }); return buildHttpRpcRequest(context, headers, "/", void 0, body); }, "se_SubscribeCommand"); var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = SHARED_HEADERS; let body; body = buildFormUrlencodedString({ ...se_TagResourceRequest(input, context), [_A]