@aws-sdk/client-shield 3.490.0 → 3.495.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 (54) hide show
  1. package/dist-cjs/Shield.js +1 -83
  2. package/dist-cjs/ShieldClient.js +1 -43
  3. package/dist-cjs/commands/AssociateDRTLogBucketCommand.js +1 -28
  4. package/dist-cjs/commands/AssociateDRTRoleCommand.js +1 -28
  5. package/dist-cjs/commands/AssociateHealthCheckCommand.js +1 -28
  6. package/dist-cjs/commands/AssociateProactiveEngagementDetailsCommand.js +1 -28
  7. package/dist-cjs/commands/CreateProtectionCommand.js +1 -28
  8. package/dist-cjs/commands/CreateProtectionGroupCommand.js +1 -28
  9. package/dist-cjs/commands/CreateSubscriptionCommand.js +1 -28
  10. package/dist-cjs/commands/DeleteProtectionCommand.js +1 -28
  11. package/dist-cjs/commands/DeleteProtectionGroupCommand.js +1 -28
  12. package/dist-cjs/commands/DeleteSubscriptionCommand.js +1 -28
  13. package/dist-cjs/commands/DescribeAttackCommand.js +1 -28
  14. package/dist-cjs/commands/DescribeAttackStatisticsCommand.js +1 -28
  15. package/dist-cjs/commands/DescribeDRTAccessCommand.js +1 -28
  16. package/dist-cjs/commands/DescribeEmergencyContactSettingsCommand.js +1 -28
  17. package/dist-cjs/commands/DescribeProtectionCommand.js +1 -28
  18. package/dist-cjs/commands/DescribeProtectionGroupCommand.js +1 -28
  19. package/dist-cjs/commands/DescribeSubscriptionCommand.js +1 -28
  20. package/dist-cjs/commands/DisableApplicationLayerAutomaticResponseCommand.js +1 -28
  21. package/dist-cjs/commands/DisableProactiveEngagementCommand.js +1 -28
  22. package/dist-cjs/commands/DisassociateDRTLogBucketCommand.js +1 -28
  23. package/dist-cjs/commands/DisassociateDRTRoleCommand.js +1 -28
  24. package/dist-cjs/commands/DisassociateHealthCheckCommand.js +1 -28
  25. package/dist-cjs/commands/EnableApplicationLayerAutomaticResponseCommand.js +1 -28
  26. package/dist-cjs/commands/EnableProactiveEngagementCommand.js +1 -28
  27. package/dist-cjs/commands/GetSubscriptionStateCommand.js +1 -28
  28. package/dist-cjs/commands/ListAttacksCommand.js +1 -28
  29. package/dist-cjs/commands/ListProtectionGroupsCommand.js +1 -28
  30. package/dist-cjs/commands/ListProtectionsCommand.js +1 -28
  31. package/dist-cjs/commands/ListResourcesInProtectionGroupCommand.js +1 -28
  32. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  33. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  34. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  35. package/dist-cjs/commands/UpdateApplicationLayerAutomaticResponseCommand.js +1 -28
  36. package/dist-cjs/commands/UpdateEmergencyContactSettingsCommand.js +1 -28
  37. package/dist-cjs/commands/UpdateProtectionGroupCommand.js +1 -28
  38. package/dist-cjs/commands/UpdateSubscriptionCommand.js +1 -28
  39. package/dist-cjs/commands/index.js +1 -39
  40. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  41. package/dist-cjs/extensionConfiguration.js +1 -2
  42. package/dist-cjs/index.js +3267 -11
  43. package/dist-cjs/models/ShieldServiceException.js +1 -12
  44. package/dist-cjs/models/index.js +1 -4
  45. package/dist-cjs/models/models_0.js +1 -242
  46. package/dist-cjs/pagination/Interfaces.js +1 -2
  47. package/dist-cjs/pagination/ListAttacksPaginator.js +1 -7
  48. package/dist-cjs/pagination/ListProtectionGroupsPaginator.js +1 -7
  49. package/dist-cjs/pagination/ListProtectionsPaginator.js +1 -7
  50. package/dist-cjs/pagination/ListResourcesInProtectionGroupPaginator.js +1 -7
  51. package/dist-cjs/pagination/index.js +1 -8
  52. package/dist-cjs/protocols/Aws_json1_1.js +1 -2113
  53. package/dist-cjs/runtimeExtensions.js +1 -22
  54. package/package.json +40 -40
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ShieldServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class ShieldServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, ShieldServiceException.prototype);
10
- }
11
- }
12
- exports.ShieldServiceException = ShieldServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,242 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InvalidPaginationTokenException = exports.SubscriptionState = exports.ProactiveEngagementStatus = exports.LockedSubscriptionException = exports.ProtectedResourceType = exports.ProtectionGroupPattern = exports.ProtectionGroupAggregation = exports.ResourceAlreadyExistsException = exports.AutoRenew = exports.SubResourceType = exports.Unit = exports.AttackPropertyIdentifier = exports.AttackLayer = exports.InvalidResourceException = exports.ResourceNotFoundException = exports.OptimisticLockException = exports.NoAssociatedRoleException = exports.LimitsExceededException = exports.InvalidParameterException = exports.ValidationExceptionReason = exports.InvalidOperationException = exports.InternalErrorException = exports.ApplicationLayerAutomaticResponseStatus = exports.AccessDeniedForDependencyException = exports.AccessDeniedException = void 0;
4
- const ShieldServiceException_1 = require("./ShieldServiceException");
5
- class AccessDeniedException extends ShieldServiceException_1.ShieldServiceException {
6
- constructor(opts) {
7
- super({
8
- name: "AccessDeniedException",
9
- $fault: "client",
10
- ...opts,
11
- });
12
- this.name = "AccessDeniedException";
13
- this.$fault = "client";
14
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
15
- }
16
- }
17
- exports.AccessDeniedException = AccessDeniedException;
18
- class AccessDeniedForDependencyException extends ShieldServiceException_1.ShieldServiceException {
19
- constructor(opts) {
20
- super({
21
- name: "AccessDeniedForDependencyException",
22
- $fault: "client",
23
- ...opts,
24
- });
25
- this.name = "AccessDeniedForDependencyException";
26
- this.$fault = "client";
27
- Object.setPrototypeOf(this, AccessDeniedForDependencyException.prototype);
28
- }
29
- }
30
- exports.AccessDeniedForDependencyException = AccessDeniedForDependencyException;
31
- exports.ApplicationLayerAutomaticResponseStatus = {
32
- DISABLED: "DISABLED",
33
- ENABLED: "ENABLED",
34
- };
35
- class InternalErrorException extends ShieldServiceException_1.ShieldServiceException {
36
- constructor(opts) {
37
- super({
38
- name: "InternalErrorException",
39
- $fault: "server",
40
- ...opts,
41
- });
42
- this.name = "InternalErrorException";
43
- this.$fault = "server";
44
- Object.setPrototypeOf(this, InternalErrorException.prototype);
45
- }
46
- }
47
- exports.InternalErrorException = InternalErrorException;
48
- class InvalidOperationException extends ShieldServiceException_1.ShieldServiceException {
49
- constructor(opts) {
50
- super({
51
- name: "InvalidOperationException",
52
- $fault: "client",
53
- ...opts,
54
- });
55
- this.name = "InvalidOperationException";
56
- this.$fault = "client";
57
- Object.setPrototypeOf(this, InvalidOperationException.prototype);
58
- }
59
- }
60
- exports.InvalidOperationException = InvalidOperationException;
61
- exports.ValidationExceptionReason = {
62
- FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
63
- OTHER: "OTHER",
64
- };
65
- class InvalidParameterException extends ShieldServiceException_1.ShieldServiceException {
66
- constructor(opts) {
67
- super({
68
- name: "InvalidParameterException",
69
- $fault: "client",
70
- ...opts,
71
- });
72
- this.name = "InvalidParameterException";
73
- this.$fault = "client";
74
- Object.setPrototypeOf(this, InvalidParameterException.prototype);
75
- this.reason = opts.reason;
76
- this.fields = opts.fields;
77
- }
78
- }
79
- exports.InvalidParameterException = InvalidParameterException;
80
- class LimitsExceededException extends ShieldServiceException_1.ShieldServiceException {
81
- constructor(opts) {
82
- super({
83
- name: "LimitsExceededException",
84
- $fault: "client",
85
- ...opts,
86
- });
87
- this.name = "LimitsExceededException";
88
- this.$fault = "client";
89
- Object.setPrototypeOf(this, LimitsExceededException.prototype);
90
- this.Type = opts.Type;
91
- this.Limit = opts.Limit;
92
- }
93
- }
94
- exports.LimitsExceededException = LimitsExceededException;
95
- class NoAssociatedRoleException extends ShieldServiceException_1.ShieldServiceException {
96
- constructor(opts) {
97
- super({
98
- name: "NoAssociatedRoleException",
99
- $fault: "client",
100
- ...opts,
101
- });
102
- this.name = "NoAssociatedRoleException";
103
- this.$fault = "client";
104
- Object.setPrototypeOf(this, NoAssociatedRoleException.prototype);
105
- }
106
- }
107
- exports.NoAssociatedRoleException = NoAssociatedRoleException;
108
- class OptimisticLockException extends ShieldServiceException_1.ShieldServiceException {
109
- constructor(opts) {
110
- super({
111
- name: "OptimisticLockException",
112
- $fault: "client",
113
- ...opts,
114
- });
115
- this.name = "OptimisticLockException";
116
- this.$fault = "client";
117
- Object.setPrototypeOf(this, OptimisticLockException.prototype);
118
- }
119
- }
120
- exports.OptimisticLockException = OptimisticLockException;
121
- class ResourceNotFoundException extends ShieldServiceException_1.ShieldServiceException {
122
- constructor(opts) {
123
- super({
124
- name: "ResourceNotFoundException",
125
- $fault: "client",
126
- ...opts,
127
- });
128
- this.name = "ResourceNotFoundException";
129
- this.$fault = "client";
130
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
131
- this.resourceType = opts.resourceType;
132
- }
133
- }
134
- exports.ResourceNotFoundException = ResourceNotFoundException;
135
- class InvalidResourceException extends ShieldServiceException_1.ShieldServiceException {
136
- constructor(opts) {
137
- super({
138
- name: "InvalidResourceException",
139
- $fault: "client",
140
- ...opts,
141
- });
142
- this.name = "InvalidResourceException";
143
- this.$fault = "client";
144
- Object.setPrototypeOf(this, InvalidResourceException.prototype);
145
- }
146
- }
147
- exports.InvalidResourceException = InvalidResourceException;
148
- exports.AttackLayer = {
149
- APPLICATION: "APPLICATION",
150
- NETWORK: "NETWORK",
151
- };
152
- exports.AttackPropertyIdentifier = {
153
- DESTINATION_URL: "DESTINATION_URL",
154
- REFERRER: "REFERRER",
155
- SOURCE_ASN: "SOURCE_ASN",
156
- SOURCE_COUNTRY: "SOURCE_COUNTRY",
157
- SOURCE_IP_ADDRESS: "SOURCE_IP_ADDRESS",
158
- SOURCE_USER_AGENT: "SOURCE_USER_AGENT",
159
- WORDPRESS_PINGBACK_REFLECTOR: "WORDPRESS_PINGBACK_REFLECTOR",
160
- WORDPRESS_PINGBACK_SOURCE: "WORDPRESS_PINGBACK_SOURCE",
161
- };
162
- exports.Unit = {
163
- BITS: "BITS",
164
- BYTES: "BYTES",
165
- PACKETS: "PACKETS",
166
- REQUESTS: "REQUESTS",
167
- };
168
- exports.SubResourceType = {
169
- IP: "IP",
170
- URL: "URL",
171
- };
172
- exports.AutoRenew = {
173
- DISABLED: "DISABLED",
174
- ENABLED: "ENABLED",
175
- };
176
- class ResourceAlreadyExistsException extends ShieldServiceException_1.ShieldServiceException {
177
- constructor(opts) {
178
- super({
179
- name: "ResourceAlreadyExistsException",
180
- $fault: "client",
181
- ...opts,
182
- });
183
- this.name = "ResourceAlreadyExistsException";
184
- this.$fault = "client";
185
- Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
186
- this.resourceType = opts.resourceType;
187
- }
188
- }
189
- exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException;
190
- exports.ProtectionGroupAggregation = {
191
- MAX: "MAX",
192
- MEAN: "MEAN",
193
- SUM: "SUM",
194
- };
195
- exports.ProtectionGroupPattern = {
196
- ALL: "ALL",
197
- ARBITRARY: "ARBITRARY",
198
- BY_RESOURCE_TYPE: "BY_RESOURCE_TYPE",
199
- };
200
- exports.ProtectedResourceType = {
201
- APPLICATION_LOAD_BALANCER: "APPLICATION_LOAD_BALANCER",
202
- CLASSIC_LOAD_BALANCER: "CLASSIC_LOAD_BALANCER",
203
- CLOUDFRONT_DISTRIBUTION: "CLOUDFRONT_DISTRIBUTION",
204
- ELASTIC_IP_ALLOCATION: "ELASTIC_IP_ALLOCATION",
205
- GLOBAL_ACCELERATOR: "GLOBAL_ACCELERATOR",
206
- ROUTE_53_HOSTED_ZONE: "ROUTE_53_HOSTED_ZONE",
207
- };
208
- class LockedSubscriptionException extends ShieldServiceException_1.ShieldServiceException {
209
- constructor(opts) {
210
- super({
211
- name: "LockedSubscriptionException",
212
- $fault: "client",
213
- ...opts,
214
- });
215
- this.name = "LockedSubscriptionException";
216
- this.$fault = "client";
217
- Object.setPrototypeOf(this, LockedSubscriptionException.prototype);
218
- }
219
- }
220
- exports.LockedSubscriptionException = LockedSubscriptionException;
221
- exports.ProactiveEngagementStatus = {
222
- DISABLED: "DISABLED",
223
- ENABLED: "ENABLED",
224
- PENDING: "PENDING",
225
- };
226
- exports.SubscriptionState = {
227
- ACTIVE: "ACTIVE",
228
- INACTIVE: "INACTIVE",
229
- };
230
- class InvalidPaginationTokenException extends ShieldServiceException_1.ShieldServiceException {
231
- constructor(opts) {
232
- super({
233
- name: "InvalidPaginationTokenException",
234
- $fault: "client",
235
- ...opts,
236
- });
237
- this.name = "InvalidPaginationTokenException";
238
- this.$fault = "client";
239
- Object.setPrototypeOf(this, InvalidPaginationTokenException.prototype);
240
- }
241
- }
242
- exports.InvalidPaginationTokenException = InvalidPaginationTokenException;
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListAttacks = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListAttacksCommand_1 = require("../commands/ListAttacksCommand");
6
- const ShieldClient_1 = require("../ShieldClient");
7
- exports.paginateListAttacks = (0, core_1.createPaginator)(ShieldClient_1.ShieldClient, ListAttacksCommand_1.ListAttacksCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListProtectionGroups = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListProtectionGroupsCommand_1 = require("../commands/ListProtectionGroupsCommand");
6
- const ShieldClient_1 = require("../ShieldClient");
7
- exports.paginateListProtectionGroups = (0, core_1.createPaginator)(ShieldClient_1.ShieldClient, ListProtectionGroupsCommand_1.ListProtectionGroupsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListProtections = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListProtectionsCommand_1 = require("../commands/ListProtectionsCommand");
6
- const ShieldClient_1 = require("../ShieldClient");
7
- exports.paginateListProtections = (0, core_1.createPaginator)(ShieldClient_1.ShieldClient, ListProtectionsCommand_1.ListProtectionsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListResourcesInProtectionGroup = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListResourcesInProtectionGroupCommand_1 = require("../commands/ListResourcesInProtectionGroupCommand");
6
- const ShieldClient_1 = require("../ShieldClient");
7
- exports.paginateListResourcesInProtectionGroup = (0, core_1.createPaginator)(ShieldClient_1.ShieldClient, ListResourcesInProtectionGroupCommand_1.ListResourcesInProtectionGroupCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,8 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Interfaces"), exports);
5
- tslib_1.__exportStar(require("./ListAttacksPaginator"), exports);
6
- tslib_1.__exportStar(require("./ListProtectionGroupsPaginator"), exports);
7
- tslib_1.__exportStar(require("./ListProtectionsPaginator"), exports);
8
- tslib_1.__exportStar(require("./ListResourcesInProtectionGroupPaginator"), exports);
1
+ module.exports = require("../index.js");