@aws-sdk/client-sagemaker-runtime 3.170.0 → 3.171.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 CHANGED
@@ -3,6 +3,14 @@
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.171.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.170.0...v3.171.0) (2022-09-14)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-sagemaker-runtime
9
+
10
+
11
+
12
+
13
+
6
14
  # [3.170.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.169.0...v3.170.0) (2022-09-13)
7
15
 
8
16
  **Note:** Version bump only for package @aws-sdk/client-sagemaker-runtime
@@ -8,7 +8,6 @@ import {
8
8
  InvokeEndpointCommandOutput,
9
9
  } from "./commands/InvokeEndpointCommand";
10
10
  import { SageMakerRuntimeClient } from "./SageMakerRuntimeClient";
11
-
12
11
  export declare class SageMakerRuntime extends SageMakerRuntimeClient {
13
12
  invokeEndpoint(
14
13
  args: InvokeEndpointCommandInput,
@@ -23,7 +22,6 @@ export declare class SageMakerRuntime extends SageMakerRuntimeClient {
23
22
  options: __HttpHandlerOptions,
24
23
  cb: (err: any, data?: InvokeEndpointCommandOutput) => void
25
24
  ): void;
26
-
27
25
  invokeEndpointAsync(
28
26
  args: InvokeEndpointAsyncCommandInput,
29
27
  options?: __HttpHandlerOptions
@@ -59,47 +59,26 @@ export declare type ServiceOutputTypes =
59
59
  export interface ClientDefaults
60
60
  extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
61
61
  requestHandler?: __HttpHandler;
62
-
63
62
  sha256?: __HashConstructor;
64
-
65
63
  urlParser?: __UrlParser;
66
-
67
64
  bodyLengthChecker?: __BodyLengthCalculator;
68
-
69
65
  streamCollector?: __StreamCollector;
70
-
71
66
  base64Decoder?: __Decoder;
72
-
73
67
  base64Encoder?: __Encoder;
74
-
75
68
  utf8Decoder?: __Decoder;
76
-
77
69
  utf8Encoder?: __Encoder;
78
-
79
70
  runtime?: string;
80
-
81
71
  disableHostPrefix?: boolean;
82
-
83
72
  maxAttempts?: number | __Provider<number>;
84
-
85
73
  retryMode?: string | __Provider<string>;
86
-
87
74
  logger?: __Logger;
88
-
89
75
  useDualstackEndpoint?: boolean | __Provider<boolean>;
90
-
91
76
  useFipsEndpoint?: boolean | __Provider<boolean>;
92
-
93
77
  serviceId?: string;
94
-
95
78
  region?: string | __Provider<string>;
96
-
97
79
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
98
-
99
80
  regionInfoProvider?: RegionInfoProvider;
100
-
101
81
  defaultUserAgentProvider?: Provider<__UserAgent>;
102
-
103
82
  defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
104
83
  }
105
84
  declare type SageMakerRuntimeClientConfigType = Partial<
@@ -112,7 +91,6 @@ declare type SageMakerRuntimeClientConfigType = Partial<
112
91
  HostHeaderInputConfig &
113
92
  AwsAuthInputConfig &
114
93
  UserAgentInputConfig;
115
-
116
94
  export interface SageMakerRuntimeClientConfig
117
95
  extends SageMakerRuntimeClientConfigType {}
118
96
  declare type SageMakerRuntimeClientResolvedConfigType =
@@ -124,10 +102,8 @@ declare type SageMakerRuntimeClientResolvedConfigType =
124
102
  HostHeaderResolvedConfig &
125
103
  AwsAuthResolvedConfig &
126
104
  UserAgentResolvedConfig;
127
-
128
105
  export interface SageMakerRuntimeClientResolvedConfig
129
106
  extends SageMakerRuntimeClientResolvedConfigType {}
130
-
131
107
  export declare class SageMakerRuntimeClient extends __Client<
132
108
  __HttpHandlerOptions,
133
109
  ServiceInputTypes,
@@ -136,7 +112,6 @@ export declare class SageMakerRuntimeClient extends __Client<
136
112
  > {
137
113
  readonly config: SageMakerRuntimeClientResolvedConfig;
138
114
  constructor(configuration: SageMakerRuntimeClientConfig);
139
-
140
115
  destroy(): void;
141
116
  }
142
117
  export {};
@@ -19,7 +19,6 @@ export interface InvokeEndpointAsyncCommandInput
19
19
  export interface InvokeEndpointAsyncCommandOutput
20
20
  extends InvokeEndpointAsyncOutput,
21
21
  __MetadataBearer {}
22
-
23
22
  export declare class InvokeEndpointAsyncCommand extends $Command<
24
23
  InvokeEndpointAsyncCommandInput,
25
24
  InvokeEndpointAsyncCommandOutput,
@@ -27,7 +26,6 @@ export declare class InvokeEndpointAsyncCommand extends $Command<
27
26
  > {
28
27
  readonly input: InvokeEndpointAsyncCommandInput;
29
28
  constructor(input: InvokeEndpointAsyncCommandInput);
30
-
31
29
  resolveMiddleware(
32
30
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
31
  configuration: SageMakerRuntimeClientResolvedConfig,
@@ -15,7 +15,6 @@ export interface InvokeEndpointCommandInput extends InvokeEndpointInput {}
15
15
  export interface InvokeEndpointCommandOutput
16
16
  extends InvokeEndpointOutput,
17
17
  __MetadataBearer {}
18
-
19
18
  export declare class InvokeEndpointCommand extends $Command<
20
19
  InvokeEndpointCommandInput,
21
20
  InvokeEndpointCommandOutput,
@@ -23,7 +22,6 @@ export declare class InvokeEndpointCommand extends $Command<
23
22
  > {
24
23
  readonly input: InvokeEndpointCommandInput;
25
24
  constructor(input: InvokeEndpointCommandInput);
26
-
27
25
  resolveMiddleware(
28
26
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
27
  configuration: SageMakerRuntimeClientResolvedConfig,
@@ -2,7 +2,6 @@ import {
2
2
  ServiceException as __ServiceException,
3
3
  ServiceExceptionOptions as __ServiceExceptionOptions,
4
4
  } from "@aws-sdk/smithy-client";
5
-
6
5
  export declare class SageMakerRuntimeServiceException extends __ServiceException {
7
6
  constructor(options: __ServiceExceptionOptions);
8
7
  }
@@ -1,124 +1,87 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { SageMakerRuntimeServiceException as __BaseException } from "./SageMakerRuntimeServiceException";
3
-
4
3
  export declare class InternalDependencyException extends __BaseException {
5
4
  readonly name: "InternalDependencyException";
6
5
  readonly $fault: "server";
7
6
  Message?: string;
8
-
9
7
  constructor(
10
8
  opts: __ExceptionOptionType<InternalDependencyException, __BaseException>
11
9
  );
12
10
  }
13
-
14
11
  export declare class InternalFailure extends __BaseException {
15
12
  readonly name: "InternalFailure";
16
13
  readonly $fault: "server";
17
14
  Message?: string;
18
-
19
15
  constructor(opts: __ExceptionOptionType<InternalFailure, __BaseException>);
20
16
  }
21
17
  export interface InvokeEndpointInput {
22
18
  EndpointName: string | undefined;
23
-
24
19
  Body: Uint8Array | undefined;
25
-
26
20
  ContentType?: string;
27
-
28
21
  Accept?: string;
29
-
30
22
  CustomAttributes?: string;
31
-
32
23
  TargetModel?: string;
33
-
34
24
  TargetVariant?: string;
35
-
36
25
  TargetContainerHostname?: string;
37
-
38
26
  InferenceId?: string;
39
27
  }
40
28
  export interface InvokeEndpointOutput {
41
29
  Body: Uint8Array | undefined;
42
-
43
30
  ContentType?: string;
44
-
45
31
  InvokedProductionVariant?: string;
46
-
47
32
  CustomAttributes?: string;
48
33
  }
49
-
50
34
  export declare class ModelError extends __BaseException {
51
35
  readonly name: "ModelError";
52
36
  readonly $fault: "client";
53
37
  Message?: string;
54
-
55
38
  OriginalStatusCode?: number;
56
-
57
39
  OriginalMessage?: string;
58
-
59
40
  LogStreamArn?: string;
60
-
61
41
  constructor(opts: __ExceptionOptionType<ModelError, __BaseException>);
62
42
  }
63
-
64
43
  export declare class ModelNotReadyException extends __BaseException {
65
44
  readonly name: "ModelNotReadyException";
66
45
  readonly $fault: "client";
67
46
  Message?: string;
68
-
69
47
  constructor(
70
48
  opts: __ExceptionOptionType<ModelNotReadyException, __BaseException>
71
49
  );
72
50
  }
73
-
74
51
  export declare class ServiceUnavailable extends __BaseException {
75
52
  readonly name: "ServiceUnavailable";
76
53
  readonly $fault: "server";
77
54
  Message?: string;
78
-
79
55
  constructor(opts: __ExceptionOptionType<ServiceUnavailable, __BaseException>);
80
56
  }
81
-
82
57
  export declare class ValidationError extends __BaseException {
83
58
  readonly name: "ValidationError";
84
59
  readonly $fault: "client";
85
60
  Message?: string;
86
-
87
61
  constructor(opts: __ExceptionOptionType<ValidationError, __BaseException>);
88
62
  }
89
63
  export interface InvokeEndpointAsyncInput {
90
64
  EndpointName: string | undefined;
91
-
92
65
  ContentType?: string;
93
-
94
66
  Accept?: string;
95
-
96
67
  CustomAttributes?: string;
97
-
98
68
  InferenceId?: string;
99
-
100
69
  InputLocation: string | undefined;
101
-
102
70
  RequestTTLSeconds?: number;
103
71
  }
104
72
  export interface InvokeEndpointAsyncOutput {
105
73
  InferenceId?: string;
106
-
107
74
  OutputLocation?: string;
108
75
  }
109
-
110
76
  export declare const InvokeEndpointInputFilterSensitiveLog: (
111
77
  obj: InvokeEndpointInput
112
78
  ) => any;
113
-
114
79
  export declare const InvokeEndpointOutputFilterSensitiveLog: (
115
80
  obj: InvokeEndpointOutput
116
81
  ) => any;
117
-
118
82
  export declare const InvokeEndpointAsyncInputFilterSensitiveLog: (
119
83
  obj: InvokeEndpointAsyncInput
120
84
  ) => any;
121
-
122
85
  export declare const InvokeEndpointAsyncOutputFilterSensitiveLog: (
123
86
  obj: InvokeEndpointAsyncOutput
124
87
  ) => any;
@@ -1,6 +1,5 @@
1
1
  import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { SageMakerRuntimeClientConfig } from "./SageMakerRuntimeClient";
3
-
4
3
  export declare const getRuntimeConfig: (
5
4
  config: SageMakerRuntimeClientConfig
6
5
  ) => {
@@ -1,6 +1,5 @@
1
1
  import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { SageMakerRuntimeClientConfig } from "./SageMakerRuntimeClient";
3
-
4
3
  export declare const getRuntimeConfig: (
5
4
  config: SageMakerRuntimeClientConfig
6
5
  ) => {
@@ -1,5 +1,4 @@
1
1
  import { SageMakerRuntimeClientConfig } from "./SageMakerRuntimeClient";
2
-
3
2
  export declare const getRuntimeConfig: (
4
3
  config: SageMakerRuntimeClientConfig
5
4
  ) => {
@@ -1,6 +1,5 @@
1
1
  import { Logger as __Logger } from "@aws-sdk/types";
2
2
  import { SageMakerRuntimeClientConfig } from "./SageMakerRuntimeClient";
3
-
4
3
  export declare const getRuntimeConfig: (
5
4
  config: SageMakerRuntimeClientConfig
6
5
  ) => {
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.170.0",
4
+ "version": "3.171.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",
@@ -19,35 +19,35 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.170.0",
23
- "@aws-sdk/config-resolver": "3.170.0",
24
- "@aws-sdk/credential-provider-node": "3.170.0",
25
- "@aws-sdk/fetch-http-handler": "3.170.0",
26
- "@aws-sdk/hash-node": "3.170.0",
27
- "@aws-sdk/invalid-dependency": "3.170.0",
28
- "@aws-sdk/middleware-content-length": "3.170.0",
29
- "@aws-sdk/middleware-host-header": "3.170.0",
30
- "@aws-sdk/middleware-logger": "3.170.0",
31
- "@aws-sdk/middleware-recursion-detection": "3.170.0",
32
- "@aws-sdk/middleware-retry": "3.170.0",
33
- "@aws-sdk/middleware-serde": "3.170.0",
34
- "@aws-sdk/middleware-signing": "3.170.0",
35
- "@aws-sdk/middleware-stack": "3.170.0",
36
- "@aws-sdk/middleware-user-agent": "3.170.0",
37
- "@aws-sdk/node-config-provider": "3.170.0",
38
- "@aws-sdk/node-http-handler": "3.170.0",
39
- "@aws-sdk/protocol-http": "3.170.0",
40
- "@aws-sdk/smithy-client": "3.170.0",
41
- "@aws-sdk/types": "3.170.0",
42
- "@aws-sdk/url-parser": "3.170.0",
22
+ "@aws-sdk/client-sts": "3.171.0",
23
+ "@aws-sdk/config-resolver": "3.171.0",
24
+ "@aws-sdk/credential-provider-node": "3.171.0",
25
+ "@aws-sdk/fetch-http-handler": "3.171.0",
26
+ "@aws-sdk/hash-node": "3.171.0",
27
+ "@aws-sdk/invalid-dependency": "3.171.0",
28
+ "@aws-sdk/middleware-content-length": "3.171.0",
29
+ "@aws-sdk/middleware-host-header": "3.171.0",
30
+ "@aws-sdk/middleware-logger": "3.171.0",
31
+ "@aws-sdk/middleware-recursion-detection": "3.171.0",
32
+ "@aws-sdk/middleware-retry": "3.171.0",
33
+ "@aws-sdk/middleware-serde": "3.171.0",
34
+ "@aws-sdk/middleware-signing": "3.171.0",
35
+ "@aws-sdk/middleware-stack": "3.171.0",
36
+ "@aws-sdk/middleware-user-agent": "3.171.0",
37
+ "@aws-sdk/node-config-provider": "3.171.0",
38
+ "@aws-sdk/node-http-handler": "3.171.0",
39
+ "@aws-sdk/protocol-http": "3.171.0",
40
+ "@aws-sdk/smithy-client": "3.171.0",
41
+ "@aws-sdk/types": "3.171.0",
42
+ "@aws-sdk/url-parser": "3.171.0",
43
43
  "@aws-sdk/util-base64-browser": "3.170.0",
44
44
  "@aws-sdk/util-base64-node": "3.170.0",
45
45
  "@aws-sdk/util-body-length-browser": "3.170.0",
46
46
  "@aws-sdk/util-body-length-node": "3.170.0",
47
- "@aws-sdk/util-defaults-mode-browser": "3.170.0",
48
- "@aws-sdk/util-defaults-mode-node": "3.170.0",
49
- "@aws-sdk/util-user-agent-browser": "3.170.0",
50
- "@aws-sdk/util-user-agent-node": "3.170.0",
47
+ "@aws-sdk/util-defaults-mode-browser": "3.171.0",
48
+ "@aws-sdk/util-defaults-mode-node": "3.171.0",
49
+ "@aws-sdk/util-user-agent-browser": "3.171.0",
50
+ "@aws-sdk/util-user-agent-node": "3.171.0",
51
51
  "@aws-sdk/util-utf8-browser": "3.170.0",
52
52
  "@aws-sdk/util-utf8-node": "3.170.0",
53
53
  "tslib": "^2.3.1"