@aws-sdk/client-network-firewall 3.828.0 → 3.830.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 +48 -0
- package/dist-cjs/index.js +295 -58
- package/dist-es/NetworkFirewall.js +12 -0
- package/dist-es/commands/AcceptNetworkFirewallTransitGatewayAttachmentCommand.js +22 -0
- package/dist-es/commands/AssociateAvailabilityZonesCommand.js +22 -0
- package/dist-es/commands/DeleteNetworkFirewallTransitGatewayAttachmentCommand.js +22 -0
- package/dist-es/commands/DisassociateAvailabilityZonesCommand.js +22 -0
- package/dist-es/commands/RejectNetworkFirewallTransitGatewayAttachmentCommand.js +22 -0
- package/dist-es/commands/UpdateAvailabilityZoneChangeProtectionCommand.js +22 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/models/models_0.js +52 -39
- package/dist-es/protocols/Aws_json1_0.js +120 -6
- package/dist-types/NetworkFirewall.d.ts +42 -0
- package/dist-types/NetworkFirewallClient.d.ts +8 -2
- package/dist-types/commands/AcceptNetworkFirewallTransitGatewayAttachmentCommand.d.ts +104 -0
- package/dist-types/commands/AssociateAvailabilityZonesCommand.d.ts +124 -0
- package/dist-types/commands/CreateFirewallCommand.d.ts +20 -0
- package/dist-types/commands/CreateRuleGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFirewallCommand.d.ts +13 -0
- package/dist-types/commands/DeleteNetworkFirewallTransitGatewayAttachmentCommand.d.ts +103 -0
- package/dist-types/commands/DescribeFirewallCommand.d.ts +13 -0
- package/dist-types/commands/DescribeFirewallMetadataCommand.d.ts +1 -0
- package/dist-types/commands/DescribeRuleGroupCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateAvailabilityZonesCommand.d.ts +123 -0
- package/dist-types/commands/ListFirewallsCommand.d.ts +1 -0
- package/dist-types/commands/RejectNetworkFirewallTransitGatewayAttachmentCommand.d.ts +104 -0
- package/dist-types/commands/UpdateAvailabilityZoneChangeProtectionCommand.d.ts +111 -0
- package/dist-types/commands/UpdateRuleGroupCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +7 -7
- package/dist-types/models/models_0.d.ts +651 -95
- package/dist-types/protocols/Aws_json1_0.d.ts +54 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/NetworkFirewall.d.ts +126 -0
- package/dist-types/ts3.4/NetworkFirewallClient.d.ts +36 -0
- package/dist-types/ts3.4/commands/AcceptNetworkFirewallTransitGatewayAttachmentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/AssociateAvailabilityZonesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteNetworkFirewallTransitGatewayAttachmentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociateAvailabilityZonesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/RejectNetworkFirewallTransitGatewayAttachmentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateAvailabilityZoneChangeProtectionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +7 -7
- package/dist-types/ts3.4/models/models_0.d.ts +137 -45
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +72 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -2
- package/package.json +2 -2
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
|
+
import { AcceptNetworkFirewallTransitGatewayAttachmentCommandInput, AcceptNetworkFirewallTransitGatewayAttachmentCommandOutput } from "./commands/AcceptNetworkFirewallTransitGatewayAttachmentCommand";
|
|
3
|
+
import { AssociateAvailabilityZonesCommandInput, AssociateAvailabilityZonesCommandOutput } from "./commands/AssociateAvailabilityZonesCommand";
|
|
2
4
|
import { AssociateFirewallPolicyCommandInput, AssociateFirewallPolicyCommandOutput } from "./commands/AssociateFirewallPolicyCommand";
|
|
3
5
|
import { AssociateSubnetsCommandInput, AssociateSubnetsCommandOutput } from "./commands/AssociateSubnetsCommand";
|
|
4
6
|
import { CreateFirewallCommandInput, CreateFirewallCommandOutput } from "./commands/CreateFirewallCommand";
|
|
@@ -8,6 +10,7 @@ import { CreateTLSInspectionConfigurationCommandInput, CreateTLSInspectionConfig
|
|
|
8
10
|
import { CreateVpcEndpointAssociationCommandInput, CreateVpcEndpointAssociationCommandOutput } from "./commands/CreateVpcEndpointAssociationCommand";
|
|
9
11
|
import { DeleteFirewallCommandInput, DeleteFirewallCommandOutput } from "./commands/DeleteFirewallCommand";
|
|
10
12
|
import { DeleteFirewallPolicyCommandInput, DeleteFirewallPolicyCommandOutput } from "./commands/DeleteFirewallPolicyCommand";
|
|
13
|
+
import { DeleteNetworkFirewallTransitGatewayAttachmentCommandInput, DeleteNetworkFirewallTransitGatewayAttachmentCommandOutput } from "./commands/DeleteNetworkFirewallTransitGatewayAttachmentCommand";
|
|
11
14
|
import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
|
|
12
15
|
import { DeleteRuleGroupCommandInput, DeleteRuleGroupCommandOutput } from "./commands/DeleteRuleGroupCommand";
|
|
13
16
|
import { DeleteTLSInspectionConfigurationCommandInput, DeleteTLSInspectionConfigurationCommandOutput } from "./commands/DeleteTLSInspectionConfigurationCommand";
|
|
@@ -22,6 +25,7 @@ import { DescribeRuleGroupCommandInput, DescribeRuleGroupCommandOutput } from ".
|
|
|
22
25
|
import { DescribeRuleGroupMetadataCommandInput, DescribeRuleGroupMetadataCommandOutput } from "./commands/DescribeRuleGroupMetadataCommand";
|
|
23
26
|
import { DescribeTLSInspectionConfigurationCommandInput, DescribeTLSInspectionConfigurationCommandOutput } from "./commands/DescribeTLSInspectionConfigurationCommand";
|
|
24
27
|
import { DescribeVpcEndpointAssociationCommandInput, DescribeVpcEndpointAssociationCommandOutput } from "./commands/DescribeVpcEndpointAssociationCommand";
|
|
28
|
+
import { DisassociateAvailabilityZonesCommandInput, DisassociateAvailabilityZonesCommandOutput } from "./commands/DisassociateAvailabilityZonesCommand";
|
|
25
29
|
import { DisassociateSubnetsCommandInput, DisassociateSubnetsCommandOutput } from "./commands/DisassociateSubnetsCommand";
|
|
26
30
|
import { GetAnalysisReportResultsCommandInput, GetAnalysisReportResultsCommandOutput } from "./commands/GetAnalysisReportResultsCommand";
|
|
27
31
|
import { ListAnalysisReportsCommandInput, ListAnalysisReportsCommandOutput } from "./commands/ListAnalysisReportsCommand";
|
|
@@ -34,11 +38,13 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
|
|
|
34
38
|
import { ListTLSInspectionConfigurationsCommandInput, ListTLSInspectionConfigurationsCommandOutput } from "./commands/ListTLSInspectionConfigurationsCommand";
|
|
35
39
|
import { ListVpcEndpointAssociationsCommandInput, ListVpcEndpointAssociationsCommandOutput } from "./commands/ListVpcEndpointAssociationsCommand";
|
|
36
40
|
import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
|
|
41
|
+
import { RejectNetworkFirewallTransitGatewayAttachmentCommandInput, RejectNetworkFirewallTransitGatewayAttachmentCommandOutput } from "./commands/RejectNetworkFirewallTransitGatewayAttachmentCommand";
|
|
37
42
|
import { StartAnalysisReportCommandInput, StartAnalysisReportCommandOutput } from "./commands/StartAnalysisReportCommand";
|
|
38
43
|
import { StartFlowCaptureCommandInput, StartFlowCaptureCommandOutput } from "./commands/StartFlowCaptureCommand";
|
|
39
44
|
import { StartFlowFlushCommandInput, StartFlowFlushCommandOutput } from "./commands/StartFlowFlushCommand";
|
|
40
45
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
41
46
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
47
|
+
import { UpdateAvailabilityZoneChangeProtectionCommandInput, UpdateAvailabilityZoneChangeProtectionCommandOutput } from "./commands/UpdateAvailabilityZoneChangeProtectionCommand";
|
|
42
48
|
import { UpdateFirewallAnalysisSettingsCommandInput, UpdateFirewallAnalysisSettingsCommandOutput } from "./commands/UpdateFirewallAnalysisSettingsCommand";
|
|
43
49
|
import { UpdateFirewallDeleteProtectionCommandInput, UpdateFirewallDeleteProtectionCommandOutput } from "./commands/UpdateFirewallDeleteProtectionCommand";
|
|
44
50
|
import { UpdateFirewallDescriptionCommandInput, UpdateFirewallDescriptionCommandOutput } from "./commands/UpdateFirewallDescriptionCommand";
|
|
@@ -51,6 +57,18 @@ import { UpdateSubnetChangeProtectionCommandInput, UpdateSubnetChangeProtectionC
|
|
|
51
57
|
import { UpdateTLSInspectionConfigurationCommandInput, UpdateTLSInspectionConfigurationCommandOutput } from "./commands/UpdateTLSInspectionConfigurationCommand";
|
|
52
58
|
import { NetworkFirewallClient } from "./NetworkFirewallClient";
|
|
53
59
|
export interface NetworkFirewall {
|
|
60
|
+
/**
|
|
61
|
+
* @see {@link AcceptNetworkFirewallTransitGatewayAttachmentCommand}
|
|
62
|
+
*/
|
|
63
|
+
acceptNetworkFirewallTransitGatewayAttachment(args: AcceptNetworkFirewallTransitGatewayAttachmentCommandInput, options?: __HttpHandlerOptions): Promise<AcceptNetworkFirewallTransitGatewayAttachmentCommandOutput>;
|
|
64
|
+
acceptNetworkFirewallTransitGatewayAttachment(args: AcceptNetworkFirewallTransitGatewayAttachmentCommandInput, cb: (err: any, data?: AcceptNetworkFirewallTransitGatewayAttachmentCommandOutput) => void): void;
|
|
65
|
+
acceptNetworkFirewallTransitGatewayAttachment(args: AcceptNetworkFirewallTransitGatewayAttachmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AcceptNetworkFirewallTransitGatewayAttachmentCommandOutput) => void): void;
|
|
66
|
+
/**
|
|
67
|
+
* @see {@link AssociateAvailabilityZonesCommand}
|
|
68
|
+
*/
|
|
69
|
+
associateAvailabilityZones(args: AssociateAvailabilityZonesCommandInput, options?: __HttpHandlerOptions): Promise<AssociateAvailabilityZonesCommandOutput>;
|
|
70
|
+
associateAvailabilityZones(args: AssociateAvailabilityZonesCommandInput, cb: (err: any, data?: AssociateAvailabilityZonesCommandOutput) => void): void;
|
|
71
|
+
associateAvailabilityZones(args: AssociateAvailabilityZonesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateAvailabilityZonesCommandOutput) => void): void;
|
|
54
72
|
/**
|
|
55
73
|
* @see {@link AssociateFirewallPolicyCommand}
|
|
56
74
|
*/
|
|
@@ -107,6 +125,12 @@ export interface NetworkFirewall {
|
|
|
107
125
|
deleteFirewallPolicy(args: DeleteFirewallPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFirewallPolicyCommandOutput>;
|
|
108
126
|
deleteFirewallPolicy(args: DeleteFirewallPolicyCommandInput, cb: (err: any, data?: DeleteFirewallPolicyCommandOutput) => void): void;
|
|
109
127
|
deleteFirewallPolicy(args: DeleteFirewallPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFirewallPolicyCommandOutput) => void): void;
|
|
128
|
+
/**
|
|
129
|
+
* @see {@link DeleteNetworkFirewallTransitGatewayAttachmentCommand}
|
|
130
|
+
*/
|
|
131
|
+
deleteNetworkFirewallTransitGatewayAttachment(args: DeleteNetworkFirewallTransitGatewayAttachmentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteNetworkFirewallTransitGatewayAttachmentCommandOutput>;
|
|
132
|
+
deleteNetworkFirewallTransitGatewayAttachment(args: DeleteNetworkFirewallTransitGatewayAttachmentCommandInput, cb: (err: any, data?: DeleteNetworkFirewallTransitGatewayAttachmentCommandOutput) => void): void;
|
|
133
|
+
deleteNetworkFirewallTransitGatewayAttachment(args: DeleteNetworkFirewallTransitGatewayAttachmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteNetworkFirewallTransitGatewayAttachmentCommandOutput) => void): void;
|
|
110
134
|
/**
|
|
111
135
|
* @see {@link DeleteResourcePolicyCommand}
|
|
112
136
|
*/
|
|
@@ -200,6 +224,12 @@ export interface NetworkFirewall {
|
|
|
200
224
|
describeVpcEndpointAssociation(args: DescribeVpcEndpointAssociationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeVpcEndpointAssociationCommandOutput>;
|
|
201
225
|
describeVpcEndpointAssociation(args: DescribeVpcEndpointAssociationCommandInput, cb: (err: any, data?: DescribeVpcEndpointAssociationCommandOutput) => void): void;
|
|
202
226
|
describeVpcEndpointAssociation(args: DescribeVpcEndpointAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeVpcEndpointAssociationCommandOutput) => void): void;
|
|
227
|
+
/**
|
|
228
|
+
* @see {@link DisassociateAvailabilityZonesCommand}
|
|
229
|
+
*/
|
|
230
|
+
disassociateAvailabilityZones(args: DisassociateAvailabilityZonesCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateAvailabilityZonesCommandOutput>;
|
|
231
|
+
disassociateAvailabilityZones(args: DisassociateAvailabilityZonesCommandInput, cb: (err: any, data?: DisassociateAvailabilityZonesCommandOutput) => void): void;
|
|
232
|
+
disassociateAvailabilityZones(args: DisassociateAvailabilityZonesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateAvailabilityZonesCommandOutput) => void): void;
|
|
203
233
|
/**
|
|
204
234
|
* @see {@link DisassociateSubnetsCommand}
|
|
205
235
|
*/
|
|
@@ -278,6 +308,12 @@ export interface NetworkFirewall {
|
|
|
278
308
|
putResourcePolicy(args: PutResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutResourcePolicyCommandOutput>;
|
|
279
309
|
putResourcePolicy(args: PutResourcePolicyCommandInput, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
|
|
280
310
|
putResourcePolicy(args: PutResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
|
|
311
|
+
/**
|
|
312
|
+
* @see {@link RejectNetworkFirewallTransitGatewayAttachmentCommand}
|
|
313
|
+
*/
|
|
314
|
+
rejectNetworkFirewallTransitGatewayAttachment(args: RejectNetworkFirewallTransitGatewayAttachmentCommandInput, options?: __HttpHandlerOptions): Promise<RejectNetworkFirewallTransitGatewayAttachmentCommandOutput>;
|
|
315
|
+
rejectNetworkFirewallTransitGatewayAttachment(args: RejectNetworkFirewallTransitGatewayAttachmentCommandInput, cb: (err: any, data?: RejectNetworkFirewallTransitGatewayAttachmentCommandOutput) => void): void;
|
|
316
|
+
rejectNetworkFirewallTransitGatewayAttachment(args: RejectNetworkFirewallTransitGatewayAttachmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RejectNetworkFirewallTransitGatewayAttachmentCommandOutput) => void): void;
|
|
281
317
|
/**
|
|
282
318
|
* @see {@link StartAnalysisReportCommand}
|
|
283
319
|
*/
|
|
@@ -308,6 +344,12 @@ export interface NetworkFirewall {
|
|
|
308
344
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
309
345
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
310
346
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
347
|
+
/**
|
|
348
|
+
* @see {@link UpdateAvailabilityZoneChangeProtectionCommand}
|
|
349
|
+
*/
|
|
350
|
+
updateAvailabilityZoneChangeProtection(args: UpdateAvailabilityZoneChangeProtectionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAvailabilityZoneChangeProtectionCommandOutput>;
|
|
351
|
+
updateAvailabilityZoneChangeProtection(args: UpdateAvailabilityZoneChangeProtectionCommandInput, cb: (err: any, data?: UpdateAvailabilityZoneChangeProtectionCommandOutput) => void): void;
|
|
352
|
+
updateAvailabilityZoneChangeProtection(args: UpdateAvailabilityZoneChangeProtectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAvailabilityZoneChangeProtectionCommandOutput) => void): void;
|
|
311
353
|
/**
|
|
312
354
|
* @see {@link UpdateFirewallAnalysisSettingsCommand}
|
|
313
355
|
*/
|
|
@@ -7,6 +7,8 @@ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol
|
|
|
7
7
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
8
8
|
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
|
+
import { AcceptNetworkFirewallTransitGatewayAttachmentCommandInput, AcceptNetworkFirewallTransitGatewayAttachmentCommandOutput } from "./commands/AcceptNetworkFirewallTransitGatewayAttachmentCommand";
|
|
11
|
+
import { AssociateAvailabilityZonesCommandInput, AssociateAvailabilityZonesCommandOutput } from "./commands/AssociateAvailabilityZonesCommand";
|
|
10
12
|
import { AssociateFirewallPolicyCommandInput, AssociateFirewallPolicyCommandOutput } from "./commands/AssociateFirewallPolicyCommand";
|
|
11
13
|
import { AssociateSubnetsCommandInput, AssociateSubnetsCommandOutput } from "./commands/AssociateSubnetsCommand";
|
|
12
14
|
import { CreateFirewallCommandInput, CreateFirewallCommandOutput } from "./commands/CreateFirewallCommand";
|
|
@@ -16,6 +18,7 @@ import { CreateTLSInspectionConfigurationCommandInput, CreateTLSInspectionConfig
|
|
|
16
18
|
import { CreateVpcEndpointAssociationCommandInput, CreateVpcEndpointAssociationCommandOutput } from "./commands/CreateVpcEndpointAssociationCommand";
|
|
17
19
|
import { DeleteFirewallCommandInput, DeleteFirewallCommandOutput } from "./commands/DeleteFirewallCommand";
|
|
18
20
|
import { DeleteFirewallPolicyCommandInput, DeleteFirewallPolicyCommandOutput } from "./commands/DeleteFirewallPolicyCommand";
|
|
21
|
+
import { DeleteNetworkFirewallTransitGatewayAttachmentCommandInput, DeleteNetworkFirewallTransitGatewayAttachmentCommandOutput } from "./commands/DeleteNetworkFirewallTransitGatewayAttachmentCommand";
|
|
19
22
|
import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
|
|
20
23
|
import { DeleteRuleGroupCommandInput, DeleteRuleGroupCommandOutput } from "./commands/DeleteRuleGroupCommand";
|
|
21
24
|
import { DeleteTLSInspectionConfigurationCommandInput, DeleteTLSInspectionConfigurationCommandOutput } from "./commands/DeleteTLSInspectionConfigurationCommand";
|
|
@@ -30,6 +33,7 @@ import { DescribeRuleGroupCommandInput, DescribeRuleGroupCommandOutput } from ".
|
|
|
30
33
|
import { DescribeRuleGroupMetadataCommandInput, DescribeRuleGroupMetadataCommandOutput } from "./commands/DescribeRuleGroupMetadataCommand";
|
|
31
34
|
import { DescribeTLSInspectionConfigurationCommandInput, DescribeTLSInspectionConfigurationCommandOutput } from "./commands/DescribeTLSInspectionConfigurationCommand";
|
|
32
35
|
import { DescribeVpcEndpointAssociationCommandInput, DescribeVpcEndpointAssociationCommandOutput } from "./commands/DescribeVpcEndpointAssociationCommand";
|
|
36
|
+
import { DisassociateAvailabilityZonesCommandInput, DisassociateAvailabilityZonesCommandOutput } from "./commands/DisassociateAvailabilityZonesCommand";
|
|
33
37
|
import { DisassociateSubnetsCommandInput, DisassociateSubnetsCommandOutput } from "./commands/DisassociateSubnetsCommand";
|
|
34
38
|
import { GetAnalysisReportResultsCommandInput, GetAnalysisReportResultsCommandOutput } from "./commands/GetAnalysisReportResultsCommand";
|
|
35
39
|
import { ListAnalysisReportsCommandInput, ListAnalysisReportsCommandOutput } from "./commands/ListAnalysisReportsCommand";
|
|
@@ -42,11 +46,13 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
|
|
|
42
46
|
import { ListTLSInspectionConfigurationsCommandInput, ListTLSInspectionConfigurationsCommandOutput } from "./commands/ListTLSInspectionConfigurationsCommand";
|
|
43
47
|
import { ListVpcEndpointAssociationsCommandInput, ListVpcEndpointAssociationsCommandOutput } from "./commands/ListVpcEndpointAssociationsCommand";
|
|
44
48
|
import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
|
|
49
|
+
import { RejectNetworkFirewallTransitGatewayAttachmentCommandInput, RejectNetworkFirewallTransitGatewayAttachmentCommandOutput } from "./commands/RejectNetworkFirewallTransitGatewayAttachmentCommand";
|
|
45
50
|
import { StartAnalysisReportCommandInput, StartAnalysisReportCommandOutput } from "./commands/StartAnalysisReportCommand";
|
|
46
51
|
import { StartFlowCaptureCommandInput, StartFlowCaptureCommandOutput } from "./commands/StartFlowCaptureCommand";
|
|
47
52
|
import { StartFlowFlushCommandInput, StartFlowFlushCommandOutput } from "./commands/StartFlowFlushCommand";
|
|
48
53
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
49
54
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
55
|
+
import { UpdateAvailabilityZoneChangeProtectionCommandInput, UpdateAvailabilityZoneChangeProtectionCommandOutput } from "./commands/UpdateAvailabilityZoneChangeProtectionCommand";
|
|
50
56
|
import { UpdateFirewallAnalysisSettingsCommandInput, UpdateFirewallAnalysisSettingsCommandOutput } from "./commands/UpdateFirewallAnalysisSettingsCommand";
|
|
51
57
|
import { UpdateFirewallDeleteProtectionCommandInput, UpdateFirewallDeleteProtectionCommandOutput } from "./commands/UpdateFirewallDeleteProtectionCommand";
|
|
52
58
|
import { UpdateFirewallDescriptionCommandInput, UpdateFirewallDescriptionCommandOutput } from "./commands/UpdateFirewallDescriptionCommand";
|
|
@@ -63,11 +69,11 @@ export { __Client };
|
|
|
63
69
|
/**
|
|
64
70
|
* @public
|
|
65
71
|
*/
|
|
66
|
-
export type ServiceInputTypes = AssociateFirewallPolicyCommandInput | AssociateSubnetsCommandInput | CreateFirewallCommandInput | CreateFirewallPolicyCommandInput | CreateRuleGroupCommandInput | CreateTLSInspectionConfigurationCommandInput | CreateVpcEndpointAssociationCommandInput | DeleteFirewallCommandInput | DeleteFirewallPolicyCommandInput | DeleteResourcePolicyCommandInput | DeleteRuleGroupCommandInput | DeleteTLSInspectionConfigurationCommandInput | DeleteVpcEndpointAssociationCommandInput | DescribeFirewallCommandInput | DescribeFirewallMetadataCommandInput | DescribeFirewallPolicyCommandInput | DescribeFlowOperationCommandInput | DescribeLoggingConfigurationCommandInput | DescribeResourcePolicyCommandInput | DescribeRuleGroupCommandInput | DescribeRuleGroupMetadataCommandInput | DescribeTLSInspectionConfigurationCommandInput | DescribeVpcEndpointAssociationCommandInput | DisassociateSubnetsCommandInput | GetAnalysisReportResultsCommandInput | ListAnalysisReportsCommandInput | ListFirewallPoliciesCommandInput | ListFirewallsCommandInput | ListFlowOperationResultsCommandInput | ListFlowOperationsCommandInput | ListRuleGroupsCommandInput | ListTLSInspectionConfigurationsCommandInput | ListTagsForResourceCommandInput | ListVpcEndpointAssociationsCommandInput | PutResourcePolicyCommandInput | StartAnalysisReportCommandInput | StartFlowCaptureCommandInput | StartFlowFlushCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateFirewallAnalysisSettingsCommandInput | UpdateFirewallDeleteProtectionCommandInput | UpdateFirewallDescriptionCommandInput | UpdateFirewallEncryptionConfigurationCommandInput | UpdateFirewallPolicyChangeProtectionCommandInput | UpdateFirewallPolicyCommandInput | UpdateLoggingConfigurationCommandInput | UpdateRuleGroupCommandInput | UpdateSubnetChangeProtectionCommandInput | UpdateTLSInspectionConfigurationCommandInput;
|
|
72
|
+
export type ServiceInputTypes = AcceptNetworkFirewallTransitGatewayAttachmentCommandInput | AssociateAvailabilityZonesCommandInput | AssociateFirewallPolicyCommandInput | AssociateSubnetsCommandInput | CreateFirewallCommandInput | CreateFirewallPolicyCommandInput | CreateRuleGroupCommandInput | CreateTLSInspectionConfigurationCommandInput | CreateVpcEndpointAssociationCommandInput | DeleteFirewallCommandInput | DeleteFirewallPolicyCommandInput | DeleteNetworkFirewallTransitGatewayAttachmentCommandInput | DeleteResourcePolicyCommandInput | DeleteRuleGroupCommandInput | DeleteTLSInspectionConfigurationCommandInput | DeleteVpcEndpointAssociationCommandInput | DescribeFirewallCommandInput | DescribeFirewallMetadataCommandInput | DescribeFirewallPolicyCommandInput | DescribeFlowOperationCommandInput | DescribeLoggingConfigurationCommandInput | DescribeResourcePolicyCommandInput | DescribeRuleGroupCommandInput | DescribeRuleGroupMetadataCommandInput | DescribeTLSInspectionConfigurationCommandInput | DescribeVpcEndpointAssociationCommandInput | DisassociateAvailabilityZonesCommandInput | DisassociateSubnetsCommandInput | GetAnalysisReportResultsCommandInput | ListAnalysisReportsCommandInput | ListFirewallPoliciesCommandInput | ListFirewallsCommandInput | ListFlowOperationResultsCommandInput | ListFlowOperationsCommandInput | ListRuleGroupsCommandInput | ListTLSInspectionConfigurationsCommandInput | ListTagsForResourceCommandInput | ListVpcEndpointAssociationsCommandInput | PutResourcePolicyCommandInput | RejectNetworkFirewallTransitGatewayAttachmentCommandInput | StartAnalysisReportCommandInput | StartFlowCaptureCommandInput | StartFlowFlushCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAvailabilityZoneChangeProtectionCommandInput | UpdateFirewallAnalysisSettingsCommandInput | UpdateFirewallDeleteProtectionCommandInput | UpdateFirewallDescriptionCommandInput | UpdateFirewallEncryptionConfigurationCommandInput | UpdateFirewallPolicyChangeProtectionCommandInput | UpdateFirewallPolicyCommandInput | UpdateLoggingConfigurationCommandInput | UpdateRuleGroupCommandInput | UpdateSubnetChangeProtectionCommandInput | UpdateTLSInspectionConfigurationCommandInput;
|
|
67
73
|
/**
|
|
68
74
|
* @public
|
|
69
75
|
*/
|
|
70
|
-
export type ServiceOutputTypes = AssociateFirewallPolicyCommandOutput | AssociateSubnetsCommandOutput | CreateFirewallCommandOutput | CreateFirewallPolicyCommandOutput | CreateRuleGroupCommandOutput | CreateTLSInspectionConfigurationCommandOutput | CreateVpcEndpointAssociationCommandOutput | DeleteFirewallCommandOutput | DeleteFirewallPolicyCommandOutput | DeleteResourcePolicyCommandOutput | DeleteRuleGroupCommandOutput | DeleteTLSInspectionConfigurationCommandOutput | DeleteVpcEndpointAssociationCommandOutput | DescribeFirewallCommandOutput | DescribeFirewallMetadataCommandOutput | DescribeFirewallPolicyCommandOutput | DescribeFlowOperationCommandOutput | DescribeLoggingConfigurationCommandOutput | DescribeResourcePolicyCommandOutput | DescribeRuleGroupCommandOutput | DescribeRuleGroupMetadataCommandOutput | DescribeTLSInspectionConfigurationCommandOutput | DescribeVpcEndpointAssociationCommandOutput | DisassociateSubnetsCommandOutput | GetAnalysisReportResultsCommandOutput | ListAnalysisReportsCommandOutput | ListFirewallPoliciesCommandOutput | ListFirewallsCommandOutput | ListFlowOperationResultsCommandOutput | ListFlowOperationsCommandOutput | ListRuleGroupsCommandOutput | ListTLSInspectionConfigurationsCommandOutput | ListTagsForResourceCommandOutput | ListVpcEndpointAssociationsCommandOutput | PutResourcePolicyCommandOutput | StartAnalysisReportCommandOutput | StartFlowCaptureCommandOutput | StartFlowFlushCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateFirewallAnalysisSettingsCommandOutput | UpdateFirewallDeleteProtectionCommandOutput | UpdateFirewallDescriptionCommandOutput | UpdateFirewallEncryptionConfigurationCommandOutput | UpdateFirewallPolicyChangeProtectionCommandOutput | UpdateFirewallPolicyCommandOutput | UpdateLoggingConfigurationCommandOutput | UpdateRuleGroupCommandOutput | UpdateSubnetChangeProtectionCommandOutput | UpdateTLSInspectionConfigurationCommandOutput;
|
|
76
|
+
export type ServiceOutputTypes = AcceptNetworkFirewallTransitGatewayAttachmentCommandOutput | AssociateAvailabilityZonesCommandOutput | AssociateFirewallPolicyCommandOutput | AssociateSubnetsCommandOutput | CreateFirewallCommandOutput | CreateFirewallPolicyCommandOutput | CreateRuleGroupCommandOutput | CreateTLSInspectionConfigurationCommandOutput | CreateVpcEndpointAssociationCommandOutput | DeleteFirewallCommandOutput | DeleteFirewallPolicyCommandOutput | DeleteNetworkFirewallTransitGatewayAttachmentCommandOutput | DeleteResourcePolicyCommandOutput | DeleteRuleGroupCommandOutput | DeleteTLSInspectionConfigurationCommandOutput | DeleteVpcEndpointAssociationCommandOutput | DescribeFirewallCommandOutput | DescribeFirewallMetadataCommandOutput | DescribeFirewallPolicyCommandOutput | DescribeFlowOperationCommandOutput | DescribeLoggingConfigurationCommandOutput | DescribeResourcePolicyCommandOutput | DescribeRuleGroupCommandOutput | DescribeRuleGroupMetadataCommandOutput | DescribeTLSInspectionConfigurationCommandOutput | DescribeVpcEndpointAssociationCommandOutput | DisassociateAvailabilityZonesCommandOutput | DisassociateSubnetsCommandOutput | GetAnalysisReportResultsCommandOutput | ListAnalysisReportsCommandOutput | ListFirewallPoliciesCommandOutput | ListFirewallsCommandOutput | ListFlowOperationResultsCommandOutput | ListFlowOperationsCommandOutput | ListRuleGroupsCommandOutput | ListTLSInspectionConfigurationsCommandOutput | ListTagsForResourceCommandOutput | ListVpcEndpointAssociationsCommandOutput | PutResourcePolicyCommandOutput | RejectNetworkFirewallTransitGatewayAttachmentCommandOutput | StartAnalysisReportCommandOutput | StartFlowCaptureCommandOutput | StartFlowFlushCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAvailabilityZoneChangeProtectionCommandOutput | UpdateFirewallAnalysisSettingsCommandOutput | UpdateFirewallDeleteProtectionCommandOutput | UpdateFirewallDescriptionCommandOutput | UpdateFirewallEncryptionConfigurationCommandOutput | UpdateFirewallPolicyChangeProtectionCommandOutput | UpdateFirewallPolicyCommandOutput | UpdateLoggingConfigurationCommandOutput | UpdateRuleGroupCommandOutput | UpdateSubnetChangeProtectionCommandOutput | UpdateTLSInspectionConfigurationCommandOutput;
|
|
71
77
|
/**
|
|
72
78
|
* @public
|
|
73
79
|
*/
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { AcceptNetworkFirewallTransitGatewayAttachmentRequest, AcceptNetworkFirewallTransitGatewayAttachmentResponse } from "../models/models_0";
|
|
4
|
+
import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link AcceptNetworkFirewallTransitGatewayAttachmentCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface AcceptNetworkFirewallTransitGatewayAttachmentCommandInput extends AcceptNetworkFirewallTransitGatewayAttachmentRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link AcceptNetworkFirewallTransitGatewayAttachmentCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface AcceptNetworkFirewallTransitGatewayAttachmentCommandOutput extends AcceptNetworkFirewallTransitGatewayAttachmentResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const AcceptNetworkFirewallTransitGatewayAttachmentCommand_base: {
|
|
25
|
+
new (input: AcceptNetworkFirewallTransitGatewayAttachmentCommandInput): import("@smithy/smithy-client").CommandImpl<AcceptNetworkFirewallTransitGatewayAttachmentCommandInput, AcceptNetworkFirewallTransitGatewayAttachmentCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: AcceptNetworkFirewallTransitGatewayAttachmentCommandInput): import("@smithy/smithy-client").CommandImpl<AcceptNetworkFirewallTransitGatewayAttachmentCommandInput, AcceptNetworkFirewallTransitGatewayAttachmentCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Accepts a transit gateway attachment request for Network Firewall. When you accept the attachment request, Network Firewall creates the necessary routing components to enable traffic flow between the transit gateway and firewall endpoints.</p>
|
|
31
|
+
* <p>You must accept a transit gateway attachment to complete the creation of a transit gateway-attached firewall, unless auto-accept is enabled on the transit gateway. After acceptance, use <a>DescribeFirewall</a> to verify the firewall status.</p>
|
|
32
|
+
* <p>To reject an attachment instead of accepting it, use <a>RejectNetworkFirewallTransitGatewayAttachment</a>.</p>
|
|
33
|
+
* <note>
|
|
34
|
+
* <p>It can take several minutes for the attachment acceptance to complete and the firewall to become available.</p>
|
|
35
|
+
* </note>
|
|
36
|
+
* @example
|
|
37
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
38
|
+
* ```javascript
|
|
39
|
+
* import { NetworkFirewallClient, AcceptNetworkFirewallTransitGatewayAttachmentCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
40
|
+
* // const { NetworkFirewallClient, AcceptNetworkFirewallTransitGatewayAttachmentCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
41
|
+
* const client = new NetworkFirewallClient(config);
|
|
42
|
+
* const input = { // AcceptNetworkFirewallTransitGatewayAttachmentRequest
|
|
43
|
+
* TransitGatewayAttachmentId: "STRING_VALUE", // required
|
|
44
|
+
* };
|
|
45
|
+
* const command = new AcceptNetworkFirewallTransitGatewayAttachmentCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // AcceptNetworkFirewallTransitGatewayAttachmentResponse
|
|
48
|
+
* // TransitGatewayAttachmentId: "STRING_VALUE", // required
|
|
49
|
+
* // TransitGatewayAttachmentStatus: "CREATING" || "DELETING" || "DELETED" || "FAILED" || "ERROR" || "READY" || "PENDING_ACCEPTANCE" || "REJECTING" || "REJECTED", // required
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param AcceptNetworkFirewallTransitGatewayAttachmentCommandInput - {@link AcceptNetworkFirewallTransitGatewayAttachmentCommandInput}
|
|
55
|
+
* @returns {@link AcceptNetworkFirewallTransitGatewayAttachmentCommandOutput}
|
|
56
|
+
* @see {@link AcceptNetworkFirewallTransitGatewayAttachmentCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link AcceptNetworkFirewallTransitGatewayAttachmentCommandOutput} for command's `response` shape.
|
|
58
|
+
* @see {@link NetworkFirewallClientResolvedConfig | config} for NetworkFirewallClient's `config` shape.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link InternalServerError} (server fault)
|
|
61
|
+
* <p>Your request is valid, but Network Firewall couldn't perform the operation because of a
|
|
62
|
+
* system problem. Retry your request. </p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
65
|
+
* <p>The operation failed because of a problem with your request. Examples include: </p>
|
|
66
|
+
* <ul>
|
|
67
|
+
* <li>
|
|
68
|
+
* <p>You specified an unsupported parameter name or value.</p>
|
|
69
|
+
* </li>
|
|
70
|
+
* <li>
|
|
71
|
+
* <p>You tried to update a property with a value that isn't among the available
|
|
72
|
+
* types.</p>
|
|
73
|
+
* </li>
|
|
74
|
+
* <li>
|
|
75
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
76
|
+
* that isn't valid in the context of the request.</p>
|
|
77
|
+
* </li>
|
|
78
|
+
* </ul>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
81
|
+
* <p>Unable to locate a resource using the parameters that you provided.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
84
|
+
* <p>Unable to process the request due to throttling limitations.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link NetworkFirewallServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from NetworkFirewall service.</p>
|
|
88
|
+
*
|
|
89
|
+
*
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
export declare class AcceptNetworkFirewallTransitGatewayAttachmentCommand extends AcceptNetworkFirewallTransitGatewayAttachmentCommand_base {
|
|
93
|
+
/** @internal type navigation helper, not in runtime. */
|
|
94
|
+
protected static __types: {
|
|
95
|
+
api: {
|
|
96
|
+
input: AcceptNetworkFirewallTransitGatewayAttachmentRequest;
|
|
97
|
+
output: AcceptNetworkFirewallTransitGatewayAttachmentResponse;
|
|
98
|
+
};
|
|
99
|
+
sdk: {
|
|
100
|
+
input: AcceptNetworkFirewallTransitGatewayAttachmentCommandInput;
|
|
101
|
+
output: AcceptNetworkFirewallTransitGatewayAttachmentCommandOutput;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { AssociateAvailabilityZonesRequest, AssociateAvailabilityZonesResponse } from "../models/models_0";
|
|
4
|
+
import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link AssociateAvailabilityZonesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface AssociateAvailabilityZonesCommandInput extends AssociateAvailabilityZonesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link AssociateAvailabilityZonesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface AssociateAvailabilityZonesCommandOutput extends AssociateAvailabilityZonesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const AssociateAvailabilityZonesCommand_base: {
|
|
25
|
+
new (input: AssociateAvailabilityZonesCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateAvailabilityZonesCommandInput, AssociateAvailabilityZonesCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: AssociateAvailabilityZonesCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateAvailabilityZonesCommandInput, AssociateAvailabilityZonesCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Associates the specified Availability Zones with a transit gateway-attached firewall. For each Availability Zone, Network Firewall creates a firewall endpoint to process traffic. You can specify one or more Availability Zones where you want to deploy the firewall.</p>
|
|
31
|
+
* <p>After adding Availability Zones, you must update your transit gateway route tables to direct traffic through the new firewall endpoints. Use <a>DescribeFirewall</a> to monitor the status of the new endpoints.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { NetworkFirewallClient, AssociateAvailabilityZonesCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
36
|
+
* // const { NetworkFirewallClient, AssociateAvailabilityZonesCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
37
|
+
* const client = new NetworkFirewallClient(config);
|
|
38
|
+
* const input = { // AssociateAvailabilityZonesRequest
|
|
39
|
+
* UpdateToken: "STRING_VALUE",
|
|
40
|
+
* FirewallArn: "STRING_VALUE",
|
|
41
|
+
* FirewallName: "STRING_VALUE",
|
|
42
|
+
* AvailabilityZoneMappings: [ // AvailabilityZoneMappings // required
|
|
43
|
+
* { // AvailabilityZoneMapping
|
|
44
|
+
* AvailabilityZone: "STRING_VALUE", // required
|
|
45
|
+
* },
|
|
46
|
+
* ],
|
|
47
|
+
* };
|
|
48
|
+
* const command = new AssociateAvailabilityZonesCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // AssociateAvailabilityZonesResponse
|
|
51
|
+
* // FirewallArn: "STRING_VALUE",
|
|
52
|
+
* // FirewallName: "STRING_VALUE",
|
|
53
|
+
* // AvailabilityZoneMappings: [ // AvailabilityZoneMappings
|
|
54
|
+
* // { // AvailabilityZoneMapping
|
|
55
|
+
* // AvailabilityZone: "STRING_VALUE", // required
|
|
56
|
+
* // },
|
|
57
|
+
* // ],
|
|
58
|
+
* // UpdateToken: "STRING_VALUE",
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* @param AssociateAvailabilityZonesCommandInput - {@link AssociateAvailabilityZonesCommandInput}
|
|
64
|
+
* @returns {@link AssociateAvailabilityZonesCommandOutput}
|
|
65
|
+
* @see {@link AssociateAvailabilityZonesCommandInput} for command's `input` shape.
|
|
66
|
+
* @see {@link AssociateAvailabilityZonesCommandOutput} for command's `response` shape.
|
|
67
|
+
* @see {@link NetworkFirewallClientResolvedConfig | config} for NetworkFirewallClient's `config` shape.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InsufficientCapacityException} (server fault)
|
|
70
|
+
* <p>Amazon Web Services doesn't currently have enough available capacity to fulfill your request. Try your
|
|
71
|
+
* request later. </p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link InternalServerError} (server fault)
|
|
74
|
+
* <p>Your request is valid, but Network Firewall couldn't perform the operation because of a
|
|
75
|
+
* system problem. Retry your request. </p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link InvalidOperationException} (client fault)
|
|
78
|
+
* <p>The operation failed because it's not valid. For example, you might have tried to delete
|
|
79
|
+
* a rule group or firewall policy that's in use.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
82
|
+
* <p>The operation failed because of a problem with your request. Examples include: </p>
|
|
83
|
+
* <ul>
|
|
84
|
+
* <li>
|
|
85
|
+
* <p>You specified an unsupported parameter name or value.</p>
|
|
86
|
+
* </li>
|
|
87
|
+
* <li>
|
|
88
|
+
* <p>You tried to update a property with a value that isn't among the available
|
|
89
|
+
* types.</p>
|
|
90
|
+
* </li>
|
|
91
|
+
* <li>
|
|
92
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
93
|
+
* that isn't valid in the context of the request.</p>
|
|
94
|
+
* </li>
|
|
95
|
+
* </ul>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link InvalidTokenException} (client fault)
|
|
98
|
+
* <p>The token you provided is stale or isn't valid for the operation. </p>
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
101
|
+
* <p>Unable to locate a resource using the parameters that you provided.</p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
104
|
+
* <p>Unable to process the request due to throttling limitations.</p>
|
|
105
|
+
*
|
|
106
|
+
* @throws {@link NetworkFirewallServiceException}
|
|
107
|
+
* <p>Base exception class for all service exceptions from NetworkFirewall service.</p>
|
|
108
|
+
*
|
|
109
|
+
*
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
export declare class AssociateAvailabilityZonesCommand extends AssociateAvailabilityZonesCommand_base {
|
|
113
|
+
/** @internal type navigation helper, not in runtime. */
|
|
114
|
+
protected static __types: {
|
|
115
|
+
api: {
|
|
116
|
+
input: AssociateAvailabilityZonesRequest;
|
|
117
|
+
output: AssociateAvailabilityZonesResponse;
|
|
118
|
+
};
|
|
119
|
+
sdk: {
|
|
120
|
+
input: AssociateAvailabilityZonesCommandInput;
|
|
121
|
+
output: AssociateAvailabilityZonesCommandOutput;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
}
|
|
@@ -68,6 +68,13 @@ declare const CreateFirewallCommand_base: {
|
|
|
68
68
|
* EnabledAnalysisTypes: [ // EnabledAnalysisTypes
|
|
69
69
|
* "TLS_SNI" || "HTTP_HOST",
|
|
70
70
|
* ],
|
|
71
|
+
* TransitGatewayId: "STRING_VALUE",
|
|
72
|
+
* AvailabilityZoneMappings: [ // AvailabilityZoneMappings
|
|
73
|
+
* { // AvailabilityZoneMapping
|
|
74
|
+
* AvailabilityZone: "STRING_VALUE", // required
|
|
75
|
+
* },
|
|
76
|
+
* ],
|
|
77
|
+
* AvailabilityZoneChangeProtection: true || false,
|
|
71
78
|
* };
|
|
72
79
|
* const command = new CreateFirewallCommand(input);
|
|
73
80
|
* const response = await client.send(command);
|
|
@@ -102,6 +109,14 @@ declare const CreateFirewallCommand_base: {
|
|
|
102
109
|
* // EnabledAnalysisTypes: [ // EnabledAnalysisTypes
|
|
103
110
|
* // "TLS_SNI" || "HTTP_HOST",
|
|
104
111
|
* // ],
|
|
112
|
+
* // TransitGatewayId: "STRING_VALUE",
|
|
113
|
+
* // TransitGatewayOwnerAccountId: "STRING_VALUE",
|
|
114
|
+
* // AvailabilityZoneMappings: [ // AvailabilityZoneMappings
|
|
115
|
+
* // { // AvailabilityZoneMapping
|
|
116
|
+
* // AvailabilityZone: "STRING_VALUE", // required
|
|
117
|
+
* // },
|
|
118
|
+
* // ],
|
|
119
|
+
* // AvailabilityZoneChangeProtection: true || false,
|
|
105
120
|
* // },
|
|
106
121
|
* // FirewallStatus: { // FirewallStatus
|
|
107
122
|
* // Status: "PROVISIONING" || "DELETING" || "READY", // required
|
|
@@ -133,6 +148,11 @@ declare const CreateFirewallCommand_base: {
|
|
|
133
148
|
* // },
|
|
134
149
|
* // },
|
|
135
150
|
* // },
|
|
151
|
+
* // TransitGatewayAttachmentSyncState: { // TransitGatewayAttachmentSyncState
|
|
152
|
+
* // AttachmentId: "STRING_VALUE",
|
|
153
|
+
* // TransitGatewayAttachmentStatus: "CREATING" || "DELETING" || "DELETED" || "FAILED" || "ERROR" || "READY" || "PENDING_ACCEPTANCE" || "REJECTING" || "REJECTED",
|
|
154
|
+
* // StatusMessage: "STRING_VALUE",
|
|
155
|
+
* // },
|
|
136
156
|
* // },
|
|
137
157
|
* // };
|
|
138
158
|
*
|
|
@@ -78,7 +78,7 @@ declare const CreateRuleGroupCommand_base: {
|
|
|
78
78
|
* { // StatefulRule
|
|
79
79
|
* Action: "PASS" || "DROP" || "ALERT" || "REJECT", // required
|
|
80
80
|
* Header: { // Header
|
|
81
|
-
* Protocol: "IP" || "TCP" || "UDP" || "ICMP" || "HTTP" || "FTP" || "TLS" || "SMB" || "DNS" || "DCERPC" || "SSH" || "SMTP" || "IMAP" || "MSN" || "KRB5" || "IKEV2" || "TFTP" || "NTP" || "DHCP", // required
|
|
81
|
+
* Protocol: "IP" || "TCP" || "UDP" || "ICMP" || "HTTP" || "FTP" || "TLS" || "SMB" || "DNS" || "DCERPC" || "SSH" || "SMTP" || "IMAP" || "MSN" || "KRB5" || "IKEV2" || "TFTP" || "NTP" || "DHCP" || "HTTP2" || "QUIC", // required
|
|
82
82
|
* Source: "STRING_VALUE", // required
|
|
83
83
|
* SourcePort: "STRING_VALUE", // required
|
|
84
84
|
* Direction: "FORWARD" || "ANY", // required
|
|
@@ -81,6 +81,14 @@ declare const DeleteFirewallCommand_base: {
|
|
|
81
81
|
* // EnabledAnalysisTypes: [ // EnabledAnalysisTypes
|
|
82
82
|
* // "TLS_SNI" || "HTTP_HOST",
|
|
83
83
|
* // ],
|
|
84
|
+
* // TransitGatewayId: "STRING_VALUE",
|
|
85
|
+
* // TransitGatewayOwnerAccountId: "STRING_VALUE",
|
|
86
|
+
* // AvailabilityZoneMappings: [ // AvailabilityZoneMappings
|
|
87
|
+
* // { // AvailabilityZoneMapping
|
|
88
|
+
* // AvailabilityZone: "STRING_VALUE", // required
|
|
89
|
+
* // },
|
|
90
|
+
* // ],
|
|
91
|
+
* // AvailabilityZoneChangeProtection: true || false,
|
|
84
92
|
* // },
|
|
85
93
|
* // FirewallStatus: { // FirewallStatus
|
|
86
94
|
* // Status: "PROVISIONING" || "DELETING" || "READY", // required
|
|
@@ -112,6 +120,11 @@ declare const DeleteFirewallCommand_base: {
|
|
|
112
120
|
* // },
|
|
113
121
|
* // },
|
|
114
122
|
* // },
|
|
123
|
+
* // TransitGatewayAttachmentSyncState: { // TransitGatewayAttachmentSyncState
|
|
124
|
+
* // AttachmentId: "STRING_VALUE",
|
|
125
|
+
* // TransitGatewayAttachmentStatus: "CREATING" || "DELETING" || "DELETED" || "FAILED" || "ERROR" || "READY" || "PENDING_ACCEPTANCE" || "REJECTING" || "REJECTED",
|
|
126
|
+
* // StatusMessage: "STRING_VALUE",
|
|
127
|
+
* // },
|
|
115
128
|
* // },
|
|
116
129
|
* // };
|
|
117
130
|
*
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DeleteNetworkFirewallTransitGatewayAttachmentRequest, DeleteNetworkFirewallTransitGatewayAttachmentResponse } from "../models/models_0";
|
|
4
|
+
import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteNetworkFirewallTransitGatewayAttachmentCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteNetworkFirewallTransitGatewayAttachmentCommandInput extends DeleteNetworkFirewallTransitGatewayAttachmentRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteNetworkFirewallTransitGatewayAttachmentCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteNetworkFirewallTransitGatewayAttachmentCommandOutput extends DeleteNetworkFirewallTransitGatewayAttachmentResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteNetworkFirewallTransitGatewayAttachmentCommand_base: {
|
|
25
|
+
new (input: DeleteNetworkFirewallTransitGatewayAttachmentCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteNetworkFirewallTransitGatewayAttachmentCommandInput, DeleteNetworkFirewallTransitGatewayAttachmentCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteNetworkFirewallTransitGatewayAttachmentCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteNetworkFirewallTransitGatewayAttachmentCommandInput, DeleteNetworkFirewallTransitGatewayAttachmentCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes a transit gateway attachment from a Network Firewall. Either the firewall owner or the transit gateway owner can delete the attachment.</p>
|
|
31
|
+
* <important>
|
|
32
|
+
* <p>After you delete a transit gateway attachment, traffic will no longer flow through the firewall endpoints.</p>
|
|
33
|
+
* </important>
|
|
34
|
+
* <p>After you initiate the delete operation, use <a>DescribeFirewall</a> to monitor the deletion status.</p>
|
|
35
|
+
* @example
|
|
36
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
37
|
+
* ```javascript
|
|
38
|
+
* import { NetworkFirewallClient, DeleteNetworkFirewallTransitGatewayAttachmentCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
39
|
+
* // const { NetworkFirewallClient, DeleteNetworkFirewallTransitGatewayAttachmentCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
40
|
+
* const client = new NetworkFirewallClient(config);
|
|
41
|
+
* const input = { // DeleteNetworkFirewallTransitGatewayAttachmentRequest
|
|
42
|
+
* TransitGatewayAttachmentId: "STRING_VALUE", // required
|
|
43
|
+
* };
|
|
44
|
+
* const command = new DeleteNetworkFirewallTransitGatewayAttachmentCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // DeleteNetworkFirewallTransitGatewayAttachmentResponse
|
|
47
|
+
* // TransitGatewayAttachmentId: "STRING_VALUE", // required
|
|
48
|
+
* // TransitGatewayAttachmentStatus: "CREATING" || "DELETING" || "DELETED" || "FAILED" || "ERROR" || "READY" || "PENDING_ACCEPTANCE" || "REJECTING" || "REJECTED", // required
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param DeleteNetworkFirewallTransitGatewayAttachmentCommandInput - {@link DeleteNetworkFirewallTransitGatewayAttachmentCommandInput}
|
|
54
|
+
* @returns {@link DeleteNetworkFirewallTransitGatewayAttachmentCommandOutput}
|
|
55
|
+
* @see {@link DeleteNetworkFirewallTransitGatewayAttachmentCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link DeleteNetworkFirewallTransitGatewayAttachmentCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link NetworkFirewallClientResolvedConfig | config} for NetworkFirewallClient's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link InternalServerError} (server fault)
|
|
60
|
+
* <p>Your request is valid, but Network Firewall couldn't perform the operation because of a
|
|
61
|
+
* system problem. Retry your request. </p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
64
|
+
* <p>The operation failed because of a problem with your request. Examples include: </p>
|
|
65
|
+
* <ul>
|
|
66
|
+
* <li>
|
|
67
|
+
* <p>You specified an unsupported parameter name or value.</p>
|
|
68
|
+
* </li>
|
|
69
|
+
* <li>
|
|
70
|
+
* <p>You tried to update a property with a value that isn't among the available
|
|
71
|
+
* types.</p>
|
|
72
|
+
* </li>
|
|
73
|
+
* <li>
|
|
74
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
75
|
+
* that isn't valid in the context of the request.</p>
|
|
76
|
+
* </li>
|
|
77
|
+
* </ul>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
80
|
+
* <p>Unable to locate a resource using the parameters that you provided.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
83
|
+
* <p>Unable to process the request due to throttling limitations.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link NetworkFirewallServiceException}
|
|
86
|
+
* <p>Base exception class for all service exceptions from NetworkFirewall service.</p>
|
|
87
|
+
*
|
|
88
|
+
*
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class DeleteNetworkFirewallTransitGatewayAttachmentCommand extends DeleteNetworkFirewallTransitGatewayAttachmentCommand_base {
|
|
92
|
+
/** @internal type navigation helper, not in runtime. */
|
|
93
|
+
protected static __types: {
|
|
94
|
+
api: {
|
|
95
|
+
input: DeleteNetworkFirewallTransitGatewayAttachmentRequest;
|
|
96
|
+
output: DeleteNetworkFirewallTransitGatewayAttachmentResponse;
|
|
97
|
+
};
|
|
98
|
+
sdk: {
|
|
99
|
+
input: DeleteNetworkFirewallTransitGatewayAttachmentCommandInput;
|
|
100
|
+
output: DeleteNetworkFirewallTransitGatewayAttachmentCommandOutput;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
}
|
|
@@ -72,6 +72,14 @@ declare const DescribeFirewallCommand_base: {
|
|
|
72
72
|
* // EnabledAnalysisTypes: [ // EnabledAnalysisTypes
|
|
73
73
|
* // "TLS_SNI" || "HTTP_HOST",
|
|
74
74
|
* // ],
|
|
75
|
+
* // TransitGatewayId: "STRING_VALUE",
|
|
76
|
+
* // TransitGatewayOwnerAccountId: "STRING_VALUE",
|
|
77
|
+
* // AvailabilityZoneMappings: [ // AvailabilityZoneMappings
|
|
78
|
+
* // { // AvailabilityZoneMapping
|
|
79
|
+
* // AvailabilityZone: "STRING_VALUE", // required
|
|
80
|
+
* // },
|
|
81
|
+
* // ],
|
|
82
|
+
* // AvailabilityZoneChangeProtection: true || false,
|
|
75
83
|
* // },
|
|
76
84
|
* // FirewallStatus: { // FirewallStatus
|
|
77
85
|
* // Status: "PROVISIONING" || "DELETING" || "READY", // required
|
|
@@ -103,6 +111,11 @@ declare const DescribeFirewallCommand_base: {
|
|
|
103
111
|
* // },
|
|
104
112
|
* // },
|
|
105
113
|
* // },
|
|
114
|
+
* // TransitGatewayAttachmentSyncState: { // TransitGatewayAttachmentSyncState
|
|
115
|
+
* // AttachmentId: "STRING_VALUE",
|
|
116
|
+
* // TransitGatewayAttachmentStatus: "CREATING" || "DELETING" || "DELETED" || "FAILED" || "ERROR" || "READY" || "PENDING_ACCEPTANCE" || "REJECTING" || "REJECTED",
|
|
117
|
+
* // StatusMessage: "STRING_VALUE",
|
|
118
|
+
* // },
|
|
106
119
|
* // },
|
|
107
120
|
* // };
|
|
108
121
|
*
|