AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Implementation for accessing MachineLearning Definition of the public APIs exposed by Amazon Machine Learning
Namespace: Amazon.MachineLearning
Assembly: AWSSDK.MachineLearning.dll
Version: 3.x.y.z
public class AmazonMachineLearningClient : AmazonServiceClient IAmazonMachineLearning, IAmazonService, IDisposable
The AmazonMachineLearningClient type exposes the following members
| Name | Description | |
|---|---|---|
|
AmazonMachineLearningClient() |
Constructs AmazonMachineLearningClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="AWSProfileName" value="AWS Default"/>
</appSettings>
</configuration>
|
|
AmazonMachineLearningClient(RegionEndpoint) |
Constructs AmazonMachineLearningClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="AWSProfileName" value="AWS Default"/>
</appSettings>
</configuration>
|
|
AmazonMachineLearningClient(AmazonMachineLearningConfig) |
Constructs AmazonMachineLearningClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="AWSProfileName" value="AWS Default"/>
</appSettings>
</configuration>
|
|
AmazonMachineLearningClient(AWSCredentials) |
Constructs AmazonMachineLearningClient with AWS Credentials |
|
AmazonMachineLearningClient(AWSCredentials, RegionEndpoint) |
Constructs AmazonMachineLearningClient with AWS Credentials |
|
AmazonMachineLearningClient(AWSCredentials, AmazonMachineLearningConfig) |
Constructs AmazonMachineLearningClient with AWS Credentials and an AmazonMachineLearningClient Configuration object. |
|
AmazonMachineLearningClient(string, string) |
Constructs AmazonMachineLearningClient with AWS Access Key ID and AWS Secret Key |
|
AmazonMachineLearningClient(string, string, RegionEndpoint) |
Constructs AmazonMachineLearningClient with AWS Access Key ID and AWS Secret Key |
|
AmazonMachineLearningClient(string, string, AmazonMachineLearningConfig) |
Constructs AmazonMachineLearningClient with AWS Access Key ID, AWS Secret Key and an AmazonMachineLearningClient Configuration object. |
|
AmazonMachineLearningClient(string, string, string) |
Constructs AmazonMachineLearningClient with AWS Access Key ID and AWS Secret Key |
|
AmazonMachineLearningClient(string, string, string, RegionEndpoint) |
Constructs AmazonMachineLearningClient with AWS Access Key ID and AWS Secret Key |
|
AmazonMachineLearningClient(string, string, string, AmazonMachineLearningConfig) |
Constructs AmazonMachineLearningClient with AWS Access Key ID, AWS Secret Key and an AmazonMachineLearningClient Configuration object. |
| Name | Type | Description | |
|---|---|---|---|
|
Config | Amazon.Runtime.IClientConfig | Inherited from Amazon.Runtime.AmazonServiceClient. |
|
Paginators | Amazon.MachineLearning.Model.IMachineLearningPaginatorFactory |
Paginators for the service |
| Name | Description | |
|---|---|---|
|
AddTags(AddTagsRequest) |
Adds one or more tags to an object, up to a limit of 10. Each tag consists of a key
and an optional value. If you add a tag using a key that is already associated with
the ML object, |
|
AddTagsAsync(AddTagsRequest, CancellationToken) |
Adds one or more tags to an object, up to a limit of 10. Each tag consists of a key
and an optional value. If you add a tag using a key that is already associated with
the ML object, |
|
CreateBatchPrediction(CreateBatchPredictionRequest) |
Generates predictions for a group of observations. The observations to process exist
in one or more data files referenced by a
You can poll for status updates by using the GetBatchPrediction operation and
checking the |
|
CreateBatchPredictionAsync(CreateBatchPredictionRequest, CancellationToken) |
Generates predictions for a group of observations. The observations to process exist
in one or more data files referenced by a
You can poll for status updates by using the GetBatchPrediction operation and
checking the |
|
CreateDataSourceFromRDS(CreateDataSourceFromRDSRequest) |
Creates a
If Amazon ML cannot accept the input source, it sets the |
|
CreateDataSourceFromRDSAsync(CreateDataSourceFromRDSRequest, CancellationToken) |
Creates a
If Amazon ML cannot accept the input source, it sets the |
|
CreateDataSourceFromRedshift(CreateDataSourceFromRedshiftRequest) |
Creates a
If Amazon ML can't accept the input source, it sets the
The observations should be contained in the database hosted on an Amazon Redshift
cluster and should be specified by a
After the
You can't change an existing datasource, but you can copy and modify the settings
from an existing Amazon Redshift datasource to create a new datasource. To do so,
call |
|
CreateDataSourceFromRedshiftAsync(CreateDataSourceFromRedshiftRequest, CancellationToken) |
Creates a
If Amazon ML can't accept the input source, it sets the
The observations should be contained in the database hosted on an Amazon Redshift
cluster and should be specified by a
After the
You can't change an existing datasource, but you can copy and modify the settings
from an existing Amazon Redshift datasource to create a new datasource. To do so,
call |
|
CreateDataSourceFromS3(CreateDataSourceFromS3Request) |
Creates a
If Amazon ML can't accept the input source, it sets the
The observation data used in a
After the |
|
CreateDataSourceFromS3Async(CreateDataSourceFromS3Request, CancellationToken) |
Creates a
If Amazon ML can't accept the input source, it sets the
The observation data used in a
After the |
|
CreateEvaluation(CreateEvaluationRequest) |
Creates a new
You can use the |
|
CreateEvaluationAsync(CreateEvaluationRequest, CancellationToken) |
Creates a new
You can use the |
|
CreateMLModel(CreateMLModelRequest) |
Creates a new
An
You can use the
|
|
CreateMLModelAsync(CreateMLModelRequest, CancellationToken) |
Creates a new
An
You can use the
|
|
CreateRealtimeEndpoint(string) |
Creates a real-time endpoint for the |
|
CreateRealtimeEndpoint(CreateRealtimeEndpointRequest) |
Creates a real-time endpoint for the |
|
CreateRealtimeEndpointAsync(string, CancellationToken) |
Creates a real-time endpoint for the |
|
CreateRealtimeEndpointAsync(CreateRealtimeEndpointRequest, CancellationToken) |
Creates a real-time endpoint for the |
|
CreateRealtimePredictor(string) |
Creates a simple client that just does realtime predictions. |
|
DeleteBatchPrediction(string) |
Assigns the DELETED status to a
After using the
Caution: The result of the |
|
DeleteBatchPrediction(DeleteBatchPredictionRequest) |
Assigns the DELETED status to a
After using the
Caution: The result of the |
|
DeleteBatchPredictionAsync(string, CancellationToken) |
Assigns the DELETED status to a
After using the
Caution: The result of the |
|
DeleteBatchPredictionAsync(DeleteBatchPredictionRequest, CancellationToken) |
Assigns the DELETED status to a
After using the
Caution: The result of the |
|
DeleteDataSource(string) |
Assigns the DELETED status to a
After using the
Caution: The results of the |
|
DeleteDataSource(DeleteDataSourceRequest) |
Assigns the DELETED status to a
After using the
Caution: The results of the |
|
DeleteDataSourceAsync(string, CancellationToken) |
Assigns the DELETED status to a
After using the
Caution: The results of the |
|
DeleteDataSourceAsync(DeleteDataSourceRequest, CancellationToken) |
Assigns the DELETED status to a
After using the
Caution: The results of the |
|
DeleteEvaluation(string) |
Assigns the
After invoking the
Caution: The results of the |
|
DeleteEvaluation(DeleteEvaluationRequest) |
Assigns the
After invoking the
Caution: The results of the |
|
DeleteEvaluationAsync(string, CancellationToken) |
Assigns the
After invoking the
Caution: The results of the |
|
DeleteEvaluationAsync(DeleteEvaluationRequest, CancellationToken) |
Assigns the
After invoking the
Caution: The results of the |
|
DeleteMLModel(string) |
Assigns the
After using the
Caution: The result of the |
|
DeleteMLModel(DeleteMLModelRequest) |
Assigns the
After using the
Caution: The result of the |
|
DeleteMLModelAsync(string, CancellationToken) |
Assigns the
After using the
Caution: The result of the |
|
DeleteMLModelAsync(DeleteMLModelRequest, CancellationToken) |
Assigns the
After using the
Caution: The result of the |
|
DeleteRealtimeEndpoint(string) |
Deletes a real time endpoint of an |
|
DeleteRealtimeEndpoint(DeleteRealtimeEndpointRequest) |
Deletes a real time endpoint of an |
|
DeleteRealtimeEndpointAsync(string, CancellationToken) |
Deletes a real time endpoint of an |
|
DeleteRealtimeEndpointAsync(DeleteRealtimeEndpointRequest, CancellationToken) |
Deletes a real time endpoint of an |
|
DeleteTags(DeleteTagsRequest) |
Deletes the specified tags associated with an ML object. After this operation is complete, you can't recover deleted tags. If you specify a tag that doesn't exist, Amazon ML ignores it. |
|
DeleteTagsAsync(DeleteTagsRequest, CancellationToken) |
Deletes the specified tags associated with an ML object. After this operation is complete, you can't recover deleted tags. If you specify a tag that doesn't exist, Amazon ML ignores it. |
|
DescribeBatchPredictions(DescribeBatchPredictionsRequest) |
Returns a list of |
|
DescribeBatchPredictionsAsync(DescribeBatchPredictionsRequest, CancellationToken) |
Returns a list of |
|
DescribeDataSources(DescribeDataSourcesRequest) |
Returns a list of |
|
DescribeDataSourcesAsync(DescribeDataSourcesRequest, CancellationToken) |
Returns a list of |
|
DescribeEvaluations(DescribeEvaluationsRequest) |
Returns a list of |
|
DescribeEvaluationsAsync(DescribeEvaluationsRequest, CancellationToken) |
Returns a list of |
|
DescribeMLModels(DescribeMLModelsRequest) |
Returns a list of |
|
DescribeMLModelsAsync(DescribeMLModelsRequest, CancellationToken) |
Returns a list of |
|
DescribeTags(DescribeTagsRequest) |
Describes one or more of the tags for your Amazon ML object. |
|
DescribeTagsAsync(DescribeTagsRequest, CancellationToken) |
Describes one or more of the tags for your Amazon ML object. |
|
DetermineServiceOperationEndpoint(AmazonWebServiceRequest) |
Returns the endpoint that will be used for a particular request. |
|
Dispose() | Inherited from Amazon.Runtime.AmazonServiceClient. |
|
GetBatchPrediction(string) |
Returns a |
|
GetBatchPrediction(GetBatchPredictionRequest) |
Returns a |
|
GetBatchPredictionAsync(string, CancellationToken) |
Returns a |
|
GetBatchPredictionAsync(GetBatchPredictionRequest, CancellationToken) |
Returns a |
|
GetDataSource(string) |
Returns a
|
|
GetDataSource(string, Nullable<Boolean>) |
Returns a
|
|
GetDataSource(GetDataSourceRequest) |
Returns a
|
|
GetDataSourceAsync(string, CancellationToken) |
Returns a
|
|
GetDataSourceAsync(string, Nullable<Boolean>, CancellationToken) |
Returns a
|
|
GetDataSourceAsync(GetDataSourceRequest, CancellationToken) |
Returns a
|
|
GetEvaluation(string) |
Returns an |
|
GetEvaluation(GetEvaluationRequest) |
Returns an |
|
GetEvaluationAsync(string, CancellationToken) |
Returns an |
|
GetEvaluationAsync(GetEvaluationRequest, CancellationToken) |
Returns an |
|
GetMLModel(string) |
Returns an
|
|
GetMLModel(string, Nullable<Boolean>) |
Returns an
|
|
GetMLModel(GetMLModelRequest) |
Returns an
|
|
GetMLModelAsync(string, CancellationToken) |
Returns an
|
|
GetMLModelAsync(string, Nullable<Boolean>, CancellationToken) |
Returns an
|
|
GetMLModelAsync(GetMLModelRequest, CancellationToken) |
Returns an
|
|
Predict(string, string, Dictionary<String, String>) |
Generates a prediction for the observation using the specified Note: Not all response parameters will be populated. Whether a response parameter is populated depends on the type of model requested. |
|
Predict(PredictRequest) |
Generates a prediction for the observation using the specified Note: Not all response parameters will be populated. Whether a response parameter is populated depends on the type of model requested. |
|
PredictAsync(string, string, Dictionary<String, String>, CancellationToken) |
Generates a prediction for the observation using the specified Note: Not all response parameters will be populated. Whether a response parameter is populated depends on the type of model requested. |
|
PredictAsync(PredictRequest, CancellationToken) |
Generates a prediction for the observation using the specified Note: Not all response parameters will be populated. Whether a response parameter is populated depends on the type of model requested. |
|
UpdateBatchPrediction(string, string) |
Updates the
You can use the |
|
UpdateBatchPrediction(UpdateBatchPredictionRequest) |
Updates the
You can use the |
|
UpdateBatchPredictionAsync(string, string, CancellationToken) |
Updates the
You can use the |
|
UpdateBatchPredictionAsync(UpdateBatchPredictionRequest, CancellationToken) |
Updates the
You can use the |
|
UpdateDataSource(string, string) |
Updates the
You can use the |
|
UpdateDataSource(UpdateDataSourceRequest) |
Updates the
You can use the |
|
UpdateDataSourceAsync(string, string, CancellationToken) |
Updates the
You can use the |
|
UpdateDataSourceAsync(UpdateDataSourceRequest, CancellationToken) |
Updates the
You can use the |
|
UpdateEvaluation(string, string) |
Updates the
You can use the |
|
UpdateEvaluation(UpdateEvaluationRequest) |
Updates the
You can use the |
|
UpdateEvaluationAsync(string, string, CancellationToken) |
Updates the
You can use the |
|
UpdateEvaluationAsync(UpdateEvaluationRequest, CancellationToken) |
Updates the
You can use the |
|
UpdateMLModel(string, string, Nullable<Single>) |
Updates the
You can use the |
|
UpdateMLModel(UpdateMLModelRequest) |
Updates the
You can use the |
|
UpdateMLModelAsync(string, string, Nullable<Single>, CancellationToken) |
Updates the
You can use the |
|
UpdateMLModelAsync(UpdateMLModelRequest, CancellationToken) |
Updates the
You can use the |
| Name | Description | |
|---|---|---|
|
AfterResponseEvent | Inherited from Amazon.Runtime.AmazonServiceClient. |
|
BeforeRequestEvent | Inherited from Amazon.Runtime.AmazonServiceClient. |
|
ExceptionEvent | Inherited from Amazon.Runtime.AmazonServiceClient. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer