@aws-sdk/client-shield 3.43.0 → 3.47.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/CHANGELOG.md +50 -0
- package/dist-cjs/Shield.js +45 -0
- package/dist-cjs/commands/DisableApplicationLayerAutomaticResponseCommand.js +36 -0
- package/dist-cjs/commands/EnableApplicationLayerAutomaticResponseCommand.js +36 -0
- package/dist-cjs/commands/UpdateApplicationLayerAutomaticResponseCommand.js +36 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/endpoints.js +1 -0
- package/dist-cjs/models/models_0.js +64 -77
- package/dist-cjs/protocols/Aws_json1_1.js +363 -2
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/Shield.js +45 -0
- package/dist-es/commands/DisableApplicationLayerAutomaticResponseCommand.js +39 -0
- package/dist-es/commands/EnableApplicationLayerAutomaticResponseCommand.js +39 -0
- package/dist-es/commands/UpdateApplicationLayerAutomaticResponseCommand.js +39 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/endpoints.js +1 -0
- package/dist-es/models/models_0.js +45 -52
- package/dist-es/protocols/Aws_json1_1.js +430 -50
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/Shield.d.ts +50 -12
- package/dist-types/ShieldClient.d.ts +10 -3
- package/dist-types/commands/AssociateDRTLogBucketCommand.d.ts +1 -1
- package/dist-types/commands/AssociateDRTRoleCommand.d.ts +4 -3
- package/dist-types/commands/AssociateHealthCheckCommand.d.ts +2 -2
- package/dist-types/commands/CreateProtectionCommand.d.ts +6 -2
- package/dist-types/commands/DisableApplicationLayerAutomaticResponseCommand.d.ts +36 -0
- package/dist-types/commands/DisassociateDRTLogBucketCommand.d.ts +0 -1
- package/dist-types/commands/DisassociateDRTRoleCommand.d.ts +0 -1
- package/dist-types/commands/DisassociateHealthCheckCommand.d.ts +2 -2
- package/dist-types/commands/EnableApplicationLayerAutomaticResponseCommand.d.ts +48 -0
- package/dist-types/commands/UpdateApplicationLayerAutomaticResponseCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +250 -128
- package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/Shield.d.ts +15 -0
- package/dist-types/ts3.4/ShieldClient.d.ts +8 -3
- package/dist-types/ts3.4/commands/DisableApplicationLayerAutomaticResponseCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/EnableApplicationLayerAutomaticResponseCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateApplicationLayerAutomaticResponseCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +92 -56
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +9 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +38 -45
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,56 @@
|
|
|
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.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients to use default values inferred from defaults mode ([#3192](https://github.com/aws/aws-sdk-js-v3/issues/3192)) ([9152e21](https://github.com/aws/aws-sdk-js-v3/commit/9152e210c6ec29f34bb070eaf2874039022e6ab7))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
|
|
28
|
+
* end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
# [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
### Features
|
|
38
|
+
|
|
39
|
+
* **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
# [3.44.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.43.0...v3.44.0) (2021-12-02)
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
### Features
|
|
49
|
+
|
|
50
|
+
* **clients:** update clients as of 2021/12/01 ([#3078](https://github.com/aws/aws-sdk-js-v3/issues/3078)) ([9c44188](https://github.com/aws/aws-sdk-js-v3/commit/9c44188265ea484d55c50848d7daae5571007ce0))
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
6
56
|
# [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
|
|
7
57
|
|
|
8
58
|
**Note:** Version bump only for package @aws-sdk/client-shield
|
package/dist-cjs/Shield.js
CHANGED
|
@@ -18,10 +18,12 @@ const DescribeEmergencyContactSettingsCommand_1 = require("./commands/DescribeEm
|
|
|
18
18
|
const DescribeProtectionCommand_1 = require("./commands/DescribeProtectionCommand");
|
|
19
19
|
const DescribeProtectionGroupCommand_1 = require("./commands/DescribeProtectionGroupCommand");
|
|
20
20
|
const DescribeSubscriptionCommand_1 = require("./commands/DescribeSubscriptionCommand");
|
|
21
|
+
const DisableApplicationLayerAutomaticResponseCommand_1 = require("./commands/DisableApplicationLayerAutomaticResponseCommand");
|
|
21
22
|
const DisableProactiveEngagementCommand_1 = require("./commands/DisableProactiveEngagementCommand");
|
|
22
23
|
const DisassociateDRTLogBucketCommand_1 = require("./commands/DisassociateDRTLogBucketCommand");
|
|
23
24
|
const DisassociateDRTRoleCommand_1 = require("./commands/DisassociateDRTRoleCommand");
|
|
24
25
|
const DisassociateHealthCheckCommand_1 = require("./commands/DisassociateHealthCheckCommand");
|
|
26
|
+
const EnableApplicationLayerAutomaticResponseCommand_1 = require("./commands/EnableApplicationLayerAutomaticResponseCommand");
|
|
25
27
|
const EnableProactiveEngagementCommand_1 = require("./commands/EnableProactiveEngagementCommand");
|
|
26
28
|
const GetSubscriptionStateCommand_1 = require("./commands/GetSubscriptionStateCommand");
|
|
27
29
|
const ListAttacksCommand_1 = require("./commands/ListAttacksCommand");
|
|
@@ -31,6 +33,7 @@ const ListResourcesInProtectionGroupCommand_1 = require("./commands/ListResource
|
|
|
31
33
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
32
34
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
33
35
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
36
|
+
const UpdateApplicationLayerAutomaticResponseCommand_1 = require("./commands/UpdateApplicationLayerAutomaticResponseCommand");
|
|
34
37
|
const UpdateEmergencyContactSettingsCommand_1 = require("./commands/UpdateEmergencyContactSettingsCommand");
|
|
35
38
|
const UpdateProtectionGroupCommand_1 = require("./commands/UpdateProtectionGroupCommand");
|
|
36
39
|
const UpdateSubscriptionCommand_1 = require("./commands/UpdateSubscriptionCommand");
|
|
@@ -274,6 +277,20 @@ class Shield extends ShieldClient_1.ShieldClient {
|
|
|
274
277
|
return this.send(command, optionsOrCb);
|
|
275
278
|
}
|
|
276
279
|
}
|
|
280
|
+
disableApplicationLayerAutomaticResponse(args, optionsOrCb, cb) {
|
|
281
|
+
const command = new DisableApplicationLayerAutomaticResponseCommand_1.DisableApplicationLayerAutomaticResponseCommand(args);
|
|
282
|
+
if (typeof optionsOrCb === "function") {
|
|
283
|
+
this.send(command, optionsOrCb);
|
|
284
|
+
}
|
|
285
|
+
else if (typeof cb === "function") {
|
|
286
|
+
if (typeof optionsOrCb !== "object")
|
|
287
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
288
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
289
|
+
}
|
|
290
|
+
else {
|
|
291
|
+
return this.send(command, optionsOrCb);
|
|
292
|
+
}
|
|
293
|
+
}
|
|
277
294
|
disableProactiveEngagement(args, optionsOrCb, cb) {
|
|
278
295
|
const command = new DisableProactiveEngagementCommand_1.DisableProactiveEngagementCommand(args);
|
|
279
296
|
if (typeof optionsOrCb === "function") {
|
|
@@ -330,6 +347,20 @@ class Shield extends ShieldClient_1.ShieldClient {
|
|
|
330
347
|
return this.send(command, optionsOrCb);
|
|
331
348
|
}
|
|
332
349
|
}
|
|
350
|
+
enableApplicationLayerAutomaticResponse(args, optionsOrCb, cb) {
|
|
351
|
+
const command = new EnableApplicationLayerAutomaticResponseCommand_1.EnableApplicationLayerAutomaticResponseCommand(args);
|
|
352
|
+
if (typeof optionsOrCb === "function") {
|
|
353
|
+
this.send(command, optionsOrCb);
|
|
354
|
+
}
|
|
355
|
+
else if (typeof cb === "function") {
|
|
356
|
+
if (typeof optionsOrCb !== "object")
|
|
357
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
358
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
359
|
+
}
|
|
360
|
+
else {
|
|
361
|
+
return this.send(command, optionsOrCb);
|
|
362
|
+
}
|
|
363
|
+
}
|
|
333
364
|
enableProactiveEngagement(args, optionsOrCb, cb) {
|
|
334
365
|
const command = new EnableProactiveEngagementCommand_1.EnableProactiveEngagementCommand(args);
|
|
335
366
|
if (typeof optionsOrCb === "function") {
|
|
@@ -456,6 +487,20 @@ class Shield extends ShieldClient_1.ShieldClient {
|
|
|
456
487
|
return this.send(command, optionsOrCb);
|
|
457
488
|
}
|
|
458
489
|
}
|
|
490
|
+
updateApplicationLayerAutomaticResponse(args, optionsOrCb, cb) {
|
|
491
|
+
const command = new UpdateApplicationLayerAutomaticResponseCommand_1.UpdateApplicationLayerAutomaticResponseCommand(args);
|
|
492
|
+
if (typeof optionsOrCb === "function") {
|
|
493
|
+
this.send(command, optionsOrCb);
|
|
494
|
+
}
|
|
495
|
+
else if (typeof cb === "function") {
|
|
496
|
+
if (typeof optionsOrCb !== "object")
|
|
497
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
498
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
499
|
+
}
|
|
500
|
+
else {
|
|
501
|
+
return this.send(command, optionsOrCb);
|
|
502
|
+
}
|
|
503
|
+
}
|
|
459
504
|
updateEmergencyContactSettings(args, optionsOrCb, cb) {
|
|
460
505
|
const command = new UpdateEmergencyContactSettingsCommand_1.UpdateEmergencyContactSettingsCommand(args);
|
|
461
506
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DisableApplicationLayerAutomaticResponseCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class DisableApplicationLayerAutomaticResponseCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "ShieldClient";
|
|
18
|
+
const commandName = "DisableApplicationLayerAutomaticResponseCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DisableApplicationLayerAutomaticResponseRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DisableApplicationLayerAutomaticResponseResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1DisableApplicationLayerAutomaticResponseCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1DisableApplicationLayerAutomaticResponseCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DisableApplicationLayerAutomaticResponseCommand = DisableApplicationLayerAutomaticResponseCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EnableApplicationLayerAutomaticResponseCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class EnableApplicationLayerAutomaticResponseCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "ShieldClient";
|
|
18
|
+
const commandName = "EnableApplicationLayerAutomaticResponseCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.EnableApplicationLayerAutomaticResponseRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.EnableApplicationLayerAutomaticResponseResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1EnableApplicationLayerAutomaticResponseCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1EnableApplicationLayerAutomaticResponseCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.EnableApplicationLayerAutomaticResponseCommand = EnableApplicationLayerAutomaticResponseCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateApplicationLayerAutomaticResponseCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class UpdateApplicationLayerAutomaticResponseCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "ShieldClient";
|
|
18
|
+
const commandName = "UpdateApplicationLayerAutomaticResponseCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.UpdateApplicationLayerAutomaticResponseRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.UpdateApplicationLayerAutomaticResponseResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1UpdateApplicationLayerAutomaticResponseCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1UpdateApplicationLayerAutomaticResponseCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.UpdateApplicationLayerAutomaticResponseCommand = UpdateApplicationLayerAutomaticResponseCommand;
|
|
@@ -18,10 +18,12 @@ tslib_1.__exportStar(require("./DescribeEmergencyContactSettingsCommand"), expor
|
|
|
18
18
|
tslib_1.__exportStar(require("./DescribeProtectionCommand"), exports);
|
|
19
19
|
tslib_1.__exportStar(require("./DescribeProtectionGroupCommand"), exports);
|
|
20
20
|
tslib_1.__exportStar(require("./DescribeSubscriptionCommand"), exports);
|
|
21
|
+
tslib_1.__exportStar(require("./DisableApplicationLayerAutomaticResponseCommand"), exports);
|
|
21
22
|
tslib_1.__exportStar(require("./DisableProactiveEngagementCommand"), exports);
|
|
22
23
|
tslib_1.__exportStar(require("./DisassociateDRTLogBucketCommand"), exports);
|
|
23
24
|
tslib_1.__exportStar(require("./DisassociateDRTRoleCommand"), exports);
|
|
24
25
|
tslib_1.__exportStar(require("./DisassociateHealthCheckCommand"), exports);
|
|
26
|
+
tslib_1.__exportStar(require("./EnableApplicationLayerAutomaticResponseCommand"), exports);
|
|
25
27
|
tslib_1.__exportStar(require("./EnableProactiveEngagementCommand"), exports);
|
|
26
28
|
tslib_1.__exportStar(require("./GetSubscriptionStateCommand"), exports);
|
|
27
29
|
tslib_1.__exportStar(require("./ListAttacksCommand"), exports);
|
|
@@ -31,6 +33,7 @@ tslib_1.__exportStar(require("./ListResourcesInProtectionGroupCommand"), exports
|
|
|
31
33
|
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
32
34
|
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
33
35
|
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
36
|
+
tslib_1.__exportStar(require("./UpdateApplicationLayerAutomaticResponseCommand"), exports);
|
|
34
37
|
tslib_1.__exportStar(require("./UpdateEmergencyContactSettingsCommand"), exports);
|
|
35
38
|
tslib_1.__exportStar(require("./UpdateProtectionGroupCommand"), exports);
|
|
36
39
|
tslib_1.__exportStar(require("./UpdateSubscriptionCommand"), exports);
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -1,20 +1,37 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.UpdateSubscriptionResponse = exports.UpdateSubscriptionRequest = exports.UpdateProtectionGroupResponse = exports.UpdateProtectionGroupRequest = exports.UpdateEmergencyContactSettingsResponse = exports.UpdateEmergencyContactSettingsRequest = exports.
|
|
6
|
-
var
|
|
7
|
-
(function (
|
|
8
|
-
|
|
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;
|
|
6
|
+
var BlockAction;
|
|
7
|
+
(function (BlockAction) {
|
|
8
|
+
BlockAction.filterSensitiveLog = (obj) => ({
|
|
9
9
|
...obj,
|
|
10
10
|
});
|
|
11
|
-
})(
|
|
12
|
-
var
|
|
13
|
-
(function (
|
|
14
|
-
|
|
11
|
+
})(BlockAction = exports.BlockAction || (exports.BlockAction = {}));
|
|
12
|
+
var CountAction;
|
|
13
|
+
(function (CountAction) {
|
|
14
|
+
CountAction.filterSensitiveLog = (obj) => ({
|
|
15
15
|
...obj,
|
|
16
16
|
});
|
|
17
|
-
})(
|
|
17
|
+
})(CountAction = exports.CountAction || (exports.CountAction = {}));
|
|
18
|
+
var ResponseAction;
|
|
19
|
+
(function (ResponseAction) {
|
|
20
|
+
ResponseAction.filterSensitiveLog = (obj) => ({
|
|
21
|
+
...obj,
|
|
22
|
+
});
|
|
23
|
+
})(ResponseAction = exports.ResponseAction || (exports.ResponseAction = {}));
|
|
24
|
+
var ApplicationLayerAutomaticResponseStatus;
|
|
25
|
+
(function (ApplicationLayerAutomaticResponseStatus) {
|
|
26
|
+
ApplicationLayerAutomaticResponseStatus["DISABLED"] = "DISABLED";
|
|
27
|
+
ApplicationLayerAutomaticResponseStatus["ENABLED"] = "ENABLED";
|
|
28
|
+
})(ApplicationLayerAutomaticResponseStatus = exports.ApplicationLayerAutomaticResponseStatus || (exports.ApplicationLayerAutomaticResponseStatus = {}));
|
|
29
|
+
var ApplicationLayerAutomaticResponseConfiguration;
|
|
30
|
+
(function (ApplicationLayerAutomaticResponseConfiguration) {
|
|
31
|
+
ApplicationLayerAutomaticResponseConfiguration.filterSensitiveLog = (obj) => ({
|
|
32
|
+
...obj,
|
|
33
|
+
});
|
|
34
|
+
})(ApplicationLayerAutomaticResponseConfiguration = exports.ApplicationLayerAutomaticResponseConfiguration || (exports.ApplicationLayerAutomaticResponseConfiguration = {}));
|
|
18
35
|
var AssociateDRTLogBucketRequest;
|
|
19
36
|
(function (AssociateDRTLogBucketRequest) {
|
|
20
37
|
AssociateDRTLogBucketRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -27,18 +44,6 @@ var AssociateDRTLogBucketResponse;
|
|
|
27
44
|
...obj,
|
|
28
45
|
});
|
|
29
46
|
})(AssociateDRTLogBucketResponse = exports.AssociateDRTLogBucketResponse || (exports.AssociateDRTLogBucketResponse = {}));
|
|
30
|
-
var InternalErrorException;
|
|
31
|
-
(function (InternalErrorException) {
|
|
32
|
-
InternalErrorException.filterSensitiveLog = (obj) => ({
|
|
33
|
-
...obj,
|
|
34
|
-
});
|
|
35
|
-
})(InternalErrorException = exports.InternalErrorException || (exports.InternalErrorException = {}));
|
|
36
|
-
var InvalidOperationException;
|
|
37
|
-
(function (InvalidOperationException) {
|
|
38
|
-
InvalidOperationException.filterSensitiveLog = (obj) => ({
|
|
39
|
-
...obj,
|
|
40
|
-
});
|
|
41
|
-
})(InvalidOperationException = exports.InvalidOperationException || (exports.InvalidOperationException = {}));
|
|
42
47
|
var ValidationExceptionField;
|
|
43
48
|
(function (ValidationExceptionField) {
|
|
44
49
|
ValidationExceptionField.filterSensitiveLog = (obj) => ({
|
|
@@ -50,36 +55,6 @@ var ValidationExceptionReason;
|
|
|
50
55
|
ValidationExceptionReason["FIELD_VALIDATION_FAILED"] = "FIELD_VALIDATION_FAILED";
|
|
51
56
|
ValidationExceptionReason["OTHER"] = "OTHER";
|
|
52
57
|
})(ValidationExceptionReason = exports.ValidationExceptionReason || (exports.ValidationExceptionReason = {}));
|
|
53
|
-
var InvalidParameterException;
|
|
54
|
-
(function (InvalidParameterException) {
|
|
55
|
-
InvalidParameterException.filterSensitiveLog = (obj) => ({
|
|
56
|
-
...obj,
|
|
57
|
-
});
|
|
58
|
-
})(InvalidParameterException = exports.InvalidParameterException || (exports.InvalidParameterException = {}));
|
|
59
|
-
var LimitsExceededException;
|
|
60
|
-
(function (LimitsExceededException) {
|
|
61
|
-
LimitsExceededException.filterSensitiveLog = (obj) => ({
|
|
62
|
-
...obj,
|
|
63
|
-
});
|
|
64
|
-
})(LimitsExceededException = exports.LimitsExceededException || (exports.LimitsExceededException = {}));
|
|
65
|
-
var NoAssociatedRoleException;
|
|
66
|
-
(function (NoAssociatedRoleException) {
|
|
67
|
-
NoAssociatedRoleException.filterSensitiveLog = (obj) => ({
|
|
68
|
-
...obj,
|
|
69
|
-
});
|
|
70
|
-
})(NoAssociatedRoleException = exports.NoAssociatedRoleException || (exports.NoAssociatedRoleException = {}));
|
|
71
|
-
var OptimisticLockException;
|
|
72
|
-
(function (OptimisticLockException) {
|
|
73
|
-
OptimisticLockException.filterSensitiveLog = (obj) => ({
|
|
74
|
-
...obj,
|
|
75
|
-
});
|
|
76
|
-
})(OptimisticLockException = exports.OptimisticLockException || (exports.OptimisticLockException = {}));
|
|
77
|
-
var ResourceNotFoundException;
|
|
78
|
-
(function (ResourceNotFoundException) {
|
|
79
|
-
ResourceNotFoundException.filterSensitiveLog = (obj) => ({
|
|
80
|
-
...obj,
|
|
81
|
-
});
|
|
82
|
-
})(ResourceNotFoundException = exports.ResourceNotFoundException || (exports.ResourceNotFoundException = {}));
|
|
83
58
|
var AssociateDRTRoleRequest;
|
|
84
59
|
(function (AssociateDRTRoleRequest) {
|
|
85
60
|
AssociateDRTRoleRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -245,18 +220,6 @@ var CreateProtectionResponse;
|
|
|
245
220
|
...obj,
|
|
246
221
|
});
|
|
247
222
|
})(CreateProtectionResponse = exports.CreateProtectionResponse || (exports.CreateProtectionResponse = {}));
|
|
248
|
-
var InvalidResourceException;
|
|
249
|
-
(function (InvalidResourceException) {
|
|
250
|
-
InvalidResourceException.filterSensitiveLog = (obj) => ({
|
|
251
|
-
...obj,
|
|
252
|
-
});
|
|
253
|
-
})(InvalidResourceException = exports.InvalidResourceException || (exports.InvalidResourceException = {}));
|
|
254
|
-
var ResourceAlreadyExistsException;
|
|
255
|
-
(function (ResourceAlreadyExistsException) {
|
|
256
|
-
ResourceAlreadyExistsException.filterSensitiveLog = (obj) => ({
|
|
257
|
-
...obj,
|
|
258
|
-
});
|
|
259
|
-
})(ResourceAlreadyExistsException = exports.ResourceAlreadyExistsException || (exports.ResourceAlreadyExistsException = {}));
|
|
260
223
|
var ProtectionGroupAggregation;
|
|
261
224
|
(function (ProtectionGroupAggregation) {
|
|
262
225
|
ProtectionGroupAggregation["MAX"] = "MAX";
|
|
@@ -338,12 +301,6 @@ var DeleteSubscriptionResponse;
|
|
|
338
301
|
...obj,
|
|
339
302
|
});
|
|
340
303
|
})(DeleteSubscriptionResponse = exports.DeleteSubscriptionResponse || (exports.DeleteSubscriptionResponse = {}));
|
|
341
|
-
var LockedSubscriptionException;
|
|
342
|
-
(function (LockedSubscriptionException) {
|
|
343
|
-
LockedSubscriptionException.filterSensitiveLog = (obj) => ({
|
|
344
|
-
...obj,
|
|
345
|
-
});
|
|
346
|
-
})(LockedSubscriptionException = exports.LockedSubscriptionException || (exports.LockedSubscriptionException = {}));
|
|
347
304
|
var DescribeAttackRequest;
|
|
348
305
|
(function (DescribeAttackRequest) {
|
|
349
306
|
DescribeAttackRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -494,6 +451,18 @@ var DescribeSubscriptionResponse;
|
|
|
494
451
|
...obj,
|
|
495
452
|
});
|
|
496
453
|
})(DescribeSubscriptionResponse = exports.DescribeSubscriptionResponse || (exports.DescribeSubscriptionResponse = {}));
|
|
454
|
+
var DisableApplicationLayerAutomaticResponseRequest;
|
|
455
|
+
(function (DisableApplicationLayerAutomaticResponseRequest) {
|
|
456
|
+
DisableApplicationLayerAutomaticResponseRequest.filterSensitiveLog = (obj) => ({
|
|
457
|
+
...obj,
|
|
458
|
+
});
|
|
459
|
+
})(DisableApplicationLayerAutomaticResponseRequest = exports.DisableApplicationLayerAutomaticResponseRequest || (exports.DisableApplicationLayerAutomaticResponseRequest = {}));
|
|
460
|
+
var DisableApplicationLayerAutomaticResponseResponse;
|
|
461
|
+
(function (DisableApplicationLayerAutomaticResponseResponse) {
|
|
462
|
+
DisableApplicationLayerAutomaticResponseResponse.filterSensitiveLog = (obj) => ({
|
|
463
|
+
...obj,
|
|
464
|
+
});
|
|
465
|
+
})(DisableApplicationLayerAutomaticResponseResponse = exports.DisableApplicationLayerAutomaticResponseResponse || (exports.DisableApplicationLayerAutomaticResponseResponse = {}));
|
|
497
466
|
var DisableProactiveEngagementRequest;
|
|
498
467
|
(function (DisableProactiveEngagementRequest) {
|
|
499
468
|
DisableProactiveEngagementRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -542,6 +511,18 @@ var DisassociateHealthCheckResponse;
|
|
|
542
511
|
...obj,
|
|
543
512
|
});
|
|
544
513
|
})(DisassociateHealthCheckResponse = exports.DisassociateHealthCheckResponse || (exports.DisassociateHealthCheckResponse = {}));
|
|
514
|
+
var EnableApplicationLayerAutomaticResponseRequest;
|
|
515
|
+
(function (EnableApplicationLayerAutomaticResponseRequest) {
|
|
516
|
+
EnableApplicationLayerAutomaticResponseRequest.filterSensitiveLog = (obj) => ({
|
|
517
|
+
...obj,
|
|
518
|
+
});
|
|
519
|
+
})(EnableApplicationLayerAutomaticResponseRequest = exports.EnableApplicationLayerAutomaticResponseRequest || (exports.EnableApplicationLayerAutomaticResponseRequest = {}));
|
|
520
|
+
var EnableApplicationLayerAutomaticResponseResponse;
|
|
521
|
+
(function (EnableApplicationLayerAutomaticResponseResponse) {
|
|
522
|
+
EnableApplicationLayerAutomaticResponseResponse.filterSensitiveLog = (obj) => ({
|
|
523
|
+
...obj,
|
|
524
|
+
});
|
|
525
|
+
})(EnableApplicationLayerAutomaticResponseResponse = exports.EnableApplicationLayerAutomaticResponseResponse || (exports.EnableApplicationLayerAutomaticResponseResponse = {}));
|
|
545
526
|
var EnableProactiveEngagementRequest;
|
|
546
527
|
(function (EnableProactiveEngagementRequest) {
|
|
547
528
|
EnableProactiveEngagementRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -583,12 +564,6 @@ var ListAttacksResponse;
|
|
|
583
564
|
...obj,
|
|
584
565
|
});
|
|
585
566
|
})(ListAttacksResponse = exports.ListAttacksResponse || (exports.ListAttacksResponse = {}));
|
|
586
|
-
var InvalidPaginationTokenException;
|
|
587
|
-
(function (InvalidPaginationTokenException) {
|
|
588
|
-
InvalidPaginationTokenException.filterSensitiveLog = (obj) => ({
|
|
589
|
-
...obj,
|
|
590
|
-
});
|
|
591
|
-
})(InvalidPaginationTokenException = exports.InvalidPaginationTokenException || (exports.InvalidPaginationTokenException = {}));
|
|
592
567
|
var ListProtectionGroupsRequest;
|
|
593
568
|
(function (ListProtectionGroupsRequest) {
|
|
594
569
|
ListProtectionGroupsRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -661,6 +636,18 @@ var UntagResourceResponse;
|
|
|
661
636
|
...obj,
|
|
662
637
|
});
|
|
663
638
|
})(UntagResourceResponse = exports.UntagResourceResponse || (exports.UntagResourceResponse = {}));
|
|
639
|
+
var UpdateApplicationLayerAutomaticResponseRequest;
|
|
640
|
+
(function (UpdateApplicationLayerAutomaticResponseRequest) {
|
|
641
|
+
UpdateApplicationLayerAutomaticResponseRequest.filterSensitiveLog = (obj) => ({
|
|
642
|
+
...obj,
|
|
643
|
+
});
|
|
644
|
+
})(UpdateApplicationLayerAutomaticResponseRequest = exports.UpdateApplicationLayerAutomaticResponseRequest || (exports.UpdateApplicationLayerAutomaticResponseRequest = {}));
|
|
645
|
+
var UpdateApplicationLayerAutomaticResponseResponse;
|
|
646
|
+
(function (UpdateApplicationLayerAutomaticResponseResponse) {
|
|
647
|
+
UpdateApplicationLayerAutomaticResponseResponse.filterSensitiveLog = (obj) => ({
|
|
648
|
+
...obj,
|
|
649
|
+
});
|
|
650
|
+
})(UpdateApplicationLayerAutomaticResponseResponse = exports.UpdateApplicationLayerAutomaticResponseResponse || (exports.UpdateApplicationLayerAutomaticResponseResponse = {}));
|
|
664
651
|
var UpdateEmergencyContactSettingsRequest;
|
|
665
652
|
(function (UpdateEmergencyContactSettingsRequest) {
|
|
666
653
|
UpdateEmergencyContactSettingsRequest.filterSensitiveLog = (obj) => ({
|