File Explorer

/proc/self/root/var/runtime/node_modules/@aws-sdk/client-notifications/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 /.

index.js33.8 KB · 855 lines
'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 NotificationsServiceException = require('./models/NotificationsServiceException'); const resolveClientEndpointParameters = (options) => {    return Object.assign(options, {        useFipsEndpoint: options.useFipsEndpoint ?? false,        defaultSigningName: "notifications",    });};const commonParams = {    UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },    Endpoint: { type: "builtInParams", name: "endpoint" },    Region: { type: "builtInParams", name: "region" },}; 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 NotificationsClient 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.defaultNotificationsHttpAuthSchemeParametersProvider,            identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({                "aws.auth#sigv4": config.credentials,            }),        }));        this.middlewareStack.use(core.getHttpSigningPlugin(this.config));    }    destroy() {        super.destroy();    }} class AssociateChannelCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Notifications", "AssociateChannel", {})    .n("NotificationsClient", "AssociateChannelCommand")    .sc(schemas_0.AssociateChannel$)    .build() {} class AssociateManagedNotificationAccountContactCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Notifications", "AssociateManagedNotificationAccountContact", {})    .n("NotificationsClient", "AssociateManagedNotificationAccountContactCommand")    .sc(schemas_0.AssociateManagedNotificationAccountContact$)    .build() {} class AssociateManagedNotificationAdditionalChannelCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Notifications", "AssociateManagedNotificationAdditionalChannel", {})    .n("NotificationsClient", "AssociateManagedNotificationAdditionalChannelCommand")    .sc(schemas_0.AssociateManagedNotificationAdditionalChannel$)    .build() {} class AssociateOrganizationalUnitCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Notifications", "AssociateOrganizationalUnit", {})    .n("NotificationsClient", "AssociateOrganizationalUnitCommand")    .sc(schemas_0.AssociateOrganizationalUnit$)    .build() {} class CreateEventRuleCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Notifications", "CreateEventRule", {})    .n("NotificationsClient", "CreateEventRuleCommand")    .sc(schemas_0.CreateEventRule$)    .build() {} class CreateNotificationConfigurationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Notifications", "CreateNotificationConfiguration", {})    .n("NotificationsClient", "CreateNotificationConfigurationCommand")    .sc(schemas_0.CreateNotificationConfiguration$)    .build() {} class DeleteEventRuleCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Notifications", "DeleteEventRule", {})    .n("NotificationsClient", "DeleteEventRuleCommand")    .sc(schemas_0.DeleteEventRule$)    .build() {} class DeleteNotificationConfigurationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Notifications", "DeleteNotificationConfiguration", {})    .n("NotificationsClient", "DeleteNotificationConfigurationCommand")    .sc(schemas_0.DeleteNotificationConfiguration$)    .build() {} class DeregisterNotificationHubCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Notifications", "DeregisterNotificationHub", {})    .n("NotificationsClient", "DeregisterNotificationHubCommand")    .sc(schemas_0.DeregisterNotificationHub$)    .build() {} class DisableNotificationsAccessForOrganizationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Notifications", "DisableNotificationsAccessForOrganization", {})    .n("NotificationsClient", "DisableNotificationsAccessForOrganizationCommand")    .sc(schemas_0.DisableNotificationsAccessForOrganization$)    .build() {} class DisassociateChannelCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Notifications", "DisassociateChannel", {})    .n("NotificationsClient", "DisassociateChannelCommand")    .sc(schemas_0.DisassociateChannel$)    .build() {} class DisassociateManagedNotificationAccountContactCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Notifications", "DisassociateManagedNotificationAccountContact", {})    .n("NotificationsClient", "DisassociateManagedNotificationAccountContactCommand")    .sc(schemas_0.DisassociateManagedNotificationAccountContact$)    .build() {} class DisassociateManagedNotificationAdditionalChannelCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Notifications", "DisassociateManagedNotificationAdditionalChannel", {})    .n("NotificationsClient", "DisassociateManagedNotificationAdditionalChannelCommand")    .sc(schemas_0.DisassociateManagedNotificationAdditionalChannel$)    .build() {} class DisassociateOrganizationalUnitCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Notifications", "DisassociateOrganizationalUnit", {})    .n("NotificationsClient", "DisassociateOrganizationalUnitCommand")    .sc(schemas_0.DisassociateOrganizationalUnit$)    .build() {} class EnableNotificationsAccessForOrganizationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Notifications", "EnableNotificationsAccessForOrganization", {})    .n("NotificationsClient", "EnableNotificationsAccessForOrganizationCommand")    .sc(schemas_0.EnableNotificationsAccessForOrganization$)    .build() {} class GetEventRuleCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Notifications", "GetEventRule", {})    .n("NotificationsClient", "GetEventRuleCommand")    .sc(schemas_0.GetEventRule$)    .build() {} class GetManagedNotificationChildEventCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Notifications", "GetManagedNotificationChildEvent", {})    .n("NotificationsClient", "GetManagedNotificationChildEventCommand")    .sc(schemas_0.GetManagedNotificationChildEvent$)    .build() {} class GetManagedNotificationConfigurationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Notifications", "GetManagedNotificationConfiguration", {})    .n("NotificationsClient", "GetManagedNotificationConfigurationCommand")    .sc(schemas_0.GetManagedNotificationConfiguration$)    .build() {} class GetManagedNotificationEventCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Notifications", "GetManagedNotificationEvent", {})    .n("NotificationsClient", "GetManagedNotificationEventCommand")    .sc(schemas_0.GetManagedNotificationEvent$)    .build() {} class GetNotificationConfigurationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Notifications", "GetNotificationConfiguration", {})    .n("NotificationsClient", "GetNotificationConfigurationCommand")    .sc(schemas_0.GetNotificationConfiguration$)    .build() {} class GetNotificationEventCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Notifications", "GetNotificationEvent", {})    .n("NotificationsClient", "GetNotificationEventCommand")    .sc(schemas_0.GetNotificationEvent$)    .build() {} class GetNotificationsAccessForOrganizationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Notifications", "GetNotificationsAccessForOrganization", {})    .n("NotificationsClient", "GetNotificationsAccessForOrganizationCommand")    .sc(schemas_0.GetNotificationsAccessForOrganization$)    .build() {} class ListChannelsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Notifications", "ListChannels", {})    .n("NotificationsClient", "ListChannelsCommand")    .sc(schemas_0.ListChannels$)    .build() {} class ListEventRulesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Notifications", "ListEventRules", {})    .n("NotificationsClient", "ListEventRulesCommand")    .sc(schemas_0.ListEventRules$)    .build() {} class ListManagedNotificationChannelAssociationsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Notifications", "ListManagedNotificationChannelAssociations", {})    .n("NotificationsClient", "ListManagedNotificationChannelAssociationsCommand")    .sc(schemas_0.ListManagedNotificationChannelAssociations$)    .build() {} class ListManagedNotificationChildEventsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Notifications", "ListManagedNotificationChildEvents", {})    .n("NotificationsClient", "ListManagedNotificationChildEventsCommand")    .sc(schemas_0.ListManagedNotificationChildEvents$)    .build() {} class ListManagedNotificationConfigurationsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Notifications", "ListManagedNotificationConfigurations", {})    .n("NotificationsClient", "ListManagedNotificationConfigurationsCommand")    .sc(schemas_0.ListManagedNotificationConfigurations$)    .build() {} class ListManagedNotificationEventsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Notifications", "ListManagedNotificationEvents", {})    .n("NotificationsClient", "ListManagedNotificationEventsCommand")    .sc(schemas_0.ListManagedNotificationEvents$)    .build() {} class ListMemberAccountsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Notifications", "ListMemberAccounts", {})    .n("NotificationsClient", "ListMemberAccountsCommand")    .sc(schemas_0.ListMemberAccounts$)    .build() {} class ListNotificationConfigurationsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Notifications", "ListNotificationConfigurations", {})    .n("NotificationsClient", "ListNotificationConfigurationsCommand")    .sc(schemas_0.ListNotificationConfigurations$)    .build() {} class ListNotificationEventsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Notifications", "ListNotificationEvents", {})    .n("NotificationsClient", "ListNotificationEventsCommand")    .sc(schemas_0.ListNotificationEvents$)    .build() {} class ListNotificationHubsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Notifications", "ListNotificationHubs", {})    .n("NotificationsClient", "ListNotificationHubsCommand")    .sc(schemas_0.ListNotificationHubs$)    .build() {} class ListOrganizationalUnitsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Notifications", "ListOrganizationalUnits", {})    .n("NotificationsClient", "ListOrganizationalUnitsCommand")    .sc(schemas_0.ListOrganizationalUnits$)    .build() {} class ListTagsForResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Notifications", "ListTagsForResource", {})    .n("NotificationsClient", "ListTagsForResourceCommand")    .sc(schemas_0.ListTagsForResource$)    .build() {} class RegisterNotificationHubCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Notifications", "RegisterNotificationHub", {})    .n("NotificationsClient", "RegisterNotificationHubCommand")    .sc(schemas_0.RegisterNotificationHub$)    .build() {} class TagResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Notifications", "TagResource", {})    .n("NotificationsClient", "TagResourceCommand")    .sc(schemas_0.TagResource$)    .build() {} class UntagResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Notifications", "UntagResource", {})    .n("NotificationsClient", "UntagResourceCommand")    .sc(schemas_0.UntagResource$)    .build() {} class UpdateEventRuleCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Notifications", "UpdateEventRule", {})    .n("NotificationsClient", "UpdateEventRuleCommand")    .sc(schemas_0.UpdateEventRule$)    .build() {} class UpdateNotificationConfigurationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Notifications", "UpdateNotificationConfiguration", {})    .n("NotificationsClient", "UpdateNotificationConfigurationCommand")    .sc(schemas_0.UpdateNotificationConfiguration$)    .build() {} const paginateListChannels = core.createPaginator(NotificationsClient, ListChannelsCommand, "nextToken", "nextToken", "maxResults"); const paginateListEventRules = core.createPaginator(NotificationsClient, ListEventRulesCommand, "nextToken", "nextToken", "maxResults"); const paginateListManagedNotificationChannelAssociations = core.createPaginator(NotificationsClient, ListManagedNotificationChannelAssociationsCommand, "nextToken", "nextToken", "maxResults"); const paginateListManagedNotificationChildEvents = core.createPaginator(NotificationsClient, ListManagedNotificationChildEventsCommand, "nextToken", "nextToken", "maxResults"); const paginateListManagedNotificationConfigurations = core.createPaginator(NotificationsClient, ListManagedNotificationConfigurationsCommand, "nextToken", "nextToken", "maxResults"); const paginateListManagedNotificationEvents = core.createPaginator(NotificationsClient, ListManagedNotificationEventsCommand, "nextToken", "nextToken", "maxResults"); const paginateListMemberAccounts = core.createPaginator(NotificationsClient, ListMemberAccountsCommand, "nextToken", "nextToken", "maxResults"); const paginateListNotificationConfigurations = core.createPaginator(NotificationsClient, ListNotificationConfigurationsCommand, "nextToken", "nextToken", "maxResults"); const paginateListNotificationEvents = core.createPaginator(NotificationsClient, ListNotificationEventsCommand, "nextToken", "nextToken", "maxResults"); const paginateListNotificationHubs = core.createPaginator(NotificationsClient, ListNotificationHubsCommand, "nextToken", "nextToken", "maxResults"); const paginateListOrganizationalUnits = core.createPaginator(NotificationsClient, ListOrganizationalUnitsCommand, "nextToken", "nextToken", "maxResults"); const commands = {    AssociateChannelCommand,    AssociateManagedNotificationAccountContactCommand,    AssociateManagedNotificationAdditionalChannelCommand,    AssociateOrganizationalUnitCommand,    CreateEventRuleCommand,    CreateNotificationConfigurationCommand,    DeleteEventRuleCommand,    DeleteNotificationConfigurationCommand,    DeregisterNotificationHubCommand,    DisableNotificationsAccessForOrganizationCommand,    DisassociateChannelCommand,    DisassociateManagedNotificationAccountContactCommand,    DisassociateManagedNotificationAdditionalChannelCommand,    DisassociateOrganizationalUnitCommand,    EnableNotificationsAccessForOrganizationCommand,    GetEventRuleCommand,    GetManagedNotificationChildEventCommand,    GetManagedNotificationConfigurationCommand,    GetManagedNotificationEventCommand,    GetNotificationConfigurationCommand,    GetNotificationEventCommand,    GetNotificationsAccessForOrganizationCommand,    ListChannelsCommand,    ListEventRulesCommand,    ListManagedNotificationChannelAssociationsCommand,    ListManagedNotificationChildEventsCommand,    ListManagedNotificationConfigurationsCommand,    ListManagedNotificationEventsCommand,    ListMemberAccountsCommand,    ListNotificationConfigurationsCommand,    ListNotificationEventsCommand,    ListNotificationHubsCommand,    ListOrganizationalUnitsCommand,    ListTagsForResourceCommand,    RegisterNotificationHubCommand,    TagResourceCommand,    UntagResourceCommand,    UpdateEventRuleCommand,    UpdateNotificationConfigurationCommand,};const paginators = {    paginateListChannels,    paginateListEventRules,    paginateListManagedNotificationChannelAssociations,    paginateListManagedNotificationChildEvents,    paginateListManagedNotificationConfigurations,    paginateListManagedNotificationEvents,    paginateListMemberAccounts,    paginateListNotificationConfigurations,    paginateListNotificationEvents,    paginateListNotificationHubs,    paginateListOrganizationalUnits,};class Notifications extends NotificationsClient {}client.createAggregatedClient(commands, Notifications, { paginators }); const AccessStatus = {    DISABLED: "DISABLED",    ENABLED: "ENABLED",    FAILED: "FAILED",    PENDING: "PENDING",};const AccountContactType = {    ACCOUNT_ALTERNATE_BILLING: "ACCOUNT_ALTERNATE_BILLING",    ACCOUNT_ALTERNATE_OPERATIONS: "ACCOUNT_ALTERNATE_OPERATIONS",    ACCOUNT_ALTERNATE_SECURITY: "ACCOUNT_ALTERNATE_SECURITY",    ACCOUNT_PRIMARY: "ACCOUNT_PRIMARY",};const AggregationDuration = {    LONG: "LONG",    NONE: "NONE",    SHORT: "SHORT",};const AggregationEventType = {    AGGREGATE: "AGGREGATE",    CHILD: "CHILD",    NONE: "NONE",};const ValidationExceptionReason = {    FIELD_VALIDATION_FAILED: "fieldValidationFailed",    OTHER: "other",};const ChannelAssociationOverrideOption = {    DISABLED: "DISABLED",    ENABLED: "ENABLED",};const ChannelType = {    ACCOUNT_CONTACT: "ACCOUNT_CONTACT",    CHATBOT: "CHATBOT",    EMAIL: "EMAIL",    MOBILE: "MOBILE",};const EventRuleStatus = {    ACTIVE: "ACTIVE",    CREATING: "CREATING",    DELETING: "DELETING",    INACTIVE: "INACTIVE",    UPDATING: "UPDATING",};const NotificationConfigurationStatus = {    ACTIVE: "ACTIVE",    DELETING: "DELETING",    INACTIVE: "INACTIVE",    PARTIALLY_ACTIVE: "PARTIALLY_ACTIVE",};const NotificationHubStatus = {    ACTIVE: "ACTIVE",    DEREGISTERING: "DEREGISTERING",    INACTIVE: "INACTIVE",    REGISTERING: "REGISTERING",};const EventStatus = {    HEALTHY: "HEALTHY",    UNHEALTHY: "UNHEALTHY",};const LocaleCode = {    de_DE: "de_DE",    en_CA: "en_CA",    en_UK: "en_UK",    en_US: "en_US",    es_ES: "es_ES",    fr_CA: "fr_CA",    fr_FR: "fr_FR",    id_ID: "id_ID",    it_IT: "it_IT",    ja_JP: "ja_JP",    ko_KR: "ko_KR",    pt_BR: "pt_BR",    tr_TR: "tr_TR",    zh_CN: "zh_CN",    zh_TW: "zh_TW",};const NotificationType = {    ALERT: "ALERT",    ANNOUNCEMENT: "ANNOUNCEMENT",    INFORMATIONAL: "INFORMATIONAL",    WARNING: "WARNING",};const SchemaVersion = {    SCHEMA_VERSION_1_0: "v1.0",};const TextPartType = {    LOCALIZED_TEXT: "LOCALIZED_TEXT",    PLAIN_TEXT: "PLAIN_TEXT",    URL: "URL",};const NotificationConfigurationSubtype = {    ACCOUNT: "ACCOUNT",    ADMIN_MANAGED: "ADMIN_MANAGED",};const MediaElementType = {    IMAGE: "IMAGE",};const MemberAccountNotificationConfigurationStatus = {    ACTIVE: "ACTIVE",    CREATING: "CREATING",    DELETING: "DELETING",    INACTIVE: "INACTIVE",    PENDING: "PENDING",}; exports.$Command = client.Command;exports.__Client = client.Client;exports.NotificationsServiceException = NotificationsServiceException.NotificationsServiceException;exports.AccessStatus = AccessStatus;exports.AccountContactType = AccountContactType;exports.AggregationDuration = AggregationDuration;exports.AggregationEventType = AggregationEventType;exports.AssociateChannelCommand = AssociateChannelCommand;exports.AssociateManagedNotificationAccountContactCommand = AssociateManagedNotificationAccountContactCommand;exports.AssociateManagedNotificationAdditionalChannelCommand = AssociateManagedNotificationAdditionalChannelCommand;exports.AssociateOrganizationalUnitCommand = AssociateOrganizationalUnitCommand;exports.ChannelAssociationOverrideOption = ChannelAssociationOverrideOption;exports.ChannelType = ChannelType;exports.CreateEventRuleCommand = CreateEventRuleCommand;exports.CreateNotificationConfigurationCommand = CreateNotificationConfigurationCommand;exports.DeleteEventRuleCommand = DeleteEventRuleCommand;exports.DeleteNotificationConfigurationCommand = DeleteNotificationConfigurationCommand;exports.DeregisterNotificationHubCommand = DeregisterNotificationHubCommand;exports.DisableNotificationsAccessForOrganizationCommand = DisableNotificationsAccessForOrganizationCommand;exports.DisassociateChannelCommand = DisassociateChannelCommand;exports.DisassociateManagedNotificationAccountContactCommand = DisassociateManagedNotificationAccountContactCommand;exports.DisassociateManagedNotificationAdditionalChannelCommand = DisassociateManagedNotificationAdditionalChannelCommand;exports.DisassociateOrganizationalUnitCommand = DisassociateOrganizationalUnitCommand;exports.EnableNotificationsAccessForOrganizationCommand = EnableNotificationsAccessForOrganizationCommand;exports.EventRuleStatus = EventRuleStatus;exports.EventStatus = EventStatus;exports.GetEventRuleCommand = GetEventRuleCommand;exports.GetManagedNotificationChildEventCommand = GetManagedNotificationChildEventCommand;exports.GetManagedNotificationConfigurationCommand = GetManagedNotificationConfigurationCommand;exports.GetManagedNotificationEventCommand = GetManagedNotificationEventCommand;exports.GetNotificationConfigurationCommand = GetNotificationConfigurationCommand;exports.GetNotificationEventCommand = GetNotificationEventCommand;exports.GetNotificationsAccessForOrganizationCommand = GetNotificationsAccessForOrganizationCommand;exports.ListChannelsCommand = ListChannelsCommand;exports.ListEventRulesCommand = ListEventRulesCommand;exports.ListManagedNotificationChannelAssociationsCommand = ListManagedNotificationChannelAssociationsCommand;exports.ListManagedNotificationChildEventsCommand = ListManagedNotificationChildEventsCommand;exports.ListManagedNotificationConfigurationsCommand = ListManagedNotificationConfigurationsCommand;exports.ListManagedNotificationEventsCommand = ListManagedNotificationEventsCommand;exports.ListMemberAccountsCommand = ListMemberAccountsCommand;exports.ListNotificationConfigurationsCommand = ListNotificationConfigurationsCommand;exports.ListNotificationEventsCommand = ListNotificationEventsCommand;exports.ListNotificationHubsCommand = ListNotificationHubsCommand;exports.ListOrganizationalUnitsCommand = ListOrganizationalUnitsCommand;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.LocaleCode = LocaleCode;exports.MediaElementType = MediaElementType;exports.MemberAccountNotificationConfigurationStatus = MemberAccountNotificationConfigurationStatus;exports.NotificationConfigurationStatus = NotificationConfigurationStatus;exports.NotificationConfigurationSubtype = NotificationConfigurationSubtype;exports.NotificationHubStatus = NotificationHubStatus;exports.NotificationType = NotificationType;exports.Notifications = Notifications;exports.NotificationsClient = NotificationsClient;exports.RegisterNotificationHubCommand = RegisterNotificationHubCommand;exports.SchemaVersion = SchemaVersion;exports.TagResourceCommand = TagResourceCommand;exports.TextPartType = TextPartType;exports.UntagResourceCommand = UntagResourceCommand;exports.UpdateEventRuleCommand = UpdateEventRuleCommand;exports.UpdateNotificationConfigurationCommand = UpdateNotificationConfigurationCommand;exports.ValidationExceptionReason = ValidationExceptionReason;exports.paginateListChannels = paginateListChannels;exports.paginateListEventRules = paginateListEventRules;exports.paginateListManagedNotificationChannelAssociations = paginateListManagedNotificationChannelAssociations;exports.paginateListManagedNotificationChildEvents = paginateListManagedNotificationChildEvents;exports.paginateListManagedNotificationConfigurations = paginateListManagedNotificationConfigurations;exports.paginateListManagedNotificationEvents = paginateListManagedNotificationEvents;exports.paginateListMemberAccounts = paginateListMemberAccounts;exports.paginateListNotificationConfigurations = paginateListNotificationConfigurations;exports.paginateListNotificationEvents = paginateListNotificationEvents;exports.paginateListNotificationHubs = paginateListNotificationHubs;exports.paginateListOrganizationalUnits = paginateListOrganizationalUnits;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];});