@aws-sdk/client-sagemaker-runtime 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.
@@ -1,7 +1,7 @@
1
1
  import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
- import { InvokeEndpointAsyncCommandInput, InvokeEndpointAsyncCommandOutput } from "./commands/InvokeEndpointAsyncCommand";
3
- import { InvokeEndpointCommandInput, InvokeEndpointCommandOutput } from "./commands/InvokeEndpointCommand";
4
- import { InvokeEndpointWithResponseStreamCommandInput, InvokeEndpointWithResponseStreamCommandOutput } from "./commands/InvokeEndpointWithResponseStreamCommand";
2
+ import { type InvokeEndpointAsyncCommandInput, type InvokeEndpointAsyncCommandOutput } from "./commands/InvokeEndpointAsyncCommand";
3
+ import { type InvokeEndpointCommandInput, type InvokeEndpointCommandOutput } from "./commands/InvokeEndpointCommand";
4
+ import { type InvokeEndpointWithResponseStreamCommandInput, type InvokeEndpointWithResponseStreamCommandOutput } from "./commands/InvokeEndpointWithResponseStreamCommand";
5
5
  import { SageMakerRuntimeClient } from "./SageMakerRuntimeClient";
6
6
  export interface SageMakerRuntime {
7
7
  /**
@@ -6,12 +6,12 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
6
6
  import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
7
7
  import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
8
8
  import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
9
- import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type EventStreamSerdeProvider as __EventStreamSerdeProvider, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
9
+ import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, EventStreamSerdeProvider as __EventStreamSerdeProvider, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
10
10
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
11
- import { InvokeEndpointAsyncCommandInput, InvokeEndpointAsyncCommandOutput } from "./commands/InvokeEndpointAsyncCommand";
12
- import { InvokeEndpointCommandInput, InvokeEndpointCommandOutput } from "./commands/InvokeEndpointCommand";
13
- import { InvokeEndpointWithResponseStreamCommandInput, InvokeEndpointWithResponseStreamCommandOutput } from "./commands/InvokeEndpointWithResponseStreamCommand";
14
- import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
11
+ import type { InvokeEndpointAsyncCommandInput, InvokeEndpointAsyncCommandOutput } from "./commands/InvokeEndpointAsyncCommand";
12
+ import type { InvokeEndpointCommandInput, InvokeEndpointCommandOutput } from "./commands/InvokeEndpointCommand";
13
+ import type { InvokeEndpointWithResponseStreamCommandInput, InvokeEndpointWithResponseStreamCommandOutput } from "./commands/InvokeEndpointWithResponseStreamCommand";
14
+ import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
15
15
  import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
16
16
  export { __Client };
17
17
  /**
@@ -120,7 +120,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
120
120
  * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
121
121
  * @internal
122
122
  */
123
- defaultUserAgentProvider?: Provider<__UserAgent>;
123
+ defaultUserAgentProvider?: __Provider<__UserAgent>;
124
124
  /**
125
125
  * Default credentials provider; Not available in browser runtime.
126
126
  * @deprecated
@@ -1,4 +1,4 @@
1
- import { type HttpAuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
1
+ import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
2
2
  import type { SageMakerRuntimeHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
3
  /**
4
4
  * @internal
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { BlobPayloadInputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { Uint8ArrayBlobAdapter } from "@smithy/util-stream";
4
- import { InvokeEndpointInput, InvokeEndpointOutput } from "../models/models_0";
4
+ import type { InvokeEndpointInput, InvokeEndpointOutput } from "../models/models_0";
5
5
  import type { SageMakerRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerRuntimeClient";
6
6
  /**
7
7
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { BlobPayloadInputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { type InvokeEndpointWithResponseStreamOutput, InvokeEndpointWithResponseStreamInput } from "../models/models_0";
3
+ import type { InvokeEndpointWithResponseStreamInput, InvokeEndpointWithResponseStreamOutput } from "../models/models_0";
4
4
  import type { SageMakerRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerRuntimeClient";
5
5
  /**
6
6
  * @public
@@ -5,7 +5,7 @@
5
5
  */
6
6
  export * from "./SageMakerRuntimeClient";
7
7
  export * from "./SageMakerRuntime";
8
- export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
8
+ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
9
9
  export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { SageMakerRuntimeExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
@@ -1,4 +1,4 @@
1
- import { InternalStreamFailure, ModelStreamError } from "./errors";
1
+ import type { InternalStreamFailure, ModelStreamError } from "./errors";
2
2
  /**
3
3
  * @public
4
4
  */
@@ -30,6 +30,7 @@ import {
30
30
  Client as __Client,
31
31
  } from "@smithy/smithy-client";
32
32
  import {
33
+ AwsCredentialIdentityProvider,
33
34
  BodyLengthCalculator as __BodyLengthCalculator,
34
35
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
35
36
  ChecksumConstructor as __ChecksumConstructor,
@@ -42,8 +43,6 @@ import {
42
43
  Provider as __Provider,
43
44
  StreamCollector as __StreamCollector,
44
45
  UrlParser as __UrlParser,
45
- AwsCredentialIdentityProvider,
46
- Provider,
47
46
  UserAgent as __UserAgent,
48
47
  } from "@smithy/types";
49
48
  import {
@@ -95,7 +94,7 @@ export interface ClientDefaults
95
94
  useFipsEndpoint?: boolean | __Provider<boolean>;
96
95
  region?: string | __Provider<string>;
97
96
  profile?: string;
98
- defaultUserAgentProvider?: Provider<__UserAgent>;
97
+ defaultUserAgentProvider?: __Provider<__UserAgent>;
99
98
  credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
100
99
  maxAttempts?: number | __Provider<number>;
101
100
  retryMode?: string | __Provider<string>;
@@ -1,7 +1,7 @@
1
1
  import {
2
- HttpAuthScheme,
3
2
  AwsCredentialIdentity,
4
3
  AwsCredentialIdentityProvider,
4
+ HttpAuthScheme,
5
5
  } from "@smithy/types";
6
6
  import { SageMakerRuntimeHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
7
  export interface HttpAuthExtensionConfiguration {
@@ -4,8 +4,8 @@ import {
4
4
  MetadataBearer as __MetadataBearer,
5
5
  } from "@smithy/types";
6
6
  import {
7
- InvokeEndpointWithResponseStreamOutput,
8
7
  InvokeEndpointWithResponseStreamInput,
8
+ InvokeEndpointWithResponseStreamOutput,
9
9
  } from "../models/models_0";
10
10
  import {
11
11
  SageMakerRuntimeClientResolvedConfig,
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.1019.0",
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-sagemaker-runtime",
@@ -21,19 +21,19 @@
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",
25
- "@aws-sdk/credential-provider-node": "^3.972.27",
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
- "@aws-sdk/middleware-user-agent": "^3.972.26",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.27",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.10",
31
31
  "@aws-sdk/types": "^3.973.6",
32
32
  "@aws-sdk/util-endpoints": "^3.996.5",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.8",
34
- "@aws-sdk/util-user-agent-node": "^3.973.12",
34
+ "@aws-sdk/util-user-agent-node": "^3.973.13",
35
35
  "@smithy/config-resolver": "^4.4.13",
36
- "@smithy/core": "^3.23.12",
36
+ "@smithy/core": "^3.23.13",
37
37
  "@smithy/eventstream-serde-browser": "^4.2.12",
38
38
  "@smithy/eventstream-serde-config-resolver": "^4.3.12",
39
39
  "@smithy/eventstream-serde-node": "^4.2.12",
@@ -41,25 +41,25 @@
41
41
  "@smithy/hash-node": "^4.2.12",
42
42
  "@smithy/invalid-dependency": "^4.2.12",
43
43
  "@smithy/middleware-content-length": "^4.2.12",
44
- "@smithy/middleware-endpoint": "^4.4.27",
45
- "@smithy/middleware-retry": "^4.4.44",
46
- "@smithy/middleware-serde": "^4.2.15",
44
+ "@smithy/middleware-endpoint": "^4.4.28",
45
+ "@smithy/middleware-retry": "^4.4.45",
46
+ "@smithy/middleware-serde": "^4.2.16",
47
47
  "@smithy/middleware-stack": "^4.2.12",
48
48
  "@smithy/node-config-provider": "^4.3.12",
49
- "@smithy/node-http-handler": "^4.5.0",
49
+ "@smithy/node-http-handler": "^4.5.1",
50
50
  "@smithy/protocol-http": "^5.3.12",
51
- "@smithy/smithy-client": "^4.12.7",
51
+ "@smithy/smithy-client": "^4.12.8",
52
52
  "@smithy/types": "^4.13.1",
53
53
  "@smithy/url-parser": "^4.2.12",
54
54
  "@smithy/util-base64": "^4.3.2",
55
55
  "@smithy/util-body-length-browser": "^4.2.2",
56
56
  "@smithy/util-body-length-node": "^4.2.3",
57
- "@smithy/util-defaults-mode-browser": "^4.3.43",
58
- "@smithy/util-defaults-mode-node": "^4.2.47",
57
+ "@smithy/util-defaults-mode-browser": "^4.3.44",
58
+ "@smithy/util-defaults-mode-node": "^4.2.48",
59
59
  "@smithy/util-endpoints": "^3.3.3",
60
60
  "@smithy/util-middleware": "^4.2.12",
61
61
  "@smithy/util-retry": "^4.2.12",
62
- "@smithy/util-stream": "^4.5.20",
62
+ "@smithy/util-stream": "^4.5.21",
63
63
  "@smithy/util-utf8": "^4.2.2",
64
64
  "tslib": "^2.6.2"
65
65
  },