@aws-sdk/client-sagemaker-runtime-http2 3.1087.0 → 3.1089.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
@@ -72,7 +72,7 @@ const commonParams = {
72
72
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
73
73
  };
74
74
 
75
- var version = "3.1086.0";
75
+ var version = "3.1088.0";
76
76
  var packageInfo = {
77
77
  version: version};
78
78
 
@@ -7,22 +7,16 @@ import { SageMakerRuntimeHTTP2Client } from "./SageMakerRuntimeHTTP2Client";
7
7
  export interface SageMakerRuntimeHTTP2 {
8
8
  invokeEndpointWithBidirectionalStream(
9
9
  args: InvokeEndpointWithBidirectionalStreamCommandInput,
10
- options?: __HttpHandlerOptions
10
+ options?: __HttpHandlerOptions,
11
11
  ): Promise<InvokeEndpointWithBidirectionalStreamCommandOutput>;
12
12
  invokeEndpointWithBidirectionalStream(
13
13
  args: InvokeEndpointWithBidirectionalStreamCommandInput,
14
- cb: (
15
- err: any,
16
- data?: InvokeEndpointWithBidirectionalStreamCommandOutput
17
- ) => void
14
+ cb: (err: any, data?: InvokeEndpointWithBidirectionalStreamCommandOutput) => void,
18
15
  ): void;
19
16
  invokeEndpointWithBidirectionalStream(
20
17
  args: InvokeEndpointWithBidirectionalStreamCommandInput,
21
18
  options: __HttpHandlerOptions,
22
- cb: (
23
- err: any,
24
- data?: InvokeEndpointWithBidirectionalStreamCommandOutput
25
- ) => void
19
+ cb: (err: any, data?: InvokeEndpointWithBidirectionalStreamCommandOutput) => void,
26
20
  ): void;
27
21
  }
28
22
  export declare class SageMakerRuntimeHTTP2
@@ -4,10 +4,7 @@ import {
4
4
  UserAgentInputConfig,
5
5
  UserAgentResolvedConfig,
6
6
  } from "@aws-sdk/core/client";
7
- import {
8
- EventStreamInputConfig,
9
- EventStreamResolvedConfig,
10
- } from "@aws-sdk/middleware-eventstream";
7
+ import { EventStreamInputConfig, EventStreamResolvedConfig } from "@aws-sdk/middleware-eventstream";
11
8
  import { EventStreamPayloadHandlerProvider as __EventStreamPayloadHandlerProvider } from "@aws-sdk/types";
12
9
  import {
13
10
  DefaultsMode as __DefaultsMode,
@@ -16,10 +13,7 @@ import {
16
13
  Client as __Client,
17
14
  } from "@smithy/core/client";
18
15
  import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
19
- import {
20
- EndpointInputConfig,
21
- EndpointResolvedConfig,
22
- } from "@smithy/core/endpoints";
16
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
23
17
  import {
24
18
  EventStreamSerdeInputConfig,
25
19
  EventStreamSerdeResolvedConfig,
@@ -57,12 +51,9 @@ import {
57
51
  } from "./endpoint/EndpointParameters";
58
52
  import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
59
53
  export { __Client };
60
- export type ServiceInputTypes =
61
- InvokeEndpointWithBidirectionalStreamCommandInput;
62
- export type ServiceOutputTypes =
63
- InvokeEndpointWithBidirectionalStreamCommandOutput;
64
- export interface ClientDefaults
65
- extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
54
+ export type ServiceInputTypes = InvokeEndpointWithBidirectionalStreamCommandInput;
55
+ export type ServiceOutputTypes = InvokeEndpointWithBidirectionalStreamCommandOutput;
56
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
66
57
  requestHandler?: __HttpHandlerUserInput;
67
58
  sha256?: __ChecksumConstructor | __HashConstructor;
68
59
  urlParser?: __UrlParser;
@@ -102,8 +93,7 @@ export type SageMakerRuntimeHTTP2ClientConfigType = Partial<
102
93
  HttpAuthSchemeInputConfig &
103
94
  EventStreamInputConfig &
104
95
  ClientInputEndpointParameters;
105
- export interface SageMakerRuntimeHTTP2ClientConfig
106
- extends SageMakerRuntimeHTTP2ClientConfigType {}
96
+ export interface SageMakerRuntimeHTTP2ClientConfig extends SageMakerRuntimeHTTP2ClientConfigType {}
107
97
  export type SageMakerRuntimeHTTP2ClientResolvedConfigType =
108
98
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
109
99
  Required<ClientDefaults> &
@@ -117,8 +107,7 @@ export type SageMakerRuntimeHTTP2ClientResolvedConfigType =
117
107
  HttpAuthSchemeResolvedConfig &
118
108
  EventStreamResolvedConfig &
119
109
  ClientResolvedEndpointParameters;
120
- export interface SageMakerRuntimeHTTP2ClientResolvedConfig
121
- extends SageMakerRuntimeHTTP2ClientResolvedConfigType {}
110
+ export interface SageMakerRuntimeHTTP2ClientResolvedConfig extends SageMakerRuntimeHTTP2ClientResolvedConfigType {}
122
111
  export declare class SageMakerRuntimeHTTP2Client extends __Client<
123
112
  __HttpHandlerOptions,
124
113
  ServiceInputTypes,
@@ -126,10 +115,6 @@ export declare class SageMakerRuntimeHTTP2Client extends __Client<
126
115
  SageMakerRuntimeHTTP2ClientResolvedConfig
127
116
  > {
128
117
  readonly config: SageMakerRuntimeHTTP2ClientResolvedConfig;
129
- constructor(
130
- ...[
131
- configuration,
132
- ]: __CheckOptionalClientConfig<SageMakerRuntimeHTTP2ClientConfig>
133
- );
118
+ constructor(...[configuration]: __CheckOptionalClientConfig<SageMakerRuntimeHTTP2ClientConfig>);
134
119
  destroy(): void;
135
120
  }
@@ -8,16 +8,11 @@ export interface HttpAuthExtensionConfiguration {
8
8
  setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
9
  httpAuthSchemes(): HttpAuthScheme[];
10
10
  setHttpAuthSchemeProvider(
11
- httpAuthSchemeProvider: SageMakerRuntimeHTTP2HttpAuthSchemeProvider
11
+ httpAuthSchemeProvider: SageMakerRuntimeHTTP2HttpAuthSchemeProvider,
12
12
  ): void;
13
13
  httpAuthSchemeProvider(): SageMakerRuntimeHTTP2HttpAuthSchemeProvider;
14
- setCredentials(
15
- credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
16
- ): void;
17
- credentials():
18
- | AwsCredentialIdentity
19
- | AwsCredentialIdentityProvider
20
- | undefined;
14
+ setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
15
+ credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
21
16
  }
22
17
  export type HttpAuthRuntimeConfig = Partial<{
23
18
  httpAuthSchemes: HttpAuthScheme[];
@@ -25,8 +20,8 @@ export type HttpAuthRuntimeConfig = Partial<{
25
20
  credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
26
21
  }>;
27
22
  export declare const getHttpAuthExtensionConfiguration: (
28
- runtimeConfig: HttpAuthRuntimeConfig
23
+ runtimeConfig: HttpAuthRuntimeConfig,
29
24
  ) => HttpAuthExtensionConfiguration;
30
25
  export declare const resolveHttpAuthRuntimeConfig: (
31
- config: HttpAuthExtensionConfiguration
26
+ config: HttpAuthExtensionConfiguration,
32
27
  ) => HttpAuthRuntimeConfig;
@@ -12,36 +12,32 @@ import {
12
12
  Provider,
13
13
  } from "@smithy/types";
14
14
  import { SageMakerRuntimeHTTP2ClientResolvedConfig } from "../SageMakerRuntimeHTTP2Client";
15
- export interface SageMakerRuntimeHTTP2HttpAuthSchemeParameters
16
- extends HttpAuthSchemeParameters {
15
+ export interface SageMakerRuntimeHTTP2HttpAuthSchemeParameters extends HttpAuthSchemeParameters {
17
16
  region?: string;
18
17
  }
19
- export interface SageMakerRuntimeHTTP2HttpAuthSchemeParametersProvider
20
- extends HttpAuthSchemeParametersProvider<
21
- SageMakerRuntimeHTTP2ClientResolvedConfig,
22
- HandlerExecutionContext,
23
- SageMakerRuntimeHTTP2HttpAuthSchemeParameters,
24
- object
25
- > {}
18
+ export interface SageMakerRuntimeHTTP2HttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
19
+ SageMakerRuntimeHTTP2ClientResolvedConfig,
20
+ HandlerExecutionContext,
21
+ SageMakerRuntimeHTTP2HttpAuthSchemeParameters,
22
+ object
23
+ > {}
26
24
  export declare const defaultSageMakerRuntimeHTTP2HttpAuthSchemeParametersProvider: (
27
25
  config: SageMakerRuntimeHTTP2ClientResolvedConfig,
28
26
  context: HandlerExecutionContext,
29
- input: object
27
+ input: object,
30
28
  ) => Promise<SageMakerRuntimeHTTP2HttpAuthSchemeParameters>;
31
- export interface SageMakerRuntimeHTTP2HttpAuthSchemeProvider
32
- extends HttpAuthSchemeProvider<SageMakerRuntimeHTTP2HttpAuthSchemeParameters> {}
29
+ export interface SageMakerRuntimeHTTP2HttpAuthSchemeProvider extends HttpAuthSchemeProvider<SageMakerRuntimeHTTP2HttpAuthSchemeParameters> {}
33
30
  export declare const defaultSageMakerRuntimeHTTP2HttpAuthSchemeProvider: SageMakerRuntimeHTTP2HttpAuthSchemeProvider;
34
31
  export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
35
32
  authSchemePreference?: string[] | Provider<string[]>;
36
33
  httpAuthSchemes?: HttpAuthScheme[];
37
34
  httpAuthSchemeProvider?: SageMakerRuntimeHTTP2HttpAuthSchemeProvider;
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: SageMakerRuntimeHTTP2HttpAuthSchemeProvider;
44
40
  }
45
41
  export declare const resolveHttpAuthSchemeConfig: <T>(
46
- config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
42
+ config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
47
43
  ) => T & HttpAuthSchemeResolvedConfig;
@@ -2,20 +2,22 @@ import { EndpointParameterInstructions } from "@smithy/types";
2
2
  import { SageMakerRuntimeHTTP2ClientResolvedConfig } from "./SageMakerRuntimeHTTP2Client";
3
3
  export declare const command: <
4
4
  I extends import("./commands").InvokeEndpointWithBidirectionalStreamCommandInput,
5
- O extends import("./commands").InvokeEndpointWithBidirectionalStreamCommandOutput
5
+ O extends import("./commands").InvokeEndpointWithBidirectionalStreamCommandOutput,
6
6
  >(
7
7
  added: EndpointParameterInstructions,
8
8
  plugins: (
9
9
  CommandCtor: any,
10
10
  clientStack: any,
11
11
  config: any,
12
- options: any
12
+ options: any,
13
13
  ) => import("@smithy/types").Pluggable<any, any>[],
14
14
  op: string,
15
15
  $: import("@smithy/types").StaticOperationSchema,
16
- smithyContext?: Record<string, unknown>
16
+ smithyContext?: Record<string, unknown>,
17
17
  ) => {
18
- new (input: I): import("@smithy/core/client").CommandImpl<
18
+ new (
19
+ input: I,
20
+ ): import("@smithy/core/client").CommandImpl<
19
21
  I,
20
22
  O,
21
23
  SageMakerRuntimeHTTP2ClientResolvedConfig,
@@ -38,5 +40,5 @@ export declare const _mw0: (
38
40
  Command: any,
39
41
  cs: any,
40
42
  config: any,
41
- o: any
43
+ o: any,
42
44
  ) => import("@smithy/types").Pluggable<any, any>[];
@@ -4,14 +4,12 @@ import {
4
4
  InvokeEndpointWithBidirectionalStreamOutput,
5
5
  } from "../models/models_0";
6
6
  export { __MetadataBearer };
7
- export interface InvokeEndpointWithBidirectionalStreamCommandInput
8
- extends InvokeEndpointWithBidirectionalStreamInput {}
7
+ export interface InvokeEndpointWithBidirectionalStreamCommandInput extends InvokeEndpointWithBidirectionalStreamInput {}
9
8
  export interface InvokeEndpointWithBidirectionalStreamCommandOutput
10
- extends InvokeEndpointWithBidirectionalStreamOutput,
11
- __MetadataBearer {}
9
+ extends InvokeEndpointWithBidirectionalStreamOutput, __MetadataBearer {}
12
10
  declare const InvokeEndpointWithBidirectionalStreamCommand_base: {
13
11
  new (
14
- input: InvokeEndpointWithBidirectionalStreamCommandInput
12
+ input: InvokeEndpointWithBidirectionalStreamCommandInput,
15
13
  ): import("@smithy/core/client").CommandImpl<
16
14
  InvokeEndpointWithBidirectionalStreamCommandInput,
17
15
  InvokeEndpointWithBidirectionalStreamCommandOutput,
@@ -20,7 +18,7 @@ declare const InvokeEndpointWithBidirectionalStreamCommand_base: {
20
18
  InvokeEndpointWithBidirectionalStreamCommandOutput
21
19
  >;
22
20
  new (
23
- input: InvokeEndpointWithBidirectionalStreamCommandInput
21
+ input: InvokeEndpointWithBidirectionalStreamCommandInput,
24
22
  ): import("@smithy/core/client").CommandImpl<
25
23
  InvokeEndpointWithBidirectionalStreamCommandInput,
26
24
  InvokeEndpointWithBidirectionalStreamCommandOutput,
@@ -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 SageMakerRuntimeHTTP2ExtensionConfiguration
6
- extends HttpHandlerExtensionConfiguration,
6
+ extends
7
+ HttpHandlerExtensionConfiguration,
7
8
  DefaultExtensionConfiguration,
8
9
  AwsRegionExtensionConfiguration,
9
10
  HttpAuthExtensionConfiguration {}
@@ -5,26 +5,20 @@ export declare class InputValidationError extends __BaseException {
5
5
  readonly $fault: "client";
6
6
  Message?: string | undefined;
7
7
  ErrorCode?: string | undefined;
8
- constructor(
9
- opts: __ExceptionOptionType<InputValidationError, __BaseException>
10
- );
8
+ constructor(opts: __ExceptionOptionType<InputValidationError, __BaseException>);
11
9
  }
12
10
  export declare class InternalServerError extends __BaseException {
13
11
  readonly name: "InternalServerError";
14
12
  readonly $fault: "server";
15
13
  Message?: string | undefined;
16
14
  ErrorCode?: string | undefined;
17
- constructor(
18
- opts: __ExceptionOptionType<InternalServerError, __BaseException>
19
- );
15
+ constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
20
16
  }
21
17
  export declare class InternalStreamFailure extends __BaseException {
22
18
  readonly name: "InternalStreamFailure";
23
19
  readonly $fault: "server";
24
20
  Message?: string | undefined;
25
- constructor(
26
- opts: __ExceptionOptionType<InternalStreamFailure, __BaseException>
27
- );
21
+ constructor(opts: __ExceptionOptionType<InternalStreamFailure, __BaseException>);
28
22
  }
29
23
  export declare class ModelStreamError extends __BaseException {
30
24
  readonly name: "ModelStreamError";
@@ -48,7 +42,5 @@ export declare class ServiceUnavailableError extends __BaseException {
48
42
  readonly $fault: "server";
49
43
  Message?: string | undefined;
50
44
  ErrorCode?: string | undefined;
51
- constructor(
52
- opts: __ExceptionOptionType<ServiceUnavailableError, __BaseException>
53
- );
45
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableError, __BaseException>);
54
46
  }
@@ -1,8 +1,6 @@
1
1
  import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
2
  import { SageMakerRuntimeHTTP2ClientConfig } from "./SageMakerRuntimeHTTP2Client";
3
- export declare const getRuntimeConfig: (
4
- config: SageMakerRuntimeHTTP2ClientConfig
5
- ) => {
3
+ export declare const getRuntimeConfig: (config: SageMakerRuntimeHTTP2ClientConfig) => {
6
4
  runtime: string;
7
5
  defaultsMode: import("@smithy/types").Provider<
8
6
  import("@smithy/core/client").ResolvedDefaultsMode
@@ -10,26 +8,18 @@ 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
  eventStreamPayloadHandlerProvider: import("@smithy/types").EventStreamPayloadHandlerProvider;
20
16
  eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
21
17
  maxAttempts: number | import("@smithy/types").Provider<number>;
22
18
  region: string | import("@smithy/types").Provider<any>;
23
- requestHandler:
24
- | import("@smithy/core/protocols").HttpHandler<any>
25
- | RequestHandler;
19
+ requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
26
20
  retryMode: string | import("@smithy/types").Provider<string>;
27
21
  streamCollector: (
28
- stream:
29
- | import("stream").Readable
30
- | import("stream/web").ReadableStream
31
- | ReadableStream
32
- | Blob
22
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
33
23
  ) => Promise<Uint8Array>;
34
24
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
35
25
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
@@ -57,13 +47,8 @@ export declare const getRuntimeConfig: (
57
47
  logger: import("@smithy/types").Logger;
58
48
  extensions: import("./runtimeExtensions").RuntimeExtension[];
59
49
  customUserAgent?: string | import("@smithy/types").UserAgent;
60
- userAgentAppId?:
61
- | string
62
- | undefined
63
- | import("@smithy/types").Provider<string | undefined>;
64
- retryStrategy?:
65
- | import("@smithy/types").RetryStrategy
66
- | import("@smithy/types").RetryStrategyV2;
50
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
51
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
67
52
  endpoint?:
68
53
  | ((
69
54
  | string
@@ -85,7 +70,7 @@ export declare const getRuntimeConfig: (
85
70
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
86
71
  context?: {
87
72
  logger?: import("@smithy/types").Logger;
88
- }
73
+ },
89
74
  ) => import("@smithy/types").EndpointV2;
90
75
  tls?: boolean;
91
76
  serviceConfiguredEndpoint?: never;
@@ -98,13 +83,13 @@ export declare const getRuntimeConfig: (
98
83
  signer?:
99
84
  | import("@smithy/types").RequestSigner
100
85
  | ((
101
- authScheme?: import("@smithy/types").AuthScheme
86
+ authScheme?: import("@smithy/types").AuthScheme,
102
87
  ) => Promise<import("@smithy/types").RequestSigner>);
103
88
  signingEscapePath?: boolean;
104
89
  systemClockOffset?: number;
105
90
  signingRegion?: string;
106
91
  signerConstructor?: new (
107
92
  options: import("@smithy/signature-v4").SignatureV4Init &
108
- import("@smithy/signature-v4").SignatureV4CryptoInit
93
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
109
94
  ) => import("@smithy/types").RequestSigner;
110
95
  };
@@ -1,8 +1,6 @@
1
1
  import { NodeHttp2Handler as RequestHandler } from "@smithy/node-http-handler";
2
2
  import { SageMakerRuntimeHTTP2ClientConfig } from "./SageMakerRuntimeHTTP2Client";
3
- export declare const getRuntimeConfig: (
4
- config: SageMakerRuntimeHTTP2ClientConfig
5
- ) => {
3
+ export declare const getRuntimeConfig: (config: SageMakerRuntimeHTTP2ClientConfig) => {
6
4
  runtime: string;
7
5
  defaultsMode: import("@smithy/types").Provider<
8
6
  import("@smithy/core/client").ResolvedDefaultsMode
@@ -12,25 +10,19 @@ 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
  eventStreamPayloadHandlerProvider: import("@smithy/types").EventStreamPayloadHandlerProvider;
21
19
  eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
22
20
  maxAttempts: number | import("@smithy/types").Provider<number>;
23
21
  region: string | import("@smithy/types").Provider<string>;
24
- requestHandler:
25
- | RequestHandler
26
- | import("@smithy/core/protocols").HttpHandler<any>;
22
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
27
23
  retryMode: string | import("@smithy/types").Provider<string>;
28
24
  streamCollector: (
29
- stream:
30
- | import("stream").Readable
31
- | import("stream/web").ReadableStream
32
- | ReadableStream
33
- | Blob
25
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
34
26
  ) => Promise<Uint8Array>;
35
27
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
36
28
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -57,9 +49,7 @@ export declare const getRuntimeConfig: (
57
49
  logger: import("@smithy/types").Logger;
58
50
  extensions: import("./runtimeExtensions").RuntimeExtension[];
59
51
  customUserAgent?: string | import("@smithy/types").UserAgent;
60
- retryStrategy?:
61
- | import("@smithy/types").RetryStrategy
62
- | import("@smithy/types").RetryStrategyV2;
52
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
63
53
  endpoint?:
64
54
  | ((
65
55
  | string
@@ -81,7 +71,7 @@ export declare const getRuntimeConfig: (
81
71
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
82
72
  context?: {
83
73
  logger?: import("@smithy/types").Logger;
84
- }
74
+ },
85
75
  ) => import("@smithy/types").EndpointV2;
86
76
  tls?: boolean;
87
77
  serviceConfiguredEndpoint?: never;
@@ -93,13 +83,13 @@ export declare const getRuntimeConfig: (
93
83
  signer?:
94
84
  | import("@smithy/types").RequestSigner
95
85
  | ((
96
- authScheme?: import("@smithy/types").AuthScheme
86
+ authScheme?: import("@smithy/types").AuthScheme,
97
87
  ) => Promise<import("@smithy/types").RequestSigner>);
98
88
  signingEscapePath?: boolean;
99
89
  systemClockOffset?: number;
100
90
  signingRegion?: string;
101
91
  signerConstructor?: new (
102
92
  options: import("@smithy/signature-v4").SignatureV4Init &
103
- import("@smithy/signature-v4").SignatureV4CryptoInit
93
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
104
94
  ) => import("@smithy/types").RequestSigner;
105
95
  };
@@ -1,7 +1,5 @@
1
1
  import { SageMakerRuntimeHTTP2ClientConfig } from "./SageMakerRuntimeHTTP2Client";
2
- export declare const getRuntimeConfig: (
3
- config: SageMakerRuntimeHTTP2ClientConfig
4
- ) => {
2
+ export declare const getRuntimeConfig: (config: SageMakerRuntimeHTTP2ClientConfig) => {
5
3
  runtime: string;
6
4
  eventStreamPayloadHandlerProvider: import("@smithy/types").EventStreamPayloadHandlerProvider;
7
5
  requestHandler:
@@ -24,11 +22,7 @@ export declare const getRuntimeConfig: (
24
22
  urlParser: import("@smithy/types").UrlParser;
25
23
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
26
24
  streamCollector: (
27
- stream:
28
- | import("stream").Readable
29
- | import("stream/web").ReadableStream
30
- | ReadableStream
31
- | Blob
25
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
32
26
  ) => Promise<Uint8Array>;
33
27
  base64Decoder: import("@smithy/types").Decoder;
34
28
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -43,13 +37,11 @@ export declare const getRuntimeConfig: (
43
37
  region: string | import("@smithy/types").Provider<any>;
44
38
  profile?: string;
45
39
  defaultUserAgentProvider: (
46
- config?: import("@aws-sdk/core/client").PreviouslyResolved
40
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
47
41
  ) => Promise<import("@smithy/types").UserAgent>;
48
42
  credentialDefaultProvider:
49
43
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
50
- | ((
51
- _: unknown
52
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
44
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
53
45
  maxAttempts: number | import("@smithy/types").Provider<number>;
54
46
  retryMode: string | import("@smithy/types").Provider<string>;
55
47
  logger: import("@smithy/types").Logger;
@@ -57,17 +49,10 @@ export declare const getRuntimeConfig: (
57
49
  eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
58
50
  defaultsMode:
59
51
  | import("@smithy/core/client").DefaultsMode
60
- | import("@smithy/types").Provider<
61
- import("@smithy/core/client").DefaultsMode
62
- >;
52
+ | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
63
53
  customUserAgent?: string | import("@smithy/types").UserAgent;
64
- userAgentAppId?:
65
- | string
66
- | undefined
67
- | import("@smithy/types").Provider<string | undefined>;
68
- retryStrategy?:
69
- | import("@smithy/types").RetryStrategy
70
- | import("@smithy/types").RetryStrategyV2;
54
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
55
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
71
56
  endpoint?:
72
57
  | ((
73
58
  | string
@@ -89,7 +74,7 @@ export declare const getRuntimeConfig: (
89
74
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
90
75
  context?: {
91
76
  logger?: import("@smithy/types").Logger;
92
- }
77
+ },
93
78
  ) => import("@smithy/types").EndpointV2;
94
79
  tls?: boolean;
95
80
  serviceConfiguredEndpoint?: never;
@@ -102,13 +87,13 @@ export declare const getRuntimeConfig: (
102
87
  signer?:
103
88
  | import("@smithy/types").RequestSigner
104
89
  | ((
105
- authScheme?: import("@smithy/types").AuthScheme
90
+ authScheme?: import("@smithy/types").AuthScheme,
106
91
  ) => Promise<import("@smithy/types").RequestSigner>);
107
92
  signingEscapePath?: boolean;
108
93
  systemClockOffset?: number;
109
94
  signingRegion?: string;
110
95
  signerConstructor?: new (
111
96
  options: import("@smithy/signature-v4").SignatureV4Init &
112
- import("@smithy/signature-v4").SignatureV4CryptoInit
97
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
113
98
  ) => import("@smithy/types").RequestSigner;
114
99
  };
@@ -1,8 +1,6 @@
1
1
  import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
2
2
  import { SageMakerRuntimeHTTP2ClientConfig } from "./SageMakerRuntimeHTTP2Client";
3
- export declare const getRuntimeConfig: (
4
- config: SageMakerRuntimeHTTP2ClientConfig
5
- ) => {
3
+ export declare const getRuntimeConfig: (config: SageMakerRuntimeHTTP2ClientConfig) => {
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").SageMakerRuntimeHTTP2HttpAuthSchemeProvider;
@@ -1,13 +1,11 @@
1
1
  import { SageMakerRuntimeHTTP2ExtensionConfiguration } from "./extensionConfiguration";
2
2
  export interface RuntimeExtension {
3
- configure(
4
- extensionConfiguration: SageMakerRuntimeHTTP2ExtensionConfiguration
5
- ): void;
3
+ configure(extensionConfiguration: SageMakerRuntimeHTTP2ExtensionConfiguration): 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-http2",
3
+ "version": "3.1089.0",
3
4
  "description": "AWS SDK for JavaScript Sagemaker Runtime Http2 Client for Node.js, Browser and React Native",
4
- "version": "3.1087.0",
5
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sagemaker-runtime-http2",
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-http2"
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",
@@ -18,24 +49,20 @@
18
49
  "test:integration:watch": "yarn g:vitest watch --passWithNoTests -c vitest.config.integ.mts",
19
50
  "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
20
51
  },
21
- "main": "./dist-cjs/index.js",
22
- "types": "./dist-types/index.d.ts",
23
- "module": "./dist-es/index.js",
24
- "sideEffects": false,
25
52
  "dependencies": {
26
- "@aws-sdk/core": "^3.975.2",
27
- "@aws-sdk/credential-provider-node": "^3.972.68",
28
- "@aws-sdk/eventstream-handler-node": "^3.972.27",
29
- "@aws-sdk/middleware-eventstream": "^3.972.23",
30
- "@aws-sdk/types": "^3.974.1",
31
- "@smithy/core": "^3.29.3",
32
- "@smithy/fetch-http-handler": "^5.6.5",
33
- "@smithy/node-http-handler": "^4.9.5",
53
+ "@aws-sdk/core": "^3.975.3",
54
+ "@aws-sdk/credential-provider-node": "^3.972.70",
55
+ "@aws-sdk/eventstream-handler-node": "^3.972.29",
56
+ "@aws-sdk/middleware-eventstream": "^3.972.24",
57
+ "@aws-sdk/types": "^3.974.2",
58
+ "@smithy/core": "^3.29.4",
59
+ "@smithy/fetch-http-handler": "^5.6.6",
60
+ "@smithy/node-http-handler": "^4.9.6",
34
61
  "@smithy/types": "^4.16.1",
35
62
  "tslib": "^2.6.2"
36
63
  },
37
64
  "devDependencies": {
38
- "@smithy/snapshot-testing": "^2.2.8",
65
+ "@smithy/snapshot-testing": "^2.2.9",
39
66
  "@tsconfig/node20": "20.1.8",
40
67
  "@types/node": "^20.14.8",
41
68
  "concurrently": "7.0.0",
@@ -46,32 +73,5 @@
46
73
  },
47
74
  "engines": {
48
75
  "node": ">=20.0.0"
49
- },
50
- "typesVersions": {
51
- "<4.5": {
52
- "dist-types/*": [
53
- "dist-types/ts3.4/*"
54
- ]
55
- }
56
- },
57
- "files": [
58
- "dist-*/**"
59
- ],
60
- "author": {
61
- "name": "AWS SDK for JavaScript Team",
62
- "url": "https://aws.amazon.com/sdk-for-javascript/"
63
- },
64
- "license": "Apache-2.0",
65
- "browser": {
66
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
67
- },
68
- "react-native": {
69
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
70
- },
71
- "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sagemaker-runtime-http2",
72
- "repository": {
73
- "type": "git",
74
- "url": "https://github.com/aws/aws-sdk-js-v3.git",
75
- "directory": "clients/client-sagemaker-runtime-http2"
76
76
  }
77
77
  }