@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
package/models/models_0.ts
DELETED
|
@@ -1,3458 +0,0 @@
|
|
|
1
|
-
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* <p>The value to use in an Amazon CloudWatch custom metric dimension. This is used in the
|
|
5
|
-
* <code>PublishMetrics</code>
|
|
6
|
-
* <a>CustomAction</a>. A CloudWatch custom metric dimension is a name/value pair that's
|
|
7
|
-
* part of the identity of a metric. </p>
|
|
8
|
-
* <p>AWS Network Firewall sets the dimension name to <code>CustomAction</code> and you provide the
|
|
9
|
-
* dimension value. </p>
|
|
10
|
-
* <p>For more information about CloudWatch custom metric dimensions, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publishingMetrics.html#usingDimensions">Publishing Custom Metrics</a> in the <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/WhatIsCloudWatch.html">Amazon CloudWatch User
|
|
11
|
-
* Guide</a>.</p>
|
|
12
|
-
*/
|
|
13
|
-
export interface Dimension {
|
|
14
|
-
/**
|
|
15
|
-
* <p>The value to use in the custom metric dimension.</p>
|
|
16
|
-
*/
|
|
17
|
-
Value: string | undefined;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export namespace Dimension {
|
|
21
|
-
/**
|
|
22
|
-
* @internal
|
|
23
|
-
*/
|
|
24
|
-
export const filterSensitiveLog = (obj: Dimension): any => ({
|
|
25
|
-
...obj,
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* <p>Stateless inspection criteria that publishes the specified metrics to Amazon CloudWatch for the
|
|
31
|
-
* matching packet. This setting defines a CloudWatch dimension value to be published.</p>
|
|
32
|
-
*/
|
|
33
|
-
export interface PublishMetricAction {
|
|
34
|
-
/**
|
|
35
|
-
* <p></p>
|
|
36
|
-
*/
|
|
37
|
-
Dimensions: Dimension[] | undefined;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export namespace PublishMetricAction {
|
|
41
|
-
/**
|
|
42
|
-
* @internal
|
|
43
|
-
*/
|
|
44
|
-
export const filterSensitiveLog = (obj: PublishMetricAction): any => ({
|
|
45
|
-
...obj,
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* <p>A custom action to use in stateless rule actions settings. This is used in <a>CustomAction</a>.</p>
|
|
51
|
-
*/
|
|
52
|
-
export interface ActionDefinition {
|
|
53
|
-
/**
|
|
54
|
-
* <p>Stateless inspection criteria that publishes the specified metrics to Amazon CloudWatch for the
|
|
55
|
-
* matching packet. This setting defines a CloudWatch dimension value to be published.</p>
|
|
56
|
-
* <p>You can pair this custom action with any of the standard stateless rule actions. For
|
|
57
|
-
* example, you could pair this in a rule action with the standard action that forwards the
|
|
58
|
-
* packet for stateful inspection. Then, when a packet matches the rule, Network Firewall
|
|
59
|
-
* publishes metrics for the packet and forwards it. </p>
|
|
60
|
-
*/
|
|
61
|
-
PublishMetricAction?: PublishMetricAction;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export namespace ActionDefinition {
|
|
65
|
-
/**
|
|
66
|
-
* @internal
|
|
67
|
-
*/
|
|
68
|
-
export const filterSensitiveLog = (obj: ActionDefinition): any => ({
|
|
69
|
-
...obj,
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* <p>A single IP address specification. This is used in the <a>MatchAttributes</a>
|
|
75
|
-
* source and destination specifications.</p>
|
|
76
|
-
*/
|
|
77
|
-
export interface Address {
|
|
78
|
-
/**
|
|
79
|
-
* <p>Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4. </p>
|
|
80
|
-
* <p>Examples: </p>
|
|
81
|
-
* <ul>
|
|
82
|
-
* <li>
|
|
83
|
-
* <p>To configure Network Firewall to inspect for the IP address 192.0.2.44, specify <code>192.0.2.44/32</code>.</p>
|
|
84
|
-
* </li>
|
|
85
|
-
* <li>
|
|
86
|
-
* <p>To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify <code>192.0.2.0/24</code>.</p>
|
|
87
|
-
* </li>
|
|
88
|
-
* </ul>
|
|
89
|
-
* <p>For more information about CIDR notation, see the Wikipedia entry <a href="https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing">Classless
|
|
90
|
-
* Inter-Domain Routing</a>.</p>
|
|
91
|
-
*/
|
|
92
|
-
AddressDefinition: string | undefined;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
export namespace Address {
|
|
96
|
-
/**
|
|
97
|
-
* @internal
|
|
98
|
-
*/
|
|
99
|
-
export const filterSensitiveLog = (obj: Address): any => ({
|
|
100
|
-
...obj,
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
export interface AssociateFirewallPolicyRequest {
|
|
105
|
-
/**
|
|
106
|
-
* <p>An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. </p>
|
|
107
|
-
* <p>To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.</p>
|
|
108
|
-
* <p>To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token. </p>
|
|
109
|
-
*/
|
|
110
|
-
UpdateToken?: string;
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* <p>The Amazon Resource Name (ARN) of the firewall.</p>
|
|
114
|
-
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
115
|
-
*/
|
|
116
|
-
FirewallArn?: string;
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* <p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>
|
|
120
|
-
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
121
|
-
*/
|
|
122
|
-
FirewallName?: string;
|
|
123
|
-
|
|
124
|
-
/**
|
|
125
|
-
* <p>The Amazon Resource Name (ARN) of the firewall policy.</p>
|
|
126
|
-
*/
|
|
127
|
-
FirewallPolicyArn: string | undefined;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
export namespace AssociateFirewallPolicyRequest {
|
|
131
|
-
/**
|
|
132
|
-
* @internal
|
|
133
|
-
*/
|
|
134
|
-
export const filterSensitiveLog = (obj: AssociateFirewallPolicyRequest): any => ({
|
|
135
|
-
...obj,
|
|
136
|
-
});
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
export interface AssociateFirewallPolicyResponse {
|
|
140
|
-
/**
|
|
141
|
-
* <p>The Amazon Resource Name (ARN) of the firewall.</p>
|
|
142
|
-
*/
|
|
143
|
-
FirewallArn?: string;
|
|
144
|
-
|
|
145
|
-
/**
|
|
146
|
-
* <p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>
|
|
147
|
-
*/
|
|
148
|
-
FirewallName?: string;
|
|
149
|
-
|
|
150
|
-
/**
|
|
151
|
-
* <p>The Amazon Resource Name (ARN) of the firewall policy.</p>
|
|
152
|
-
*/
|
|
153
|
-
FirewallPolicyArn?: string;
|
|
154
|
-
|
|
155
|
-
/**
|
|
156
|
-
* <p>An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. </p>
|
|
157
|
-
* <p>To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.</p>
|
|
158
|
-
* <p>To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token. </p>
|
|
159
|
-
*/
|
|
160
|
-
UpdateToken?: string;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
export namespace AssociateFirewallPolicyResponse {
|
|
164
|
-
/**
|
|
165
|
-
* @internal
|
|
166
|
-
*/
|
|
167
|
-
export const filterSensitiveLog = (obj: AssociateFirewallPolicyResponse): any => ({
|
|
168
|
-
...obj,
|
|
169
|
-
});
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
/**
|
|
173
|
-
* <p>Your request is valid, but Network Firewall couldn’t perform the operation because of a
|
|
174
|
-
* system problem. Retry your request. </p>
|
|
175
|
-
*/
|
|
176
|
-
export interface InternalServerError extends __SmithyException, $MetadataBearer {
|
|
177
|
-
name: "InternalServerError";
|
|
178
|
-
$fault: "server";
|
|
179
|
-
Message?: string;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
export namespace InternalServerError {
|
|
183
|
-
/**
|
|
184
|
-
* @internal
|
|
185
|
-
*/
|
|
186
|
-
export const filterSensitiveLog = (obj: InternalServerError): any => ({
|
|
187
|
-
...obj,
|
|
188
|
-
});
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
/**
|
|
192
|
-
* <p>The operation failed because it's not valid. For example, you might have tried to delete
|
|
193
|
-
* a rule group or firewall policy that's in use.</p>
|
|
194
|
-
*/
|
|
195
|
-
export interface InvalidOperationException extends __SmithyException, $MetadataBearer {
|
|
196
|
-
name: "InvalidOperationException";
|
|
197
|
-
$fault: "client";
|
|
198
|
-
Message?: string;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
export namespace InvalidOperationException {
|
|
202
|
-
/**
|
|
203
|
-
* @internal
|
|
204
|
-
*/
|
|
205
|
-
export const filterSensitiveLog = (obj: InvalidOperationException): any => ({
|
|
206
|
-
...obj,
|
|
207
|
-
});
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
/**
|
|
211
|
-
* <p>The operation failed because of a problem with your request. Examples include: </p>
|
|
212
|
-
* <ul>
|
|
213
|
-
* <li>
|
|
214
|
-
* <p>You specified an unsupported parameter name or value.</p>
|
|
215
|
-
* </li>
|
|
216
|
-
* <li>
|
|
217
|
-
* <p>You tried to update a property with a value that isn't among the available
|
|
218
|
-
* types.</p>
|
|
219
|
-
* </li>
|
|
220
|
-
* <li>
|
|
221
|
-
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
222
|
-
* that isn't valid in the context of the request.</p>
|
|
223
|
-
* </li>
|
|
224
|
-
* </ul>
|
|
225
|
-
*/
|
|
226
|
-
export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
|
|
227
|
-
name: "InvalidRequestException";
|
|
228
|
-
$fault: "client";
|
|
229
|
-
Message?: string;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
export namespace InvalidRequestException {
|
|
233
|
-
/**
|
|
234
|
-
* @internal
|
|
235
|
-
*/
|
|
236
|
-
export const filterSensitiveLog = (obj: InvalidRequestException): any => ({
|
|
237
|
-
...obj,
|
|
238
|
-
});
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
/**
|
|
242
|
-
* <p>The token you provided is stale or isn't valid for the operation. </p>
|
|
243
|
-
*/
|
|
244
|
-
export interface InvalidTokenException extends __SmithyException, $MetadataBearer {
|
|
245
|
-
name: "InvalidTokenException";
|
|
246
|
-
$fault: "client";
|
|
247
|
-
Message?: string;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
export namespace InvalidTokenException {
|
|
251
|
-
/**
|
|
252
|
-
* @internal
|
|
253
|
-
*/
|
|
254
|
-
export const filterSensitiveLog = (obj: InvalidTokenException): any => ({
|
|
255
|
-
...obj,
|
|
256
|
-
});
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
/**
|
|
260
|
-
* <p>Unable to locate a resource using the parameters that you provided.</p>
|
|
261
|
-
*/
|
|
262
|
-
export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
|
|
263
|
-
name: "ResourceNotFoundException";
|
|
264
|
-
$fault: "client";
|
|
265
|
-
Message?: string;
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
export namespace ResourceNotFoundException {
|
|
269
|
-
/**
|
|
270
|
-
* @internal
|
|
271
|
-
*/
|
|
272
|
-
export const filterSensitiveLog = (obj: ResourceNotFoundException): any => ({
|
|
273
|
-
...obj,
|
|
274
|
-
});
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
/**
|
|
278
|
-
* <p>Unable to process the request due to throttling limitations.</p>
|
|
279
|
-
*/
|
|
280
|
-
export interface ThrottlingException extends __SmithyException, $MetadataBearer {
|
|
281
|
-
name: "ThrottlingException";
|
|
282
|
-
$fault: "client";
|
|
283
|
-
Message?: string;
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
export namespace ThrottlingException {
|
|
287
|
-
/**
|
|
288
|
-
* @internal
|
|
289
|
-
*/
|
|
290
|
-
export const filterSensitiveLog = (obj: ThrottlingException): any => ({
|
|
291
|
-
...obj,
|
|
292
|
-
});
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
/**
|
|
296
|
-
* <p>The ID for a subnet that you want to associate with the firewall. This is used with
|
|
297
|
-
* <a>CreateFirewall</a> and <a>AssociateSubnets</a>. AWS Network Firewall
|
|
298
|
-
* creates an instance of the associated firewall in each subnet that you specify, to filter
|
|
299
|
-
* traffic in the subnet's Availability Zone.</p>
|
|
300
|
-
*/
|
|
301
|
-
export interface SubnetMapping {
|
|
302
|
-
/**
|
|
303
|
-
* <p>The unique identifier for the subnet. </p>
|
|
304
|
-
*/
|
|
305
|
-
SubnetId: string | undefined;
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
export namespace SubnetMapping {
|
|
309
|
-
/**
|
|
310
|
-
* @internal
|
|
311
|
-
*/
|
|
312
|
-
export const filterSensitiveLog = (obj: SubnetMapping): any => ({
|
|
313
|
-
...obj,
|
|
314
|
-
});
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
export interface AssociateSubnetsRequest {
|
|
318
|
-
/**
|
|
319
|
-
* <p>An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. </p>
|
|
320
|
-
* <p>To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.</p>
|
|
321
|
-
* <p>To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token. </p>
|
|
322
|
-
*/
|
|
323
|
-
UpdateToken?: string;
|
|
324
|
-
|
|
325
|
-
/**
|
|
326
|
-
* <p>The Amazon Resource Name (ARN) of the firewall.</p>
|
|
327
|
-
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
328
|
-
*/
|
|
329
|
-
FirewallArn?: string;
|
|
330
|
-
|
|
331
|
-
/**
|
|
332
|
-
* <p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>
|
|
333
|
-
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
334
|
-
*/
|
|
335
|
-
FirewallName?: string;
|
|
336
|
-
|
|
337
|
-
/**
|
|
338
|
-
* <p>The IDs of the subnets that you want to associate with the firewall. </p>
|
|
339
|
-
*/
|
|
340
|
-
SubnetMappings: SubnetMapping[] | undefined;
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
export namespace AssociateSubnetsRequest {
|
|
344
|
-
/**
|
|
345
|
-
* @internal
|
|
346
|
-
*/
|
|
347
|
-
export const filterSensitiveLog = (obj: AssociateSubnetsRequest): any => ({
|
|
348
|
-
...obj,
|
|
349
|
-
});
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
export interface AssociateSubnetsResponse {
|
|
353
|
-
/**
|
|
354
|
-
* <p>The Amazon Resource Name (ARN) of the firewall.</p>
|
|
355
|
-
*/
|
|
356
|
-
FirewallArn?: string;
|
|
357
|
-
|
|
358
|
-
/**
|
|
359
|
-
* <p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>
|
|
360
|
-
*/
|
|
361
|
-
FirewallName?: string;
|
|
362
|
-
|
|
363
|
-
/**
|
|
364
|
-
* <p>The IDs of the subnets that are associated with the firewall. </p>
|
|
365
|
-
*/
|
|
366
|
-
SubnetMappings?: SubnetMapping[];
|
|
367
|
-
|
|
368
|
-
/**
|
|
369
|
-
* <p>An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. </p>
|
|
370
|
-
* <p>To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.</p>
|
|
371
|
-
* <p>To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token. </p>
|
|
372
|
-
*/
|
|
373
|
-
UpdateToken?: string;
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
export namespace AssociateSubnetsResponse {
|
|
377
|
-
/**
|
|
378
|
-
* @internal
|
|
379
|
-
*/
|
|
380
|
-
export const filterSensitiveLog = (obj: AssociateSubnetsResponse): any => ({
|
|
381
|
-
...obj,
|
|
382
|
-
});
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
/**
|
|
386
|
-
* <p>AWS doesn't currently have enough available capacity to fulfill your request. Try your
|
|
387
|
-
* request later. </p>
|
|
388
|
-
*/
|
|
389
|
-
export interface InsufficientCapacityException extends __SmithyException, $MetadataBearer {
|
|
390
|
-
name: "InsufficientCapacityException";
|
|
391
|
-
$fault: "server";
|
|
392
|
-
Message?: string;
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
export namespace InsufficientCapacityException {
|
|
396
|
-
/**
|
|
397
|
-
* @internal
|
|
398
|
-
*/
|
|
399
|
-
export const filterSensitiveLog = (obj: InsufficientCapacityException): any => ({
|
|
400
|
-
...obj,
|
|
401
|
-
});
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
export enum AttachmentStatus {
|
|
405
|
-
CREATING = "CREATING",
|
|
406
|
-
DELETING = "DELETING",
|
|
407
|
-
READY = "READY",
|
|
408
|
-
SCALING = "SCALING",
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
/**
|
|
412
|
-
* <p>The configuration and status for a single subnet that you've specified for use by the
|
|
413
|
-
* AWS Network Firewall firewall. This is part of the <a>FirewallStatus</a>.</p>
|
|
414
|
-
*/
|
|
415
|
-
export interface Attachment {
|
|
416
|
-
/**
|
|
417
|
-
* <p>The unique identifier of the subnet that you've specified to be used for a firewall
|
|
418
|
-
* endpoint. </p>
|
|
419
|
-
*/
|
|
420
|
-
SubnetId?: string;
|
|
421
|
-
|
|
422
|
-
/**
|
|
423
|
-
* <p>The identifier of the firewall endpoint that Network Firewall has instantiated in the
|
|
424
|
-
* subnet. You use this to identify the firewall endpoint in the VPC route tables, when you
|
|
425
|
-
* redirect the VPC traffic through the endpoint. </p>
|
|
426
|
-
*/
|
|
427
|
-
EndpointId?: string;
|
|
428
|
-
|
|
429
|
-
/**
|
|
430
|
-
* <p>The current status of the firewall endpoint in the subnet. This value reflects both the
|
|
431
|
-
* instantiation of the endpoint in the VPC subnet and the sync states that are reported in
|
|
432
|
-
* the <code>Config</code> settings. When this value is <code>READY</code>, the endpoint is
|
|
433
|
-
* available and configured properly to handle network traffic. When the endpoint isn't
|
|
434
|
-
* available for traffic, this value will reflect its state, for example
|
|
435
|
-
* <code>CREATING</code>, <code>DELETING</code>, or <code>FAILED</code>.</p>
|
|
436
|
-
*/
|
|
437
|
-
Status?: AttachmentStatus | string;
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
export namespace Attachment {
|
|
441
|
-
/**
|
|
442
|
-
* @internal
|
|
443
|
-
*/
|
|
444
|
-
export const filterSensitiveLog = (obj: Attachment): any => ({
|
|
445
|
-
...obj,
|
|
446
|
-
});
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
export enum ConfigurationSyncState {
|
|
450
|
-
IN_SYNC = "IN_SYNC",
|
|
451
|
-
PENDING = "PENDING",
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
/**
|
|
455
|
-
* <p>A key:value pair associated with an AWS resource. The key:value pair can be anything you
|
|
456
|
-
* define. Typically, the tag key represents a category (such as "environment") and the tag
|
|
457
|
-
* value represents a specific value within that category (such as "test," "development," or
|
|
458
|
-
* "production"). You can add up to 50 tags to each AWS resource. </p>
|
|
459
|
-
*/
|
|
460
|
-
export interface Tag {
|
|
461
|
-
/**
|
|
462
|
-
* <p>The part of the key:value pair that defines a tag. You can use a tag key to describe a
|
|
463
|
-
* category of information, such as "customer." Tag keys are case-sensitive.</p>
|
|
464
|
-
*/
|
|
465
|
-
Key: string | undefined;
|
|
466
|
-
|
|
467
|
-
/**
|
|
468
|
-
* <p>The part of the key:value pair that defines a tag. You can use a tag value to describe a
|
|
469
|
-
* specific value within a category, such as "companyA" or "companyB." Tag values are
|
|
470
|
-
* case-sensitive.</p>
|
|
471
|
-
*/
|
|
472
|
-
Value: string | undefined;
|
|
473
|
-
}
|
|
474
|
-
|
|
475
|
-
export namespace Tag {
|
|
476
|
-
/**
|
|
477
|
-
* @internal
|
|
478
|
-
*/
|
|
479
|
-
export const filterSensitiveLog = (obj: Tag): any => ({
|
|
480
|
-
...obj,
|
|
481
|
-
});
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
export interface CreateFirewallRequest {
|
|
485
|
-
/**
|
|
486
|
-
* <p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>
|
|
487
|
-
*/
|
|
488
|
-
FirewallName: string | undefined;
|
|
489
|
-
|
|
490
|
-
/**
|
|
491
|
-
* <p>The Amazon Resource Name (ARN) of the <a>FirewallPolicy</a> that you want to
|
|
492
|
-
* use for the firewall.</p>
|
|
493
|
-
*/
|
|
494
|
-
FirewallPolicyArn: string | undefined;
|
|
495
|
-
|
|
496
|
-
/**
|
|
497
|
-
* <p>The unique identifier of the VPC where Network Firewall should create the firewall. </p>
|
|
498
|
-
* <p>You can't change this setting after you create the firewall. </p>
|
|
499
|
-
*/
|
|
500
|
-
VpcId: string | undefined;
|
|
501
|
-
|
|
502
|
-
/**
|
|
503
|
-
* <p>The public subnets to use for your Network Firewall firewalls. Each subnet must belong to a
|
|
504
|
-
* different Availability Zone in the VPC. Network Firewall creates a firewall endpoint in each
|
|
505
|
-
* subnet. </p>
|
|
506
|
-
*/
|
|
507
|
-
SubnetMappings: SubnetMapping[] | undefined;
|
|
508
|
-
|
|
509
|
-
/**
|
|
510
|
-
* <p>A flag indicating whether it is possible to delete the firewall. A setting of <code>TRUE</code> indicates
|
|
511
|
-
* that the firewall is protected against deletion. Use this setting to protect against
|
|
512
|
-
* accidentally deleting a firewall that is in use. When you create a firewall, the operation initializes this flag to <code>TRUE</code>.</p>
|
|
513
|
-
*/
|
|
514
|
-
DeleteProtection?: boolean;
|
|
515
|
-
|
|
516
|
-
/**
|
|
517
|
-
* <p>A setting indicating whether the firewall is protected against changes to the subnet associations.
|
|
518
|
-
* Use this setting to protect against
|
|
519
|
-
* accidentally modifying the subnet associations for a firewall that is in use. When you create a firewall, the operation initializes this setting to <code>TRUE</code>.</p>
|
|
520
|
-
*/
|
|
521
|
-
SubnetChangeProtection?: boolean;
|
|
522
|
-
|
|
523
|
-
/**
|
|
524
|
-
* <p>A setting indicating whether the firewall is protected against a change to the firewall policy association.
|
|
525
|
-
* Use this setting to protect against
|
|
526
|
-
* accidentally modifying the firewall policy for a firewall that is in use. When you create a firewall, the operation initializes this setting to <code>TRUE</code>.</p>
|
|
527
|
-
*/
|
|
528
|
-
FirewallPolicyChangeProtection?: boolean;
|
|
529
|
-
|
|
530
|
-
/**
|
|
531
|
-
* <p>A description of the firewall.</p>
|
|
532
|
-
*/
|
|
533
|
-
Description?: string;
|
|
534
|
-
|
|
535
|
-
/**
|
|
536
|
-
* <p>The key:value pairs to associate with the resource.</p>
|
|
537
|
-
*/
|
|
538
|
-
Tags?: Tag[];
|
|
539
|
-
}
|
|
540
|
-
|
|
541
|
-
export namespace CreateFirewallRequest {
|
|
542
|
-
/**
|
|
543
|
-
* @internal
|
|
544
|
-
*/
|
|
545
|
-
export const filterSensitiveLog = (obj: CreateFirewallRequest): any => ({
|
|
546
|
-
...obj,
|
|
547
|
-
});
|
|
548
|
-
}
|
|
549
|
-
|
|
550
|
-
/**
|
|
551
|
-
* <p>The firewall defines the configuration settings for an AWS Network Firewall firewall. These settings include the firewall policy, the subnets in your VPC to use for the firewall endpoints, and any tags that are attached to the firewall AWS resource. </p>
|
|
552
|
-
* <p>The status of the firewall, for example whether it's ready to filter network traffic,
|
|
553
|
-
* is provided in the corresponding <a>FirewallStatus</a>. You can retrieve both
|
|
554
|
-
* objects by calling <a>DescribeFirewall</a>.</p>
|
|
555
|
-
*/
|
|
556
|
-
export interface Firewall {
|
|
557
|
-
/**
|
|
558
|
-
* <p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>
|
|
559
|
-
*/
|
|
560
|
-
FirewallName?: string;
|
|
561
|
-
|
|
562
|
-
/**
|
|
563
|
-
* <p>The Amazon Resource Name (ARN) of the firewall.</p>
|
|
564
|
-
*/
|
|
565
|
-
FirewallArn?: string;
|
|
566
|
-
|
|
567
|
-
/**
|
|
568
|
-
* <p>The Amazon Resource Name (ARN) of the firewall policy.</p>
|
|
569
|
-
* <p>The relationship of firewall to firewall policy is many to one. Each firewall requires
|
|
570
|
-
* one firewall policy association, and you can use the same firewall policy for multiple
|
|
571
|
-
* firewalls. </p>
|
|
572
|
-
*/
|
|
573
|
-
FirewallPolicyArn: string | undefined;
|
|
574
|
-
|
|
575
|
-
/**
|
|
576
|
-
* <p>The unique identifier of the VPC where the firewall is in use. </p>
|
|
577
|
-
*/
|
|
578
|
-
VpcId: string | undefined;
|
|
579
|
-
|
|
580
|
-
/**
|
|
581
|
-
* <p>The public subnets that Network Firewall is using for the firewall. Each subnet must belong
|
|
582
|
-
* to a different Availability Zone. </p>
|
|
583
|
-
*/
|
|
584
|
-
SubnetMappings: SubnetMapping[] | undefined;
|
|
585
|
-
|
|
586
|
-
/**
|
|
587
|
-
* <p>A flag indicating whether it is possible to delete the firewall. A setting of <code>TRUE</code> indicates
|
|
588
|
-
* that the firewall is protected against deletion. Use this setting to protect against
|
|
589
|
-
* accidentally deleting a firewall that is in use. When you create a firewall, the operation initializes this flag to <code>TRUE</code>.</p>
|
|
590
|
-
*/
|
|
591
|
-
DeleteProtection?: boolean;
|
|
592
|
-
|
|
593
|
-
/**
|
|
594
|
-
* <p>A setting indicating whether the firewall is protected against changes to the subnet associations.
|
|
595
|
-
* Use this setting to protect against
|
|
596
|
-
* accidentally modifying the subnet associations for a firewall that is in use. When you create a firewall, the operation initializes this setting to <code>TRUE</code>.</p>
|
|
597
|
-
*/
|
|
598
|
-
SubnetChangeProtection?: boolean;
|
|
599
|
-
|
|
600
|
-
/**
|
|
601
|
-
* <p>A setting indicating whether the firewall is protected against a change to the firewall policy association.
|
|
602
|
-
* Use this setting to protect against
|
|
603
|
-
* accidentally modifying the firewall policy for a firewall that is in use. When you create a firewall, the operation initializes this setting to <code>TRUE</code>.</p>
|
|
604
|
-
*/
|
|
605
|
-
FirewallPolicyChangeProtection?: boolean;
|
|
606
|
-
|
|
607
|
-
/**
|
|
608
|
-
* <p>A description of the firewall.</p>
|
|
609
|
-
*/
|
|
610
|
-
Description?: string;
|
|
611
|
-
|
|
612
|
-
/**
|
|
613
|
-
* <p>The unique identifier for the firewall. </p>
|
|
614
|
-
*/
|
|
615
|
-
FirewallId: string | undefined;
|
|
616
|
-
|
|
617
|
-
/**
|
|
618
|
-
* <p></p>
|
|
619
|
-
*/
|
|
620
|
-
Tags?: Tag[];
|
|
621
|
-
}
|
|
622
|
-
|
|
623
|
-
export namespace Firewall {
|
|
624
|
-
/**
|
|
625
|
-
* @internal
|
|
626
|
-
*/
|
|
627
|
-
export const filterSensitiveLog = (obj: Firewall): any => ({
|
|
628
|
-
...obj,
|
|
629
|
-
});
|
|
630
|
-
}
|
|
631
|
-
|
|
632
|
-
export enum FirewallStatusValue {
|
|
633
|
-
DELETING = "DELETING",
|
|
634
|
-
PROVISIONING = "PROVISIONING",
|
|
635
|
-
READY = "READY",
|
|
636
|
-
}
|
|
637
|
-
|
|
638
|
-
export enum PerObjectSyncStatus {
|
|
639
|
-
IN_SYNC = "IN_SYNC",
|
|
640
|
-
PENDING = "PENDING",
|
|
641
|
-
}
|
|
642
|
-
|
|
643
|
-
/**
|
|
644
|
-
* <p>Provides configuration status for a single policy or rule group that is used for a firewall endpoint. Network Firewall
|
|
645
|
-
* provides each endpoint with the rules that are configured in the firewall policy. Each time
|
|
646
|
-
* you add a subnet or modify the associated firewall policy, Network Firewall synchronizes the
|
|
647
|
-
* rules in the endpoint, so it can properly filter network traffic. This is part of a <a>SyncState</a> for a firewall.</p>
|
|
648
|
-
*/
|
|
649
|
-
export interface PerObjectStatus {
|
|
650
|
-
/**
|
|
651
|
-
* <p>Indicates whether this object is in sync with the version indicated in the update token.</p>
|
|
652
|
-
*/
|
|
653
|
-
SyncStatus?: PerObjectSyncStatus | string;
|
|
654
|
-
|
|
655
|
-
/**
|
|
656
|
-
* <p>The current version of the object that is either in sync or pending synchronization. </p>
|
|
657
|
-
*/
|
|
658
|
-
UpdateToken?: string;
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
export namespace PerObjectStatus {
|
|
662
|
-
/**
|
|
663
|
-
* @internal
|
|
664
|
-
*/
|
|
665
|
-
export const filterSensitiveLog = (obj: PerObjectStatus): any => ({
|
|
666
|
-
...obj,
|
|
667
|
-
});
|
|
668
|
-
}
|
|
669
|
-
|
|
670
|
-
/**
|
|
671
|
-
* <p>The status of the firewall endpoint and firewall policy configuration for a single VPC
|
|
672
|
-
* subnet. </p>
|
|
673
|
-
* <p>For each VPC subnet that you associate with a firewall, AWS Network Firewall does the
|
|
674
|
-
* following: </p>
|
|
675
|
-
* <ul>
|
|
676
|
-
* <li>
|
|
677
|
-
* <p>Instantiates a firewall endpoint in the subnet, ready to take traffic.</p>
|
|
678
|
-
* </li>
|
|
679
|
-
* <li>
|
|
680
|
-
* <p>Configures the endpoint with the current firewall policy settings, to provide the
|
|
681
|
-
* filtering behavior for the endpoint.</p>
|
|
682
|
-
* </li>
|
|
683
|
-
* </ul>
|
|
684
|
-
* <p>When you update a firewall, for example to add a subnet association or change a rule
|
|
685
|
-
* group in the firewall policy, the affected sync states reflect out-of-sync or not ready
|
|
686
|
-
* status until the changes are complete. </p>
|
|
687
|
-
*/
|
|
688
|
-
export interface SyncState {
|
|
689
|
-
/**
|
|
690
|
-
* <p>The attachment status of the firewall's association with a single VPC subnet. For each
|
|
691
|
-
* configured subnet, Network Firewall creates the attachment by instantiating the firewall
|
|
692
|
-
* endpoint in the subnet so that it's ready to take traffic. This is part of the <a>FirewallStatus</a>.</p>
|
|
693
|
-
*/
|
|
694
|
-
Attachment?: Attachment;
|
|
695
|
-
|
|
696
|
-
/**
|
|
697
|
-
* <p>The configuration status of the firewall endpoint in a single VPC subnet. Network Firewall
|
|
698
|
-
* provides each endpoint with the rules that are configured in the firewall policy. Each time
|
|
699
|
-
* you add a subnet or modify the associated firewall policy, Network Firewall synchronizes the
|
|
700
|
-
* rules in the endpoint, so it can properly filter network traffic. This is part of the <a>FirewallStatus</a>.</p>
|
|
701
|
-
*/
|
|
702
|
-
Config?: { [key: string]: PerObjectStatus };
|
|
703
|
-
}
|
|
704
|
-
|
|
705
|
-
export namespace SyncState {
|
|
706
|
-
/**
|
|
707
|
-
* @internal
|
|
708
|
-
*/
|
|
709
|
-
export const filterSensitiveLog = (obj: SyncState): any => ({
|
|
710
|
-
...obj,
|
|
711
|
-
});
|
|
712
|
-
}
|
|
713
|
-
|
|
714
|
-
/**
|
|
715
|
-
* <p>Detailed information about the current status of a <a>Firewall</a>. You can retrieve this for a firewall by calling <a>DescribeFirewall</a> and providing the firewall name and ARN.</p>
|
|
716
|
-
*/
|
|
717
|
-
export interface FirewallStatus {
|
|
718
|
-
/**
|
|
719
|
-
* <p>The readiness of the configured firewall to handle network traffic across all of the
|
|
720
|
-
* Availability Zones where you've configured it. This setting is <code>READY</code> only when
|
|
721
|
-
* the <code>ConfigurationSyncStateSummary</code> value is <code>IN_SYNC</code> and the
|
|
722
|
-
* <code>Attachment</code>
|
|
723
|
-
* <code>Status</code> values for all of the configured subnets are <code>READY</code>.
|
|
724
|
-
* </p>
|
|
725
|
-
*/
|
|
726
|
-
Status: FirewallStatusValue | string | undefined;
|
|
727
|
-
|
|
728
|
-
/**
|
|
729
|
-
* <p>The configuration sync state for the firewall. This summarizes the sync states reported
|
|
730
|
-
* in the <code>Config</code> settings for all of the Availability Zones where you have
|
|
731
|
-
* configured the firewall. </p>
|
|
732
|
-
* <p>When you create a firewall or update its configuration, for example by adding a rule
|
|
733
|
-
* group to its firewall policy, Network Firewall distributes the configuration changes to all
|
|
734
|
-
* zones where the firewall is in use. This summary indicates whether the configuration
|
|
735
|
-
* changes have been applied everywhere. </p>
|
|
736
|
-
* <p>This status must be <code>IN_SYNC</code> for the firewall to be ready for use, but it
|
|
737
|
-
* doesn't indicate that the firewall is ready. The <code>Status</code> setting indicates
|
|
738
|
-
* firewall readiness.</p>
|
|
739
|
-
*/
|
|
740
|
-
ConfigurationSyncStateSummary: ConfigurationSyncState | string | undefined;
|
|
741
|
-
|
|
742
|
-
/**
|
|
743
|
-
* <p>The subnets that you've configured for use by the Network Firewall firewall. This contains
|
|
744
|
-
* one array element per Availability Zone where you've configured a subnet. These objects
|
|
745
|
-
* provide details of the information that is summarized in the
|
|
746
|
-
* <code>ConfigurationSyncStateSummary</code> and <code>Status</code>, broken down by zone
|
|
747
|
-
* and configuration object. </p>
|
|
748
|
-
*/
|
|
749
|
-
SyncStates?: { [key: string]: SyncState };
|
|
750
|
-
}
|
|
751
|
-
|
|
752
|
-
export namespace FirewallStatus {
|
|
753
|
-
/**
|
|
754
|
-
* @internal
|
|
755
|
-
*/
|
|
756
|
-
export const filterSensitiveLog = (obj: FirewallStatus): any => ({
|
|
757
|
-
...obj,
|
|
758
|
-
});
|
|
759
|
-
}
|
|
760
|
-
|
|
761
|
-
export interface CreateFirewallResponse {
|
|
762
|
-
/**
|
|
763
|
-
* <p>The configuration settings for the firewall. These settings include the firewall policy and the subnets in your VPC to use for the firewall endpoints. </p>
|
|
764
|
-
*/
|
|
765
|
-
Firewall?: Firewall;
|
|
766
|
-
|
|
767
|
-
/**
|
|
768
|
-
* <p>Detailed information about the current status of a <a>Firewall</a>. You can retrieve this for a firewall by calling <a>DescribeFirewall</a> and providing the firewall name and ARN.</p>
|
|
769
|
-
*/
|
|
770
|
-
FirewallStatus?: FirewallStatus;
|
|
771
|
-
}
|
|
772
|
-
|
|
773
|
-
export namespace CreateFirewallResponse {
|
|
774
|
-
/**
|
|
775
|
-
* @internal
|
|
776
|
-
*/
|
|
777
|
-
export const filterSensitiveLog = (obj: CreateFirewallResponse): any => ({
|
|
778
|
-
...obj,
|
|
779
|
-
});
|
|
780
|
-
}
|
|
781
|
-
|
|
782
|
-
/**
|
|
783
|
-
* <p>Unable to perform the operation because doing so would violate a limit setting. </p>
|
|
784
|
-
*/
|
|
785
|
-
export interface LimitExceededException extends __SmithyException, $MetadataBearer {
|
|
786
|
-
name: "LimitExceededException";
|
|
787
|
-
$fault: "client";
|
|
788
|
-
Message?: string;
|
|
789
|
-
}
|
|
790
|
-
|
|
791
|
-
export namespace LimitExceededException {
|
|
792
|
-
/**
|
|
793
|
-
* @internal
|
|
794
|
-
*/
|
|
795
|
-
export const filterSensitiveLog = (obj: LimitExceededException): any => ({
|
|
796
|
-
...obj,
|
|
797
|
-
});
|
|
798
|
-
}
|
|
799
|
-
|
|
800
|
-
/**
|
|
801
|
-
* <p>Identifier for a single stateful rule group, used in a firewall policy to refer to a
|
|
802
|
-
* rule group. </p>
|
|
803
|
-
*/
|
|
804
|
-
export interface StatefulRuleGroupReference {
|
|
805
|
-
/**
|
|
806
|
-
* <p>The Amazon Resource Name (ARN) of the stateful rule group.</p>
|
|
807
|
-
*/
|
|
808
|
-
ResourceArn: string | undefined;
|
|
809
|
-
}
|
|
810
|
-
|
|
811
|
-
export namespace StatefulRuleGroupReference {
|
|
812
|
-
/**
|
|
813
|
-
* @internal
|
|
814
|
-
*/
|
|
815
|
-
export const filterSensitiveLog = (obj: StatefulRuleGroupReference): any => ({
|
|
816
|
-
...obj,
|
|
817
|
-
});
|
|
818
|
-
}
|
|
819
|
-
|
|
820
|
-
/**
|
|
821
|
-
* <p>An optional, non-standard action to use for stateless packet handling. You can define
|
|
822
|
-
* this in addition to the standard action that you must specify. </p>
|
|
823
|
-
* <p>You define and name the custom actions that you want to be able to use, and then you
|
|
824
|
-
* reference them by name in your actions settings. </p>
|
|
825
|
-
* <p>You can use custom actions in the following places: </p>
|
|
826
|
-
* <ul>
|
|
827
|
-
* <li>
|
|
828
|
-
* <p>In a rule group's <a>StatelessRulesAndCustomActions</a> specification.
|
|
829
|
-
* The custom actions are available for use by name inside the
|
|
830
|
-
* <code>StatelessRulesAndCustomActions</code> where you define them. You can use
|
|
831
|
-
* them for your stateless rule actions to specify what to do with a packet that matches
|
|
832
|
-
* the rule's match attributes. </p>
|
|
833
|
-
* </li>
|
|
834
|
-
* <li>
|
|
835
|
-
* <p>In a <a>FirewallPolicy</a> specification, in
|
|
836
|
-
* <code>StatelessCustomActions</code>. The custom actions are available for use
|
|
837
|
-
* inside the policy where you define them. You can use them for the policy's default
|
|
838
|
-
* stateless actions settings to specify what to do with packets that don't match any of
|
|
839
|
-
* the policy's stateless rules. </p>
|
|
840
|
-
* </li>
|
|
841
|
-
* </ul>
|
|
842
|
-
*/
|
|
843
|
-
export interface CustomAction {
|
|
844
|
-
/**
|
|
845
|
-
* <p>The descriptive name of the custom action. You can't change the name of a custom action after you create it.</p>
|
|
846
|
-
*/
|
|
847
|
-
ActionName: string | undefined;
|
|
848
|
-
|
|
849
|
-
/**
|
|
850
|
-
* <p>The custom action associated with the action name.</p>
|
|
851
|
-
*/
|
|
852
|
-
ActionDefinition: ActionDefinition | undefined;
|
|
853
|
-
}
|
|
854
|
-
|
|
855
|
-
export namespace CustomAction {
|
|
856
|
-
/**
|
|
857
|
-
* @internal
|
|
858
|
-
*/
|
|
859
|
-
export const filterSensitiveLog = (obj: CustomAction): any => ({
|
|
860
|
-
...obj,
|
|
861
|
-
});
|
|
862
|
-
}
|
|
863
|
-
|
|
864
|
-
/**
|
|
865
|
-
* <p>Identifier for a single stateless rule group, used in a firewall policy to refer to the
|
|
866
|
-
* rule group. </p>
|
|
867
|
-
*/
|
|
868
|
-
export interface StatelessRuleGroupReference {
|
|
869
|
-
/**
|
|
870
|
-
* <p>The Amazon Resource Name (ARN) of the stateless rule group.</p>
|
|
871
|
-
*/
|
|
872
|
-
ResourceArn: string | undefined;
|
|
873
|
-
|
|
874
|
-
/**
|
|
875
|
-
* <p>An integer setting that indicates the order in which to run the stateless rule groups in
|
|
876
|
-
* a single <a>FirewallPolicy</a>. Network Firewall applies each stateless rule group
|
|
877
|
-
* to a packet starting with the group that has the lowest priority setting. You must ensure
|
|
878
|
-
* that the priority settings are unique within each policy.</p>
|
|
879
|
-
*/
|
|
880
|
-
Priority: number | undefined;
|
|
881
|
-
}
|
|
882
|
-
|
|
883
|
-
export namespace StatelessRuleGroupReference {
|
|
884
|
-
/**
|
|
885
|
-
* @internal
|
|
886
|
-
*/
|
|
887
|
-
export const filterSensitiveLog = (obj: StatelessRuleGroupReference): any => ({
|
|
888
|
-
...obj,
|
|
889
|
-
});
|
|
890
|
-
}
|
|
891
|
-
|
|
892
|
-
/**
|
|
893
|
-
* <p>The firewall policy defines the behavior of a firewall using a collection of stateless
|
|
894
|
-
* and stateful rule groups and other settings. You can use one firewall policy for multiple
|
|
895
|
-
* firewalls. </p>
|
|
896
|
-
* <p>This, along with <a>FirewallPolicyResponse</a>, define the policy.
|
|
897
|
-
* You can retrieve all objects for a firewall policy by calling <a>DescribeFirewallPolicy</a>.</p>
|
|
898
|
-
*/
|
|
899
|
-
export interface FirewallPolicy {
|
|
900
|
-
/**
|
|
901
|
-
* <p>References to the stateless rule groups that are used in the policy. These define the
|
|
902
|
-
* matching criteria in stateless rules. </p>
|
|
903
|
-
*/
|
|
904
|
-
StatelessRuleGroupReferences?: StatelessRuleGroupReference[];
|
|
905
|
-
|
|
906
|
-
/**
|
|
907
|
-
* <p>The actions to take on a packet if it doesn't match any of the stateless rules in the
|
|
908
|
-
* policy. If you want non-matching packets to be forwarded for stateful inspection, specify
|
|
909
|
-
* <code>aws:forward_to_sfe</code>. </p>
|
|
910
|
-
* <p>You must specify one of the standard actions: <code>aws:pass</code>,
|
|
911
|
-
* <code>aws:drop</code>, or <code>aws:forward_to_sfe</code>. In addition, you can specify
|
|
912
|
-
* custom actions that are compatible with your standard section choice.</p>
|
|
913
|
-
* <p>For example, you could specify <code>["aws:pass"]</code> or you could specify
|
|
914
|
-
* <code>["aws:pass", “customActionName”]</code>. For information about compatibility, see
|
|
915
|
-
* the custom action descriptions under <a>CustomAction</a>.</p>
|
|
916
|
-
*/
|
|
917
|
-
StatelessDefaultActions: string[] | undefined;
|
|
918
|
-
|
|
919
|
-
/**
|
|
920
|
-
* <p>The actions to take on a fragmented UDP packet if it doesn't match any of the stateless
|
|
921
|
-
* rules in the policy. Network Firewall only manages UDP packet fragments and silently drops packet fragments for other protocols.
|
|
922
|
-
* If you want non-matching fragmented UDP packets to be forwarded for
|
|
923
|
-
* stateful inspection, specify <code>aws:forward_to_sfe</code>. </p>
|
|
924
|
-
* <p>You must specify one of the standard actions: <code>aws:pass</code>,
|
|
925
|
-
* <code>aws:drop</code>, or <code>aws:forward_to_sfe</code>. In addition, you can specify
|
|
926
|
-
* custom actions that are compatible with your standard section choice.</p>
|
|
927
|
-
* <p>For example, you could specify <code>["aws:pass"]</code> or you could specify
|
|
928
|
-
* <code>["aws:pass", “customActionName”]</code>. For information about compatibility, see
|
|
929
|
-
* the custom action descriptions under <a>CustomAction</a>.</p>
|
|
930
|
-
*/
|
|
931
|
-
StatelessFragmentDefaultActions: string[] | undefined;
|
|
932
|
-
|
|
933
|
-
/**
|
|
934
|
-
* <p>The custom action definitions that are available for use in the firewall policy's
|
|
935
|
-
* <code>StatelessDefaultActions</code> setting. You name each custom action that you
|
|
936
|
-
* define, and then you can use it by name in your default actions specifications.</p>
|
|
937
|
-
*/
|
|
938
|
-
StatelessCustomActions?: CustomAction[];
|
|
939
|
-
|
|
940
|
-
/**
|
|
941
|
-
* <p>References to the stateless rule groups that are used in the policy. These define the
|
|
942
|
-
* inspection criteria in stateful rules. </p>
|
|
943
|
-
*/
|
|
944
|
-
StatefulRuleGroupReferences?: StatefulRuleGroupReference[];
|
|
945
|
-
}
|
|
946
|
-
|
|
947
|
-
export namespace FirewallPolicy {
|
|
948
|
-
/**
|
|
949
|
-
* @internal
|
|
950
|
-
*/
|
|
951
|
-
export const filterSensitiveLog = (obj: FirewallPolicy): any => ({
|
|
952
|
-
...obj,
|
|
953
|
-
});
|
|
954
|
-
}
|
|
955
|
-
|
|
956
|
-
export interface CreateFirewallPolicyRequest {
|
|
957
|
-
/**
|
|
958
|
-
* <p>The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.</p>
|
|
959
|
-
*/
|
|
960
|
-
FirewallPolicyName: string | undefined;
|
|
961
|
-
|
|
962
|
-
/**
|
|
963
|
-
* <p>The rule groups and policy actions to use in the firewall policy.</p>
|
|
964
|
-
*/
|
|
965
|
-
FirewallPolicy: FirewallPolicy | undefined;
|
|
966
|
-
|
|
967
|
-
/**
|
|
968
|
-
* <p>A description of the firewall policy.</p>
|
|
969
|
-
*/
|
|
970
|
-
Description?: string;
|
|
971
|
-
|
|
972
|
-
/**
|
|
973
|
-
* <p>The key:value pairs to associate with the resource.</p>
|
|
974
|
-
*/
|
|
975
|
-
Tags?: Tag[];
|
|
976
|
-
|
|
977
|
-
/**
|
|
978
|
-
* <p>Indicates whether you want Network Firewall to just check the validity of the request, rather than run the request. </p>
|
|
979
|
-
* <p>If set to <code>TRUE</code>, Network Firewall checks whether the request can run successfully,
|
|
980
|
-
* but doesn't actually make the requested changes. The call returns the value that the request would return if you ran it with
|
|
981
|
-
* dry run set to <code>FALSE</code>, but doesn't make additions or changes to your resources. This option allows you to make sure that you have
|
|
982
|
-
* the required permissions to run the request and that your request parameters are valid. </p>
|
|
983
|
-
* <p>If set to <code>FALSE</code>, Network Firewall makes the requested changes to your resources. </p>
|
|
984
|
-
*/
|
|
985
|
-
DryRun?: boolean;
|
|
986
|
-
}
|
|
987
|
-
|
|
988
|
-
export namespace CreateFirewallPolicyRequest {
|
|
989
|
-
/**
|
|
990
|
-
* @internal
|
|
991
|
-
*/
|
|
992
|
-
export const filterSensitiveLog = (obj: CreateFirewallPolicyRequest): any => ({
|
|
993
|
-
...obj,
|
|
994
|
-
});
|
|
995
|
-
}
|
|
996
|
-
|
|
997
|
-
export enum ResourceStatus {
|
|
998
|
-
ACTIVE = "ACTIVE",
|
|
999
|
-
DELETING = "DELETING",
|
|
1000
|
-
}
|
|
1001
|
-
|
|
1002
|
-
/**
|
|
1003
|
-
* <p>The high-level properties of a firewall policy. This, along with the <a>FirewallPolicy</a>, define the policy. You can retrieve all objects for a firewall policy by calling <a>DescribeFirewallPolicy</a>. </p>
|
|
1004
|
-
*/
|
|
1005
|
-
export interface FirewallPolicyResponse {
|
|
1006
|
-
/**
|
|
1007
|
-
* <p>The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.</p>
|
|
1008
|
-
*/
|
|
1009
|
-
FirewallPolicyName: string | undefined;
|
|
1010
|
-
|
|
1011
|
-
/**
|
|
1012
|
-
* <p>The Amazon Resource Name (ARN) of the firewall policy.</p>
|
|
1013
|
-
* <note>
|
|
1014
|
-
* <p>If this response is for a create request that had <code>DryRun</code> set to
|
|
1015
|
-
* <code>TRUE</code>, then this ARN is a placeholder that isn't attached to a valid
|
|
1016
|
-
* resource.</p>
|
|
1017
|
-
* </note>
|
|
1018
|
-
*/
|
|
1019
|
-
FirewallPolicyArn: string | undefined;
|
|
1020
|
-
|
|
1021
|
-
/**
|
|
1022
|
-
* <p>The unique identifier for the firewall policy. </p>
|
|
1023
|
-
*/
|
|
1024
|
-
FirewallPolicyId: string | undefined;
|
|
1025
|
-
|
|
1026
|
-
/**
|
|
1027
|
-
* <p>A description of the firewall policy.</p>
|
|
1028
|
-
*/
|
|
1029
|
-
Description?: string;
|
|
1030
|
-
|
|
1031
|
-
/**
|
|
1032
|
-
* <p>The current status of the firewall policy. You can retrieve this for a firewall policy
|
|
1033
|
-
* by calling <a>DescribeFirewallPolicy</a> and providing the firewall policy's
|
|
1034
|
-
* name or ARN.</p>
|
|
1035
|
-
*/
|
|
1036
|
-
FirewallPolicyStatus?: ResourceStatus | string;
|
|
1037
|
-
|
|
1038
|
-
/**
|
|
1039
|
-
* <p>The key:value pairs to associate with the resource.</p>
|
|
1040
|
-
*/
|
|
1041
|
-
Tags?: Tag[];
|
|
1042
|
-
}
|
|
1043
|
-
|
|
1044
|
-
export namespace FirewallPolicyResponse {
|
|
1045
|
-
/**
|
|
1046
|
-
* @internal
|
|
1047
|
-
*/
|
|
1048
|
-
export const filterSensitiveLog = (obj: FirewallPolicyResponse): any => ({
|
|
1049
|
-
...obj,
|
|
1050
|
-
});
|
|
1051
|
-
}
|
|
1052
|
-
|
|
1053
|
-
export interface CreateFirewallPolicyResponse {
|
|
1054
|
-
/**
|
|
1055
|
-
* <p>A token used for optimistic locking. Network Firewall returns a token to your requests that access the firewall policy. The token marks the state of the policy resource at the time of the request. </p>
|
|
1056
|
-
* <p>To make changes to the policy, you provide the token in your request. Network Firewall uses the token to ensure that the policy hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the firewall policy again to get a current copy of it with current token. Reapply your changes as needed, then try the operation again using the new token. </p>
|
|
1057
|
-
*/
|
|
1058
|
-
UpdateToken: string | undefined;
|
|
1059
|
-
|
|
1060
|
-
/**
|
|
1061
|
-
* <p>The high-level properties of a firewall policy. This, along with the <a>FirewallPolicy</a>, define the policy. You can retrieve all objects for a firewall policy by calling <a>DescribeFirewallPolicy</a>. </p>
|
|
1062
|
-
*/
|
|
1063
|
-
FirewallPolicyResponse: FirewallPolicyResponse | undefined;
|
|
1064
|
-
}
|
|
1065
|
-
|
|
1066
|
-
export namespace CreateFirewallPolicyResponse {
|
|
1067
|
-
/**
|
|
1068
|
-
* @internal
|
|
1069
|
-
*/
|
|
1070
|
-
export const filterSensitiveLog = (obj: CreateFirewallPolicyResponse): any => ({
|
|
1071
|
-
...obj,
|
|
1072
|
-
});
|
|
1073
|
-
}
|
|
1074
|
-
|
|
1075
|
-
export enum GeneratedRulesType {
|
|
1076
|
-
ALLOWLIST = "ALLOWLIST",
|
|
1077
|
-
DENYLIST = "DENYLIST",
|
|
1078
|
-
}
|
|
1079
|
-
|
|
1080
|
-
export enum TargetType {
|
|
1081
|
-
HTTP_HOST = "HTTP_HOST",
|
|
1082
|
-
TLS_SNI = "TLS_SNI",
|
|
1083
|
-
}
|
|
1084
|
-
|
|
1085
|
-
/**
|
|
1086
|
-
* <p>Stateful inspection criteria for a domain list rule group. </p>
|
|
1087
|
-
* <p>For HTTPS traffic, domain filtering is SNI-based. It uses the server name indicator extension of the TLS handshake.</p>
|
|
1088
|
-
* <p>By default, Network Firewall domain list inspection only includes traffic coming from the VPC where you deploy the firewall. To inspect traffic from IP addresses outside of the deployment VPC, you set the <code>HOME_NET</code> rule variable to include the CIDR range of the deployment VPC plus the other CIDR ranges. For more information, see <a>RuleVariables</a> in this guide and <a href="https://docs.aws.amazon.com/network-firewall/latest/developerguide/stateful-rule-groups-domain-names.html">Stateful domain list rule groups in AWS Network Firewall</a> in the <i>Network Firewall Developer Guide</i>
|
|
1089
|
-
* </p>
|
|
1090
|
-
*/
|
|
1091
|
-
export interface RulesSourceList {
|
|
1092
|
-
/**
|
|
1093
|
-
* <p>The domains that you want to inspect for in your traffic flows. To provide multiple
|
|
1094
|
-
* domains, separate them with commas. Valid domain specifications are the following:</p>
|
|
1095
|
-
* <ul>
|
|
1096
|
-
* <li>
|
|
1097
|
-
* <p>Explicit names. For example, <code>abc.example.com</code> matches only the domain <code>abc.example.com</code>.</p>
|
|
1098
|
-
* </li>
|
|
1099
|
-
* <li>
|
|
1100
|
-
* <p>Names that use a domain wildcard, which you indicate with an initial '<code>.</code>'. For example,<code>.example.com</code> matches <code>example.com</code> and matches all subdomains of <code>example.com</code>, such as <code>abc.example.com</code> and <code>www.example.com</code>. </p>
|
|
1101
|
-
* </li>
|
|
1102
|
-
* </ul>
|
|
1103
|
-
*/
|
|
1104
|
-
Targets: string[] | undefined;
|
|
1105
|
-
|
|
1106
|
-
/**
|
|
1107
|
-
* <p>The protocols you want to inspect. Specify <code>TLS_SNI</code> for <code>HTTPS</code>. Specity <code>HTTP_HOST</code> for <code>HTTP</code>. You can specify either or both. </p>
|
|
1108
|
-
*/
|
|
1109
|
-
TargetTypes: (TargetType | string)[] | undefined;
|
|
1110
|
-
|
|
1111
|
-
/**
|
|
1112
|
-
* <p>Whether you want to allow or deny access to the domains in your target list.</p>
|
|
1113
|
-
*/
|
|
1114
|
-
GeneratedRulesType: GeneratedRulesType | string | undefined;
|
|
1115
|
-
}
|
|
1116
|
-
|
|
1117
|
-
export namespace RulesSourceList {
|
|
1118
|
-
/**
|
|
1119
|
-
* @internal
|
|
1120
|
-
*/
|
|
1121
|
-
export const filterSensitiveLog = (obj: RulesSourceList): any => ({
|
|
1122
|
-
...obj,
|
|
1123
|
-
});
|
|
1124
|
-
}
|
|
1125
|
-
|
|
1126
|
-
export enum StatefulAction {
|
|
1127
|
-
ALERT = "ALERT",
|
|
1128
|
-
DROP = "DROP",
|
|
1129
|
-
PASS = "PASS",
|
|
1130
|
-
}
|
|
1131
|
-
|
|
1132
|
-
export enum StatefulRuleDirection {
|
|
1133
|
-
ANY = "ANY",
|
|
1134
|
-
FORWARD = "FORWARD",
|
|
1135
|
-
}
|
|
1136
|
-
|
|
1137
|
-
export enum StatefulRuleProtocol {
|
|
1138
|
-
ANY = "IP",
|
|
1139
|
-
DCERPC = "DCERPC",
|
|
1140
|
-
DHCP = "DHCP",
|
|
1141
|
-
DNS = "DNS",
|
|
1142
|
-
FTP = "FTP",
|
|
1143
|
-
HTTP = "HTTP",
|
|
1144
|
-
ICMP = "ICMP",
|
|
1145
|
-
IKEV2 = "IKEV2",
|
|
1146
|
-
IMAP = "IMAP",
|
|
1147
|
-
KRB5 = "KRB5",
|
|
1148
|
-
MSN = "MSN",
|
|
1149
|
-
NTP = "NTP",
|
|
1150
|
-
SMB = "SMB",
|
|
1151
|
-
SMTP = "SMTP",
|
|
1152
|
-
SSH = "SSH",
|
|
1153
|
-
TCP = "TCP",
|
|
1154
|
-
TFTP = "TFTP",
|
|
1155
|
-
TLS = "TLS",
|
|
1156
|
-
UDP = "UDP",
|
|
1157
|
-
}
|
|
1158
|
-
|
|
1159
|
-
/**
|
|
1160
|
-
* <p>The 5-tuple criteria for AWS Network Firewall to use to inspect packet headers in stateful
|
|
1161
|
-
* traffic flow inspection. Traffic flows that match the criteria are a match for the
|
|
1162
|
-
* corresponding <a>StatefulRule</a>. </p>
|
|
1163
|
-
*/
|
|
1164
|
-
export interface Header {
|
|
1165
|
-
/**
|
|
1166
|
-
* <p>The protocol to inspect for. To specify all, you can use <code>IP</code>, because all traffic on AWS and on the internet is IP.</p>
|
|
1167
|
-
*/
|
|
1168
|
-
Protocol: StatefulRuleProtocol | string | undefined;
|
|
1169
|
-
|
|
1170
|
-
/**
|
|
1171
|
-
* <p>The source IP address or address range to inspect for, in CIDR notation.
|
|
1172
|
-
* To match with any address, specify <code>ANY</code>. </p>
|
|
1173
|
-
* <p>Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4. </p>
|
|
1174
|
-
* <p>Examples: </p>
|
|
1175
|
-
* <ul>
|
|
1176
|
-
* <li>
|
|
1177
|
-
* <p>To configure Network Firewall to inspect for the IP address 192.0.2.44, specify <code>192.0.2.44/32</code>.</p>
|
|
1178
|
-
* </li>
|
|
1179
|
-
* <li>
|
|
1180
|
-
* <p>To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify <code>192.0.2.0/24</code>.</p>
|
|
1181
|
-
* </li>
|
|
1182
|
-
* </ul>
|
|
1183
|
-
* <p>For more information about CIDR notation, see the Wikipedia entry <a href="https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing">Classless
|
|
1184
|
-
* Inter-Domain Routing</a>.</p>
|
|
1185
|
-
*/
|
|
1186
|
-
Source: string | undefined;
|
|
1187
|
-
|
|
1188
|
-
/**
|
|
1189
|
-
* <p>The source port to inspect for. You can specify an individual port, for
|
|
1190
|
-
* example <code>1994</code> and you can specify a port
|
|
1191
|
-
* range, for example <code>1990-1994</code>.
|
|
1192
|
-
* To match with any port, specify <code>ANY</code>. </p>
|
|
1193
|
-
*/
|
|
1194
|
-
SourcePort: string | undefined;
|
|
1195
|
-
|
|
1196
|
-
/**
|
|
1197
|
-
* <p>The direction of traffic flow to inspect. If set to <code>ANY</code>, the inspection
|
|
1198
|
-
* matches bidirectional traffic, both from the source to the destination and from the
|
|
1199
|
-
* destination to the source. If set to <code>FORWARD</code>, the inspection only matches
|
|
1200
|
-
* traffic going from the source to the destination. </p>
|
|
1201
|
-
*/
|
|
1202
|
-
Direction: StatefulRuleDirection | string | undefined;
|
|
1203
|
-
|
|
1204
|
-
/**
|
|
1205
|
-
* <p>The destination IP address or address range to inspect for, in CIDR notation.
|
|
1206
|
-
* To match with any address, specify <code>ANY</code>. </p>
|
|
1207
|
-
* <p>Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4. </p>
|
|
1208
|
-
* <p>Examples: </p>
|
|
1209
|
-
* <ul>
|
|
1210
|
-
* <li>
|
|
1211
|
-
* <p>To configure Network Firewall to inspect for the IP address 192.0.2.44, specify <code>192.0.2.44/32</code>.</p>
|
|
1212
|
-
* </li>
|
|
1213
|
-
* <li>
|
|
1214
|
-
* <p>To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify <code>192.0.2.0/24</code>.</p>
|
|
1215
|
-
* </li>
|
|
1216
|
-
* </ul>
|
|
1217
|
-
* <p>For more information about CIDR notation, see the Wikipedia entry <a href="https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing">Classless
|
|
1218
|
-
* Inter-Domain Routing</a>.</p>
|
|
1219
|
-
*/
|
|
1220
|
-
Destination: string | undefined;
|
|
1221
|
-
|
|
1222
|
-
/**
|
|
1223
|
-
* <p>The destination port to inspect for. You can specify an individual port, for
|
|
1224
|
-
* example <code>1994</code> and you can specify
|
|
1225
|
-
* a port range, for example <code>1990-1994</code>.
|
|
1226
|
-
* To match with any port, specify <code>ANY</code>. </p>
|
|
1227
|
-
*/
|
|
1228
|
-
DestinationPort: string | undefined;
|
|
1229
|
-
}
|
|
1230
|
-
|
|
1231
|
-
export namespace Header {
|
|
1232
|
-
/**
|
|
1233
|
-
* @internal
|
|
1234
|
-
*/
|
|
1235
|
-
export const filterSensitiveLog = (obj: Header): any => ({
|
|
1236
|
-
...obj,
|
|
1237
|
-
});
|
|
1238
|
-
}
|
|
1239
|
-
|
|
1240
|
-
/**
|
|
1241
|
-
* <p>Additional settings for a stateful rule. This is part of the <a>StatefulRule</a> configuration.</p>
|
|
1242
|
-
*/
|
|
1243
|
-
export interface RuleOption {
|
|
1244
|
-
/**
|
|
1245
|
-
* <p></p>
|
|
1246
|
-
*/
|
|
1247
|
-
Keyword: string | undefined;
|
|
1248
|
-
|
|
1249
|
-
/**
|
|
1250
|
-
* <p></p>
|
|
1251
|
-
*/
|
|
1252
|
-
Settings?: string[];
|
|
1253
|
-
}
|
|
1254
|
-
|
|
1255
|
-
export namespace RuleOption {
|
|
1256
|
-
/**
|
|
1257
|
-
* @internal
|
|
1258
|
-
*/
|
|
1259
|
-
export const filterSensitiveLog = (obj: RuleOption): any => ({
|
|
1260
|
-
...obj,
|
|
1261
|
-
});
|
|
1262
|
-
}
|
|
1263
|
-
|
|
1264
|
-
/**
|
|
1265
|
-
* <p>A single 5-tuple stateful rule, for use in a stateful rule group.</p>
|
|
1266
|
-
*/
|
|
1267
|
-
export interface StatefulRule {
|
|
1268
|
-
/**
|
|
1269
|
-
* <p>Defines what Network Firewall should do with the packets in a traffic flow when the flow
|
|
1270
|
-
* matches the stateful rule criteria. For all actions, Network Firewall performs the specified
|
|
1271
|
-
* action and discontinues stateful inspection of the traffic flow. </p>
|
|
1272
|
-
* <p>The actions for a stateful rule are defined as follows: </p>
|
|
1273
|
-
* <ul>
|
|
1274
|
-
* <li>
|
|
1275
|
-
* <p>
|
|
1276
|
-
* <b>PASS</b> - Permits the packets to go to the
|
|
1277
|
-
* intended destination.</p>
|
|
1278
|
-
* </li>
|
|
1279
|
-
* <li>
|
|
1280
|
-
* <p>
|
|
1281
|
-
* <b>DROP</b> - Blocks the packets from going to
|
|
1282
|
-
* the intended destination and sends an alert log message, if alert logging is configured in the <a>Firewall</a>
|
|
1283
|
-
* <a>LoggingConfiguration</a>. </p>
|
|
1284
|
-
* </li>
|
|
1285
|
-
* <li>
|
|
1286
|
-
* <p>
|
|
1287
|
-
* <b>ALERT</b> - Permits the packets to go to the
|
|
1288
|
-
* intended destination and sends an alert log message, if alert logging is configured in the <a>Firewall</a>
|
|
1289
|
-
* <a>LoggingConfiguration</a>. </p>
|
|
1290
|
-
* <p>You can use this action to test a rule that you intend to use to drop traffic. You
|
|
1291
|
-
* can enable the rule with <code>ALERT</code> action, verify in the logs that the rule
|
|
1292
|
-
* is filtering as you want, then change the action to <code>DROP</code>.</p>
|
|
1293
|
-
* </li>
|
|
1294
|
-
* </ul>
|
|
1295
|
-
*/
|
|
1296
|
-
Action: StatefulAction | string | undefined;
|
|
1297
|
-
|
|
1298
|
-
/**
|
|
1299
|
-
* <p>The stateful 5-tuple inspection criteria for this rule, used to inspect traffic flows.
|
|
1300
|
-
* </p>
|
|
1301
|
-
*/
|
|
1302
|
-
Header: Header | undefined;
|
|
1303
|
-
|
|
1304
|
-
/**
|
|
1305
|
-
* <p></p>
|
|
1306
|
-
*/
|
|
1307
|
-
RuleOptions: RuleOption[] | undefined;
|
|
1308
|
-
}
|
|
1309
|
-
|
|
1310
|
-
export namespace StatefulRule {
|
|
1311
|
-
/**
|
|
1312
|
-
* @internal
|
|
1313
|
-
*/
|
|
1314
|
-
export const filterSensitiveLog = (obj: StatefulRule): any => ({
|
|
1315
|
-
...obj,
|
|
1316
|
-
});
|
|
1317
|
-
}
|
|
1318
|
-
|
|
1319
|
-
/**
|
|
1320
|
-
* <p>A single port range specification. This is used for source and destination port ranges
|
|
1321
|
-
* in the stateless rule <a>MatchAttributes</a>, <code>SourcePorts</code>, and
|
|
1322
|
-
* <code>DestinationPorts</code> settings. </p>
|
|
1323
|
-
*/
|
|
1324
|
-
export interface PortRange {
|
|
1325
|
-
/**
|
|
1326
|
-
* <p>The lower limit of the port range. This must be less than or equal to the
|
|
1327
|
-
* <code>ToPort</code> specification. </p>
|
|
1328
|
-
*/
|
|
1329
|
-
FromPort: number | undefined;
|
|
1330
|
-
|
|
1331
|
-
/**
|
|
1332
|
-
* <p>The upper limit of the port range. This must be greater than or equal to the
|
|
1333
|
-
* <code>FromPort</code> specification. </p>
|
|
1334
|
-
*/
|
|
1335
|
-
ToPort: number | undefined;
|
|
1336
|
-
}
|
|
1337
|
-
|
|
1338
|
-
export namespace PortRange {
|
|
1339
|
-
/**
|
|
1340
|
-
* @internal
|
|
1341
|
-
*/
|
|
1342
|
-
export const filterSensitiveLog = (obj: PortRange): any => ({
|
|
1343
|
-
...obj,
|
|
1344
|
-
});
|
|
1345
|
-
}
|
|
1346
|
-
|
|
1347
|
-
export enum TCPFlag {
|
|
1348
|
-
ACK = "ACK",
|
|
1349
|
-
CWR = "CWR",
|
|
1350
|
-
ECE = "ECE",
|
|
1351
|
-
FIN = "FIN",
|
|
1352
|
-
PSH = "PSH",
|
|
1353
|
-
RST = "RST",
|
|
1354
|
-
SYN = "SYN",
|
|
1355
|
-
URG = "URG",
|
|
1356
|
-
}
|
|
1357
|
-
|
|
1358
|
-
/**
|
|
1359
|
-
* <p>TCP flags and masks to inspect packets for, used in stateless rules <a>MatchAttributes</a> settings.</p>
|
|
1360
|
-
*/
|
|
1361
|
-
export interface TCPFlagField {
|
|
1362
|
-
/**
|
|
1363
|
-
* <p>Used in conjunction with the <code>Masks</code> setting to define the flags that must be set and flags that must not be set in order for the packet to match. This setting can only specify values that are also specified in the <code>Masks</code> setting.</p>
|
|
1364
|
-
* <p>For the flags that are specified in the masks setting, the following must be true for the packet to match: </p>
|
|
1365
|
-
* <ul>
|
|
1366
|
-
* <li>
|
|
1367
|
-
* <p>The ones that are set in this flags setting must be set in the packet. </p>
|
|
1368
|
-
* </li>
|
|
1369
|
-
* <li>
|
|
1370
|
-
* <p>The ones that are not set in this flags setting must also not be set in the packet. </p>
|
|
1371
|
-
* </li>
|
|
1372
|
-
* </ul>
|
|
1373
|
-
*/
|
|
1374
|
-
Flags: (TCPFlag | string)[] | undefined;
|
|
1375
|
-
|
|
1376
|
-
/**
|
|
1377
|
-
* <p>The set of flags to consider in the inspection. To inspect all flags in the valid values list, leave this with no setting.</p>
|
|
1378
|
-
*/
|
|
1379
|
-
Masks?: (TCPFlag | string)[];
|
|
1380
|
-
}
|
|
1381
|
-
|
|
1382
|
-
export namespace TCPFlagField {
|
|
1383
|
-
/**
|
|
1384
|
-
* @internal
|
|
1385
|
-
*/
|
|
1386
|
-
export const filterSensitiveLog = (obj: TCPFlagField): any => ({
|
|
1387
|
-
...obj,
|
|
1388
|
-
});
|
|
1389
|
-
}
|
|
1390
|
-
|
|
1391
|
-
/**
|
|
1392
|
-
* <p>Criteria for Network Firewall to use to inspect an individual packet in stateless rule inspection. Each match attributes set can include one or more items such as IP address, CIDR range, port number, protocol, and TCP flags. </p>
|
|
1393
|
-
*/
|
|
1394
|
-
export interface MatchAttributes {
|
|
1395
|
-
/**
|
|
1396
|
-
* <p>The source IP addresses and address ranges to inspect for, in CIDR notation. If not
|
|
1397
|
-
* specified, this matches with any source address. </p>
|
|
1398
|
-
*/
|
|
1399
|
-
Sources?: Address[];
|
|
1400
|
-
|
|
1401
|
-
/**
|
|
1402
|
-
* <p>The destination IP addresses and address ranges to inspect for, in CIDR notation. If not
|
|
1403
|
-
* specified, this matches with any destination address. </p>
|
|
1404
|
-
*/
|
|
1405
|
-
Destinations?: Address[];
|
|
1406
|
-
|
|
1407
|
-
/**
|
|
1408
|
-
* <p>The source ports to inspect for. If not specified, this matches with any source port.
|
|
1409
|
-
* This setting is only used for protocols 6 (TCP) and 17 (UDP). </p>
|
|
1410
|
-
* <p>You can specify individual ports, for example <code>1994</code> and you can specify port
|
|
1411
|
-
* ranges, for example <code>1990-1994</code>. </p>
|
|
1412
|
-
*/
|
|
1413
|
-
SourcePorts?: PortRange[];
|
|
1414
|
-
|
|
1415
|
-
/**
|
|
1416
|
-
* <p>The destination ports to inspect for. If not specified, this matches with any
|
|
1417
|
-
* destination port. This setting is only used for protocols 6 (TCP) and 17 (UDP). </p>
|
|
1418
|
-
* <p>You can specify individual ports, for example <code>1994</code> and you can specify port
|
|
1419
|
-
* ranges, for example <code>1990-1994</code>. </p>
|
|
1420
|
-
*/
|
|
1421
|
-
DestinationPorts?: PortRange[];
|
|
1422
|
-
|
|
1423
|
-
/**
|
|
1424
|
-
* <p>The protocols to inspect for, specified using each protocol's assigned internet protocol
|
|
1425
|
-
* number (IANA). If not specified, this matches with any protocol. </p>
|
|
1426
|
-
*/
|
|
1427
|
-
Protocols?: number[];
|
|
1428
|
-
|
|
1429
|
-
/**
|
|
1430
|
-
* <p>The TCP flags and masks to inspect for. If not specified, this matches with any
|
|
1431
|
-
* settings. This setting is only used for protocol 6 (TCP).</p>
|
|
1432
|
-
*/
|
|
1433
|
-
TCPFlags?: TCPFlagField[];
|
|
1434
|
-
}
|
|
1435
|
-
|
|
1436
|
-
export namespace MatchAttributes {
|
|
1437
|
-
/**
|
|
1438
|
-
* @internal
|
|
1439
|
-
*/
|
|
1440
|
-
export const filterSensitiveLog = (obj: MatchAttributes): any => ({
|
|
1441
|
-
...obj,
|
|
1442
|
-
});
|
|
1443
|
-
}
|
|
1444
|
-
|
|
1445
|
-
/**
|
|
1446
|
-
* <p>The inspection criteria and action for a single stateless rule. AWS Network Firewall inspects each packet for the specified matching
|
|
1447
|
-
* criteria. When a packet matches the criteria, Network Firewall performs the rule's actions on
|
|
1448
|
-
* the packet.</p>
|
|
1449
|
-
*/
|
|
1450
|
-
export interface RuleDefinition {
|
|
1451
|
-
/**
|
|
1452
|
-
* <p>Criteria for Network Firewall to use to inspect an individual packet in stateless rule inspection. Each match attributes set can include one or more items such as IP address, CIDR range, port number, protocol, and TCP flags. </p>
|
|
1453
|
-
*/
|
|
1454
|
-
MatchAttributes: MatchAttributes | undefined;
|
|
1455
|
-
|
|
1456
|
-
/**
|
|
1457
|
-
* <p>The actions to take on a packet that matches one of the stateless rule definition's
|
|
1458
|
-
* match attributes. You must specify a standard action and you can add custom actions. </p>
|
|
1459
|
-
* <note>
|
|
1460
|
-
* <p>Network Firewall only forwards a packet for stateful rule inspection if you specify
|
|
1461
|
-
* <code>aws:forward_to_sfe</code> for a rule that the packet matches, or if the packet
|
|
1462
|
-
* doesn't match any stateless rule and you specify <code>aws:forward_to_sfe</code> for the
|
|
1463
|
-
* <code>StatelessDefaultActions</code> setting for the <a>FirewallPolicy</a>.</p>
|
|
1464
|
-
* </note>
|
|
1465
|
-
* <p>For every rule, you must specify exactly one of the following standard actions. </p>
|
|
1466
|
-
* <ul>
|
|
1467
|
-
* <li>
|
|
1468
|
-
* <p>
|
|
1469
|
-
* <b>aws:pass</b> - Discontinues all inspection of
|
|
1470
|
-
* the packet and permits it to go to its intended destination.</p>
|
|
1471
|
-
* </li>
|
|
1472
|
-
* <li>
|
|
1473
|
-
* <p>
|
|
1474
|
-
* <b>aws:drop</b> - Discontinues all inspection of
|
|
1475
|
-
* the packet and blocks it from going to its intended destination.</p>
|
|
1476
|
-
* </li>
|
|
1477
|
-
* <li>
|
|
1478
|
-
* <p>
|
|
1479
|
-
* <b>aws:forward_to_sfe</b> - Discontinues
|
|
1480
|
-
* stateless inspection of the packet and forwards it to the stateful rule engine for
|
|
1481
|
-
* inspection. </p>
|
|
1482
|
-
* </li>
|
|
1483
|
-
* </ul>
|
|
1484
|
-
* <p>Additionally, you can specify a custom action.
|
|
1485
|
-
* To
|
|
1486
|
-
* do this, you define a custom action by name and type, then provide the name you've assigned
|
|
1487
|
-
* to the action in this <code>Actions</code> setting. For information about the options, see
|
|
1488
|
-
* <a>CustomAction</a>. </p>
|
|
1489
|
-
* <p>To provide more than one action in this setting, separate the settings with a comma. For
|
|
1490
|
-
* example, if you have a custom <code>PublishMetrics</code> action that you've named
|
|
1491
|
-
* <code>MyMetricsAction</code>, then you could specify the standard action
|
|
1492
|
-
* <code>aws:pass</code> and the custom action with <code>[“aws:pass”,
|
|
1493
|
-
* “MyMetricsAction”]</code>. </p>
|
|
1494
|
-
*/
|
|
1495
|
-
Actions: string[] | undefined;
|
|
1496
|
-
}
|
|
1497
|
-
|
|
1498
|
-
export namespace RuleDefinition {
|
|
1499
|
-
/**
|
|
1500
|
-
* @internal
|
|
1501
|
-
*/
|
|
1502
|
-
export const filterSensitiveLog = (obj: RuleDefinition): any => ({
|
|
1503
|
-
...obj,
|
|
1504
|
-
});
|
|
1505
|
-
}
|
|
1506
|
-
|
|
1507
|
-
/**
|
|
1508
|
-
* <p>A single stateless rule. This is used in <a>StatelessRulesAndCustomActions</a>.</p>
|
|
1509
|
-
*/
|
|
1510
|
-
export interface StatelessRule {
|
|
1511
|
-
/**
|
|
1512
|
-
* <p>Defines the stateless 5-tuple packet inspection criteria and the action to take on a
|
|
1513
|
-
* packet that matches the criteria. </p>
|
|
1514
|
-
*/
|
|
1515
|
-
RuleDefinition: RuleDefinition | undefined;
|
|
1516
|
-
|
|
1517
|
-
/**
|
|
1518
|
-
* <p>A setting that indicates the order in which to run this rule relative to all of the
|
|
1519
|
-
* rules that are defined for a stateless rule group. Network Firewall evaluates the rules in a
|
|
1520
|
-
* rule group starting with the lowest priority setting. You must ensure that the priority
|
|
1521
|
-
* settings are unique for the rule group. </p>
|
|
1522
|
-
* <p>Each stateless rule group uses exactly one <code>StatelessRulesAndCustomActions</code>
|
|
1523
|
-
* object, and each <code>StatelessRulesAndCustomActions</code> contains exactly one
|
|
1524
|
-
* <code>StatelessRules</code> object. To ensure unique priority settings for your rule
|
|
1525
|
-
* groups, set unique priorities for the stateless rules that you define inside any single
|
|
1526
|
-
* <code>StatelessRules</code> object.</p>
|
|
1527
|
-
* <p>You can change the priority settings of your rules at any time. To make it easier to
|
|
1528
|
-
* insert rules later, number them so there's a wide range in between, for example use 100,
|
|
1529
|
-
* 200, and so on. </p>
|
|
1530
|
-
*/
|
|
1531
|
-
Priority: number | undefined;
|
|
1532
|
-
}
|
|
1533
|
-
|
|
1534
|
-
export namespace StatelessRule {
|
|
1535
|
-
/**
|
|
1536
|
-
* @internal
|
|
1537
|
-
*/
|
|
1538
|
-
export const filterSensitiveLog = (obj: StatelessRule): any => ({
|
|
1539
|
-
...obj,
|
|
1540
|
-
});
|
|
1541
|
-
}
|
|
1542
|
-
|
|
1543
|
-
/**
|
|
1544
|
-
* <p>Stateless inspection criteria. Each stateless rule group uses exactly one of these data
|
|
1545
|
-
* types to define its stateless rules. </p>
|
|
1546
|
-
*/
|
|
1547
|
-
export interface StatelessRulesAndCustomActions {
|
|
1548
|
-
/**
|
|
1549
|
-
* <p>Defines the set of stateless rules for use in a stateless rule group. </p>
|
|
1550
|
-
*/
|
|
1551
|
-
StatelessRules: StatelessRule[] | undefined;
|
|
1552
|
-
|
|
1553
|
-
/**
|
|
1554
|
-
* <p>Defines an array of individual custom action definitions that are available for use by
|
|
1555
|
-
* the stateless rules in this <code>StatelessRulesAndCustomActions</code> specification. You
|
|
1556
|
-
* name each custom action that you define, and then you can use it by name in your <a>StatelessRule</a>
|
|
1557
|
-
* <a>RuleDefinition</a>
|
|
1558
|
-
* <code>Actions</code> specification.</p>
|
|
1559
|
-
*/
|
|
1560
|
-
CustomActions?: CustomAction[];
|
|
1561
|
-
}
|
|
1562
|
-
|
|
1563
|
-
export namespace StatelessRulesAndCustomActions {
|
|
1564
|
-
/**
|
|
1565
|
-
* @internal
|
|
1566
|
-
*/
|
|
1567
|
-
export const filterSensitiveLog = (obj: StatelessRulesAndCustomActions): any => ({
|
|
1568
|
-
...obj,
|
|
1569
|
-
});
|
|
1570
|
-
}
|
|
1571
|
-
|
|
1572
|
-
/**
|
|
1573
|
-
* <p>The stateless or stateful rules definitions for use in a single rule group. Each rule
|
|
1574
|
-
* group requires a single <code>RulesSource</code>. You can use an instance of this for
|
|
1575
|
-
* either stateless rules or stateful rules. </p>
|
|
1576
|
-
*/
|
|
1577
|
-
export interface RulesSource {
|
|
1578
|
-
/**
|
|
1579
|
-
* <p>Stateful inspection criteria, provided in Suricata compatible intrusion prevention
|
|
1580
|
-
* system (IPS) rules. Suricata is an open-source network IPS that includes a standard
|
|
1581
|
-
* rule-based language for network traffic inspection.</p>
|
|
1582
|
-
* <p>These rules contain the inspection criteria and the action to take for traffic that
|
|
1583
|
-
* matches the criteria, so this type of rule group doesn't have a separate action
|
|
1584
|
-
* setting.</p>
|
|
1585
|
-
*/
|
|
1586
|
-
RulesString?: string;
|
|
1587
|
-
|
|
1588
|
-
/**
|
|
1589
|
-
* <p>Stateful inspection criteria for a domain list rule group. </p>
|
|
1590
|
-
*/
|
|
1591
|
-
RulesSourceList?: RulesSourceList;
|
|
1592
|
-
|
|
1593
|
-
/**
|
|
1594
|
-
* <p>The 5-tuple stateful inspection criteria. This contains an array of individual 5-tuple
|
|
1595
|
-
* stateful rules to be used together in a stateful rule group. </p>
|
|
1596
|
-
*/
|
|
1597
|
-
StatefulRules?: StatefulRule[];
|
|
1598
|
-
|
|
1599
|
-
/**
|
|
1600
|
-
* <p>Stateless inspection criteria to be used in a stateless rule group. </p>
|
|
1601
|
-
*/
|
|
1602
|
-
StatelessRulesAndCustomActions?: StatelessRulesAndCustomActions;
|
|
1603
|
-
}
|
|
1604
|
-
|
|
1605
|
-
export namespace RulesSource {
|
|
1606
|
-
/**
|
|
1607
|
-
* @internal
|
|
1608
|
-
*/
|
|
1609
|
-
export const filterSensitiveLog = (obj: RulesSource): any => ({
|
|
1610
|
-
...obj,
|
|
1611
|
-
});
|
|
1612
|
-
}
|
|
1613
|
-
|
|
1614
|
-
/**
|
|
1615
|
-
* <p>A list of IP addresses and address ranges, in CIDR notation. This is part of a <a>RuleVariables</a>. </p>
|
|
1616
|
-
*/
|
|
1617
|
-
export interface IPSet {
|
|
1618
|
-
/**
|
|
1619
|
-
* <p>The list of IP addresses and address ranges, in CIDR notation.
|
|
1620
|
-
*
|
|
1621
|
-
* </p>
|
|
1622
|
-
*/
|
|
1623
|
-
Definition: string[] | undefined;
|
|
1624
|
-
}
|
|
1625
|
-
|
|
1626
|
-
export namespace IPSet {
|
|
1627
|
-
/**
|
|
1628
|
-
* @internal
|
|
1629
|
-
*/
|
|
1630
|
-
export const filterSensitiveLog = (obj: IPSet): any => ({
|
|
1631
|
-
...obj,
|
|
1632
|
-
});
|
|
1633
|
-
}
|
|
1634
|
-
|
|
1635
|
-
/**
|
|
1636
|
-
* <p>A set of port ranges for use in the rules in a rule group. </p>
|
|
1637
|
-
*/
|
|
1638
|
-
export interface PortSet {
|
|
1639
|
-
/**
|
|
1640
|
-
* <p>The set of port ranges.
|
|
1641
|
-
* </p>
|
|
1642
|
-
*/
|
|
1643
|
-
Definition?: string[];
|
|
1644
|
-
}
|
|
1645
|
-
|
|
1646
|
-
export namespace PortSet {
|
|
1647
|
-
/**
|
|
1648
|
-
* @internal
|
|
1649
|
-
*/
|
|
1650
|
-
export const filterSensitiveLog = (obj: PortSet): any => ({
|
|
1651
|
-
...obj,
|
|
1652
|
-
});
|
|
1653
|
-
}
|
|
1654
|
-
|
|
1655
|
-
/**
|
|
1656
|
-
* <p>Settings that are available for use in the rules in the <a>RuleGroup</a>
|
|
1657
|
-
* where this is defined. </p>
|
|
1658
|
-
*/
|
|
1659
|
-
export interface RuleVariables {
|
|
1660
|
-
/**
|
|
1661
|
-
* <p>A list of IP addresses and address ranges, in CIDR notation. </p>
|
|
1662
|
-
*/
|
|
1663
|
-
IPSets?: { [key: string]: IPSet };
|
|
1664
|
-
|
|
1665
|
-
/**
|
|
1666
|
-
* <p>A list of port ranges. </p>
|
|
1667
|
-
*/
|
|
1668
|
-
PortSets?: { [key: string]: PortSet };
|
|
1669
|
-
}
|
|
1670
|
-
|
|
1671
|
-
export namespace RuleVariables {
|
|
1672
|
-
/**
|
|
1673
|
-
* @internal
|
|
1674
|
-
*/
|
|
1675
|
-
export const filterSensitiveLog = (obj: RuleVariables): any => ({
|
|
1676
|
-
...obj,
|
|
1677
|
-
});
|
|
1678
|
-
}
|
|
1679
|
-
|
|
1680
|
-
/**
|
|
1681
|
-
* <p>The object that defines the rules in a rule group. This, along with <a>RuleGroupResponse</a>, define the rule group. You can retrieve all objects for a rule group by calling <a>DescribeRuleGroup</a>. </p>
|
|
1682
|
-
* <p>AWS Network Firewall uses a rule group to inspect and control network traffic.
|
|
1683
|
-
* You define stateless rule groups to inspect individual packets and you define stateful rule groups to inspect packets in the context of their
|
|
1684
|
-
* traffic flow. </p>
|
|
1685
|
-
* <p>To use a rule group, you include it by reference in an Network Firewall firewall policy, then you use the policy in a firewall. You can reference a rule group from
|
|
1686
|
-
* more than one firewall policy, and you can use a firewall policy in more than one firewall. </p>
|
|
1687
|
-
*/
|
|
1688
|
-
export interface RuleGroup {
|
|
1689
|
-
/**
|
|
1690
|
-
* <p>Settings that are available for use in the rules in the rule group. You can only use
|
|
1691
|
-
* these for stateful rule groups. </p>
|
|
1692
|
-
*/
|
|
1693
|
-
RuleVariables?: RuleVariables;
|
|
1694
|
-
|
|
1695
|
-
/**
|
|
1696
|
-
* <p>The stateful rules or stateless rules for the rule group. </p>
|
|
1697
|
-
*/
|
|
1698
|
-
RulesSource: RulesSource | undefined;
|
|
1699
|
-
}
|
|
1700
|
-
|
|
1701
|
-
export namespace RuleGroup {
|
|
1702
|
-
/**
|
|
1703
|
-
* @internal
|
|
1704
|
-
*/
|
|
1705
|
-
export const filterSensitiveLog = (obj: RuleGroup): any => ({
|
|
1706
|
-
...obj,
|
|
1707
|
-
});
|
|
1708
|
-
}
|
|
1709
|
-
|
|
1710
|
-
export enum RuleGroupType {
|
|
1711
|
-
STATEFUL = "STATEFUL",
|
|
1712
|
-
STATELESS = "STATELESS",
|
|
1713
|
-
}
|
|
1714
|
-
|
|
1715
|
-
export interface CreateRuleGroupRequest {
|
|
1716
|
-
/**
|
|
1717
|
-
* <p>The descriptive name of the rule group. You can't change the name of a rule group after you create it.</p>
|
|
1718
|
-
*/
|
|
1719
|
-
RuleGroupName: string | undefined;
|
|
1720
|
-
|
|
1721
|
-
/**
|
|
1722
|
-
* <p>An object that defines the rule group rules. </p>
|
|
1723
|
-
* <note>
|
|
1724
|
-
* <p>You must provide either this rule group setting or a <code>Rules</code> setting, but not both. </p>
|
|
1725
|
-
* </note>
|
|
1726
|
-
*/
|
|
1727
|
-
RuleGroup?: RuleGroup;
|
|
1728
|
-
|
|
1729
|
-
/**
|
|
1730
|
-
* <p>A string containing stateful rule group rules specifications in Suricata flat format, with one rule
|
|
1731
|
-
* per line. Use this to import your existing Suricata compatible rule groups. </p>
|
|
1732
|
-
* <note>
|
|
1733
|
-
* <p>You must provide either this rules setting or a populated <code>RuleGroup</code> setting, but not both. </p>
|
|
1734
|
-
* </note>
|
|
1735
|
-
* <p>You can provide your rule group specification in Suricata flat format through this setting when you create or update your rule group. The call
|
|
1736
|
-
* response returns a <a>RuleGroup</a> object that Network Firewall has populated from your string. </p>
|
|
1737
|
-
*/
|
|
1738
|
-
Rules?: string;
|
|
1739
|
-
|
|
1740
|
-
/**
|
|
1741
|
-
* <p>Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains
|
|
1742
|
-
* stateless rules. If it is stateful, it contains stateful rules. </p>
|
|
1743
|
-
*/
|
|
1744
|
-
Type: RuleGroupType | string | undefined;
|
|
1745
|
-
|
|
1746
|
-
/**
|
|
1747
|
-
* <p>A description of the rule group. </p>
|
|
1748
|
-
*/
|
|
1749
|
-
Description?: string;
|
|
1750
|
-
|
|
1751
|
-
/**
|
|
1752
|
-
* <p>The maximum operating resources that this rule group can use. Rule group capacity is fixed at creation.
|
|
1753
|
-
* When you update a rule group, you are limited to this capacity. When you reference a rule group
|
|
1754
|
-
* from a firewall policy, Network Firewall reserves this capacity for the rule group. </p>
|
|
1755
|
-
* <p>You can retrieve the capacity that would be required for a rule group before you create the rule group by calling
|
|
1756
|
-
* <a>CreateRuleGroup</a> with <code>DryRun</code> set to <code>TRUE</code>. </p>
|
|
1757
|
-
* <note>
|
|
1758
|
-
* <p>You can't change or exceed this capacity when you update the rule group, so leave
|
|
1759
|
-
* room for your rule group to grow. </p>
|
|
1760
|
-
* </note>
|
|
1761
|
-
* <p>
|
|
1762
|
-
* <b>Capacity for a stateless rule group</b>
|
|
1763
|
-
* </p>
|
|
1764
|
-
* <p>For a stateless rule group, the capacity required is the sum of the capacity
|
|
1765
|
-
* requirements of the individual rules that you expect to have in the rule group. </p>
|
|
1766
|
-
* <p>To calculate the capacity requirement of a single rule, multiply the capacity
|
|
1767
|
-
* requirement values of each of the rule's match settings:</p>
|
|
1768
|
-
* <ul>
|
|
1769
|
-
* <li>
|
|
1770
|
-
* <p>A match setting with no criteria specified has a value of 1. </p>
|
|
1771
|
-
* </li>
|
|
1772
|
-
* <li>
|
|
1773
|
-
* <p>A match setting with <code>Any</code> specified has a value of 1. </p>
|
|
1774
|
-
* </li>
|
|
1775
|
-
* <li>
|
|
1776
|
-
* <p>All other match settings have a value equal to the number of elements provided in
|
|
1777
|
-
* the setting. For example, a protocol setting ["UDP"] and a source setting
|
|
1778
|
-
* ["10.0.0.0/24"] each have a value of 1. A protocol setting ["UDP","TCP"] has a value
|
|
1779
|
-
* of 2. A source setting ["10.0.0.0/24","10.0.0.1/24","10.0.0.2/24"] has a value of 3.
|
|
1780
|
-
* </p>
|
|
1781
|
-
* </li>
|
|
1782
|
-
* </ul>
|
|
1783
|
-
* <p>A rule with no criteria specified in any of its match settings has a capacity
|
|
1784
|
-
* requirement of 1. A rule with protocol setting ["UDP","TCP"], source setting
|
|
1785
|
-
* ["10.0.0.0/24","10.0.0.1/24","10.0.0.2/24"], and a single specification or no specification
|
|
1786
|
-
* for each of the other match settings has a capacity requirement of 6. </p>
|
|
1787
|
-
* <p>
|
|
1788
|
-
* <b>Capacity for a stateful rule group</b>
|
|
1789
|
-
* </p>
|
|
1790
|
-
* <p>For
|
|
1791
|
-
* a stateful rule group, the minimum capacity required is the number of individual rules that
|
|
1792
|
-
* you expect to have in the rule group. </p>
|
|
1793
|
-
*/
|
|
1794
|
-
Capacity: number | undefined;
|
|
1795
|
-
|
|
1796
|
-
/**
|
|
1797
|
-
* <p>The key:value pairs to associate with the resource.</p>
|
|
1798
|
-
*/
|
|
1799
|
-
Tags?: Tag[];
|
|
1800
|
-
|
|
1801
|
-
/**
|
|
1802
|
-
* <p>Indicates whether you want Network Firewall to just check the validity of the request, rather than run the request. </p>
|
|
1803
|
-
* <p>If set to <code>TRUE</code>, Network Firewall checks whether the request can run successfully,
|
|
1804
|
-
* but doesn't actually make the requested changes. The call returns the value that the request would return if you ran it with
|
|
1805
|
-
* dry run set to <code>FALSE</code>, but doesn't make additions or changes to your resources. This option allows you to make sure that you have
|
|
1806
|
-
* the required permissions to run the request and that your request parameters are valid. </p>
|
|
1807
|
-
* <p>If set to <code>FALSE</code>, Network Firewall makes the requested changes to your resources. </p>
|
|
1808
|
-
*/
|
|
1809
|
-
DryRun?: boolean;
|
|
1810
|
-
}
|
|
1811
|
-
|
|
1812
|
-
export namespace CreateRuleGroupRequest {
|
|
1813
|
-
/**
|
|
1814
|
-
* @internal
|
|
1815
|
-
*/
|
|
1816
|
-
export const filterSensitiveLog = (obj: CreateRuleGroupRequest): any => ({
|
|
1817
|
-
...obj,
|
|
1818
|
-
});
|
|
1819
|
-
}
|
|
1820
|
-
|
|
1821
|
-
/**
|
|
1822
|
-
* <p>The high-level properties of a rule group. This, along with the <a>RuleGroup</a>, define the rule group. You can retrieve all objects for a rule group by calling <a>DescribeRuleGroup</a>. </p>
|
|
1823
|
-
*/
|
|
1824
|
-
export interface RuleGroupResponse {
|
|
1825
|
-
/**
|
|
1826
|
-
* <p>The Amazon Resource Name (ARN) of the rule group.</p>
|
|
1827
|
-
* <note>
|
|
1828
|
-
* <p>If this response is for a create request that had <code>DryRun</code> set to
|
|
1829
|
-
* <code>TRUE</code>, then this ARN is a placeholder that isn't attached to a valid
|
|
1830
|
-
* resource.</p>
|
|
1831
|
-
* </note>
|
|
1832
|
-
*/
|
|
1833
|
-
RuleGroupArn: string | undefined;
|
|
1834
|
-
|
|
1835
|
-
/**
|
|
1836
|
-
* <p>The descriptive name of the rule group. You can't change the name of a rule group after you create it.</p>
|
|
1837
|
-
*/
|
|
1838
|
-
RuleGroupName: string | undefined;
|
|
1839
|
-
|
|
1840
|
-
/**
|
|
1841
|
-
* <p>The unique identifier for the rule group. </p>
|
|
1842
|
-
*/
|
|
1843
|
-
RuleGroupId: string | undefined;
|
|
1844
|
-
|
|
1845
|
-
/**
|
|
1846
|
-
* <p>A description of the rule group. </p>
|
|
1847
|
-
*/
|
|
1848
|
-
Description?: string;
|
|
1849
|
-
|
|
1850
|
-
/**
|
|
1851
|
-
* <p>Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains
|
|
1852
|
-
* stateless rules. If it is stateful, it contains stateful rules. </p>
|
|
1853
|
-
*/
|
|
1854
|
-
Type?: RuleGroupType | string;
|
|
1855
|
-
|
|
1856
|
-
/**
|
|
1857
|
-
* <p>The maximum operating resources that this rule group can use. Rule group capacity is fixed at creation.
|
|
1858
|
-
* When you update a rule group, you are limited to this capacity. When you reference a rule group
|
|
1859
|
-
* from a firewall policy, Network Firewall reserves this capacity for the rule group. </p>
|
|
1860
|
-
* <p>You can retrieve the capacity that would be required for a rule group before you create the rule group by calling
|
|
1861
|
-
* <a>CreateRuleGroup</a> with <code>DryRun</code> set to <code>TRUE</code>. </p>
|
|
1862
|
-
*/
|
|
1863
|
-
Capacity?: number;
|
|
1864
|
-
|
|
1865
|
-
/**
|
|
1866
|
-
* <p>Detailed information about the current status of a rule group. </p>
|
|
1867
|
-
*/
|
|
1868
|
-
RuleGroupStatus?: ResourceStatus | string;
|
|
1869
|
-
|
|
1870
|
-
/**
|
|
1871
|
-
* <p>The key:value pairs to associate with the resource.</p>
|
|
1872
|
-
*/
|
|
1873
|
-
Tags?: Tag[];
|
|
1874
|
-
}
|
|
1875
|
-
|
|
1876
|
-
export namespace RuleGroupResponse {
|
|
1877
|
-
/**
|
|
1878
|
-
* @internal
|
|
1879
|
-
*/
|
|
1880
|
-
export const filterSensitiveLog = (obj: RuleGroupResponse): any => ({
|
|
1881
|
-
...obj,
|
|
1882
|
-
});
|
|
1883
|
-
}
|
|
1884
|
-
|
|
1885
|
-
export interface CreateRuleGroupResponse {
|
|
1886
|
-
/**
|
|
1887
|
-
* <p>A token used for optimistic locking. Network Firewall returns a token to your requests that access the rule group. The token marks the state of the rule group resource at the time of the request. </p>
|
|
1888
|
-
* <p>To make changes to the rule group, you provide the token in your request. Network Firewall uses the token to ensure that the rule group hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the rule group again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token. </p>
|
|
1889
|
-
*/
|
|
1890
|
-
UpdateToken: string | undefined;
|
|
1891
|
-
|
|
1892
|
-
/**
|
|
1893
|
-
* <p>The high-level properties of a rule group. This, along with the <a>RuleGroup</a>, define the rule group. You can retrieve all objects for a rule group by calling <a>DescribeRuleGroup</a>. </p>
|
|
1894
|
-
*/
|
|
1895
|
-
RuleGroupResponse: RuleGroupResponse | undefined;
|
|
1896
|
-
}
|
|
1897
|
-
|
|
1898
|
-
export namespace CreateRuleGroupResponse {
|
|
1899
|
-
/**
|
|
1900
|
-
* @internal
|
|
1901
|
-
*/
|
|
1902
|
-
export const filterSensitiveLog = (obj: CreateRuleGroupResponse): any => ({
|
|
1903
|
-
...obj,
|
|
1904
|
-
});
|
|
1905
|
-
}
|
|
1906
|
-
|
|
1907
|
-
export interface DeleteFirewallRequest {
|
|
1908
|
-
/**
|
|
1909
|
-
* <p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>
|
|
1910
|
-
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
1911
|
-
*/
|
|
1912
|
-
FirewallName?: string;
|
|
1913
|
-
|
|
1914
|
-
/**
|
|
1915
|
-
* <p>The Amazon Resource Name (ARN) of the firewall.</p>
|
|
1916
|
-
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
1917
|
-
*/
|
|
1918
|
-
FirewallArn?: string;
|
|
1919
|
-
}
|
|
1920
|
-
|
|
1921
|
-
export namespace DeleteFirewallRequest {
|
|
1922
|
-
/**
|
|
1923
|
-
* @internal
|
|
1924
|
-
*/
|
|
1925
|
-
export const filterSensitiveLog = (obj: DeleteFirewallRequest): any => ({
|
|
1926
|
-
...obj,
|
|
1927
|
-
});
|
|
1928
|
-
}
|
|
1929
|
-
|
|
1930
|
-
export interface DeleteFirewallResponse {
|
|
1931
|
-
/**
|
|
1932
|
-
* <p>The firewall defines the configuration settings for an AWS Network Firewall firewall. These settings include the firewall policy, the subnets in your VPC to use for the firewall endpoints, and any tags that are attached to the firewall AWS resource. </p>
|
|
1933
|
-
* <p>The status of the firewall, for example whether it's ready to filter network traffic,
|
|
1934
|
-
* is provided in the corresponding <a>FirewallStatus</a>. You can retrieve both
|
|
1935
|
-
* objects by calling <a>DescribeFirewall</a>.</p>
|
|
1936
|
-
*/
|
|
1937
|
-
Firewall?: Firewall;
|
|
1938
|
-
|
|
1939
|
-
/**
|
|
1940
|
-
* <p>Detailed information about the current status of a <a>Firewall</a>. You can retrieve this for a firewall by calling <a>DescribeFirewall</a> and providing the firewall name and ARN.</p>
|
|
1941
|
-
*/
|
|
1942
|
-
FirewallStatus?: FirewallStatus;
|
|
1943
|
-
}
|
|
1944
|
-
|
|
1945
|
-
export namespace DeleteFirewallResponse {
|
|
1946
|
-
/**
|
|
1947
|
-
* @internal
|
|
1948
|
-
*/
|
|
1949
|
-
export const filterSensitiveLog = (obj: DeleteFirewallResponse): any => ({
|
|
1950
|
-
...obj,
|
|
1951
|
-
});
|
|
1952
|
-
}
|
|
1953
|
-
|
|
1954
|
-
/**
|
|
1955
|
-
* <p>The operation you requested isn't supported by Network Firewall. </p>
|
|
1956
|
-
*/
|
|
1957
|
-
export interface UnsupportedOperationException extends __SmithyException, $MetadataBearer {
|
|
1958
|
-
name: "UnsupportedOperationException";
|
|
1959
|
-
$fault: "client";
|
|
1960
|
-
Message?: string;
|
|
1961
|
-
}
|
|
1962
|
-
|
|
1963
|
-
export namespace UnsupportedOperationException {
|
|
1964
|
-
/**
|
|
1965
|
-
* @internal
|
|
1966
|
-
*/
|
|
1967
|
-
export const filterSensitiveLog = (obj: UnsupportedOperationException): any => ({
|
|
1968
|
-
...obj,
|
|
1969
|
-
});
|
|
1970
|
-
}
|
|
1971
|
-
|
|
1972
|
-
export interface DeleteFirewallPolicyRequest {
|
|
1973
|
-
/**
|
|
1974
|
-
* <p>The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.</p>
|
|
1975
|
-
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
1976
|
-
*/
|
|
1977
|
-
FirewallPolicyName?: string;
|
|
1978
|
-
|
|
1979
|
-
/**
|
|
1980
|
-
* <p>The Amazon Resource Name (ARN) of the firewall policy.</p>
|
|
1981
|
-
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
1982
|
-
*/
|
|
1983
|
-
FirewallPolicyArn?: string;
|
|
1984
|
-
}
|
|
1985
|
-
|
|
1986
|
-
export namespace DeleteFirewallPolicyRequest {
|
|
1987
|
-
/**
|
|
1988
|
-
* @internal
|
|
1989
|
-
*/
|
|
1990
|
-
export const filterSensitiveLog = (obj: DeleteFirewallPolicyRequest): any => ({
|
|
1991
|
-
...obj,
|
|
1992
|
-
});
|
|
1993
|
-
}
|
|
1994
|
-
|
|
1995
|
-
export interface DeleteFirewallPolicyResponse {
|
|
1996
|
-
/**
|
|
1997
|
-
* <p>The object containing the definition of the <a>FirewallPolicyResponse</a>
|
|
1998
|
-
* that you asked to delete. </p>
|
|
1999
|
-
*/
|
|
2000
|
-
FirewallPolicyResponse: FirewallPolicyResponse | undefined;
|
|
2001
|
-
}
|
|
2002
|
-
|
|
2003
|
-
export namespace DeleteFirewallPolicyResponse {
|
|
2004
|
-
/**
|
|
2005
|
-
* @internal
|
|
2006
|
-
*/
|
|
2007
|
-
export const filterSensitiveLog = (obj: DeleteFirewallPolicyResponse): any => ({
|
|
2008
|
-
...obj,
|
|
2009
|
-
});
|
|
2010
|
-
}
|
|
2011
|
-
|
|
2012
|
-
export interface DeleteResourcePolicyRequest {
|
|
2013
|
-
/**
|
|
2014
|
-
* <p>The Amazon Resource Name (ARN) of the rule group or firewall policy whose resource policy you want to delete. </p>
|
|
2015
|
-
*/
|
|
2016
|
-
ResourceArn: string | undefined;
|
|
2017
|
-
}
|
|
2018
|
-
|
|
2019
|
-
export namespace DeleteResourcePolicyRequest {
|
|
2020
|
-
/**
|
|
2021
|
-
* @internal
|
|
2022
|
-
*/
|
|
2023
|
-
export const filterSensitiveLog = (obj: DeleteResourcePolicyRequest): any => ({
|
|
2024
|
-
...obj,
|
|
2025
|
-
});
|
|
2026
|
-
}
|
|
2027
|
-
|
|
2028
|
-
export interface DeleteResourcePolicyResponse {}
|
|
2029
|
-
|
|
2030
|
-
export namespace DeleteResourcePolicyResponse {
|
|
2031
|
-
/**
|
|
2032
|
-
* @internal
|
|
2033
|
-
*/
|
|
2034
|
-
export const filterSensitiveLog = (obj: DeleteResourcePolicyResponse): any => ({
|
|
2035
|
-
...obj,
|
|
2036
|
-
});
|
|
2037
|
-
}
|
|
2038
|
-
|
|
2039
|
-
export interface DeleteRuleGroupRequest {
|
|
2040
|
-
/**
|
|
2041
|
-
* <p>The descriptive name of the rule group. You can't change the name of a rule group after you create it.</p>
|
|
2042
|
-
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
2043
|
-
*/
|
|
2044
|
-
RuleGroupName?: string;
|
|
2045
|
-
|
|
2046
|
-
/**
|
|
2047
|
-
* <p>The Amazon Resource Name (ARN) of the rule group.</p>
|
|
2048
|
-
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
2049
|
-
*/
|
|
2050
|
-
RuleGroupArn?: string;
|
|
2051
|
-
|
|
2052
|
-
/**
|
|
2053
|
-
* <p>Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains
|
|
2054
|
-
* stateless rules. If it is stateful, it contains stateful rules. </p>
|
|
2055
|
-
* <note>
|
|
2056
|
-
* <p>This setting is required for requests that do not include the <code>RuleGroupARN</code>.</p>
|
|
2057
|
-
* </note>
|
|
2058
|
-
*/
|
|
2059
|
-
Type?: RuleGroupType | string;
|
|
2060
|
-
}
|
|
2061
|
-
|
|
2062
|
-
export namespace DeleteRuleGroupRequest {
|
|
2063
|
-
/**
|
|
2064
|
-
* @internal
|
|
2065
|
-
*/
|
|
2066
|
-
export const filterSensitiveLog = (obj: DeleteRuleGroupRequest): any => ({
|
|
2067
|
-
...obj,
|
|
2068
|
-
});
|
|
2069
|
-
}
|
|
2070
|
-
|
|
2071
|
-
export interface DeleteRuleGroupResponse {
|
|
2072
|
-
/**
|
|
2073
|
-
* <p>The high-level properties of a rule group. This, along with the <a>RuleGroup</a>, define the rule group. You can retrieve all objects for a rule group by calling <a>DescribeRuleGroup</a>. </p>
|
|
2074
|
-
*/
|
|
2075
|
-
RuleGroupResponse: RuleGroupResponse | undefined;
|
|
2076
|
-
}
|
|
2077
|
-
|
|
2078
|
-
export namespace DeleteRuleGroupResponse {
|
|
2079
|
-
/**
|
|
2080
|
-
* @internal
|
|
2081
|
-
*/
|
|
2082
|
-
export const filterSensitiveLog = (obj: DeleteRuleGroupResponse): any => ({
|
|
2083
|
-
...obj,
|
|
2084
|
-
});
|
|
2085
|
-
}
|
|
2086
|
-
|
|
2087
|
-
export interface DescribeFirewallRequest {
|
|
2088
|
-
/**
|
|
2089
|
-
* <p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>
|
|
2090
|
-
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
2091
|
-
*/
|
|
2092
|
-
FirewallName?: string;
|
|
2093
|
-
|
|
2094
|
-
/**
|
|
2095
|
-
* <p>The Amazon Resource Name (ARN) of the firewall.</p>
|
|
2096
|
-
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
2097
|
-
*/
|
|
2098
|
-
FirewallArn?: string;
|
|
2099
|
-
}
|
|
2100
|
-
|
|
2101
|
-
export namespace DescribeFirewallRequest {
|
|
2102
|
-
/**
|
|
2103
|
-
* @internal
|
|
2104
|
-
*/
|
|
2105
|
-
export const filterSensitiveLog = (obj: DescribeFirewallRequest): any => ({
|
|
2106
|
-
...obj,
|
|
2107
|
-
});
|
|
2108
|
-
}
|
|
2109
|
-
|
|
2110
|
-
export interface DescribeFirewallResponse {
|
|
2111
|
-
/**
|
|
2112
|
-
* <p>An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. </p>
|
|
2113
|
-
* <p>To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.</p>
|
|
2114
|
-
* <p>To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token. </p>
|
|
2115
|
-
*/
|
|
2116
|
-
UpdateToken?: string;
|
|
2117
|
-
|
|
2118
|
-
/**
|
|
2119
|
-
* <p>The configuration settings for the firewall. These settings include the firewall policy and the subnets in your VPC to use for the firewall endpoints. </p>
|
|
2120
|
-
*/
|
|
2121
|
-
Firewall?: Firewall;
|
|
2122
|
-
|
|
2123
|
-
/**
|
|
2124
|
-
* <p>Detailed information about the current status of a <a>Firewall</a>. You can retrieve this for a firewall by calling <a>DescribeFirewall</a> and providing the firewall name and ARN.</p>
|
|
2125
|
-
*/
|
|
2126
|
-
FirewallStatus?: FirewallStatus;
|
|
2127
|
-
}
|
|
2128
|
-
|
|
2129
|
-
export namespace DescribeFirewallResponse {
|
|
2130
|
-
/**
|
|
2131
|
-
* @internal
|
|
2132
|
-
*/
|
|
2133
|
-
export const filterSensitiveLog = (obj: DescribeFirewallResponse): any => ({
|
|
2134
|
-
...obj,
|
|
2135
|
-
});
|
|
2136
|
-
}
|
|
2137
|
-
|
|
2138
|
-
export interface DescribeFirewallPolicyRequest {
|
|
2139
|
-
/**
|
|
2140
|
-
* <p>The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.</p>
|
|
2141
|
-
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
2142
|
-
*/
|
|
2143
|
-
FirewallPolicyName?: string;
|
|
2144
|
-
|
|
2145
|
-
/**
|
|
2146
|
-
* <p>The Amazon Resource Name (ARN) of the firewall policy.</p>
|
|
2147
|
-
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
2148
|
-
*/
|
|
2149
|
-
FirewallPolicyArn?: string;
|
|
2150
|
-
}
|
|
2151
|
-
|
|
2152
|
-
export namespace DescribeFirewallPolicyRequest {
|
|
2153
|
-
/**
|
|
2154
|
-
* @internal
|
|
2155
|
-
*/
|
|
2156
|
-
export const filterSensitiveLog = (obj: DescribeFirewallPolicyRequest): any => ({
|
|
2157
|
-
...obj,
|
|
2158
|
-
});
|
|
2159
|
-
}
|
|
2160
|
-
|
|
2161
|
-
export interface DescribeFirewallPolicyResponse {
|
|
2162
|
-
/**
|
|
2163
|
-
* <p>A token used for optimistic locking. Network Firewall returns a token to your requests that access the firewall policy. The token marks the state of the policy resource at the time of the request. </p>
|
|
2164
|
-
* <p>To make changes to the policy, you provide the token in your request. Network Firewall uses the token to ensure that the policy hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the firewall policy again to get a current copy of it with current token. Reapply your changes as needed, then try the operation again using the new token. </p>
|
|
2165
|
-
*/
|
|
2166
|
-
UpdateToken: string | undefined;
|
|
2167
|
-
|
|
2168
|
-
/**
|
|
2169
|
-
* <p>The high-level properties of a firewall policy. This, along with the <a>FirewallPolicy</a>, define the policy. You can retrieve all objects for a firewall policy by calling <a>DescribeFirewallPolicy</a>. </p>
|
|
2170
|
-
*/
|
|
2171
|
-
FirewallPolicyResponse: FirewallPolicyResponse | undefined;
|
|
2172
|
-
|
|
2173
|
-
/**
|
|
2174
|
-
* <p>The policy for the specified firewall policy. </p>
|
|
2175
|
-
*/
|
|
2176
|
-
FirewallPolicy?: FirewallPolicy;
|
|
2177
|
-
}
|
|
2178
|
-
|
|
2179
|
-
export namespace DescribeFirewallPolicyResponse {
|
|
2180
|
-
/**
|
|
2181
|
-
* @internal
|
|
2182
|
-
*/
|
|
2183
|
-
export const filterSensitiveLog = (obj: DescribeFirewallPolicyResponse): any => ({
|
|
2184
|
-
...obj,
|
|
2185
|
-
});
|
|
2186
|
-
}
|
|
2187
|
-
|
|
2188
|
-
export interface DescribeLoggingConfigurationRequest {
|
|
2189
|
-
/**
|
|
2190
|
-
* <p>The Amazon Resource Name (ARN) of the firewall.</p>
|
|
2191
|
-
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
2192
|
-
*/
|
|
2193
|
-
FirewallArn?: string;
|
|
2194
|
-
|
|
2195
|
-
/**
|
|
2196
|
-
* <p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>
|
|
2197
|
-
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
2198
|
-
*/
|
|
2199
|
-
FirewallName?: string;
|
|
2200
|
-
}
|
|
2201
|
-
|
|
2202
|
-
export namespace DescribeLoggingConfigurationRequest {
|
|
2203
|
-
/**
|
|
2204
|
-
* @internal
|
|
2205
|
-
*/
|
|
2206
|
-
export const filterSensitiveLog = (obj: DescribeLoggingConfigurationRequest): any => ({
|
|
2207
|
-
...obj,
|
|
2208
|
-
});
|
|
2209
|
-
}
|
|
2210
|
-
|
|
2211
|
-
export enum LogDestinationType {
|
|
2212
|
-
CLOUDWATCH_LOGS = "CloudWatchLogs",
|
|
2213
|
-
KINESIS_DATA_FIREHOSE = "KinesisDataFirehose",
|
|
2214
|
-
S3 = "S3",
|
|
2215
|
-
}
|
|
2216
|
-
|
|
2217
|
-
export enum LogType {
|
|
2218
|
-
ALERT = "ALERT",
|
|
2219
|
-
FLOW = "FLOW",
|
|
2220
|
-
}
|
|
2221
|
-
|
|
2222
|
-
/**
|
|
2223
|
-
* <p>Defines where AWS Network Firewall sends logs for the firewall for one log type. This is used
|
|
2224
|
-
* in <a>LoggingConfiguration</a>. You can send each type of log to an Amazon S3 bucket, a CloudWatch log group, or a Kinesis Data Firehose delivery stream.</p>
|
|
2225
|
-
* <p>Network Firewall generates logs for stateful rule groups. You can save alert and flow log
|
|
2226
|
-
* types. The stateful rules engine records flow logs for all network traffic that it receives.
|
|
2227
|
-
* It records alert logs for traffic that matches stateful rules that have the rule
|
|
2228
|
-
* action set to <code>DROP</code> or <code>ALERT</code>. </p>
|
|
2229
|
-
*/
|
|
2230
|
-
export interface LogDestinationConfig {
|
|
2231
|
-
/**
|
|
2232
|
-
* <p>The type of log to send. Alert logs report traffic that matches a <a>StatefulRule</a> with an action setting that sends an alert log message. Flow logs are
|
|
2233
|
-
* standard network traffic flow logs. </p>
|
|
2234
|
-
*/
|
|
2235
|
-
LogType: LogType | string | undefined;
|
|
2236
|
-
|
|
2237
|
-
/**
|
|
2238
|
-
* <p>The type of storage destination to send these logs to. You can send logs to an Amazon S3 bucket,
|
|
2239
|
-
* a CloudWatch log group, or a Kinesis Data Firehose delivery stream.</p>
|
|
2240
|
-
*/
|
|
2241
|
-
LogDestinationType: LogDestinationType | string | undefined;
|
|
2242
|
-
|
|
2243
|
-
/**
|
|
2244
|
-
* <p>The named location for the logs, provided in a key:value mapping that is specific to the
|
|
2245
|
-
* chosen destination type. </p>
|
|
2246
|
-
* <ul>
|
|
2247
|
-
* <li>
|
|
2248
|
-
* <p>For an Amazon S3 bucket, provide the name of the bucket, with key <code>bucketName</code>,
|
|
2249
|
-
* and optionally provide a prefix, with key <code>prefix</code>. The following example
|
|
2250
|
-
* specifies an Amazon S3 bucket named
|
|
2251
|
-
* <code>DOC-EXAMPLE-BUCKET</code> and the prefix <code>alerts</code>: </p>
|
|
2252
|
-
* <p>
|
|
2253
|
-
* <code>"LogDestination": { "bucketName": "DOC-EXAMPLE-BUCKET", "prefix": "alerts"
|
|
2254
|
-
* }</code>
|
|
2255
|
-
* </p>
|
|
2256
|
-
* </li>
|
|
2257
|
-
* <li>
|
|
2258
|
-
* <p>For a CloudWatch log group, provide the name of the CloudWatch log group, with key
|
|
2259
|
-
* <code>logGroup</code>. The following example specifies a log group named
|
|
2260
|
-
* <code>alert-log-group</code>: </p>
|
|
2261
|
-
* <p>
|
|
2262
|
-
* <code>"LogDestination": { "logGroup": "alert-log-group" }</code>
|
|
2263
|
-
* </p>
|
|
2264
|
-
* </li>
|
|
2265
|
-
* <li>
|
|
2266
|
-
* <p>For a Kinesis Data Firehose delivery stream, provide the name of the delivery stream, with key
|
|
2267
|
-
* <code>deliveryStream</code>. The following example specifies a delivery stream
|
|
2268
|
-
* named <code>alert-delivery-stream</code>: </p>
|
|
2269
|
-
* <p>
|
|
2270
|
-
* <code>"LogDestination": { "deliveryStream": "alert-delivery-stream"
|
|
2271
|
-
* }</code>
|
|
2272
|
-
* </p>
|
|
2273
|
-
* </li>
|
|
2274
|
-
* </ul>
|
|
2275
|
-
*/
|
|
2276
|
-
LogDestination: { [key: string]: string } | undefined;
|
|
2277
|
-
}
|
|
2278
|
-
|
|
2279
|
-
export namespace LogDestinationConfig {
|
|
2280
|
-
/**
|
|
2281
|
-
* @internal
|
|
2282
|
-
*/
|
|
2283
|
-
export const filterSensitiveLog = (obj: LogDestinationConfig): any => ({
|
|
2284
|
-
...obj,
|
|
2285
|
-
});
|
|
2286
|
-
}
|
|
2287
|
-
|
|
2288
|
-
/**
|
|
2289
|
-
* <p>Defines how AWS Network Firewall performs logging for a <a>Firewall</a>. </p>
|
|
2290
|
-
*/
|
|
2291
|
-
export interface LoggingConfiguration {
|
|
2292
|
-
/**
|
|
2293
|
-
* <p>Defines the logging destinations for the logs for a firewall. Network Firewall generates
|
|
2294
|
-
* logs for stateful rule groups. </p>
|
|
2295
|
-
*/
|
|
2296
|
-
LogDestinationConfigs: LogDestinationConfig[] | undefined;
|
|
2297
|
-
}
|
|
2298
|
-
|
|
2299
|
-
export namespace LoggingConfiguration {
|
|
2300
|
-
/**
|
|
2301
|
-
* @internal
|
|
2302
|
-
*/
|
|
2303
|
-
export const filterSensitiveLog = (obj: LoggingConfiguration): any => ({
|
|
2304
|
-
...obj,
|
|
2305
|
-
});
|
|
2306
|
-
}
|
|
2307
|
-
|
|
2308
|
-
export interface DescribeLoggingConfigurationResponse {
|
|
2309
|
-
/**
|
|
2310
|
-
* <p>The Amazon Resource Name (ARN) of the firewall.</p>
|
|
2311
|
-
*/
|
|
2312
|
-
FirewallArn?: string;
|
|
2313
|
-
|
|
2314
|
-
/**
|
|
2315
|
-
* <p>Defines how AWS Network Firewall performs logging for a <a>Firewall</a>. </p>
|
|
2316
|
-
*/
|
|
2317
|
-
LoggingConfiguration?: LoggingConfiguration;
|
|
2318
|
-
}
|
|
2319
|
-
|
|
2320
|
-
export namespace DescribeLoggingConfigurationResponse {
|
|
2321
|
-
/**
|
|
2322
|
-
* @internal
|
|
2323
|
-
*/
|
|
2324
|
-
export const filterSensitiveLog = (obj: DescribeLoggingConfigurationResponse): any => ({
|
|
2325
|
-
...obj,
|
|
2326
|
-
});
|
|
2327
|
-
}
|
|
2328
|
-
|
|
2329
|
-
export interface DescribeResourcePolicyRequest {
|
|
2330
|
-
/**
|
|
2331
|
-
* <p>The Amazon Resource Name (ARN) of the rule group or firewall policy whose resource policy you want to retrieve. </p>
|
|
2332
|
-
*/
|
|
2333
|
-
ResourceArn: string | undefined;
|
|
2334
|
-
}
|
|
2335
|
-
|
|
2336
|
-
export namespace DescribeResourcePolicyRequest {
|
|
2337
|
-
/**
|
|
2338
|
-
* @internal
|
|
2339
|
-
*/
|
|
2340
|
-
export const filterSensitiveLog = (obj: DescribeResourcePolicyRequest): any => ({
|
|
2341
|
-
...obj,
|
|
2342
|
-
});
|
|
2343
|
-
}
|
|
2344
|
-
|
|
2345
|
-
export interface DescribeResourcePolicyResponse {
|
|
2346
|
-
/**
|
|
2347
|
-
* <p>The AWS Identity and Access Management policy for the resource. </p>
|
|
2348
|
-
*/
|
|
2349
|
-
Policy?: string;
|
|
2350
|
-
}
|
|
2351
|
-
|
|
2352
|
-
export namespace DescribeResourcePolicyResponse {
|
|
2353
|
-
/**
|
|
2354
|
-
* @internal
|
|
2355
|
-
*/
|
|
2356
|
-
export const filterSensitiveLog = (obj: DescribeResourcePolicyResponse): any => ({
|
|
2357
|
-
...obj,
|
|
2358
|
-
});
|
|
2359
|
-
}
|
|
2360
|
-
|
|
2361
|
-
export interface DescribeRuleGroupRequest {
|
|
2362
|
-
/**
|
|
2363
|
-
* <p>The descriptive name of the rule group. You can't change the name of a rule group after you create it.</p>
|
|
2364
|
-
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
2365
|
-
*/
|
|
2366
|
-
RuleGroupName?: string;
|
|
2367
|
-
|
|
2368
|
-
/**
|
|
2369
|
-
* <p>The Amazon Resource Name (ARN) of the rule group.</p>
|
|
2370
|
-
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
2371
|
-
*/
|
|
2372
|
-
RuleGroupArn?: string;
|
|
2373
|
-
|
|
2374
|
-
/**
|
|
2375
|
-
* <p>Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains
|
|
2376
|
-
* stateless rules. If it is stateful, it contains stateful rules. </p>
|
|
2377
|
-
* <note>
|
|
2378
|
-
* <p>This setting is required for requests that do not include the <code>RuleGroupARN</code>.</p>
|
|
2379
|
-
* </note>
|
|
2380
|
-
*/
|
|
2381
|
-
Type?: RuleGroupType | string;
|
|
2382
|
-
}
|
|
2383
|
-
|
|
2384
|
-
export namespace DescribeRuleGroupRequest {
|
|
2385
|
-
/**
|
|
2386
|
-
* @internal
|
|
2387
|
-
*/
|
|
2388
|
-
export const filterSensitiveLog = (obj: DescribeRuleGroupRequest): any => ({
|
|
2389
|
-
...obj,
|
|
2390
|
-
});
|
|
2391
|
-
}
|
|
2392
|
-
|
|
2393
|
-
export interface DescribeRuleGroupResponse {
|
|
2394
|
-
/**
|
|
2395
|
-
* <p>A token used for optimistic locking. Network Firewall returns a token to your requests that access the rule group. The token marks the state of the rule group resource at the time of the request. </p>
|
|
2396
|
-
* <p>To make changes to the rule group, you provide the token in your request. Network Firewall uses the token to ensure that the rule group hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the rule group again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token. </p>
|
|
2397
|
-
*/
|
|
2398
|
-
UpdateToken: string | undefined;
|
|
2399
|
-
|
|
2400
|
-
/**
|
|
2401
|
-
* <p>The object that defines the rules in a rule group. This, along with <a>RuleGroupResponse</a>, define the rule group. You can retrieve all objects for a rule group by calling <a>DescribeRuleGroup</a>. </p>
|
|
2402
|
-
* <p>AWS Network Firewall uses a rule group to inspect and control network traffic.
|
|
2403
|
-
* You define stateless rule groups to inspect individual packets and you define stateful rule groups to inspect packets in the context of their
|
|
2404
|
-
* traffic flow. </p>
|
|
2405
|
-
* <p>To use a rule group, you include it by reference in an Network Firewall firewall policy, then you use the policy in a firewall. You can reference a rule group from
|
|
2406
|
-
* more than one firewall policy, and you can use a firewall policy in more than one firewall. </p>
|
|
2407
|
-
*/
|
|
2408
|
-
RuleGroup?: RuleGroup;
|
|
2409
|
-
|
|
2410
|
-
/**
|
|
2411
|
-
* <p>The high-level properties of a rule group. This, along with the <a>RuleGroup</a>, define the rule group. You can retrieve all objects for a rule group by calling <a>DescribeRuleGroup</a>. </p>
|
|
2412
|
-
*/
|
|
2413
|
-
RuleGroupResponse: RuleGroupResponse | undefined;
|
|
2414
|
-
}
|
|
2415
|
-
|
|
2416
|
-
export namespace DescribeRuleGroupResponse {
|
|
2417
|
-
/**
|
|
2418
|
-
* @internal
|
|
2419
|
-
*/
|
|
2420
|
-
export const filterSensitiveLog = (obj: DescribeRuleGroupResponse): any => ({
|
|
2421
|
-
...obj,
|
|
2422
|
-
});
|
|
2423
|
-
}
|
|
2424
|
-
|
|
2425
|
-
export interface DisassociateSubnetsRequest {
|
|
2426
|
-
/**
|
|
2427
|
-
* <p>An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. </p>
|
|
2428
|
-
* <p>To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.</p>
|
|
2429
|
-
* <p>To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token. </p>
|
|
2430
|
-
*/
|
|
2431
|
-
UpdateToken?: string;
|
|
2432
|
-
|
|
2433
|
-
/**
|
|
2434
|
-
* <p>The Amazon Resource Name (ARN) of the firewall.</p>
|
|
2435
|
-
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
2436
|
-
*/
|
|
2437
|
-
FirewallArn?: string;
|
|
2438
|
-
|
|
2439
|
-
/**
|
|
2440
|
-
* <p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>
|
|
2441
|
-
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
2442
|
-
*/
|
|
2443
|
-
FirewallName?: string;
|
|
2444
|
-
|
|
2445
|
-
/**
|
|
2446
|
-
* <p>The unique identifiers for the subnets that you want to disassociate. </p>
|
|
2447
|
-
*/
|
|
2448
|
-
SubnetIds: string[] | undefined;
|
|
2449
|
-
}
|
|
2450
|
-
|
|
2451
|
-
export namespace DisassociateSubnetsRequest {
|
|
2452
|
-
/**
|
|
2453
|
-
* @internal
|
|
2454
|
-
*/
|
|
2455
|
-
export const filterSensitiveLog = (obj: DisassociateSubnetsRequest): any => ({
|
|
2456
|
-
...obj,
|
|
2457
|
-
});
|
|
2458
|
-
}
|
|
2459
|
-
|
|
2460
|
-
export interface DisassociateSubnetsResponse {
|
|
2461
|
-
/**
|
|
2462
|
-
* <p>The Amazon Resource Name (ARN) of the firewall.</p>
|
|
2463
|
-
*/
|
|
2464
|
-
FirewallArn?: string;
|
|
2465
|
-
|
|
2466
|
-
/**
|
|
2467
|
-
* <p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>
|
|
2468
|
-
*/
|
|
2469
|
-
FirewallName?: string;
|
|
2470
|
-
|
|
2471
|
-
/**
|
|
2472
|
-
* <p>The IDs of the subnets that are associated with the firewall. </p>
|
|
2473
|
-
*/
|
|
2474
|
-
SubnetMappings?: SubnetMapping[];
|
|
2475
|
-
|
|
2476
|
-
/**
|
|
2477
|
-
* <p>An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. </p>
|
|
2478
|
-
* <p>To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.</p>
|
|
2479
|
-
* <p>To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token. </p>
|
|
2480
|
-
*/
|
|
2481
|
-
UpdateToken?: string;
|
|
2482
|
-
}
|
|
2483
|
-
|
|
2484
|
-
export namespace DisassociateSubnetsResponse {
|
|
2485
|
-
/**
|
|
2486
|
-
* @internal
|
|
2487
|
-
*/
|
|
2488
|
-
export const filterSensitiveLog = (obj: DisassociateSubnetsResponse): any => ({
|
|
2489
|
-
...obj,
|
|
2490
|
-
});
|
|
2491
|
-
}
|
|
2492
|
-
|
|
2493
|
-
/**
|
|
2494
|
-
* <p>High-level information about a firewall, returned by operations like create and
|
|
2495
|
-
* describe. You can use the information provided in the metadata to retrieve and manage a
|
|
2496
|
-
* firewall.</p>
|
|
2497
|
-
*/
|
|
2498
|
-
export interface FirewallMetadata {
|
|
2499
|
-
/**
|
|
2500
|
-
* <p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>
|
|
2501
|
-
*/
|
|
2502
|
-
FirewallName?: string;
|
|
2503
|
-
|
|
2504
|
-
/**
|
|
2505
|
-
* <p>The Amazon Resource Name (ARN) of the firewall.</p>
|
|
2506
|
-
*/
|
|
2507
|
-
FirewallArn?: string;
|
|
2508
|
-
}
|
|
2509
|
-
|
|
2510
|
-
export namespace FirewallMetadata {
|
|
2511
|
-
/**
|
|
2512
|
-
* @internal
|
|
2513
|
-
*/
|
|
2514
|
-
export const filterSensitiveLog = (obj: FirewallMetadata): any => ({
|
|
2515
|
-
...obj,
|
|
2516
|
-
});
|
|
2517
|
-
}
|
|
2518
|
-
|
|
2519
|
-
/**
|
|
2520
|
-
* <p>High-level information about a firewall policy, returned by operations like create and
|
|
2521
|
-
* describe. You can use the information provided in the metadata to retrieve and manage a
|
|
2522
|
-
* firewall policy. You can retrieve all objects for a firewall policy by calling <a>DescribeFirewallPolicy</a>. </p>
|
|
2523
|
-
*/
|
|
2524
|
-
export interface FirewallPolicyMetadata {
|
|
2525
|
-
/**
|
|
2526
|
-
* <p>The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.</p>
|
|
2527
|
-
*/
|
|
2528
|
-
Name?: string;
|
|
2529
|
-
|
|
2530
|
-
/**
|
|
2531
|
-
* <p>The Amazon Resource Name (ARN) of the firewall policy.</p>
|
|
2532
|
-
*/
|
|
2533
|
-
Arn?: string;
|
|
2534
|
-
}
|
|
2535
|
-
|
|
2536
|
-
export namespace FirewallPolicyMetadata {
|
|
2537
|
-
/**
|
|
2538
|
-
* @internal
|
|
2539
|
-
*/
|
|
2540
|
-
export const filterSensitiveLog = (obj: FirewallPolicyMetadata): any => ({
|
|
2541
|
-
...obj,
|
|
2542
|
-
});
|
|
2543
|
-
}
|
|
2544
|
-
|
|
2545
|
-
/**
|
|
2546
|
-
* <p></p>
|
|
2547
|
-
*/
|
|
2548
|
-
export interface InvalidResourcePolicyException extends __SmithyException, $MetadataBearer {
|
|
2549
|
-
name: "InvalidResourcePolicyException";
|
|
2550
|
-
$fault: "client";
|
|
2551
|
-
Message?: string;
|
|
2552
|
-
}
|
|
2553
|
-
|
|
2554
|
-
export namespace InvalidResourcePolicyException {
|
|
2555
|
-
/**
|
|
2556
|
-
* @internal
|
|
2557
|
-
*/
|
|
2558
|
-
export const filterSensitiveLog = (obj: InvalidResourcePolicyException): any => ({
|
|
2559
|
-
...obj,
|
|
2560
|
-
});
|
|
2561
|
-
}
|
|
2562
|
-
|
|
2563
|
-
export interface ListFirewallPoliciesRequest {
|
|
2564
|
-
/**
|
|
2565
|
-
* <p>When you request a list of objects with a <code>MaxResults</code> setting, if the number of objects that are still available
|
|
2566
|
-
* for retrieval exceeds the maximum you requested, Network Firewall returns a <code>NextToken</code>
|
|
2567
|
-
* value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.</p>
|
|
2568
|
-
*/
|
|
2569
|
-
NextToken?: string;
|
|
2570
|
-
|
|
2571
|
-
/**
|
|
2572
|
-
* <p>The maximum number of objects that you want Network Firewall to return for this request. If more
|
|
2573
|
-
* objects are available, in the response, Network Firewall provides a
|
|
2574
|
-
* <code>NextToken</code> value that you can use in a subsequent call to get the next batch of objects.</p>
|
|
2575
|
-
*/
|
|
2576
|
-
MaxResults?: number;
|
|
2577
|
-
}
|
|
2578
|
-
|
|
2579
|
-
export namespace ListFirewallPoliciesRequest {
|
|
2580
|
-
/**
|
|
2581
|
-
* @internal
|
|
2582
|
-
*/
|
|
2583
|
-
export const filterSensitiveLog = (obj: ListFirewallPoliciesRequest): any => ({
|
|
2584
|
-
...obj,
|
|
2585
|
-
});
|
|
2586
|
-
}
|
|
2587
|
-
|
|
2588
|
-
export interface ListFirewallPoliciesResponse {
|
|
2589
|
-
/**
|
|
2590
|
-
* <p>When you request a list of objects with a <code>MaxResults</code> setting, if the number of objects that are still available
|
|
2591
|
-
* for retrieval exceeds the maximum you requested, Network Firewall returns a <code>NextToken</code>
|
|
2592
|
-
* value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.</p>
|
|
2593
|
-
*/
|
|
2594
|
-
NextToken?: string;
|
|
2595
|
-
|
|
2596
|
-
/**
|
|
2597
|
-
* <p>The metadata for the firewall policies. Depending on your setting for max results and
|
|
2598
|
-
* the number of firewall policies that you have, this might not be the full list. </p>
|
|
2599
|
-
*/
|
|
2600
|
-
FirewallPolicies?: FirewallPolicyMetadata[];
|
|
2601
|
-
}
|
|
2602
|
-
|
|
2603
|
-
export namespace ListFirewallPoliciesResponse {
|
|
2604
|
-
/**
|
|
2605
|
-
* @internal
|
|
2606
|
-
*/
|
|
2607
|
-
export const filterSensitiveLog = (obj: ListFirewallPoliciesResponse): any => ({
|
|
2608
|
-
...obj,
|
|
2609
|
-
});
|
|
2610
|
-
}
|
|
2611
|
-
|
|
2612
|
-
export interface ListFirewallsRequest {
|
|
2613
|
-
/**
|
|
2614
|
-
* <p>When you request a list of objects with a <code>MaxResults</code> setting, if the number of objects that are still available
|
|
2615
|
-
* for retrieval exceeds the maximum you requested, Network Firewall returns a <code>NextToken</code>
|
|
2616
|
-
* value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.</p>
|
|
2617
|
-
*/
|
|
2618
|
-
NextToken?: string;
|
|
2619
|
-
|
|
2620
|
-
/**
|
|
2621
|
-
* <p>The unique identifiers of the VPCs that you want Network Firewall to retrieve the firewalls
|
|
2622
|
-
* for. Leave this blank to retrieve all firewalls that you have defined.</p>
|
|
2623
|
-
*/
|
|
2624
|
-
VpcIds?: string[];
|
|
2625
|
-
|
|
2626
|
-
/**
|
|
2627
|
-
* <p>The maximum number of objects that you want Network Firewall to return for this request. If more
|
|
2628
|
-
* objects are available, in the response, Network Firewall provides a
|
|
2629
|
-
* <code>NextToken</code> value that you can use in a subsequent call to get the next batch of objects.</p>
|
|
2630
|
-
*/
|
|
2631
|
-
MaxResults?: number;
|
|
2632
|
-
}
|
|
2633
|
-
|
|
2634
|
-
export namespace ListFirewallsRequest {
|
|
2635
|
-
/**
|
|
2636
|
-
* @internal
|
|
2637
|
-
*/
|
|
2638
|
-
export const filterSensitiveLog = (obj: ListFirewallsRequest): any => ({
|
|
2639
|
-
...obj,
|
|
2640
|
-
});
|
|
2641
|
-
}
|
|
2642
|
-
|
|
2643
|
-
export interface ListFirewallsResponse {
|
|
2644
|
-
/**
|
|
2645
|
-
* <p>When you request a list of objects with a <code>MaxResults</code> setting, if the number of objects that are still available
|
|
2646
|
-
* for retrieval exceeds the maximum you requested, Network Firewall returns a <code>NextToken</code>
|
|
2647
|
-
* value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.</p>
|
|
2648
|
-
*/
|
|
2649
|
-
NextToken?: string;
|
|
2650
|
-
|
|
2651
|
-
/**
|
|
2652
|
-
* <p>The firewall metadata objects for the VPCs that you specified. Depending on your setting
|
|
2653
|
-
* for max results and the number of firewalls you have, a single call might not be the full
|
|
2654
|
-
* list. </p>
|
|
2655
|
-
*/
|
|
2656
|
-
Firewalls?: FirewallMetadata[];
|
|
2657
|
-
}
|
|
2658
|
-
|
|
2659
|
-
export namespace ListFirewallsResponse {
|
|
2660
|
-
/**
|
|
2661
|
-
* @internal
|
|
2662
|
-
*/
|
|
2663
|
-
export const filterSensitiveLog = (obj: ListFirewallsResponse): any => ({
|
|
2664
|
-
...obj,
|
|
2665
|
-
});
|
|
2666
|
-
}
|
|
2667
|
-
|
|
2668
|
-
export interface ListRuleGroupsRequest {
|
|
2669
|
-
/**
|
|
2670
|
-
* <p>When you request a list of objects with a <code>MaxResults</code> setting, if the number of objects that are still available
|
|
2671
|
-
* for retrieval exceeds the maximum you requested, Network Firewall returns a <code>NextToken</code>
|
|
2672
|
-
* value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.</p>
|
|
2673
|
-
*/
|
|
2674
|
-
NextToken?: string;
|
|
2675
|
-
|
|
2676
|
-
/**
|
|
2677
|
-
* <p>The maximum number of objects that you want Network Firewall to return for this request. If more
|
|
2678
|
-
* objects are available, in the response, Network Firewall provides a
|
|
2679
|
-
* <code>NextToken</code> value that you can use in a subsequent call to get the next batch of objects.</p>
|
|
2680
|
-
*/
|
|
2681
|
-
MaxResults?: number;
|
|
2682
|
-
}
|
|
2683
|
-
|
|
2684
|
-
export namespace ListRuleGroupsRequest {
|
|
2685
|
-
/**
|
|
2686
|
-
* @internal
|
|
2687
|
-
*/
|
|
2688
|
-
export const filterSensitiveLog = (obj: ListRuleGroupsRequest): any => ({
|
|
2689
|
-
...obj,
|
|
2690
|
-
});
|
|
2691
|
-
}
|
|
2692
|
-
|
|
2693
|
-
/**
|
|
2694
|
-
* <p>High-level information about a rule group, returned by <a>ListRuleGroups</a>.
|
|
2695
|
-
* You can use the information provided in the metadata to retrieve and manage a
|
|
2696
|
-
* rule group.</p>
|
|
2697
|
-
*/
|
|
2698
|
-
export interface RuleGroupMetadata {
|
|
2699
|
-
/**
|
|
2700
|
-
* <p>The descriptive name of the rule group. You can't change the name of a rule group after you create it.</p>
|
|
2701
|
-
*/
|
|
2702
|
-
Name?: string;
|
|
2703
|
-
|
|
2704
|
-
/**
|
|
2705
|
-
* <p>The Amazon Resource Name (ARN) of the rule group.</p>
|
|
2706
|
-
*/
|
|
2707
|
-
Arn?: string;
|
|
2708
|
-
}
|
|
2709
|
-
|
|
2710
|
-
export namespace RuleGroupMetadata {
|
|
2711
|
-
/**
|
|
2712
|
-
* @internal
|
|
2713
|
-
*/
|
|
2714
|
-
export const filterSensitiveLog = (obj: RuleGroupMetadata): any => ({
|
|
2715
|
-
...obj,
|
|
2716
|
-
});
|
|
2717
|
-
}
|
|
2718
|
-
|
|
2719
|
-
export interface ListRuleGroupsResponse {
|
|
2720
|
-
/**
|
|
2721
|
-
* <p>When you request a list of objects with a <code>MaxResults</code> setting, if the number of objects that are still available
|
|
2722
|
-
* for retrieval exceeds the maximum you requested, Network Firewall returns a <code>NextToken</code>
|
|
2723
|
-
* value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.</p>
|
|
2724
|
-
*/
|
|
2725
|
-
NextToken?: string;
|
|
2726
|
-
|
|
2727
|
-
/**
|
|
2728
|
-
* <p>The rule group metadata objects that you've defined. Depending on your setting for max
|
|
2729
|
-
* results and the number of rule groups, this might not be the full list. </p>
|
|
2730
|
-
*/
|
|
2731
|
-
RuleGroups?: RuleGroupMetadata[];
|
|
2732
|
-
}
|
|
2733
|
-
|
|
2734
|
-
export namespace ListRuleGroupsResponse {
|
|
2735
|
-
/**
|
|
2736
|
-
* @internal
|
|
2737
|
-
*/
|
|
2738
|
-
export const filterSensitiveLog = (obj: ListRuleGroupsResponse): any => ({
|
|
2739
|
-
...obj,
|
|
2740
|
-
});
|
|
2741
|
-
}
|
|
2742
|
-
|
|
2743
|
-
export interface ListTagsForResourceRequest {
|
|
2744
|
-
/**
|
|
2745
|
-
* <p>When you request a list of objects with a <code>MaxResults</code> setting, if the number of objects that are still available
|
|
2746
|
-
* for retrieval exceeds the maximum you requested, Network Firewall returns a <code>NextToken</code>
|
|
2747
|
-
* value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.</p>
|
|
2748
|
-
*/
|
|
2749
|
-
NextToken?: string;
|
|
2750
|
-
|
|
2751
|
-
/**
|
|
2752
|
-
* <p>The maximum number of objects that you want Network Firewall to return for this request. If more
|
|
2753
|
-
* objects are available, in the response, Network Firewall provides a
|
|
2754
|
-
* <code>NextToken</code> value that you can use in a subsequent call to get the next batch of objects.</p>
|
|
2755
|
-
*/
|
|
2756
|
-
MaxResults?: number;
|
|
2757
|
-
|
|
2758
|
-
/**
|
|
2759
|
-
* <p>The Amazon Resource Name (ARN) of the resource.</p>
|
|
2760
|
-
*/
|
|
2761
|
-
ResourceArn: string | undefined;
|
|
2762
|
-
}
|
|
2763
|
-
|
|
2764
|
-
export namespace ListTagsForResourceRequest {
|
|
2765
|
-
/**
|
|
2766
|
-
* @internal
|
|
2767
|
-
*/
|
|
2768
|
-
export const filterSensitiveLog = (obj: ListTagsForResourceRequest): any => ({
|
|
2769
|
-
...obj,
|
|
2770
|
-
});
|
|
2771
|
-
}
|
|
2772
|
-
|
|
2773
|
-
export interface ListTagsForResourceResponse {
|
|
2774
|
-
/**
|
|
2775
|
-
* <p>When you request a list of objects with a <code>MaxResults</code> setting, if the number of objects that are still available
|
|
2776
|
-
* for retrieval exceeds the maximum you requested, Network Firewall returns a <code>NextToken</code>
|
|
2777
|
-
* value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.</p>
|
|
2778
|
-
*/
|
|
2779
|
-
NextToken?: string;
|
|
2780
|
-
|
|
2781
|
-
/**
|
|
2782
|
-
* <p>The tags that are associated with the resource. </p>
|
|
2783
|
-
*/
|
|
2784
|
-
Tags?: Tag[];
|
|
2785
|
-
}
|
|
2786
|
-
|
|
2787
|
-
export namespace ListTagsForResourceResponse {
|
|
2788
|
-
/**
|
|
2789
|
-
* @internal
|
|
2790
|
-
*/
|
|
2791
|
-
export const filterSensitiveLog = (obj: ListTagsForResourceResponse): any => ({
|
|
2792
|
-
...obj,
|
|
2793
|
-
});
|
|
2794
|
-
}
|
|
2795
|
-
|
|
2796
|
-
/**
|
|
2797
|
-
* <p>Unable to send logs to a configured logging destination. </p>
|
|
2798
|
-
*/
|
|
2799
|
-
export interface LogDestinationPermissionException extends __SmithyException, $MetadataBearer {
|
|
2800
|
-
name: "LogDestinationPermissionException";
|
|
2801
|
-
$fault: "client";
|
|
2802
|
-
Message?: string;
|
|
2803
|
-
}
|
|
2804
|
-
|
|
2805
|
-
export namespace LogDestinationPermissionException {
|
|
2806
|
-
/**
|
|
2807
|
-
* @internal
|
|
2808
|
-
*/
|
|
2809
|
-
export const filterSensitiveLog = (obj: LogDestinationPermissionException): any => ({
|
|
2810
|
-
...obj,
|
|
2811
|
-
});
|
|
2812
|
-
}
|
|
2813
|
-
|
|
2814
|
-
export interface PutResourcePolicyRequest {
|
|
2815
|
-
/**
|
|
2816
|
-
* <p>The Amazon Resource Name (ARN) of the account that you want to share rule groups and firewall policies with.</p>
|
|
2817
|
-
*/
|
|
2818
|
-
ResourceArn: string | undefined;
|
|
2819
|
-
|
|
2820
|
-
/**
|
|
2821
|
-
* <p>The AWS Identity and Access Management policy statement that lists the accounts that you want to share your rule group or firewall policy with
|
|
2822
|
-
* and the operations that you want the accounts to be able to perform. </p>
|
|
2823
|
-
* <p>For a rule group resource, you can specify the following operations in the Actions section of the statement:</p>
|
|
2824
|
-
* <ul>
|
|
2825
|
-
* <li>
|
|
2826
|
-
* <p>network-firewall:CreateFirewallPolicy</p>
|
|
2827
|
-
* </li>
|
|
2828
|
-
* <li>
|
|
2829
|
-
* <p>network-firewall:UpdateFirewallPolicy</p>
|
|
2830
|
-
* </li>
|
|
2831
|
-
* <li>
|
|
2832
|
-
* <p>network-firewall:ListRuleGroups</p>
|
|
2833
|
-
* </li>
|
|
2834
|
-
* </ul>
|
|
2835
|
-
* <p>For a firewall policy resource, you can specify the following operations in the Actions section of the statement:</p>
|
|
2836
|
-
* <ul>
|
|
2837
|
-
* <li>
|
|
2838
|
-
* <p>network-firewall:CreateFirewall</p>
|
|
2839
|
-
* </li>
|
|
2840
|
-
* <li>
|
|
2841
|
-
* <p>network-firewall:UpdateFirewall</p>
|
|
2842
|
-
* </li>
|
|
2843
|
-
* <li>
|
|
2844
|
-
* <p>network-firewall:AssociateFirewallPolicy</p>
|
|
2845
|
-
* </li>
|
|
2846
|
-
* <li>
|
|
2847
|
-
* <p>network-firewall:ListFirewallPolicies</p>
|
|
2848
|
-
* </li>
|
|
2849
|
-
* </ul>
|
|
2850
|
-
* <p>In the Resource section of the statement, you specify the ARNs for the rule groups and firewall policies that you want to share with the account that you specified in <code>Arn</code>.</p>
|
|
2851
|
-
*/
|
|
2852
|
-
Policy: string | undefined;
|
|
2853
|
-
}
|
|
2854
|
-
|
|
2855
|
-
export namespace PutResourcePolicyRequest {
|
|
2856
|
-
/**
|
|
2857
|
-
* @internal
|
|
2858
|
-
*/
|
|
2859
|
-
export const filterSensitiveLog = (obj: PutResourcePolicyRequest): any => ({
|
|
2860
|
-
...obj,
|
|
2861
|
-
});
|
|
2862
|
-
}
|
|
2863
|
-
|
|
2864
|
-
export interface PutResourcePolicyResponse {}
|
|
2865
|
-
|
|
2866
|
-
export namespace PutResourcePolicyResponse {
|
|
2867
|
-
/**
|
|
2868
|
-
* @internal
|
|
2869
|
-
*/
|
|
2870
|
-
export const filterSensitiveLog = (obj: PutResourcePolicyResponse): any => ({
|
|
2871
|
-
...obj,
|
|
2872
|
-
});
|
|
2873
|
-
}
|
|
2874
|
-
|
|
2875
|
-
export interface TagResourceRequest {
|
|
2876
|
-
/**
|
|
2877
|
-
* <p>The Amazon Resource Name (ARN) of the resource.</p>
|
|
2878
|
-
*/
|
|
2879
|
-
ResourceArn: string | undefined;
|
|
2880
|
-
|
|
2881
|
-
/**
|
|
2882
|
-
* <p></p>
|
|
2883
|
-
*/
|
|
2884
|
-
Tags: Tag[] | undefined;
|
|
2885
|
-
}
|
|
2886
|
-
|
|
2887
|
-
export namespace TagResourceRequest {
|
|
2888
|
-
/**
|
|
2889
|
-
* @internal
|
|
2890
|
-
*/
|
|
2891
|
-
export const filterSensitiveLog = (obj: TagResourceRequest): any => ({
|
|
2892
|
-
...obj,
|
|
2893
|
-
});
|
|
2894
|
-
}
|
|
2895
|
-
|
|
2896
|
-
export interface TagResourceResponse {}
|
|
2897
|
-
|
|
2898
|
-
export namespace TagResourceResponse {
|
|
2899
|
-
/**
|
|
2900
|
-
* @internal
|
|
2901
|
-
*/
|
|
2902
|
-
export const filterSensitiveLog = (obj: TagResourceResponse): any => ({
|
|
2903
|
-
...obj,
|
|
2904
|
-
});
|
|
2905
|
-
}
|
|
2906
|
-
|
|
2907
|
-
export interface UntagResourceRequest {
|
|
2908
|
-
/**
|
|
2909
|
-
* <p>The Amazon Resource Name (ARN) of the resource.</p>
|
|
2910
|
-
*/
|
|
2911
|
-
ResourceArn: string | undefined;
|
|
2912
|
-
|
|
2913
|
-
/**
|
|
2914
|
-
* <p></p>
|
|
2915
|
-
*/
|
|
2916
|
-
TagKeys: string[] | undefined;
|
|
2917
|
-
}
|
|
2918
|
-
|
|
2919
|
-
export namespace UntagResourceRequest {
|
|
2920
|
-
/**
|
|
2921
|
-
* @internal
|
|
2922
|
-
*/
|
|
2923
|
-
export const filterSensitiveLog = (obj: UntagResourceRequest): any => ({
|
|
2924
|
-
...obj,
|
|
2925
|
-
});
|
|
2926
|
-
}
|
|
2927
|
-
|
|
2928
|
-
export interface UntagResourceResponse {}
|
|
2929
|
-
|
|
2930
|
-
export namespace UntagResourceResponse {
|
|
2931
|
-
/**
|
|
2932
|
-
* @internal
|
|
2933
|
-
*/
|
|
2934
|
-
export const filterSensitiveLog = (obj: UntagResourceResponse): any => ({
|
|
2935
|
-
...obj,
|
|
2936
|
-
});
|
|
2937
|
-
}
|
|
2938
|
-
|
|
2939
|
-
/**
|
|
2940
|
-
* <p></p>
|
|
2941
|
-
*/
|
|
2942
|
-
export interface ResourceOwnerCheckException extends __SmithyException, $MetadataBearer {
|
|
2943
|
-
name: "ResourceOwnerCheckException";
|
|
2944
|
-
$fault: "client";
|
|
2945
|
-
Message?: string;
|
|
2946
|
-
}
|
|
2947
|
-
|
|
2948
|
-
export namespace ResourceOwnerCheckException {
|
|
2949
|
-
/**
|
|
2950
|
-
* @internal
|
|
2951
|
-
*/
|
|
2952
|
-
export const filterSensitiveLog = (obj: ResourceOwnerCheckException): any => ({
|
|
2953
|
-
...obj,
|
|
2954
|
-
});
|
|
2955
|
-
}
|
|
2956
|
-
|
|
2957
|
-
export interface UpdateFirewallDeleteProtectionRequest {
|
|
2958
|
-
/**
|
|
2959
|
-
* <p>An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. </p>
|
|
2960
|
-
* <p>To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.</p>
|
|
2961
|
-
* <p>To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token. </p>
|
|
2962
|
-
*/
|
|
2963
|
-
UpdateToken?: string;
|
|
2964
|
-
|
|
2965
|
-
/**
|
|
2966
|
-
* <p>The Amazon Resource Name (ARN) of the firewall.</p>
|
|
2967
|
-
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
2968
|
-
*/
|
|
2969
|
-
FirewallArn?: string;
|
|
2970
|
-
|
|
2971
|
-
/**
|
|
2972
|
-
* <p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>
|
|
2973
|
-
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
2974
|
-
*/
|
|
2975
|
-
FirewallName?: string;
|
|
2976
|
-
|
|
2977
|
-
/**
|
|
2978
|
-
* <p>A flag indicating whether it is possible to delete the firewall. A setting of <code>TRUE</code> indicates
|
|
2979
|
-
* that the firewall is protected against deletion. Use this setting to protect against
|
|
2980
|
-
* accidentally deleting a firewall that is in use. When you create a firewall, the operation initializes this flag to <code>TRUE</code>.</p>
|
|
2981
|
-
*/
|
|
2982
|
-
DeleteProtection: boolean | undefined;
|
|
2983
|
-
}
|
|
2984
|
-
|
|
2985
|
-
export namespace UpdateFirewallDeleteProtectionRequest {
|
|
2986
|
-
/**
|
|
2987
|
-
* @internal
|
|
2988
|
-
*/
|
|
2989
|
-
export const filterSensitiveLog = (obj: UpdateFirewallDeleteProtectionRequest): any => ({
|
|
2990
|
-
...obj,
|
|
2991
|
-
});
|
|
2992
|
-
}
|
|
2993
|
-
|
|
2994
|
-
export interface UpdateFirewallDeleteProtectionResponse {
|
|
2995
|
-
/**
|
|
2996
|
-
* <p>The Amazon Resource Name (ARN) of the firewall.</p>
|
|
2997
|
-
*/
|
|
2998
|
-
FirewallArn?: string;
|
|
2999
|
-
|
|
3000
|
-
/**
|
|
3001
|
-
* <p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>
|
|
3002
|
-
*/
|
|
3003
|
-
FirewallName?: string;
|
|
3004
|
-
|
|
3005
|
-
/**
|
|
3006
|
-
* <p></p>
|
|
3007
|
-
*/
|
|
3008
|
-
DeleteProtection?: boolean;
|
|
3009
|
-
|
|
3010
|
-
/**
|
|
3011
|
-
* <p>An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. </p>
|
|
3012
|
-
* <p>To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.</p>
|
|
3013
|
-
* <p>To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token. </p>
|
|
3014
|
-
*/
|
|
3015
|
-
UpdateToken?: string;
|
|
3016
|
-
}
|
|
3017
|
-
|
|
3018
|
-
export namespace UpdateFirewallDeleteProtectionResponse {
|
|
3019
|
-
/**
|
|
3020
|
-
* @internal
|
|
3021
|
-
*/
|
|
3022
|
-
export const filterSensitiveLog = (obj: UpdateFirewallDeleteProtectionResponse): any => ({
|
|
3023
|
-
...obj,
|
|
3024
|
-
});
|
|
3025
|
-
}
|
|
3026
|
-
|
|
3027
|
-
export interface UpdateFirewallDescriptionRequest {
|
|
3028
|
-
/**
|
|
3029
|
-
* <p>An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. </p>
|
|
3030
|
-
* <p>To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.</p>
|
|
3031
|
-
* <p>To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token. </p>
|
|
3032
|
-
*/
|
|
3033
|
-
UpdateToken?: string;
|
|
3034
|
-
|
|
3035
|
-
/**
|
|
3036
|
-
* <p>The Amazon Resource Name (ARN) of the firewall.</p>
|
|
3037
|
-
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
3038
|
-
*/
|
|
3039
|
-
FirewallArn?: string;
|
|
3040
|
-
|
|
3041
|
-
/**
|
|
3042
|
-
* <p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>
|
|
3043
|
-
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
3044
|
-
*/
|
|
3045
|
-
FirewallName?: string;
|
|
3046
|
-
|
|
3047
|
-
/**
|
|
3048
|
-
* <p>The new description for the firewall. If you omit this setting, Network Firewall removes
|
|
3049
|
-
* the description for the firewall.</p>
|
|
3050
|
-
*/
|
|
3051
|
-
Description?: string;
|
|
3052
|
-
}
|
|
3053
|
-
|
|
3054
|
-
export namespace UpdateFirewallDescriptionRequest {
|
|
3055
|
-
/**
|
|
3056
|
-
* @internal
|
|
3057
|
-
*/
|
|
3058
|
-
export const filterSensitiveLog = (obj: UpdateFirewallDescriptionRequest): any => ({
|
|
3059
|
-
...obj,
|
|
3060
|
-
});
|
|
3061
|
-
}
|
|
3062
|
-
|
|
3063
|
-
export interface UpdateFirewallDescriptionResponse {
|
|
3064
|
-
/**
|
|
3065
|
-
* <p>The Amazon Resource Name (ARN) of the firewall.</p>
|
|
3066
|
-
*/
|
|
3067
|
-
FirewallArn?: string;
|
|
3068
|
-
|
|
3069
|
-
/**
|
|
3070
|
-
* <p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>
|
|
3071
|
-
*/
|
|
3072
|
-
FirewallName?: string;
|
|
3073
|
-
|
|
3074
|
-
/**
|
|
3075
|
-
* <p>A description of the firewall.</p>
|
|
3076
|
-
*/
|
|
3077
|
-
Description?: string;
|
|
3078
|
-
|
|
3079
|
-
/**
|
|
3080
|
-
* <p>An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. </p>
|
|
3081
|
-
* <p>To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.</p>
|
|
3082
|
-
* <p>To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token. </p>
|
|
3083
|
-
*/
|
|
3084
|
-
UpdateToken?: string;
|
|
3085
|
-
}
|
|
3086
|
-
|
|
3087
|
-
export namespace UpdateFirewallDescriptionResponse {
|
|
3088
|
-
/**
|
|
3089
|
-
* @internal
|
|
3090
|
-
*/
|
|
3091
|
-
export const filterSensitiveLog = (obj: UpdateFirewallDescriptionResponse): any => ({
|
|
3092
|
-
...obj,
|
|
3093
|
-
});
|
|
3094
|
-
}
|
|
3095
|
-
|
|
3096
|
-
export interface UpdateFirewallPolicyRequest {
|
|
3097
|
-
/**
|
|
3098
|
-
* <p>A token used for optimistic locking. Network Firewall returns a token to your requests that access the firewall policy. The token marks the state of the policy resource at the time of the request. </p>
|
|
3099
|
-
* <p>To make changes to the policy, you provide the token in your request. Network Firewall uses the token to ensure that the policy hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the firewall policy again to get a current copy of it with current token. Reapply your changes as needed, then try the operation again using the new token. </p>
|
|
3100
|
-
*/
|
|
3101
|
-
UpdateToken: string | undefined;
|
|
3102
|
-
|
|
3103
|
-
/**
|
|
3104
|
-
* <p>The Amazon Resource Name (ARN) of the firewall policy.</p>
|
|
3105
|
-
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
3106
|
-
*/
|
|
3107
|
-
FirewallPolicyArn?: string;
|
|
3108
|
-
|
|
3109
|
-
/**
|
|
3110
|
-
* <p>The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.</p>
|
|
3111
|
-
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
3112
|
-
*/
|
|
3113
|
-
FirewallPolicyName?: string;
|
|
3114
|
-
|
|
3115
|
-
/**
|
|
3116
|
-
* <p>The updated firewall policy to use for the firewall. </p>
|
|
3117
|
-
*/
|
|
3118
|
-
FirewallPolicy: FirewallPolicy | undefined;
|
|
3119
|
-
|
|
3120
|
-
/**
|
|
3121
|
-
* <p>A description of the firewall policy.</p>
|
|
3122
|
-
*/
|
|
3123
|
-
Description?: string;
|
|
3124
|
-
|
|
3125
|
-
/**
|
|
3126
|
-
* <p>Indicates whether you want Network Firewall to just check the validity of the request, rather than run the request. </p>
|
|
3127
|
-
* <p>If set to <code>TRUE</code>, Network Firewall checks whether the request can run successfully,
|
|
3128
|
-
* but doesn't actually make the requested changes. The call returns the value that the request would return if you ran it with
|
|
3129
|
-
* dry run set to <code>FALSE</code>, but doesn't make additions or changes to your resources. This option allows you to make sure that you have
|
|
3130
|
-
* the required permissions to run the request and that your request parameters are valid. </p>
|
|
3131
|
-
* <p>If set to <code>FALSE</code>, Network Firewall makes the requested changes to your resources. </p>
|
|
3132
|
-
*/
|
|
3133
|
-
DryRun?: boolean;
|
|
3134
|
-
}
|
|
3135
|
-
|
|
3136
|
-
export namespace UpdateFirewallPolicyRequest {
|
|
3137
|
-
/**
|
|
3138
|
-
* @internal
|
|
3139
|
-
*/
|
|
3140
|
-
export const filterSensitiveLog = (obj: UpdateFirewallPolicyRequest): any => ({
|
|
3141
|
-
...obj,
|
|
3142
|
-
});
|
|
3143
|
-
}
|
|
3144
|
-
|
|
3145
|
-
export interface UpdateFirewallPolicyResponse {
|
|
3146
|
-
/**
|
|
3147
|
-
* <p>A token used for optimistic locking. Network Firewall returns a token to your requests that access the firewall policy. The token marks the state of the policy resource at the time of the request. </p>
|
|
3148
|
-
* <p>To make changes to the policy, you provide the token in your request. Network Firewall uses the token to ensure that the policy hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the firewall policy again to get a current copy of it with current token. Reapply your changes as needed, then try the operation again using the new token. </p>
|
|
3149
|
-
*/
|
|
3150
|
-
UpdateToken: string | undefined;
|
|
3151
|
-
|
|
3152
|
-
/**
|
|
3153
|
-
* <p>The high-level properties of a firewall policy. This, along with the <a>FirewallPolicy</a>, define the policy. You can retrieve all objects for a firewall policy by calling <a>DescribeFirewallPolicy</a>. </p>
|
|
3154
|
-
*/
|
|
3155
|
-
FirewallPolicyResponse: FirewallPolicyResponse | undefined;
|
|
3156
|
-
}
|
|
3157
|
-
|
|
3158
|
-
export namespace UpdateFirewallPolicyResponse {
|
|
3159
|
-
/**
|
|
3160
|
-
* @internal
|
|
3161
|
-
*/
|
|
3162
|
-
export const filterSensitiveLog = (obj: UpdateFirewallPolicyResponse): any => ({
|
|
3163
|
-
...obj,
|
|
3164
|
-
});
|
|
3165
|
-
}
|
|
3166
|
-
|
|
3167
|
-
export interface UpdateFirewallPolicyChangeProtectionRequest {
|
|
3168
|
-
/**
|
|
3169
|
-
* <p>An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. </p>
|
|
3170
|
-
* <p>To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.</p>
|
|
3171
|
-
* <p>To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token. </p>
|
|
3172
|
-
*/
|
|
3173
|
-
UpdateToken?: string;
|
|
3174
|
-
|
|
3175
|
-
/**
|
|
3176
|
-
* <p>The Amazon Resource Name (ARN) of the firewall.</p>
|
|
3177
|
-
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
3178
|
-
*/
|
|
3179
|
-
FirewallArn?: string;
|
|
3180
|
-
|
|
3181
|
-
/**
|
|
3182
|
-
* <p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>
|
|
3183
|
-
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
3184
|
-
*/
|
|
3185
|
-
FirewallName?: string;
|
|
3186
|
-
|
|
3187
|
-
/**
|
|
3188
|
-
* <p>A setting indicating whether the firewall is protected against a change to the firewall policy association.
|
|
3189
|
-
* Use this setting to protect against
|
|
3190
|
-
* accidentally modifying the firewall policy for a firewall that is in use. When you create a firewall, the operation initializes this setting to <code>TRUE</code>.</p>
|
|
3191
|
-
*/
|
|
3192
|
-
FirewallPolicyChangeProtection: boolean | undefined;
|
|
3193
|
-
}
|
|
3194
|
-
|
|
3195
|
-
export namespace UpdateFirewallPolicyChangeProtectionRequest {
|
|
3196
|
-
/**
|
|
3197
|
-
* @internal
|
|
3198
|
-
*/
|
|
3199
|
-
export const filterSensitiveLog = (obj: UpdateFirewallPolicyChangeProtectionRequest): any => ({
|
|
3200
|
-
...obj,
|
|
3201
|
-
});
|
|
3202
|
-
}
|
|
3203
|
-
|
|
3204
|
-
export interface UpdateFirewallPolicyChangeProtectionResponse {
|
|
3205
|
-
/**
|
|
3206
|
-
* <p>An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. </p>
|
|
3207
|
-
* <p>To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.</p>
|
|
3208
|
-
* <p>To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token. </p>
|
|
3209
|
-
*/
|
|
3210
|
-
UpdateToken?: string;
|
|
3211
|
-
|
|
3212
|
-
/**
|
|
3213
|
-
* <p>The Amazon Resource Name (ARN) of the firewall.</p>
|
|
3214
|
-
*/
|
|
3215
|
-
FirewallArn?: string;
|
|
3216
|
-
|
|
3217
|
-
/**
|
|
3218
|
-
* <p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>
|
|
3219
|
-
*/
|
|
3220
|
-
FirewallName?: string;
|
|
3221
|
-
|
|
3222
|
-
/**
|
|
3223
|
-
* <p>A setting indicating whether the firewall is protected against a change to the firewall policy association.
|
|
3224
|
-
* Use this setting to protect against
|
|
3225
|
-
* accidentally modifying the firewall policy for a firewall that is in use. When you create a firewall, the operation initializes this setting to <code>TRUE</code>.</p>
|
|
3226
|
-
*/
|
|
3227
|
-
FirewallPolicyChangeProtection?: boolean;
|
|
3228
|
-
}
|
|
3229
|
-
|
|
3230
|
-
export namespace UpdateFirewallPolicyChangeProtectionResponse {
|
|
3231
|
-
/**
|
|
3232
|
-
* @internal
|
|
3233
|
-
*/
|
|
3234
|
-
export const filterSensitiveLog = (obj: UpdateFirewallPolicyChangeProtectionResponse): any => ({
|
|
3235
|
-
...obj,
|
|
3236
|
-
});
|
|
3237
|
-
}
|
|
3238
|
-
|
|
3239
|
-
export interface UpdateLoggingConfigurationRequest {
|
|
3240
|
-
/**
|
|
3241
|
-
* <p>The Amazon Resource Name (ARN) of the firewall.</p>
|
|
3242
|
-
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
3243
|
-
*/
|
|
3244
|
-
FirewallArn?: string;
|
|
3245
|
-
|
|
3246
|
-
/**
|
|
3247
|
-
* <p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>
|
|
3248
|
-
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
3249
|
-
*/
|
|
3250
|
-
FirewallName?: string;
|
|
3251
|
-
|
|
3252
|
-
/**
|
|
3253
|
-
* <p>Defines how Network Firewall performs logging for a firewall. If you omit this setting,
|
|
3254
|
-
* Network Firewall disables logging for the firewall.</p>
|
|
3255
|
-
*/
|
|
3256
|
-
LoggingConfiguration?: LoggingConfiguration;
|
|
3257
|
-
}
|
|
3258
|
-
|
|
3259
|
-
export namespace UpdateLoggingConfigurationRequest {
|
|
3260
|
-
/**
|
|
3261
|
-
* @internal
|
|
3262
|
-
*/
|
|
3263
|
-
export const filterSensitiveLog = (obj: UpdateLoggingConfigurationRequest): any => ({
|
|
3264
|
-
...obj,
|
|
3265
|
-
});
|
|
3266
|
-
}
|
|
3267
|
-
|
|
3268
|
-
export interface UpdateLoggingConfigurationResponse {
|
|
3269
|
-
/**
|
|
3270
|
-
* <p>The Amazon Resource Name (ARN) of the firewall.</p>
|
|
3271
|
-
*/
|
|
3272
|
-
FirewallArn?: string;
|
|
3273
|
-
|
|
3274
|
-
/**
|
|
3275
|
-
* <p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>
|
|
3276
|
-
*/
|
|
3277
|
-
FirewallName?: string;
|
|
3278
|
-
|
|
3279
|
-
/**
|
|
3280
|
-
* <p>Defines how AWS Network Firewall performs logging for a <a>Firewall</a>. </p>
|
|
3281
|
-
*/
|
|
3282
|
-
LoggingConfiguration?: LoggingConfiguration;
|
|
3283
|
-
}
|
|
3284
|
-
|
|
3285
|
-
export namespace UpdateLoggingConfigurationResponse {
|
|
3286
|
-
/**
|
|
3287
|
-
* @internal
|
|
3288
|
-
*/
|
|
3289
|
-
export const filterSensitiveLog = (obj: UpdateLoggingConfigurationResponse): any => ({
|
|
3290
|
-
...obj,
|
|
3291
|
-
});
|
|
3292
|
-
}
|
|
3293
|
-
|
|
3294
|
-
export interface UpdateRuleGroupRequest {
|
|
3295
|
-
/**
|
|
3296
|
-
* <p>A token used for optimistic locking. Network Firewall returns a token to your requests that access the rule group. The token marks the state of the rule group resource at the time of the request. </p>
|
|
3297
|
-
* <p>To make changes to the rule group, you provide the token in your request. Network Firewall uses the token to ensure that the rule group hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the rule group again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token. </p>
|
|
3298
|
-
*/
|
|
3299
|
-
UpdateToken: string | undefined;
|
|
3300
|
-
|
|
3301
|
-
/**
|
|
3302
|
-
* <p>The Amazon Resource Name (ARN) of the rule group.</p>
|
|
3303
|
-
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
3304
|
-
*/
|
|
3305
|
-
RuleGroupArn?: string;
|
|
3306
|
-
|
|
3307
|
-
/**
|
|
3308
|
-
* <p>The descriptive name of the rule group. You can't change the name of a rule group after you create it.</p>
|
|
3309
|
-
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
3310
|
-
*/
|
|
3311
|
-
RuleGroupName?: string;
|
|
3312
|
-
|
|
3313
|
-
/**
|
|
3314
|
-
* <p>An object that defines the rule group rules. </p>
|
|
3315
|
-
* <note>
|
|
3316
|
-
* <p>You must provide either this rule group setting or a <code>Rules</code> setting, but not both. </p>
|
|
3317
|
-
* </note>
|
|
3318
|
-
*/
|
|
3319
|
-
RuleGroup?: RuleGroup;
|
|
3320
|
-
|
|
3321
|
-
/**
|
|
3322
|
-
* <p>A string containing stateful rule group rules specifications in Suricata flat format, with one rule
|
|
3323
|
-
* per line. Use this to import your existing Suricata compatible rule groups. </p>
|
|
3324
|
-
* <note>
|
|
3325
|
-
* <p>You must provide either this rules setting or a populated <code>RuleGroup</code> setting, but not both. </p>
|
|
3326
|
-
* </note>
|
|
3327
|
-
* <p>You can provide your rule group specification in Suricata flat format through this setting when you create or update your rule group. The call
|
|
3328
|
-
* response returns a <a>RuleGroup</a> object that Network Firewall has populated from your string. </p>
|
|
3329
|
-
*/
|
|
3330
|
-
Rules?: string;
|
|
3331
|
-
|
|
3332
|
-
/**
|
|
3333
|
-
* <p>Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains
|
|
3334
|
-
* stateless rules. If it is stateful, it contains stateful rules. </p>
|
|
3335
|
-
* <note>
|
|
3336
|
-
* <p>This setting is required for requests that do not include the <code>RuleGroupARN</code>.</p>
|
|
3337
|
-
* </note>
|
|
3338
|
-
*/
|
|
3339
|
-
Type?: RuleGroupType | string;
|
|
3340
|
-
|
|
3341
|
-
/**
|
|
3342
|
-
* <p>A description of the rule group. </p>
|
|
3343
|
-
*/
|
|
3344
|
-
Description?: string;
|
|
3345
|
-
|
|
3346
|
-
/**
|
|
3347
|
-
* <p>Indicates whether you want Network Firewall to just check the validity of the request, rather than run the request. </p>
|
|
3348
|
-
* <p>If set to <code>TRUE</code>, Network Firewall checks whether the request can run successfully,
|
|
3349
|
-
* but doesn't actually make the requested changes. The call returns the value that the request would return if you ran it with
|
|
3350
|
-
* dry run set to <code>FALSE</code>, but doesn't make additions or changes to your resources. This option allows you to make sure that you have
|
|
3351
|
-
* the required permissions to run the request and that your request parameters are valid. </p>
|
|
3352
|
-
* <p>If set to <code>FALSE</code>, Network Firewall makes the requested changes to your resources. </p>
|
|
3353
|
-
*/
|
|
3354
|
-
DryRun?: boolean;
|
|
3355
|
-
}
|
|
3356
|
-
|
|
3357
|
-
export namespace UpdateRuleGroupRequest {
|
|
3358
|
-
/**
|
|
3359
|
-
* @internal
|
|
3360
|
-
*/
|
|
3361
|
-
export const filterSensitiveLog = (obj: UpdateRuleGroupRequest): any => ({
|
|
3362
|
-
...obj,
|
|
3363
|
-
});
|
|
3364
|
-
}
|
|
3365
|
-
|
|
3366
|
-
export interface UpdateRuleGroupResponse {
|
|
3367
|
-
/**
|
|
3368
|
-
* <p>A token used for optimistic locking. Network Firewall returns a token to your requests that access the rule group. The token marks the state of the rule group resource at the time of the request. </p>
|
|
3369
|
-
* <p>To make changes to the rule group, you provide the token in your request. Network Firewall uses the token to ensure that the rule group hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the rule group again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token. </p>
|
|
3370
|
-
*/
|
|
3371
|
-
UpdateToken: string | undefined;
|
|
3372
|
-
|
|
3373
|
-
/**
|
|
3374
|
-
* <p>The high-level properties of a rule group. This, along with the <a>RuleGroup</a>, define the rule group. You can retrieve all objects for a rule group by calling <a>DescribeRuleGroup</a>. </p>
|
|
3375
|
-
*/
|
|
3376
|
-
RuleGroupResponse: RuleGroupResponse | undefined;
|
|
3377
|
-
}
|
|
3378
|
-
|
|
3379
|
-
export namespace UpdateRuleGroupResponse {
|
|
3380
|
-
/**
|
|
3381
|
-
* @internal
|
|
3382
|
-
*/
|
|
3383
|
-
export const filterSensitiveLog = (obj: UpdateRuleGroupResponse): any => ({
|
|
3384
|
-
...obj,
|
|
3385
|
-
});
|
|
3386
|
-
}
|
|
3387
|
-
|
|
3388
|
-
export interface UpdateSubnetChangeProtectionRequest {
|
|
3389
|
-
/**
|
|
3390
|
-
* <p>An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. </p>
|
|
3391
|
-
* <p>To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.</p>
|
|
3392
|
-
* <p>To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token. </p>
|
|
3393
|
-
*/
|
|
3394
|
-
UpdateToken?: string;
|
|
3395
|
-
|
|
3396
|
-
/**
|
|
3397
|
-
* <p>The Amazon Resource Name (ARN) of the firewall.</p>
|
|
3398
|
-
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
3399
|
-
*/
|
|
3400
|
-
FirewallArn?: string;
|
|
3401
|
-
|
|
3402
|
-
/**
|
|
3403
|
-
* <p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>
|
|
3404
|
-
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
3405
|
-
*/
|
|
3406
|
-
FirewallName?: string;
|
|
3407
|
-
|
|
3408
|
-
/**
|
|
3409
|
-
* <p>A setting indicating whether the firewall is protected against changes to the subnet associations.
|
|
3410
|
-
* Use this setting to protect against
|
|
3411
|
-
* accidentally modifying the subnet associations for a firewall that is in use. When you create a firewall, the operation initializes this setting to <code>TRUE</code>.</p>
|
|
3412
|
-
*/
|
|
3413
|
-
SubnetChangeProtection: boolean | undefined;
|
|
3414
|
-
}
|
|
3415
|
-
|
|
3416
|
-
export namespace UpdateSubnetChangeProtectionRequest {
|
|
3417
|
-
/**
|
|
3418
|
-
* @internal
|
|
3419
|
-
*/
|
|
3420
|
-
export const filterSensitiveLog = (obj: UpdateSubnetChangeProtectionRequest): any => ({
|
|
3421
|
-
...obj,
|
|
3422
|
-
});
|
|
3423
|
-
}
|
|
3424
|
-
|
|
3425
|
-
export interface UpdateSubnetChangeProtectionResponse {
|
|
3426
|
-
/**
|
|
3427
|
-
* <p>An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. </p>
|
|
3428
|
-
* <p>To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.</p>
|
|
3429
|
-
* <p>To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token. </p>
|
|
3430
|
-
*/
|
|
3431
|
-
UpdateToken?: string;
|
|
3432
|
-
|
|
3433
|
-
/**
|
|
3434
|
-
* <p>The Amazon Resource Name (ARN) of the firewall.</p>
|
|
3435
|
-
*/
|
|
3436
|
-
FirewallArn?: string;
|
|
3437
|
-
|
|
3438
|
-
/**
|
|
3439
|
-
* <p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>
|
|
3440
|
-
*/
|
|
3441
|
-
FirewallName?: string;
|
|
3442
|
-
|
|
3443
|
-
/**
|
|
3444
|
-
* <p>A setting indicating whether the firewall is protected against changes to the subnet associations.
|
|
3445
|
-
* Use this setting to protect against
|
|
3446
|
-
* accidentally modifying the subnet associations for a firewall that is in use. When you create a firewall, the operation initializes this setting to <code>TRUE</code>.</p>
|
|
3447
|
-
*/
|
|
3448
|
-
SubnetChangeProtection?: boolean;
|
|
3449
|
-
}
|
|
3450
|
-
|
|
3451
|
-
export namespace UpdateSubnetChangeProtectionResponse {
|
|
3452
|
-
/**
|
|
3453
|
-
* @internal
|
|
3454
|
-
*/
|
|
3455
|
-
export const filterSensitiveLog = (obj: UpdateSubnetChangeProtectionResponse): any => ({
|
|
3456
|
-
...obj,
|
|
3457
|
-
});
|
|
3458
|
-
}
|