@aws-sdk/client-wafv2 3.32.0 → 3.36.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 +45 -0
- package/{dist/cjs → dist-cjs}/WAFV2.js +2 -3
- package/{dist/cjs → dist-cjs}/WAFV2Client.js +8 -9
- package/{dist/cjs → dist-cjs}/commands/AssociateWebACLCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CheckCapacityCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateIPSetCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateRegexPatternSetCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateRuleGroupCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateWebACLCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteFirewallManagerRuleGroupsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteIPSetCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteLoggingConfigurationCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeletePermissionPolicyCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteRegexPatternSetCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteRuleGroupCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteWebACLCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeManagedRuleGroupCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DisassociateWebACLCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetIPSetCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetLoggingConfigurationCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetManagedRuleSetCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetPermissionPolicyCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetRateBasedStatementManagedKeysCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetRegexPatternSetCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetRuleGroupCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetSampledRequestsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetWebACLCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetWebACLForResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListAvailableManagedRuleGroupVersionsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListAvailableManagedRuleGroupsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListIPSetsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListLoggingConfigurationsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListManagedRuleSetsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListRegexPatternSetsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListResourcesForWebACLCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListRuleGroupsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListWebACLsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/PutLoggingConfigurationCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/PutManagedRuleSetVersionsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/PutPermissionPolicyCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateIPSetCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateManagedRuleSetVersionExpiryDateCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateRegexPatternSetCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateRuleGroupCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateWebACLCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +14 -5
- package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +29 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
- package/{dist/es → dist-es}/WAFV2.js +3 -65
- package/dist-es/WAFV2Client.js +37 -0
- package/{dist/es → dist-es}/commands/AssociateWebACLCommand.js +4 -34
- package/dist-es/commands/CheckCapacityCommand.js +39 -0
- package/{dist/es → dist-es}/commands/CreateIPSetCommand.js +4 -33
- package/{dist/es → dist-es}/commands/CreateRegexPatternSetCommand.js +4 -31
- package/{dist/es → dist-es}/commands/CreateRuleGroupCommand.js +4 -31
- package/{dist/es → dist-es}/commands/CreateWebACLCommand.js +4 -31
- package/{dist/es → dist-es}/commands/DeleteFirewallManagerRuleGroupsCommand.js +4 -32
- package/{dist/es → dist-es}/commands/DeleteIPSetCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteLoggingConfigurationCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeletePermissionPolicyCommand.js +4 -31
- package/{dist/es → dist-es}/commands/DeleteRegexPatternSetCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteRuleGroupCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteWebACLCommand.js +4 -32
- package/{dist/es → dist-es}/commands/DescribeManagedRuleGroupCommand.js +4 -31
- package/{dist/es → dist-es}/commands/DisassociateWebACLCommand.js +4 -33
- package/{dist/es → dist-es}/commands/GetIPSetCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetLoggingConfigurationCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetManagedRuleSetCommand.js +4 -34
- package/{dist/es → dist-es}/commands/GetPermissionPolicyCommand.js +4 -31
- package/dist-es/commands/GetRateBasedStatementManagedKeysCommand.js +39 -0
- package/{dist/es → dist-es}/commands/GetRegexPatternSetCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetRuleGroupCommand.js +4 -30
- package/dist-es/commands/GetSampledRequestsCommand.js +39 -0
- package/{dist/es → dist-es}/commands/GetWebACLCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetWebACLForResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListAvailableManagedRuleGroupVersionsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListAvailableManagedRuleGroupsCommand.js +4 -32
- package/{dist/es → dist-es}/commands/ListIPSetsCommand.js +4 -31
- package/{dist/es → dist-es}/commands/ListLoggingConfigurationsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListManagedRuleSetsCommand.js +4 -34
- package/{dist/es → dist-es}/commands/ListRegexPatternSetsCommand.js +4 -31
- package/{dist/es → dist-es}/commands/ListResourcesForWebACLCommand.js +4 -32
- package/{dist/es → dist-es}/commands/ListRuleGroupsCommand.js +4 -31
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -37
- package/{dist/es → dist-es}/commands/ListWebACLsCommand.js +4 -31
- package/dist-es/commands/PutLoggingConfigurationCommand.js +39 -0
- package/dist-es/commands/PutManagedRuleSetVersionsCommand.js +39 -0
- package/{dist/es → dist-es}/commands/PutPermissionPolicyCommand.js +4 -46
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -37
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -33
- package/{dist/es → dist-es}/commands/UpdateIPSetCommand.js +4 -33
- package/{dist/es → dist-es}/commands/UpdateManagedRuleSetVersionExpiryDateCommand.js +4 -36
- package/{dist/es → dist-es}/commands/UpdateRegexPatternSetCommand.js +4 -33
- package/{dist/es → dist-es}/commands/UpdateRuleGroupCommand.js +4 -34
- package/dist-es/commands/UpdateWebACLCommand.js +39 -0
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +4 -547
- package/{dist/es → dist-es}/protocols/Aws_json1_1.js +1350 -1332
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- package/{dist/types → dist-types}/WAFV2.d.ts +3 -3
- package/{dist/types → dist-types}/WAFV2Client.d.ts +9 -9
- package/{dist/types → dist-types}/commands/AssociateWebACLCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CheckCapacityCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateIPSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateRegexPatternSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateRuleGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateWebACLCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteFirewallManagerRuleGroupsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteIPSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteLoggingConfigurationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeletePermissionPolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteRegexPatternSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteRuleGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteWebACLCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeManagedRuleGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DisassociateWebACLCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetIPSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetLoggingConfigurationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetManagedRuleSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetPermissionPolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetRateBasedStatementManagedKeysCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetRegexPatternSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetRuleGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetSampledRequestsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetWebACLCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetWebACLForResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListAvailableManagedRuleGroupVersionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListAvailableManagedRuleGroupsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListIPSetsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListLoggingConfigurationsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListManagedRuleSetsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListRegexPatternSetsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListResourcesForWebACLCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListRuleGroupsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListWebACLsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/PutLoggingConfigurationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/PutManagedRuleSetVersionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/PutPermissionPolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateIPSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateManagedRuleSetVersionExpiryDateCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateRegexPatternSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateRuleGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateWebACLCommand.d.ts +3 -3
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +34 -5
- package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +3 -3
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +2 -1
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.native.d.ts +36 -35
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/WAFV2.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/WAFV2Client.d.ts +9 -9
- package/{dist/types → dist-types}/ts3.4/commands/AssociateWebACLCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/CheckCapacityCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/CreateIPSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/CreateRegexPatternSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/CreateRuleGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/CreateWebACLCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DeleteFirewallManagerRuleGroupsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DeleteIPSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DeletePermissionPolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DeleteRegexPatternSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DeleteRuleGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DeleteWebACLCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DescribeManagedRuleGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DisassociateWebACLCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetIPSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetLoggingConfigurationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetManagedRuleSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetPermissionPolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetRateBasedStatementManagedKeysCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetRegexPatternSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetRuleGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetSampledRequestsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetWebACLCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetWebACLForResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListAvailableManagedRuleGroupVersionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListAvailableManagedRuleGroupsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListIPSetsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListLoggingConfigurationsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListManagedRuleSetsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListRegexPatternSetsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListResourcesForWebACLCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListRuleGroupsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListWebACLsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/PutLoggingConfigurationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/PutManagedRuleSetVersionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/PutPermissionPolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UpdateIPSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UpdateManagedRuleSetVersionExpiryDateCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UpdateRegexPatternSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UpdateRuleGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UpdateWebACLCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +34 -5
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -1
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.native.d.ts +36 -35
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +52 -49
- package/WAFV2.ts +0 -1794
- package/WAFV2Client.ts +0 -494
- package/commands/AssociateWebACLCommand.ts +0 -98
- package/commands/CheckCapacityCommand.ts +0 -105
- package/commands/CreateIPSetCommand.ts +0 -97
- package/commands/CreateRegexPatternSetCommand.ts +0 -95
- package/commands/CreateRuleGroupCommand.ts +0 -95
- package/commands/CreateWebACLCommand.ts +0 -95
- package/commands/DeleteFirewallManagerRuleGroupsCommand.ts +0 -104
- package/commands/DeleteIPSetCommand.ts +0 -94
- package/commands/DeleteLoggingConfigurationCommand.ts +0 -97
- package/commands/DeletePermissionPolicyCommand.ts +0 -95
- package/commands/DeleteRegexPatternSetCommand.ts +0 -94
- package/commands/DeleteRuleGroupCommand.ts +0 -94
- package/commands/DeleteWebACLCommand.ts +0 -96
- package/commands/DescribeManagedRuleGroupCommand.ts +0 -95
- package/commands/DisassociateWebACLCommand.ts +0 -97
- package/commands/GetIPSetCommand.ts +0 -87
- package/commands/GetLoggingConfigurationCommand.ts +0 -94
- package/commands/GetManagedRuleSetCommand.ts +0 -98
- package/commands/GetPermissionPolicyCommand.ts +0 -95
- package/commands/GetRateBasedStatementManagedKeysCommand.ts +0 -104
- package/commands/GetRegexPatternSetCommand.ts +0 -94
- package/commands/GetRuleGroupCommand.ts +0 -94
- package/commands/GetSampledRequestsCommand.ts +0 -103
- package/commands/GetWebACLCommand.ts +0 -91
- package/commands/GetWebACLForResourceCommand.ts +0 -94
- package/commands/ListAvailableManagedRuleGroupVersionsCommand.ts +0 -106
- package/commands/ListAvailableManagedRuleGroupsCommand.ts +0 -104
- package/commands/ListIPSetsCommand.ts +0 -95
- package/commands/ListLoggingConfigurationsCommand.ts +0 -97
- package/commands/ListManagedRuleSetsCommand.ts +0 -98
- package/commands/ListRegexPatternSetsCommand.ts +0 -95
- package/commands/ListResourcesForWebACLCommand.ts +0 -96
- package/commands/ListRuleGroupsCommand.ts +0 -95
- package/commands/ListTagsForResourceCommand.ts +0 -101
- package/commands/ListWebACLsCommand.ts +0 -95
- package/commands/PutLoggingConfigurationCommand.ts +0 -124
- package/commands/PutManagedRuleSetVersionsCommand.ts +0 -108
- package/commands/PutPermissionPolicyCommand.ts +0 -110
- package/commands/TagResourceCommand.ts +0 -101
- package/commands/UntagResourceCommand.ts +0 -97
- package/commands/UpdateIPSetCommand.ts +0 -97
- package/commands/UpdateManagedRuleSetVersionExpiryDateCommand.ts +0 -112
- package/commands/UpdateRegexPatternSetCommand.ts +0 -97
- package/commands/UpdateRuleGroupCommand.ts +0 -98
- package/commands/UpdateWebACLCommand.ts +0 -98
- package/dist/cjs/WAFV2.js.map +0 -1
- package/dist/cjs/WAFV2Client.js.map +0 -1
- package/dist/cjs/commands/AssociateWebACLCommand.js.map +0 -1
- package/dist/cjs/commands/CheckCapacityCommand.js.map +0 -1
- package/dist/cjs/commands/CreateIPSetCommand.js.map +0 -1
- package/dist/cjs/commands/CreateRegexPatternSetCommand.js.map +0 -1
- package/dist/cjs/commands/CreateRuleGroupCommand.js.map +0 -1
- package/dist/cjs/commands/CreateWebACLCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteFirewallManagerRuleGroupsCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteIPSetCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteLoggingConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/DeletePermissionPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteRegexPatternSetCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteRuleGroupCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteWebACLCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeManagedRuleGroupCommand.js.map +0 -1
- package/dist/cjs/commands/DisassociateWebACLCommand.js.map +0 -1
- package/dist/cjs/commands/GetIPSetCommand.js.map +0 -1
- package/dist/cjs/commands/GetLoggingConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/GetManagedRuleSetCommand.js.map +0 -1
- package/dist/cjs/commands/GetPermissionPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/GetRateBasedStatementManagedKeysCommand.js.map +0 -1
- package/dist/cjs/commands/GetRegexPatternSetCommand.js.map +0 -1
- package/dist/cjs/commands/GetRuleGroupCommand.js.map +0 -1
- package/dist/cjs/commands/GetSampledRequestsCommand.js.map +0 -1
- package/dist/cjs/commands/GetWebACLCommand.js.map +0 -1
- package/dist/cjs/commands/GetWebACLForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/ListAvailableManagedRuleGroupVersionsCommand.js.map +0 -1
- package/dist/cjs/commands/ListAvailableManagedRuleGroupsCommand.js.map +0 -1
- package/dist/cjs/commands/ListIPSetsCommand.js.map +0 -1
- package/dist/cjs/commands/ListLoggingConfigurationsCommand.js.map +0 -1
- package/dist/cjs/commands/ListManagedRuleSetsCommand.js.map +0 -1
- package/dist/cjs/commands/ListRegexPatternSetsCommand.js.map +0 -1
- package/dist/cjs/commands/ListResourcesForWebACLCommand.js.map +0 -1
- package/dist/cjs/commands/ListRuleGroupsCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/ListWebACLsCommand.js.map +0 -1
- package/dist/cjs/commands/PutLoggingConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/PutManagedRuleSetVersionsCommand.js.map +0 -1
- package/dist/cjs/commands/PutPermissionPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateIPSetCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateManagedRuleSetVersionExpiryDateCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateRegexPatternSetCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateRuleGroupCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateWebACLCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/WAFV2.js.map +0 -1
- package/dist/es/WAFV2Client.js +0 -104
- package/dist/es/WAFV2Client.js.map +0 -1
- package/dist/es/commands/AssociateWebACLCommand.js.map +0 -1
- package/dist/es/commands/CheckCapacityCommand.js +0 -76
- package/dist/es/commands/CheckCapacityCommand.js.map +0 -1
- package/dist/es/commands/CreateIPSetCommand.js.map +0 -1
- package/dist/es/commands/CreateRegexPatternSetCommand.js.map +0 -1
- package/dist/es/commands/CreateRuleGroupCommand.js.map +0 -1
- package/dist/es/commands/CreateWebACLCommand.js.map +0 -1
- package/dist/es/commands/DeleteFirewallManagerRuleGroupsCommand.js.map +0 -1
- package/dist/es/commands/DeleteIPSetCommand.js.map +0 -1
- package/dist/es/commands/DeleteLoggingConfigurationCommand.js.map +0 -1
- package/dist/es/commands/DeletePermissionPolicyCommand.js.map +0 -1
- package/dist/es/commands/DeleteRegexPatternSetCommand.js.map +0 -1
- package/dist/es/commands/DeleteRuleGroupCommand.js.map +0 -1
- package/dist/es/commands/DeleteWebACLCommand.js.map +0 -1
- package/dist/es/commands/DescribeManagedRuleGroupCommand.js.map +0 -1
- package/dist/es/commands/DisassociateWebACLCommand.js.map +0 -1
- package/dist/es/commands/GetIPSetCommand.js.map +0 -1
- package/dist/es/commands/GetLoggingConfigurationCommand.js.map +0 -1
- package/dist/es/commands/GetManagedRuleSetCommand.js.map +0 -1
- package/dist/es/commands/GetPermissionPolicyCommand.js.map +0 -1
- package/dist/es/commands/GetRateBasedStatementManagedKeysCommand.js +0 -67
- package/dist/es/commands/GetRateBasedStatementManagedKeysCommand.js.map +0 -1
- package/dist/es/commands/GetRegexPatternSetCommand.js.map +0 -1
- package/dist/es/commands/GetRuleGroupCommand.js.map +0 -1
- package/dist/es/commands/GetSampledRequestsCommand.js +0 -74
- package/dist/es/commands/GetSampledRequestsCommand.js.map +0 -1
- package/dist/es/commands/GetWebACLCommand.js.map +0 -1
- package/dist/es/commands/GetWebACLForResourceCommand.js.map +0 -1
- package/dist/es/commands/ListAvailableManagedRuleGroupVersionsCommand.js.map +0 -1
- package/dist/es/commands/ListAvailableManagedRuleGroupsCommand.js.map +0 -1
- package/dist/es/commands/ListIPSetsCommand.js.map +0 -1
- package/dist/es/commands/ListLoggingConfigurationsCommand.js.map +0 -1
- package/dist/es/commands/ListManagedRuleSetsCommand.js.map +0 -1
- package/dist/es/commands/ListRegexPatternSetsCommand.js.map +0 -1
- package/dist/es/commands/ListResourcesForWebACLCommand.js.map +0 -1
- package/dist/es/commands/ListRuleGroupsCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/ListWebACLsCommand.js.map +0 -1
- package/dist/es/commands/PutLoggingConfigurationCommand.js +0 -95
- package/dist/es/commands/PutLoggingConfigurationCommand.js.map +0 -1
- package/dist/es/commands/PutManagedRuleSetVersionsCommand.js +0 -76
- package/dist/es/commands/PutManagedRuleSetVersionsCommand.js.map +0 -1
- package/dist/es/commands/PutPermissionPolicyCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateIPSetCommand.js.map +0 -1
- package/dist/es/commands/UpdateManagedRuleSetVersionExpiryDateCommand.js.map +0 -1
- package/dist/es/commands/UpdateRegexPatternSetCommand.js.map +0 -1
- package/dist/es/commands/UpdateRuleGroupCommand.js.map +0 -1
- package/dist/es/commands/UpdateWebACLCommand.js +0 -69
- package/dist/es/commands/UpdateWebACLCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -49
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/protocols/Aws_json1_1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/endpoints.ts +0 -57
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -6624
- package/protocols/Aws_json1_1.ts +0 -8472
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
|
@@ -1,56 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { PutPermissionPolicyRequest, PutPermissionPolicyResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1PutPermissionPolicyCommand, serializeAws_json1_1PutPermissionPolicyCommand, } from "../protocols/Aws_json1_1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* <p>You must be the owner of the rule group to perform this operation.</p>
|
|
10
|
-
* <p>This action is subject to the following restrictions:</p>
|
|
11
|
-
* <ul>
|
|
12
|
-
* <li>
|
|
13
|
-
* <p>You can attach only one policy with each <code>PutPermissionPolicy</code>
|
|
14
|
-
* request.</p>
|
|
15
|
-
* </li>
|
|
16
|
-
* <li>
|
|
17
|
-
* <p>The ARN in the request must be a valid WAF <a>RuleGroup</a> ARN and the
|
|
18
|
-
* rule group must exist in the same Region.</p>
|
|
19
|
-
* </li>
|
|
20
|
-
* <li>
|
|
21
|
-
* <p>The user making the request must be the owner of the rule group.</p>
|
|
22
|
-
* </li>
|
|
23
|
-
* </ul>
|
|
24
|
-
* @example
|
|
25
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
26
|
-
* ```javascript
|
|
27
|
-
* import { WAFV2Client, PutPermissionPolicyCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
|
|
28
|
-
* // const { WAFV2Client, PutPermissionPolicyCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
|
|
29
|
-
* const client = new WAFV2Client(config);
|
|
30
|
-
* const command = new PutPermissionPolicyCommand(input);
|
|
31
|
-
* const response = await client.send(command);
|
|
32
|
-
* ```
|
|
33
|
-
*
|
|
34
|
-
* @see {@link PutPermissionPolicyCommandInput} for command's `input` shape.
|
|
35
|
-
* @see {@link PutPermissionPolicyCommandOutput} for command's `response` shape.
|
|
36
|
-
* @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
|
|
37
|
-
*
|
|
38
|
-
*/
|
|
39
|
-
var PutPermissionPolicyCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { PutPermissionPolicyRequest, PutPermissionPolicyResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1PutPermissionPolicyCommand, serializeAws_json1_1PutPermissionPolicyCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var PutPermissionPolicyCommand = (function (_super) {
|
|
40
7
|
__extends(PutPermissionPolicyCommand, _super);
|
|
41
|
-
// Start section: command_properties
|
|
42
|
-
// End section: command_properties
|
|
43
8
|
function PutPermissionPolicyCommand(input) {
|
|
44
|
-
var _this =
|
|
45
|
-
// Start section: command_constructor
|
|
46
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
47
10
|
_this.input = input;
|
|
48
11
|
return _this;
|
|
49
|
-
// End section: command_constructor
|
|
50
12
|
}
|
|
51
|
-
/**
|
|
52
|
-
* @internal
|
|
53
|
-
*/
|
|
54
13
|
PutPermissionPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
55
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
56
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -78,4 +37,3 @@ var PutPermissionPolicyCommand = /** @class */ (function (_super) {
|
|
|
78
37
|
return PutPermissionPolicyCommand;
|
|
79
38
|
}($Command));
|
|
80
39
|
export { PutPermissionPolicyCommand };
|
|
81
|
-
//# sourceMappingURL=PutPermissionPolicyCommand.js.map
|
|
@@ -1,47 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1TagResourceCommand, serializeAws_json1_1TagResourceCommand, } from "../protocols/Aws_json1_1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* might set the tag key to "customer" and the value to the customer name or ID. You can
|
|
10
|
-
* specify one or more tags to add to each Amazon Web Services resource, up to 50 tags for a
|
|
11
|
-
* resource.</p>
|
|
12
|
-
* <p>You can tag the Amazon Web Services resources that you manage through WAF: web ACLs, rule
|
|
13
|
-
* groups, IP sets, and regex pattern sets. You can't manage or view tags through the WAF
|
|
14
|
-
* console. </p>
|
|
15
|
-
* @example
|
|
16
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
-
* ```javascript
|
|
18
|
-
* import { WAFV2Client, TagResourceCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
|
|
19
|
-
* // const { WAFV2Client, TagResourceCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
|
|
20
|
-
* const client = new WAFV2Client(config);
|
|
21
|
-
* const command = new TagResourceCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
|
-
var TagResourceCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1TagResourceCommand, serializeAws_json1_1TagResourceCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var TagResourceCommand = (function (_super) {
|
|
31
7
|
__extends(TagResourceCommand, _super);
|
|
32
|
-
// Start section: command_properties
|
|
33
|
-
// End section: command_properties
|
|
34
8
|
function TagResourceCommand(input) {
|
|
35
|
-
var _this =
|
|
36
|
-
// Start section: command_constructor
|
|
37
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
38
10
|
_this.input = input;
|
|
39
11
|
return _this;
|
|
40
|
-
// End section: command_constructor
|
|
41
12
|
}
|
|
42
|
-
/**
|
|
43
|
-
* @internal
|
|
44
|
-
*/
|
|
45
13
|
TagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
46
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
47
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -69,4 +37,3 @@ var TagResourceCommand = /** @class */ (function (_super) {
|
|
|
69
37
|
return TagResourceCommand;
|
|
70
38
|
}($Command));
|
|
71
39
|
export { TagResourceCommand };
|
|
72
|
-
//# sourceMappingURL=TagResourceCommand.js.map
|
|
@@ -1,43 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1UntagResourceCommand, serializeAws_json1_1UntagResourceCommand, } from "../protocols/Aws_json1_1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* value might be "companyA." You can specify one or more tags to add to each container. You
|
|
10
|
-
* can add up to 50 tags to each Amazon Web Services resource.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { WAFV2Client, UntagResourceCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
|
|
15
|
-
* // const { WAFV2Client, UntagResourceCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
|
|
16
|
-
* const client = new WAFV2Client(config);
|
|
17
|
-
* const command = new UntagResourceCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
|
-
var UntagResourceCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1UntagResourceCommand, serializeAws_json1_1UntagResourceCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var UntagResourceCommand = (function (_super) {
|
|
27
7
|
__extends(UntagResourceCommand, _super);
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
8
|
function UntagResourceCommand(input) {
|
|
31
|
-
var _this =
|
|
32
|
-
// Start section: command_constructor
|
|
33
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
34
10
|
_this.input = input;
|
|
35
11
|
return _this;
|
|
36
|
-
// End section: command_constructor
|
|
37
12
|
}
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
13
|
UntagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
42
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
43
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -65,4 +37,3 @@ var UntagResourceCommand = /** @class */ (function (_super) {
|
|
|
65
37
|
return UntagResourceCommand;
|
|
66
38
|
}($Command));
|
|
67
39
|
export { UntagResourceCommand };
|
|
68
|
-
//# sourceMappingURL=UntagResourceCommand.js.map
|
|
@@ -1,43 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { UpdateIPSetRequest, UpdateIPSetResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1UpdateIPSetCommand, serializeAws_json1_1UpdateIPSetCommand, } from "../protocols/Aws_json1_1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* <p>This operation completely replaces the mutable specifications that you already have for the IP set with the ones that you provide to this call. To modify the IP set, retrieve it by calling <a>GetIPSet</a>, update the settings as needed, and then provide the complete IP set specification to this call.</p>
|
|
10
|
-
* </note>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { WAFV2Client, UpdateIPSetCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
|
|
15
|
-
* // const { WAFV2Client, UpdateIPSetCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
|
|
16
|
-
* const client = new WAFV2Client(config);
|
|
17
|
-
* const command = new UpdateIPSetCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link UpdateIPSetCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link UpdateIPSetCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
|
-
var UpdateIPSetCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { UpdateIPSetRequest, UpdateIPSetResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1UpdateIPSetCommand, serializeAws_json1_1UpdateIPSetCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var UpdateIPSetCommand = (function (_super) {
|
|
27
7
|
__extends(UpdateIPSetCommand, _super);
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
8
|
function UpdateIPSetCommand(input) {
|
|
31
|
-
var _this =
|
|
32
|
-
// Start section: command_constructor
|
|
33
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
34
10
|
_this.input = input;
|
|
35
11
|
return _this;
|
|
36
|
-
// End section: command_constructor
|
|
37
12
|
}
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
13
|
UpdateIPSetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
42
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
43
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -65,4 +37,3 @@ var UpdateIPSetCommand = /** @class */ (function (_super) {
|
|
|
65
37
|
return UpdateIPSetCommand;
|
|
66
38
|
}($Command));
|
|
67
39
|
export { UpdateIPSetCommand };
|
|
68
|
-
//# sourceMappingURL=UpdateIPSetCommand.js.map
|
|
@@ -1,46 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { UpdateManagedRuleSetVersionExpiryDateRequest, UpdateManagedRuleSetVersionExpiryDateResponse, } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1UpdateManagedRuleSetVersionExpiryDateCommand, serializeAws_json1_1UpdateManagedRuleSetVersionExpiryDateCommand, } from "../protocols/Aws_json1_1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* WAF excludes it from the reponse to <a>ListAvailableManagedRuleGroupVersions</a> for the managed rule group. </p>
|
|
10
|
-
* <note>
|
|
11
|
-
* <p>This is intended for use only by vendors of managed rule sets. Vendors are Amazon Web Services and Amazon Web Services Marketplace sellers. </p>
|
|
12
|
-
* <p>Vendors, you can use the managed rule set APIs to provide controlled rollout of your versioned managed rule group offerings for your customers. The APIs are <code>ListManagedRuleSets</code>, <code>GetManagedRuleSet</code>, <code>PutManagedRuleSetVersions</code>, and <code>UpdateManagedRuleSetVersionExpiryDate</code>.</p>
|
|
13
|
-
* </note>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { WAFV2Client, UpdateManagedRuleSetVersionExpiryDateCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
|
|
18
|
-
* // const { WAFV2Client, UpdateManagedRuleSetVersionExpiryDateCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
|
|
19
|
-
* const client = new WAFV2Client(config);
|
|
20
|
-
* const command = new UpdateManagedRuleSetVersionExpiryDateCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link UpdateManagedRuleSetVersionExpiryDateCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link UpdateManagedRuleSetVersionExpiryDateCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
|
-
var UpdateManagedRuleSetVersionExpiryDateCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { UpdateManagedRuleSetVersionExpiryDateRequest, UpdateManagedRuleSetVersionExpiryDateResponse, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1UpdateManagedRuleSetVersionExpiryDateCommand, serializeAws_json1_1UpdateManagedRuleSetVersionExpiryDateCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var UpdateManagedRuleSetVersionExpiryDateCommand = (function (_super) {
|
|
30
7
|
__extends(UpdateManagedRuleSetVersionExpiryDateCommand, _super);
|
|
31
|
-
// Start section: command_properties
|
|
32
|
-
// End section: command_properties
|
|
33
8
|
function UpdateManagedRuleSetVersionExpiryDateCommand(input) {
|
|
34
|
-
var _this =
|
|
35
|
-
// Start section: command_constructor
|
|
36
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
37
10
|
_this.input = input;
|
|
38
11
|
return _this;
|
|
39
|
-
// End section: command_constructor
|
|
40
12
|
}
|
|
41
|
-
/**
|
|
42
|
-
* @internal
|
|
43
|
-
*/
|
|
44
13
|
UpdateManagedRuleSetVersionExpiryDateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
45
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
46
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -68,4 +37,3 @@ var UpdateManagedRuleSetVersionExpiryDateCommand = /** @class */ (function (_sup
|
|
|
68
37
|
return UpdateManagedRuleSetVersionExpiryDateCommand;
|
|
69
38
|
}($Command));
|
|
70
39
|
export { UpdateManagedRuleSetVersionExpiryDateCommand };
|
|
71
|
-
//# sourceMappingURL=UpdateManagedRuleSetVersionExpiryDateCommand.js.map
|
|
@@ -1,43 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { UpdateRegexPatternSetRequest, UpdateRegexPatternSetResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1UpdateRegexPatternSetCommand, serializeAws_json1_1UpdateRegexPatternSetCommand, } from "../protocols/Aws_json1_1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* <p>This operation completely replaces the mutable specifications that you already have for the regex pattern set with the ones that you provide to this call. To modify the regex pattern set, retrieve it by calling <a>GetRegexPatternSet</a>, update the settings as needed, and then provide the complete regex pattern set specification to this call.</p>
|
|
10
|
-
* </note>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { WAFV2Client, UpdateRegexPatternSetCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
|
|
15
|
-
* // const { WAFV2Client, UpdateRegexPatternSetCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
|
|
16
|
-
* const client = new WAFV2Client(config);
|
|
17
|
-
* const command = new UpdateRegexPatternSetCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link UpdateRegexPatternSetCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link UpdateRegexPatternSetCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
|
-
var UpdateRegexPatternSetCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { UpdateRegexPatternSetRequest, UpdateRegexPatternSetResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1UpdateRegexPatternSetCommand, serializeAws_json1_1UpdateRegexPatternSetCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var UpdateRegexPatternSetCommand = (function (_super) {
|
|
27
7
|
__extends(UpdateRegexPatternSetCommand, _super);
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
8
|
function UpdateRegexPatternSetCommand(input) {
|
|
31
|
-
var _this =
|
|
32
|
-
// Start section: command_constructor
|
|
33
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
34
10
|
_this.input = input;
|
|
35
11
|
return _this;
|
|
36
|
-
// End section: command_constructor
|
|
37
12
|
}
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
13
|
UpdateRegexPatternSetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
42
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
43
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -65,4 +37,3 @@ var UpdateRegexPatternSetCommand = /** @class */ (function (_super) {
|
|
|
65
37
|
return UpdateRegexPatternSetCommand;
|
|
66
38
|
}($Command));
|
|
67
39
|
export { UpdateRegexPatternSetCommand };
|
|
68
|
-
//# sourceMappingURL=UpdateRegexPatternSetCommand.js.map
|
|
@@ -1,44 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { UpdateRuleGroupRequest, UpdateRuleGroupResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1UpdateRuleGroupCommand, serializeAws_json1_1UpdateRuleGroupCommand, } from "../protocols/Aws_json1_1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* <p>This operation completely replaces the mutable specifications that you already have for the rule group with the ones that you provide to this call. To modify the rule group, retrieve it by calling <a>GetRuleGroup</a>, update the settings as needed, and then provide the complete rule group specification to this call.</p>
|
|
10
|
-
* </note>
|
|
11
|
-
* <p> A rule group defines a collection of rules to inspect and control web requests that you can use in a <a>WebACL</a>. When you create a rule group, you define an immutable capacity limit. If you update a rule group, you must stay within the capacity. This allows others to reuse the rule group with confidence in its capacity requirements. </p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { WAFV2Client, UpdateRuleGroupCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
|
|
16
|
-
* // const { WAFV2Client, UpdateRuleGroupCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
|
|
17
|
-
* const client = new WAFV2Client(config);
|
|
18
|
-
* const command = new UpdateRuleGroupCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link UpdateRuleGroupCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link UpdateRuleGroupCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
|
-
var UpdateRuleGroupCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { UpdateRuleGroupRequest, UpdateRuleGroupResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1UpdateRuleGroupCommand, serializeAws_json1_1UpdateRuleGroupCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var UpdateRuleGroupCommand = (function (_super) {
|
|
28
7
|
__extends(UpdateRuleGroupCommand, _super);
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
8
|
function UpdateRuleGroupCommand(input) {
|
|
32
|
-
var _this =
|
|
33
|
-
// Start section: command_constructor
|
|
34
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
35
10
|
_this.input = input;
|
|
36
11
|
return _this;
|
|
37
|
-
// End section: command_constructor
|
|
38
12
|
}
|
|
39
|
-
/**
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
42
13
|
UpdateRuleGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
43
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
44
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -66,4 +37,3 @@ var UpdateRuleGroupCommand = /** @class */ (function (_super) {
|
|
|
66
37
|
return UpdateRuleGroupCommand;
|
|
67
38
|
}($Command));
|
|
68
39
|
export { UpdateRuleGroupCommand };
|
|
69
|
-
//# sourceMappingURL=UpdateRuleGroupCommand.js.map
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UpdateWebACLRequest, UpdateWebACLResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1UpdateWebACLCommand, serializeAws_json1_1UpdateWebACLCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var UpdateWebACLCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateWebACLCommand, _super);
|
|
8
|
+
function UpdateWebACLCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
UpdateWebACLCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "WAFV2Client";
|
|
18
|
+
var commandName = "UpdateWebACLCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: UpdateWebACLRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: UpdateWebACLResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateWebACLCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1UpdateWebACLCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
UpdateWebACLCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1UpdateWebACLCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return UpdateWebACLCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateWebACLCommand };
|
|
@@ -47,7 +47,6 @@ var partitionHash = {
|
|
|
47
47
|
};
|
|
48
48
|
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
49
49
|
return __generator(this, function (_a) {
|
|
50
|
-
return [2
|
|
50
|
+
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "wafv2", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
51
51
|
});
|
|
52
52
|
}); };
|
|
53
|
-
//# sourceMappingURL=endpoints.js.map
|
|
File without changes
|
|
File without changes
|