@aws-sdk/client-notifications 3.1148.0 → 3.1150.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
@@ -67,7 +67,7 @@ const commonParams = {
67
67
  Region: { type: "builtInParams", name: "region" },
68
68
  };
69
69
 
70
- var version = "3.1147.0";
70
+ var version = "3.1149.0";
71
71
  var packageInfo = {
72
72
  version: version};
73
73
 
@@ -113,6 +113,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
113
113
  customEndpointFunctions.aws = awsEndpointFunctions;
114
114
 
115
115
  class NotificationsServiceException extends ServiceException {
116
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.notifications#NotificationsServiceException";
116
117
  constructor(options) {
117
118
  super(options);
118
119
  Object.setPrototypeOf(this, NotificationsServiceException.prototype);
@@ -120,6 +121,7 @@ class NotificationsServiceException extends ServiceException {
120
121
  }
121
122
 
122
123
  class AccessDeniedException extends NotificationsServiceException {
124
+ static shapeId = "com.amazonaws.notifications#AccessDeniedException";
123
125
  name = "AccessDeniedException";
124
126
  $fault = "client";
125
127
  constructor(opts) {
@@ -132,6 +134,7 @@ class AccessDeniedException extends NotificationsServiceException {
132
134
  }
133
135
  }
134
136
  class ConflictException extends NotificationsServiceException {
137
+ static shapeId = "com.amazonaws.notifications#ConflictException";
135
138
  name = "ConflictException";
136
139
  $fault = "client";
137
140
  resourceId;
@@ -146,6 +149,7 @@ class ConflictException extends NotificationsServiceException {
146
149
  }
147
150
  }
148
151
  class InternalServerException extends NotificationsServiceException {
152
+ static shapeId = "com.amazonaws.notifications#InternalServerException";
149
153
  name = "InternalServerException";
150
154
  $fault = "server";
151
155
  $retryable = {};
@@ -159,6 +163,7 @@ class InternalServerException extends NotificationsServiceException {
159
163
  }
160
164
  }
161
165
  class ResourceNotFoundException extends NotificationsServiceException {
166
+ static shapeId = "com.amazonaws.notifications#ResourceNotFoundException";
162
167
  name = "ResourceNotFoundException";
163
168
  $fault = "client";
164
169
  resourceId;
@@ -173,6 +178,7 @@ class ResourceNotFoundException extends NotificationsServiceException {
173
178
  }
174
179
  }
175
180
  class ServiceQuotaExceededException extends NotificationsServiceException {
181
+ static shapeId = "com.amazonaws.notifications#ServiceQuotaExceededException";
176
182
  name = "ServiceQuotaExceededException";
177
183
  $fault = "client";
178
184
  resourceType;
@@ -193,6 +199,7 @@ class ServiceQuotaExceededException extends NotificationsServiceException {
193
199
  }
194
200
  }
195
201
  class ThrottlingException extends NotificationsServiceException {
202
+ static shapeId = "com.amazonaws.notifications#ThrottlingException";
196
203
  name = "ThrottlingException";
197
204
  $fault = "client";
198
205
  $retryable = {
@@ -214,6 +221,7 @@ class ThrottlingException extends NotificationsServiceException {
214
221
  }
215
222
  }
216
223
  class ValidationException extends NotificationsServiceException {
224
+ static shapeId = "com.amazonaws.notifications#ValidationException";
217
225
  name = "ValidationException";
218
226
  $fault = "client";
219
227
  reason;
@@ -1,6 +1,7 @@
1
1
  import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
2
  export { __ServiceException };
3
3
  export class NotificationsServiceException extends __ServiceException {
4
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.notifications#NotificationsServiceException";
4
5
  constructor(options) {
5
6
  super(options);
6
7
  Object.setPrototypeOf(this, NotificationsServiceException.prototype);
@@ -1,5 +1,6 @@
1
1
  import { NotificationsServiceException as __BaseException } from "./NotificationsServiceException";
2
2
  export class AccessDeniedException extends __BaseException {
3
+ static shapeId = "com.amazonaws.notifications#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.notifications#ConflictException";
15
17
  name = "ConflictException";
16
18
  $fault = "client";
17
19
  resourceId;
@@ -26,6 +28,7 @@ export class ConflictException extends __BaseException {
26
28
  }
27
29
  }
28
30
  export class InternalServerException extends __BaseException {
31
+ static shapeId = "com.amazonaws.notifications#InternalServerException";
29
32
  name = "InternalServerException";
30
33
  $fault = "server";
31
34
  $retryable = {};
@@ -39,6 +42,7 @@ export class InternalServerException extends __BaseException {
39
42
  }
40
43
  }
41
44
  export class ResourceNotFoundException extends __BaseException {
45
+ static shapeId = "com.amazonaws.notifications#ResourceNotFoundException";
42
46
  name = "ResourceNotFoundException";
43
47
  $fault = "client";
44
48
  resourceId;
@@ -53,6 +57,7 @@ export class ResourceNotFoundException extends __BaseException {
53
57
  }
54
58
  }
55
59
  export class ServiceQuotaExceededException extends __BaseException {
60
+ static shapeId = "com.amazonaws.notifications#ServiceQuotaExceededException";
56
61
  name = "ServiceQuotaExceededException";
57
62
  $fault = "client";
58
63
  resourceType;
@@ -73,6 +78,7 @@ export class ServiceQuotaExceededException extends __BaseException {
73
78
  }
74
79
  }
75
80
  export class ThrottlingException extends __BaseException {
81
+ static shapeId = "com.amazonaws.notifications#ThrottlingException";
76
82
  name = "ThrottlingException";
77
83
  $fault = "client";
78
84
  $retryable = {
@@ -94,6 +100,7 @@ export class ThrottlingException extends __BaseException {
94
100
  }
95
101
  }
96
102
  export class ValidationException extends __BaseException {
103
+ static shapeId = "com.amazonaws.notifications#ValidationException";
97
104
  name = "ValidationException";
98
105
  $fault = "client";
99
106
  reason;
@@ -7,6 +7,7 @@ export { __ServiceException };
7
7
  * Base exception class for all service exceptions from Notifications service.
8
8
  */
9
9
  export declare class NotificationsServiceException extends __ServiceException {
10
+ static readonly shapeId: string;
10
11
  /**
11
12
  * @internal
12
13
  */
@@ -7,6 +7,7 @@ import { NotificationsServiceException as __BaseException } from "./Notification
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
  /**
@@ -36,6 +38,7 @@ export declare class ConflictException extends __BaseException {
36
38
  * @public
37
39
  */
38
40
  export declare class InternalServerException extends __BaseException {
41
+ static readonly shapeId: string;
39
42
  readonly name: "InternalServerException";
40
43
  readonly $fault: "server";
41
44
  $retryable: {};
@@ -49,6 +52,7 @@ export declare class InternalServerException extends __BaseException {
49
52
  * @public
50
53
  */
51
54
  export declare class ResourceNotFoundException extends __BaseException {
55
+ static readonly shapeId: string;
52
56
  readonly name: "ResourceNotFoundException";
53
57
  readonly $fault: "client";
54
58
  /**
@@ -66,6 +70,7 @@ export declare class ResourceNotFoundException extends __BaseException {
66
70
  * @public
67
71
  */
68
72
  export declare class ServiceQuotaExceededException extends __BaseException {
73
+ static readonly shapeId: string;
69
74
  readonly name: "ServiceQuotaExceededException";
70
75
  readonly $fault: "client";
71
76
  /**
@@ -98,6 +103,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
98
103
  * @public
99
104
  */
100
105
  export declare class ThrottlingException extends __BaseException {
106
+ static readonly shapeId: string;
101
107
  readonly name: "ThrottlingException";
102
108
  readonly $fault: "client";
103
109
  $retryable: {
@@ -128,6 +134,7 @@ export declare class ThrottlingException extends __BaseException {
128
134
  * @public
129
135
  */
130
136
  export declare class ValidationException extends __BaseException {
137
+ static readonly shapeId: string;
131
138
  readonly name: "ValidationException";
132
139
  readonly $fault: "client";
133
140
  /**
@@ -5,5 +5,6 @@ import {
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class NotificationsServiceException extends __ServiceException {
8
+ static readonly shapeId: string;
8
9
  constructor(options: __ServiceExceptionOptions);
9
10
  }
@@ -3,29 +3,34 @@ import { ValidationExceptionReason } from "./enums";
3
3
  import { ValidationExceptionField } from "./models_0";
4
4
  import { NotificationsServiceException as __BaseException } from "./NotificationsServiceException";
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;
14
16
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
15
17
  }
16
18
  export declare class InternalServerException extends __BaseException {
19
+ static readonly shapeId: string;
17
20
  readonly name: "InternalServerException";
18
21
  readonly $fault: "server";
19
22
  $retryable: {};
20
23
  constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
21
24
  }
22
25
  export declare class ResourceNotFoundException extends __BaseException {
26
+ static readonly shapeId: string;
23
27
  readonly name: "ResourceNotFoundException";
24
28
  readonly $fault: "client";
25
29
  resourceId: string | undefined;
26
30
  constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
27
31
  }
28
32
  export declare class ServiceQuotaExceededException extends __BaseException {
33
+ static readonly shapeId: string;
29
34
  readonly name: "ServiceQuotaExceededException";
30
35
  readonly $fault: "client";
31
36
  resourceType: string | undefined;
@@ -35,6 +40,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
35
40
  constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
36
41
  }
37
42
  export declare class ThrottlingException extends __BaseException {
43
+ static readonly shapeId: string;
38
44
  readonly name: "ThrottlingException";
39
45
  readonly $fault: "client";
40
46
  $retryable: {
@@ -46,6 +52,7 @@ export declare class ThrottlingException extends __BaseException {
46
52
  constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
47
53
  }
48
54
  export declare class ValidationException extends __BaseException {
55
+ static readonly shapeId: string;
49
56
  readonly name: "ValidationException";
50
57
  readonly $fault: "client";
51
58
  reason?: ValidationExceptionReason | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-notifications",
3
- "version": "3.1148.0",
3
+ "version": "3.1150.0",
4
4
  "description": "AWS SDK for JavaScript Notifications Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-notifications",
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.3",
50
+ "@aws-sdk/credential-provider-node": "^3.972.86",
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",