File Explorer

/proc/self/root/var/runtime/node_modules/@aws-sdk/client-shield/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.js27.8 KB · 740 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 ShieldServiceException = require('./models/ShieldServiceException'); const resolveClientEndpointParameters = (options) => {    return Object.assign(options, {        useDualstackEndpoint: options.useDualstackEndpoint ?? false,        useFipsEndpoint: options.useFipsEndpoint ?? false,        defaultSigningName: "shield",    });};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 ShieldClient 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.defaultShieldHttpAuthSchemeParametersProvider,            identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({                "aws.auth#sigv4": config.credentials,            }),        }));        this.middlewareStack.use(core.getHttpSigningPlugin(this.config));    }    destroy() {        super.destroy();    }} class AssociateDRTLogBucketCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSShield_20160616", "AssociateDRTLogBucket", {})    .n("ShieldClient", "AssociateDRTLogBucketCommand")    .sc(schemas_0.AssociateDRTLogBucket$)    .build() {} class AssociateDRTRoleCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSShield_20160616", "AssociateDRTRole", {})    .n("ShieldClient", "AssociateDRTRoleCommand")    .sc(schemas_0.AssociateDRTRole$)    .build() {} class AssociateHealthCheckCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSShield_20160616", "AssociateHealthCheck", {})    .n("ShieldClient", "AssociateHealthCheckCommand")    .sc(schemas_0.AssociateHealthCheck$)    .build() {} class AssociateProactiveEngagementDetailsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSShield_20160616", "AssociateProactiveEngagementDetails", {})    .n("ShieldClient", "AssociateProactiveEngagementDetailsCommand")    .sc(schemas_0.AssociateProactiveEngagementDetails$)    .build() {} class CreateProtectionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSShield_20160616", "CreateProtection", {})    .n("ShieldClient", "CreateProtectionCommand")    .sc(schemas_0.CreateProtection$)    .build() {} class CreateProtectionGroupCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSShield_20160616", "CreateProtectionGroup", {})    .n("ShieldClient", "CreateProtectionGroupCommand")    .sc(schemas_0.CreateProtectionGroup$)    .build() {} class CreateSubscriptionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSShield_20160616", "CreateSubscription", {})    .n("ShieldClient", "CreateSubscriptionCommand")    .sc(schemas_0.CreateSubscription$)    .build() {} class DeleteProtectionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSShield_20160616", "DeleteProtection", {})    .n("ShieldClient", "DeleteProtectionCommand")    .sc(schemas_0.DeleteProtection$)    .build() {} class DeleteProtectionGroupCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSShield_20160616", "DeleteProtectionGroup", {})    .n("ShieldClient", "DeleteProtectionGroupCommand")    .sc(schemas_0.DeleteProtectionGroup$)    .build() {} class DeleteSubscriptionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSShield_20160616", "DeleteSubscription", {})    .n("ShieldClient", "DeleteSubscriptionCommand")    .sc(schemas_0.DeleteSubscription$)    .build() {} class DescribeAttackCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSShield_20160616", "DescribeAttack", {})    .n("ShieldClient", "DescribeAttackCommand")    .sc(schemas_0.DescribeAttack$)    .build() {} class DescribeAttackStatisticsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSShield_20160616", "DescribeAttackStatistics", {})    .n("ShieldClient", "DescribeAttackStatisticsCommand")    .sc(schemas_0.DescribeAttackStatistics$)    .build() {} class DescribeDRTAccessCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSShield_20160616", "DescribeDRTAccess", {})    .n("ShieldClient", "DescribeDRTAccessCommand")    .sc(schemas_0.DescribeDRTAccess$)    .build() {} class DescribeEmergencyContactSettingsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSShield_20160616", "DescribeEmergencyContactSettings", {})    .n("ShieldClient", "DescribeEmergencyContactSettingsCommand")    .sc(schemas_0.DescribeEmergencyContactSettings$)    .build() {} class DescribeProtectionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSShield_20160616", "DescribeProtection", {})    .n("ShieldClient", "DescribeProtectionCommand")    .sc(schemas_0.DescribeProtection$)    .build() {} class DescribeProtectionGroupCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSShield_20160616", "DescribeProtectionGroup", {})    .n("ShieldClient", "DescribeProtectionGroupCommand")    .sc(schemas_0.DescribeProtectionGroup$)    .build() {} class DescribeSubscriptionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSShield_20160616", "DescribeSubscription", {})    .n("ShieldClient", "DescribeSubscriptionCommand")    .sc(schemas_0.DescribeSubscription$)    .build() {} class DisableApplicationLayerAutomaticResponseCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSShield_20160616", "DisableApplicationLayerAutomaticResponse", {})    .n("ShieldClient", "DisableApplicationLayerAutomaticResponseCommand")    .sc(schemas_0.DisableApplicationLayerAutomaticResponse$)    .build() {} class DisableProactiveEngagementCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSShield_20160616", "DisableProactiveEngagement", {})    .n("ShieldClient", "DisableProactiveEngagementCommand")    .sc(schemas_0.DisableProactiveEngagement$)    .build() {} class DisassociateDRTLogBucketCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSShield_20160616", "DisassociateDRTLogBucket", {})    .n("ShieldClient", "DisassociateDRTLogBucketCommand")    .sc(schemas_0.DisassociateDRTLogBucket$)    .build() {} class DisassociateDRTRoleCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSShield_20160616", "DisassociateDRTRole", {})    .n("ShieldClient", "DisassociateDRTRoleCommand")    .sc(schemas_0.DisassociateDRTRole$)    .build() {} class DisassociateHealthCheckCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSShield_20160616", "DisassociateHealthCheck", {})    .n("ShieldClient", "DisassociateHealthCheckCommand")    .sc(schemas_0.DisassociateHealthCheck$)    .build() {} class EnableApplicationLayerAutomaticResponseCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSShield_20160616", "EnableApplicationLayerAutomaticResponse", {})    .n("ShieldClient", "EnableApplicationLayerAutomaticResponseCommand")    .sc(schemas_0.EnableApplicationLayerAutomaticResponse$)    .build() {} class EnableProactiveEngagementCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSShield_20160616", "EnableProactiveEngagement", {})    .n("ShieldClient", "EnableProactiveEngagementCommand")    .sc(schemas_0.EnableProactiveEngagement$)    .build() {} class GetSubscriptionStateCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSShield_20160616", "GetSubscriptionState", {})    .n("ShieldClient", "GetSubscriptionStateCommand")    .sc(schemas_0.GetSubscriptionState$)    .build() {} class ListAttacksCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSShield_20160616", "ListAttacks", {})    .n("ShieldClient", "ListAttacksCommand")    .sc(schemas_0.ListAttacks$)    .build() {} class ListProtectionGroupsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSShield_20160616", "ListProtectionGroups", {})    .n("ShieldClient", "ListProtectionGroupsCommand")    .sc(schemas_0.ListProtectionGroups$)    .build() {} class ListProtectionsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSShield_20160616", "ListProtections", {})    .n("ShieldClient", "ListProtectionsCommand")    .sc(schemas_0.ListProtections$)    .build() {} class ListResourcesInProtectionGroupCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSShield_20160616", "ListResourcesInProtectionGroup", {})    .n("ShieldClient", "ListResourcesInProtectionGroupCommand")    .sc(schemas_0.ListResourcesInProtectionGroup$)    .build() {} class ListTagsForResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSShield_20160616", "ListTagsForResource", {})    .n("ShieldClient", "ListTagsForResourceCommand")    .sc(schemas_0.ListTagsForResource$)    .build() {} class TagResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSShield_20160616", "TagResource", {})    .n("ShieldClient", "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("AWSShield_20160616", "UntagResource", {})    .n("ShieldClient", "UntagResourceCommand")    .sc(schemas_0.UntagResource$)    .build() {} class UpdateApplicationLayerAutomaticResponseCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSShield_20160616", "UpdateApplicationLayerAutomaticResponse", {})    .n("ShieldClient", "UpdateApplicationLayerAutomaticResponseCommand")    .sc(schemas_0.UpdateApplicationLayerAutomaticResponse$)    .build() {} class UpdateEmergencyContactSettingsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSShield_20160616", "UpdateEmergencyContactSettings", {})    .n("ShieldClient", "UpdateEmergencyContactSettingsCommand")    .sc(schemas_0.UpdateEmergencyContactSettings$)    .build() {} class UpdateProtectionGroupCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSShield_20160616", "UpdateProtectionGroup", {})    .n("ShieldClient", "UpdateProtectionGroupCommand")    .sc(schemas_0.UpdateProtectionGroup$)    .build() {} class UpdateSubscriptionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSShield_20160616", "UpdateSubscription", {})    .n("ShieldClient", "UpdateSubscriptionCommand")    .sc(schemas_0.UpdateSubscription$)    .build() {} const paginateListAttacks = core.createPaginator(ShieldClient, ListAttacksCommand, "NextToken", "NextToken", "MaxResults"); const paginateListProtectionGroups = core.createPaginator(ShieldClient, ListProtectionGroupsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListProtections = core.createPaginator(ShieldClient, ListProtectionsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListResourcesInProtectionGroup = core.createPaginator(ShieldClient, ListResourcesInProtectionGroupCommand, "NextToken", "NextToken", "MaxResults"); const commands = {    AssociateDRTLogBucketCommand,    AssociateDRTRoleCommand,    AssociateHealthCheckCommand,    AssociateProactiveEngagementDetailsCommand,    CreateProtectionCommand,    CreateProtectionGroupCommand,    CreateSubscriptionCommand,    DeleteProtectionCommand,    DeleteProtectionGroupCommand,    DeleteSubscriptionCommand,    DescribeAttackCommand,    DescribeAttackStatisticsCommand,    DescribeDRTAccessCommand,    DescribeEmergencyContactSettingsCommand,    DescribeProtectionCommand,    DescribeProtectionGroupCommand,    DescribeSubscriptionCommand,    DisableApplicationLayerAutomaticResponseCommand,    DisableProactiveEngagementCommand,    DisassociateDRTLogBucketCommand,    DisassociateDRTRoleCommand,    DisassociateHealthCheckCommand,    EnableApplicationLayerAutomaticResponseCommand,    EnableProactiveEngagementCommand,    GetSubscriptionStateCommand,    ListAttacksCommand,    ListProtectionGroupsCommand,    ListProtectionsCommand,    ListResourcesInProtectionGroupCommand,    ListTagsForResourceCommand,    TagResourceCommand,    UntagResourceCommand,    UpdateApplicationLayerAutomaticResponseCommand,    UpdateEmergencyContactSettingsCommand,    UpdateProtectionGroupCommand,    UpdateSubscriptionCommand,};const paginators = {    paginateListAttacks,    paginateListProtectionGroups,    paginateListProtections,    paginateListResourcesInProtectionGroup,};class Shield extends ShieldClient {}client.createAggregatedClient(commands, Shield, { paginators }); const ApplicationLayerAutomaticResponseStatus = {    DISABLED: "DISABLED",    ENABLED: "ENABLED",};const ValidationExceptionReason = {    FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",    OTHER: "OTHER",};const AttackLayer = {    APPLICATION: "APPLICATION",    NETWORK: "NETWORK",};const AttackPropertyIdentifier = {    DESTINATION_URL: "DESTINATION_URL",    REFERRER: "REFERRER",    SOURCE_ASN: "SOURCE_ASN",    SOURCE_COUNTRY: "SOURCE_COUNTRY",    SOURCE_IP_ADDRESS: "SOURCE_IP_ADDRESS",    SOURCE_USER_AGENT: "SOURCE_USER_AGENT",    WORDPRESS_PINGBACK_REFLECTOR: "WORDPRESS_PINGBACK_REFLECTOR",    WORDPRESS_PINGBACK_SOURCE: "WORDPRESS_PINGBACK_SOURCE",};const Unit = {    BITS: "BITS",    BYTES: "BYTES",    PACKETS: "PACKETS",    REQUESTS: "REQUESTS",};const SubResourceType = {    IP: "IP",    URL: "URL",};const AutoRenew = {    DISABLED: "DISABLED",    ENABLED: "ENABLED",};const ProtectionGroupAggregation = {    MAX: "MAX",    MEAN: "MEAN",    SUM: "SUM",};const ProtectionGroupPattern = {    ALL: "ALL",    ARBITRARY: "ARBITRARY",    BY_RESOURCE_TYPE: "BY_RESOURCE_TYPE",};const ProtectedResourceType = {    APPLICATION_LOAD_BALANCER: "APPLICATION_LOAD_BALANCER",    CLASSIC_LOAD_BALANCER: "CLASSIC_LOAD_BALANCER",    CLOUDFRONT_DISTRIBUTION: "CLOUDFRONT_DISTRIBUTION",    ELASTIC_IP_ALLOCATION: "ELASTIC_IP_ALLOCATION",    GLOBAL_ACCELERATOR: "GLOBAL_ACCELERATOR",    ROUTE_53_HOSTED_ZONE: "ROUTE_53_HOSTED_ZONE",};const ProactiveEngagementStatus = {    DISABLED: "DISABLED",    ENABLED: "ENABLED",    PENDING: "PENDING",};const SubscriptionState = {    ACTIVE: "ACTIVE",    INACTIVE: "INACTIVE",}; exports.$Command = client.Command;exports.__Client = client.Client;exports.ShieldServiceException = ShieldServiceException.ShieldServiceException;exports.ApplicationLayerAutomaticResponseStatus = ApplicationLayerAutomaticResponseStatus;exports.AssociateDRTLogBucketCommand = AssociateDRTLogBucketCommand;exports.AssociateDRTRoleCommand = AssociateDRTRoleCommand;exports.AssociateHealthCheckCommand = AssociateHealthCheckCommand;exports.AssociateProactiveEngagementDetailsCommand = AssociateProactiveEngagementDetailsCommand;exports.AttackLayer = AttackLayer;exports.AttackPropertyIdentifier = AttackPropertyIdentifier;exports.AutoRenew = AutoRenew;exports.CreateProtectionCommand = CreateProtectionCommand;exports.CreateProtectionGroupCommand = CreateProtectionGroupCommand;exports.CreateSubscriptionCommand = CreateSubscriptionCommand;exports.DeleteProtectionCommand = DeleteProtectionCommand;exports.DeleteProtectionGroupCommand = DeleteProtectionGroupCommand;exports.DeleteSubscriptionCommand = DeleteSubscriptionCommand;exports.DescribeAttackCommand = DescribeAttackCommand;exports.DescribeAttackStatisticsCommand = DescribeAttackStatisticsCommand;exports.DescribeDRTAccessCommand = DescribeDRTAccessCommand;exports.DescribeEmergencyContactSettingsCommand = DescribeEmergencyContactSettingsCommand;exports.DescribeProtectionCommand = DescribeProtectionCommand;exports.DescribeProtectionGroupCommand = DescribeProtectionGroupCommand;exports.DescribeSubscriptionCommand = DescribeSubscriptionCommand;exports.DisableApplicationLayerAutomaticResponseCommand = DisableApplicationLayerAutomaticResponseCommand;exports.DisableProactiveEngagementCommand = DisableProactiveEngagementCommand;exports.DisassociateDRTLogBucketCommand = DisassociateDRTLogBucketCommand;exports.DisassociateDRTRoleCommand = DisassociateDRTRoleCommand;exports.DisassociateHealthCheckCommand = DisassociateHealthCheckCommand;exports.EnableApplicationLayerAutomaticResponseCommand = EnableApplicationLayerAutomaticResponseCommand;exports.EnableProactiveEngagementCommand = EnableProactiveEngagementCommand;exports.GetSubscriptionStateCommand = GetSubscriptionStateCommand;exports.ListAttacksCommand = ListAttacksCommand;exports.ListProtectionGroupsCommand = ListProtectionGroupsCommand;exports.ListProtectionsCommand = ListProtectionsCommand;exports.ListResourcesInProtectionGroupCommand = ListResourcesInProtectionGroupCommand;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.ProactiveEngagementStatus = ProactiveEngagementStatus;exports.ProtectedResourceType = ProtectedResourceType;exports.ProtectionGroupAggregation = ProtectionGroupAggregation;exports.ProtectionGroupPattern = ProtectionGroupPattern;exports.Shield = Shield;exports.ShieldClient = ShieldClient;exports.SubResourceType = SubResourceType;exports.SubscriptionState = SubscriptionState;exports.TagResourceCommand = TagResourceCommand;exports.Unit = Unit;exports.UntagResourceCommand = UntagResourceCommand;exports.UpdateApplicationLayerAutomaticResponseCommand = UpdateApplicationLayerAutomaticResponseCommand;exports.UpdateEmergencyContactSettingsCommand = UpdateEmergencyContactSettingsCommand;exports.UpdateProtectionGroupCommand = UpdateProtectionGroupCommand;exports.UpdateSubscriptionCommand = UpdateSubscriptionCommand;exports.ValidationExceptionReason = ValidationExceptionReason;exports.paginateListAttacks = paginateListAttacks;exports.paginateListProtectionGroups = paginateListProtectionGroups;exports.paginateListProtections = paginateListProtections;exports.paginateListResourcesInProtectionGroup = paginateListResourcesInProtectionGroup;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];});