Skip to content

Commit c9c6ddc

Browse files
author
awstools
committed
feat(client-sagemaker-runtime): Remove incorrect endpoint tests
1 parent 77dcdd6 commit c9c6ddc

9 files changed

Lines changed: 50 additions & 94 deletions

File tree

clients/client-sagemaker-runtime/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
AWS SDK for JavaScript SageMakerRuntime Client for Node.js, Browser and React Native.
88

9-
<p> The Amazon SageMaker runtime API. </p>
9+
<p> The Amazon SageMaker AI runtime API. </p>
1010

1111
## Installing
1212

clients/client-sagemaker-runtime/src/SageMakerRuntime.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export interface SageMakerRuntime {
7676
}
7777

7878
/**
79-
* <p> The Amazon SageMaker runtime API. </p>
79+
* <p> The Amazon SageMaker AI runtime API. </p>
8080
* @public
8181
*/
8282
export class SageMakerRuntime extends SageMakerRuntimeClient implements SageMakerRuntime {}

clients/client-sagemaker-runtime/src/SageMakerRuntimeClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ export type SageMakerRuntimeClientResolvedConfigType = __SmithyResolvedConfigura
293293
export interface SageMakerRuntimeClientResolvedConfig extends SageMakerRuntimeClientResolvedConfigType {}
294294

295295
/**
296-
* <p> The Amazon SageMaker runtime API. </p>
296+
* <p> The Amazon SageMaker AI runtime API. </p>
297297
* @public
298298
*/
299299
export class SageMakerRuntimeClient extends __Client<

clients/client-sagemaker-runtime/src/commands/InvokeEndpointAsyncCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ export interface InvokeEndpointAsyncCommandInput extends InvokeEndpointAsyncInpu
3232
export interface InvokeEndpointAsyncCommandOutput extends InvokeEndpointAsyncOutput, __MetadataBearer {}
3333

3434
/**
35-
* <p>After you deploy a model into production using Amazon SageMaker hosting services,
35+
* <p>After you deploy a model into production using Amazon SageMaker AI hosting services,
3636
* your client applications use this API to get inferences from the model hosted at the
3737
* specified endpoint in an asynchronous manner.</p>
3838
* <p>Inference requests sent to this API are enqueued for asynchronous processing. The
3939
* processing of the inference request may or may not complete before you receive a
4040
* response from this API. The response from this API will not contain the result of the
4141
* inference request but contain information about where you can locate it.</p>
42-
* <p>Amazon SageMaker strips all POST headers except those supported by the API. Amazon SageMaker might add
42+
* <p>Amazon SageMaker AI strips all POST headers except those supported by the API. Amazon SageMaker AI might add
4343
* additional headers. You should not rely on the behavior of headers outside those
4444
* enumerated in the request syntax. </p>
4545
* <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

clients/client-sagemaker-runtime/src/commands/InvokeEndpointCommand.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ export type InvokeEndpointCommandOutputType = Omit<InvokeEndpointOutput, "Body">
4848
export interface InvokeEndpointCommandOutput extends InvokeEndpointCommandOutputType, __MetadataBearer {}
4949

5050
/**
51-
* <p>After you deploy a model into production using Amazon SageMaker hosting services,
51+
* <p>After you deploy a model into production using Amazon SageMaker AI hosting services,
5252
* your client applications use this API to get inferences from the model hosted at the
5353
* specified endpoint. </p>
54-
* <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>
55-
* <p>Amazon SageMaker strips all POST headers except those supported by the API. Amazon SageMaker might add
54+
* <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>
55+
* <p>Amazon SageMaker AI strips all POST headers except those supported by the API. Amazon SageMaker AI might add
5656
* additional headers. You should not rely on the behavior of headers outside those
5757
* enumerated in the request syntax. </p>
5858
* <p>Calls to <code>InvokeEndpoint</code> are authenticated by using Amazon Web Services
@@ -64,7 +64,7 @@ export interface InvokeEndpointCommandOutput extends InvokeEndpointCommandOutput
6464
* socket timeout should be set to be 70 seconds.</p>
6565
* <note>
6666
* <p>Endpoints are scoped to an individual account, and are not public. The URL does
67-
* not contain the account ID, but Amazon SageMaker determines the account ID from
67+
* not contain the account ID, but Amazon SageMaker AI determines the account ID from
6868
* the authentication token that is supplied by the caller.</p>
6969
* </note>
7070
* @example

clients/client-sagemaker-runtime/src/commands/InvokeEndpointWithResponseStreamCommand.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ export interface InvokeEndpointWithResponseStreamCommandOutput
4949
* <p>Invokes a model at the specified endpoint to return the inference response as a
5050
* stream. The inference stream provides the response payload incrementally as a series of
5151
* parts. Before you can get an inference stream, you must have access to a model that's
52-
* deployed using Amazon SageMaker hosting services, and the container for that model
52+
* deployed using Amazon SageMaker AI hosting services, and the container for that model
5353
* must support inference streaming.</p>
5454
* <p>For more information that can help you use this API, see the following sections in the
55-
* <i>Amazon SageMaker Developer Guide</i>:</p>
55+
* <i>Amazon SageMaker AI Developer Guide</i>:</p>
5656
* <ul>
5757
* <li>
5858
* <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>
@@ -62,9 +62,9 @@ export interface InvokeEndpointWithResponseStreamCommandOutput
6262
* </li>
6363
* </ul>
6464
* <p>Before you can use this operation, your IAM permissions must allow the
65-
* <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
65+
* <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
6666
* Reference</i>.</p>
67-
* <p>Amazon SageMaker strips all POST headers except those supported by the API. Amazon SageMaker might add
67+
* <p>Amazon SageMaker AI strips all POST headers except those supported by the API. Amazon SageMaker AI might add
6868
* additional headers. You should not rely on the behavior of headers outside those
6969
* enumerated in the request syntax. </p>
7070
* <p>Calls to <code>InvokeEndpointWithResponseStream</code> are authenticated by using
@@ -132,7 +132,7 @@ export interface InvokeEndpointWithResponseStreamCommandOutput
132132
* <dl>
133133
* <dt>ModelInvocationTimeExceeded</dt>
134134
* <dd>
135-
* <p>The model failed to finish sending the response within the timeout period allowed by Amazon SageMaker.</p>
135+
* <p>The model failed to finish sending the response within the timeout period allowed by Amazon SageMaker AI.</p>
136136
* </dd>
137137
* <dt>StreamBroken</dt>
138138
* <dd>

clients/client-sagemaker-runtime/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// smithy-typescript generated code
22
/* eslint-disable */
33
/**
4-
* <p> The Amazon SageMaker runtime API. </p>
4+
* <p> The Amazon SageMaker AI runtime API. </p>
55
*
66
* @packageDocumentation
77
*/

clients/client-sagemaker-runtime/src/models/models_0.ts

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export interface InvokeEndpointInput {
6161

6262
/**
6363
* <p>Provides input data, in the format specified in the <code>ContentType</code>
64-
* request header. Amazon SageMaker passes all of the data in the body to the model. </p>
64+
* request header. Amazon SageMaker AI passes all of the data in the body to the model. </p>
6565
* <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
6666
* Formats-Inference</a>.</p>
6767
* @public
@@ -82,7 +82,7 @@ export interface InvokeEndpointInput {
8282

8383
/**
8484
* <p>Provides additional information about a request for an inference submitted to a model
85-
* hosted at an Amazon SageMaker endpoint. The information is an opaque value that is forwarded
85+
* hosted at an Amazon SageMaker AI endpoint. The information is an opaque value that is forwarded
8686
* verbatim. You could use this value, for example, to provide an ID that you can use to
8787
* track a request or to provide other metadata that a service endpoint was programmed to
8888
* process. The value must consist of no more than 1024 visible US-ASCII characters as
@@ -93,7 +93,7 @@ export interface InvokeEndpointInput {
9393
* returned. For example, if a custom attribute represents the trace ID, your model can
9494
* prepend the custom attribute with <code>Trace ID:</code> in your post-processing
9595
* function. </p>
96-
* <p>This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker
96+
* <p>This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker AI
9797
* Python SDK. </p>
9898
* @public
9999
*/
@@ -164,7 +164,7 @@ export interface InvokeEndpointInput {
164164
* create a session with a stateful model, the model must create the session ID and set the
165165
* expiration time. The model must also provide that information in the response to your
166166
* request. You can get the ID and timestamp from the <code>NewSessionId</code> response
167-
* parameter. For any subsequent request where you specify that session ID, SageMaker routes the request to the same instance that supports the session.</p>
167+
* 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>
168168
* @public
169169
*/
170170
SessionId?: string | undefined;
@@ -199,7 +199,7 @@ export interface InvokeEndpointOutput {
199199

200200
/**
201201
* <p>Provides additional information in the response about the inference returned by a
202-
* model hosted at an Amazon SageMaker endpoint. The information is an opaque value that is
202+
* model hosted at an Amazon SageMaker AI endpoint. The information is an opaque value that is
203203
* forwarded verbatim. You could use this value, for example, to return an ID received in
204204
* the <code>CustomAttributes</code> header of a request or other metadata that a service
205205
* endpoint was programmed to produce. The value must consist of no more than 1024 visible
@@ -212,7 +212,7 @@ export interface InvokeEndpointOutput {
212212
* returned. For example, if a custom attribute represents the trace ID, your model can
213213
* prepend the custom attribute with <code>Trace ID:</code> in your post-processing
214214
* function.</p>
215-
* <p>This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker
215+
* <p>This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker AI
216216
* Python SDK.</p>
217217
* @public
218218
*/
@@ -368,7 +368,7 @@ export interface InvokeEndpointAsyncInput {
368368

369369
/**
370370
* <p>Provides additional information about a request for an inference submitted to a model
371-
* hosted at an Amazon SageMaker endpoint. The information is an opaque value that is forwarded
371+
* hosted at an Amazon SageMaker AI endpoint. The information is an opaque value that is forwarded
372372
* verbatim. You could use this value, for example, to provide an ID that you can use to
373373
* track a request or to provide other metadata that a service endpoint was programmed to
374374
* process. The value must consist of no more than 1024 visible US-ASCII characters as
@@ -379,14 +379,14 @@ export interface InvokeEndpointAsyncInput {
379379
* returned. For example, if a custom attribute represents the trace ID, your model can
380380
* prepend the custom attribute with <code>Trace ID:</code> in your post-processing
381381
* function. </p>
382-
* <p>This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker
382+
* <p>This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker AI
383383
* Python SDK. </p>
384384
* @public
385385
*/
386386
CustomAttributes?: string | undefined;
387387

388388
/**
389-
* <p>The identifier for the inference request. Amazon SageMaker will generate an
389+
* <p>The identifier for the inference request. Amazon SageMaker AI will generate an
390390
* identifier for you if none is specified. </p>
391391
* @public
392392
*/
@@ -419,7 +419,7 @@ export interface InvokeEndpointAsyncInput {
419419
export interface InvokeEndpointAsyncOutput {
420420
/**
421421
* <p>Identifier for an inference request. This will be the same as the
422-
* <code>InferenceId</code> specified in the input. Amazon SageMaker will generate
422+
* <code>InferenceId</code> specified in the input. Amazon SageMaker AI will generate
423423
* an identifier for you if you do not specify one.</p>
424424
* @public
425425
*/
@@ -474,7 +474,7 @@ export interface InvokeEndpointWithResponseStreamInput {
474474

475475
/**
476476
* <p>Provides input data, in the format specified in the <code>ContentType</code>
477-
* request header. Amazon SageMaker passes all of the data in the body to the model. </p>
477+
* request header. Amazon SageMaker AI passes all of the data in the body to the model. </p>
478478
* <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
479479
* Formats-Inference</a>.</p>
480480
* @public
@@ -495,7 +495,7 @@ export interface InvokeEndpointWithResponseStreamInput {
495495

496496
/**
497497
* <p>Provides additional information about a request for an inference submitted to a model
498-
* hosted at an Amazon SageMaker endpoint. The information is an opaque value that is forwarded
498+
* hosted at an Amazon SageMaker AI endpoint. The information is an opaque value that is forwarded
499499
* verbatim. You could use this value, for example, to provide an ID that you can use to
500500
* track a request or to provide other metadata that a service endpoint was programmed to
501501
* process. The value must consist of no more than 1024 visible US-ASCII characters as
@@ -506,7 +506,7 @@ export interface InvokeEndpointWithResponseStreamInput {
506506
* returned. For example, if a custom attribute represents the trace ID, your model can
507507
* prepend the custom attribute with <code>Trace ID:</code> in your post-processing
508508
* function. </p>
509-
* <p>This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker
509+
* <p>This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker AI
510510
* Python SDK. </p>
511511
* @public
512512
*/
@@ -565,7 +565,7 @@ export interface InvokeEndpointWithResponseStreamInput {
565565
* <dl>
566566
* <dt>ModelInvocationTimeExceeded</dt>
567567
* <dd>
568-
* <p>The model failed to finish sending the response within the timeout period allowed by Amazon SageMaker.</p>
568+
* <p>The model failed to finish sending the response within the timeout period allowed by Amazon SageMaker AI.</p>
569569
* </dd>
570570
* <dt>StreamBroken</dt>
571571
* <dd>
@@ -585,7 +585,7 @@ export class ModelStreamError extends __BaseException {
585585
* <dt>ModelInvocationTimeExceeded</dt>
586586
* <dd>
587587
* <p>The model failed to finish sending the response within the timeout period
588-
* allowed by Amazon SageMaker.</p>
588+
* allowed by Amazon SageMaker AI.</p>
589589
* </dd>
590590
* <dt>StreamBroken</dt>
591591
* <dd>
@@ -659,7 +659,7 @@ export namespace ResponseStream {
659659
* <dl>
660660
* <dt>ModelInvocationTimeExceeded</dt>
661661
* <dd>
662-
* <p>The model failed to finish sending the response within the timeout period allowed by Amazon SageMaker.</p>
662+
* <p>The model failed to finish sending the response within the timeout period allowed by Amazon SageMaker AI.</p>
663663
* </dd>
664664
* <dt>StreamBroken</dt>
665665
* <dd>
@@ -737,7 +737,7 @@ export interface InvokeEndpointWithResponseStreamOutput {
737737

738738
/**
739739
* <p>Provides additional information in the response about the inference returned by a
740-
* model hosted at an Amazon SageMaker endpoint. The information is an opaque value that is
740+
* model hosted at an Amazon SageMaker AI endpoint. The information is an opaque value that is
741741
* forwarded verbatim. You could use this value, for example, to return an ID received in
742742
* the <code>CustomAttributes</code> header of a request or other metadata that a service
743743
* endpoint was programmed to produce. The value must consist of no more than 1024 visible
@@ -750,7 +750,7 @@ export interface InvokeEndpointWithResponseStreamOutput {
750750
* returned. For example, if a custom attribute represents the trace ID, your model can
751751
* prepend the custom attribute with <code>Trace ID:</code> in your post-processing
752752
* function.</p>
753-
* <p>This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker
753+
* <p>This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker AI
754754
* Python SDK.</p>
755755
* @public
756756
*/

0 commit comments

Comments
 (0)