@aws-sdk/client-shield 3.50.0 → 3.53.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.
Files changed (68) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/ShieldServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +179 -3
  5. package/dist-cjs/protocols/Aws_json1_1.js +365 -1296
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/ShieldServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +164 -1
  9. package/dist-es/protocols/Aws_json1_1.js +796 -1415
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/ShieldServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +93 -53
  13. package/dist-types/ts3.4/Shield.d.ts +185 -0
  14. package/dist-types/ts3.4/ShieldClient.d.ts +109 -0
  15. package/dist-types/ts3.4/commands/AssociateDRTLogBucketCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/AssociateDRTRoleCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/AssociateHealthCheckCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/AssociateProactiveEngagementDetailsCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/CreateProtectionCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/CreateProtectionGroupCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/CreateSubscriptionCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/DeleteProtectionCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/DeleteProtectionGroupCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/DeleteSubscriptionCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/DescribeAttackCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/DescribeAttackStatisticsCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/DescribeDRTAccessCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/DescribeEmergencyContactSettingsCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/DescribeProtectionCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/DescribeProtectionGroupCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/DescribeSubscriptionCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/DisableApplicationLayerAutomaticResponseCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/DisableProactiveEngagementCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/DisassociateDRTLogBucketCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/DisassociateDRTRoleCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/DisassociateHealthCheckCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/EnableApplicationLayerAutomaticResponseCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/EnableProactiveEngagementCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/GetSubscriptionStateCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/ListAttacksCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/ListProtectionGroupsCommand.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/ListProtectionsCommand.d.ts +17 -0
  43. package/dist-types/ts3.4/commands/ListResourcesInProtectionGroupCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  45. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  46. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/UpdateApplicationLayerAutomaticResponseCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/UpdateEmergencyContactSettingsCommand.d.ts +17 -0
  49. package/dist-types/ts3.4/commands/UpdateProtectionGroupCommand.d.ts +17 -0
  50. package/dist-types/ts3.4/commands/UpdateSubscriptionCommand.d.ts +17 -0
  51. package/dist-types/ts3.4/commands/index.d.ts +36 -0
  52. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  53. package/dist-types/ts3.4/index.d.ts +6 -0
  54. package/dist-types/ts3.4/models/ShieldServiceException.d.ts +6 -0
  55. package/dist-types/ts3.4/models/index.d.ts +1 -0
  56. package/dist-types/ts3.4/models/models_0.d.ts +1111 -0
  57. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  58. package/dist-types/ts3.4/pagination/ListAttacksPaginator.d.ts +4 -0
  59. package/dist-types/ts3.4/pagination/ListProtectionGroupsPaginator.d.ts +4 -0
  60. package/dist-types/ts3.4/pagination/ListProtectionsPaginator.d.ts +4 -0
  61. package/dist-types/ts3.4/pagination/ListResourcesInProtectionGroupPaginator.d.ts +4 -0
  62. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  63. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +110 -0
  64. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  65. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  66. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  67. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  68. package/package.json +33 -33
package/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-shield
20
+
21
+
22
+
23
+
24
+
25
+ # [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-shield
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-shield
package/dist-cjs/index.js CHANGED
@@ -1,8 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ShieldServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./Shield"), exports);
5
6
  tslib_1.__exportStar(require("./ShieldClient"), exports);
6
7
  tslib_1.__exportStar(require("./commands"), exports);
7
8
  tslib_1.__exportStar(require("./models"), exports);
8
9
  tslib_1.__exportStar(require("./pagination"), exports);
10
+ var ShieldServiceException_1 = require("./models/ShieldServiceException");
11
+ Object.defineProperty(exports, "ShieldServiceException", { enumerable: true, get: function () { return ShieldServiceException_1.ShieldServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ShieldServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class ShieldServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, ShieldServiceException.prototype);
9
+ }
10
+ }
11
+ exports.ShieldServiceException = ShieldServiceException;
@@ -1,8 +1,35 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DescribeAttackRequest = exports.DeleteSubscriptionResponse = exports.DeleteSubscriptionRequest = exports.DeleteProtectionGroupResponse = exports.DeleteProtectionGroupRequest = exports.DeleteProtectionResponse = exports.DeleteProtectionRequest = exports.CreateSubscriptionResponse = exports.CreateSubscriptionRequest = exports.CreateProtectionGroupResponse = exports.CreateProtectionGroupRequest = exports.ProtectedResourceType = exports.ProtectionGroupPattern = exports.ProtectionGroupAggregation = exports.CreateProtectionResponse = exports.CreateProtectionRequest = exports.Tag = exports.AutoRenew = exports.AttackSummary = exports.AttackVectorDescription = exports.AttackStatisticsDataItem = exports.AttackVolume = exports.AttackVolumeStatistics = exports.AttackDetail = exports.SubResourceSummary = exports.SubResourceType = exports.SummarizedAttackVector = exports.Mitigation = exports.AttackProperty = exports.Unit = exports.Contributor = exports.AttackPropertyIdentifier = exports.AttackLayer = exports.SummarizedCounter = exports.AssociateProactiveEngagementDetailsResponse = exports.AssociateProactiveEngagementDetailsRequest = exports.EmergencyContact = exports.AssociateHealthCheckResponse = exports.AssociateHealthCheckRequest = exports.AssociateDRTRoleResponse = exports.AssociateDRTRoleRequest = exports.ValidationExceptionReason = exports.ValidationExceptionField = exports.AssociateDRTLogBucketResponse = exports.AssociateDRTLogBucketRequest = exports.ApplicationLayerAutomaticResponseConfiguration = exports.ApplicationLayerAutomaticResponseStatus = exports.ResponseAction = exports.CountAction = exports.BlockAction = void 0;
4
- exports.ListTagsForResourceRequest = exports.ListResourcesInProtectionGroupResponse = exports.ListResourcesInProtectionGroupRequest = exports.ListProtectionsResponse = exports.ListProtectionsRequest = exports.ListProtectionGroupsResponse = exports.ListProtectionGroupsRequest = exports.ListAttacksResponse = exports.ListAttacksRequest = exports.GetSubscriptionStateResponse = exports.SubscriptionState = exports.GetSubscriptionStateRequest = exports.EnableProactiveEngagementResponse = exports.EnableProactiveEngagementRequest = exports.EnableApplicationLayerAutomaticResponseResponse = exports.EnableApplicationLayerAutomaticResponseRequest = exports.DisassociateHealthCheckResponse = exports.DisassociateHealthCheckRequest = exports.DisassociateDRTRoleResponse = exports.DisassociateDRTRoleRequest = exports.DisassociateDRTLogBucketResponse = exports.DisassociateDRTLogBucketRequest = exports.DisableProactiveEngagementResponse = exports.DisableProactiveEngagementRequest = exports.DisableApplicationLayerAutomaticResponseResponse = exports.DisableApplicationLayerAutomaticResponseRequest = exports.DescribeSubscriptionResponse = exports.Subscription = exports.SubscriptionLimits = exports.ProtectionLimits = exports.ProtectionGroupLimits = exports.ProtectionGroupPatternTypeLimits = exports.ProtectionGroupArbitraryPatternLimits = exports.ProactiveEngagementStatus = exports.Limit = exports.DescribeSubscriptionRequest = exports.DescribeProtectionGroupResponse = exports.ProtectionGroup = exports.DescribeProtectionGroupRequest = exports.DescribeProtectionResponse = exports.Protection = exports.DescribeProtectionRequest = exports.DescribeEmergencyContactSettingsResponse = exports.DescribeEmergencyContactSettingsRequest = exports.DescribeDRTAccessResponse = exports.DescribeDRTAccessRequest = exports.DescribeAttackStatisticsResponse = exports.TimeRange = exports.DescribeAttackStatisticsRequest = exports.DescribeAttackResponse = void 0;
5
- exports.UpdateSubscriptionResponse = exports.UpdateSubscriptionRequest = exports.UpdateProtectionGroupResponse = exports.UpdateProtectionGroupRequest = exports.UpdateEmergencyContactSettingsResponse = exports.UpdateEmergencyContactSettingsRequest = exports.UpdateApplicationLayerAutomaticResponseResponse = exports.UpdateApplicationLayerAutomaticResponseRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.ListTagsForResourceResponse = void 0;
3
+ exports.ProtectedResourceType = exports.ProtectionGroupPattern = exports.ProtectionGroupAggregation = exports.ResourceAlreadyExistsException = exports.CreateProtectionResponse = exports.CreateProtectionRequest = exports.Tag = exports.AutoRenew = exports.AttackSummary = exports.AttackVectorDescription = exports.AttackStatisticsDataItem = exports.AttackVolume = exports.AttackVolumeStatistics = exports.AttackDetail = exports.SubResourceSummary = exports.SubResourceType = exports.SummarizedAttackVector = exports.Mitigation = exports.AttackProperty = exports.Unit = exports.Contributor = exports.AttackPropertyIdentifier = exports.AttackLayer = exports.SummarizedCounter = exports.AssociateProactiveEngagementDetailsResponse = exports.AssociateProactiveEngagementDetailsRequest = exports.EmergencyContact = exports.InvalidResourceException = exports.AssociateHealthCheckResponse = exports.AssociateHealthCheckRequest = exports.AssociateDRTRoleResponse = exports.AssociateDRTRoleRequest = exports.ResourceNotFoundException = exports.OptimisticLockException = exports.NoAssociatedRoleException = exports.LimitsExceededException = exports.InvalidParameterException = exports.ValidationExceptionReason = exports.ValidationExceptionField = exports.InvalidOperationException = exports.InternalErrorException = exports.AssociateDRTLogBucketResponse = exports.AssociateDRTLogBucketRequest = exports.ApplicationLayerAutomaticResponseConfiguration = exports.ApplicationLayerAutomaticResponseStatus = exports.ResponseAction = exports.CountAction = exports.BlockAction = exports.AccessDeniedForDependencyException = exports.AccessDeniedException = void 0;
4
+ exports.EnableProactiveEngagementResponse = exports.EnableProactiveEngagementRequest = exports.EnableApplicationLayerAutomaticResponseResponse = exports.EnableApplicationLayerAutomaticResponseRequest = exports.DisassociateHealthCheckResponse = exports.DisassociateHealthCheckRequest = exports.DisassociateDRTRoleResponse = exports.DisassociateDRTRoleRequest = exports.DisassociateDRTLogBucketResponse = exports.DisassociateDRTLogBucketRequest = exports.DisableProactiveEngagementResponse = exports.DisableProactiveEngagementRequest = exports.DisableApplicationLayerAutomaticResponseResponse = exports.DisableApplicationLayerAutomaticResponseRequest = exports.DescribeSubscriptionResponse = exports.Subscription = exports.SubscriptionLimits = exports.ProtectionLimits = exports.ProtectionGroupLimits = exports.ProtectionGroupPatternTypeLimits = exports.ProtectionGroupArbitraryPatternLimits = exports.ProactiveEngagementStatus = exports.Limit = exports.DescribeSubscriptionRequest = exports.DescribeProtectionGroupResponse = exports.ProtectionGroup = exports.DescribeProtectionGroupRequest = exports.DescribeProtectionResponse = exports.Protection = exports.DescribeProtectionRequest = exports.DescribeEmergencyContactSettingsResponse = exports.DescribeEmergencyContactSettingsRequest = exports.DescribeDRTAccessResponse = exports.DescribeDRTAccessRequest = exports.DescribeAttackStatisticsResponse = exports.TimeRange = exports.DescribeAttackStatisticsRequest = exports.DescribeAttackResponse = exports.DescribeAttackRequest = exports.LockedSubscriptionException = exports.DeleteSubscriptionResponse = exports.DeleteSubscriptionRequest = exports.DeleteProtectionGroupResponse = exports.DeleteProtectionGroupRequest = exports.DeleteProtectionResponse = exports.DeleteProtectionRequest = exports.CreateSubscriptionResponse = exports.CreateSubscriptionRequest = exports.CreateProtectionGroupResponse = exports.CreateProtectionGroupRequest = void 0;
5
+ exports.UpdateSubscriptionResponse = exports.UpdateSubscriptionRequest = exports.UpdateProtectionGroupResponse = exports.UpdateProtectionGroupRequest = exports.UpdateEmergencyContactSettingsResponse = exports.UpdateEmergencyContactSettingsRequest = exports.UpdateApplicationLayerAutomaticResponseResponse = exports.UpdateApplicationLayerAutomaticResponseRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListResourcesInProtectionGroupResponse = exports.ListResourcesInProtectionGroupRequest = exports.ListProtectionsResponse = exports.ListProtectionsRequest = exports.ListProtectionGroupsResponse = exports.ListProtectionGroupsRequest = exports.InvalidPaginationTokenException = exports.ListAttacksResponse = exports.ListAttacksRequest = exports.GetSubscriptionStateResponse = exports.SubscriptionState = exports.GetSubscriptionStateRequest = void 0;
6
+ const ShieldServiceException_1 = require("./ShieldServiceException");
7
+ class AccessDeniedException extends ShieldServiceException_1.ShieldServiceException {
8
+ constructor(opts) {
9
+ super({
10
+ name: "AccessDeniedException",
11
+ $fault: "client",
12
+ ...opts,
13
+ });
14
+ this.name = "AccessDeniedException";
15
+ this.$fault = "client";
16
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
17
+ }
18
+ }
19
+ exports.AccessDeniedException = AccessDeniedException;
20
+ class AccessDeniedForDependencyException extends ShieldServiceException_1.ShieldServiceException {
21
+ constructor(opts) {
22
+ super({
23
+ name: "AccessDeniedForDependencyException",
24
+ $fault: "client",
25
+ ...opts,
26
+ });
27
+ this.name = "AccessDeniedForDependencyException";
28
+ this.$fault = "client";
29
+ Object.setPrototypeOf(this, AccessDeniedForDependencyException.prototype);
30
+ }
31
+ }
32
+ exports.AccessDeniedForDependencyException = AccessDeniedForDependencyException;
6
33
  var BlockAction;
7
34
  (function (BlockAction) {
8
35
  BlockAction.filterSensitiveLog = (obj) => ({
@@ -44,6 +71,32 @@ var AssociateDRTLogBucketResponse;
44
71
  ...obj,
45
72
  });
46
73
  })(AssociateDRTLogBucketResponse = exports.AssociateDRTLogBucketResponse || (exports.AssociateDRTLogBucketResponse = {}));
74
+ class InternalErrorException extends ShieldServiceException_1.ShieldServiceException {
75
+ constructor(opts) {
76
+ super({
77
+ name: "InternalErrorException",
78
+ $fault: "server",
79
+ ...opts,
80
+ });
81
+ this.name = "InternalErrorException";
82
+ this.$fault = "server";
83
+ Object.setPrototypeOf(this, InternalErrorException.prototype);
84
+ }
85
+ }
86
+ exports.InternalErrorException = InternalErrorException;
87
+ class InvalidOperationException extends ShieldServiceException_1.ShieldServiceException {
88
+ constructor(opts) {
89
+ super({
90
+ name: "InvalidOperationException",
91
+ $fault: "client",
92
+ ...opts,
93
+ });
94
+ this.name = "InvalidOperationException";
95
+ this.$fault = "client";
96
+ Object.setPrototypeOf(this, InvalidOperationException.prototype);
97
+ }
98
+ }
99
+ exports.InvalidOperationException = InvalidOperationException;
47
100
  var ValidationExceptionField;
48
101
  (function (ValidationExceptionField) {
49
102
  ValidationExceptionField.filterSensitiveLog = (obj) => ({
@@ -55,6 +108,76 @@ var ValidationExceptionReason;
55
108
  ValidationExceptionReason["FIELD_VALIDATION_FAILED"] = "FIELD_VALIDATION_FAILED";
56
109
  ValidationExceptionReason["OTHER"] = "OTHER";
57
110
  })(ValidationExceptionReason = exports.ValidationExceptionReason || (exports.ValidationExceptionReason = {}));
111
+ class InvalidParameterException extends ShieldServiceException_1.ShieldServiceException {
112
+ constructor(opts) {
113
+ super({
114
+ name: "InvalidParameterException",
115
+ $fault: "client",
116
+ ...opts,
117
+ });
118
+ this.name = "InvalidParameterException";
119
+ this.$fault = "client";
120
+ Object.setPrototypeOf(this, InvalidParameterException.prototype);
121
+ this.reason = opts.reason;
122
+ this.fields = opts.fields;
123
+ }
124
+ }
125
+ exports.InvalidParameterException = InvalidParameterException;
126
+ class LimitsExceededException extends ShieldServiceException_1.ShieldServiceException {
127
+ constructor(opts) {
128
+ super({
129
+ name: "LimitsExceededException",
130
+ $fault: "client",
131
+ ...opts,
132
+ });
133
+ this.name = "LimitsExceededException";
134
+ this.$fault = "client";
135
+ Object.setPrototypeOf(this, LimitsExceededException.prototype);
136
+ this.Type = opts.Type;
137
+ this.Limit = opts.Limit;
138
+ }
139
+ }
140
+ exports.LimitsExceededException = LimitsExceededException;
141
+ class NoAssociatedRoleException extends ShieldServiceException_1.ShieldServiceException {
142
+ constructor(opts) {
143
+ super({
144
+ name: "NoAssociatedRoleException",
145
+ $fault: "client",
146
+ ...opts,
147
+ });
148
+ this.name = "NoAssociatedRoleException";
149
+ this.$fault = "client";
150
+ Object.setPrototypeOf(this, NoAssociatedRoleException.prototype);
151
+ }
152
+ }
153
+ exports.NoAssociatedRoleException = NoAssociatedRoleException;
154
+ class OptimisticLockException extends ShieldServiceException_1.ShieldServiceException {
155
+ constructor(opts) {
156
+ super({
157
+ name: "OptimisticLockException",
158
+ $fault: "client",
159
+ ...opts,
160
+ });
161
+ this.name = "OptimisticLockException";
162
+ this.$fault = "client";
163
+ Object.setPrototypeOf(this, OptimisticLockException.prototype);
164
+ }
165
+ }
166
+ exports.OptimisticLockException = OptimisticLockException;
167
+ class ResourceNotFoundException extends ShieldServiceException_1.ShieldServiceException {
168
+ constructor(opts) {
169
+ super({
170
+ name: "ResourceNotFoundException",
171
+ $fault: "client",
172
+ ...opts,
173
+ });
174
+ this.name = "ResourceNotFoundException";
175
+ this.$fault = "client";
176
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
177
+ this.resourceType = opts.resourceType;
178
+ }
179
+ }
180
+ exports.ResourceNotFoundException = ResourceNotFoundException;
58
181
  var AssociateDRTRoleRequest;
59
182
  (function (AssociateDRTRoleRequest) {
60
183
  AssociateDRTRoleRequest.filterSensitiveLog = (obj) => ({
@@ -79,6 +202,19 @@ var AssociateHealthCheckResponse;
79
202
  ...obj,
80
203
  });
81
204
  })(AssociateHealthCheckResponse = exports.AssociateHealthCheckResponse || (exports.AssociateHealthCheckResponse = {}));
205
+ class InvalidResourceException extends ShieldServiceException_1.ShieldServiceException {
206
+ constructor(opts) {
207
+ super({
208
+ name: "InvalidResourceException",
209
+ $fault: "client",
210
+ ...opts,
211
+ });
212
+ this.name = "InvalidResourceException";
213
+ this.$fault = "client";
214
+ Object.setPrototypeOf(this, InvalidResourceException.prototype);
215
+ }
216
+ }
217
+ exports.InvalidResourceException = InvalidResourceException;
82
218
  var EmergencyContact;
83
219
  (function (EmergencyContact) {
84
220
  EmergencyContact.filterSensitiveLog = (obj) => ({
@@ -220,6 +356,20 @@ var CreateProtectionResponse;
220
356
  ...obj,
221
357
  });
222
358
  })(CreateProtectionResponse = exports.CreateProtectionResponse || (exports.CreateProtectionResponse = {}));
359
+ class ResourceAlreadyExistsException extends ShieldServiceException_1.ShieldServiceException {
360
+ constructor(opts) {
361
+ super({
362
+ name: "ResourceAlreadyExistsException",
363
+ $fault: "client",
364
+ ...opts,
365
+ });
366
+ this.name = "ResourceAlreadyExistsException";
367
+ this.$fault = "client";
368
+ Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
369
+ this.resourceType = opts.resourceType;
370
+ }
371
+ }
372
+ exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException;
223
373
  var ProtectionGroupAggregation;
224
374
  (function (ProtectionGroupAggregation) {
225
375
  ProtectionGroupAggregation["MAX"] = "MAX";
@@ -301,6 +451,19 @@ var DeleteSubscriptionResponse;
301
451
  ...obj,
302
452
  });
303
453
  })(DeleteSubscriptionResponse = exports.DeleteSubscriptionResponse || (exports.DeleteSubscriptionResponse = {}));
454
+ class LockedSubscriptionException extends ShieldServiceException_1.ShieldServiceException {
455
+ constructor(opts) {
456
+ super({
457
+ name: "LockedSubscriptionException",
458
+ $fault: "client",
459
+ ...opts,
460
+ });
461
+ this.name = "LockedSubscriptionException";
462
+ this.$fault = "client";
463
+ Object.setPrototypeOf(this, LockedSubscriptionException.prototype);
464
+ }
465
+ }
466
+ exports.LockedSubscriptionException = LockedSubscriptionException;
304
467
  var DescribeAttackRequest;
305
468
  (function (DescribeAttackRequest) {
306
469
  DescribeAttackRequest.filterSensitiveLog = (obj) => ({
@@ -564,6 +727,19 @@ var ListAttacksResponse;
564
727
  ...obj,
565
728
  });
566
729
  })(ListAttacksResponse = exports.ListAttacksResponse || (exports.ListAttacksResponse = {}));
730
+ class InvalidPaginationTokenException extends ShieldServiceException_1.ShieldServiceException {
731
+ constructor(opts) {
732
+ super({
733
+ name: "InvalidPaginationTokenException",
734
+ $fault: "client",
735
+ ...opts,
736
+ });
737
+ this.name = "InvalidPaginationTokenException";
738
+ this.$fault = "client";
739
+ Object.setPrototypeOf(this, InvalidPaginationTokenException.prototype);
740
+ }
741
+ }
742
+ exports.InvalidPaginationTokenException = InvalidPaginationTokenException;
567
743
  var ListProtectionGroupsRequest;
568
744
  (function (ListProtectionGroupsRequest) {
569
745
  ListProtectionGroupsRequest.filterSensitiveLog = (obj) => ({