@aws-sdk/client-shield 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
 
@@ -137,6 +137,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
137
137
  customEndpointFunctions.aws = awsEndpointFunctions;
138
138
 
139
139
  class ShieldServiceException extends ServiceException {
140
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.shield#ShieldServiceException";
140
141
  constructor(options) {
141
142
  super(options);
142
143
  Object.setPrototypeOf(this, ShieldServiceException.prototype);
@@ -144,6 +145,7 @@ class ShieldServiceException extends ServiceException {
144
145
  }
145
146
 
146
147
  class AccessDeniedException extends ShieldServiceException {
148
+ static shapeId = "com.amazonaws.shield#AccessDeniedException";
147
149
  name = "AccessDeniedException";
148
150
  $fault = "client";
149
151
  constructor(opts) {
@@ -156,6 +158,7 @@ class AccessDeniedException extends ShieldServiceException {
156
158
  }
157
159
  }
158
160
  class AccessDeniedForDependencyException extends ShieldServiceException {
161
+ static shapeId = "com.amazonaws.shield#AccessDeniedForDependencyException";
159
162
  name = "AccessDeniedForDependencyException";
160
163
  $fault = "client";
161
164
  constructor(opts) {
@@ -168,6 +171,7 @@ class AccessDeniedForDependencyException extends ShieldServiceException {
168
171
  }
169
172
  }
170
173
  class InternalErrorException extends ShieldServiceException {
174
+ static shapeId = "com.amazonaws.shield#InternalErrorException";
171
175
  name = "InternalErrorException";
172
176
  $fault = "server";
173
177
  constructor(opts) {
@@ -180,6 +184,7 @@ class InternalErrorException extends ShieldServiceException {
180
184
  }
181
185
  }
182
186
  class InvalidOperationException extends ShieldServiceException {
187
+ static shapeId = "com.amazonaws.shield#InvalidOperationException";
183
188
  name = "InvalidOperationException";
184
189
  $fault = "client";
185
190
  constructor(opts) {
@@ -192,6 +197,7 @@ class InvalidOperationException extends ShieldServiceException {
192
197
  }
193
198
  }
194
199
  class InvalidParameterException extends ShieldServiceException {
200
+ static shapeId = "com.amazonaws.shield#InvalidParameterException";
195
201
  name = "InvalidParameterException";
196
202
  $fault = "client";
197
203
  reason;
@@ -208,6 +214,7 @@ class InvalidParameterException extends ShieldServiceException {
208
214
  }
209
215
  }
210
216
  class LimitsExceededException extends ShieldServiceException {
217
+ static shapeId = "com.amazonaws.shield#LimitsExceededException";
211
218
  name = "LimitsExceededException";
212
219
  $fault = "client";
213
220
  Type;
@@ -224,6 +231,7 @@ class LimitsExceededException extends ShieldServiceException {
224
231
  }
225
232
  }
226
233
  class NoAssociatedRoleException extends ShieldServiceException {
234
+ static shapeId = "com.amazonaws.shield#NoAssociatedRoleException";
227
235
  name = "NoAssociatedRoleException";
228
236
  $fault = "client";
229
237
  constructor(opts) {
@@ -236,6 +244,7 @@ class NoAssociatedRoleException extends ShieldServiceException {
236
244
  }
237
245
  }
238
246
  class OptimisticLockException extends ShieldServiceException {
247
+ static shapeId = "com.amazonaws.shield#OptimisticLockException";
239
248
  name = "OptimisticLockException";
240
249
  $fault = "client";
241
250
  constructor(opts) {
@@ -248,6 +257,7 @@ class OptimisticLockException extends ShieldServiceException {
248
257
  }
249
258
  }
250
259
  class ResourceNotFoundException extends ShieldServiceException {
260
+ static shapeId = "com.amazonaws.shield#ResourceNotFoundException";
251
261
  name = "ResourceNotFoundException";
252
262
  $fault = "client";
253
263
  resourceType;
@@ -262,6 +272,7 @@ class ResourceNotFoundException extends ShieldServiceException {
262
272
  }
263
273
  }
264
274
  class InvalidResourceException extends ShieldServiceException {
275
+ static shapeId = "com.amazonaws.shield#InvalidResourceException";
265
276
  name = "InvalidResourceException";
266
277
  $fault = "client";
267
278
  constructor(opts) {
@@ -274,6 +285,7 @@ class InvalidResourceException extends ShieldServiceException {
274
285
  }
275
286
  }
276
287
  class ResourceAlreadyExistsException extends ShieldServiceException {
288
+ static shapeId = "com.amazonaws.shield#ResourceAlreadyExistsException";
277
289
  name = "ResourceAlreadyExistsException";
278
290
  $fault = "client";
279
291
  resourceType;
@@ -288,6 +300,7 @@ class ResourceAlreadyExistsException extends ShieldServiceException {
288
300
  }
289
301
  }
290
302
  class LockedSubscriptionException extends ShieldServiceException {
303
+ static shapeId = "com.amazonaws.shield#LockedSubscriptionException";
291
304
  name = "LockedSubscriptionException";
292
305
  $fault = "client";
293
306
  constructor(opts) {
@@ -300,6 +313,7 @@ class LockedSubscriptionException extends ShieldServiceException {
300
313
  }
301
314
  }
302
315
  class InvalidPaginationTokenException extends ShieldServiceException {
316
+ static shapeId = "com.amazonaws.shield#InvalidPaginationTokenException";
303
317
  name = "InvalidPaginationTokenException";
304
318
  $fault = "client";
305
319
  constructor(opts) {
@@ -1,6 +1,7 @@
1
1
  import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
2
  export { __ServiceException };
3
3
  export class ShieldServiceException extends __ServiceException {
4
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.shield#ShieldServiceException";
4
5
  constructor(options) {
5
6
  super(options);
6
7
  Object.setPrototypeOf(this, ShieldServiceException.prototype);
@@ -1,5 +1,6 @@
1
1
  import { ShieldServiceException as __BaseException } from "./ShieldServiceException";
2
2
  export class AccessDeniedException extends __BaseException {
3
+ static shapeId = "com.amazonaws.shield#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 AccessDeniedForDependencyException extends __BaseException {
16
+ static shapeId = "com.amazonaws.shield#AccessDeniedForDependencyException";
15
17
  name = "AccessDeniedForDependencyException";
16
18
  $fault = "client";
17
19
  constructor(opts) {
@@ -24,6 +26,7 @@ export class AccessDeniedForDependencyException extends __BaseException {
24
26
  }
25
27
  }
26
28
  export class InternalErrorException extends __BaseException {
29
+ static shapeId = "com.amazonaws.shield#InternalErrorException";
27
30
  name = "InternalErrorException";
28
31
  $fault = "server";
29
32
  constructor(opts) {
@@ -36,6 +39,7 @@ export class InternalErrorException extends __BaseException {
36
39
  }
37
40
  }
38
41
  export class InvalidOperationException extends __BaseException {
42
+ static shapeId = "com.amazonaws.shield#InvalidOperationException";
39
43
  name = "InvalidOperationException";
40
44
  $fault = "client";
41
45
  constructor(opts) {
@@ -48,6 +52,7 @@ export class InvalidOperationException extends __BaseException {
48
52
  }
49
53
  }
50
54
  export class InvalidParameterException extends __BaseException {
55
+ static shapeId = "com.amazonaws.shield#InvalidParameterException";
51
56
  name = "InvalidParameterException";
52
57
  $fault = "client";
53
58
  reason;
@@ -64,6 +69,7 @@ export class InvalidParameterException extends __BaseException {
64
69
  }
65
70
  }
66
71
  export class LimitsExceededException extends __BaseException {
72
+ static shapeId = "com.amazonaws.shield#LimitsExceededException";
67
73
  name = "LimitsExceededException";
68
74
  $fault = "client";
69
75
  Type;
@@ -80,6 +86,7 @@ export class LimitsExceededException extends __BaseException {
80
86
  }
81
87
  }
82
88
  export class NoAssociatedRoleException extends __BaseException {
89
+ static shapeId = "com.amazonaws.shield#NoAssociatedRoleException";
83
90
  name = "NoAssociatedRoleException";
84
91
  $fault = "client";
85
92
  constructor(opts) {
@@ -92,6 +99,7 @@ export class NoAssociatedRoleException extends __BaseException {
92
99
  }
93
100
  }
94
101
  export class OptimisticLockException extends __BaseException {
102
+ static shapeId = "com.amazonaws.shield#OptimisticLockException";
95
103
  name = "OptimisticLockException";
96
104
  $fault = "client";
97
105
  constructor(opts) {
@@ -104,6 +112,7 @@ export class OptimisticLockException extends __BaseException {
104
112
  }
105
113
  }
106
114
  export class ResourceNotFoundException extends __BaseException {
115
+ static shapeId = "com.amazonaws.shield#ResourceNotFoundException";
107
116
  name = "ResourceNotFoundException";
108
117
  $fault = "client";
109
118
  resourceType;
@@ -118,6 +127,7 @@ export class ResourceNotFoundException extends __BaseException {
118
127
  }
119
128
  }
120
129
  export class InvalidResourceException extends __BaseException {
130
+ static shapeId = "com.amazonaws.shield#InvalidResourceException";
121
131
  name = "InvalidResourceException";
122
132
  $fault = "client";
123
133
  constructor(opts) {
@@ -130,6 +140,7 @@ export class InvalidResourceException extends __BaseException {
130
140
  }
131
141
  }
132
142
  export class ResourceAlreadyExistsException extends __BaseException {
143
+ static shapeId = "com.amazonaws.shield#ResourceAlreadyExistsException";
133
144
  name = "ResourceAlreadyExistsException";
134
145
  $fault = "client";
135
146
  resourceType;
@@ -144,6 +155,7 @@ export class ResourceAlreadyExistsException extends __BaseException {
144
155
  }
145
156
  }
146
157
  export class LockedSubscriptionException extends __BaseException {
158
+ static shapeId = "com.amazonaws.shield#LockedSubscriptionException";
147
159
  name = "LockedSubscriptionException";
148
160
  $fault = "client";
149
161
  constructor(opts) {
@@ -156,6 +168,7 @@ export class LockedSubscriptionException extends __BaseException {
156
168
  }
157
169
  }
158
170
  export class InvalidPaginationTokenException extends __BaseException {
171
+ static shapeId = "com.amazonaws.shield#InvalidPaginationTokenException";
159
172
  name = "InvalidPaginationTokenException";
160
173
  $fault = "client";
161
174
  constructor(opts) {
@@ -7,6 +7,7 @@ export { __ServiceException };
7
7
  * Base exception class for all service exceptions from Shield service.
8
8
  */
9
9
  export declare class ShieldServiceException extends __ServiceException {
10
+ static readonly shapeId: string;
10
11
  /**
11
12
  * @internal
12
13
  */
@@ -7,6 +7,7 @@ import { ShieldServiceException as __BaseException } from "./ShieldServiceExcept
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 AccessDeniedForDependencyException extends __BaseException {
23
+ static readonly shapeId: string;
22
24
  readonly name: "AccessDeniedForDependencyException";
23
25
  readonly $fault: "client";
24
26
  /**
@@ -31,6 +33,7 @@ export declare class AccessDeniedForDependencyException extends __BaseException
31
33
  * @public
32
34
  */
33
35
  export declare class InternalErrorException extends __BaseException {
36
+ static readonly shapeId: string;
34
37
  readonly name: "InternalErrorException";
35
38
  readonly $fault: "server";
36
39
  /**
@@ -43,6 +46,7 @@ export declare class InternalErrorException extends __BaseException {
43
46
  * @public
44
47
  */
45
48
  export declare class InvalidOperationException extends __BaseException {
49
+ static readonly shapeId: string;
46
50
  readonly name: "InvalidOperationException";
47
51
  readonly $fault: "client";
48
52
  /**
@@ -55,6 +59,7 @@ export declare class InvalidOperationException extends __BaseException {
55
59
  * @public
56
60
  */
57
61
  export declare class InvalidParameterException extends __BaseException {
62
+ static readonly shapeId: string;
58
63
  readonly name: "InvalidParameterException";
59
64
  readonly $fault: "client";
60
65
  /**
@@ -77,6 +82,7 @@ export declare class InvalidParameterException extends __BaseException {
77
82
  * @public
78
83
  */
79
84
  export declare class LimitsExceededException extends __BaseException {
85
+ static readonly shapeId: string;
80
86
  readonly name: "LimitsExceededException";
81
87
  readonly $fault: "client";
82
88
  /**
@@ -99,6 +105,7 @@ export declare class LimitsExceededException extends __BaseException {
99
105
  * @public
100
106
  */
101
107
  export declare class NoAssociatedRoleException extends __BaseException {
108
+ static readonly shapeId: string;
102
109
  readonly name: "NoAssociatedRoleException";
103
110
  readonly $fault: "client";
104
111
  /**
@@ -112,6 +119,7 @@ export declare class NoAssociatedRoleException extends __BaseException {
112
119
  * @public
113
120
  */
114
121
  export declare class OptimisticLockException extends __BaseException {
122
+ static readonly shapeId: string;
115
123
  readonly name: "OptimisticLockException";
116
124
  readonly $fault: "client";
117
125
  /**
@@ -124,6 +132,7 @@ export declare class OptimisticLockException extends __BaseException {
124
132
  * @public
125
133
  */
126
134
  export declare class ResourceNotFoundException extends __BaseException {
135
+ static readonly shapeId: string;
127
136
  readonly name: "ResourceNotFoundException";
128
137
  readonly $fault: "client";
129
138
  /**
@@ -141,6 +150,7 @@ export declare class ResourceNotFoundException extends __BaseException {
141
150
  * @public
142
151
  */
143
152
  export declare class InvalidResourceException extends __BaseException {
153
+ static readonly shapeId: string;
144
154
  readonly name: "InvalidResourceException";
145
155
  readonly $fault: "client";
146
156
  /**
@@ -153,6 +163,7 @@ export declare class InvalidResourceException extends __BaseException {
153
163
  * @public
154
164
  */
155
165
  export declare class ResourceAlreadyExistsException extends __BaseException {
166
+ static readonly shapeId: string;
156
167
  readonly name: "ResourceAlreadyExistsException";
157
168
  readonly $fault: "client";
158
169
  /**
@@ -170,6 +181,7 @@ export declare class ResourceAlreadyExistsException extends __BaseException {
170
181
  * @public
171
182
  */
172
183
  export declare class LockedSubscriptionException extends __BaseException {
184
+ static readonly shapeId: string;
173
185
  readonly name: "LockedSubscriptionException";
174
186
  readonly $fault: "client";
175
187
  /**
@@ -182,6 +194,7 @@ export declare class LockedSubscriptionException extends __BaseException {
182
194
  * @public
183
195
  */
184
196
  export declare class InvalidPaginationTokenException extends __BaseException {
197
+ static readonly shapeId: string;
185
198
  readonly name: "InvalidPaginationTokenException";
186
199
  readonly $fault: "client";
187
200
  /**
@@ -5,5 +5,6 @@ import {
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class ShieldServiceException extends __ServiceException {
8
+ static readonly shapeId: string;
8
9
  constructor(options: __ServiceExceptionOptions);
9
10
  }
@@ -3,26 +3,31 @@ import { ValidationExceptionReason } from "./enums";
3
3
  import { ValidationExceptionField } from "./models_0";
4
4
  import { ShieldServiceException as __BaseException } from "./ShieldServiceException";
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 AccessDeniedForDependencyException extends __BaseException {
12
+ static readonly shapeId: string;
11
13
  readonly name: "AccessDeniedForDependencyException";
12
14
  readonly $fault: "client";
13
15
  constructor(opts: __ExceptionOptionType<AccessDeniedForDependencyException, __BaseException>);
14
16
  }
15
17
  export declare class InternalErrorException extends __BaseException {
18
+ static readonly shapeId: string;
16
19
  readonly name: "InternalErrorException";
17
20
  readonly $fault: "server";
18
21
  constructor(opts: __ExceptionOptionType<InternalErrorException, __BaseException>);
19
22
  }
20
23
  export declare class InvalidOperationException extends __BaseException {
24
+ static readonly shapeId: string;
21
25
  readonly name: "InvalidOperationException";
22
26
  readonly $fault: "client";
23
27
  constructor(opts: __ExceptionOptionType<InvalidOperationException, __BaseException>);
24
28
  }
25
29
  export declare class InvalidParameterException extends __BaseException {
30
+ static readonly shapeId: string;
26
31
  readonly name: "InvalidParameterException";
27
32
  readonly $fault: "client";
28
33
  reason?: ValidationExceptionReason | undefined;
@@ -30,6 +35,7 @@ export declare class InvalidParameterException extends __BaseException {
30
35
  constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
31
36
  }
32
37
  export declare class LimitsExceededException extends __BaseException {
38
+ static readonly shapeId: string;
33
39
  readonly name: "LimitsExceededException";
34
40
  readonly $fault: "client";
35
41
  Type?: string | undefined;
@@ -37,38 +43,45 @@ export declare class LimitsExceededException extends __BaseException {
37
43
  constructor(opts: __ExceptionOptionType<LimitsExceededException, __BaseException>);
38
44
  }
39
45
  export declare class NoAssociatedRoleException extends __BaseException {
46
+ static readonly shapeId: string;
40
47
  readonly name: "NoAssociatedRoleException";
41
48
  readonly $fault: "client";
42
49
  constructor(opts: __ExceptionOptionType<NoAssociatedRoleException, __BaseException>);
43
50
  }
44
51
  export declare class OptimisticLockException extends __BaseException {
52
+ static readonly shapeId: string;
45
53
  readonly name: "OptimisticLockException";
46
54
  readonly $fault: "client";
47
55
  constructor(opts: __ExceptionOptionType<OptimisticLockException, __BaseException>);
48
56
  }
49
57
  export declare class ResourceNotFoundException extends __BaseException {
58
+ static readonly shapeId: string;
50
59
  readonly name: "ResourceNotFoundException";
51
60
  readonly $fault: "client";
52
61
  resourceType?: string | undefined;
53
62
  constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
54
63
  }
55
64
  export declare class InvalidResourceException extends __BaseException {
65
+ static readonly shapeId: string;
56
66
  readonly name: "InvalidResourceException";
57
67
  readonly $fault: "client";
58
68
  constructor(opts: __ExceptionOptionType<InvalidResourceException, __BaseException>);
59
69
  }
60
70
  export declare class ResourceAlreadyExistsException extends __BaseException {
71
+ static readonly shapeId: string;
61
72
  readonly name: "ResourceAlreadyExistsException";
62
73
  readonly $fault: "client";
63
74
  resourceType?: string | undefined;
64
75
  constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
65
76
  }
66
77
  export declare class LockedSubscriptionException extends __BaseException {
78
+ static readonly shapeId: string;
67
79
  readonly name: "LockedSubscriptionException";
68
80
  readonly $fault: "client";
69
81
  constructor(opts: __ExceptionOptionType<LockedSubscriptionException, __BaseException>);
70
82
  }
71
83
  export declare class InvalidPaginationTokenException extends __BaseException {
84
+ static readonly shapeId: string;
72
85
  readonly name: "InvalidPaginationTokenException";
73
86
  readonly $fault: "client";
74
87
  constructor(opts: __ExceptionOptionType<InvalidPaginationTokenException, __BaseException>);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-shield",
3
- "version": "3.1147.0",
3
+ "version": "3.1149.0",
4
4
  "description": "AWS SDK for JavaScript Shield Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-shield",
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",