File Explorer

/proc/self/root/proc/self/root/var/runtime/node_modules/@aws-sdk/client-fms/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.js35.4 KB · 949 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 FMSServiceException = require('./models/FMSServiceException'); const resolveClientEndpointParameters = (options) => {    return Object.assign(options, {        useDualstackEndpoint: options.useDualstackEndpoint ?? false,        useFipsEndpoint: options.useFipsEndpoint ?? false,        defaultSigningName: "fms",    });};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 FMSClient 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.defaultFMSHttpAuthSchemeParametersProvider,            identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({                "aws.auth#sigv4": config.credentials,            }),        }));        this.middlewareStack.use(core.getHttpSigningPlugin(this.config));    }    destroy() {        super.destroy();    }} class AssociateAdminAccountCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSFMS_20180101", "AssociateAdminAccount", {})    .n("FMSClient", "AssociateAdminAccountCommand")    .sc(schemas_0.AssociateAdminAccount$)    .build() {} class AssociateThirdPartyFirewallCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSFMS_20180101", "AssociateThirdPartyFirewall", {})    .n("FMSClient", "AssociateThirdPartyFirewallCommand")    .sc(schemas_0.AssociateThirdPartyFirewall$)    .build() {} class BatchAssociateResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSFMS_20180101", "BatchAssociateResource", {})    .n("FMSClient", "BatchAssociateResourceCommand")    .sc(schemas_0.BatchAssociateResource$)    .build() {} class BatchDisassociateResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSFMS_20180101", "BatchDisassociateResource", {})    .n("FMSClient", "BatchDisassociateResourceCommand")    .sc(schemas_0.BatchDisassociateResource$)    .build() {} class DeleteAppsListCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSFMS_20180101", "DeleteAppsList", {})    .n("FMSClient", "DeleteAppsListCommand")    .sc(schemas_0.DeleteAppsList$)    .build() {} class DeleteNotificationChannelCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSFMS_20180101", "DeleteNotificationChannel", {})    .n("FMSClient", "DeleteNotificationChannelCommand")    .sc(schemas_0.DeleteNotificationChannel$)    .build() {} class DeletePolicyCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSFMS_20180101", "DeletePolicy", {})    .n("FMSClient", "DeletePolicyCommand")    .sc(schemas_0.DeletePolicy$)    .build() {} class DeleteProtocolsListCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSFMS_20180101", "DeleteProtocolsList", {})    .n("FMSClient", "DeleteProtocolsListCommand")    .sc(schemas_0.DeleteProtocolsList$)    .build() {} class DeleteResourceSetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSFMS_20180101", "DeleteResourceSet", {})    .n("FMSClient", "DeleteResourceSetCommand")    .sc(schemas_0.DeleteResourceSet$)    .build() {} class DisassociateAdminAccountCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSFMS_20180101", "DisassociateAdminAccount", {})    .n("FMSClient", "DisassociateAdminAccountCommand")    .sc(schemas_0.DisassociateAdminAccount$)    .build() {} class DisassociateThirdPartyFirewallCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSFMS_20180101", "DisassociateThirdPartyFirewall", {})    .n("FMSClient", "DisassociateThirdPartyFirewallCommand")    .sc(schemas_0.DisassociateThirdPartyFirewall$)    .build() {} class GetAdminAccountCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSFMS_20180101", "GetAdminAccount", {})    .n("FMSClient", "GetAdminAccountCommand")    .sc(schemas_0.GetAdminAccount$)    .build() {} class GetAdminScopeCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSFMS_20180101", "GetAdminScope", {})    .n("FMSClient", "GetAdminScopeCommand")    .sc(schemas_0.GetAdminScope$)    .build() {} class GetAppsListCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSFMS_20180101", "GetAppsList", {})    .n("FMSClient", "GetAppsListCommand")    .sc(schemas_0.GetAppsList$)    .build() {} class GetComplianceDetailCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSFMS_20180101", "GetComplianceDetail", {})    .n("FMSClient", "GetComplianceDetailCommand")    .sc(schemas_0.GetComplianceDetail$)    .build() {} class GetNotificationChannelCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSFMS_20180101", "GetNotificationChannel", {})    .n("FMSClient", "GetNotificationChannelCommand")    .sc(schemas_0.GetNotificationChannel$)    .build() {} class GetPolicyCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSFMS_20180101", "GetPolicy", {})    .n("FMSClient", "GetPolicyCommand")    .sc(schemas_0.GetPolicy$)    .build() {} class GetProtectionStatusCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSFMS_20180101", "GetProtectionStatus", {})    .n("FMSClient", "GetProtectionStatusCommand")    .sc(schemas_0.GetProtectionStatus$)    .build() {} class GetProtocolsListCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSFMS_20180101", "GetProtocolsList", {})    .n("FMSClient", "GetProtocolsListCommand")    .sc(schemas_0.GetProtocolsList$)    .build() {} class GetResourceSetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSFMS_20180101", "GetResourceSet", {})    .n("FMSClient", "GetResourceSetCommand")    .sc(schemas_0.GetResourceSet$)    .build() {} class GetThirdPartyFirewallAssociationStatusCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSFMS_20180101", "GetThirdPartyFirewallAssociationStatus", {})    .n("FMSClient", "GetThirdPartyFirewallAssociationStatusCommand")    .sc(schemas_0.GetThirdPartyFirewallAssociationStatus$)    .build() {} class GetViolationDetailsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSFMS_20180101", "GetViolationDetails", {})    .n("FMSClient", "GetViolationDetailsCommand")    .sc(schemas_0.GetViolationDetails$)    .build() {} class ListAdminAccountsForOrganizationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSFMS_20180101", "ListAdminAccountsForOrganization", {})    .n("FMSClient", "ListAdminAccountsForOrganizationCommand")    .sc(schemas_0.ListAdminAccountsForOrganization$)    .build() {} class ListAdminsManagingAccountCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSFMS_20180101", "ListAdminsManagingAccount", {})    .n("FMSClient", "ListAdminsManagingAccountCommand")    .sc(schemas_0.ListAdminsManagingAccount$)    .build() {} class ListAppsListsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSFMS_20180101", "ListAppsLists", {})    .n("FMSClient", "ListAppsListsCommand")    .sc(schemas_0.ListAppsLists$)    .build() {} class ListComplianceStatusCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSFMS_20180101", "ListComplianceStatus", {})    .n("FMSClient", "ListComplianceStatusCommand")    .sc(schemas_0.ListComplianceStatus$)    .build() {} class ListDiscoveredResourcesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSFMS_20180101", "ListDiscoveredResources", {})    .n("FMSClient", "ListDiscoveredResourcesCommand")    .sc(schemas_0.ListDiscoveredResources$)    .build() {} class ListMemberAccountsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSFMS_20180101", "ListMemberAccounts", {})    .n("FMSClient", "ListMemberAccountsCommand")    .sc(schemas_0.ListMemberAccounts$)    .build() {} class ListPoliciesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSFMS_20180101", "ListPolicies", {})    .n("FMSClient", "ListPoliciesCommand")    .sc(schemas_0.ListPolicies$)    .build() {} class ListProtocolsListsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSFMS_20180101", "ListProtocolsLists", {})    .n("FMSClient", "ListProtocolsListsCommand")    .sc(schemas_0.ListProtocolsLists$)    .build() {} class ListResourceSetResourcesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSFMS_20180101", "ListResourceSetResources", {})    .n("FMSClient", "ListResourceSetResourcesCommand")    .sc(schemas_0.ListResourceSetResources$)    .build() {} class ListResourceSetsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSFMS_20180101", "ListResourceSets", {})    .n("FMSClient", "ListResourceSetsCommand")    .sc(schemas_0.ListResourceSets$)    .build() {} class ListTagsForResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSFMS_20180101", "ListTagsForResource", {})    .n("FMSClient", "ListTagsForResourceCommand")    .sc(schemas_0.ListTagsForResource$)    .build() {} class ListThirdPartyFirewallFirewallPoliciesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSFMS_20180101", "ListThirdPartyFirewallFirewallPolicies", {})    .n("FMSClient", "ListThirdPartyFirewallFirewallPoliciesCommand")    .sc(schemas_0.ListThirdPartyFirewallFirewallPolicies$)    .build() {} class PutAdminAccountCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSFMS_20180101", "PutAdminAccount", {})    .n("FMSClient", "PutAdminAccountCommand")    .sc(schemas_0.PutAdminAccount$)    .build() {} class PutAppsListCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSFMS_20180101", "PutAppsList", {})    .n("FMSClient", "PutAppsListCommand")    .sc(schemas_0.PutAppsList$)    .build() {} class PutNotificationChannelCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSFMS_20180101", "PutNotificationChannel", {})    .n("FMSClient", "PutNotificationChannelCommand")    .sc(schemas_0.PutNotificationChannel$)    .build() {} class PutPolicyCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSFMS_20180101", "PutPolicy", {})    .n("FMSClient", "PutPolicyCommand")    .sc(schemas_0.PutPolicy$)    .build() {} class PutProtocolsListCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSFMS_20180101", "PutProtocolsList", {})    .n("FMSClient", "PutProtocolsListCommand")    .sc(schemas_0.PutProtocolsList$)    .build() {} class PutResourceSetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSFMS_20180101", "PutResourceSet", {})    .n("FMSClient", "PutResourceSetCommand")    .sc(schemas_0.PutResourceSet$)    .build() {} class TagResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSFMS_20180101", "TagResource", {})    .n("FMSClient", "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("AWSFMS_20180101", "UntagResource", {})    .n("FMSClient", "UntagResourceCommand")    .sc(schemas_0.UntagResource$)    .build() {} const paginateListAdminAccountsForOrganization = core.createPaginator(FMSClient, ListAdminAccountsForOrganizationCommand, "NextToken", "NextToken", "MaxResults"); const paginateListAdminsManagingAccount = core.createPaginator(FMSClient, ListAdminsManagingAccountCommand, "NextToken", "NextToken", "MaxResults"); const paginateListAppsLists = core.createPaginator(FMSClient, ListAppsListsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListComplianceStatus = core.createPaginator(FMSClient, ListComplianceStatusCommand, "NextToken", "NextToken", "MaxResults"); const paginateListMemberAccounts = core.createPaginator(FMSClient, ListMemberAccountsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListPolicies = core.createPaginator(FMSClient, ListPoliciesCommand, "NextToken", "NextToken", "MaxResults"); const paginateListProtocolsLists = core.createPaginator(FMSClient, ListProtocolsListsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListThirdPartyFirewallFirewallPolicies = core.createPaginator(FMSClient, ListThirdPartyFirewallFirewallPoliciesCommand, "NextToken", "NextToken", "MaxResults"); const commands = {    AssociateAdminAccountCommand,    AssociateThirdPartyFirewallCommand,    BatchAssociateResourceCommand,    BatchDisassociateResourceCommand,    DeleteAppsListCommand,    DeleteNotificationChannelCommand,    DeletePolicyCommand,    DeleteProtocolsListCommand,    DeleteResourceSetCommand,    DisassociateAdminAccountCommand,    DisassociateThirdPartyFirewallCommand,    GetAdminAccountCommand,    GetAdminScopeCommand,    GetAppsListCommand,    GetComplianceDetailCommand,    GetNotificationChannelCommand,    GetPolicyCommand,    GetProtectionStatusCommand,    GetProtocolsListCommand,    GetResourceSetCommand,    GetThirdPartyFirewallAssociationStatusCommand,    GetViolationDetailsCommand,    ListAdminAccountsForOrganizationCommand,    ListAdminsManagingAccountCommand,    ListAppsListsCommand,    ListComplianceStatusCommand,    ListDiscoveredResourcesCommand,    ListMemberAccountsCommand,    ListPoliciesCommand,    ListProtocolsListsCommand,    ListResourceSetResourcesCommand,    ListResourceSetsCommand,    ListTagsForResourceCommand,    ListThirdPartyFirewallFirewallPoliciesCommand,    PutAdminAccountCommand,    PutAppsListCommand,    PutNotificationChannelCommand,    PutPolicyCommand,    PutProtocolsListCommand,    PutResourceSetCommand,    TagResourceCommand,    UntagResourceCommand,};const paginators = {    paginateListAdminAccountsForOrganization,    paginateListAdminsManagingAccount,    paginateListAppsLists,    paginateListComplianceStatus,    paginateListMemberAccounts,    paginateListPolicies,    paginateListProtocolsLists,    paginateListThirdPartyFirewallFirewallPolicies,};class FMS extends FMSClient {}client.createAggregatedClient(commands, FMS, { paginators }); const AccountRoleStatus = {    Creating: "CREATING",    Deleted: "DELETED",    Deleting: "DELETING",    PendingDeletion: "PENDING_DELETION",    Ready: "READY",};const OrganizationStatus = {    Offboarding: "OFFBOARDING",    OffboardingComplete: "OFFBOARDING_COMPLETE",    Onboarding: "ONBOARDING",    OnboardingComplete: "ONBOARDING_COMPLETE",};const SecurityServiceType = {    DNS_FIREWALL: "DNS_FIREWALL",    IMPORT_NETWORK_FIREWALL: "IMPORT_NETWORK_FIREWALL",    NETWORK_ACL_COMMON: "NETWORK_ACL_COMMON",    NETWORK_FIREWALL: "NETWORK_FIREWALL",    SECURITY_GROUPS_COMMON: "SECURITY_GROUPS_COMMON",    SECURITY_GROUPS_CONTENT_AUDIT: "SECURITY_GROUPS_CONTENT_AUDIT",    SECURITY_GROUPS_USAGE_AUDIT: "SECURITY_GROUPS_USAGE_AUDIT",    SHIELD_ADVANCED: "SHIELD_ADVANCED",    THIRD_PARTY_FIREWALL: "THIRD_PARTY_FIREWALL",    WAF: "WAF",    WAFV2: "WAFV2",};const ThirdPartyFirewall = {    FORTIGATE_CLOUD_NATIVE_FIREWALL: "FORTIGATE_CLOUD_NATIVE_FIREWALL",    PALO_ALTO_NETWORKS_CLOUD_NGFW: "PALO_ALTO_NETWORKS_CLOUD_NGFW",};const ThirdPartyFirewallAssociationStatus = {    NOT_EXIST: "NOT_EXIST",    OFFBOARDING: "OFFBOARDING",    OFFBOARD_COMPLETE: "OFFBOARD_COMPLETE",    ONBOARDING: "ONBOARDING",    ONBOARD_COMPLETE: "ONBOARD_COMPLETE",};const FailedItemReason = {    NotValidAccountId: "NOT_VALID_ACCOUNT_ID",    NotValidArn: "NOT_VALID_ARN",    NotValidPartition: "NOT_VALID_PARTITION",    NotValidRegion: "NOT_VALID_REGION",    NotValidResourceType: "NOT_VALID_RESOURCE_TYPE",    NotValidService: "NOT_VALID_SERVICE",};const DependentServiceName = {    AWSConfig: "AWSCONFIG",    AWSShieldAdvanced: "AWSSHIELD_ADVANCED",    AWSVirtualPrivateCloud: "AWSVPC",    AWSWAF: "AWSWAF",};const ViolationReason = {    BlackHoleRouteDetected: "BLACK_HOLE_ROUTE_DETECTED",    BlackHoleRouteDetectedInFirewallSubnet: "BLACK_HOLE_ROUTE_DETECTED_IN_FIREWALL_SUBNET",    FMSCreatedSecurityGroupEdited: "FMS_CREATED_SECURITY_GROUP_EDITED",    FirewallSubnetIsOutOfScope: "FIREWALL_SUBNET_IS_OUT_OF_SCOPE",    FirewallSubnetMissingExpectedRoute: "FIREWALL_SUBNET_MISSING_EXPECTED_ROUTE",    FirewallSubnetMissingVPCEndpoint: "FIREWALL_SUBNET_MISSING_VPCE_ENDPOINT",    InternetGatewayMissingExpectedRoute: "INTERNET_GATEWAY_MISSING_EXPECTED_ROUTE",    InternetTrafficNotInspected: "INTERNET_TRAFFIC_NOT_INSPECTED",    InvalidNetworkAclEntry: "INVALID_NETWORK_ACL_ENTRY",    InvalidRouteConfiguration: "INVALID_ROUTE_CONFIGURATION",    MissingExpectedRouteTable: "MISSING_EXPECTED_ROUTE_TABLE",    MissingFirewall: "MISSING_FIREWALL",    MissingFirewallSubnetInAZ: "MISSING_FIREWALL_SUBNET_IN_AZ",    MissingTargetGateway: "MISSING_TARGET_GATEWAY",    NetworkFirewallPolicyModified: "NETWORK_FIREWALL_POLICY_MODIFIED",    ResourceIncorrectWebAcl: "RESOURCE_INCORRECT_WEB_ACL",    ResourceMissingDnsFirewall: "RESOURCE_MISSING_DNS_FIREWALL",    ResourceMissingSecurityGroup: "RESOURCE_MISSING_SECURITY_GROUP",    ResourceMissingShieldProtection: "RESOURCE_MISSING_SHIELD_PROTECTION",    ResourceMissingWebAcl: "RESOURCE_MISSING_WEB_ACL",    ResourceMissingWebaclOrShieldProtection: "RESOURCE_MISSING_WEB_ACL_OR_SHIELD_PROTECTION",    ResourceViolatesAuditSecurityGroup: "RESOURCE_VIOLATES_AUDIT_SECURITY_GROUP",    RouteHasOutOfScopeEndpoint: "ROUTE_HAS_OUT_OF_SCOPE_ENDPOINT",    SecurityGroupRedundant: "SECURITY_GROUP_REDUNDANT",    SecurityGroupUnused: "SECURITY_GROUP_UNUSED",    TrafficInspectionCrossesAZBoundary: "TRAFFIC_INSPECTION_CROSSES_AZ_BOUNDARY",    UnexpectedFirewallRoutes: "UNEXPECTED_FIREWALL_ROUTES",    UnexpectedTargetGatewayRoutes: "UNEXPECTED_TARGET_GATEWAY_ROUTES",    WebACLConfigurationOrScopeOfUse: "WEB_ACL_CONFIGURATION_OR_SCOPE_OF_USE",    WebAclMissingRuleGroup: "WEB_ACL_MISSING_RULE_GROUP",};const CustomerPolicyScopeIdType = {    ACCOUNT: "ACCOUNT",    ORG_UNIT: "ORG_UNIT",};const CustomerPolicyStatus = {    ACTIVE: "ACTIVE",    OUT_OF_ADMIN_SCOPE: "OUT_OF_ADMIN_SCOPE",};const ResourceTagLogicalOperator = {    AND: "AND",    OR: "OR",};const NetworkAclRuleAction = {    ALLOW: "allow",    DENY: "deny",};const FirewallDeploymentModel = {    CENTRALIZED: "CENTRALIZED",    DISTRIBUTED: "DISTRIBUTED",};const ResourceSetStatus = {    ACTIVE: "ACTIVE",    OUT_OF_ADMIN_SCOPE: "OUT_OF_ADMIN_SCOPE",};const MarketplaceSubscriptionOnboardingStatus = {    COMPLETE: "COMPLETE",    NOT_COMPLETE: "NOT_COMPLETE",    NO_SUBSCRIPTION: "NO_SUBSCRIPTION",};const RemediationActionType = {    Modify: "MODIFY",    Remove: "REMOVE",};const EntryType = {    CustomEntry: "CUSTOM_ENTRY",    FMSManagedFirstEntry: "FMS_MANAGED_FIRST_ENTRY",    FMSManagedLastEntry: "FMS_MANAGED_LAST_ENTRY",};const EntryViolationReason = {    EntryConflict: "ENTRY_CONFLICT",    IncorrectEntryOrder: "INCORRECT_ENTRY_ORDER",    MissingExpectedEntry: "MISSING_EXPECTED_ENTRY",};const DestinationType = {    IPV4: "IPV4",    IPV6: "IPV6",    PrefixList: "PREFIX_LIST",};const TargetType = {    CarrierGateway: "CARRIER_GATEWAY",    EgressOnlyInternetGateway: "EGRESS_ONLY_INTERNET_GATEWAY",    Gateway: "GATEWAY",    Instance: "INSTANCE",    LocalGateway: "LOCAL_GATEWAY",    NatGateway: "NAT_GATEWAY",    NetworkInterface: "NETWORK_INTERFACE",    TransitGateway: "TRANSIT_GATEWAY",    VPCEndpoint: "VPC_ENDPOINT",    VPCPeeringConnection: "VPC_PEERING_CONNECTION",};const RuleOrder = {    DEFAULT_ACTION_ORDER: "DEFAULT_ACTION_ORDER",    STRICT_ORDER: "STRICT_ORDER",};const StreamExceptionPolicy = {    CONTINUE: "CONTINUE",    DROP: "DROP",    FMS_IGNORE: "FMS_IGNORE",    REJECT: "REJECT",};const NetworkFirewallOverrideAction = {    DROP_TO_ALERT: "DROP_TO_ALERT",};const PolicyComplianceStatusType = {    Compliant: "COMPLIANT",    NonCompliant: "NON_COMPLIANT",}; exports.$Command = client.Command;exports.__Client = client.Client;exports.FMSServiceException = FMSServiceException.FMSServiceException;exports.AccountRoleStatus = AccountRoleStatus;exports.AssociateAdminAccountCommand = AssociateAdminAccountCommand;exports.AssociateThirdPartyFirewallCommand = AssociateThirdPartyFirewallCommand;exports.BatchAssociateResourceCommand = BatchAssociateResourceCommand;exports.BatchDisassociateResourceCommand = BatchDisassociateResourceCommand;exports.CustomerPolicyScopeIdType = CustomerPolicyScopeIdType;exports.CustomerPolicyStatus = CustomerPolicyStatus;exports.DeleteAppsListCommand = DeleteAppsListCommand;exports.DeleteNotificationChannelCommand = DeleteNotificationChannelCommand;exports.DeletePolicyCommand = DeletePolicyCommand;exports.DeleteProtocolsListCommand = DeleteProtocolsListCommand;exports.DeleteResourceSetCommand = DeleteResourceSetCommand;exports.DependentServiceName = DependentServiceName;exports.DestinationType = DestinationType;exports.DisassociateAdminAccountCommand = DisassociateAdminAccountCommand;exports.DisassociateThirdPartyFirewallCommand = DisassociateThirdPartyFirewallCommand;exports.EntryType = EntryType;exports.EntryViolationReason = EntryViolationReason;exports.FMS = FMS;exports.FMSClient = FMSClient;exports.FailedItemReason = FailedItemReason;exports.FirewallDeploymentModel = FirewallDeploymentModel;exports.GetAdminAccountCommand = GetAdminAccountCommand;exports.GetAdminScopeCommand = GetAdminScopeCommand;exports.GetAppsListCommand = GetAppsListCommand;exports.GetComplianceDetailCommand = GetComplianceDetailCommand;exports.GetNotificationChannelCommand = GetNotificationChannelCommand;exports.GetPolicyCommand = GetPolicyCommand;exports.GetProtectionStatusCommand = GetProtectionStatusCommand;exports.GetProtocolsListCommand = GetProtocolsListCommand;exports.GetResourceSetCommand = GetResourceSetCommand;exports.GetThirdPartyFirewallAssociationStatusCommand = GetThirdPartyFirewallAssociationStatusCommand;exports.GetViolationDetailsCommand = GetViolationDetailsCommand;exports.ListAdminAccountsForOrganizationCommand = ListAdminAccountsForOrganizationCommand;exports.ListAdminsManagingAccountCommand = ListAdminsManagingAccountCommand;exports.ListAppsListsCommand = ListAppsListsCommand;exports.ListComplianceStatusCommand = ListComplianceStatusCommand;exports.ListDiscoveredResourcesCommand = ListDiscoveredResourcesCommand;exports.ListMemberAccountsCommand = ListMemberAccountsCommand;exports.ListPoliciesCommand = ListPoliciesCommand;exports.ListProtocolsListsCommand = ListProtocolsListsCommand;exports.ListResourceSetResourcesCommand = ListResourceSetResourcesCommand;exports.ListResourceSetsCommand = ListResourceSetsCommand;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.ListThirdPartyFirewallFirewallPoliciesCommand = ListThirdPartyFirewallFirewallPoliciesCommand;exports.MarketplaceSubscriptionOnboardingStatus = MarketplaceSubscriptionOnboardingStatus;exports.NetworkAclRuleAction = NetworkAclRuleAction;exports.NetworkFirewallOverrideAction = NetworkFirewallOverrideAction;exports.OrganizationStatus = OrganizationStatus;exports.PolicyComplianceStatusType = PolicyComplianceStatusType;exports.PutAdminAccountCommand = PutAdminAccountCommand;exports.PutAppsListCommand = PutAppsListCommand;exports.PutNotificationChannelCommand = PutNotificationChannelCommand;exports.PutPolicyCommand = PutPolicyCommand;exports.PutProtocolsListCommand = PutProtocolsListCommand;exports.PutResourceSetCommand = PutResourceSetCommand;exports.RemediationActionType = RemediationActionType;exports.ResourceSetStatus = ResourceSetStatus;exports.ResourceTagLogicalOperator = ResourceTagLogicalOperator;exports.RuleOrder = RuleOrder;exports.SecurityServiceType = SecurityServiceType;exports.StreamExceptionPolicy = StreamExceptionPolicy;exports.TagResourceCommand = TagResourceCommand;exports.TargetType = TargetType;exports.ThirdPartyFirewall = ThirdPartyFirewall;exports.ThirdPartyFirewallAssociationStatus = ThirdPartyFirewallAssociationStatus;exports.UntagResourceCommand = UntagResourceCommand;exports.ViolationReason = ViolationReason;exports.paginateListAdminAccountsForOrganization = paginateListAdminAccountsForOrganization;exports.paginateListAdminsManagingAccount = paginateListAdminsManagingAccount;exports.paginateListAppsLists = paginateListAppsLists;exports.paginateListComplianceStatus = paginateListComplianceStatus;exports.paginateListMemberAccounts = paginateListMemberAccounts;exports.paginateListPolicies = paginateListPolicies;exports.paginateListProtocolsLists = paginateListProtocolsLists;exports.paginateListThirdPartyFirewallFirewallPolicies = paginateListThirdPartyFirewallFirewallPolicies;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];});