@aws-sdk/client-sagemaker-runtime 3.1086.0 → 3.1088.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/dist-cjs/index.js CHANGED
@@ -70,7 +70,7 @@ const commonParams = {
70
70
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
71
71
  };
72
72
 
73
- var version = "3.1085.0";
73
+ var version = "3.1087.0";
74
74
  var packageInfo = {
75
75
  version: version};
76
76
 
@@ -15,44 +15,42 @@ import { SageMakerRuntimeClient } from "./SageMakerRuntimeClient";
15
15
  export interface SageMakerRuntime {
16
16
  invokeEndpoint(
17
17
  args: InvokeEndpointCommandInput,
18
- options?: __HttpHandlerOptions
18
+ options?: __HttpHandlerOptions,
19
19
  ): Promise<InvokeEndpointCommandOutput>;
20
20
  invokeEndpoint(
21
21
  args: InvokeEndpointCommandInput,
22
- cb: (err: any, data?: InvokeEndpointCommandOutput) => void
22
+ cb: (err: any, data?: InvokeEndpointCommandOutput) => void,
23
23
  ): void;
24
24
  invokeEndpoint(
25
25
  args: InvokeEndpointCommandInput,
26
26
  options: __HttpHandlerOptions,
27
- cb: (err: any, data?: InvokeEndpointCommandOutput) => void
27
+ cb: (err: any, data?: InvokeEndpointCommandOutput) => void,
28
28
  ): void;
29
29
  invokeEndpointAsync(
30
30
  args: InvokeEndpointAsyncCommandInput,
31
- options?: __HttpHandlerOptions
31
+ options?: __HttpHandlerOptions,
32
32
  ): Promise<InvokeEndpointAsyncCommandOutput>;
33
33
  invokeEndpointAsync(
34
34
  args: InvokeEndpointAsyncCommandInput,
35
- cb: (err: any, data?: InvokeEndpointAsyncCommandOutput) => void
35
+ cb: (err: any, data?: InvokeEndpointAsyncCommandOutput) => void,
36
36
  ): void;
37
37
  invokeEndpointAsync(
38
38
  args: InvokeEndpointAsyncCommandInput,
39
39
  options: __HttpHandlerOptions,
40
- cb: (err: any, data?: InvokeEndpointAsyncCommandOutput) => void
40
+ cb: (err: any, data?: InvokeEndpointAsyncCommandOutput) => void,
41
41
  ): void;
42
42
  invokeEndpointWithResponseStream(
43
43
  args: InvokeEndpointWithResponseStreamCommandInput,
44
- options?: __HttpHandlerOptions
44
+ options?: __HttpHandlerOptions,
45
45
  ): Promise<InvokeEndpointWithResponseStreamCommandOutput>;
46
46
  invokeEndpointWithResponseStream(
47
47
  args: InvokeEndpointWithResponseStreamCommandInput,
48
- cb: (err: any, data?: InvokeEndpointWithResponseStreamCommandOutput) => void
48
+ cb: (err: any, data?: InvokeEndpointWithResponseStreamCommandOutput) => void,
49
49
  ): void;
50
50
  invokeEndpointWithResponseStream(
51
51
  args: InvokeEndpointWithResponseStreamCommandInput,
52
52
  options: __HttpHandlerOptions,
53
- cb: (err: any, data?: InvokeEndpointWithResponseStreamCommandOutput) => void
53
+ cb: (err: any, data?: InvokeEndpointWithResponseStreamCommandOutput) => void,
54
54
  ): void;
55
55
  }
56
- export declare class SageMakerRuntime
57
- extends SageMakerRuntimeClient
58
- implements SageMakerRuntime {}
56
+ export declare class SageMakerRuntime extends SageMakerRuntimeClient implements SageMakerRuntime {}
@@ -11,10 +11,7 @@ import {
11
11
  Client as __Client,
12
12
  } from "@smithy/core/client";
13
13
  import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
14
- import {
15
- EndpointInputConfig,
16
- EndpointResolvedConfig,
17
- } from "@smithy/core/endpoints";
14
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
18
15
  import {
19
16
  EventStreamSerdeInputConfig,
20
17
  EventStreamSerdeResolvedConfig,
@@ -68,8 +65,7 @@ export type ServiceOutputTypes =
68
65
  | InvokeEndpointAsyncCommandOutput
69
66
  | InvokeEndpointCommandOutput
70
67
  | InvokeEndpointWithResponseStreamCommandOutput;
71
- export interface ClientDefaults
72
- extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
68
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
73
69
  requestHandler?: __HttpHandlerUserInput;
74
70
  sha256?: __ChecksumConstructor | __HashConstructor;
75
71
  urlParser?: __UrlParser;
@@ -107,8 +103,7 @@ export type SageMakerRuntimeClientConfigType = Partial<
107
103
  EventStreamSerdeInputConfig &
108
104
  HttpAuthSchemeInputConfig &
109
105
  ClientInputEndpointParameters;
110
- export interface SageMakerRuntimeClientConfig
111
- extends SageMakerRuntimeClientConfigType {}
106
+ export interface SageMakerRuntimeClientConfig extends SageMakerRuntimeClientConfigType {}
112
107
  export type SageMakerRuntimeClientResolvedConfigType =
113
108
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
114
109
  Required<ClientDefaults> &
@@ -121,8 +116,7 @@ export type SageMakerRuntimeClientResolvedConfigType =
121
116
  EventStreamSerdeResolvedConfig &
122
117
  HttpAuthSchemeResolvedConfig &
123
118
  ClientResolvedEndpointParameters;
124
- export interface SageMakerRuntimeClientResolvedConfig
125
- extends SageMakerRuntimeClientResolvedConfigType {}
119
+ export interface SageMakerRuntimeClientResolvedConfig extends SageMakerRuntimeClientResolvedConfigType {}
126
120
  export declare class SageMakerRuntimeClient extends __Client<
127
121
  __HttpHandlerOptions,
128
122
  ServiceInputTypes,
@@ -130,10 +124,6 @@ export declare class SageMakerRuntimeClient extends __Client<
130
124
  SageMakerRuntimeClientResolvedConfig
131
125
  > {
132
126
  readonly config: SageMakerRuntimeClientResolvedConfig;
133
- constructor(
134
- ...[
135
- configuration,
136
- ]: __CheckOptionalClientConfig<SageMakerRuntimeClientConfig>
137
- );
127
+ constructor(...[configuration]: __CheckOptionalClientConfig<SageMakerRuntimeClientConfig>);
138
128
  destroy(): void;
139
129
  }
@@ -7,17 +7,10 @@ import { SageMakerRuntimeHttpAuthSchemeProvider } from "./httpAuthSchemeProvider
7
7
  export interface HttpAuthExtensionConfiguration {
8
8
  setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
9
  httpAuthSchemes(): HttpAuthScheme[];
10
- setHttpAuthSchemeProvider(
11
- httpAuthSchemeProvider: SageMakerRuntimeHttpAuthSchemeProvider
12
- ): void;
10
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: SageMakerRuntimeHttpAuthSchemeProvider): void;
13
11
  httpAuthSchemeProvider(): SageMakerRuntimeHttpAuthSchemeProvider;
14
- setCredentials(
15
- credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
16
- ): void;
17
- credentials():
18
- | AwsCredentialIdentity
19
- | AwsCredentialIdentityProvider
20
- | undefined;
12
+ setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
13
+ credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
21
14
  }
22
15
  export type HttpAuthRuntimeConfig = Partial<{
23
16
  httpAuthSchemes: HttpAuthScheme[];
@@ -25,8 +18,8 @@ export type HttpAuthRuntimeConfig = Partial<{
25
18
  credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
26
19
  }>;
27
20
  export declare const getHttpAuthExtensionConfiguration: (
28
- runtimeConfig: HttpAuthRuntimeConfig
21
+ runtimeConfig: HttpAuthRuntimeConfig,
29
22
  ) => HttpAuthExtensionConfiguration;
30
23
  export declare const resolveHttpAuthRuntimeConfig: (
31
- config: HttpAuthExtensionConfiguration
24
+ config: HttpAuthExtensionConfiguration,
32
25
  ) => HttpAuthRuntimeConfig;
@@ -12,36 +12,32 @@ import {
12
12
  Provider,
13
13
  } from "@smithy/types";
14
14
  import { SageMakerRuntimeClientResolvedConfig } from "../SageMakerRuntimeClient";
15
- export interface SageMakerRuntimeHttpAuthSchemeParameters
16
- extends HttpAuthSchemeParameters {
15
+ export interface SageMakerRuntimeHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
17
16
  region?: string;
18
17
  }
19
- export interface SageMakerRuntimeHttpAuthSchemeParametersProvider
20
- extends HttpAuthSchemeParametersProvider<
21
- SageMakerRuntimeClientResolvedConfig,
22
- HandlerExecutionContext,
23
- SageMakerRuntimeHttpAuthSchemeParameters,
24
- object
25
- > {}
18
+ export interface SageMakerRuntimeHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
19
+ SageMakerRuntimeClientResolvedConfig,
20
+ HandlerExecutionContext,
21
+ SageMakerRuntimeHttpAuthSchemeParameters,
22
+ object
23
+ > {}
26
24
  export declare const defaultSageMakerRuntimeHttpAuthSchemeParametersProvider: (
27
25
  config: SageMakerRuntimeClientResolvedConfig,
28
26
  context: HandlerExecutionContext,
29
- input: object
27
+ input: object,
30
28
  ) => Promise<SageMakerRuntimeHttpAuthSchemeParameters>;
31
- export interface SageMakerRuntimeHttpAuthSchemeProvider
32
- extends HttpAuthSchemeProvider<SageMakerRuntimeHttpAuthSchemeParameters> {}
29
+ export interface SageMakerRuntimeHttpAuthSchemeProvider extends HttpAuthSchemeProvider<SageMakerRuntimeHttpAuthSchemeParameters> {}
33
30
  export declare const defaultSageMakerRuntimeHttpAuthSchemeProvider: SageMakerRuntimeHttpAuthSchemeProvider;
34
31
  export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
35
32
  authSchemePreference?: string[] | Provider<string[]>;
36
33
  httpAuthSchemes?: HttpAuthScheme[];
37
34
  httpAuthSchemeProvider?: SageMakerRuntimeHttpAuthSchemeProvider;
38
35
  }
39
- export interface HttpAuthSchemeResolvedConfig
40
- extends AwsSdkSigV4AuthResolvedConfig {
36
+ export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
41
37
  readonly authSchemePreference: Provider<string[]>;
42
38
  readonly httpAuthSchemes: HttpAuthScheme[];
43
39
  readonly httpAuthSchemeProvider: SageMakerRuntimeHttpAuthSchemeProvider;
44
40
  }
45
41
  export declare const resolveHttpAuthSchemeConfig: <T>(
46
- config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
42
+ config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
47
43
  ) => T & HttpAuthSchemeResolvedConfig;
@@ -4,22 +4,21 @@ import {
4
4
  ServiceInputTypes,
5
5
  ServiceOutputTypes,
6
6
  } from "./SageMakerRuntimeClient";
7
- export declare const command: <
8
- I extends ServiceInputTypes,
9
- O extends ServiceOutputTypes
10
- >(
7
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(
11
8
  added: EndpointParameterInstructions,
12
9
  plugins: (
13
10
  CommandCtor: any,
14
11
  clientStack: any,
15
12
  config: any,
16
- options: any
13
+ options: any,
17
14
  ) => import("@smithy/types").Pluggable<any, any>[],
18
15
  op: string,
19
16
  $: import("@smithy/types").StaticOperationSchema,
20
- smithyContext?: Record<string, unknown>
17
+ smithyContext?: Record<string, unknown>,
21
18
  ) => {
22
- new (input: I): import("@smithy/core/client").CommandImpl<
19
+ new (
20
+ input: I,
21
+ ): import("@smithy/core/client").CommandImpl<
23
22
  I,
24
23
  O,
25
24
  SageMakerRuntimeClientResolvedConfig,
@@ -38,9 +37,4 @@ export declare const command: <
38
37
  getEndpointParameterInstructions(): EndpointParameterInstructions;
39
38
  };
40
39
  export declare const _ep0: EndpointParameterInstructions;
41
- export declare const _mw0: (
42
- Command: any,
43
- cs: any,
44
- config: any,
45
- o: any
46
- ) => never[];
40
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,11 +1,5 @@
1
- import {
2
- BlobPayloadInputTypes,
3
- MetadataBearer as __MetadataBearer,
4
- } from "@smithy/types";
5
- import {
6
- InvokeEndpointAsyncInput,
7
- InvokeEndpointAsyncOutput,
8
- } from "../models/models_0";
1
+ import { BlobPayloadInputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { InvokeEndpointAsyncInput, InvokeEndpointAsyncOutput } from "../models/models_0";
9
3
  export { __MetadataBearer };
10
4
  export type InvokeEndpointAsyncCommandInputType = Pick<
11
5
  InvokeEndpointAsyncInput,
@@ -13,14 +7,12 @@ export type InvokeEndpointAsyncCommandInputType = Pick<
13
7
  > & {
14
8
  Body?: BlobPayloadInputTypes;
15
9
  };
16
- export interface InvokeEndpointAsyncCommandInput
17
- extends InvokeEndpointAsyncCommandInputType {}
10
+ export interface InvokeEndpointAsyncCommandInput extends InvokeEndpointAsyncCommandInputType {}
18
11
  export interface InvokeEndpointAsyncCommandOutput
19
- extends InvokeEndpointAsyncOutput,
20
- __MetadataBearer {}
12
+ extends InvokeEndpointAsyncOutput, __MetadataBearer {}
21
13
  declare const InvokeEndpointAsyncCommand_base: {
22
14
  new (
23
- input: InvokeEndpointAsyncCommandInput
15
+ input: InvokeEndpointAsyncCommandInput,
24
16
  ): import("@smithy/core/client").CommandImpl<
25
17
  InvokeEndpointAsyncCommandInput,
26
18
  InvokeEndpointAsyncCommandOutput,
@@ -29,7 +21,7 @@ declare const InvokeEndpointAsyncCommand_base: {
29
21
  import("..").ServiceOutputTypes
30
22
  >;
31
23
  new (
32
- input: InvokeEndpointAsyncCommandInput
24
+ input: InvokeEndpointAsyncCommandInput,
33
25
  ): import("@smithy/core/client").CommandImpl<
34
26
  InvokeEndpointAsyncCommandInput,
35
27
  InvokeEndpointAsyncCommandOutput,
@@ -1,8 +1,5 @@
1
1
  import { Uint8ArrayBlobAdapter } from "@smithy/core/serde";
2
- import {
3
- BlobPayloadInputTypes,
4
- MetadataBearer as __MetadataBearer,
5
- } from "@smithy/types";
2
+ import { BlobPayloadInputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types";
6
3
  import { InvokeEndpointInput, InvokeEndpointOutput } from "../models/models_0";
7
4
  export { __MetadataBearer };
8
5
  export type InvokeEndpointCommandInputType = Pick<
@@ -11,8 +8,7 @@ export type InvokeEndpointCommandInputType = Pick<
11
8
  > & {
12
9
  Body: BlobPayloadInputTypes;
13
10
  };
14
- export interface InvokeEndpointCommandInput
15
- extends InvokeEndpointCommandInputType {}
11
+ export interface InvokeEndpointCommandInput extends InvokeEndpointCommandInputType {}
16
12
  export type InvokeEndpointCommandOutputType = Pick<
17
13
  InvokeEndpointOutput,
18
14
  Exclude<keyof InvokeEndpointOutput, "Body">
@@ -20,11 +16,10 @@ export type InvokeEndpointCommandOutputType = Pick<
20
16
  Body: Uint8ArrayBlobAdapter;
21
17
  };
22
18
  export interface InvokeEndpointCommandOutput
23
- extends InvokeEndpointCommandOutputType,
24
- __MetadataBearer {}
19
+ extends InvokeEndpointCommandOutputType, __MetadataBearer {}
25
20
  declare const InvokeEndpointCommand_base: {
26
21
  new (
27
- input: InvokeEndpointCommandInput
22
+ input: InvokeEndpointCommandInput,
28
23
  ): import("@smithy/core/client").CommandImpl<
29
24
  InvokeEndpointCommandInput,
30
25
  InvokeEndpointCommandOutput,
@@ -33,7 +28,7 @@ declare const InvokeEndpointCommand_base: {
33
28
  import("..").ServiceOutputTypes
34
29
  >;
35
30
  new (
36
- input: InvokeEndpointCommandInput
31
+ input: InvokeEndpointCommandInput,
37
32
  ): import("@smithy/core/client").CommandImpl<
38
33
  InvokeEndpointCommandInput,
39
34
  InvokeEndpointCommandOutput,
@@ -1,7 +1,4 @@
1
- import {
2
- BlobPayloadInputTypes,
3
- MetadataBearer as __MetadataBearer,
4
- } from "@smithy/types";
1
+ import { BlobPayloadInputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types";
5
2
  import {
6
3
  InvokeEndpointWithResponseStreamInput,
7
4
  InvokeEndpointWithResponseStreamOutput,
@@ -13,14 +10,12 @@ export type InvokeEndpointWithResponseStreamCommandInputType = Pick<
13
10
  > & {
14
11
  Body: BlobPayloadInputTypes;
15
12
  };
16
- export interface InvokeEndpointWithResponseStreamCommandInput
17
- extends InvokeEndpointWithResponseStreamCommandInputType {}
13
+ export interface InvokeEndpointWithResponseStreamCommandInput extends InvokeEndpointWithResponseStreamCommandInputType {}
18
14
  export interface InvokeEndpointWithResponseStreamCommandOutput
19
- extends InvokeEndpointWithResponseStreamOutput,
20
- __MetadataBearer {}
15
+ extends InvokeEndpointWithResponseStreamOutput, __MetadataBearer {}
21
16
  declare const InvokeEndpointWithResponseStreamCommand_base: {
22
17
  new (
23
- input: InvokeEndpointWithResponseStreamCommandInput
18
+ input: InvokeEndpointWithResponseStreamCommandInput,
24
19
  ): import("@smithy/core/client").CommandImpl<
25
20
  InvokeEndpointWithResponseStreamCommandInput,
26
21
  InvokeEndpointWithResponseStreamCommandOutput,
@@ -29,7 +24,7 @@ declare const InvokeEndpointWithResponseStreamCommand_base: {
29
24
  import("..").ServiceOutputTypes
30
25
  >;
31
26
  new (
32
- input: InvokeEndpointWithResponseStreamCommandInput
27
+ input: InvokeEndpointWithResponseStreamCommandInput,
33
28
  ): import("@smithy/core/client").CommandImpl<
34
29
  InvokeEndpointWithResponseStreamCommandInput,
35
30
  InvokeEndpointWithResponseStreamCommandOutput,
@@ -23,7 +23,7 @@ export type ClientResolvedEndpointParameters = Pick<
23
23
  defaultSigningName: string;
24
24
  };
25
25
  export declare const resolveClientEndpointParameters: <T>(
26
- options: T & ClientInputEndpointParameters
26
+ options: T & ClientInputEndpointParameters,
27
27
  ) => T & ClientResolvedEndpointParameters;
28
28
  export declare const commonParams: {
29
29
  readonly UseFIPS: {
@@ -4,5 +4,5 @@ export declare const defaultEndpointResolver: (
4
4
  endpointParams: EndpointParameters,
5
5
  context?: {
6
6
  logger?: Logger;
7
- }
7
+ },
8
8
  ) => EndpointV2;
@@ -3,7 +3,8 @@ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
3
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
4
4
  import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
5
  export interface SageMakerRuntimeExtensionConfiguration
6
- extends HttpHandlerExtensionConfiguration,
6
+ extends
7
+ HttpHandlerExtensionConfiguration,
7
8
  DefaultExtensionConfiguration,
8
9
  AwsRegionExtensionConfiguration,
9
10
  HttpAuthExtensionConfiguration {}
@@ -4,9 +4,7 @@ export declare class InternalDependencyException extends __BaseException {
4
4
  readonly name: "InternalDependencyException";
5
5
  readonly $fault: "server";
6
6
  Message?: string | undefined;
7
- constructor(
8
- opts: __ExceptionOptionType<InternalDependencyException, __BaseException>
9
- );
7
+ constructor(opts: __ExceptionOptionType<InternalDependencyException, __BaseException>);
10
8
  }
11
9
  export declare class InternalFailure extends __BaseException {
12
10
  readonly name: "InternalFailure";
@@ -27,9 +25,7 @@ export declare class ModelNotReadyException extends __BaseException {
27
25
  readonly name: "ModelNotReadyException";
28
26
  readonly $fault: "client";
29
27
  Message?: string | undefined;
30
- constructor(
31
- opts: __ExceptionOptionType<ModelNotReadyException, __BaseException>
32
- );
28
+ constructor(opts: __ExceptionOptionType<ModelNotReadyException, __BaseException>);
33
29
  }
34
30
  export declare class ServiceUnavailable extends __BaseException {
35
31
  readonly name: "ServiceUnavailable";
@@ -47,9 +43,7 @@ export declare class InternalStreamFailure extends __BaseException {
47
43
  readonly name: "InternalStreamFailure";
48
44
  readonly $fault: "server";
49
45
  Message?: string | undefined;
50
- constructor(
51
- opts: __ExceptionOptionType<InternalStreamFailure, __BaseException>
52
- );
46
+ constructor(opts: __ExceptionOptionType<InternalStreamFailure, __BaseException>);
53
47
  }
54
48
  export declare class ModelStreamError extends __BaseException {
55
49
  readonly name: "ModelStreamError";
@@ -1,8 +1,6 @@
1
1
  import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
2
  import { SageMakerRuntimeClientConfig } from "./SageMakerRuntimeClient";
3
- export declare const getRuntimeConfig: (
4
- config: SageMakerRuntimeClientConfig
5
- ) => {
3
+ export declare const getRuntimeConfig: (config: SageMakerRuntimeClientConfig) => {
6
4
  runtime: string;
7
5
  defaultsMode: import("@smithy/types").Provider<
8
6
  import("@smithy/core/client").ResolvedDefaultsMode
@@ -10,25 +8,17 @@ export declare const getRuntimeConfig: (
10
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
9
  credentialDefaultProvider:
12
10
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
- | ((
14
- _: unknown
15
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
16
12
  defaultUserAgentProvider: (
17
- config?: import("@aws-sdk/core/client").PreviouslyResolved
13
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
18
14
  ) => Promise<import("@smithy/types").UserAgent>;
19
15
  eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
20
16
  maxAttempts: number | import("@smithy/types").Provider<number>;
21
17
  region: string | import("@smithy/types").Provider<any>;
22
- requestHandler:
23
- | import("@smithy/core/protocols").HttpHandler<any>
24
- | RequestHandler;
18
+ requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
25
19
  retryMode: string | import("@smithy/types").Provider<string>;
26
20
  streamCollector: (
27
- stream:
28
- | import("stream").Readable
29
- | import("stream/web").ReadableStream
30
- | ReadableStream
31
- | Blob
21
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
32
22
  ) => Promise<Uint8Array>;
33
23
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
34
24
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
@@ -56,13 +46,8 @@ export declare const getRuntimeConfig: (
56
46
  logger: import("@smithy/types").Logger;
57
47
  extensions: import("./runtimeExtensions").RuntimeExtension[];
58
48
  customUserAgent?: string | import("@smithy/types").UserAgent;
59
- userAgentAppId?:
60
- | string
61
- | undefined
62
- | import("@smithy/types").Provider<string | undefined>;
63
- retryStrategy?:
64
- | import("@smithy/types").RetryStrategy
65
- | import("@smithy/types").RetryStrategyV2;
49
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
50
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
66
51
  endpoint?:
67
52
  | ((
68
53
  | string
@@ -84,7 +69,7 @@ export declare const getRuntimeConfig: (
84
69
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
85
70
  context?: {
86
71
  logger?: import("@smithy/types").Logger;
87
- }
72
+ },
88
73
  ) => import("@smithy/types").EndpointV2;
89
74
  tls?: boolean;
90
75
  serviceConfiguredEndpoint?: never;
@@ -97,13 +82,13 @@ export declare const getRuntimeConfig: (
97
82
  signer?:
98
83
  | import("@smithy/types").RequestSigner
99
84
  | ((
100
- authScheme?: import("@smithy/types").AuthScheme
85
+ authScheme?: import("@smithy/types").AuthScheme,
101
86
  ) => Promise<import("@smithy/types").RequestSigner>);
102
87
  signingEscapePath?: boolean;
103
88
  systemClockOffset?: number;
104
89
  signingRegion?: string;
105
90
  signerConstructor?: new (
106
91
  options: import("@smithy/signature-v4").SignatureV4Init &
107
- import("@smithy/signature-v4").SignatureV4CryptoInit
92
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
108
93
  ) => import("@smithy/types").RequestSigner;
109
94
  };
@@ -1,8 +1,6 @@
1
1
  import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
2
  import { SageMakerRuntimeClientConfig } from "./SageMakerRuntimeClient";
3
- export declare const getRuntimeConfig: (
4
- config: SageMakerRuntimeClientConfig
5
- ) => {
3
+ export declare const getRuntimeConfig: (config: SageMakerRuntimeClientConfig) => {
6
4
  runtime: string;
7
5
  defaultsMode: import("@smithy/types").Provider<
8
6
  import("@smithy/core/client").ResolvedDefaultsMode
@@ -12,24 +10,18 @@ export declare const getRuntimeConfig: (
12
10
  credentialDefaultProvider:
13
11
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
14
12
  | ((
15
- init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
13
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
16
14
  ) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
17
15
  defaultUserAgentProvider: (
18
- config?: import("@aws-sdk/core/client").PreviouslyResolved
16
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
19
17
  ) => Promise<import("@smithy/types").UserAgent>;
20
18
  eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
21
19
  maxAttempts: number | import("@smithy/types").Provider<number>;
22
20
  region: string | import("@smithy/types").Provider<string>;
23
- requestHandler:
24
- | RequestHandler
25
- | import("@smithy/core/protocols").HttpHandler<any>;
21
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
26
22
  retryMode: string | import("@smithy/types").Provider<string>;
27
23
  streamCollector: (
28
- stream:
29
- | import("stream").Readable
30
- | import("stream/web").ReadableStream
31
- | ReadableStream
32
- | Blob
24
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
33
25
  ) => Promise<Uint8Array>;
34
26
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
35
27
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -56,9 +48,7 @@ export declare const getRuntimeConfig: (
56
48
  logger: import("@smithy/types").Logger;
57
49
  extensions: import("./runtimeExtensions").RuntimeExtension[];
58
50
  customUserAgent?: string | import("@smithy/types").UserAgent;
59
- retryStrategy?:
60
- | import("@smithy/types").RetryStrategy
61
- | import("@smithy/types").RetryStrategyV2;
51
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
62
52
  endpoint?:
63
53
  | ((
64
54
  | string
@@ -80,7 +70,7 @@ export declare const getRuntimeConfig: (
80
70
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
81
71
  context?: {
82
72
  logger?: import("@smithy/types").Logger;
83
- }
73
+ },
84
74
  ) => import("@smithy/types").EndpointV2;
85
75
  tls?: boolean;
86
76
  serviceConfiguredEndpoint?: never;
@@ -92,13 +82,13 @@ export declare const getRuntimeConfig: (
92
82
  signer?:
93
83
  | import("@smithy/types").RequestSigner
94
84
  | ((
95
- authScheme?: import("@smithy/types").AuthScheme
85
+ authScheme?: import("@smithy/types").AuthScheme,
96
86
  ) => Promise<import("@smithy/types").RequestSigner>);
97
87
  signingEscapePath?: boolean;
98
88
  systemClockOffset?: number;
99
89
  signingRegion?: string;
100
90
  signerConstructor?: new (
101
91
  options: import("@smithy/signature-v4").SignatureV4Init &
102
- import("@smithy/signature-v4").SignatureV4CryptoInit
92
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
103
93
  ) => import("@smithy/types").RequestSigner;
104
94
  };
@@ -1,7 +1,5 @@
1
1
  import { SageMakerRuntimeClientConfig } from "./SageMakerRuntimeClient";
2
- export declare const getRuntimeConfig: (
3
- config: SageMakerRuntimeClientConfig
4
- ) => {
2
+ export declare const getRuntimeConfig: (config: SageMakerRuntimeClientConfig) => {
5
3
  runtime: string;
6
4
  requestHandler:
7
5
  | import("@smithy/types").NodeHttpHandlerOptions
@@ -23,11 +21,7 @@ export declare const getRuntimeConfig: (
23
21
  urlParser: import("@smithy/types").UrlParser;
24
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
25
23
  streamCollector: (
26
- stream:
27
- | import("stream").Readable
28
- | import("stream/web").ReadableStream
29
- | ReadableStream
30
- | Blob
24
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
31
25
  ) => Promise<Uint8Array>;
32
26
  base64Decoder: import("@smithy/types").Decoder;
33
27
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -42,13 +36,11 @@ export declare const getRuntimeConfig: (
42
36
  region: string | import("@smithy/types").Provider<any>;
43
37
  profile?: string;
44
38
  defaultUserAgentProvider: (
45
- config?: import("@aws-sdk/core/client").PreviouslyResolved
39
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
46
40
  ) => Promise<import("@smithy/types").UserAgent>;
47
41
  credentialDefaultProvider:
48
42
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
49
- | ((
50
- _: unknown
51
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
43
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
52
44
  maxAttempts: number | import("@smithy/types").Provider<number>;
53
45
  retryMode: string | import("@smithy/types").Provider<string>;
54
46
  logger: import("@smithy/types").Logger;
@@ -56,17 +48,10 @@ export declare const getRuntimeConfig: (
56
48
  eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
57
49
  defaultsMode:
58
50
  | import("@smithy/core/client").DefaultsMode
59
- | import("@smithy/types").Provider<
60
- import("@smithy/core/client").DefaultsMode
61
- >;
51
+ | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
62
52
  customUserAgent?: string | import("@smithy/types").UserAgent;
63
- userAgentAppId?:
64
- | string
65
- | undefined
66
- | import("@smithy/types").Provider<string | undefined>;
67
- retryStrategy?:
68
- | import("@smithy/types").RetryStrategy
69
- | import("@smithy/types").RetryStrategyV2;
53
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
54
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
70
55
  endpoint?:
71
56
  | ((
72
57
  | string
@@ -88,7 +73,7 @@ export declare const getRuntimeConfig: (
88
73
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
89
74
  context?: {
90
75
  logger?: import("@smithy/types").Logger;
91
- }
76
+ },
92
77
  ) => import("@smithy/types").EndpointV2;
93
78
  tls?: boolean;
94
79
  serviceConfiguredEndpoint?: never;
@@ -101,13 +86,13 @@ export declare const getRuntimeConfig: (
101
86
  signer?:
102
87
  | import("@smithy/types").RequestSigner
103
88
  | ((
104
- authScheme?: import("@smithy/types").AuthScheme
89
+ authScheme?: import("@smithy/types").AuthScheme,
105
90
  ) => Promise<import("@smithy/types").RequestSigner>);
106
91
  signingEscapePath?: boolean;
107
92
  systemClockOffset?: number;
108
93
  signingRegion?: string;
109
94
  signerConstructor?: new (
110
95
  options: import("@smithy/signature-v4").SignatureV4Init &
111
- import("@smithy/signature-v4").SignatureV4CryptoInit
96
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
112
97
  ) => import("@smithy/types").RequestSigner;
113
98
  };
@@ -1,8 +1,6 @@
1
1
  import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
2
2
  import { SageMakerRuntimeClientConfig } from "./SageMakerRuntimeClient";
3
- export declare const getRuntimeConfig: (
4
- config: SageMakerRuntimeClientConfig
5
- ) => {
3
+ export declare const getRuntimeConfig: (config: SageMakerRuntimeClientConfig) => {
6
4
  apiVersion: string;
7
5
  base64Decoder: import("@smithy/types").Decoder;
8
6
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -11,7 +9,7 @@ export declare const getRuntimeConfig: (
11
9
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
12
10
  context?: {
13
11
  logger?: import("@smithy/types").Logger;
14
- }
12
+ },
15
13
  ) => import("@smithy/types").EndpointV2;
16
14
  extensions: import("./runtimeExtensions").RuntimeExtension[];
17
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SageMakerRuntimeHttpAuthSchemeProvider;
@@ -1,13 +1,11 @@
1
1
  import { SageMakerRuntimeExtensionConfiguration } from "./extensionConfiguration";
2
2
  export interface RuntimeExtension {
3
- configure(
4
- extensionConfiguration: SageMakerRuntimeExtensionConfiguration
5
- ): void;
3
+ configure(extensionConfiguration: SageMakerRuntimeExtensionConfiguration): void;
6
4
  }
7
5
  export interface RuntimeExtensionsConfig {
8
6
  extensions: RuntimeExtension[];
9
7
  }
10
8
  export declare const resolveRuntimeExtensions: (
11
9
  runtimeConfig: any,
12
- extensions: RuntimeExtension[]
10
+ extensions: RuntimeExtension[],
13
11
  ) => any;
package/package.json CHANGED
@@ -1,7 +1,38 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sagemaker-runtime",
3
+ "version": "3.1088.0",
3
4
  "description": "AWS SDK for JavaScript Sagemaker Runtime Client for Node.js, Browser and React Native",
4
- "version": "3.1086.0",
5
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sagemaker-runtime",
6
+ "license": "Apache-2.0",
7
+ "author": {
8
+ "name": "AWS SDK for JavaScript Team",
9
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
14
+ "directory": "clients/client-sagemaker-runtime"
15
+ },
16
+ "files": [
17
+ "dist-*/**"
18
+ ],
19
+ "sideEffects": false,
20
+ "main": "./dist-cjs/index.js",
21
+ "module": "./dist-es/index.js",
22
+ "browser": {
23
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
24
+ },
25
+ "types": "./dist-types/index.d.ts",
26
+ "typesVersions": {
27
+ "<4.5": {
28
+ "dist-types/*": [
29
+ "dist-types/ts3.4/*"
30
+ ]
31
+ }
32
+ },
33
+ "react-native": {
34
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
35
+ },
5
36
  "scripts": {
6
37
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
38
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -14,18 +45,14 @@
14
45
  "generate:client": "node ../../scripts/generate-clients/single-service",
15
46
  "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
16
47
  },
17
- "main": "./dist-cjs/index.js",
18
- "types": "./dist-types/index.d.ts",
19
- "module": "./dist-es/index.js",
20
- "sideEffects": false,
21
48
  "dependencies": {
22
- "@aws-sdk/core": "^3.975.1",
23
- "@aws-sdk/credential-provider-node": "^3.972.67",
24
- "@aws-sdk/types": "^3.974.0",
25
- "@smithy/core": "^3.29.2",
26
- "@smithy/fetch-http-handler": "^5.6.4",
27
- "@smithy/node-http-handler": "^4.9.4",
28
- "@smithy/types": "^4.16.0",
49
+ "@aws-sdk/core": "^3.975.3",
50
+ "@aws-sdk/credential-provider-node": "^3.972.69",
51
+ "@aws-sdk/types": "^3.974.2",
52
+ "@smithy/core": "^3.29.4",
53
+ "@smithy/fetch-http-handler": "^5.6.6",
54
+ "@smithy/node-http-handler": "^4.9.6",
55
+ "@smithy/types": "^4.16.1",
29
56
  "tslib": "^2.6.2"
30
57
  },
31
58
  "devDependencies": {
@@ -38,32 +65,5 @@
38
65
  },
39
66
  "engines": {
40
67
  "node": ">=20.0.0"
41
- },
42
- "typesVersions": {
43
- "<4.5": {
44
- "dist-types/*": [
45
- "dist-types/ts3.4/*"
46
- ]
47
- }
48
- },
49
- "files": [
50
- "dist-*/**"
51
- ],
52
- "author": {
53
- "name": "AWS SDK for JavaScript Team",
54
- "url": "https://aws.amazon.com/sdk-for-javascript/"
55
- },
56
- "license": "Apache-2.0",
57
- "browser": {
58
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
59
- },
60
- "react-native": {
61
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
62
- },
63
- "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sagemaker-runtime",
64
- "repository": {
65
- "type": "git",
66
- "url": "https://github.com/aws/aws-sdk-js-v3.git",
67
- "directory": "clients/client-sagemaker-runtime"
68
68
  }
69
69
  }