@aws-sdk/client-sagemaker-runtime 3.34.0 → 3.37.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/CHANGELOG.md +47 -0
- package/{dist/cjs → dist-cjs}/SageMakerRuntime.js +1 -5
- package/{dist/cjs → dist-cjs}/SageMakerRuntimeClient.js +8 -17
- package/dist-cjs/commands/InvokeEndpointAsyncCommand.js +36 -0
- package/dist-cjs/commands/InvokeEndpointCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -25
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +0 -6
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/SageMakerRuntime.js +1 -2
- package/{dist/es → dist-es}/SageMakerRuntimeClient.js +1 -2
- package/{dist/es → dist-es}/commands/InvokeEndpointAsyncCommand.js +2 -3
- package/{dist/es → dist-es}/commands/InvokeEndpointCommand.js +2 -3
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -1
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
- package/{dist/types → dist-types}/SageMakerRuntime.d.ts +2 -2
- package/{dist/types → dist-types}/SageMakerRuntimeClient.d.ts +3 -3
- package/{dist/types → dist-types}/commands/InvokeEndpointAsyncCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/InvokeEndpointCommand.d.ts +3 -3
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/dist-types/ts3.4/SageMakerRuntime.d.ts +15 -0
- package/dist-types/ts3.4/SageMakerRuntimeClient.d.ts +69 -0
- package/dist-types/ts3.4/commands/InvokeEndpointAsyncCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/InvokeEndpointCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +115 -0
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +3 -7
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +45 -42
- package/SageMakerRuntime.ts +0 -116
- package/SageMakerRuntimeClient.ts +0 -240
- package/commands/InvokeEndpointAsyncCommand.ts +0 -110
- package/commands/InvokeEndpointCommand.ts +0 -113
- package/dist/cjs/SageMakerRuntime.js.map +0 -1
- package/dist/cjs/SageMakerRuntimeClient.js.map +0 -1
- package/dist/cjs/commands/InvokeEndpointAsyncCommand.js +0 -77
- package/dist/cjs/commands/InvokeEndpointAsyncCommand.js.map +0 -1
- package/dist/cjs/commands/InvokeEndpointCommand.js +0 -80
- package/dist/cjs/commands/InvokeEndpointCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/SageMakerRuntime.js.map +0 -1
- package/dist/es/SageMakerRuntimeClient.js.map +0 -1
- package/dist/es/commands/InvokeEndpointAsyncCommand.js.map +0 -1
- package/dist/es/commands/InvokeEndpointCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -6
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/ts3.4/SageMakerRuntime.d.ts +0 -56
- package/dist/types/ts3.4/SageMakerRuntimeClient.d.ts +0 -134
- package/dist/types/ts3.4/commands/InvokeEndpointAsyncCommand.d.ts +0 -51
- package/dist/types/ts3.4/commands/InvokeEndpointCommand.d.ts +0 -54
- package/dist/types/ts3.4/models/models_0.d.ts +0 -253
- package/endpoints.ts +0 -82
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -311
- package/protocols/Aws_restJson1.ts +0 -418
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -31
- package/tsconfig.types.json +0 -8
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,53 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Features
|
|
32
|
+
|
|
33
|
+
* publish files in dist-* only ([#2873](https://github.com/aws/aws-sdk-js-v3/issues/2873)) ([53b4243](https://github.com/aws/aws-sdk-js-v3/commit/53b4243b066f25ff2412d5f0dea1036054b2df32))
|
|
34
|
+
* **codegen:** ts-ignore packageInfo imports in codegen ([#2875](https://github.com/aws/aws-sdk-js-v3/issues/2875)) ([99d9267](https://github.com/aws/aws-sdk-js-v3/commit/99d926762193e83a354edec6e9de2b0543449704))
|
|
35
|
+
* **tsconfig:** remove sourceMap ([#2867](https://github.com/aws/aws-sdk-js-v3/issues/2867)) ([d25f526](https://github.com/aws/aws-sdk-js-v3/commit/d25f526627a02a2ca28675fecce66c76b6c97966))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
# [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
### Features
|
|
45
|
+
|
|
46
|
+
* **clients:** eslint --fix using esprint ([#2849](https://github.com/aws/aws-sdk-js-v3/issues/2849)) ([94d0a2d](https://github.com/aws/aws-sdk-js-v3/commit/94d0a2d8a0579ee0a742337937ad05735cfbc1ba))
|
|
47
|
+
* **clients:** move source files to 'src' folder ([#2845](https://github.com/aws/aws-sdk-js-v3/issues/2845)) ([e0025cd](https://github.com/aws/aws-sdk-js-v3/commit/e0025cddbba244a41ddf1fd1adb761142e15c22d))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
6
53
|
# [3.34.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.33.0...v3.34.0) (2021-09-24)
|
|
7
54
|
|
|
8
55
|
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SageMakerRuntime = void 0;
|
|
4
|
-
const SageMakerRuntimeClient_1 = require("./SageMakerRuntimeClient");
|
|
5
4
|
const InvokeEndpointAsyncCommand_1 = require("./commands/InvokeEndpointAsyncCommand");
|
|
6
5
|
const InvokeEndpointCommand_1 = require("./commands/InvokeEndpointCommand");
|
|
7
|
-
|
|
8
|
-
* <p> The Amazon SageMaker runtime API. </p>
|
|
9
|
-
*/
|
|
6
|
+
const SageMakerRuntimeClient_1 = require("./SageMakerRuntimeClient");
|
|
10
7
|
class SageMakerRuntime extends SageMakerRuntimeClient_1.SageMakerRuntimeClient {
|
|
11
8
|
invokeEndpoint(args, optionsOrCb, cb) {
|
|
12
9
|
const command = new InvokeEndpointCommand_1.InvokeEndpointCommand(args);
|
|
@@ -38,4 +35,3 @@ class SageMakerRuntime extends SageMakerRuntimeClient_1.SageMakerRuntimeClient {
|
|
|
38
35
|
}
|
|
39
36
|
}
|
|
40
37
|
exports.SageMakerRuntime = SageMakerRuntime;
|
|
41
|
-
//# sourceMappingURL=SageMakerRuntime.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SageMakerRuntimeClient = void 0;
|
|
4
|
-
const runtimeConfig_1 = require("./runtimeConfig");
|
|
5
4
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
6
5
|
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
7
6
|
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
@@ -10,18 +9,16 @@ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
|
10
9
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
11
10
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
12
11
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
13
|
-
|
|
14
|
-
* <p> The Amazon SageMaker runtime API. </p>
|
|
15
|
-
*/
|
|
12
|
+
const runtimeConfig_1 = require("./runtimeConfig");
|
|
16
13
|
class SageMakerRuntimeClient extends smithy_client_1.Client {
|
|
17
14
|
constructor(configuration) {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
15
|
+
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
16
|
+
const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
|
|
17
|
+
const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
|
|
18
|
+
const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
|
|
19
|
+
const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
|
|
20
|
+
const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
|
|
21
|
+
const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
|
|
25
22
|
super(_config_6);
|
|
26
23
|
this.config = _config_6;
|
|
27
24
|
this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
|
|
@@ -31,14 +28,8 @@ class SageMakerRuntimeClient extends smithy_client_1.Client {
|
|
|
31
28
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
32
29
|
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
33
30
|
}
|
|
34
|
-
/**
|
|
35
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
36
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
37
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
38
|
-
*/
|
|
39
31
|
destroy() {
|
|
40
32
|
super.destroy();
|
|
41
33
|
}
|
|
42
34
|
}
|
|
43
35
|
exports.SageMakerRuntimeClient = SageMakerRuntimeClient;
|
|
44
|
-
//# sourceMappingURL=SageMakerRuntimeClient.js.map
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InvokeEndpointAsyncCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class InvokeEndpointAsyncCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "SageMakerRuntimeClient";
|
|
18
|
+
const commandName = "InvokeEndpointAsyncCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.InvokeEndpointAsyncInput.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.InvokeEndpointAsyncOutput.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1InvokeEndpointAsyncCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1InvokeEndpointAsyncCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.InvokeEndpointAsyncCommand = InvokeEndpointAsyncCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InvokeEndpointCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class InvokeEndpointCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "SageMakerRuntimeClient";
|
|
18
|
+
const commandName = "InvokeEndpointCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.InvokeEndpointInput.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.InvokeEndpointOutput.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1InvokeEndpointCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1InvokeEndpointCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.InvokeEndpointCommand = InvokeEndpointCommand;
|
|
@@ -60,7 +60,7 @@ const partitionHash = {
|
|
|
60
60
|
hostname: "runtime.sagemaker.{region}.amazonaws.com.cn",
|
|
61
61
|
},
|
|
62
62
|
"aws-iso": {
|
|
63
|
-
regions: ["us-iso-east-1"],
|
|
63
|
+
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
64
64
|
hostname: "runtime.sagemaker.{region}.c2s.ic.gov",
|
|
65
65
|
},
|
|
66
66
|
"aws-iso-b": {
|
|
@@ -79,4 +79,3 @@ const defaultRegionInfoProvider = async (region, options) => config_resolver_1.g
|
|
|
79
79
|
partitionHash,
|
|
80
80
|
});
|
|
81
81
|
exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
|
|
82
|
-
//# sourceMappingURL=endpoints.js.map
|
|
@@ -6,4 +6,3 @@ tslib_1.__exportStar(require("./SageMakerRuntime"), exports);
|
|
|
6
6
|
tslib_1.__exportStar(require("./commands/InvokeEndpointCommand"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./commands/InvokeEndpointAsyncCommand"), exports);
|
|
8
8
|
tslib_1.__exportStar(require("./models/index"), exports);
|
|
9
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -4,18 +4,12 @@ exports.InvokeEndpointAsyncOutput = exports.InvokeEndpointAsyncInput = exports.V
|
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
5
|
var InternalFailure;
|
|
6
6
|
(function (InternalFailure) {
|
|
7
|
-
/**
|
|
8
|
-
* @internal
|
|
9
|
-
*/
|
|
10
7
|
InternalFailure.filterSensitiveLog = (obj) => ({
|
|
11
8
|
...obj,
|
|
12
9
|
});
|
|
13
10
|
})(InternalFailure = exports.InternalFailure || (exports.InternalFailure = {}));
|
|
14
11
|
var InvokeEndpointInput;
|
|
15
12
|
(function (InvokeEndpointInput) {
|
|
16
|
-
/**
|
|
17
|
-
* @internal
|
|
18
|
-
*/
|
|
19
13
|
InvokeEndpointInput.filterSensitiveLog = (obj) => ({
|
|
20
14
|
...obj,
|
|
21
15
|
...(obj.Body && { Body: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -24,9 +18,6 @@ var InvokeEndpointInput;
|
|
|
24
18
|
})(InvokeEndpointInput = exports.InvokeEndpointInput || (exports.InvokeEndpointInput = {}));
|
|
25
19
|
var InvokeEndpointOutput;
|
|
26
20
|
(function (InvokeEndpointOutput) {
|
|
27
|
-
/**
|
|
28
|
-
* @internal
|
|
29
|
-
*/
|
|
30
21
|
InvokeEndpointOutput.filterSensitiveLog = (obj) => ({
|
|
31
22
|
...obj,
|
|
32
23
|
...(obj.Body && { Body: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -35,36 +26,24 @@ var InvokeEndpointOutput;
|
|
|
35
26
|
})(InvokeEndpointOutput = exports.InvokeEndpointOutput || (exports.InvokeEndpointOutput = {}));
|
|
36
27
|
var ModelError;
|
|
37
28
|
(function (ModelError) {
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
29
|
ModelError.filterSensitiveLog = (obj) => ({
|
|
42
30
|
...obj,
|
|
43
31
|
});
|
|
44
32
|
})(ModelError = exports.ModelError || (exports.ModelError = {}));
|
|
45
33
|
var ServiceUnavailable;
|
|
46
34
|
(function (ServiceUnavailable) {
|
|
47
|
-
/**
|
|
48
|
-
* @internal
|
|
49
|
-
*/
|
|
50
35
|
ServiceUnavailable.filterSensitiveLog = (obj) => ({
|
|
51
36
|
...obj,
|
|
52
37
|
});
|
|
53
38
|
})(ServiceUnavailable = exports.ServiceUnavailable || (exports.ServiceUnavailable = {}));
|
|
54
39
|
var ValidationError;
|
|
55
40
|
(function (ValidationError) {
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
41
|
ValidationError.filterSensitiveLog = (obj) => ({
|
|
60
42
|
...obj,
|
|
61
43
|
});
|
|
62
44
|
})(ValidationError = exports.ValidationError || (exports.ValidationError = {}));
|
|
63
45
|
var InvokeEndpointAsyncInput;
|
|
64
46
|
(function (InvokeEndpointAsyncInput) {
|
|
65
|
-
/**
|
|
66
|
-
* @internal
|
|
67
|
-
*/
|
|
68
47
|
InvokeEndpointAsyncInput.filterSensitiveLog = (obj) => ({
|
|
69
48
|
...obj,
|
|
70
49
|
...(obj.CustomAttributes && { CustomAttributes: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -72,11 +51,7 @@ var InvokeEndpointAsyncInput;
|
|
|
72
51
|
})(InvokeEndpointAsyncInput = exports.InvokeEndpointAsyncInput || (exports.InvokeEndpointAsyncInput = {}));
|
|
73
52
|
var InvokeEndpointAsyncOutput;
|
|
74
53
|
(function (InvokeEndpointAsyncOutput) {
|
|
75
|
-
/**
|
|
76
|
-
* @internal
|
|
77
|
-
*/
|
|
78
54
|
InvokeEndpointAsyncOutput.filterSensitiveLog = (obj) => ({
|
|
79
55
|
...obj,
|
|
80
56
|
});
|
|
81
57
|
})(InvokeEndpointAsyncOutput = exports.InvokeEndpointAsyncOutput || (exports.InvokeEndpointAsyncOutput = {}));
|
|
82
|
-
//# sourceMappingURL=models_0.js.map
|
|
@@ -306,14 +306,12 @@ const deserializeMetadata = (output) => {
|
|
|
306
306
|
cfId: output.headers["x-amz-cf-id"],
|
|
307
307
|
});
|
|
308
308
|
};
|
|
309
|
-
// Collect low-level response body stream to Uint8Array.
|
|
310
309
|
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
311
310
|
if (streamBody instanceof Uint8Array) {
|
|
312
311
|
return Promise.resolve(streamBody);
|
|
313
312
|
}
|
|
314
313
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
315
314
|
};
|
|
316
|
-
// Encode Uint8Array data into string with utf-8.
|
|
317
315
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
318
316
|
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
319
317
|
value !== null &&
|
|
@@ -326,9 +324,6 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
326
324
|
}
|
|
327
325
|
return {};
|
|
328
326
|
});
|
|
329
|
-
/**
|
|
330
|
-
* Load an error code for the aws.rest-json-1.1 protocol.
|
|
331
|
-
*/
|
|
332
327
|
const loadRestJsonErrorCode = (output, data) => {
|
|
333
328
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
334
329
|
const sanitizeErrorCode = (rawValue) => {
|
|
@@ -353,4 +348,3 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
353
348
|
}
|
|
354
349
|
return "";
|
|
355
350
|
};
|
|
356
|
-
//# sourceMappingURL=Aws_restJson1.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const package_json_1 = tslib_1.__importDefault(require("
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
7
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
8
8
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
@@ -12,9 +12,6 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
12
12
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
13
13
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
14
14
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
15
|
-
/**
|
|
16
|
-
* @internal
|
|
17
|
-
*/
|
|
18
15
|
const getRuntimeConfig = (config) => {
|
|
19
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
20
17
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
@@ -38,4 +35,3 @@ const getRuntimeConfig = (config) => {
|
|
|
38
35
|
};
|
|
39
36
|
};
|
|
40
37
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
41
|
-
//# sourceMappingURL=runtimeConfig.browser.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const package_json_1 = tslib_1.__importDefault(require("
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const client_sts_1 = require("@aws-sdk/client-sts");
|
|
7
7
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
8
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
@@ -16,9 +16,6 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
|
16
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
|
-
/**
|
|
20
|
-
* @internal
|
|
21
|
-
*/
|
|
22
19
|
const getRuntimeConfig = (config) => {
|
|
23
20
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
24
21
|
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
@@ -43,4 +40,3 @@ const getRuntimeConfig = (config) => {
|
|
|
43
40
|
};
|
|
44
41
|
};
|
|
45
42
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
46
|
-
//# sourceMappingURL=runtimeConfig.js.map
|
|
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
6
|
const getRuntimeConfig = (config) => {
|
|
10
7
|
var _a;
|
|
11
8
|
const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
|
|
@@ -17,4 +14,3 @@ const getRuntimeConfig = (config) => {
|
|
|
17
14
|
};
|
|
18
15
|
};
|
|
19
16
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
20
|
-
//# sourceMappingURL=runtimeConfig.native.js.map
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
|
-
const endpoints_1 = require("./endpoints");
|
|
5
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
6
|
-
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
5
|
+
const endpoints_1 = require("./endpoints");
|
|
9
6
|
const getRuntimeConfig = (config) => {
|
|
10
7
|
var _a, _b, _c, _d, _e;
|
|
11
8
|
return ({
|
|
@@ -18,4 +15,3 @@ const getRuntimeConfig = (config) => {
|
|
|
18
15
|
});
|
|
19
16
|
};
|
|
20
17
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
21
|
-
//# sourceMappingURL=runtimeConfig.shared.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { SageMakerRuntimeClient } from "./SageMakerRuntimeClient";
|
|
3
2
|
import { InvokeEndpointAsyncCommand, } from "./commands/InvokeEndpointAsyncCommand";
|
|
4
3
|
import { InvokeEndpointCommand, } from "./commands/InvokeEndpointCommand";
|
|
4
|
+
import { SageMakerRuntimeClient } from "./SageMakerRuntimeClient";
|
|
5
5
|
var SageMakerRuntime = (function (_super) {
|
|
6
6
|
__extends(SageMakerRuntime, _super);
|
|
7
7
|
function SageMakerRuntime() {
|
|
@@ -38,4 +38,3 @@ var SageMakerRuntime = (function (_super) {
|
|
|
38
38
|
return SageMakerRuntime;
|
|
39
39
|
}(SageMakerRuntimeClient));
|
|
40
40
|
export { SageMakerRuntime };
|
|
41
|
-
//# sourceMappingURL=SageMakerRuntime.js.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
3
2
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
4
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
5
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -8,6 +7,7 @@ import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
|
8
7
|
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
9
8
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
10
9
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
10
|
+
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
11
|
var SageMakerRuntimeClient = (function (_super) {
|
|
12
12
|
__extends(SageMakerRuntimeClient, _super);
|
|
13
13
|
function SageMakerRuntimeClient(configuration) {
|
|
@@ -35,4 +35,3 @@ var SageMakerRuntimeClient = (function (_super) {
|
|
|
35
35
|
return SageMakerRuntimeClient;
|
|
36
36
|
}(__Client));
|
|
37
37
|
export { SageMakerRuntimeClient };
|
|
38
|
-
//# sourceMappingURL=SageMakerRuntimeClient.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { InvokeEndpointAsyncInput, InvokeEndpointAsyncOutput } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1InvokeEndpointAsyncCommand, serializeAws_restJson1InvokeEndpointAsyncCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { InvokeEndpointAsyncInput, InvokeEndpointAsyncOutput } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1InvokeEndpointAsyncCommand, serializeAws_restJson1InvokeEndpointAsyncCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var InvokeEndpointAsyncCommand = (function (_super) {
|
|
7
7
|
__extends(InvokeEndpointAsyncCommand, _super);
|
|
8
8
|
function InvokeEndpointAsyncCommand(input) {
|
|
@@ -37,4 +37,3 @@ var InvokeEndpointAsyncCommand = (function (_super) {
|
|
|
37
37
|
return InvokeEndpointAsyncCommand;
|
|
38
38
|
}($Command));
|
|
39
39
|
export { InvokeEndpointAsyncCommand };
|
|
40
|
-
//# sourceMappingURL=InvokeEndpointAsyncCommand.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { InvokeEndpointInput, InvokeEndpointOutput } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1InvokeEndpointCommand, serializeAws_restJson1InvokeEndpointCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { InvokeEndpointInput, InvokeEndpointOutput } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1InvokeEndpointCommand, serializeAws_restJson1InvokeEndpointCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var InvokeEndpointCommand = (function (_super) {
|
|
7
7
|
__extends(InvokeEndpointCommand, _super);
|
|
8
8
|
function InvokeEndpointCommand(input) {
|
|
@@ -37,4 +37,3 @@ var InvokeEndpointCommand = (function (_super) {
|
|
|
37
37
|
return InvokeEndpointCommand;
|
|
38
38
|
}($Command));
|
|
39
39
|
export { InvokeEndpointCommand };
|
|
40
|
-
//# sourceMappingURL=InvokeEndpointCommand.js.map
|
|
@@ -58,7 +58,7 @@ var partitionHash = {
|
|
|
58
58
|
hostname: "runtime.sagemaker.{region}.amazonaws.com.cn",
|
|
59
59
|
},
|
|
60
60
|
"aws-iso": {
|
|
61
|
-
regions: ["us-iso-east-1"],
|
|
61
|
+
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
62
62
|
hostname: "runtime.sagemaker.{region}.c2s.ic.gov",
|
|
63
63
|
},
|
|
64
64
|
"aws-iso-b": {
|
|
@@ -75,4 +75,3 @@ export var defaultRegionInfoProvider = function (region, options) { return __awa
|
|
|
75
75
|
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "sagemaker", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
76
76
|
});
|
|
77
77
|
}); };
|
|
78
|
-
//# sourceMappingURL=endpoints.js.map
|
|
File without changes
|
|
File without changes
|
|
@@ -32,4 +32,3 @@ export var InvokeEndpointAsyncOutput;
|
|
|
32
32
|
(function (InvokeEndpointAsyncOutput) {
|
|
33
33
|
InvokeEndpointAsyncOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
34
34
|
})(InvokeEndpointAsyncOutput || (InvokeEndpointAsyncOutput = {}));
|
|
35
|
-
//# sourceMappingURL=models_0.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
-
import packageInfo from "
|
|
2
|
+
import packageInfo from "../package.json";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
4
|
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
5
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
@@ -14,4 +14,3 @@ export var getRuntimeConfig = function (config) {
|
|
|
14
14
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
15
15
|
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=runtimeConfig.browser.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
-
import packageInfo from "
|
|
2
|
+
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
|
|
5
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
@@ -19,4 +19,3 @@ export var getRuntimeConfig = function (config) {
|
|
|
19
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
20
|
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
|
|
21
21
|
};
|
|
22
|
-
//# sourceMappingURL=runtimeConfig.js.map
|
|
@@ -6,4 +6,3 @@ export var getRuntimeConfig = function (config) {
|
|
|
6
6
|
var browserDefaults = getBrowserRuntimeConfig(config);
|
|
7
7
|
return __assign(__assign(__assign({}, browserDefaults), config), { runtime: "react-native", sha256: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : Sha256 });
|
|
8
8
|
};
|
|
9
|
-
//# sourceMappingURL=runtimeConfig.native.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defaultRegionInfoProvider } from "./endpoints";
|
|
2
1
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
2
|
+
import { defaultRegionInfoProvider } from "./endpoints";
|
|
3
3
|
export var getRuntimeConfig = function (config) {
|
|
4
4
|
var _a, _b, _c, _d, _e;
|
|
5
5
|
return ({
|
|
@@ -11,4 +11,3 @@ export var getRuntimeConfig = function (config) {
|
|
|
11
11
|
urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : parseUrl,
|
|
12
12
|
});
|
|
13
13
|
};
|
|
14
|
-
//# sourceMappingURL=runtimeConfig.shared.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
2
|
import { InvokeEndpointAsyncCommandInput, InvokeEndpointAsyncCommandOutput } from "./commands/InvokeEndpointAsyncCommand";
|
|
3
3
|
import { InvokeEndpointCommandInput, InvokeEndpointCommandOutput } from "./commands/InvokeEndpointCommand";
|
|
4
|
-
import {
|
|
4
|
+
import { SageMakerRuntimeClient } from "./SageMakerRuntimeClient";
|
|
5
5
|
/**
|
|
6
6
|
* <p> The Amazon SageMaker runtime API. </p>
|
|
7
7
|
*/
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { InvokeEndpointAsyncCommandInput, InvokeEndpointAsyncCommandOutput } from "./commands/InvokeEndpointAsyncCommand";
|
|
2
|
-
import { InvokeEndpointCommandInput, InvokeEndpointCommandOutput } from "./commands/InvokeEndpointCommand";
|
|
3
1
|
import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
4
2
|
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
5
3
|
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
@@ -7,7 +5,9 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
7
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
8
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
9
7
|
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
8
|
+
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
|
+
import { InvokeEndpointAsyncCommandInput, InvokeEndpointAsyncCommandOutput } from "./commands/InvokeEndpointAsyncCommand";
|
|
10
|
+
import { InvokeEndpointCommandInput, InvokeEndpointCommandOutput } from "./commands/InvokeEndpointCommand";
|
|
11
11
|
export declare type ServiceInputTypes = InvokeEndpointAsyncCommandInput | InvokeEndpointCommandInput;
|
|
12
12
|
export declare type ServiceOutputTypes = InvokeEndpointAsyncCommandOutput | InvokeEndpointCommandOutput;
|
|
13
13
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SageMakerRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerRuntimeClient";
|
|
2
|
-
import { InvokeEndpointAsyncInput, InvokeEndpointAsyncOutput } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { InvokeEndpointAsyncInput, InvokeEndpointAsyncOutput } from "../models/models_0";
|
|
4
|
+
import { SageMakerRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerRuntimeClient";
|
|
5
5
|
export interface InvokeEndpointAsyncCommandInput extends InvokeEndpointAsyncInput {
|
|
6
6
|
}
|
|
7
7
|
export interface InvokeEndpointAsyncCommandOutput extends InvokeEndpointAsyncOutput, __MetadataBearer {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SageMakerRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerRuntimeClient";
|
|
2
|
-
import { InvokeEndpointInput, InvokeEndpointOutput } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { InvokeEndpointInput, InvokeEndpointOutput } from "../models/models_0";
|
|
4
|
+
import { SageMakerRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerRuntimeClient";
|
|
5
5
|
export interface InvokeEndpointCommandInput extends InvokeEndpointInput {
|
|
6
6
|
}
|
|
7
7
|
export interface InvokeEndpointCommandOutput extends InvokeEndpointOutput, __MetadataBearer {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|