@aws-sdk/client-location 3.1148.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.1147.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 LocationServiceException extends ServiceException {
135
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.location#LocationServiceException";
135
136
  constructor(options) {
136
137
  super(options);
137
138
  Object.setPrototypeOf(this, LocationServiceException.prototype);
@@ -139,6 +140,7 @@ class LocationServiceException extends ServiceException {
139
140
  }
140
141
 
141
142
  class AccessDeniedException extends LocationServiceException {
143
+ static shapeId = "com.amazonaws.location#AccessDeniedException";
142
144
  name = "AccessDeniedException";
143
145
  $fault = "client";
144
146
  Message;
@@ -153,6 +155,7 @@ class AccessDeniedException extends LocationServiceException {
153
155
  }
154
156
  }
155
157
  class ConflictException extends LocationServiceException {
158
+ static shapeId = "com.amazonaws.location#ConflictException";
156
159
  name = "ConflictException";
157
160
  $fault = "client";
158
161
  Message;
@@ -167,6 +170,7 @@ class ConflictException extends LocationServiceException {
167
170
  }
168
171
  }
169
172
  class InternalServerException extends LocationServiceException {
173
+ static shapeId = "com.amazonaws.location#InternalServerException";
170
174
  name = "InternalServerException";
171
175
  $fault = "server";
172
176
  $retryable = {};
@@ -182,6 +186,7 @@ class InternalServerException extends LocationServiceException {
182
186
  }
183
187
  }
184
188
  class ServiceQuotaExceededException extends LocationServiceException {
189
+ static shapeId = "com.amazonaws.location#ServiceQuotaExceededException";
185
190
  name = "ServiceQuotaExceededException";
186
191
  $fault = "client";
187
192
  Message;
@@ -196,6 +201,7 @@ class ServiceQuotaExceededException extends LocationServiceException {
196
201
  }
197
202
  }
198
203
  class ThrottlingException extends LocationServiceException {
204
+ static shapeId = "com.amazonaws.location#ThrottlingException";
199
205
  name = "ThrottlingException";
200
206
  $fault = "client";
201
207
  $retryable = {};
@@ -211,6 +217,7 @@ class ThrottlingException extends LocationServiceException {
211
217
  }
212
218
  }
213
219
  class ValidationException extends LocationServiceException {
220
+ static shapeId = "com.amazonaws.location#ValidationException";
214
221
  name = "ValidationException";
215
222
  $fault = "client";
216
223
  Message;
@@ -229,6 +236,7 @@ class ValidationException extends LocationServiceException {
229
236
  }
230
237
  }
231
238
  class ResourceNotFoundException extends LocationServiceException {
239
+ static shapeId = "com.amazonaws.location#ResourceNotFoundException";
232
240
  name = "ResourceNotFoundException";
233
241
  $fault = "client";
234
242
  Message;
@@ -1,6 +1,7 @@
1
1
  import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
2
  export { __ServiceException };
3
3
  export class LocationServiceException extends __ServiceException {
4
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.location#LocationServiceException";
4
5
  constructor(options) {
5
6
  super(options);
6
7
  Object.setPrototypeOf(this, LocationServiceException.prototype);
@@ -1,5 +1,6 @@
1
1
  import { LocationServiceException as __BaseException } from "./LocationServiceException";
2
2
  export class AccessDeniedException extends __BaseException {
3
+ static shapeId = "com.amazonaws.location#AccessDeniedException";
3
4
  name = "AccessDeniedException";
4
5
  $fault = "client";
5
6
  Message;
@@ -14,6 +15,7 @@ export class AccessDeniedException extends __BaseException {
14
15
  }
15
16
  }
16
17
  export class ConflictException extends __BaseException {
18
+ static shapeId = "com.amazonaws.location#ConflictException";
17
19
  name = "ConflictException";
18
20
  $fault = "client";
19
21
  Message;
@@ -28,6 +30,7 @@ export class ConflictException extends __BaseException {
28
30
  }
29
31
  }
30
32
  export class InternalServerException extends __BaseException {
33
+ static shapeId = "com.amazonaws.location#InternalServerException";
31
34
  name = "InternalServerException";
32
35
  $fault = "server";
33
36
  $retryable = {};
@@ -43,6 +46,7 @@ export class InternalServerException extends __BaseException {
43
46
  }
44
47
  }
45
48
  export class ServiceQuotaExceededException extends __BaseException {
49
+ static shapeId = "com.amazonaws.location#ServiceQuotaExceededException";
46
50
  name = "ServiceQuotaExceededException";
47
51
  $fault = "client";
48
52
  Message;
@@ -57,6 +61,7 @@ export class ServiceQuotaExceededException extends __BaseException {
57
61
  }
58
62
  }
59
63
  export class ThrottlingException extends __BaseException {
64
+ static shapeId = "com.amazonaws.location#ThrottlingException";
60
65
  name = "ThrottlingException";
61
66
  $fault = "client";
62
67
  $retryable = {};
@@ -72,6 +77,7 @@ export class ThrottlingException extends __BaseException {
72
77
  }
73
78
  }
74
79
  export class ValidationException extends __BaseException {
80
+ static shapeId = "com.amazonaws.location#ValidationException";
75
81
  name = "ValidationException";
76
82
  $fault = "client";
77
83
  Message;
@@ -90,6 +96,7 @@ export class ValidationException extends __BaseException {
90
96
  }
91
97
  }
92
98
  export class ResourceNotFoundException extends __BaseException {
99
+ static shapeId = "com.amazonaws.location#ResourceNotFoundException";
93
100
  name = "ResourceNotFoundException";
94
101
  $fault = "client";
95
102
  Message;
@@ -7,6 +7,7 @@ export { __ServiceException };
7
7
  * Base exception class for all service exceptions from Location service.
8
8
  */
9
9
  export declare class LocationServiceException extends __ServiceException {
10
+ static readonly shapeId: string;
10
11
  /**
11
12
  * @internal
12
13
  */
@@ -7,6 +7,7 @@ import type { ValidationExceptionField } from "./models_0";
7
7
  * @public
8
8
  */
9
9
  export declare class AccessDeniedException extends __BaseException {
10
+ static readonly shapeId: string;
10
11
  readonly name: "AccessDeniedException";
11
12
  readonly $fault: "client";
12
13
  Message: string | undefined;
@@ -20,6 +21,7 @@ export declare class AccessDeniedException extends __BaseException {
20
21
  * @public
21
22
  */
22
23
  export declare class ConflictException extends __BaseException {
24
+ static readonly shapeId: string;
23
25
  readonly name: "ConflictException";
24
26
  readonly $fault: "client";
25
27
  Message: string | undefined;
@@ -33,6 +35,7 @@ export declare class ConflictException extends __BaseException {
33
35
  * @public
34
36
  */
35
37
  export declare class InternalServerException extends __BaseException {
38
+ static readonly shapeId: string;
36
39
  readonly name: "InternalServerException";
37
40
  readonly $fault: "server";
38
41
  $retryable: {};
@@ -47,6 +50,7 @@ export declare class InternalServerException extends __BaseException {
47
50
  * @public
48
51
  */
49
52
  export declare class ServiceQuotaExceededException extends __BaseException {
53
+ static readonly shapeId: string;
50
54
  readonly name: "ServiceQuotaExceededException";
51
55
  readonly $fault: "client";
52
56
  /**
@@ -64,6 +68,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
64
68
  * @public
65
69
  */
66
70
  export declare class ThrottlingException extends __BaseException {
71
+ static readonly shapeId: string;
67
72
  readonly name: "ThrottlingException";
68
73
  readonly $fault: "client";
69
74
  $retryable: {};
@@ -78,6 +83,7 @@ export declare class ThrottlingException extends __BaseException {
78
83
  * @public
79
84
  */
80
85
  export declare class ValidationException extends __BaseException {
86
+ static readonly shapeId: string;
81
87
  readonly name: "ValidationException";
82
88
  readonly $fault: "client";
83
89
  Message: string | undefined;
@@ -101,6 +107,7 @@ export declare class ValidationException extends __BaseException {
101
107
  * @public
102
108
  */
103
109
  export declare class ResourceNotFoundException extends __BaseException {
110
+ static readonly shapeId: string;
104
111
  readonly name: "ResourceNotFoundException";
105
112
  readonly $fault: "client";
106
113
  Message: string | undefined;
@@ -5,5 +5,6 @@ import {
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class LocationServiceException extends __ServiceException {
8
+ static readonly shapeId: string;
8
9
  constructor(options: __ServiceExceptionOptions);
9
10
  }
@@ -3,18 +3,21 @@ import { ValidationExceptionReason } from "./enums";
3
3
  import { LocationServiceException as __BaseException } from "./LocationServiceException";
4
4
  import { ValidationExceptionField } from "./models_0";
5
5
  export declare class AccessDeniedException extends __BaseException {
6
+ static readonly shapeId: string;
6
7
  readonly name: "AccessDeniedException";
7
8
  readonly $fault: "client";
8
9
  Message: string | undefined;
9
10
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
10
11
  }
11
12
  export declare class ConflictException extends __BaseException {
13
+ static readonly shapeId: string;
12
14
  readonly name: "ConflictException";
13
15
  readonly $fault: "client";
14
16
  Message: string | undefined;
15
17
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
16
18
  }
17
19
  export declare class InternalServerException extends __BaseException {
20
+ static readonly shapeId: string;
18
21
  readonly name: "InternalServerException";
19
22
  readonly $fault: "server";
20
23
  $retryable: {};
@@ -22,12 +25,14 @@ export declare class InternalServerException extends __BaseException {
22
25
  constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
23
26
  }
24
27
  export declare class ServiceQuotaExceededException extends __BaseException {
28
+ static readonly shapeId: string;
25
29
  readonly name: "ServiceQuotaExceededException";
26
30
  readonly $fault: "client";
27
31
  Message: string | undefined;
28
32
  constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
29
33
  }
30
34
  export declare class ThrottlingException extends __BaseException {
35
+ static readonly shapeId: string;
31
36
  readonly name: "ThrottlingException";
32
37
  readonly $fault: "client";
33
38
  $retryable: {};
@@ -35,6 +40,7 @@ export declare class ThrottlingException extends __BaseException {
35
40
  constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
36
41
  }
37
42
  export declare class ValidationException extends __BaseException {
43
+ static readonly shapeId: string;
38
44
  readonly name: "ValidationException";
39
45
  readonly $fault: "client";
40
46
  Message: string | undefined;
@@ -43,6 +49,7 @@ export declare class ValidationException extends __BaseException {
43
49
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
44
50
  }
45
51
  export declare class ResourceNotFoundException extends __BaseException {
52
+ static readonly shapeId: string;
46
53
  readonly name: "ResourceNotFoundException";
47
54
  readonly $fault: "client";
48
55
  Message: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-location",
3
- "version": "3.1148.0",
3
+ "version": "3.1149.0",
4
4
  "description": "AWS SDK for JavaScript Location Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-location",
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",