@aws-sdk/client-shield 3.933.0 → 3.935.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
@@ -141,10 +141,6 @@ let AccessDeniedForDependencyException$1 = class AccessDeniedForDependencyExcept
141
141
  Object.setPrototypeOf(this, AccessDeniedForDependencyException.prototype);
142
142
  }
143
143
  };
144
- const ApplicationLayerAutomaticResponseStatus = {
145
- DISABLED: "DISABLED",
146
- ENABLED: "ENABLED",
147
- };
148
144
  let InternalErrorException$1 = class InternalErrorException extends ShieldServiceException$1 {
149
145
  name = "InternalErrorException";
150
146
  $fault = "server";
@@ -169,10 +165,6 @@ let InvalidOperationException$1 = class InvalidOperationException extends Shield
169
165
  Object.setPrototypeOf(this, InvalidOperationException.prototype);
170
166
  }
171
167
  };
172
- const ValidationExceptionReason = {
173
- FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
174
- OTHER: "OTHER",
175
- };
176
168
  let InvalidParameterException$1 = class InvalidParameterException extends ShieldServiceException$1 {
177
169
  name = "InvalidParameterException";
178
170
  $fault = "client";
@@ -255,34 +247,6 @@ let InvalidResourceException$1 = class InvalidResourceException extends ShieldSe
255
247
  Object.setPrototypeOf(this, InvalidResourceException.prototype);
256
248
  }
257
249
  };
258
- const AttackLayer = {
259
- APPLICATION: "APPLICATION",
260
- NETWORK: "NETWORK",
261
- };
262
- const AttackPropertyIdentifier = {
263
- DESTINATION_URL: "DESTINATION_URL",
264
- REFERRER: "REFERRER",
265
- SOURCE_ASN: "SOURCE_ASN",
266
- SOURCE_COUNTRY: "SOURCE_COUNTRY",
267
- SOURCE_IP_ADDRESS: "SOURCE_IP_ADDRESS",
268
- SOURCE_USER_AGENT: "SOURCE_USER_AGENT",
269
- WORDPRESS_PINGBACK_REFLECTOR: "WORDPRESS_PINGBACK_REFLECTOR",
270
- WORDPRESS_PINGBACK_SOURCE: "WORDPRESS_PINGBACK_SOURCE",
271
- };
272
- const Unit = {
273
- BITS: "BITS",
274
- BYTES: "BYTES",
275
- PACKETS: "PACKETS",
276
- REQUESTS: "REQUESTS",
277
- };
278
- const SubResourceType = {
279
- IP: "IP",
280
- URL: "URL",
281
- };
282
- const AutoRenew = {
283
- DISABLED: "DISABLED",
284
- ENABLED: "ENABLED",
285
- };
286
250
  let ResourceAlreadyExistsException$1 = class ResourceAlreadyExistsException extends ShieldServiceException$1 {
287
251
  name = "ResourceAlreadyExistsException";
288
252
  $fault = "client";
@@ -297,24 +261,6 @@ let ResourceAlreadyExistsException$1 = class ResourceAlreadyExistsException exte
297
261
  this.resourceType = opts.resourceType;
298
262
  }
299
263
  };
300
- const ProtectionGroupAggregation = {
301
- MAX: "MAX",
302
- MEAN: "MEAN",
303
- SUM: "SUM",
304
- };
305
- const ProtectionGroupPattern = {
306
- ALL: "ALL",
307
- ARBITRARY: "ARBITRARY",
308
- BY_RESOURCE_TYPE: "BY_RESOURCE_TYPE",
309
- };
310
- const ProtectedResourceType = {
311
- APPLICATION_LOAD_BALANCER: "APPLICATION_LOAD_BALANCER",
312
- CLASSIC_LOAD_BALANCER: "CLASSIC_LOAD_BALANCER",
313
- CLOUDFRONT_DISTRIBUTION: "CLOUDFRONT_DISTRIBUTION",
314
- ELASTIC_IP_ALLOCATION: "ELASTIC_IP_ALLOCATION",
315
- GLOBAL_ACCELERATOR: "GLOBAL_ACCELERATOR",
316
- ROUTE_53_HOSTED_ZONE: "ROUTE_53_HOSTED_ZONE",
317
- };
318
264
  let LockedSubscriptionException$1 = class LockedSubscriptionException extends ShieldServiceException$1 {
319
265
  name = "LockedSubscriptionException";
320
266
  $fault = "client";
@@ -327,15 +273,6 @@ let LockedSubscriptionException$1 = class LockedSubscriptionException extends Sh
327
273
  Object.setPrototypeOf(this, LockedSubscriptionException.prototype);
328
274
  }
329
275
  };
330
- const ProactiveEngagementStatus = {
331
- DISABLED: "DISABLED",
332
- ENABLED: "ENABLED",
333
- PENDING: "PENDING",
334
- };
335
- const SubscriptionState = {
336
- ACTIVE: "ACTIVE",
337
- INACTIVE: "INACTIVE",
338
- };
339
276
  let InvalidPaginationTokenException$1 = class InvalidPaginationTokenException extends ShieldServiceException$1 {
340
277
  name = "InvalidPaginationTokenException";
341
278
  $fault = "client";
@@ -1845,6 +1782,70 @@ const paginateListProtections = core.createPaginator(ShieldClient, ListProtectio
1845
1782
 
1846
1783
  const paginateListResourcesInProtectionGroup = core.createPaginator(ShieldClient, ListResourcesInProtectionGroupCommand, "NextToken", "NextToken", "MaxResults");
1847
1784
 
1785
+ const ApplicationLayerAutomaticResponseStatus = {
1786
+ DISABLED: "DISABLED",
1787
+ ENABLED: "ENABLED",
1788
+ };
1789
+ const ValidationExceptionReason = {
1790
+ FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
1791
+ OTHER: "OTHER",
1792
+ };
1793
+ const AttackLayer = {
1794
+ APPLICATION: "APPLICATION",
1795
+ NETWORK: "NETWORK",
1796
+ };
1797
+ const AttackPropertyIdentifier = {
1798
+ DESTINATION_URL: "DESTINATION_URL",
1799
+ REFERRER: "REFERRER",
1800
+ SOURCE_ASN: "SOURCE_ASN",
1801
+ SOURCE_COUNTRY: "SOURCE_COUNTRY",
1802
+ SOURCE_IP_ADDRESS: "SOURCE_IP_ADDRESS",
1803
+ SOURCE_USER_AGENT: "SOURCE_USER_AGENT",
1804
+ WORDPRESS_PINGBACK_REFLECTOR: "WORDPRESS_PINGBACK_REFLECTOR",
1805
+ WORDPRESS_PINGBACK_SOURCE: "WORDPRESS_PINGBACK_SOURCE",
1806
+ };
1807
+ const Unit = {
1808
+ BITS: "BITS",
1809
+ BYTES: "BYTES",
1810
+ PACKETS: "PACKETS",
1811
+ REQUESTS: "REQUESTS",
1812
+ };
1813
+ const SubResourceType = {
1814
+ IP: "IP",
1815
+ URL: "URL",
1816
+ };
1817
+ const AutoRenew = {
1818
+ DISABLED: "DISABLED",
1819
+ ENABLED: "ENABLED",
1820
+ };
1821
+ const ProtectionGroupAggregation = {
1822
+ MAX: "MAX",
1823
+ MEAN: "MEAN",
1824
+ SUM: "SUM",
1825
+ };
1826
+ const ProtectionGroupPattern = {
1827
+ ALL: "ALL",
1828
+ ARBITRARY: "ARBITRARY",
1829
+ BY_RESOURCE_TYPE: "BY_RESOURCE_TYPE",
1830
+ };
1831
+ const ProtectedResourceType = {
1832
+ APPLICATION_LOAD_BALANCER: "APPLICATION_LOAD_BALANCER",
1833
+ CLASSIC_LOAD_BALANCER: "CLASSIC_LOAD_BALANCER",
1834
+ CLOUDFRONT_DISTRIBUTION: "CLOUDFRONT_DISTRIBUTION",
1835
+ ELASTIC_IP_ALLOCATION: "ELASTIC_IP_ALLOCATION",
1836
+ GLOBAL_ACCELERATOR: "GLOBAL_ACCELERATOR",
1837
+ ROUTE_53_HOSTED_ZONE: "ROUTE_53_HOSTED_ZONE",
1838
+ };
1839
+ const ProactiveEngagementStatus = {
1840
+ DISABLED: "DISABLED",
1841
+ ENABLED: "ENABLED",
1842
+ PENDING: "PENDING",
1843
+ };
1844
+ const SubscriptionState = {
1845
+ ACTIVE: "ACTIVE",
1846
+ INACTIVE: "INACTIVE",
1847
+ };
1848
+
1848
1849
  Object.defineProperty(exports, "$Command", {
1849
1850
  enumerable: true,
1850
1851
  get: function () { return smithyClient.Command; }
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./ShieldClient";
2
2
  export * from "./Shield";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/enums";
6
+ export * from "./models/errors";
6
7
  export { ShieldServiceException } from "./models/ShieldServiceException";
@@ -0,0 +1,63 @@
1
+ export const ApplicationLayerAutomaticResponseStatus = {
2
+ DISABLED: "DISABLED",
3
+ ENABLED: "ENABLED",
4
+ };
5
+ export const ValidationExceptionReason = {
6
+ FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
7
+ OTHER: "OTHER",
8
+ };
9
+ export const AttackLayer = {
10
+ APPLICATION: "APPLICATION",
11
+ NETWORK: "NETWORK",
12
+ };
13
+ export const AttackPropertyIdentifier = {
14
+ DESTINATION_URL: "DESTINATION_URL",
15
+ REFERRER: "REFERRER",
16
+ SOURCE_ASN: "SOURCE_ASN",
17
+ SOURCE_COUNTRY: "SOURCE_COUNTRY",
18
+ SOURCE_IP_ADDRESS: "SOURCE_IP_ADDRESS",
19
+ SOURCE_USER_AGENT: "SOURCE_USER_AGENT",
20
+ WORDPRESS_PINGBACK_REFLECTOR: "WORDPRESS_PINGBACK_REFLECTOR",
21
+ WORDPRESS_PINGBACK_SOURCE: "WORDPRESS_PINGBACK_SOURCE",
22
+ };
23
+ export const Unit = {
24
+ BITS: "BITS",
25
+ BYTES: "BYTES",
26
+ PACKETS: "PACKETS",
27
+ REQUESTS: "REQUESTS",
28
+ };
29
+ export const SubResourceType = {
30
+ IP: "IP",
31
+ URL: "URL",
32
+ };
33
+ export const AutoRenew = {
34
+ DISABLED: "DISABLED",
35
+ ENABLED: "ENABLED",
36
+ };
37
+ export const ProtectionGroupAggregation = {
38
+ MAX: "MAX",
39
+ MEAN: "MEAN",
40
+ SUM: "SUM",
41
+ };
42
+ export const ProtectionGroupPattern = {
43
+ ALL: "ALL",
44
+ ARBITRARY: "ARBITRARY",
45
+ BY_RESOURCE_TYPE: "BY_RESOURCE_TYPE",
46
+ };
47
+ export const ProtectedResourceType = {
48
+ APPLICATION_LOAD_BALANCER: "APPLICATION_LOAD_BALANCER",
49
+ CLASSIC_LOAD_BALANCER: "CLASSIC_LOAD_BALANCER",
50
+ CLOUDFRONT_DISTRIBUTION: "CLOUDFRONT_DISTRIBUTION",
51
+ ELASTIC_IP_ALLOCATION: "ELASTIC_IP_ALLOCATION",
52
+ GLOBAL_ACCELERATOR: "GLOBAL_ACCELERATOR",
53
+ ROUTE_53_HOSTED_ZONE: "ROUTE_53_HOSTED_ZONE",
54
+ };
55
+ export const ProactiveEngagementStatus = {
56
+ DISABLED: "DISABLED",
57
+ ENABLED: "ENABLED",
58
+ PENDING: "PENDING",
59
+ };
60
+ export const SubscriptionState = {
61
+ ACTIVE: "ACTIVE",
62
+ INACTIVE: "INACTIVE",
63
+ };
@@ -0,0 +1,169 @@
1
+ import { ShieldServiceException as __BaseException } from "./ShieldServiceException";
2
+ export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ constructor(opts) {
6
+ super({
7
+ name: "AccessDeniedException",
8
+ $fault: "client",
9
+ ...opts,
10
+ });
11
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
+ }
13
+ }
14
+ export class AccessDeniedForDependencyException extends __BaseException {
15
+ name = "AccessDeniedForDependencyException";
16
+ $fault = "client";
17
+ constructor(opts) {
18
+ super({
19
+ name: "AccessDeniedForDependencyException",
20
+ $fault: "client",
21
+ ...opts,
22
+ });
23
+ Object.setPrototypeOf(this, AccessDeniedForDependencyException.prototype);
24
+ }
25
+ }
26
+ export class InternalErrorException extends __BaseException {
27
+ name = "InternalErrorException";
28
+ $fault = "server";
29
+ constructor(opts) {
30
+ super({
31
+ name: "InternalErrorException",
32
+ $fault: "server",
33
+ ...opts,
34
+ });
35
+ Object.setPrototypeOf(this, InternalErrorException.prototype);
36
+ }
37
+ }
38
+ export class InvalidOperationException extends __BaseException {
39
+ name = "InvalidOperationException";
40
+ $fault = "client";
41
+ constructor(opts) {
42
+ super({
43
+ name: "InvalidOperationException",
44
+ $fault: "client",
45
+ ...opts,
46
+ });
47
+ Object.setPrototypeOf(this, InvalidOperationException.prototype);
48
+ }
49
+ }
50
+ export class InvalidParameterException extends __BaseException {
51
+ name = "InvalidParameterException";
52
+ $fault = "client";
53
+ reason;
54
+ fields;
55
+ constructor(opts) {
56
+ super({
57
+ name: "InvalidParameterException",
58
+ $fault: "client",
59
+ ...opts,
60
+ });
61
+ Object.setPrototypeOf(this, InvalidParameterException.prototype);
62
+ this.reason = opts.reason;
63
+ this.fields = opts.fields;
64
+ }
65
+ }
66
+ export class LimitsExceededException extends __BaseException {
67
+ name = "LimitsExceededException";
68
+ $fault = "client";
69
+ Type;
70
+ Limit;
71
+ constructor(opts) {
72
+ super({
73
+ name: "LimitsExceededException",
74
+ $fault: "client",
75
+ ...opts,
76
+ });
77
+ Object.setPrototypeOf(this, LimitsExceededException.prototype);
78
+ this.Type = opts.Type;
79
+ this.Limit = opts.Limit;
80
+ }
81
+ }
82
+ export class NoAssociatedRoleException extends __BaseException {
83
+ name = "NoAssociatedRoleException";
84
+ $fault = "client";
85
+ constructor(opts) {
86
+ super({
87
+ name: "NoAssociatedRoleException",
88
+ $fault: "client",
89
+ ...opts,
90
+ });
91
+ Object.setPrototypeOf(this, NoAssociatedRoleException.prototype);
92
+ }
93
+ }
94
+ export class OptimisticLockException extends __BaseException {
95
+ name = "OptimisticLockException";
96
+ $fault = "client";
97
+ constructor(opts) {
98
+ super({
99
+ name: "OptimisticLockException",
100
+ $fault: "client",
101
+ ...opts,
102
+ });
103
+ Object.setPrototypeOf(this, OptimisticLockException.prototype);
104
+ }
105
+ }
106
+ export class ResourceNotFoundException extends __BaseException {
107
+ name = "ResourceNotFoundException";
108
+ $fault = "client";
109
+ resourceType;
110
+ constructor(opts) {
111
+ super({
112
+ name: "ResourceNotFoundException",
113
+ $fault: "client",
114
+ ...opts,
115
+ });
116
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
117
+ this.resourceType = opts.resourceType;
118
+ }
119
+ }
120
+ export class InvalidResourceException extends __BaseException {
121
+ name = "InvalidResourceException";
122
+ $fault = "client";
123
+ constructor(opts) {
124
+ super({
125
+ name: "InvalidResourceException",
126
+ $fault: "client",
127
+ ...opts,
128
+ });
129
+ Object.setPrototypeOf(this, InvalidResourceException.prototype);
130
+ }
131
+ }
132
+ export class ResourceAlreadyExistsException extends __BaseException {
133
+ name = "ResourceAlreadyExistsException";
134
+ $fault = "client";
135
+ resourceType;
136
+ constructor(opts) {
137
+ super({
138
+ name: "ResourceAlreadyExistsException",
139
+ $fault: "client",
140
+ ...opts,
141
+ });
142
+ Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
143
+ this.resourceType = opts.resourceType;
144
+ }
145
+ }
146
+ export class LockedSubscriptionException extends __BaseException {
147
+ name = "LockedSubscriptionException";
148
+ $fault = "client";
149
+ constructor(opts) {
150
+ super({
151
+ name: "LockedSubscriptionException",
152
+ $fault: "client",
153
+ ...opts,
154
+ });
155
+ Object.setPrototypeOf(this, LockedSubscriptionException.prototype);
156
+ }
157
+ }
158
+ export class InvalidPaginationTokenException extends __BaseException {
159
+ name = "InvalidPaginationTokenException";
160
+ $fault = "client";
161
+ constructor(opts) {
162
+ super({
163
+ name: "InvalidPaginationTokenException",
164
+ $fault: "client",
165
+ ...opts,
166
+ });
167
+ Object.setPrototypeOf(this, InvalidPaginationTokenException.prototype);
168
+ }
169
+ }
@@ -1,232 +1 @@
1
- import { ShieldServiceException as __BaseException } from "./ShieldServiceException";
2
- export class AccessDeniedException extends __BaseException {
3
- name = "AccessDeniedException";
4
- $fault = "client";
5
- constructor(opts) {
6
- super({
7
- name: "AccessDeniedException",
8
- $fault: "client",
9
- ...opts,
10
- });
11
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
- }
13
- }
14
- export class AccessDeniedForDependencyException extends __BaseException {
15
- name = "AccessDeniedForDependencyException";
16
- $fault = "client";
17
- constructor(opts) {
18
- super({
19
- name: "AccessDeniedForDependencyException",
20
- $fault: "client",
21
- ...opts,
22
- });
23
- Object.setPrototypeOf(this, AccessDeniedForDependencyException.prototype);
24
- }
25
- }
26
- export const ApplicationLayerAutomaticResponseStatus = {
27
- DISABLED: "DISABLED",
28
- ENABLED: "ENABLED",
29
- };
30
- export class InternalErrorException extends __BaseException {
31
- name = "InternalErrorException";
32
- $fault = "server";
33
- constructor(opts) {
34
- super({
35
- name: "InternalErrorException",
36
- $fault: "server",
37
- ...opts,
38
- });
39
- Object.setPrototypeOf(this, InternalErrorException.prototype);
40
- }
41
- }
42
- export class InvalidOperationException extends __BaseException {
43
- name = "InvalidOperationException";
44
- $fault = "client";
45
- constructor(opts) {
46
- super({
47
- name: "InvalidOperationException",
48
- $fault: "client",
49
- ...opts,
50
- });
51
- Object.setPrototypeOf(this, InvalidOperationException.prototype);
52
- }
53
- }
54
- export const ValidationExceptionReason = {
55
- FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
56
- OTHER: "OTHER",
57
- };
58
- export class InvalidParameterException extends __BaseException {
59
- name = "InvalidParameterException";
60
- $fault = "client";
61
- reason;
62
- fields;
63
- constructor(opts) {
64
- super({
65
- name: "InvalidParameterException",
66
- $fault: "client",
67
- ...opts,
68
- });
69
- Object.setPrototypeOf(this, InvalidParameterException.prototype);
70
- this.reason = opts.reason;
71
- this.fields = opts.fields;
72
- }
73
- }
74
- export class LimitsExceededException extends __BaseException {
75
- name = "LimitsExceededException";
76
- $fault = "client";
77
- Type;
78
- Limit;
79
- constructor(opts) {
80
- super({
81
- name: "LimitsExceededException",
82
- $fault: "client",
83
- ...opts,
84
- });
85
- Object.setPrototypeOf(this, LimitsExceededException.prototype);
86
- this.Type = opts.Type;
87
- this.Limit = opts.Limit;
88
- }
89
- }
90
- export class NoAssociatedRoleException extends __BaseException {
91
- name = "NoAssociatedRoleException";
92
- $fault = "client";
93
- constructor(opts) {
94
- super({
95
- name: "NoAssociatedRoleException",
96
- $fault: "client",
97
- ...opts,
98
- });
99
- Object.setPrototypeOf(this, NoAssociatedRoleException.prototype);
100
- }
101
- }
102
- export class OptimisticLockException extends __BaseException {
103
- name = "OptimisticLockException";
104
- $fault = "client";
105
- constructor(opts) {
106
- super({
107
- name: "OptimisticLockException",
108
- $fault: "client",
109
- ...opts,
110
- });
111
- Object.setPrototypeOf(this, OptimisticLockException.prototype);
112
- }
113
- }
114
- export class ResourceNotFoundException extends __BaseException {
115
- name = "ResourceNotFoundException";
116
- $fault = "client";
117
- resourceType;
118
- constructor(opts) {
119
- super({
120
- name: "ResourceNotFoundException",
121
- $fault: "client",
122
- ...opts,
123
- });
124
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
125
- this.resourceType = opts.resourceType;
126
- }
127
- }
128
- export class InvalidResourceException extends __BaseException {
129
- name = "InvalidResourceException";
130
- $fault = "client";
131
- constructor(opts) {
132
- super({
133
- name: "InvalidResourceException",
134
- $fault: "client",
135
- ...opts,
136
- });
137
- Object.setPrototypeOf(this, InvalidResourceException.prototype);
138
- }
139
- }
140
- export const AttackLayer = {
141
- APPLICATION: "APPLICATION",
142
- NETWORK: "NETWORK",
143
- };
144
- export const AttackPropertyIdentifier = {
145
- DESTINATION_URL: "DESTINATION_URL",
146
- REFERRER: "REFERRER",
147
- SOURCE_ASN: "SOURCE_ASN",
148
- SOURCE_COUNTRY: "SOURCE_COUNTRY",
149
- SOURCE_IP_ADDRESS: "SOURCE_IP_ADDRESS",
150
- SOURCE_USER_AGENT: "SOURCE_USER_AGENT",
151
- WORDPRESS_PINGBACK_REFLECTOR: "WORDPRESS_PINGBACK_REFLECTOR",
152
- WORDPRESS_PINGBACK_SOURCE: "WORDPRESS_PINGBACK_SOURCE",
153
- };
154
- export const Unit = {
155
- BITS: "BITS",
156
- BYTES: "BYTES",
157
- PACKETS: "PACKETS",
158
- REQUESTS: "REQUESTS",
159
- };
160
- export const SubResourceType = {
161
- IP: "IP",
162
- URL: "URL",
163
- };
164
- export const AutoRenew = {
165
- DISABLED: "DISABLED",
166
- ENABLED: "ENABLED",
167
- };
168
- export class ResourceAlreadyExistsException extends __BaseException {
169
- name = "ResourceAlreadyExistsException";
170
- $fault = "client";
171
- resourceType;
172
- constructor(opts) {
173
- super({
174
- name: "ResourceAlreadyExistsException",
175
- $fault: "client",
176
- ...opts,
177
- });
178
- Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
179
- this.resourceType = opts.resourceType;
180
- }
181
- }
182
- export const ProtectionGroupAggregation = {
183
- MAX: "MAX",
184
- MEAN: "MEAN",
185
- SUM: "SUM",
186
- };
187
- export const ProtectionGroupPattern = {
188
- ALL: "ALL",
189
- ARBITRARY: "ARBITRARY",
190
- BY_RESOURCE_TYPE: "BY_RESOURCE_TYPE",
191
- };
192
- export const ProtectedResourceType = {
193
- APPLICATION_LOAD_BALANCER: "APPLICATION_LOAD_BALANCER",
194
- CLASSIC_LOAD_BALANCER: "CLASSIC_LOAD_BALANCER",
195
- CLOUDFRONT_DISTRIBUTION: "CLOUDFRONT_DISTRIBUTION",
196
- ELASTIC_IP_ALLOCATION: "ELASTIC_IP_ALLOCATION",
197
- GLOBAL_ACCELERATOR: "GLOBAL_ACCELERATOR",
198
- ROUTE_53_HOSTED_ZONE: "ROUTE_53_HOSTED_ZONE",
199
- };
200
- export class LockedSubscriptionException extends __BaseException {
201
- name = "LockedSubscriptionException";
202
- $fault = "client";
203
- constructor(opts) {
204
- super({
205
- name: "LockedSubscriptionException",
206
- $fault: "client",
207
- ...opts,
208
- });
209
- Object.setPrototypeOf(this, LockedSubscriptionException.prototype);
210
- }
211
- }
212
- export const ProactiveEngagementStatus = {
213
- DISABLED: "DISABLED",
214
- ENABLED: "ENABLED",
215
- PENDING: "PENDING",
216
- };
217
- export const SubscriptionState = {
218
- ACTIVE: "ACTIVE",
219
- INACTIVE: "INACTIVE",
220
- };
221
- export class InvalidPaginationTokenException extends __BaseException {
222
- name = "InvalidPaginationTokenException";
223
- $fault = "client";
224
- constructor(opts) {
225
- super({
226
- name: "InvalidPaginationTokenException",
227
- $fault: "client",
228
- ...opts,
229
- });
230
- Object.setPrototypeOf(this, InvalidPaginationTokenException.prototype);
231
- }
232
- }
1
+ export {};
@@ -251,7 +251,7 @@ const _s = "server";
251
251
  const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.shield";
252
252
  const n0 = "com.amazonaws.shield";
253
253
  import { TypeRegistry } from "@smithy/core/schema";
254
- import { AccessDeniedException as __AccessDeniedException, AccessDeniedForDependencyException as __AccessDeniedForDependencyException, InternalErrorException as __InternalErrorException, InvalidOperationException as __InvalidOperationException, InvalidPaginationTokenException as __InvalidPaginationTokenException, InvalidParameterException as __InvalidParameterException, InvalidResourceException as __InvalidResourceException, LimitsExceededException as __LimitsExceededException, LockedSubscriptionException as __LockedSubscriptionException, NoAssociatedRoleException as __NoAssociatedRoleException, OptimisticLockException as __OptimisticLockException, ResourceAlreadyExistsException as __ResourceAlreadyExistsException, ResourceNotFoundException as __ResourceNotFoundException, } from "../models/index";
254
+ import { AccessDeniedException as __AccessDeniedException, AccessDeniedForDependencyException as __AccessDeniedForDependencyException, InternalErrorException as __InternalErrorException, InvalidOperationException as __InvalidOperationException, InvalidPaginationTokenException as __InvalidPaginationTokenException, InvalidParameterException as __InvalidParameterException, InvalidResourceException as __InvalidResourceException, LimitsExceededException as __LimitsExceededException, LockedSubscriptionException as __LockedSubscriptionException, NoAssociatedRoleException as __NoAssociatedRoleException, OptimisticLockException as __OptimisticLockException, ResourceAlreadyExistsException as __ResourceAlreadyExistsException, ResourceNotFoundException as __ResourceNotFoundException, } from "../models/errors";
255
255
  import { ShieldServiceException as __ShieldServiceException } from "../models/ShieldServiceException";
256
256
  export var AccessDeniedException = [
257
257
  -3,
@@ -13,5 +13,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
13
13
  export type { ShieldExtensionConfiguration } from "./extensionConfiguration";
14
14
  export * from "./commands";
15
15
  export * from "./pagination";
16
- export * from "./models";
16
+ export * from "./models/enums";
17
+ export * from "./models/errors";
18
+ export type * from "./models/models_0";
17
19
  export { ShieldServiceException } from "./models/ShieldServiceException";