@aws-sdk/client-sagemakertrainingsessionruntime 0.0.0-stage → 3.1150.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.
Files changed (85) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +222 -2
  3. package/dist-cjs/index.js +913 -0
  4. package/dist-es/SageMakerTrainingSessionRuntime.js +19 -0
  5. package/dist-es/SageMakerTrainingSessionRuntimeClient.js +47 -0
  6. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  7. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  8. package/dist-es/commandBuilder.js +6 -0
  9. package/dist-es/commands/ExecuteSamplingOperationCommand.js +4 -0
  10. package/dist-es/commands/ExecuteTrainingOperationCommand.js +4 -0
  11. package/dist-es/commands/GetSamplingOperationResultCommand.js +4 -0
  12. package/dist-es/commands/GetTrainingOperationResultCommand.js +4 -0
  13. package/dist-es/commands/SampleTrainingSessionCommand.js +4 -0
  14. package/dist-es/commands/SampleTrainingSessionWithResponseStreamCommand.js +4 -0
  15. package/dist-es/commands/index.js +6 -0
  16. package/dist-es/endpoint/EndpointParameters.js +11 -0
  17. package/dist-es/endpoint/bdd.js +29 -0
  18. package/dist-es/endpoint/endpointResolver.js +14 -0
  19. package/dist-es/extensionConfiguration.js +1 -0
  20. package/dist-es/index.js +9 -0
  21. package/dist-es/models/SageMakerTrainingSessionRuntimeServiceException.js +9 -0
  22. package/dist-es/models/enums.js +20 -0
  23. package/dist-es/models/errors.js +66 -0
  24. package/dist-es/models/models_0.js +1 -0
  25. package/dist-es/runtimeConfig.browser.js +29 -0
  26. package/dist-es/runtimeConfig.js +43 -0
  27. package/dist-es/runtimeConfig.native.js +9 -0
  28. package/dist-es/runtimeConfig.shared.js +41 -0
  29. package/dist-es/runtimeExtensions.js +9 -0
  30. package/dist-es/schemas/schemas_0.js +454 -0
  31. package/dist-types/SageMakerTrainingSessionRuntime.d.ts +58 -0
  32. package/dist-types/SageMakerTrainingSessionRuntimeClient.d.ts +197 -0
  33. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  34. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  35. package/dist-types/commandBuilder.d.ts +18 -0
  36. package/dist-types/commands/ExecuteSamplingOperationCommand.d.ts +169 -0
  37. package/dist-types/commands/ExecuteTrainingOperationCommand.d.ts +206 -0
  38. package/dist-types/commands/GetSamplingOperationResultCommand.d.ts +159 -0
  39. package/dist-types/commands/GetTrainingOperationResultCommand.d.ts +169 -0
  40. package/dist-types/commands/SampleTrainingSessionCommand.d.ts +123 -0
  41. package/dist-types/commands/SampleTrainingSessionWithResponseStreamCommand.d.ts +124 -0
  42. package/dist-types/commands/index.d.ts +6 -0
  43. package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
  44. package/dist-types/endpoint/bdd.d.ts +2 -0
  45. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  46. package/dist-types/extensionConfiguration.d.ts +9 -0
  47. package/dist-types/index.d.ts +17 -0
  48. package/dist-types/models/SageMakerTrainingSessionRuntimeServiceException.d.ts +15 -0
  49. package/dist-types/models/enums.d.ts +52 -0
  50. package/dist-types/models/errors.d.ts +67 -0
  51. package/dist-types/models/models_0.d.ts +1069 -0
  52. package/dist-types/runtimeConfig.browser.d.ts +58 -0
  53. package/dist-types/runtimeConfig.d.ts +58 -0
  54. package/dist-types/runtimeConfig.native.d.ts +57 -0
  55. package/dist-types/runtimeConfig.shared.d.ts +29 -0
  56. package/dist-types/runtimeExtensions.d.ts +17 -0
  57. package/dist-types/schemas/schemas_0.d.ts +64 -0
  58. package/dist-types/ts3.4/SageMakerTrainingSessionRuntime.d.ts +115 -0
  59. package/dist-types/ts3.4/SageMakerTrainingSessionRuntimeClient.d.ts +143 -0
  60. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +27 -0
  61. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
  62. package/dist-types/ts3.4/commandBuilder.d.ts +40 -0
  63. package/dist-types/ts3.4/commands/ExecuteSamplingOperationCommand.d.ts +39 -0
  64. package/dist-types/ts3.4/commands/ExecuteTrainingOperationCommand.d.ts +39 -0
  65. package/dist-types/ts3.4/commands/GetSamplingOperationResultCommand.d.ts +42 -0
  66. package/dist-types/ts3.4/commands/GetTrainingOperationResultCommand.d.ts +42 -0
  67. package/dist-types/ts3.4/commands/SampleTrainingSessionCommand.d.ts +52 -0
  68. package/dist-types/ts3.4/commands/SampleTrainingSessionWithResponseStreamCommand.d.ts +59 -0
  69. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  70. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  71. package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
  72. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  73. package/dist-types/ts3.4/extensionConfiguration.d.ts +10 -0
  74. package/dist-types/ts3.4/index.d.ts +12 -0
  75. package/dist-types/ts3.4/models/SageMakerTrainingSessionRuntimeServiceException.d.ts +10 -0
  76. package/dist-types/ts3.4/models/enums.d.ts +24 -0
  77. package/dist-types/ts3.4/models/errors.d.ts +32 -0
  78. package/dist-types/ts3.4/models/models_0.d.ts +417 -0
  79. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +94 -0
  80. package/dist-types/ts3.4/runtimeConfig.d.ts +96 -0
  81. package/dist-types/ts3.4/runtimeConfig.native.d.ts +98 -0
  82. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +32 -0
  83. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  84. package/dist-types/ts3.4/schemas/schemas_0.d.ts +64 -0
  85. package/package.json +67 -4
@@ -0,0 +1,40 @@
1
+ import { EndpointParameterInstructions } from "@smithy/types";
2
+ import {
3
+ SageMakerTrainingSessionRuntimeClientResolvedConfig,
4
+ ServiceInputTypes,
5
+ ServiceOutputTypes,
6
+ } from "./SageMakerTrainingSessionRuntimeClient";
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
+ SageMakerTrainingSessionRuntimeClientResolvedConfig,
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
+ SageMakerTrainingSessionRuntimeClientResolvedConfig,
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,39 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { ExecuteSamplingOperationInput, ExecuteSamplingOperationOutput } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface ExecuteSamplingOperationCommandInput extends ExecuteSamplingOperationInput {}
5
+ export interface ExecuteSamplingOperationCommandOutput
6
+ extends ExecuteSamplingOperationOutput, __MetadataBearer {}
7
+ declare const ExecuteSamplingOperationCommand_base: {
8
+ new (
9
+ input: ExecuteSamplingOperationCommandInput,
10
+ ): import("@smithy/core/client").CommandImpl<
11
+ ExecuteSamplingOperationCommandInput,
12
+ ExecuteSamplingOperationCommandOutput,
13
+ import("..").SageMakerTrainingSessionRuntimeClientResolvedConfig,
14
+ import("..").ServiceInputTypes,
15
+ import("..").ServiceOutputTypes
16
+ >;
17
+ new (
18
+ input: ExecuteSamplingOperationCommandInput,
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ ExecuteSamplingOperationCommandInput,
21
+ ExecuteSamplingOperationCommandOutput,
22
+ import("..").SageMakerTrainingSessionRuntimeClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
25
+ >;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
27
+ };
28
+ export declare class ExecuteSamplingOperationCommand extends ExecuteSamplingOperationCommand_base {
29
+ protected static __types: {
30
+ api: {
31
+ input: ExecuteSamplingOperationInput;
32
+ output: ExecuteSamplingOperationOutput;
33
+ };
34
+ sdk: {
35
+ input: ExecuteSamplingOperationCommandInput;
36
+ output: ExecuteSamplingOperationCommandOutput;
37
+ };
38
+ };
39
+ }
@@ -0,0 +1,39 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { ExecuteTrainingOperationInput, ExecuteTrainingOperationOutput } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface ExecuteTrainingOperationCommandInput extends ExecuteTrainingOperationInput {}
5
+ export interface ExecuteTrainingOperationCommandOutput
6
+ extends ExecuteTrainingOperationOutput, __MetadataBearer {}
7
+ declare const ExecuteTrainingOperationCommand_base: {
8
+ new (
9
+ input: ExecuteTrainingOperationCommandInput,
10
+ ): import("@smithy/core/client").CommandImpl<
11
+ ExecuteTrainingOperationCommandInput,
12
+ ExecuteTrainingOperationCommandOutput,
13
+ import("..").SageMakerTrainingSessionRuntimeClientResolvedConfig,
14
+ import("..").ServiceInputTypes,
15
+ import("..").ServiceOutputTypes
16
+ >;
17
+ new (
18
+ input: ExecuteTrainingOperationCommandInput,
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ ExecuteTrainingOperationCommandInput,
21
+ ExecuteTrainingOperationCommandOutput,
22
+ import("..").SageMakerTrainingSessionRuntimeClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
25
+ >;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
27
+ };
28
+ export declare class ExecuteTrainingOperationCommand extends ExecuteTrainingOperationCommand_base {
29
+ protected static __types: {
30
+ api: {
31
+ input: ExecuteTrainingOperationInput;
32
+ output: ExecuteTrainingOperationOutput;
33
+ };
34
+ sdk: {
35
+ input: ExecuteTrainingOperationCommandInput;
36
+ output: ExecuteTrainingOperationCommandOutput;
37
+ };
38
+ };
39
+ }
@@ -0,0 +1,42 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import {
3
+ GetSamplingOperationResultInput,
4
+ GetSamplingOperationResultOutput,
5
+ } from "../models/models_0";
6
+ export { __MetadataBearer };
7
+ export interface GetSamplingOperationResultCommandInput extends GetSamplingOperationResultInput {}
8
+ export interface GetSamplingOperationResultCommandOutput
9
+ extends GetSamplingOperationResultOutput, __MetadataBearer {}
10
+ declare const GetSamplingOperationResultCommand_base: {
11
+ new (
12
+ input: GetSamplingOperationResultCommandInput,
13
+ ): import("@smithy/core/client").CommandImpl<
14
+ GetSamplingOperationResultCommandInput,
15
+ GetSamplingOperationResultCommandOutput,
16
+ import("..").SageMakerTrainingSessionRuntimeClientResolvedConfig,
17
+ import("..").ServiceInputTypes,
18
+ import("..").ServiceOutputTypes
19
+ >;
20
+ new (
21
+ input: GetSamplingOperationResultCommandInput,
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ GetSamplingOperationResultCommandInput,
24
+ GetSamplingOperationResultCommandOutput,
25
+ import("..").SageMakerTrainingSessionRuntimeClientResolvedConfig,
26
+ import("..").ServiceInputTypes,
27
+ import("..").ServiceOutputTypes
28
+ >;
29
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
+ };
31
+ export declare class GetSamplingOperationResultCommand extends GetSamplingOperationResultCommand_base {
32
+ protected static __types: {
33
+ api: {
34
+ input: GetSamplingOperationResultInput;
35
+ output: GetSamplingOperationResultOutput;
36
+ };
37
+ sdk: {
38
+ input: GetSamplingOperationResultCommandInput;
39
+ output: GetSamplingOperationResultCommandOutput;
40
+ };
41
+ };
42
+ }
@@ -0,0 +1,42 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import {
3
+ GetTrainingOperationResultInput,
4
+ GetTrainingOperationResultOutput,
5
+ } from "../models/models_0";
6
+ export { __MetadataBearer };
7
+ export interface GetTrainingOperationResultCommandInput extends GetTrainingOperationResultInput {}
8
+ export interface GetTrainingOperationResultCommandOutput
9
+ extends GetTrainingOperationResultOutput, __MetadataBearer {}
10
+ declare const GetTrainingOperationResultCommand_base: {
11
+ new (
12
+ input: GetTrainingOperationResultCommandInput,
13
+ ): import("@smithy/core/client").CommandImpl<
14
+ GetTrainingOperationResultCommandInput,
15
+ GetTrainingOperationResultCommandOutput,
16
+ import("..").SageMakerTrainingSessionRuntimeClientResolvedConfig,
17
+ import("..").ServiceInputTypes,
18
+ import("..").ServiceOutputTypes
19
+ >;
20
+ new (
21
+ input: GetTrainingOperationResultCommandInput,
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ GetTrainingOperationResultCommandInput,
24
+ GetTrainingOperationResultCommandOutput,
25
+ import("..").SageMakerTrainingSessionRuntimeClientResolvedConfig,
26
+ import("..").ServiceInputTypes,
27
+ import("..").ServiceOutputTypes
28
+ >;
29
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
+ };
31
+ export declare class GetTrainingOperationResultCommand extends GetTrainingOperationResultCommand_base {
32
+ protected static __types: {
33
+ api: {
34
+ input: GetTrainingOperationResultInput;
35
+ output: GetTrainingOperationResultOutput;
36
+ };
37
+ sdk: {
38
+ input: GetTrainingOperationResultCommandInput;
39
+ output: GetTrainingOperationResultCommandOutput;
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 { SampleTrainingSessionInput, SampleTrainingSessionOutput } from "../models/models_0";
4
+ export { __MetadataBearer };
5
+ export type SampleTrainingSessionCommandInputType = Pick<
6
+ SampleTrainingSessionInput,
7
+ Exclude<keyof SampleTrainingSessionInput, "body">
8
+ > & {
9
+ body?: BlobPayloadInputTypes;
10
+ };
11
+ export interface SampleTrainingSessionCommandInput extends SampleTrainingSessionCommandInputType {}
12
+ export type SampleTrainingSessionCommandOutputType = Pick<
13
+ SampleTrainingSessionOutput,
14
+ Exclude<keyof SampleTrainingSessionOutput, "body">
15
+ > & {
16
+ body: Uint8ArrayBlobAdapter;
17
+ };
18
+ export interface SampleTrainingSessionCommandOutput
19
+ extends SampleTrainingSessionCommandOutputType, __MetadataBearer {}
20
+ declare const SampleTrainingSessionCommand_base: {
21
+ new (
22
+ input: SampleTrainingSessionCommandInput,
23
+ ): import("@smithy/core/client").CommandImpl<
24
+ SampleTrainingSessionCommandInput,
25
+ SampleTrainingSessionCommandOutput,
26
+ import("..").SageMakerTrainingSessionRuntimeClientResolvedConfig,
27
+ import("..").ServiceInputTypes,
28
+ import("..").ServiceOutputTypes
29
+ >;
30
+ new (
31
+ input: SampleTrainingSessionCommandInput,
32
+ ): import("@smithy/core/client").CommandImpl<
33
+ SampleTrainingSessionCommandInput,
34
+ SampleTrainingSessionCommandOutput,
35
+ import("..").SageMakerTrainingSessionRuntimeClientResolvedConfig,
36
+ import("..").ServiceInputTypes,
37
+ import("..").ServiceOutputTypes
38
+ >;
39
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
40
+ };
41
+ export declare class SampleTrainingSessionCommand extends SampleTrainingSessionCommand_base {
42
+ protected static __types: {
43
+ api: {
44
+ input: SampleTrainingSessionInput;
45
+ output: SampleTrainingSessionOutput;
46
+ };
47
+ sdk: {
48
+ input: SampleTrainingSessionCommandInput;
49
+ output: SampleTrainingSessionCommandOutput;
50
+ };
51
+ };
52
+ }
@@ -0,0 +1,59 @@
1
+ import {
2
+ BlobPayloadInputTypes,
3
+ MetadataBearer as __MetadataBearer,
4
+ StreamingBlobPayloadOutputTypes,
5
+ } from "@smithy/types";
6
+ import {
7
+ SampleTrainingSessionWithResponseStreamInput,
8
+ SampleTrainingSessionWithResponseStreamOutput,
9
+ } from "../models/models_0";
10
+ export { __MetadataBearer };
11
+ export type SampleTrainingSessionWithResponseStreamCommandInputType = Pick<
12
+ SampleTrainingSessionWithResponseStreamInput,
13
+ Exclude<keyof SampleTrainingSessionWithResponseStreamInput, "body">
14
+ > & {
15
+ body?: BlobPayloadInputTypes;
16
+ };
17
+ export interface SampleTrainingSessionWithResponseStreamCommandInput extends SampleTrainingSessionWithResponseStreamCommandInputType {}
18
+ export interface SampleTrainingSessionWithResponseStreamCommandOutput
19
+ extends
20
+ Pick<
21
+ SampleTrainingSessionWithResponseStreamOutput,
22
+ Exclude<keyof SampleTrainingSessionWithResponseStreamOutput, "body">
23
+ >,
24
+ __MetadataBearer {
25
+ body: StreamingBlobPayloadOutputTypes;
26
+ }
27
+ declare const SampleTrainingSessionWithResponseStreamCommand_base: {
28
+ new (
29
+ input: SampleTrainingSessionWithResponseStreamCommandInput,
30
+ ): import("@smithy/core/client").CommandImpl<
31
+ SampleTrainingSessionWithResponseStreamCommandInput,
32
+ SampleTrainingSessionWithResponseStreamCommandOutput,
33
+ import("..").SageMakerTrainingSessionRuntimeClientResolvedConfig,
34
+ import("..").ServiceInputTypes,
35
+ import("..").ServiceOutputTypes
36
+ >;
37
+ new (
38
+ input: SampleTrainingSessionWithResponseStreamCommandInput,
39
+ ): import("@smithy/core/client").CommandImpl<
40
+ SampleTrainingSessionWithResponseStreamCommandInput,
41
+ SampleTrainingSessionWithResponseStreamCommandOutput,
42
+ import("..").SageMakerTrainingSessionRuntimeClientResolvedConfig,
43
+ import("..").ServiceInputTypes,
44
+ import("..").ServiceOutputTypes
45
+ >;
46
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
47
+ };
48
+ export declare class SampleTrainingSessionWithResponseStreamCommand extends SampleTrainingSessionWithResponseStreamCommand_base {
49
+ protected static __types: {
50
+ api: {
51
+ input: SampleTrainingSessionWithResponseStreamInput;
52
+ output: SampleTrainingSessionWithResponseStreamOutput;
53
+ };
54
+ sdk: {
55
+ input: SampleTrainingSessionWithResponseStreamCommandInput;
56
+ output: SampleTrainingSessionWithResponseStreamCommandOutput;
57
+ };
58
+ };
59
+ }
@@ -0,0 +1,6 @@
1
+ export * from "./ExecuteSamplingOperationCommand";
2
+ export * from "./ExecuteTrainingOperationCommand";
3
+ export * from "./GetSamplingOperationResultCommand";
4
+ export * from "./GetTrainingOperationResultCommand";
5
+ export * from "./SampleTrainingSessionCommand";
6
+ export * from "./SampleTrainingSessionWithResponseStreamCommand";
@@ -0,0 +1,45 @@
1
+ import {
2
+ Endpoint,
3
+ EndpointParameters as __EndpointParameters,
4
+ EndpointV2,
5
+ Provider,
6
+ } from "@smithy/types";
7
+ export interface ClientInputEndpointParameters {
8
+ useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
9
+ endpoint?:
10
+ | string
11
+ | Provider<string>
12
+ | Endpoint
13
+ | Provider<Endpoint>
14
+ | EndpointV2
15
+ | Provider<EndpointV2>;
16
+ region?: string | undefined | Provider<string | undefined>;
17
+ }
18
+ export type ClientResolvedEndpointParameters = Pick<
19
+ ClientInputEndpointParameters,
20
+ Exclude<keyof ClientInputEndpointParameters, "endpoint">
21
+ > & {
22
+ defaultSigningName: string;
23
+ };
24
+ export declare const resolveClientEndpointParameters: <T>(
25
+ options: T & ClientInputEndpointParameters,
26
+ ) => T & ClientResolvedEndpointParameters;
27
+ export declare const commonParams: {
28
+ readonly UseFIPS: {
29
+ readonly type: "builtInParams";
30
+ readonly name: "useFipsEndpoint";
31
+ };
32
+ readonly Endpoint: {
33
+ readonly type: "builtInParams";
34
+ readonly name: "endpoint";
35
+ };
36
+ readonly Region: {
37
+ readonly type: "builtInParams";
38
+ readonly name: "region";
39
+ };
40
+ };
41
+ export interface EndpointParameters extends __EndpointParameters {
42
+ UseFIPS?: boolean | undefined;
43
+ Endpoint?: string | undefined;
44
+ Region?: string | undefined;
45
+ }
@@ -0,0 +1,2 @@
1
+ import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
2
+ export declare const bdd: BinaryDecisionDiagram;
@@ -0,0 +1,8 @@
1
+ import { EndpointV2, Logger } from "@smithy/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (
4
+ endpointParams: EndpointParameters,
5
+ context?: {
6
+ logger?: Logger;
7
+ },
8
+ ) => EndpointV2;
@@ -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 SageMakerTrainingSessionRuntimeExtensionConfiguration
6
+ extends
7
+ HttpHandlerExtensionConfiguration,
8
+ DefaultExtensionConfiguration,
9
+ AwsRegionExtensionConfiguration,
10
+ HttpAuthExtensionConfiguration {}
@@ -0,0 +1,12 @@
1
+ export * from "./SageMakerTrainingSessionRuntimeClient";
2
+ export * from "./SageMakerTrainingSessionRuntime";
3
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
+ export { RuntimeExtension } from "./runtimeExtensions";
5
+ export { SageMakerTrainingSessionRuntimeExtensionConfiguration } 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/enums";
10
+ export * from "./models/errors";
11
+ export * from "./models/models_0";
12
+ export { SageMakerTrainingSessionRuntimeServiceException } from "./models/SageMakerTrainingSessionRuntimeServiceException";
@@ -0,0 +1,10 @@
1
+ import {
2
+ ServiceExceptionOptions as __ServiceExceptionOptions,
3
+ ServiceException as __ServiceException,
4
+ } from "@smithy/core/client";
5
+ export { __ServiceExceptionOptions };
6
+ export { __ServiceException };
7
+ export declare class SageMakerTrainingSessionRuntimeServiceException extends __ServiceException {
8
+ static readonly shapeId: string;
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -0,0 +1,24 @@
1
+ export declare const EncodedTextChunkType: {
2
+ readonly ENCODED_TEXT: "encoded_text";
3
+ };
4
+ export type EncodedTextChunkType = (typeof EncodedTextChunkType)[keyof typeof EncodedTextChunkType];
5
+ export declare const LossFnName: {
6
+ readonly CISPO: "cispo";
7
+ readonly CROSS_ENTROPY: "cross_entropy";
8
+ readonly IMPORTANCE_SAMPLING: "importance_sampling";
9
+ readonly PPO: "ppo";
10
+ };
11
+ export type LossFnName = (typeof LossFnName)[keyof typeof LossFnName];
12
+ export declare const StopReason: {
13
+ readonly LENGTH: "length";
14
+ readonly STOP: "stop";
15
+ };
16
+ export type StopReason = (typeof StopReason)[keyof typeof StopReason];
17
+ export declare const RequestStatus: {
18
+ readonly COMPLETED: "Completed";
19
+ readonly FAILED: "Failed";
20
+ readonly IN_PROGRESS: "InProgress";
21
+ readonly PENDING: "Pending";
22
+ readonly SKIPPED: "Skipped";
23
+ };
24
+ export type RequestStatus = (typeof RequestStatus)[keyof typeof RequestStatus];
@@ -0,0 +1,32 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
+ import { SageMakerTrainingSessionRuntimeServiceException as __BaseException } from "./SageMakerTrainingSessionRuntimeServiceException";
3
+ export declare class ConflictException extends __BaseException {
4
+ static readonly shapeId: string;
5
+ readonly name: "ConflictException";
6
+ readonly $fault: "client";
7
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
8
+ }
9
+ export declare class InternalServerException extends __BaseException {
10
+ static readonly shapeId: string;
11
+ readonly name: "InternalServerException";
12
+ readonly $fault: "server";
13
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
14
+ }
15
+ export declare class ResourceNotFoundException extends __BaseException {
16
+ static readonly shapeId: string;
17
+ readonly name: "ResourceNotFoundException";
18
+ readonly $fault: "client";
19
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
20
+ }
21
+ export declare class ThrottlingException extends __BaseException {
22
+ static readonly shapeId: string;
23
+ readonly name: "ThrottlingException";
24
+ readonly $fault: "client";
25
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
26
+ }
27
+ export declare class ValidationException extends __BaseException {
28
+ static readonly shapeId: string;
29
+ readonly name: "ValidationException";
30
+ readonly $fault: "client";
31
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
32
+ }