@aws-sdk/client-sagemaker-inference-router-runtime 0.0.0-stage → 3.1171.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/LICENSE +201 -0
- package/README.md +194 -2
- package/dist-cjs/index.js +643 -0
- package/dist-es/SageMakerInferenceRouterRuntime.js +11 -0
- package/dist-es/SageMakerInferenceRouterRuntimeClient.js +47 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/InvokeInferenceRouterAsyncCommand.js +4 -0
- package/dist-es/commands/InvokeInferenceRouterCommand.js +4 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/endpoint/EndpointParameters.js +13 -0
- package/dist-es/endpoint/bdd.js +48 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +8 -0
- package/dist-es/models/SageMakerInferenceRouterRuntimeServiceException.js +9 -0
- package/dist-es/models/errors.js +149 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/runtimeConfig.browser.js +29 -0
- package/dist-es/runtimeConfig.js +44 -0
- package/dist-es/runtimeConfig.native.js +9 -0
- package/dist-es/runtimeConfig.shared.js +40 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +157 -0
- package/dist-types/SageMakerInferenceRouterRuntime.d.ts +30 -0
- package/dist-types/SageMakerInferenceRouterRuntimeClient.d.ts +189 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/InvokeInferenceRouterAsyncCommand.d.ts +101 -0
- package/dist-types/commands/InvokeInferenceRouterCommand.d.ts +142 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +50 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +16 -0
- package/dist-types/models/SageMakerInferenceRouterRuntimeServiceException.d.ts +15 -0
- package/dist-types/models/errors.d.ts +186 -0
- package/dist-types/models/models_0.d.ts +160 -0
- package/dist-types/runtimeConfig.browser.d.ts +57 -0
- package/dist-types/runtimeConfig.d.ts +58 -0
- package/dist-types/runtimeConfig.native.d.ts +56 -0
- package/dist-types/runtimeConfig.shared.d.ts +28 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +24 -0
- package/dist-types/ts3.4/SageMakerInferenceRouterRuntime.d.ts +47 -0
- package/dist-types/ts3.4/SageMakerInferenceRouterRuntimeClient.d.ts +117 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +27 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +40 -0
- package/dist-types/ts3.4/commands/InvokeInferenceRouterAsyncCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/InvokeInferenceRouterCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +10 -0
- package/dist-types/ts3.4/index.d.ts +11 -0
- package/dist-types/ts3.4/models/SageMakerInferenceRouterRuntimeServiceException.d.ts +10 -0
- package/dist-types/ts3.4/models/errors.d.ts +75 -0
- package/dist-types/ts3.4/models/models_0.d.ts +36 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +96 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +31 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +19 -0
- package/package.json +67 -4
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
|
+
import type { SageMakerInferenceRouterRuntimeClientConfig } from "./SageMakerInferenceRouterRuntimeClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: SageMakerInferenceRouterRuntimeClientConfig) => {
|
|
7
|
+
cacheMiddleware?: boolean;
|
|
8
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Endpoint | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<string> | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
9
|
+
tls?: boolean;
|
|
10
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
11
|
+
serviceConfiguredEndpoint?: never;
|
|
12
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
13
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
14
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
|
|
15
|
+
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
|
|
16
|
+
signingEscapePath?: boolean;
|
|
17
|
+
systemClockOffset?: number;
|
|
18
|
+
signingRegion?: string;
|
|
19
|
+
signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
|
|
20
|
+
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
|
+
apiVersion: string;
|
|
22
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
23
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
24
|
+
disableHostPrefix: boolean;
|
|
25
|
+
endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
26
|
+
logger?: import("@smithy/types").Logger;
|
|
27
|
+
}) => import("@smithy/types").EndpointV2;
|
|
28
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
29
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SageMakerInferenceRouterRuntimeHttpAuthSchemeProvider;
|
|
30
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
31
|
+
logger: import("@smithy/types").Logger;
|
|
32
|
+
protocol: import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
33
|
+
protocolSettings: {
|
|
34
|
+
[setting: string]: unknown;
|
|
35
|
+
defaultNamespace?: string;
|
|
36
|
+
};
|
|
37
|
+
serviceId: string;
|
|
38
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
39
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
40
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
41
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
42
|
+
runtime: string;
|
|
43
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
|
|
44
|
+
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
45
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
46
|
+
credentialDefaultProvider: ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider) | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider);
|
|
47
|
+
defaultSocketTimeout: number | undefined;
|
|
48
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
49
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
50
|
+
region: string | import("@smithy/types").Provider<string>;
|
|
51
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
52
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
53
|
+
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
54
|
+
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
55
|
+
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
56
|
+
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
57
|
+
profile?: string;
|
|
58
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { SageMakerInferenceRouterRuntimeClientConfig } from "./SageMakerInferenceRouterRuntimeClient";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare const getRuntimeConfig: (config: SageMakerInferenceRouterRuntimeClientConfig) => {
|
|
6
|
+
cacheMiddleware?: boolean;
|
|
7
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Endpoint | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<string> | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
8
|
+
tls?: boolean;
|
|
9
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
10
|
+
serviceConfiguredEndpoint?: never;
|
|
11
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
12
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
13
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
14
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
|
|
15
|
+
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
|
|
16
|
+
signingEscapePath?: boolean;
|
|
17
|
+
systemClockOffset?: number;
|
|
18
|
+
signingRegion?: string;
|
|
19
|
+
signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
|
|
20
|
+
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
22
|
+
apiVersion: string;
|
|
23
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
24
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
25
|
+
disableHostPrefix: boolean;
|
|
26
|
+
endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
27
|
+
logger?: import("@smithy/types").Logger;
|
|
28
|
+
}) => import("@smithy/types").EndpointV2;
|
|
29
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SageMakerInferenceRouterRuntimeHttpAuthSchemeProvider;
|
|
31
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
32
|
+
logger: import("@smithy/types").Logger;
|
|
33
|
+
protocol: import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
34
|
+
protocolSettings: {
|
|
35
|
+
[setting: string]: unknown;
|
|
36
|
+
defaultNamespace?: string;
|
|
37
|
+
};
|
|
38
|
+
serviceId: string;
|
|
39
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
40
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
41
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
42
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
43
|
+
profile?: string;
|
|
44
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode> | import("@smithy/core/client").DefaultsMode;
|
|
45
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
46
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
47
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
48
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
49
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
50
|
+
requestHandler: import("@smithy/fetch-http-handler").FetchHttpHandler | import("@smithy/types").FetchHttpHandlerOptions | import("@smithy/types").NodeHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any>;
|
|
51
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
52
|
+
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
53
|
+
useDualstackEndpoint: boolean | (() => Promise<boolean>);
|
|
54
|
+
useFipsEndpoint: boolean | (() => Promise<boolean>);
|
|
55
|
+
runtime: string;
|
|
56
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
|
+
import type { SageMakerInferenceRouterRuntimeClientConfig } from "./SageMakerInferenceRouterRuntimeClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: SageMakerInferenceRouterRuntimeClientConfig) => {
|
|
7
|
+
apiVersion: string;
|
|
8
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
9
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
10
|
+
disableHostPrefix: boolean;
|
|
11
|
+
endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
12
|
+
logger?: import("@smithy/types").Logger;
|
|
13
|
+
}) => import("@smithy/types").EndpointV2;
|
|
14
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
15
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SageMakerInferenceRouterRuntimeHttpAuthSchemeProvider;
|
|
16
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
17
|
+
logger: import("@smithy/types").Logger;
|
|
18
|
+
protocol: import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | typeof AwsRestJsonProtocol;
|
|
19
|
+
protocolSettings: {
|
|
20
|
+
[setting: string]: unknown;
|
|
21
|
+
defaultNamespace?: string;
|
|
22
|
+
};
|
|
23
|
+
serviceId: string;
|
|
24
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
25
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
26
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
27
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
28
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { SageMakerInferenceRouterRuntimeExtensionConfiguration } from "./extensionConfiguration";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface RuntimeExtension {
|
|
6
|
+
configure(extensionConfiguration: SageMakerInferenceRouterRuntimeExtensionConfiguration): void;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export interface RuntimeExtensionsConfig {
|
|
12
|
+
extensions: RuntimeExtension[];
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
+
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
3
|
+
export declare var SageMakerInferenceRouterRuntimeServiceException$: StaticErrorSchema;
|
|
4
|
+
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
5
|
+
export declare var InternalDependencyException$: StaticErrorSchema;
|
|
6
|
+
export declare var InternalFailure$: StaticErrorSchema;
|
|
7
|
+
export declare var ModelError$: StaticErrorSchema;
|
|
8
|
+
export declare var ModelNotReadyException$: StaticErrorSchema;
|
|
9
|
+
export declare var RequestTimeoutException$: StaticErrorSchema;
|
|
10
|
+
export declare var ServiceUnavailableException$: StaticErrorSchema;
|
|
11
|
+
export declare var ThrottlingException$: StaticErrorSchema;
|
|
12
|
+
export declare var ValidationException$: StaticErrorSchema;
|
|
13
|
+
/**
|
|
14
|
+
* TypeRegistry instances containing modeled errors.
|
|
15
|
+
* @internal
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
19
|
+
export declare var InvokeInferenceRouterAsyncInput$: StaticStructureSchema;
|
|
20
|
+
export declare var InvokeInferenceRouterAsyncOutput$: StaticStructureSchema;
|
|
21
|
+
export declare var InvokeInferenceRouterInput$: StaticStructureSchema;
|
|
22
|
+
export declare var InvokeInferenceRouterOutput$: StaticStructureSchema;
|
|
23
|
+
export declare var InvokeInferenceRouter$: StaticOperationSchema;
|
|
24
|
+
export declare var InvokeInferenceRouterAsync$: StaticOperationSchema;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
MetricsRecorder as __MetricsRecorder,
|
|
4
|
+
} from "@smithy/types";
|
|
5
|
+
import {
|
|
6
|
+
InvokeInferenceRouterAsyncCommandInput,
|
|
7
|
+
InvokeInferenceRouterAsyncCommandOutput,
|
|
8
|
+
} from "./commands/InvokeInferenceRouterAsyncCommand";
|
|
9
|
+
import {
|
|
10
|
+
InvokeInferenceRouterCommandInput,
|
|
11
|
+
InvokeInferenceRouterCommandOutput,
|
|
12
|
+
} from "./commands/InvokeInferenceRouterCommand";
|
|
13
|
+
import { SageMakerInferenceRouterRuntimeClient } from "./SageMakerInferenceRouterRuntimeClient";
|
|
14
|
+
export interface SageMakerInferenceRouterRuntimeRequestOptions extends __HttpHandlerOptions {
|
|
15
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
16
|
+
}
|
|
17
|
+
export interface SageMakerInferenceRouterRuntime {
|
|
18
|
+
invokeInferenceRouter(
|
|
19
|
+
args: InvokeInferenceRouterCommandInput,
|
|
20
|
+
options?: SageMakerInferenceRouterRuntimeRequestOptions,
|
|
21
|
+
): Promise<InvokeInferenceRouterCommandOutput>;
|
|
22
|
+
invokeInferenceRouter(
|
|
23
|
+
args: InvokeInferenceRouterCommandInput,
|
|
24
|
+
cb: (err: any, data?: InvokeInferenceRouterCommandOutput) => void,
|
|
25
|
+
): void;
|
|
26
|
+
invokeInferenceRouter(
|
|
27
|
+
args: InvokeInferenceRouterCommandInput,
|
|
28
|
+
options: SageMakerInferenceRouterRuntimeRequestOptions,
|
|
29
|
+
cb: (err: any, data?: InvokeInferenceRouterCommandOutput) => void,
|
|
30
|
+
): void;
|
|
31
|
+
invokeInferenceRouterAsync(
|
|
32
|
+
args: InvokeInferenceRouterAsyncCommandInput,
|
|
33
|
+
options?: SageMakerInferenceRouterRuntimeRequestOptions,
|
|
34
|
+
): Promise<InvokeInferenceRouterAsyncCommandOutput>;
|
|
35
|
+
invokeInferenceRouterAsync(
|
|
36
|
+
args: InvokeInferenceRouterAsyncCommandInput,
|
|
37
|
+
cb: (err: any, data?: InvokeInferenceRouterAsyncCommandOutput) => void,
|
|
38
|
+
): void;
|
|
39
|
+
invokeInferenceRouterAsync(
|
|
40
|
+
args: InvokeInferenceRouterAsyncCommandInput,
|
|
41
|
+
options: SageMakerInferenceRouterRuntimeRequestOptions,
|
|
42
|
+
cb: (err: any, data?: InvokeInferenceRouterAsyncCommandOutput) => void,
|
|
43
|
+
): void;
|
|
44
|
+
}
|
|
45
|
+
export declare class SageMakerInferenceRouterRuntime
|
|
46
|
+
extends SageMakerInferenceRouterRuntimeClient
|
|
47
|
+
implements SageMakerInferenceRouterRuntime {}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import {
|
|
2
|
+
HostHeaderInputConfig,
|
|
3
|
+
HostHeaderResolvedConfig,
|
|
4
|
+
UserAgentInputConfig,
|
|
5
|
+
UserAgentResolvedConfig,
|
|
6
|
+
} from "@aws-sdk/core/client";
|
|
7
|
+
import {
|
|
8
|
+
DefaultsMode as __DefaultsMode,
|
|
9
|
+
SmithyConfiguration as __SmithyConfiguration,
|
|
10
|
+
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
11
|
+
Client as __Client,
|
|
12
|
+
} from "@smithy/core/client";
|
|
13
|
+
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
|
|
14
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
15
|
+
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
16
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
|
|
17
|
+
import {
|
|
18
|
+
AwsCredentialIdentityProvider,
|
|
19
|
+
BodyLengthCalculator as __BodyLengthCalculator,
|
|
20
|
+
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
21
|
+
ChecksumConstructor as __ChecksumConstructor,
|
|
22
|
+
Decoder as __Decoder,
|
|
23
|
+
Encoder as __Encoder,
|
|
24
|
+
HashConstructor as __HashConstructor,
|
|
25
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
26
|
+
Logger as __Logger,
|
|
27
|
+
Provider as __Provider,
|
|
28
|
+
StreamCollector as __StreamCollector,
|
|
29
|
+
UrlParser as __UrlParser,
|
|
30
|
+
UserAgent as __UserAgent,
|
|
31
|
+
} from "@smithy/types";
|
|
32
|
+
import {
|
|
33
|
+
HttpAuthSchemeInputConfig,
|
|
34
|
+
HttpAuthSchemeResolvedConfig,
|
|
35
|
+
} from "./auth/httpAuthSchemeProvider";
|
|
36
|
+
import {
|
|
37
|
+
InvokeInferenceRouterAsyncCommandInput,
|
|
38
|
+
InvokeInferenceRouterAsyncCommandOutput,
|
|
39
|
+
} from "./commands/InvokeInferenceRouterAsyncCommand";
|
|
40
|
+
import {
|
|
41
|
+
InvokeInferenceRouterCommandInput,
|
|
42
|
+
InvokeInferenceRouterCommandOutput,
|
|
43
|
+
} from "./commands/InvokeInferenceRouterCommand";
|
|
44
|
+
import {
|
|
45
|
+
ClientInputEndpointParameters,
|
|
46
|
+
ClientResolvedEndpointParameters,
|
|
47
|
+
EndpointParameters,
|
|
48
|
+
} from "./endpoint/EndpointParameters";
|
|
49
|
+
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
50
|
+
export { __Client };
|
|
51
|
+
export type ServiceInputTypes =
|
|
52
|
+
| InvokeInferenceRouterAsyncCommandInput
|
|
53
|
+
| InvokeInferenceRouterCommandInput;
|
|
54
|
+
export type ServiceOutputTypes =
|
|
55
|
+
| InvokeInferenceRouterAsyncCommandOutput
|
|
56
|
+
| InvokeInferenceRouterCommandOutput;
|
|
57
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
58
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
59
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
60
|
+
urlParser?: __UrlParser;
|
|
61
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
62
|
+
streamCollector?: __StreamCollector;
|
|
63
|
+
base64Decoder?: __Decoder;
|
|
64
|
+
base64Encoder?: __Encoder;
|
|
65
|
+
utf8Decoder?: __Decoder;
|
|
66
|
+
utf8Encoder?: __Encoder;
|
|
67
|
+
runtime?: string;
|
|
68
|
+
disableHostPrefix?: boolean;
|
|
69
|
+
serviceId?: string;
|
|
70
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
71
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
72
|
+
region?: string | __Provider<string>;
|
|
73
|
+
profile?: string;
|
|
74
|
+
defaultUserAgentProvider?: __Provider<__UserAgent>;
|
|
75
|
+
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
76
|
+
maxAttempts?: number | __Provider<number>;
|
|
77
|
+
retryMode?: string | __Provider<string>;
|
|
78
|
+
logger?: __Logger;
|
|
79
|
+
extensions?: RuntimeExtension[];
|
|
80
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
81
|
+
}
|
|
82
|
+
export type SageMakerInferenceRouterRuntimeClientConfigType = Partial<
|
|
83
|
+
__SmithyConfiguration<__HttpHandlerOptions>
|
|
84
|
+
> &
|
|
85
|
+
ClientDefaults &
|
|
86
|
+
UserAgentInputConfig &
|
|
87
|
+
RetryInputConfig &
|
|
88
|
+
RegionInputConfig &
|
|
89
|
+
HostHeaderInputConfig &
|
|
90
|
+
EndpointInputConfig<EndpointParameters> &
|
|
91
|
+
HttpAuthSchemeInputConfig &
|
|
92
|
+
ClientInputEndpointParameters;
|
|
93
|
+
export interface SageMakerInferenceRouterRuntimeClientConfig extends SageMakerInferenceRouterRuntimeClientConfigType {}
|
|
94
|
+
export type SageMakerInferenceRouterRuntimeClientResolvedConfigType =
|
|
95
|
+
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
96
|
+
Required<ClientDefaults> &
|
|
97
|
+
RuntimeExtensionsConfig &
|
|
98
|
+
UserAgentResolvedConfig &
|
|
99
|
+
RetryResolvedConfig &
|
|
100
|
+
RegionResolvedConfig &
|
|
101
|
+
HostHeaderResolvedConfig &
|
|
102
|
+
EndpointResolvedConfig<EndpointParameters> &
|
|
103
|
+
HttpAuthSchemeResolvedConfig &
|
|
104
|
+
ClientResolvedEndpointParameters;
|
|
105
|
+
export interface SageMakerInferenceRouterRuntimeClientResolvedConfig extends SageMakerInferenceRouterRuntimeClientResolvedConfigType {}
|
|
106
|
+
export declare class SageMakerInferenceRouterRuntimeClient extends __Client<
|
|
107
|
+
__HttpHandlerOptions,
|
|
108
|
+
ServiceInputTypes,
|
|
109
|
+
ServiceOutputTypes,
|
|
110
|
+
SageMakerInferenceRouterRuntimeClientResolvedConfig
|
|
111
|
+
> {
|
|
112
|
+
readonly config: SageMakerInferenceRouterRuntimeClientResolvedConfig;
|
|
113
|
+
constructor(
|
|
114
|
+
...[configuration]: __CheckOptionalClientConfig<SageMakerInferenceRouterRuntimeClientConfig>
|
|
115
|
+
);
|
|
116
|
+
destroy(): void;
|
|
117
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AwsCredentialIdentity,
|
|
3
|
+
AwsCredentialIdentityProvider,
|
|
4
|
+
HttpAuthScheme,
|
|
5
|
+
} from "@smithy/types";
|
|
6
|
+
import { SageMakerInferenceRouterRuntimeHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
7
|
+
export interface HttpAuthExtensionConfiguration {
|
|
8
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
+
setHttpAuthSchemeProvider(
|
|
11
|
+
httpAuthSchemeProvider: SageMakerInferenceRouterRuntimeHttpAuthSchemeProvider,
|
|
12
|
+
): void;
|
|
13
|
+
httpAuthSchemeProvider(): SageMakerInferenceRouterRuntimeHttpAuthSchemeProvider;
|
|
14
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
15
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
16
|
+
}
|
|
17
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
18
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
19
|
+
httpAuthSchemeProvider: SageMakerInferenceRouterRuntimeHttpAuthSchemeProvider;
|
|
20
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
21
|
+
}>;
|
|
22
|
+
export declare const getHttpAuthExtensionConfiguration: (
|
|
23
|
+
runtimeConfig: HttpAuthRuntimeConfig,
|
|
24
|
+
) => HttpAuthExtensionConfiguration;
|
|
25
|
+
export declare const resolveHttpAuthRuntimeConfig: (
|
|
26
|
+
config: HttpAuthExtensionConfiguration,
|
|
27
|
+
) => HttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AwsSdkSigV4AuthInputConfig,
|
|
3
|
+
AwsSdkSigV4AuthResolvedConfig,
|
|
4
|
+
AwsSdkSigV4PreviouslyResolved,
|
|
5
|
+
} from "@aws-sdk/core/httpAuthSchemes";
|
|
6
|
+
import {
|
|
7
|
+
HandlerExecutionContext,
|
|
8
|
+
HttpAuthScheme,
|
|
9
|
+
HttpAuthSchemeParameters,
|
|
10
|
+
HttpAuthSchemeParametersProvider,
|
|
11
|
+
HttpAuthSchemeProvider,
|
|
12
|
+
Provider,
|
|
13
|
+
} from "@smithy/types";
|
|
14
|
+
import { SageMakerInferenceRouterRuntimeClientResolvedConfig } from "../SageMakerInferenceRouterRuntimeClient";
|
|
15
|
+
export interface SageMakerInferenceRouterRuntimeHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
16
|
+
region?: string;
|
|
17
|
+
}
|
|
18
|
+
export interface SageMakerInferenceRouterRuntimeHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
|
|
19
|
+
SageMakerInferenceRouterRuntimeClientResolvedConfig,
|
|
20
|
+
HandlerExecutionContext,
|
|
21
|
+
SageMakerInferenceRouterRuntimeHttpAuthSchemeParameters,
|
|
22
|
+
object
|
|
23
|
+
> {}
|
|
24
|
+
export declare const defaultSageMakerInferenceRouterRuntimeHttpAuthSchemeParametersProvider: (
|
|
25
|
+
config: SageMakerInferenceRouterRuntimeClientResolvedConfig,
|
|
26
|
+
context: HandlerExecutionContext,
|
|
27
|
+
input: object,
|
|
28
|
+
) => Promise<SageMakerInferenceRouterRuntimeHttpAuthSchemeParameters>;
|
|
29
|
+
export interface SageMakerInferenceRouterRuntimeHttpAuthSchemeProvider extends HttpAuthSchemeProvider<SageMakerInferenceRouterRuntimeHttpAuthSchemeParameters> {}
|
|
30
|
+
export declare const defaultSageMakerInferenceRouterRuntimeHttpAuthSchemeProvider: SageMakerInferenceRouterRuntimeHttpAuthSchemeProvider;
|
|
31
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
32
|
+
authSchemePreference?: string[] | Provider<string[]>;
|
|
33
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
34
|
+
httpAuthSchemeProvider?: SageMakerInferenceRouterRuntimeHttpAuthSchemeProvider;
|
|
35
|
+
}
|
|
36
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
37
|
+
readonly authSchemePreference: Provider<string[]>;
|
|
38
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
39
|
+
readonly httpAuthSchemeProvider: SageMakerInferenceRouterRuntimeHttpAuthSchemeProvider;
|
|
40
|
+
}
|
|
41
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
42
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
|
|
43
|
+
) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
SageMakerInferenceRouterRuntimeClientResolvedConfig,
|
|
4
|
+
ServiceInputTypes,
|
|
5
|
+
ServiceOutputTypes,
|
|
6
|
+
} from "./SageMakerInferenceRouterRuntimeClient";
|
|
7
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(
|
|
8
|
+
added: EndpointParameterInstructions,
|
|
9
|
+
plugins: (
|
|
10
|
+
CommandCtor: any,
|
|
11
|
+
clientStack: any,
|
|
12
|
+
config: any,
|
|
13
|
+
options: any,
|
|
14
|
+
) => import("@smithy/types").Pluggable<any, any>[],
|
|
15
|
+
op: string,
|
|
16
|
+
$: import("@smithy/types").StaticOperationSchema,
|
|
17
|
+
smithyContext?: Record<string, unknown>,
|
|
18
|
+
) => {
|
|
19
|
+
new (
|
|
20
|
+
input: I,
|
|
21
|
+
): import("@smithy/core/client").CommandImpl<
|
|
22
|
+
I,
|
|
23
|
+
O,
|
|
24
|
+
SageMakerInferenceRouterRuntimeClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
...[input]: import("@smithy/types").OptionalParameter<I>
|
|
30
|
+
): import("@smithy/core/client").CommandImpl<
|
|
31
|
+
I,
|
|
32
|
+
O,
|
|
33
|
+
SageMakerInferenceRouterRuntimeClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
40
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
InvokeInferenceRouterAsyncInput,
|
|
4
|
+
InvokeInferenceRouterAsyncOutput,
|
|
5
|
+
} from "../models/models_0";
|
|
6
|
+
export { __MetadataBearer };
|
|
7
|
+
export interface InvokeInferenceRouterAsyncCommandInput extends InvokeInferenceRouterAsyncInput {}
|
|
8
|
+
export interface InvokeInferenceRouterAsyncCommandOutput
|
|
9
|
+
extends InvokeInferenceRouterAsyncOutput, __MetadataBearer {}
|
|
10
|
+
declare const InvokeInferenceRouterAsyncCommand_base: {
|
|
11
|
+
new (
|
|
12
|
+
input: InvokeInferenceRouterAsyncCommandInput,
|
|
13
|
+
): import("@smithy/core/client").CommandImpl<
|
|
14
|
+
InvokeInferenceRouterAsyncCommandInput,
|
|
15
|
+
InvokeInferenceRouterAsyncCommandOutput,
|
|
16
|
+
import("..").SageMakerInferenceRouterRuntimeClientResolvedConfig,
|
|
17
|
+
import("..").ServiceInputTypes,
|
|
18
|
+
import("..").ServiceOutputTypes
|
|
19
|
+
>;
|
|
20
|
+
new (
|
|
21
|
+
input: InvokeInferenceRouterAsyncCommandInput,
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
InvokeInferenceRouterAsyncCommandInput,
|
|
24
|
+
InvokeInferenceRouterAsyncCommandOutput,
|
|
25
|
+
import("..").SageMakerInferenceRouterRuntimeClientResolvedConfig,
|
|
26
|
+
import("..").ServiceInputTypes,
|
|
27
|
+
import("..").ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
|
+
};
|
|
31
|
+
export declare class InvokeInferenceRouterAsyncCommand extends InvokeInferenceRouterAsyncCommand_base {
|
|
32
|
+
protected static __types: {
|
|
33
|
+
api: {
|
|
34
|
+
input: InvokeInferenceRouterAsyncInput;
|
|
35
|
+
output: InvokeInferenceRouterAsyncOutput;
|
|
36
|
+
};
|
|
37
|
+
sdk: {
|
|
38
|
+
input: InvokeInferenceRouterAsyncCommandInput;
|
|
39
|
+
output: InvokeInferenceRouterAsyncCommandOutput;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { Uint8ArrayBlobAdapter } from "@smithy/core/serde";
|
|
2
|
+
import { BlobPayloadInputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { InvokeInferenceRouterInput, InvokeInferenceRouterOutput } from "../models/models_0";
|
|
4
|
+
export { __MetadataBearer };
|
|
5
|
+
export type InvokeInferenceRouterCommandInputType = Pick<
|
|
6
|
+
InvokeInferenceRouterInput,
|
|
7
|
+
Exclude<keyof InvokeInferenceRouterInput, "Body">
|
|
8
|
+
> & {
|
|
9
|
+
Body: BlobPayloadInputTypes;
|
|
10
|
+
};
|
|
11
|
+
export interface InvokeInferenceRouterCommandInput extends InvokeInferenceRouterCommandInputType {}
|
|
12
|
+
export type InvokeInferenceRouterCommandOutputType = Pick<
|
|
13
|
+
InvokeInferenceRouterOutput,
|
|
14
|
+
Exclude<keyof InvokeInferenceRouterOutput, "Body">
|
|
15
|
+
> & {
|
|
16
|
+
Body?: Uint8ArrayBlobAdapter;
|
|
17
|
+
};
|
|
18
|
+
export interface InvokeInferenceRouterCommandOutput
|
|
19
|
+
extends InvokeInferenceRouterCommandOutputType, __MetadataBearer {}
|
|
20
|
+
declare const InvokeInferenceRouterCommand_base: {
|
|
21
|
+
new (
|
|
22
|
+
input: InvokeInferenceRouterCommandInput,
|
|
23
|
+
): import("@smithy/core/client").CommandImpl<
|
|
24
|
+
InvokeInferenceRouterCommandInput,
|
|
25
|
+
InvokeInferenceRouterCommandOutput,
|
|
26
|
+
import("..").SageMakerInferenceRouterRuntimeClientResolvedConfig,
|
|
27
|
+
import("..").ServiceInputTypes,
|
|
28
|
+
import("..").ServiceOutputTypes
|
|
29
|
+
>;
|
|
30
|
+
new (
|
|
31
|
+
input: InvokeInferenceRouterCommandInput,
|
|
32
|
+
): import("@smithy/core/client").CommandImpl<
|
|
33
|
+
InvokeInferenceRouterCommandInput,
|
|
34
|
+
InvokeInferenceRouterCommandOutput,
|
|
35
|
+
import("..").SageMakerInferenceRouterRuntimeClientResolvedConfig,
|
|
36
|
+
import("..").ServiceInputTypes,
|
|
37
|
+
import("..").ServiceOutputTypes
|
|
38
|
+
>;
|
|
39
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
40
|
+
};
|
|
41
|
+
export declare class InvokeInferenceRouterCommand extends InvokeInferenceRouterCommand_base {
|
|
42
|
+
protected static __types: {
|
|
43
|
+
api: {
|
|
44
|
+
input: InvokeInferenceRouterInput;
|
|
45
|
+
output: InvokeInferenceRouterOutput;
|
|
46
|
+
};
|
|
47
|
+
sdk: {
|
|
48
|
+
input: InvokeInferenceRouterCommandInput;
|
|
49
|
+
output: InvokeInferenceRouterCommandOutput;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Endpoint,
|
|
3
|
+
EndpointParameters as __EndpointParameters,
|
|
4
|
+
EndpointV2,
|
|
5
|
+
Provider,
|
|
6
|
+
} from "@smithy/types";
|
|
7
|
+
export interface ClientInputEndpointParameters {
|
|
8
|
+
useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
9
|
+
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
10
|
+
endpoint?:
|
|
11
|
+
| string
|
|
12
|
+
| Provider<string>
|
|
13
|
+
| Endpoint
|
|
14
|
+
| Provider<Endpoint>
|
|
15
|
+
| EndpointV2
|
|
16
|
+
| Provider<EndpointV2>;
|
|
17
|
+
region?: string | undefined | Provider<string | undefined>;
|
|
18
|
+
}
|
|
19
|
+
export type ClientResolvedEndpointParameters = Pick<
|
|
20
|
+
ClientInputEndpointParameters,
|
|
21
|
+
Exclude<keyof ClientInputEndpointParameters, "endpoint">
|
|
22
|
+
> & {
|
|
23
|
+
defaultSigningName: string;
|
|
24
|
+
};
|
|
25
|
+
export declare const resolveClientEndpointParameters: <T>(
|
|
26
|
+
options: T & ClientInputEndpointParameters,
|
|
27
|
+
) => T & ClientResolvedEndpointParameters;
|
|
28
|
+
export declare const commonParams: {
|
|
29
|
+
readonly UseFIPS: {
|
|
30
|
+
readonly type: "builtInParams";
|
|
31
|
+
readonly name: "useFipsEndpoint";
|
|
32
|
+
};
|
|
33
|
+
readonly Endpoint: {
|
|
34
|
+
readonly type: "builtInParams";
|
|
35
|
+
readonly name: "endpoint";
|
|
36
|
+
};
|
|
37
|
+
readonly Region: {
|
|
38
|
+
readonly type: "builtInParams";
|
|
39
|
+
readonly name: "region";
|
|
40
|
+
};
|
|
41
|
+
readonly UseDualStack: {
|
|
42
|
+
readonly type: "builtInParams";
|
|
43
|
+
readonly name: "useDualstackEndpoint";
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
47
|
+
UseDualStack?: boolean | undefined;
|
|
48
|
+
UseFIPS?: boolean | undefined;
|
|
49
|
+
Endpoint?: string | undefined;
|
|
50
|
+
Region?: string | undefined;
|
|
51
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
|
|
3
|
+
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
+
export interface SageMakerInferenceRouterRuntimeExtensionConfiguration
|
|
6
|
+
extends
|
|
7
|
+
HttpHandlerExtensionConfiguration,
|
|
8
|
+
DefaultExtensionConfiguration,
|
|
9
|
+
AwsRegionExtensionConfiguration,
|
|
10
|
+
HttpAuthExtensionConfiguration {}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from "./SageMakerInferenceRouterRuntimeClient";
|
|
2
|
+
export * from "./SageMakerInferenceRouterRuntime";
|
|
3
|
+
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
4
|
+
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
|
+
export { SageMakerInferenceRouterRuntimeExtensionConfiguration } from "./extensionConfiguration";
|
|
6
|
+
export * from "./commands";
|
|
7
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
8
|
+
export * from "./schemas/schemas_0";
|
|
9
|
+
export * from "./models/errors";
|
|
10
|
+
export * from "./models/models_0";
|
|
11
|
+
export { SageMakerInferenceRouterRuntimeServiceException } from "./models/SageMakerInferenceRouterRuntimeServiceException";
|