/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the machinelearning-2014-12-12.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.MachineLearning.Model { /// /// Container for the parameters to the CreateBatchPrediction operation. /// Generates predictions for a group of observations. The observations to process exist /// in one or more data files referenced by a DataSource. This operation /// creates a new BatchPrediction, and uses an MLModel and the /// data files referenced by the DataSource as information sources. /// /// /// /// CreateBatchPrediction is an asynchronous operation. In response to CreateBatchPrediction, /// Amazon Machine Learning (Amazon ML) immediately returns and sets the BatchPrediction /// status to PENDING. After the BatchPrediction completes, /// Amazon ML sets the status to COMPLETED. /// /// /// /// You can poll for status updates by using the GetBatchPrediction operation and /// checking the Status parameter of the result. After the COMPLETED /// status appears, the results are available in the location specified by the OutputUri /// parameter. /// /// public partial class CreateBatchPredictionRequest : AmazonMachineLearningRequest { private string _batchPredictionDataSourceId; private string _batchPredictionId; private string _batchPredictionName; private string _mlModelId; private string _outputUri; /// /// Gets and sets the property BatchPredictionDataSourceId. /// /// The ID of the DataSource that points to the group of observations to /// predict. /// /// [AWSProperty(Required=true, Min=1, Max=64)] public string BatchPredictionDataSourceId { get { return this._batchPredictionDataSourceId; } set { this._batchPredictionDataSourceId = value; } } // Check to see if BatchPredictionDataSourceId property is set internal bool IsSetBatchPredictionDataSourceId() { return this._batchPredictionDataSourceId != null; } /// /// Gets and sets the property BatchPredictionId. /// /// A user-supplied ID that uniquely identifies the BatchPrediction. /// /// [AWSProperty(Required=true, Min=1, Max=64)] public string BatchPredictionId { get { return this._batchPredictionId; } set { this._batchPredictionId = value; } } // Check to see if BatchPredictionId property is set internal bool IsSetBatchPredictionId() { return this._batchPredictionId != null; } /// /// Gets and sets the property BatchPredictionName. /// /// A user-supplied name or description of the BatchPrediction. BatchPredictionName /// can only use the UTF-8 character set. /// /// [AWSProperty(Max=1024)] public string BatchPredictionName { get { return this._batchPredictionName; } set { this._batchPredictionName = value; } } // Check to see if BatchPredictionName property is set internal bool IsSetBatchPredictionName() { return this._batchPredictionName != null; } /// /// Gets and sets the property MLModelId. /// /// The ID of the MLModel that will generate predictions for the group of /// observations. /// /// [AWSProperty(Required=true, Min=1, Max=64)] public string MLModelId { get { return this._mlModelId; } set { this._mlModelId = value; } } // Check to see if MLModelId property is set internal bool IsSetMLModelId() { return this._mlModelId != null; } /// /// Gets and sets the property OutputUri. /// /// The location of an Amazon Simple Storage Service (Amazon S3) bucket or directory to /// store the batch prediction results. The following substrings are not allowed in the /// s3 key portion of the outputURI field: ':', '//', '/./', /// '/../'. /// /// /// /// Amazon ML needs permissions to store and retrieve the logs on your behalf. For information /// about how to set permissions, see the Amazon /// Machine Learning Developer Guide. /// /// [AWSProperty(Required=true, Max=2048)] public string OutputUri { get { return this._outputUri; } set { this._outputUri = value; } } // Check to see if OutputUri property is set internal bool IsSetOutputUri() { return this._outputUri != null; } } }