@aws-sdk/client-network-firewall 3.32.0 → 3.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +44 -0
- package/README.md +2 -1
- package/{dist/cjs → dist-cjs}/NetworkFirewall.js +3 -3
- package/{dist/cjs → dist-cjs}/NetworkFirewallClient.js +10 -10
- package/{dist/cjs → dist-cjs}/commands/AssociateFirewallPolicyCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/AssociateSubnetsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateFirewallCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateFirewallPolicyCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateRuleGroupCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteFirewallCommand.js +4 -4
- package/{dist/cjs → dist-cjs}/commands/DeleteFirewallPolicyCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteResourcePolicyCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteRuleGroupCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeFirewallCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeFirewallPolicyCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeLoggingConfigurationCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeResourcePolicyCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeRuleGroupCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DisassociateSubnetsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListFirewallPoliciesCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListFirewallsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListRuleGroupsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/PutResourcePolicyCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateFirewallDeleteProtectionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateFirewallDescriptionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateFirewallPolicyChangeProtectionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateFirewallPolicyCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateLoggingConfigurationCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateRuleGroupCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateSubnetChangeProtectionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +35 -13
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListFirewallPoliciesPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListFirewallsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListRuleGroupsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListTagsForResourcePaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/protocols/Aws_json1_0.js +76 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
- package/{dist/es → dist-es}/NetworkFirewall.js +2 -82
- package/dist-es/NetworkFirewallClient.js +37 -0
- package/{dist/es → dist-es}/commands/AssociateFirewallPolicyCommand.js +4 -34
- package/{dist/es → dist-es}/commands/AssociateSubnetsCommand.js +4 -35
- package/dist-es/commands/CreateFirewallCommand.js +39 -0
- package/{dist/es → dist-es}/commands/CreateFirewallPolicyCommand.js +4 -33
- package/{dist/es → dist-es}/commands/CreateRuleGroupCommand.js +4 -33
- package/dist-es/commands/DeleteFirewallCommand.js +39 -0
- package/{dist/es → dist-es}/commands/DeleteFirewallPolicyCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteResourcePolicyCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteRuleGroupCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeFirewallCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeFirewallPolicyCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeLoggingConfigurationCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeResourcePolicyCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeRuleGroupCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DisassociateSubnetsCommand.js +4 -33
- package/{dist/es → dist-es}/commands/ListFirewallPoliciesCommand.js +4 -32
- package/{dist/es → dist-es}/commands/ListFirewallsCommand.js +4 -33
- package/{dist/es → dist-es}/commands/ListRuleGroupsCommand.js +4 -32
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -36
- package/dist-es/commands/PutResourcePolicyCommand.js +39 -0
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -35
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -36
- package/{dist/es → dist-es}/commands/UpdateFirewallDeleteProtectionCommand.js +4 -33
- package/{dist/es → dist-es}/commands/UpdateFirewallDescriptionCommand.js +4 -31
- package/{dist/es → dist-es}/commands/UpdateFirewallPolicyChangeProtectionCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateFirewallPolicyCommand.js +4 -30
- package/dist-es/commands/UpdateLoggingConfigurationCommand.js +39 -0
- package/{dist/es → dist-es}/commands/UpdateRuleGroupCommand.js +4 -35
- package/{dist/es → dist-es}/commands/UpdateSubnetChangeProtectionCommand.js +4 -30
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +17 -326
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListFirewallPoliciesPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListFirewallsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListRuleGroupsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListTagsForResourcePaginator.js +17 -30
- package/{dist/es → dist-es}/protocols/Aws_json1_0.js +845 -783
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- package/{dist/types → dist-types}/NetworkFirewall.d.ts +6 -4
- package/{dist/types → dist-types}/NetworkFirewallClient.d.ts +10 -9
- package/{dist/types → dist-types}/commands/AssociateFirewallPolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/AssociateSubnetsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateFirewallCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateFirewallPolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateRuleGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteFirewallCommand.d.ts +5 -4
- package/{dist/types → dist-types}/commands/DeleteFirewallPolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteResourcePolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteRuleGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeFirewallCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeFirewallPolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeLoggingConfigurationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeResourcePolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeRuleGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DisassociateSubnetsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListFirewallPoliciesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListFirewallsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListRuleGroupsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/PutResourcePolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateFirewallDeleteProtectionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateFirewallDescriptionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateFirewallPolicyChangeProtectionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateFirewallPolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateLoggingConfigurationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateRuleGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateSubnetChangeProtectionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types/ts3.4 → dist-types}/models/models_0.d.ts +2944 -2853
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListFirewallPoliciesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListFirewallsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListRuleGroupsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListTagsForResourcePaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_json1_0.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/NetworkFirewall.d.ts +6 -4
- package/{dist/types → dist-types}/ts3.4/NetworkFirewallClient.d.ts +10 -9
- package/{dist/types → dist-types}/ts3.4/commands/AssociateFirewallPolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/AssociateSubnetsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/CreateFirewallCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/CreateFirewallPolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/CreateRuleGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DeleteFirewallCommand.d.ts +5 -4
- package/{dist/types → dist-types}/ts3.4/commands/DeleteFirewallPolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DeleteRuleGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DescribeFirewallCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DescribeFirewallPolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DescribeLoggingConfigurationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DescribeResourcePolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DescribeRuleGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DisassociateSubnetsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListFirewallPoliciesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListFirewallsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListRuleGroupsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/PutResourcePolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UpdateFirewallDeleteProtectionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UpdateFirewallDescriptionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UpdateFirewallPolicyChangeProtectionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UpdateFirewallPolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UpdateLoggingConfigurationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UpdateRuleGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UpdateSubnetChangeProtectionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/{dist/types → dist-types/ts3.4}/models/models_0.d.ts +2944 -2853
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListFirewallPoliciesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListFirewallsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListRuleGroupsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_0.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +52 -49
- package/NetworkFirewall.ts +0 -1251
- package/NetworkFirewallClient.ts +0 -446
- package/commands/AssociateFirewallPolicyCommand.ts +0 -98
- package/commands/AssociateSubnetsCommand.ts +0 -99
- package/commands/CreateFirewallCommand.ts +0 -100
- package/commands/CreateFirewallPolicyCommand.ts +0 -97
- package/commands/CreateRuleGroupCommand.ts +0 -97
- package/commands/DeleteFirewallCommand.ts +0 -103
- package/commands/DeleteFirewallPolicyCommand.ts +0 -94
- package/commands/DeleteResourcePolicyCommand.ts +0 -94
- package/commands/DeleteRuleGroupCommand.ts +0 -94
- package/commands/DescribeFirewallCommand.ts +0 -94
- package/commands/DescribeFirewallPolicyCommand.ts +0 -94
- package/commands/DescribeLoggingConfigurationCommand.ts +0 -99
- package/commands/DescribeResourcePolicyCommand.ts +0 -94
- package/commands/DescribeRuleGroupCommand.ts +0 -94
- package/commands/DisassociateSubnetsCommand.ts +0 -97
- package/commands/ListFirewallPoliciesCommand.ts +0 -96
- package/commands/ListFirewallsCommand.ts +0 -97
- package/commands/ListRuleGroupsCommand.ts +0 -96
- package/commands/ListTagsForResourceCommand.ts +0 -100
- package/commands/PutResourcePolicyCommand.ts +0 -108
- package/commands/TagResourceCommand.ts +0 -99
- package/commands/UntagResourceCommand.ts +0 -100
- package/commands/UpdateFirewallDeleteProtectionCommand.ts +0 -105
- package/commands/UpdateFirewallDescriptionCommand.ts +0 -98
- package/commands/UpdateFirewallPolicyChangeProtectionCommand.ts +0 -105
- package/commands/UpdateFirewallPolicyCommand.ts +0 -94
- package/commands/UpdateLoggingConfigurationCommand.ts +0 -122
- package/commands/UpdateRuleGroupCommand.ts +0 -99
- package/commands/UpdateSubnetChangeProtectionCommand.ts +0 -99
- package/dist/cjs/NetworkFirewall.js.map +0 -1
- package/dist/cjs/NetworkFirewallClient.js.map +0 -1
- package/dist/cjs/commands/AssociateFirewallPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/AssociateSubnetsCommand.js.map +0 -1
- package/dist/cjs/commands/CreateFirewallCommand.js.map +0 -1
- package/dist/cjs/commands/CreateFirewallPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/CreateRuleGroupCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteFirewallCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteFirewallPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteResourcePolicyCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteRuleGroupCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeFirewallCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeFirewallPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeLoggingConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeResourcePolicyCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeRuleGroupCommand.js.map +0 -1
- package/dist/cjs/commands/DisassociateSubnetsCommand.js.map +0 -1
- package/dist/cjs/commands/ListFirewallPoliciesCommand.js.map +0 -1
- package/dist/cjs/commands/ListFirewallsCommand.js.map +0 -1
- package/dist/cjs/commands/ListRuleGroupsCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/PutResourcePolicyCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateFirewallDeleteProtectionCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateFirewallDescriptionCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateFirewallPolicyChangeProtectionCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateFirewallPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateLoggingConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateRuleGroupCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateSubnetChangeProtectionCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListFirewallPoliciesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListFirewallsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListRuleGroupsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListTagsForResourcePaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_json1_0.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/NetworkFirewall.js.map +0 -1
- package/dist/es/NetworkFirewallClient.js +0 -122
- package/dist/es/NetworkFirewallClient.js.map +0 -1
- package/dist/es/commands/AssociateFirewallPolicyCommand.js.map +0 -1
- package/dist/es/commands/AssociateSubnetsCommand.js.map +0 -1
- package/dist/es/commands/CreateFirewallCommand.js +0 -71
- package/dist/es/commands/CreateFirewallCommand.js.map +0 -1
- package/dist/es/commands/CreateFirewallPolicyCommand.js.map +0 -1
- package/dist/es/commands/CreateRuleGroupCommand.js.map +0 -1
- package/dist/es/commands/DeleteFirewallCommand.js +0 -74
- package/dist/es/commands/DeleteFirewallCommand.js.map +0 -1
- package/dist/es/commands/DeleteFirewallPolicyCommand.js.map +0 -1
- package/dist/es/commands/DeleteResourcePolicyCommand.js.map +0 -1
- package/dist/es/commands/DeleteRuleGroupCommand.js.map +0 -1
- package/dist/es/commands/DescribeFirewallCommand.js.map +0 -1
- package/dist/es/commands/DescribeFirewallPolicyCommand.js.map +0 -1
- package/dist/es/commands/DescribeLoggingConfigurationCommand.js.map +0 -1
- package/dist/es/commands/DescribeResourcePolicyCommand.js.map +0 -1
- package/dist/es/commands/DescribeRuleGroupCommand.js.map +0 -1
- package/dist/es/commands/DisassociateSubnetsCommand.js.map +0 -1
- package/dist/es/commands/ListFirewallPoliciesCommand.js.map +0 -1
- package/dist/es/commands/ListFirewallsCommand.js.map +0 -1
- package/dist/es/commands/ListRuleGroupsCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/PutResourcePolicyCommand.js +0 -79
- package/dist/es/commands/PutResourcePolicyCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateFirewallDeleteProtectionCommand.js.map +0 -1
- package/dist/es/commands/UpdateFirewallDescriptionCommand.js.map +0 -1
- package/dist/es/commands/UpdateFirewallPolicyChangeProtectionCommand.js.map +0 -1
- package/dist/es/commands/UpdateFirewallPolicyCommand.js.map +0 -1
- package/dist/es/commands/UpdateLoggingConfigurationCommand.js +0 -90
- package/dist/es/commands/UpdateLoggingConfigurationCommand.js.map +0 -1
- package/dist/es/commands/UpdateRuleGroupCommand.js.map +0 -1
- package/dist/es/commands/UpdateSubnetChangeProtectionCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -38
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListFirewallPoliciesPaginator.js.map +0 -1
- package/dist/es/pagination/ListFirewallsPaginator.js.map +0 -1
- package/dist/es/pagination/ListRuleGroupsPaginator.js.map +0 -1
- package/dist/es/pagination/ListTagsForResourcePaginator.js.map +0 -1
- package/dist/es/protocols/Aws_json1_0.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/endpoints.ts +0 -91
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -3458
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListFirewallPoliciesPaginator.ts +0 -58
- package/pagination/ListFirewallsPaginator.ts +0 -58
- package/pagination/ListRuleGroupsPaginator.ts +0 -58
- package/pagination/ListTagsForResourcePaginator.ts +0 -58
- package/protocols/Aws_json1_0.ts +0 -5391
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
|
|
2
|
-
import { ListFirewallsRequest, ListFirewallsResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_0ListFirewallsCommand,
|
|
5
|
-
serializeAws_json1_0ListFirewallsCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_0";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface ListFirewallsCommandInput extends ListFirewallsRequest {}
|
|
21
|
-
export interface ListFirewallsCommandOutput extends ListFirewallsResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Retrieves the metadata for the firewalls that you have defined. If you provide VPC
|
|
25
|
-
* identifiers in your request, this returns only the firewalls for those VPCs.</p>
|
|
26
|
-
* <p>Depending on your setting for max results and the number of firewalls, a single call
|
|
27
|
-
* might not return the full list. </p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { NetworkFirewallClient, ListFirewallsCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
32
|
-
* // const { NetworkFirewallClient, ListFirewallsCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
33
|
-
* const client = new NetworkFirewallClient(config);
|
|
34
|
-
* const command = new ListFirewallsCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link ListFirewallsCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link ListFirewallsCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link NetworkFirewallClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class ListFirewallsCommand extends $Command<
|
|
44
|
-
ListFirewallsCommandInput,
|
|
45
|
-
ListFirewallsCommandOutput,
|
|
46
|
-
NetworkFirewallClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: ListFirewallsCommandInput) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
super();
|
|
54
|
-
// End section: command_constructor
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
resolveMiddleware(
|
|
61
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
62
|
-
configuration: NetworkFirewallClientResolvedConfig,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
64
|
-
): Handler<ListFirewallsCommandInput, ListFirewallsCommandOutput> {
|
|
65
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
|
-
|
|
67
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
-
|
|
69
|
-
const { logger } = configuration;
|
|
70
|
-
const clientName = "NetworkFirewallClient";
|
|
71
|
-
const commandName = "ListFirewallsCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: ListFirewallsRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: ListFirewallsResponse.filterSensitiveLog,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(input: ListFirewallsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_json1_0ListFirewallsCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListFirewallsCommandOutput> {
|
|
92
|
-
return deserializeAws_json1_0ListFirewallsCommand(output, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Start section: command_body_extra
|
|
96
|
-
// End section: command_body_extra
|
|
97
|
-
}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
|
|
2
|
-
import { ListRuleGroupsRequest, ListRuleGroupsResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_0ListRuleGroupsCommand,
|
|
5
|
-
serializeAws_json1_0ListRuleGroupsCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_0";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface ListRuleGroupsCommandInput extends ListRuleGroupsRequest {}
|
|
21
|
-
export interface ListRuleGroupsCommandOutput extends ListRuleGroupsResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Retrieves the metadata for the rule groups that you have defined. Depending on your
|
|
25
|
-
* setting for max results and the number of rule groups, a single call might not return the
|
|
26
|
-
* full list. </p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { NetworkFirewallClient, ListRuleGroupsCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
31
|
-
* // const { NetworkFirewallClient, ListRuleGroupsCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
32
|
-
* const client = new NetworkFirewallClient(config);
|
|
33
|
-
* const command = new ListRuleGroupsCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link ListRuleGroupsCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link ListRuleGroupsCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link NetworkFirewallClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class ListRuleGroupsCommand extends $Command<
|
|
43
|
-
ListRuleGroupsCommandInput,
|
|
44
|
-
ListRuleGroupsCommandOutput,
|
|
45
|
-
NetworkFirewallClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: ListRuleGroupsCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: NetworkFirewallClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<ListRuleGroupsCommandInput, ListRuleGroupsCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "NetworkFirewallClient";
|
|
70
|
-
const commandName = "ListRuleGroupsCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: ListRuleGroupsRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: ListRuleGroupsResponse.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: ListRuleGroupsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_json1_0ListRuleGroupsCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListRuleGroupsCommandOutput> {
|
|
91
|
-
return deserializeAws_json1_0ListRuleGroupsCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
|
|
2
|
-
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_0ListTagsForResourceCommand,
|
|
5
|
-
serializeAws_json1_0ListTagsForResourceCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_0";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {}
|
|
21
|
-
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Retrieves the tags associated with the specified resource. Tags are key:value pairs that
|
|
25
|
-
* you can use to categorize and manage your resources, for purposes like billing. For
|
|
26
|
-
* example, you might set the tag key to "customer" and the value to the customer name or ID.
|
|
27
|
-
* You can specify one or more tags to add to each AWS resource, up to 50 tags for a
|
|
28
|
-
* resource.</p>
|
|
29
|
-
* <p>You can tag the AWS resources that you manage through AWS Network Firewall: firewalls, firewall
|
|
30
|
-
* policies, and rule groups. </p>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { NetworkFirewallClient, ListTagsForResourceCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
35
|
-
* // const { NetworkFirewallClient, ListTagsForResourceCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
36
|
-
* const client = new NetworkFirewallClient(config);
|
|
37
|
-
* const command = new ListTagsForResourceCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link NetworkFirewallClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class ListTagsForResourceCommand extends $Command<
|
|
47
|
-
ListTagsForResourceCommandInput,
|
|
48
|
-
ListTagsForResourceCommandOutput,
|
|
49
|
-
NetworkFirewallClientResolvedConfig
|
|
50
|
-
> {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
|
-
|
|
54
|
-
constructor(readonly input: ListTagsForResourceCommandInput) {
|
|
55
|
-
// Start section: command_constructor
|
|
56
|
-
super();
|
|
57
|
-
// End section: command_constructor
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
|
-
resolveMiddleware(
|
|
64
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
65
|
-
configuration: NetworkFirewallClientResolvedConfig,
|
|
66
|
-
options?: __HttpHandlerOptions
|
|
67
|
-
): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput> {
|
|
68
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
69
|
-
|
|
70
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
71
|
-
|
|
72
|
-
const { logger } = configuration;
|
|
73
|
-
const clientName = "NetworkFirewallClient";
|
|
74
|
-
const commandName = "ListTagsForResourceCommand";
|
|
75
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
76
|
-
logger,
|
|
77
|
-
clientName,
|
|
78
|
-
commandName,
|
|
79
|
-
inputFilterSensitiveLog: ListTagsForResourceRequest.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: ListTagsForResourceResponse.filterSensitiveLog,
|
|
81
|
-
};
|
|
82
|
-
const { requestHandler } = configuration;
|
|
83
|
-
return stack.resolve(
|
|
84
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
85
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
86
|
-
handlerExecutionContext
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private serialize(input: ListTagsForResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
91
|
-
return serializeAws_json1_0ListTagsForResourceCommand(input, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListTagsForResourceCommandOutput> {
|
|
95
|
-
return deserializeAws_json1_0ListTagsForResourceCommand(output, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Start section: command_body_extra
|
|
99
|
-
// End section: command_body_extra
|
|
100
|
-
}
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
|
|
2
|
-
import { PutResourcePolicyRequest, PutResourcePolicyResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_0PutResourcePolicyCommand,
|
|
5
|
-
serializeAws_json1_0PutResourcePolicyCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_0";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface PutResourcePolicyCommandInput extends PutResourcePolicyRequest {}
|
|
21
|
-
export interface PutResourcePolicyCommandOutput extends PutResourcePolicyResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Creates or updates an AWS Identity and Access Management policy for your rule group or firewall policy. Use this to share rule groups and firewall policies between accounts. This operation works in conjunction with the AWS Resource Access Manager (RAM) service
|
|
25
|
-
* to manage resource sharing for Network Firewall. </p>
|
|
26
|
-
* <p>Use this operation to create or update a resource policy for your rule group or firewall policy. In the policy, you specify the accounts that you want to share the resource with and the operations that you want the accounts to be able to perform. </p>
|
|
27
|
-
* <p>When you add an account in the resource policy, you then run the following Resource Access Manager (RAM) operations to access and accept the shared rule group or firewall policy. </p>
|
|
28
|
-
* <ul>
|
|
29
|
-
* <li>
|
|
30
|
-
* <p>
|
|
31
|
-
* <a href="https://docs.aws.amazon.com/ram/latest/APIReference/API_GetResourceShareInvitations.html">GetResourceShareInvitations</a> - Returns the Amazon Resource Names (ARNs) of the resource share invitations. </p>
|
|
32
|
-
* </li>
|
|
33
|
-
* <li>
|
|
34
|
-
* <p>
|
|
35
|
-
* <a href="https://docs.aws.amazon.com/ram/latest/APIReference/API_AcceptResourceShareInvitation.html">AcceptResourceShareInvitation</a> - Accepts the share invitation for a specified resource share. </p>
|
|
36
|
-
* </li>
|
|
37
|
-
* </ul>
|
|
38
|
-
* <p>For additional information about resource sharing using RAM, see <a href="https://docs.aws.amazon.com/ram/latest/userguide/what-is.html">AWS Resource Access Manager User Guide</a>.</p>
|
|
39
|
-
* @example
|
|
40
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
41
|
-
* ```javascript
|
|
42
|
-
* import { NetworkFirewallClient, PutResourcePolicyCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
43
|
-
* // const { NetworkFirewallClient, PutResourcePolicyCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
44
|
-
* const client = new NetworkFirewallClient(config);
|
|
45
|
-
* const command = new PutResourcePolicyCommand(input);
|
|
46
|
-
* const response = await client.send(command);
|
|
47
|
-
* ```
|
|
48
|
-
*
|
|
49
|
-
* @see {@link PutResourcePolicyCommandInput} for command's `input` shape.
|
|
50
|
-
* @see {@link PutResourcePolicyCommandOutput} for command's `response` shape.
|
|
51
|
-
* @see {@link NetworkFirewallClientResolvedConfig | config} for command's `input` shape.
|
|
52
|
-
*
|
|
53
|
-
*/
|
|
54
|
-
export class PutResourcePolicyCommand extends $Command<
|
|
55
|
-
PutResourcePolicyCommandInput,
|
|
56
|
-
PutResourcePolicyCommandOutput,
|
|
57
|
-
NetworkFirewallClientResolvedConfig
|
|
58
|
-
> {
|
|
59
|
-
// Start section: command_properties
|
|
60
|
-
// End section: command_properties
|
|
61
|
-
|
|
62
|
-
constructor(readonly input: PutResourcePolicyCommandInput) {
|
|
63
|
-
// Start section: command_constructor
|
|
64
|
-
super();
|
|
65
|
-
// End section: command_constructor
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* @internal
|
|
70
|
-
*/
|
|
71
|
-
resolveMiddleware(
|
|
72
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
73
|
-
configuration: NetworkFirewallClientResolvedConfig,
|
|
74
|
-
options?: __HttpHandlerOptions
|
|
75
|
-
): Handler<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput> {
|
|
76
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
77
|
-
|
|
78
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
79
|
-
|
|
80
|
-
const { logger } = configuration;
|
|
81
|
-
const clientName = "NetworkFirewallClient";
|
|
82
|
-
const commandName = "PutResourcePolicyCommand";
|
|
83
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
84
|
-
logger,
|
|
85
|
-
clientName,
|
|
86
|
-
commandName,
|
|
87
|
-
inputFilterSensitiveLog: PutResourcePolicyRequest.filterSensitiveLog,
|
|
88
|
-
outputFilterSensitiveLog: PutResourcePolicyResponse.filterSensitiveLog,
|
|
89
|
-
};
|
|
90
|
-
const { requestHandler } = configuration;
|
|
91
|
-
return stack.resolve(
|
|
92
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
93
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
94
|
-
handlerExecutionContext
|
|
95
|
-
);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
private serialize(input: PutResourcePolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
99
|
-
return serializeAws_json1_0PutResourcePolicyCommand(input, context);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PutResourcePolicyCommandOutput> {
|
|
103
|
-
return deserializeAws_json1_0PutResourcePolicyCommand(output, context);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
// Start section: command_body_extra
|
|
107
|
-
// End section: command_body_extra
|
|
108
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
|
|
2
|
-
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_0TagResourceCommand,
|
|
5
|
-
serializeAws_json1_0TagResourceCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_0";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface TagResourceCommandInput extends TagResourceRequest {}
|
|
21
|
-
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Adds the specified tags to the specified resource. Tags are key:value pairs that you can
|
|
25
|
-
* use to categorize and manage your resources, for purposes like billing. For example, you
|
|
26
|
-
* might set the tag key to "customer" and the value to the customer name or ID. You can
|
|
27
|
-
* specify one or more tags to add to each AWS resource, up to 50 tags for a resource.</p>
|
|
28
|
-
* <p>You can tag the AWS resources that you manage through AWS Network Firewall: firewalls, firewall
|
|
29
|
-
* policies, and rule groups. </p>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { NetworkFirewallClient, TagResourceCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
34
|
-
* // const { NetworkFirewallClient, TagResourceCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
35
|
-
* const client = new NetworkFirewallClient(config);
|
|
36
|
-
* const command = new TagResourceCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link NetworkFirewallClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class TagResourceCommand extends $Command<
|
|
46
|
-
TagResourceCommandInput,
|
|
47
|
-
TagResourceCommandOutput,
|
|
48
|
-
NetworkFirewallClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: TagResourceCommandInput) {
|
|
54
|
-
// Start section: command_constructor
|
|
55
|
-
super();
|
|
56
|
-
// End section: command_constructor
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
62
|
-
resolveMiddleware(
|
|
63
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
64
|
-
configuration: NetworkFirewallClientResolvedConfig,
|
|
65
|
-
options?: __HttpHandlerOptions
|
|
66
|
-
): Handler<TagResourceCommandInput, TagResourceCommandOutput> {
|
|
67
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
68
|
-
|
|
69
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
70
|
-
|
|
71
|
-
const { logger } = configuration;
|
|
72
|
-
const clientName = "NetworkFirewallClient";
|
|
73
|
-
const commandName = "TagResourceCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: TagResourceRequest.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: TagResourceResponse.filterSensitiveLog,
|
|
80
|
-
};
|
|
81
|
-
const { requestHandler } = configuration;
|
|
82
|
-
return stack.resolve(
|
|
83
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
84
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
85
|
-
handlerExecutionContext
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private serialize(input: TagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_json1_0TagResourceCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<TagResourceCommandOutput> {
|
|
94
|
-
return deserializeAws_json1_0TagResourceCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
|
|
2
|
-
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_0UntagResourceCommand,
|
|
5
|
-
serializeAws_json1_0UntagResourceCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_0";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface UntagResourceCommandInput extends UntagResourceRequest {}
|
|
21
|
-
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Removes the tags with the specified keys from the specified resource. Tags are key:value
|
|
25
|
-
* pairs that you can use to categorize and manage your resources, for purposes like billing.
|
|
26
|
-
* For example, you might set the tag key to "customer" and the value to the customer name or
|
|
27
|
-
* ID. You can specify one or more tags to add to each AWS resource, up to 50 tags for a
|
|
28
|
-
* resource.</p>
|
|
29
|
-
* <p>You can manage tags for the AWS resources that you manage through AWS Network Firewall:
|
|
30
|
-
* firewalls, firewall policies, and rule groups. </p>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { NetworkFirewallClient, UntagResourceCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
35
|
-
* // const { NetworkFirewallClient, UntagResourceCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
36
|
-
* const client = new NetworkFirewallClient(config);
|
|
37
|
-
* const command = new UntagResourceCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link NetworkFirewallClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class UntagResourceCommand extends $Command<
|
|
47
|
-
UntagResourceCommandInput,
|
|
48
|
-
UntagResourceCommandOutput,
|
|
49
|
-
NetworkFirewallClientResolvedConfig
|
|
50
|
-
> {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
|
-
|
|
54
|
-
constructor(readonly input: UntagResourceCommandInput) {
|
|
55
|
-
// Start section: command_constructor
|
|
56
|
-
super();
|
|
57
|
-
// End section: command_constructor
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
|
-
resolveMiddleware(
|
|
64
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
65
|
-
configuration: NetworkFirewallClientResolvedConfig,
|
|
66
|
-
options?: __HttpHandlerOptions
|
|
67
|
-
): Handler<UntagResourceCommandInput, UntagResourceCommandOutput> {
|
|
68
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
69
|
-
|
|
70
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
71
|
-
|
|
72
|
-
const { logger } = configuration;
|
|
73
|
-
const clientName = "NetworkFirewallClient";
|
|
74
|
-
const commandName = "UntagResourceCommand";
|
|
75
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
76
|
-
logger,
|
|
77
|
-
clientName,
|
|
78
|
-
commandName,
|
|
79
|
-
inputFilterSensitiveLog: UntagResourceRequest.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: UntagResourceResponse.filterSensitiveLog,
|
|
81
|
-
};
|
|
82
|
-
const { requestHandler } = configuration;
|
|
83
|
-
return stack.resolve(
|
|
84
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
85
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
86
|
-
handlerExecutionContext
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private serialize(input: UntagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
91
|
-
return serializeAws_json1_0UntagResourceCommand(input, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UntagResourceCommandOutput> {
|
|
95
|
-
return deserializeAws_json1_0UntagResourceCommand(output, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Start section: command_body_extra
|
|
99
|
-
// End section: command_body_extra
|
|
100
|
-
}
|