File Explorer

/proc/self/root/proc/self/root/var/runtime/node_modules/@aws-sdk/client-emr/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.js54.7 KB · 1548 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 EMRServiceException = require('./models/EMRServiceException'); const resolveClientEndpointParameters = (options) => {    return Object.assign(options, {        useDualstackEndpoint: options.useDualstackEndpoint ?? false,        useFipsEndpoint: options.useFipsEndpoint ?? false,        defaultSigningName: "elasticmapreduce",    });};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 EMRClient 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.defaultEMRHttpAuthSchemeParametersProvider,            identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({                "aws.auth#sigv4": config.credentials,            }),        }));        this.middlewareStack.use(core.getHttpSigningPlugin(this.config));    }    destroy() {        super.destroy();    }} class AddInstanceFleetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "AddInstanceFleet", {})    .n("EMRClient", "AddInstanceFleetCommand")    .sc(schemas_0.AddInstanceFleet$)    .build() {} class AddInstanceGroupsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "AddInstanceGroups", {})    .n("EMRClient", "AddInstanceGroupsCommand")    .sc(schemas_0.AddInstanceGroups$)    .build() {} class AddJobFlowStepsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "AddJobFlowSteps", {})    .n("EMRClient", "AddJobFlowStepsCommand")    .sc(schemas_0.AddJobFlowSteps$)    .build() {} class AddTagsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "AddTags", {})    .n("EMRClient", "AddTagsCommand")    .sc(schemas_0.AddTags$)    .build() {} class CancelStepsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "CancelSteps", {})    .n("EMRClient", "CancelStepsCommand")    .sc(schemas_0.CancelSteps$)    .build() {} class CreatePersistentAppUICommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "CreatePersistentAppUI", {})    .n("EMRClient", "CreatePersistentAppUICommand")    .sc(schemas_0.CreatePersistentAppUI$)    .build() {} class CreateSecurityConfigurationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "CreateSecurityConfiguration", {})    .n("EMRClient", "CreateSecurityConfigurationCommand")    .sc(schemas_0.CreateSecurityConfiguration$)    .build() {} class CreateStudioCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "CreateStudio", {})    .n("EMRClient", "CreateStudioCommand")    .sc(schemas_0.CreateStudio$)    .build() {} class CreateStudioSessionMappingCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "CreateStudioSessionMapping", {})    .n("EMRClient", "CreateStudioSessionMappingCommand")    .sc(schemas_0.CreateStudioSessionMapping$)    .build() {} class DeleteSecurityConfigurationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "DeleteSecurityConfiguration", {})    .n("EMRClient", "DeleteSecurityConfigurationCommand")    .sc(schemas_0.DeleteSecurityConfiguration$)    .build() {} class DeleteStudioCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "DeleteStudio", {})    .n("EMRClient", "DeleteStudioCommand")    .sc(schemas_0.DeleteStudio$)    .build() {} class DeleteStudioSessionMappingCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "DeleteStudioSessionMapping", {})    .n("EMRClient", "DeleteStudioSessionMappingCommand")    .sc(schemas_0.DeleteStudioSessionMapping$)    .build() {} class DescribeClusterCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "DescribeCluster", {})    .n("EMRClient", "DescribeClusterCommand")    .sc(schemas_0.DescribeCluster$)    .build() {} class DescribeJobFlowsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "DescribeJobFlows", {})    .n("EMRClient", "DescribeJobFlowsCommand")    .sc(schemas_0.DescribeJobFlows$)    .build() {} class DescribeNotebookExecutionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "DescribeNotebookExecution", {})    .n("EMRClient", "DescribeNotebookExecutionCommand")    .sc(schemas_0.DescribeNotebookExecution$)    .build() {} class DescribePersistentAppUICommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "DescribePersistentAppUI", {})    .n("EMRClient", "DescribePersistentAppUICommand")    .sc(schemas_0.DescribePersistentAppUI$)    .build() {} class DescribeReleaseLabelCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "DescribeReleaseLabel", {})    .n("EMRClient", "DescribeReleaseLabelCommand")    .sc(schemas_0.DescribeReleaseLabel$)    .build() {} class DescribeSecurityConfigurationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "DescribeSecurityConfiguration", {})    .n("EMRClient", "DescribeSecurityConfigurationCommand")    .sc(schemas_0.DescribeSecurityConfiguration$)    .build() {} class DescribeStepCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "DescribeStep", {})    .n("EMRClient", "DescribeStepCommand")    .sc(schemas_0.DescribeStep$)    .build() {} class DescribeStudioCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "DescribeStudio", {})    .n("EMRClient", "DescribeStudioCommand")    .sc(schemas_0.DescribeStudio$)    .build() {} class GetAutoTerminationPolicyCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "GetAutoTerminationPolicy", {})    .n("EMRClient", "GetAutoTerminationPolicyCommand")    .sc(schemas_0.GetAutoTerminationPolicy$)    .build() {} class GetBlockPublicAccessConfigurationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "GetBlockPublicAccessConfiguration", {})    .n("EMRClient", "GetBlockPublicAccessConfigurationCommand")    .sc(schemas_0.GetBlockPublicAccessConfiguration$)    .build() {} class GetClusterSessionCredentialsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "GetClusterSessionCredentials", {})    .n("EMRClient", "GetClusterSessionCredentialsCommand")    .sc(schemas_0.GetClusterSessionCredentials$)    .build() {} class GetManagedScalingPolicyCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "GetManagedScalingPolicy", {})    .n("EMRClient", "GetManagedScalingPolicyCommand")    .sc(schemas_0.GetManagedScalingPolicy$)    .build() {} class GetOnClusterAppUIPresignedURLCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "GetOnClusterAppUIPresignedURL", {})    .n("EMRClient", "GetOnClusterAppUIPresignedURLCommand")    .sc(schemas_0.GetOnClusterAppUIPresignedURL$)    .build() {} class GetPersistentAppUIPresignedURLCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "GetPersistentAppUIPresignedURL", {})    .n("EMRClient", "GetPersistentAppUIPresignedURLCommand")    .sc(schemas_0.GetPersistentAppUIPresignedURL$)    .build() {} class GetStudioSessionMappingCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "GetStudioSessionMapping", {})    .n("EMRClient", "GetStudioSessionMappingCommand")    .sc(schemas_0.GetStudioSessionMapping$)    .build() {} class ListBootstrapActionsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "ListBootstrapActions", {})    .n("EMRClient", "ListBootstrapActionsCommand")    .sc(schemas_0.ListBootstrapActions$)    .build() {} class ListClustersCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "ListClusters", {})    .n("EMRClient", "ListClustersCommand")    .sc(schemas_0.ListClusters$)    .build() {} class ListInstanceFleetsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "ListInstanceFleets", {})    .n("EMRClient", "ListInstanceFleetsCommand")    .sc(schemas_0.ListInstanceFleets$)    .build() {} class ListInstanceGroupsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "ListInstanceGroups", {})    .n("EMRClient", "ListInstanceGroupsCommand")    .sc(schemas_0.ListInstanceGroups$)    .build() {} class ListInstancesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "ListInstances", {})    .n("EMRClient", "ListInstancesCommand")    .sc(schemas_0.ListInstances$)    .build() {} class ListNotebookExecutionsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "ListNotebookExecutions", {})    .n("EMRClient", "ListNotebookExecutionsCommand")    .sc(schemas_0.ListNotebookExecutions$)    .build() {} class ListReleaseLabelsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "ListReleaseLabels", {})    .n("EMRClient", "ListReleaseLabelsCommand")    .sc(schemas_0.ListReleaseLabels$)    .build() {} class ListSecurityConfigurationsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "ListSecurityConfigurations", {})    .n("EMRClient", "ListSecurityConfigurationsCommand")    .sc(schemas_0.ListSecurityConfigurations$)    .build() {} class ListStepsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "ListSteps", {})    .n("EMRClient", "ListStepsCommand")    .sc(schemas_0.ListSteps$)    .build() {} class ListStudiosCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "ListStudios", {})    .n("EMRClient", "ListStudiosCommand")    .sc(schemas_0.ListStudios$)    .build() {} class ListStudioSessionMappingsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "ListStudioSessionMappings", {})    .n("EMRClient", "ListStudioSessionMappingsCommand")    .sc(schemas_0.ListStudioSessionMappings$)    .build() {} class ListSupportedInstanceTypesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "ListSupportedInstanceTypes", {})    .n("EMRClient", "ListSupportedInstanceTypesCommand")    .sc(schemas_0.ListSupportedInstanceTypes$)    .build() {} class ModifyClusterCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "ModifyCluster", {})    .n("EMRClient", "ModifyClusterCommand")    .sc(schemas_0.ModifyCluster$)    .build() {} class ModifyInstanceFleetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "ModifyInstanceFleet", {})    .n("EMRClient", "ModifyInstanceFleetCommand")    .sc(schemas_0.ModifyInstanceFleet$)    .build() {} class ModifyInstanceGroupsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "ModifyInstanceGroups", {})    .n("EMRClient", "ModifyInstanceGroupsCommand")    .sc(schemas_0.ModifyInstanceGroups$)    .build() {} class PutAutoScalingPolicyCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "PutAutoScalingPolicy", {})    .n("EMRClient", "PutAutoScalingPolicyCommand")    .sc(schemas_0.PutAutoScalingPolicy$)    .build() {} class PutAutoTerminationPolicyCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "PutAutoTerminationPolicy", {})    .n("EMRClient", "PutAutoTerminationPolicyCommand")    .sc(schemas_0.PutAutoTerminationPolicy$)    .build() {} class PutBlockPublicAccessConfigurationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "PutBlockPublicAccessConfiguration", {})    .n("EMRClient", "PutBlockPublicAccessConfigurationCommand")    .sc(schemas_0.PutBlockPublicAccessConfiguration$)    .build() {} class PutManagedScalingPolicyCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "PutManagedScalingPolicy", {})    .n("EMRClient", "PutManagedScalingPolicyCommand")    .sc(schemas_0.PutManagedScalingPolicy$)    .build() {} class RemoveAutoScalingPolicyCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "RemoveAutoScalingPolicy", {})    .n("EMRClient", "RemoveAutoScalingPolicyCommand")    .sc(schemas_0.RemoveAutoScalingPolicy$)    .build() {} class RemoveAutoTerminationPolicyCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "RemoveAutoTerminationPolicy", {})    .n("EMRClient", "RemoveAutoTerminationPolicyCommand")    .sc(schemas_0.RemoveAutoTerminationPolicy$)    .build() {} class RemoveManagedScalingPolicyCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "RemoveManagedScalingPolicy", {})    .n("EMRClient", "RemoveManagedScalingPolicyCommand")    .sc(schemas_0.RemoveManagedScalingPolicy$)    .build() {} class RemoveTagsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "RemoveTags", {})    .n("EMRClient", "RemoveTagsCommand")    .sc(schemas_0.RemoveTags$)    .build() {} class RunJobFlowCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "RunJobFlow", {})    .n("EMRClient", "RunJobFlowCommand")    .sc(schemas_0.RunJobFlow$)    .build() {} class SetKeepJobFlowAliveWhenNoStepsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "SetKeepJobFlowAliveWhenNoSteps", {})    .n("EMRClient", "SetKeepJobFlowAliveWhenNoStepsCommand")    .sc(schemas_0.SetKeepJobFlowAliveWhenNoSteps$)    .build() {} class SetTerminationProtectionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "SetTerminationProtection", {})    .n("EMRClient", "SetTerminationProtectionCommand")    .sc(schemas_0.SetTerminationProtection$)    .build() {} class SetUnhealthyNodeReplacementCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "SetUnhealthyNodeReplacement", {})    .n("EMRClient", "SetUnhealthyNodeReplacementCommand")    .sc(schemas_0.SetUnhealthyNodeReplacement$)    .build() {} class SetVisibleToAllUsersCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "SetVisibleToAllUsers", {})    .n("EMRClient", "SetVisibleToAllUsersCommand")    .sc(schemas_0.SetVisibleToAllUsers$)    .build() {} class StartNotebookExecutionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "StartNotebookExecution", {})    .n("EMRClient", "StartNotebookExecutionCommand")    .sc(schemas_0.StartNotebookExecution$)    .build() {} class StopNotebookExecutionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "StopNotebookExecution", {})    .n("EMRClient", "StopNotebookExecutionCommand")    .sc(schemas_0.StopNotebookExecution$)    .build() {} class TerminateJobFlowsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "TerminateJobFlows", {})    .n("EMRClient", "TerminateJobFlowsCommand")    .sc(schemas_0.TerminateJobFlows$)    .build() {} class UpdateStudioCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "UpdateStudio", {})    .n("EMRClient", "UpdateStudioCommand")    .sc(schemas_0.UpdateStudio$)    .build() {} class UpdateStudioSessionMappingCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("ElasticMapReduce", "UpdateStudioSessionMapping", {})    .n("EMRClient", "UpdateStudioSessionMappingCommand")    .sc(schemas_0.UpdateStudioSessionMapping$)    .build() {} const paginateListBootstrapActions = core.createPaginator(EMRClient, ListBootstrapActionsCommand, "Marker", "Marker", ""); const paginateListClusters = core.createPaginator(EMRClient, ListClustersCommand, "Marker", "Marker", ""); const paginateListInstanceFleets = core.createPaginator(EMRClient, ListInstanceFleetsCommand, "Marker", "Marker", ""); const paginateListInstanceGroups = core.createPaginator(EMRClient, ListInstanceGroupsCommand, "Marker", "Marker", ""); const paginateListInstances = core.createPaginator(EMRClient, ListInstancesCommand, "Marker", "Marker", ""); const paginateListNotebookExecutions = core.createPaginator(EMRClient, ListNotebookExecutionsCommand, "Marker", "Marker", ""); const paginateListReleaseLabels = core.createPaginator(EMRClient, ListReleaseLabelsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListSecurityConfigurations = core.createPaginator(EMRClient, ListSecurityConfigurationsCommand, "Marker", "Marker", ""); const paginateListSteps = core.createPaginator(EMRClient, ListStepsCommand, "Marker", "Marker", ""); const paginateListStudioSessionMappings = core.createPaginator(EMRClient, ListStudioSessionMappingsCommand, "Marker", "Marker", ""); const paginateListStudios = core.createPaginator(EMRClient, ListStudiosCommand, "Marker", "Marker", ""); const paginateListSupportedInstanceTypes = core.createPaginator(EMRClient, ListSupportedInstanceTypesCommand, "Marker", "Marker", ""); const checkState$2 = async (client$1, input) => {    let reason;    try {        let result = await client$1.send(new DescribeClusterCommand(input));        reason = result;        try {            const returnComparator = () => {                return result.Cluster.Status.State;            };            if (returnComparator() === "RUNNING") {                return { state: client.WaiterState.SUCCESS, reason };            }        }        catch (e) { }        try {            const returnComparator = () => {                return result.Cluster.Status.State;            };            if (returnComparator() === "WAITING") {                return { state: client.WaiterState.SUCCESS, reason };            }        }        catch (e) { }        try {            const returnComparator = () => {                return result.Cluster.Status.State;            };            if (returnComparator() === "TERMINATING") {                return { state: client.WaiterState.FAILURE, reason };            }        }        catch (e) { }        try {            const returnComparator = () => {                return result.Cluster.Status.State;            };            if (returnComparator() === "TERMINATED") {                return { state: client.WaiterState.FAILURE, reason };            }        }        catch (e) { }        try {            const returnComparator = () => {                return result.Cluster.Status.State;            };            if (returnComparator() === "TERMINATED_WITH_ERRORS") {                return { state: client.WaiterState.FAILURE, reason };            }        }        catch (e) { }    }    catch (exception) {        reason = exception;    }    return { state: client.WaiterState.RETRY, reason };};const waitForClusterRunning = async (params, input) => {    const serviceDefaults = { minDelay: 30, maxDelay: 120 };    return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);};const waitUntilClusterRunning = async (params, input) => {    const serviceDefaults = { minDelay: 30, maxDelay: 120 };    const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);    return client.checkExceptions(result);}; const checkState$1 = async (client$1, input) => {    let reason;    try {        let result = await client$1.send(new DescribeClusterCommand(input));        reason = result;        try {            const returnComparator = () => {                return result.Cluster.Status.State;            };            if (returnComparator() === "TERMINATED") {                return { state: client.WaiterState.SUCCESS, reason };            }        }        catch (e) { }        try {            const returnComparator = () => {                return result.Cluster.Status.State;            };            if (returnComparator() === "TERMINATED_WITH_ERRORS") {                return { state: client.WaiterState.FAILURE, reason };            }        }        catch (e) { }    }    catch (exception) {        reason = exception;    }    return { state: client.WaiterState.RETRY, reason };};const waitForClusterTerminated = async (params, input) => {    const serviceDefaults = { minDelay: 30, maxDelay: 120 };    return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);};const waitUntilClusterTerminated = async (params, input) => {    const serviceDefaults = { minDelay: 30, maxDelay: 120 };    const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);    return client.checkExceptions(result);}; const checkState = async (client$1, input) => {    let reason;    try {        let result = await client$1.send(new DescribeStepCommand(input));        reason = result;        try {            const returnComparator = () => {                return result.Step.Status.State;            };            if (returnComparator() === "COMPLETED") {                return { state: client.WaiterState.SUCCESS, reason };            }        }        catch (e) { }        try {            const returnComparator = () => {                return result.Step.Status.State;            };            if (returnComparator() === "FAILED") {                return { state: client.WaiterState.FAILURE, reason };            }        }        catch (e) { }        try {            const returnComparator = () => {                return result.Step.Status.State;            };            if (returnComparator() === "CANCELLED") {                return { state: client.WaiterState.FAILURE, reason };            }        }        catch (e) { }    }    catch (exception) {        reason = exception;    }    return { state: client.WaiterState.RETRY, reason };};const waitForStepComplete = async (params, input) => {    const serviceDefaults = { minDelay: 30, maxDelay: 120 };    return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState);};const waitUntilStepComplete = async (params, input) => {    const serviceDefaults = { minDelay: 30, maxDelay: 120 };    const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState);    return client.checkExceptions(result);}; const commands = {    AddInstanceFleetCommand,    AddInstanceGroupsCommand,    AddJobFlowStepsCommand,    AddTagsCommand,    CancelStepsCommand,    CreatePersistentAppUICommand,    CreateSecurityConfigurationCommand,    CreateStudioCommand,    CreateStudioSessionMappingCommand,    DeleteSecurityConfigurationCommand,    DeleteStudioCommand,    DeleteStudioSessionMappingCommand,    DescribeClusterCommand,    DescribeJobFlowsCommand,    DescribeNotebookExecutionCommand,    DescribePersistentAppUICommand,    DescribeReleaseLabelCommand,    DescribeSecurityConfigurationCommand,    DescribeStepCommand,    DescribeStudioCommand,    GetAutoTerminationPolicyCommand,    GetBlockPublicAccessConfigurationCommand,    GetClusterSessionCredentialsCommand,    GetManagedScalingPolicyCommand,    GetOnClusterAppUIPresignedURLCommand,    GetPersistentAppUIPresignedURLCommand,    GetStudioSessionMappingCommand,    ListBootstrapActionsCommand,    ListClustersCommand,    ListInstanceFleetsCommand,    ListInstanceGroupsCommand,    ListInstancesCommand,    ListNotebookExecutionsCommand,    ListReleaseLabelsCommand,    ListSecurityConfigurationsCommand,    ListStepsCommand,    ListStudiosCommand,    ListStudioSessionMappingsCommand,    ListSupportedInstanceTypesCommand,    ModifyClusterCommand,    ModifyInstanceFleetCommand,    ModifyInstanceGroupsCommand,    PutAutoScalingPolicyCommand,    PutAutoTerminationPolicyCommand,    PutBlockPublicAccessConfigurationCommand,    PutManagedScalingPolicyCommand,    RemoveAutoScalingPolicyCommand,    RemoveAutoTerminationPolicyCommand,    RemoveManagedScalingPolicyCommand,    RemoveTagsCommand,    RunJobFlowCommand,    SetKeepJobFlowAliveWhenNoStepsCommand,    SetTerminationProtectionCommand,    SetUnhealthyNodeReplacementCommand,    SetVisibleToAllUsersCommand,    StartNotebookExecutionCommand,    StopNotebookExecutionCommand,    TerminateJobFlowsCommand,    UpdateStudioCommand,    UpdateStudioSessionMappingCommand,};const paginators = {    paginateListBootstrapActions,    paginateListClusters,    paginateListInstanceFleets,    paginateListInstanceGroups,    paginateListInstances,    paginateListNotebookExecutions,    paginateListReleaseLabels,    paginateListSecurityConfigurations,    paginateListSteps,    paginateListStudios,    paginateListStudioSessionMappings,    paginateListSupportedInstanceTypes,};const waiters = {    waitUntilClusterRunning,    waitUntilClusterTerminated,    waitUntilStepComplete,};class EMR extends EMRClient {}client.createAggregatedClient(commands, EMR, { paginators, waiters }); const ActionOnFailure = {    CANCEL_AND_WAIT: "CANCEL_AND_WAIT",    CONTINUE: "CONTINUE",    TERMINATE_CLUSTER: "TERMINATE_CLUSTER",    TERMINATE_JOB_FLOW: "TERMINATE_JOB_FLOW",};const InstanceFleetType = {    CORE: "CORE",    MASTER: "MASTER",    TASK: "TASK",};const OnDemandProvisioningAllocationStrategy = {    LOWEST_PRICE: "lowest-price",    PRIORITIZED: "prioritized",};const OnDemandCapacityReservationPreference = {    NONE: "none",    OPEN: "open",};const OnDemandCapacityReservationUsageStrategy = {    USE_CAPACITY_RESERVATIONS_FIRST: "use-capacity-reservations-first",};const SpotProvisioningAllocationStrategy = {    CAPACITY_OPTIMIZED: "capacity-optimized",    CAPACITY_OPTIMIZED_PRIORITIZED: "capacity-optimized-prioritized",    DIVERSIFIED: "diversified",    LOWEST_PRICE: "lowest-price",    PRICE_CAPACITY_OPTIMIZED: "price-capacity-optimized",};const SpotProvisioningTimeoutAction = {    SWITCH_TO_ON_DEMAND: "SWITCH_TO_ON_DEMAND",    TERMINATE_CLUSTER: "TERMINATE_CLUSTER",};const MarketType = {    ON_DEMAND: "ON_DEMAND",    SPOT: "SPOT",};const AdjustmentType = {    CHANGE_IN_CAPACITY: "CHANGE_IN_CAPACITY",    EXACT_CAPACITY: "EXACT_CAPACITY",    PERCENT_CHANGE_IN_CAPACITY: "PERCENT_CHANGE_IN_CAPACITY",};const ComparisonOperator = {    GREATER_THAN: "GREATER_THAN",    GREATER_THAN_OR_EQUAL: "GREATER_THAN_OR_EQUAL",    LESS_THAN: "LESS_THAN",    LESS_THAN_OR_EQUAL: "LESS_THAN_OR_EQUAL",};const Statistic = {    AVERAGE: "AVERAGE",    MAXIMUM: "MAXIMUM",    MINIMUM: "MINIMUM",    SAMPLE_COUNT: "SAMPLE_COUNT",    SUM: "SUM",};const Unit = {    BITS: "BITS",    BITS_PER_SECOND: "BITS_PER_SECOND",    BYTES: "BYTES",    BYTES_PER_SECOND: "BYTES_PER_SECOND",    COUNT: "COUNT",    COUNT_PER_SECOND: "COUNT_PER_SECOND",    GIGA_BITS: "GIGA_BITS",    GIGA_BITS_PER_SECOND: "GIGA_BITS_PER_SECOND",    GIGA_BYTES: "GIGA_BYTES",    GIGA_BYTES_PER_SECOND: "GIGA_BYTES_PER_SECOND",    KILO_BITS: "KILO_BITS",    KILO_BITS_PER_SECOND: "KILO_BITS_PER_SECOND",    KILO_BYTES: "KILO_BYTES",    KILO_BYTES_PER_SECOND: "KILO_BYTES_PER_SECOND",    MEGA_BITS: "MEGA_BITS",    MEGA_BITS_PER_SECOND: "MEGA_BITS_PER_SECOND",    MEGA_BYTES: "MEGA_BYTES",    MEGA_BYTES_PER_SECOND: "MEGA_BYTES_PER_SECOND",    MICRO_SECONDS: "MICRO_SECONDS",    MILLI_SECONDS: "MILLI_SECONDS",    NONE: "NONE",    PERCENT: "PERCENT",    SECONDS: "SECONDS",    TERA_BITS: "TERA_BITS",    TERA_BITS_PER_SECOND: "TERA_BITS_PER_SECOND",    TERA_BYTES: "TERA_BYTES",    TERA_BYTES_PER_SECOND: "TERA_BYTES_PER_SECOND",};const InstanceRoleType = {    CORE: "CORE",    MASTER: "MASTER",    TASK: "TASK",};const AuthMode = {    IAM: "IAM",    SSO: "SSO",};const AutoScalingPolicyState = {    ATTACHED: "ATTACHED",    ATTACHING: "ATTACHING",    DETACHED: "DETACHED",    DETACHING: "DETACHING",    FAILED: "FAILED",    PENDING: "PENDING",};const AutoScalingPolicyStateChangeReasonCode = {    CLEANUP_FAILURE: "CLEANUP_FAILURE",    PROVISION_FAILURE: "PROVISION_FAILURE",    USER_REQUEST: "USER_REQUEST",};const StepCancellationOption = {    SEND_INTERRUPT: "SEND_INTERRUPT",    TERMINATE_PROCESS: "TERMINATE_PROCESS",};const CancelStepsRequestStatus = {    FAILED: "FAILED",    SUBMITTED: "SUBMITTED",};const InstanceCollectionType = {    INSTANCE_FLEET: "INSTANCE_FLEET",    INSTANCE_GROUP: "INSTANCE_GROUP",};const LogType = {    APPLICATION_LOGS: "application-logs",    PERSISTENT_UI_LOGS: "persistent-ui-logs",    SYSTEM_LOGS: "system-logs",};const LogUploadPolicyValue = {    DISABLED: "disabled",    EMR_MANAGED: "emr-managed",    ON_CUSTOMER_S3ONLY: "on-customer-s3only",};const PlacementGroupStrategy = {    CLUSTER: "CLUSTER",    NONE: "NONE",    PARTITION: "PARTITION",    SPREAD: "SPREAD",};const RepoUpgradeOnBoot = {    NONE: "NONE",    SECURITY: "SECURITY",};const ScaleDownBehavior = {    TERMINATE_AT_INSTANCE_HOUR: "TERMINATE_AT_INSTANCE_HOUR",    TERMINATE_AT_TASK_COMPLETION: "TERMINATE_AT_TASK_COMPLETION",};const ClusterState = {    BOOTSTRAPPING: "BOOTSTRAPPING",    RUNNING: "RUNNING",    STARTING: "STARTING",    TERMINATED: "TERMINATED",    TERMINATED_WITH_ERRORS: "TERMINATED_WITH_ERRORS",    TERMINATING: "TERMINATING",    WAITING: "WAITING",};const ClusterStateChangeReasonCode = {    ALL_STEPS_COMPLETED: "ALL_STEPS_COMPLETED",    BOOTSTRAP_FAILURE: "BOOTSTRAP_FAILURE",    INSTANCE_FAILURE: "INSTANCE_FAILURE",    INSTANCE_FLEET_TIMEOUT: "INSTANCE_FLEET_TIMEOUT",    INTERNAL_ERROR: "INTERNAL_ERROR",    STEP_FAILURE: "STEP_FAILURE",    USER_REQUEST: "USER_REQUEST",    VALIDATION_ERROR: "VALIDATION_ERROR",};const ComputeLimitsUnitType = {    InstanceFleetUnits: "InstanceFleetUnits",    Instances: "Instances",    VCPU: "VCPU",};const ProfilerType = {    SHS: "SHS",    TEZUI: "TEZUI",    YTS: "YTS",};const IdcUserAssignment = {    OPTIONAL: "OPTIONAL",    REQUIRED: "REQUIRED",};const IdentityType = {    GROUP: "GROUP",    USER: "USER",};const JobFlowExecutionState = {    BOOTSTRAPPING: "BOOTSTRAPPING",    COMPLETED: "COMPLETED",    FAILED: "FAILED",    RUNNING: "RUNNING",    SHUTTING_DOWN: "SHUTTING_DOWN",    STARTING: "STARTING",    TERMINATED: "TERMINATED",    WAITING: "WAITING",};const InstanceGroupState = {    ARRESTED: "ARRESTED",    BOOTSTRAPPING: "BOOTSTRAPPING",    ENDED: "ENDED",    PROVISIONING: "PROVISIONING",    RECONFIGURING: "RECONFIGURING",    RESIZING: "RESIZING",    RUNNING: "RUNNING",    SHUTTING_DOWN: "SHUTTING_DOWN",    SUSPENDED: "SUSPENDED",    TERMINATED: "TERMINATED",    TERMINATING: "TERMINATING",};const StepExecutionState = {    CANCELLED: "CANCELLED",    COMPLETED: "COMPLETED",    CONTINUE: "CONTINUE",    FAILED: "FAILED",    INTERRUPTED: "INTERRUPTED",    PENDING: "PENDING",    RUNNING: "RUNNING",};const ExecutionEngineType = {    EMR: "EMR",};const OutputNotebookFormat = {    HTML: "HTML",};const NotebookExecutionStatus = {    FAILED: "FAILED",    FAILING: "FAILING",    FINISHED: "FINISHED",    FINISHING: "FINISHING",    RUNNING: "RUNNING",    STARTING: "STARTING",    START_PENDING: "START_PENDING",    STOPPED: "STOPPED",    STOPPING: "STOPPING",    STOP_PENDING: "STOP_PENDING",};const PersistentAppUIType = {    SHS: "SHS",    TEZ: "TEZ",    YTS: "YTS",};const StepState = {    CANCELLED: "CANCELLED",    CANCEL_PENDING: "CANCEL_PENDING",    COMPLETED: "COMPLETED",    FAILED: "FAILED",    INTERRUPTED: "INTERRUPTED",    PENDING: "PENDING",    RUNNING: "RUNNING",};const StepStateChangeReasonCode = {    NONE: "NONE",};const ScalingStrategy = {    ADVANCED: "ADVANCED",    DEFAULT: "DEFAULT",};const OnClusterAppUIType = {    ApplicationMaster: "ApplicationMaster",    JobHistoryServer: "JobHistoryServer",    ResourceManager: "ResourceManager",    SparkHistoryServer: "SparkHistoryServer",    TezUI: "TezUI",    YarnTimelineService: "YarnTimelineService",};const InstanceFleetState = {    BOOTSTRAPPING: "BOOTSTRAPPING",    PROVISIONING: "PROVISIONING",    RECONFIGURING: "RECONFIGURING",    RESIZING: "RESIZING",    RUNNING: "RUNNING",    SUSPENDED: "SUSPENDED",    TERMINATED: "TERMINATED",    TERMINATING: "TERMINATING",};const InstanceFleetStateChangeReasonCode = {    CLUSTER_TERMINATED: "CLUSTER_TERMINATED",    INSTANCE_FAILURE: "INSTANCE_FAILURE",    INTERNAL_ERROR: "INTERNAL_ERROR",    VALIDATION_ERROR: "VALIDATION_ERROR",};const InstanceGroupType = {    CORE: "CORE",    MASTER: "MASTER",    TASK: "TASK",};const InstanceGroupStateChangeReasonCode = {    CLUSTER_TERMINATED: "CLUSTER_TERMINATED",    INSTANCE_FAILURE: "INSTANCE_FAILURE",    INTERNAL_ERROR: "INTERNAL_ERROR",    VALIDATION_ERROR: "VALIDATION_ERROR",};const InstanceState = {    AWAITING_FULFILLMENT: "AWAITING_FULFILLMENT",    BOOTSTRAPPING: "BOOTSTRAPPING",    PROVISIONING: "PROVISIONING",    RUNNING: "RUNNING",    TERMINATED: "TERMINATED",};const InstanceStateChangeReasonCode = {    BOOTSTRAP_FAILURE: "BOOTSTRAP_FAILURE",    CLUSTER_TERMINATED: "CLUSTER_TERMINATED",    INSTANCE_FAILURE: "INSTANCE_FAILURE",    INTERNAL_ERROR: "INTERNAL_ERROR",    VALIDATION_ERROR: "VALIDATION_ERROR",};const ReconfigurationType = {    MERGE: "MERGE",    OVERWRITE: "OVERWRITE",}; exports.$Command = client.Command;exports.__Client = client.Client;exports.EMRServiceException = EMRServiceException.EMRServiceException;exports.ActionOnFailure = ActionOnFailure;exports.AddInstanceFleetCommand = AddInstanceFleetCommand;exports.AddInstanceGroupsCommand = AddInstanceGroupsCommand;exports.AddJobFlowStepsCommand = AddJobFlowStepsCommand;exports.AddTagsCommand = AddTagsCommand;exports.AdjustmentType = AdjustmentType;exports.AuthMode = AuthMode;exports.AutoScalingPolicyState = AutoScalingPolicyState;exports.AutoScalingPolicyStateChangeReasonCode = AutoScalingPolicyStateChangeReasonCode;exports.CancelStepsCommand = CancelStepsCommand;exports.CancelStepsRequestStatus = CancelStepsRequestStatus;exports.ClusterState = ClusterState;exports.ClusterStateChangeReasonCode = ClusterStateChangeReasonCode;exports.ComparisonOperator = ComparisonOperator;exports.ComputeLimitsUnitType = ComputeLimitsUnitType;exports.CreatePersistentAppUICommand = CreatePersistentAppUICommand;exports.CreateSecurityConfigurationCommand = CreateSecurityConfigurationCommand;exports.CreateStudioCommand = CreateStudioCommand;exports.CreateStudioSessionMappingCommand = CreateStudioSessionMappingCommand;exports.DeleteSecurityConfigurationCommand = DeleteSecurityConfigurationCommand;exports.DeleteStudioCommand = DeleteStudioCommand;exports.DeleteStudioSessionMappingCommand = DeleteStudioSessionMappingCommand;exports.DescribeClusterCommand = DescribeClusterCommand;exports.DescribeJobFlowsCommand = DescribeJobFlowsCommand;exports.DescribeNotebookExecutionCommand = DescribeNotebookExecutionCommand;exports.DescribePersistentAppUICommand = DescribePersistentAppUICommand;exports.DescribeReleaseLabelCommand = DescribeReleaseLabelCommand;exports.DescribeSecurityConfigurationCommand = DescribeSecurityConfigurationCommand;exports.DescribeStepCommand = DescribeStepCommand;exports.DescribeStudioCommand = DescribeStudioCommand;exports.EMR = EMR;exports.EMRClient = EMRClient;exports.ExecutionEngineType = ExecutionEngineType;exports.GetAutoTerminationPolicyCommand = GetAutoTerminationPolicyCommand;exports.GetBlockPublicAccessConfigurationCommand = GetBlockPublicAccessConfigurationCommand;exports.GetClusterSessionCredentialsCommand = GetClusterSessionCredentialsCommand;exports.GetManagedScalingPolicyCommand = GetManagedScalingPolicyCommand;exports.GetOnClusterAppUIPresignedURLCommand = GetOnClusterAppUIPresignedURLCommand;exports.GetPersistentAppUIPresignedURLCommand = GetPersistentAppUIPresignedURLCommand;exports.GetStudioSessionMappingCommand = GetStudioSessionMappingCommand;exports.IdcUserAssignment = IdcUserAssignment;exports.IdentityType = IdentityType;exports.InstanceCollectionType = InstanceCollectionType;exports.InstanceFleetState = InstanceFleetState;exports.InstanceFleetStateChangeReasonCode = InstanceFleetStateChangeReasonCode;exports.InstanceFleetType = InstanceFleetType;exports.InstanceGroupState = InstanceGroupState;exports.InstanceGroupStateChangeReasonCode = InstanceGroupStateChangeReasonCode;exports.InstanceGroupType = InstanceGroupType;exports.InstanceRoleType = InstanceRoleType;exports.InstanceState = InstanceState;exports.InstanceStateChangeReasonCode = InstanceStateChangeReasonCode;exports.JobFlowExecutionState = JobFlowExecutionState;exports.ListBootstrapActionsCommand = ListBootstrapActionsCommand;exports.ListClustersCommand = ListClustersCommand;exports.ListInstanceFleetsCommand = ListInstanceFleetsCommand;exports.ListInstanceGroupsCommand = ListInstanceGroupsCommand;exports.ListInstancesCommand = ListInstancesCommand;exports.ListNotebookExecutionsCommand = ListNotebookExecutionsCommand;exports.ListReleaseLabelsCommand = ListReleaseLabelsCommand;exports.ListSecurityConfigurationsCommand = ListSecurityConfigurationsCommand;exports.ListStepsCommand = ListStepsCommand;exports.ListStudioSessionMappingsCommand = ListStudioSessionMappingsCommand;exports.ListStudiosCommand = ListStudiosCommand;exports.ListSupportedInstanceTypesCommand = ListSupportedInstanceTypesCommand;exports.LogType = LogType;exports.LogUploadPolicyValue = LogUploadPolicyValue;exports.MarketType = MarketType;exports.ModifyClusterCommand = ModifyClusterCommand;exports.ModifyInstanceFleetCommand = ModifyInstanceFleetCommand;exports.ModifyInstanceGroupsCommand = ModifyInstanceGroupsCommand;exports.NotebookExecutionStatus = NotebookExecutionStatus;exports.OnClusterAppUIType = OnClusterAppUIType;exports.OnDemandCapacityReservationPreference = OnDemandCapacityReservationPreference;exports.OnDemandCapacityReservationUsageStrategy = OnDemandCapacityReservationUsageStrategy;exports.OnDemandProvisioningAllocationStrategy = OnDemandProvisioningAllocationStrategy;exports.OutputNotebookFormat = OutputNotebookFormat;exports.PersistentAppUIType = PersistentAppUIType;exports.PlacementGroupStrategy = PlacementGroupStrategy;exports.ProfilerType = ProfilerType;exports.PutAutoScalingPolicyCommand = PutAutoScalingPolicyCommand;exports.PutAutoTerminationPolicyCommand = PutAutoTerminationPolicyCommand;exports.PutBlockPublicAccessConfigurationCommand = PutBlockPublicAccessConfigurationCommand;exports.PutManagedScalingPolicyCommand = PutManagedScalingPolicyCommand;exports.ReconfigurationType = ReconfigurationType;exports.RemoveAutoScalingPolicyCommand = RemoveAutoScalingPolicyCommand;exports.RemoveAutoTerminationPolicyCommand = RemoveAutoTerminationPolicyCommand;exports.RemoveManagedScalingPolicyCommand = RemoveManagedScalingPolicyCommand;exports.RemoveTagsCommand = RemoveTagsCommand;exports.RepoUpgradeOnBoot = RepoUpgradeOnBoot;exports.RunJobFlowCommand = RunJobFlowCommand;exports.ScaleDownBehavior = ScaleDownBehavior;exports.ScalingStrategy = ScalingStrategy;exports.SetKeepJobFlowAliveWhenNoStepsCommand = SetKeepJobFlowAliveWhenNoStepsCommand;exports.SetTerminationProtectionCommand = SetTerminationProtectionCommand;exports.SetUnhealthyNodeReplacementCommand = SetUnhealthyNodeReplacementCommand;exports.SetVisibleToAllUsersCommand = SetVisibleToAllUsersCommand;exports.SpotProvisioningAllocationStrategy = SpotProvisioningAllocationStrategy;exports.SpotProvisioningTimeoutAction = SpotProvisioningTimeoutAction;exports.StartNotebookExecutionCommand = StartNotebookExecutionCommand;exports.Statistic = Statistic;exports.StepCancellationOption = StepCancellationOption;exports.StepExecutionState = StepExecutionState;exports.StepState = StepState;exports.StepStateChangeReasonCode = StepStateChangeReasonCode;exports.StopNotebookExecutionCommand = StopNotebookExecutionCommand;exports.TerminateJobFlowsCommand = TerminateJobFlowsCommand;exports.Unit = Unit;exports.UpdateStudioCommand = UpdateStudioCommand;exports.UpdateStudioSessionMappingCommand = UpdateStudioSessionMappingCommand;exports.paginateListBootstrapActions = paginateListBootstrapActions;exports.paginateListClusters = paginateListClusters;exports.paginateListInstanceFleets = paginateListInstanceFleets;exports.paginateListInstanceGroups = paginateListInstanceGroups;exports.paginateListInstances = paginateListInstances;exports.paginateListNotebookExecutions = paginateListNotebookExecutions;exports.paginateListReleaseLabels = paginateListReleaseLabels;exports.paginateListSecurityConfigurations = paginateListSecurityConfigurations;exports.paginateListSteps = paginateListSteps;exports.paginateListStudioSessionMappings = paginateListStudioSessionMappings;exports.paginateListStudios = paginateListStudios;exports.paginateListSupportedInstanceTypes = paginateListSupportedInstanceTypes;exports.waitForClusterRunning = waitForClusterRunning;exports.waitForClusterTerminated = waitForClusterTerminated;exports.waitForStepComplete = waitForStepComplete;exports.waitUntilClusterRunning = waitUntilClusterRunning;exports.waitUntilClusterTerminated = waitUntilClusterTerminated;exports.waitUntilStepComplete = waitUntilStepComplete;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];});