/var/runtime/node_modules/@aws-sdk/client-personalize/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 PersonalizeServiceException = require('./models/PersonalizeServiceException'); const resolveClientEndpointParameters = (options) => { return Object.assign(options, { useDualstackEndpoint: options.useDualstackEndpoint ?? false, useFipsEndpoint: options.useFipsEndpoint ?? false, defaultSigningName: "personalize", });};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 PersonalizeClient 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.defaultPersonalizeHttpAuthSchemeParametersProvider, identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({ "aws.auth#sigv4": config.credentials, }), })); this.middlewareStack.use(core.getHttpSigningPlugin(this.config)); } destroy() { super.destroy(); }} class CreateBatchInferenceJobCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "CreateBatchInferenceJob", {}) .n("PersonalizeClient", "CreateBatchInferenceJobCommand") .sc(schemas_0.CreateBatchInferenceJob$) .build() {} class CreateBatchSegmentJobCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "CreateBatchSegmentJob", {}) .n("PersonalizeClient", "CreateBatchSegmentJobCommand") .sc(schemas_0.CreateBatchSegmentJob$) .build() {} class CreateCampaignCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "CreateCampaign", {}) .n("PersonalizeClient", "CreateCampaignCommand") .sc(schemas_0.CreateCampaign$) .build() {} class CreateDataDeletionJobCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "CreateDataDeletionJob", {}) .n("PersonalizeClient", "CreateDataDeletionJobCommand") .sc(schemas_0.CreateDataDeletionJob$) .build() {} class CreateDatasetCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "CreateDataset", {}) .n("PersonalizeClient", "CreateDatasetCommand") .sc(schemas_0.CreateDataset$) .build() {} class CreateDatasetExportJobCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "CreateDatasetExportJob", {}) .n("PersonalizeClient", "CreateDatasetExportJobCommand") .sc(schemas_0.CreateDatasetExportJob$) .build() {} class CreateDatasetGroupCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "CreateDatasetGroup", {}) .n("PersonalizeClient", "CreateDatasetGroupCommand") .sc(schemas_0.CreateDatasetGroup$) .build() {} class CreateDatasetImportJobCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "CreateDatasetImportJob", {}) .n("PersonalizeClient", "CreateDatasetImportJobCommand") .sc(schemas_0.CreateDatasetImportJob$) .build() {} class CreateEventTrackerCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "CreateEventTracker", {}) .n("PersonalizeClient", "CreateEventTrackerCommand") .sc(schemas_0.CreateEventTracker$) .build() {} class CreateFilterCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "CreateFilter", {}) .n("PersonalizeClient", "CreateFilterCommand") .sc(schemas_0.CreateFilter$) .build() {} class CreateMetricAttributionCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "CreateMetricAttribution", {}) .n("PersonalizeClient", "CreateMetricAttributionCommand") .sc(schemas_0.CreateMetricAttribution$) .build() {} class CreateRecommenderCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "CreateRecommender", {}) .n("PersonalizeClient", "CreateRecommenderCommand") .sc(schemas_0.CreateRecommender$) .build() {} class CreateSchemaCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "CreateSchema", {}) .n("PersonalizeClient", "CreateSchemaCommand") .sc(schemas_0.CreateSchema$) .build() {} class CreateSolutionCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "CreateSolution", {}) .n("PersonalizeClient", "CreateSolutionCommand") .sc(schemas_0.CreateSolution$) .build() {} class CreateSolutionVersionCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "CreateSolutionVersion", {}) .n("PersonalizeClient", "CreateSolutionVersionCommand") .sc(schemas_0.CreateSolutionVersion$) .build() {} class DeleteCampaignCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "DeleteCampaign", {}) .n("PersonalizeClient", "DeleteCampaignCommand") .sc(schemas_0.DeleteCampaign$) .build() {} class DeleteDatasetCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "DeleteDataset", {}) .n("PersonalizeClient", "DeleteDatasetCommand") .sc(schemas_0.DeleteDataset$) .build() {} class DeleteDatasetGroupCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "DeleteDatasetGroup", {}) .n("PersonalizeClient", "DeleteDatasetGroupCommand") .sc(schemas_0.DeleteDatasetGroup$) .build() {} class DeleteEventTrackerCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "DeleteEventTracker", {}) .n("PersonalizeClient", "DeleteEventTrackerCommand") .sc(schemas_0.DeleteEventTracker$) .build() {} class DeleteFilterCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "DeleteFilter", {}) .n("PersonalizeClient", "DeleteFilterCommand") .sc(schemas_0.DeleteFilter$) .build() {} class DeleteMetricAttributionCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "DeleteMetricAttribution", {}) .n("PersonalizeClient", "DeleteMetricAttributionCommand") .sc(schemas_0.DeleteMetricAttribution$) .build() {} class DeleteRecommenderCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "DeleteRecommender", {}) .n("PersonalizeClient", "DeleteRecommenderCommand") .sc(schemas_0.DeleteRecommender$) .build() {} class DeleteSchemaCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "DeleteSchema", {}) .n("PersonalizeClient", "DeleteSchemaCommand") .sc(schemas_0.DeleteSchema$) .build() {} class DeleteSolutionCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "DeleteSolution", {}) .n("PersonalizeClient", "DeleteSolutionCommand") .sc(schemas_0.DeleteSolution$) .build() {} class DescribeAlgorithmCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "DescribeAlgorithm", {}) .n("PersonalizeClient", "DescribeAlgorithmCommand") .sc(schemas_0.DescribeAlgorithm$) .build() {} class DescribeBatchInferenceJobCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "DescribeBatchInferenceJob", {}) .n("PersonalizeClient", "DescribeBatchInferenceJobCommand") .sc(schemas_0.DescribeBatchInferenceJob$) .build() {} class DescribeBatchSegmentJobCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "DescribeBatchSegmentJob", {}) .n("PersonalizeClient", "DescribeBatchSegmentJobCommand") .sc(schemas_0.DescribeBatchSegmentJob$) .build() {} class DescribeCampaignCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "DescribeCampaign", {}) .n("PersonalizeClient", "DescribeCampaignCommand") .sc(schemas_0.DescribeCampaign$) .build() {} class DescribeDataDeletionJobCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "DescribeDataDeletionJob", {}) .n("PersonalizeClient", "DescribeDataDeletionJobCommand") .sc(schemas_0.DescribeDataDeletionJob$) .build() {} class DescribeDatasetCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "DescribeDataset", {}) .n("PersonalizeClient", "DescribeDatasetCommand") .sc(schemas_0.DescribeDataset$) .build() {} class DescribeDatasetExportJobCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "DescribeDatasetExportJob", {}) .n("PersonalizeClient", "DescribeDatasetExportJobCommand") .sc(schemas_0.DescribeDatasetExportJob$) .build() {} class DescribeDatasetGroupCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "DescribeDatasetGroup", {}) .n("PersonalizeClient", "DescribeDatasetGroupCommand") .sc(schemas_0.DescribeDatasetGroup$) .build() {} class DescribeDatasetImportJobCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "DescribeDatasetImportJob", {}) .n("PersonalizeClient", "DescribeDatasetImportJobCommand") .sc(schemas_0.DescribeDatasetImportJob$) .build() {} class DescribeEventTrackerCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "DescribeEventTracker", {}) .n("PersonalizeClient", "DescribeEventTrackerCommand") .sc(schemas_0.DescribeEventTracker$) .build() {} class DescribeFeatureTransformationCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "DescribeFeatureTransformation", {}) .n("PersonalizeClient", "DescribeFeatureTransformationCommand") .sc(schemas_0.DescribeFeatureTransformation$) .build() {} class DescribeFilterCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "DescribeFilter", {}) .n("PersonalizeClient", "DescribeFilterCommand") .sc(schemas_0.DescribeFilter$) .build() {} class DescribeMetricAttributionCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "DescribeMetricAttribution", {}) .n("PersonalizeClient", "DescribeMetricAttributionCommand") .sc(schemas_0.DescribeMetricAttribution$) .build() {} class DescribeRecipeCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "DescribeRecipe", {}) .n("PersonalizeClient", "DescribeRecipeCommand") .sc(schemas_0.DescribeRecipe$) .build() {} class DescribeRecommenderCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "DescribeRecommender", {}) .n("PersonalizeClient", "DescribeRecommenderCommand") .sc(schemas_0.DescribeRecommender$) .build() {} class DescribeSchemaCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "DescribeSchema", {}) .n("PersonalizeClient", "DescribeSchemaCommand") .sc(schemas_0.DescribeSchema$) .build() {} class DescribeSolutionCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "DescribeSolution", {}) .n("PersonalizeClient", "DescribeSolutionCommand") .sc(schemas_0.DescribeSolution$) .build() {} class DescribeSolutionVersionCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "DescribeSolutionVersion", {}) .n("PersonalizeClient", "DescribeSolutionVersionCommand") .sc(schemas_0.DescribeSolutionVersion$) .build() {} class GetSolutionMetricsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "GetSolutionMetrics", {}) .n("PersonalizeClient", "GetSolutionMetricsCommand") .sc(schemas_0.GetSolutionMetrics$) .build() {} class ListBatchInferenceJobsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "ListBatchInferenceJobs", {}) .n("PersonalizeClient", "ListBatchInferenceJobsCommand") .sc(schemas_0.ListBatchInferenceJobs$) .build() {} class ListBatchSegmentJobsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "ListBatchSegmentJobs", {}) .n("PersonalizeClient", "ListBatchSegmentJobsCommand") .sc(schemas_0.ListBatchSegmentJobs$) .build() {} class ListCampaignsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "ListCampaigns", {}) .n("PersonalizeClient", "ListCampaignsCommand") .sc(schemas_0.ListCampaigns$) .build() {} class ListDataDeletionJobsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "ListDataDeletionJobs", {}) .n("PersonalizeClient", "ListDataDeletionJobsCommand") .sc(schemas_0.ListDataDeletionJobs$) .build() {} class ListDatasetExportJobsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "ListDatasetExportJobs", {}) .n("PersonalizeClient", "ListDatasetExportJobsCommand") .sc(schemas_0.ListDatasetExportJobs$) .build() {} class ListDatasetGroupsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "ListDatasetGroups", {}) .n("PersonalizeClient", "ListDatasetGroupsCommand") .sc(schemas_0.ListDatasetGroups$) .build() {} class ListDatasetImportJobsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "ListDatasetImportJobs", {}) .n("PersonalizeClient", "ListDatasetImportJobsCommand") .sc(schemas_0.ListDatasetImportJobs$) .build() {} class ListDatasetsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "ListDatasets", {}) .n("PersonalizeClient", "ListDatasetsCommand") .sc(schemas_0.ListDatasets$) .build() {} class ListEventTrackersCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "ListEventTrackers", {}) .n("PersonalizeClient", "ListEventTrackersCommand") .sc(schemas_0.ListEventTrackers$) .build() {} class ListFiltersCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "ListFilters", {}) .n("PersonalizeClient", "ListFiltersCommand") .sc(schemas_0.ListFilters$) .build() {} class ListMetricAttributionMetricsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "ListMetricAttributionMetrics", {}) .n("PersonalizeClient", "ListMetricAttributionMetricsCommand") .sc(schemas_0.ListMetricAttributionMetrics$) .build() {} class ListMetricAttributionsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "ListMetricAttributions", {}) .n("PersonalizeClient", "ListMetricAttributionsCommand") .sc(schemas_0.ListMetricAttributions$) .build() {} class ListRecipesCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "ListRecipes", {}) .n("PersonalizeClient", "ListRecipesCommand") .sc(schemas_0.ListRecipes$) .build() {} class ListRecommendersCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "ListRecommenders", {}) .n("PersonalizeClient", "ListRecommendersCommand") .sc(schemas_0.ListRecommenders$) .build() {} class ListSchemasCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "ListSchemas", {}) .n("PersonalizeClient", "ListSchemasCommand") .sc(schemas_0.ListSchemas$) .build() {} class ListSolutionsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "ListSolutions", {}) .n("PersonalizeClient", "ListSolutionsCommand") .sc(schemas_0.ListSolutions$) .build() {} class ListSolutionVersionsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "ListSolutionVersions", {}) .n("PersonalizeClient", "ListSolutionVersionsCommand") .sc(schemas_0.ListSolutionVersions$) .build() {} class ListTagsForResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "ListTagsForResource", {}) .n("PersonalizeClient", "ListTagsForResourceCommand") .sc(schemas_0.ListTagsForResource$) .build() {} class StartRecommenderCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "StartRecommender", {}) .n("PersonalizeClient", "StartRecommenderCommand") .sc(schemas_0.StartRecommender$) .build() {} class StopRecommenderCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "StopRecommender", {}) .n("PersonalizeClient", "StopRecommenderCommand") .sc(schemas_0.StopRecommender$) .build() {} class StopSolutionVersionCreationCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "StopSolutionVersionCreation", {}) .n("PersonalizeClient", "StopSolutionVersionCreationCommand") .sc(schemas_0.StopSolutionVersionCreation$) .build() {} class TagResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "TagResource", {}) .n("PersonalizeClient", "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("AmazonPersonalize", "UntagResource", {}) .n("PersonalizeClient", "UntagResourceCommand") .sc(schemas_0.UntagResource$) .build() {} class UpdateCampaignCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "UpdateCampaign", {}) .n("PersonalizeClient", "UpdateCampaignCommand") .sc(schemas_0.UpdateCampaign$) .build() {} class UpdateDatasetCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "UpdateDataset", {}) .n("PersonalizeClient", "UpdateDatasetCommand") .sc(schemas_0.UpdateDataset$) .build() {} class UpdateMetricAttributionCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "UpdateMetricAttribution", {}) .n("PersonalizeClient", "UpdateMetricAttributionCommand") .sc(schemas_0.UpdateMetricAttribution$) .build() {} class UpdateRecommenderCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "UpdateRecommender", {}) .n("PersonalizeClient", "UpdateRecommenderCommand") .sc(schemas_0.UpdateRecommender$) .build() {} class UpdateSolutionCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonPersonalize", "UpdateSolution", {}) .n("PersonalizeClient", "UpdateSolutionCommand") .sc(schemas_0.UpdateSolution$) .build() {} const paginateListBatchInferenceJobs = core.createPaginator(PersonalizeClient, ListBatchInferenceJobsCommand, "nextToken", "nextToken", "maxResults"); const paginateListBatchSegmentJobs = core.createPaginator(PersonalizeClient, ListBatchSegmentJobsCommand, "nextToken", "nextToken", "maxResults"); const paginateListCampaigns = core.createPaginator(PersonalizeClient, ListCampaignsCommand, "nextToken", "nextToken", "maxResults"); const paginateListDatasetExportJobs = core.createPaginator(PersonalizeClient, ListDatasetExportJobsCommand, "nextToken", "nextToken", "maxResults"); const paginateListDatasetGroups = core.createPaginator(PersonalizeClient, ListDatasetGroupsCommand, "nextToken", "nextToken", "maxResults"); const paginateListDatasetImportJobs = core.createPaginator(PersonalizeClient, ListDatasetImportJobsCommand, "nextToken", "nextToken", "maxResults"); const paginateListDatasets = core.createPaginator(PersonalizeClient, ListDatasetsCommand, "nextToken", "nextToken", "maxResults"); const paginateListEventTrackers = core.createPaginator(PersonalizeClient, ListEventTrackersCommand, "nextToken", "nextToken", "maxResults"); const paginateListFilters = core.createPaginator(PersonalizeClient, ListFiltersCommand, "nextToken", "nextToken", "maxResults"); const paginateListMetricAttributionMetrics = core.createPaginator(PersonalizeClient, ListMetricAttributionMetricsCommand, "nextToken", "nextToken", "maxResults"); const paginateListMetricAttributions = core.createPaginator(PersonalizeClient, ListMetricAttributionsCommand, "nextToken", "nextToken", "maxResults"); const paginateListRecipes = core.createPaginator(PersonalizeClient, ListRecipesCommand, "nextToken", "nextToken", "maxResults"); const paginateListRecommenders = core.createPaginator(PersonalizeClient, ListRecommendersCommand, "nextToken", "nextToken", "maxResults"); const paginateListSchemas = core.createPaginator(PersonalizeClient, ListSchemasCommand, "nextToken", "nextToken", "maxResults"); const paginateListSolutions = core.createPaginator(PersonalizeClient, ListSolutionsCommand, "nextToken", "nextToken", "maxResults"); const paginateListSolutionVersions = core.createPaginator(PersonalizeClient, ListSolutionVersionsCommand, "nextToken", "nextToken", "maxResults"); const commands = { CreateBatchInferenceJobCommand, CreateBatchSegmentJobCommand, CreateCampaignCommand, CreateDataDeletionJobCommand, CreateDatasetCommand, CreateDatasetExportJobCommand, CreateDatasetGroupCommand, CreateDatasetImportJobCommand, CreateEventTrackerCommand, CreateFilterCommand, CreateMetricAttributionCommand, CreateRecommenderCommand, CreateSchemaCommand, CreateSolutionCommand, CreateSolutionVersionCommand, DeleteCampaignCommand, DeleteDatasetCommand, DeleteDatasetGroupCommand, DeleteEventTrackerCommand, DeleteFilterCommand, DeleteMetricAttributionCommand, DeleteRecommenderCommand, DeleteSchemaCommand, DeleteSolutionCommand, DescribeAlgorithmCommand, DescribeBatchInferenceJobCommand, DescribeBatchSegmentJobCommand, DescribeCampaignCommand, DescribeDataDeletionJobCommand, DescribeDatasetCommand, DescribeDatasetExportJobCommand, DescribeDatasetGroupCommand, DescribeDatasetImportJobCommand, DescribeEventTrackerCommand, DescribeFeatureTransformationCommand, DescribeFilterCommand, DescribeMetricAttributionCommand, DescribeRecipeCommand, DescribeRecommenderCommand, DescribeSchemaCommand, DescribeSolutionCommand, DescribeSolutionVersionCommand, GetSolutionMetricsCommand, ListBatchInferenceJobsCommand, ListBatchSegmentJobsCommand, ListCampaignsCommand, ListDataDeletionJobsCommand, ListDatasetExportJobsCommand, ListDatasetGroupsCommand, ListDatasetImportJobsCommand, ListDatasetsCommand, ListEventTrackersCommand, ListFiltersCommand, ListMetricAttributionMetricsCommand, ListMetricAttributionsCommand, ListRecipesCommand, ListRecommendersCommand, ListSchemasCommand, ListSolutionsCommand, ListSolutionVersionsCommand, ListTagsForResourceCommand, StartRecommenderCommand, StopRecommenderCommand, StopSolutionVersionCreationCommand, TagResourceCommand, UntagResourceCommand, UpdateCampaignCommand, UpdateDatasetCommand, UpdateMetricAttributionCommand, UpdateRecommenderCommand, UpdateSolutionCommand,};const paginators = { paginateListBatchInferenceJobs, paginateListBatchSegmentJobs, paginateListCampaigns, paginateListDatasetExportJobs, paginateListDatasetGroups, paginateListDatasetImportJobs, paginateListDatasets, paginateListEventTrackers, paginateListFilters, paginateListMetricAttributionMetrics, paginateListMetricAttributions, paginateListRecipes, paginateListRecommenders, paginateListSchemas, paginateListSolutions, paginateListSolutionVersions,};class Personalize extends PersonalizeClient {}client.createAggregatedClient(commands, Personalize, { paginators }); const RankingInfluenceType = { FRESHNESS: "FRESHNESS", POPULARITY: "POPULARITY",};const BatchInferenceJobMode = { BATCH_INFERENCE: "BATCH_INFERENCE", THEME_GENERATION: "THEME_GENERATION",};const IngestionMode = { ALL: "ALL", BULK: "BULK", PUT: "PUT",};const Domain = { ECOMMERCE: "ECOMMERCE", VIDEO_ON_DEMAND: "VIDEO_ON_DEMAND",};const ImportMode = { FULL: "FULL", INCREMENTAL: "INCREMENTAL",};const ObjectiveSensitivity = { HIGH: "HIGH", LOW: "LOW", MEDIUM: "MEDIUM", OFF: "OFF",};const TrainingMode = { AUTOTRAIN: "AUTOTRAIN", FULL: "FULL", UPDATE: "UPDATE",};const TrainingType = { AUTOMATIC: "AUTOMATIC", MANUAL: "MANUAL",};const RecipeProvider = { SERVICE: "SERVICE",}; exports.$Command = client.Command;exports.__Client = client.Client;exports.PersonalizeServiceException = PersonalizeServiceException.PersonalizeServiceException;exports.BatchInferenceJobMode = BatchInferenceJobMode;exports.CreateBatchInferenceJobCommand = CreateBatchInferenceJobCommand;exports.CreateBatchSegmentJobCommand = CreateBatchSegmentJobCommand;exports.CreateCampaignCommand = CreateCampaignCommand;exports.CreateDataDeletionJobCommand = CreateDataDeletionJobCommand;exports.CreateDatasetCommand = CreateDatasetCommand;exports.CreateDatasetExportJobCommand = CreateDatasetExportJobCommand;exports.CreateDatasetGroupCommand = CreateDatasetGroupCommand;exports.CreateDatasetImportJobCommand = CreateDatasetImportJobCommand;exports.CreateEventTrackerCommand = CreateEventTrackerCommand;exports.CreateFilterCommand = CreateFilterCommand;exports.CreateMetricAttributionCommand = CreateMetricAttributionCommand;exports.CreateRecommenderCommand = CreateRecommenderCommand;exports.CreateSchemaCommand = CreateSchemaCommand;exports.CreateSolutionCommand = CreateSolutionCommand;exports.CreateSolutionVersionCommand = CreateSolutionVersionCommand;exports.DeleteCampaignCommand = DeleteCampaignCommand;exports.DeleteDatasetCommand = DeleteDatasetCommand;exports.DeleteDatasetGroupCommand = DeleteDatasetGroupCommand;exports.DeleteEventTrackerCommand = DeleteEventTrackerCommand;exports.DeleteFilterCommand = DeleteFilterCommand;exports.DeleteMetricAttributionCommand = DeleteMetricAttributionCommand;exports.DeleteRecommenderCommand = DeleteRecommenderCommand;exports.DeleteSchemaCommand = DeleteSchemaCommand;exports.DeleteSolutionCommand = DeleteSolutionCommand;exports.DescribeAlgorithmCommand = DescribeAlgorithmCommand;exports.DescribeBatchInferenceJobCommand = DescribeBatchInferenceJobCommand;exports.DescribeBatchSegmentJobCommand = DescribeBatchSegmentJobCommand;exports.DescribeCampaignCommand = DescribeCampaignCommand;exports.DescribeDataDeletionJobCommand = DescribeDataDeletionJobCommand;exports.DescribeDatasetCommand = DescribeDatasetCommand;exports.DescribeDatasetExportJobCommand = DescribeDatasetExportJobCommand;exports.DescribeDatasetGroupCommand = DescribeDatasetGroupCommand;exports.DescribeDatasetImportJobCommand = DescribeDatasetImportJobCommand;exports.DescribeEventTrackerCommand = DescribeEventTrackerCommand;exports.DescribeFeatureTransformationCommand = DescribeFeatureTransformationCommand;exports.DescribeFilterCommand = DescribeFilterCommand;exports.DescribeMetricAttributionCommand = DescribeMetricAttributionCommand;exports.DescribeRecipeCommand = DescribeRecipeCommand;exports.DescribeRecommenderCommand = DescribeRecommenderCommand;exports.DescribeSchemaCommand = DescribeSchemaCommand;exports.DescribeSolutionCommand = DescribeSolutionCommand;exports.DescribeSolutionVersionCommand = DescribeSolutionVersionCommand;exports.Domain = Domain;exports.GetSolutionMetricsCommand = GetSolutionMetricsCommand;exports.ImportMode = ImportMode;exports.IngestionMode = IngestionMode;exports.ListBatchInferenceJobsCommand = ListBatchInferenceJobsCommand;exports.ListBatchSegmentJobsCommand = ListBatchSegmentJobsCommand;exports.ListCampaignsCommand = ListCampaignsCommand;exports.ListDataDeletionJobsCommand = ListDataDeletionJobsCommand;exports.ListDatasetExportJobsCommand = ListDatasetExportJobsCommand;exports.ListDatasetGroupsCommand = ListDatasetGroupsCommand;exports.ListDatasetImportJobsCommand = ListDatasetImportJobsCommand;exports.ListDatasetsCommand = ListDatasetsCommand;exports.ListEventTrackersCommand = ListEventTrackersCommand;exports.ListFiltersCommand = ListFiltersCommand;exports.ListMetricAttributionMetricsCommand = ListMetricAttributionMetricsCommand;exports.ListMetricAttributionsCommand = ListMetricAttributionsCommand;exports.ListRecipesCommand = ListRecipesCommand;exports.ListRecommendersCommand = ListRecommendersCommand;exports.ListSchemasCommand = ListSchemasCommand;exports.ListSolutionVersionsCommand = ListSolutionVersionsCommand;exports.ListSolutionsCommand = ListSolutionsCommand;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.ObjectiveSensitivity = ObjectiveSensitivity;exports.Personalize = Personalize;exports.PersonalizeClient = PersonalizeClient;exports.RankingInfluenceType = RankingInfluenceType;exports.RecipeProvider = RecipeProvider;exports.StartRecommenderCommand = StartRecommenderCommand;exports.StopRecommenderCommand = StopRecommenderCommand;exports.StopSolutionVersionCreationCommand = StopSolutionVersionCreationCommand;exports.TagResourceCommand = TagResourceCommand;exports.TrainingMode = TrainingMode;exports.TrainingType = TrainingType;exports.UntagResourceCommand = UntagResourceCommand;exports.UpdateCampaignCommand = UpdateCampaignCommand;exports.UpdateDatasetCommand = UpdateDatasetCommand;exports.UpdateMetricAttributionCommand = UpdateMetricAttributionCommand;exports.UpdateRecommenderCommand = UpdateRecommenderCommand;exports.UpdateSolutionCommand = UpdateSolutionCommand;exports.paginateListBatchInferenceJobs = paginateListBatchInferenceJobs;exports.paginateListBatchSegmentJobs = paginateListBatchSegmentJobs;exports.paginateListCampaigns = paginateListCampaigns;exports.paginateListDatasetExportJobs = paginateListDatasetExportJobs;exports.paginateListDatasetGroups = paginateListDatasetGroups;exports.paginateListDatasetImportJobs = paginateListDatasetImportJobs;exports.paginateListDatasets = paginateListDatasets;exports.paginateListEventTrackers = paginateListEventTrackers;exports.paginateListFilters = paginateListFilters;exports.paginateListMetricAttributionMetrics = paginateListMetricAttributionMetrics;exports.paginateListMetricAttributions = paginateListMetricAttributions;exports.paginateListRecipes = paginateListRecipes;exports.paginateListRecommenders = paginateListRecommenders;exports.paginateListSchemas = paginateListSchemas;exports.paginateListSolutionVersions = paginateListSolutionVersions;exports.paginateListSolutions = paginateListSolutions;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];});