@aws-sdk/client-machine-learning 3.478.0 → 3.481.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 (117) hide show
  1. package/dist-cjs/commands/AddTagsCommand.js +18 -41
  2. package/dist-cjs/commands/CreateBatchPredictionCommand.js +18 -41
  3. package/dist-cjs/commands/CreateDataSourceFromRDSCommand.js +18 -41
  4. package/dist-cjs/commands/CreateDataSourceFromRedshiftCommand.js +18 -41
  5. package/dist-cjs/commands/CreateDataSourceFromS3Command.js +18 -41
  6. package/dist-cjs/commands/CreateEvaluationCommand.js +18 -41
  7. package/dist-cjs/commands/CreateMLModelCommand.js +18 -41
  8. package/dist-cjs/commands/CreateRealtimeEndpointCommand.js +18 -41
  9. package/dist-cjs/commands/DeleteBatchPredictionCommand.js +18 -41
  10. package/dist-cjs/commands/DeleteDataSourceCommand.js +18 -41
  11. package/dist-cjs/commands/DeleteEvaluationCommand.js +18 -41
  12. package/dist-cjs/commands/DeleteMLModelCommand.js +18 -41
  13. package/dist-cjs/commands/DeleteRealtimeEndpointCommand.js +18 -41
  14. package/dist-cjs/commands/DeleteTagsCommand.js +18 -41
  15. package/dist-cjs/commands/DescribeBatchPredictionsCommand.js +18 -41
  16. package/dist-cjs/commands/DescribeDataSourcesCommand.js +18 -41
  17. package/dist-cjs/commands/DescribeEvaluationsCommand.js +18 -41
  18. package/dist-cjs/commands/DescribeMLModelsCommand.js +18 -41
  19. package/dist-cjs/commands/DescribeTagsCommand.js +18 -41
  20. package/dist-cjs/commands/GetBatchPredictionCommand.js +18 -41
  21. package/dist-cjs/commands/GetDataSourceCommand.js +18 -41
  22. package/dist-cjs/commands/GetEvaluationCommand.js +18 -41
  23. package/dist-cjs/commands/GetMLModelCommand.js +18 -41
  24. package/dist-cjs/commands/PredictCommand.js +19 -42
  25. package/dist-cjs/commands/UpdateBatchPredictionCommand.js +18 -41
  26. package/dist-cjs/commands/UpdateDataSourceCommand.js +18 -41
  27. package/dist-cjs/commands/UpdateEvaluationCommand.js +18 -41
  28. package/dist-cjs/commands/UpdateMLModelCommand.js +18 -41
  29. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  30. package/dist-es/commands/AddTagsCommand.js +18 -41
  31. package/dist-es/commands/CreateBatchPredictionCommand.js +18 -41
  32. package/dist-es/commands/CreateDataSourceFromRDSCommand.js +18 -41
  33. package/dist-es/commands/CreateDataSourceFromRedshiftCommand.js +18 -41
  34. package/dist-es/commands/CreateDataSourceFromS3Command.js +18 -41
  35. package/dist-es/commands/CreateEvaluationCommand.js +18 -41
  36. package/dist-es/commands/CreateMLModelCommand.js +18 -41
  37. package/dist-es/commands/CreateRealtimeEndpointCommand.js +18 -41
  38. package/dist-es/commands/DeleteBatchPredictionCommand.js +18 -41
  39. package/dist-es/commands/DeleteDataSourceCommand.js +18 -41
  40. package/dist-es/commands/DeleteEvaluationCommand.js +18 -41
  41. package/dist-es/commands/DeleteMLModelCommand.js +18 -41
  42. package/dist-es/commands/DeleteRealtimeEndpointCommand.js +18 -41
  43. package/dist-es/commands/DeleteTagsCommand.js +18 -41
  44. package/dist-es/commands/DescribeBatchPredictionsCommand.js +18 -41
  45. package/dist-es/commands/DescribeDataSourcesCommand.js +18 -41
  46. package/dist-es/commands/DescribeEvaluationsCommand.js +18 -41
  47. package/dist-es/commands/DescribeMLModelsCommand.js +18 -41
  48. package/dist-es/commands/DescribeTagsCommand.js +18 -41
  49. package/dist-es/commands/GetBatchPredictionCommand.js +18 -41
  50. package/dist-es/commands/GetDataSourceCommand.js +18 -41
  51. package/dist-es/commands/GetEvaluationCommand.js +18 -41
  52. package/dist-es/commands/GetMLModelCommand.js +18 -41
  53. package/dist-es/commands/PredictCommand.js +19 -42
  54. package/dist-es/commands/UpdateBatchPredictionCommand.js +18 -41
  55. package/dist-es/commands/UpdateDataSourceCommand.js +18 -41
  56. package/dist-es/commands/UpdateEvaluationCommand.js +18 -41
  57. package/dist-es/commands/UpdateMLModelCommand.js +18 -41
  58. package/dist-es/endpoint/EndpointParameters.js +6 -0
  59. package/dist-types/commands/AddTagsCommand.d.ts +6 -21
  60. package/dist-types/commands/CreateBatchPredictionCommand.d.ts +6 -21
  61. package/dist-types/commands/CreateDataSourceFromRDSCommand.d.ts +6 -21
  62. package/dist-types/commands/CreateDataSourceFromRedshiftCommand.d.ts +6 -21
  63. package/dist-types/commands/CreateDataSourceFromS3Command.d.ts +6 -21
  64. package/dist-types/commands/CreateEvaluationCommand.d.ts +6 -21
  65. package/dist-types/commands/CreateMLModelCommand.d.ts +6 -21
  66. package/dist-types/commands/CreateRealtimeEndpointCommand.d.ts +6 -21
  67. package/dist-types/commands/DeleteBatchPredictionCommand.d.ts +6 -21
  68. package/dist-types/commands/DeleteDataSourceCommand.d.ts +6 -21
  69. package/dist-types/commands/DeleteEvaluationCommand.d.ts +6 -21
  70. package/dist-types/commands/DeleteMLModelCommand.d.ts +6 -21
  71. package/dist-types/commands/DeleteRealtimeEndpointCommand.d.ts +6 -21
  72. package/dist-types/commands/DeleteTagsCommand.d.ts +6 -21
  73. package/dist-types/commands/DescribeBatchPredictionsCommand.d.ts +6 -21
  74. package/dist-types/commands/DescribeDataSourcesCommand.d.ts +6 -21
  75. package/dist-types/commands/DescribeEvaluationsCommand.d.ts +6 -21
  76. package/dist-types/commands/DescribeMLModelsCommand.d.ts +6 -21
  77. package/dist-types/commands/DescribeTagsCommand.d.ts +6 -21
  78. package/dist-types/commands/GetBatchPredictionCommand.d.ts +6 -21
  79. package/dist-types/commands/GetDataSourceCommand.d.ts +6 -21
  80. package/dist-types/commands/GetEvaluationCommand.d.ts +6 -21
  81. package/dist-types/commands/GetMLModelCommand.d.ts +6 -21
  82. package/dist-types/commands/PredictCommand.d.ts +6 -21
  83. package/dist-types/commands/UpdateBatchPredictionCommand.d.ts +6 -21
  84. package/dist-types/commands/UpdateDataSourceCommand.d.ts +6 -21
  85. package/dist-types/commands/UpdateEvaluationCommand.d.ts +6 -21
  86. package/dist-types/commands/UpdateMLModelCommand.d.ts +6 -21
  87. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  88. package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +12 -23
  89. package/dist-types/ts3.4/commands/CreateBatchPredictionCommand.d.ts +12 -24
  90. package/dist-types/ts3.4/commands/CreateDataSourceFromRDSCommand.d.ts +12 -24
  91. package/dist-types/ts3.4/commands/CreateDataSourceFromRedshiftCommand.d.ts +12 -24
  92. package/dist-types/ts3.4/commands/CreateDataSourceFromS3Command.d.ts +12 -24
  93. package/dist-types/ts3.4/commands/CreateEvaluationCommand.d.ts +14 -23
  94. package/dist-types/ts3.4/commands/CreateMLModelCommand.d.ts +14 -23
  95. package/dist-types/ts3.4/commands/CreateRealtimeEndpointCommand.d.ts +12 -24
  96. package/dist-types/ts3.4/commands/DeleteBatchPredictionCommand.d.ts +12 -24
  97. package/dist-types/ts3.4/commands/DeleteDataSourceCommand.d.ts +14 -23
  98. package/dist-types/ts3.4/commands/DeleteEvaluationCommand.d.ts +14 -23
  99. package/dist-types/ts3.4/commands/DeleteMLModelCommand.d.ts +14 -23
  100. package/dist-types/ts3.4/commands/DeleteRealtimeEndpointCommand.d.ts +12 -24
  101. package/dist-types/ts3.4/commands/DeleteTagsCommand.d.ts +14 -23
  102. package/dist-types/ts3.4/commands/DescribeBatchPredictionsCommand.d.ts +12 -24
  103. package/dist-types/ts3.4/commands/DescribeDataSourcesCommand.d.ts +14 -23
  104. package/dist-types/ts3.4/commands/DescribeEvaluationsCommand.d.ts +14 -23
  105. package/dist-types/ts3.4/commands/DescribeMLModelsCommand.d.ts +14 -23
  106. package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +14 -23
  107. package/dist-types/ts3.4/commands/GetBatchPredictionCommand.d.ts +14 -23
  108. package/dist-types/ts3.4/commands/GetDataSourceCommand.d.ts +14 -23
  109. package/dist-types/ts3.4/commands/GetEvaluationCommand.d.ts +14 -23
  110. package/dist-types/ts3.4/commands/GetMLModelCommand.d.ts +14 -23
  111. package/dist-types/ts3.4/commands/PredictCommand.d.ts +12 -23
  112. package/dist-types/ts3.4/commands/UpdateBatchPredictionCommand.d.ts +12 -24
  113. package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +14 -23
  114. package/dist-types/ts3.4/commands/UpdateEvaluationCommand.d.ts +14 -23
  115. package/dist-types/ts3.4/commands/UpdateMLModelCommand.d.ts +14 -23
  116. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  117. package/package.json +9 -9
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  MachineLearningClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -21,22 +15,16 @@ export interface UpdateBatchPredictionCommandInput
21
15
  export interface UpdateBatchPredictionCommandOutput
22
16
  extends UpdateBatchPredictionOutput,
23
17
  __MetadataBearer {}
24
- export declare class UpdateBatchPredictionCommand extends $Command<
25
- UpdateBatchPredictionCommandInput,
26
- UpdateBatchPredictionCommandOutput,
27
- MachineLearningClientResolvedConfig
28
- > {
29
- readonly input: UpdateBatchPredictionCommandInput;
30
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
- constructor(input: UpdateBatchPredictionCommandInput);
32
- resolveMiddleware(
33
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
- configuration: MachineLearningClientResolvedConfig,
35
- options?: __HttpHandlerOptions
36
- ): Handler<
18
+ declare const UpdateBatchPredictionCommand_base: {
19
+ new (
20
+ input: UpdateBatchPredictionCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
37
22
  UpdateBatchPredictionCommandInput,
38
- UpdateBatchPredictionCommandOutput
23
+ UpdateBatchPredictionCommandOutput,
24
+ MachineLearningClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
39
27
  >;
40
- private serialize;
41
- private deserialize;
42
- }
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class UpdateBatchPredictionCommand extends UpdateBatchPredictionCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  MachineLearningClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -20,19 +14,16 @@ export interface UpdateDataSourceCommandInput extends UpdateDataSourceInput {}
20
14
  export interface UpdateDataSourceCommandOutput
21
15
  extends UpdateDataSourceOutput,
22
16
  __MetadataBearer {}
23
- export declare class UpdateDataSourceCommand extends $Command<
24
- UpdateDataSourceCommandInput,
25
- UpdateDataSourceCommandOutput,
26
- MachineLearningClientResolvedConfig
27
- > {
28
- readonly input: UpdateDataSourceCommandInput;
29
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
- constructor(input: UpdateDataSourceCommandInput);
31
- resolveMiddleware(
32
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
- configuration: MachineLearningClientResolvedConfig,
34
- options?: __HttpHandlerOptions
35
- ): Handler<UpdateDataSourceCommandInput, UpdateDataSourceCommandOutput>;
36
- private serialize;
37
- private deserialize;
38
- }
17
+ declare const UpdateDataSourceCommand_base: {
18
+ new (
19
+ input: UpdateDataSourceCommandInput
20
+ ): import("@smithy/smithy-client").CommandImpl<
21
+ UpdateDataSourceCommandInput,
22
+ UpdateDataSourceCommandOutput,
23
+ MachineLearningClientResolvedConfig,
24
+ ServiceInputTypes,
25
+ ServiceOutputTypes
26
+ >;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ export declare class UpdateDataSourceCommand extends UpdateDataSourceCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  MachineLearningClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -20,19 +14,16 @@ export interface UpdateEvaluationCommandInput extends UpdateEvaluationInput {}
20
14
  export interface UpdateEvaluationCommandOutput
21
15
  extends UpdateEvaluationOutput,
22
16
  __MetadataBearer {}
23
- export declare class UpdateEvaluationCommand extends $Command<
24
- UpdateEvaluationCommandInput,
25
- UpdateEvaluationCommandOutput,
26
- MachineLearningClientResolvedConfig
27
- > {
28
- readonly input: UpdateEvaluationCommandInput;
29
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
- constructor(input: UpdateEvaluationCommandInput);
31
- resolveMiddleware(
32
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
- configuration: MachineLearningClientResolvedConfig,
34
- options?: __HttpHandlerOptions
35
- ): Handler<UpdateEvaluationCommandInput, UpdateEvaluationCommandOutput>;
36
- private serialize;
37
- private deserialize;
38
- }
17
+ declare const UpdateEvaluationCommand_base: {
18
+ new (
19
+ input: UpdateEvaluationCommandInput
20
+ ): import("@smithy/smithy-client").CommandImpl<
21
+ UpdateEvaluationCommandInput,
22
+ UpdateEvaluationCommandOutput,
23
+ MachineLearningClientResolvedConfig,
24
+ ServiceInputTypes,
25
+ ServiceOutputTypes
26
+ >;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ export declare class UpdateEvaluationCommand extends UpdateEvaluationCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  MachineLearningClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -17,19 +11,16 @@ export interface UpdateMLModelCommandInput extends UpdateMLModelInput {}
17
11
  export interface UpdateMLModelCommandOutput
18
12
  extends UpdateMLModelOutput,
19
13
  __MetadataBearer {}
20
- export declare class UpdateMLModelCommand extends $Command<
21
- UpdateMLModelCommandInput,
22
- UpdateMLModelCommandOutput,
23
- MachineLearningClientResolvedConfig
24
- > {
25
- readonly input: UpdateMLModelCommandInput;
26
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
- constructor(input: UpdateMLModelCommandInput);
28
- resolveMiddleware(
29
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
- configuration: MachineLearningClientResolvedConfig,
31
- options?: __HttpHandlerOptions
32
- ): Handler<UpdateMLModelCommandInput, UpdateMLModelCommandOutput>;
33
- private serialize;
34
- private deserialize;
35
- }
14
+ declare const UpdateMLModelCommand_base: {
15
+ new (
16
+ input: UpdateMLModelCommandInput
17
+ ): import("@smithy/smithy-client").CommandImpl<
18
+ UpdateMLModelCommandInput,
19
+ UpdateMLModelCommandOutput,
20
+ MachineLearningClientResolvedConfig,
21
+ ServiceInputTypes,
22
+ ServiceOutputTypes
23
+ >;
24
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ };
26
+ export declare class UpdateMLModelCommand extends UpdateMLModelCommand_base {}
@@ -25,6 +25,24 @@ export declare const resolveClientEndpointParameters: <T>(
25
25
  ClientInputEndpointParameters & {
26
26
  defaultSigningName: string;
27
27
  };
28
+ export declare const commonParams: {
29
+ readonly UseFIPS: {
30
+ readonly type: "builtInParams";
31
+ readonly name: "useFipsEndpoint";
32
+ };
33
+ readonly Endpoint: {
34
+ readonly type: "builtInParams";
35
+ readonly name: "endpoint";
36
+ };
37
+ readonly Region: {
38
+ readonly type: "builtInParams";
39
+ readonly name: "region";
40
+ };
41
+ readonly UseDualStack: {
42
+ readonly type: "builtInParams";
43
+ readonly name: "useDualstackEndpoint";
44
+ };
45
+ };
28
46
  export interface EndpointParameters extends __EndpointParameters {
29
47
  Region?: string;
30
48
  UseDualStack?: boolean;
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.478.0",
4
+ "version": "3.481.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",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.478.0",
24
- "@aws-sdk/core": "3.477.0",
25
- "@aws-sdk/credential-provider-node": "3.478.0",
23
+ "@aws-sdk/client-sts": "3.481.0",
24
+ "@aws-sdk/core": "3.481.0",
25
+ "@aws-sdk/credential-provider-node": "3.481.0",
26
26
  "@aws-sdk/middleware-host-header": "3.468.0",
27
27
  "@aws-sdk/middleware-logger": "3.468.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.468.0",
@@ -35,26 +35,26 @@
35
35
  "@aws-sdk/util-user-agent-browser": "3.468.0",
36
36
  "@aws-sdk/util-user-agent-node": "3.470.0",
37
37
  "@smithy/config-resolver": "^2.0.21",
38
- "@smithy/core": "^1.2.0",
38
+ "@smithy/core": "^1.2.1",
39
39
  "@smithy/fetch-http-handler": "^2.3.1",
40
40
  "@smithy/hash-node": "^2.0.17",
41
41
  "@smithy/invalid-dependency": "^2.0.15",
42
42
  "@smithy/middleware-content-length": "^2.0.17",
43
43
  "@smithy/middleware-endpoint": "^2.2.3",
44
- "@smithy/middleware-retry": "^2.0.24",
44
+ "@smithy/middleware-retry": "^2.0.25",
45
45
  "@smithy/middleware-serde": "^2.0.15",
46
46
  "@smithy/middleware-stack": "^2.0.9",
47
47
  "@smithy/node-config-provider": "^2.1.8",
48
48
  "@smithy/node-http-handler": "^2.2.1",
49
49
  "@smithy/protocol-http": "^3.0.11",
50
- "@smithy/smithy-client": "^2.1.18",
50
+ "@smithy/smithy-client": "^2.2.0",
51
51
  "@smithy/types": "^2.7.0",
52
52
  "@smithy/url-parser": "^2.0.15",
53
53
  "@smithy/util-base64": "^2.0.1",
54
54
  "@smithy/util-body-length-browser": "^2.0.1",
55
55
  "@smithy/util-body-length-node": "^2.1.0",
56
- "@smithy/util-defaults-mode-browser": "^2.0.22",
57
- "@smithy/util-defaults-mode-node": "^2.0.29",
56
+ "@smithy/util-defaults-mode-browser": "^2.0.23",
57
+ "@smithy/util-defaults-mode-node": "^2.0.30",
58
58
  "@smithy/util-endpoints": "^1.0.7",
59
59
  "@smithy/util-retry": "^2.0.8",
60
60
  "@smithy/util-utf8": "^2.0.2",