@aws-sdk/client-sagemaker-edge 3.295.0 → 3.297.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-types/SagemakerEdge.d.ts +4 -0
- package/dist-types/SagemakerEdgeClient.d.ts +24 -4
- package/dist-types/commands/GetDeploymentsCommand.d.ts +16 -0
- package/dist-types/commands/GetDeviceRegistrationCommand.d.ts +16 -0
- package/dist-types/commands/SendHeartbeatCommand.d.ts +16 -0
- package/dist-types/models/SagemakerEdgeServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +38 -0
- package/package.json +29 -29
|
@@ -4,22 +4,26 @@ import { GetDeviceRegistrationCommandInput, GetDeviceRegistrationCommandOutput }
|
|
|
4
4
|
import { SendHeartbeatCommandInput, SendHeartbeatCommandOutput } from "./commands/SendHeartbeatCommand";
|
|
5
5
|
import { SagemakerEdgeClient } from "./SagemakerEdgeClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
7
8
|
* <p>SageMaker Edge Manager dataplane service for communicating with active agents.</p>
|
|
8
9
|
*/
|
|
9
10
|
export declare class SagemakerEdge extends SagemakerEdgeClient {
|
|
10
11
|
/**
|
|
12
|
+
* @public
|
|
11
13
|
* <p>Use to get the active deployments from a device.</p>
|
|
12
14
|
*/
|
|
13
15
|
getDeployments(args: GetDeploymentsCommandInput, options?: __HttpHandlerOptions): Promise<GetDeploymentsCommandOutput>;
|
|
14
16
|
getDeployments(args: GetDeploymentsCommandInput, cb: (err: any, data?: GetDeploymentsCommandOutput) => void): void;
|
|
15
17
|
getDeployments(args: GetDeploymentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDeploymentsCommandOutput) => void): void;
|
|
16
18
|
/**
|
|
19
|
+
* @public
|
|
17
20
|
* <p>Use to check if a device is registered with SageMaker Edge Manager.</p>
|
|
18
21
|
*/
|
|
19
22
|
getDeviceRegistration(args: GetDeviceRegistrationCommandInput, options?: __HttpHandlerOptions): Promise<GetDeviceRegistrationCommandOutput>;
|
|
20
23
|
getDeviceRegistration(args: GetDeviceRegistrationCommandInput, cb: (err: any, data?: GetDeviceRegistrationCommandOutput) => void): void;
|
|
21
24
|
getDeviceRegistration(args: GetDeviceRegistrationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDeviceRegistrationCommandOutput) => void): void;
|
|
22
25
|
/**
|
|
26
|
+
* @public
|
|
23
27
|
* <p>Use to get the current status of devices registered on SageMaker Edge Manager.</p>
|
|
24
28
|
*/
|
|
25
29
|
sendHeartbeat(args: SendHeartbeatCommandInput, options?: __HttpHandlerOptions): Promise<SendHeartbeatCommandOutput>;
|
|
@@ -11,15 +11,24 @@ import { GetDeploymentsCommandInput, GetDeploymentsCommandOutput } from "./comma
|
|
|
11
11
|
import { GetDeviceRegistrationCommandInput, GetDeviceRegistrationCommandOutput } from "./commands/GetDeviceRegistrationCommand";
|
|
12
12
|
import { SendHeartbeatCommandInput, SendHeartbeatCommandOutput } from "./commands/SendHeartbeatCommand";
|
|
13
13
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
14
17
|
export type ServiceInputTypes = GetDeploymentsCommandInput | GetDeviceRegistrationCommandInput | SendHeartbeatCommandInput;
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
15
21
|
export type ServiceOutputTypes = GetDeploymentsCommandOutput | GetDeviceRegistrationCommandOutput | SendHeartbeatCommandOutput;
|
|
22
|
+
/**
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
16
25
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
17
26
|
/**
|
|
18
27
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
19
28
|
*/
|
|
20
29
|
requestHandler?: __HttpHandler;
|
|
21
30
|
/**
|
|
22
|
-
* A constructor for a class implementing the {@link
|
|
31
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
23
32
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
24
33
|
* @internal
|
|
25
34
|
*/
|
|
@@ -109,23 +118,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
109
118
|
*/
|
|
110
119
|
logger?: __Logger;
|
|
111
120
|
/**
|
|
112
|
-
* The {@link
|
|
121
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
113
122
|
*/
|
|
114
123
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
115
124
|
}
|
|
125
|
+
/**
|
|
126
|
+
* @public
|
|
127
|
+
*/
|
|
116
128
|
type SagemakerEdgeClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
117
129
|
/**
|
|
118
|
-
*
|
|
130
|
+
* @public
|
|
131
|
+
*
|
|
132
|
+
* The configuration interface of SagemakerEdgeClient class constructor that set the region, credentials and other options.
|
|
119
133
|
*/
|
|
120
134
|
export interface SagemakerEdgeClientConfig extends SagemakerEdgeClientConfigType {
|
|
121
135
|
}
|
|
136
|
+
/**
|
|
137
|
+
* @public
|
|
138
|
+
*/
|
|
122
139
|
type SagemakerEdgeClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
123
140
|
/**
|
|
124
|
-
*
|
|
141
|
+
* @public
|
|
142
|
+
*
|
|
143
|
+
* The resolved configuration interface of SagemakerEdgeClient class. This is resolved and normalized from the {@link SagemakerEdgeClientConfig | constructor configuration interface}.
|
|
125
144
|
*/
|
|
126
145
|
export interface SagemakerEdgeClientResolvedConfig extends SagemakerEdgeClientResolvedConfigType {
|
|
127
146
|
}
|
|
128
147
|
/**
|
|
148
|
+
* @public
|
|
129
149
|
* <p>SageMaker Edge Manager dataplane service for communicating with active agents.</p>
|
|
130
150
|
*/
|
|
131
151
|
export declare class SagemakerEdgeClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, SagemakerEdgeClientResolvedConfig> {
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { GetDeploymentsRequest, GetDeploymentsResult } from "../models/models_0";
|
|
5
5
|
import { SagemakerEdgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SagemakerEdgeClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link GetDeploymentsCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface GetDeploymentsCommandInput extends GetDeploymentsRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link GetDeploymentsCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface GetDeploymentsCommandOutput extends GetDeploymentsResult, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Use to get the active deployments from a device.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface GetDeploymentsCommandOutput extends GetDeploymentsResult, __Met
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param GetDeploymentsCommandInput - {@link GetDeploymentsCommandInput}
|
|
34
|
+
* @returns {@link GetDeploymentsCommandOutput}
|
|
28
35
|
* @see {@link GetDeploymentsCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link GetDeploymentsCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link SagemakerEdgeClientResolvedConfig | config} for SagemakerEdgeClient's `config` shape.
|
|
@@ -38,11 +45,20 @@ export interface GetDeploymentsCommandOutput extends GetDeploymentsResult, __Met
|
|
|
38
45
|
export declare class GetDeploymentsCommand extends $Command<GetDeploymentsCommandInput, GetDeploymentsCommandOutput, SagemakerEdgeClientResolvedConfig> {
|
|
39
46
|
readonly input: GetDeploymentsCommandInput;
|
|
40
47
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
48
|
+
/**
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
41
51
|
constructor(input: GetDeploymentsCommandInput);
|
|
42
52
|
/**
|
|
43
53
|
* @internal
|
|
44
54
|
*/
|
|
45
55
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SagemakerEdgeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetDeploymentsCommandInput, GetDeploymentsCommandOutput>;
|
|
56
|
+
/**
|
|
57
|
+
* @internal
|
|
58
|
+
*/
|
|
46
59
|
private serialize;
|
|
60
|
+
/**
|
|
61
|
+
* @internal
|
|
62
|
+
*/
|
|
47
63
|
private deserialize;
|
|
48
64
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { GetDeviceRegistrationRequest, GetDeviceRegistrationResult } from "../models/models_0";
|
|
5
5
|
import { SagemakerEdgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SagemakerEdgeClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link GetDeviceRegistrationCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface GetDeviceRegistrationCommandInput extends GetDeviceRegistrationRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link GetDeviceRegistrationCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface GetDeviceRegistrationCommandOutput extends GetDeviceRegistrationResult, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Use to check if a device is registered with SageMaker Edge Manager.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface GetDeviceRegistrationCommandOutput extends GetDeviceRegistratio
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param GetDeviceRegistrationCommandInput - {@link GetDeviceRegistrationCommandInput}
|
|
34
|
+
* @returns {@link GetDeviceRegistrationCommandOutput}
|
|
28
35
|
* @see {@link GetDeviceRegistrationCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link GetDeviceRegistrationCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link SagemakerEdgeClientResolvedConfig | config} for SagemakerEdgeClient's `config` shape.
|
|
@@ -38,11 +45,20 @@ export interface GetDeviceRegistrationCommandOutput extends GetDeviceRegistratio
|
|
|
38
45
|
export declare class GetDeviceRegistrationCommand extends $Command<GetDeviceRegistrationCommandInput, GetDeviceRegistrationCommandOutput, SagemakerEdgeClientResolvedConfig> {
|
|
39
46
|
readonly input: GetDeviceRegistrationCommandInput;
|
|
40
47
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
48
|
+
/**
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
41
51
|
constructor(input: GetDeviceRegistrationCommandInput);
|
|
42
52
|
/**
|
|
43
53
|
* @internal
|
|
44
54
|
*/
|
|
45
55
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SagemakerEdgeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetDeviceRegistrationCommandInput, GetDeviceRegistrationCommandOutput>;
|
|
56
|
+
/**
|
|
57
|
+
* @internal
|
|
58
|
+
*/
|
|
46
59
|
private serialize;
|
|
60
|
+
/**
|
|
61
|
+
* @internal
|
|
62
|
+
*/
|
|
47
63
|
private deserialize;
|
|
48
64
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { SendHeartbeatRequest } from "../models/models_0";
|
|
5
5
|
import { SagemakerEdgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SagemakerEdgeClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link SendHeartbeatCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface SendHeartbeatCommandInput extends SendHeartbeatRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link SendHeartbeatCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface SendHeartbeatCommandOutput extends __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Use to get the current status of devices registered on SageMaker Edge Manager.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface SendHeartbeatCommandOutput extends __MetadataBearer {
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param SendHeartbeatCommandInput - {@link SendHeartbeatCommandInput}
|
|
34
|
+
* @returns {@link SendHeartbeatCommandOutput}
|
|
28
35
|
* @see {@link SendHeartbeatCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link SendHeartbeatCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link SagemakerEdgeClientResolvedConfig | config} for SagemakerEdgeClient's `config` shape.
|
|
@@ -38,11 +45,20 @@ export interface SendHeartbeatCommandOutput extends __MetadataBearer {
|
|
|
38
45
|
export declare class SendHeartbeatCommand extends $Command<SendHeartbeatCommandInput, SendHeartbeatCommandOutput, SagemakerEdgeClientResolvedConfig> {
|
|
39
46
|
readonly input: SendHeartbeatCommandInput;
|
|
40
47
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
48
|
+
/**
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
41
51
|
constructor(input: SendHeartbeatCommandInput);
|
|
42
52
|
/**
|
|
43
53
|
* @internal
|
|
44
54
|
*/
|
|
45
55
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SagemakerEdgeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SendHeartbeatCommandInput, SendHeartbeatCommandOutput>;
|
|
56
|
+
/**
|
|
57
|
+
* @internal
|
|
58
|
+
*/
|
|
46
59
|
private serialize;
|
|
60
|
+
/**
|
|
61
|
+
* @internal
|
|
62
|
+
*/
|
|
47
63
|
private deserialize;
|
|
48
64
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
2
|
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
3
5
|
* Base exception class for all service exceptions from SagemakerEdge service.
|
|
4
6
|
*/
|
|
5
7
|
export declare class SagemakerEdgeServiceException extends __ServiceException {
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { SagemakerEdgeServiceException as __BaseException } from "./SagemakerEdgeServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
3
6
|
export interface GetDeploymentsRequest {
|
|
4
7
|
/**
|
|
5
8
|
* <p>The unique name of the device you want to get the configuration of active deployments from.</p>
|
|
@@ -10,10 +13,14 @@ export interface GetDeploymentsRequest {
|
|
|
10
13
|
*/
|
|
11
14
|
DeviceFleetName: string | undefined;
|
|
12
15
|
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
13
19
|
export declare enum ChecksumType {
|
|
14
20
|
Sha1 = "SHA1"
|
|
15
21
|
}
|
|
16
22
|
/**
|
|
23
|
+
* @public
|
|
17
24
|
* <p>Information about the checksum of a model deployed on a device.</p>
|
|
18
25
|
*/
|
|
19
26
|
export interface Checksum {
|
|
@@ -26,11 +33,15 @@ export interface Checksum {
|
|
|
26
33
|
*/
|
|
27
34
|
Sum?: string;
|
|
28
35
|
}
|
|
36
|
+
/**
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
29
39
|
export declare enum ModelState {
|
|
30
40
|
Deploy = "DEPLOY",
|
|
31
41
|
Undeploy = "UNDEPLOY"
|
|
32
42
|
}
|
|
33
43
|
/**
|
|
44
|
+
* @public
|
|
34
45
|
* <p></p>
|
|
35
46
|
*/
|
|
36
47
|
export interface Definition {
|
|
@@ -51,14 +62,21 @@ export interface Definition {
|
|
|
51
62
|
*/
|
|
52
63
|
State?: ModelState | string;
|
|
53
64
|
}
|
|
65
|
+
/**
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
54
68
|
export declare enum FailureHandlingPolicy {
|
|
55
69
|
DoNothing = "DO_NOTHING",
|
|
56
70
|
RollbackOnFailure = "ROLLBACK_ON_FAILURE"
|
|
57
71
|
}
|
|
72
|
+
/**
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
58
75
|
export declare enum DeploymentType {
|
|
59
76
|
Model = "Model"
|
|
60
77
|
}
|
|
61
78
|
/**
|
|
79
|
+
* @public
|
|
62
80
|
* <p>Information about a deployment on an edge device that is registered with SageMaker Edge Manager.</p>
|
|
63
81
|
*/
|
|
64
82
|
export interface EdgeDeployment {
|
|
@@ -79,6 +97,9 @@ export interface EdgeDeployment {
|
|
|
79
97
|
*/
|
|
80
98
|
Definitions?: Definition[];
|
|
81
99
|
}
|
|
100
|
+
/**
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
82
103
|
export interface GetDeploymentsResult {
|
|
83
104
|
/**
|
|
84
105
|
* <p>Returns a list of the configurations of the active deployments on the device.</p>
|
|
@@ -86,6 +107,7 @@ export interface GetDeploymentsResult {
|
|
|
86
107
|
Deployments?: EdgeDeployment[];
|
|
87
108
|
}
|
|
88
109
|
/**
|
|
110
|
+
* @public
|
|
89
111
|
* <p>An internal failure occurred. Try your request again. If the problem
|
|
90
112
|
* persists, contact Amazon Web Services customer support.</p>
|
|
91
113
|
*/
|
|
@@ -98,6 +120,9 @@ export declare class InternalServiceException extends __BaseException {
|
|
|
98
120
|
*/
|
|
99
121
|
constructor(opts: __ExceptionOptionType<InternalServiceException, __BaseException>);
|
|
100
122
|
}
|
|
123
|
+
/**
|
|
124
|
+
* @public
|
|
125
|
+
*/
|
|
101
126
|
export interface GetDeviceRegistrationRequest {
|
|
102
127
|
/**
|
|
103
128
|
* <p>The unique name of the device you want to get the registration status from.</p>
|
|
@@ -108,6 +133,9 @@ export interface GetDeviceRegistrationRequest {
|
|
|
108
133
|
*/
|
|
109
134
|
DeviceFleetName: string | undefined;
|
|
110
135
|
}
|
|
136
|
+
/**
|
|
137
|
+
* @public
|
|
138
|
+
*/
|
|
111
139
|
export interface GetDeviceRegistrationResult {
|
|
112
140
|
/**
|
|
113
141
|
* <p>Describes if the device is currently registered with SageMaker Edge Manager.</p>
|
|
@@ -119,6 +147,7 @@ export interface GetDeviceRegistrationResult {
|
|
|
119
147
|
CacheTTL?: string;
|
|
120
148
|
}
|
|
121
149
|
/**
|
|
150
|
+
* @public
|
|
122
151
|
* <p>Information required for edge device metrics.</p>
|
|
123
152
|
*/
|
|
124
153
|
export interface EdgeMetric {
|
|
@@ -139,11 +168,15 @@ export interface EdgeMetric {
|
|
|
139
168
|
*/
|
|
140
169
|
Timestamp?: Date;
|
|
141
170
|
}
|
|
171
|
+
/**
|
|
172
|
+
* @public
|
|
173
|
+
*/
|
|
142
174
|
export declare enum DeploymentStatus {
|
|
143
175
|
Fail = "FAIL",
|
|
144
176
|
Success = "SUCCESS"
|
|
145
177
|
}
|
|
146
178
|
/**
|
|
179
|
+
* @public
|
|
147
180
|
* <p></p>
|
|
148
181
|
*/
|
|
149
182
|
export interface DeploymentModel {
|
|
@@ -181,6 +214,7 @@ export interface DeploymentModel {
|
|
|
181
214
|
RollbackFailureReason?: string;
|
|
182
215
|
}
|
|
183
216
|
/**
|
|
217
|
+
* @public
|
|
184
218
|
* <p>Information about the result of a deployment on an edge device that is registered with SageMaker Edge Manager.</p>
|
|
185
219
|
*/
|
|
186
220
|
export interface DeploymentResult {
|
|
@@ -210,6 +244,7 @@ export interface DeploymentResult {
|
|
|
210
244
|
DeploymentModels?: DeploymentModel[];
|
|
211
245
|
}
|
|
212
246
|
/**
|
|
247
|
+
* @public
|
|
213
248
|
* <p>Information about a model deployed on an edge device that is registered with SageMaker Edge Manager.</p>
|
|
214
249
|
*/
|
|
215
250
|
export interface Model {
|
|
@@ -234,6 +269,9 @@ export interface Model {
|
|
|
234
269
|
*/
|
|
235
270
|
ModelMetrics?: EdgeMetric[];
|
|
236
271
|
}
|
|
272
|
+
/**
|
|
273
|
+
* @public
|
|
274
|
+
*/
|
|
237
275
|
export interface SendHeartbeatRequest {
|
|
238
276
|
/**
|
|
239
277
|
* <p>For internal use. Returns a list of SageMaker Edge Manager agent operating metrics.</p>
|
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.297.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",
|
|
@@ -20,37 +20,37 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.297.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.296.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.297.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.296.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.296.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.296.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.296.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.296.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.296.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.296.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.296.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.296.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.296.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.296.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.296.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.296.0",
|
|
43
|
+
"@aws-sdk/types": "3.296.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.296.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.295.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.296.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.296.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.296.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.296.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.296.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
55
55
|
"tslib": "^2.5.0"
|
|
56
56
|
},
|