File Explorer

/proc/self/root/var/runtime/node_modules/@aws-sdk/client-waf/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.js49.8 KB · 1598 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 WAFServiceException = require('./models/WAFServiceException'); const resolveClientEndpointParameters = (options) => {    return Object.assign(options, {        useDualstackEndpoint: options.useDualstackEndpoint ?? false,        useFipsEndpoint: options.useFipsEndpoint ?? false,        defaultSigningName: "waf",    });};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 WAFClient 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.defaultWAFHttpAuthSchemeParametersProvider,            identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({                "aws.auth#sigv4": config.credentials,            }),        }));        this.middlewareStack.use(core.getHttpSigningPlugin(this.config));    }    destroy() {        super.destroy();    }} class CreateByteMatchSetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "CreateByteMatchSet", {})    .n("WAFClient", "CreateByteMatchSetCommand")    .sc(schemas_0.CreateByteMatchSet$)    .build() {} class CreateGeoMatchSetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "CreateGeoMatchSet", {})    .n("WAFClient", "CreateGeoMatchSetCommand")    .sc(schemas_0.CreateGeoMatchSet$)    .build() {} class CreateIPSetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "CreateIPSet", {})    .n("WAFClient", "CreateIPSetCommand")    .sc(schemas_0.CreateIPSet$)    .build() {} class CreateRateBasedRuleCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "CreateRateBasedRule", {})    .n("WAFClient", "CreateRateBasedRuleCommand")    .sc(schemas_0.CreateRateBasedRule$)    .build() {} class CreateRegexMatchSetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "CreateRegexMatchSet", {})    .n("WAFClient", "CreateRegexMatchSetCommand")    .sc(schemas_0.CreateRegexMatchSet$)    .build() {} class CreateRegexPatternSetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "CreateRegexPatternSet", {})    .n("WAFClient", "CreateRegexPatternSetCommand")    .sc(schemas_0.CreateRegexPatternSet$)    .build() {} class CreateRuleCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "CreateRule", {})    .n("WAFClient", "CreateRuleCommand")    .sc(schemas_0.CreateRule$)    .build() {} class CreateRuleGroupCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "CreateRuleGroup", {})    .n("WAFClient", "CreateRuleGroupCommand")    .sc(schemas_0.CreateRuleGroup$)    .build() {} class CreateSizeConstraintSetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "CreateSizeConstraintSet", {})    .n("WAFClient", "CreateSizeConstraintSetCommand")    .sc(schemas_0.CreateSizeConstraintSet$)    .build() {} class CreateSqlInjectionMatchSetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "CreateSqlInjectionMatchSet", {})    .n("WAFClient", "CreateSqlInjectionMatchSetCommand")    .sc(schemas_0.CreateSqlInjectionMatchSet$)    .build() {} class CreateWebACLCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "CreateWebACL", {})    .n("WAFClient", "CreateWebACLCommand")    .sc(schemas_0.CreateWebACL$)    .build() {} class CreateWebACLMigrationStackCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "CreateWebACLMigrationStack", {})    .n("WAFClient", "CreateWebACLMigrationStackCommand")    .sc(schemas_0.CreateWebACLMigrationStack$)    .build() {} class CreateXssMatchSetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "CreateXssMatchSet", {})    .n("WAFClient", "CreateXssMatchSetCommand")    .sc(schemas_0.CreateXssMatchSet$)    .build() {} class DeleteByteMatchSetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "DeleteByteMatchSet", {})    .n("WAFClient", "DeleteByteMatchSetCommand")    .sc(schemas_0.DeleteByteMatchSet$)    .build() {} class DeleteGeoMatchSetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "DeleteGeoMatchSet", {})    .n("WAFClient", "DeleteGeoMatchSetCommand")    .sc(schemas_0.DeleteGeoMatchSet$)    .build() {} class DeleteIPSetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "DeleteIPSet", {})    .n("WAFClient", "DeleteIPSetCommand")    .sc(schemas_0.DeleteIPSet$)    .build() {} class DeleteLoggingConfigurationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "DeleteLoggingConfiguration", {})    .n("WAFClient", "DeleteLoggingConfigurationCommand")    .sc(schemas_0.DeleteLoggingConfiguration$)    .build() {} class DeletePermissionPolicyCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "DeletePermissionPolicy", {})    .n("WAFClient", "DeletePermissionPolicyCommand")    .sc(schemas_0.DeletePermissionPolicy$)    .build() {} class DeleteRateBasedRuleCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "DeleteRateBasedRule", {})    .n("WAFClient", "DeleteRateBasedRuleCommand")    .sc(schemas_0.DeleteRateBasedRule$)    .build() {} class DeleteRegexMatchSetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "DeleteRegexMatchSet", {})    .n("WAFClient", "DeleteRegexMatchSetCommand")    .sc(schemas_0.DeleteRegexMatchSet$)    .build() {} class DeleteRegexPatternSetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "DeleteRegexPatternSet", {})    .n("WAFClient", "DeleteRegexPatternSetCommand")    .sc(schemas_0.DeleteRegexPatternSet$)    .build() {} class DeleteRuleCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "DeleteRule", {})    .n("WAFClient", "DeleteRuleCommand")    .sc(schemas_0.DeleteRule$)    .build() {} class DeleteRuleGroupCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "DeleteRuleGroup", {})    .n("WAFClient", "DeleteRuleGroupCommand")    .sc(schemas_0.DeleteRuleGroup$)    .build() {} class DeleteSizeConstraintSetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "DeleteSizeConstraintSet", {})    .n("WAFClient", "DeleteSizeConstraintSetCommand")    .sc(schemas_0.DeleteSizeConstraintSet$)    .build() {} class DeleteSqlInjectionMatchSetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "DeleteSqlInjectionMatchSet", {})    .n("WAFClient", "DeleteSqlInjectionMatchSetCommand")    .sc(schemas_0.DeleteSqlInjectionMatchSet$)    .build() {} class DeleteWebACLCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "DeleteWebACL", {})    .n("WAFClient", "DeleteWebACLCommand")    .sc(schemas_0.DeleteWebACL$)    .build() {} class DeleteXssMatchSetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "DeleteXssMatchSet", {})    .n("WAFClient", "DeleteXssMatchSetCommand")    .sc(schemas_0.DeleteXssMatchSet$)    .build() {} class GetByteMatchSetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "GetByteMatchSet", {})    .n("WAFClient", "GetByteMatchSetCommand")    .sc(schemas_0.GetByteMatchSet$)    .build() {} class GetChangeTokenCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "GetChangeToken", {})    .n("WAFClient", "GetChangeTokenCommand")    .sc(schemas_0.GetChangeToken$)    .build() {} class GetChangeTokenStatusCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "GetChangeTokenStatus", {})    .n("WAFClient", "GetChangeTokenStatusCommand")    .sc(schemas_0.GetChangeTokenStatus$)    .build() {} class GetGeoMatchSetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "GetGeoMatchSet", {})    .n("WAFClient", "GetGeoMatchSetCommand")    .sc(schemas_0.GetGeoMatchSet$)    .build() {} class GetIPSetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "GetIPSet", {})    .n("WAFClient", "GetIPSetCommand")    .sc(schemas_0.GetIPSet$)    .build() {} class GetLoggingConfigurationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "GetLoggingConfiguration", {})    .n("WAFClient", "GetLoggingConfigurationCommand")    .sc(schemas_0.GetLoggingConfiguration$)    .build() {} class GetPermissionPolicyCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "GetPermissionPolicy", {})    .n("WAFClient", "GetPermissionPolicyCommand")    .sc(schemas_0.GetPermissionPolicy$)    .build() {} class GetRateBasedRuleCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "GetRateBasedRule", {})    .n("WAFClient", "GetRateBasedRuleCommand")    .sc(schemas_0.GetRateBasedRule$)    .build() {} class GetRateBasedRuleManagedKeysCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "GetRateBasedRuleManagedKeys", {})    .n("WAFClient", "GetRateBasedRuleManagedKeysCommand")    .sc(schemas_0.GetRateBasedRuleManagedKeys$)    .build() {} class GetRegexMatchSetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "GetRegexMatchSet", {})    .n("WAFClient", "GetRegexMatchSetCommand")    .sc(schemas_0.GetRegexMatchSet$)    .build() {} class GetRegexPatternSetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "GetRegexPatternSet", {})    .n("WAFClient", "GetRegexPatternSetCommand")    .sc(schemas_0.GetRegexPatternSet$)    .build() {} class GetRuleCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "GetRule", {})    .n("WAFClient", "GetRuleCommand")    .sc(schemas_0.GetRule$)    .build() {} class GetRuleGroupCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "GetRuleGroup", {})    .n("WAFClient", "GetRuleGroupCommand")    .sc(schemas_0.GetRuleGroup$)    .build() {} class GetSampledRequestsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "GetSampledRequests", {})    .n("WAFClient", "GetSampledRequestsCommand")    .sc(schemas_0.GetSampledRequests$)    .build() {} class GetSizeConstraintSetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "GetSizeConstraintSet", {})    .n("WAFClient", "GetSizeConstraintSetCommand")    .sc(schemas_0.GetSizeConstraintSet$)    .build() {} class GetSqlInjectionMatchSetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "GetSqlInjectionMatchSet", {})    .n("WAFClient", "GetSqlInjectionMatchSetCommand")    .sc(schemas_0.GetSqlInjectionMatchSet$)    .build() {} class GetWebACLCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "GetWebACL", {})    .n("WAFClient", "GetWebACLCommand")    .sc(schemas_0.GetWebACL$)    .build() {} class GetXssMatchSetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "GetXssMatchSet", {})    .n("WAFClient", "GetXssMatchSetCommand")    .sc(schemas_0.GetXssMatchSet$)    .build() {} class ListActivatedRulesInRuleGroupCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "ListActivatedRulesInRuleGroup", {})    .n("WAFClient", "ListActivatedRulesInRuleGroupCommand")    .sc(schemas_0.ListActivatedRulesInRuleGroup$)    .build() {} class ListByteMatchSetsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "ListByteMatchSets", {})    .n("WAFClient", "ListByteMatchSetsCommand")    .sc(schemas_0.ListByteMatchSets$)    .build() {} class ListGeoMatchSetsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "ListGeoMatchSets", {})    .n("WAFClient", "ListGeoMatchSetsCommand")    .sc(schemas_0.ListGeoMatchSets$)    .build() {} class ListIPSetsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "ListIPSets", {})    .n("WAFClient", "ListIPSetsCommand")    .sc(schemas_0.ListIPSets$)    .build() {} class ListLoggingConfigurationsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "ListLoggingConfigurations", {})    .n("WAFClient", "ListLoggingConfigurationsCommand")    .sc(schemas_0.ListLoggingConfigurations$)    .build() {} class ListRateBasedRulesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "ListRateBasedRules", {})    .n("WAFClient", "ListRateBasedRulesCommand")    .sc(schemas_0.ListRateBasedRules$)    .build() {} class ListRegexMatchSetsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "ListRegexMatchSets", {})    .n("WAFClient", "ListRegexMatchSetsCommand")    .sc(schemas_0.ListRegexMatchSets$)    .build() {} class ListRegexPatternSetsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "ListRegexPatternSets", {})    .n("WAFClient", "ListRegexPatternSetsCommand")    .sc(schemas_0.ListRegexPatternSets$)    .build() {} class ListRuleGroupsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "ListRuleGroups", {})    .n("WAFClient", "ListRuleGroupsCommand")    .sc(schemas_0.ListRuleGroups$)    .build() {} class ListRulesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "ListRules", {})    .n("WAFClient", "ListRulesCommand")    .sc(schemas_0.ListRules$)    .build() {} class ListSizeConstraintSetsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "ListSizeConstraintSets", {})    .n("WAFClient", "ListSizeConstraintSetsCommand")    .sc(schemas_0.ListSizeConstraintSets$)    .build() {} class ListSqlInjectionMatchSetsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "ListSqlInjectionMatchSets", {})    .n("WAFClient", "ListSqlInjectionMatchSetsCommand")    .sc(schemas_0.ListSqlInjectionMatchSets$)    .build() {} class ListSubscribedRuleGroupsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "ListSubscribedRuleGroups", {})    .n("WAFClient", "ListSubscribedRuleGroupsCommand")    .sc(schemas_0.ListSubscribedRuleGroups$)    .build() {} class ListTagsForResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "ListTagsForResource", {})    .n("WAFClient", "ListTagsForResourceCommand")    .sc(schemas_0.ListTagsForResource$)    .build() {} class ListWebACLsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "ListWebACLs", {})    .n("WAFClient", "ListWebACLsCommand")    .sc(schemas_0.ListWebACLs$)    .build() {} class ListXssMatchSetsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "ListXssMatchSets", {})    .n("WAFClient", "ListXssMatchSetsCommand")    .sc(schemas_0.ListXssMatchSets$)    .build() {} class PutLoggingConfigurationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "PutLoggingConfiguration", {})    .n("WAFClient", "PutLoggingConfigurationCommand")    .sc(schemas_0.PutLoggingConfiguration$)    .build() {} class PutPermissionPolicyCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "PutPermissionPolicy", {})    .n("WAFClient", "PutPermissionPolicyCommand")    .sc(schemas_0.PutPermissionPolicy$)    .build() {} class TagResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "TagResource", {})    .n("WAFClient", "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("AWSWAF_20150824", "UntagResource", {})    .n("WAFClient", "UntagResourceCommand")    .sc(schemas_0.UntagResource$)    .build() {} class UpdateByteMatchSetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "UpdateByteMatchSet", {})    .n("WAFClient", "UpdateByteMatchSetCommand")    .sc(schemas_0.UpdateByteMatchSet$)    .build() {} class UpdateGeoMatchSetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "UpdateGeoMatchSet", {})    .n("WAFClient", "UpdateGeoMatchSetCommand")    .sc(schemas_0.UpdateGeoMatchSet$)    .build() {} class UpdateIPSetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "UpdateIPSet", {})    .n("WAFClient", "UpdateIPSetCommand")    .sc(schemas_0.UpdateIPSet$)    .build() {} class UpdateRateBasedRuleCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "UpdateRateBasedRule", {})    .n("WAFClient", "UpdateRateBasedRuleCommand")    .sc(schemas_0.UpdateRateBasedRule$)    .build() {} class UpdateRegexMatchSetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "UpdateRegexMatchSet", {})    .n("WAFClient", "UpdateRegexMatchSetCommand")    .sc(schemas_0.UpdateRegexMatchSet$)    .build() {} class UpdateRegexPatternSetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "UpdateRegexPatternSet", {})    .n("WAFClient", "UpdateRegexPatternSetCommand")    .sc(schemas_0.UpdateRegexPatternSet$)    .build() {} class UpdateRuleCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "UpdateRule", {})    .n("WAFClient", "UpdateRuleCommand")    .sc(schemas_0.UpdateRule$)    .build() {} class UpdateRuleGroupCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "UpdateRuleGroup", {})    .n("WAFClient", "UpdateRuleGroupCommand")    .sc(schemas_0.UpdateRuleGroup$)    .build() {} class UpdateSizeConstraintSetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "UpdateSizeConstraintSet", {})    .n("WAFClient", "UpdateSizeConstraintSetCommand")    .sc(schemas_0.UpdateSizeConstraintSet$)    .build() {} class UpdateSqlInjectionMatchSetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "UpdateSqlInjectionMatchSet", {})    .n("WAFClient", "UpdateSqlInjectionMatchSetCommand")    .sc(schemas_0.UpdateSqlInjectionMatchSet$)    .build() {} class UpdateWebACLCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "UpdateWebACL", {})    .n("WAFClient", "UpdateWebACLCommand")    .sc(schemas_0.UpdateWebACL$)    .build() {} class UpdateXssMatchSetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSWAF_20150824", "UpdateXssMatchSet", {})    .n("WAFClient", "UpdateXssMatchSetCommand")    .sc(schemas_0.UpdateXssMatchSet$)    .build() {} const commands = {    CreateByteMatchSetCommand,    CreateGeoMatchSetCommand,    CreateIPSetCommand,    CreateRateBasedRuleCommand,    CreateRegexMatchSetCommand,    CreateRegexPatternSetCommand,    CreateRuleCommand,    CreateRuleGroupCommand,    CreateSizeConstraintSetCommand,    CreateSqlInjectionMatchSetCommand,    CreateWebACLCommand,    CreateWebACLMigrationStackCommand,    CreateXssMatchSetCommand,    DeleteByteMatchSetCommand,    DeleteGeoMatchSetCommand,    DeleteIPSetCommand,    DeleteLoggingConfigurationCommand,    DeletePermissionPolicyCommand,    DeleteRateBasedRuleCommand,    DeleteRegexMatchSetCommand,    DeleteRegexPatternSetCommand,    DeleteRuleCommand,    DeleteRuleGroupCommand,    DeleteSizeConstraintSetCommand,    DeleteSqlInjectionMatchSetCommand,    DeleteWebACLCommand,    DeleteXssMatchSetCommand,    GetByteMatchSetCommand,    GetChangeTokenCommand,    GetChangeTokenStatusCommand,    GetGeoMatchSetCommand,    GetIPSetCommand,    GetLoggingConfigurationCommand,    GetPermissionPolicyCommand,    GetRateBasedRuleCommand,    GetRateBasedRuleManagedKeysCommand,    GetRegexMatchSetCommand,    GetRegexPatternSetCommand,    GetRuleCommand,    GetRuleGroupCommand,    GetSampledRequestsCommand,    GetSizeConstraintSetCommand,    GetSqlInjectionMatchSetCommand,    GetWebACLCommand,    GetXssMatchSetCommand,    ListActivatedRulesInRuleGroupCommand,    ListByteMatchSetsCommand,    ListGeoMatchSetsCommand,    ListIPSetsCommand,    ListLoggingConfigurationsCommand,    ListRateBasedRulesCommand,    ListRegexMatchSetsCommand,    ListRegexPatternSetsCommand,    ListRuleGroupsCommand,    ListRulesCommand,    ListSizeConstraintSetsCommand,    ListSqlInjectionMatchSetsCommand,    ListSubscribedRuleGroupsCommand,    ListTagsForResourceCommand,    ListWebACLsCommand,    ListXssMatchSetsCommand,    PutLoggingConfigurationCommand,    PutPermissionPolicyCommand,    TagResourceCommand,    UntagResourceCommand,    UpdateByteMatchSetCommand,    UpdateGeoMatchSetCommand,    UpdateIPSetCommand,    UpdateRateBasedRuleCommand,    UpdateRegexMatchSetCommand,    UpdateRegexPatternSetCommand,    UpdateRuleCommand,    UpdateRuleGroupCommand,    UpdateSizeConstraintSetCommand,    UpdateSqlInjectionMatchSetCommand,    UpdateWebACLCommand,    UpdateXssMatchSetCommand,};class WAF extends WAFClient {}client.createAggregatedClient(commands, WAF); const WafActionType = {    ALLOW: "ALLOW",    BLOCK: "BLOCK",    COUNT: "COUNT",};const WafOverrideActionType = {    COUNT: "COUNT",    NONE: "NONE",};const WafRuleType = {    GROUP: "GROUP",    RATE_BASED: "RATE_BASED",    REGULAR: "REGULAR",};const MatchFieldType = {    ALL_QUERY_ARGS: "ALL_QUERY_ARGS",    BODY: "BODY",    HEADER: "HEADER",    METHOD: "METHOD",    QUERY_STRING: "QUERY_STRING",    SINGLE_QUERY_ARG: "SINGLE_QUERY_ARG",    URI: "URI",};const PositionalConstraint = {    CONTAINS: "CONTAINS",    CONTAINS_WORD: "CONTAINS_WORD",    ENDS_WITH: "ENDS_WITH",    EXACTLY: "EXACTLY",    STARTS_WITH: "STARTS_WITH",};const TextTransformation = {    CMD_LINE: "CMD_LINE",    COMPRESS_WHITE_SPACE: "COMPRESS_WHITE_SPACE",    HTML_ENTITY_DECODE: "HTML_ENTITY_DECODE",    LOWERCASE: "LOWERCASE",    NONE: "NONE",    URL_DECODE: "URL_DECODE",};const ParameterExceptionField = {    BYTE_MATCH_FIELD_TYPE: "BYTE_MATCH_FIELD_TYPE",    BYTE_MATCH_POSITIONAL_CONSTRAINT: "BYTE_MATCH_POSITIONAL_CONSTRAINT",    BYTE_MATCH_TEXT_TRANSFORMATION: "BYTE_MATCH_TEXT_TRANSFORMATION",    CHANGE_ACTION: "CHANGE_ACTION",    GEO_MATCH_LOCATION_TYPE: "GEO_MATCH_LOCATION_TYPE",    GEO_MATCH_LOCATION_VALUE: "GEO_MATCH_LOCATION_VALUE",    IPSET_TYPE: "IPSET_TYPE",    NEXT_MARKER: "NEXT_MARKER",    PREDICATE_TYPE: "PREDICATE_TYPE",    RATE_KEY: "RATE_KEY",    RESOURCE_ARN: "RESOURCE_ARN",    RULE_TYPE: "RULE_TYPE",    SIZE_CONSTRAINT_COMPARISON_OPERATOR: "SIZE_CONSTRAINT_COMPARISON_OPERATOR",    SQL_INJECTION_MATCH_FIELD_TYPE: "SQL_INJECTION_MATCH_FIELD_TYPE",    TAGS: "TAGS",    TAG_KEYS: "TAG_KEYS",    WAF_ACTION: "WAF_ACTION",    WAF_OVERRIDE_ACTION: "WAF_OVERRIDE_ACTION",};const ParameterExceptionReason = {    ILLEGAL_ARGUMENT: "ILLEGAL_ARGUMENT",    ILLEGAL_COMBINATION: "ILLEGAL_COMBINATION",    INVALID_OPTION: "INVALID_OPTION",    INVALID_TAG_KEY: "INVALID_TAG_KEY",};const GeoMatchConstraintType = {    Country: "Country",};const GeoMatchConstraintValue = {    AD: "AD",    AE: "AE",    AF: "AF",    AG: "AG",    AI: "AI",    AL: "AL",    AM: "AM",    AO: "AO",    AQ: "AQ",    AR: "AR",    AS: "AS",    AT: "AT",    AU: "AU",    AW: "AW",    AX: "AX",    AZ: "AZ",    BA: "BA",    BB: "BB",    BD: "BD",    BE: "BE",    BF: "BF",    BG: "BG",    BH: "BH",    BI: "BI",    BJ: "BJ",    BL: "BL",    BM: "BM",    BN: "BN",    BO: "BO",    BQ: "BQ",    BR: "BR",    BS: "BS",    BT: "BT",    BV: "BV",    BW: "BW",    BY: "BY",    BZ: "BZ",    CA: "CA",    CC: "CC",    CD: "CD",    CF: "CF",    CG: "CG",    CH: "CH",    CI: "CI",    CK: "CK",    CL: "CL",    CM: "CM",    CN: "CN",    CO: "CO",    CR: "CR",    CU: "CU",    CV: "CV",    CW: "CW",    CX: "CX",    CY: "CY",    CZ: "CZ",    DE: "DE",    DJ: "DJ",    DK: "DK",    DM: "DM",    DO: "DO",    DZ: "DZ",    EC: "EC",    EE: "EE",    EG: "EG",    EH: "EH",    ER: "ER",    ES: "ES",    ET: "ET",    FI: "FI",    FJ: "FJ",    FK: "FK",    FM: "FM",    FO: "FO",    FR: "FR",    GA: "GA",    GB: "GB",    GD: "GD",    GE: "GE",    GF: "GF",    GG: "GG",    GH: "GH",    GI: "GI",    GL: "GL",    GM: "GM",    GN: "GN",    GP: "GP",    GQ: "GQ",    GR: "GR",    GS: "GS",    GT: "GT",    GU: "GU",    GW: "GW",    GY: "GY",    HK: "HK",    HM: "HM",    HN: "HN",    HR: "HR",    HT: "HT",    HU: "HU",    ID: "ID",    IE: "IE",    IL: "IL",    IM: "IM",    IN: "IN",    IO: "IO",    IQ: "IQ",    IR: "IR",    IS: "IS",    IT: "IT",    JE: "JE",    JM: "JM",    JO: "JO",    JP: "JP",    KE: "KE",    KG: "KG",    KH: "KH",    KI: "KI",    KM: "KM",    KN: "KN",    KP: "KP",    KR: "KR",    KW: "KW",    KY: "KY",    KZ: "KZ",    LA: "LA",    LB: "LB",    LC: "LC",    LI: "LI",    LK: "LK",    LR: "LR",    LS: "LS",    LT: "LT",    LU: "LU",    LV: "LV",    LY: "LY",    MA: "MA",    MC: "MC",    MD: "MD",    ME: "ME",    MF: "MF",    MG: "MG",    MH: "MH",    MK: "MK",    ML: "ML",    MM: "MM",    MN: "MN",    MO: "MO",    MP: "MP",    MQ: "MQ",    MR: "MR",    MS: "MS",    MT: "MT",    MU: "MU",    MV: "MV",    MW: "MW",    MX: "MX",    MY: "MY",    MZ: "MZ",    NA: "NA",    NC: "NC",    NE: "NE",    NF: "NF",    NG: "NG",    NI: "NI",    NL: "NL",    NO: "NO",    NP: "NP",    NR: "NR",    NU: "NU",    NZ: "NZ",    OM: "OM",    PA: "PA",    PE: "PE",    PF: "PF",    PG: "PG",    PH: "PH",    PK: "PK",    PL: "PL",    PM: "PM",    PN: "PN",    PR: "PR",    PS: "PS",    PT: "PT",    PW: "PW",    PY: "PY",    QA: "QA",    RE: "RE",    RO: "RO",    RS: "RS",    RU: "RU",    RW: "RW",    SA: "SA",    SB: "SB",    SC: "SC",    SD: "SD",    SE: "SE",    SG: "SG",    SH: "SH",    SI: "SI",    SJ: "SJ",    SK: "SK",    SL: "SL",    SM: "SM",    SN: "SN",    SO: "SO",    SR: "SR",    SS: "SS",    ST: "ST",    SV: "SV",    SX: "SX",    SY: "SY",    SZ: "SZ",    TC: "TC",    TD: "TD",    TF: "TF",    TG: "TG",    TH: "TH",    TJ: "TJ",    TK: "TK",    TL: "TL",    TM: "TM",    TN: "TN",    TO: "TO",    TR: "TR",    TT: "TT",    TV: "TV",    TW: "TW",    TZ: "TZ",    UA: "UA",    UG: "UG",    UM: "UM",    US: "US",    UY: "UY",    UZ: "UZ",    VA: "VA",    VC: "VC",    VE: "VE",    VG: "VG",    VI: "VI",    VN: "VN",    VU: "VU",    WF: "WF",    WS: "WS",    YE: "YE",    YT: "YT",    ZA: "ZA",    ZM: "ZM",    ZW: "ZW",};const IPSetDescriptorType = {    IPV4: "IPV4",    IPV6: "IPV6",};const RateKey = {    IP: "IP",};const PredicateType = {    BYTE_MATCH: "ByteMatch",    GEO_MATCH: "GeoMatch",    IP_MATCH: "IPMatch",    REGEX_MATCH: "RegexMatch",    SIZE_CONSTRAINT: "SizeConstraint",    SQL_INJECTION_MATCH: "SqlInjectionMatch",    XSS_MATCH: "XssMatch",};const ComparisonOperator = {    EQ: "EQ",    GE: "GE",    GT: "GT",    LE: "LE",    LT: "LT",    NE: "NE",};const MigrationErrorType = {    ENTITY_NOT_FOUND: "ENTITY_NOT_FOUND",    ENTITY_NOT_SUPPORTED: "ENTITY_NOT_SUPPORTED",    S3_BUCKET_INVALID_REGION: "S3_BUCKET_INVALID_REGION",    S3_BUCKET_NOT_ACCESSIBLE: "S3_BUCKET_NOT_ACCESSIBLE",    S3_BUCKET_NOT_FOUND: "S3_BUCKET_NOT_FOUND",    S3_BUCKET_NO_PERMISSION: "S3_BUCKET_NO_PERMISSION",    S3_INTERNAL_ERROR: "S3_INTERNAL_ERROR",};const ChangeTokenStatus = {    INSYNC: "INSYNC",    PENDING: "PENDING",    PROVISIONED: "PROVISIONED",};const ChangeAction = {    DELETE: "DELETE",    INSERT: "INSERT",}; exports.$Command = client.Command;exports.__Client = client.Client;exports.WAFServiceException = WAFServiceException.WAFServiceException;exports.ChangeAction = ChangeAction;exports.ChangeTokenStatus = ChangeTokenStatus;exports.ComparisonOperator = ComparisonOperator;exports.CreateByteMatchSetCommand = CreateByteMatchSetCommand;exports.CreateGeoMatchSetCommand = CreateGeoMatchSetCommand;exports.CreateIPSetCommand = CreateIPSetCommand;exports.CreateRateBasedRuleCommand = CreateRateBasedRuleCommand;exports.CreateRegexMatchSetCommand = CreateRegexMatchSetCommand;exports.CreateRegexPatternSetCommand = CreateRegexPatternSetCommand;exports.CreateRuleCommand = CreateRuleCommand;exports.CreateRuleGroupCommand = CreateRuleGroupCommand;exports.CreateSizeConstraintSetCommand = CreateSizeConstraintSetCommand;exports.CreateSqlInjectionMatchSetCommand = CreateSqlInjectionMatchSetCommand;exports.CreateWebACLCommand = CreateWebACLCommand;exports.CreateWebACLMigrationStackCommand = CreateWebACLMigrationStackCommand;exports.CreateXssMatchSetCommand = CreateXssMatchSetCommand;exports.DeleteByteMatchSetCommand = DeleteByteMatchSetCommand;exports.DeleteGeoMatchSetCommand = DeleteGeoMatchSetCommand;exports.DeleteIPSetCommand = DeleteIPSetCommand;exports.DeleteLoggingConfigurationCommand = DeleteLoggingConfigurationCommand;exports.DeletePermissionPolicyCommand = DeletePermissionPolicyCommand;exports.DeleteRateBasedRuleCommand = DeleteRateBasedRuleCommand;exports.DeleteRegexMatchSetCommand = DeleteRegexMatchSetCommand;exports.DeleteRegexPatternSetCommand = DeleteRegexPatternSetCommand;exports.DeleteRuleCommand = DeleteRuleCommand;exports.DeleteRuleGroupCommand = DeleteRuleGroupCommand;exports.DeleteSizeConstraintSetCommand = DeleteSizeConstraintSetCommand;exports.DeleteSqlInjectionMatchSetCommand = DeleteSqlInjectionMatchSetCommand;exports.DeleteWebACLCommand = DeleteWebACLCommand;exports.DeleteXssMatchSetCommand = DeleteXssMatchSetCommand;exports.GeoMatchConstraintType = GeoMatchConstraintType;exports.GeoMatchConstraintValue = GeoMatchConstraintValue;exports.GetByteMatchSetCommand = GetByteMatchSetCommand;exports.GetChangeTokenCommand = GetChangeTokenCommand;exports.GetChangeTokenStatusCommand = GetChangeTokenStatusCommand;exports.GetGeoMatchSetCommand = GetGeoMatchSetCommand;exports.GetIPSetCommand = GetIPSetCommand;exports.GetLoggingConfigurationCommand = GetLoggingConfigurationCommand;exports.GetPermissionPolicyCommand = GetPermissionPolicyCommand;exports.GetRateBasedRuleCommand = GetRateBasedRuleCommand;exports.GetRateBasedRuleManagedKeysCommand = GetRateBasedRuleManagedKeysCommand;exports.GetRegexMatchSetCommand = GetRegexMatchSetCommand;exports.GetRegexPatternSetCommand = GetRegexPatternSetCommand;exports.GetRuleCommand = GetRuleCommand;exports.GetRuleGroupCommand = GetRuleGroupCommand;exports.GetSampledRequestsCommand = GetSampledRequestsCommand;exports.GetSizeConstraintSetCommand = GetSizeConstraintSetCommand;exports.GetSqlInjectionMatchSetCommand = GetSqlInjectionMatchSetCommand;exports.GetWebACLCommand = GetWebACLCommand;exports.GetXssMatchSetCommand = GetXssMatchSetCommand;exports.IPSetDescriptorType = IPSetDescriptorType;exports.ListActivatedRulesInRuleGroupCommand = ListActivatedRulesInRuleGroupCommand;exports.ListByteMatchSetsCommand = ListByteMatchSetsCommand;exports.ListGeoMatchSetsCommand = ListGeoMatchSetsCommand;exports.ListIPSetsCommand = ListIPSetsCommand;exports.ListLoggingConfigurationsCommand = ListLoggingConfigurationsCommand;exports.ListRateBasedRulesCommand = ListRateBasedRulesCommand;exports.ListRegexMatchSetsCommand = ListRegexMatchSetsCommand;exports.ListRegexPatternSetsCommand = ListRegexPatternSetsCommand;exports.ListRuleGroupsCommand = ListRuleGroupsCommand;exports.ListRulesCommand = ListRulesCommand;exports.ListSizeConstraintSetsCommand = ListSizeConstraintSetsCommand;exports.ListSqlInjectionMatchSetsCommand = ListSqlInjectionMatchSetsCommand;exports.ListSubscribedRuleGroupsCommand = ListSubscribedRuleGroupsCommand;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.ListWebACLsCommand = ListWebACLsCommand;exports.ListXssMatchSetsCommand = ListXssMatchSetsCommand;exports.MatchFieldType = MatchFieldType;exports.MigrationErrorType = MigrationErrorType;exports.ParameterExceptionField = ParameterExceptionField;exports.ParameterExceptionReason = ParameterExceptionReason;exports.PositionalConstraint = PositionalConstraint;exports.PredicateType = PredicateType;exports.PutLoggingConfigurationCommand = PutLoggingConfigurationCommand;exports.PutPermissionPolicyCommand = PutPermissionPolicyCommand;exports.RateKey = RateKey;exports.TagResourceCommand = TagResourceCommand;exports.TextTransformation = TextTransformation;exports.UntagResourceCommand = UntagResourceCommand;exports.UpdateByteMatchSetCommand = UpdateByteMatchSetCommand;exports.UpdateGeoMatchSetCommand = UpdateGeoMatchSetCommand;exports.UpdateIPSetCommand = UpdateIPSetCommand;exports.UpdateRateBasedRuleCommand = UpdateRateBasedRuleCommand;exports.UpdateRegexMatchSetCommand = UpdateRegexMatchSetCommand;exports.UpdateRegexPatternSetCommand = UpdateRegexPatternSetCommand;exports.UpdateRuleCommand = UpdateRuleCommand;exports.UpdateRuleGroupCommand = UpdateRuleGroupCommand;exports.UpdateSizeConstraintSetCommand = UpdateSizeConstraintSetCommand;exports.UpdateSqlInjectionMatchSetCommand = UpdateSqlInjectionMatchSetCommand;exports.UpdateWebACLCommand = UpdateWebACLCommand;exports.UpdateXssMatchSetCommand = UpdateXssMatchSetCommand;exports.WAF = WAF;exports.WAFClient = WAFClient;exports.WafActionType = WafActionType;exports.WafOverrideActionType = WafOverrideActionType;exports.WafRuleType = WafRuleType;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];});