@aws-sdk/client-wafv2 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/WAFV2.js +201 -194
- package/dist-es/WAFV2Client.js +28 -22
- package/dist-es/commands/AssociateWebACLCommand.js +28 -21
- package/dist-es/commands/CheckCapacityCommand.js +28 -21
- package/dist-es/commands/CreateIPSetCommand.js +28 -21
- package/dist-es/commands/CreateRegexPatternSetCommand.js +28 -21
- package/dist-es/commands/CreateRuleGroupCommand.js +28 -21
- package/dist-es/commands/CreateWebACLCommand.js +28 -21
- package/dist-es/commands/DeleteFirewallManagerRuleGroupsCommand.js +28 -21
- package/dist-es/commands/DeleteIPSetCommand.js +28 -21
- package/dist-es/commands/DeleteLoggingConfigurationCommand.js +28 -21
- package/dist-es/commands/DeletePermissionPolicyCommand.js +28 -21
- package/dist-es/commands/DeleteRegexPatternSetCommand.js +28 -21
- package/dist-es/commands/DeleteRuleGroupCommand.js +28 -21
- package/dist-es/commands/DeleteWebACLCommand.js +28 -21
- package/dist-es/commands/DescribeManagedRuleGroupCommand.js +28 -21
- package/dist-es/commands/DisassociateWebACLCommand.js +28 -21
- package/dist-es/commands/GenerateMobileSdkReleaseUrlCommand.js +28 -21
- package/dist-es/commands/GetIPSetCommand.js +28 -21
- package/dist-es/commands/GetLoggingConfigurationCommand.js +28 -21
- package/dist-es/commands/GetManagedRuleSetCommand.js +28 -21
- package/dist-es/commands/GetMobileSdkReleaseCommand.js +28 -21
- package/dist-es/commands/GetPermissionPolicyCommand.js +28 -21
- package/dist-es/commands/GetRateBasedStatementManagedKeysCommand.js +28 -21
- package/dist-es/commands/GetRegexPatternSetCommand.js +28 -21
- package/dist-es/commands/GetRuleGroupCommand.js +28 -21
- package/dist-es/commands/GetSampledRequestsCommand.js +28 -21
- package/dist-es/commands/GetWebACLCommand.js +28 -21
- package/dist-es/commands/GetWebACLForResourceCommand.js +28 -21
- package/dist-es/commands/ListAvailableManagedRuleGroupVersionsCommand.js +28 -21
- package/dist-es/commands/ListAvailableManagedRuleGroupsCommand.js +28 -21
- package/dist-es/commands/ListIPSetsCommand.js +28 -21
- package/dist-es/commands/ListLoggingConfigurationsCommand.js +28 -21
- package/dist-es/commands/ListManagedRuleSetsCommand.js +28 -21
- package/dist-es/commands/ListMobileSdkReleasesCommand.js +28 -21
- package/dist-es/commands/ListRegexPatternSetsCommand.js +28 -21
- package/dist-es/commands/ListResourcesForWebACLCommand.js +28 -21
- package/dist-es/commands/ListRuleGroupsCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/ListWebACLsCommand.js +28 -21
- package/dist-es/commands/PutLoggingConfigurationCommand.js +28 -21
- package/dist-es/commands/PutManagedRuleSetVersionsCommand.js +28 -21
- package/dist-es/commands/PutPermissionPolicyCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/commands/UpdateIPSetCommand.js +28 -21
- package/dist-es/commands/UpdateManagedRuleSetVersionExpiryDateCommand.js +28 -21
- package/dist-es/commands/UpdateRegexPatternSetCommand.js +28 -21
- package/dist-es/commands/UpdateRuleGroupCommand.js +28 -21
- package/dist-es/commands/UpdateWebACLCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/WAFV2ServiceException.js +10 -5
- package/dist-es/models/models_0.js +404 -775
- package/dist-es/protocols/Aws_json1_1.js +4810 -4048
- 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 { GetMobileSdkReleaseRequestFilterSensitiveLog, GetMobileSdkReleaseResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1GetMobileSdkReleaseCommand, serializeAws_json1_1GetMobileSdkReleaseCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetMobileSdkReleaseCommand = (function (_super) {
|
|
7
|
+
__extends(GetMobileSdkReleaseCommand, _super);
|
|
8
|
+
function GetMobileSdkReleaseCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetMobileSdkReleaseCommand.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 = "WAFV2Client";
|
|
18
|
+
var commandName = "GetMobileSdkReleaseCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetMobileSdkReleaseRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetMobileSdkReleaseResponseFilterSensitiveLog,
|
|
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
|
+
GetMobileSdkReleaseCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetMobileSdkReleaseCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetMobileSdkReleaseCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetMobileSdkReleaseCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetMobileSdkReleaseCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetMobileSdkReleaseCommand };
|
|
@@ -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 { GetPermissionPolicyRequestFilterSensitiveLog, GetPermissionPolicyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1GetPermissionPolicyCommand, serializeAws_json1_1GetPermissionPolicyCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetPermissionPolicyCommand = (function (_super) {
|
|
7
|
+
__extends(GetPermissionPolicyCommand, _super);
|
|
8
|
+
function GetPermissionPolicyCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetPermissionPolicyCommand.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 = "WAFV2Client";
|
|
18
|
+
var commandName = "GetPermissionPolicyCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetPermissionPolicyRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetPermissionPolicyResponseFilterSensitiveLog,
|
|
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
|
+
GetPermissionPolicyCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetPermissionPolicyCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetPermissionPolicyCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetPermissionPolicyCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetPermissionPolicyCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetPermissionPolicyCommand };
|
|
@@ -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 { GetRateBasedStatementManagedKeysRequestFilterSensitiveLog, GetRateBasedStatementManagedKeysResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1GetRateBasedStatementManagedKeysCommand, serializeAws_json1_1GetRateBasedStatementManagedKeysCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetRateBasedStatementManagedKeysCommand = (function (_super) {
|
|
7
|
+
__extends(GetRateBasedStatementManagedKeysCommand, _super);
|
|
8
|
+
function GetRateBasedStatementManagedKeysCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetRateBasedStatementManagedKeysCommand.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 = "WAFV2Client";
|
|
18
|
+
var commandName = "GetRateBasedStatementManagedKeysCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetRateBasedStatementManagedKeysRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetRateBasedStatementManagedKeysResponseFilterSensitiveLog,
|
|
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
|
+
GetRateBasedStatementManagedKeysCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetRateBasedStatementManagedKeysCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetRateBasedStatementManagedKeysCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetRateBasedStatementManagedKeysCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetRateBasedStatementManagedKeysCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetRateBasedStatementManagedKeysCommand };
|
|
@@ -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 { GetRegexPatternSetRequestFilterSensitiveLog, GetRegexPatternSetResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1GetRegexPatternSetCommand, serializeAws_json1_1GetRegexPatternSetCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetRegexPatternSetCommand = (function (_super) {
|
|
7
|
+
__extends(GetRegexPatternSetCommand, _super);
|
|
8
|
+
function GetRegexPatternSetCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetRegexPatternSetCommand.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 = "WAFV2Client";
|
|
18
|
+
var commandName = "GetRegexPatternSetCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetRegexPatternSetRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetRegexPatternSetResponseFilterSensitiveLog,
|
|
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
|
+
GetRegexPatternSetCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetRegexPatternSetCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetRegexPatternSetCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetRegexPatternSetCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetRegexPatternSetCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetRegexPatternSetCommand };
|
|
@@ -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 { GetRuleGroupRequestFilterSensitiveLog, GetRuleGroupResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1GetRuleGroupCommand, serializeAws_json1_1GetRuleGroupCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetRuleGroupCommand = (function (_super) {
|
|
7
|
+
__extends(GetRuleGroupCommand, _super);
|
|
8
|
+
function GetRuleGroupCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetRuleGroupCommand.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 = "WAFV2Client";
|
|
18
|
+
var commandName = "GetRuleGroupCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetRuleGroupRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetRuleGroupResponseFilterSensitiveLog,
|
|
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
|
+
GetRuleGroupCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetRuleGroupCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetRuleGroupCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetRuleGroupCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetRuleGroupCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetRuleGroupCommand };
|
|
@@ -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 { GetSampledRequestsRequestFilterSensitiveLog, GetSampledRequestsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1GetSampledRequestsCommand, serializeAws_json1_1GetSampledRequestsCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetSampledRequestsCommand = (function (_super) {
|
|
7
|
+
__extends(GetSampledRequestsCommand, _super);
|
|
8
|
+
function GetSampledRequestsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetSampledRequestsCommand.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 = "WAFV2Client";
|
|
18
|
+
var commandName = "GetSampledRequestsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetSampledRequestsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetSampledRequestsResponseFilterSensitiveLog,
|
|
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
|
+
GetSampledRequestsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetSampledRequestsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetSampledRequestsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetSampledRequestsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetSampledRequestsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetSampledRequestsCommand };
|
|
@@ -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 { GetWebACLRequestFilterSensitiveLog, GetWebACLResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1GetWebACLCommand, serializeAws_json1_1GetWebACLCommand } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetWebACLCommand = (function (_super) {
|
|
7
|
+
__extends(GetWebACLCommand, _super);
|
|
8
|
+
function GetWebACLCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetWebACLCommand.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 = "WAFV2Client";
|
|
18
|
+
var commandName = "GetWebACLCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetWebACLRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetWebACLResponseFilterSensitiveLog,
|
|
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
|
+
GetWebACLCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetWebACLCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetWebACLCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetWebACLCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetWebACLCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetWebACLCommand };
|
|
@@ -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 { GetWebACLForResourceRequestFilterSensitiveLog, GetWebACLForResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1GetWebACLForResourceCommand, serializeAws_json1_1GetWebACLForResourceCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetWebACLForResourceCommand = (function (_super) {
|
|
7
|
+
__extends(GetWebACLForResourceCommand, _super);
|
|
8
|
+
function GetWebACLForResourceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetWebACLForResourceCommand.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 = "WAFV2Client";
|
|
18
|
+
var commandName = "GetWebACLForResourceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetWebACLForResourceRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetWebACLForResourceResponseFilterSensitiveLog,
|
|
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
|
+
GetWebACLForResourceCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetWebACLForResourceCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetWebACLForResourceCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetWebACLForResourceCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetWebACLForResourceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetWebACLForResourceCommand };
|
|
@@ -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 { ListAvailableManagedRuleGroupVersionsRequestFilterSensitiveLog, ListAvailableManagedRuleGroupVersionsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1ListAvailableManagedRuleGroupVersionsCommand, serializeAws_json1_1ListAvailableManagedRuleGroupVersionsCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListAvailableManagedRuleGroupVersionsCommand = (function (_super) {
|
|
7
|
+
__extends(ListAvailableManagedRuleGroupVersionsCommand, _super);
|
|
8
|
+
function ListAvailableManagedRuleGroupVersionsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListAvailableManagedRuleGroupVersionsCommand.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 = "WAFV2Client";
|
|
18
|
+
var commandName = "ListAvailableManagedRuleGroupVersionsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListAvailableManagedRuleGroupVersionsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListAvailableManagedRuleGroupVersionsResponseFilterSensitiveLog,
|
|
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
|
+
ListAvailableManagedRuleGroupVersionsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1ListAvailableManagedRuleGroupVersionsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListAvailableManagedRuleGroupVersionsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1ListAvailableManagedRuleGroupVersionsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListAvailableManagedRuleGroupVersionsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListAvailableManagedRuleGroupVersionsCommand };
|
|
@@ -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 { ListAvailableManagedRuleGroupsRequestFilterSensitiveLog, ListAvailableManagedRuleGroupsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1ListAvailableManagedRuleGroupsCommand, serializeAws_json1_1ListAvailableManagedRuleGroupsCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListAvailableManagedRuleGroupsCommand = (function (_super) {
|
|
7
|
+
__extends(ListAvailableManagedRuleGroupsCommand, _super);
|
|
8
|
+
function ListAvailableManagedRuleGroupsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListAvailableManagedRuleGroupsCommand.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 = "WAFV2Client";
|
|
18
|
+
var commandName = "ListAvailableManagedRuleGroupsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListAvailableManagedRuleGroupsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListAvailableManagedRuleGroupsResponseFilterSensitiveLog,
|
|
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
|
+
ListAvailableManagedRuleGroupsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1ListAvailableManagedRuleGroupsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListAvailableManagedRuleGroupsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1ListAvailableManagedRuleGroupsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListAvailableManagedRuleGroupsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListAvailableManagedRuleGroupsCommand };
|