@aws-sdk/client-sagemaker-featurestore-runtime 3.52.0 → 3.53.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.
@@ -1,11 +1,16 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { SageMakerFeatureStoreRuntimeServiceException as __BaseException } from "./SageMakerFeatureStoreRuntimeServiceException";
2
3
  /**
3
4
  * <p>You do not have permission to perform an action.</p>
4
5
  */
5
- export interface AccessForbidden extends __SmithyException, $MetadataBearer {
6
- name: "AccessForbidden";
7
- $fault: "client";
6
+ export declare class AccessForbidden extends __BaseException {
7
+ readonly name: "AccessForbidden";
8
+ readonly $fault: "client";
8
9
  Message?: string;
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<AccessForbidden, __BaseException>);
9
14
  }
10
15
  /**
11
16
  * <p>The identifier that identifies the batch of Records you are retrieving in a batch.</p>
@@ -140,26 +145,38 @@ export declare namespace BatchGetRecordResponse {
140
145
  * <p>An internal failure occurred. Try your request again. If the problem
141
146
  * persists, contact AWS customer support.</p>
142
147
  */
143
- export interface InternalFailure extends __SmithyException, $MetadataBearer {
144
- name: "InternalFailure";
145
- $fault: "server";
148
+ export declare class InternalFailure extends __BaseException {
149
+ readonly name: "InternalFailure";
150
+ readonly $fault: "server";
146
151
  Message?: string;
152
+ /**
153
+ * @internal
154
+ */
155
+ constructor(opts: __ExceptionOptionType<InternalFailure, __BaseException>);
147
156
  }
148
157
  /**
149
158
  * <p>The service is currently unavailable.</p>
150
159
  */
151
- export interface ServiceUnavailable extends __SmithyException, $MetadataBearer {
152
- name: "ServiceUnavailable";
153
- $fault: "server";
160
+ export declare class ServiceUnavailable extends __BaseException {
161
+ readonly name: "ServiceUnavailable";
162
+ readonly $fault: "server";
154
163
  Message?: string;
164
+ /**
165
+ * @internal
166
+ */
167
+ constructor(opts: __ExceptionOptionType<ServiceUnavailable, __BaseException>);
155
168
  }
156
169
  /**
157
170
  * <p>There was an error validating your request.</p>
158
171
  */
159
- export interface ValidationError extends __SmithyException, $MetadataBearer {
160
- name: "ValidationError";
161
- $fault: "client";
172
+ export declare class ValidationError extends __BaseException {
173
+ readonly name: "ValidationError";
174
+ readonly $fault: "client";
162
175
  Message?: string;
176
+ /**
177
+ * @internal
178
+ */
179
+ constructor(opts: __ExceptionOptionType<ValidationError, __BaseException>);
163
180
  }
164
181
  export interface DeleteRecordRequest {
165
182
  /**
@@ -220,10 +237,14 @@ export declare namespace GetRecordResponse {
220
237
  /**
221
238
  * <p>A resource that is required to perform an action was not found.</p>
222
239
  */
223
- export interface ResourceNotFound extends __SmithyException, $MetadataBearer {
224
- name: "ResourceNotFound";
225
- $fault: "client";
240
+ export declare class ResourceNotFound extends __BaseException {
241
+ readonly name: "ResourceNotFound";
242
+ readonly $fault: "client";
226
243
  Message?: string;
244
+ /**
245
+ * @internal
246
+ */
247
+ constructor(opts: __ExceptionOptionType<ResourceNotFound, __BaseException>);
227
248
  }
228
249
  export interface PutRecordRequest {
229
250
  /**
@@ -2,3 +2,4 @@ export * from "./SageMakerFeatureStoreRuntime";
2
2
  export * from "./SageMakerFeatureStoreRuntimeClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ export { SageMakerFeatureStoreRuntimeServiceException } from "./models/SageMakerFeatureStoreRuntimeServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class SageMakerFeatureStoreRuntimeServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -1,9 +1,12 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { SageMakerFeatureStoreRuntimeServiceException as __BaseException } from "./SageMakerFeatureStoreRuntimeServiceException";
2
3
 
3
- export interface AccessForbidden extends __SmithyException, $MetadataBearer {
4
- name: "AccessForbidden";
5
- $fault: "client";
4
+ export declare class AccessForbidden extends __BaseException {
5
+ readonly name: "AccessForbidden";
6
+ readonly $fault: "client";
6
7
  Message?: string;
8
+
9
+ constructor(opts: __ExceptionOptionType<AccessForbidden, __BaseException>);
7
10
  }
8
11
 
9
12
  export interface BatchGetRecordIdentifier {
@@ -78,22 +81,28 @@ export declare namespace BatchGetRecordResponse {
78
81
  const filterSensitiveLog: (obj: BatchGetRecordResponse) => any;
79
82
  }
80
83
 
81
- export interface InternalFailure extends __SmithyException, $MetadataBearer {
82
- name: "InternalFailure";
83
- $fault: "server";
84
+ export declare class InternalFailure extends __BaseException {
85
+ readonly name: "InternalFailure";
86
+ readonly $fault: "server";
84
87
  Message?: string;
88
+
89
+ constructor(opts: __ExceptionOptionType<InternalFailure, __BaseException>);
85
90
  }
86
91
 
87
- export interface ServiceUnavailable extends __SmithyException, $MetadataBearer {
88
- name: "ServiceUnavailable";
89
- $fault: "server";
92
+ export declare class ServiceUnavailable extends __BaseException {
93
+ readonly name: "ServiceUnavailable";
94
+ readonly $fault: "server";
90
95
  Message?: string;
96
+
97
+ constructor(opts: __ExceptionOptionType<ServiceUnavailable, __BaseException>);
91
98
  }
92
99
 
93
- export interface ValidationError extends __SmithyException, $MetadataBearer {
94
- name: "ValidationError";
95
- $fault: "client";
100
+ export declare class ValidationError extends __BaseException {
101
+ readonly name: "ValidationError";
102
+ readonly $fault: "client";
96
103
  Message?: string;
104
+
105
+ constructor(opts: __ExceptionOptionType<ValidationError, __BaseException>);
97
106
  }
98
107
  export interface DeleteRecordRequest {
99
108
 
@@ -128,10 +137,12 @@ export declare namespace GetRecordResponse {
128
137
  const filterSensitiveLog: (obj: GetRecordResponse) => any;
129
138
  }
130
139
 
131
- export interface ResourceNotFound extends __SmithyException, $MetadataBearer {
132
- name: "ResourceNotFound";
133
- $fault: "client";
140
+ export declare class ResourceNotFound extends __BaseException {
141
+ readonly name: "ResourceNotFound";
142
+ readonly $fault: "client";
134
143
  Message?: string;
144
+
145
+ constructor(opts: __ExceptionOptionType<ResourceNotFound, __BaseException>);
135
146
  }
136
147
  export interface PutRecordRequest {
137
148
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sagemaker-featurestore-runtime",
3
3
  "description": "AWS SDK for JavaScript Sagemaker Featurestore Runtime Client for Node.js, Browser and React Native",
4
- "version": "3.52.0",
4
+ "version": "3.53.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",
@@ -18,34 +18,34 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.52.0",
22
- "@aws-sdk/config-resolver": "3.52.0",
23
- "@aws-sdk/credential-provider-node": "3.52.0",
24
- "@aws-sdk/fetch-http-handler": "3.52.0",
25
- "@aws-sdk/hash-node": "3.52.0",
26
- "@aws-sdk/invalid-dependency": "3.52.0",
27
- "@aws-sdk/middleware-content-length": "3.52.0",
28
- "@aws-sdk/middleware-host-header": "3.52.0",
29
- "@aws-sdk/middleware-logger": "3.52.0",
30
- "@aws-sdk/middleware-retry": "3.52.0",
31
- "@aws-sdk/middleware-serde": "3.52.0",
32
- "@aws-sdk/middleware-signing": "3.52.0",
33
- "@aws-sdk/middleware-stack": "3.52.0",
34
- "@aws-sdk/middleware-user-agent": "3.52.0",
35
- "@aws-sdk/node-config-provider": "3.52.0",
36
- "@aws-sdk/node-http-handler": "3.52.0",
37
- "@aws-sdk/protocol-http": "3.52.0",
38
- "@aws-sdk/smithy-client": "3.52.0",
39
- "@aws-sdk/types": "3.52.0",
40
- "@aws-sdk/url-parser": "3.52.0",
21
+ "@aws-sdk/client-sts": "3.53.0",
22
+ "@aws-sdk/config-resolver": "3.53.0",
23
+ "@aws-sdk/credential-provider-node": "3.53.0",
24
+ "@aws-sdk/fetch-http-handler": "3.53.0",
25
+ "@aws-sdk/hash-node": "3.53.0",
26
+ "@aws-sdk/invalid-dependency": "3.53.0",
27
+ "@aws-sdk/middleware-content-length": "3.53.0",
28
+ "@aws-sdk/middleware-host-header": "3.53.0",
29
+ "@aws-sdk/middleware-logger": "3.53.0",
30
+ "@aws-sdk/middleware-retry": "3.53.0",
31
+ "@aws-sdk/middleware-serde": "3.53.0",
32
+ "@aws-sdk/middleware-signing": "3.53.0",
33
+ "@aws-sdk/middleware-stack": "3.53.0",
34
+ "@aws-sdk/middleware-user-agent": "3.53.0",
35
+ "@aws-sdk/node-config-provider": "3.53.0",
36
+ "@aws-sdk/node-http-handler": "3.53.0",
37
+ "@aws-sdk/protocol-http": "3.53.0",
38
+ "@aws-sdk/smithy-client": "3.53.0",
39
+ "@aws-sdk/types": "3.53.0",
40
+ "@aws-sdk/url-parser": "3.53.0",
41
41
  "@aws-sdk/util-base64-browser": "3.52.0",
42
42
  "@aws-sdk/util-base64-node": "3.52.0",
43
43
  "@aws-sdk/util-body-length-browser": "3.52.0",
44
44
  "@aws-sdk/util-body-length-node": "3.52.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.52.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.52.0",
47
- "@aws-sdk/util-user-agent-browser": "3.52.0",
48
- "@aws-sdk/util-user-agent-node": "3.52.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.53.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.53.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.53.0",
48
+ "@aws-sdk/util-user-agent-node": "3.53.0",
49
49
  "@aws-sdk/util-utf8-browser": "3.52.0",
50
50
  "@aws-sdk/util-utf8-node": "3.52.0",
51
51
  "tslib": "^2.3.0"