@aws-sdk/client-amp 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 AmpServiceException extends ServiceException {
135
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.amp#AmpServiceException";
135
136
  constructor(options) {
136
137
  super(options);
137
138
  Object.setPrototypeOf(this, AmpServiceException.prototype);
@@ -139,6 +140,7 @@ class AmpServiceException extends ServiceException {
139
140
  }
140
141
 
141
142
  class AccessDeniedException extends AmpServiceException {
143
+ static shapeId = "com.amazonaws.amp#AccessDeniedException";
142
144
  name = "AccessDeniedException";
143
145
  $fault = "client";
144
146
  constructor(opts) {
@@ -151,6 +153,7 @@ class AccessDeniedException extends AmpServiceException {
151
153
  }
152
154
  }
153
155
  class ConflictException extends AmpServiceException {
156
+ static shapeId = "com.amazonaws.amp#ConflictException";
154
157
  name = "ConflictException";
155
158
  $fault = "client";
156
159
  resourceId;
@@ -167,6 +170,7 @@ class ConflictException extends AmpServiceException {
167
170
  }
168
171
  }
169
172
  class InternalServerException extends AmpServiceException {
173
+ static shapeId = "com.amazonaws.amp#InternalServerException";
170
174
  name = "InternalServerException";
171
175
  $fault = "server";
172
176
  $retryable = {};
@@ -182,6 +186,7 @@ class InternalServerException extends AmpServiceException {
182
186
  }
183
187
  }
184
188
  class ResourceNotFoundException extends AmpServiceException {
189
+ static shapeId = "com.amazonaws.amp#ResourceNotFoundException";
185
190
  name = "ResourceNotFoundException";
186
191
  $fault = "client";
187
192
  resourceId;
@@ -198,6 +203,7 @@ class ResourceNotFoundException extends AmpServiceException {
198
203
  }
199
204
  }
200
205
  class ServiceQuotaExceededException extends AmpServiceException {
206
+ static shapeId = "com.amazonaws.amp#ServiceQuotaExceededException";
201
207
  name = "ServiceQuotaExceededException";
202
208
  $fault = "client";
203
209
  resourceId;
@@ -218,6 +224,7 @@ class ServiceQuotaExceededException extends AmpServiceException {
218
224
  }
219
225
  }
220
226
  class ThrottlingException extends AmpServiceException {
227
+ static shapeId = "com.amazonaws.amp#ThrottlingException";
221
228
  name = "ThrottlingException";
222
229
  $fault = "client";
223
230
  $retryable = {};
@@ -237,6 +244,7 @@ class ThrottlingException extends AmpServiceException {
237
244
  }
238
245
  }
239
246
  class ValidationException extends AmpServiceException {
247
+ static shapeId = "com.amazonaws.amp#ValidationException";
240
248
  name = "ValidationException";
241
249
  $fault = "client";
242
250
  reason;
@@ -1,6 +1,7 @@
1
1
  import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
2
  export { __ServiceException };
3
3
  export class AmpServiceException extends __ServiceException {
4
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.amp#AmpServiceException";
4
5
  constructor(options) {
5
6
  super(options);
6
7
  Object.setPrototypeOf(this, AmpServiceException.prototype);
@@ -1,5 +1,6 @@
1
1
  import { AmpServiceException as __BaseException } from "./AmpServiceException";
2
2
  export class AccessDeniedException extends __BaseException {
3
+ static shapeId = "com.amazonaws.amp#AccessDeniedException";
3
4
  name = "AccessDeniedException";
4
5
  $fault = "client";
5
6
  constructor(opts) {
@@ -12,6 +13,7 @@ export class AccessDeniedException extends __BaseException {
12
13
  }
13
14
  }
14
15
  export class ConflictException extends __BaseException {
16
+ static shapeId = "com.amazonaws.amp#ConflictException";
15
17
  name = "ConflictException";
16
18
  $fault = "client";
17
19
  resourceId;
@@ -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.amp#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 ResourceNotFoundException extends __BaseException {
49
+ static shapeId = "com.amazonaws.amp#ResourceNotFoundException";
46
50
  name = "ResourceNotFoundException";
47
51
  $fault = "client";
48
52
  resourceId;
@@ -59,6 +63,7 @@ export class ResourceNotFoundException extends __BaseException {
59
63
  }
60
64
  }
61
65
  export class ServiceQuotaExceededException extends __BaseException {
66
+ static shapeId = "com.amazonaws.amp#ServiceQuotaExceededException";
62
67
  name = "ServiceQuotaExceededException";
63
68
  $fault = "client";
64
69
  resourceId;
@@ -79,6 +84,7 @@ export class ServiceQuotaExceededException extends __BaseException {
79
84
  }
80
85
  }
81
86
  export class ThrottlingException extends __BaseException {
87
+ static shapeId = "com.amazonaws.amp#ThrottlingException";
82
88
  name = "ThrottlingException";
83
89
  $fault = "client";
84
90
  $retryable = {};
@@ -98,6 +104,7 @@ export class ThrottlingException extends __BaseException {
98
104
  }
99
105
  }
100
106
  export class ValidationException extends __BaseException {
107
+ static shapeId = "com.amazonaws.amp#ValidationException";
101
108
  name = "ValidationException";
102
109
  $fault = "client";
103
110
  reason;
@@ -7,6 +7,7 @@ export { __ServiceException };
7
7
  * Base exception class for all service exceptions from Amp service.
8
8
  */
9
9
  export declare class AmpServiceException 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
  /**
@@ -19,6 +20,7 @@ export declare class AccessDeniedException extends __BaseException {
19
20
  * @public
20
21
  */
21
22
  export declare class ConflictException extends __BaseException {
23
+ static readonly shapeId: string;
22
24
  readonly name: "ConflictException";
23
25
  readonly $fault: "client";
24
26
  /**
@@ -41,6 +43,7 @@ export declare class ConflictException extends __BaseException {
41
43
  * @public
42
44
  */
43
45
  export declare class InternalServerException extends __BaseException {
46
+ static readonly shapeId: string;
44
47
  readonly name: "InternalServerException";
45
48
  readonly $fault: "server";
46
49
  $retryable: {};
@@ -59,6 +62,7 @@ export declare class InternalServerException extends __BaseException {
59
62
  * @public
60
63
  */
61
64
  export declare class ResourceNotFoundException extends __BaseException {
65
+ static readonly shapeId: string;
62
66
  readonly name: "ResourceNotFoundException";
63
67
  readonly $fault: "client";
64
68
  /**
@@ -81,6 +85,7 @@ export declare class ResourceNotFoundException extends __BaseException {
81
85
  * @public
82
86
  */
83
87
  export declare class ServiceQuotaExceededException extends __BaseException {
88
+ static readonly shapeId: string;
84
89
  readonly name: "ServiceQuotaExceededException";
85
90
  readonly $fault: "client";
86
91
  /**
@@ -113,6 +118,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
113
118
  * @public
114
119
  */
115
120
  export declare class ThrottlingException extends __BaseException {
121
+ static readonly shapeId: string;
116
122
  readonly name: "ThrottlingException";
117
123
  readonly $fault: "client";
118
124
  $retryable: {};
@@ -141,6 +147,7 @@ export declare class ThrottlingException extends __BaseException {
141
147
  * @public
142
148
  */
143
149
  export declare class ValidationException extends __BaseException {
150
+ static readonly shapeId: string;
144
151
  readonly name: "ValidationException";
145
152
  readonly $fault: "client";
146
153
  /**
@@ -5,5 +5,6 @@ import {
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class AmpServiceException extends __ServiceException {
8
+ static readonly shapeId: string;
8
9
  constructor(options: __ServiceExceptionOptions);
9
10
  }
@@ -3,11 +3,13 @@ import { AmpServiceException as __BaseException } from "./AmpServiceException";
3
3
  import { ValidationExceptionReason } from "./enums";
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
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
9
10
  }
10
11
  export declare class ConflictException extends __BaseException {
12
+ static readonly shapeId: string;
11
13
  readonly name: "ConflictException";
12
14
  readonly $fault: "client";
13
15
  resourceId: string | undefined;
@@ -15,6 +17,7 @@ export declare class ConflictException extends __BaseException {
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,6 +25,7 @@ export declare class InternalServerException extends __BaseException {
22
25
  constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
23
26
  }
24
27
  export declare class ResourceNotFoundException extends __BaseException {
28
+ static readonly shapeId: string;
25
29
  readonly name: "ResourceNotFoundException";
26
30
  readonly $fault: "client";
27
31
  resourceId: string | undefined;
@@ -29,6 +33,7 @@ export declare class ResourceNotFoundException extends __BaseException {
29
33
  constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
30
34
  }
31
35
  export declare class ServiceQuotaExceededException extends __BaseException {
36
+ static readonly shapeId: string;
32
37
  readonly name: "ServiceQuotaExceededException";
33
38
  readonly $fault: "client";
34
39
  resourceId: string | undefined;
@@ -38,6 +43,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
38
43
  constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
39
44
  }
40
45
  export declare class ThrottlingException extends __BaseException {
46
+ static readonly shapeId: string;
41
47
  readonly name: "ThrottlingException";
42
48
  readonly $fault: "client";
43
49
  $retryable: {};
@@ -47,6 +53,7 @@ export declare class ThrottlingException extends __BaseException {
47
53
  constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
48
54
  }
49
55
  export declare class ValidationException extends __BaseException {
56
+ static readonly shapeId: string;
50
57
  readonly name: "ValidationException";
51
58
  readonly $fault: "client";
52
59
  reason: ValidationExceptionReason | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-amp",
3
- "version": "3.1148.0",
3
+ "version": "3.1149.0",
4
4
  "description": "AWS SDK for JavaScript Amp Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-amp",
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",