@aws-sdk/client-pinpoint 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
 
@@ -146,6 +146,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
146
146
  customEndpointFunctions.aws = awsEndpointFunctions;
147
147
 
148
148
  class PinpointServiceException extends ServiceException {
149
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.pinpoint#PinpointServiceException";
149
150
  constructor(options) {
150
151
  super(options);
151
152
  Object.setPrototypeOf(this, PinpointServiceException.prototype);
@@ -153,6 +154,7 @@ class PinpointServiceException extends ServiceException {
153
154
  }
154
155
 
155
156
  class BadRequestException extends PinpointServiceException {
157
+ static shapeId = "com.amazonaws.pinpoint#BadRequestException";
156
158
  name = "BadRequestException";
157
159
  $fault = "client";
158
160
  Message;
@@ -169,6 +171,7 @@ class BadRequestException extends PinpointServiceException {
169
171
  }
170
172
  }
171
173
  class ConflictException extends PinpointServiceException {
174
+ static shapeId = "com.amazonaws.pinpoint#ConflictException";
172
175
  name = "ConflictException";
173
176
  $fault = "client";
174
177
  Message;
@@ -185,6 +188,7 @@ class ConflictException extends PinpointServiceException {
185
188
  }
186
189
  }
187
190
  class ForbiddenException extends PinpointServiceException {
191
+ static shapeId = "com.amazonaws.pinpoint#ForbiddenException";
188
192
  name = "ForbiddenException";
189
193
  $fault = "client";
190
194
  Message;
@@ -201,6 +205,7 @@ class ForbiddenException extends PinpointServiceException {
201
205
  }
202
206
  }
203
207
  class InternalServerErrorException extends PinpointServiceException {
208
+ static shapeId = "com.amazonaws.pinpoint#InternalServerErrorException";
204
209
  name = "InternalServerErrorException";
205
210
  $fault = "server";
206
211
  Message;
@@ -217,6 +222,7 @@ class InternalServerErrorException extends PinpointServiceException {
217
222
  }
218
223
  }
219
224
  class MethodNotAllowedException extends PinpointServiceException {
225
+ static shapeId = "com.amazonaws.pinpoint#MethodNotAllowedException";
220
226
  name = "MethodNotAllowedException";
221
227
  $fault = "client";
222
228
  Message;
@@ -233,6 +239,7 @@ class MethodNotAllowedException extends PinpointServiceException {
233
239
  }
234
240
  }
235
241
  class NotFoundException extends PinpointServiceException {
242
+ static shapeId = "com.amazonaws.pinpoint#NotFoundException";
236
243
  name = "NotFoundException";
237
244
  $fault = "client";
238
245
  Message;
@@ -249,6 +256,7 @@ class NotFoundException extends PinpointServiceException {
249
256
  }
250
257
  }
251
258
  class PayloadTooLargeException extends PinpointServiceException {
259
+ static shapeId = "com.amazonaws.pinpoint#PayloadTooLargeException";
252
260
  name = "PayloadTooLargeException";
253
261
  $fault = "client";
254
262
  Message;
@@ -265,6 +273,7 @@ class PayloadTooLargeException extends PinpointServiceException {
265
273
  }
266
274
  }
267
275
  class TooManyRequestsException extends PinpointServiceException {
276
+ static shapeId = "com.amazonaws.pinpoint#TooManyRequestsException";
268
277
  name = "TooManyRequestsException";
269
278
  $fault = "client";
270
279
  Message;
@@ -1,6 +1,7 @@
1
1
  import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
2
  export { __ServiceException };
3
3
  export class PinpointServiceException extends __ServiceException {
4
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.pinpoint#PinpointServiceException";
4
5
  constructor(options) {
5
6
  super(options);
6
7
  Object.setPrototypeOf(this, PinpointServiceException.prototype);
@@ -1,5 +1,6 @@
1
1
  import { PinpointServiceException as __BaseException } from "./PinpointServiceException";
2
2
  export class BadRequestException extends __BaseException {
3
+ static shapeId = "com.amazonaws.pinpoint#BadRequestException";
3
4
  name = "BadRequestException";
4
5
  $fault = "client";
5
6
  Message;
@@ -16,6 +17,7 @@ export class BadRequestException extends __BaseException {
16
17
  }
17
18
  }
18
19
  export class ConflictException extends __BaseException {
20
+ static shapeId = "com.amazonaws.pinpoint#ConflictException";
19
21
  name = "ConflictException";
20
22
  $fault = "client";
21
23
  Message;
@@ -32,6 +34,7 @@ export class ConflictException extends __BaseException {
32
34
  }
33
35
  }
34
36
  export class ForbiddenException extends __BaseException {
37
+ static shapeId = "com.amazonaws.pinpoint#ForbiddenException";
35
38
  name = "ForbiddenException";
36
39
  $fault = "client";
37
40
  Message;
@@ -48,6 +51,7 @@ export class ForbiddenException extends __BaseException {
48
51
  }
49
52
  }
50
53
  export class InternalServerErrorException extends __BaseException {
54
+ static shapeId = "com.amazonaws.pinpoint#InternalServerErrorException";
51
55
  name = "InternalServerErrorException";
52
56
  $fault = "server";
53
57
  Message;
@@ -64,6 +68,7 @@ export class InternalServerErrorException extends __BaseException {
64
68
  }
65
69
  }
66
70
  export class MethodNotAllowedException extends __BaseException {
71
+ static shapeId = "com.amazonaws.pinpoint#MethodNotAllowedException";
67
72
  name = "MethodNotAllowedException";
68
73
  $fault = "client";
69
74
  Message;
@@ -80,6 +85,7 @@ export class MethodNotAllowedException extends __BaseException {
80
85
  }
81
86
  }
82
87
  export class NotFoundException extends __BaseException {
88
+ static shapeId = "com.amazonaws.pinpoint#NotFoundException";
83
89
  name = "NotFoundException";
84
90
  $fault = "client";
85
91
  Message;
@@ -96,6 +102,7 @@ export class NotFoundException extends __BaseException {
96
102
  }
97
103
  }
98
104
  export class PayloadTooLargeException extends __BaseException {
105
+ static shapeId = "com.amazonaws.pinpoint#PayloadTooLargeException";
99
106
  name = "PayloadTooLargeException";
100
107
  $fault = "client";
101
108
  Message;
@@ -112,6 +119,7 @@ export class PayloadTooLargeException extends __BaseException {
112
119
  }
113
120
  }
114
121
  export class TooManyRequestsException extends __BaseException {
122
+ static shapeId = "com.amazonaws.pinpoint#TooManyRequestsException";
115
123
  name = "TooManyRequestsException";
116
124
  $fault = "client";
117
125
  Message;
@@ -7,6 +7,7 @@ export { __ServiceException };
7
7
  * Base exception class for all service exceptions from Pinpoint service.
8
8
  */
9
9
  export declare class PinpointServiceException extends __ServiceException {
10
+ static readonly shapeId: string;
10
11
  /**
11
12
  * @internal
12
13
  */
@@ -5,6 +5,7 @@ import { PinpointServiceException as __BaseException } from "./PinpointServiceEx
5
5
  * @public
6
6
  */
7
7
  export declare class BadRequestException extends __BaseException {
8
+ static readonly shapeId: string;
8
9
  readonly name: "BadRequestException";
9
10
  readonly $fault: "client";
10
11
  /**
@@ -27,6 +28,7 @@ export declare class BadRequestException extends __BaseException {
27
28
  * @public
28
29
  */
29
30
  export declare class ConflictException extends __BaseException {
31
+ static readonly shapeId: string;
30
32
  readonly name: "ConflictException";
31
33
  readonly $fault: "client";
32
34
  /**
@@ -49,6 +51,7 @@ export declare class ConflictException extends __BaseException {
49
51
  * @public
50
52
  */
51
53
  export declare class ForbiddenException extends __BaseException {
54
+ static readonly shapeId: string;
52
55
  readonly name: "ForbiddenException";
53
56
  readonly $fault: "client";
54
57
  /**
@@ -71,6 +74,7 @@ export declare class ForbiddenException extends __BaseException {
71
74
  * @public
72
75
  */
73
76
  export declare class InternalServerErrorException extends __BaseException {
77
+ static readonly shapeId: string;
74
78
  readonly name: "InternalServerErrorException";
75
79
  readonly $fault: "server";
76
80
  /**
@@ -93,6 +97,7 @@ export declare class InternalServerErrorException extends __BaseException {
93
97
  * @public
94
98
  */
95
99
  export declare class MethodNotAllowedException extends __BaseException {
100
+ static readonly shapeId: string;
96
101
  readonly name: "MethodNotAllowedException";
97
102
  readonly $fault: "client";
98
103
  /**
@@ -115,6 +120,7 @@ export declare class MethodNotAllowedException extends __BaseException {
115
120
  * @public
116
121
  */
117
122
  export declare class NotFoundException extends __BaseException {
123
+ static readonly shapeId: string;
118
124
  readonly name: "NotFoundException";
119
125
  readonly $fault: "client";
120
126
  /**
@@ -137,6 +143,7 @@ export declare class NotFoundException extends __BaseException {
137
143
  * @public
138
144
  */
139
145
  export declare class PayloadTooLargeException extends __BaseException {
146
+ static readonly shapeId: string;
140
147
  readonly name: "PayloadTooLargeException";
141
148
  readonly $fault: "client";
142
149
  /**
@@ -159,6 +166,7 @@ export declare class PayloadTooLargeException extends __BaseException {
159
166
  * @public
160
167
  */
161
168
  export declare class TooManyRequestsException extends __BaseException {
169
+ static readonly shapeId: string;
162
170
  readonly name: "TooManyRequestsException";
163
171
  readonly $fault: "client";
164
172
  /**
@@ -5,5 +5,6 @@ import {
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class PinpointServiceException extends __ServiceException {
8
+ static readonly shapeId: string;
8
9
  constructor(options: __ServiceExceptionOptions);
9
10
  }
@@ -1,6 +1,7 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
2
  import { PinpointServiceException as __BaseException } from "./PinpointServiceException";
3
3
  export declare class BadRequestException extends __BaseException {
4
+ static readonly shapeId: string;
4
5
  readonly name: "BadRequestException";
5
6
  readonly $fault: "client";
6
7
  Message?: string | undefined;
@@ -8,6 +9,7 @@ export declare class BadRequestException extends __BaseException {
8
9
  constructor(opts: __ExceptionOptionType<BadRequestException, __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
  Message?: 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 ForbiddenException extends __BaseException {
20
+ static readonly shapeId: string;
18
21
  readonly name: "ForbiddenException";
19
22
  readonly $fault: "client";
20
23
  Message?: string | undefined;
@@ -22,6 +25,7 @@ export declare class ForbiddenException extends __BaseException {
22
25
  constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
23
26
  }
24
27
  export declare class InternalServerErrorException extends __BaseException {
28
+ static readonly shapeId: string;
25
29
  readonly name: "InternalServerErrorException";
26
30
  readonly $fault: "server";
27
31
  Message?: string | undefined;
@@ -29,6 +33,7 @@ export declare class InternalServerErrorException extends __BaseException {
29
33
  constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
30
34
  }
31
35
  export declare class MethodNotAllowedException extends __BaseException {
36
+ static readonly shapeId: string;
32
37
  readonly name: "MethodNotAllowedException";
33
38
  readonly $fault: "client";
34
39
  Message?: string | undefined;
@@ -36,6 +41,7 @@ export declare class MethodNotAllowedException extends __BaseException {
36
41
  constructor(opts: __ExceptionOptionType<MethodNotAllowedException, __BaseException>);
37
42
  }
38
43
  export declare class NotFoundException extends __BaseException {
44
+ static readonly shapeId: string;
39
45
  readonly name: "NotFoundException";
40
46
  readonly $fault: "client";
41
47
  Message?: string | undefined;
@@ -43,6 +49,7 @@ export declare class NotFoundException extends __BaseException {
43
49
  constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
44
50
  }
45
51
  export declare class PayloadTooLargeException extends __BaseException {
52
+ static readonly shapeId: string;
46
53
  readonly name: "PayloadTooLargeException";
47
54
  readonly $fault: "client";
48
55
  Message?: string | undefined;
@@ -50,6 +57,7 @@ export declare class PayloadTooLargeException extends __BaseException {
50
57
  constructor(opts: __ExceptionOptionType<PayloadTooLargeException, __BaseException>);
51
58
  }
52
59
  export declare class TooManyRequestsException extends __BaseException {
60
+ static readonly shapeId: string;
53
61
  readonly name: "TooManyRequestsException";
54
62
  readonly $fault: "client";
55
63
  Message?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-pinpoint",
3
- "version": "3.1147.0",
3
+ "version": "3.1149.0",
4
4
  "description": "AWS SDK for JavaScript Pinpoint Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-pinpoint",
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",