@aws-sdk/client-network-firewall 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 +44 -0
- package/README.md +2 -1
- package/{dist/cjs → dist-cjs}/NetworkFirewall.js +3 -3
- package/{dist/cjs → dist-cjs}/NetworkFirewallClient.js +10 -10
- package/{dist/cjs → dist-cjs}/commands/AssociateFirewallPolicyCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/AssociateSubnetsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateFirewallCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateFirewallPolicyCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateRuleGroupCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteFirewallCommand.js +4 -4
- package/{dist/cjs → dist-cjs}/commands/DeleteFirewallPolicyCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteResourcePolicyCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteRuleGroupCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeFirewallCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeFirewallPolicyCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeLoggingConfigurationCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeResourcePolicyCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeRuleGroupCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DisassociateSubnetsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListFirewallPoliciesCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListFirewallsCommand.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/PutResourcePolicyCommand.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/UpdateFirewallDeleteProtectionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateFirewallDescriptionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateFirewallPolicyChangeProtectionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateFirewallPolicyCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateLoggingConfigurationCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateRuleGroupCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateSubnetChangeProtectionCommand.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 +35 -13
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListFirewallPoliciesPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListFirewallsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListRuleGroupsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListTagsForResourcePaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/protocols/Aws_json1_0.js +76 -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}/NetworkFirewall.js +2 -82
- package/dist-es/NetworkFirewallClient.js +37 -0
- package/{dist/es → dist-es}/commands/AssociateFirewallPolicyCommand.js +4 -34
- package/{dist/es → dist-es}/commands/AssociateSubnetsCommand.js +4 -35
- package/dist-es/commands/CreateFirewallCommand.js +39 -0
- package/{dist/es → dist-es}/commands/CreateFirewallPolicyCommand.js +4 -33
- package/{dist/es → dist-es}/commands/CreateRuleGroupCommand.js +4 -33
- package/dist-es/commands/DeleteFirewallCommand.js +39 -0
- package/{dist/es → dist-es}/commands/DeleteFirewallPolicyCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteResourcePolicyCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteRuleGroupCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeFirewallCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeFirewallPolicyCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeLoggingConfigurationCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeResourcePolicyCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeRuleGroupCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DisassociateSubnetsCommand.js +4 -33
- package/{dist/es → dist-es}/commands/ListFirewallPoliciesCommand.js +4 -32
- package/{dist/es → dist-es}/commands/ListFirewallsCommand.js +4 -33
- package/{dist/es → dist-es}/commands/ListRuleGroupsCommand.js +4 -32
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -36
- package/dist-es/commands/PutResourcePolicyCommand.js +39 -0
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -35
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -36
- package/{dist/es → dist-es}/commands/UpdateFirewallDeleteProtectionCommand.js +4 -33
- package/{dist/es → dist-es}/commands/UpdateFirewallDescriptionCommand.js +4 -31
- package/{dist/es → dist-es}/commands/UpdateFirewallPolicyChangeProtectionCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateFirewallPolicyCommand.js +4 -30
- package/dist-es/commands/UpdateLoggingConfigurationCommand.js +39 -0
- package/{dist/es → dist-es}/commands/UpdateRuleGroupCommand.js +4 -35
- package/{dist/es → dist-es}/commands/UpdateSubnetChangeProtectionCommand.js +4 -30
- 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 +17 -326
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListFirewallPoliciesPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListFirewallsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListRuleGroupsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListTagsForResourcePaginator.js +17 -30
- package/{dist/es → dist-es}/protocols/Aws_json1_0.js +845 -783
- 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}/NetworkFirewall.d.ts +6 -4
- package/{dist/types → dist-types}/NetworkFirewallClient.d.ts +10 -9
- package/{dist/types → dist-types}/commands/AssociateFirewallPolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/AssociateSubnetsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateFirewallCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateFirewallPolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateRuleGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteFirewallCommand.d.ts +5 -4
- package/{dist/types → dist-types}/commands/DeleteFirewallPolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteResourcePolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteRuleGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeFirewallCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeFirewallPolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeLoggingConfigurationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeResourcePolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeRuleGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DisassociateSubnetsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListFirewallPoliciesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListFirewallsCommand.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/PutResourcePolicyCommand.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/UpdateFirewallDeleteProtectionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateFirewallDescriptionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateFirewallPolicyChangeProtectionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateFirewallPolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateLoggingConfigurationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateRuleGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateSubnetChangeProtectionCommand.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/ts3.4 → dist-types}/models/models_0.d.ts +2944 -2853
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListFirewallPoliciesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListFirewallsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListRuleGroupsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListTagsForResourcePaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_json1_0.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/NetworkFirewall.d.ts +6 -4
- package/{dist/types → dist-types}/ts3.4/NetworkFirewallClient.d.ts +10 -9
- package/{dist/types → dist-types}/ts3.4/commands/AssociateFirewallPolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/AssociateSubnetsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/CreateFirewallCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/CreateFirewallPolicyCommand.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/DeleteFirewallCommand.d.ts +5 -4
- package/{dist/types → dist-types}/ts3.4/commands/DeleteFirewallPolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DeleteResourcePolicyCommand.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/DescribeFirewallCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DescribeFirewallPolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DescribeLoggingConfigurationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DescribeResourcePolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DescribeRuleGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DisassociateSubnetsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListFirewallPoliciesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListFirewallsCommand.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/PutResourcePolicyCommand.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/UpdateFirewallDeleteProtectionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UpdateFirewallDescriptionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UpdateFirewallPolicyChangeProtectionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UpdateFirewallPolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UpdateLoggingConfigurationCommand.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/UpdateSubnetChangeProtectionCommand.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 +2944 -2853
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListFirewallPoliciesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListFirewallsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListRuleGroupsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_0.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +52 -49
- package/NetworkFirewall.ts +0 -1251
- package/NetworkFirewallClient.ts +0 -446
- package/commands/AssociateFirewallPolicyCommand.ts +0 -98
- package/commands/AssociateSubnetsCommand.ts +0 -99
- package/commands/CreateFirewallCommand.ts +0 -100
- package/commands/CreateFirewallPolicyCommand.ts +0 -97
- package/commands/CreateRuleGroupCommand.ts +0 -97
- package/commands/DeleteFirewallCommand.ts +0 -103
- package/commands/DeleteFirewallPolicyCommand.ts +0 -94
- package/commands/DeleteResourcePolicyCommand.ts +0 -94
- package/commands/DeleteRuleGroupCommand.ts +0 -94
- package/commands/DescribeFirewallCommand.ts +0 -94
- package/commands/DescribeFirewallPolicyCommand.ts +0 -94
- package/commands/DescribeLoggingConfigurationCommand.ts +0 -99
- package/commands/DescribeResourcePolicyCommand.ts +0 -94
- package/commands/DescribeRuleGroupCommand.ts +0 -94
- package/commands/DisassociateSubnetsCommand.ts +0 -97
- package/commands/ListFirewallPoliciesCommand.ts +0 -96
- package/commands/ListFirewallsCommand.ts +0 -97
- package/commands/ListRuleGroupsCommand.ts +0 -96
- package/commands/ListTagsForResourceCommand.ts +0 -100
- package/commands/PutResourcePolicyCommand.ts +0 -108
- package/commands/TagResourceCommand.ts +0 -99
- package/commands/UntagResourceCommand.ts +0 -100
- package/commands/UpdateFirewallDeleteProtectionCommand.ts +0 -105
- package/commands/UpdateFirewallDescriptionCommand.ts +0 -98
- package/commands/UpdateFirewallPolicyChangeProtectionCommand.ts +0 -105
- package/commands/UpdateFirewallPolicyCommand.ts +0 -94
- package/commands/UpdateLoggingConfigurationCommand.ts +0 -122
- package/commands/UpdateRuleGroupCommand.ts +0 -99
- package/commands/UpdateSubnetChangeProtectionCommand.ts +0 -99
- package/dist/cjs/NetworkFirewall.js.map +0 -1
- package/dist/cjs/NetworkFirewallClient.js.map +0 -1
- package/dist/cjs/commands/AssociateFirewallPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/AssociateSubnetsCommand.js.map +0 -1
- package/dist/cjs/commands/CreateFirewallCommand.js.map +0 -1
- package/dist/cjs/commands/CreateFirewallPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/CreateRuleGroupCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteFirewallCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteFirewallPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteResourcePolicyCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteRuleGroupCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeFirewallCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeFirewallPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeLoggingConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeResourcePolicyCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeRuleGroupCommand.js.map +0 -1
- package/dist/cjs/commands/DisassociateSubnetsCommand.js.map +0 -1
- package/dist/cjs/commands/ListFirewallPoliciesCommand.js.map +0 -1
- package/dist/cjs/commands/ListFirewallsCommand.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/PutResourcePolicyCommand.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/UpdateFirewallDeleteProtectionCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateFirewallDescriptionCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateFirewallPolicyChangeProtectionCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateFirewallPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateLoggingConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateRuleGroupCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateSubnetChangeProtectionCommand.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/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListFirewallPoliciesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListFirewallsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListRuleGroupsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListTagsForResourcePaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_json1_0.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/NetworkFirewall.js.map +0 -1
- package/dist/es/NetworkFirewallClient.js +0 -122
- package/dist/es/NetworkFirewallClient.js.map +0 -1
- package/dist/es/commands/AssociateFirewallPolicyCommand.js.map +0 -1
- package/dist/es/commands/AssociateSubnetsCommand.js.map +0 -1
- package/dist/es/commands/CreateFirewallCommand.js +0 -71
- package/dist/es/commands/CreateFirewallCommand.js.map +0 -1
- package/dist/es/commands/CreateFirewallPolicyCommand.js.map +0 -1
- package/dist/es/commands/CreateRuleGroupCommand.js.map +0 -1
- package/dist/es/commands/DeleteFirewallCommand.js +0 -74
- package/dist/es/commands/DeleteFirewallCommand.js.map +0 -1
- package/dist/es/commands/DeleteFirewallPolicyCommand.js.map +0 -1
- package/dist/es/commands/DeleteResourcePolicyCommand.js.map +0 -1
- package/dist/es/commands/DeleteRuleGroupCommand.js.map +0 -1
- package/dist/es/commands/DescribeFirewallCommand.js.map +0 -1
- package/dist/es/commands/DescribeFirewallPolicyCommand.js.map +0 -1
- package/dist/es/commands/DescribeLoggingConfigurationCommand.js.map +0 -1
- package/dist/es/commands/DescribeResourcePolicyCommand.js.map +0 -1
- package/dist/es/commands/DescribeRuleGroupCommand.js.map +0 -1
- package/dist/es/commands/DisassociateSubnetsCommand.js.map +0 -1
- package/dist/es/commands/ListFirewallPoliciesCommand.js.map +0 -1
- package/dist/es/commands/ListFirewallsCommand.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/PutResourcePolicyCommand.js +0 -79
- package/dist/es/commands/PutResourcePolicyCommand.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/UpdateFirewallDeleteProtectionCommand.js.map +0 -1
- package/dist/es/commands/UpdateFirewallDescriptionCommand.js.map +0 -1
- package/dist/es/commands/UpdateFirewallPolicyChangeProtectionCommand.js.map +0 -1
- package/dist/es/commands/UpdateFirewallPolicyCommand.js.map +0 -1
- package/dist/es/commands/UpdateLoggingConfigurationCommand.js +0 -90
- package/dist/es/commands/UpdateLoggingConfigurationCommand.js.map +0 -1
- package/dist/es/commands/UpdateRuleGroupCommand.js.map +0 -1
- package/dist/es/commands/UpdateSubnetChangeProtectionCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -38
- 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/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListFirewallPoliciesPaginator.js.map +0 -1
- package/dist/es/pagination/ListFirewallsPaginator.js.map +0 -1
- package/dist/es/pagination/ListRuleGroupsPaginator.js.map +0 -1
- package/dist/es/pagination/ListTagsForResourcePaginator.js.map +0 -1
- package/dist/es/protocols/Aws_json1_0.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 -91
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -3458
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListFirewallPoliciesPaginator.ts +0 -58
- package/pagination/ListFirewallsPaginator.ts +0 -58
- package/pagination/ListRuleGroupsPaginator.ts +0 -58
- package/pagination/ListTagsForResourcePaginator.ts +0 -58
- package/protocols/Aws_json1_0.ts +0 -5391
- 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,105 +0,0 @@
|
|
|
1
|
-
import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
|
|
2
|
-
import { UpdateFirewallDeleteProtectionRequest, UpdateFirewallDeleteProtectionResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_0UpdateFirewallDeleteProtectionCommand,
|
|
5
|
-
serializeAws_json1_0UpdateFirewallDeleteProtectionCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_0";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface UpdateFirewallDeleteProtectionCommandInput extends UpdateFirewallDeleteProtectionRequest {}
|
|
21
|
-
export interface UpdateFirewallDeleteProtectionCommandOutput
|
|
22
|
-
extends UpdateFirewallDeleteProtectionResponse,
|
|
23
|
-
__MetadataBearer {}
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* <p>Modifies the flag, <code>DeleteProtection</code>, which indicates whether it is possible
|
|
27
|
-
* to delete the firewall. If the flag is set to <code>TRUE</code>, the firewall is protected
|
|
28
|
-
* against deletion. This setting helps protect against accidentally deleting a firewall
|
|
29
|
-
* that's in use. </p>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { NetworkFirewallClient, UpdateFirewallDeleteProtectionCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
34
|
-
* // const { NetworkFirewallClient, UpdateFirewallDeleteProtectionCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
35
|
-
* const client = new NetworkFirewallClient(config);
|
|
36
|
-
* const command = new UpdateFirewallDeleteProtectionCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link UpdateFirewallDeleteProtectionCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link UpdateFirewallDeleteProtectionCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link NetworkFirewallClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class UpdateFirewallDeleteProtectionCommand extends $Command<
|
|
46
|
-
UpdateFirewallDeleteProtectionCommandInput,
|
|
47
|
-
UpdateFirewallDeleteProtectionCommandOutput,
|
|
48
|
-
NetworkFirewallClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: UpdateFirewallDeleteProtectionCommandInput) {
|
|
54
|
-
// Start section: command_constructor
|
|
55
|
-
super();
|
|
56
|
-
// End section: command_constructor
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
62
|
-
resolveMiddleware(
|
|
63
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
64
|
-
configuration: NetworkFirewallClientResolvedConfig,
|
|
65
|
-
options?: __HttpHandlerOptions
|
|
66
|
-
): Handler<UpdateFirewallDeleteProtectionCommandInput, UpdateFirewallDeleteProtectionCommandOutput> {
|
|
67
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
68
|
-
|
|
69
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
70
|
-
|
|
71
|
-
const { logger } = configuration;
|
|
72
|
-
const clientName = "NetworkFirewallClient";
|
|
73
|
-
const commandName = "UpdateFirewallDeleteProtectionCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: UpdateFirewallDeleteProtectionRequest.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: UpdateFirewallDeleteProtectionResponse.filterSensitiveLog,
|
|
80
|
-
};
|
|
81
|
-
const { requestHandler } = configuration;
|
|
82
|
-
return stack.resolve(
|
|
83
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
84
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
85
|
-
handlerExecutionContext
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private serialize(
|
|
90
|
-
input: UpdateFirewallDeleteProtectionCommandInput,
|
|
91
|
-
context: __SerdeContext
|
|
92
|
-
): Promise<__HttpRequest> {
|
|
93
|
-
return serializeAws_json1_0UpdateFirewallDeleteProtectionCommand(input, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
private deserialize(
|
|
97
|
-
output: __HttpResponse,
|
|
98
|
-
context: __SerdeContext
|
|
99
|
-
): Promise<UpdateFirewallDeleteProtectionCommandOutput> {
|
|
100
|
-
return deserializeAws_json1_0UpdateFirewallDeleteProtectionCommand(output, context);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
// Start section: command_body_extra
|
|
104
|
-
// End section: command_body_extra
|
|
105
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
|
|
2
|
-
import { UpdateFirewallDescriptionRequest, UpdateFirewallDescriptionResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_0UpdateFirewallDescriptionCommand,
|
|
5
|
-
serializeAws_json1_0UpdateFirewallDescriptionCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_0";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface UpdateFirewallDescriptionCommandInput extends UpdateFirewallDescriptionRequest {}
|
|
21
|
-
export interface UpdateFirewallDescriptionCommandOutput extends UpdateFirewallDescriptionResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Modifies the description for the specified firewall. Use the description to help you
|
|
25
|
-
* identify the firewall when you're working with it. </p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { NetworkFirewallClient, UpdateFirewallDescriptionCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
30
|
-
* // const { NetworkFirewallClient, UpdateFirewallDescriptionCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
31
|
-
* const client = new NetworkFirewallClient(config);
|
|
32
|
-
* const command = new UpdateFirewallDescriptionCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link UpdateFirewallDescriptionCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link UpdateFirewallDescriptionCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link NetworkFirewallClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class UpdateFirewallDescriptionCommand extends $Command<
|
|
42
|
-
UpdateFirewallDescriptionCommandInput,
|
|
43
|
-
UpdateFirewallDescriptionCommandOutput,
|
|
44
|
-
NetworkFirewallClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: UpdateFirewallDescriptionCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: NetworkFirewallClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<UpdateFirewallDescriptionCommandInput, UpdateFirewallDescriptionCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "NetworkFirewallClient";
|
|
69
|
-
const commandName = "UpdateFirewallDescriptionCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: UpdateFirewallDescriptionRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: UpdateFirewallDescriptionResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: UpdateFirewallDescriptionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_0UpdateFirewallDescriptionCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(
|
|
90
|
-
output: __HttpResponse,
|
|
91
|
-
context: __SerdeContext
|
|
92
|
-
): Promise<UpdateFirewallDescriptionCommandOutput> {
|
|
93
|
-
return deserializeAws_json1_0UpdateFirewallDescriptionCommand(output, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// Start section: command_body_extra
|
|
97
|
-
// End section: command_body_extra
|
|
98
|
-
}
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
|
|
2
|
-
import {
|
|
3
|
-
UpdateFirewallPolicyChangeProtectionRequest,
|
|
4
|
-
UpdateFirewallPolicyChangeProtectionResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
6
|
-
import {
|
|
7
|
-
deserializeAws_json1_0UpdateFirewallPolicyChangeProtectionCommand,
|
|
8
|
-
serializeAws_json1_0UpdateFirewallPolicyChangeProtectionCommand,
|
|
9
|
-
} from "../protocols/Aws_json1_0";
|
|
10
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
11
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
12
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
13
|
-
import {
|
|
14
|
-
FinalizeHandlerArguments,
|
|
15
|
-
Handler,
|
|
16
|
-
HandlerExecutionContext,
|
|
17
|
-
MiddlewareStack,
|
|
18
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
19
|
-
MetadataBearer as __MetadataBearer,
|
|
20
|
-
SerdeContext as __SerdeContext,
|
|
21
|
-
} from "@aws-sdk/types";
|
|
22
|
-
|
|
23
|
-
export interface UpdateFirewallPolicyChangeProtectionCommandInput extends UpdateFirewallPolicyChangeProtectionRequest {}
|
|
24
|
-
export interface UpdateFirewallPolicyChangeProtectionCommandOutput
|
|
25
|
-
extends UpdateFirewallPolicyChangeProtectionResponse,
|
|
26
|
-
__MetadataBearer {}
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* <p></p>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { NetworkFirewallClient, UpdateFirewallPolicyChangeProtectionCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
34
|
-
* // const { NetworkFirewallClient, UpdateFirewallPolicyChangeProtectionCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
35
|
-
* const client = new NetworkFirewallClient(config);
|
|
36
|
-
* const command = new UpdateFirewallPolicyChangeProtectionCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link UpdateFirewallPolicyChangeProtectionCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link UpdateFirewallPolicyChangeProtectionCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link NetworkFirewallClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class UpdateFirewallPolicyChangeProtectionCommand extends $Command<
|
|
46
|
-
UpdateFirewallPolicyChangeProtectionCommandInput,
|
|
47
|
-
UpdateFirewallPolicyChangeProtectionCommandOutput,
|
|
48
|
-
NetworkFirewallClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: UpdateFirewallPolicyChangeProtectionCommandInput) {
|
|
54
|
-
// Start section: command_constructor
|
|
55
|
-
super();
|
|
56
|
-
// End section: command_constructor
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
62
|
-
resolveMiddleware(
|
|
63
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
64
|
-
configuration: NetworkFirewallClientResolvedConfig,
|
|
65
|
-
options?: __HttpHandlerOptions
|
|
66
|
-
): Handler<UpdateFirewallPolicyChangeProtectionCommandInput, UpdateFirewallPolicyChangeProtectionCommandOutput> {
|
|
67
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
68
|
-
|
|
69
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
70
|
-
|
|
71
|
-
const { logger } = configuration;
|
|
72
|
-
const clientName = "NetworkFirewallClient";
|
|
73
|
-
const commandName = "UpdateFirewallPolicyChangeProtectionCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: UpdateFirewallPolicyChangeProtectionRequest.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: UpdateFirewallPolicyChangeProtectionResponse.filterSensitiveLog,
|
|
80
|
-
};
|
|
81
|
-
const { requestHandler } = configuration;
|
|
82
|
-
return stack.resolve(
|
|
83
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
84
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
85
|
-
handlerExecutionContext
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private serialize(
|
|
90
|
-
input: UpdateFirewallPolicyChangeProtectionCommandInput,
|
|
91
|
-
context: __SerdeContext
|
|
92
|
-
): Promise<__HttpRequest> {
|
|
93
|
-
return serializeAws_json1_0UpdateFirewallPolicyChangeProtectionCommand(input, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
private deserialize(
|
|
97
|
-
output: __HttpResponse,
|
|
98
|
-
context: __SerdeContext
|
|
99
|
-
): Promise<UpdateFirewallPolicyChangeProtectionCommandOutput> {
|
|
100
|
-
return deserializeAws_json1_0UpdateFirewallPolicyChangeProtectionCommand(output, context);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
// Start section: command_body_extra
|
|
104
|
-
// End section: command_body_extra
|
|
105
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
|
|
2
|
-
import { UpdateFirewallPolicyRequest, UpdateFirewallPolicyResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_0UpdateFirewallPolicyCommand,
|
|
5
|
-
serializeAws_json1_0UpdateFirewallPolicyCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_0";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface UpdateFirewallPolicyCommandInput extends UpdateFirewallPolicyRequest {}
|
|
21
|
-
export interface UpdateFirewallPolicyCommandOutput extends UpdateFirewallPolicyResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Updates the properties of the specified firewall policy.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { NetworkFirewallClient, UpdateFirewallPolicyCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
29
|
-
* // const { NetworkFirewallClient, UpdateFirewallPolicyCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
30
|
-
* const client = new NetworkFirewallClient(config);
|
|
31
|
-
* const command = new UpdateFirewallPolicyCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link UpdateFirewallPolicyCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link UpdateFirewallPolicyCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link NetworkFirewallClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class UpdateFirewallPolicyCommand extends $Command<
|
|
41
|
-
UpdateFirewallPolicyCommandInput,
|
|
42
|
-
UpdateFirewallPolicyCommandOutput,
|
|
43
|
-
NetworkFirewallClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: UpdateFirewallPolicyCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: NetworkFirewallClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<UpdateFirewallPolicyCommandInput, UpdateFirewallPolicyCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "NetworkFirewallClient";
|
|
68
|
-
const commandName = "UpdateFirewallPolicyCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: UpdateFirewallPolicyRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: UpdateFirewallPolicyResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: UpdateFirewallPolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_0UpdateFirewallPolicyCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateFirewallPolicyCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_0UpdateFirewallPolicyCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
|
|
2
|
-
import { UpdateLoggingConfigurationRequest, UpdateLoggingConfigurationResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_0UpdateLoggingConfigurationCommand,
|
|
5
|
-
serializeAws_json1_0UpdateLoggingConfigurationCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_0";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface UpdateLoggingConfigurationCommandInput extends UpdateLoggingConfigurationRequest {}
|
|
21
|
-
export interface UpdateLoggingConfigurationCommandOutput extends UpdateLoggingConfigurationResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Sets the logging configuration for the specified firewall. </p>
|
|
25
|
-
* <p>To change the logging configuration, retrieve the <a>LoggingConfiguration</a> by calling <a>DescribeLoggingConfiguration</a>, then change it and provide
|
|
26
|
-
* the modified object to this update call. You must change the logging configuration one
|
|
27
|
-
* <a>LogDestinationConfig</a> at a time inside the retrieved <a>LoggingConfiguration</a> object. </p>
|
|
28
|
-
* <p>You can perform only one of the following actions in any call to
|
|
29
|
-
* <code>UpdateLoggingConfiguration</code>: </p>
|
|
30
|
-
* <ul>
|
|
31
|
-
* <li>
|
|
32
|
-
* <p>Create a new log destination object by adding a single
|
|
33
|
-
* <code>LogDestinationConfig</code> array element to
|
|
34
|
-
* <code>LogDestinationConfigs</code>.</p>
|
|
35
|
-
* </li>
|
|
36
|
-
* <li>
|
|
37
|
-
* <p>Delete a log destination object by removing a single
|
|
38
|
-
* <code>LogDestinationConfig</code> array element from
|
|
39
|
-
* <code>LogDestinationConfigs</code>.</p>
|
|
40
|
-
* </li>
|
|
41
|
-
* <li>
|
|
42
|
-
* <p>Change the <code>LogDestination</code> setting in a single
|
|
43
|
-
* <code>LogDestinationConfig</code> array element.</p>
|
|
44
|
-
* </li>
|
|
45
|
-
* </ul>
|
|
46
|
-
* <p>You can't change the <code>LogDestinationType</code> or <code>LogType</code> in a
|
|
47
|
-
* <code>LogDestinationConfig</code>. To change these settings, delete the existing
|
|
48
|
-
* <code>LogDestinationConfig</code> object and create a new one, using two separate calls
|
|
49
|
-
* to this update operation.</p>
|
|
50
|
-
* @example
|
|
51
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
52
|
-
* ```javascript
|
|
53
|
-
* import { NetworkFirewallClient, UpdateLoggingConfigurationCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
54
|
-
* // const { NetworkFirewallClient, UpdateLoggingConfigurationCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
55
|
-
* const client = new NetworkFirewallClient(config);
|
|
56
|
-
* const command = new UpdateLoggingConfigurationCommand(input);
|
|
57
|
-
* const response = await client.send(command);
|
|
58
|
-
* ```
|
|
59
|
-
*
|
|
60
|
-
* @see {@link UpdateLoggingConfigurationCommandInput} for command's `input` shape.
|
|
61
|
-
* @see {@link UpdateLoggingConfigurationCommandOutput} for command's `response` shape.
|
|
62
|
-
* @see {@link NetworkFirewallClientResolvedConfig | config} for command's `input` shape.
|
|
63
|
-
*
|
|
64
|
-
*/
|
|
65
|
-
export class UpdateLoggingConfigurationCommand extends $Command<
|
|
66
|
-
UpdateLoggingConfigurationCommandInput,
|
|
67
|
-
UpdateLoggingConfigurationCommandOutput,
|
|
68
|
-
NetworkFirewallClientResolvedConfig
|
|
69
|
-
> {
|
|
70
|
-
// Start section: command_properties
|
|
71
|
-
// End section: command_properties
|
|
72
|
-
|
|
73
|
-
constructor(readonly input: UpdateLoggingConfigurationCommandInput) {
|
|
74
|
-
// Start section: command_constructor
|
|
75
|
-
super();
|
|
76
|
-
// End section: command_constructor
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* @internal
|
|
81
|
-
*/
|
|
82
|
-
resolveMiddleware(
|
|
83
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
84
|
-
configuration: NetworkFirewallClientResolvedConfig,
|
|
85
|
-
options?: __HttpHandlerOptions
|
|
86
|
-
): Handler<UpdateLoggingConfigurationCommandInput, UpdateLoggingConfigurationCommandOutput> {
|
|
87
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
88
|
-
|
|
89
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
90
|
-
|
|
91
|
-
const { logger } = configuration;
|
|
92
|
-
const clientName = "NetworkFirewallClient";
|
|
93
|
-
const commandName = "UpdateLoggingConfigurationCommand";
|
|
94
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
95
|
-
logger,
|
|
96
|
-
clientName,
|
|
97
|
-
commandName,
|
|
98
|
-
inputFilterSensitiveLog: UpdateLoggingConfigurationRequest.filterSensitiveLog,
|
|
99
|
-
outputFilterSensitiveLog: UpdateLoggingConfigurationResponse.filterSensitiveLog,
|
|
100
|
-
};
|
|
101
|
-
const { requestHandler } = configuration;
|
|
102
|
-
return stack.resolve(
|
|
103
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
104
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
105
|
-
handlerExecutionContext
|
|
106
|
-
);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
private serialize(input: UpdateLoggingConfigurationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
110
|
-
return serializeAws_json1_0UpdateLoggingConfigurationCommand(input, context);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
private deserialize(
|
|
114
|
-
output: __HttpResponse,
|
|
115
|
-
context: __SerdeContext
|
|
116
|
-
): Promise<UpdateLoggingConfigurationCommandOutput> {
|
|
117
|
-
return deserializeAws_json1_0UpdateLoggingConfigurationCommand(output, context);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
// Start section: command_body_extra
|
|
121
|
-
// End section: command_body_extra
|
|
122
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
|
|
2
|
-
import { UpdateRuleGroupRequest, UpdateRuleGroupResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_0UpdateRuleGroupCommand,
|
|
5
|
-
serializeAws_json1_0UpdateRuleGroupCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_0";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface UpdateRuleGroupCommandInput extends UpdateRuleGroupRequest {}
|
|
21
|
-
export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Updates the rule settings for the specified rule group. You use a rule group by
|
|
25
|
-
* reference in one or more firewall policies. When you modify a rule group, you modify all
|
|
26
|
-
* firewall policies that use the rule group. </p>
|
|
27
|
-
* <p>To update a rule group, first call <a>DescribeRuleGroup</a> to retrieve the
|
|
28
|
-
* current <a>RuleGroup</a> object, update the object as needed, and then provide
|
|
29
|
-
* the updated object to this call. </p>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { NetworkFirewallClient, UpdateRuleGroupCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
34
|
-
* // const { NetworkFirewallClient, UpdateRuleGroupCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
35
|
-
* const client = new NetworkFirewallClient(config);
|
|
36
|
-
* const command = new UpdateRuleGroupCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link UpdateRuleGroupCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link UpdateRuleGroupCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link NetworkFirewallClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class UpdateRuleGroupCommand extends $Command<
|
|
46
|
-
UpdateRuleGroupCommandInput,
|
|
47
|
-
UpdateRuleGroupCommandOutput,
|
|
48
|
-
NetworkFirewallClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: UpdateRuleGroupCommandInput) {
|
|
54
|
-
// Start section: command_constructor
|
|
55
|
-
super();
|
|
56
|
-
// End section: command_constructor
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
62
|
-
resolveMiddleware(
|
|
63
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
64
|
-
configuration: NetworkFirewallClientResolvedConfig,
|
|
65
|
-
options?: __HttpHandlerOptions
|
|
66
|
-
): Handler<UpdateRuleGroupCommandInput, UpdateRuleGroupCommandOutput> {
|
|
67
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
68
|
-
|
|
69
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
70
|
-
|
|
71
|
-
const { logger } = configuration;
|
|
72
|
-
const clientName = "NetworkFirewallClient";
|
|
73
|
-
const commandName = "UpdateRuleGroupCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: UpdateRuleGroupRequest.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: UpdateRuleGroupResponse.filterSensitiveLog,
|
|
80
|
-
};
|
|
81
|
-
const { requestHandler } = configuration;
|
|
82
|
-
return stack.resolve(
|
|
83
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
84
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
85
|
-
handlerExecutionContext
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private serialize(input: UpdateRuleGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_json1_0UpdateRuleGroupCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateRuleGroupCommandOutput> {
|
|
94
|
-
return deserializeAws_json1_0UpdateRuleGroupCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|