/proc/self/root/var/runtime/node_modules/@aws-sdk/client-batch/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 /.
'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 BatchServiceException = require('./models/BatchServiceException'); const resolveClientEndpointParameters = (options) => { return Object.assign(options, { useDualstackEndpoint: options.useDualstackEndpoint ?? false, useFipsEndpoint: options.useFipsEndpoint ?? false, defaultSigningName: "batch", });};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 BatchClient 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.defaultBatchHttpAuthSchemeParametersProvider, identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({ "aws.auth#sigv4": config.credentials, }), })); this.middlewareStack.use(core.getHttpSigningPlugin(this.config)); } destroy() { super.destroy(); }} class CancelJobCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "CancelJob", {}) .n("BatchClient", "CancelJobCommand") .sc(schemas_0.CancelJob$) .build() {} class CreateComputeEnvironmentCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "CreateComputeEnvironment", {}) .n("BatchClient", "CreateComputeEnvironmentCommand") .sc(schemas_0.CreateComputeEnvironment$) .build() {} class CreateConsumableResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "CreateConsumableResource", {}) .n("BatchClient", "CreateConsumableResourceCommand") .sc(schemas_0.CreateConsumableResource$) .build() {} class CreateJobQueueCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "CreateJobQueue", {}) .n("BatchClient", "CreateJobQueueCommand") .sc(schemas_0.CreateJobQueue$) .build() {} class CreateQuotaShareCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "CreateQuotaShare", {}) .n("BatchClient", "CreateQuotaShareCommand") .sc(schemas_0.CreateQuotaShare$) .build() {} class CreateSchedulingPolicyCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "CreateSchedulingPolicy", {}) .n("BatchClient", "CreateSchedulingPolicyCommand") .sc(schemas_0.CreateSchedulingPolicy$) .build() {} class CreateServiceEnvironmentCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "CreateServiceEnvironment", {}) .n("BatchClient", "CreateServiceEnvironmentCommand") .sc(schemas_0.CreateServiceEnvironment$) .build() {} class DeleteComputeEnvironmentCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "DeleteComputeEnvironment", {}) .n("BatchClient", "DeleteComputeEnvironmentCommand") .sc(schemas_0.DeleteComputeEnvironment$) .build() {} class DeleteConsumableResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "DeleteConsumableResource", {}) .n("BatchClient", "DeleteConsumableResourceCommand") .sc(schemas_0.DeleteConsumableResource$) .build() {} class DeleteJobQueueCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "DeleteJobQueue", {}) .n("BatchClient", "DeleteJobQueueCommand") .sc(schemas_0.DeleteJobQueue$) .build() {} class DeleteQuotaShareCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "DeleteQuotaShare", {}) .n("BatchClient", "DeleteQuotaShareCommand") .sc(schemas_0.DeleteQuotaShare$) .build() {} class DeleteSchedulingPolicyCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "DeleteSchedulingPolicy", {}) .n("BatchClient", "DeleteSchedulingPolicyCommand") .sc(schemas_0.DeleteSchedulingPolicy$) .build() {} class DeleteServiceEnvironmentCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "DeleteServiceEnvironment", {}) .n("BatchClient", "DeleteServiceEnvironmentCommand") .sc(schemas_0.DeleteServiceEnvironment$) .build() {} class DeregisterJobDefinitionCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "DeregisterJobDefinition", {}) .n("BatchClient", "DeregisterJobDefinitionCommand") .sc(schemas_0.DeregisterJobDefinition$) .build() {} class DescribeComputeEnvironmentsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "DescribeComputeEnvironments", {}) .n("BatchClient", "DescribeComputeEnvironmentsCommand") .sc(schemas_0.DescribeComputeEnvironments$) .build() {} class DescribeConsumableResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "DescribeConsumableResource", {}) .n("BatchClient", "DescribeConsumableResourceCommand") .sc(schemas_0.DescribeConsumableResource$) .build() {} class DescribeJobDefinitionsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "DescribeJobDefinitions", {}) .n("BatchClient", "DescribeJobDefinitionsCommand") .sc(schemas_0.DescribeJobDefinitions$) .build() {} class DescribeJobQueuesCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "DescribeJobQueues", {}) .n("BatchClient", "DescribeJobQueuesCommand") .sc(schemas_0.DescribeJobQueues$) .build() {} class DescribeJobsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "DescribeJobs", {}) .n("BatchClient", "DescribeJobsCommand") .sc(schemas_0.DescribeJobs$) .build() {} class DescribeQuotaShareCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "DescribeQuotaShare", {}) .n("BatchClient", "DescribeQuotaShareCommand") .sc(schemas_0.DescribeQuotaShare$) .build() {} class DescribeSchedulingPoliciesCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "DescribeSchedulingPolicies", {}) .n("BatchClient", "DescribeSchedulingPoliciesCommand") .sc(schemas_0.DescribeSchedulingPolicies$) .build() {} class DescribeServiceEnvironmentsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "DescribeServiceEnvironments", {}) .n("BatchClient", "DescribeServiceEnvironmentsCommand") .sc(schemas_0.DescribeServiceEnvironments$) .build() {} class DescribeServiceJobCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "DescribeServiceJob", {}) .n("BatchClient", "DescribeServiceJobCommand") .sc(schemas_0.DescribeServiceJob$) .build() {} class GetJobQueueSnapshotCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "GetJobQueueSnapshot", {}) .n("BatchClient", "GetJobQueueSnapshotCommand") .sc(schemas_0.GetJobQueueSnapshot$) .build() {} class ListConsumableResourcesCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "ListConsumableResources", {}) .n("BatchClient", "ListConsumableResourcesCommand") .sc(schemas_0.ListConsumableResources$) .build() {} class ListJobsByConsumableResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "ListJobsByConsumableResource", {}) .n("BatchClient", "ListJobsByConsumableResourceCommand") .sc(schemas_0.ListJobsByConsumableResource$) .build() {} class ListJobsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "ListJobs", {}) .n("BatchClient", "ListJobsCommand") .sc(schemas_0.ListJobs$) .build() {} class ListQuotaSharesCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "ListQuotaShares", {}) .n("BatchClient", "ListQuotaSharesCommand") .sc(schemas_0.ListQuotaShares$) .build() {} class ListSchedulingPoliciesCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "ListSchedulingPolicies", {}) .n("BatchClient", "ListSchedulingPoliciesCommand") .sc(schemas_0.ListSchedulingPolicies$) .build() {} class ListServiceJobsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "ListServiceJobs", {}) .n("BatchClient", "ListServiceJobsCommand") .sc(schemas_0.ListServiceJobs$) .build() {} class ListTagsForResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "ListTagsForResource", {}) .n("BatchClient", "ListTagsForResourceCommand") .sc(schemas_0.ListTagsForResource$) .build() {} class RegisterJobDefinitionCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "RegisterJobDefinition", {}) .n("BatchClient", "RegisterJobDefinitionCommand") .sc(schemas_0.RegisterJobDefinition$) .build() {} class SubmitJobCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "SubmitJob", {}) .n("BatchClient", "SubmitJobCommand") .sc(schemas_0.SubmitJob$) .build() {} class SubmitServiceJobCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "SubmitServiceJob", {}) .n("BatchClient", "SubmitServiceJobCommand") .sc(schemas_0.SubmitServiceJob$) .build() {} class TagResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "TagResource", {}) .n("BatchClient", "TagResourceCommand") .sc(schemas_0.TagResource$) .build() {} class TerminateJobCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "TerminateJob", {}) .n("BatchClient", "TerminateJobCommand") .sc(schemas_0.TerminateJob$) .build() {} class TerminateServiceJobCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "TerminateServiceJob", {}) .n("BatchClient", "TerminateServiceJobCommand") .sc(schemas_0.TerminateServiceJob$) .build() {} class UntagResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "UntagResource", {}) .n("BatchClient", "UntagResourceCommand") .sc(schemas_0.UntagResource$) .build() {} class UpdateComputeEnvironmentCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "UpdateComputeEnvironment", {}) .n("BatchClient", "UpdateComputeEnvironmentCommand") .sc(schemas_0.UpdateComputeEnvironment$) .build() {} class UpdateConsumableResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "UpdateConsumableResource", {}) .n("BatchClient", "UpdateConsumableResourceCommand") .sc(schemas_0.UpdateConsumableResource$) .build() {} class UpdateJobQueueCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "UpdateJobQueue", {}) .n("BatchClient", "UpdateJobQueueCommand") .sc(schemas_0.UpdateJobQueue$) .build() {} class UpdateQuotaShareCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "UpdateQuotaShare", {}) .n("BatchClient", "UpdateQuotaShareCommand") .sc(schemas_0.UpdateQuotaShare$) .build() {} class UpdateSchedulingPolicyCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "UpdateSchedulingPolicy", {}) .n("BatchClient", "UpdateSchedulingPolicyCommand") .sc(schemas_0.UpdateSchedulingPolicy$) .build() {} class UpdateServiceEnvironmentCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "UpdateServiceEnvironment", {}) .n("BatchClient", "UpdateServiceEnvironmentCommand") .sc(schemas_0.UpdateServiceEnvironment$) .build() {} class UpdateServiceJobCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSBatchV20160810", "UpdateServiceJob", {}) .n("BatchClient", "UpdateServiceJobCommand") .sc(schemas_0.UpdateServiceJob$) .build() {} const paginateDescribeComputeEnvironments = core.createPaginator(BatchClient, DescribeComputeEnvironmentsCommand, "nextToken", "nextToken", "maxResults"); const paginateDescribeJobDefinitions = core.createPaginator(BatchClient, DescribeJobDefinitionsCommand, "nextToken", "nextToken", "maxResults"); const paginateDescribeJobQueues = core.createPaginator(BatchClient, DescribeJobQueuesCommand, "nextToken", "nextToken", "maxResults"); const paginateDescribeServiceEnvironments = core.createPaginator(BatchClient, DescribeServiceEnvironmentsCommand, "nextToken", "nextToken", "maxResults"); const paginateListConsumableResources = core.createPaginator(BatchClient, ListConsumableResourcesCommand, "nextToken", "nextToken", "maxResults"); const paginateListJobsByConsumableResource = core.createPaginator(BatchClient, ListJobsByConsumableResourceCommand, "nextToken", "nextToken", "maxResults"); const paginateListJobs = core.createPaginator(BatchClient, ListJobsCommand, "nextToken", "nextToken", "maxResults"); const paginateListQuotaShares = core.createPaginator(BatchClient, ListQuotaSharesCommand, "nextToken", "nextToken", "maxResults"); const paginateListSchedulingPolicies = core.createPaginator(BatchClient, ListSchedulingPoliciesCommand, "nextToken", "nextToken", "maxResults"); const paginateListServiceJobs = core.createPaginator(BatchClient, ListServiceJobsCommand, "nextToken", "nextToken", "maxResults"); const commands = { CancelJobCommand, CreateComputeEnvironmentCommand, CreateConsumableResourceCommand, CreateJobQueueCommand, CreateQuotaShareCommand, CreateSchedulingPolicyCommand, CreateServiceEnvironmentCommand, DeleteComputeEnvironmentCommand, DeleteConsumableResourceCommand, DeleteJobQueueCommand, DeleteQuotaShareCommand, DeleteSchedulingPolicyCommand, DeleteServiceEnvironmentCommand, DeregisterJobDefinitionCommand, DescribeComputeEnvironmentsCommand, DescribeConsumableResourceCommand, DescribeJobDefinitionsCommand, DescribeJobQueuesCommand, DescribeJobsCommand, DescribeQuotaShareCommand, DescribeSchedulingPoliciesCommand, DescribeServiceEnvironmentsCommand, DescribeServiceJobCommand, GetJobQueueSnapshotCommand, ListConsumableResourcesCommand, ListJobsCommand, ListJobsByConsumableResourceCommand, ListQuotaSharesCommand, ListSchedulingPoliciesCommand, ListServiceJobsCommand, ListTagsForResourceCommand, RegisterJobDefinitionCommand, SubmitJobCommand, SubmitServiceJobCommand, TagResourceCommand, TerminateJobCommand, TerminateServiceJobCommand, UntagResourceCommand, UpdateComputeEnvironmentCommand, UpdateConsumableResourceCommand, UpdateJobQueueCommand, UpdateQuotaShareCommand, UpdateSchedulingPolicyCommand, UpdateServiceEnvironmentCommand, UpdateServiceJobCommand,};const paginators = { paginateDescribeComputeEnvironments, paginateDescribeJobDefinitions, paginateDescribeJobQueues, paginateDescribeServiceEnvironments, paginateListConsumableResources, paginateListJobs, paginateListJobsByConsumableResource, paginateListQuotaShares, paginateListSchedulingPolicies, paginateListServiceJobs,};class Batch extends BatchClient {}client.createAggregatedClient(commands, Batch, { paginators }); const ArrayJobDependency = { N_TO_N: "N_TO_N", SEQUENTIAL: "SEQUENTIAL",};const AssignPublicIp = { DISABLED: "DISABLED", ENABLED: "ENABLED",};const CRAllocationStrategy = { BEST_FIT: "BEST_FIT", BEST_FIT_PROGRESSIVE: "BEST_FIT_PROGRESSIVE", SPOT_CAPACITY_OPTIMIZED: "SPOT_CAPACITY_OPTIMIZED", SPOT_PRICE_CAPACITY_OPTIMIZED: "SPOT_PRICE_CAPACITY_OPTIMIZED",};const UserdataType = { EKS_BOOTSTRAP_SH: "EKS_BOOTSTRAP_SH", EKS_NODEADM: "EKS_NODEADM",};const CRType = { EC2: "EC2", FARGATE: "FARGATE", FARGATE_SPOT: "FARGATE_SPOT", SPOT: "SPOT",};const CEState = { DISABLED: "DISABLED", ENABLED: "ENABLED",};const CEType = { MANAGED: "MANAGED", UNMANAGED: "UNMANAGED",};const JobQueueType = { ECS: "ECS", ECS_FARGATE: "ECS_FARGATE", EKS: "EKS", SAGEMAKER_TRAINING: "SAGEMAKER_TRAINING",};const JobStateTimeLimitActionsAction = { CANCEL: "CANCEL", TERMINATE: "TERMINATE",};const JobStateTimeLimitActionsState = { RUNNABLE: "RUNNABLE",};const JQState = { DISABLED: "DISABLED", ENABLED: "ENABLED",};const QuotaShareInSharePreemptionState = { DISABLED: "DISABLED", ENABLED: "ENABLED",};const QuotaShareResourceSharingStrategy = { LEND: "LEND", LEND_AND_BORROW: "LEND_AND_BORROW", RESERVE: "RESERVE",};const QuotaShareState = { DISABLED: "DISABLED", ENABLED: "ENABLED",};const QuotaShareIdleResourceAssignmentStrategy = { FIFO: "FIFO",};const ServiceEnvironmentType = { SAGEMAKER_TRAINING: "SAGEMAKER_TRAINING",};const ServiceEnvironmentState = { DISABLED: "DISABLED", ENABLED: "ENABLED",};const OrchestrationType = { ECS: "ECS", EKS: "EKS",};const CEStatus = { CREATING: "CREATING", DELETED: "DELETED", DELETING: "DELETING", INVALID: "INVALID", UPDATING: "UPDATING", VALID: "VALID",};const DeviceCgroupPermission = { MKNOD: "MKNOD", READ: "READ", WRITE: "WRITE",};const LogDriver = { AWSFIRELENS: "awsfirelens", AWSLOGS: "awslogs", FLUENTD: "fluentd", GELF: "gelf", JOURNALD: "journald", JSON_FILE: "json-file", SPLUNK: "splunk", SYSLOG: "syslog",};const ResourceType = { GPU: "GPU", MEMORY: "MEMORY", VCPU: "VCPU",};const EFSAuthorizationConfigIAM = { DISABLED: "DISABLED", ENABLED: "ENABLED",};const EFSTransitEncryption = { DISABLED: "DISABLED", ENABLED: "ENABLED",};const FirelensConfigurationType = { FLUENTBIT: "fluentbit", FLUENTD: "fluentd",};const PlatformCapability = { EC2: "EC2", FARGATE: "FARGATE",};const RetryAction = { EXIT: "EXIT", RETRY: "RETRY",};const JQStatus = { CREATING: "CREATING", DELETED: "DELETED", DELETING: "DELETING", INVALID: "INVALID", UPDATING: "UPDATING", VALID: "VALID",};const JobStatus = { FAILED: "FAILED", PENDING: "PENDING", RUNNABLE: "RUNNABLE", RUNNING: "RUNNING", STARTING: "STARTING", SUBMITTED: "SUBMITTED", SUCCEEDED: "SUCCEEDED",};const QuotaShareStatus = { CREATING: "CREATING", DELETING: "DELETING", INVALID: "INVALID", UPDATING: "UPDATING", VALID: "VALID",};const ServiceEnvironmentStatus = { CREATING: "CREATING", DELETED: "DELETED", DELETING: "DELETING", INVALID: "INVALID", UPDATING: "UPDATING", VALID: "VALID",};const ServiceResourceIdName = { SAGEMAKER_TRAINING_JOB_ARN: "TrainingJobArn",};const ServiceJobRetryAction = { EXIT: "EXIT", RETRY: "RETRY",};const ServiceJobType = { SAGEMAKER_TRAINING: "SAGEMAKER_TRAINING",};const ServiceJobStatus = { FAILED: "FAILED", PENDING: "PENDING", RUNNABLE: "RUNNABLE", RUNNING: "RUNNING", SCHEDULED: "SCHEDULED", STARTING: "STARTING", SUBMITTED: "SUBMITTED", SUCCEEDED: "SUCCEEDED",};const JobDefinitionType = { Container: "container", Multinode: "multinode",};const CRUpdateAllocationStrategy = { BEST_FIT_PROGRESSIVE: "BEST_FIT_PROGRESSIVE", SPOT_CAPACITY_OPTIMIZED: "SPOT_CAPACITY_OPTIMIZED", SPOT_PRICE_CAPACITY_OPTIMIZED: "SPOT_PRICE_CAPACITY_OPTIMIZED",}; exports.$Command = client.Command;exports.__Client = client.Client;exports.BatchServiceException = BatchServiceException.BatchServiceException;exports.ArrayJobDependency = ArrayJobDependency;exports.AssignPublicIp = AssignPublicIp;exports.Batch = Batch;exports.BatchClient = BatchClient;exports.CEState = CEState;exports.CEStatus = CEStatus;exports.CEType = CEType;exports.CRAllocationStrategy = CRAllocationStrategy;exports.CRType = CRType;exports.CRUpdateAllocationStrategy = CRUpdateAllocationStrategy;exports.CancelJobCommand = CancelJobCommand;exports.CreateComputeEnvironmentCommand = CreateComputeEnvironmentCommand;exports.CreateConsumableResourceCommand = CreateConsumableResourceCommand;exports.CreateJobQueueCommand = CreateJobQueueCommand;exports.CreateQuotaShareCommand = CreateQuotaShareCommand;exports.CreateSchedulingPolicyCommand = CreateSchedulingPolicyCommand;exports.CreateServiceEnvironmentCommand = CreateServiceEnvironmentCommand;exports.DeleteComputeEnvironmentCommand = DeleteComputeEnvironmentCommand;exports.DeleteConsumableResourceCommand = DeleteConsumableResourceCommand;exports.DeleteJobQueueCommand = DeleteJobQueueCommand;exports.DeleteQuotaShareCommand = DeleteQuotaShareCommand;exports.DeleteSchedulingPolicyCommand = DeleteSchedulingPolicyCommand;exports.DeleteServiceEnvironmentCommand = DeleteServiceEnvironmentCommand;exports.DeregisterJobDefinitionCommand = DeregisterJobDefinitionCommand;exports.DescribeComputeEnvironmentsCommand = DescribeComputeEnvironmentsCommand;exports.DescribeConsumableResourceCommand = DescribeConsumableResourceCommand;exports.DescribeJobDefinitionsCommand = DescribeJobDefinitionsCommand;exports.DescribeJobQueuesCommand = DescribeJobQueuesCommand;exports.DescribeJobsCommand = DescribeJobsCommand;exports.DescribeQuotaShareCommand = DescribeQuotaShareCommand;exports.DescribeSchedulingPoliciesCommand = DescribeSchedulingPoliciesCommand;exports.DescribeServiceEnvironmentsCommand = DescribeServiceEnvironmentsCommand;exports.DescribeServiceJobCommand = DescribeServiceJobCommand;exports.DeviceCgroupPermission = DeviceCgroupPermission;exports.EFSAuthorizationConfigIAM = EFSAuthorizationConfigIAM;exports.EFSTransitEncryption = EFSTransitEncryption;exports.FirelensConfigurationType = FirelensConfigurationType;exports.GetJobQueueSnapshotCommand = GetJobQueueSnapshotCommand;exports.JQState = JQState;exports.JQStatus = JQStatus;exports.JobDefinitionType = JobDefinitionType;exports.JobQueueType = JobQueueType;exports.JobStateTimeLimitActionsAction = JobStateTimeLimitActionsAction;exports.JobStateTimeLimitActionsState = JobStateTimeLimitActionsState;exports.JobStatus = JobStatus;exports.ListConsumableResourcesCommand = ListConsumableResourcesCommand;exports.ListJobsByConsumableResourceCommand = ListJobsByConsumableResourceCommand;exports.ListJobsCommand = ListJobsCommand;exports.ListQuotaSharesCommand = ListQuotaSharesCommand;exports.ListSchedulingPoliciesCommand = ListSchedulingPoliciesCommand;exports.ListServiceJobsCommand = ListServiceJobsCommand;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.LogDriver = LogDriver;exports.OrchestrationType = OrchestrationType;exports.PlatformCapability = PlatformCapability;exports.QuotaShareIdleResourceAssignmentStrategy = QuotaShareIdleResourceAssignmentStrategy;exports.QuotaShareInSharePreemptionState = QuotaShareInSharePreemptionState;exports.QuotaShareResourceSharingStrategy = QuotaShareResourceSharingStrategy;exports.QuotaShareState = QuotaShareState;exports.QuotaShareStatus = QuotaShareStatus;exports.RegisterJobDefinitionCommand = RegisterJobDefinitionCommand;exports.ResourceType = ResourceType;exports.RetryAction = RetryAction;exports.ServiceEnvironmentState = ServiceEnvironmentState;exports.ServiceEnvironmentStatus = ServiceEnvironmentStatus;exports.ServiceEnvironmentType = ServiceEnvironmentType;exports.ServiceJobRetryAction = ServiceJobRetryAction;exports.ServiceJobStatus = ServiceJobStatus;exports.ServiceJobType = ServiceJobType;exports.ServiceResourceIdName = ServiceResourceIdName;exports.SubmitJobCommand = SubmitJobCommand;exports.SubmitServiceJobCommand = SubmitServiceJobCommand;exports.TagResourceCommand = TagResourceCommand;exports.TerminateJobCommand = TerminateJobCommand;exports.TerminateServiceJobCommand = TerminateServiceJobCommand;exports.UntagResourceCommand = UntagResourceCommand;exports.UpdateComputeEnvironmentCommand = UpdateComputeEnvironmentCommand;exports.UpdateConsumableResourceCommand = UpdateConsumableResourceCommand;exports.UpdateJobQueueCommand = UpdateJobQueueCommand;exports.UpdateQuotaShareCommand = UpdateQuotaShareCommand;exports.UpdateSchedulingPolicyCommand = UpdateSchedulingPolicyCommand;exports.UpdateServiceEnvironmentCommand = UpdateServiceEnvironmentCommand;exports.UpdateServiceJobCommand = UpdateServiceJobCommand;exports.UserdataType = UserdataType;exports.paginateDescribeComputeEnvironments = paginateDescribeComputeEnvironments;exports.paginateDescribeJobDefinitions = paginateDescribeJobDefinitions;exports.paginateDescribeJobQueues = paginateDescribeJobQueues;exports.paginateDescribeServiceEnvironments = paginateDescribeServiceEnvironments;exports.paginateListConsumableResources = paginateListConsumableResources;exports.paginateListJobs = paginateListJobs;exports.paginateListJobsByConsumableResource = paginateListJobsByConsumableResource;exports.paginateListQuotaShares = paginateListQuotaShares;exports.paginateListSchedulingPolicies = paginateListSchedulingPolicies;exports.paginateListServiceJobs = paginateListServiceJobs;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];});