@aws-sdk/client-sagemaker-edge 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 +1 -1
- package/dist-types/ts3.4/SagemakerEdge.d.ts +10 -12
- package/dist-types/ts3.4/SagemakerEdgeClient.d.ts +6 -16
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
- package/dist-types/ts3.4/commands/GetDeploymentsCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetDeviceRegistrationCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/SendHeartbeatCommand.d.ts +2 -2
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/models/enums.d.ts +2 -4
- package/dist-types/ts3.4/models/errors.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -16
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
- package/package.json +39 -39
package/dist-cjs/index.js
CHANGED
|
@@ -15,44 +15,42 @@ import { SagemakerEdgeClient } from "./SagemakerEdgeClient";
|
|
|
15
15
|
export interface SagemakerEdge {
|
|
16
16
|
getDeployments(
|
|
17
17
|
args: GetDeploymentsCommandInput,
|
|
18
|
-
options?: __HttpHandlerOptions
|
|
18
|
+
options?: __HttpHandlerOptions,
|
|
19
19
|
): Promise<GetDeploymentsCommandOutput>;
|
|
20
20
|
getDeployments(
|
|
21
21
|
args: GetDeploymentsCommandInput,
|
|
22
|
-
cb: (err: any, data?: GetDeploymentsCommandOutput) => void
|
|
22
|
+
cb: (err: any, data?: GetDeploymentsCommandOutput) => void,
|
|
23
23
|
): void;
|
|
24
24
|
getDeployments(
|
|
25
25
|
args: GetDeploymentsCommandInput,
|
|
26
26
|
options: __HttpHandlerOptions,
|
|
27
|
-
cb: (err: any, data?: GetDeploymentsCommandOutput) => void
|
|
27
|
+
cb: (err: any, data?: GetDeploymentsCommandOutput) => void,
|
|
28
28
|
): void;
|
|
29
29
|
getDeviceRegistration(
|
|
30
30
|
args: GetDeviceRegistrationCommandInput,
|
|
31
|
-
options?: __HttpHandlerOptions
|
|
31
|
+
options?: __HttpHandlerOptions,
|
|
32
32
|
): Promise<GetDeviceRegistrationCommandOutput>;
|
|
33
33
|
getDeviceRegistration(
|
|
34
34
|
args: GetDeviceRegistrationCommandInput,
|
|
35
|
-
cb: (err: any, data?: GetDeviceRegistrationCommandOutput) => void
|
|
35
|
+
cb: (err: any, data?: GetDeviceRegistrationCommandOutput) => void,
|
|
36
36
|
): void;
|
|
37
37
|
getDeviceRegistration(
|
|
38
38
|
args: GetDeviceRegistrationCommandInput,
|
|
39
39
|
options: __HttpHandlerOptions,
|
|
40
|
-
cb: (err: any, data?: GetDeviceRegistrationCommandOutput) => void
|
|
40
|
+
cb: (err: any, data?: GetDeviceRegistrationCommandOutput) => void,
|
|
41
41
|
): void;
|
|
42
42
|
sendHeartbeat(
|
|
43
43
|
args: SendHeartbeatCommandInput,
|
|
44
|
-
options?: __HttpHandlerOptions
|
|
44
|
+
options?: __HttpHandlerOptions,
|
|
45
45
|
): Promise<SendHeartbeatCommandOutput>;
|
|
46
46
|
sendHeartbeat(
|
|
47
47
|
args: SendHeartbeatCommandInput,
|
|
48
|
-
cb: (err: any, data?: SendHeartbeatCommandOutput) => void
|
|
48
|
+
cb: (err: any, data?: SendHeartbeatCommandOutput) => void,
|
|
49
49
|
): void;
|
|
50
50
|
sendHeartbeat(
|
|
51
51
|
args: SendHeartbeatCommandInput,
|
|
52
52
|
options: __HttpHandlerOptions,
|
|
53
|
-
cb: (err: any, data?: SendHeartbeatCommandOutput) => void
|
|
53
|
+
cb: (err: any, data?: SendHeartbeatCommandOutput) => void,
|
|
54
54
|
): void;
|
|
55
55
|
}
|
|
56
|
-
export declare class SagemakerEdge
|
|
57
|
-
extends SagemakerEdgeClient
|
|
58
|
-
implements SagemakerEdge {}
|
|
56
|
+
export declare class SagemakerEdge extends SagemakerEdgeClient implements SagemakerEdge {}
|
|
@@ -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 {
|
|
@@ -63,8 +60,7 @@ export type ServiceOutputTypes =
|
|
|
63
60
|
| GetDeploymentsCommandOutput
|
|
64
61
|
| GetDeviceRegistrationCommandOutput
|
|
65
62
|
| SendHeartbeatCommandOutput;
|
|
66
|
-
export interface ClientDefaults
|
|
67
|
-
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
63
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
68
64
|
requestHandler?: __HttpHandlerUserInput;
|
|
69
65
|
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
70
66
|
urlParser?: __UrlParser;
|
|
@@ -89,9 +85,7 @@ export interface ClientDefaults
|
|
|
89
85
|
extensions?: RuntimeExtension[];
|
|
90
86
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
91
87
|
}
|
|
92
|
-
export type SagemakerEdgeClientConfigType = Partial<
|
|
93
|
-
__SmithyConfiguration<__HttpHandlerOptions>
|
|
94
|
-
> &
|
|
88
|
+
export type SagemakerEdgeClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
95
89
|
ClientDefaults &
|
|
96
90
|
UserAgentInputConfig &
|
|
97
91
|
RetryInputConfig &
|
|
@@ -100,8 +94,7 @@ export type SagemakerEdgeClientConfigType = Partial<
|
|
|
100
94
|
EndpointInputConfig<EndpointParameters> &
|
|
101
95
|
HttpAuthSchemeInputConfig &
|
|
102
96
|
ClientInputEndpointParameters;
|
|
103
|
-
export interface SagemakerEdgeClientConfig
|
|
104
|
-
extends SagemakerEdgeClientConfigType {}
|
|
97
|
+
export interface SagemakerEdgeClientConfig extends SagemakerEdgeClientConfigType {}
|
|
105
98
|
export type SagemakerEdgeClientResolvedConfigType =
|
|
106
99
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
107
100
|
Required<ClientDefaults> &
|
|
@@ -113,8 +106,7 @@ export type SagemakerEdgeClientResolvedConfigType =
|
|
|
113
106
|
EndpointResolvedConfig<EndpointParameters> &
|
|
114
107
|
HttpAuthSchemeResolvedConfig &
|
|
115
108
|
ClientResolvedEndpointParameters;
|
|
116
|
-
export interface SagemakerEdgeClientResolvedConfig
|
|
117
|
-
extends SagemakerEdgeClientResolvedConfigType {}
|
|
109
|
+
export interface SagemakerEdgeClientResolvedConfig extends SagemakerEdgeClientResolvedConfigType {}
|
|
118
110
|
export declare class SagemakerEdgeClient extends __Client<
|
|
119
111
|
__HttpHandlerOptions,
|
|
120
112
|
ServiceInputTypes,
|
|
@@ -122,8 +114,6 @@ export declare class SagemakerEdgeClient extends __Client<
|
|
|
122
114
|
SagemakerEdgeClientResolvedConfig
|
|
123
115
|
> {
|
|
124
116
|
readonly config: SagemakerEdgeClientResolvedConfig;
|
|
125
|
-
constructor(
|
|
126
|
-
...[configuration]: __CheckOptionalClientConfig<SagemakerEdgeClientConfig>
|
|
127
|
-
);
|
|
117
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<SagemakerEdgeClientConfig>);
|
|
128
118
|
destroy(): void;
|
|
129
119
|
}
|
|
@@ -7,17 +7,10 @@ import { SagemakerEdgeHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
|
7
7
|
export interface HttpAuthExtensionConfiguration {
|
|
8
8
|
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
9
|
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
-
setHttpAuthSchemeProvider(
|
|
11
|
-
httpAuthSchemeProvider: SagemakerEdgeHttpAuthSchemeProvider
|
|
12
|
-
): void;
|
|
10
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: SagemakerEdgeHttpAuthSchemeProvider): void;
|
|
13
11
|
httpAuthSchemeProvider(): SagemakerEdgeHttpAuthSchemeProvider;
|
|
14
|
-
setCredentials(
|
|
15
|
-
|
|
16
|
-
): void;
|
|
17
|
-
credentials():
|
|
18
|
-
| AwsCredentialIdentity
|
|
19
|
-
| AwsCredentialIdentityProvider
|
|
20
|
-
| undefined;
|
|
12
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
13
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
21
14
|
}
|
|
22
15
|
export type HttpAuthRuntimeConfig = Partial<{
|
|
23
16
|
httpAuthSchemes: HttpAuthScheme[];
|
|
@@ -25,8 +18,8 @@ export type HttpAuthRuntimeConfig = Partial<{
|
|
|
25
18
|
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
26
19
|
}>;
|
|
27
20
|
export declare const getHttpAuthExtensionConfiguration: (
|
|
28
|
-
runtimeConfig: HttpAuthRuntimeConfig
|
|
21
|
+
runtimeConfig: HttpAuthRuntimeConfig,
|
|
29
22
|
) => HttpAuthExtensionConfiguration;
|
|
30
23
|
export declare const resolveHttpAuthRuntimeConfig: (
|
|
31
|
-
config: HttpAuthExtensionConfiguration
|
|
24
|
+
config: HttpAuthExtensionConfiguration,
|
|
32
25
|
) => HttpAuthRuntimeConfig;
|
|
@@ -12,36 +12,32 @@ import {
|
|
|
12
12
|
Provider,
|
|
13
13
|
} from "@smithy/types";
|
|
14
14
|
import { SagemakerEdgeClientResolvedConfig } from "../SagemakerEdgeClient";
|
|
15
|
-
export interface SagemakerEdgeHttpAuthSchemeParameters
|
|
16
|
-
extends HttpAuthSchemeParameters {
|
|
15
|
+
export interface SagemakerEdgeHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
17
16
|
region?: string;
|
|
18
17
|
}
|
|
19
|
-
export interface SagemakerEdgeHttpAuthSchemeParametersProvider
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
> {}
|
|
18
|
+
export interface SagemakerEdgeHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
|
|
19
|
+
SagemakerEdgeClientResolvedConfig,
|
|
20
|
+
HandlerExecutionContext,
|
|
21
|
+
SagemakerEdgeHttpAuthSchemeParameters,
|
|
22
|
+
object
|
|
23
|
+
> {}
|
|
26
24
|
export declare const defaultSagemakerEdgeHttpAuthSchemeParametersProvider: (
|
|
27
25
|
config: SagemakerEdgeClientResolvedConfig,
|
|
28
26
|
context: HandlerExecutionContext,
|
|
29
|
-
input: object
|
|
27
|
+
input: object,
|
|
30
28
|
) => Promise<SagemakerEdgeHttpAuthSchemeParameters>;
|
|
31
|
-
export interface SagemakerEdgeHttpAuthSchemeProvider
|
|
32
|
-
extends HttpAuthSchemeProvider<SagemakerEdgeHttpAuthSchemeParameters> {}
|
|
29
|
+
export interface SagemakerEdgeHttpAuthSchemeProvider extends HttpAuthSchemeProvider<SagemakerEdgeHttpAuthSchemeParameters> {}
|
|
33
30
|
export declare const defaultSagemakerEdgeHttpAuthSchemeProvider: SagemakerEdgeHttpAuthSchemeProvider;
|
|
34
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
35
32
|
authSchemePreference?: string[] | Provider<string[]>;
|
|
36
33
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
34
|
httpAuthSchemeProvider?: SagemakerEdgeHttpAuthSchemeProvider;
|
|
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: SagemakerEdgeHttpAuthSchemeProvider;
|
|
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 "./SagemakerEdgeClient";
|
|
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 (
|
|
19
|
+
new (
|
|
20
|
+
input: I,
|
|
21
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
22
|
I,
|
|
24
23
|
O,
|
|
25
24
|
SagemakerEdgeClientResolvedConfig,
|
|
@@ -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
|
-
GetDeploymentsRequest,
|
|
4
|
-
GetDeploymentsResult,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { GetDeploymentsRequest, GetDeploymentsResult } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
4
|
export interface GetDeploymentsCommandInput extends GetDeploymentsRequest {}
|
|
8
|
-
export interface GetDeploymentsCommandOutput
|
|
9
|
-
extends GetDeploymentsResult,
|
|
10
|
-
__MetadataBearer {}
|
|
5
|
+
export interface GetDeploymentsCommandOutput extends GetDeploymentsResult, __MetadataBearer {}
|
|
11
6
|
declare const GetDeploymentsCommand_base: {
|
|
12
7
|
new (
|
|
13
|
-
input: GetDeploymentsCommandInput
|
|
8
|
+
input: GetDeploymentsCommandInput,
|
|
14
9
|
): import("@smithy/core/client").CommandImpl<
|
|
15
10
|
GetDeploymentsCommandInput,
|
|
16
11
|
GetDeploymentsCommandOutput,
|
|
@@ -19,7 +14,7 @@ declare const GetDeploymentsCommand_base: {
|
|
|
19
14
|
import("..").ServiceOutputTypes
|
|
20
15
|
>;
|
|
21
16
|
new (
|
|
22
|
-
input: GetDeploymentsCommandInput
|
|
17
|
+
input: GetDeploymentsCommandInput,
|
|
23
18
|
): import("@smithy/core/client").CommandImpl<
|
|
24
19
|
GetDeploymentsCommandInput,
|
|
25
20
|
GetDeploymentsCommandOutput,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
GetDeviceRegistrationRequest,
|
|
4
|
-
GetDeviceRegistrationResult,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { GetDeviceRegistrationRequest, GetDeviceRegistrationResult } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
|
-
export interface GetDeviceRegistrationCommandInput
|
|
8
|
-
extends GetDeviceRegistrationRequest {}
|
|
4
|
+
export interface GetDeviceRegistrationCommandInput extends GetDeviceRegistrationRequest {}
|
|
9
5
|
export interface GetDeviceRegistrationCommandOutput
|
|
10
|
-
extends GetDeviceRegistrationResult,
|
|
11
|
-
__MetadataBearer {}
|
|
6
|
+
extends GetDeviceRegistrationResult, __MetadataBearer {}
|
|
12
7
|
declare const GetDeviceRegistrationCommand_base: {
|
|
13
8
|
new (
|
|
14
|
-
input: GetDeviceRegistrationCommandInput
|
|
9
|
+
input: GetDeviceRegistrationCommandInput,
|
|
15
10
|
): import("@smithy/core/client").CommandImpl<
|
|
16
11
|
GetDeviceRegistrationCommandInput,
|
|
17
12
|
GetDeviceRegistrationCommandOutput,
|
|
@@ -20,7 +15,7 @@ declare const GetDeviceRegistrationCommand_base: {
|
|
|
20
15
|
import("..").ServiceOutputTypes
|
|
21
16
|
>;
|
|
22
17
|
new (
|
|
23
|
-
input: GetDeviceRegistrationCommandInput
|
|
18
|
+
input: GetDeviceRegistrationCommandInput,
|
|
24
19
|
): import("@smithy/core/client").CommandImpl<
|
|
25
20
|
GetDeviceRegistrationCommandInput,
|
|
26
21
|
GetDeviceRegistrationCommandOutput,
|
|
@@ -5,7 +5,7 @@ export interface SendHeartbeatCommandInput extends SendHeartbeatRequest {}
|
|
|
5
5
|
export interface SendHeartbeatCommandOutput extends __MetadataBearer {}
|
|
6
6
|
declare const SendHeartbeatCommand_base: {
|
|
7
7
|
new (
|
|
8
|
-
input: SendHeartbeatCommandInput
|
|
8
|
+
input: SendHeartbeatCommandInput,
|
|
9
9
|
): import("@smithy/core/client").CommandImpl<
|
|
10
10
|
SendHeartbeatCommandInput,
|
|
11
11
|
SendHeartbeatCommandOutput,
|
|
@@ -14,7 +14,7 @@ declare const SendHeartbeatCommand_base: {
|
|
|
14
14
|
import("..").ServiceOutputTypes
|
|
15
15
|
>;
|
|
16
16
|
new (
|
|
17
|
-
input: SendHeartbeatCommandInput
|
|
17
|
+
input: SendHeartbeatCommandInput,
|
|
18
18
|
): import("@smithy/core/client").CommandImpl<
|
|
19
19
|
SendHeartbeatCommandInput,
|
|
20
20
|
SendHeartbeatCommandOutput,
|
|
@@ -23,7 +23,7 @@ export type ClientResolvedEndpointParameters = Pick<
|
|
|
23
23
|
defaultSigningName: string;
|
|
24
24
|
};
|
|
25
25
|
export declare const resolveClientEndpointParameters: <T>(
|
|
26
|
-
options: T & ClientInputEndpointParameters
|
|
26
|
+
options: T & ClientInputEndpointParameters,
|
|
27
27
|
) => T & ClientResolvedEndpointParameters;
|
|
28
28
|
export declare const commonParams: {
|
|
29
29
|
readonly UseFIPS: {
|
|
@@ -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 SagemakerEdgeExtensionConfiguration
|
|
6
|
-
extends
|
|
6
|
+
extends
|
|
7
|
+
HttpHandlerExtensionConfiguration,
|
|
7
8
|
DefaultExtensionConfiguration,
|
|
8
9
|
AwsRegionExtensionConfiguration,
|
|
9
10
|
HttpAuthExtensionConfiguration {}
|
|
@@ -16,11 +16,9 @@ export type FailureHandlingPolicy =
|
|
|
16
16
|
export declare const DeploymentType: {
|
|
17
17
|
readonly Model: "Model";
|
|
18
18
|
};
|
|
19
|
-
export type DeploymentType =
|
|
20
|
-
(typeof DeploymentType)[keyof typeof DeploymentType];
|
|
19
|
+
export type DeploymentType = (typeof DeploymentType)[keyof typeof DeploymentType];
|
|
21
20
|
export declare const DeploymentStatus: {
|
|
22
21
|
readonly Fail: "FAIL";
|
|
23
22
|
readonly Success: "SUCCESS";
|
|
24
23
|
};
|
|
25
|
-
export type DeploymentStatus =
|
|
26
|
-
(typeof DeploymentStatus)[keyof typeof DeploymentStatus];
|
|
24
|
+
export type DeploymentStatus = (typeof DeploymentStatus)[keyof typeof DeploymentStatus];
|
|
@@ -4,7 +4,5 @@ export declare class InternalServiceException extends __BaseException {
|
|
|
4
4
|
readonly name: "InternalServiceException";
|
|
5
5
|
readonly $fault: "client";
|
|
6
6
|
Message?: string | undefined;
|
|
7
|
-
constructor(
|
|
8
|
-
opts: __ExceptionOptionType<InternalServiceException, __BaseException>
|
|
9
|
-
);
|
|
7
|
+
constructor(opts: __ExceptionOptionType<InternalServiceException, __BaseException>);
|
|
10
8
|
}
|
|
@@ -8,24 +8,16 @@ export declare const getRuntimeConfig: (config: SagemakerEdgeClientConfig) => {
|
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
9
|
credentialDefaultProvider:
|
|
10
10
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
-
| ((
|
|
12
|
-
_: unknown
|
|
13
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
14
12
|
defaultUserAgentProvider: (
|
|
15
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
13
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
16
14
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
17
15
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
18
16
|
region: string | import("@smithy/types").Provider<any>;
|
|
19
|
-
requestHandler:
|
|
20
|
-
| import("@smithy/core/protocols").HttpHandler<any>
|
|
21
|
-
| RequestHandler;
|
|
17
|
+
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
22
18
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
23
19
|
streamCollector: (
|
|
24
|
-
stream:
|
|
25
|
-
| import("stream").Readable
|
|
26
|
-
| import("stream/web").ReadableStream
|
|
27
|
-
| ReadableStream
|
|
28
|
-
| Blob
|
|
20
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
29
21
|
) => Promise<Uint8Array>;
|
|
30
22
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
31
23
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
@@ -53,13 +45,8 @@ export declare const getRuntimeConfig: (config: SagemakerEdgeClientConfig) => {
|
|
|
53
45
|
logger: import("@smithy/types").Logger;
|
|
54
46
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
55
47
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
56
|
-
userAgentAppId?:
|
|
57
|
-
|
|
58
|
-
| undefined
|
|
59
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
60
|
-
retryStrategy?:
|
|
61
|
-
| import("@smithy/types").RetryStrategy
|
|
62
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
48
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
49
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
63
50
|
endpoint?:
|
|
64
51
|
| ((
|
|
65
52
|
| string
|
|
@@ -81,7 +68,7 @@ export declare const getRuntimeConfig: (config: SagemakerEdgeClientConfig) => {
|
|
|
81
68
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
82
69
|
context?: {
|
|
83
70
|
logger?: import("@smithy/types").Logger;
|
|
84
|
-
}
|
|
71
|
+
},
|
|
85
72
|
) => import("@smithy/types").EndpointV2;
|
|
86
73
|
tls?: boolean;
|
|
87
74
|
serviceConfiguredEndpoint?: never;
|
|
@@ -94,13 +81,13 @@ export declare const getRuntimeConfig: (config: SagemakerEdgeClientConfig) => {
|
|
|
94
81
|
signer?:
|
|
95
82
|
| import("@smithy/types").RequestSigner
|
|
96
83
|
| ((
|
|
97
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
84
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
98
85
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
99
86
|
signingEscapePath?: boolean;
|
|
100
87
|
systemClockOffset?: number;
|
|
101
88
|
signingRegion?: string;
|
|
102
89
|
signerConstructor?: new (
|
|
103
90
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
104
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
91
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
105
92
|
) => import("@smithy/types").RequestSigner;
|
|
106
93
|
};
|
|
@@ -10,23 +10,17 @@ export declare const getRuntimeConfig: (config: SagemakerEdgeClientConfig) => {
|
|
|
10
10
|
credentialDefaultProvider:
|
|
11
11
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
12
12
|
| ((
|
|
13
|
-
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
13
|
+
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
|
|
14
14
|
) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
15
15
|
defaultUserAgentProvider: (
|
|
16
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
16
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
17
17
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
18
18
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
19
19
|
region: string | import("@smithy/types").Provider<string>;
|
|
20
|
-
requestHandler:
|
|
21
|
-
| RequestHandler
|
|
22
|
-
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
20
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
23
21
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
24
22
|
streamCollector: (
|
|
25
|
-
stream:
|
|
26
|
-
| import("stream").Readable
|
|
27
|
-
| import("stream/web").ReadableStream
|
|
28
|
-
| ReadableStream
|
|
29
|
-
| Blob
|
|
23
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
30
24
|
) => Promise<Uint8Array>;
|
|
31
25
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
32
26
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -53,9 +47,7 @@ export declare const getRuntimeConfig: (config: SagemakerEdgeClientConfig) => {
|
|
|
53
47
|
logger: import("@smithy/types").Logger;
|
|
54
48
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
55
49
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
56
|
-
retryStrategy?:
|
|
57
|
-
| import("@smithy/types").RetryStrategy
|
|
58
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
50
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
59
51
|
endpoint?:
|
|
60
52
|
| ((
|
|
61
53
|
| string
|
|
@@ -77,7 +69,7 @@ export declare const getRuntimeConfig: (config: SagemakerEdgeClientConfig) => {
|
|
|
77
69
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
78
70
|
context?: {
|
|
79
71
|
logger?: import("@smithy/types").Logger;
|
|
80
|
-
}
|
|
72
|
+
},
|
|
81
73
|
) => import("@smithy/types").EndpointV2;
|
|
82
74
|
tls?: boolean;
|
|
83
75
|
serviceConfiguredEndpoint?: never;
|
|
@@ -89,13 +81,13 @@ export declare const getRuntimeConfig: (config: SagemakerEdgeClientConfig) => {
|
|
|
89
81
|
signer?:
|
|
90
82
|
| import("@smithy/types").RequestSigner
|
|
91
83
|
| ((
|
|
92
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
84
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
93
85
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
94
86
|
signingEscapePath?: boolean;
|
|
95
87
|
systemClockOffset?: number;
|
|
96
88
|
signingRegion?: string;
|
|
97
89
|
signerConstructor?: new (
|
|
98
90
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
99
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
91
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
100
92
|
) => import("@smithy/types").RequestSigner;
|
|
101
93
|
};
|
|
@@ -21,11 +21,7 @@ export declare const getRuntimeConfig: (config: SagemakerEdgeClientConfig) => {
|
|
|
21
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
22
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
23
23
|
streamCollector: (
|
|
24
|
-
stream:
|
|
25
|
-
| import("stream").Readable
|
|
26
|
-
| import("stream/web").ReadableStream
|
|
27
|
-
| ReadableStream
|
|
28
|
-
| Blob
|
|
24
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
29
25
|
) => Promise<Uint8Array>;
|
|
30
26
|
base64Decoder: import("@smithy/types").Decoder;
|
|
31
27
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -40,30 +36,21 @@ export declare const getRuntimeConfig: (config: SagemakerEdgeClientConfig) => {
|
|
|
40
36
|
region: string | import("@smithy/types").Provider<any>;
|
|
41
37
|
profile?: string;
|
|
42
38
|
defaultUserAgentProvider: (
|
|
43
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
39
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
44
40
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
45
41
|
credentialDefaultProvider:
|
|
46
42
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
47
|
-
| ((
|
|
48
|
-
_: unknown
|
|
49
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
43
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
50
44
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
51
45
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
52
46
|
logger: import("@smithy/types").Logger;
|
|
53
47
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
54
48
|
defaultsMode:
|
|
55
49
|
| import("@smithy/core/client").DefaultsMode
|
|
56
|
-
| import("@smithy/types").Provider<
|
|
57
|
-
import("@smithy/core/client").DefaultsMode
|
|
58
|
-
>;
|
|
50
|
+
| import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
|
|
59
51
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
60
|
-
userAgentAppId?:
|
|
61
|
-
|
|
62
|
-
| undefined
|
|
63
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
64
|
-
retryStrategy?:
|
|
65
|
-
| import("@smithy/types").RetryStrategy
|
|
66
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
52
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
53
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
67
54
|
endpoint?:
|
|
68
55
|
| ((
|
|
69
56
|
| string
|
|
@@ -85,7 +72,7 @@ export declare const getRuntimeConfig: (config: SagemakerEdgeClientConfig) => {
|
|
|
85
72
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
86
73
|
context?: {
|
|
87
74
|
logger?: import("@smithy/types").Logger;
|
|
88
|
-
}
|
|
75
|
+
},
|
|
89
76
|
) => import("@smithy/types").EndpointV2;
|
|
90
77
|
tls?: boolean;
|
|
91
78
|
serviceConfiguredEndpoint?: never;
|
|
@@ -98,13 +85,13 @@ export declare const getRuntimeConfig: (config: SagemakerEdgeClientConfig) => {
|
|
|
98
85
|
signer?:
|
|
99
86
|
| import("@smithy/types").RequestSigner
|
|
100
87
|
| ((
|
|
101
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
88
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
102
89
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
103
90
|
signingEscapePath?: boolean;
|
|
104
91
|
systemClockOffset?: number;
|
|
105
92
|
signingRegion?: string;
|
|
106
93
|
signerConstructor?: new (
|
|
107
94
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
108
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
95
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
109
96
|
) => import("@smithy/types").RequestSigner;
|
|
110
97
|
};
|
|
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: SagemakerEdgeClientConfig) => {
|
|
|
9
9
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
10
10
|
context?: {
|
|
11
11
|
logger?: import("@smithy/types").Logger;
|
|
12
|
-
}
|
|
12
|
+
},
|
|
13
13
|
) => import("@smithy/types").EndpointV2;
|
|
14
14
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
15
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SagemakerEdgeHttpAuthSchemeProvider;
|
|
@@ -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 SagemakerEdgeServiceException$: StaticErrorSchema;
|
|
8
4
|
export declare var InternalServiceException$: StaticErrorSchema;
|
|
9
5
|
export declare const errorTypeRegistries: TypeRegistry[];
|
package/package.json
CHANGED
|
@@ -1,7 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sagemaker-edge",
|
|
3
|
+
"version": "3.1088.0",
|
|
3
4
|
"description": "AWS SDK for JavaScript Sagemaker Edge Client for Node.js, Browser and React Native",
|
|
4
|
-
"
|
|
5
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sagemaker-edge",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"author": {
|
|
8
|
+
"name": "AWS SDK for JavaScript Team",
|
|
9
|
+
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
14
|
+
"directory": "clients/client-sagemaker-edge"
|
|
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.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
-
"@aws-sdk/types": "^3.974.
|
|
25
|
-
"@smithy/core": "^3.29.
|
|
26
|
-
"@smithy/fetch-http-handler": "^5.6.
|
|
27
|
-
"@smithy/node-http-handler": "^4.9.
|
|
28
|
-
"@smithy/types": "^4.16.
|
|
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-sagemaker-edge",
|
|
64
|
-
"repository": {
|
|
65
|
-
"type": "git",
|
|
66
|
-
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
67
|
-
"directory": "clients/client-sagemaker-edge"
|
|
68
68
|
}
|
|
69
69
|
}
|