@aws-sdk/client-machine-learning 3.299.0 → 3.300.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/commands/AddTagsCommand.d.ts +10 -0
- package/dist-types/commands/CreateBatchPredictionCommand.d.ts +7 -0
- package/dist-types/commands/CreateDataSourceFromRDSCommand.d.ts +27 -0
- package/dist-types/commands/CreateDataSourceFromRedshiftCommand.d.ts +21 -0
- package/dist-types/commands/CreateDataSourceFromS3Command.d.ts +11 -0
- package/dist-types/commands/CreateEvaluationCommand.d.ts +6 -0
- package/dist-types/commands/CreateMLModelCommand.d.ts +11 -0
- package/dist-types/commands/CreateRealtimeEndpointCommand.d.ts +3 -0
- package/dist-types/commands/DeleteBatchPredictionCommand.d.ts +3 -0
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +3 -0
- package/dist-types/commands/DeleteEvaluationCommand.d.ts +3 -0
- package/dist-types/commands/DeleteMLModelCommand.d.ts +3 -0
- package/dist-types/commands/DeleteRealtimeEndpointCommand.d.ts +3 -0
- package/dist-types/commands/DeleteTagsCommand.d.ts +7 -0
- package/dist-types/commands/DescribeBatchPredictionsCommand.d.ts +13 -0
- package/dist-types/commands/DescribeDataSourcesCommand.d.ts +13 -0
- package/dist-types/commands/DescribeEvaluationsCommand.d.ts +13 -0
- package/dist-types/commands/DescribeMLModelsCommand.d.ts +13 -0
- package/dist-types/commands/DescribeTagsCommand.d.ts +4 -0
- package/dist-types/commands/GetBatchPredictionCommand.d.ts +3 -0
- package/dist-types/commands/GetDataSourceCommand.d.ts +4 -0
- package/dist-types/commands/GetEvaluationCommand.d.ts +3 -0
- package/dist-types/commands/GetMLModelCommand.d.ts +4 -0
- package/dist-types/commands/PredictCommand.d.ts +7 -0
- package/dist-types/commands/UpdateBatchPredictionCommand.d.ts +4 -0
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +4 -0
- package/dist-types/commands/UpdateEvaluationCommand.d.ts +4 -0
- package/dist-types/commands/UpdateMLModelCommand.d.ts +5 -0
- package/package.json +8 -8
|
@@ -28,6 +28,16 @@ export interface AddTagsCommandOutput extends AddTagsOutput, __MetadataBearer {
|
|
|
28
28
|
* import { MachineLearningClient, AddTagsCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
29
29
|
* // const { MachineLearningClient, AddTagsCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
30
30
|
* const client = new MachineLearningClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* Tags: [ // required
|
|
33
|
+
* {
|
|
34
|
+
* Key: "STRING_VALUE",
|
|
35
|
+
* Value: "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* ],
|
|
38
|
+
* ResourceId: "STRING_VALUE", // required
|
|
39
|
+
* ResourceType: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
31
41
|
* const command = new AddTagsCommand(input);
|
|
32
42
|
* const response = await client.send(command);
|
|
33
43
|
* ```
|
|
@@ -37,6 +37,13 @@ export interface CreateBatchPredictionCommandOutput extends CreateBatchPredictio
|
|
|
37
37
|
* import { MachineLearningClient, CreateBatchPredictionCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
38
38
|
* // const { MachineLearningClient, CreateBatchPredictionCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
39
39
|
* const client = new MachineLearningClient(config);
|
|
40
|
+
* const input = {
|
|
41
|
+
* BatchPredictionId: "STRING_VALUE", // required
|
|
42
|
+
* BatchPredictionName: "STRING_VALUE",
|
|
43
|
+
* MLModelId: "STRING_VALUE", // required
|
|
44
|
+
* BatchPredictionDataSourceId: "STRING_VALUE", // required
|
|
45
|
+
* OutputUri: "STRING_VALUE", // required
|
|
46
|
+
* };
|
|
40
47
|
* const command = new CreateBatchPredictionCommand(input);
|
|
41
48
|
* const response = await client.send(command);
|
|
42
49
|
* ```
|
|
@@ -37,6 +37,33 @@ export interface CreateDataSourceFromRDSCommandOutput extends CreateDataSourceFr
|
|
|
37
37
|
* import { MachineLearningClient, CreateDataSourceFromRDSCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
38
38
|
* // const { MachineLearningClient, CreateDataSourceFromRDSCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
39
39
|
* const client = new MachineLearningClient(config);
|
|
40
|
+
* const input = {
|
|
41
|
+
* DataSourceId: "STRING_VALUE", // required
|
|
42
|
+
* DataSourceName: "STRING_VALUE",
|
|
43
|
+
* RDSData: {
|
|
44
|
+
* DatabaseInformation: {
|
|
45
|
+
* InstanceIdentifier: "STRING_VALUE", // required
|
|
46
|
+
* DatabaseName: "STRING_VALUE", // required
|
|
47
|
+
* },
|
|
48
|
+
* SelectSqlQuery: "STRING_VALUE", // required
|
|
49
|
+
* DatabaseCredentials: {
|
|
50
|
+
* Username: "STRING_VALUE", // required
|
|
51
|
+
* Password: "STRING_VALUE", // required
|
|
52
|
+
* },
|
|
53
|
+
* S3StagingLocation: "STRING_VALUE", // required
|
|
54
|
+
* DataRearrangement: "STRING_VALUE",
|
|
55
|
+
* DataSchema: "STRING_VALUE",
|
|
56
|
+
* DataSchemaUri: "STRING_VALUE",
|
|
57
|
+
* ResourceRole: "STRING_VALUE", // required
|
|
58
|
+
* ServiceRole: "STRING_VALUE", // required
|
|
59
|
+
* SubnetId: "STRING_VALUE", // required
|
|
60
|
+
* SecurityGroupIds: [ // required
|
|
61
|
+
* "STRING_VALUE",
|
|
62
|
+
* ],
|
|
63
|
+
* },
|
|
64
|
+
* RoleARN: "STRING_VALUE", // required
|
|
65
|
+
* ComputeStatistics: true || false,
|
|
66
|
+
* };
|
|
40
67
|
* const command = new CreateDataSourceFromRDSCommand(input);
|
|
41
68
|
* const response = await client.send(command);
|
|
42
69
|
* ```
|
|
@@ -58,6 +58,27 @@ export interface CreateDataSourceFromRedshiftCommandOutput extends CreateDataSou
|
|
|
58
58
|
* import { MachineLearningClient, CreateDataSourceFromRedshiftCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
59
59
|
* // const { MachineLearningClient, CreateDataSourceFromRedshiftCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
60
60
|
* const client = new MachineLearningClient(config);
|
|
61
|
+
* const input = {
|
|
62
|
+
* DataSourceId: "STRING_VALUE", // required
|
|
63
|
+
* DataSourceName: "STRING_VALUE",
|
|
64
|
+
* DataSpec: {
|
|
65
|
+
* DatabaseInformation: {
|
|
66
|
+
* DatabaseName: "STRING_VALUE", // required
|
|
67
|
+
* ClusterIdentifier: "STRING_VALUE", // required
|
|
68
|
+
* },
|
|
69
|
+
* SelectSqlQuery: "STRING_VALUE", // required
|
|
70
|
+
* DatabaseCredentials: {
|
|
71
|
+
* Username: "STRING_VALUE", // required
|
|
72
|
+
* Password: "STRING_VALUE", // required
|
|
73
|
+
* },
|
|
74
|
+
* S3StagingLocation: "STRING_VALUE", // required
|
|
75
|
+
* DataRearrangement: "STRING_VALUE",
|
|
76
|
+
* DataSchema: "STRING_VALUE",
|
|
77
|
+
* DataSchemaUri: "STRING_VALUE",
|
|
78
|
+
* },
|
|
79
|
+
* RoleARN: "STRING_VALUE", // required
|
|
80
|
+
* ComputeStatistics: true || false,
|
|
81
|
+
* };
|
|
61
82
|
* const command = new CreateDataSourceFromRedshiftCommand(input);
|
|
62
83
|
* const response = await client.send(command);
|
|
63
84
|
* ```
|
|
@@ -56,6 +56,17 @@ export interface CreateDataSourceFromS3CommandOutput extends CreateDataSourceFro
|
|
|
56
56
|
* import { MachineLearningClient, CreateDataSourceFromS3Command } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
57
57
|
* // const { MachineLearningClient, CreateDataSourceFromS3Command } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
58
58
|
* const client = new MachineLearningClient(config);
|
|
59
|
+
* const input = {
|
|
60
|
+
* DataSourceId: "STRING_VALUE", // required
|
|
61
|
+
* DataSourceName: "STRING_VALUE",
|
|
62
|
+
* DataSpec: {
|
|
63
|
+
* DataLocationS3: "STRING_VALUE", // required
|
|
64
|
+
* DataRearrangement: "STRING_VALUE",
|
|
65
|
+
* DataSchema: "STRING_VALUE",
|
|
66
|
+
* DataSchemaLocationS3: "STRING_VALUE",
|
|
67
|
+
* },
|
|
68
|
+
* ComputeStatistics: true || false,
|
|
69
|
+
* };
|
|
59
70
|
* const command = new CreateDataSourceFromS3Command(input);
|
|
60
71
|
* const response = await client.send(command);
|
|
61
72
|
* ```
|
|
@@ -37,6 +37,12 @@ export interface CreateEvaluationCommandOutput extends CreateEvaluationOutput, _
|
|
|
37
37
|
* import { MachineLearningClient, CreateEvaluationCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
38
38
|
* // const { MachineLearningClient, CreateEvaluationCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
39
39
|
* const client = new MachineLearningClient(config);
|
|
40
|
+
* const input = {
|
|
41
|
+
* EvaluationId: "STRING_VALUE", // required
|
|
42
|
+
* EvaluationName: "STRING_VALUE",
|
|
43
|
+
* MLModelId: "STRING_VALUE", // required
|
|
44
|
+
* EvaluationDataSourceId: "STRING_VALUE", // required
|
|
45
|
+
* };
|
|
40
46
|
* const command = new CreateEvaluationCommand(input);
|
|
41
47
|
* const response = await client.send(command);
|
|
42
48
|
* ```
|
|
@@ -45,6 +45,17 @@ export interface CreateMLModelCommandOutput extends CreateMLModelOutput, __Metad
|
|
|
45
45
|
* import { MachineLearningClient, CreateMLModelCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
46
46
|
* // const { MachineLearningClient, CreateMLModelCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
47
47
|
* const client = new MachineLearningClient(config);
|
|
48
|
+
* const input = {
|
|
49
|
+
* MLModelId: "STRING_VALUE", // required
|
|
50
|
+
* MLModelName: "STRING_VALUE",
|
|
51
|
+
* MLModelType: "STRING_VALUE", // required
|
|
52
|
+
* Parameters: {
|
|
53
|
+
* "<keys>": "STRING_VALUE",
|
|
54
|
+
* },
|
|
55
|
+
* TrainingDataSourceId: "STRING_VALUE", // required
|
|
56
|
+
* Recipe: "STRING_VALUE",
|
|
57
|
+
* RecipeUri: "STRING_VALUE",
|
|
58
|
+
* };
|
|
48
59
|
* const command = new CreateMLModelCommand(input);
|
|
49
60
|
* const response = await client.send(command);
|
|
50
61
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface CreateRealtimeEndpointCommandOutput extends CreateRealtimeEndpo
|
|
|
26
26
|
* import { MachineLearningClient, CreateRealtimeEndpointCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
27
27
|
* // const { MachineLearningClient, CreateRealtimeEndpointCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
28
28
|
* const client = new MachineLearningClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* MLModelId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new CreateRealtimeEndpointCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -31,6 +31,9 @@ export interface DeleteBatchPredictionCommandOutput extends DeleteBatchPredictio
|
|
|
31
31
|
* import { MachineLearningClient, DeleteBatchPredictionCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
32
32
|
* // const { MachineLearningClient, DeleteBatchPredictionCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
33
33
|
* const client = new MachineLearningClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* BatchPredictionId: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
34
37
|
* const command = new DeleteBatchPredictionCommand(input);
|
|
35
38
|
* const response = await client.send(command);
|
|
36
39
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface DeleteDataSourceCommandOutput extends DeleteDataSourceOutput, _
|
|
|
29
29
|
* import { MachineLearningClient, DeleteDataSourceCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
30
30
|
* // const { MachineLearningClient, DeleteDataSourceCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
31
31
|
* const client = new MachineLearningClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* DataSourceId: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
32
35
|
* const command = new DeleteDataSourceCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -31,6 +31,9 @@ export interface DeleteEvaluationCommandOutput extends DeleteEvaluationOutput, _
|
|
|
31
31
|
* import { MachineLearningClient, DeleteEvaluationCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
32
32
|
* // const { MachineLearningClient, DeleteEvaluationCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
33
33
|
* const client = new MachineLearningClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* EvaluationId: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
34
37
|
* const command = new DeleteEvaluationCommand(input);
|
|
35
38
|
* const response = await client.send(command);
|
|
36
39
|
* ```
|
|
@@ -31,6 +31,9 @@ export interface DeleteMLModelCommandOutput extends DeleteMLModelOutput, __Metad
|
|
|
31
31
|
* import { MachineLearningClient, DeleteMLModelCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
32
32
|
* // const { MachineLearningClient, DeleteMLModelCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
33
33
|
* const client = new MachineLearningClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* MLModelId: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
34
37
|
* const command = new DeleteMLModelCommand(input);
|
|
35
38
|
* const response = await client.send(command);
|
|
36
39
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteRealtimeEndpointCommandOutput extends DeleteRealtimeEndpo
|
|
|
26
26
|
* import { MachineLearningClient, DeleteRealtimeEndpointCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
27
27
|
* // const { MachineLearningClient, DeleteRealtimeEndpointCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
28
28
|
* const client = new MachineLearningClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* MLModelId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteRealtimeEndpointCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -27,6 +27,13 @@ export interface DeleteTagsCommandOutput extends DeleteTagsOutput, __MetadataBea
|
|
|
27
27
|
* import { MachineLearningClient, DeleteTagsCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
28
28
|
* // const { MachineLearningClient, DeleteTagsCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
29
29
|
* const client = new MachineLearningClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* TagKeys: [ // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* ResourceId: "STRING_VALUE", // required
|
|
35
|
+
* ResourceType: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
30
37
|
* const command = new DeleteTagsCommand(input);
|
|
31
38
|
* const response = await client.send(command);
|
|
32
39
|
* ```
|
|
@@ -26,6 +26,19 @@ export interface DescribeBatchPredictionsCommandOutput extends DescribeBatchPred
|
|
|
26
26
|
* import { MachineLearningClient, DescribeBatchPredictionsCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
27
27
|
* // const { MachineLearningClient, DescribeBatchPredictionsCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
28
28
|
* const client = new MachineLearningClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* FilterVariable: "STRING_VALUE",
|
|
31
|
+
* EQ: "STRING_VALUE",
|
|
32
|
+
* GT: "STRING_VALUE",
|
|
33
|
+
* LT: "STRING_VALUE",
|
|
34
|
+
* GE: "STRING_VALUE",
|
|
35
|
+
* LE: "STRING_VALUE",
|
|
36
|
+
* NE: "STRING_VALUE",
|
|
37
|
+
* Prefix: "STRING_VALUE",
|
|
38
|
+
* SortOrder: "STRING_VALUE",
|
|
39
|
+
* NextToken: "STRING_VALUE",
|
|
40
|
+
* Limit: Number("int"),
|
|
41
|
+
* };
|
|
29
42
|
* const command = new DescribeBatchPredictionsCommand(input);
|
|
30
43
|
* const response = await client.send(command);
|
|
31
44
|
* ```
|
|
@@ -26,6 +26,19 @@ export interface DescribeDataSourcesCommandOutput extends DescribeDataSourcesOut
|
|
|
26
26
|
* import { MachineLearningClient, DescribeDataSourcesCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
27
27
|
* // const { MachineLearningClient, DescribeDataSourcesCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
28
28
|
* const client = new MachineLearningClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* FilterVariable: "STRING_VALUE",
|
|
31
|
+
* EQ: "STRING_VALUE",
|
|
32
|
+
* GT: "STRING_VALUE",
|
|
33
|
+
* LT: "STRING_VALUE",
|
|
34
|
+
* GE: "STRING_VALUE",
|
|
35
|
+
* LE: "STRING_VALUE",
|
|
36
|
+
* NE: "STRING_VALUE",
|
|
37
|
+
* Prefix: "STRING_VALUE",
|
|
38
|
+
* SortOrder: "STRING_VALUE",
|
|
39
|
+
* NextToken: "STRING_VALUE",
|
|
40
|
+
* Limit: Number("int"),
|
|
41
|
+
* };
|
|
29
42
|
* const command = new DescribeDataSourcesCommand(input);
|
|
30
43
|
* const response = await client.send(command);
|
|
31
44
|
* ```
|
|
@@ -26,6 +26,19 @@ export interface DescribeEvaluationsCommandOutput extends DescribeEvaluationsOut
|
|
|
26
26
|
* import { MachineLearningClient, DescribeEvaluationsCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
27
27
|
* // const { MachineLearningClient, DescribeEvaluationsCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
28
28
|
* const client = new MachineLearningClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* FilterVariable: "STRING_VALUE",
|
|
31
|
+
* EQ: "STRING_VALUE",
|
|
32
|
+
* GT: "STRING_VALUE",
|
|
33
|
+
* LT: "STRING_VALUE",
|
|
34
|
+
* GE: "STRING_VALUE",
|
|
35
|
+
* LE: "STRING_VALUE",
|
|
36
|
+
* NE: "STRING_VALUE",
|
|
37
|
+
* Prefix: "STRING_VALUE",
|
|
38
|
+
* SortOrder: "STRING_VALUE",
|
|
39
|
+
* NextToken: "STRING_VALUE",
|
|
40
|
+
* Limit: Number("int"),
|
|
41
|
+
* };
|
|
29
42
|
* const command = new DescribeEvaluationsCommand(input);
|
|
30
43
|
* const response = await client.send(command);
|
|
31
44
|
* ```
|
|
@@ -26,6 +26,19 @@ export interface DescribeMLModelsCommandOutput extends DescribeMLModelsOutput, _
|
|
|
26
26
|
* import { MachineLearningClient, DescribeMLModelsCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
27
27
|
* // const { MachineLearningClient, DescribeMLModelsCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
28
28
|
* const client = new MachineLearningClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* FilterVariable: "STRING_VALUE",
|
|
31
|
+
* EQ: "STRING_VALUE",
|
|
32
|
+
* GT: "STRING_VALUE",
|
|
33
|
+
* LT: "STRING_VALUE",
|
|
34
|
+
* GE: "STRING_VALUE",
|
|
35
|
+
* LE: "STRING_VALUE",
|
|
36
|
+
* NE: "STRING_VALUE",
|
|
37
|
+
* Prefix: "STRING_VALUE",
|
|
38
|
+
* SortOrder: "STRING_VALUE",
|
|
39
|
+
* NextToken: "STRING_VALUE",
|
|
40
|
+
* Limit: Number("int"),
|
|
41
|
+
* };
|
|
29
42
|
* const command = new DescribeMLModelsCommand(input);
|
|
30
43
|
* const response = await client.send(command);
|
|
31
44
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DescribeTagsCommandOutput extends DescribeTagsOutput, __Metadat
|
|
|
26
26
|
* import { MachineLearningClient, DescribeTagsCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
27
27
|
* // const { MachineLearningClient, DescribeTagsCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
28
28
|
* const client = new MachineLearningClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ResourceId: "STRING_VALUE", // required
|
|
31
|
+
* ResourceType: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DescribeTagsCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface GetBatchPredictionCommandOutput extends GetBatchPredictionOutpu
|
|
|
27
27
|
* import { MachineLearningClient, GetBatchPredictionCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
28
28
|
* // const { MachineLearningClient, GetBatchPredictionCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
29
29
|
* const client = new MachineLearningClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* BatchPredictionId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new GetBatchPredictionCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -29,6 +29,10 @@ export interface GetDataSourceCommandOutput extends GetDataSourceOutput, __Metad
|
|
|
29
29
|
* import { MachineLearningClient, GetDataSourceCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
30
30
|
* // const { MachineLearningClient, GetDataSourceCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
31
31
|
* const client = new MachineLearningClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* DataSourceId: "STRING_VALUE", // required
|
|
34
|
+
* Verbose: true || false,
|
|
35
|
+
* };
|
|
32
36
|
* const command = new GetDataSourceCommand(input);
|
|
33
37
|
* const response = await client.send(command);
|
|
34
38
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetEvaluationCommandOutput extends GetEvaluationOutput, __Metad
|
|
|
26
26
|
* import { MachineLearningClient, GetEvaluationCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
27
27
|
* // const { MachineLearningClient, GetEvaluationCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
28
28
|
* const client = new MachineLearningClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* EvaluationId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetEvaluationCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -28,6 +28,10 @@ export interface GetMLModelCommandOutput extends GetMLModelOutput, __MetadataBea
|
|
|
28
28
|
* import { MachineLearningClient, GetMLModelCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
29
29
|
* // const { MachineLearningClient, GetMLModelCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
30
30
|
* const client = new MachineLearningClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* MLModelId: "STRING_VALUE", // required
|
|
33
|
+
* Verbose: true || false,
|
|
34
|
+
* };
|
|
31
35
|
* const command = new GetMLModelCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
|
@@ -29,6 +29,13 @@ export interface PredictCommandOutput extends PredictOutput, __MetadataBearer {
|
|
|
29
29
|
* import { MachineLearningClient, PredictCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
30
30
|
* // const { MachineLearningClient, PredictCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
31
31
|
* const client = new MachineLearningClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* MLModelId: "STRING_VALUE", // required
|
|
34
|
+
* Record: { // required
|
|
35
|
+
* "<keys>": "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* PredictEndpoint: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
32
39
|
* const command = new PredictCommand(input);
|
|
33
40
|
* const response = await client.send(command);
|
|
34
41
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface UpdateBatchPredictionCommandOutput extends UpdateBatchPredictio
|
|
|
27
27
|
* import { MachineLearningClient, UpdateBatchPredictionCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
28
28
|
* // const { MachineLearningClient, UpdateBatchPredictionCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
29
29
|
* const client = new MachineLearningClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* BatchPredictionId: "STRING_VALUE", // required
|
|
32
|
+
* BatchPredictionName: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
30
34
|
* const command = new UpdateBatchPredictionCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface UpdateDataSourceCommandOutput extends UpdateDataSourceOutput, _
|
|
|
27
27
|
* import { MachineLearningClient, UpdateDataSourceCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
28
28
|
* // const { MachineLearningClient, UpdateDataSourceCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
29
29
|
* const client = new MachineLearningClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* DataSourceId: "STRING_VALUE", // required
|
|
32
|
+
* DataSourceName: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
30
34
|
* const command = new UpdateDataSourceCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface UpdateEvaluationCommandOutput extends UpdateEvaluationOutput, _
|
|
|
27
27
|
* import { MachineLearningClient, UpdateEvaluationCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
28
28
|
* // const { MachineLearningClient, UpdateEvaluationCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
29
29
|
* const client = new MachineLearningClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* EvaluationId: "STRING_VALUE", // required
|
|
32
|
+
* EvaluationName: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
30
34
|
* const command = new UpdateEvaluationCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface UpdateMLModelCommandOutput extends UpdateMLModelOutput, __Metad
|
|
|
27
27
|
* import { MachineLearningClient, UpdateMLModelCommand } from "@aws-sdk/client-machine-learning"; // ES Modules import
|
|
28
28
|
* // const { MachineLearningClient, UpdateMLModelCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import
|
|
29
29
|
* const client = new MachineLearningClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* MLModelId: "STRING_VALUE", // required
|
|
32
|
+
* MLModelName: "STRING_VALUE",
|
|
33
|
+
* ScoreThreshold: Number("float"),
|
|
34
|
+
* };
|
|
30
35
|
* const command = new UpdateMLModelCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-machine-learning",
|
|
3
3
|
"description": "AWS SDK for JavaScript Machine Learning Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.300.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,13 +32,13 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-sdk-machinelearning": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
38
38
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
39
39
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
40
40
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
41
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
42
42
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
43
43
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
44
44
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -48,11 +48,11 @@
|
|
|
48
48
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
50
50
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
51
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
52
52
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-retry": "3.296.0",
|
|
54
54
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
56
56
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
57
57
|
"@aws-sdk/util-waiter": "3.296.0",
|
|
58
58
|
"tslib": "^2.5.0"
|