@aws-sdk/client-machine-learning 3.1076.0 → 3.1078.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.
Files changed (104) hide show
  1. package/dist-cjs/index.js +42 -288
  2. package/dist-es/commandBuilder.js +10 -0
  3. package/dist-es/commands/AddTagsCommand.js +2 -14
  4. package/dist-es/commands/CreateBatchPredictionCommand.js +2 -14
  5. package/dist-es/commands/CreateDataSourceFromRDSCommand.js +2 -14
  6. package/dist-es/commands/CreateDataSourceFromRedshiftCommand.js +2 -14
  7. package/dist-es/commands/CreateDataSourceFromS3Command.js +2 -14
  8. package/dist-es/commands/CreateEvaluationCommand.js +2 -14
  9. package/dist-es/commands/CreateMLModelCommand.js +2 -14
  10. package/dist-es/commands/CreateRealtimeEndpointCommand.js +2 -14
  11. package/dist-es/commands/DeleteBatchPredictionCommand.js +2 -14
  12. package/dist-es/commands/DeleteDataSourceCommand.js +2 -14
  13. package/dist-es/commands/DeleteEvaluationCommand.js +2 -14
  14. package/dist-es/commands/DeleteMLModelCommand.js +2 -14
  15. package/dist-es/commands/DeleteRealtimeEndpointCommand.js +2 -14
  16. package/dist-es/commands/DeleteTagsCommand.js +2 -14
  17. package/dist-es/commands/DescribeBatchPredictionsCommand.js +2 -14
  18. package/dist-es/commands/DescribeDataSourcesCommand.js +2 -14
  19. package/dist-es/commands/DescribeEvaluationsCommand.js +2 -14
  20. package/dist-es/commands/DescribeMLModelsCommand.js +2 -14
  21. package/dist-es/commands/DescribeTagsCommand.js +2 -14
  22. package/dist-es/commands/GetBatchPredictionCommand.js +2 -14
  23. package/dist-es/commands/GetDataSourceCommand.js +2 -14
  24. package/dist-es/commands/GetEvaluationCommand.js +2 -14
  25. package/dist-es/commands/GetMLModelCommand.js +2 -14
  26. package/dist-es/commands/PredictCommand.js +2 -18
  27. package/dist-es/commands/UpdateBatchPredictionCommand.js +2 -14
  28. package/dist-es/commands/UpdateDataSourceCommand.js +2 -14
  29. package/dist-es/commands/UpdateEvaluationCommand.js +2 -14
  30. package/dist-es/commands/UpdateMLModelCommand.js +2 -14
  31. package/dist-es/index.js +1 -0
  32. package/dist-es/runtimeConfig.browser.js +0 -2
  33. package/dist-es/runtimeConfig.js +1 -2
  34. package/dist-es/runtimeConfig.native.js +0 -2
  35. package/dist-es/runtimeConfig.shared.js +2 -0
  36. package/dist-types/commandBuilder.d.ts +22 -0
  37. package/dist-types/commands/AddTagsCommand.d.ts +3 -8
  38. package/dist-types/commands/CreateBatchPredictionCommand.d.ts +3 -8
  39. package/dist-types/commands/CreateDataSourceFromRDSCommand.d.ts +3 -8
  40. package/dist-types/commands/CreateDataSourceFromRedshiftCommand.d.ts +3 -8
  41. package/dist-types/commands/CreateDataSourceFromS3Command.d.ts +3 -8
  42. package/dist-types/commands/CreateEvaluationCommand.d.ts +3 -8
  43. package/dist-types/commands/CreateMLModelCommand.d.ts +3 -8
  44. package/dist-types/commands/CreateRealtimeEndpointCommand.d.ts +3 -8
  45. package/dist-types/commands/DeleteBatchPredictionCommand.d.ts +3 -8
  46. package/dist-types/commands/DeleteDataSourceCommand.d.ts +3 -8
  47. package/dist-types/commands/DeleteEvaluationCommand.d.ts +3 -8
  48. package/dist-types/commands/DeleteMLModelCommand.d.ts +3 -8
  49. package/dist-types/commands/DeleteRealtimeEndpointCommand.d.ts +3 -8
  50. package/dist-types/commands/DeleteTagsCommand.d.ts +3 -8
  51. package/dist-types/commands/DescribeBatchPredictionsCommand.d.ts +3 -8
  52. package/dist-types/commands/DescribeDataSourcesCommand.d.ts +3 -8
  53. package/dist-types/commands/DescribeEvaluationsCommand.d.ts +3 -8
  54. package/dist-types/commands/DescribeMLModelsCommand.d.ts +3 -8
  55. package/dist-types/commands/DescribeTagsCommand.d.ts +3 -8
  56. package/dist-types/commands/GetBatchPredictionCommand.d.ts +3 -8
  57. package/dist-types/commands/GetDataSourceCommand.d.ts +3 -8
  58. package/dist-types/commands/GetEvaluationCommand.d.ts +3 -8
  59. package/dist-types/commands/GetMLModelCommand.d.ts +3 -8
  60. package/dist-types/commands/PredictCommand.d.ts +3 -8
  61. package/dist-types/commands/UpdateBatchPredictionCommand.d.ts +3 -8
  62. package/dist-types/commands/UpdateDataSourceCommand.d.ts +3 -8
  63. package/dist-types/commands/UpdateEvaluationCommand.d.ts +3 -8
  64. package/dist-types/commands/UpdateMLModelCommand.d.ts +3 -8
  65. package/dist-types/index.d.ts +1 -0
  66. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  67. package/dist-types/runtimeConfig.d.ts +1 -1
  68. package/dist-types/runtimeConfig.native.d.ts +1 -1
  69. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  70. package/dist-types/ts3.4/commandBuilder.d.ts +52 -0
  71. package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/CreateBatchPredictionCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/CreateDataSourceFromRDSCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/CreateDataSourceFromRedshiftCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/CreateDataSourceFromS3Command.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/CreateEvaluationCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/CreateMLModelCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/CreateRealtimeEndpointCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/DeleteBatchPredictionCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/DeleteDataSourceCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/DeleteEvaluationCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/DeleteMLModelCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/DeleteRealtimeEndpointCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/DeleteTagsCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/DescribeBatchPredictionsCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/DescribeDataSourcesCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/DescribeEvaluationsCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/DescribeMLModelsCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/GetBatchPredictionCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/GetDataSourceCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/GetEvaluationCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/GetMLModelCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/PredictCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/UpdateBatchPredictionCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/UpdateEvaluationCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/UpdateMLModelCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/index.d.ts +1 -0
  100. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  101. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  102. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  103. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  104. package/package.json +9 -11
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- MachineLearningClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../MachineLearningClient";
8
2
  import {
9
3
  UpdateDataSourceInput,
10
4
  UpdateDataSourceOutput,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface UpdateDataSourceCommandInput extends UpdateDataSourceInput {}
15
8
  export interface UpdateDataSourceCommandOutput
16
9
  extends UpdateDataSourceOutput,
@@ -21,22 +14,20 @@ declare const UpdateDataSourceCommand_base: {
21
14
  ): import("@smithy/core/client").CommandImpl<
22
15
  UpdateDataSourceCommandInput,
23
16
  UpdateDataSourceCommandOutput,
24
- MachineLearningClientResolvedConfig,
25
- ServiceInputTypes,
26
- ServiceOutputTypes
17
+ import("..").MachineLearningClientResolvedConfig,
18
+ import("..").ServiceInputTypes,
19
+ import("..").ServiceOutputTypes
27
20
  >;
28
21
  new (
29
22
  input: UpdateDataSourceCommandInput
30
23
  ): import("@smithy/core/client").CommandImpl<
31
24
  UpdateDataSourceCommandInput,
32
25
  UpdateDataSourceCommandOutput,
33
- MachineLearningClientResolvedConfig,
34
- ServiceInputTypes,
35
- ServiceOutputTypes
26
+ import("..").MachineLearningClientResolvedConfig,
27
+ import("..").ServiceInputTypes,
28
+ import("..").ServiceOutputTypes
36
29
  >;
37
- getEndpointParameterInstructions(): {
38
- [x: string]: unknown;
39
- };
30
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
40
31
  };
41
32
  export declare class UpdateDataSourceCommand extends UpdateDataSourceCommand_base {
42
33
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- MachineLearningClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../MachineLearningClient";
8
2
  import {
9
3
  UpdateEvaluationInput,
10
4
  UpdateEvaluationOutput,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface UpdateEvaluationCommandInput extends UpdateEvaluationInput {}
15
8
  export interface UpdateEvaluationCommandOutput
16
9
  extends UpdateEvaluationOutput,
@@ -21,22 +14,20 @@ declare const UpdateEvaluationCommand_base: {
21
14
  ): import("@smithy/core/client").CommandImpl<
22
15
  UpdateEvaluationCommandInput,
23
16
  UpdateEvaluationCommandOutput,
24
- MachineLearningClientResolvedConfig,
25
- ServiceInputTypes,
26
- ServiceOutputTypes
17
+ import("..").MachineLearningClientResolvedConfig,
18
+ import("..").ServiceInputTypes,
19
+ import("..").ServiceOutputTypes
27
20
  >;
28
21
  new (
29
22
  input: UpdateEvaluationCommandInput
30
23
  ): import("@smithy/core/client").CommandImpl<
31
24
  UpdateEvaluationCommandInput,
32
25
  UpdateEvaluationCommandOutput,
33
- MachineLearningClientResolvedConfig,
34
- ServiceInputTypes,
35
- ServiceOutputTypes
26
+ import("..").MachineLearningClientResolvedConfig,
27
+ import("..").ServiceInputTypes,
28
+ import("..").ServiceOutputTypes
36
29
  >;
37
- getEndpointParameterInstructions(): {
38
- [x: string]: unknown;
39
- };
30
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
40
31
  };
41
32
  export declare class UpdateEvaluationCommand extends UpdateEvaluationCommand_base {
42
33
  protected static __types: {
@@ -1,13 +1,6 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- MachineLearningClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../MachineLearningClient";
8
2
  import { UpdateMLModelInput, UpdateMLModelOutput } from "../models/models_0";
9
3
  export { __MetadataBearer };
10
- export { $Command };
11
4
  export interface UpdateMLModelCommandInput extends UpdateMLModelInput {}
12
5
  export interface UpdateMLModelCommandOutput
13
6
  extends UpdateMLModelOutput,
@@ -18,22 +11,20 @@ declare const UpdateMLModelCommand_base: {
18
11
  ): import("@smithy/core/client").CommandImpl<
19
12
  UpdateMLModelCommandInput,
20
13
  UpdateMLModelCommandOutput,
21
- MachineLearningClientResolvedConfig,
22
- ServiceInputTypes,
23
- ServiceOutputTypes
14
+ import("..").MachineLearningClientResolvedConfig,
15
+ import("..").ServiceInputTypes,
16
+ import("..").ServiceOutputTypes
24
17
  >;
25
18
  new (
26
19
  input: UpdateMLModelCommandInput
27
20
  ): import("@smithy/core/client").CommandImpl<
28
21
  UpdateMLModelCommandInput,
29
22
  UpdateMLModelCommandOutput,
30
- MachineLearningClientResolvedConfig,
31
- ServiceInputTypes,
32
- ServiceOutputTypes
23
+ import("..").MachineLearningClientResolvedConfig,
24
+ import("..").ServiceInputTypes,
25
+ import("..").ServiceOutputTypes
33
26
  >;
34
- getEndpointParameterInstructions(): {
35
- [x: string]: unknown;
36
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
37
28
  };
38
29
  export declare class UpdateMLModelCommand extends UpdateMLModelCommand_base {
39
30
  protected static __types: {
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { MachineLearningExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
+ export { Command as $Command } from "@smithy/core/client";
7
8
  export * from "./schemas/schemas_0";
8
9
  export * from "./pagination";
9
10
  export * from "./waiters";
@@ -22,7 +22,6 @@ export declare const getRuntimeConfig: (
22
22
  | import("@smithy/core/protocols").HttpHandler<any>
23
23
  | RequestHandler;
24
24
  retryMode: string | import("@smithy/types").Provider<string>;
25
- sha256: import("@smithy/types").HashConstructor;
26
25
  streamCollector: (
27
26
  stream:
28
27
  | import("stream").Readable
@@ -44,6 +43,7 @@ export declare const getRuntimeConfig: (
44
43
  [setting: string]: unknown;
45
44
  };
46
45
  apiVersion: string;
46
+ sha256: import("@smithy/types").HashConstructor;
47
47
  urlParser: import("@smithy/types").UrlParser;
48
48
  base64Decoder: import("@smithy/types").Decoder;
49
49
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -23,7 +23,6 @@ export declare const getRuntimeConfig: (
23
23
  | RequestHandler
24
24
  | import("@smithy/core/protocols").HttpHandler<any>;
25
25
  retryMode: string | import("@smithy/types").Provider<string>;
26
- sha256: import("@smithy/types").HashConstructor;
27
26
  streamCollector: (
28
27
  stream:
29
28
  | import("stream").Readable
@@ -44,6 +43,7 @@ export declare const getRuntimeConfig: (
44
43
  [setting: string]: unknown;
45
44
  };
46
45
  apiVersion: string;
46
+ sha256: import("@smithy/types").HashConstructor;
47
47
  urlParser: import("@smithy/types").UrlParser;
48
48
  base64Decoder: import("@smithy/types").Decoder;
49
49
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -3,7 +3,6 @@ export declare const getRuntimeConfig: (
3
3
  config: MachineLearningClientConfig
4
4
  ) => {
5
5
  runtime: string;
6
- sha256: import("@smithy/types").HashConstructor;
7
6
  requestHandler:
8
7
  | import("@smithy/types").NodeHttpHandlerOptions
9
8
  | import("@smithy/types").FetchHttpHandlerOptions
@@ -20,6 +19,7 @@ export declare const getRuntimeConfig: (
20
19
  [setting: string]: unknown;
21
20
  };
22
21
  apiVersion: string;
22
+ sha256: import("@smithy/types").HashConstructor;
23
23
  urlParser: import("@smithy/types").UrlParser;
24
24
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
25
25
  streamCollector: (
@@ -26,6 +26,7 @@ export declare const getRuntimeConfig: (
26
26
  defaultNamespace?: string;
27
27
  };
28
28
  serviceId: string;
29
+ sha256: import("@smithy/types").HashConstructor;
29
30
  urlParser: import("@smithy/types").UrlParser;
30
31
  utf8Decoder: import("@smithy/types").Decoder;
31
32
  utf8Encoder: (input: Uint8Array | string) => string;
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.1076.0",
4
+ "version": "3.1078.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -19,16 +19,14 @@
19
19
  "module": "./dist-es/index.js",
20
20
  "sideEffects": false,
21
21
  "dependencies": {
22
- "@aws-crypto/sha256-browser": "5.2.0",
23
- "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.974.24",
25
- "@aws-sdk/credential-provider-node": "^3.972.59",
26
- "@aws-sdk/middleware-sdk-machinelearning": "^3.972.19",
27
- "@aws-sdk/types": "^3.973.14",
28
- "@smithy/core": "^3.27.0",
29
- "@smithy/fetch-http-handler": "^5.6.0",
30
- "@smithy/node-http-handler": "^4.9.0",
31
- "@smithy/types": "^4.15.0",
22
+ "@aws-sdk/core": "^3.974.26",
23
+ "@aws-sdk/credential-provider-node": "^3.972.61",
24
+ "@aws-sdk/middleware-sdk-machinelearning": "^3.972.21",
25
+ "@aws-sdk/types": "^3.973.15",
26
+ "@smithy/core": "^3.29.0",
27
+ "@smithy/fetch-http-handler": "^5.6.2",
28
+ "@smithy/node-http-handler": "^4.9.2",
29
+ "@smithy/types": "^4.15.1",
32
30
  "tslib": "^2.6.2"
33
31
  },
34
32
  "devDependencies": {