@aws-sdk/client-sagemakerjobruntime 3.1086.0 → 3.1088.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -67,7 +67,7 @@ const commonParams = {
67
67
  Region: { type: "builtInParams", name: "region" },
68
68
  };
69
69
 
70
- var version = "3.1085.0";
70
+ var version = "3.1087.0";
71
71
  var packageInfo = {
72
72
  version: version};
73
73
 
@@ -3,10 +3,7 @@ import {
3
3
  CompleteRolloutCommandInput,
4
4
  CompleteRolloutCommandOutput,
5
5
  } from "./commands/CompleteRolloutCommand";
6
- import {
7
- SampleCommandInput,
8
- SampleCommandOutput,
9
- } from "./commands/SampleCommand";
6
+ import { SampleCommandInput, SampleCommandOutput } from "./commands/SampleCommand";
10
7
  import {
11
8
  SampleWithResponseStreamCommandInput,
12
9
  SampleWithResponseStreamCommandOutput,
@@ -19,55 +16,49 @@ import { SagemakerJobRuntimeClient } from "./SagemakerJobRuntimeClient";
19
16
  export interface SagemakerJobRuntime {
20
17
  completeRollout(
21
18
  args: CompleteRolloutCommandInput,
22
- options?: __HttpHandlerOptions
19
+ options?: __HttpHandlerOptions,
23
20
  ): Promise<CompleteRolloutCommandOutput>;
24
21
  completeRollout(
25
22
  args: CompleteRolloutCommandInput,
26
- cb: (err: any, data?: CompleteRolloutCommandOutput) => void
23
+ cb: (err: any, data?: CompleteRolloutCommandOutput) => void,
27
24
  ): void;
28
25
  completeRollout(
29
26
  args: CompleteRolloutCommandInput,
30
27
  options: __HttpHandlerOptions,
31
- cb: (err: any, data?: CompleteRolloutCommandOutput) => void
32
- ): void;
33
- sample(
34
- args: SampleCommandInput,
35
- options?: __HttpHandlerOptions
36
- ): Promise<SampleCommandOutput>;
37
- sample(
38
- args: SampleCommandInput,
39
- cb: (err: any, data?: SampleCommandOutput) => void
28
+ cb: (err: any, data?: CompleteRolloutCommandOutput) => void,
40
29
  ): void;
30
+ sample(args: SampleCommandInput, options?: __HttpHandlerOptions): Promise<SampleCommandOutput>;
31
+ sample(args: SampleCommandInput, cb: (err: any, data?: SampleCommandOutput) => void): void;
41
32
  sample(
42
33
  args: SampleCommandInput,
43
34
  options: __HttpHandlerOptions,
44
- cb: (err: any, data?: SampleCommandOutput) => void
35
+ cb: (err: any, data?: SampleCommandOutput) => void,
45
36
  ): void;
46
37
  sampleWithResponseStream(
47
38
  args: SampleWithResponseStreamCommandInput,
48
- options?: __HttpHandlerOptions
39
+ options?: __HttpHandlerOptions,
49
40
  ): Promise<SampleWithResponseStreamCommandOutput>;
50
41
  sampleWithResponseStream(
51
42
  args: SampleWithResponseStreamCommandInput,
52
- cb: (err: any, data?: SampleWithResponseStreamCommandOutput) => void
43
+ cb: (err: any, data?: SampleWithResponseStreamCommandOutput) => void,
53
44
  ): void;
54
45
  sampleWithResponseStream(
55
46
  args: SampleWithResponseStreamCommandInput,
56
47
  options: __HttpHandlerOptions,
57
- cb: (err: any, data?: SampleWithResponseStreamCommandOutput) => void
48
+ cb: (err: any, data?: SampleWithResponseStreamCommandOutput) => void,
58
49
  ): void;
59
50
  updateReward(
60
51
  args: UpdateRewardCommandInput,
61
- options?: __HttpHandlerOptions
52
+ options?: __HttpHandlerOptions,
62
53
  ): Promise<UpdateRewardCommandOutput>;
63
54
  updateReward(
64
55
  args: UpdateRewardCommandInput,
65
- cb: (err: any, data?: UpdateRewardCommandOutput) => void
56
+ cb: (err: any, data?: UpdateRewardCommandOutput) => void,
66
57
  ): void;
67
58
  updateReward(
68
59
  args: UpdateRewardCommandInput,
69
60
  options: __HttpHandlerOptions,
70
- cb: (err: any, data?: UpdateRewardCommandOutput) => void
61
+ cb: (err: any, data?: UpdateRewardCommandOutput) => void,
71
62
  ): void;
72
63
  }
73
64
  export declare class SagemakerJobRuntime
@@ -11,10 +11,7 @@ import {
11
11
  Client as __Client,
12
12
  } from "@smithy/core/client";
13
13
  import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
14
- import {
15
- EndpointInputConfig,
16
- EndpointResolvedConfig,
17
- } from "@smithy/core/endpoints";
14
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
18
15
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
19
16
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
20
17
  import {
@@ -41,10 +38,7 @@ import {
41
38
  CompleteRolloutCommandInput,
42
39
  CompleteRolloutCommandOutput,
43
40
  } from "./commands/CompleteRolloutCommand";
44
- import {
45
- SampleCommandInput,
46
- SampleCommandOutput,
47
- } from "./commands/SampleCommand";
41
+ import { SampleCommandInput, SampleCommandOutput } from "./commands/SampleCommand";
48
42
  import {
49
43
  SampleWithResponseStreamCommandInput,
50
44
  SampleWithResponseStreamCommandOutput,
@@ -70,8 +64,7 @@ export type ServiceOutputTypes =
70
64
  | SampleCommandOutput
71
65
  | SampleWithResponseStreamCommandOutput
72
66
  | UpdateRewardCommandOutput;
73
- export interface ClientDefaults
74
- extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
67
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
75
68
  requestHandler?: __HttpHandlerUserInput;
76
69
  sha256?: __ChecksumConstructor | __HashConstructor;
77
70
  urlParser?: __UrlParser;
@@ -108,8 +101,7 @@ export type SagemakerJobRuntimeClientConfigType = Partial<
108
101
  EndpointInputConfig<EndpointParameters> &
109
102
  HttpAuthSchemeInputConfig &
110
103
  ClientInputEndpointParameters;
111
- export interface SagemakerJobRuntimeClientConfig
112
- extends SagemakerJobRuntimeClientConfigType {}
104
+ export interface SagemakerJobRuntimeClientConfig extends SagemakerJobRuntimeClientConfigType {}
113
105
  export type SagemakerJobRuntimeClientResolvedConfigType =
114
106
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
115
107
  Required<ClientDefaults> &
@@ -121,8 +113,7 @@ export type SagemakerJobRuntimeClientResolvedConfigType =
121
113
  EndpointResolvedConfig<EndpointParameters> &
122
114
  HttpAuthSchemeResolvedConfig &
123
115
  ClientResolvedEndpointParameters;
124
- export interface SagemakerJobRuntimeClientResolvedConfig
125
- extends SagemakerJobRuntimeClientResolvedConfigType {}
116
+ export interface SagemakerJobRuntimeClientResolvedConfig extends SagemakerJobRuntimeClientResolvedConfigType {}
126
117
  export declare class SagemakerJobRuntimeClient extends __Client<
127
118
  __HttpHandlerOptions,
128
119
  ServiceInputTypes,
@@ -130,10 +121,6 @@ export declare class SagemakerJobRuntimeClient extends __Client<
130
121
  SagemakerJobRuntimeClientResolvedConfig
131
122
  > {
132
123
  readonly config: SagemakerJobRuntimeClientResolvedConfig;
133
- constructor(
134
- ...[
135
- configuration,
136
- ]: __CheckOptionalClientConfig<SagemakerJobRuntimeClientConfig>
137
- );
124
+ constructor(...[configuration]: __CheckOptionalClientConfig<SagemakerJobRuntimeClientConfig>);
138
125
  destroy(): void;
139
126
  }
@@ -8,16 +8,11 @@ export interface HttpAuthExtensionConfiguration {
8
8
  setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
9
  httpAuthSchemes(): HttpAuthScheme[];
10
10
  setHttpAuthSchemeProvider(
11
- httpAuthSchemeProvider: SagemakerJobRuntimeHttpAuthSchemeProvider
11
+ httpAuthSchemeProvider: SagemakerJobRuntimeHttpAuthSchemeProvider,
12
12
  ): void;
13
13
  httpAuthSchemeProvider(): SagemakerJobRuntimeHttpAuthSchemeProvider;
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 { SagemakerJobRuntimeClientResolvedConfig } from "../SagemakerJobRuntimeClient";
15
- export interface SagemakerJobRuntimeHttpAuthSchemeParameters
16
- extends HttpAuthSchemeParameters {
15
+ export interface SagemakerJobRuntimeHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
17
16
  region?: string;
18
17
  }
19
- export interface SagemakerJobRuntimeHttpAuthSchemeParametersProvider
20
- extends HttpAuthSchemeParametersProvider<
21
- SagemakerJobRuntimeClientResolvedConfig,
22
- HandlerExecutionContext,
23
- SagemakerJobRuntimeHttpAuthSchemeParameters,
24
- object
25
- > {}
18
+ export interface SagemakerJobRuntimeHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
19
+ SagemakerJobRuntimeClientResolvedConfig,
20
+ HandlerExecutionContext,
21
+ SagemakerJobRuntimeHttpAuthSchemeParameters,
22
+ object
23
+ > {}
26
24
  export declare const defaultSagemakerJobRuntimeHttpAuthSchemeParametersProvider: (
27
25
  config: SagemakerJobRuntimeClientResolvedConfig,
28
26
  context: HandlerExecutionContext,
29
- input: object
27
+ input: object,
30
28
  ) => Promise<SagemakerJobRuntimeHttpAuthSchemeParameters>;
31
- export interface SagemakerJobRuntimeHttpAuthSchemeProvider
32
- extends HttpAuthSchemeProvider<SagemakerJobRuntimeHttpAuthSchemeParameters> {}
29
+ export interface SagemakerJobRuntimeHttpAuthSchemeProvider extends HttpAuthSchemeProvider<SagemakerJobRuntimeHttpAuthSchemeParameters> {}
33
30
  export declare const defaultSagemakerJobRuntimeHttpAuthSchemeProvider: SagemakerJobRuntimeHttpAuthSchemeProvider;
34
31
  export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
35
32
  authSchemePreference?: string[] | Provider<string[]>;
36
33
  httpAuthSchemes?: HttpAuthScheme[];
37
34
  httpAuthSchemeProvider?: SagemakerJobRuntimeHttpAuthSchemeProvider;
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: SagemakerJobRuntimeHttpAuthSchemeProvider;
44
40
  }
45
41
  export declare const resolveHttpAuthSchemeConfig: <T>(
46
- config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
42
+ config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
47
43
  ) => T & HttpAuthSchemeResolvedConfig;
@@ -4,22 +4,21 @@ import {
4
4
  ServiceInputTypes,
5
5
  ServiceOutputTypes,
6
6
  } from "./SagemakerJobRuntimeClient";
7
- export declare const command: <
8
- I extends ServiceInputTypes,
9
- O extends ServiceOutputTypes
10
- >(
7
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(
11
8
  added: EndpointParameterInstructions,
12
9
  plugins: (
13
10
  CommandCtor: any,
14
11
  clientStack: any,
15
12
  config: any,
16
- options: any
13
+ options: any,
17
14
  ) => import("@smithy/types").Pluggable<any, any>[],
18
15
  op: string,
19
16
  $: import("@smithy/types").StaticOperationSchema,
20
- smithyContext?: Record<string, unknown>
17
+ smithyContext?: Record<string, unknown>,
21
18
  ) => {
22
- new (input: I): import("@smithy/core/client").CommandImpl<
19
+ new (
20
+ input: I,
21
+ ): import("@smithy/core/client").CommandImpl<
23
22
  I,
24
23
  O,
25
24
  SagemakerJobRuntimeClientResolvedConfig,
@@ -38,9 +37,4 @@ export declare const command: <
38
37
  getEndpointParameterInstructions(): EndpointParameterInstructions;
39
38
  };
40
39
  export declare const _ep0: EndpointParameterInstructions;
41
- export declare const _mw0: (
42
- Command: any,
43
- cs: any,
44
- config: any,
45
- o: any
46
- ) => never[];
40
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,16 +1,11 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- CompleteRolloutRequest,
4
- CompleteRolloutResponse,
5
- } from "../models/models_0";
2
+ import { CompleteRolloutRequest, CompleteRolloutResponse } from "../models/models_0";
6
3
  export { __MetadataBearer };
7
4
  export interface CompleteRolloutCommandInput extends CompleteRolloutRequest {}
8
- export interface CompleteRolloutCommandOutput
9
- extends CompleteRolloutResponse,
10
- __MetadataBearer {}
5
+ export interface CompleteRolloutCommandOutput extends CompleteRolloutResponse, __MetadataBearer {}
11
6
  declare const CompleteRolloutCommand_base: {
12
7
  new (
13
- input: CompleteRolloutCommandInput
8
+ input: CompleteRolloutCommandInput,
14
9
  ): import("@smithy/core/client").CommandImpl<
15
10
  CompleteRolloutCommandInput,
16
11
  CompleteRolloutCommandOutput,
@@ -19,7 +14,7 @@ declare const CompleteRolloutCommand_base: {
19
14
  import("..").ServiceOutputTypes
20
15
  >;
21
16
  new (
22
- input: CompleteRolloutCommandInput
17
+ input: CompleteRolloutCommandInput,
23
18
  ): import("@smithy/core/client").CommandImpl<
24
19
  CompleteRolloutCommandInput,
25
20
  CompleteRolloutCommandOutput,
@@ -1,14 +1,8 @@
1
1
  import { Uint8ArrayBlobAdapter } from "@smithy/core/serde";
2
- import {
3
- BlobPayloadInputTypes,
4
- MetadataBearer as __MetadataBearer,
5
- } from "@smithy/types";
2
+ import { BlobPayloadInputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types";
6
3
  import { SampleRequest, SampleResponse } from "../models/models_0";
7
4
  export { __MetadataBearer };
8
- export type SampleCommandInputType = Pick<
9
- SampleRequest,
10
- Exclude<keyof SampleRequest, "Body">
11
- > & {
5
+ export type SampleCommandInputType = Pick<SampleRequest, Exclude<keyof SampleRequest, "Body">> & {
12
6
  Body: BlobPayloadInputTypes;
13
7
  };
14
8
  export interface SampleCommandInput extends SampleCommandInputType {}
@@ -18,18 +12,20 @@ export type SampleCommandOutputType = Pick<
18
12
  > & {
19
13
  Body: Uint8ArrayBlobAdapter;
20
14
  };
21
- export interface SampleCommandOutput
22
- extends SampleCommandOutputType,
23
- __MetadataBearer {}
15
+ export interface SampleCommandOutput extends SampleCommandOutputType, __MetadataBearer {}
24
16
  declare const SampleCommand_base: {
25
- new (input: SampleCommandInput): import("@smithy/core/client").CommandImpl<
17
+ new (
18
+ input: SampleCommandInput,
19
+ ): import("@smithy/core/client").CommandImpl<
26
20
  SampleCommandInput,
27
21
  SampleCommandOutput,
28
22
  import("..").SagemakerJobRuntimeClientResolvedConfig,
29
23
  import("..").ServiceInputTypes,
30
24
  import("..").ServiceOutputTypes
31
25
  >;
32
- new (input: SampleCommandInput): import("@smithy/core/client").CommandImpl<
26
+ new (
27
+ input: SampleCommandInput,
28
+ ): import("@smithy/core/client").CommandImpl<
33
29
  SampleCommandInput,
34
30
  SampleCommandOutput,
35
31
  import("..").SagemakerJobRuntimeClientResolvedConfig,
@@ -14,19 +14,16 @@ export type SampleWithResponseStreamCommandInputType = Pick<
14
14
  > & {
15
15
  Body: BlobPayloadInputTypes;
16
16
  };
17
- export interface SampleWithResponseStreamCommandInput
18
- extends SampleWithResponseStreamCommandInputType {}
17
+ export interface SampleWithResponseStreamCommandInput extends SampleWithResponseStreamCommandInputType {}
19
18
  export interface SampleWithResponseStreamCommandOutput
20
- extends Pick<
21
- SampleWithResponseStreamResponse,
22
- Exclude<keyof SampleWithResponseStreamResponse, "Body">
23
- >,
19
+ extends
20
+ Pick<SampleWithResponseStreamResponse, Exclude<keyof SampleWithResponseStreamResponse, "Body">>,
24
21
  __MetadataBearer {
25
22
  Body: StreamingBlobPayloadOutputTypes;
26
23
  }
27
24
  declare const SampleWithResponseStreamCommand_base: {
28
25
  new (
29
- input: SampleWithResponseStreamCommandInput
26
+ input: SampleWithResponseStreamCommandInput,
30
27
  ): import("@smithy/core/client").CommandImpl<
31
28
  SampleWithResponseStreamCommandInput,
32
29
  SampleWithResponseStreamCommandOutput,
@@ -35,7 +32,7 @@ declare const SampleWithResponseStreamCommand_base: {
35
32
  import("..").ServiceOutputTypes
36
33
  >;
37
34
  new (
38
- input: SampleWithResponseStreamCommandInput
35
+ input: SampleWithResponseStreamCommandInput,
39
36
  ): import("@smithy/core/client").CommandImpl<
40
37
  SampleWithResponseStreamCommandInput,
41
38
  SampleWithResponseStreamCommandOutput,
@@ -2,12 +2,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
2
  import { UpdateRewardRequest, UpdateRewardResponse } from "../models/models_0";
3
3
  export { __MetadataBearer };
4
4
  export interface UpdateRewardCommandInput extends UpdateRewardRequest {}
5
- export interface UpdateRewardCommandOutput
6
- extends UpdateRewardResponse,
7
- __MetadataBearer {}
5
+ export interface UpdateRewardCommandOutput extends UpdateRewardResponse, __MetadataBearer {}
8
6
  declare const UpdateRewardCommand_base: {
9
7
  new (
10
- input: UpdateRewardCommandInput
8
+ input: UpdateRewardCommandInput,
11
9
  ): import("@smithy/core/client").CommandImpl<
12
10
  UpdateRewardCommandInput,
13
11
  UpdateRewardCommandOutput,
@@ -16,7 +14,7 @@ declare const UpdateRewardCommand_base: {
16
14
  import("..").ServiceOutputTypes
17
15
  >;
18
16
  new (
19
- input: UpdateRewardCommandInput
17
+ input: UpdateRewardCommandInput,
20
18
  ): import("@smithy/core/client").CommandImpl<
21
19
  UpdateRewardCommandInput,
22
20
  UpdateRewardCommandOutput,
@@ -22,7 +22,7 @@ export type ClientResolvedEndpointParameters = Pick<
22
22
  defaultSigningName: string;
23
23
  };
24
24
  export declare const resolveClientEndpointParameters: <T>(
25
- options: T & ClientInputEndpointParameters
25
+ options: T & ClientInputEndpointParameters,
26
26
  ) => T & ClientResolvedEndpointParameters;
27
27
  export declare const commonParams: {
28
28
  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 SagemakerJobRuntimeExtensionConfiguration
6
- extends HttpHandlerExtensionConfiguration,
6
+ extends
7
+ HttpHandlerExtensionConfiguration,
7
8
  DefaultExtensionConfiguration,
8
9
  AwsRegionExtensionConfiguration,
9
10
  HttpAuthExtensionConfiguration {}
@@ -2,5 +2,4 @@ export declare const CompletionStatus: {
2
2
  readonly FAILED: "failed";
3
3
  readonly READY: "ready";
4
4
  };
5
- export type CompletionStatus =
6
- (typeof CompletionStatus)[keyof typeof CompletionStatus];
5
+ export type CompletionStatus = (typeof CompletionStatus)[keyof typeof CompletionStatus];
@@ -4,9 +4,7 @@ export declare class AccessDeniedException extends __BaseException {
4
4
  readonly name: "AccessDeniedException";
5
5
  readonly $fault: "client";
6
6
  Message: string | undefined;
7
- constructor(
8
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
- );
7
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
10
8
  }
11
9
  export declare class ConflictException extends __BaseException {
12
10
  readonly name: "ConflictException";
@@ -19,40 +17,30 @@ export declare class InternalServiceError extends __BaseException {
19
17
  readonly $fault: "server";
20
18
  $retryable: {};
21
19
  Message: string | undefined;
22
- constructor(
23
- opts: __ExceptionOptionType<InternalServiceError, __BaseException>
24
- );
20
+ constructor(opts: __ExceptionOptionType<InternalServiceError, __BaseException>);
25
21
  }
26
22
  export declare class ResourceNotFoundException extends __BaseException {
27
23
  readonly name: "ResourceNotFoundException";
28
24
  readonly $fault: "client";
29
25
  Message: string | undefined;
30
- constructor(
31
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
32
- );
26
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
33
27
  }
34
28
  export declare class ServiceQuotaExceededException extends __BaseException {
35
29
  readonly name: "ServiceQuotaExceededException";
36
30
  readonly $fault: "client";
37
31
  Message: string | undefined;
38
- constructor(
39
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
40
- );
32
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
41
33
  }
42
34
  export declare class ThrottlingException extends __BaseException {
43
35
  readonly name: "ThrottlingException";
44
36
  readonly $fault: "client";
45
37
  $retryable: {};
46
38
  Message: string | undefined;
47
- constructor(
48
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
49
- );
39
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
50
40
  }
51
41
  export declare class ValidationException extends __BaseException {
52
42
  readonly name: "ValidationException";
53
43
  readonly $fault: "client";
54
44
  Message: string | undefined;
55
- constructor(
56
- opts: __ExceptionOptionType<ValidationException, __BaseException>
57
- );
45
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
58
46
  }
@@ -1,8 +1,6 @@
1
1
  import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
2
  import { SagemakerJobRuntimeClientConfig } from "./SagemakerJobRuntimeClient";
3
- export declare const getRuntimeConfig: (
4
- config: SagemakerJobRuntimeClientConfig
5
- ) => {
3
+ export declare const getRuntimeConfig: (config: SagemakerJobRuntimeClientConfig) => {
6
4
  runtime: string;
7
5
  defaultsMode: import("@smithy/types").Provider<
8
6
  import("@smithy/core/client").ResolvedDefaultsMode
@@ -10,24 +8,16 @@ 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
  maxAttempts: number | import("@smithy/types").Provider<number>;
20
16
  region: string | import("@smithy/types").Provider<any>;
21
- requestHandler:
22
- | import("@smithy/core/protocols").HttpHandler<any>
23
- | RequestHandler;
17
+ requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
24
18
  retryMode: string | import("@smithy/types").Provider<string>;
25
19
  streamCollector: (
26
- stream:
27
- | import("stream").Readable
28
- | import("stream/web").ReadableStream
29
- | ReadableStream
30
- | Blob
20
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
31
21
  ) => Promise<Uint8Array>;
32
22
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
33
23
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
@@ -56,13 +46,8 @@ export declare const getRuntimeConfig: (
56
46
  extensions: import("./runtimeExtensions").RuntimeExtension[];
57
47
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
58
48
  customUserAgent?: string | import("@smithy/types").UserAgent;
59
- userAgentAppId?:
60
- | string
61
- | undefined
62
- | import("@smithy/types").Provider<string | undefined>;
63
- retryStrategy?:
64
- | import("@smithy/types").RetryStrategy
65
- | import("@smithy/types").RetryStrategyV2;
49
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
50
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
66
51
  endpoint?:
67
52
  | ((
68
53
  | string
@@ -84,7 +69,7 @@ export declare const getRuntimeConfig: (
84
69
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
85
70
  context?: {
86
71
  logger?: import("@smithy/types").Logger;
87
- }
72
+ },
88
73
  ) => import("@smithy/types").EndpointV2;
89
74
  tls?: boolean;
90
75
  serviceConfiguredEndpoint?: never;
@@ -97,13 +82,13 @@ export declare const getRuntimeConfig: (
97
82
  signer?:
98
83
  | import("@smithy/types").RequestSigner
99
84
  | ((
100
- authScheme?: import("@smithy/types").AuthScheme
85
+ authScheme?: import("@smithy/types").AuthScheme,
101
86
  ) => Promise<import("@smithy/types").RequestSigner>);
102
87
  signingEscapePath?: boolean;
103
88
  systemClockOffset?: number;
104
89
  signingRegion?: string;
105
90
  signerConstructor?: new (
106
91
  options: import("@smithy/signature-v4").SignatureV4Init &
107
- import("@smithy/signature-v4").SignatureV4CryptoInit
92
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
108
93
  ) => import("@smithy/types").RequestSigner;
109
94
  };
@@ -1,8 +1,6 @@
1
1
  import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
2
  import { SagemakerJobRuntimeClientConfig } from "./SagemakerJobRuntimeClient";
3
- export declare const getRuntimeConfig: (
4
- config: SagemakerJobRuntimeClientConfig
5
- ) => {
3
+ export declare const getRuntimeConfig: (config: SagemakerJobRuntimeClientConfig) => {
6
4
  runtime: string;
7
5
  defaultsMode: import("@smithy/types").Provider<
8
6
  import("@smithy/core/client").ResolvedDefaultsMode
@@ -12,23 +10,17 @@ 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
  maxAttempts: number | import("@smithy/types").Provider<number>;
21
19
  region: string | import("@smithy/types").Provider<string>;
22
- requestHandler:
23
- | RequestHandler
24
- | import("@smithy/core/protocols").HttpHandler<any>;
20
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
25
21
  retryMode: string | import("@smithy/types").Provider<string>;
26
22
  streamCollector: (
27
- stream:
28
- | import("stream").Readable
29
- | import("stream/web").ReadableStream
30
- | ReadableStream
31
- | Blob
23
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
32
24
  ) => Promise<Uint8Array>;
33
25
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
34
26
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -56,9 +48,7 @@ export declare const getRuntimeConfig: (
56
48
  extensions: import("./runtimeExtensions").RuntimeExtension[];
57
49
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
58
50
  customUserAgent?: string | import("@smithy/types").UserAgent;
59
- retryStrategy?:
60
- | import("@smithy/types").RetryStrategy
61
- | import("@smithy/types").RetryStrategyV2;
51
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
62
52
  endpoint?:
63
53
  | ((
64
54
  | string
@@ -80,7 +70,7 @@ export declare const getRuntimeConfig: (
80
70
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
81
71
  context?: {
82
72
  logger?: import("@smithy/types").Logger;
83
- }
73
+ },
84
74
  ) => import("@smithy/types").EndpointV2;
85
75
  tls?: boolean;
86
76
  serviceConfiguredEndpoint?: never;
@@ -92,13 +82,13 @@ export declare const getRuntimeConfig: (
92
82
  signer?:
93
83
  | import("@smithy/types").RequestSigner
94
84
  | ((
95
- authScheme?: import("@smithy/types").AuthScheme
85
+ authScheme?: import("@smithy/types").AuthScheme,
96
86
  ) => Promise<import("@smithy/types").RequestSigner>);
97
87
  signingEscapePath?: boolean;
98
88
  systemClockOffset?: number;
99
89
  signingRegion?: string;
100
90
  signerConstructor?: new (
101
91
  options: import("@smithy/signature-v4").SignatureV4Init &
102
- import("@smithy/signature-v4").SignatureV4CryptoInit
92
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
103
93
  ) => import("@smithy/types").RequestSigner;
104
94
  };
@@ -1,7 +1,5 @@
1
1
  import { SagemakerJobRuntimeClientConfig } from "./SagemakerJobRuntimeClient";
2
- export declare const getRuntimeConfig: (
3
- config: SagemakerJobRuntimeClientConfig
4
- ) => {
2
+ export declare const getRuntimeConfig: (config: SagemakerJobRuntimeClientConfig) => {
5
3
  runtime: string;
6
4
  requestHandler:
7
5
  | import("@smithy/types").NodeHttpHandlerOptions
@@ -23,11 +21,7 @@ export declare const getRuntimeConfig: (
23
21
  urlParser: import("@smithy/types").UrlParser;
24
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
25
23
  streamCollector: (
26
- stream:
27
- | import("stream").Readable
28
- | import("stream/web").ReadableStream
29
- | ReadableStream
30
- | Blob
24
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
31
25
  ) => Promise<Uint8Array>;
32
26
  base64Decoder: import("@smithy/types").Decoder;
33
27
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -42,31 +36,22 @@ export declare const getRuntimeConfig: (
42
36
  region: string | import("@smithy/types").Provider<any>;
43
37
  profile?: string;
44
38
  defaultUserAgentProvider: (
45
- config?: import("@aws-sdk/core/client").PreviouslyResolved
39
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
46
40
  ) => Promise<import("@smithy/types").UserAgent>;
47
41
  credentialDefaultProvider:
48
42
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
49
- | ((
50
- _: unknown
51
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
43
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
52
44
  maxAttempts: number | import("@smithy/types").Provider<number>;
53
45
  retryMode: string | import("@smithy/types").Provider<string>;
54
46
  logger: import("@smithy/types").Logger;
55
47
  extensions: import("./runtimeExtensions").RuntimeExtension[];
56
48
  defaultsMode:
57
49
  | import("@smithy/core/client").DefaultsMode
58
- | import("@smithy/types").Provider<
59
- import("@smithy/core/client").DefaultsMode
60
- >;
50
+ | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
61
51
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
62
52
  customUserAgent?: string | import("@smithy/types").UserAgent;
63
- userAgentAppId?:
64
- | string
65
- | undefined
66
- | import("@smithy/types").Provider<string | undefined>;
67
- retryStrategy?:
68
- | import("@smithy/types").RetryStrategy
69
- | import("@smithy/types").RetryStrategyV2;
53
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
54
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
70
55
  endpoint?:
71
56
  | ((
72
57
  | string
@@ -88,7 +73,7 @@ export declare const getRuntimeConfig: (
88
73
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
89
74
  context?: {
90
75
  logger?: import("@smithy/types").Logger;
91
- }
76
+ },
92
77
  ) => import("@smithy/types").EndpointV2;
93
78
  tls?: boolean;
94
79
  serviceConfiguredEndpoint?: never;
@@ -101,13 +86,13 @@ export declare const getRuntimeConfig: (
101
86
  signer?:
102
87
  | import("@smithy/types").RequestSigner
103
88
  | ((
104
- authScheme?: import("@smithy/types").AuthScheme
89
+ authScheme?: import("@smithy/types").AuthScheme,
105
90
  ) => Promise<import("@smithy/types").RequestSigner>);
106
91
  signingEscapePath?: boolean;
107
92
  systemClockOffset?: number;
108
93
  signingRegion?: string;
109
94
  signerConstructor?: new (
110
95
  options: import("@smithy/signature-v4").SignatureV4Init &
111
- import("@smithy/signature-v4").SignatureV4CryptoInit
96
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
112
97
  ) => import("@smithy/types").RequestSigner;
113
98
  };
@@ -1,8 +1,6 @@
1
1
  import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
2
2
  import { SagemakerJobRuntimeClientConfig } from "./SagemakerJobRuntimeClient";
3
- export declare const getRuntimeConfig: (
4
- config: SagemakerJobRuntimeClientConfig
5
- ) => {
3
+ export declare const getRuntimeConfig: (config: SagemakerJobRuntimeClientConfig) => {
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").SagemakerJobRuntimeHttpAuthSchemeProvider;
@@ -1,13 +1,11 @@
1
1
  import { SagemakerJobRuntimeExtensionConfiguration } from "./extensionConfiguration";
2
2
  export interface RuntimeExtension {
3
- configure(
4
- extensionConfiguration: SagemakerJobRuntimeExtensionConfiguration
5
- ): void;
3
+ configure(extensionConfiguration: SagemakerJobRuntimeExtensionConfiguration): 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;
@@ -1,9 +1,5 @@
1
1
  import { TypeRegistry } from "@smithy/core/schema";
2
- import {
3
- StaticErrorSchema,
4
- StaticOperationSchema,
5
- StaticStructureSchema,
6
- } from "@smithy/types";
2
+ import { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
7
3
  export declare var SagemakerJobRuntimeServiceException$: StaticErrorSchema;
8
4
  export declare var AccessDeniedException$: StaticErrorSchema;
9
5
  export declare var ConflictException$: StaticErrorSchema;
package/package.json CHANGED
@@ -1,7 +1,38 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sagemakerjobruntime",
3
+ "version": "3.1088.0",
3
4
  "description": "AWS SDK for JavaScript Sagemakerjobruntime Client for Node.js, Browser and React Native",
4
- "version": "3.1086.0",
5
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sagemakerjobruntime",
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-sagemakerjobruntime"
15
+ },
16
+ "files": [
17
+ "dist-*/**"
18
+ ],
19
+ "sideEffects": false,
20
+ "main": "./dist-cjs/index.js",
21
+ "module": "./dist-es/index.js",
22
+ "browser": {
23
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
24
+ },
25
+ "types": "./dist-types/index.d.ts",
26
+ "typesVersions": {
27
+ "<4.5": {
28
+ "dist-types/*": [
29
+ "dist-types/ts3.4/*"
30
+ ]
31
+ }
32
+ },
33
+ "react-native": {
34
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
35
+ },
5
36
  "scripts": {
6
37
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
38
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -14,18 +45,14 @@
14
45
  "generate:client": "node ../../scripts/generate-clients/single-service",
15
46
  "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
16
47
  },
17
- "main": "./dist-cjs/index.js",
18
- "types": "./dist-types/index.d.ts",
19
- "module": "./dist-es/index.js",
20
- "sideEffects": false,
21
48
  "dependencies": {
22
- "@aws-sdk/core": "^3.975.1",
23
- "@aws-sdk/credential-provider-node": "^3.972.67",
24
- "@aws-sdk/types": "^3.974.0",
25
- "@smithy/core": "^3.29.2",
26
- "@smithy/fetch-http-handler": "^5.6.4",
27
- "@smithy/node-http-handler": "^4.9.4",
28
- "@smithy/types": "^4.16.0",
49
+ "@aws-sdk/core": "^3.975.3",
50
+ "@aws-sdk/credential-provider-node": "^3.972.69",
51
+ "@aws-sdk/types": "^3.974.2",
52
+ "@smithy/core": "^3.29.4",
53
+ "@smithy/fetch-http-handler": "^5.6.6",
54
+ "@smithy/node-http-handler": "^4.9.6",
55
+ "@smithy/types": "^4.16.1",
29
56
  "tslib": "^2.6.2"
30
57
  },
31
58
  "devDependencies": {
@@ -38,32 +65,5 @@
38
65
  },
39
66
  "engines": {
40
67
  "node": ">=20.0.0"
41
- },
42
- "typesVersions": {
43
- "<4.5": {
44
- "dist-types/*": [
45
- "dist-types/ts3.4/*"
46
- ]
47
- }
48
- },
49
- "files": [
50
- "dist-*/**"
51
- ],
52
- "author": {
53
- "name": "AWS SDK for JavaScript Team",
54
- "url": "https://aws.amazon.com/sdk-for-javascript/"
55
- },
56
- "license": "Apache-2.0",
57
- "browser": {
58
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
59
- },
60
- "react-native": {
61
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
62
- },
63
- "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sagemakerjobruntime",
64
- "repository": {
65
- "type": "git",
66
- "url": "https://github.com/aws/aws-sdk-js-v3.git",
67
- "directory": "clients/client-sagemakerjobruntime"
68
68
  }
69
69
  }