@aws-sdk/client-network-firewall 3.300.0 → 3.303.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/README.md +40 -0
- package/dist-cjs/NetworkFirewall.js +75 -0
- package/dist-cjs/commands/CreateTLSInspectionConfigurationCommand.js +45 -0
- package/dist-cjs/commands/DeleteTLSInspectionConfigurationCommand.js +45 -0
- package/dist-cjs/commands/DescribeTLSInspectionConfigurationCommand.js +45 -0
- package/dist-cjs/commands/ListTLSInspectionConfigurationsCommand.js +45 -0
- package/dist-cjs/commands/UpdateTLSInspectionConfigurationCommand.js +45 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +114 -135
- package/dist-cjs/pagination/ListTLSInspectionConfigurationsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_0.js +540 -2
- package/dist-es/NetworkFirewall.js +75 -0
- package/dist-es/commands/CreateTLSInspectionConfigurationCommand.js +41 -0
- package/dist-es/commands/DeleteTLSInspectionConfigurationCommand.js +41 -0
- package/dist-es/commands/DescribeTLSInspectionConfigurationCommand.js +41 -0
- package/dist-es/commands/ListTLSInspectionConfigurationsCommand.js +41 -0
- package/dist-es/commands/UpdateTLSInspectionConfigurationCommand.js +41 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +114 -135
- package/dist-es/pagination/ListTLSInspectionConfigurationsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_0.js +528 -0
- package/dist-types/NetworkFirewall.d.ts +53 -0
- package/dist-types/NetworkFirewallClient.d.ts +7 -2
- package/dist-types/commands/AssociateFirewallPolicyCommand.d.ts +1 -1
- package/dist-types/commands/AssociateSubnetsCommand.d.ts +3 -3
- package/dist-types/commands/CreateFirewallCommand.d.ts +6 -6
- package/dist-types/commands/CreateFirewallPolicyCommand.d.ts +20 -19
- package/dist-types/commands/CreateRuleGroupCommand.d.ts +46 -46
- package/dist-types/commands/CreateTLSInspectionConfigurationCommand.d.ts +145 -0
- package/dist-types/commands/DeleteFirewallCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFirewallPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRuleGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTLSInspectionConfigurationCommand.d.ts +94 -0
- package/dist-types/commands/DescribeFirewallCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFirewallPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLoggingConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRuleGroupCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRuleGroupMetadataCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTLSInspectionConfigurationCommand.d.ts +90 -0
- package/dist-types/commands/DisassociateSubnetsCommand.d.ts +2 -2
- package/dist-types/commands/ListFirewallPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListFirewallsCommand.d.ts +2 -2
- package/dist-types/commands/ListRuleGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListTLSInspectionConfigurationsCommand.d.ts +87 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateFirewallDeleteProtectionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFirewallDescriptionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFirewallEncryptionConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/UpdateFirewallPolicyChangeProtectionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFirewallPolicyCommand.d.ts +18 -17
- package/dist-types/commands/UpdateLoggingConfigurationCommand.d.ts +5 -5
- package/dist-types/commands/UpdateRuleGroupCommand.d.ts +44 -44
- package/dist-types/commands/UpdateSubnetChangeProtectionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateTLSInspectionConfigurationCommand.d.ts +144 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +558 -115
- package/dist-types/pagination/ListTLSInspectionConfigurationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +15 -0
- package/dist-types/ts3.4/NetworkFirewall.d.ts +91 -0
- package/dist-types/ts3.4/NetworkFirewallClient.d.ts +32 -2
- package/dist-types/ts3.4/commands/CreateTLSInspectionConfigurationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteTLSInspectionConfigurationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DescribeTLSInspectionConfigurationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListTLSInspectionConfigurationsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateTLSInspectionConfigurationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +244 -113
- package/dist-types/ts3.4/pagination/ListTLSInspectionConfigurationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +60 -0
- package/package.json +34 -34
|
@@ -26,11 +26,11 @@ export interface UpdateFirewallEncryptionConfigurationCommandOutput extends Upda
|
|
|
26
26
|
* import { NetworkFirewallClient, UpdateFirewallEncryptionConfigurationCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
27
27
|
* // const { NetworkFirewallClient, UpdateFirewallEncryptionConfigurationCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
28
28
|
* const client = new NetworkFirewallClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UpdateFirewallEncryptionConfigurationRequest
|
|
30
30
|
* UpdateToken: "STRING_VALUE",
|
|
31
31
|
* FirewallArn: "STRING_VALUE",
|
|
32
32
|
* FirewallName: "STRING_VALUE",
|
|
33
|
-
* EncryptionConfiguration: {
|
|
33
|
+
* EncryptionConfiguration: { // EncryptionConfiguration
|
|
34
34
|
* KeyId: "STRING_VALUE",
|
|
35
35
|
* Type: "CUSTOMER_KMS" || "AWS_OWNED_KMS_KEY", // required
|
|
36
36
|
* },
|
|
@@ -28,7 +28,7 @@ export interface UpdateFirewallPolicyChangeProtectionCommandOutput extends Updat
|
|
|
28
28
|
* import { NetworkFirewallClient, UpdateFirewallPolicyChangeProtectionCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
29
29
|
* // const { NetworkFirewallClient, UpdateFirewallPolicyChangeProtectionCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
30
30
|
* const client = new NetworkFirewallClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // UpdateFirewallPolicyChangeProtectionRequest
|
|
32
32
|
* UpdateToken: "STRING_VALUE",
|
|
33
33
|
* FirewallArn: "STRING_VALUE",
|
|
34
34
|
* FirewallName: "STRING_VALUE",
|
|
@@ -26,30 +26,30 @@ export interface UpdateFirewallPolicyCommandOutput extends UpdateFirewallPolicyR
|
|
|
26
26
|
* import { NetworkFirewallClient, UpdateFirewallPolicyCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
27
27
|
* // const { NetworkFirewallClient, UpdateFirewallPolicyCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
28
28
|
* const client = new NetworkFirewallClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UpdateFirewallPolicyRequest
|
|
30
30
|
* UpdateToken: "STRING_VALUE", // required
|
|
31
31
|
* FirewallPolicyArn: "STRING_VALUE",
|
|
32
32
|
* FirewallPolicyName: "STRING_VALUE",
|
|
33
|
-
* FirewallPolicy: {
|
|
34
|
-
* StatelessRuleGroupReferences: [
|
|
35
|
-
* {
|
|
33
|
+
* FirewallPolicy: { // FirewallPolicy
|
|
34
|
+
* StatelessRuleGroupReferences: [ // StatelessRuleGroupReferences
|
|
35
|
+
* { // StatelessRuleGroupReference
|
|
36
36
|
* ResourceArn: "STRING_VALUE", // required
|
|
37
37
|
* Priority: Number("int"), // required
|
|
38
38
|
* },
|
|
39
39
|
* ],
|
|
40
|
-
* StatelessDefaultActions: [ // required
|
|
40
|
+
* StatelessDefaultActions: [ // StatelessActions // required
|
|
41
41
|
* "STRING_VALUE",
|
|
42
42
|
* ],
|
|
43
43
|
* StatelessFragmentDefaultActions: [ // required
|
|
44
44
|
* "STRING_VALUE",
|
|
45
45
|
* ],
|
|
46
|
-
* StatelessCustomActions: [
|
|
47
|
-
* {
|
|
46
|
+
* StatelessCustomActions: [ // CustomActions
|
|
47
|
+
* { // CustomAction
|
|
48
48
|
* ActionName: "STRING_VALUE", // required
|
|
49
|
-
* ActionDefinition: {
|
|
50
|
-
* PublishMetricAction: {
|
|
51
|
-
* Dimensions: [ // required
|
|
52
|
-
* {
|
|
49
|
+
* ActionDefinition: { // ActionDefinition
|
|
50
|
+
* PublishMetricAction: { // PublishMetricAction
|
|
51
|
+
* Dimensions: [ // Dimensions // required
|
|
52
|
+
* { // Dimension
|
|
53
53
|
* Value: "STRING_VALUE", // required
|
|
54
54
|
* },
|
|
55
55
|
* ],
|
|
@@ -57,26 +57,27 @@ export interface UpdateFirewallPolicyCommandOutput extends UpdateFirewallPolicyR
|
|
|
57
57
|
* },
|
|
58
58
|
* },
|
|
59
59
|
* ],
|
|
60
|
-
* StatefulRuleGroupReferences: [
|
|
61
|
-
* {
|
|
60
|
+
* StatefulRuleGroupReferences: [ // StatefulRuleGroupReferences
|
|
61
|
+
* { // StatefulRuleGroupReference
|
|
62
62
|
* ResourceArn: "STRING_VALUE", // required
|
|
63
63
|
* Priority: Number("int"),
|
|
64
|
-
* Override: {
|
|
64
|
+
* Override: { // StatefulRuleGroupOverride
|
|
65
65
|
* Action: "DROP_TO_ALERT",
|
|
66
66
|
* },
|
|
67
67
|
* },
|
|
68
68
|
* ],
|
|
69
|
-
* StatefulDefaultActions: [
|
|
69
|
+
* StatefulDefaultActions: [ // StatefulActions
|
|
70
70
|
* "STRING_VALUE",
|
|
71
71
|
* ],
|
|
72
|
-
* StatefulEngineOptions: {
|
|
72
|
+
* StatefulEngineOptions: { // StatefulEngineOptions
|
|
73
73
|
* RuleOrder: "DEFAULT_ACTION_ORDER" || "STRICT_ORDER",
|
|
74
74
|
* StreamExceptionPolicy: "DROP" || "CONTINUE",
|
|
75
75
|
* },
|
|
76
|
+
* TLSInspectionConfigurationArn: "STRING_VALUE",
|
|
76
77
|
* },
|
|
77
78
|
* Description: "STRING_VALUE",
|
|
78
79
|
* DryRun: true || false,
|
|
79
|
-
* EncryptionConfiguration: {
|
|
80
|
+
* EncryptionConfiguration: { // EncryptionConfiguration
|
|
80
81
|
* KeyId: "STRING_VALUE",
|
|
81
82
|
* Type: "CUSTOMER_KMS" || "AWS_OWNED_KMS_KEY", // required
|
|
82
83
|
* },
|
|
@@ -51,15 +51,15 @@ export interface UpdateLoggingConfigurationCommandOutput extends UpdateLoggingCo
|
|
|
51
51
|
* import { NetworkFirewallClient, UpdateLoggingConfigurationCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
52
52
|
* // const { NetworkFirewallClient, UpdateLoggingConfigurationCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
53
53
|
* const client = new NetworkFirewallClient(config);
|
|
54
|
-
* const input = {
|
|
54
|
+
* const input = { // UpdateLoggingConfigurationRequest
|
|
55
55
|
* FirewallArn: "STRING_VALUE",
|
|
56
56
|
* FirewallName: "STRING_VALUE",
|
|
57
|
-
* LoggingConfiguration: {
|
|
58
|
-
* LogDestinationConfigs: [ // required
|
|
59
|
-
* {
|
|
57
|
+
* LoggingConfiguration: { // LoggingConfiguration
|
|
58
|
+
* LogDestinationConfigs: [ // LogDestinationConfigs // required
|
|
59
|
+
* { // LogDestinationConfig
|
|
60
60
|
* LogType: "ALERT" || "FLOW", // required
|
|
61
61
|
* LogDestinationType: "S3" || "CloudWatchLogs" || "KinesisDataFirehose", // required
|
|
62
|
-
* LogDestination: { // required
|
|
62
|
+
* LogDestination: { // LogDestinationMap // required
|
|
63
63
|
* "<keys>": "STRING_VALUE",
|
|
64
64
|
* },
|
|
65
65
|
* },
|
|
@@ -31,49 +31,49 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
|
|
|
31
31
|
* import { NetworkFirewallClient, UpdateRuleGroupCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
32
32
|
* // const { NetworkFirewallClient, UpdateRuleGroupCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
33
33
|
* const client = new NetworkFirewallClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // UpdateRuleGroupRequest
|
|
35
35
|
* UpdateToken: "STRING_VALUE", // required
|
|
36
36
|
* RuleGroupArn: "STRING_VALUE",
|
|
37
37
|
* RuleGroupName: "STRING_VALUE",
|
|
38
|
-
* RuleGroup: {
|
|
39
|
-
* RuleVariables: {
|
|
40
|
-
* IPSets: {
|
|
41
|
-
* "<keys>": {
|
|
42
|
-
* Definition: [ // required
|
|
38
|
+
* RuleGroup: { // RuleGroup
|
|
39
|
+
* RuleVariables: { // RuleVariables
|
|
40
|
+
* IPSets: { // IPSets
|
|
41
|
+
* "<keys>": { // IPSet
|
|
42
|
+
* Definition: [ // VariableDefinitionList // required
|
|
43
43
|
* "STRING_VALUE",
|
|
44
44
|
* ],
|
|
45
45
|
* },
|
|
46
46
|
* },
|
|
47
|
-
* PortSets: {
|
|
48
|
-
* "<keys>": {
|
|
47
|
+
* PortSets: { // PortSets
|
|
48
|
+
* "<keys>": { // PortSet
|
|
49
49
|
* Definition: [
|
|
50
50
|
* "STRING_VALUE",
|
|
51
51
|
* ],
|
|
52
52
|
* },
|
|
53
53
|
* },
|
|
54
54
|
* },
|
|
55
|
-
* ReferenceSets: {
|
|
56
|
-
* IPSetReferences: {
|
|
57
|
-
* "<keys>": {
|
|
55
|
+
* ReferenceSets: { // ReferenceSets
|
|
56
|
+
* IPSetReferences: { // IPSetReferenceMap
|
|
57
|
+
* "<keys>": { // IPSetReference
|
|
58
58
|
* ReferenceArn: "STRING_VALUE",
|
|
59
59
|
* },
|
|
60
60
|
* },
|
|
61
61
|
* },
|
|
62
|
-
* RulesSource: {
|
|
62
|
+
* RulesSource: { // RulesSource
|
|
63
63
|
* RulesString: "STRING_VALUE",
|
|
64
|
-
* RulesSourceList: {
|
|
65
|
-
* Targets: [ // required
|
|
64
|
+
* RulesSourceList: { // RulesSourceList
|
|
65
|
+
* Targets: [ // RuleTargets // required
|
|
66
66
|
* "STRING_VALUE",
|
|
67
67
|
* ],
|
|
68
|
-
* TargetTypes: [ // required
|
|
68
|
+
* TargetTypes: [ // TargetTypes // required
|
|
69
69
|
* "TLS_SNI" || "HTTP_HOST",
|
|
70
70
|
* ],
|
|
71
71
|
* GeneratedRulesType: "ALLOWLIST" || "DENYLIST", // required
|
|
72
72
|
* },
|
|
73
|
-
* StatefulRules: [
|
|
74
|
-
* {
|
|
73
|
+
* StatefulRules: [ // StatefulRules
|
|
74
|
+
* { // StatefulRule
|
|
75
75
|
* Action: "PASS" || "DROP" || "ALERT" || "REJECT", // required
|
|
76
|
-
* Header: {
|
|
76
|
+
* Header: { // Header
|
|
77
77
|
* Protocol: "IP" || "TCP" || "UDP" || "ICMP" || "HTTP" || "FTP" || "TLS" || "SMB" || "DNS" || "DCERPC" || "SSH" || "SMTP" || "IMAP" || "MSN" || "KRB5" || "IKEV2" || "TFTP" || "NTP" || "DHCP", // required
|
|
78
78
|
* Source: "STRING_VALUE", // required
|
|
79
79
|
* SourcePort: "STRING_VALUE", // required
|
|
@@ -81,23 +81,23 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
|
|
|
81
81
|
* Destination: "STRING_VALUE", // required
|
|
82
82
|
* DestinationPort: "STRING_VALUE", // required
|
|
83
83
|
* },
|
|
84
|
-
* RuleOptions: [ // required
|
|
85
|
-
* {
|
|
84
|
+
* RuleOptions: [ // RuleOptions // required
|
|
85
|
+
* { // RuleOption
|
|
86
86
|
* Keyword: "STRING_VALUE", // required
|
|
87
|
-
* Settings: [
|
|
87
|
+
* Settings: [ // Settings
|
|
88
88
|
* "STRING_VALUE",
|
|
89
89
|
* ],
|
|
90
90
|
* },
|
|
91
91
|
* ],
|
|
92
92
|
* },
|
|
93
93
|
* ],
|
|
94
|
-
* StatelessRulesAndCustomActions: {
|
|
95
|
-
* StatelessRules: [ // required
|
|
96
|
-
* {
|
|
97
|
-
* RuleDefinition: {
|
|
98
|
-
* MatchAttributes: {
|
|
99
|
-
* Sources: [
|
|
100
|
-
* {
|
|
94
|
+
* StatelessRulesAndCustomActions: { // StatelessRulesAndCustomActions
|
|
95
|
+
* StatelessRules: [ // StatelessRules // required
|
|
96
|
+
* { // StatelessRule
|
|
97
|
+
* RuleDefinition: { // RuleDefinition
|
|
98
|
+
* MatchAttributes: { // MatchAttributes
|
|
99
|
+
* Sources: [ // Addresses
|
|
100
|
+
* { // Address
|
|
101
101
|
* AddressDefinition: "STRING_VALUE", // required
|
|
102
102
|
* },
|
|
103
103
|
* ],
|
|
@@ -106,8 +106,8 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
|
|
|
106
106
|
* AddressDefinition: "STRING_VALUE", // required
|
|
107
107
|
* },
|
|
108
108
|
* ],
|
|
109
|
-
* SourcePorts: [
|
|
110
|
-
* {
|
|
109
|
+
* SourcePorts: [ // PortRanges
|
|
110
|
+
* { // PortRange
|
|
111
111
|
* FromPort: Number("int"), // required
|
|
112
112
|
* ToPort: Number("int"), // required
|
|
113
113
|
* },
|
|
@@ -118,12 +118,12 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
|
|
|
118
118
|
* ToPort: Number("int"), // required
|
|
119
119
|
* },
|
|
120
120
|
* ],
|
|
121
|
-
* Protocols: [
|
|
121
|
+
* Protocols: [ // ProtocolNumbers
|
|
122
122
|
* Number("int"),
|
|
123
123
|
* ],
|
|
124
|
-
* TCPFlags: [
|
|
125
|
-
* {
|
|
126
|
-
* Flags: [ // required
|
|
124
|
+
* TCPFlags: [ // TCPFlags
|
|
125
|
+
* { // TCPFlagField
|
|
126
|
+
* Flags: [ // Flags // required
|
|
127
127
|
* "FIN" || "SYN" || "RST" || "PSH" || "ACK" || "URG" || "ECE" || "CWR",
|
|
128
128
|
* ],
|
|
129
129
|
* Masks: [
|
|
@@ -132,20 +132,20 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
|
|
|
132
132
|
* },
|
|
133
133
|
* ],
|
|
134
134
|
* },
|
|
135
|
-
* Actions: [ // required
|
|
135
|
+
* Actions: [ // StatelessActions // required
|
|
136
136
|
* "STRING_VALUE",
|
|
137
137
|
* ],
|
|
138
138
|
* },
|
|
139
139
|
* Priority: Number("int"), // required
|
|
140
140
|
* },
|
|
141
141
|
* ],
|
|
142
|
-
* CustomActions: [
|
|
143
|
-
* {
|
|
142
|
+
* CustomActions: [ // CustomActions
|
|
143
|
+
* { // CustomAction
|
|
144
144
|
* ActionName: "STRING_VALUE", // required
|
|
145
|
-
* ActionDefinition: {
|
|
146
|
-
* PublishMetricAction: {
|
|
147
|
-
* Dimensions: [ // required
|
|
148
|
-
* {
|
|
145
|
+
* ActionDefinition: { // ActionDefinition
|
|
146
|
+
* PublishMetricAction: { // PublishMetricAction
|
|
147
|
+
* Dimensions: [ // Dimensions // required
|
|
148
|
+
* { // Dimension
|
|
149
149
|
* Value: "STRING_VALUE", // required
|
|
150
150
|
* },
|
|
151
151
|
* ],
|
|
@@ -155,7 +155,7 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
|
|
|
155
155
|
* ],
|
|
156
156
|
* },
|
|
157
157
|
* },
|
|
158
|
-
* StatefulRuleOptions: {
|
|
158
|
+
* StatefulRuleOptions: { // StatefulRuleOptions
|
|
159
159
|
* RuleOrder: "DEFAULT_ACTION_ORDER" || "STRICT_ORDER",
|
|
160
160
|
* },
|
|
161
161
|
* },
|
|
@@ -163,11 +163,11 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
|
|
|
163
163
|
* Type: "STATELESS" || "STATEFUL",
|
|
164
164
|
* Description: "STRING_VALUE",
|
|
165
165
|
* DryRun: true || false,
|
|
166
|
-
* EncryptionConfiguration: {
|
|
166
|
+
* EncryptionConfiguration: { // EncryptionConfiguration
|
|
167
167
|
* KeyId: "STRING_VALUE",
|
|
168
168
|
* Type: "CUSTOMER_KMS" || "AWS_OWNED_KMS_KEY", // required
|
|
169
169
|
* },
|
|
170
|
-
* SourceMetadata: {
|
|
170
|
+
* SourceMetadata: { // SourceMetadata
|
|
171
171
|
* SourceArn: "STRING_VALUE",
|
|
172
172
|
* SourceUpdateToken: "STRING_VALUE",
|
|
173
173
|
* },
|
|
@@ -26,7 +26,7 @@ export interface UpdateSubnetChangeProtectionCommandOutput extends UpdateSubnetC
|
|
|
26
26
|
* import { NetworkFirewallClient, UpdateSubnetChangeProtectionCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
27
27
|
* // const { NetworkFirewallClient, UpdateSubnetChangeProtectionCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
28
28
|
* const client = new NetworkFirewallClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UpdateSubnetChangeProtectionRequest
|
|
30
30
|
* UpdateToken: "STRING_VALUE",
|
|
31
31
|
* FirewallArn: "STRING_VALUE",
|
|
32
32
|
* FirewallName: "STRING_VALUE",
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { UpdateTLSInspectionConfigurationRequest, UpdateTLSInspectionConfigurationResponse } from "../models/models_0";
|
|
5
|
+
import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link UpdateTLSInspectionConfigurationCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface UpdateTLSInspectionConfigurationCommandInput extends UpdateTLSInspectionConfigurationRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link UpdateTLSInspectionConfigurationCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateTLSInspectionConfigurationCommandOutput extends UpdateTLSInspectionConfigurationResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Updates the TLS inspection configuration settings for the specified TLS inspection configuration. You use a TLS inspection configuration by
|
|
23
|
+
* reference in one or more firewall policies. When you modify a TLS inspection configuration, you modify all
|
|
24
|
+
* firewall policies that use the TLS inspection configuration. </p>
|
|
25
|
+
* <p>To update a TLS inspection configuration, first call <a>DescribeTLSInspectionConfiguration</a> to retrieve the
|
|
26
|
+
* current <a>TLSInspectionConfiguration</a> object, update the object as needed, and then provide
|
|
27
|
+
* the updated object to this call. </p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { NetworkFirewallClient, UpdateTLSInspectionConfigurationCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
32
|
+
* // const { NetworkFirewallClient, UpdateTLSInspectionConfigurationCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
33
|
+
* const client = new NetworkFirewallClient(config);
|
|
34
|
+
* const input = { // UpdateTLSInspectionConfigurationRequest
|
|
35
|
+
* TLSInspectionConfigurationArn: "STRING_VALUE",
|
|
36
|
+
* TLSInspectionConfigurationName: "STRING_VALUE",
|
|
37
|
+
* TLSInspectionConfiguration: { // TLSInspectionConfiguration
|
|
38
|
+
* ServerCertificateConfigurations: [ // ServerCertificateConfigurations
|
|
39
|
+
* { // ServerCertificateConfiguration
|
|
40
|
+
* ServerCertificates: [ // ServerCertificates
|
|
41
|
+
* { // ServerCertificate
|
|
42
|
+
* ResourceArn: "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* ],
|
|
45
|
+
* Scopes: [ // ServerCertificateScopes
|
|
46
|
+
* { // ServerCertificateScope
|
|
47
|
+
* Sources: [ // Addresses
|
|
48
|
+
* { // Address
|
|
49
|
+
* AddressDefinition: "STRING_VALUE", // required
|
|
50
|
+
* },
|
|
51
|
+
* ],
|
|
52
|
+
* Destinations: [
|
|
53
|
+
* {
|
|
54
|
+
* AddressDefinition: "STRING_VALUE", // required
|
|
55
|
+
* },
|
|
56
|
+
* ],
|
|
57
|
+
* SourcePorts: [ // PortRanges
|
|
58
|
+
* { // PortRange
|
|
59
|
+
* FromPort: Number("int"), // required
|
|
60
|
+
* ToPort: Number("int"), // required
|
|
61
|
+
* },
|
|
62
|
+
* ],
|
|
63
|
+
* DestinationPorts: [
|
|
64
|
+
* {
|
|
65
|
+
* FromPort: Number("int"), // required
|
|
66
|
+
* ToPort: Number("int"), // required
|
|
67
|
+
* },
|
|
68
|
+
* ],
|
|
69
|
+
* Protocols: [ // ProtocolNumbers
|
|
70
|
+
* Number("int"),
|
|
71
|
+
* ],
|
|
72
|
+
* },
|
|
73
|
+
* ],
|
|
74
|
+
* },
|
|
75
|
+
* ],
|
|
76
|
+
* },
|
|
77
|
+
* Description: "STRING_VALUE",
|
|
78
|
+
* EncryptionConfiguration: { // EncryptionConfiguration
|
|
79
|
+
* KeyId: "STRING_VALUE",
|
|
80
|
+
* Type: "CUSTOMER_KMS" || "AWS_OWNED_KMS_KEY", // required
|
|
81
|
+
* },
|
|
82
|
+
* UpdateToken: "STRING_VALUE", // required
|
|
83
|
+
* };
|
|
84
|
+
* const command = new UpdateTLSInspectionConfigurationCommand(input);
|
|
85
|
+
* const response = await client.send(command);
|
|
86
|
+
* ```
|
|
87
|
+
*
|
|
88
|
+
* @param UpdateTLSInspectionConfigurationCommandInput - {@link UpdateTLSInspectionConfigurationCommandInput}
|
|
89
|
+
* @returns {@link UpdateTLSInspectionConfigurationCommandOutput}
|
|
90
|
+
* @see {@link UpdateTLSInspectionConfigurationCommandInput} for command's `input` shape.
|
|
91
|
+
* @see {@link UpdateTLSInspectionConfigurationCommandOutput} for command's `response` shape.
|
|
92
|
+
* @see {@link NetworkFirewallClientResolvedConfig | config} for NetworkFirewallClient's `config` shape.
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link InternalServerError} (server fault)
|
|
95
|
+
* <p>Your request is valid, but Network Firewall couldn’t perform the operation because of a
|
|
96
|
+
* system problem. Retry your request. </p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
99
|
+
* <p>The operation failed because of a problem with your request. Examples include: </p>
|
|
100
|
+
* <ul>
|
|
101
|
+
* <li>
|
|
102
|
+
* <p>You specified an unsupported parameter name or value.</p>
|
|
103
|
+
* </li>
|
|
104
|
+
* <li>
|
|
105
|
+
* <p>You tried to update a property with a value that isn't among the available
|
|
106
|
+
* types.</p>
|
|
107
|
+
* </li>
|
|
108
|
+
* <li>
|
|
109
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
110
|
+
* that isn't valid in the context of the request.</p>
|
|
111
|
+
* </li>
|
|
112
|
+
* </ul>
|
|
113
|
+
*
|
|
114
|
+
* @throws {@link InvalidTokenException} (client fault)
|
|
115
|
+
* <p>The token you provided is stale or isn't valid for the operation. </p>
|
|
116
|
+
*
|
|
117
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
118
|
+
* <p>Unable to locate a resource using the parameters that you provided.</p>
|
|
119
|
+
*
|
|
120
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
121
|
+
* <p>Unable to process the request due to throttling limitations.</p>
|
|
122
|
+
*
|
|
123
|
+
*
|
|
124
|
+
*/
|
|
125
|
+
export declare class UpdateTLSInspectionConfigurationCommand extends $Command<UpdateTLSInspectionConfigurationCommandInput, UpdateTLSInspectionConfigurationCommandOutput, NetworkFirewallClientResolvedConfig> {
|
|
126
|
+
readonly input: UpdateTLSInspectionConfigurationCommandInput;
|
|
127
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
128
|
+
/**
|
|
129
|
+
* @public
|
|
130
|
+
*/
|
|
131
|
+
constructor(input: UpdateTLSInspectionConfigurationCommandInput);
|
|
132
|
+
/**
|
|
133
|
+
* @internal
|
|
134
|
+
*/
|
|
135
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: NetworkFirewallClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateTLSInspectionConfigurationCommandInput, UpdateTLSInspectionConfigurationCommandOutput>;
|
|
136
|
+
/**
|
|
137
|
+
* @internal
|
|
138
|
+
*/
|
|
139
|
+
private serialize;
|
|
140
|
+
/**
|
|
141
|
+
* @internal
|
|
142
|
+
*/
|
|
143
|
+
private deserialize;
|
|
144
|
+
}
|
|
@@ -3,20 +3,24 @@ export * from "./AssociateSubnetsCommand";
|
|
|
3
3
|
export * from "./CreateFirewallCommand";
|
|
4
4
|
export * from "./CreateFirewallPolicyCommand";
|
|
5
5
|
export * from "./CreateRuleGroupCommand";
|
|
6
|
+
export * from "./CreateTLSInspectionConfigurationCommand";
|
|
6
7
|
export * from "./DeleteFirewallCommand";
|
|
7
8
|
export * from "./DeleteFirewallPolicyCommand";
|
|
8
9
|
export * from "./DeleteResourcePolicyCommand";
|
|
9
10
|
export * from "./DeleteRuleGroupCommand";
|
|
11
|
+
export * from "./DeleteTLSInspectionConfigurationCommand";
|
|
10
12
|
export * from "./DescribeFirewallCommand";
|
|
11
13
|
export * from "./DescribeFirewallPolicyCommand";
|
|
12
14
|
export * from "./DescribeLoggingConfigurationCommand";
|
|
13
15
|
export * from "./DescribeResourcePolicyCommand";
|
|
14
16
|
export * from "./DescribeRuleGroupCommand";
|
|
15
17
|
export * from "./DescribeRuleGroupMetadataCommand";
|
|
18
|
+
export * from "./DescribeTLSInspectionConfigurationCommand";
|
|
16
19
|
export * from "./DisassociateSubnetsCommand";
|
|
17
20
|
export * from "./ListFirewallPoliciesCommand";
|
|
18
21
|
export * from "./ListFirewallsCommand";
|
|
19
22
|
export * from "./ListRuleGroupsCommand";
|
|
23
|
+
export * from "./ListTLSInspectionConfigurationsCommand";
|
|
20
24
|
export * from "./ListTagsForResourceCommand";
|
|
21
25
|
export * from "./PutResourcePolicyCommand";
|
|
22
26
|
export * from "./TagResourceCommand";
|
|
@@ -29,3 +33,4 @@ export * from "./UpdateFirewallPolicyCommand";
|
|
|
29
33
|
export * from "./UpdateLoggingConfigurationCommand";
|
|
30
34
|
export * from "./UpdateRuleGroupCommand";
|
|
31
35
|
export * from "./UpdateSubnetChangeProtectionCommand";
|
|
36
|
+
export * from "./UpdateTLSInspectionConfigurationCommand";
|
|
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
|
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
-
Region
|
|
15
|
+
Region?: string;
|
|
16
16
|
UseDualStack?: boolean;
|
|
17
17
|
UseFIPS?: boolean;
|
|
18
18
|
Endpoint?: string;
|