@aws-sdk/client-sagemaker-edge 3.131.0 → 3.133.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/CHANGELOG.md +11 -0
- package/README.md +7 -7
- package/dist-cjs/SagemakerEdge.js +15 -0
- package/dist-cjs/commands/GetDeploymentsCommand.js +36 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +74 -9
- package/dist-cjs/protocols/Aws_restJson1.js +144 -1
- package/dist-es/SagemakerEdge.js +15 -0
- package/dist-es/commands/GetDeploymentsCommand.js +39 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +59 -8
- package/dist-es/protocols/Aws_restJson1.js +149 -2
- package/dist-types/SagemakerEdge.d.ts +7 -0
- package/dist-types/SagemakerEdgeClient.d.ts +3 -2
- package/dist-types/commands/GetDeploymentsCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +213 -12
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/ts3.4/SagemakerEdge.d.ts +5 -0
- package/dist-types/ts3.4/SagemakerEdgeClient.d.ts +3 -2
- package/dist-types/ts3.4/commands/GetDeploymentsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +129 -8
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
- package/package.json +1 -1
|
@@ -1,24 +1,77 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { SagemakerEdgeServiceException as __BaseException } from "./SagemakerEdgeServiceException";
|
|
3
|
-
export interface
|
|
3
|
+
export interface GetDeploymentsRequest {
|
|
4
4
|
|
|
5
5
|
DeviceName: string | undefined;
|
|
6
6
|
|
|
7
7
|
DeviceFleetName: string | undefined;
|
|
8
8
|
}
|
|
9
|
-
export declare namespace
|
|
9
|
+
export declare namespace GetDeploymentsRequest {
|
|
10
10
|
|
|
11
|
-
const filterSensitiveLog: (obj:
|
|
11
|
+
const filterSensitiveLog: (obj: GetDeploymentsRequest) => any;
|
|
12
12
|
}
|
|
13
|
-
export
|
|
13
|
+
export declare enum ChecksumType {
|
|
14
|
+
Sha1 = "SHA1"
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface Checksum {
|
|
14
18
|
|
|
15
|
-
|
|
19
|
+
Type?: ChecksumType | string;
|
|
16
20
|
|
|
17
|
-
|
|
21
|
+
Sum?: string;
|
|
18
22
|
}
|
|
19
|
-
export declare namespace
|
|
23
|
+
export declare namespace Checksum {
|
|
20
24
|
|
|
21
|
-
const filterSensitiveLog: (obj:
|
|
25
|
+
const filterSensitiveLog: (obj: Checksum) => any;
|
|
26
|
+
}
|
|
27
|
+
export declare enum ModelState {
|
|
28
|
+
Deploy = "DEPLOY",
|
|
29
|
+
Undeploy = "UNDEPLOY"
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export interface Definition {
|
|
33
|
+
|
|
34
|
+
ModelHandle?: string;
|
|
35
|
+
|
|
36
|
+
S3Url?: string;
|
|
37
|
+
|
|
38
|
+
Checksum?: Checksum;
|
|
39
|
+
|
|
40
|
+
State?: ModelState | string;
|
|
41
|
+
}
|
|
42
|
+
export declare namespace Definition {
|
|
43
|
+
|
|
44
|
+
const filterSensitiveLog: (obj: Definition) => any;
|
|
45
|
+
}
|
|
46
|
+
export declare enum FailureHandlingPolicy {
|
|
47
|
+
DoNothing = "DO_NOTHING",
|
|
48
|
+
RollbackOnFailure = "ROLLBACK_ON_FAILURE"
|
|
49
|
+
}
|
|
50
|
+
export declare enum DeploymentType {
|
|
51
|
+
Model = "Model"
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export interface EdgeDeployment {
|
|
55
|
+
|
|
56
|
+
DeploymentName?: string;
|
|
57
|
+
|
|
58
|
+
Type?: DeploymentType | string;
|
|
59
|
+
|
|
60
|
+
FailureHandlingPolicy?: FailureHandlingPolicy | string;
|
|
61
|
+
|
|
62
|
+
Definitions?: Definition[];
|
|
63
|
+
}
|
|
64
|
+
export declare namespace EdgeDeployment {
|
|
65
|
+
|
|
66
|
+
const filterSensitiveLog: (obj: EdgeDeployment) => any;
|
|
67
|
+
}
|
|
68
|
+
export interface GetDeploymentsResult {
|
|
69
|
+
|
|
70
|
+
Deployments?: EdgeDeployment[];
|
|
71
|
+
}
|
|
72
|
+
export declare namespace GetDeploymentsResult {
|
|
73
|
+
|
|
74
|
+
const filterSensitiveLog: (obj: GetDeploymentsResult) => any;
|
|
22
75
|
}
|
|
23
76
|
|
|
24
77
|
export declare class InternalServiceException extends __BaseException {
|
|
@@ -28,6 +81,26 @@ export declare class InternalServiceException extends __BaseException {
|
|
|
28
81
|
|
|
29
82
|
constructor(opts: __ExceptionOptionType<InternalServiceException, __BaseException>);
|
|
30
83
|
}
|
|
84
|
+
export interface GetDeviceRegistrationRequest {
|
|
85
|
+
|
|
86
|
+
DeviceName: string | undefined;
|
|
87
|
+
|
|
88
|
+
DeviceFleetName: string | undefined;
|
|
89
|
+
}
|
|
90
|
+
export declare namespace GetDeviceRegistrationRequest {
|
|
91
|
+
|
|
92
|
+
const filterSensitiveLog: (obj: GetDeviceRegistrationRequest) => any;
|
|
93
|
+
}
|
|
94
|
+
export interface GetDeviceRegistrationResult {
|
|
95
|
+
|
|
96
|
+
DeviceRegistration?: string;
|
|
97
|
+
|
|
98
|
+
CacheTTL?: string;
|
|
99
|
+
}
|
|
100
|
+
export declare namespace GetDeviceRegistrationResult {
|
|
101
|
+
|
|
102
|
+
const filterSensitiveLog: (obj: GetDeviceRegistrationResult) => any;
|
|
103
|
+
}
|
|
31
104
|
|
|
32
105
|
export interface EdgeMetric {
|
|
33
106
|
|
|
@@ -43,6 +116,52 @@ export declare namespace EdgeMetric {
|
|
|
43
116
|
|
|
44
117
|
const filterSensitiveLog: (obj: EdgeMetric) => any;
|
|
45
118
|
}
|
|
119
|
+
export declare enum DeploymentStatus {
|
|
120
|
+
Fail = "FAIL",
|
|
121
|
+
Success = "SUCCESS"
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export interface DeploymentModel {
|
|
125
|
+
|
|
126
|
+
ModelHandle?: string;
|
|
127
|
+
|
|
128
|
+
ModelName?: string;
|
|
129
|
+
|
|
130
|
+
ModelVersion?: string;
|
|
131
|
+
|
|
132
|
+
DesiredState?: ModelState | string;
|
|
133
|
+
|
|
134
|
+
State?: ModelState | string;
|
|
135
|
+
|
|
136
|
+
Status?: DeploymentStatus | string;
|
|
137
|
+
|
|
138
|
+
StatusReason?: string;
|
|
139
|
+
|
|
140
|
+
RollbackFailureReason?: string;
|
|
141
|
+
}
|
|
142
|
+
export declare namespace DeploymentModel {
|
|
143
|
+
|
|
144
|
+
const filterSensitiveLog: (obj: DeploymentModel) => any;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export interface DeploymentResult {
|
|
148
|
+
|
|
149
|
+
DeploymentName?: string;
|
|
150
|
+
|
|
151
|
+
DeploymentStatus?: string;
|
|
152
|
+
|
|
153
|
+
DeploymentStatusMessage?: string;
|
|
154
|
+
|
|
155
|
+
DeploymentStartTime?: Date;
|
|
156
|
+
|
|
157
|
+
DeploymentEndTime?: Date;
|
|
158
|
+
|
|
159
|
+
DeploymentModels?: DeploymentModel[];
|
|
160
|
+
}
|
|
161
|
+
export declare namespace DeploymentResult {
|
|
162
|
+
|
|
163
|
+
const filterSensitiveLog: (obj: DeploymentResult) => any;
|
|
164
|
+
}
|
|
46
165
|
|
|
47
166
|
export interface Model {
|
|
48
167
|
|
|
@@ -71,6 +190,8 @@ export interface SendHeartbeatRequest {
|
|
|
71
190
|
DeviceName: string | undefined;
|
|
72
191
|
|
|
73
192
|
DeviceFleetName: string | undefined;
|
|
193
|
+
|
|
194
|
+
DeploymentResult?: DeploymentResult;
|
|
74
195
|
}
|
|
75
196
|
export declare namespace SendHeartbeatRequest {
|
|
76
197
|
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
2
2
|
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
3
|
+
import { GetDeploymentsCommandInput, GetDeploymentsCommandOutput } from "../commands/GetDeploymentsCommand";
|
|
3
4
|
import { GetDeviceRegistrationCommandInput, GetDeviceRegistrationCommandOutput } from "../commands/GetDeviceRegistrationCommand";
|
|
4
5
|
import { SendHeartbeatCommandInput, SendHeartbeatCommandOutput } from "../commands/SendHeartbeatCommand";
|
|
6
|
+
export declare const serializeAws_restJson1GetDeploymentsCommand: (input: GetDeploymentsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
5
7
|
export declare const serializeAws_restJson1GetDeviceRegistrationCommand: (input: GetDeviceRegistrationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
6
8
|
export declare const serializeAws_restJson1SendHeartbeatCommand: (input: SendHeartbeatCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
9
|
+
export declare const deserializeAws_restJson1GetDeploymentsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetDeploymentsCommandOutput>;
|
|
7
10
|
export declare const deserializeAws_restJson1GetDeviceRegistrationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetDeviceRegistrationCommandOutput>;
|
|
8
11
|
export declare const deserializeAws_restJson1SendHeartbeatCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SendHeartbeatCommandOutput>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sagemaker-edge",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sagemaker Edge Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.133.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|