@aws-sdk/client-sagemaker-runtime 3.873.0 → 3.876.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/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  AWS SDK for JavaScript SageMakerRuntime Client for Node.js, Browser and React Native.
8
8
 
9
- <p> The Amazon SageMaker runtime API. </p>
9
+ <p> The Amazon SageMaker AI runtime API. </p>
10
10
 
11
11
  ## Installing
12
12
 
package/dist-cjs/index.js CHANGED
@@ -388,7 +388,7 @@ var ModelStreamError = class _ModelStreamError extends SageMakerRuntimeServiceEx
388
388
  * <dt>ModelInvocationTimeExceeded</dt>
389
389
  * <dd>
390
390
  * <p>The model failed to finish sending the response within the timeout period
391
- * allowed by Amazon SageMaker.</p>
391
+ * allowed by Amazon SageMaker AI.</p>
392
392
  * </dd>
393
393
  * <dt>StreamBroken</dt>
394
394
  * <dd>
@@ -24,7 +24,7 @@ export interface SageMakerRuntime {
24
24
  invokeEndpointWithResponseStream(args: InvokeEndpointWithResponseStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InvokeEndpointWithResponseStreamCommandOutput) => void): void;
25
25
  }
26
26
  /**
27
- * <p> The Amazon SageMaker runtime API. </p>
27
+ * <p> The Amazon SageMaker AI runtime API. </p>
28
28
  * @public
29
29
  */
30
30
  export declare class SageMakerRuntime extends SageMakerRuntimeClient implements SageMakerRuntime {
@@ -177,7 +177,7 @@ export type SageMakerRuntimeClientResolvedConfigType = __SmithyResolvedConfigura
177
177
  export interface SageMakerRuntimeClientResolvedConfig extends SageMakerRuntimeClientResolvedConfigType {
178
178
  }
179
179
  /**
180
- * <p> The Amazon SageMaker runtime API. </p>
180
+ * <p> The Amazon SageMaker AI runtime API. </p>
181
181
  * @public
182
182
  */
183
183
  export declare class SageMakerRuntimeClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, SageMakerRuntimeClientResolvedConfig> {
@@ -27,14 +27,14 @@ declare const InvokeEndpointAsyncCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>After you deploy a model into production using Amazon SageMaker hosting services,
30
+ * <p>After you deploy a model into production using Amazon SageMaker AI hosting services,
31
31
  * your client applications use this API to get inferences from the model hosted at the
32
32
  * specified endpoint in an asynchronous manner.</p>
33
33
  * <p>Inference requests sent to this API are enqueued for asynchronous processing. The
34
34
  * processing of the inference request may or may not complete before you receive a
35
35
  * response from this API. The response from this API will not contain the result of the
36
36
  * inference request but contain information about where you can locate it.</p>
37
- * <p>Amazon SageMaker strips all POST headers except those supported by the API. Amazon SageMaker might add
37
+ * <p>Amazon SageMaker AI strips all POST headers except those supported by the API. Amazon SageMaker AI might add
38
38
  * additional headers. You should not rely on the behavior of headers outside those
39
39
  * enumerated in the request syntax. </p>
40
40
  * <p>Calls to <code>InvokeEndpointAsync</code> are authenticated by using Amazon Web Services Signature Version 4. For information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html">Authenticating
@@ -40,11 +40,11 @@ declare const InvokeEndpointCommand_base: {
40
40
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
41
41
  };
42
42
  /**
43
- * <p>After you deploy a model into production using Amazon SageMaker hosting services,
43
+ * <p>After you deploy a model into production using Amazon SageMaker AI hosting services,
44
44
  * your client applications use this API to get inferences from the model hosted at the
45
45
  * specified endpoint. </p>
46
- * <p>For an overview of Amazon SageMaker, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/how-it-works.html">How It Works</a>. </p>
47
- * <p>Amazon SageMaker strips all POST headers except those supported by the API. Amazon SageMaker might add
46
+ * <p>For an overview of Amazon SageMaker AI, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/how-it-works.html">How It Works</a>. </p>
47
+ * <p>Amazon SageMaker AI strips all POST headers except those supported by the API. Amazon SageMaker AI might add
48
48
  * additional headers. You should not rely on the behavior of headers outside those
49
49
  * enumerated in the request syntax. </p>
50
50
  * <p>Calls to <code>InvokeEndpoint</code> are authenticated by using Amazon Web Services
@@ -56,7 +56,7 @@ declare const InvokeEndpointCommand_base: {
56
56
  * socket timeout should be set to be 70 seconds.</p>
57
57
  * <note>
58
58
  * <p>Endpoints are scoped to an individual account, and are not public. The URL does
59
- * not contain the account ID, but Amazon SageMaker determines the account ID from
59
+ * not contain the account ID, but Amazon SageMaker AI determines the account ID from
60
60
  * the authentication token that is supplied by the caller.</p>
61
61
  * </note>
62
62
  * @example
@@ -36,10 +36,10 @@ declare const InvokeEndpointWithResponseStreamCommand_base: {
36
36
  * <p>Invokes a model at the specified endpoint to return the inference response as a
37
37
  * stream. The inference stream provides the response payload incrementally as a series of
38
38
  * parts. Before you can get an inference stream, you must have access to a model that's
39
- * deployed using Amazon SageMaker hosting services, and the container for that model
39
+ * deployed using Amazon SageMaker AI hosting services, and the container for that model
40
40
  * must support inference streaming.</p>
41
41
  * <p>For more information that can help you use this API, see the following sections in the
42
- * <i>Amazon SageMaker Developer Guide</i>:</p>
42
+ * <i>Amazon SageMaker AI Developer Guide</i>:</p>
43
43
  * <ul>
44
44
  * <li>
45
45
  * <p>For information about how to add streaming support to a model, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-inference-code.html#your-algorithms-inference-code-how-containe-serves-requests">How Containers Serve Requests</a>.</p>
@@ -49,9 +49,9 @@ declare const InvokeEndpointWithResponseStreamCommand_base: {
49
49
  * </li>
50
50
  * </ul>
51
51
  * <p>Before you can use this operation, your IAM permissions must allow the
52
- * <code>sagemaker:InvokeEndpoint</code> action. For more information about Amazon SageMaker actions for IAM policies, see <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonsagemaker.html">Actions, resources, and condition keys for Amazon SageMaker</a> in the <i>IAM Service Authorization
52
+ * <code>sagemaker:InvokeEndpoint</code> action. For more information about Amazon SageMaker AI actions for IAM policies, see <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonsagemaker.html">Actions, resources, and condition keys for Amazon SageMaker AI</a> in the <i>IAM Service Authorization
53
53
  * Reference</i>.</p>
54
- * <p>Amazon SageMaker strips all POST headers except those supported by the API. Amazon SageMaker might add
54
+ * <p>Amazon SageMaker AI strips all POST headers except those supported by the API. Amazon SageMaker AI might add
55
55
  * additional headers. You should not rely on the behavior of headers outside those
56
56
  * enumerated in the request syntax. </p>
57
57
  * <p>Calls to <code>InvokeEndpointWithResponseStream</code> are authenticated by using
@@ -119,7 +119,7 @@ declare const InvokeEndpointWithResponseStreamCommand_base: {
119
119
  * <dl>
120
120
  * <dt>ModelInvocationTimeExceeded</dt>
121
121
  * <dd>
122
- * <p>The model failed to finish sending the response within the timeout period allowed by Amazon SageMaker.</p>
122
+ * <p>The model failed to finish sending the response within the timeout period allowed by Amazon SageMaker AI.</p>
123
123
  * </dd>
124
124
  * <dt>StreamBroken</dt>
125
125
  * <dd>
@@ -1,5 +1,5 @@
1
1
  /**
2
- * <p> The Amazon SageMaker runtime API. </p>
2
+ * <p> The Amazon SageMaker AI runtime API. </p>
3
3
  *
4
4
  * @packageDocumentation
5
5
  */
@@ -39,7 +39,7 @@ export interface InvokeEndpointInput {
39
39
  EndpointName: string | undefined;
40
40
  /**
41
41
  * <p>Provides input data, in the format specified in the <code>ContentType</code>
42
- * request header. Amazon SageMaker passes all of the data in the body to the model. </p>
42
+ * request header. Amazon SageMaker AI passes all of the data in the body to the model. </p>
43
43
  * <p>For information about the format of the request body, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/cdf-inference.html">Common Data
44
44
  * Formats-Inference</a>.</p>
45
45
  * @public
@@ -57,7 +57,7 @@ export interface InvokeEndpointInput {
57
57
  Accept?: string | undefined;
58
58
  /**
59
59
  * <p>Provides additional information about a request for an inference submitted to a model
60
- * hosted at an Amazon SageMaker endpoint. The information is an opaque value that is forwarded
60
+ * hosted at an Amazon SageMaker AI endpoint. The information is an opaque value that is forwarded
61
61
  * verbatim. You could use this value, for example, to provide an ID that you can use to
62
62
  * track a request or to provide other metadata that a service endpoint was programmed to
63
63
  * process. The value must consist of no more than 1024 visible US-ASCII characters as
@@ -68,7 +68,7 @@ export interface InvokeEndpointInput {
68
68
  * returned. For example, if a custom attribute represents the trace ID, your model can
69
69
  * prepend the custom attribute with <code>Trace ID:</code> in your post-processing
70
70
  * function. </p>
71
- * <p>This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker
71
+ * <p>This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker AI
72
72
  * Python SDK. </p>
73
73
  * @public
74
74
  */
@@ -132,7 +132,7 @@ export interface InvokeEndpointInput {
132
132
  * create a session with a stateful model, the model must create the session ID and set the
133
133
  * expiration time. The model must also provide that information in the response to your
134
134
  * request. You can get the ID and timestamp from the <code>NewSessionId</code> response
135
- * parameter. For any subsequent request where you specify that session ID, SageMaker routes the request to the same instance that supports the session.</p>
135
+ * parameter. For any subsequent request where you specify that session ID, SageMaker AI routes the request to the same instance that supports the session.</p>
136
136
  * @public
137
137
  */
138
138
  SessionId?: string | undefined;
@@ -163,7 +163,7 @@ export interface InvokeEndpointOutput {
163
163
  InvokedProductionVariant?: string | undefined;
164
164
  /**
165
165
  * <p>Provides additional information in the response about the inference returned by a
166
- * model hosted at an Amazon SageMaker endpoint. The information is an opaque value that is
166
+ * model hosted at an Amazon SageMaker AI endpoint. The information is an opaque value that is
167
167
  * forwarded verbatim. You could use this value, for example, to return an ID received in
168
168
  * the <code>CustomAttributes</code> header of a request or other metadata that a service
169
169
  * endpoint was programmed to produce. The value must consist of no more than 1024 visible
@@ -176,7 +176,7 @@ export interface InvokeEndpointOutput {
176
176
  * returned. For example, if a custom attribute represents the trace ID, your model can
177
177
  * prepend the custom attribute with <code>Trace ID:</code> in your post-processing
178
178
  * function.</p>
179
- * <p>This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker
179
+ * <p>This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker AI
180
180
  * Python SDK.</p>
181
181
  * @public
182
182
  */
@@ -285,7 +285,7 @@ export interface InvokeEndpointAsyncInput {
285
285
  Accept?: string | undefined;
286
286
  /**
287
287
  * <p>Provides additional information about a request for an inference submitted to a model
288
- * hosted at an Amazon SageMaker endpoint. The information is an opaque value that is forwarded
288
+ * hosted at an Amazon SageMaker AI endpoint. The information is an opaque value that is forwarded
289
289
  * verbatim. You could use this value, for example, to provide an ID that you can use to
290
290
  * track a request or to provide other metadata that a service endpoint was programmed to
291
291
  * process. The value must consist of no more than 1024 visible US-ASCII characters as
@@ -296,13 +296,13 @@ export interface InvokeEndpointAsyncInput {
296
296
  * returned. For example, if a custom attribute represents the trace ID, your model can
297
297
  * prepend the custom attribute with <code>Trace ID:</code> in your post-processing
298
298
  * function. </p>
299
- * <p>This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker
299
+ * <p>This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker AI
300
300
  * Python SDK. </p>
301
301
  * @public
302
302
  */
303
303
  CustomAttributes?: string | undefined;
304
304
  /**
305
- * <p>The identifier for the inference request. Amazon SageMaker will generate an
305
+ * <p>The identifier for the inference request. Amazon SageMaker AI will generate an
306
306
  * identifier for you if none is specified. </p>
307
307
  * @public
308
308
  */
@@ -331,7 +331,7 @@ export interface InvokeEndpointAsyncInput {
331
331
  export interface InvokeEndpointAsyncOutput {
332
332
  /**
333
333
  * <p>Identifier for an inference request. This will be the same as the
334
- * <code>InferenceId</code> specified in the input. Amazon SageMaker will generate
334
+ * <code>InferenceId</code> specified in the input. Amazon SageMaker AI will generate
335
335
  * an identifier for you if you do not specify one.</p>
336
336
  * @public
337
337
  */
@@ -373,7 +373,7 @@ export interface InvokeEndpointWithResponseStreamInput {
373
373
  EndpointName: string | undefined;
374
374
  /**
375
375
  * <p>Provides input data, in the format specified in the <code>ContentType</code>
376
- * request header. Amazon SageMaker passes all of the data in the body to the model. </p>
376
+ * request header. Amazon SageMaker AI passes all of the data in the body to the model. </p>
377
377
  * <p>For information about the format of the request body, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/cdf-inference.html">Common Data
378
378
  * Formats-Inference</a>.</p>
379
379
  * @public
@@ -391,7 +391,7 @@ export interface InvokeEndpointWithResponseStreamInput {
391
391
  Accept?: string | undefined;
392
392
  /**
393
393
  * <p>Provides additional information about a request for an inference submitted to a model
394
- * hosted at an Amazon SageMaker endpoint. The information is an opaque value that is forwarded
394
+ * hosted at an Amazon SageMaker AI endpoint. The information is an opaque value that is forwarded
395
395
  * verbatim. You could use this value, for example, to provide an ID that you can use to
396
396
  * track a request or to provide other metadata that a service endpoint was programmed to
397
397
  * process. The value must consist of no more than 1024 visible US-ASCII characters as
@@ -402,7 +402,7 @@ export interface InvokeEndpointWithResponseStreamInput {
402
402
  * returned. For example, if a custom attribute represents the trace ID, your model can
403
403
  * prepend the custom attribute with <code>Trace ID:</code> in your post-processing
404
404
  * function. </p>
405
- * <p>This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker
405
+ * <p>This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker AI
406
406
  * Python SDK. </p>
407
407
  * @public
408
408
  */
@@ -455,7 +455,7 @@ export interface InvokeEndpointWithResponseStreamInput {
455
455
  * <dl>
456
456
  * <dt>ModelInvocationTimeExceeded</dt>
457
457
  * <dd>
458
- * <p>The model failed to finish sending the response within the timeout period allowed by Amazon SageMaker.</p>
458
+ * <p>The model failed to finish sending the response within the timeout period allowed by Amazon SageMaker AI.</p>
459
459
  * </dd>
460
460
  * <dt>StreamBroken</dt>
461
461
  * <dd>
@@ -475,7 +475,7 @@ export declare class ModelStreamError extends __BaseException {
475
475
  * <dt>ModelInvocationTimeExceeded</dt>
476
476
  * <dd>
477
477
  * <p>The model failed to finish sending the response within the timeout period
478
- * allowed by Amazon SageMaker.</p>
478
+ * allowed by Amazon SageMaker AI.</p>
479
479
  * </dd>
480
480
  * <dt>StreamBroken</dt>
481
481
  * <dd>
@@ -532,7 +532,7 @@ export declare namespace ResponseStream {
532
532
  * <dl>
533
533
  * <dt>ModelInvocationTimeExceeded</dt>
534
534
  * <dd>
535
- * <p>The model failed to finish sending the response within the timeout period allowed by Amazon SageMaker.</p>
535
+ * <p>The model failed to finish sending the response within the timeout period allowed by Amazon SageMaker AI.</p>
536
536
  * </dd>
537
537
  * <dt>StreamBroken</dt>
538
538
  * <dd>
@@ -597,7 +597,7 @@ export interface InvokeEndpointWithResponseStreamOutput {
597
597
  InvokedProductionVariant?: string | undefined;
598
598
  /**
599
599
  * <p>Provides additional information in the response about the inference returned by a
600
- * model hosted at an Amazon SageMaker endpoint. The information is an opaque value that is
600
+ * model hosted at an Amazon SageMaker AI endpoint. The information is an opaque value that is
601
601
  * forwarded verbatim. You could use this value, for example, to return an ID received in
602
602
  * the <code>CustomAttributes</code> header of a request or other metadata that a service
603
603
  * endpoint was programmed to produce. The value must consist of no more than 1024 visible
@@ -610,7 +610,7 @@ export interface InvokeEndpointWithResponseStreamOutput {
610
610
  * returned. For example, if a custom attribute represents the trace ID, your model can
611
611
  * prepend the custom attribute with <code>Trace ID:</code> in your post-processing
612
612
  * function.</p>
613
- * <p>This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker
613
+ * <p>This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker AI
614
614
  * Python SDK.</p>
615
615
  * @public
616
616
  */
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.873.0",
4
+ "version": "3.876.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.873.0",
24
- "@aws-sdk/credential-provider-node": "3.873.0",
23
+ "@aws-sdk/core": "3.876.0",
24
+ "@aws-sdk/credential-provider-node": "3.876.0",
25
25
  "@aws-sdk/middleware-host-header": "3.873.0",
26
- "@aws-sdk/middleware-logger": "3.873.0",
26
+ "@aws-sdk/middleware-logger": "3.876.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.873.0",
28
- "@aws-sdk/middleware-user-agent": "3.873.0",
28
+ "@aws-sdk/middleware-user-agent": "3.876.0",
29
29
  "@aws-sdk/region-config-resolver": "3.873.0",
30
30
  "@aws-sdk/types": "3.862.0",
31
31
  "@aws-sdk/util-endpoints": "3.873.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.873.0",
33
- "@aws-sdk/util-user-agent-node": "3.873.0",
33
+ "@aws-sdk/util-user-agent-node": "3.876.0",
34
34
  "@smithy/config-resolver": "^4.1.5",
35
35
  "@smithy/core": "^3.8.0",
36
36
  "@smithy/eventstream-serde-browser": "^4.0.5",