@aws-sdk/client-sagemakerjobruntime 3.1059.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 (86) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +210 -0
  3. package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
  4. package/dist-cjs/endpoint/bdd.js +32 -0
  5. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  6. package/dist-cjs/index.js +201 -0
  7. package/dist-cjs/models/SagemakerJobRuntimeServiceException.js +12 -0
  8. package/dist-cjs/models/errors.js +111 -0
  9. package/dist-cjs/runtimeConfig.browser.js +36 -0
  10. package/dist-cjs/runtimeConfig.js +49 -0
  11. package/dist-cjs/runtimeConfig.native.js +15 -0
  12. package/dist-cjs/runtimeConfig.shared.js +43 -0
  13. package/dist-cjs/schemas/schemas_0.js +155 -0
  14. package/dist-es/SagemakerJobRuntime.js +15 -0
  15. package/dist-es/SagemakerJobRuntimeClient.js +47 -0
  16. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  17. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  18. package/dist-es/commands/CompleteRolloutCommand.js +16 -0
  19. package/dist-es/commands/SampleCommand.js +16 -0
  20. package/dist-es/commands/SampleWithResponseStreamCommand.js +16 -0
  21. package/dist-es/commands/UpdateRewardCommand.js +16 -0
  22. package/dist-es/commands/index.js +4 -0
  23. package/dist-es/endpoint/EndpointParameters.js +11 -0
  24. package/dist-es/endpoint/bdd.js +29 -0
  25. package/dist-es/endpoint/endpointResolver.js +14 -0
  26. package/dist-es/extensionConfiguration.js +1 -0
  27. package/dist-es/index.js +8 -0
  28. package/dist-es/models/SagemakerJobRuntimeServiceException.js +8 -0
  29. package/dist-es/models/enums.js +4 -0
  30. package/dist-es/models/errors.js +101 -0
  31. package/dist-es/models/models_0.js +1 -0
  32. package/dist-es/runtimeConfig.browser.js +31 -0
  33. package/dist-es/runtimeConfig.js +44 -0
  34. package/dist-es/runtimeConfig.native.js +11 -0
  35. package/dist-es/runtimeConfig.shared.js +39 -0
  36. package/dist-es/runtimeExtensions.js +9 -0
  37. package/dist-es/schemas/schemas_0.js +152 -0
  38. package/dist-types/SagemakerJobRuntime.d.ts +39 -0
  39. package/dist-types/SagemakerJobRuntimeClient.d.ts +196 -0
  40. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  41. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  42. package/dist-types/commands/CompleteRolloutCommand.d.ts +115 -0
  43. package/dist-types/commands/SampleCommand.d.ts +127 -0
  44. package/dist-types/commands/SampleWithResponseStreamCommand.d.ts +131 -0
  45. package/dist-types/commands/UpdateRewardCommand.d.ts +121 -0
  46. package/dist-types/commands/index.d.ts +4 -0
  47. package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
  48. package/dist-types/endpoint/bdd.d.ts +2 -0
  49. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  50. package/dist-types/extensionConfiguration.d.ts +9 -0
  51. package/dist-types/index.d.ts +17 -0
  52. package/dist-types/models/SagemakerJobRuntimeServiceException.d.ts +14 -0
  53. package/dist-types/models/enums.d.ts +18 -0
  54. package/dist-types/models/errors.d.ts +95 -0
  55. package/dist-types/models/models_0.d.ts +141 -0
  56. package/dist-types/runtimeConfig.browser.d.ts +56 -0
  57. package/dist-types/runtimeConfig.d.ts +56 -0
  58. package/dist-types/runtimeConfig.native.d.ts +55 -0
  59. package/dist-types/runtimeConfig.shared.d.ts +28 -0
  60. package/dist-types/runtimeExtensions.d.ts +17 -0
  61. package/dist-types/schemas/schemas_0.d.ts +28 -0
  62. package/dist-types/ts3.4/SagemakerJobRuntime.d.ts +75 -0
  63. package/dist-types/ts3.4/SagemakerJobRuntimeClient.d.ts +139 -0
  64. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  65. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
  66. package/dist-types/ts3.4/commands/CompleteRolloutCommand.d.ts +52 -0
  67. package/dist-types/ts3.4/commands/SampleCommand.d.ts +61 -0
  68. package/dist-types/ts3.4/commands/SampleWithResponseStreamCommand.d.ts +68 -0
  69. package/dist-types/ts3.4/commands/UpdateRewardCommand.d.ts +49 -0
  70. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  71. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  72. package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
  73. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  74. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  75. package/dist-types/ts3.4/index.d.ts +11 -0
  76. package/dist-types/ts3.4/models/SagemakerJobRuntimeServiceException.d.ts +9 -0
  77. package/dist-types/ts3.4/models/enums.d.ts +6 -0
  78. package/dist-types/ts3.4/models/errors.d.ts +58 -0
  79. package/dist-types/ts3.4/models/models_0.d.ts +34 -0
  80. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +103 -0
  81. package/dist-types/ts3.4/runtimeConfig.d.ts +98 -0
  82. package/dist-types/ts3.4/runtimeConfig.native.d.ts +107 -0
  83. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +33 -0
  84. package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
  85. package/dist-types/ts3.4/schemas/schemas_0.d.ts +27 -0
  86. package/package.json +71 -0
@@ -0,0 +1,47 @@
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 { SagemakerJobRuntimeClientResolvedConfig } from "../SagemakerJobRuntimeClient";
15
+ export interface SagemakerJobRuntimeHttpAuthSchemeParameters
16
+ extends HttpAuthSchemeParameters {
17
+ region?: string;
18
+ }
19
+ export interface SagemakerJobRuntimeHttpAuthSchemeParametersProvider
20
+ extends HttpAuthSchemeParametersProvider<
21
+ SagemakerJobRuntimeClientResolvedConfig,
22
+ HandlerExecutionContext,
23
+ SagemakerJobRuntimeHttpAuthSchemeParameters,
24
+ object
25
+ > {}
26
+ export declare const defaultSagemakerJobRuntimeHttpAuthSchemeParametersProvider: (
27
+ config: SagemakerJobRuntimeClientResolvedConfig,
28
+ context: HandlerExecutionContext,
29
+ input: object
30
+ ) => Promise<SagemakerJobRuntimeHttpAuthSchemeParameters>;
31
+ export interface SagemakerJobRuntimeHttpAuthSchemeProvider
32
+ extends HttpAuthSchemeProvider<SagemakerJobRuntimeHttpAuthSchemeParameters> {}
33
+ export declare const defaultSagemakerJobRuntimeHttpAuthSchemeProvider: SagemakerJobRuntimeHttpAuthSchemeProvider;
34
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
35
+ authSchemePreference?: string[] | Provider<string[]>;
36
+ httpAuthSchemes?: HttpAuthScheme[];
37
+ httpAuthSchemeProvider?: SagemakerJobRuntimeHttpAuthSchemeProvider;
38
+ }
39
+ export interface HttpAuthSchemeResolvedConfig
40
+ extends AwsSdkSigV4AuthResolvedConfig {
41
+ readonly authSchemePreference: Provider<string[]>;
42
+ readonly httpAuthSchemes: HttpAuthScheme[];
43
+ readonly httpAuthSchemeProvider: SagemakerJobRuntimeHttpAuthSchemeProvider;
44
+ }
45
+ export declare const resolveHttpAuthSchemeConfig: <T>(
46
+ config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
47
+ ) => T & HttpAuthSchemeResolvedConfig;
@@ -0,0 +1,52 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CompleteRolloutRequest,
5
+ CompleteRolloutResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ SagemakerJobRuntimeClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../SagemakerJobRuntimeClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface CompleteRolloutCommandInput extends CompleteRolloutRequest {}
15
+ export interface CompleteRolloutCommandOutput
16
+ extends CompleteRolloutResponse,
17
+ __MetadataBearer {}
18
+ declare const CompleteRolloutCommand_base: {
19
+ new (
20
+ input: CompleteRolloutCommandInput
21
+ ): import("@smithy/core/client").CommandImpl<
22
+ CompleteRolloutCommandInput,
23
+ CompleteRolloutCommandOutput,
24
+ SagemakerJobRuntimeClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ input: CompleteRolloutCommandInput
30
+ ): import("@smithy/core/client").CommandImpl<
31
+ CompleteRolloutCommandInput,
32
+ CompleteRolloutCommandOutput,
33
+ SagemakerJobRuntimeClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): {
38
+ [x: string]: unknown;
39
+ };
40
+ };
41
+ export declare class CompleteRolloutCommand extends CompleteRolloutCommand_base {
42
+ protected static __types: {
43
+ api: {
44
+ input: CompleteRolloutRequest;
45
+ output: {};
46
+ };
47
+ sdk: {
48
+ input: CompleteRolloutCommandInput;
49
+ output: CompleteRolloutCommandOutput;
50
+ };
51
+ };
52
+ }
@@ -0,0 +1,61 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { Uint8ArrayBlobAdapter } from "@smithy/core/serde";
3
+ import {
4
+ BlobPayloadInputTypes,
5
+ MetadataBearer as __MetadataBearer,
6
+ } from "@smithy/types";
7
+ import { SampleRequest, SampleResponse } from "../models/models_0";
8
+ import {
9
+ SagemakerJobRuntimeClientResolvedConfig,
10
+ ServiceInputTypes,
11
+ ServiceOutputTypes,
12
+ } from "../SagemakerJobRuntimeClient";
13
+ export { __MetadataBearer };
14
+ export { $Command };
15
+ export type SampleCommandInputType = Pick<
16
+ SampleRequest,
17
+ Exclude<keyof SampleRequest, "Body">
18
+ > & {
19
+ Body: BlobPayloadInputTypes;
20
+ };
21
+ export interface SampleCommandInput extends SampleCommandInputType {}
22
+ export type SampleCommandOutputType = Pick<
23
+ SampleResponse,
24
+ Exclude<keyof SampleResponse, "Body">
25
+ > & {
26
+ Body: Uint8ArrayBlobAdapter;
27
+ };
28
+ export interface SampleCommandOutput
29
+ extends SampleCommandOutputType,
30
+ __MetadataBearer {}
31
+ declare const SampleCommand_base: {
32
+ new (input: SampleCommandInput): import("@smithy/core/client").CommandImpl<
33
+ SampleCommandInput,
34
+ SampleCommandOutput,
35
+ SagemakerJobRuntimeClientResolvedConfig,
36
+ ServiceInputTypes,
37
+ ServiceOutputTypes
38
+ >;
39
+ new (input: SampleCommandInput): import("@smithy/core/client").CommandImpl<
40
+ SampleCommandInput,
41
+ SampleCommandOutput,
42
+ SagemakerJobRuntimeClientResolvedConfig,
43
+ ServiceInputTypes,
44
+ ServiceOutputTypes
45
+ >;
46
+ getEndpointParameterInstructions(): {
47
+ [x: string]: unknown;
48
+ };
49
+ };
50
+ export declare class SampleCommand extends SampleCommand_base {
51
+ protected static __types: {
52
+ api: {
53
+ input: SampleRequest;
54
+ output: SampleResponse;
55
+ };
56
+ sdk: {
57
+ input: SampleCommandInput;
58
+ output: SampleCommandOutput;
59
+ };
60
+ };
61
+ }
@@ -0,0 +1,68 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import {
3
+ BlobPayloadInputTypes,
4
+ MetadataBearer as __MetadataBearer,
5
+ StreamingBlobPayloadOutputTypes,
6
+ } from "@smithy/types";
7
+ import {
8
+ SampleWithResponseStreamRequest,
9
+ SampleWithResponseStreamResponse,
10
+ } from "../models/models_0";
11
+ import {
12
+ SagemakerJobRuntimeClientResolvedConfig,
13
+ ServiceInputTypes,
14
+ ServiceOutputTypes,
15
+ } from "../SagemakerJobRuntimeClient";
16
+ export { __MetadataBearer };
17
+ export { $Command };
18
+ export type SampleWithResponseStreamCommandInputType = Pick<
19
+ SampleWithResponseStreamRequest,
20
+ Exclude<keyof SampleWithResponseStreamRequest, "Body">
21
+ > & {
22
+ Body: BlobPayloadInputTypes;
23
+ };
24
+ export interface SampleWithResponseStreamCommandInput
25
+ extends SampleWithResponseStreamCommandInputType {}
26
+ export interface SampleWithResponseStreamCommandOutput
27
+ extends Pick<
28
+ SampleWithResponseStreamResponse,
29
+ Exclude<keyof SampleWithResponseStreamResponse, "Body">
30
+ >,
31
+ __MetadataBearer {
32
+ Body: StreamingBlobPayloadOutputTypes;
33
+ }
34
+ declare const SampleWithResponseStreamCommand_base: {
35
+ new (
36
+ input: SampleWithResponseStreamCommandInput
37
+ ): import("@smithy/core/client").CommandImpl<
38
+ SampleWithResponseStreamCommandInput,
39
+ SampleWithResponseStreamCommandOutput,
40
+ SagemakerJobRuntimeClientResolvedConfig,
41
+ ServiceInputTypes,
42
+ ServiceOutputTypes
43
+ >;
44
+ new (
45
+ input: SampleWithResponseStreamCommandInput
46
+ ): import("@smithy/core/client").CommandImpl<
47
+ SampleWithResponseStreamCommandInput,
48
+ SampleWithResponseStreamCommandOutput,
49
+ SagemakerJobRuntimeClientResolvedConfig,
50
+ ServiceInputTypes,
51
+ ServiceOutputTypes
52
+ >;
53
+ getEndpointParameterInstructions(): {
54
+ [x: string]: unknown;
55
+ };
56
+ };
57
+ export declare class SampleWithResponseStreamCommand extends SampleWithResponseStreamCommand_base {
58
+ protected static __types: {
59
+ api: {
60
+ input: SampleWithResponseStreamRequest;
61
+ output: SampleWithResponseStreamResponse;
62
+ };
63
+ sdk: {
64
+ input: SampleWithResponseStreamCommandInput;
65
+ output: SampleWithResponseStreamCommandOutput;
66
+ };
67
+ };
68
+ }
@@ -0,0 +1,49 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateRewardRequest, UpdateRewardResponse } from "../models/models_0";
4
+ import {
5
+ SagemakerJobRuntimeClientResolvedConfig,
6
+ ServiceInputTypes,
7
+ ServiceOutputTypes,
8
+ } from "../SagemakerJobRuntimeClient";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface UpdateRewardCommandInput extends UpdateRewardRequest {}
12
+ export interface UpdateRewardCommandOutput
13
+ extends UpdateRewardResponse,
14
+ __MetadataBearer {}
15
+ declare const UpdateRewardCommand_base: {
16
+ new (
17
+ input: UpdateRewardCommandInput
18
+ ): import("@smithy/core/client").CommandImpl<
19
+ UpdateRewardCommandInput,
20
+ UpdateRewardCommandOutput,
21
+ SagemakerJobRuntimeClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ input: UpdateRewardCommandInput
27
+ ): import("@smithy/core/client").CommandImpl<
28
+ UpdateRewardCommandInput,
29
+ UpdateRewardCommandOutput,
30
+ SagemakerJobRuntimeClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): {
35
+ [x: string]: unknown;
36
+ };
37
+ };
38
+ export declare class UpdateRewardCommand extends UpdateRewardCommand_base {
39
+ protected static __types: {
40
+ api: {
41
+ input: UpdateRewardRequest;
42
+ output: {};
43
+ };
44
+ sdk: {
45
+ input: UpdateRewardCommandInput;
46
+ output: UpdateRewardCommandOutput;
47
+ };
48
+ };
49
+ }
@@ -0,0 +1,4 @@
1
+ export * from "./CompleteRolloutCommand";
2
+ export * from "./SampleCommand";
3
+ export * from "./SampleWithResponseStreamCommand";
4
+ export * from "./UpdateRewardCommand";
@@ -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,9 @@
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 SagemakerJobRuntimeExtensionConfiguration
6
+ extends HttpHandlerExtensionConfiguration,
7
+ DefaultExtensionConfiguration,
8
+ AwsRegionExtensionConfiguration,
9
+ HttpAuthExtensionConfiguration {}
@@ -0,0 +1,11 @@
1
+ export * from "./SagemakerJobRuntimeClient";
2
+ export * from "./SagemakerJobRuntime";
3
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
+ export { RuntimeExtension } from "./runtimeExtensions";
5
+ export { SagemakerJobRuntimeExtensionConfiguration } from "./extensionConfiguration";
6
+ export * from "./commands";
7
+ export * from "./schemas/schemas_0";
8
+ export * from "./models/enums";
9
+ export * from "./models/errors";
10
+ export * from "./models/models_0";
11
+ export { SagemakerJobRuntimeServiceException } from "./models/SagemakerJobRuntimeServiceException";
@@ -0,0 +1,9 @@
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 SagemakerJobRuntimeServiceException extends __ServiceException {
8
+ constructor(options: __ServiceExceptionOptions);
9
+ }
@@ -0,0 +1,6 @@
1
+ export declare const CompletionStatus: {
2
+ readonly FAILED: "failed";
3
+ readonly READY: "ready";
4
+ };
5
+ export type CompletionStatus =
6
+ (typeof CompletionStatus)[keyof typeof CompletionStatus];
@@ -0,0 +1,58 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
+ import { SagemakerJobRuntimeServiceException as __BaseException } from "./SagemakerJobRuntimeServiceException";
3
+ export declare class AccessDeniedException extends __BaseException {
4
+ readonly name: "AccessDeniedException";
5
+ readonly $fault: "client";
6
+ Message: string | undefined;
7
+ constructor(
8
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
+ );
10
+ }
11
+ export declare class ConflictException extends __BaseException {
12
+ readonly name: "ConflictException";
13
+ readonly $fault: "client";
14
+ Message: string | undefined;
15
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
16
+ }
17
+ export declare class InternalServiceError extends __BaseException {
18
+ readonly name: "InternalServiceError";
19
+ readonly $fault: "server";
20
+ $retryable: {};
21
+ Message: string | undefined;
22
+ constructor(
23
+ opts: __ExceptionOptionType<InternalServiceError, __BaseException>
24
+ );
25
+ }
26
+ export declare class ResourceNotFoundException extends __BaseException {
27
+ readonly name: "ResourceNotFoundException";
28
+ readonly $fault: "client";
29
+ Message: string | undefined;
30
+ constructor(
31
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
32
+ );
33
+ }
34
+ export declare class ServiceQuotaExceededException extends __BaseException {
35
+ readonly name: "ServiceQuotaExceededException";
36
+ readonly $fault: "client";
37
+ Message: string | undefined;
38
+ constructor(
39
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
40
+ );
41
+ }
42
+ export declare class ThrottlingException extends __BaseException {
43
+ readonly name: "ThrottlingException";
44
+ readonly $fault: "client";
45
+ $retryable: {};
46
+ Message: string | undefined;
47
+ constructor(
48
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
49
+ );
50
+ }
51
+ export declare class ValidationException extends __BaseException {
52
+ readonly name: "ValidationException";
53
+ readonly $fault: "client";
54
+ Message: string | undefined;
55
+ constructor(
56
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
57
+ );
58
+ }
@@ -0,0 +1,34 @@
1
+ import { StreamingBlobTypes } from "@smithy/types";
2
+ import { CompletionStatus } from "./enums";
3
+ export interface CompleteRolloutRequest {
4
+ JobArn: string | undefined;
5
+ TrajectoryId: string | undefined;
6
+ Status?: CompletionStatus | undefined;
7
+ ClientToken?: string | undefined;
8
+ }
9
+ export interface CompleteRolloutResponse {}
10
+ export interface SampleRequest {
11
+ JobArn: string | undefined;
12
+ TrajectoryId: string | undefined;
13
+ Body: Uint8Array | undefined;
14
+ }
15
+ export interface SampleResponse {
16
+ ContentType?: string | undefined;
17
+ Body: Uint8Array | undefined;
18
+ }
19
+ export interface SampleWithResponseStreamRequest {
20
+ JobArn: string | undefined;
21
+ TrajectoryId: string | undefined;
22
+ Body: Uint8Array | undefined;
23
+ }
24
+ export interface SampleWithResponseStreamResponse {
25
+ ContentType?: string | undefined;
26
+ Body: StreamingBlobTypes | undefined;
27
+ }
28
+ export interface UpdateRewardRequest {
29
+ JobArn: string | undefined;
30
+ TrajectoryId: string | undefined;
31
+ Rewards: number[] | undefined;
32
+ ClientToken?: string | undefined;
33
+ }
34
+ export interface UpdateRewardResponse {}
@@ -0,0 +1,103 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { SagemakerJobRuntimeClientConfig } from "./SagemakerJobRuntimeClient";
3
+ export declare const getRuntimeConfig: (
4
+ config: SagemakerJobRuntimeClientConfig
5
+ ) => {
6
+ runtime: string;
7
+ defaultsMode: import("@smithy/types").Provider<
8
+ import("@smithy/core/client").ResolvedDefaultsMode
9
+ >;
10
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
+ credentialDefaultProvider:
12
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
+ | ((
14
+ _: unknown
15
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
16
+ defaultUserAgentProvider: (
17
+ config?: import("@aws-sdk/core/client").PreviouslyResolved
18
+ ) => Promise<import("@smithy/types").UserAgent>;
19
+ maxAttempts: number | import("@smithy/types").Provider<number>;
20
+ region: string | import("@smithy/types").Provider<any>;
21
+ requestHandler:
22
+ | import("@smithy/core/protocols").HttpHandler<any>
23
+ | RequestHandler;
24
+ retryMode: string | import("@smithy/types").Provider<string>;
25
+ sha256: import("@smithy/types").HashConstructor;
26
+ streamCollector: import("@smithy/types").StreamCollector;
27
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
28
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
29
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
30
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
31
+ cacheMiddleware?: boolean | undefined;
32
+ protocol:
33
+ | import("@smithy/types").ClientProtocol<any, any>
34
+ | import("@smithy/types").ClientProtocolCtor<any, any>
35
+ | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
36
+ protocolSettings: {
37
+ defaultNamespace?: string;
38
+ [setting: string]: unknown;
39
+ };
40
+ apiVersion: string;
41
+ urlParser: import("@smithy/types").UrlParser;
42
+ base64Decoder: import("@smithy/types").Decoder;
43
+ base64Encoder: (_input: Uint8Array | string) => string;
44
+ utf8Decoder: import("@smithy/types").Decoder;
45
+ utf8Encoder: (input: Uint8Array | string) => string;
46
+ disableHostPrefix: boolean;
47
+ serviceId: string;
48
+ profile?: string;
49
+ logger: import("@smithy/types").Logger;
50
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
51
+ sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
52
+ customUserAgent?: string | import("@smithy/types").UserAgent;
53
+ userAgentAppId?:
54
+ | string
55
+ | undefined
56
+ | import("@smithy/types").Provider<string | undefined>;
57
+ retryStrategy?:
58
+ | import("@smithy/types").RetryStrategy
59
+ | import("@smithy/types").RetryStrategyV2;
60
+ endpoint?:
61
+ | ((
62
+ | string
63
+ | import("@smithy/types").Endpoint
64
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
65
+ | import("@smithy/types").EndpointV2
66
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
67
+ ) &
68
+ (
69
+ | string
70
+ | import("@smithy/types").Provider<string>
71
+ | import("@smithy/types").Endpoint
72
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
73
+ | import("@smithy/types").EndpointV2
74
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
75
+ ))
76
+ | undefined;
77
+ endpointProvider: (
78
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
79
+ context?: {
80
+ logger?: import("@smithy/types").Logger;
81
+ }
82
+ ) => import("@smithy/types").EndpointV2;
83
+ tls?: boolean;
84
+ serviceConfiguredEndpoint?: never;
85
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
86
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
87
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SagemakerJobRuntimeHttpAuthSchemeProvider;
88
+ credentials?:
89
+ | import("@smithy/types").AwsCredentialIdentity
90
+ | import("@smithy/types").AwsCredentialIdentityProvider;
91
+ signer?:
92
+ | import("@smithy/types").RequestSigner
93
+ | ((
94
+ authScheme?: import("@smithy/types").AuthScheme
95
+ ) => Promise<import("@smithy/types").RequestSigner>);
96
+ signingEscapePath?: boolean;
97
+ systemClockOffset?: number;
98
+ signingRegion?: string;
99
+ signerConstructor?: new (
100
+ options: import("@smithy/signature-v4").SignatureV4Init &
101
+ import("@smithy/signature-v4").SignatureV4CryptoInit
102
+ ) => import("@smithy/types").RequestSigner;
103
+ };