@aws-sdk/client-waf 3.33.0 → 3.34.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 +11 -0
- package/dist/cjs/package.json +38 -38
- package/dist/es/WAF.js +1 -14
- package/dist/es/WAF.js.map +1 -1
- package/dist/es/WAFClient.js +1 -19
- package/dist/es/WAFClient.js.map +1 -1
- package/dist/es/commands/CreateByteMatchSetCommand.js +2 -58
- package/dist/es/commands/CreateByteMatchSetCommand.js.map +1 -1
- package/dist/es/commands/CreateGeoMatchSetCommand.js +2 -55
- package/dist/es/commands/CreateGeoMatchSetCommand.js.map +1 -1
- package/dist/es/commands/CreateIPSetCommand.js +2 -60
- package/dist/es/commands/CreateIPSetCommand.js.map +1 -1
- package/dist/es/commands/CreateRateBasedRuleCommand.js +2 -120
- package/dist/es/commands/CreateRateBasedRuleCommand.js.map +1 -1
- package/dist/es/commands/CreateRegexMatchSetCommand.js +2 -58
- package/dist/es/commands/CreateRegexMatchSetCommand.js.map +1 -1
- package/dist/es/commands/CreateRegexPatternSetCommand.js +2 -54
- package/dist/es/commands/CreateRegexPatternSetCommand.js.map +1 -1
- package/dist/es/commands/CreateRuleCommand.js +2 -78
- package/dist/es/commands/CreateRuleCommand.js.map +1 -1
- package/dist/es/commands/CreateRuleGroupCommand.js +2 -49
- package/dist/es/commands/CreateRuleGroupCommand.js.map +1 -1
- package/dist/es/commands/CreateSizeConstraintSetCommand.js +2 -58
- package/dist/es/commands/CreateSizeConstraintSetCommand.js.map +1 -1
- package/dist/es/commands/CreateSqlInjectionMatchSetCommand.js +2 -56
- package/dist/es/commands/CreateSqlInjectionMatchSetCommand.js.map +1 -1
- package/dist/es/commands/CreateWebACLCommand.js +2 -66
- package/dist/es/commands/CreateWebACLCommand.js.map +1 -1
- package/dist/es/commands/CreateWebACLMigrationStackCommand.js +2 -34
- package/dist/es/commands/CreateWebACLMigrationStackCommand.js.map +1 -1
- package/dist/es/commands/CreateXssMatchSetCommand.js +2 -56
- package/dist/es/commands/CreateXssMatchSetCommand.js.map +1 -1
- package/dist/es/commands/DeleteByteMatchSetCommand.js +2 -50
- package/dist/es/commands/DeleteByteMatchSetCommand.js.map +1 -1
- package/dist/es/commands/DeleteGeoMatchSetCommand.js +2 -50
- package/dist/es/commands/DeleteGeoMatchSetCommand.js.map +1 -1
- package/dist/es/commands/DeleteIPSetCommand.js +2 -50
- package/dist/es/commands/DeleteIPSetCommand.js.map +1 -1
- package/dist/es/commands/DeleteLoggingConfigurationCommand.js +2 -36
- package/dist/es/commands/DeleteLoggingConfigurationCommand.js.map +1 -1
- package/dist/es/commands/DeletePermissionPolicyCommand.js +2 -36
- package/dist/es/commands/DeletePermissionPolicyCommand.js.map +1 -1
- package/dist/es/commands/DeleteRateBasedRuleCommand.js +2 -54
- package/dist/es/commands/DeleteRateBasedRuleCommand.js.map +1 -1
- package/dist/es/commands/DeleteRegexMatchSetCommand.js +2 -50
- package/dist/es/commands/DeleteRegexMatchSetCommand.js.map +1 -1
- package/dist/es/commands/DeleteRegexPatternSetCommand.js +2 -36
- package/dist/es/commands/DeleteRegexPatternSetCommand.js.map +1 -1
- package/dist/es/commands/DeleteRuleCommand.js +2 -50
- package/dist/es/commands/DeleteRuleCommand.js.map +1 -1
- package/dist/es/commands/DeleteRuleGroupCommand.js +2 -50
- package/dist/es/commands/DeleteRuleGroupCommand.js.map +1 -1
- package/dist/es/commands/DeleteSizeConstraintSetCommand.js +2 -50
- package/dist/es/commands/DeleteSizeConstraintSetCommand.js.map +1 -1
- package/dist/es/commands/DeleteSqlInjectionMatchSetCommand.js +2 -51
- package/dist/es/commands/DeleteSqlInjectionMatchSetCommand.js.map +1 -1
- package/dist/es/commands/DeleteWebACLCommand.js +2 -48
- package/dist/es/commands/DeleteWebACLCommand.js.map +1 -1
- package/dist/es/commands/DeleteXssMatchSetCommand.js +2 -51
- package/dist/es/commands/DeleteXssMatchSetCommand.js.map +1 -1
- package/dist/es/commands/GetByteMatchSetCommand.js +2 -35
- package/dist/es/commands/GetByteMatchSetCommand.js.map +1 -1
- package/dist/es/commands/GetChangeTokenCommand.js +2 -41
- package/dist/es/commands/GetChangeTokenCommand.js.map +1 -1
- package/dist/es/commands/GetChangeTokenStatusCommand.js +2 -51
- package/dist/es/commands/GetChangeTokenStatusCommand.js.map +1 -1
- package/dist/es/commands/GetGeoMatchSetCommand.js +2 -35
- package/dist/es/commands/GetGeoMatchSetCommand.js.map +1 -1
- package/dist/es/commands/GetIPSetCommand.js +2 -35
- package/dist/es/commands/GetIPSetCommand.js.map +1 -1
- package/dist/es/commands/GetLoggingConfigurationCommand.js +2 -35
- package/dist/es/commands/GetLoggingConfigurationCommand.js.map +1 -1
- package/dist/es/commands/GetPermissionPolicyCommand.js +2 -35
- package/dist/es/commands/GetPermissionPolicyCommand.js.map +1 -1
- package/dist/es/commands/GetRateBasedRuleCommand.js +2 -37
- package/dist/es/commands/GetRateBasedRuleCommand.js.map +1 -1
- package/dist/es/commands/GetRateBasedRuleManagedKeysCommand.js +2 -37
- package/dist/es/commands/GetRateBasedRuleManagedKeysCommand.js.map +1 -1
- package/dist/es/commands/GetRegexMatchSetCommand.js +2 -35
- package/dist/es/commands/GetRegexMatchSetCommand.js.map +1 -1
- package/dist/es/commands/GetRegexPatternSetCommand.js +2 -35
- package/dist/es/commands/GetRegexPatternSetCommand.js.map +1 -1
- package/dist/es/commands/GetRuleCommand.js +2 -35
- package/dist/es/commands/GetRuleCommand.js.map +1 -1
- package/dist/es/commands/GetRuleGroupCommand.js +2 -36
- package/dist/es/commands/GetRuleGroupCommand.js.map +1 -1
- package/dist/es/commands/GetSampledRequestsCommand.js +2 -39
- package/dist/es/commands/GetSampledRequestsCommand.js.map +1 -1
- package/dist/es/commands/GetSizeConstraintSetCommand.js +2 -35
- package/dist/es/commands/GetSizeConstraintSetCommand.js.map +1 -1
- package/dist/es/commands/GetSqlInjectionMatchSetCommand.js +2 -35
- package/dist/es/commands/GetSqlInjectionMatchSetCommand.js.map +1 -1
- package/dist/es/commands/GetWebACLCommand.js +2 -35
- package/dist/es/commands/GetWebACLCommand.js.map +1 -1
- package/dist/es/commands/GetXssMatchSetCommand.js +2 -35
- package/dist/es/commands/GetXssMatchSetCommand.js.map +1 -1
- package/dist/es/commands/ListActivatedRulesInRuleGroupCommand.js +2 -35
- package/dist/es/commands/ListActivatedRulesInRuleGroupCommand.js.map +1 -1
- package/dist/es/commands/ListByteMatchSetsCommand.js +2 -35
- package/dist/es/commands/ListByteMatchSetsCommand.js.map +1 -1
- package/dist/es/commands/ListGeoMatchSetsCommand.js +2 -35
- package/dist/es/commands/ListGeoMatchSetsCommand.js.map +1 -1
- package/dist/es/commands/ListIPSetsCommand.js +2 -35
- package/dist/es/commands/ListIPSetsCommand.js.map +1 -1
- package/dist/es/commands/ListLoggingConfigurationsCommand.js +2 -35
- package/dist/es/commands/ListLoggingConfigurationsCommand.js.map +1 -1
- package/dist/es/commands/ListRateBasedRulesCommand.js +2 -35
- package/dist/es/commands/ListRateBasedRulesCommand.js.map +1 -1
- package/dist/es/commands/ListRegexMatchSetsCommand.js +2 -35
- package/dist/es/commands/ListRegexMatchSetsCommand.js.map +1 -1
- package/dist/es/commands/ListRegexPatternSetsCommand.js +2 -35
- package/dist/es/commands/ListRegexPatternSetsCommand.js.map +1 -1
- package/dist/es/commands/ListRuleGroupsCommand.js +2 -35
- package/dist/es/commands/ListRuleGroupsCommand.js.map +1 -1
- package/dist/es/commands/ListRulesCommand.js +2 -35
- package/dist/es/commands/ListRulesCommand.js.map +1 -1
- package/dist/es/commands/ListSizeConstraintSetsCommand.js +2 -35
- package/dist/es/commands/ListSizeConstraintSetsCommand.js.map +1 -1
- package/dist/es/commands/ListSqlInjectionMatchSetsCommand.js +2 -35
- package/dist/es/commands/ListSqlInjectionMatchSetsCommand.js.map +1 -1
- package/dist/es/commands/ListSubscribedRuleGroupsCommand.js +2 -35
- package/dist/es/commands/ListSubscribedRuleGroupsCommand.js.map +1 -1
- package/dist/es/commands/ListTagsForResourceCommand.js +2 -36
- package/dist/es/commands/ListTagsForResourceCommand.js.map +1 -1
- package/dist/es/commands/ListWebACLsCommand.js +2 -35
- package/dist/es/commands/ListWebACLsCommand.js.map +1 -1
- package/dist/es/commands/ListXssMatchSetsCommand.js +2 -35
- package/dist/es/commands/ListXssMatchSetsCommand.js.map +1 -1
- package/dist/es/commands/PutLoggingConfigurationCommand.js +2 -52
- package/dist/es/commands/PutLoggingConfigurationCommand.js.map +1 -1
- package/dist/es/commands/PutPermissionPolicyCommand.js +2 -67
- package/dist/es/commands/PutPermissionPolicyCommand.js.map +1 -1
- package/dist/es/commands/TagResourceCommand.js +2 -36
- package/dist/es/commands/TagResourceCommand.js.map +1 -1
- package/dist/es/commands/UntagResourceCommand.js +2 -35
- package/dist/es/commands/UntagResourceCommand.js.map +1 -1
- package/dist/es/commands/UpdateByteMatchSetCommand.js +2 -73
- package/dist/es/commands/UpdateByteMatchSetCommand.js.map +1 -1
- package/dist/es/commands/UpdateGeoMatchSetCommand.js +2 -65
- package/dist/es/commands/UpdateGeoMatchSetCommand.js.map +1 -1
- package/dist/es/commands/UpdateIPSetCommand.js +2 -100
- package/dist/es/commands/UpdateIPSetCommand.js.map +1 -1
- package/dist/es/commands/UpdateRateBasedRuleCommand.js +2 -81
- package/dist/es/commands/UpdateRateBasedRuleCommand.js.map +1 -1
- package/dist/es/commands/UpdateRegexMatchSetCommand.js +2 -69
- package/dist/es/commands/UpdateRegexMatchSetCommand.js.map +1 -1
- package/dist/es/commands/UpdateRegexPatternSetCommand.js +2 -74
- package/dist/es/commands/UpdateRegexPatternSetCommand.js.map +1 -1
- package/dist/es/commands/UpdateRuleCommand.js +2 -76
- package/dist/es/commands/UpdateRuleCommand.js.map +1 -1
- package/dist/es/commands/UpdateRuleGroupCommand.js +2 -59
- package/dist/es/commands/UpdateRuleGroupCommand.js.map +1 -1
- package/dist/es/commands/UpdateSizeConstraintSetCommand.js +2 -77
- package/dist/es/commands/UpdateSizeConstraintSetCommand.js.map +1 -1
- package/dist/es/commands/UpdateSqlInjectionMatchSetCommand.js +2 -76
- package/dist/es/commands/UpdateSqlInjectionMatchSetCommand.js.map +1 -1
- package/dist/es/commands/UpdateWebACLCommand.js +2 -106
- package/dist/es/commands/UpdateWebACLCommand.js.map +1 -1
- package/dist/es/commands/UpdateXssMatchSetCommand.js +2 -78
- package/dist/es/commands/UpdateXssMatchSetCommand.js.map +1 -1
- package/dist/es/endpoints.js +1 -1
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/models/models_0.js +0 -684
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/package.json +38 -38
- package/dist/es/protocols/Aws_json1_1.js +2118 -2123
- package/dist/es/protocols/Aws_json1_1.js.map +1 -1
- package/dist/es/runtimeConfig.browser.js +0 -3
- package/dist/es/runtimeConfig.browser.js.map +1 -1
- package/dist/es/runtimeConfig.js +0 -3
- package/dist/es/runtimeConfig.js.map +1 -1
- package/dist/es/runtimeConfig.native.js +0 -3
- package/dist/es/runtimeConfig.native.js.map +1 -1
- package/dist/es/runtimeConfig.shared.js +0 -3
- package/dist/es/runtimeConfig.shared.js.map +1 -1
- package/package.json +38 -38
- package/tsconfig.es.json +0 -2
- package/tsconfig.json +4 -5
- package/tsconfig.types.json +8 -0
|
@@ -3,46 +3,13 @@ import { ListRulesRequest, ListRulesResponse } from "../models/models_0";
|
|
|
3
3
|
import { deserializeAws_json1_1ListRulesCommand, serializeAws_json1_1ListRulesCommand } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <note>
|
|
8
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
9
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
10
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
11
|
-
* <p>
|
|
12
|
-
* <b>For the latest version of AWS
|
|
13
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
14
|
-
* </note>
|
|
15
|
-
* <p>Returns an array of <a>RuleSummary</a> objects.</p>
|
|
16
|
-
* @example
|
|
17
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
-
* ```javascript
|
|
19
|
-
* import { WAFClient, ListRulesCommand } from "@aws-sdk/client-waf"; // ES Modules import
|
|
20
|
-
* // const { WAFClient, ListRulesCommand } = require("@aws-sdk/client-waf"); // CommonJS import
|
|
21
|
-
* const client = new WAFClient(config);
|
|
22
|
-
* const command = new ListRulesCommand(input);
|
|
23
|
-
* const response = await client.send(command);
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @see {@link ListRulesCommandInput} for command's `input` shape.
|
|
27
|
-
* @see {@link ListRulesCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
31
|
-
var ListRulesCommand = /** @class */ (function (_super) {
|
|
6
|
+
var ListRulesCommand = (function (_super) {
|
|
32
7
|
__extends(ListRulesCommand, _super);
|
|
33
|
-
// Start section: command_properties
|
|
34
|
-
// End section: command_properties
|
|
35
8
|
function ListRulesCommand(input) {
|
|
36
|
-
var _this =
|
|
37
|
-
// Start section: command_constructor
|
|
38
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
39
10
|
_this.input = input;
|
|
40
11
|
return _this;
|
|
41
|
-
// End section: command_constructor
|
|
42
12
|
}
|
|
43
|
-
/**
|
|
44
|
-
* @internal
|
|
45
|
-
*/
|
|
46
13
|
ListRulesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
47
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
48
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListRulesCommand.js","sourceRoot":"","sources":["../../../commands/ListRulesCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACzE,OAAO,EAAE,sCAAsC,EAAE,oCAAoC,EAAE,MAAM,0BAA0B,CAAC;AACxH,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"ListRulesCommand.js","sourceRoot":"","sources":["../../../commands/ListRulesCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACzE,OAAO,EAAE,sCAAsC,EAAE,oCAAoC,EAAE,MAAM,0BAA0B,CAAC;AACxH,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAuC7D;IAAsC,oCAAgF;IAIpH,0BAAqB,KAA4B;QAAjD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAuB;;IAIjD,CAAC;IAKD,4CAAiB,GAAjB,UACE,WAAmE,EACnE,aAAsC,EACtC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,WAAW,CAAC;QAC/B,IAAM,WAAW,GAAG,kBAAkB,CAAC;QACvC,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,gBAAgB,CAAC,kBAAkB;YAC5D,wBAAwB,EAAE,iBAAiB,CAAC,kBAAkB;SAC/D,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,oCAAS,GAAjB,UAAkB,KAA4B,EAAE,OAAuB;QACrE,OAAO,oCAAoC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;IAEO,sCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,sCAAsC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAIH,uBAAC;AAAD,CAAC,AAlDD,CAAsC,QAAQ,GAkD7C"}
|
|
@@ -3,46 +3,13 @@ import { ListSizeConstraintSetsRequest, ListSizeConstraintSetsResponse } from ".
|
|
|
3
3
|
import { deserializeAws_json1_1ListSizeConstraintSetsCommand, serializeAws_json1_1ListSizeConstraintSetsCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <note>
|
|
8
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
9
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
10
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
11
|
-
* <p>
|
|
12
|
-
* <b>For the latest version of AWS
|
|
13
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
14
|
-
* </note>
|
|
15
|
-
* <p>Returns an array of <a>SizeConstraintSetSummary</a> objects.</p>
|
|
16
|
-
* @example
|
|
17
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
-
* ```javascript
|
|
19
|
-
* import { WAFClient, ListSizeConstraintSetsCommand } from "@aws-sdk/client-waf"; // ES Modules import
|
|
20
|
-
* // const { WAFClient, ListSizeConstraintSetsCommand } = require("@aws-sdk/client-waf"); // CommonJS import
|
|
21
|
-
* const client = new WAFClient(config);
|
|
22
|
-
* const command = new ListSizeConstraintSetsCommand(input);
|
|
23
|
-
* const response = await client.send(command);
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @see {@link ListSizeConstraintSetsCommandInput} for command's `input` shape.
|
|
27
|
-
* @see {@link ListSizeConstraintSetsCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
31
|
-
var ListSizeConstraintSetsCommand = /** @class */ (function (_super) {
|
|
6
|
+
var ListSizeConstraintSetsCommand = (function (_super) {
|
|
32
7
|
__extends(ListSizeConstraintSetsCommand, _super);
|
|
33
|
-
// Start section: command_properties
|
|
34
|
-
// End section: command_properties
|
|
35
8
|
function ListSizeConstraintSetsCommand(input) {
|
|
36
|
-
var _this =
|
|
37
|
-
// Start section: command_constructor
|
|
38
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
39
10
|
_this.input = input;
|
|
40
11
|
return _this;
|
|
41
|
-
// End section: command_constructor
|
|
42
12
|
}
|
|
43
|
-
/**
|
|
44
|
-
* @internal
|
|
45
|
-
*/
|
|
46
13
|
ListSizeConstraintSetsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
47
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
48
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListSizeConstraintSetsCommand.js","sourceRoot":"","sources":["../../../commands/ListSizeConstraintSetsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,6BAA6B,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;AACnG,OAAO,EACL,mDAAmD,EACnD,iDAAiD,GAClD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"ListSizeConstraintSetsCommand.js","sourceRoot":"","sources":["../../../commands/ListSizeConstraintSetsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,6BAA6B,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;AACnG,OAAO,EACL,mDAAmD,EACnD,iDAAiD,GAClD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAuC7D;IAAmD,iDAIlD;IAIC,uCAAqB,KAAyC;QAA9D,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAoC;;IAI9D,CAAC;IAKD,yDAAiB,GAAjB,UACE,WAAmE,EACnE,aAAsC,EACtC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,WAAW,CAAC;QAC/B,IAAM,WAAW,GAAG,+BAA+B,CAAC;QACpD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,6BAA6B,CAAC,kBAAkB;YACzE,wBAAwB,EAAE,8BAA8B,CAAC,kBAAkB;SAC5E,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,iDAAS,GAAjB,UAAkB,KAAyC,EAAE,OAAuB;QAClF,OAAO,iDAAiD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAEO,mDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,mDAAmD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;IAIH,oCAAC;AAAD,CAAC,AAtDD,CAAmD,QAAQ,GAsD1D"}
|
|
@@ -3,46 +3,13 @@ import { ListSqlInjectionMatchSetsRequest, ListSqlInjectionMatchSetsResponse } f
|
|
|
3
3
|
import { deserializeAws_json1_1ListSqlInjectionMatchSetsCommand, serializeAws_json1_1ListSqlInjectionMatchSetsCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <note>
|
|
8
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
9
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
10
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
11
|
-
* <p>
|
|
12
|
-
* <b>For the latest version of AWS
|
|
13
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
14
|
-
* </note>
|
|
15
|
-
* <p>Returns an array of <a>SqlInjectionMatchSet</a> objects.</p>
|
|
16
|
-
* @example
|
|
17
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
-
* ```javascript
|
|
19
|
-
* import { WAFClient, ListSqlInjectionMatchSetsCommand } from "@aws-sdk/client-waf"; // ES Modules import
|
|
20
|
-
* // const { WAFClient, ListSqlInjectionMatchSetsCommand } = require("@aws-sdk/client-waf"); // CommonJS import
|
|
21
|
-
* const client = new WAFClient(config);
|
|
22
|
-
* const command = new ListSqlInjectionMatchSetsCommand(input);
|
|
23
|
-
* const response = await client.send(command);
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @see {@link ListSqlInjectionMatchSetsCommandInput} for command's `input` shape.
|
|
27
|
-
* @see {@link ListSqlInjectionMatchSetsCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
31
|
-
var ListSqlInjectionMatchSetsCommand = /** @class */ (function (_super) {
|
|
6
|
+
var ListSqlInjectionMatchSetsCommand = (function (_super) {
|
|
32
7
|
__extends(ListSqlInjectionMatchSetsCommand, _super);
|
|
33
|
-
// Start section: command_properties
|
|
34
|
-
// End section: command_properties
|
|
35
8
|
function ListSqlInjectionMatchSetsCommand(input) {
|
|
36
|
-
var _this =
|
|
37
|
-
// Start section: command_constructor
|
|
38
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
39
10
|
_this.input = input;
|
|
40
11
|
return _this;
|
|
41
|
-
// End section: command_constructor
|
|
42
12
|
}
|
|
43
|
-
/**
|
|
44
|
-
* @internal
|
|
45
|
-
*/
|
|
46
13
|
ListSqlInjectionMatchSetsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
47
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
48
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListSqlInjectionMatchSetsCommand.js","sourceRoot":"","sources":["../../../commands/ListSqlInjectionMatchSetsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gCAAgC,EAAE,iCAAiC,EAAE,MAAM,oBAAoB,CAAC;AACzG,OAAO,EACL,sDAAsD,EACtD,oDAAoD,GACrD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"ListSqlInjectionMatchSetsCommand.js","sourceRoot":"","sources":["../../../commands/ListSqlInjectionMatchSetsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gCAAgC,EAAE,iCAAiC,EAAE,MAAM,oBAAoB,CAAC;AACzG,OAAO,EACL,sDAAsD,EACtD,oDAAoD,GACrD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAuC7D;IAAsD,oDAIrD;IAIC,0CAAqB,KAA4C;QAAjE,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAuC;;IAIjE,CAAC;IAKD,4DAAiB,GAAjB,UACE,WAAmE,EACnE,aAAsC,EACtC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,WAAW,CAAC;QAC/B,IAAM,WAAW,GAAG,kCAAkC,CAAC;QACvD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,gCAAgC,CAAC,kBAAkB;YAC5E,wBAAwB,EAAE,iCAAiC,CAAC,kBAAkB;SAC/E,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,oDAAS,GAAjB,UAAkB,KAA4C,EAAE,OAAuB;QACrF,OAAO,oDAAoD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;IAEO,sDAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,sDAAsD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;IAIH,uCAAC;AAAD,CAAC,AAzDD,CAAsD,QAAQ,GAyD7D"}
|
|
@@ -3,46 +3,13 @@ import { ListSubscribedRuleGroupsRequest, ListSubscribedRuleGroupsResponse } fro
|
|
|
3
3
|
import { deserializeAws_json1_1ListSubscribedRuleGroupsCommand, serializeAws_json1_1ListSubscribedRuleGroupsCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <note>
|
|
8
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
9
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
10
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
11
|
-
* <p>
|
|
12
|
-
* <b>For the latest version of AWS
|
|
13
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
14
|
-
* </note>
|
|
15
|
-
* <p>Returns an array of <a>RuleGroup</a> objects that you are subscribed to.</p>
|
|
16
|
-
* @example
|
|
17
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
-
* ```javascript
|
|
19
|
-
* import { WAFClient, ListSubscribedRuleGroupsCommand } from "@aws-sdk/client-waf"; // ES Modules import
|
|
20
|
-
* // const { WAFClient, ListSubscribedRuleGroupsCommand } = require("@aws-sdk/client-waf"); // CommonJS import
|
|
21
|
-
* const client = new WAFClient(config);
|
|
22
|
-
* const command = new ListSubscribedRuleGroupsCommand(input);
|
|
23
|
-
* const response = await client.send(command);
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @see {@link ListSubscribedRuleGroupsCommandInput} for command's `input` shape.
|
|
27
|
-
* @see {@link ListSubscribedRuleGroupsCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
31
|
-
var ListSubscribedRuleGroupsCommand = /** @class */ (function (_super) {
|
|
6
|
+
var ListSubscribedRuleGroupsCommand = (function (_super) {
|
|
32
7
|
__extends(ListSubscribedRuleGroupsCommand, _super);
|
|
33
|
-
// Start section: command_properties
|
|
34
|
-
// End section: command_properties
|
|
35
8
|
function ListSubscribedRuleGroupsCommand(input) {
|
|
36
|
-
var _this =
|
|
37
|
-
// Start section: command_constructor
|
|
38
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
39
10
|
_this.input = input;
|
|
40
11
|
return _this;
|
|
41
|
-
// End section: command_constructor
|
|
42
12
|
}
|
|
43
|
-
/**
|
|
44
|
-
* @internal
|
|
45
|
-
*/
|
|
46
13
|
ListSubscribedRuleGroupsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
47
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
48
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListSubscribedRuleGroupsCommand.js","sourceRoot":"","sources":["../../../commands/ListSubscribedRuleGroupsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,+BAA+B,EAAE,gCAAgC,EAAE,MAAM,oBAAoB,CAAC;AACvG,OAAO,EACL,qDAAqD,EACrD,mDAAmD,GACpD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"ListSubscribedRuleGroupsCommand.js","sourceRoot":"","sources":["../../../commands/ListSubscribedRuleGroupsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,+BAA+B,EAAE,gCAAgC,EAAE,MAAM,oBAAoB,CAAC;AACvG,OAAO,EACL,qDAAqD,EACrD,mDAAmD,GACpD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAuC7D;IAAqD,mDAIpD;IAIC,yCAAqB,KAA2C;QAAhE,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAsC;;IAIhE,CAAC;IAKD,2DAAiB,GAAjB,UACE,WAAmE,EACnE,aAAsC,EACtC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,WAAW,CAAC;QAC/B,IAAM,WAAW,GAAG,iCAAiC,CAAC;QACtD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,+BAA+B,CAAC,kBAAkB;YAC3E,wBAAwB,EAAE,gCAAgC,CAAC,kBAAkB;SAC9E,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,mDAAS,GAAjB,UAAkB,KAA2C,EAAE,OAAuB;QACpF,OAAO,mDAAmD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;IAEO,qDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,qDAAqD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;IAIH,sCAAC;AAAD,CAAC,AAtDD,CAAqD,QAAQ,GAsD5D"}
|
|
@@ -3,47 +3,13 @@ import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../mode
|
|
|
3
3
|
import { deserializeAws_json1_1ListTagsForResourceCommand, serializeAws_json1_1ListTagsForResourceCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <note>
|
|
8
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
9
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
10
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
11
|
-
* <p>
|
|
12
|
-
* <b>For the latest version of AWS
|
|
13
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
14
|
-
* </note>
|
|
15
|
-
* <p>Retrieves the tags associated with the specified AWS resource. Tags are key:value pairs that you can use to categorize and manage your resources, for purposes like billing. For example, you might set the tag key to "customer" and the value to the customer name or ID. You can specify one or more tags to add to each AWS resource, up to 50 tags for a resource.</p>
|
|
16
|
-
* <p>Tagging is only available through the API, SDKs, and CLI. You can't manage or view tags through the AWS WAF Classic console. You can tag the AWS resources that you manage through AWS WAF Classic: web ACLs, rule groups, and rules. </p>
|
|
17
|
-
* @example
|
|
18
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
-
* ```javascript
|
|
20
|
-
* import { WAFClient, ListTagsForResourceCommand } from "@aws-sdk/client-waf"; // ES Modules import
|
|
21
|
-
* // const { WAFClient, ListTagsForResourceCommand } = require("@aws-sdk/client-waf"); // CommonJS import
|
|
22
|
-
* const client = new WAFClient(config);
|
|
23
|
-
* const command = new ListTagsForResourceCommand(input);
|
|
24
|
-
* const response = await client.send(command);
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
28
|
-
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
32
|
-
var ListTagsForResourceCommand = /** @class */ (function (_super) {
|
|
6
|
+
var ListTagsForResourceCommand = (function (_super) {
|
|
33
7
|
__extends(ListTagsForResourceCommand, _super);
|
|
34
|
-
// Start section: command_properties
|
|
35
|
-
// End section: command_properties
|
|
36
8
|
function ListTagsForResourceCommand(input) {
|
|
37
|
-
var _this =
|
|
38
|
-
// Start section: command_constructor
|
|
39
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
40
10
|
_this.input = input;
|
|
41
11
|
return _this;
|
|
42
|
-
// End section: command_constructor
|
|
43
12
|
}
|
|
44
|
-
/**
|
|
45
|
-
* @internal
|
|
46
|
-
*/
|
|
47
13
|
ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
48
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
49
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListTagsForResourceCommand.js","sourceRoot":"","sources":["../../../commands/ListTagsForResourceCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AAC7F,OAAO,EACL,gDAAgD,EAChD,8CAA8C,GAC/C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"ListTagsForResourceCommand.js","sourceRoot":"","sources":["../../../commands/ListTagsForResourceCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AAC7F,OAAO,EACL,gDAAg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,OAAuB;QACjE,OAAO,gDAAgD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAIH,iCAAC;AAAD,CAAC,AAtDD,CAAgD,QAAQ,GAsDvD"}
|
|
@@ -3,46 +3,13 @@ import { ListWebACLsRequest, ListWebACLsResponse } from "../models/models_0";
|
|
|
3
3
|
import { deserializeAws_json1_1ListWebACLsCommand, serializeAws_json1_1ListWebACLsCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <note>
|
|
8
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
9
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
10
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
11
|
-
* <p>
|
|
12
|
-
* <b>For the latest version of AWS
|
|
13
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
14
|
-
* </note>
|
|
15
|
-
* <p>Returns an array of <a>WebACLSummary</a> objects in the response.</p>
|
|
16
|
-
* @example
|
|
17
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
-
* ```javascript
|
|
19
|
-
* import { WAFClient, ListWebACLsCommand } from "@aws-sdk/client-waf"; // ES Modules import
|
|
20
|
-
* // const { WAFClient, ListWebACLsCommand } = require("@aws-sdk/client-waf"); // CommonJS import
|
|
21
|
-
* const client = new WAFClient(config);
|
|
22
|
-
* const command = new ListWebACLsCommand(input);
|
|
23
|
-
* const response = await client.send(command);
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @see {@link ListWebACLsCommandInput} for command's `input` shape.
|
|
27
|
-
* @see {@link ListWebACLsCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
31
|
-
var ListWebACLsCommand = /** @class */ (function (_super) {
|
|
6
|
+
var ListWebACLsCommand = (function (_super) {
|
|
32
7
|
__extends(ListWebACLsCommand, _super);
|
|
33
|
-
// Start section: command_properties
|
|
34
|
-
// End section: command_properties
|
|
35
8
|
function ListWebACLsCommand(input) {
|
|
36
|
-
var _this =
|
|
37
|
-
// Start section: command_constructor
|
|
38
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
39
10
|
_this.input = input;
|
|
40
11
|
return _this;
|
|
41
|
-
// End section: command_constructor
|
|
42
12
|
}
|
|
43
|
-
/**
|
|
44
|
-
* @internal
|
|
45
|
-
*/
|
|
46
13
|
ListWebACLsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
47
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
48
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListWebACLsCommand.js","sourceRoot":"","sources":["../../../commands/ListWebACLsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC7E,OAAO,EACL,wCAAwC,EACxC,sCAAsC,GACvC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"ListWebACLsCommand.js","sourceRoot":"","sources":["../../../commands/ListWebACLsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC7E,OAAO,EACL,wCAAwC,EACxC,sC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,OAAO,wCAAwC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAIH,yBAAC;AAAD,CAAC,AAtDD,CAAwC,QAAQ,GAsD/C"}
|
|
@@ -3,46 +3,13 @@ import { ListXssMatchSetsRequest, ListXssMatchSetsResponse } from "../models/mod
|
|
|
3
3
|
import { deserializeAws_json1_1ListXssMatchSetsCommand, serializeAws_json1_1ListXssMatchSetsCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <note>
|
|
8
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
9
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
10
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
11
|
-
* <p>
|
|
12
|
-
* <b>For the latest version of AWS
|
|
13
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
14
|
-
* </note>
|
|
15
|
-
* <p>Returns an array of <a>XssMatchSet</a> objects.</p>
|
|
16
|
-
* @example
|
|
17
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
-
* ```javascript
|
|
19
|
-
* import { WAFClient, ListXssMatchSetsCommand } from "@aws-sdk/client-waf"; // ES Modules import
|
|
20
|
-
* // const { WAFClient, ListXssMatchSetsCommand } = require("@aws-sdk/client-waf"); // CommonJS import
|
|
21
|
-
* const client = new WAFClient(config);
|
|
22
|
-
* const command = new ListXssMatchSetsCommand(input);
|
|
23
|
-
* const response = await client.send(command);
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @see {@link ListXssMatchSetsCommandInput} for command's `input` shape.
|
|
27
|
-
* @see {@link ListXssMatchSetsCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
31
|
-
var ListXssMatchSetsCommand = /** @class */ (function (_super) {
|
|
6
|
+
var ListXssMatchSetsCommand = (function (_super) {
|
|
32
7
|
__extends(ListXssMatchSetsCommand, _super);
|
|
33
|
-
// Start section: command_properties
|
|
34
|
-
// End section: command_properties
|
|
35
8
|
function ListXssMatchSetsCommand(input) {
|
|
36
|
-
var _this =
|
|
37
|
-
// Start section: command_constructor
|
|
38
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
39
10
|
_this.input = input;
|
|
40
11
|
return _this;
|
|
41
|
-
// End section: command_constructor
|
|
42
12
|
}
|
|
43
|
-
/**
|
|
44
|
-
* @internal
|
|
45
|
-
*/
|
|
46
13
|
ListXssMatchSetsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
47
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
48
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListXssMatchSetsCommand.js","sourceRoot":"","sources":["../../../commands/ListXssMatchSetsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AACvF,OAAO,EACL,6CAA6C,EAC7C,2CAA2C,GAC5C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"ListXssMatchSetsCommand.js","sourceRoot":"","sources":["../../../commands/ListXssMatchSetsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,oBA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O,6CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,6CAA6C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;IAIH,8BAAC;AAAD,CAAC,AAtDD,CAA6C,QAAQ,GAsDpD"}
|
|
@@ -3,63 +3,13 @@ import { PutLoggingConfigurationRequest, PutLoggingConfigurationResponse } from
|
|
|
3
3
|
import { deserializeAws_json1_1PutLoggingConfigurationCommand, serializeAws_json1_1PutLoggingConfigurationCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <note>
|
|
8
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
9
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
10
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
11
|
-
* <p>
|
|
12
|
-
* <b>For the latest version of AWS
|
|
13
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
14
|
-
* </note>
|
|
15
|
-
* <p>Associates a <a>LoggingConfiguration</a> with a specified web ACL.</p>
|
|
16
|
-
* <p>You can access information about all traffic that AWS WAF inspects using the following
|
|
17
|
-
* steps:</p>
|
|
18
|
-
* <ol>
|
|
19
|
-
* <li>
|
|
20
|
-
* <p>Create an Amazon Kinesis Data
|
|
21
|
-
* Firehose. </p>
|
|
22
|
-
* <p>Create the data firehose with a PUT source and in the region that you are operating. However, if you are capturing logs for Amazon CloudFront, always create the firehose in US East (N. Virginia). </p>
|
|
23
|
-
* <note>
|
|
24
|
-
* <p>Do not create the data firehose using a <code>Kinesis stream</code> as your source.</p>
|
|
25
|
-
* </note>
|
|
26
|
-
* </li>
|
|
27
|
-
* <li>
|
|
28
|
-
* <p>Associate that firehose to your web ACL using a <code>PutLoggingConfiguration</code> request.</p>
|
|
29
|
-
* </li>
|
|
30
|
-
* </ol>
|
|
31
|
-
*
|
|
32
|
-
* <p>When you successfully enable logging using a <code>PutLoggingConfiguration</code> request, AWS WAF will create a service linked role with the necessary permissions to write logs to the Amazon Kinesis Data Firehose. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/logging.html">Logging Web ACL Traffic Information</a> in the <i>AWS WAF Developer Guide</i>.</p>
|
|
33
|
-
* @example
|
|
34
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
-
* ```javascript
|
|
36
|
-
* import { WAFClient, PutLoggingConfigurationCommand } from "@aws-sdk/client-waf"; // ES Modules import
|
|
37
|
-
* // const { WAFClient, PutLoggingConfigurationCommand } = require("@aws-sdk/client-waf"); // CommonJS import
|
|
38
|
-
* const client = new WAFClient(config);
|
|
39
|
-
* const command = new PutLoggingConfigurationCommand(input);
|
|
40
|
-
* const response = await client.send(command);
|
|
41
|
-
* ```
|
|
42
|
-
*
|
|
43
|
-
* @see {@link PutLoggingConfigurationCommandInput} for command's `input` shape.
|
|
44
|
-
* @see {@link PutLoggingConfigurationCommandOutput} for command's `response` shape.
|
|
45
|
-
* @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
|
|
46
|
-
*
|
|
47
|
-
*/
|
|
48
|
-
var PutLoggingConfigurationCommand = /** @class */ (function (_super) {
|
|
6
|
+
var PutLoggingConfigurationCommand = (function (_super) {
|
|
49
7
|
__extends(PutLoggingConfigurationCommand, _super);
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
8
|
function PutLoggingConfigurationCommand(input) {
|
|
53
|
-
var _this =
|
|
54
|
-
// Start section: command_constructor
|
|
55
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
56
10
|
_this.input = input;
|
|
57
11
|
return _this;
|
|
58
|
-
// End section: command_constructor
|
|
59
12
|
}
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
13
|
PutLoggingConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
64
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PutLoggingConfigurationCommand.js","sourceRoot":"","sources":["../../../commands/PutLoggingConfigurationCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,8BAA8B,EAAE,+BAA+B,EAAE,MAAM,oBAAoB,CAAC;AACrG,OAAO,EACL,oDAAoD,EACpD,kDAAkD,GACnD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"PutLoggingConfigurationCommand.js","sourceRoot":"","sources":["../../../commands/PutLoggingConfigurationCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,8BAA8B,EAAE,+BAA+B,EAAE,MAAM,oBAAoB,CAAC;AACrG,OAAO,EACL,oDAAoD,EACpD,kDAAkD,GACnD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAwD7D;IAAoD,kDAInD;IAIC,wCAAqB,KAA0C;QAA/D,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAqC;;IAI/D,CAAC;IAKD,0DAAiB,GAAjB,UACE,WAAmE,EACnE,aAAsC,EACtC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,WAAW,CAAC;QAC/B,IAAM,WAAW,GAAG,gCAAgC,CAAC;QACrD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,8BAA8B,CAAC,kBAAkB;YAC1E,wBAAwB,EAAE,+BAA+B,CAAC,kBAAkB;SAC7E,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,kDAAS,GAAjB,UAAkB,KAA0C,EAAE,OAAuB;QACnF,OAAO,kDAAkD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAEO,oDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,oDAAoD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;IAIH,qCAAC;AAAD,CAAC,AAtDD,CAAoD,QAAQ,GAsD3D"}
|
|
@@ -3,78 +3,13 @@ import { PutPermissionPolicyRequest, PutPermissionPolicyResponse } from "../mode
|
|
|
3
3
|
import { deserializeAws_json1_1PutPermissionPolicyCommand, serializeAws_json1_1PutPermissionPolicyCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <note>
|
|
8
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
9
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
10
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
11
|
-
* <p>
|
|
12
|
-
* <b>For the latest version of AWS
|
|
13
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
14
|
-
* </note>
|
|
15
|
-
* <p>Attaches an IAM policy to the specified resource. The only supported use for this action is to share a RuleGroup across accounts.</p>
|
|
16
|
-
* <p>The <code>PutPermissionPolicy</code> is subject to the following restrictions:</p>
|
|
17
|
-
* <ul>
|
|
18
|
-
* <li>
|
|
19
|
-
* <p>You can attach only one policy with each <code>PutPermissionPolicy</code> request.</p>
|
|
20
|
-
* </li>
|
|
21
|
-
* <li>
|
|
22
|
-
* <p>The policy must include an <code>Effect</code>, <code>Action</code> and <code>Principal</code>. </p>
|
|
23
|
-
* </li>
|
|
24
|
-
* <li>
|
|
25
|
-
*
|
|
26
|
-
* <p>
|
|
27
|
-
* <code>Effect</code> must specify <code>Allow</code>.</p>
|
|
28
|
-
* </li>
|
|
29
|
-
* <li>
|
|
30
|
-
* <p>The <code>Action</code> in the policy must be <code>waf:UpdateWebACL</code>, <code>waf-regional:UpdateWebACL</code>, <code>waf:GetRuleGroup</code> and <code>waf-regional:GetRuleGroup</code> . Any extra or wildcard actions in the policy will be rejected.</p>
|
|
31
|
-
* </li>
|
|
32
|
-
* <li>
|
|
33
|
-
* <p>The policy cannot include a <code>Resource</code> parameter.</p>
|
|
34
|
-
* </li>
|
|
35
|
-
* <li>
|
|
36
|
-
* <p>The ARN in the request must be a valid WAF RuleGroup ARN and the RuleGroup must exist in the same region.</p>
|
|
37
|
-
* </li>
|
|
38
|
-
* <li>
|
|
39
|
-
* <p>The user making the request must be the owner of the RuleGroup.</p>
|
|
40
|
-
* </li>
|
|
41
|
-
* <li>
|
|
42
|
-
* <p>Your policy must be composed using IAM Policy version 2012-10-17.</p>
|
|
43
|
-
* </li>
|
|
44
|
-
* </ul>
|
|
45
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html">IAM Policies</a>. </p>
|
|
46
|
-
*
|
|
47
|
-
* <p>An example of a valid policy parameter is shown in the Examples section below.</p>
|
|
48
|
-
* @example
|
|
49
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
50
|
-
* ```javascript
|
|
51
|
-
* import { WAFClient, PutPermissionPolicyCommand } from "@aws-sdk/client-waf"; // ES Modules import
|
|
52
|
-
* // const { WAFClient, PutPermissionPolicyCommand } = require("@aws-sdk/client-waf"); // CommonJS import
|
|
53
|
-
* const client = new WAFClient(config);
|
|
54
|
-
* const command = new PutPermissionPolicyCommand(input);
|
|
55
|
-
* const response = await client.send(command);
|
|
56
|
-
* ```
|
|
57
|
-
*
|
|
58
|
-
* @see {@link PutPermissionPolicyCommandInput} for command's `input` shape.
|
|
59
|
-
* @see {@link PutPermissionPolicyCommandOutput} for command's `response` shape.
|
|
60
|
-
* @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
|
|
61
|
-
*
|
|
62
|
-
*/
|
|
63
|
-
var PutPermissionPolicyCommand = /** @class */ (function (_super) {
|
|
6
|
+
var PutPermissionPolicyCommand = (function (_super) {
|
|
64
7
|
__extends(PutPermissionPolicyCommand, _super);
|
|
65
|
-
// Start section: command_properties
|
|
66
|
-
// End section: command_properties
|
|
67
8
|
function PutPermissionPolicyCommand(input) {
|
|
68
|
-
var _this =
|
|
69
|
-
// Start section: command_constructor
|
|
70
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
71
10
|
_this.input = input;
|
|
72
11
|
return _this;
|
|
73
|
-
// End section: command_constructor
|
|
74
12
|
}
|
|
75
|
-
/**
|
|
76
|
-
* @internal
|
|
77
|
-
*/
|
|
78
13
|
PutPermissionPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
79
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
80
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PutPermissionPolicyCommand.js","sourceRoot":"","sources":["../../../commands/PutPermissionPolicyCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AAC7F,OAAO,EACL,gDAAgD,EAChD,8CAA8C,GAC/C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"PutPermissionPolicyCommand.js","sourceRoot":"","sources":["../../../commands/PutPermissionPolicyCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AAC7F,OAAO,EACL,gDAAgD,EAChD,8CAA8C,GAC/C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAuE7D;IAAgD,8CAI/C;IAIC,oCAAqB,KAAsC;QAA3D,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAiC;;IAI3D,CAAC;IAKD,sDAAiB,GAAjB,UACE,WAAmE,EACnE,aAAsC,EACtC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAA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