Search in sources :

Example 1 with AmazonPersonalize

use of com.amazonaws.services.personalize.AmazonPersonalize in project knime-cloud by knime.

the class AmazonPersonalizeCreateCampaignNodeDialog method loadSettingsFrom.

/**
 * {@inheritDoc}
 */
@Override
protected void loadSettingsFrom(final NodeSettingsRO settings, final PortObjectSpec[] specs) throws NotConfigurableException {
    // Check if a port object is available
    if (specs[0] == null) {
        throw new NotConfigurableException("No connection information available");
    }
    final CloudConnectionInformation connectionInformation = (CloudConnectionInformation) ((ConnectionInformationPortObjectSpec) specs[0]).getConnectionInformation();
    // Check if the port object has connection information
    if (connectionInformation == null) {
        throw new NotConfigurableException("No connection information available");
    }
    // Fill combo box with available solution versions
    try (final AmazonPersonalizeConnection personalizeConnection = new AmazonPersonalizeConnection(connectionInformation)) {
        final AmazonPersonalize personalize = personalizeConnection.getClient();
        final DefaultComboBoxModel<NameArnPair> comboBoxModel = new DefaultComboBoxModel<NameArnPair>(AmazonPersonalizeUtils.listAllSolutionVersions(personalize).stream().map(e -> new NameArnPair(shortARN(e.getSolutionVersionArn()), e.getSolutionVersionArn())).toArray(NameArnPair[]::new));
        if (comboBoxModel.getSize() == 0) {
            throw new InvalidSettingsException("No solution version available. You can create one using the 'Amazon Personalize Create Solution " + "Version' node.");
        }
        m_comboBoxSolutionVersionList.setModel(comboBoxModel);
        // Save the campaign names to check later if the specified name already exists
        m_campaignNames = AmazonPersonalizeUtils.listAllCampaigns(personalize).stream().map(e -> e.getName()).toArray(String[]::new);
    } catch (Exception e) {
        throw new NotConfigurableException(e.getMessage());
    }
    // Loading
    final AmazonPersonalizeCreateCampaignNodeSettings nodeSettings = new AmazonPersonalizeCreateCampaignNodeSettings();
    nodeSettings.loadSettingsForDialog(settings);
    m_textFieldCampaignName.setText(nodeSettings.getCampaignName());
    final NameArnPair solutionVersionARN = nodeSettings.getSolutionVersion();
    if (solutionVersionARN == null) {
        m_comboBoxSolutionVersionList.setSelectedItem(m_comboBoxSolutionVersionList.getItemAt(0));
    } else {
        m_comboBoxSolutionVersionList.setSelectedItem(solutionVersionARN);
    }
    m_spinnerMinNumProvisionedTransactions.setValue(nodeSettings.getMinProvisionedTPS());
    m_checkBoxOutputAsVariable.setSelected(nodeSettings.isOutputCampaignArnAsVar());
}
Also used : NotConfigurableException(org.knime.core.node.NotConfigurableException) AmazonPersonalizeConnection(org.knime.cloud.aws.mlservices.nodes.personalize.AmazonPersonalizeConnection) NameArnPair(org.knime.cloud.aws.mlservices.utils.personalize.NameArnPair) InvalidSettingsException(org.knime.core.node.InvalidSettingsException) AmazonPersonalize(com.amazonaws.services.personalize.AmazonPersonalize) DefaultComboBoxModel(javax.swing.DefaultComboBoxModel) CloudConnectionInformation(org.knime.cloud.core.util.port.CloudConnectionInformation) InvalidSettingsException(org.knime.core.node.InvalidSettingsException) NotConfigurableException(org.knime.core.node.NotConfigurableException)

Example 2 with AmazonPersonalize

use of com.amazonaws.services.personalize.AmazonPersonalize in project knime-cloud by knime.

the class AmazonPersonalizeCreateCampaignNodeModel method execute.

/**
 * {@inheritDoc}
 */
@Override
protected PortObject[] execute(final PortObject[] inObjects, final ExecutionContext exec) throws Exception {
    final CloudConnectionInformation cxnInfo = ((AmazonConnectionInformationPortObject) inObjects[0]).getConnectionInformation();
    try (final AmazonPersonalizeConnection personalizeConnection = new AmazonPersonalizeConnection(cxnInfo)) {
        final AmazonPersonalize personalizeClient = personalizeConnection.getClient();
        final CreateCampaignRequest createCampaignRequest = new CreateCampaignRequest();
        final CreateCampaignResult campaign = personalizeClient.createCampaign(createCampaignRequest.withName(m_settings.getCampaignName()).withSolutionVersionArn(m_settings.getSolutionVersion().getARN()).withMinProvisionedTPS(m_settings.getMinProvisionedTPS()));
        // TODO Test update of existing campaign
        try {
            final DescribeCampaignRequest describeCampaignRequest = new DescribeCampaignRequest().withCampaignArn(campaign.getCampaignArn());
            AmazonPersonalizeUtils.waitUntilActive(() -> {
                final DescribeCampaignResult campaignDescription = personalizeClient.describeCampaign(describeCampaignRequest);
                final String status = campaignDescription.getCampaign().getStatus();
                exec.setMessage("Creating campaign (Status: " + status + ")");
                if (status.equals(Status.CREATED_FAILED.getStatus())) {
                    personalizeClient.deleteCampaign(new DeleteCampaignRequest().withCampaignArn(campaignDescription.getCampaign().getCampaignArn()));
                    throw new IllegalStateException("No campaign has been created. Reason: " + campaignDescription.getCampaign().getFailureReason());
                }
                return status.equals(Status.ACTIVE.getStatus());
            }, 1000);
        } catch (InterruptedException e) {
            // TODO
            throw e;
        }
        if (m_settings.isOutputCampaignArnAsVar()) {
            pushFlowVariableString("campaign-ARN", campaign.getCampaignArn());
        }
    }
    return null;
}
Also used : AmazonPersonalizeConnection(org.knime.cloud.aws.mlservices.nodes.personalize.AmazonPersonalizeConnection) DescribeCampaignRequest(com.amazonaws.services.personalize.model.DescribeCampaignRequest) DeleteCampaignRequest(com.amazonaws.services.personalize.model.DeleteCampaignRequest) AmazonConnectionInformationPortObject(org.knime.cloud.aws.util.AmazonConnectionInformationPortObject) CreateCampaignResult(com.amazonaws.services.personalize.model.CreateCampaignResult) DescribeCampaignResult(com.amazonaws.services.personalize.model.DescribeCampaignResult) AmazonPersonalize(com.amazonaws.services.personalize.AmazonPersonalize) CloudConnectionInformation(org.knime.cloud.core.util.port.CloudConnectionInformation) CreateCampaignRequest(com.amazonaws.services.personalize.model.CreateCampaignRequest)

Example 3 with AmazonPersonalize

use of com.amazonaws.services.personalize.AmazonPersonalize in project knime-cloud by knime.

the class AmazonPersonalizeCreateSolutionVersionNodeModel method execute.

/**
 * {@inheritDoc}
 */
@Override
protected PortObject[] execute(final PortObject[] inObjects, final ExecutionContext exec) throws Exception {
    final CloudConnectionInformation cxnInfo = ((AmazonConnectionInformationPortObject) inObjects[0]).getConnectionInformation();
    try (final AmazonPersonalizeConnection personalizeConnection = new AmazonPersonalizeConnection(cxnInfo)) {
        final AmazonPersonalize personalizeClient = personalizeConnection.getClient();
        // Create solution configuration or use existing one
        final String solutionArn;
        if (m_settings.isCreateNewSolution()) {
            solutionArn = createSolution(personalizeClient);
        } else {
            solutionArn = m_settings.getExistingSolution().getARN();
        }
        // Wait until the solution is active
        final DescribeSolutionRequest describeSolutionRequest = new DescribeSolutionRequest().withSolutionArn(solutionArn);
        AmazonPersonalizeUtils.waitUntilActive(() -> {
            DescribeSolutionResult describeSolution = personalizeClient.describeSolution(describeSolutionRequest);
            final String status = describeSolution.getSolution().getStatus();
            exec.setMessage("Creating solution configuration (Status: " + status + ")");
            return status.equals(Status.ACTIVE.getStatus());
        }, 100);
        exec.setProgress(0.5);
        // Create solution version
        final String solutionVersionArn = personalizeClient.createSolutionVersion(new CreateSolutionVersionRequest().withSolutionArn(solutionArn)).getSolutionVersionArn();
        // Wait until solution version is active (or failed)
        final DescribeSolutionVersionRequest describeSolutionVersionRequest = new DescribeSolutionVersionRequest().withSolutionVersionArn(solutionVersionArn);
        AmazonPersonalizeUtils.waitUntilActive(() -> {
            final DescribeSolutionVersionResult solutionVersionDescription = personalizeClient.describeSolutionVersion(describeSolutionVersionRequest);
            final String status = solutionVersionDescription.getSolutionVersion().getStatus();
            exec.setMessage("Creating solution version (Status: " + status + ")");
            if (status.equals(Status.CREATED_FAILED.getStatus())) {
                throw new IllegalStateException("No solution version has been created. Reason: " + solutionVersionDescription.getSolutionVersion().getFailureReason());
            }
            return status.equals(Status.ACTIVE.getStatus());
        }, 2000);
        // Retrieve the recipe type to put it into the output
        final DescribeSolutionVersionResult solutionVersionDescription = personalizeClient.describeSolutionVersion(describeSolutionVersionRequest);
        final String recipeType = personalizeClient.describeRecipe(new DescribeRecipeRequest().withRecipeArn(solutionVersionDescription.getSolutionVersion().getRecipeArn())).getRecipe().getRecipeType();
        // final String recipeType = personalizeClient.describeRecipe(new DescribeRecipeRequest().withRecipeArn(
        // personalizeClient.describeSolution(new DescribeSolutionRequest().withSolutionArn(solutionArn))
        // .getSolution().getRecipeArn()))
        // .getRecipe().getRecipeType();
        // Create output
        final Map<String, Double> metrics = personalizeClient.getSolutionMetrics(new GetSolutionMetricsRequest().withSolutionVersionArn(solutionVersionArn)).getMetrics();
        if (m_settings.isOutputSolutionVersionArnAsVar()) {
            pushFlowVariableString("solution-version-ARN", solutionVersionArn);
        }
        return new PortObject[] { createOutput(exec, solutionVersionArn, recipeType, metrics) };
    }
}
Also used : AmazonPersonalizeConnection(org.knime.cloud.aws.mlservices.nodes.personalize.AmazonPersonalizeConnection) DescribeRecipeRequest(com.amazonaws.services.personalize.model.DescribeRecipeRequest) GetSolutionMetricsRequest(com.amazonaws.services.personalize.model.GetSolutionMetricsRequest) DescribeSolutionResult(com.amazonaws.services.personalize.model.DescribeSolutionResult) AmazonPersonalize(com.amazonaws.services.personalize.AmazonPersonalize) DescribeSolutionVersionResult(com.amazonaws.services.personalize.model.DescribeSolutionVersionResult) CreateSolutionVersionRequest(com.amazonaws.services.personalize.model.CreateSolutionVersionRequest) DescribeSolutionRequest(com.amazonaws.services.personalize.model.DescribeSolutionRequest) AmazonConnectionInformationPortObject(org.knime.cloud.aws.util.AmazonConnectionInformationPortObject) DescribeSolutionVersionRequest(com.amazonaws.services.personalize.model.DescribeSolutionVersionRequest) CloudConnectionInformation(org.knime.cloud.core.util.port.CloudConnectionInformation) AmazonConnectionInformationPortObject(org.knime.cloud.aws.util.AmazonConnectionInformationPortObject) PortObject(org.knime.core.node.port.PortObject)

Example 4 with AmazonPersonalize

use of com.amazonaws.services.personalize.AmazonPersonalize in project knime-cloud by knime.

the class AmazonPersonalizeCreateSolutionVersionNodeModel method createSolution.

private String createSolution(final AmazonPersonalize personalizeClient) {
    final NameArnPair datasetGroup = m_settings.getDatasetGroup();
    final RecipeSelection recipeSelection = m_settings.getRecipeSelection();
    final boolean isHPO = m_settings.isHyperparameterOpt();
    // Create the request
    final CreateSolutionRequest createSolutionRequest = new CreateSolutionRequest().withDatasetGroupArn(datasetGroup.getARN()).withPerformHPO(isHPO);
    if (recipeSelection == RecipeSelection.PREDEFINED) {
        createSolutionRequest.setPerformAutoML(false);
        createSolutionRequest.setRecipeArn(m_settings.getPredefinedRecipe().getARN());
    } else if (recipeSelection == RecipeSelection.USER_DEFINED) {
        createSolutionRequest.setPerformAutoML(false);
        createSolutionRequest.setRecipeArn(m_settings.getUserDefinedRecipeArn());
    } else if (recipeSelection == RecipeSelection.AUTOML) {
        createSolutionRequest.setPerformAutoML(true);
        final SolutionConfig solutionConfig = new SolutionConfig();
        solutionConfig.setAutoMLConfig(new AutoMLConfig().withRecipeList(AUTOML_RECIPES));
        createSolutionRequest.setSolutionConfig(solutionConfig);
    } else {
        throw new IllegalStateException("Unexpected recipe selection: " + recipeSelection.name());
    }
    final ListSolutionsResult solutions = personalizeClient.listSolutions(new ListSolutionsRequest().withDatasetGroupArn(datasetGroup.getARN()));
    final String solutionName = m_settings.getSolutionName();
    final Optional<String> optionalSolutionArn = solutions.getSolutions().stream().filter(e -> e.getName().equals(solutionName)).map(e -> e.getSolutionArn()).findFirst();
    if (optionalSolutionArn.isPresent()) {
        throw new IllegalStateException("A solution with the name '" + solutionName + "' already exists.");
    }
    createSolutionRequest.setName(solutionName);
    return personalizeClient.createSolution(createSolutionRequest).getSolutionArn();
}
Also used : NodeSettingsRO(org.knime.core.node.NodeSettingsRO) AmazonConnectionInformationPortObject(org.knime.cloud.aws.util.AmazonConnectionInformationPortObject) DataTableSpec(org.knime.core.data.DataTableSpec) InvalidSettingsException(org.knime.core.node.InvalidSettingsException) CanceledExecutionException(org.knime.core.node.CanceledExecutionException) GetSolutionMetricsRequest(com.amazonaws.services.personalize.model.GetSolutionMetricsRequest) ExecutionContext(org.knime.core.node.ExecutionContext) CloudConnectionInformation(org.knime.cloud.core.util.port.CloudConnectionInformation) AmazonPersonalizeUtils(org.knime.cloud.aws.mlservices.utils.personalize.AmazonPersonalizeUtils) Status(org.knime.cloud.aws.mlservices.utils.personalize.AmazonPersonalizeUtils.Status) AutoMLConfig(com.amazonaws.services.personalize.model.AutoMLConfig) DataColumnSpec(org.knime.core.data.DataColumnSpec) DataColumnSpecCreator(org.knime.core.data.DataColumnSpecCreator) Map(java.util.Map) DescribeSolutionRequest(com.amazonaws.services.personalize.model.DescribeSolutionRequest) AmazonPersonalizeConnection(org.knime.cloud.aws.mlservices.nodes.personalize.AmazonPersonalizeConnection) DataCell(org.knime.core.data.DataCell) DescribeRecipeRequest(com.amazonaws.services.personalize.model.DescribeRecipeRequest) ListSolutionsRequest(com.amazonaws.services.personalize.model.ListSolutionsRequest) PortType(org.knime.core.node.port.PortType) DescribeSolutionVersionResult(com.amazonaws.services.personalize.model.DescribeSolutionVersionResult) DefaultRow(org.knime.core.data.def.DefaultRow) ExecutionMonitor(org.knime.core.node.ExecutionMonitor) NameArnPair(org.knime.cloud.aws.mlservices.utils.personalize.NameArnPair) StringCellFactory(org.knime.core.data.def.StringCell.StringCellFactory) DescribeSolutionResult(com.amazonaws.services.personalize.model.DescribeSolutionResult) DescribeSolutionVersionRequest(com.amazonaws.services.personalize.model.DescribeSolutionVersionRequest) ListSolutionsResult(com.amazonaws.services.personalize.model.ListSolutionsResult) PortObjectSpec(org.knime.core.node.port.PortObjectSpec) IOException(java.io.IOException) DoubleCell(org.knime.core.data.def.DoubleCell) AmazonPersonalize(com.amazonaws.services.personalize.AmazonPersonalize) BufferedDataContainer(org.knime.core.node.BufferedDataContainer) NodeModel(org.knime.core.node.NodeModel) CreateSolutionVersionRequest(com.amazonaws.services.personalize.model.CreateSolutionVersionRequest) File(java.io.File) DoubleCellFactory(org.knime.core.data.def.DoubleCell.DoubleCellFactory) NodeSettingsWO(org.knime.core.node.NodeSettingsWO) SolutionConfig(com.amazonaws.services.personalize.model.SolutionConfig) BufferedDataTable(org.knime.core.node.BufferedDataTable) CreateSolutionRequest(com.amazonaws.services.personalize.model.CreateSolutionRequest) Optional(java.util.Optional) StringCell(org.knime.core.data.def.StringCell) PortObject(org.knime.core.node.port.PortObject) NameArnPair(org.knime.cloud.aws.mlservices.utils.personalize.NameArnPair) CreateSolutionRequest(com.amazonaws.services.personalize.model.CreateSolutionRequest) SolutionConfig(com.amazonaws.services.personalize.model.SolutionConfig) ListSolutionsRequest(com.amazonaws.services.personalize.model.ListSolutionsRequest) AutoMLConfig(com.amazonaws.services.personalize.model.AutoMLConfig) ListSolutionsResult(com.amazonaws.services.personalize.model.ListSolutionsResult)

Example 5 with AmazonPersonalize

use of com.amazonaws.services.personalize.AmazonPersonalize in project knime-cloud by knime.

the class AbstractAmazonPersonalizeDataUploadNodeModel method deleteDataset.

private void deleteDataset(final AmazonPersonalize personalizeClient, final String datasetGroupArn, final String datasetARN) throws InterruptedException {
    personalizeClient.deleteDataset(new DeleteDatasetRequest().withDatasetArn(datasetARN));
    final ListDatasetsRequest listDatasetsRequest = new ListDatasetsRequest().withDatasetGroupArn(datasetGroupArn);
    AmazonPersonalizeUtils.waitUntilActive(() -> {
        final List<DatasetSummary> datasets = personalizeClient.listDatasets(listDatasetsRequest).getDatasets();
        return !datasets.stream().anyMatch(e -> e.getDatasetType().equals(m_datasetType));
    }, 500);
}
Also used : DeleteDatasetRequest(com.amazonaws.services.personalize.model.DeleteDatasetRequest) ConnectionMonitor(org.knime.base.filehandling.remote.files.ConnectionMonitor) Arrays(java.util.Arrays) NodeSettingsRO(org.knime.core.node.NodeSettingsRO) AmazonConnectionInformationPortObject(org.knime.cloud.aws.util.AmazonConnectionInformationPortObject) CSVWriter(org.knime.base.node.io.csvwriter.CSVWriter) InvalidSettingsException(org.knime.core.node.InvalidSettingsException) CanceledExecutionException(org.knime.core.node.CanceledExecutionException) URISyntaxException(java.net.URISyntaxException) ListDatasetGroupsResult(com.amazonaws.services.personalize.model.ListDatasetGroupsResult) DescribeDatasetGroupResult(com.amazonaws.services.personalize.model.DescribeDatasetGroupResult) RemoteFile(org.knime.base.filehandling.remote.files.RemoteFile) CreateDatasetGroupResult(com.amazonaws.services.personalize.model.CreateDatasetGroupResult) CreateDatasetImportJobRequest(com.amazonaws.services.personalize.model.CreateDatasetImportJobRequest) InvalidInputException(com.amazonaws.services.personalize.model.InvalidInputException) Status(org.knime.cloud.aws.mlservices.utils.personalize.AmazonPersonalizeUtils.Status) DataColumnSpec(org.knime.core.data.DataColumnSpec) Map(java.util.Map) FieldAssembler(org.apache.avro.SchemaBuilder.FieldAssembler) URI(java.net.URI) DeleteDatasetGroupRequest(com.amazonaws.services.personalize.model.DeleteDatasetGroupRequest) DescribeDatasetImportJobRequest(com.amazonaws.services.personalize.model.DescribeDatasetImportJobRequest) PortType(org.knime.core.node.port.PortType) FileWriterSettings(org.knime.base.node.io.csvwriter.FileWriterSettings) IntValue(org.knime.core.data.IntValue) ExecutionMonitor(org.knime.core.node.ExecutionMonitor) Schema(org.apache.avro.Schema) AmazonPersonalize(com.amazonaws.services.personalize.AmazonPersonalize) NodeModel(org.knime.core.node.NodeModel) Collectors(java.util.stream.Collectors) List(java.util.List) BufferedDataTable(org.knime.core.node.BufferedDataTable) RemoteFileFactory(org.knime.base.filehandling.remote.files.RemoteFileFactory) Optional(java.util.Optional) DataSource(com.amazonaws.services.personalize.model.DataSource) DescribeDatasetImportJobResult(com.amazonaws.services.personalize.model.DescribeDatasetImportJobResult) PortObject(org.knime.core.node.port.PortObject) LongValue(org.knime.core.data.LongValue) DataTableSpec(org.knime.core.data.DataTableSpec) DatasetGroupSummary(com.amazonaws.services.personalize.model.DatasetGroupSummary) DescribeDatasetGroupRequest(com.amazonaws.services.personalize.model.DescribeDatasetGroupRequest) HashMap(java.util.HashMap) DatasetSummary(com.amazonaws.services.personalize.model.DatasetSummary) BufferedOutputStream(java.io.BufferedOutputStream) ExecutionContext(org.knime.core.node.ExecutionContext) CloudConnectionInformation(org.knime.cloud.core.util.port.CloudConnectionInformation) Connection(org.knime.base.filehandling.remote.files.Connection) AmazonPersonalizeUtils(org.knime.cloud.aws.mlservices.utils.personalize.AmazonPersonalizeUtils) CreateSchemaRequest(com.amazonaws.services.personalize.model.CreateSchemaRequest) OutputStreamWriter(java.io.OutputStreamWriter) AmazonPersonalizeConnection(org.knime.cloud.aws.mlservices.nodes.personalize.AmazonPersonalizeConnection) DataCell(org.knime.core.data.DataCell) Type(org.apache.avro.Schema.Type) StringValue(org.knime.core.data.StringValue) CreateDatasetGroupRequest(com.amazonaws.services.personalize.model.CreateDatasetGroupRequest) ConnectionInformation(org.knime.base.filehandling.remote.connectioninformation.port.ConnectionInformation) CloseableRowIterator(org.knime.core.data.container.CloseableRowIterator) CreateDatasetRequest(com.amazonaws.services.personalize.model.CreateDatasetRequest) ListDatasetsResult(com.amazonaws.services.personalize.model.ListDatasetsResult) FileOutputStream(java.io.FileOutputStream) PortObjectSpec(org.knime.core.node.port.PortObjectSpec) IOException(java.io.IOException) DatasetSchemaSummary(com.amazonaws.services.personalize.model.DatasetSchemaSummary) DeleteDatasetRequest(com.amazonaws.services.personalize.model.DeleteDatasetRequest) File(java.io.File) DataRow(org.knime.core.data.DataRow) NodeSettingsWO(org.knime.core.node.NodeSettingsWO) ListDatasetGroupsRequest(com.amazonaws.services.personalize.model.ListDatasetGroupsRequest) ListDatasetsRequest(com.amazonaws.services.personalize.model.ListDatasetsRequest) StringUtils(com.amazonaws.util.StringUtils) ColumnRearranger(org.knime.core.data.container.ColumnRearranger) FileUtil(org.knime.core.util.FileUtil) DatasetSummary(com.amazonaws.services.personalize.model.DatasetSummary) ListDatasetsRequest(com.amazonaws.services.personalize.model.ListDatasetsRequest)

Aggregations

AmazonPersonalize (com.amazonaws.services.personalize.AmazonPersonalize)12 AmazonPersonalizeConnection (org.knime.cloud.aws.mlservices.nodes.personalize.AmazonPersonalizeConnection)12 CloudConnectionInformation (org.knime.cloud.core.util.port.CloudConnectionInformation)11 InvalidSettingsException (org.knime.core.node.InvalidSettingsException)9 AmazonConnectionInformationPortObject (org.knime.cloud.aws.util.AmazonConnectionInformationPortObject)8 AmazonPersonalizeUtils (org.knime.cloud.aws.mlservices.utils.personalize.AmazonPersonalizeUtils)6 DataTableSpec (org.knime.core.data.DataTableSpec)6 BufferedDataTable (org.knime.core.node.BufferedDataTable)6 NodeSettingsRO (org.knime.core.node.NodeSettingsRO)6 NodeSettingsWO (org.knime.core.node.NodeSettingsWO)6 PortObjectSpec (org.knime.core.node.port.PortObjectSpec)6 CreateDatasetRequest (com.amazonaws.services.personalize.model.CreateDatasetRequest)5 File (java.io.File)5 IOException (java.io.IOException)5 CreateDatasetGroupRequest (com.amazonaws.services.personalize.model.CreateDatasetGroupRequest)4 CreateDatasetGroupResult (com.amazonaws.services.personalize.model.CreateDatasetGroupResult)4 CreateDatasetImportJobRequest (com.amazonaws.services.personalize.model.CreateDatasetImportJobRequest)4 CreateSchemaRequest (com.amazonaws.services.personalize.model.CreateSchemaRequest)4 DatasetGroupSummary (com.amazonaws.services.personalize.model.DatasetGroupSummary)4 URI (java.net.URI)4