File Explorer

/proc/self/root/var/runtime/node_modules/@aws-sdk/client-migrationhubstrategy/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.js31.0 KB · 826 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 MigrationHubStrategyServiceException = require('./models/MigrationHubStrategyServiceException'); const resolveClientEndpointParameters = (options) => {    return Object.assign(options, {        useDualstackEndpoint: options.useDualstackEndpoint ?? false,        useFipsEndpoint: options.useFipsEndpoint ?? false,        defaultSigningName: "migrationhub-strategy",    });};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 MigrationHubStrategyClient 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.defaultMigrationHubStrategyHttpAuthSchemeParametersProvider,            identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({                "aws.auth#sigv4": config.credentials,            }),        }));        this.middlewareStack.use(core.getHttpSigningPlugin(this.config));    }    destroy() {        super.destroy();    }} class GetApplicationComponentDetailsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSMigrationHubStrategyRecommendation", "GetApplicationComponentDetails", {})    .n("MigrationHubStrategyClient", "GetApplicationComponentDetailsCommand")    .sc(schemas_0.GetApplicationComponentDetails$)    .build() {} class GetApplicationComponentStrategiesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSMigrationHubStrategyRecommendation", "GetApplicationComponentStrategies", {})    .n("MigrationHubStrategyClient", "GetApplicationComponentStrategiesCommand")    .sc(schemas_0.GetApplicationComponentStrategies$)    .build() {} class GetAssessmentCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSMigrationHubStrategyRecommendation", "GetAssessment", {})    .n("MigrationHubStrategyClient", "GetAssessmentCommand")    .sc(schemas_0.GetAssessment$)    .build() {} class GetImportFileTaskCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSMigrationHubStrategyRecommendation", "GetImportFileTask", {})    .n("MigrationHubStrategyClient", "GetImportFileTaskCommand")    .sc(schemas_0.GetImportFileTask$)    .build() {} class GetLatestAssessmentIdCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSMigrationHubStrategyRecommendation", "GetLatestAssessmentId", {})    .n("MigrationHubStrategyClient", "GetLatestAssessmentIdCommand")    .sc(schemas_0.GetLatestAssessmentId$)    .build() {} class GetPortfolioPreferencesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSMigrationHubStrategyRecommendation", "GetPortfolioPreferences", {})    .n("MigrationHubStrategyClient", "GetPortfolioPreferencesCommand")    .sc(schemas_0.GetPortfolioPreferences$)    .build() {} class GetPortfolioSummaryCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSMigrationHubStrategyRecommendation", "GetPortfolioSummary", {})    .n("MigrationHubStrategyClient", "GetPortfolioSummaryCommand")    .sc(schemas_0.GetPortfolioSummary$)    .build() {} class GetRecommendationReportDetailsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSMigrationHubStrategyRecommendation", "GetRecommendationReportDetails", {})    .n("MigrationHubStrategyClient", "GetRecommendationReportDetailsCommand")    .sc(schemas_0.GetRecommendationReportDetails$)    .build() {} class GetServerDetailsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSMigrationHubStrategyRecommendation", "GetServerDetails", {})    .n("MigrationHubStrategyClient", "GetServerDetailsCommand")    .sc(schemas_0.GetServerDetails$)    .build() {} class GetServerStrategiesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSMigrationHubStrategyRecommendation", "GetServerStrategies", {})    .n("MigrationHubStrategyClient", "GetServerStrategiesCommand")    .sc(schemas_0.GetServerStrategies$)    .build() {} class ListAnalyzableServersCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSMigrationHubStrategyRecommendation", "ListAnalyzableServers", {})    .n("MigrationHubStrategyClient", "ListAnalyzableServersCommand")    .sc(schemas_0.ListAnalyzableServers$)    .build() {} class ListApplicationComponentsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSMigrationHubStrategyRecommendation", "ListApplicationComponents", {})    .n("MigrationHubStrategyClient", "ListApplicationComponentsCommand")    .sc(schemas_0.ListApplicationComponents$)    .build() {} class ListCollectorsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSMigrationHubStrategyRecommendation", "ListCollectors", {})    .n("MigrationHubStrategyClient", "ListCollectorsCommand")    .sc(schemas_0.ListCollectors$)    .build() {} class ListImportFileTaskCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSMigrationHubStrategyRecommendation", "ListImportFileTask", {})    .n("MigrationHubStrategyClient", "ListImportFileTaskCommand")    .sc(schemas_0.ListImportFileTask$)    .build() {} class ListServersCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSMigrationHubStrategyRecommendation", "ListServers", {})    .n("MigrationHubStrategyClient", "ListServersCommand")    .sc(schemas_0.ListServers$)    .build() {} class PutPortfolioPreferencesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSMigrationHubStrategyRecommendation", "PutPortfolioPreferences", {})    .n("MigrationHubStrategyClient", "PutPortfolioPreferencesCommand")    .sc(schemas_0.PutPortfolioPreferences$)    .build() {} class StartAssessmentCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSMigrationHubStrategyRecommendation", "StartAssessment", {})    .n("MigrationHubStrategyClient", "StartAssessmentCommand")    .sc(schemas_0.StartAssessment$)    .build() {} class StartImportFileTaskCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSMigrationHubStrategyRecommendation", "StartImportFileTask", {})    .n("MigrationHubStrategyClient", "StartImportFileTaskCommand")    .sc(schemas_0.StartImportFileTask$)    .build() {} class StartRecommendationReportGenerationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSMigrationHubStrategyRecommendation", "StartRecommendationReportGeneration", {})    .n("MigrationHubStrategyClient", "StartRecommendationReportGenerationCommand")    .sc(schemas_0.StartRecommendationReportGeneration$)    .build() {} class StopAssessmentCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSMigrationHubStrategyRecommendation", "StopAssessment", {})    .n("MigrationHubStrategyClient", "StopAssessmentCommand")    .sc(schemas_0.StopAssessment$)    .build() {} class UpdateApplicationComponentConfigCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSMigrationHubStrategyRecommendation", "UpdateApplicationComponentConfig", {})    .n("MigrationHubStrategyClient", "UpdateApplicationComponentConfigCommand")    .sc(schemas_0.UpdateApplicationComponentConfig$)    .build() {} class UpdateServerConfigCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSMigrationHubStrategyRecommendation", "UpdateServerConfig", {})    .n("MigrationHubStrategyClient", "UpdateServerConfigCommand")    .sc(schemas_0.UpdateServerConfig$)    .build() {} const paginateGetServerDetails = core.createPaginator(MigrationHubStrategyClient, GetServerDetailsCommand, "nextToken", "nextToken", "maxResults"); const paginateListAnalyzableServers = core.createPaginator(MigrationHubStrategyClient, ListAnalyzableServersCommand, "nextToken", "nextToken", "maxResults"); const paginateListApplicationComponents = core.createPaginator(MigrationHubStrategyClient, ListApplicationComponentsCommand, "nextToken", "nextToken", "maxResults"); const paginateListCollectors = core.createPaginator(MigrationHubStrategyClient, ListCollectorsCommand, "nextToken", "nextToken", "maxResults"); const paginateListImportFileTask = core.createPaginator(MigrationHubStrategyClient, ListImportFileTaskCommand, "nextToken", "nextToken", "maxResults"); const paginateListServers = core.createPaginator(MigrationHubStrategyClient, ListServersCommand, "nextToken", "nextToken", "maxResults"); const commands = {    GetApplicationComponentDetailsCommand,    GetApplicationComponentStrategiesCommand,    GetAssessmentCommand,    GetImportFileTaskCommand,    GetLatestAssessmentIdCommand,    GetPortfolioPreferencesCommand,    GetPortfolioSummaryCommand,    GetRecommendationReportDetailsCommand,    GetServerDetailsCommand,    GetServerStrategiesCommand,    ListAnalyzableServersCommand,    ListApplicationComponentsCommand,    ListCollectorsCommand,    ListImportFileTaskCommand,    ListServersCommand,    PutPortfolioPreferencesCommand,    StartAssessmentCommand,    StartImportFileTaskCommand,    StartRecommendationReportGenerationCommand,    StopAssessmentCommand,    UpdateApplicationComponentConfigCommand,    UpdateServerConfigCommand,};const paginators = {    paginateGetServerDetails,    paginateListAnalyzableServers,    paginateListApplicationComponents,    paginateListCollectors,    paginateListImportFileTask,    paginateListServers,};class MigrationHubStrategy extends MigrationHubStrategyClient {}client.createAggregatedClient(commands, MigrationHubStrategy, { paginators }); const RuntimeAnalysisStatus = {    ANALYSIS_FAILED: "ANALYSIS_FAILED",    ANALYSIS_STARTED: "ANALYSIS_STARTED",    ANALYSIS_SUCCESS: "ANALYSIS_SUCCESS",    ANALYSIS_TO_BE_SCHEDULED: "ANALYSIS_TO_BE_SCHEDULED",};const SrcCodeOrDbAnalysisStatus = {    ANALYSIS_FAILED: "ANALYSIS_FAILED",    ANALYSIS_PARTIAL_SUCCESS: "ANALYSIS_PARTIAL_SUCCESS",    ANALYSIS_STARTED: "ANALYSIS_STARTED",    ANALYSIS_SUCCESS: "ANALYSIS_SUCCESS",    ANALYSIS_TO_BE_SCHEDULED: "ANALYSIS_TO_BE_SCHEDULED",    CONFIGURED: "CONFIGURED",    UNCONFIGURED: "UNCONFIGURED",};const AnalysisType = {    BINARY_ANALYSIS: "BINARY_ANALYSIS",    DATABASE_ANALYSIS: "DATABASE_ANALYSIS",    RUNTIME_ANALYSIS: "RUNTIME_ANALYSIS",    SOURCE_CODE_ANALYSIS: "SOURCE_CODE_ANALYSIS",};const BinaryAnalyzerName = {    BYTECODE_ANALYZER: "BYTECODE_ANALYZER",    DLL_ANALYZER: "DLL_ANALYZER",};const RunTimeAnalyzerName = {    A2C_ANALYZER: "A2C_ANALYZER",    DATABASE_ANALYZER: "DATABASE_ANALYZER",    EMP_PA_ANALYZER: "EMP_PA_ANALYZER",    REHOST_ANALYZER: "REHOST_ANALYZER",    SCT_ANALYZER: "SCT_ANALYZER",};const SourceCodeAnalyzerName = {    BYTECODE_ANALYZER: "BYTECODE_ANALYZER",    CSHARP_ANALYZER: "CSHARP_ANALYZER",    JAVA_ANALYZER: "JAVA_ANALYZER",    PORTING_ASSISTANT: "PORTING_ASSISTANT",};const AntipatternReportStatus = {    FAILED: "FAILED",    IN_PROGRESS: "IN_PROGRESS",    SUCCESS: "SUCCESS",};const Severity = {    HIGH: "HIGH",    LOW: "LOW",    MEDIUM: "MEDIUM",};const ApplicationComponentCriteria = {    ANALYSIS_STATUS: "ANALYSIS_STATUS",    APP_NAME: "APP_NAME",    APP_TYPE: "APP_TYPE",    DESTINATION: "DESTINATION",    ERROR_CATEGORY: "ERROR_CATEGORY",    NOT_DEFINED: "NOT_DEFINED",    SERVER_ID: "SERVER_ID",    STRATEGY: "STRATEGY",};const AppType = {    IIS: "IIS",    cassandra: "Cassandra",    db2: "DB2",    dotNetFramework: "DotNetFramework",    dotnet: "Dotnet",    dotnetcore: "DotnetCore",    java: "Java",    jboss: "JBoss",    mariadb: "Maria DB",    mongodb: "Mongo DB",    mysql: "MySQL",    oracle: "Oracle",    other: "Other",    postgresqlserver: "PostgreSQLServer",    spring: "Spring",    sqlServer: "SQLServer",    sybase: "Sybase",    tomcat: "Tomcat",    unknown: "Unknown",    visualbasic: "Visual Basic",    weblogic: "Oracle WebLogic",    websphere: "IBM WebSphere",};const AppUnitErrorCategory = {    CONNECTIVITY_ERROR: "CONNECTIVITY_ERROR",    CREDENTIAL_ERROR: "CREDENTIAL_ERROR",    OTHER_ERROR: "OTHER_ERROR",    PERMISSION_ERROR: "PERMISSION_ERROR",    UNSUPPORTED_ERROR: "UNSUPPORTED_ERROR",};const InclusionStatus = {    EXCLUDE_FROM_RECOMMENDATION: "excludeFromAssessment",    INCLUDE_IN_RECOMMENDATION: "includeInAssessment",};const Strategy = {    REFACTOR: "Refactor",    REHOST: "Rehost",    RELOCATE: "Relocate",    REPLATFORM: "Replatform",    REPURCHASE: "Repurchase",    RETAIN: "Retain",    RETIREMENT: "Retirement",};const TargetDestination = {    AMAZON_DOCUMENTDB: "Amazon DocumentDB",    AMAZON_DYNAMODB: "Amazon DynamoDB",    AMAZON_ELASTIC_CLOUD_COMPUTE: "Amazon Elastic Cloud Compute (EC2)",    AMAZON_ELASTIC_CONTAINER_SERVICE: "Amazon Elastic Container Service (ECS)",    AMAZON_ELASTIC_KUBERNETES_SERVICE: "Amazon Elastic Kubernetes Service (EKS)",    AMAZON_RDS: "Amazon Relational Database Service",    AMAZON_RDS_MYSQL: "Amazon Relational Database Service on MySQL",    AMAZON_RDS_POSTGRESQL: "Amazon Relational Database Service on PostgreSQL",    AURORA_MYSQL: "Aurora MySQL",    AURORA_POSTGRESQL: "Aurora PostgreSQL",    AWS_ELASTIC_BEANSTALK: "AWS Elastic BeanStalk",    AWS_FARGATE: "AWS Fargate",    BABELFISH_AURORA_POSTGRESQL: "Babelfish for Aurora PostgreSQL",    NONE_SPECIFIED: "None specified",};const TransformationToolName = {    APP2CONTAINER: "App2Container",    DMS: "Database Migration Service",    EMP: "End of Support Migration",    IN_PLACE_OS_UPGRADE: "In Place Operating System Upgrade",    MGN: "Application Migration Service",    NATIVE_SQL: "Native SQL Server Backup/Restore",    PORTING_ASSISTANT: "Porting Assistant For .NET",    SCT: "Schema Conversion Tool",    STRATEGY_RECOMMENDATION_SUPPORT: "Strategy Recommendation Support",    WWAMA: "Windows Web Application Migration Assistant",};const ResourceSubType = {    DATABASE: "Database",    DATABASE_PROCESS: "DatabaseProcess",    PROCESS: "Process",};const StrategyRecommendation = {    NOT_RECOMMENDED: "notRecommended",    POTENTIAL: "potential",    RECOMMENDED: "recommended",    VIABLE_OPTION: "viableOption",};const ApplicationMode = {    ALL: "ALL",    KNOWN: "KNOWN",    UNKNOWN: "UNKNOWN",};const AwsManagedTargetDestination = {    AWS_ELASTIC_BEANSTALK: "AWS Elastic BeanStalk",    AWS_FARGATE: "AWS Fargate",    NONE_SPECIFIED: "None specified",};const NoPreferenceTargetDestination = {    AMAZON_ELASTIC_CLOUD_COMPUTE: "Amazon Elastic Cloud Compute (EC2)",    AMAZON_ELASTIC_CONTAINER_SERVICE: "Amazon Elastic Container Service (ECS)",    AMAZON_ELASTIC_KUBERNETES_SERVICE: "Amazon Elastic Kubernetes Service (EKS)",    AWS_ELASTIC_BEANSTALK: "AWS Elastic BeanStalk",    AWS_FARGATE: "AWS Fargate",    NONE_SPECIFIED: "None specified",};const SelfManageTargetDestination = {    AMAZON_ELASTIC_CLOUD_COMPUTE: "Amazon Elastic Cloud Compute (EC2)",    AMAZON_ELASTIC_CONTAINER_SERVICE: "Amazon Elastic Container Service (ECS)",    AMAZON_ELASTIC_KUBERNETES_SERVICE: "Amazon Elastic Kubernetes Service (EKS)",    NONE_SPECIFIED: "None specified",};const AssessmentDataSourceType = {    ADS: "ApplicationDiscoveryService",    MANUAL_IMPORT: "ManualImport",    SR_COLLECTOR: "StrategyRecommendationsApplicationDataCollector",};const AssessmentStatus = {    COMPLETE: "COMPLETE",    FAILED: "FAILED",    IN_PROGRESS: "IN_PROGRESS",    STOPPED: "STOPPED",};const RunTimeAssessmentStatus = {    DC_FAILED: "dataCollectionTaskFailed",    DC_PARTIAL_SUCCESS: "dataCollectionTaskPartialSuccess",    DC_REQ_SENT: "dataCollectionTaskScheduled",    DC_STARTED: "dataCollectionTaskStarted",    DC_STOPPED: "dataCollectionTaskStopped",    DC_SUCCESS: "dataCollectionTaskSuccess",    DC_TO_BE_SCHEDULED: "dataCollectionTaskToBeScheduled",};const ServerOsType = {    amazonLinux: "AmazonLinux",    endOfSupportWindowsServer: "EndOfSupportWindowsServer",    other: "Other",    redhat: "Redhat",    windowsServer: "WindowsServer",};const Condition = {    CONTAINS: "CONTAINS",    EQUALS: "EQUALS",    NOT_CONTAINS: "NOT_CONTAINS",    NOT_EQUALS: "NOT_EQUALS",};const AuthType = {    CERT: "CERT",    NTLM: "NTLM",    SSH: "SSH",};const ImportFileTaskStatus = {    DELETE_FAILED: "DeleteFailed",    DELETE_IN_PROGRESS: "DeleteInProgress",    DELETE_PARTIAL_SUCCESS: "DeletePartialSuccess",    DELETE_SUCCESS: "DeleteSuccess",    IMPORT_FAILED: "ImportFailed",    IMPORT_IN_PROGRESS: "ImportInProgress",    IMPORT_PARTIAL_SUCCESS: "ImportPartialSuccess",    IMPORT_SUCCESS: "ImportSuccess",};const DatabaseManagementPreference = {    AWS_MANAGED: "AWS-managed",    NO_PREFERENCE: "No preference",    SELF_MANAGE: "Self-manage",};const HeterogeneousTargetDatabaseEngine = {    AMAZON_AURORA: "Amazon Aurora",    AWS_POSTGRESQL: "AWS PostgreSQL",    DB2_LUW: "Db2 LUW",    MARIA_DB: "MariaDB",    MICROSOFT_SQL_SERVER: "Microsoft SQL Server",    MONGO_DB: "MongoDB",    MYSQL: "MySQL",    NONE_SPECIFIED: "None specified",    ORACLE_DATABASE: "Oracle Database",    SAP: "SAP",};const HomogeneousTargetDatabaseEngine = {    NONE_SPECIFIED: "None specified",};const TargetDatabaseEngine = {    AMAZON_AURORA: "Amazon Aurora",    AWS_POSTGRESQL: "AWS PostgreSQL",    DB2_LUW: "Db2 LUW",    MARIA_DB: "MariaDB",    MICROSOFT_SQL_SERVER: "Microsoft SQL Server",    MONGO_DB: "MongoDB",    MYSQL: "MySQL",    NONE_SPECIFIED: "None specified",    ORACLE_DATABASE: "Oracle Database",    SAP: "SAP",};const RecommendationReportStatus = {    FAILED: "FAILED",    IN_PROGRESS: "IN_PROGRESS",    SUCCESS: "SUCCESS",};const ServerErrorCategory = {    ARCHITECTURE_ERROR: "ARCHITECTURE_ERROR",    CONNECTIVITY_ERROR: "CONNECTIVITY_ERROR",    CREDENTIAL_ERROR: "CREDENTIAL_ERROR",    OTHER_ERROR: "OTHER_ERROR",    PERMISSION_ERROR: "PERMISSION_ERROR",};const OSType = {    LINUX: "LINUX",    WINDOWS: "WINDOWS",};const SortOrder = {    ASC: "ASC",    DESC: "DESC",};const GroupName = {    EXTERNAL_ID: "ExternalId",    EXTERNAL_SOURCE_TYPE: "ExternalSourceType",};const CollectorHealth = {    COLLECTOR_HEALTHY: "COLLECTOR_HEALTHY",    COLLECTOR_UNHEALTHY: "COLLECTOR_UNHEALTHY",};const PipelineType = {    AZURE_DEVOPS: "AZURE_DEVOPS",};const VersionControlType = {    AZURE_DEVOPS_GIT: "AZURE_DEVOPS_GIT",    GITHUB: "GITHUB",    GITHUB_ENTERPRISE: "GITHUB_ENTERPRISE",};const ServerCriteria = {    ANALYSIS_STATUS: "ANALYSIS_STATUS",    DESTINATION: "DESTINATION",    ERROR_CATEGORY: "ERROR_CATEGORY",    NOT_DEFINED: "NOT_DEFINED",    OS_NAME: "OS_NAME",    SERVER_ID: "SERVER_ID",    STRATEGY: "STRATEGY",};const DataSourceType = {    ADS: "ApplicationDiscoveryService",    IMPORT: "Import",    MHSR_COLLECTOR: "StrategyRecommendationsApplicationDataCollector",    MPA: "MPA",};const OutputFormat = {    Excel: "Excel",    Json: "Json",};const VersionControl = {    AZURE_DEVOPS_GIT: "AZURE_DEVOPS_GIT",    GITHUB: "GITHUB",    GITHUB_ENTERPRISE: "GITHUB_ENTERPRISE",}; exports.$Command = client.Command;exports.__Client = client.Client;exports.MigrationHubStrategyServiceException = MigrationHubStrategyServiceException.MigrationHubStrategyServiceException;exports.AnalysisType = AnalysisType;exports.AntipatternReportStatus = AntipatternReportStatus;exports.AppType = AppType;exports.AppUnitErrorCategory = AppUnitErrorCategory;exports.ApplicationComponentCriteria = ApplicationComponentCriteria;exports.ApplicationMode = ApplicationMode;exports.AssessmentDataSourceType = AssessmentDataSourceType;exports.AssessmentStatus = AssessmentStatus;exports.AuthType = AuthType;exports.AwsManagedTargetDestination = AwsManagedTargetDestination;exports.BinaryAnalyzerName = BinaryAnalyzerName;exports.CollectorHealth = CollectorHealth;exports.Condition = Condition;exports.DataSourceType = DataSourceType;exports.DatabaseManagementPreference = DatabaseManagementPreference;exports.GetApplicationComponentDetailsCommand = GetApplicationComponentDetailsCommand;exports.GetApplicationComponentStrategiesCommand = GetApplicationComponentStrategiesCommand;exports.GetAssessmentCommand = GetAssessmentCommand;exports.GetImportFileTaskCommand = GetImportFileTaskCommand;exports.GetLatestAssessmentIdCommand = GetLatestAssessmentIdCommand;exports.GetPortfolioPreferencesCommand = GetPortfolioPreferencesCommand;exports.GetPortfolioSummaryCommand = GetPortfolioSummaryCommand;exports.GetRecommendationReportDetailsCommand = GetRecommendationReportDetailsCommand;exports.GetServerDetailsCommand = GetServerDetailsCommand;exports.GetServerStrategiesCommand = GetServerStrategiesCommand;exports.GroupName = GroupName;exports.HeterogeneousTargetDatabaseEngine = HeterogeneousTargetDatabaseEngine;exports.HomogeneousTargetDatabaseEngine = HomogeneousTargetDatabaseEngine;exports.ImportFileTaskStatus = ImportFileTaskStatus;exports.InclusionStatus = InclusionStatus;exports.ListAnalyzableServersCommand = ListAnalyzableServersCommand;exports.ListApplicationComponentsCommand = ListApplicationComponentsCommand;exports.ListCollectorsCommand = ListCollectorsCommand;exports.ListImportFileTaskCommand = ListImportFileTaskCommand;exports.ListServersCommand = ListServersCommand;exports.MigrationHubStrategy = MigrationHubStrategy;exports.MigrationHubStrategyClient = MigrationHubStrategyClient;exports.NoPreferenceTargetDestination = NoPreferenceTargetDestination;exports.OSType = OSType;exports.OutputFormat = OutputFormat;exports.PipelineType = PipelineType;exports.PutPortfolioPreferencesCommand = PutPortfolioPreferencesCommand;exports.RecommendationReportStatus = RecommendationReportStatus;exports.ResourceSubType = ResourceSubType;exports.RunTimeAnalyzerName = RunTimeAnalyzerName;exports.RunTimeAssessmentStatus = RunTimeAssessmentStatus;exports.RuntimeAnalysisStatus = RuntimeAnalysisStatus;exports.SelfManageTargetDestination = SelfManageTargetDestination;exports.ServerCriteria = ServerCriteria;exports.ServerErrorCategory = ServerErrorCategory;exports.ServerOsType = ServerOsType;exports.Severity = Severity;exports.SortOrder = SortOrder;exports.SourceCodeAnalyzerName = SourceCodeAnalyzerName;exports.SrcCodeOrDbAnalysisStatus = SrcCodeOrDbAnalysisStatus;exports.StartAssessmentCommand = StartAssessmentCommand;exports.StartImportFileTaskCommand = StartImportFileTaskCommand;exports.StartRecommendationReportGenerationCommand = StartRecommendationReportGenerationCommand;exports.StopAssessmentCommand = StopAssessmentCommand;exports.Strategy = Strategy;exports.StrategyRecommendation = StrategyRecommendation;exports.TargetDatabaseEngine = TargetDatabaseEngine;exports.TargetDestination = TargetDestination;exports.TransformationToolName = TransformationToolName;exports.UpdateApplicationComponentConfigCommand = UpdateApplicationComponentConfigCommand;exports.UpdateServerConfigCommand = UpdateServerConfigCommand;exports.VersionControl = VersionControl;exports.VersionControlType = VersionControlType;exports.paginateGetServerDetails = paginateGetServerDetails;exports.paginateListAnalyzableServers = paginateListAnalyzableServers;exports.paginateListApplicationComponents = paginateListApplicationComponents;exports.paginateListCollectors = paginateListCollectors;exports.paginateListImportFileTask = paginateListImportFileTask;exports.paginateListServers = paginateListServers;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];});