@aws-sdk/client-shield 3.183.0 → 3.185.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 (53) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +2 -2
  3. package/dist-es/Shield.js +153 -146
  4. package/dist-es/ShieldClient.js +28 -22
  5. package/dist-es/commands/AssociateDRTLogBucketCommand.js +28 -21
  6. package/dist-es/commands/AssociateDRTRoleCommand.js +28 -21
  7. package/dist-es/commands/AssociateHealthCheckCommand.js +28 -21
  8. package/dist-es/commands/AssociateProactiveEngagementDetailsCommand.js +28 -21
  9. package/dist-es/commands/CreateProtectionCommand.js +28 -21
  10. package/dist-es/commands/CreateProtectionGroupCommand.js +28 -21
  11. package/dist-es/commands/CreateSubscriptionCommand.js +28 -21
  12. package/dist-es/commands/DeleteProtectionCommand.js +28 -21
  13. package/dist-es/commands/DeleteProtectionGroupCommand.js +28 -21
  14. package/dist-es/commands/DeleteSubscriptionCommand.js +28 -21
  15. package/dist-es/commands/DescribeAttackCommand.js +28 -21
  16. package/dist-es/commands/DescribeAttackStatisticsCommand.js +28 -21
  17. package/dist-es/commands/DescribeDRTAccessCommand.js +28 -21
  18. package/dist-es/commands/DescribeEmergencyContactSettingsCommand.js +28 -21
  19. package/dist-es/commands/DescribeProtectionCommand.js +28 -21
  20. package/dist-es/commands/DescribeProtectionGroupCommand.js +28 -21
  21. package/dist-es/commands/DescribeSubscriptionCommand.js +28 -21
  22. package/dist-es/commands/DisableApplicationLayerAutomaticResponseCommand.js +28 -21
  23. package/dist-es/commands/DisableProactiveEngagementCommand.js +28 -21
  24. package/dist-es/commands/DisassociateDRTLogBucketCommand.js +28 -21
  25. package/dist-es/commands/DisassociateDRTRoleCommand.js +28 -21
  26. package/dist-es/commands/DisassociateHealthCheckCommand.js +28 -21
  27. package/dist-es/commands/EnableApplicationLayerAutomaticResponseCommand.js +28 -21
  28. package/dist-es/commands/EnableProactiveEngagementCommand.js +28 -21
  29. package/dist-es/commands/GetSubscriptionStateCommand.js +28 -21
  30. package/dist-es/commands/ListAttacksCommand.js +28 -21
  31. package/dist-es/commands/ListProtectionGroupsCommand.js +28 -21
  32. package/dist-es/commands/ListProtectionsCommand.js +28 -21
  33. package/dist-es/commands/ListResourcesInProtectionGroupCommand.js +28 -21
  34. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  35. package/dist-es/commands/TagResourceCommand.js +28 -21
  36. package/dist-es/commands/UntagResourceCommand.js +28 -21
  37. package/dist-es/commands/UpdateApplicationLayerAutomaticResponseCommand.js +28 -21
  38. package/dist-es/commands/UpdateEmergencyContactSettingsCommand.js +28 -21
  39. package/dist-es/commands/UpdateProtectionGroupCommand.js +28 -21
  40. package/dist-es/commands/UpdateSubscriptionCommand.js +28 -21
  41. package/dist-es/endpoints.js +8 -8
  42. package/dist-es/models/ShieldServiceException.js +10 -5
  43. package/dist-es/models/models_0.js +253 -458
  44. package/dist-es/pagination/ListAttacksPaginator.js +68 -25
  45. package/dist-es/pagination/ListProtectionGroupsPaginator.js +68 -25
  46. package/dist-es/pagination/ListProtectionsPaginator.js +68 -25
  47. package/dist-es/pagination/ListResourcesInProtectionGroupPaginator.js +68 -25
  48. package/dist-es/protocols/Aws_json1_1.js +3132 -2384
  49. package/dist-es/runtimeConfig.browser.js +12 -26
  50. package/dist-es/runtimeConfig.js +12 -30
  51. package/dist-es/runtimeConfig.native.js +5 -8
  52. package/dist-es/runtimeConfig.shared.js +11 -8
  53. package/package.json +5 -5
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteSubscriptionRequestFilterSensitiveLog, DeleteSubscriptionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteSubscriptionCommand, serializeAws_json1_1DeleteSubscriptionCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteSubscriptionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteSubscriptionCommand = (function (_super) {
7
+ __extends(DeleteSubscriptionCommand, _super);
8
+ function DeleteSubscriptionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteSubscriptionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ShieldClient";
15
- const commandName = "DeleteSubscriptionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ShieldClient";
18
+ var commandName = "DeleteSubscriptionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteSubscriptionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteSubscriptionResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteSubscriptionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteSubscriptionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteSubscriptionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteSubscriptionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteSubscriptionCommand;
38
+ }($Command));
39
+ export { DeleteSubscriptionCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeAttackRequestFilterSensitiveLog, DescribeAttackResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeAttackCommand, serializeAws_json1_1DescribeAttackCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeAttackCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeAttackCommand = (function (_super) {
7
+ __extends(DescribeAttackCommand, _super);
8
+ function DescribeAttackCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeAttackCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ShieldClient";
15
- const commandName = "DescribeAttackCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ShieldClient";
18
+ var commandName = "DescribeAttackCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeAttackRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeAttackResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeAttackCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeAttackCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeAttackCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeAttackCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeAttackCommand;
38
+ }($Command));
39
+ export { DescribeAttackCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeAttackStatisticsRequestFilterSensitiveLog, DescribeAttackStatisticsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeAttackStatisticsCommand, serializeAws_json1_1DescribeAttackStatisticsCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeAttackStatisticsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeAttackStatisticsCommand = (function (_super) {
7
+ __extends(DescribeAttackStatisticsCommand, _super);
8
+ function DescribeAttackStatisticsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeAttackStatisticsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ShieldClient";
15
- const commandName = "DescribeAttackStatisticsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ShieldClient";
18
+ var commandName = "DescribeAttackStatisticsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeAttackStatisticsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeAttackStatisticsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeAttackStatisticsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeAttackStatisticsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeAttackStatisticsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeAttackStatisticsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeAttackStatisticsCommand;
38
+ }($Command));
39
+ export { DescribeAttackStatisticsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeDRTAccessRequestFilterSensitiveLog, DescribeDRTAccessResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeDRTAccessCommand, serializeAws_json1_1DescribeDRTAccessCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeDRTAccessCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeDRTAccessCommand = (function (_super) {
7
+ __extends(DescribeDRTAccessCommand, _super);
8
+ function DescribeDRTAccessCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeDRTAccessCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ShieldClient";
15
- const commandName = "DescribeDRTAccessCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ShieldClient";
18
+ var commandName = "DescribeDRTAccessCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeDRTAccessRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeDRTAccessResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeDRTAccessCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeDRTAccessCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeDRTAccessCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeDRTAccessCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeDRTAccessCommand;
38
+ }($Command));
39
+ export { DescribeDRTAccessCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeEmergencyContactSettingsRequestFilterSensitiveLog, DescribeEmergencyContactSettingsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeEmergencyContactSettingsCommand, serializeAws_json1_1DescribeEmergencyContactSettingsCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeEmergencyContactSettingsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeEmergencyContactSettingsCommand = (function (_super) {
7
+ __extends(DescribeEmergencyContactSettingsCommand, _super);
8
+ function DescribeEmergencyContactSettingsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeEmergencyContactSettingsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ShieldClient";
15
- const commandName = "DescribeEmergencyContactSettingsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ShieldClient";
18
+ var commandName = "DescribeEmergencyContactSettingsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeEmergencyContactSettingsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeEmergencyContactSettingsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeEmergencyContactSettingsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeEmergencyContactSettingsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeEmergencyContactSettingsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeEmergencyContactSettingsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeEmergencyContactSettingsCommand;
38
+ }($Command));
39
+ export { DescribeEmergencyContactSettingsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeProtectionRequestFilterSensitiveLog, DescribeProtectionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeProtectionCommand, serializeAws_json1_1DescribeProtectionCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeProtectionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeProtectionCommand = (function (_super) {
7
+ __extends(DescribeProtectionCommand, _super);
8
+ function DescribeProtectionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeProtectionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ShieldClient";
15
- const commandName = "DescribeProtectionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ShieldClient";
18
+ var commandName = "DescribeProtectionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeProtectionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeProtectionResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeProtectionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeProtectionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeProtectionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeProtectionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeProtectionCommand;
38
+ }($Command));
39
+ export { DescribeProtectionCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeProtectionGroupRequestFilterSensitiveLog, DescribeProtectionGroupResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeProtectionGroupCommand, serializeAws_json1_1DescribeProtectionGroupCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeProtectionGroupCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeProtectionGroupCommand = (function (_super) {
7
+ __extends(DescribeProtectionGroupCommand, _super);
8
+ function DescribeProtectionGroupCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeProtectionGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ShieldClient";
15
- const commandName = "DescribeProtectionGroupCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ShieldClient";
18
+ var commandName = "DescribeProtectionGroupCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeProtectionGroupRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeProtectionGroupResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeProtectionGroupCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeProtectionGroupCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeProtectionGroupCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeProtectionGroupCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeProtectionGroupCommand;
38
+ }($Command));
39
+ export { DescribeProtectionGroupCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeSubscriptionRequestFilterSensitiveLog, DescribeSubscriptionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeSubscriptionCommand, serializeAws_json1_1DescribeSubscriptionCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeSubscriptionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeSubscriptionCommand = (function (_super) {
7
+ __extends(DescribeSubscriptionCommand, _super);
8
+ function DescribeSubscriptionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeSubscriptionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ShieldClient";
15
- const commandName = "DescribeSubscriptionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ShieldClient";
18
+ var commandName = "DescribeSubscriptionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeSubscriptionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeSubscriptionResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeSubscriptionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeSubscriptionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeSubscriptionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeSubscriptionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeSubscriptionCommand;
38
+ }($Command));
39
+ export { DescribeSubscriptionCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DisableApplicationLayerAutomaticResponseRequestFilterSensitiveLog, DisableApplicationLayerAutomaticResponseResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DisableApplicationLayerAutomaticResponseCommand, serializeAws_json1_1DisableApplicationLayerAutomaticResponseCommand, } from "../protocols/Aws_json1_1";
5
- export class DisableApplicationLayerAutomaticResponseCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DisableApplicationLayerAutomaticResponseCommand = (function (_super) {
7
+ __extends(DisableApplicationLayerAutomaticResponseCommand, _super);
8
+ function DisableApplicationLayerAutomaticResponseCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DisableApplicationLayerAutomaticResponseCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ShieldClient";
15
- const commandName = "DisableApplicationLayerAutomaticResponseCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ShieldClient";
18
+ var commandName = "DisableApplicationLayerAutomaticResponseCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DisableApplicationLayerAutomaticResponseRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DisableApplicationLayerAutomaticResponseResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DisableApplicationLayerAutomaticResponseCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DisableApplicationLayerAutomaticResponseCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DisableApplicationLayerAutomaticResponseCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DisableApplicationLayerAutomaticResponseCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DisableApplicationLayerAutomaticResponseCommand;
38
+ }($Command));
39
+ export { DisableApplicationLayerAutomaticResponseCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DisableProactiveEngagementRequestFilterSensitiveLog, DisableProactiveEngagementResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DisableProactiveEngagementCommand, serializeAws_json1_1DisableProactiveEngagementCommand, } from "../protocols/Aws_json1_1";
5
- export class DisableProactiveEngagementCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DisableProactiveEngagementCommand = (function (_super) {
7
+ __extends(DisableProactiveEngagementCommand, _super);
8
+ function DisableProactiveEngagementCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DisableProactiveEngagementCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ShieldClient";
15
- const commandName = "DisableProactiveEngagementCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ShieldClient";
18
+ var commandName = "DisableProactiveEngagementCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DisableProactiveEngagementRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DisableProactiveEngagementResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DisableProactiveEngagementCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DisableProactiveEngagementCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DisableProactiveEngagementCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DisableProactiveEngagementCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DisableProactiveEngagementCommand;
38
+ }($Command));
39
+ export { DisableProactiveEngagementCommand };