@aws-sdk/client-machine-learning 3.1019.0 → 3.1020.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-es/waiters/waitForBatchPredictionAvailable.js +1 -1
- package/dist-es/waiters/waitForDataSourceAvailable.js +1 -1
- package/dist-es/waiters/waitForEvaluationAvailable.js +1 -1
- package/dist-es/waiters/waitForMLModelAvailable.js +1 -1
- package/dist-types/MachineLearningClient.d.ts +3 -3
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/index.d.ts +1 -1
- package/dist-types/pagination/DescribeBatchPredictionsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDataSourcesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeEvaluationsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeMLModelsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/MachineLearningClient.d.ts +2 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/waiters/waitForBatchPredictionAvailable.d.ts +2 -2
- package/dist-types/waiters/waitForDataSourceAvailable.d.ts +2 -2
- package/dist-types/waiters/waitForEvaluationAvailable.d.ts +2 -2
- package/dist-types/waiters/waitForMLModelAvailable.d.ts +2 -2
- package/package.json +14 -14
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter";
|
|
1
|
+
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
|
|
2
2
|
import { DescribeBatchPredictionsCommand, } from "../commands/DescribeBatchPredictionsCommand";
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter";
|
|
1
|
+
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
|
|
2
2
|
import { DescribeDataSourcesCommand, } from "../commands/DescribeDataSourcesCommand";
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter";
|
|
1
|
+
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
|
|
2
2
|
import { DescribeEvaluationsCommand, } from "../commands/DescribeEvaluationsCommand";
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter";
|
|
1
|
+
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
|
|
2
2
|
import { DescribeMLModelsCommand } from "../commands/DescribeMLModelsCommand";
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
@@ -5,7 +5,7 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
|
|
|
5
5
|
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
6
|
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
7
|
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
8
|
-
import {
|
|
8
|
+
import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import type { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
|
|
11
11
|
import type { CreateBatchPredictionCommandInput, CreateBatchPredictionCommandOutput } from "./commands/CreateBatchPredictionCommand";
|
|
@@ -35,7 +35,7 @@ import type { UpdateBatchPredictionCommandInput, UpdateBatchPredictionCommandOut
|
|
|
35
35
|
import type { UpdateDataSourceCommandInput, UpdateDataSourceCommandOutput } from "./commands/UpdateDataSourceCommand";
|
|
36
36
|
import type { UpdateEvaluationCommandInput, UpdateEvaluationCommandOutput } from "./commands/UpdateEvaluationCommand";
|
|
37
37
|
import type { UpdateMLModelCommandInput, UpdateMLModelCommandOutput } from "./commands/UpdateMLModelCommand";
|
|
38
|
-
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
38
|
+
import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
|
|
39
39
|
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
40
40
|
export { __Client };
|
|
41
41
|
/**
|
|
@@ -144,7 +144,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
144
144
|
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
145
145
|
* @internal
|
|
146
146
|
*/
|
|
147
|
-
defaultUserAgentProvider?:
|
|
147
|
+
defaultUserAgentProvider?: __Provider<__UserAgent>;
|
|
148
148
|
/**
|
|
149
149
|
* Default credentials provider; Not available in browser runtime.
|
|
150
150
|
* @deprecated
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
|
|
2
2
|
import type { MachineLearningHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
package/dist-types/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
export * from "./MachineLearningClient";
|
|
8
8
|
export * from "./MachineLearning";
|
|
9
|
-
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
9
|
+
export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
10
10
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
11
11
|
export type { MachineLearningExtensionConfiguration } from "./extensionConfiguration";
|
|
12
12
|
export * from "./commands";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { DescribeBatchPredictionsCommandInput, DescribeBatchPredictionsCommandOutput } from "../commands/DescribeBatchPredictionsCommand";
|
|
3
|
-
import { MachineLearningPaginationConfiguration } from "./Interfaces";
|
|
3
|
+
import type { MachineLearningPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { DescribeDataSourcesCommandInput, DescribeDataSourcesCommandOutput } from "../commands/DescribeDataSourcesCommand";
|
|
3
|
-
import { MachineLearningPaginationConfiguration } from "./Interfaces";
|
|
3
|
+
import type { MachineLearningPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { DescribeEvaluationsCommandInput, DescribeEvaluationsCommandOutput } from "../commands/DescribeEvaluationsCommand";
|
|
3
|
-
import { MachineLearningPaginationConfiguration } from "./Interfaces";
|
|
3
|
+
import type { MachineLearningPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { DescribeMLModelsCommandInput, DescribeMLModelsCommandOutput } from "../commands/DescribeMLModelsCommand";
|
|
3
|
-
import { MachineLearningPaginationConfiguration } from "./Interfaces";
|
|
3
|
+
import type { MachineLearningPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
@@ -26,6 +26,7 @@ import {
|
|
|
26
26
|
Client as __Client,
|
|
27
27
|
} from "@smithy/smithy-client";
|
|
28
28
|
import {
|
|
29
|
+
AwsCredentialIdentityProvider,
|
|
29
30
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
30
31
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
31
32
|
ChecksumConstructor as __ChecksumConstructor,
|
|
@@ -37,8 +38,6 @@ import {
|
|
|
37
38
|
Provider as __Provider,
|
|
38
39
|
StreamCollector as __StreamCollector,
|
|
39
40
|
UrlParser as __UrlParser,
|
|
40
|
-
AwsCredentialIdentityProvider,
|
|
41
|
-
Provider,
|
|
42
41
|
UserAgent as __UserAgent,
|
|
43
42
|
} from "@smithy/types";
|
|
44
43
|
import {
|
|
@@ -240,7 +239,7 @@ export interface ClientDefaults
|
|
|
240
239
|
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
241
240
|
region?: string | __Provider<string>;
|
|
242
241
|
profile?: string;
|
|
243
|
-
defaultUserAgentProvider?:
|
|
242
|
+
defaultUserAgentProvider?: __Provider<__UserAgent>;
|
|
244
243
|
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
245
244
|
maxAttempts?: number | __Provider<number>;
|
|
246
245
|
retryMode?: string | __Provider<string>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
1
|
+
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
2
|
import { type DescribeBatchPredictionsCommandInput } from "../commands/DescribeBatchPredictionsCommand";
|
|
3
|
-
import { MachineLearningClient } from "../MachineLearningClient";
|
|
3
|
+
import type { MachineLearningClient } from "../MachineLearningClient";
|
|
4
4
|
/**
|
|
5
5
|
*
|
|
6
6
|
* @deprecated Use waitUntilBatchPredictionAvailable instead. waitForBatchPredictionAvailable does not throw error in non-success cases.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
1
|
+
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
2
|
import { type DescribeDataSourcesCommandInput } from "../commands/DescribeDataSourcesCommand";
|
|
3
|
-
import { MachineLearningClient } from "../MachineLearningClient";
|
|
3
|
+
import type { MachineLearningClient } from "../MachineLearningClient";
|
|
4
4
|
/**
|
|
5
5
|
*
|
|
6
6
|
* @deprecated Use waitUntilDataSourceAvailable instead. waitForDataSourceAvailable does not throw error in non-success cases.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
1
|
+
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
2
|
import { type DescribeEvaluationsCommandInput } from "../commands/DescribeEvaluationsCommand";
|
|
3
|
-
import { MachineLearningClient } from "../MachineLearningClient";
|
|
3
|
+
import type { MachineLearningClient } from "../MachineLearningClient";
|
|
4
4
|
/**
|
|
5
5
|
*
|
|
6
6
|
* @deprecated Use waitUntilEvaluationAvailable instead. waitForEvaluationAvailable does not throw error in non-success cases.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
1
|
+
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
2
|
import { type DescribeMLModelsCommandInput } from "../commands/DescribeMLModelsCommand";
|
|
3
|
-
import { MachineLearningClient } from "../MachineLearningClient";
|
|
3
|
+
import type { MachineLearningClient } from "../MachineLearningClient";
|
|
4
4
|
/**
|
|
5
5
|
*
|
|
6
6
|
* @deprecated Use waitUntilMLModelAvailable instead. waitForMLModelAvailable does not throw error in non-success cases.
|
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.1020.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 client-machine-learning",
|
|
@@ -21,44 +21,44 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.26",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.28",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.8",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.8",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.9",
|
|
29
29
|
"@aws-sdk/middleware-sdk-machinelearning": "^3.972.8",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "^3.972.27",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "^3.972.10",
|
|
32
32
|
"@aws-sdk/types": "^3.973.6",
|
|
33
33
|
"@aws-sdk/util-endpoints": "^3.996.5",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "^3.972.8",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "^3.973.13",
|
|
36
36
|
"@smithy/config-resolver": "^4.4.13",
|
|
37
|
-
"@smithy/core": "^3.23.
|
|
37
|
+
"@smithy/core": "^3.23.13",
|
|
38
38
|
"@smithy/fetch-http-handler": "^5.3.15",
|
|
39
39
|
"@smithy/hash-node": "^4.2.12",
|
|
40
40
|
"@smithy/invalid-dependency": "^4.2.12",
|
|
41
41
|
"@smithy/middleware-content-length": "^4.2.12",
|
|
42
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
43
|
-
"@smithy/middleware-retry": "^4.4.
|
|
44
|
-
"@smithy/middleware-serde": "^4.2.
|
|
42
|
+
"@smithy/middleware-endpoint": "^4.4.28",
|
|
43
|
+
"@smithy/middleware-retry": "^4.4.45",
|
|
44
|
+
"@smithy/middleware-serde": "^4.2.16",
|
|
45
45
|
"@smithy/middleware-stack": "^4.2.12",
|
|
46
46
|
"@smithy/node-config-provider": "^4.3.12",
|
|
47
|
-
"@smithy/node-http-handler": "^4.5.
|
|
47
|
+
"@smithy/node-http-handler": "^4.5.1",
|
|
48
48
|
"@smithy/protocol-http": "^5.3.12",
|
|
49
|
-
"@smithy/smithy-client": "^4.12.
|
|
49
|
+
"@smithy/smithy-client": "^4.12.8",
|
|
50
50
|
"@smithy/types": "^4.13.1",
|
|
51
51
|
"@smithy/url-parser": "^4.2.12",
|
|
52
52
|
"@smithy/util-base64": "^4.3.2",
|
|
53
53
|
"@smithy/util-body-length-browser": "^4.2.2",
|
|
54
54
|
"@smithy/util-body-length-node": "^4.2.3",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^4.3.44",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^4.2.48",
|
|
57
57
|
"@smithy/util-endpoints": "^3.3.3",
|
|
58
58
|
"@smithy/util-middleware": "^4.2.12",
|
|
59
59
|
"@smithy/util-retry": "^4.2.12",
|
|
60
60
|
"@smithy/util-utf8": "^4.2.2",
|
|
61
|
-
"@smithy/util-waiter": "^4.2.
|
|
61
|
+
"@smithy/util-waiter": "^4.2.14",
|
|
62
62
|
"tslib": "^2.6.2"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|