File Explorer

/proc/self/root/var/runtime/node_modules/@aws-sdk/client-datasync/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.js38.9 KB · 1162 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 DataSyncServiceException = require('./models/DataSyncServiceException'); const resolveClientEndpointParameters = (options) => {    return Object.assign(options, {        useDualstackEndpoint: options.useDualstackEndpoint ?? false,        useFipsEndpoint: options.useFipsEndpoint ?? false,        defaultSigningName: "datasync",    });};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 DataSyncClient 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.defaultDataSyncHttpAuthSchemeParametersProvider,            identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({                "aws.auth#sigv4": config.credentials,            }),        }));        this.middlewareStack.use(core.getHttpSigningPlugin(this.config));    }    destroy() {        super.destroy();    }} class CancelTaskExecutionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "CancelTaskExecution", {})    .n("DataSyncClient", "CancelTaskExecutionCommand")    .sc(schemas_0.CancelTaskExecution$)    .build() {} class CreateAgentCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "CreateAgent", {})    .n("DataSyncClient", "CreateAgentCommand")    .sc(schemas_0.CreateAgent$)    .build() {} class CreateLocationAzureBlobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "CreateLocationAzureBlob", {})    .n("DataSyncClient", "CreateLocationAzureBlobCommand")    .sc(schemas_0.CreateLocationAzureBlob$)    .build() {} class CreateLocationEfsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "CreateLocationEfs", {})    .n("DataSyncClient", "CreateLocationEfsCommand")    .sc(schemas_0.CreateLocationEfs$)    .build() {} class CreateLocationFsxLustreCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "CreateLocationFsxLustre", {})    .n("DataSyncClient", "CreateLocationFsxLustreCommand")    .sc(schemas_0.CreateLocationFsxLustre$)    .build() {} class CreateLocationFsxOntapCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "CreateLocationFsxOntap", {})    .n("DataSyncClient", "CreateLocationFsxOntapCommand")    .sc(schemas_0.CreateLocationFsxOntap$)    .build() {} class CreateLocationFsxOpenZfsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "CreateLocationFsxOpenZfs", {})    .n("DataSyncClient", "CreateLocationFsxOpenZfsCommand")    .sc(schemas_0.CreateLocationFsxOpenZfs$)    .build() {} class CreateLocationFsxWindowsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "CreateLocationFsxWindows", {})    .n("DataSyncClient", "CreateLocationFsxWindowsCommand")    .sc(schemas_0.CreateLocationFsxWindows$)    .build() {} class CreateLocationHdfsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "CreateLocationHdfs", {})    .n("DataSyncClient", "CreateLocationHdfsCommand")    .sc(schemas_0.CreateLocationHdfs$)    .build() {} class CreateLocationNfsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "CreateLocationNfs", {})    .n("DataSyncClient", "CreateLocationNfsCommand")    .sc(schemas_0.CreateLocationNfs$)    .build() {} class CreateLocationObjectStorageCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "CreateLocationObjectStorage", {})    .n("DataSyncClient", "CreateLocationObjectStorageCommand")    .sc(schemas_0.CreateLocationObjectStorage$)    .build() {} class CreateLocationS3Command extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "CreateLocationS3", {})    .n("DataSyncClient", "CreateLocationS3Command")    .sc(schemas_0.CreateLocationS3$)    .build() {} class CreateLocationSmbCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "CreateLocationSmb", {})    .n("DataSyncClient", "CreateLocationSmbCommand")    .sc(schemas_0.CreateLocationSmb$)    .build() {} class CreateTaskCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "CreateTask", {})    .n("DataSyncClient", "CreateTaskCommand")    .sc(schemas_0.CreateTask$)    .build() {} class DeleteAgentCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "DeleteAgent", {})    .n("DataSyncClient", "DeleteAgentCommand")    .sc(schemas_0.DeleteAgent$)    .build() {} class DeleteLocationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "DeleteLocation", {})    .n("DataSyncClient", "DeleteLocationCommand")    .sc(schemas_0.DeleteLocation$)    .build() {} class DeleteTaskCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "DeleteTask", {})    .n("DataSyncClient", "DeleteTaskCommand")    .sc(schemas_0.DeleteTask$)    .build() {} class DescribeAgentCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "DescribeAgent", {})    .n("DataSyncClient", "DescribeAgentCommand")    .sc(schemas_0.DescribeAgent$)    .build() {} class DescribeLocationAzureBlobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "DescribeLocationAzureBlob", {})    .n("DataSyncClient", "DescribeLocationAzureBlobCommand")    .sc(schemas_0.DescribeLocationAzureBlob$)    .build() {} class DescribeLocationEfsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "DescribeLocationEfs", {})    .n("DataSyncClient", "DescribeLocationEfsCommand")    .sc(schemas_0.DescribeLocationEfs$)    .build() {} class DescribeLocationFsxLustreCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "DescribeLocationFsxLustre", {})    .n("DataSyncClient", "DescribeLocationFsxLustreCommand")    .sc(schemas_0.DescribeLocationFsxLustre$)    .build() {} class DescribeLocationFsxOntapCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "DescribeLocationFsxOntap", {})    .n("DataSyncClient", "DescribeLocationFsxOntapCommand")    .sc(schemas_0.DescribeLocationFsxOntap$)    .build() {} class DescribeLocationFsxOpenZfsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "DescribeLocationFsxOpenZfs", {})    .n("DataSyncClient", "DescribeLocationFsxOpenZfsCommand")    .sc(schemas_0.DescribeLocationFsxOpenZfs$)    .build() {} class DescribeLocationFsxWindowsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "DescribeLocationFsxWindows", {})    .n("DataSyncClient", "DescribeLocationFsxWindowsCommand")    .sc(schemas_0.DescribeLocationFsxWindows$)    .build() {} class DescribeLocationHdfsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "DescribeLocationHdfs", {})    .n("DataSyncClient", "DescribeLocationHdfsCommand")    .sc(schemas_0.DescribeLocationHdfs$)    .build() {} class DescribeLocationNfsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "DescribeLocationNfs", {})    .n("DataSyncClient", "DescribeLocationNfsCommand")    .sc(schemas_0.DescribeLocationNfs$)    .build() {} class DescribeLocationObjectStorageCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "DescribeLocationObjectStorage", {})    .n("DataSyncClient", "DescribeLocationObjectStorageCommand")    .sc(schemas_0.DescribeLocationObjectStorage$)    .build() {} class DescribeLocationS3Command extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "DescribeLocationS3", {})    .n("DataSyncClient", "DescribeLocationS3Command")    .sc(schemas_0.DescribeLocationS3$)    .build() {} class DescribeLocationSmbCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "DescribeLocationSmb", {})    .n("DataSyncClient", "DescribeLocationSmbCommand")    .sc(schemas_0.DescribeLocationSmb$)    .build() {} class DescribeTaskCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "DescribeTask", {})    .n("DataSyncClient", "DescribeTaskCommand")    .sc(schemas_0.DescribeTask$)    .build() {} class DescribeTaskExecutionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "DescribeTaskExecution", {})    .n("DataSyncClient", "DescribeTaskExecutionCommand")    .sc(schemas_0.DescribeTaskExecution$)    .build() {} class ListAgentsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "ListAgents", {})    .n("DataSyncClient", "ListAgentsCommand")    .sc(schemas_0.ListAgents$)    .build() {} class ListLocationsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "ListLocations", {})    .n("DataSyncClient", "ListLocationsCommand")    .sc(schemas_0.ListLocations$)    .build() {} class ListTagsForResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "ListTagsForResource", {})    .n("DataSyncClient", "ListTagsForResourceCommand")    .sc(schemas_0.ListTagsForResource$)    .build() {} class ListTaskExecutionsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "ListTaskExecutions", {})    .n("DataSyncClient", "ListTaskExecutionsCommand")    .sc(schemas_0.ListTaskExecutions$)    .build() {} class ListTasksCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "ListTasks", {})    .n("DataSyncClient", "ListTasksCommand")    .sc(schemas_0.ListTasks$)    .build() {} class StartTaskExecutionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "StartTaskExecution", {})    .n("DataSyncClient", "StartTaskExecutionCommand")    .sc(schemas_0.StartTaskExecution$)    .build() {} class TagResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "TagResource", {})    .n("DataSyncClient", "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("FmrsService", "UntagResource", {})    .n("DataSyncClient", "UntagResourceCommand")    .sc(schemas_0.UntagResource$)    .build() {} class UpdateAgentCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "UpdateAgent", {})    .n("DataSyncClient", "UpdateAgentCommand")    .sc(schemas_0.UpdateAgent$)    .build() {} class UpdateLocationAzureBlobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "UpdateLocationAzureBlob", {})    .n("DataSyncClient", "UpdateLocationAzureBlobCommand")    .sc(schemas_0.UpdateLocationAzureBlob$)    .build() {} class UpdateLocationEfsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "UpdateLocationEfs", {})    .n("DataSyncClient", "UpdateLocationEfsCommand")    .sc(schemas_0.UpdateLocationEfs$)    .build() {} class UpdateLocationFsxLustreCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "UpdateLocationFsxLustre", {})    .n("DataSyncClient", "UpdateLocationFsxLustreCommand")    .sc(schemas_0.UpdateLocationFsxLustre$)    .build() {} class UpdateLocationFsxOntapCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "UpdateLocationFsxOntap", {})    .n("DataSyncClient", "UpdateLocationFsxOntapCommand")    .sc(schemas_0.UpdateLocationFsxOntap$)    .build() {} class UpdateLocationFsxOpenZfsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "UpdateLocationFsxOpenZfs", {})    .n("DataSyncClient", "UpdateLocationFsxOpenZfsCommand")    .sc(schemas_0.UpdateLocationFsxOpenZfs$)    .build() {} class UpdateLocationFsxWindowsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "UpdateLocationFsxWindows", {})    .n("DataSyncClient", "UpdateLocationFsxWindowsCommand")    .sc(schemas_0.UpdateLocationFsxWindows$)    .build() {} class UpdateLocationHdfsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "UpdateLocationHdfs", {})    .n("DataSyncClient", "UpdateLocationHdfsCommand")    .sc(schemas_0.UpdateLocationHdfs$)    .build() {} class UpdateLocationNfsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "UpdateLocationNfs", {})    .n("DataSyncClient", "UpdateLocationNfsCommand")    .sc(schemas_0.UpdateLocationNfs$)    .build() {} class UpdateLocationObjectStorageCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "UpdateLocationObjectStorage", {})    .n("DataSyncClient", "UpdateLocationObjectStorageCommand")    .sc(schemas_0.UpdateLocationObjectStorage$)    .build() {} class UpdateLocationS3Command extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "UpdateLocationS3", {})    .n("DataSyncClient", "UpdateLocationS3Command")    .sc(schemas_0.UpdateLocationS3$)    .build() {} class UpdateLocationSmbCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "UpdateLocationSmb", {})    .n("DataSyncClient", "UpdateLocationSmbCommand")    .sc(schemas_0.UpdateLocationSmb$)    .build() {} class UpdateTaskCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "UpdateTask", {})    .n("DataSyncClient", "UpdateTaskCommand")    .sc(schemas_0.UpdateTask$)    .build() {} class UpdateTaskExecutionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("FmrsService", "UpdateTaskExecution", {})    .n("DataSyncClient", "UpdateTaskExecutionCommand")    .sc(schemas_0.UpdateTaskExecution$)    .build() {} const paginateListAgents = core.createPaginator(DataSyncClient, ListAgentsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListLocations = core.createPaginator(DataSyncClient, ListLocationsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListTagsForResource = core.createPaginator(DataSyncClient, ListTagsForResourceCommand, "NextToken", "NextToken", "MaxResults"); const paginateListTaskExecutions = core.createPaginator(DataSyncClient, ListTaskExecutionsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListTasks = core.createPaginator(DataSyncClient, ListTasksCommand, "NextToken", "NextToken", "MaxResults"); const commands = {    CancelTaskExecutionCommand,    CreateAgentCommand,    CreateLocationAzureBlobCommand,    CreateLocationEfsCommand,    CreateLocationFsxLustreCommand,    CreateLocationFsxOntapCommand,    CreateLocationFsxOpenZfsCommand,    CreateLocationFsxWindowsCommand,    CreateLocationHdfsCommand,    CreateLocationNfsCommand,    CreateLocationObjectStorageCommand,    CreateLocationS3Command,    CreateLocationSmbCommand,    CreateTaskCommand,    DeleteAgentCommand,    DeleteLocationCommand,    DeleteTaskCommand,    DescribeAgentCommand,    DescribeLocationAzureBlobCommand,    DescribeLocationEfsCommand,    DescribeLocationFsxLustreCommand,    DescribeLocationFsxOntapCommand,    DescribeLocationFsxOpenZfsCommand,    DescribeLocationFsxWindowsCommand,    DescribeLocationHdfsCommand,    DescribeLocationNfsCommand,    DescribeLocationObjectStorageCommand,    DescribeLocationS3Command,    DescribeLocationSmbCommand,    DescribeTaskCommand,    DescribeTaskExecutionCommand,    ListAgentsCommand,    ListLocationsCommand,    ListTagsForResourceCommand,    ListTaskExecutionsCommand,    ListTasksCommand,    StartTaskExecutionCommand,    TagResourceCommand,    UntagResourceCommand,    UpdateAgentCommand,    UpdateLocationAzureBlobCommand,    UpdateLocationEfsCommand,    UpdateLocationFsxLustreCommand,    UpdateLocationFsxOntapCommand,    UpdateLocationFsxOpenZfsCommand,    UpdateLocationFsxWindowsCommand,    UpdateLocationHdfsCommand,    UpdateLocationNfsCommand,    UpdateLocationObjectStorageCommand,    UpdateLocationS3Command,    UpdateLocationSmbCommand,    UpdateTaskCommand,    UpdateTaskExecutionCommand,};const paginators = {    paginateListAgents,    paginateListLocations,    paginateListTagsForResource,    paginateListTaskExecutions,    paginateListTasks,};class DataSync extends DataSyncClient {}client.createAggregatedClient(commands, DataSync, { paginators }); const AgentStatus = {    OFFLINE: "OFFLINE",    ONLINE: "ONLINE",};const Atime = {    BEST_EFFORT: "BEST_EFFORT",    NONE: "NONE",};const AzureAccessTier = {    ARCHIVE: "ARCHIVE",    COOL: "COOL",    HOT: "HOT",};const AzureBlobAuthenticationType = {    NONE: "NONE",    SAS: "SAS",};const AzureBlobType = {    BLOCK: "BLOCK",};const EfsInTransitEncryption = {    NONE: "NONE",    TLS1_2: "TLS1_2",};const NfsVersion = {    AUTOMATIC: "AUTOMATIC",    NFS3: "NFS3",    NFS4_0: "NFS4_0",    NFS4_1: "NFS4_1",};const SmbVersion = {    AUTOMATIC: "AUTOMATIC",    SMB1: "SMB1",    SMB2: "SMB2",    SMB2_0: "SMB2_0",    SMB3: "SMB3",};const HdfsAuthenticationType = {    KERBEROS: "KERBEROS",    SIMPLE: "SIMPLE",};const HdfsDataTransferProtection = {    AUTHENTICATION: "AUTHENTICATION",    DISABLED: "DISABLED",    INTEGRITY: "INTEGRITY",    PRIVACY: "PRIVACY",};const HdfsRpcProtection = {    AUTHENTICATION: "AUTHENTICATION",    DISABLED: "DISABLED",    INTEGRITY: "INTEGRITY",    PRIVACY: "PRIVACY",};const ObjectStorageServerProtocol = {    HTTP: "HTTP",    HTTPS: "HTTPS",};const S3StorageClass = {    DEEP_ARCHIVE: "DEEP_ARCHIVE",    GLACIER: "GLACIER",    GLACIER_INSTANT_RETRIEVAL: "GLACIER_INSTANT_RETRIEVAL",    INTELLIGENT_TIERING: "INTELLIGENT_TIERING",    ONEZONE_IA: "ONEZONE_IA",    OUTPOSTS: "OUTPOSTS",    STANDARD: "STANDARD",    STANDARD_IA: "STANDARD_IA",};const SmbAuthenticationType = {    KERBEROS: "KERBEROS",    NTLM: "NTLM",};const FilterType = {    SIMPLE_PATTERN: "SIMPLE_PATTERN",};const ManifestAction = {    TRANSFER: "TRANSFER",};const ManifestFormat = {    CSV: "CSV",};const Gid = {    BOTH: "BOTH",    INT_VALUE: "INT_VALUE",    NAME: "NAME",    NONE: "NONE",};const LogLevel = {    BASIC: "BASIC",    OFF: "OFF",    TRANSFER: "TRANSFER",};const Mtime = {    NONE: "NONE",    PRESERVE: "PRESERVE",};const ObjectTags = {    NONE: "NONE",    PRESERVE: "PRESERVE",};const OverwriteMode = {    ALWAYS: "ALWAYS",    NEVER: "NEVER",};const PosixPermissions = {    NONE: "NONE",    PRESERVE: "PRESERVE",};const PreserveDeletedFiles = {    PRESERVE: "PRESERVE",    REMOVE: "REMOVE",};const PreserveDevices = {    NONE: "NONE",    PRESERVE: "PRESERVE",};const SmbSecurityDescriptorCopyFlags = {    NONE: "NONE",    OWNER_DACL: "OWNER_DACL",    OWNER_DACL_SACL: "OWNER_DACL_SACL",};const TaskQueueing = {    DISABLED: "DISABLED",    ENABLED: "ENABLED",};const TransferMode = {    ALL: "ALL",    CHANGED: "CHANGED",};const Uid = {    BOTH: "BOTH",    INT_VALUE: "INT_VALUE",    NAME: "NAME",    NONE: "NONE",};const VerifyMode = {    NONE: "NONE",    ONLY_FILES_TRANSFERRED: "ONLY_FILES_TRANSFERRED",    POINT_IN_TIME_CONSISTENT: "POINT_IN_TIME_CONSISTENT",};const ScheduleStatus = {    DISABLED: "DISABLED",    ENABLED: "ENABLED",};const TaskMode = {    BASIC: "BASIC",    ENHANCED: "ENHANCED",};const ObjectVersionIds = {    INCLUDE: "INCLUDE",    NONE: "NONE",};const ReportOutputType = {    STANDARD: "STANDARD",    SUMMARY_ONLY: "SUMMARY_ONLY",};const ReportLevel = {    ERRORS_ONLY: "ERRORS_ONLY",    SUCCESSES_AND_ERRORS: "SUCCESSES_AND_ERRORS",};const EndpointType = {    FIPS: "FIPS",    FIPS_PRIVATE_LINK: "FIPS_PRIVATE_LINK",    PRIVATE_LINK: "PRIVATE_LINK",    PUBLIC: "PUBLIC",};const ScheduleDisabledBy = {    SERVICE: "SERVICE",    USER: "USER",};const TaskStatus = {    AVAILABLE: "AVAILABLE",    CREATING: "CREATING",    QUEUED: "QUEUED",    RUNNING: "RUNNING",    UNAVAILABLE: "UNAVAILABLE",};const PhaseStatus = {    ERROR: "ERROR",    PENDING: "PENDING",    SUCCESS: "SUCCESS",};const TaskExecutionStatus = {    CANCELLING: "CANCELLING",    ERROR: "ERROR",    LAUNCHING: "LAUNCHING",    PREPARING: "PREPARING",    QUEUED: "QUEUED",    SUCCESS: "SUCCESS",    TRANSFERRING: "TRANSFERRING",    VERIFYING: "VERIFYING",};const LocationFilterName = {    CreationTime: "CreationTime",    LocationType: "LocationType",    LocationUri: "LocationUri",};const Operator = {    BEGINS_WITH: "BeginsWith",    CONTAINS: "Contains",    EQ: "Equals",    GE: "GreaterThanOrEqual",    GT: "GreaterThan",    IN: "In",    LE: "LessThanOrEqual",    LT: "LessThan",    NE: "NotEquals",    NOT_CONTAINS: "NotContains",};const TaskFilterName = {    CreationTime: "CreationTime",    LocationId: "LocationId",}; exports.$Command = client.Command;exports.__Client = client.Client;exports.DataSyncServiceException = DataSyncServiceException.DataSyncServiceException;exports.AgentStatus = AgentStatus;exports.Atime = Atime;exports.AzureAccessTier = AzureAccessTier;exports.AzureBlobAuthenticationType = AzureBlobAuthenticationType;exports.AzureBlobType = AzureBlobType;exports.CancelTaskExecutionCommand = CancelTaskExecutionCommand;exports.CreateAgentCommand = CreateAgentCommand;exports.CreateLocationAzureBlobCommand = CreateLocationAzureBlobCommand;exports.CreateLocationEfsCommand = CreateLocationEfsCommand;exports.CreateLocationFsxLustreCommand = CreateLocationFsxLustreCommand;exports.CreateLocationFsxOntapCommand = CreateLocationFsxOntapCommand;exports.CreateLocationFsxOpenZfsCommand = CreateLocationFsxOpenZfsCommand;exports.CreateLocationFsxWindowsCommand = CreateLocationFsxWindowsCommand;exports.CreateLocationHdfsCommand = CreateLocationHdfsCommand;exports.CreateLocationNfsCommand = CreateLocationNfsCommand;exports.CreateLocationObjectStorageCommand = CreateLocationObjectStorageCommand;exports.CreateLocationS3Command = CreateLocationS3Command;exports.CreateLocationSmbCommand = CreateLocationSmbCommand;exports.CreateTaskCommand = CreateTaskCommand;exports.DataSync = DataSync;exports.DataSyncClient = DataSyncClient;exports.DeleteAgentCommand = DeleteAgentCommand;exports.DeleteLocationCommand = DeleteLocationCommand;exports.DeleteTaskCommand = DeleteTaskCommand;exports.DescribeAgentCommand = DescribeAgentCommand;exports.DescribeLocationAzureBlobCommand = DescribeLocationAzureBlobCommand;exports.DescribeLocationEfsCommand = DescribeLocationEfsCommand;exports.DescribeLocationFsxLustreCommand = DescribeLocationFsxLustreCommand;exports.DescribeLocationFsxOntapCommand = DescribeLocationFsxOntapCommand;exports.DescribeLocationFsxOpenZfsCommand = DescribeLocationFsxOpenZfsCommand;exports.DescribeLocationFsxWindowsCommand = DescribeLocationFsxWindowsCommand;exports.DescribeLocationHdfsCommand = DescribeLocationHdfsCommand;exports.DescribeLocationNfsCommand = DescribeLocationNfsCommand;exports.DescribeLocationObjectStorageCommand = DescribeLocationObjectStorageCommand;exports.DescribeLocationS3Command = DescribeLocationS3Command;exports.DescribeLocationSmbCommand = DescribeLocationSmbCommand;exports.DescribeTaskCommand = DescribeTaskCommand;exports.DescribeTaskExecutionCommand = DescribeTaskExecutionCommand;exports.EfsInTransitEncryption = EfsInTransitEncryption;exports.EndpointType = EndpointType;exports.FilterType = FilterType;exports.Gid = Gid;exports.HdfsAuthenticationType = HdfsAuthenticationType;exports.HdfsDataTransferProtection = HdfsDataTransferProtection;exports.HdfsRpcProtection = HdfsRpcProtection;exports.ListAgentsCommand = ListAgentsCommand;exports.ListLocationsCommand = ListLocationsCommand;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.ListTaskExecutionsCommand = ListTaskExecutionsCommand;exports.ListTasksCommand = ListTasksCommand;exports.LocationFilterName = LocationFilterName;exports.LogLevel = LogLevel;exports.ManifestAction = ManifestAction;exports.ManifestFormat = ManifestFormat;exports.Mtime = Mtime;exports.NfsVersion = NfsVersion;exports.ObjectStorageServerProtocol = ObjectStorageServerProtocol;exports.ObjectTags = ObjectTags;exports.ObjectVersionIds = ObjectVersionIds;exports.Operator = Operator;exports.OverwriteMode = OverwriteMode;exports.PhaseStatus = PhaseStatus;exports.PosixPermissions = PosixPermissions;exports.PreserveDeletedFiles = PreserveDeletedFiles;exports.PreserveDevices = PreserveDevices;exports.ReportLevel = ReportLevel;exports.ReportOutputType = ReportOutputType;exports.S3StorageClass = S3StorageClass;exports.ScheduleDisabledBy = ScheduleDisabledBy;exports.ScheduleStatus = ScheduleStatus;exports.SmbAuthenticationType = SmbAuthenticationType;exports.SmbSecurityDescriptorCopyFlags = SmbSecurityDescriptorCopyFlags;exports.SmbVersion = SmbVersion;exports.StartTaskExecutionCommand = StartTaskExecutionCommand;exports.TagResourceCommand = TagResourceCommand;exports.TaskExecutionStatus = TaskExecutionStatus;exports.TaskFilterName = TaskFilterName;exports.TaskMode = TaskMode;exports.TaskQueueing = TaskQueueing;exports.TaskStatus = TaskStatus;exports.TransferMode = TransferMode;exports.Uid = Uid;exports.UntagResourceCommand = UntagResourceCommand;exports.UpdateAgentCommand = UpdateAgentCommand;exports.UpdateLocationAzureBlobCommand = UpdateLocationAzureBlobCommand;exports.UpdateLocationEfsCommand = UpdateLocationEfsCommand;exports.UpdateLocationFsxLustreCommand = UpdateLocationFsxLustreCommand;exports.UpdateLocationFsxOntapCommand = UpdateLocationFsxOntapCommand;exports.UpdateLocationFsxOpenZfsCommand = UpdateLocationFsxOpenZfsCommand;exports.UpdateLocationFsxWindowsCommand = UpdateLocationFsxWindowsCommand;exports.UpdateLocationHdfsCommand = UpdateLocationHdfsCommand;exports.UpdateLocationNfsCommand = UpdateLocationNfsCommand;exports.UpdateLocationObjectStorageCommand = UpdateLocationObjectStorageCommand;exports.UpdateLocationS3Command = UpdateLocationS3Command;exports.UpdateLocationSmbCommand = UpdateLocationSmbCommand;exports.UpdateTaskCommand = UpdateTaskCommand;exports.UpdateTaskExecutionCommand = UpdateTaskExecutionCommand;exports.VerifyMode = VerifyMode;exports.paginateListAgents = paginateListAgents;exports.paginateListLocations = paginateListLocations;exports.paginateListTagsForResource = paginateListTagsForResource;exports.paginateListTaskExecutions = paginateListTaskExecutions;exports.paginateListTasks = paginateListTasks;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];});