@aws-sdk/client-network-firewall 3.35.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 +13 -0
- package/dist-cjs/NetworkFirewall.js +0 -1
- package/dist-cjs/NetworkFirewallClient.js +0 -1
- package/dist-cjs/commands/AssociateFirewallPolicyCommand.js +0 -1
- package/dist-cjs/commands/AssociateSubnetsCommand.js +0 -1
- package/dist-cjs/commands/CreateFirewallCommand.js +0 -1
- package/dist-cjs/commands/CreateFirewallPolicyCommand.js +0 -1
- package/dist-cjs/commands/CreateRuleGroupCommand.js +0 -1
- package/dist-cjs/commands/DeleteFirewallCommand.js +0 -1
- package/dist-cjs/commands/DeleteFirewallPolicyCommand.js +0 -1
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +0 -1
- package/dist-cjs/commands/DeleteRuleGroupCommand.js +0 -1
- package/dist-cjs/commands/DescribeFirewallCommand.js +0 -1
- package/dist-cjs/commands/DescribeFirewallPolicyCommand.js +0 -1
- package/dist-cjs/commands/DescribeLoggingConfigurationCommand.js +0 -1
- package/dist-cjs/commands/DescribeResourcePolicyCommand.js +0 -1
- package/dist-cjs/commands/DescribeRuleGroupCommand.js +0 -1
- package/dist-cjs/commands/DisassociateSubnetsCommand.js +0 -1
- package/dist-cjs/commands/ListFirewallPoliciesCommand.js +0 -1
- package/dist-cjs/commands/ListFirewallsCommand.js +0 -1
- package/dist-cjs/commands/ListRuleGroupsCommand.js +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-cjs/commands/PutResourcePolicyCommand.js +0 -1
- package/dist-cjs/commands/TagResourceCommand.js +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js +0 -1
- package/dist-cjs/commands/UpdateFirewallDeleteProtectionCommand.js +0 -1
- package/dist-cjs/commands/UpdateFirewallDescriptionCommand.js +0 -1
- package/dist-cjs/commands/UpdateFirewallPolicyChangeProtectionCommand.js +0 -1
- package/dist-cjs/commands/UpdateFirewallPolicyCommand.js +0 -1
- package/dist-cjs/commands/UpdateLoggingConfigurationCommand.js +0 -1
- package/dist-cjs/commands/UpdateRuleGroupCommand.js +0 -1
- package/dist-cjs/commands/UpdateSubnetChangeProtectionCommand.js +0 -1
- package/dist-cjs/endpoints.js +0 -1
- package/dist-cjs/index.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListFirewallPoliciesPaginator.js +0 -1
- package/dist-cjs/pagination/ListFirewallsPaginator.js +0 -1
- package/dist-cjs/pagination/ListRuleGroupsPaginator.js +0 -1
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js +0 -1
- package/dist-cjs/protocols/Aws_json1_0.js +0 -1
- package/dist-cjs/runtimeConfig.browser.js +2 -3
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-cjs/runtimeConfig.native.js +0 -1
- package/dist-cjs/runtimeConfig.shared.js +0 -1
- package/dist-es/NetworkFirewall.js +0 -1
- package/dist-es/NetworkFirewallClient.js +0 -1
- package/dist-es/commands/AssociateFirewallPolicyCommand.js +0 -1
- package/dist-es/commands/AssociateSubnetsCommand.js +0 -1
- package/dist-es/commands/CreateFirewallCommand.js +0 -1
- package/dist-es/commands/CreateFirewallPolicyCommand.js +0 -1
- package/dist-es/commands/CreateRuleGroupCommand.js +0 -1
- package/dist-es/commands/DeleteFirewallCommand.js +0 -1
- package/dist-es/commands/DeleteFirewallPolicyCommand.js +0 -1
- package/dist-es/commands/DeleteResourcePolicyCommand.js +0 -1
- package/dist-es/commands/DeleteRuleGroupCommand.js +0 -1
- package/dist-es/commands/DescribeFirewallCommand.js +0 -1
- package/dist-es/commands/DescribeFirewallPolicyCommand.js +0 -1
- package/dist-es/commands/DescribeLoggingConfigurationCommand.js +0 -1
- package/dist-es/commands/DescribeResourcePolicyCommand.js +0 -1
- package/dist-es/commands/DescribeRuleGroupCommand.js +0 -1
- package/dist-es/commands/DisassociateSubnetsCommand.js +0 -1
- package/dist-es/commands/ListFirewallPoliciesCommand.js +0 -1
- package/dist-es/commands/ListFirewallsCommand.js +0 -1
- package/dist-es/commands/ListRuleGroupsCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/PutResourcePolicyCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateFirewallDeleteProtectionCommand.js +0 -1
- package/dist-es/commands/UpdateFirewallDescriptionCommand.js +0 -1
- package/dist-es/commands/UpdateFirewallPolicyChangeProtectionCommand.js +0 -1
- package/dist-es/commands/UpdateFirewallPolicyCommand.js +0 -1
- package/dist-es/commands/UpdateLoggingConfigurationCommand.js +0 -1
- package/dist-es/commands/UpdateRuleGroupCommand.js +0 -1
- package/dist-es/commands/UpdateSubnetChangeProtectionCommand.js +0 -1
- package/dist-es/endpoints.js +0 -1
- package/dist-es/index.js +0 -1
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListFirewallPoliciesPaginator.js +0 -1
- package/dist-es/pagination/ListFirewallsPaginator.js +0 -1
- package/dist-es/pagination/ListRuleGroupsPaginator.js +0 -1
- package/dist-es/pagination/ListTagsForResourcePaginator.js +0 -1
- package/dist-es/protocols/Aws_json1_0.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/package.json +33 -30
- 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/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.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.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.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.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.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.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- 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/jest.config.js +0 -4
- package/src/NetworkFirewall.ts +0 -1254
- package/src/NetworkFirewallClient.ts +0 -448
- package/src/commands/AssociateFirewallPolicyCommand.ts +0 -99
- package/src/commands/AssociateSubnetsCommand.ts +0 -100
- package/src/commands/CreateFirewallCommand.ts +0 -101
- package/src/commands/CreateFirewallPolicyCommand.ts +0 -98
- package/src/commands/CreateRuleGroupCommand.ts +0 -98
- package/src/commands/DeleteFirewallCommand.ts +0 -105
- package/src/commands/DeleteFirewallPolicyCommand.ts +0 -95
- package/src/commands/DeleteResourcePolicyCommand.ts +0 -95
- package/src/commands/DeleteRuleGroupCommand.ts +0 -95
- package/src/commands/DescribeFirewallCommand.ts +0 -95
- package/src/commands/DescribeFirewallPolicyCommand.ts +0 -95
- package/src/commands/DescribeLoggingConfigurationCommand.ts +0 -100
- package/src/commands/DescribeResourcePolicyCommand.ts +0 -95
- package/src/commands/DescribeRuleGroupCommand.ts +0 -95
- package/src/commands/DisassociateSubnetsCommand.ts +0 -98
- package/src/commands/ListFirewallPoliciesCommand.ts +0 -97
- package/src/commands/ListFirewallsCommand.ts +0 -98
- package/src/commands/ListRuleGroupsCommand.ts +0 -97
- package/src/commands/ListTagsForResourceCommand.ts +0 -101
- package/src/commands/PutResourcePolicyCommand.ts +0 -109
- package/src/commands/TagResourceCommand.ts +0 -100
- package/src/commands/UntagResourceCommand.ts +0 -101
- package/src/commands/UpdateFirewallDeleteProtectionCommand.ts +0 -106
- package/src/commands/UpdateFirewallDescriptionCommand.ts +0 -99
- package/src/commands/UpdateFirewallPolicyChangeProtectionCommand.ts +0 -106
- package/src/commands/UpdateFirewallPolicyCommand.ts +0 -95
- package/src/commands/UpdateLoggingConfigurationCommand.ts +0 -123
- package/src/commands/UpdateRuleGroupCommand.ts +0 -100
- package/src/commands/UpdateSubnetChangeProtectionCommand.ts +0 -100
- package/src/endpoints.ts +0 -91
- package/src/index.ts +0 -37
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -3567
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListFirewallPoliciesPaginator.ts +0 -59
- package/src/pagination/ListFirewallsPaginator.ts +0 -59
- package/src/pagination/ListRuleGroupsPaginator.ts +0 -59
- package/src/pagination/ListTagsForResourcePaginator.ts +0 -59
- package/src/protocols/Aws_json1_0.ts +0 -5479
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
package/src/NetworkFirewall.ts
DELETED
|
@@ -1,1254 +0,0 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
AssociateFirewallPolicyCommand,
|
|
5
|
-
AssociateFirewallPolicyCommandInput,
|
|
6
|
-
AssociateFirewallPolicyCommandOutput,
|
|
7
|
-
} from "./commands/AssociateFirewallPolicyCommand";
|
|
8
|
-
import {
|
|
9
|
-
AssociateSubnetsCommand,
|
|
10
|
-
AssociateSubnetsCommandInput,
|
|
11
|
-
AssociateSubnetsCommandOutput,
|
|
12
|
-
} from "./commands/AssociateSubnetsCommand";
|
|
13
|
-
import {
|
|
14
|
-
CreateFirewallCommand,
|
|
15
|
-
CreateFirewallCommandInput,
|
|
16
|
-
CreateFirewallCommandOutput,
|
|
17
|
-
} from "./commands/CreateFirewallCommand";
|
|
18
|
-
import {
|
|
19
|
-
CreateFirewallPolicyCommand,
|
|
20
|
-
CreateFirewallPolicyCommandInput,
|
|
21
|
-
CreateFirewallPolicyCommandOutput,
|
|
22
|
-
} from "./commands/CreateFirewallPolicyCommand";
|
|
23
|
-
import {
|
|
24
|
-
CreateRuleGroupCommand,
|
|
25
|
-
CreateRuleGroupCommandInput,
|
|
26
|
-
CreateRuleGroupCommandOutput,
|
|
27
|
-
} from "./commands/CreateRuleGroupCommand";
|
|
28
|
-
import {
|
|
29
|
-
DeleteFirewallCommand,
|
|
30
|
-
DeleteFirewallCommandInput,
|
|
31
|
-
DeleteFirewallCommandOutput,
|
|
32
|
-
} from "./commands/DeleteFirewallCommand";
|
|
33
|
-
import {
|
|
34
|
-
DeleteFirewallPolicyCommand,
|
|
35
|
-
DeleteFirewallPolicyCommandInput,
|
|
36
|
-
DeleteFirewallPolicyCommandOutput,
|
|
37
|
-
} from "./commands/DeleteFirewallPolicyCommand";
|
|
38
|
-
import {
|
|
39
|
-
DeleteResourcePolicyCommand,
|
|
40
|
-
DeleteResourcePolicyCommandInput,
|
|
41
|
-
DeleteResourcePolicyCommandOutput,
|
|
42
|
-
} from "./commands/DeleteResourcePolicyCommand";
|
|
43
|
-
import {
|
|
44
|
-
DeleteRuleGroupCommand,
|
|
45
|
-
DeleteRuleGroupCommandInput,
|
|
46
|
-
DeleteRuleGroupCommandOutput,
|
|
47
|
-
} from "./commands/DeleteRuleGroupCommand";
|
|
48
|
-
import {
|
|
49
|
-
DescribeFirewallCommand,
|
|
50
|
-
DescribeFirewallCommandInput,
|
|
51
|
-
DescribeFirewallCommandOutput,
|
|
52
|
-
} from "./commands/DescribeFirewallCommand";
|
|
53
|
-
import {
|
|
54
|
-
DescribeFirewallPolicyCommand,
|
|
55
|
-
DescribeFirewallPolicyCommandInput,
|
|
56
|
-
DescribeFirewallPolicyCommandOutput,
|
|
57
|
-
} from "./commands/DescribeFirewallPolicyCommand";
|
|
58
|
-
import {
|
|
59
|
-
DescribeLoggingConfigurationCommand,
|
|
60
|
-
DescribeLoggingConfigurationCommandInput,
|
|
61
|
-
DescribeLoggingConfigurationCommandOutput,
|
|
62
|
-
} from "./commands/DescribeLoggingConfigurationCommand";
|
|
63
|
-
import {
|
|
64
|
-
DescribeResourcePolicyCommand,
|
|
65
|
-
DescribeResourcePolicyCommandInput,
|
|
66
|
-
DescribeResourcePolicyCommandOutput,
|
|
67
|
-
} from "./commands/DescribeResourcePolicyCommand";
|
|
68
|
-
import {
|
|
69
|
-
DescribeRuleGroupCommand,
|
|
70
|
-
DescribeRuleGroupCommandInput,
|
|
71
|
-
DescribeRuleGroupCommandOutput,
|
|
72
|
-
} from "./commands/DescribeRuleGroupCommand";
|
|
73
|
-
import {
|
|
74
|
-
DisassociateSubnetsCommand,
|
|
75
|
-
DisassociateSubnetsCommandInput,
|
|
76
|
-
DisassociateSubnetsCommandOutput,
|
|
77
|
-
} from "./commands/DisassociateSubnetsCommand";
|
|
78
|
-
import {
|
|
79
|
-
ListFirewallPoliciesCommand,
|
|
80
|
-
ListFirewallPoliciesCommandInput,
|
|
81
|
-
ListFirewallPoliciesCommandOutput,
|
|
82
|
-
} from "./commands/ListFirewallPoliciesCommand";
|
|
83
|
-
import {
|
|
84
|
-
ListFirewallsCommand,
|
|
85
|
-
ListFirewallsCommandInput,
|
|
86
|
-
ListFirewallsCommandOutput,
|
|
87
|
-
} from "./commands/ListFirewallsCommand";
|
|
88
|
-
import {
|
|
89
|
-
ListRuleGroupsCommand,
|
|
90
|
-
ListRuleGroupsCommandInput,
|
|
91
|
-
ListRuleGroupsCommandOutput,
|
|
92
|
-
} from "./commands/ListRuleGroupsCommand";
|
|
93
|
-
import {
|
|
94
|
-
ListTagsForResourceCommand,
|
|
95
|
-
ListTagsForResourceCommandInput,
|
|
96
|
-
ListTagsForResourceCommandOutput,
|
|
97
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
98
|
-
import {
|
|
99
|
-
PutResourcePolicyCommand,
|
|
100
|
-
PutResourcePolicyCommandInput,
|
|
101
|
-
PutResourcePolicyCommandOutput,
|
|
102
|
-
} from "./commands/PutResourcePolicyCommand";
|
|
103
|
-
import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
104
|
-
import {
|
|
105
|
-
UntagResourceCommand,
|
|
106
|
-
UntagResourceCommandInput,
|
|
107
|
-
UntagResourceCommandOutput,
|
|
108
|
-
} from "./commands/UntagResourceCommand";
|
|
109
|
-
import {
|
|
110
|
-
UpdateFirewallDeleteProtectionCommand,
|
|
111
|
-
UpdateFirewallDeleteProtectionCommandInput,
|
|
112
|
-
UpdateFirewallDeleteProtectionCommandOutput,
|
|
113
|
-
} from "./commands/UpdateFirewallDeleteProtectionCommand";
|
|
114
|
-
import {
|
|
115
|
-
UpdateFirewallDescriptionCommand,
|
|
116
|
-
UpdateFirewallDescriptionCommandInput,
|
|
117
|
-
UpdateFirewallDescriptionCommandOutput,
|
|
118
|
-
} from "./commands/UpdateFirewallDescriptionCommand";
|
|
119
|
-
import {
|
|
120
|
-
UpdateFirewallPolicyChangeProtectionCommand,
|
|
121
|
-
UpdateFirewallPolicyChangeProtectionCommandInput,
|
|
122
|
-
UpdateFirewallPolicyChangeProtectionCommandOutput,
|
|
123
|
-
} from "./commands/UpdateFirewallPolicyChangeProtectionCommand";
|
|
124
|
-
import {
|
|
125
|
-
UpdateFirewallPolicyCommand,
|
|
126
|
-
UpdateFirewallPolicyCommandInput,
|
|
127
|
-
UpdateFirewallPolicyCommandOutput,
|
|
128
|
-
} from "./commands/UpdateFirewallPolicyCommand";
|
|
129
|
-
import {
|
|
130
|
-
UpdateLoggingConfigurationCommand,
|
|
131
|
-
UpdateLoggingConfigurationCommandInput,
|
|
132
|
-
UpdateLoggingConfigurationCommandOutput,
|
|
133
|
-
} from "./commands/UpdateLoggingConfigurationCommand";
|
|
134
|
-
import {
|
|
135
|
-
UpdateRuleGroupCommand,
|
|
136
|
-
UpdateRuleGroupCommandInput,
|
|
137
|
-
UpdateRuleGroupCommandOutput,
|
|
138
|
-
} from "./commands/UpdateRuleGroupCommand";
|
|
139
|
-
import {
|
|
140
|
-
UpdateSubnetChangeProtectionCommand,
|
|
141
|
-
UpdateSubnetChangeProtectionCommandInput,
|
|
142
|
-
UpdateSubnetChangeProtectionCommandOutput,
|
|
143
|
-
} from "./commands/UpdateSubnetChangeProtectionCommand";
|
|
144
|
-
import { NetworkFirewallClient } from "./NetworkFirewallClient";
|
|
145
|
-
|
|
146
|
-
/**
|
|
147
|
-
* <p>This is the API Reference for AWS Network Firewall. This guide is for developers who need
|
|
148
|
-
* detailed information about the Network Firewall API actions, data types, and errors. </p>
|
|
149
|
-
* <ul>
|
|
150
|
-
* <li>
|
|
151
|
-
* <p>The REST API requires you to handle connection details, such as calculating
|
|
152
|
-
* signatures, handling request retries, and error handling. For general information
|
|
153
|
-
* about using the AWS REST APIs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-apis.html">AWS APIs</a>. </p>
|
|
154
|
-
* <p>To access Network Firewall using the REST API endpoint:
|
|
155
|
-
* <code>https://network-firewall.<region>.amazonaws.com </code>
|
|
156
|
-
* </p>
|
|
157
|
-
* </li>
|
|
158
|
-
* <li>
|
|
159
|
-
* <p>Alternatively, you can use one of the AWS SDKs to access an API that's tailored to
|
|
160
|
-
* the programming language or platform that you're using. For more information, see
|
|
161
|
-
* <a href="http://aws.amazon.com/tools/#SDKs">AWS SDKs</a>.</p>
|
|
162
|
-
* </li>
|
|
163
|
-
* <li>
|
|
164
|
-
* <p>For descriptions of Network Firewall features, including and step-by-step
|
|
165
|
-
* instructions on how to use them through the Network Firewall console, see the <a href="https://docs.aws.amazon.com/network-firewall/latest/developerguide/">Network Firewall Developer
|
|
166
|
-
* Guide</a>.</p>
|
|
167
|
-
* </li>
|
|
168
|
-
* </ul>
|
|
169
|
-
* <p>Network Firewall is a stateful, managed, network firewall and intrusion detection and
|
|
170
|
-
* prevention service for Amazon Virtual Private Cloud (Amazon VPC). With Network Firewall, you can filter traffic at the
|
|
171
|
-
* perimeter of your VPC. This includes filtering traffic going to and coming from an internet
|
|
172
|
-
* gateway, NAT gateway, or over VPN or AWS Direct Connect. Network Firewall uses rules that are compatible
|
|
173
|
-
* with Suricata, a free, open source intrusion detection system (IDS) engine.
|
|
174
|
-
* AWS Network Firewall supports Suricata version 5.0.2. For information about Suricata,
|
|
175
|
-
* see the <a href="https://suricata-ids.org/">Suricata website</a>.</p>
|
|
176
|
-
* <p>You can use Network Firewall to monitor and protect your VPC traffic in a number of ways.
|
|
177
|
-
* The following are just a few examples: </p>
|
|
178
|
-
* <ul>
|
|
179
|
-
* <li>
|
|
180
|
-
* <p>Allow domains or IP addresses for known AWS service endpoints, such as Amazon S3, and
|
|
181
|
-
* block all other forms of traffic.</p>
|
|
182
|
-
* </li>
|
|
183
|
-
* <li>
|
|
184
|
-
* <p>Use custom lists of known bad domains to limit the types of domain names that your
|
|
185
|
-
* applications can access.</p>
|
|
186
|
-
* </li>
|
|
187
|
-
* <li>
|
|
188
|
-
* <p>Perform deep packet inspection on traffic entering or leaving your VPC.</p>
|
|
189
|
-
* </li>
|
|
190
|
-
* <li>
|
|
191
|
-
* <p>Use stateful protocol detection to filter protocols like HTTPS, regardless of the
|
|
192
|
-
* port used.</p>
|
|
193
|
-
* </li>
|
|
194
|
-
* </ul>
|
|
195
|
-
* <p>To enable Network Firewall for your VPCs, you perform steps in both Amazon VPC and in
|
|
196
|
-
* Network Firewall. For information about using Amazon VPC, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/">Amazon VPC User Guide</a>.</p>
|
|
197
|
-
* <p>To start using Network Firewall, do the following: </p>
|
|
198
|
-
* <ol>
|
|
199
|
-
* <li>
|
|
200
|
-
* <p>(Optional) If you don't already have a VPC that you want to protect, create it in
|
|
201
|
-
* Amazon VPC. </p>
|
|
202
|
-
* </li>
|
|
203
|
-
* <li>
|
|
204
|
-
* <p>In Amazon VPC, in each Availability Zone where you want to have a firewall endpoint, create a
|
|
205
|
-
* subnet for the sole use of Network Firewall. </p>
|
|
206
|
-
* </li>
|
|
207
|
-
* <li>
|
|
208
|
-
* <p>In Network Firewall, create stateless and stateful rule groups,
|
|
209
|
-
* to define the components of the network traffic filtering behavior that you want your firewall to have. </p>
|
|
210
|
-
* </li>
|
|
211
|
-
* <li>
|
|
212
|
-
* <p>In Network Firewall, create a firewall policy that uses your rule groups and
|
|
213
|
-
* specifies additional default traffic filtering behavior. </p>
|
|
214
|
-
* </li>
|
|
215
|
-
* <li>
|
|
216
|
-
* <p>In Network Firewall, create a firewall and specify your new firewall policy and
|
|
217
|
-
* VPC subnets. Network Firewall creates a firewall endpoint in each subnet that you
|
|
218
|
-
* specify, with the behavior that's defined in the firewall policy.</p>
|
|
219
|
-
* </li>
|
|
220
|
-
* <li>
|
|
221
|
-
* <p>In Amazon VPC, use ingress routing enhancements to route traffic through the new firewall
|
|
222
|
-
* endpoints.</p>
|
|
223
|
-
* </li>
|
|
224
|
-
* </ol>
|
|
225
|
-
*/
|
|
226
|
-
export class NetworkFirewall extends NetworkFirewallClient {
|
|
227
|
-
/**
|
|
228
|
-
* <p>Associates a <a>FirewallPolicy</a> to a <a>Firewall</a>. </p>
|
|
229
|
-
* <p>A firewall policy defines how to monitor and manage your VPC network traffic, using a
|
|
230
|
-
* collection of inspection rule groups and other settings. Each firewall requires one
|
|
231
|
-
* firewall policy association, and you can use the same firewall policy for multiple
|
|
232
|
-
* firewalls. </p>
|
|
233
|
-
*/
|
|
234
|
-
public associateFirewallPolicy(
|
|
235
|
-
args: AssociateFirewallPolicyCommandInput,
|
|
236
|
-
options?: __HttpHandlerOptions
|
|
237
|
-
): Promise<AssociateFirewallPolicyCommandOutput>;
|
|
238
|
-
public associateFirewallPolicy(
|
|
239
|
-
args: AssociateFirewallPolicyCommandInput,
|
|
240
|
-
cb: (err: any, data?: AssociateFirewallPolicyCommandOutput) => void
|
|
241
|
-
): void;
|
|
242
|
-
public associateFirewallPolicy(
|
|
243
|
-
args: AssociateFirewallPolicyCommandInput,
|
|
244
|
-
options: __HttpHandlerOptions,
|
|
245
|
-
cb: (err: any, data?: AssociateFirewallPolicyCommandOutput) => void
|
|
246
|
-
): void;
|
|
247
|
-
public associateFirewallPolicy(
|
|
248
|
-
args: AssociateFirewallPolicyCommandInput,
|
|
249
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AssociateFirewallPolicyCommandOutput) => void),
|
|
250
|
-
cb?: (err: any, data?: AssociateFirewallPolicyCommandOutput) => void
|
|
251
|
-
): Promise<AssociateFirewallPolicyCommandOutput> | void {
|
|
252
|
-
const command = new AssociateFirewallPolicyCommand(args);
|
|
253
|
-
if (typeof optionsOrCb === "function") {
|
|
254
|
-
this.send(command, optionsOrCb);
|
|
255
|
-
} else if (typeof cb === "function") {
|
|
256
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
257
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
258
|
-
} else {
|
|
259
|
-
return this.send(command, optionsOrCb);
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
/**
|
|
264
|
-
* <p>Associates the specified subnets in the Amazon VPC to the firewall. You can specify one
|
|
265
|
-
* subnet for each of the Availability Zones that the VPC spans. </p>
|
|
266
|
-
* <p>This request creates an AWS Network Firewall firewall endpoint in each of the subnets. To
|
|
267
|
-
* enable the firewall's protections, you must also modify the VPC's route tables for each
|
|
268
|
-
* subnet's Availability Zone, to redirect the traffic that's coming into and going out of the
|
|
269
|
-
* zone through the firewall endpoint. </p>
|
|
270
|
-
*/
|
|
271
|
-
public associateSubnets(
|
|
272
|
-
args: AssociateSubnetsCommandInput,
|
|
273
|
-
options?: __HttpHandlerOptions
|
|
274
|
-
): Promise<AssociateSubnetsCommandOutput>;
|
|
275
|
-
public associateSubnets(
|
|
276
|
-
args: AssociateSubnetsCommandInput,
|
|
277
|
-
cb: (err: any, data?: AssociateSubnetsCommandOutput) => void
|
|
278
|
-
): void;
|
|
279
|
-
public associateSubnets(
|
|
280
|
-
args: AssociateSubnetsCommandInput,
|
|
281
|
-
options: __HttpHandlerOptions,
|
|
282
|
-
cb: (err: any, data?: AssociateSubnetsCommandOutput) => void
|
|
283
|
-
): void;
|
|
284
|
-
public associateSubnets(
|
|
285
|
-
args: AssociateSubnetsCommandInput,
|
|
286
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AssociateSubnetsCommandOutput) => void),
|
|
287
|
-
cb?: (err: any, data?: AssociateSubnetsCommandOutput) => void
|
|
288
|
-
): Promise<AssociateSubnetsCommandOutput> | void {
|
|
289
|
-
const command = new AssociateSubnetsCommand(args);
|
|
290
|
-
if (typeof optionsOrCb === "function") {
|
|
291
|
-
this.send(command, optionsOrCb);
|
|
292
|
-
} else if (typeof cb === "function") {
|
|
293
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
294
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
295
|
-
} else {
|
|
296
|
-
return this.send(command, optionsOrCb);
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
/**
|
|
301
|
-
* <p>Creates an AWS Network Firewall <a>Firewall</a> and accompanying <a>FirewallStatus</a> for a VPC. </p>
|
|
302
|
-
* <p>The firewall defines the configuration settings for an AWS Network Firewall firewall. The settings that you can define at creation 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>
|
|
303
|
-
* <p>After you create a firewall, you can provide additional settings, like the logging configuration. </p>
|
|
304
|
-
* <p>To update the settings for a firewall, you use the operations that apply to the settings
|
|
305
|
-
* themselves, for example <a>UpdateLoggingConfiguration</a>, <a>AssociateSubnets</a>, and <a>UpdateFirewallDeleteProtection</a>. </p>
|
|
306
|
-
* <p>To manage a firewall's tags, use the standard AWS resource tagging operations, <a>ListTagsForResource</a>, <a>TagResource</a>, and <a>UntagResource</a>.</p>
|
|
307
|
-
* <p>To retrieve information about firewalls, use <a>ListFirewalls</a> and <a>DescribeFirewall</a>.</p>
|
|
308
|
-
*/
|
|
309
|
-
public createFirewall(
|
|
310
|
-
args: CreateFirewallCommandInput,
|
|
311
|
-
options?: __HttpHandlerOptions
|
|
312
|
-
): Promise<CreateFirewallCommandOutput>;
|
|
313
|
-
public createFirewall(
|
|
314
|
-
args: CreateFirewallCommandInput,
|
|
315
|
-
cb: (err: any, data?: CreateFirewallCommandOutput) => void
|
|
316
|
-
): void;
|
|
317
|
-
public createFirewall(
|
|
318
|
-
args: CreateFirewallCommandInput,
|
|
319
|
-
options: __HttpHandlerOptions,
|
|
320
|
-
cb: (err: any, data?: CreateFirewallCommandOutput) => void
|
|
321
|
-
): void;
|
|
322
|
-
public createFirewall(
|
|
323
|
-
args: CreateFirewallCommandInput,
|
|
324
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateFirewallCommandOutput) => void),
|
|
325
|
-
cb?: (err: any, data?: CreateFirewallCommandOutput) => void
|
|
326
|
-
): Promise<CreateFirewallCommandOutput> | void {
|
|
327
|
-
const command = new CreateFirewallCommand(args);
|
|
328
|
-
if (typeof optionsOrCb === "function") {
|
|
329
|
-
this.send(command, optionsOrCb);
|
|
330
|
-
} else if (typeof cb === "function") {
|
|
331
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
332
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
333
|
-
} else {
|
|
334
|
-
return this.send(command, optionsOrCb);
|
|
335
|
-
}
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
/**
|
|
339
|
-
* <p>Creates the firewall policy for the firewall according to the specifications. </p>
|
|
340
|
-
* <p>An AWS Network Firewall firewall policy defines the behavior of a firewall, in a collection of
|
|
341
|
-
* stateless and stateful rule groups and other settings. You can use one firewall policy for
|
|
342
|
-
* multiple firewalls. </p>
|
|
343
|
-
*/
|
|
344
|
-
public createFirewallPolicy(
|
|
345
|
-
args: CreateFirewallPolicyCommandInput,
|
|
346
|
-
options?: __HttpHandlerOptions
|
|
347
|
-
): Promise<CreateFirewallPolicyCommandOutput>;
|
|
348
|
-
public createFirewallPolicy(
|
|
349
|
-
args: CreateFirewallPolicyCommandInput,
|
|
350
|
-
cb: (err: any, data?: CreateFirewallPolicyCommandOutput) => void
|
|
351
|
-
): void;
|
|
352
|
-
public createFirewallPolicy(
|
|
353
|
-
args: CreateFirewallPolicyCommandInput,
|
|
354
|
-
options: __HttpHandlerOptions,
|
|
355
|
-
cb: (err: any, data?: CreateFirewallPolicyCommandOutput) => void
|
|
356
|
-
): void;
|
|
357
|
-
public createFirewallPolicy(
|
|
358
|
-
args: CreateFirewallPolicyCommandInput,
|
|
359
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateFirewallPolicyCommandOutput) => void),
|
|
360
|
-
cb?: (err: any, data?: CreateFirewallPolicyCommandOutput) => void
|
|
361
|
-
): Promise<CreateFirewallPolicyCommandOutput> | void {
|
|
362
|
-
const command = new CreateFirewallPolicyCommand(args);
|
|
363
|
-
if (typeof optionsOrCb === "function") {
|
|
364
|
-
this.send(command, optionsOrCb);
|
|
365
|
-
} else if (typeof cb === "function") {
|
|
366
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
367
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
368
|
-
} else {
|
|
369
|
-
return this.send(command, optionsOrCb);
|
|
370
|
-
}
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
/**
|
|
374
|
-
* <p>Creates the specified stateless or stateful rule group, which includes the rules for
|
|
375
|
-
* network traffic inspection, a capacity setting, and tags. </p>
|
|
376
|
-
* <p>You provide your rule group specification in your request using either
|
|
377
|
-
* <code>RuleGroup</code> or <code>Rules</code>.</p>
|
|
378
|
-
*/
|
|
379
|
-
public createRuleGroup(
|
|
380
|
-
args: CreateRuleGroupCommandInput,
|
|
381
|
-
options?: __HttpHandlerOptions
|
|
382
|
-
): Promise<CreateRuleGroupCommandOutput>;
|
|
383
|
-
public createRuleGroup(
|
|
384
|
-
args: CreateRuleGroupCommandInput,
|
|
385
|
-
cb: (err: any, data?: CreateRuleGroupCommandOutput) => void
|
|
386
|
-
): void;
|
|
387
|
-
public createRuleGroup(
|
|
388
|
-
args: CreateRuleGroupCommandInput,
|
|
389
|
-
options: __HttpHandlerOptions,
|
|
390
|
-
cb: (err: any, data?: CreateRuleGroupCommandOutput) => void
|
|
391
|
-
): void;
|
|
392
|
-
public createRuleGroup(
|
|
393
|
-
args: CreateRuleGroupCommandInput,
|
|
394
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateRuleGroupCommandOutput) => void),
|
|
395
|
-
cb?: (err: any, data?: CreateRuleGroupCommandOutput) => void
|
|
396
|
-
): Promise<CreateRuleGroupCommandOutput> | void {
|
|
397
|
-
const command = new CreateRuleGroupCommand(args);
|
|
398
|
-
if (typeof optionsOrCb === "function") {
|
|
399
|
-
this.send(command, optionsOrCb);
|
|
400
|
-
} else if (typeof cb === "function") {
|
|
401
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
402
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
403
|
-
} else {
|
|
404
|
-
return this.send(command, optionsOrCb);
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
/**
|
|
409
|
-
* <p>Deletes the specified <a>Firewall</a> and its <a>FirewallStatus</a>.
|
|
410
|
-
* This operation requires the firewall's <code>DeleteProtection</code> flag to be
|
|
411
|
-
* <code>FALSE</code>. You can't revert this operation. </p>
|
|
412
|
-
* <p>You can check whether a firewall is
|
|
413
|
-
* in use by reviewing the route tables for the Availability Zones where you have
|
|
414
|
-
* firewall subnet mappings. Retrieve the subnet mappings by calling <a>DescribeFirewall</a>.
|
|
415
|
-
* You define and update the route tables through Amazon VPC. As needed, update the route tables for the
|
|
416
|
-
* zones to remove the firewall endpoints. When the route tables no longer use the firewall endpoints,
|
|
417
|
-
* you can remove the firewall safely.</p>
|
|
418
|
-
* <p>To delete a firewall, remove the delete protection if you need to using <a>UpdateFirewallDeleteProtection</a>,
|
|
419
|
-
* then delete the firewall by calling <a>DeleteFirewall</a>. </p>
|
|
420
|
-
*/
|
|
421
|
-
public deleteFirewall(
|
|
422
|
-
args: DeleteFirewallCommandInput,
|
|
423
|
-
options?: __HttpHandlerOptions
|
|
424
|
-
): Promise<DeleteFirewallCommandOutput>;
|
|
425
|
-
public deleteFirewall(
|
|
426
|
-
args: DeleteFirewallCommandInput,
|
|
427
|
-
cb: (err: any, data?: DeleteFirewallCommandOutput) => void
|
|
428
|
-
): void;
|
|
429
|
-
public deleteFirewall(
|
|
430
|
-
args: DeleteFirewallCommandInput,
|
|
431
|
-
options: __HttpHandlerOptions,
|
|
432
|
-
cb: (err: any, data?: DeleteFirewallCommandOutput) => void
|
|
433
|
-
): void;
|
|
434
|
-
public deleteFirewall(
|
|
435
|
-
args: DeleteFirewallCommandInput,
|
|
436
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteFirewallCommandOutput) => void),
|
|
437
|
-
cb?: (err: any, data?: DeleteFirewallCommandOutput) => void
|
|
438
|
-
): Promise<DeleteFirewallCommandOutput> | void {
|
|
439
|
-
const command = new DeleteFirewallCommand(args);
|
|
440
|
-
if (typeof optionsOrCb === "function") {
|
|
441
|
-
this.send(command, optionsOrCb);
|
|
442
|
-
} else if (typeof cb === "function") {
|
|
443
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
444
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
445
|
-
} else {
|
|
446
|
-
return this.send(command, optionsOrCb);
|
|
447
|
-
}
|
|
448
|
-
}
|
|
449
|
-
|
|
450
|
-
/**
|
|
451
|
-
* <p>Deletes the specified <a>FirewallPolicy</a>. </p>
|
|
452
|
-
*/
|
|
453
|
-
public deleteFirewallPolicy(
|
|
454
|
-
args: DeleteFirewallPolicyCommandInput,
|
|
455
|
-
options?: __HttpHandlerOptions
|
|
456
|
-
): Promise<DeleteFirewallPolicyCommandOutput>;
|
|
457
|
-
public deleteFirewallPolicy(
|
|
458
|
-
args: DeleteFirewallPolicyCommandInput,
|
|
459
|
-
cb: (err: any, data?: DeleteFirewallPolicyCommandOutput) => void
|
|
460
|
-
): void;
|
|
461
|
-
public deleteFirewallPolicy(
|
|
462
|
-
args: DeleteFirewallPolicyCommandInput,
|
|
463
|
-
options: __HttpHandlerOptions,
|
|
464
|
-
cb: (err: any, data?: DeleteFirewallPolicyCommandOutput) => void
|
|
465
|
-
): void;
|
|
466
|
-
public deleteFirewallPolicy(
|
|
467
|
-
args: DeleteFirewallPolicyCommandInput,
|
|
468
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteFirewallPolicyCommandOutput) => void),
|
|
469
|
-
cb?: (err: any, data?: DeleteFirewallPolicyCommandOutput) => void
|
|
470
|
-
): Promise<DeleteFirewallPolicyCommandOutput> | void {
|
|
471
|
-
const command = new DeleteFirewallPolicyCommand(args);
|
|
472
|
-
if (typeof optionsOrCb === "function") {
|
|
473
|
-
this.send(command, optionsOrCb);
|
|
474
|
-
} else if (typeof cb === "function") {
|
|
475
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
476
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
477
|
-
} else {
|
|
478
|
-
return this.send(command, optionsOrCb);
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
|
-
|
|
482
|
-
/**
|
|
483
|
-
* <p>Deletes a resource policy that you created in a <a>PutResourcePolicy</a> request. </p>
|
|
484
|
-
*/
|
|
485
|
-
public deleteResourcePolicy(
|
|
486
|
-
args: DeleteResourcePolicyCommandInput,
|
|
487
|
-
options?: __HttpHandlerOptions
|
|
488
|
-
): Promise<DeleteResourcePolicyCommandOutput>;
|
|
489
|
-
public deleteResourcePolicy(
|
|
490
|
-
args: DeleteResourcePolicyCommandInput,
|
|
491
|
-
cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
|
|
492
|
-
): void;
|
|
493
|
-
public deleteResourcePolicy(
|
|
494
|
-
args: DeleteResourcePolicyCommandInput,
|
|
495
|
-
options: __HttpHandlerOptions,
|
|
496
|
-
cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
|
|
497
|
-
): void;
|
|
498
|
-
public deleteResourcePolicy(
|
|
499
|
-
args: DeleteResourcePolicyCommandInput,
|
|
500
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteResourcePolicyCommandOutput) => void),
|
|
501
|
-
cb?: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
|
|
502
|
-
): Promise<DeleteResourcePolicyCommandOutput> | void {
|
|
503
|
-
const command = new DeleteResourcePolicyCommand(args);
|
|
504
|
-
if (typeof optionsOrCb === "function") {
|
|
505
|
-
this.send(command, optionsOrCb);
|
|
506
|
-
} else if (typeof cb === "function") {
|
|
507
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
508
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
509
|
-
} else {
|
|
510
|
-
return this.send(command, optionsOrCb);
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
|
|
514
|
-
/**
|
|
515
|
-
* <p>Deletes the specified <a>RuleGroup</a>. </p>
|
|
516
|
-
*/
|
|
517
|
-
public deleteRuleGroup(
|
|
518
|
-
args: DeleteRuleGroupCommandInput,
|
|
519
|
-
options?: __HttpHandlerOptions
|
|
520
|
-
): Promise<DeleteRuleGroupCommandOutput>;
|
|
521
|
-
public deleteRuleGroup(
|
|
522
|
-
args: DeleteRuleGroupCommandInput,
|
|
523
|
-
cb: (err: any, data?: DeleteRuleGroupCommandOutput) => void
|
|
524
|
-
): void;
|
|
525
|
-
public deleteRuleGroup(
|
|
526
|
-
args: DeleteRuleGroupCommandInput,
|
|
527
|
-
options: __HttpHandlerOptions,
|
|
528
|
-
cb: (err: any, data?: DeleteRuleGroupCommandOutput) => void
|
|
529
|
-
): void;
|
|
530
|
-
public deleteRuleGroup(
|
|
531
|
-
args: DeleteRuleGroupCommandInput,
|
|
532
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteRuleGroupCommandOutput) => void),
|
|
533
|
-
cb?: (err: any, data?: DeleteRuleGroupCommandOutput) => void
|
|
534
|
-
): Promise<DeleteRuleGroupCommandOutput> | void {
|
|
535
|
-
const command = new DeleteRuleGroupCommand(args);
|
|
536
|
-
if (typeof optionsOrCb === "function") {
|
|
537
|
-
this.send(command, optionsOrCb);
|
|
538
|
-
} else if (typeof cb === "function") {
|
|
539
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
540
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
541
|
-
} else {
|
|
542
|
-
return this.send(command, optionsOrCb);
|
|
543
|
-
}
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
/**
|
|
547
|
-
* <p>Returns the data objects for the specified firewall. </p>
|
|
548
|
-
*/
|
|
549
|
-
public describeFirewall(
|
|
550
|
-
args: DescribeFirewallCommandInput,
|
|
551
|
-
options?: __HttpHandlerOptions
|
|
552
|
-
): Promise<DescribeFirewallCommandOutput>;
|
|
553
|
-
public describeFirewall(
|
|
554
|
-
args: DescribeFirewallCommandInput,
|
|
555
|
-
cb: (err: any, data?: DescribeFirewallCommandOutput) => void
|
|
556
|
-
): void;
|
|
557
|
-
public describeFirewall(
|
|
558
|
-
args: DescribeFirewallCommandInput,
|
|
559
|
-
options: __HttpHandlerOptions,
|
|
560
|
-
cb: (err: any, data?: DescribeFirewallCommandOutput) => void
|
|
561
|
-
): void;
|
|
562
|
-
public describeFirewall(
|
|
563
|
-
args: DescribeFirewallCommandInput,
|
|
564
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeFirewallCommandOutput) => void),
|
|
565
|
-
cb?: (err: any, data?: DescribeFirewallCommandOutput) => void
|
|
566
|
-
): Promise<DescribeFirewallCommandOutput> | void {
|
|
567
|
-
const command = new DescribeFirewallCommand(args);
|
|
568
|
-
if (typeof optionsOrCb === "function") {
|
|
569
|
-
this.send(command, optionsOrCb);
|
|
570
|
-
} else if (typeof cb === "function") {
|
|
571
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
572
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
573
|
-
} else {
|
|
574
|
-
return this.send(command, optionsOrCb);
|
|
575
|
-
}
|
|
576
|
-
}
|
|
577
|
-
|
|
578
|
-
/**
|
|
579
|
-
* <p>Returns the data objects for the specified firewall policy. </p>
|
|
580
|
-
*/
|
|
581
|
-
public describeFirewallPolicy(
|
|
582
|
-
args: DescribeFirewallPolicyCommandInput,
|
|
583
|
-
options?: __HttpHandlerOptions
|
|
584
|
-
): Promise<DescribeFirewallPolicyCommandOutput>;
|
|
585
|
-
public describeFirewallPolicy(
|
|
586
|
-
args: DescribeFirewallPolicyCommandInput,
|
|
587
|
-
cb: (err: any, data?: DescribeFirewallPolicyCommandOutput) => void
|
|
588
|
-
): void;
|
|
589
|
-
public describeFirewallPolicy(
|
|
590
|
-
args: DescribeFirewallPolicyCommandInput,
|
|
591
|
-
options: __HttpHandlerOptions,
|
|
592
|
-
cb: (err: any, data?: DescribeFirewallPolicyCommandOutput) => void
|
|
593
|
-
): void;
|
|
594
|
-
public describeFirewallPolicy(
|
|
595
|
-
args: DescribeFirewallPolicyCommandInput,
|
|
596
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeFirewallPolicyCommandOutput) => void),
|
|
597
|
-
cb?: (err: any, data?: DescribeFirewallPolicyCommandOutput) => void
|
|
598
|
-
): Promise<DescribeFirewallPolicyCommandOutput> | void {
|
|
599
|
-
const command = new DescribeFirewallPolicyCommand(args);
|
|
600
|
-
if (typeof optionsOrCb === "function") {
|
|
601
|
-
this.send(command, optionsOrCb);
|
|
602
|
-
} else if (typeof cb === "function") {
|
|
603
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
604
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
605
|
-
} else {
|
|
606
|
-
return this.send(command, optionsOrCb);
|
|
607
|
-
}
|
|
608
|
-
}
|
|
609
|
-
|
|
610
|
-
/**
|
|
611
|
-
* <p>Returns the logging configuration for the specified firewall. </p>
|
|
612
|
-
*/
|
|
613
|
-
public describeLoggingConfiguration(
|
|
614
|
-
args: DescribeLoggingConfigurationCommandInput,
|
|
615
|
-
options?: __HttpHandlerOptions
|
|
616
|
-
): Promise<DescribeLoggingConfigurationCommandOutput>;
|
|
617
|
-
public describeLoggingConfiguration(
|
|
618
|
-
args: DescribeLoggingConfigurationCommandInput,
|
|
619
|
-
cb: (err: any, data?: DescribeLoggingConfigurationCommandOutput) => void
|
|
620
|
-
): void;
|
|
621
|
-
public describeLoggingConfiguration(
|
|
622
|
-
args: DescribeLoggingConfigurationCommandInput,
|
|
623
|
-
options: __HttpHandlerOptions,
|
|
624
|
-
cb: (err: any, data?: DescribeLoggingConfigurationCommandOutput) => void
|
|
625
|
-
): void;
|
|
626
|
-
public describeLoggingConfiguration(
|
|
627
|
-
args: DescribeLoggingConfigurationCommandInput,
|
|
628
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeLoggingConfigurationCommandOutput) => void),
|
|
629
|
-
cb?: (err: any, data?: DescribeLoggingConfigurationCommandOutput) => void
|
|
630
|
-
): Promise<DescribeLoggingConfigurationCommandOutput> | void {
|
|
631
|
-
const command = new DescribeLoggingConfigurationCommand(args);
|
|
632
|
-
if (typeof optionsOrCb === "function") {
|
|
633
|
-
this.send(command, optionsOrCb);
|
|
634
|
-
} else if (typeof cb === "function") {
|
|
635
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
636
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
637
|
-
} else {
|
|
638
|
-
return this.send(command, optionsOrCb);
|
|
639
|
-
}
|
|
640
|
-
}
|
|
641
|
-
|
|
642
|
-
/**
|
|
643
|
-
* <p>Retrieves a resource policy that you created in a <a>PutResourcePolicy</a> request. </p>
|
|
644
|
-
*/
|
|
645
|
-
public describeResourcePolicy(
|
|
646
|
-
args: DescribeResourcePolicyCommandInput,
|
|
647
|
-
options?: __HttpHandlerOptions
|
|
648
|
-
): Promise<DescribeResourcePolicyCommandOutput>;
|
|
649
|
-
public describeResourcePolicy(
|
|
650
|
-
args: DescribeResourcePolicyCommandInput,
|
|
651
|
-
cb: (err: any, data?: DescribeResourcePolicyCommandOutput) => void
|
|
652
|
-
): void;
|
|
653
|
-
public describeResourcePolicy(
|
|
654
|
-
args: DescribeResourcePolicyCommandInput,
|
|
655
|
-
options: __HttpHandlerOptions,
|
|
656
|
-
cb: (err: any, data?: DescribeResourcePolicyCommandOutput) => void
|
|
657
|
-
): void;
|
|
658
|
-
public describeResourcePolicy(
|
|
659
|
-
args: DescribeResourcePolicyCommandInput,
|
|
660
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeResourcePolicyCommandOutput) => void),
|
|
661
|
-
cb?: (err: any, data?: DescribeResourcePolicyCommandOutput) => void
|
|
662
|
-
): Promise<DescribeResourcePolicyCommandOutput> | void {
|
|
663
|
-
const command = new DescribeResourcePolicyCommand(args);
|
|
664
|
-
if (typeof optionsOrCb === "function") {
|
|
665
|
-
this.send(command, optionsOrCb);
|
|
666
|
-
} else if (typeof cb === "function") {
|
|
667
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
668
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
669
|
-
} else {
|
|
670
|
-
return this.send(command, optionsOrCb);
|
|
671
|
-
}
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
/**
|
|
675
|
-
* <p>Returns the data objects for the specified rule group. </p>
|
|
676
|
-
*/
|
|
677
|
-
public describeRuleGroup(
|
|
678
|
-
args: DescribeRuleGroupCommandInput,
|
|
679
|
-
options?: __HttpHandlerOptions
|
|
680
|
-
): Promise<DescribeRuleGroupCommandOutput>;
|
|
681
|
-
public describeRuleGroup(
|
|
682
|
-
args: DescribeRuleGroupCommandInput,
|
|
683
|
-
cb: (err: any, data?: DescribeRuleGroupCommandOutput) => void
|
|
684
|
-
): void;
|
|
685
|
-
public describeRuleGroup(
|
|
686
|
-
args: DescribeRuleGroupCommandInput,
|
|
687
|
-
options: __HttpHandlerOptions,
|
|
688
|
-
cb: (err: any, data?: DescribeRuleGroupCommandOutput) => void
|
|
689
|
-
): void;
|
|
690
|
-
public describeRuleGroup(
|
|
691
|
-
args: DescribeRuleGroupCommandInput,
|
|
692
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeRuleGroupCommandOutput) => void),
|
|
693
|
-
cb?: (err: any, data?: DescribeRuleGroupCommandOutput) => void
|
|
694
|
-
): Promise<DescribeRuleGroupCommandOutput> | void {
|
|
695
|
-
const command = new DescribeRuleGroupCommand(args);
|
|
696
|
-
if (typeof optionsOrCb === "function") {
|
|
697
|
-
this.send(command, optionsOrCb);
|
|
698
|
-
} else if (typeof cb === "function") {
|
|
699
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
700
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
701
|
-
} else {
|
|
702
|
-
return this.send(command, optionsOrCb);
|
|
703
|
-
}
|
|
704
|
-
}
|
|
705
|
-
|
|
706
|
-
/**
|
|
707
|
-
* <p>Removes the specified subnet associations from the firewall. This removes the
|
|
708
|
-
* firewall endpoints from the subnets and removes any network filtering protections that the endpoints
|
|
709
|
-
* were providing.
|
|
710
|
-
* </p>
|
|
711
|
-
*/
|
|
712
|
-
public disassociateSubnets(
|
|
713
|
-
args: DisassociateSubnetsCommandInput,
|
|
714
|
-
options?: __HttpHandlerOptions
|
|
715
|
-
): Promise<DisassociateSubnetsCommandOutput>;
|
|
716
|
-
public disassociateSubnets(
|
|
717
|
-
args: DisassociateSubnetsCommandInput,
|
|
718
|
-
cb: (err: any, data?: DisassociateSubnetsCommandOutput) => void
|
|
719
|
-
): void;
|
|
720
|
-
public disassociateSubnets(
|
|
721
|
-
args: DisassociateSubnetsCommandInput,
|
|
722
|
-
options: __HttpHandlerOptions,
|
|
723
|
-
cb: (err: any, data?: DisassociateSubnetsCommandOutput) => void
|
|
724
|
-
): void;
|
|
725
|
-
public disassociateSubnets(
|
|
726
|
-
args: DisassociateSubnetsCommandInput,
|
|
727
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DisassociateSubnetsCommandOutput) => void),
|
|
728
|
-
cb?: (err: any, data?: DisassociateSubnetsCommandOutput) => void
|
|
729
|
-
): Promise<DisassociateSubnetsCommandOutput> | void {
|
|
730
|
-
const command = new DisassociateSubnetsCommand(args);
|
|
731
|
-
if (typeof optionsOrCb === "function") {
|
|
732
|
-
this.send(command, optionsOrCb);
|
|
733
|
-
} else if (typeof cb === "function") {
|
|
734
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
735
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
736
|
-
} else {
|
|
737
|
-
return this.send(command, optionsOrCb);
|
|
738
|
-
}
|
|
739
|
-
}
|
|
740
|
-
|
|
741
|
-
/**
|
|
742
|
-
* <p>Retrieves the metadata for the firewall policies that you have defined. Depending on
|
|
743
|
-
* your setting for max results and the number of firewall policies, a single call might not
|
|
744
|
-
* return the full list. </p>
|
|
745
|
-
*/
|
|
746
|
-
public listFirewallPolicies(
|
|
747
|
-
args: ListFirewallPoliciesCommandInput,
|
|
748
|
-
options?: __HttpHandlerOptions
|
|
749
|
-
): Promise<ListFirewallPoliciesCommandOutput>;
|
|
750
|
-
public listFirewallPolicies(
|
|
751
|
-
args: ListFirewallPoliciesCommandInput,
|
|
752
|
-
cb: (err: any, data?: ListFirewallPoliciesCommandOutput) => void
|
|
753
|
-
): void;
|
|
754
|
-
public listFirewallPolicies(
|
|
755
|
-
args: ListFirewallPoliciesCommandInput,
|
|
756
|
-
options: __HttpHandlerOptions,
|
|
757
|
-
cb: (err: any, data?: ListFirewallPoliciesCommandOutput) => void
|
|
758
|
-
): void;
|
|
759
|
-
public listFirewallPolicies(
|
|
760
|
-
args: ListFirewallPoliciesCommandInput,
|
|
761
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListFirewallPoliciesCommandOutput) => void),
|
|
762
|
-
cb?: (err: any, data?: ListFirewallPoliciesCommandOutput) => void
|
|
763
|
-
): Promise<ListFirewallPoliciesCommandOutput> | void {
|
|
764
|
-
const command = new ListFirewallPoliciesCommand(args);
|
|
765
|
-
if (typeof optionsOrCb === "function") {
|
|
766
|
-
this.send(command, optionsOrCb);
|
|
767
|
-
} else if (typeof cb === "function") {
|
|
768
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
769
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
770
|
-
} else {
|
|
771
|
-
return this.send(command, optionsOrCb);
|
|
772
|
-
}
|
|
773
|
-
}
|
|
774
|
-
|
|
775
|
-
/**
|
|
776
|
-
* <p>Retrieves the metadata for the firewalls that you have defined. If you provide VPC
|
|
777
|
-
* identifiers in your request, this returns only the firewalls for those VPCs.</p>
|
|
778
|
-
* <p>Depending on your setting for max results and the number of firewalls, a single call
|
|
779
|
-
* might not return the full list. </p>
|
|
780
|
-
*/
|
|
781
|
-
public listFirewalls(
|
|
782
|
-
args: ListFirewallsCommandInput,
|
|
783
|
-
options?: __HttpHandlerOptions
|
|
784
|
-
): Promise<ListFirewallsCommandOutput>;
|
|
785
|
-
public listFirewalls(
|
|
786
|
-
args: ListFirewallsCommandInput,
|
|
787
|
-
cb: (err: any, data?: ListFirewallsCommandOutput) => void
|
|
788
|
-
): void;
|
|
789
|
-
public listFirewalls(
|
|
790
|
-
args: ListFirewallsCommandInput,
|
|
791
|
-
options: __HttpHandlerOptions,
|
|
792
|
-
cb: (err: any, data?: ListFirewallsCommandOutput) => void
|
|
793
|
-
): void;
|
|
794
|
-
public listFirewalls(
|
|
795
|
-
args: ListFirewallsCommandInput,
|
|
796
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListFirewallsCommandOutput) => void),
|
|
797
|
-
cb?: (err: any, data?: ListFirewallsCommandOutput) => void
|
|
798
|
-
): Promise<ListFirewallsCommandOutput> | void {
|
|
799
|
-
const command = new ListFirewallsCommand(args);
|
|
800
|
-
if (typeof optionsOrCb === "function") {
|
|
801
|
-
this.send(command, optionsOrCb);
|
|
802
|
-
} else if (typeof cb === "function") {
|
|
803
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
804
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
805
|
-
} else {
|
|
806
|
-
return this.send(command, optionsOrCb);
|
|
807
|
-
}
|
|
808
|
-
}
|
|
809
|
-
|
|
810
|
-
/**
|
|
811
|
-
* <p>Retrieves the metadata for the rule groups that you have defined. Depending on your
|
|
812
|
-
* setting for max results and the number of rule groups, a single call might not return the
|
|
813
|
-
* full list. </p>
|
|
814
|
-
*/
|
|
815
|
-
public listRuleGroups(
|
|
816
|
-
args: ListRuleGroupsCommandInput,
|
|
817
|
-
options?: __HttpHandlerOptions
|
|
818
|
-
): Promise<ListRuleGroupsCommandOutput>;
|
|
819
|
-
public listRuleGroups(
|
|
820
|
-
args: ListRuleGroupsCommandInput,
|
|
821
|
-
cb: (err: any, data?: ListRuleGroupsCommandOutput) => void
|
|
822
|
-
): void;
|
|
823
|
-
public listRuleGroups(
|
|
824
|
-
args: ListRuleGroupsCommandInput,
|
|
825
|
-
options: __HttpHandlerOptions,
|
|
826
|
-
cb: (err: any, data?: ListRuleGroupsCommandOutput) => void
|
|
827
|
-
): void;
|
|
828
|
-
public listRuleGroups(
|
|
829
|
-
args: ListRuleGroupsCommandInput,
|
|
830
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListRuleGroupsCommandOutput) => void),
|
|
831
|
-
cb?: (err: any, data?: ListRuleGroupsCommandOutput) => void
|
|
832
|
-
): Promise<ListRuleGroupsCommandOutput> | void {
|
|
833
|
-
const command = new ListRuleGroupsCommand(args);
|
|
834
|
-
if (typeof optionsOrCb === "function") {
|
|
835
|
-
this.send(command, optionsOrCb);
|
|
836
|
-
} else if (typeof cb === "function") {
|
|
837
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
838
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
839
|
-
} else {
|
|
840
|
-
return this.send(command, optionsOrCb);
|
|
841
|
-
}
|
|
842
|
-
}
|
|
843
|
-
|
|
844
|
-
/**
|
|
845
|
-
* <p>Retrieves the tags associated with the specified resource. Tags are key:value pairs that
|
|
846
|
-
* you can use to categorize and manage your resources, for purposes like billing. For
|
|
847
|
-
* example, you might set the tag key to "customer" and the value to the customer name or ID.
|
|
848
|
-
* You can specify one or more tags to add to each AWS resource, up to 50 tags for a
|
|
849
|
-
* resource.</p>
|
|
850
|
-
* <p>You can tag the AWS resources that you manage through AWS Network Firewall: firewalls, firewall
|
|
851
|
-
* policies, and rule groups. </p>
|
|
852
|
-
*/
|
|
853
|
-
public listTagsForResource(
|
|
854
|
-
args: ListTagsForResourceCommandInput,
|
|
855
|
-
options?: __HttpHandlerOptions
|
|
856
|
-
): Promise<ListTagsForResourceCommandOutput>;
|
|
857
|
-
public listTagsForResource(
|
|
858
|
-
args: ListTagsForResourceCommandInput,
|
|
859
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
860
|
-
): void;
|
|
861
|
-
public listTagsForResource(
|
|
862
|
-
args: ListTagsForResourceCommandInput,
|
|
863
|
-
options: __HttpHandlerOptions,
|
|
864
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
865
|
-
): void;
|
|
866
|
-
public listTagsForResource(
|
|
867
|
-
args: ListTagsForResourceCommandInput,
|
|
868
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
|
|
869
|
-
cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
870
|
-
): Promise<ListTagsForResourceCommandOutput> | void {
|
|
871
|
-
const command = new ListTagsForResourceCommand(args);
|
|
872
|
-
if (typeof optionsOrCb === "function") {
|
|
873
|
-
this.send(command, optionsOrCb);
|
|
874
|
-
} else if (typeof cb === "function") {
|
|
875
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
876
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
877
|
-
} else {
|
|
878
|
-
return this.send(command, optionsOrCb);
|
|
879
|
-
}
|
|
880
|
-
}
|
|
881
|
-
|
|
882
|
-
/**
|
|
883
|
-
* <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
|
|
884
|
-
* to manage resource sharing for Network Firewall. </p>
|
|
885
|
-
* <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>
|
|
886
|
-
* <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>
|
|
887
|
-
* <ul>
|
|
888
|
-
* <li>
|
|
889
|
-
* <p>
|
|
890
|
-
* <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>
|
|
891
|
-
* </li>
|
|
892
|
-
* <li>
|
|
893
|
-
* <p>
|
|
894
|
-
* <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>
|
|
895
|
-
* </li>
|
|
896
|
-
* </ul>
|
|
897
|
-
* <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>
|
|
898
|
-
*/
|
|
899
|
-
public putResourcePolicy(
|
|
900
|
-
args: PutResourcePolicyCommandInput,
|
|
901
|
-
options?: __HttpHandlerOptions
|
|
902
|
-
): Promise<PutResourcePolicyCommandOutput>;
|
|
903
|
-
public putResourcePolicy(
|
|
904
|
-
args: PutResourcePolicyCommandInput,
|
|
905
|
-
cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
|
|
906
|
-
): void;
|
|
907
|
-
public putResourcePolicy(
|
|
908
|
-
args: PutResourcePolicyCommandInput,
|
|
909
|
-
options: __HttpHandlerOptions,
|
|
910
|
-
cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
|
|
911
|
-
): void;
|
|
912
|
-
public putResourcePolicy(
|
|
913
|
-
args: PutResourcePolicyCommandInput,
|
|
914
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutResourcePolicyCommandOutput) => void),
|
|
915
|
-
cb?: (err: any, data?: PutResourcePolicyCommandOutput) => void
|
|
916
|
-
): Promise<PutResourcePolicyCommandOutput> | void {
|
|
917
|
-
const command = new PutResourcePolicyCommand(args);
|
|
918
|
-
if (typeof optionsOrCb === "function") {
|
|
919
|
-
this.send(command, optionsOrCb);
|
|
920
|
-
} else if (typeof cb === "function") {
|
|
921
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
922
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
923
|
-
} else {
|
|
924
|
-
return this.send(command, optionsOrCb);
|
|
925
|
-
}
|
|
926
|
-
}
|
|
927
|
-
|
|
928
|
-
/**
|
|
929
|
-
* <p>Adds the specified tags to the specified resource. Tags are key:value pairs that you can
|
|
930
|
-
* use to categorize and manage your resources, for purposes like billing. For example, you
|
|
931
|
-
* might set the tag key to "customer" and the value to the customer name or ID. You can
|
|
932
|
-
* specify one or more tags to add to each AWS resource, up to 50 tags for a resource.</p>
|
|
933
|
-
* <p>You can tag the AWS resources that you manage through AWS Network Firewall: firewalls, firewall
|
|
934
|
-
* policies, and rule groups. </p>
|
|
935
|
-
*/
|
|
936
|
-
public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
937
|
-
public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
938
|
-
public tagResource(
|
|
939
|
-
args: TagResourceCommandInput,
|
|
940
|
-
options: __HttpHandlerOptions,
|
|
941
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
942
|
-
): void;
|
|
943
|
-
public tagResource(
|
|
944
|
-
args: TagResourceCommandInput,
|
|
945
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
|
|
946
|
-
cb?: (err: any, data?: TagResourceCommandOutput) => void
|
|
947
|
-
): Promise<TagResourceCommandOutput> | void {
|
|
948
|
-
const command = new TagResourceCommand(args);
|
|
949
|
-
if (typeof optionsOrCb === "function") {
|
|
950
|
-
this.send(command, optionsOrCb);
|
|
951
|
-
} else if (typeof cb === "function") {
|
|
952
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
953
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
954
|
-
} else {
|
|
955
|
-
return this.send(command, optionsOrCb);
|
|
956
|
-
}
|
|
957
|
-
}
|
|
958
|
-
|
|
959
|
-
/**
|
|
960
|
-
* <p>Removes the tags with the specified keys from the specified resource. Tags are key:value
|
|
961
|
-
* pairs that you can use to categorize and manage your resources, for purposes like billing.
|
|
962
|
-
* For example, you might set the tag key to "customer" and the value to the customer name or
|
|
963
|
-
* ID. You can specify one or more tags to add to each AWS resource, up to 50 tags for a
|
|
964
|
-
* resource.</p>
|
|
965
|
-
* <p>You can manage tags for the AWS resources that you manage through AWS Network Firewall:
|
|
966
|
-
* firewalls, firewall policies, and rule groups. </p>
|
|
967
|
-
*/
|
|
968
|
-
public untagResource(
|
|
969
|
-
args: UntagResourceCommandInput,
|
|
970
|
-
options?: __HttpHandlerOptions
|
|
971
|
-
): Promise<UntagResourceCommandOutput>;
|
|
972
|
-
public untagResource(
|
|
973
|
-
args: UntagResourceCommandInput,
|
|
974
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
975
|
-
): void;
|
|
976
|
-
public untagResource(
|
|
977
|
-
args: UntagResourceCommandInput,
|
|
978
|
-
options: __HttpHandlerOptions,
|
|
979
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
980
|
-
): void;
|
|
981
|
-
public untagResource(
|
|
982
|
-
args: UntagResourceCommandInput,
|
|
983
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
|
|
984
|
-
cb?: (err: any, data?: UntagResourceCommandOutput) => void
|
|
985
|
-
): Promise<UntagResourceCommandOutput> | void {
|
|
986
|
-
const command = new UntagResourceCommand(args);
|
|
987
|
-
if (typeof optionsOrCb === "function") {
|
|
988
|
-
this.send(command, optionsOrCb);
|
|
989
|
-
} else if (typeof cb === "function") {
|
|
990
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
991
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
992
|
-
} else {
|
|
993
|
-
return this.send(command, optionsOrCb);
|
|
994
|
-
}
|
|
995
|
-
}
|
|
996
|
-
|
|
997
|
-
/**
|
|
998
|
-
* <p>Modifies the flag, <code>DeleteProtection</code>, which indicates whether it is possible
|
|
999
|
-
* to delete the firewall. If the flag is set to <code>TRUE</code>, the firewall is protected
|
|
1000
|
-
* against deletion. This setting helps protect against accidentally deleting a firewall
|
|
1001
|
-
* that's in use. </p>
|
|
1002
|
-
*/
|
|
1003
|
-
public updateFirewallDeleteProtection(
|
|
1004
|
-
args: UpdateFirewallDeleteProtectionCommandInput,
|
|
1005
|
-
options?: __HttpHandlerOptions
|
|
1006
|
-
): Promise<UpdateFirewallDeleteProtectionCommandOutput>;
|
|
1007
|
-
public updateFirewallDeleteProtection(
|
|
1008
|
-
args: UpdateFirewallDeleteProtectionCommandInput,
|
|
1009
|
-
cb: (err: any, data?: UpdateFirewallDeleteProtectionCommandOutput) => void
|
|
1010
|
-
): void;
|
|
1011
|
-
public updateFirewallDeleteProtection(
|
|
1012
|
-
args: UpdateFirewallDeleteProtectionCommandInput,
|
|
1013
|
-
options: __HttpHandlerOptions,
|
|
1014
|
-
cb: (err: any, data?: UpdateFirewallDeleteProtectionCommandOutput) => void
|
|
1015
|
-
): void;
|
|
1016
|
-
public updateFirewallDeleteProtection(
|
|
1017
|
-
args: UpdateFirewallDeleteProtectionCommandInput,
|
|
1018
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateFirewallDeleteProtectionCommandOutput) => void),
|
|
1019
|
-
cb?: (err: any, data?: UpdateFirewallDeleteProtectionCommandOutput) => void
|
|
1020
|
-
): Promise<UpdateFirewallDeleteProtectionCommandOutput> | void {
|
|
1021
|
-
const command = new UpdateFirewallDeleteProtectionCommand(args);
|
|
1022
|
-
if (typeof optionsOrCb === "function") {
|
|
1023
|
-
this.send(command, optionsOrCb);
|
|
1024
|
-
} else if (typeof cb === "function") {
|
|
1025
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1026
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1027
|
-
} else {
|
|
1028
|
-
return this.send(command, optionsOrCb);
|
|
1029
|
-
}
|
|
1030
|
-
}
|
|
1031
|
-
|
|
1032
|
-
/**
|
|
1033
|
-
* <p>Modifies the description for the specified firewall. Use the description to help you
|
|
1034
|
-
* identify the firewall when you're working with it. </p>
|
|
1035
|
-
*/
|
|
1036
|
-
public updateFirewallDescription(
|
|
1037
|
-
args: UpdateFirewallDescriptionCommandInput,
|
|
1038
|
-
options?: __HttpHandlerOptions
|
|
1039
|
-
): Promise<UpdateFirewallDescriptionCommandOutput>;
|
|
1040
|
-
public updateFirewallDescription(
|
|
1041
|
-
args: UpdateFirewallDescriptionCommandInput,
|
|
1042
|
-
cb: (err: any, data?: UpdateFirewallDescriptionCommandOutput) => void
|
|
1043
|
-
): void;
|
|
1044
|
-
public updateFirewallDescription(
|
|
1045
|
-
args: UpdateFirewallDescriptionCommandInput,
|
|
1046
|
-
options: __HttpHandlerOptions,
|
|
1047
|
-
cb: (err: any, data?: UpdateFirewallDescriptionCommandOutput) => void
|
|
1048
|
-
): void;
|
|
1049
|
-
public updateFirewallDescription(
|
|
1050
|
-
args: UpdateFirewallDescriptionCommandInput,
|
|
1051
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateFirewallDescriptionCommandOutput) => void),
|
|
1052
|
-
cb?: (err: any, data?: UpdateFirewallDescriptionCommandOutput) => void
|
|
1053
|
-
): Promise<UpdateFirewallDescriptionCommandOutput> | void {
|
|
1054
|
-
const command = new UpdateFirewallDescriptionCommand(args);
|
|
1055
|
-
if (typeof optionsOrCb === "function") {
|
|
1056
|
-
this.send(command, optionsOrCb);
|
|
1057
|
-
} else if (typeof cb === "function") {
|
|
1058
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1059
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1060
|
-
} else {
|
|
1061
|
-
return this.send(command, optionsOrCb);
|
|
1062
|
-
}
|
|
1063
|
-
}
|
|
1064
|
-
|
|
1065
|
-
/**
|
|
1066
|
-
* <p>Updates the properties of the specified firewall policy.</p>
|
|
1067
|
-
*/
|
|
1068
|
-
public updateFirewallPolicy(
|
|
1069
|
-
args: UpdateFirewallPolicyCommandInput,
|
|
1070
|
-
options?: __HttpHandlerOptions
|
|
1071
|
-
): Promise<UpdateFirewallPolicyCommandOutput>;
|
|
1072
|
-
public updateFirewallPolicy(
|
|
1073
|
-
args: UpdateFirewallPolicyCommandInput,
|
|
1074
|
-
cb: (err: any, data?: UpdateFirewallPolicyCommandOutput) => void
|
|
1075
|
-
): void;
|
|
1076
|
-
public updateFirewallPolicy(
|
|
1077
|
-
args: UpdateFirewallPolicyCommandInput,
|
|
1078
|
-
options: __HttpHandlerOptions,
|
|
1079
|
-
cb: (err: any, data?: UpdateFirewallPolicyCommandOutput) => void
|
|
1080
|
-
): void;
|
|
1081
|
-
public updateFirewallPolicy(
|
|
1082
|
-
args: UpdateFirewallPolicyCommandInput,
|
|
1083
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateFirewallPolicyCommandOutput) => void),
|
|
1084
|
-
cb?: (err: any, data?: UpdateFirewallPolicyCommandOutput) => void
|
|
1085
|
-
): Promise<UpdateFirewallPolicyCommandOutput> | void {
|
|
1086
|
-
const command = new UpdateFirewallPolicyCommand(args);
|
|
1087
|
-
if (typeof optionsOrCb === "function") {
|
|
1088
|
-
this.send(command, optionsOrCb);
|
|
1089
|
-
} else if (typeof cb === "function") {
|
|
1090
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1091
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1092
|
-
} else {
|
|
1093
|
-
return this.send(command, optionsOrCb);
|
|
1094
|
-
}
|
|
1095
|
-
}
|
|
1096
|
-
|
|
1097
|
-
/**
|
|
1098
|
-
* <p></p>
|
|
1099
|
-
*/
|
|
1100
|
-
public updateFirewallPolicyChangeProtection(
|
|
1101
|
-
args: UpdateFirewallPolicyChangeProtectionCommandInput,
|
|
1102
|
-
options?: __HttpHandlerOptions
|
|
1103
|
-
): Promise<UpdateFirewallPolicyChangeProtectionCommandOutput>;
|
|
1104
|
-
public updateFirewallPolicyChangeProtection(
|
|
1105
|
-
args: UpdateFirewallPolicyChangeProtectionCommandInput,
|
|
1106
|
-
cb: (err: any, data?: UpdateFirewallPolicyChangeProtectionCommandOutput) => void
|
|
1107
|
-
): void;
|
|
1108
|
-
public updateFirewallPolicyChangeProtection(
|
|
1109
|
-
args: UpdateFirewallPolicyChangeProtectionCommandInput,
|
|
1110
|
-
options: __HttpHandlerOptions,
|
|
1111
|
-
cb: (err: any, data?: UpdateFirewallPolicyChangeProtectionCommandOutput) => void
|
|
1112
|
-
): void;
|
|
1113
|
-
public updateFirewallPolicyChangeProtection(
|
|
1114
|
-
args: UpdateFirewallPolicyChangeProtectionCommandInput,
|
|
1115
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateFirewallPolicyChangeProtectionCommandOutput) => void),
|
|
1116
|
-
cb?: (err: any, data?: UpdateFirewallPolicyChangeProtectionCommandOutput) => void
|
|
1117
|
-
): Promise<UpdateFirewallPolicyChangeProtectionCommandOutput> | void {
|
|
1118
|
-
const command = new UpdateFirewallPolicyChangeProtectionCommand(args);
|
|
1119
|
-
if (typeof optionsOrCb === "function") {
|
|
1120
|
-
this.send(command, optionsOrCb);
|
|
1121
|
-
} else if (typeof cb === "function") {
|
|
1122
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1123
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1124
|
-
} else {
|
|
1125
|
-
return this.send(command, optionsOrCb);
|
|
1126
|
-
}
|
|
1127
|
-
}
|
|
1128
|
-
|
|
1129
|
-
/**
|
|
1130
|
-
* <p>Sets the logging configuration for the specified firewall. </p>
|
|
1131
|
-
* <p>To change the logging configuration, retrieve the <a>LoggingConfiguration</a> by calling <a>DescribeLoggingConfiguration</a>, then change it and provide
|
|
1132
|
-
* the modified object to this update call. You must change the logging configuration one
|
|
1133
|
-
* <a>LogDestinationConfig</a> at a time inside the retrieved <a>LoggingConfiguration</a> object. </p>
|
|
1134
|
-
* <p>You can perform only one of the following actions in any call to
|
|
1135
|
-
* <code>UpdateLoggingConfiguration</code>: </p>
|
|
1136
|
-
* <ul>
|
|
1137
|
-
* <li>
|
|
1138
|
-
* <p>Create a new log destination object by adding a single
|
|
1139
|
-
* <code>LogDestinationConfig</code> array element to
|
|
1140
|
-
* <code>LogDestinationConfigs</code>.</p>
|
|
1141
|
-
* </li>
|
|
1142
|
-
* <li>
|
|
1143
|
-
* <p>Delete a log destination object by removing a single
|
|
1144
|
-
* <code>LogDestinationConfig</code> array element from
|
|
1145
|
-
* <code>LogDestinationConfigs</code>.</p>
|
|
1146
|
-
* </li>
|
|
1147
|
-
* <li>
|
|
1148
|
-
* <p>Change the <code>LogDestination</code> setting in a single
|
|
1149
|
-
* <code>LogDestinationConfig</code> array element.</p>
|
|
1150
|
-
* </li>
|
|
1151
|
-
* </ul>
|
|
1152
|
-
* <p>You can't change the <code>LogDestinationType</code> or <code>LogType</code> in a
|
|
1153
|
-
* <code>LogDestinationConfig</code>. To change these settings, delete the existing
|
|
1154
|
-
* <code>LogDestinationConfig</code> object and create a new one, using two separate calls
|
|
1155
|
-
* to this update operation.</p>
|
|
1156
|
-
*/
|
|
1157
|
-
public updateLoggingConfiguration(
|
|
1158
|
-
args: UpdateLoggingConfigurationCommandInput,
|
|
1159
|
-
options?: __HttpHandlerOptions
|
|
1160
|
-
): Promise<UpdateLoggingConfigurationCommandOutput>;
|
|
1161
|
-
public updateLoggingConfiguration(
|
|
1162
|
-
args: UpdateLoggingConfigurationCommandInput,
|
|
1163
|
-
cb: (err: any, data?: UpdateLoggingConfigurationCommandOutput) => void
|
|
1164
|
-
): void;
|
|
1165
|
-
public updateLoggingConfiguration(
|
|
1166
|
-
args: UpdateLoggingConfigurationCommandInput,
|
|
1167
|
-
options: __HttpHandlerOptions,
|
|
1168
|
-
cb: (err: any, data?: UpdateLoggingConfigurationCommandOutput) => void
|
|
1169
|
-
): void;
|
|
1170
|
-
public updateLoggingConfiguration(
|
|
1171
|
-
args: UpdateLoggingConfigurationCommandInput,
|
|
1172
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateLoggingConfigurationCommandOutput) => void),
|
|
1173
|
-
cb?: (err: any, data?: UpdateLoggingConfigurationCommandOutput) => void
|
|
1174
|
-
): Promise<UpdateLoggingConfigurationCommandOutput> | void {
|
|
1175
|
-
const command = new UpdateLoggingConfigurationCommand(args);
|
|
1176
|
-
if (typeof optionsOrCb === "function") {
|
|
1177
|
-
this.send(command, optionsOrCb);
|
|
1178
|
-
} else if (typeof cb === "function") {
|
|
1179
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1180
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1181
|
-
} else {
|
|
1182
|
-
return this.send(command, optionsOrCb);
|
|
1183
|
-
}
|
|
1184
|
-
}
|
|
1185
|
-
|
|
1186
|
-
/**
|
|
1187
|
-
* <p>Updates the rule settings for the specified rule group. You use a rule group by
|
|
1188
|
-
* reference in one or more firewall policies. When you modify a rule group, you modify all
|
|
1189
|
-
* firewall policies that use the rule group. </p>
|
|
1190
|
-
* <p>To update a rule group, first call <a>DescribeRuleGroup</a> to retrieve the
|
|
1191
|
-
* current <a>RuleGroup</a> object, update the object as needed, and then provide
|
|
1192
|
-
* the updated object to this call. </p>
|
|
1193
|
-
*/
|
|
1194
|
-
public updateRuleGroup(
|
|
1195
|
-
args: UpdateRuleGroupCommandInput,
|
|
1196
|
-
options?: __HttpHandlerOptions
|
|
1197
|
-
): Promise<UpdateRuleGroupCommandOutput>;
|
|
1198
|
-
public updateRuleGroup(
|
|
1199
|
-
args: UpdateRuleGroupCommandInput,
|
|
1200
|
-
cb: (err: any, data?: UpdateRuleGroupCommandOutput) => void
|
|
1201
|
-
): void;
|
|
1202
|
-
public updateRuleGroup(
|
|
1203
|
-
args: UpdateRuleGroupCommandInput,
|
|
1204
|
-
options: __HttpHandlerOptions,
|
|
1205
|
-
cb: (err: any, data?: UpdateRuleGroupCommandOutput) => void
|
|
1206
|
-
): void;
|
|
1207
|
-
public updateRuleGroup(
|
|
1208
|
-
args: UpdateRuleGroupCommandInput,
|
|
1209
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateRuleGroupCommandOutput) => void),
|
|
1210
|
-
cb?: (err: any, data?: UpdateRuleGroupCommandOutput) => void
|
|
1211
|
-
): Promise<UpdateRuleGroupCommandOutput> | void {
|
|
1212
|
-
const command = new UpdateRuleGroupCommand(args);
|
|
1213
|
-
if (typeof optionsOrCb === "function") {
|
|
1214
|
-
this.send(command, optionsOrCb);
|
|
1215
|
-
} else if (typeof cb === "function") {
|
|
1216
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1217
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1218
|
-
} else {
|
|
1219
|
-
return this.send(command, optionsOrCb);
|
|
1220
|
-
}
|
|
1221
|
-
}
|
|
1222
|
-
|
|
1223
|
-
/**
|
|
1224
|
-
* <p></p>
|
|
1225
|
-
*/
|
|
1226
|
-
public updateSubnetChangeProtection(
|
|
1227
|
-
args: UpdateSubnetChangeProtectionCommandInput,
|
|
1228
|
-
options?: __HttpHandlerOptions
|
|
1229
|
-
): Promise<UpdateSubnetChangeProtectionCommandOutput>;
|
|
1230
|
-
public updateSubnetChangeProtection(
|
|
1231
|
-
args: UpdateSubnetChangeProtectionCommandInput,
|
|
1232
|
-
cb: (err: any, data?: UpdateSubnetChangeProtectionCommandOutput) => void
|
|
1233
|
-
): void;
|
|
1234
|
-
public updateSubnetChangeProtection(
|
|
1235
|
-
args: UpdateSubnetChangeProtectionCommandInput,
|
|
1236
|
-
options: __HttpHandlerOptions,
|
|
1237
|
-
cb: (err: any, data?: UpdateSubnetChangeProtectionCommandOutput) => void
|
|
1238
|
-
): void;
|
|
1239
|
-
public updateSubnetChangeProtection(
|
|
1240
|
-
args: UpdateSubnetChangeProtectionCommandInput,
|
|
1241
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateSubnetChangeProtectionCommandOutput) => void),
|
|
1242
|
-
cb?: (err: any, data?: UpdateSubnetChangeProtectionCommandOutput) => void
|
|
1243
|
-
): Promise<UpdateSubnetChangeProtectionCommandOutput> | void {
|
|
1244
|
-
const command = new UpdateSubnetChangeProtectionCommand(args);
|
|
1245
|
-
if (typeof optionsOrCb === "function") {
|
|
1246
|
-
this.send(command, optionsOrCb);
|
|
1247
|
-
} else if (typeof cb === "function") {
|
|
1248
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1249
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1250
|
-
} else {
|
|
1251
|
-
return this.send(command, optionsOrCb);
|
|
1252
|
-
}
|
|
1253
|
-
}
|
|
1254
|
-
}
|