@aws-sdk/client-personalize-runtime 3.1147.0 → 3.1149.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 CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1146.0";
72
+ var version = "3.1148.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -132,6 +132,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
132
132
  customEndpointFunctions.aws = awsEndpointFunctions;
133
133
 
134
134
  class PersonalizeRuntimeServiceException extends ServiceException {
135
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.personalizeruntime#PersonalizeRuntimeServiceException";
135
136
  constructor(options) {
136
137
  super(options);
137
138
  Object.setPrototypeOf(this, PersonalizeRuntimeServiceException.prototype);
@@ -139,6 +140,7 @@ class PersonalizeRuntimeServiceException extends ServiceException {
139
140
  }
140
141
 
141
142
  class InvalidInputException extends PersonalizeRuntimeServiceException {
143
+ static shapeId = "com.amazonaws.personalizeruntime#InvalidInputException";
142
144
  name = "InvalidInputException";
143
145
  $fault = "client";
144
146
  constructor(opts) {
@@ -151,6 +153,7 @@ class InvalidInputException extends PersonalizeRuntimeServiceException {
151
153
  }
152
154
  }
153
155
  class ResourceNotFoundException extends PersonalizeRuntimeServiceException {
156
+ static shapeId = "com.amazonaws.personalizeruntime#ResourceNotFoundException";
154
157
  name = "ResourceNotFoundException";
155
158
  $fault = "client";
156
159
  constructor(opts) {
@@ -1,6 +1,7 @@
1
1
  import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
2
  export { __ServiceException };
3
3
  export class PersonalizeRuntimeServiceException extends __ServiceException {
4
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.personalizeruntime#PersonalizeRuntimeServiceException";
4
5
  constructor(options) {
5
6
  super(options);
6
7
  Object.setPrototypeOf(this, PersonalizeRuntimeServiceException.prototype);
@@ -1,5 +1,6 @@
1
1
  import { PersonalizeRuntimeServiceException as __BaseException } from "./PersonalizeRuntimeServiceException";
2
2
  export class InvalidInputException extends __BaseException {
3
+ static shapeId = "com.amazonaws.personalizeruntime#InvalidInputException";
3
4
  name = "InvalidInputException";
4
5
  $fault = "client";
5
6
  constructor(opts) {
@@ -12,6 +13,7 @@ export class InvalidInputException extends __BaseException {
12
13
  }
13
14
  }
14
15
  export class ResourceNotFoundException extends __BaseException {
16
+ static shapeId = "com.amazonaws.personalizeruntime#ResourceNotFoundException";
15
17
  name = "ResourceNotFoundException";
16
18
  $fault = "client";
17
19
  constructor(opts) {
@@ -7,6 +7,7 @@ export { __ServiceException };
7
7
  * Base exception class for all service exceptions from PersonalizeRuntime service.
8
8
  */
9
9
  export declare class PersonalizeRuntimeServiceException extends __ServiceException {
10
+ static readonly shapeId: string;
10
11
  /**
11
12
  * @internal
12
13
  */
@@ -5,6 +5,7 @@ import { PersonalizeRuntimeServiceException as __BaseException } from "./Persona
5
5
  * @public
6
6
  */
7
7
  export declare class InvalidInputException extends __BaseException {
8
+ static readonly shapeId: string;
8
9
  readonly name: "InvalidInputException";
9
10
  readonly $fault: "client";
10
11
  /**
@@ -17,6 +18,7 @@ export declare class InvalidInputException extends __BaseException {
17
18
  * @public
18
19
  */
19
20
  export declare class ResourceNotFoundException extends __BaseException {
21
+ static readonly shapeId: string;
20
22
  readonly name: "ResourceNotFoundException";
21
23
  readonly $fault: "client";
22
24
  /**
@@ -5,5 +5,6 @@ import {
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class PersonalizeRuntimeServiceException extends __ServiceException {
8
+ static readonly shapeId: string;
8
9
  constructor(options: __ServiceExceptionOptions);
9
10
  }
@@ -1,11 +1,13 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
2
  import { PersonalizeRuntimeServiceException as __BaseException } from "./PersonalizeRuntimeServiceException";
3
3
  export declare class InvalidInputException extends __BaseException {
4
+ static readonly shapeId: string;
4
5
  readonly name: "InvalidInputException";
5
6
  readonly $fault: "client";
6
7
  constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
7
8
  }
8
9
  export declare class ResourceNotFoundException extends __BaseException {
10
+ static readonly shapeId: string;
9
11
  readonly name: "ResourceNotFoundException";
10
12
  readonly $fault: "client";
11
13
  constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-personalize-runtime",
3
- "version": "3.1147.0",
3
+ "version": "3.1149.0",
4
4
  "description": "AWS SDK for JavaScript Personalize Runtime Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-personalize-runtime",
6
6
  "license": "Apache-2.0",
@@ -46,10 +46,10 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.1",
50
- "@aws-sdk/credential-provider-node": "^3.972.84",
49
+ "@aws-sdk/core": "^3.978.2",
50
+ "@aws-sdk/credential-provider-node": "^3.972.85",
51
51
  "@aws-sdk/types": "^3.974.6",
52
- "@smithy/core": "^3.35.0",
52
+ "@smithy/core": "^3.35.2",
53
53
  "@smithy/fetch-http-handler": "^5.8.0",
54
54
  "@smithy/node-http-handler": "^4.12.1",
55
55
  "@smithy/types": "^4.19.0",