@aws-sdk/client-shield 3.183.0 → 3.186.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 +19 -0
- package/dist-cjs/protocols/Aws_json1_1.js +2 -2
- package/dist-es/Shield.js +153 -146
- package/dist-es/ShieldClient.js +28 -22
- package/dist-es/commands/AssociateDRTLogBucketCommand.js +28 -21
- package/dist-es/commands/AssociateDRTRoleCommand.js +28 -21
- package/dist-es/commands/AssociateHealthCheckCommand.js +28 -21
- package/dist-es/commands/AssociateProactiveEngagementDetailsCommand.js +28 -21
- package/dist-es/commands/CreateProtectionCommand.js +28 -21
- package/dist-es/commands/CreateProtectionGroupCommand.js +28 -21
- package/dist-es/commands/CreateSubscriptionCommand.js +28 -21
- package/dist-es/commands/DeleteProtectionCommand.js +28 -21
- package/dist-es/commands/DeleteProtectionGroupCommand.js +28 -21
- package/dist-es/commands/DeleteSubscriptionCommand.js +28 -21
- package/dist-es/commands/DescribeAttackCommand.js +28 -21
- package/dist-es/commands/DescribeAttackStatisticsCommand.js +28 -21
- package/dist-es/commands/DescribeDRTAccessCommand.js +28 -21
- package/dist-es/commands/DescribeEmergencyContactSettingsCommand.js +28 -21
- package/dist-es/commands/DescribeProtectionCommand.js +28 -21
- package/dist-es/commands/DescribeProtectionGroupCommand.js +28 -21
- package/dist-es/commands/DescribeSubscriptionCommand.js +28 -21
- package/dist-es/commands/DisableApplicationLayerAutomaticResponseCommand.js +28 -21
- package/dist-es/commands/DisableProactiveEngagementCommand.js +28 -21
- package/dist-es/commands/DisassociateDRTLogBucketCommand.js +28 -21
- package/dist-es/commands/DisassociateDRTRoleCommand.js +28 -21
- package/dist-es/commands/DisassociateHealthCheckCommand.js +28 -21
- package/dist-es/commands/EnableApplicationLayerAutomaticResponseCommand.js +28 -21
- package/dist-es/commands/EnableProactiveEngagementCommand.js +28 -21
- package/dist-es/commands/GetSubscriptionStateCommand.js +28 -21
- package/dist-es/commands/ListAttacksCommand.js +28 -21
- package/dist-es/commands/ListProtectionGroupsCommand.js +28 -21
- package/dist-es/commands/ListProtectionsCommand.js +28 -21
- package/dist-es/commands/ListResourcesInProtectionGroupCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/commands/UpdateApplicationLayerAutomaticResponseCommand.js +28 -21
- package/dist-es/commands/UpdateEmergencyContactSettingsCommand.js +28 -21
- package/dist-es/commands/UpdateProtectionGroupCommand.js +28 -21
- package/dist-es/commands/UpdateSubscriptionCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/ShieldServiceException.js +10 -5
- package/dist-es/models/models_0.js +253 -458
- package/dist-es/pagination/ListAttacksPaginator.js +68 -25
- package/dist-es/pagination/ListProtectionGroupsPaginator.js +68 -25
- package/dist-es/pagination/ListProtectionsPaginator.js +68 -25
- package/dist-es/pagination/ListResourcesInProtectionGroupPaginator.js +68 -25
- package/dist-es/protocols/Aws_json1_1.js +3132 -2384
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +33 -33
|
@@ -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 { DisassociateDRTLogBucketRequestFilterSensitiveLog, DisassociateDRTLogBucketResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DisassociateDRTLogBucketCommand, serializeAws_json1_1DisassociateDRTLogBucketCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DisassociateDRTLogBucketCommand = (function (_super) {
|
|
7
|
+
__extends(DisassociateDRTLogBucketCommand, _super);
|
|
8
|
+
function DisassociateDRTLogBucketCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DisassociateDRTLogBucketCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "DisassociateDRTLogBucketCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DisassociateDRTLogBucketRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DisassociateDRTLogBucketResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DisassociateDRTLogBucketCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DisassociateDRTLogBucketCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DisassociateDRTLogBucketCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DisassociateDRTLogBucketCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DisassociateDRTLogBucketCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DisassociateDRTLogBucketCommand };
|
|
@@ -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 { DisassociateDRTRoleRequestFilterSensitiveLog, DisassociateDRTRoleResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DisassociateDRTRoleCommand, serializeAws_json1_1DisassociateDRTRoleCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DisassociateDRTRoleCommand = (function (_super) {
|
|
7
|
+
__extends(DisassociateDRTRoleCommand, _super);
|
|
8
|
+
function DisassociateDRTRoleCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DisassociateDRTRoleCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "DisassociateDRTRoleCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DisassociateDRTRoleRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DisassociateDRTRoleResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DisassociateDRTRoleCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DisassociateDRTRoleCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DisassociateDRTRoleCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DisassociateDRTRoleCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DisassociateDRTRoleCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DisassociateDRTRoleCommand };
|
|
@@ -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 { DisassociateHealthCheckRequestFilterSensitiveLog, DisassociateHealthCheckResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DisassociateHealthCheckCommand, serializeAws_json1_1DisassociateHealthCheckCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DisassociateHealthCheckCommand = (function (_super) {
|
|
7
|
+
__extends(DisassociateHealthCheckCommand, _super);
|
|
8
|
+
function DisassociateHealthCheckCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DisassociateHealthCheckCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "DisassociateHealthCheckCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DisassociateHealthCheckRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DisassociateHealthCheckResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DisassociateHealthCheckCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DisassociateHealthCheckCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DisassociateHealthCheckCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DisassociateHealthCheckCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DisassociateHealthCheckCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DisassociateHealthCheckCommand };
|
|
@@ -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 { EnableApplicationLayerAutomaticResponseRequestFilterSensitiveLog, EnableApplicationLayerAutomaticResponseResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1EnableApplicationLayerAutomaticResponseCommand, serializeAws_json1_1EnableApplicationLayerAutomaticResponseCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var EnableApplicationLayerAutomaticResponseCommand = (function (_super) {
|
|
7
|
+
__extends(EnableApplicationLayerAutomaticResponseCommand, _super);
|
|
8
|
+
function EnableApplicationLayerAutomaticResponseCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
EnableApplicationLayerAutomaticResponseCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "EnableApplicationLayerAutomaticResponseCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: EnableApplicationLayerAutomaticResponseRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: EnableApplicationLayerAutomaticResponseResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
EnableApplicationLayerAutomaticResponseCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1EnableApplicationLayerAutomaticResponseCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
EnableApplicationLayerAutomaticResponseCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1EnableApplicationLayerAutomaticResponseCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return EnableApplicationLayerAutomaticResponseCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { EnableApplicationLayerAutomaticResponseCommand };
|
|
@@ -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 { EnableProactiveEngagementRequestFilterSensitiveLog, EnableProactiveEngagementResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1EnableProactiveEngagementCommand, serializeAws_json1_1EnableProactiveEngagementCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var EnableProactiveEngagementCommand = (function (_super) {
|
|
7
|
+
__extends(EnableProactiveEngagementCommand, _super);
|
|
8
|
+
function EnableProactiveEngagementCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
EnableProactiveEngagementCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "EnableProactiveEngagementCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: EnableProactiveEngagementRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: EnableProactiveEngagementResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
EnableProactiveEngagementCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1EnableProactiveEngagementCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
EnableProactiveEngagementCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1EnableProactiveEngagementCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return EnableProactiveEngagementCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { EnableProactiveEngagementCommand };
|
|
@@ -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 { GetSubscriptionStateRequestFilterSensitiveLog, GetSubscriptionStateResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1GetSubscriptionStateCommand, serializeAws_json1_1GetSubscriptionStateCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetSubscriptionStateCommand = (function (_super) {
|
|
7
|
+
__extends(GetSubscriptionStateCommand, _super);
|
|
8
|
+
function GetSubscriptionStateCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetSubscriptionStateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "GetSubscriptionStateCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetSubscriptionStateRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetSubscriptionStateResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetSubscriptionStateCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetSubscriptionStateCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetSubscriptionStateCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetSubscriptionStateCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetSubscriptionStateCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetSubscriptionStateCommand };
|
|
@@ -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 { ListAttacksRequestFilterSensitiveLog, ListAttacksResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1ListAttacksCommand, serializeAws_json1_1ListAttacksCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListAttacksCommand = (function (_super) {
|
|
7
|
+
__extends(ListAttacksCommand, _super);
|
|
8
|
+
function ListAttacksCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListAttacksCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "ListAttacksCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListAttacksRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListAttacksResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListAttacksCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1ListAttacksCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListAttacksCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1ListAttacksCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListAttacksCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListAttacksCommand };
|
|
@@ -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 { ListProtectionGroupsRequestFilterSensitiveLog, ListProtectionGroupsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1ListProtectionGroupsCommand, serializeAws_json1_1ListProtectionGroupsCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListProtectionGroupsCommand = (function (_super) {
|
|
7
|
+
__extends(ListProtectionGroupsCommand, _super);
|
|
8
|
+
function ListProtectionGroupsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListProtectionGroupsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "ListProtectionGroupsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListProtectionGroupsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListProtectionGroupsResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListProtectionGroupsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1ListProtectionGroupsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListProtectionGroupsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1ListProtectionGroupsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListProtectionGroupsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListProtectionGroupsCommand };
|
|
@@ -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 { ListProtectionsRequestFilterSensitiveLog, ListProtectionsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1ListProtectionsCommand, serializeAws_json1_1ListProtectionsCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListProtectionsCommand = (function (_super) {
|
|
7
|
+
__extends(ListProtectionsCommand, _super);
|
|
8
|
+
function ListProtectionsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListProtectionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "ListProtectionsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListProtectionsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListProtectionsResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListProtectionsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1ListProtectionsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListProtectionsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1ListProtectionsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListProtectionsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListProtectionsCommand };
|
|
@@ -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 { ListResourcesInProtectionGroupRequestFilterSensitiveLog, ListResourcesInProtectionGroupResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1ListResourcesInProtectionGroupCommand, serializeAws_json1_1ListResourcesInProtectionGroupCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListResourcesInProtectionGroupCommand = (function (_super) {
|
|
7
|
+
__extends(ListResourcesInProtectionGroupCommand, _super);
|
|
8
|
+
function ListResourcesInProtectionGroupCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListResourcesInProtectionGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "ListResourcesInProtectionGroupCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListResourcesInProtectionGroupRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListResourcesInProtectionGroupResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListResourcesInProtectionGroupCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1ListResourcesInProtectionGroupCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListResourcesInProtectionGroupCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1ListResourcesInProtectionGroupCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListResourcesInProtectionGroupCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListResourcesInProtectionGroupCommand };
|