@aws-sdk/client-sagemaker-edge 3.170.0 → 3.171.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 CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.171.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.170.0...v3.171.0) (2022-09-14)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-sagemaker-edge
9
+
10
+
11
+
12
+
13
+
6
14
  # [3.170.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.169.0...v3.170.0) (2022-09-13)
7
15
 
8
16
  **Note:** Version bump only for package @aws-sdk/client-sagemaker-edge
@@ -12,7 +12,6 @@ import {
12
12
  SendHeartbeatCommandOutput,
13
13
  } from "./commands/SendHeartbeatCommand";
14
14
  import { SagemakerEdgeClient } from "./SagemakerEdgeClient";
15
-
16
15
  export declare class SagemakerEdge extends SagemakerEdgeClient {
17
16
  getDeployments(
18
17
  args: GetDeploymentsCommandInput,
@@ -27,7 +26,6 @@ export declare class SagemakerEdge extends SagemakerEdgeClient {
27
26
  options: __HttpHandlerOptions,
28
27
  cb: (err: any, data?: GetDeploymentsCommandOutput) => void
29
28
  ): void;
30
-
31
29
  getDeviceRegistration(
32
30
  args: GetDeviceRegistrationCommandInput,
33
31
  options?: __HttpHandlerOptions
@@ -41,7 +39,6 @@ export declare class SagemakerEdge extends SagemakerEdgeClient {
41
39
  options: __HttpHandlerOptions,
42
40
  cb: (err: any, data?: GetDeviceRegistrationCommandOutput) => void
43
41
  ): void;
44
-
45
42
  sendHeartbeat(
46
43
  args: SendHeartbeatCommandInput,
47
44
  options?: __HttpHandlerOptions
@@ -65,47 +65,26 @@ export declare type ServiceOutputTypes =
65
65
  export interface ClientDefaults
66
66
  extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
67
67
  requestHandler?: __HttpHandler;
68
-
69
68
  sha256?: __HashConstructor;
70
-
71
69
  urlParser?: __UrlParser;
72
-
73
70
  bodyLengthChecker?: __BodyLengthCalculator;
74
-
75
71
  streamCollector?: __StreamCollector;
76
-
77
72
  base64Decoder?: __Decoder;
78
-
79
73
  base64Encoder?: __Encoder;
80
-
81
74
  utf8Decoder?: __Decoder;
82
-
83
75
  utf8Encoder?: __Encoder;
84
-
85
76
  runtime?: string;
86
-
87
77
  disableHostPrefix?: boolean;
88
-
89
78
  maxAttempts?: number | __Provider<number>;
90
-
91
79
  retryMode?: string | __Provider<string>;
92
-
93
80
  logger?: __Logger;
94
-
95
81
  useDualstackEndpoint?: boolean | __Provider<boolean>;
96
-
97
82
  useFipsEndpoint?: boolean | __Provider<boolean>;
98
-
99
83
  serviceId?: string;
100
-
101
84
  region?: string | __Provider<string>;
102
-
103
85
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
104
-
105
86
  regionInfoProvider?: RegionInfoProvider;
106
-
107
87
  defaultUserAgentProvider?: Provider<__UserAgent>;
108
-
109
88
  defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
110
89
  }
111
90
  declare type SagemakerEdgeClientConfigType = Partial<
@@ -118,7 +97,6 @@ declare type SagemakerEdgeClientConfigType = Partial<
118
97
  HostHeaderInputConfig &
119
98
  AwsAuthInputConfig &
120
99
  UserAgentInputConfig;
121
-
122
100
  export interface SagemakerEdgeClientConfig
123
101
  extends SagemakerEdgeClientConfigType {}
124
102
  declare type SagemakerEdgeClientResolvedConfigType =
@@ -130,10 +108,8 @@ declare type SagemakerEdgeClientResolvedConfigType =
130
108
  HostHeaderResolvedConfig &
131
109
  AwsAuthResolvedConfig &
132
110
  UserAgentResolvedConfig;
133
-
134
111
  export interface SagemakerEdgeClientResolvedConfig
135
112
  extends SagemakerEdgeClientResolvedConfigType {}
136
-
137
113
  export declare class SagemakerEdgeClient extends __Client<
138
114
  __HttpHandlerOptions,
139
115
  ServiceInputTypes,
@@ -142,7 +118,6 @@ export declare class SagemakerEdgeClient extends __Client<
142
118
  > {
143
119
  readonly config: SagemakerEdgeClientResolvedConfig;
144
120
  constructor(configuration: SagemakerEdgeClientConfig);
145
-
146
121
  destroy(): void;
147
122
  }
148
123
  export {};
@@ -18,7 +18,6 @@ export interface GetDeploymentsCommandInput extends GetDeploymentsRequest {}
18
18
  export interface GetDeploymentsCommandOutput
19
19
  extends GetDeploymentsResult,
20
20
  __MetadataBearer {}
21
-
22
21
  export declare class GetDeploymentsCommand extends $Command<
23
22
  GetDeploymentsCommandInput,
24
23
  GetDeploymentsCommandOutput,
@@ -26,7 +25,6 @@ export declare class GetDeploymentsCommand extends $Command<
26
25
  > {
27
26
  readonly input: GetDeploymentsCommandInput;
28
27
  constructor(input: GetDeploymentsCommandInput);
29
-
30
28
  resolveMiddleware(
31
29
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
32
30
  configuration: SagemakerEdgeClientResolvedConfig,
@@ -19,7 +19,6 @@ export interface GetDeviceRegistrationCommandInput
19
19
  export interface GetDeviceRegistrationCommandOutput
20
20
  extends GetDeviceRegistrationResult,
21
21
  __MetadataBearer {}
22
-
23
22
  export declare class GetDeviceRegistrationCommand extends $Command<
24
23
  GetDeviceRegistrationCommandInput,
25
24
  GetDeviceRegistrationCommandOutput,
@@ -27,7 +26,6 @@ export declare class GetDeviceRegistrationCommand extends $Command<
27
26
  > {
28
27
  readonly input: GetDeviceRegistrationCommandInput;
29
28
  constructor(input: GetDeviceRegistrationCommandInput);
30
-
31
29
  resolveMiddleware(
32
30
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
31
  configuration: SagemakerEdgeClientResolvedConfig,
@@ -13,7 +13,6 @@ import {
13
13
  } from "../SagemakerEdgeClient";
14
14
  export interface SendHeartbeatCommandInput extends SendHeartbeatRequest {}
15
15
  export interface SendHeartbeatCommandOutput extends __MetadataBearer {}
16
-
17
16
  export declare class SendHeartbeatCommand extends $Command<
18
17
  SendHeartbeatCommandInput,
19
18
  SendHeartbeatCommandOutput,
@@ -21,7 +20,6 @@ export declare class SendHeartbeatCommand extends $Command<
21
20
  > {
22
21
  readonly input: SendHeartbeatCommandInput;
23
22
  constructor(input: SendHeartbeatCommandInput);
24
-
25
23
  resolveMiddleware(
26
24
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
27
25
  configuration: SagemakerEdgeClientResolvedConfig,
@@ -2,7 +2,6 @@ import {
2
2
  ServiceException as __ServiceException,
3
3
  ServiceExceptionOptions as __ServiceExceptionOptions,
4
4
  } from "@aws-sdk/smithy-client";
5
-
6
5
  export declare class SagemakerEdgeServiceException extends __ServiceException {
7
6
  constructor(options: __ServiceExceptionOptions);
8
7
  }
@@ -2,30 +2,23 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-cl
2
2
  import { SagemakerEdgeServiceException as __BaseException } from "./SagemakerEdgeServiceException";
3
3
  export interface GetDeploymentsRequest {
4
4
  DeviceName: string | undefined;
5
-
6
5
  DeviceFleetName: string | undefined;
7
6
  }
8
7
  export declare enum ChecksumType {
9
8
  Sha1 = "SHA1",
10
9
  }
11
-
12
10
  export interface Checksum {
13
11
  Type?: ChecksumType | string;
14
-
15
12
  Sum?: string;
16
13
  }
17
14
  export declare enum ModelState {
18
15
  Deploy = "DEPLOY",
19
16
  Undeploy = "UNDEPLOY",
20
17
  }
21
-
22
18
  export interface Definition {
23
19
  ModelHandle?: string;
24
-
25
20
  S3Url?: string;
26
-
27
21
  Checksum?: Checksum;
28
-
29
22
  State?: ModelState | string;
30
23
  }
31
24
  export declare enum FailureHandlingPolicy {
@@ -35,147 +28,99 @@ export declare enum FailureHandlingPolicy {
35
28
  export declare enum DeploymentType {
36
29
  Model = "Model",
37
30
  }
38
-
39
31
  export interface EdgeDeployment {
40
32
  DeploymentName?: string;
41
-
42
33
  Type?: DeploymentType | string;
43
-
44
34
  FailureHandlingPolicy?: FailureHandlingPolicy | string;
45
-
46
35
  Definitions?: Definition[];
47
36
  }
48
37
  export interface GetDeploymentsResult {
49
38
  Deployments?: EdgeDeployment[];
50
39
  }
51
-
52
40
  export declare class InternalServiceException extends __BaseException {
53
41
  readonly name: "InternalServiceException";
54
42
  readonly $fault: "client";
55
43
  Message?: string;
56
-
57
44
  constructor(
58
45
  opts: __ExceptionOptionType<InternalServiceException, __BaseException>
59
46
  );
60
47
  }
61
48
  export interface GetDeviceRegistrationRequest {
62
49
  DeviceName: string | undefined;
63
-
64
50
  DeviceFleetName: string | undefined;
65
51
  }
66
52
  export interface GetDeviceRegistrationResult {
67
53
  DeviceRegistration?: string;
68
-
69
54
  CacheTTL?: string;
70
55
  }
71
-
72
56
  export interface EdgeMetric {
73
57
  Dimension?: string;
74
-
75
58
  MetricName?: string;
76
-
77
59
  Value?: number;
78
-
79
60
  Timestamp?: Date;
80
61
  }
81
62
  export declare enum DeploymentStatus {
82
63
  Fail = "FAIL",
83
64
  Success = "SUCCESS",
84
65
  }
85
-
86
66
  export interface DeploymentModel {
87
67
  ModelHandle?: string;
88
-
89
68
  ModelName?: string;
90
-
91
69
  ModelVersion?: string;
92
-
93
70
  DesiredState?: ModelState | string;
94
-
95
71
  State?: ModelState | string;
96
-
97
72
  Status?: DeploymentStatus | string;
98
-
99
73
  StatusReason?: string;
100
-
101
74
  RollbackFailureReason?: string;
102
75
  }
103
-
104
76
  export interface DeploymentResult {
105
77
  DeploymentName?: string;
106
-
107
78
  DeploymentStatus?: string;
108
-
109
79
  DeploymentStatusMessage?: string;
110
-
111
80
  DeploymentStartTime?: Date;
112
-
113
81
  DeploymentEndTime?: Date;
114
-
115
82
  DeploymentModels?: DeploymentModel[];
116
83
  }
117
-
118
84
  export interface Model {
119
85
  ModelName?: string;
120
-
121
86
  ModelVersion?: string;
122
-
123
87
  LatestSampleTime?: Date;
124
-
125
88
  LatestInference?: Date;
126
-
127
89
  ModelMetrics?: EdgeMetric[];
128
90
  }
129
91
  export interface SendHeartbeatRequest {
130
92
  AgentMetrics?: EdgeMetric[];
131
-
132
93
  Models?: Model[];
133
-
134
94
  AgentVersion: string | undefined;
135
-
136
95
  DeviceName: string | undefined;
137
-
138
96
  DeviceFleetName: string | undefined;
139
-
140
97
  DeploymentResult?: DeploymentResult;
141
98
  }
142
-
143
99
  export declare const GetDeploymentsRequestFilterSensitiveLog: (
144
100
  obj: GetDeploymentsRequest
145
101
  ) => any;
146
-
147
102
  export declare const ChecksumFilterSensitiveLog: (obj: Checksum) => any;
148
-
149
103
  export declare const DefinitionFilterSensitiveLog: (obj: Definition) => any;
150
-
151
104
  export declare const EdgeDeploymentFilterSensitiveLog: (
152
105
  obj: EdgeDeployment
153
106
  ) => any;
154
-
155
107
  export declare const GetDeploymentsResultFilterSensitiveLog: (
156
108
  obj: GetDeploymentsResult
157
109
  ) => any;
158
-
159
110
  export declare const GetDeviceRegistrationRequestFilterSensitiveLog: (
160
111
  obj: GetDeviceRegistrationRequest
161
112
  ) => any;
162
-
163
113
  export declare const GetDeviceRegistrationResultFilterSensitiveLog: (
164
114
  obj: GetDeviceRegistrationResult
165
115
  ) => any;
166
-
167
116
  export declare const EdgeMetricFilterSensitiveLog: (obj: EdgeMetric) => any;
168
-
169
117
  export declare const DeploymentModelFilterSensitiveLog: (
170
118
  obj: DeploymentModel
171
119
  ) => any;
172
-
173
120
  export declare const DeploymentResultFilterSensitiveLog: (
174
121
  obj: DeploymentResult
175
122
  ) => any;
176
-
177
123
  export declare const ModelFilterSensitiveLog: (obj: Model) => any;
178
-
179
124
  export declare const SendHeartbeatRequestFilterSensitiveLog: (
180
125
  obj: SendHeartbeatRequest
181
126
  ) => any;
@@ -1,6 +1,5 @@
1
1
  import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { SagemakerEdgeClientConfig } from "./SagemakerEdgeClient";
3
-
4
3
  export declare const getRuntimeConfig: (config: SagemakerEdgeClientConfig) => {
5
4
  runtime: string;
6
5
  defaultsMode: import("@aws-sdk/types").Provider<
@@ -1,6 +1,5 @@
1
1
  import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { SagemakerEdgeClientConfig } from "./SagemakerEdgeClient";
3
-
4
3
  export declare const getRuntimeConfig: (config: SagemakerEdgeClientConfig) => {
5
4
  runtime: string;
6
5
  defaultsMode: import("@aws-sdk/types").Provider<
@@ -1,5 +1,4 @@
1
1
  import { SagemakerEdgeClientConfig } from "./SagemakerEdgeClient";
2
-
3
2
  export declare const getRuntimeConfig: (config: SagemakerEdgeClientConfig) => {
4
3
  runtime: string;
5
4
  sha256: import("@aws-sdk/types").HashConstructor;
@@ -1,6 +1,5 @@
1
1
  import { Logger as __Logger } from "@aws-sdk/types";
2
2
  import { SagemakerEdgeClientConfig } from "./SagemakerEdgeClient";
3
-
4
3
  export declare const getRuntimeConfig: (config: SagemakerEdgeClientConfig) => {
5
4
  apiVersion: string;
6
5
  disableHostPrefix: boolean;
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.170.0",
4
+ "version": "3.171.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",
@@ -19,35 +19,35 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.170.0",
23
- "@aws-sdk/config-resolver": "3.170.0",
24
- "@aws-sdk/credential-provider-node": "3.170.0",
25
- "@aws-sdk/fetch-http-handler": "3.170.0",
26
- "@aws-sdk/hash-node": "3.170.0",
27
- "@aws-sdk/invalid-dependency": "3.170.0",
28
- "@aws-sdk/middleware-content-length": "3.170.0",
29
- "@aws-sdk/middleware-host-header": "3.170.0",
30
- "@aws-sdk/middleware-logger": "3.170.0",
31
- "@aws-sdk/middleware-recursion-detection": "3.170.0",
32
- "@aws-sdk/middleware-retry": "3.170.0",
33
- "@aws-sdk/middleware-serde": "3.170.0",
34
- "@aws-sdk/middleware-signing": "3.170.0",
35
- "@aws-sdk/middleware-stack": "3.170.0",
36
- "@aws-sdk/middleware-user-agent": "3.170.0",
37
- "@aws-sdk/node-config-provider": "3.170.0",
38
- "@aws-sdk/node-http-handler": "3.170.0",
39
- "@aws-sdk/protocol-http": "3.170.0",
40
- "@aws-sdk/smithy-client": "3.170.0",
41
- "@aws-sdk/types": "3.170.0",
42
- "@aws-sdk/url-parser": "3.170.0",
22
+ "@aws-sdk/client-sts": "3.171.0",
23
+ "@aws-sdk/config-resolver": "3.171.0",
24
+ "@aws-sdk/credential-provider-node": "3.171.0",
25
+ "@aws-sdk/fetch-http-handler": "3.171.0",
26
+ "@aws-sdk/hash-node": "3.171.0",
27
+ "@aws-sdk/invalid-dependency": "3.171.0",
28
+ "@aws-sdk/middleware-content-length": "3.171.0",
29
+ "@aws-sdk/middleware-host-header": "3.171.0",
30
+ "@aws-sdk/middleware-logger": "3.171.0",
31
+ "@aws-sdk/middleware-recursion-detection": "3.171.0",
32
+ "@aws-sdk/middleware-retry": "3.171.0",
33
+ "@aws-sdk/middleware-serde": "3.171.0",
34
+ "@aws-sdk/middleware-signing": "3.171.0",
35
+ "@aws-sdk/middleware-stack": "3.171.0",
36
+ "@aws-sdk/middleware-user-agent": "3.171.0",
37
+ "@aws-sdk/node-config-provider": "3.171.0",
38
+ "@aws-sdk/node-http-handler": "3.171.0",
39
+ "@aws-sdk/protocol-http": "3.171.0",
40
+ "@aws-sdk/smithy-client": "3.171.0",
41
+ "@aws-sdk/types": "3.171.0",
42
+ "@aws-sdk/url-parser": "3.171.0",
43
43
  "@aws-sdk/util-base64-browser": "3.170.0",
44
44
  "@aws-sdk/util-base64-node": "3.170.0",
45
45
  "@aws-sdk/util-body-length-browser": "3.170.0",
46
46
  "@aws-sdk/util-body-length-node": "3.170.0",
47
- "@aws-sdk/util-defaults-mode-browser": "3.170.0",
48
- "@aws-sdk/util-defaults-mode-node": "3.170.0",
49
- "@aws-sdk/util-user-agent-browser": "3.170.0",
50
- "@aws-sdk/util-user-agent-node": "3.170.0",
47
+ "@aws-sdk/util-defaults-mode-browser": "3.171.0",
48
+ "@aws-sdk/util-defaults-mode-node": "3.171.0",
49
+ "@aws-sdk/util-user-agent-browser": "3.171.0",
50
+ "@aws-sdk/util-user-agent-node": "3.171.0",
51
51
  "@aws-sdk/util-utf8-browser": "3.170.0",
52
52
  "@aws-sdk/util-utf8-node": "3.170.0",
53
53
  "tslib": "^2.3.1"