@aws-sdk/client-sagemaker-runtime 3.828.0 → 3.835.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-cjs/index.js +1 -1
- package/dist-es/protocols/Aws_restJson1.js +1 -1
- package/dist-types/endpoint/EndpointParameters.d.ts +8 -8
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +11 -8
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -2
- package/package.json +11 -11
package/dist-cjs/index.js
CHANGED
|
@@ -734,7 +734,7 @@ var de_ResponseStream = /* @__PURE__ */ __name((output, context) => {
|
|
|
734
734
|
InternalStreamFailure: await de_InternalStreamFailure_event(event["InternalStreamFailure"], context)
|
|
735
735
|
};
|
|
736
736
|
}
|
|
737
|
-
return { $unknown:
|
|
737
|
+
return { $unknown: event };
|
|
738
738
|
});
|
|
739
739
|
}, "de_ResponseStream");
|
|
740
740
|
var de_InternalStreamFailure_event = /* @__PURE__ */ __name(async (output, context) => {
|
|
@@ -276,7 +276,7 @@ const de_ResponseStream = (output, context) => {
|
|
|
276
276
|
InternalStreamFailure: await de_InternalStreamFailure_event(event["InternalStreamFailure"], context),
|
|
277
277
|
};
|
|
278
278
|
}
|
|
279
|
-
return { $unknown:
|
|
279
|
+
return { $unknown: event };
|
|
280
280
|
});
|
|
281
281
|
};
|
|
282
282
|
const de_InternalStreamFailure_event = async (output, context) => {
|
|
@@ -3,12 +3,12 @@ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provi
|
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
5
5
|
export interface ClientInputEndpointParameters {
|
|
6
|
-
region?: string | Provider<string>;
|
|
7
|
-
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
8
|
-
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
6
|
+
region?: string | undefined | Provider<string | undefined>;
|
|
7
|
+
useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
8
|
+
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
9
9
|
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
10
10
|
}
|
|
11
|
-
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
11
|
+
export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
|
|
@@ -31,8 +31,8 @@ export declare const commonParams: {
|
|
|
31
31
|
};
|
|
32
32
|
};
|
|
33
33
|
export interface EndpointParameters extends __EndpointParameters {
|
|
34
|
-
Region?: string;
|
|
35
|
-
UseDualStack?: boolean;
|
|
36
|
-
UseFIPS?: boolean;
|
|
37
|
-
Endpoint?: string;
|
|
34
|
+
Region?: string | undefined;
|
|
35
|
+
UseDualStack?: boolean | undefined;
|
|
36
|
+
UseFIPS?: boolean | undefined;
|
|
37
|
+
Endpoint?: string | undefined;
|
|
38
38
|
}
|
|
@@ -16,8 +16,8 @@ export declare const getRuntimeConfig: (config: SageMakerRuntimeClientConfig) =>
|
|
|
16
16
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
17
17
|
sha256: import("@smithy/types").HashConstructor;
|
|
18
18
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
19
|
-
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean
|
|
20
|
-
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean
|
|
19
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
20
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
21
21
|
apiVersion: string;
|
|
22
22
|
cacheMiddleware?: boolean | undefined;
|
|
23
23
|
urlParser: import("@smithy/types").UrlParser;
|
|
@@ -17,8 +17,8 @@ export declare const getRuntimeConfig: (config: SageMakerRuntimeClientConfig) =>
|
|
|
17
17
|
utf8Encoder: (input: Uint8Array | string) => string;
|
|
18
18
|
disableHostPrefix: boolean;
|
|
19
19
|
serviceId: string;
|
|
20
|
-
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean
|
|
21
|
-
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean
|
|
20
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
21
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
23
|
profile?: string;
|
|
24
24
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
Provider,
|
|
6
6
|
} from "@smithy/types";
|
|
7
7
|
export interface ClientInputEndpointParameters {
|
|
8
|
-
region?: string | Provider<string>;
|
|
9
|
-
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
10
|
-
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
8
|
+
region?: string | undefined | Provider<string | undefined>;
|
|
9
|
+
useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
10
|
+
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
11
11
|
endpoint?:
|
|
12
12
|
| string
|
|
13
13
|
| Provider<string>
|
|
@@ -16,7 +16,10 @@ export interface ClientInputEndpointParameters {
|
|
|
16
16
|
| EndpointV2
|
|
17
17
|
| Provider<EndpointV2>;
|
|
18
18
|
}
|
|
19
|
-
export type ClientResolvedEndpointParameters =
|
|
19
|
+
export type ClientResolvedEndpointParameters = Pick<
|
|
20
|
+
ClientInputEndpointParameters,
|
|
21
|
+
Exclude<keyof ClientInputEndpointParameters, "endpoint">
|
|
22
|
+
> & {
|
|
20
23
|
defaultSigningName: string;
|
|
21
24
|
};
|
|
22
25
|
export declare const resolveClientEndpointParameters: <T>(
|
|
@@ -41,8 +44,8 @@ export declare const commonParams: {
|
|
|
41
44
|
};
|
|
42
45
|
};
|
|
43
46
|
export interface EndpointParameters extends __EndpointParameters {
|
|
44
|
-
Region?: string;
|
|
45
|
-
UseDualStack?: boolean;
|
|
46
|
-
UseFIPS?: boolean;
|
|
47
|
-
Endpoint?: string;
|
|
47
|
+
Region?: string | undefined;
|
|
48
|
+
UseDualStack?: boolean | undefined;
|
|
49
|
+
UseFIPS?: boolean | undefined;
|
|
50
|
+
Endpoint?: string | undefined;
|
|
48
51
|
}
|
|
@@ -25,8 +25,10 @@ export declare const getRuntimeConfig: (
|
|
|
25
25
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
26
|
sha256: import("@smithy/types").HashConstructor;
|
|
27
27
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
28
|
-
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean
|
|
29
|
-
|
|
28
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
29
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
30
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
31
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
30
32
|
apiVersion: string;
|
|
31
33
|
cacheMiddleware?: boolean | undefined;
|
|
32
34
|
urlParser: import("@smithy/types").UrlParser;
|
|
@@ -21,8 +21,10 @@ export declare const getRuntimeConfig: (
|
|
|
21
21
|
utf8Encoder: (input: Uint8Array | string) => string;
|
|
22
22
|
disableHostPrefix: boolean;
|
|
23
23
|
serviceId: string;
|
|
24
|
-
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean
|
|
25
|
-
|
|
24
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
25
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
26
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
27
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
26
28
|
region: string | import("@smithy/types").Provider<any>;
|
|
27
29
|
profile?: string;
|
|
28
30
|
defaultUserAgentProvider: (
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sagemaker-runtime",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sagemaker Runtime Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.835.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-sagemaker-runtime",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.835.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.835.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.821.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.821.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.821.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.835.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.821.0",
|
|
30
30
|
"@aws-sdk/types": "3.821.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.828.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.821.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.835.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.1.4",
|
|
35
35
|
"@smithy/core": "^3.5.3",
|
|
36
36
|
"@smithy/eventstream-serde-browser": "^4.0.4",
|
|
@@ -40,24 +40,24 @@
|
|
|
40
40
|
"@smithy/hash-node": "^4.0.4",
|
|
41
41
|
"@smithy/invalid-dependency": "^4.0.4",
|
|
42
42
|
"@smithy/middleware-content-length": "^4.0.4",
|
|
43
|
-
"@smithy/middleware-endpoint": "^4.1.
|
|
44
|
-
"@smithy/middleware-retry": "^4.1.
|
|
43
|
+
"@smithy/middleware-endpoint": "^4.1.12",
|
|
44
|
+
"@smithy/middleware-retry": "^4.1.13",
|
|
45
45
|
"@smithy/middleware-serde": "^4.0.8",
|
|
46
46
|
"@smithy/middleware-stack": "^4.0.4",
|
|
47
47
|
"@smithy/node-config-provider": "^4.1.3",
|
|
48
48
|
"@smithy/node-http-handler": "^4.0.6",
|
|
49
49
|
"@smithy/protocol-http": "^5.1.2",
|
|
50
|
-
"@smithy/smithy-client": "^4.4.
|
|
50
|
+
"@smithy/smithy-client": "^4.4.4",
|
|
51
51
|
"@smithy/types": "^4.3.1",
|
|
52
52
|
"@smithy/url-parser": "^4.0.4",
|
|
53
53
|
"@smithy/util-base64": "^4.0.0",
|
|
54
54
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
55
55
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
56
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
57
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
56
|
+
"@smithy/util-defaults-mode-browser": "^4.0.20",
|
|
57
|
+
"@smithy/util-defaults-mode-node": "^4.0.20",
|
|
58
58
|
"@smithy/util-endpoints": "^3.0.6",
|
|
59
59
|
"@smithy/util-middleware": "^4.0.4",
|
|
60
|
-
"@smithy/util-retry": "^4.0.
|
|
60
|
+
"@smithy/util-retry": "^4.0.6",
|
|
61
61
|
"@smithy/util-stream": "^4.2.2",
|
|
62
62
|
"@smithy/util-utf8": "^4.0.0",
|
|
63
63
|
"tslib": "^2.6.2"
|