@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.
Files changed (49) hide show
  1. package/README.md +48 -0
  2. package/dist-cjs/index.js +295 -58
  3. package/dist-es/NetworkFirewall.js +12 -0
  4. package/dist-es/commands/AcceptNetworkFirewallTransitGatewayAttachmentCommand.js +22 -0
  5. package/dist-es/commands/AssociateAvailabilityZonesCommand.js +22 -0
  6. package/dist-es/commands/DeleteNetworkFirewallTransitGatewayAttachmentCommand.js +22 -0
  7. package/dist-es/commands/DisassociateAvailabilityZonesCommand.js +22 -0
  8. package/dist-es/commands/RejectNetworkFirewallTransitGatewayAttachmentCommand.js +22 -0
  9. package/dist-es/commands/UpdateAvailabilityZoneChangeProtectionCommand.js +22 -0
  10. package/dist-es/commands/index.js +6 -0
  11. package/dist-es/models/models_0.js +52 -39
  12. package/dist-es/protocols/Aws_json1_0.js +120 -6
  13. package/dist-types/NetworkFirewall.d.ts +42 -0
  14. package/dist-types/NetworkFirewallClient.d.ts +8 -2
  15. package/dist-types/commands/AcceptNetworkFirewallTransitGatewayAttachmentCommand.d.ts +104 -0
  16. package/dist-types/commands/AssociateAvailabilityZonesCommand.d.ts +124 -0
  17. package/dist-types/commands/CreateFirewallCommand.d.ts +20 -0
  18. package/dist-types/commands/CreateRuleGroupCommand.d.ts +1 -1
  19. package/dist-types/commands/DeleteFirewallCommand.d.ts +13 -0
  20. package/dist-types/commands/DeleteNetworkFirewallTransitGatewayAttachmentCommand.d.ts +103 -0
  21. package/dist-types/commands/DescribeFirewallCommand.d.ts +13 -0
  22. package/dist-types/commands/DescribeFirewallMetadataCommand.d.ts +1 -0
  23. package/dist-types/commands/DescribeRuleGroupCommand.d.ts +1 -1
  24. package/dist-types/commands/DisassociateAvailabilityZonesCommand.d.ts +123 -0
  25. package/dist-types/commands/ListFirewallsCommand.d.ts +1 -0
  26. package/dist-types/commands/RejectNetworkFirewallTransitGatewayAttachmentCommand.d.ts +104 -0
  27. package/dist-types/commands/UpdateAvailabilityZoneChangeProtectionCommand.d.ts +111 -0
  28. package/dist-types/commands/UpdateRuleGroupCommand.d.ts +1 -1
  29. package/dist-types/commands/index.d.ts +6 -0
  30. package/dist-types/endpoint/EndpointParameters.d.ts +7 -7
  31. package/dist-types/models/models_0.d.ts +651 -95
  32. package/dist-types/protocols/Aws_json1_0.d.ts +54 -0
  33. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  34. package/dist-types/runtimeConfig.native.d.ts +2 -2
  35. package/dist-types/ts3.4/NetworkFirewall.d.ts +126 -0
  36. package/dist-types/ts3.4/NetworkFirewallClient.d.ts +36 -0
  37. package/dist-types/ts3.4/commands/AcceptNetworkFirewallTransitGatewayAttachmentCommand.d.ts +51 -0
  38. package/dist-types/ts3.4/commands/AssociateAvailabilityZonesCommand.d.ts +51 -0
  39. package/dist-types/ts3.4/commands/DeleteNetworkFirewallTransitGatewayAttachmentCommand.d.ts +51 -0
  40. package/dist-types/ts3.4/commands/DisassociateAvailabilityZonesCommand.d.ts +51 -0
  41. package/dist-types/ts3.4/commands/RejectNetworkFirewallTransitGatewayAttachmentCommand.d.ts +51 -0
  42. package/dist-types/ts3.4/commands/UpdateAvailabilityZoneChangeProtectionCommand.d.ts +51 -0
  43. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  44. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +7 -7
  45. package/dist-types/ts3.4/models/models_0.d.ts +137 -45
  46. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +72 -0
  47. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -2
  48. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -2
  49. package/package.json +2 -2
package/dist-cjs/index.js CHANGED
@@ -21,6 +21,8 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
21
21
  // src/index.ts
22
22
  var index_exports = {};
23
23
  __export(index_exports, {
24
+ AcceptNetworkFirewallTransitGatewayAttachmentCommand: () => AcceptNetworkFirewallTransitGatewayAttachmentCommand,
25
+ AssociateAvailabilityZonesCommand: () => AssociateAvailabilityZonesCommand,
24
26
  AssociateFirewallPolicyCommand: () => AssociateFirewallPolicyCommand,
25
27
  AssociateSubnetsCommand: () => AssociateSubnetsCommand,
26
28
  AttachmentStatus: () => AttachmentStatus,
@@ -32,6 +34,7 @@ __export(index_exports, {
32
34
  CreateVpcEndpointAssociationCommand: () => CreateVpcEndpointAssociationCommand,
33
35
  DeleteFirewallCommand: () => DeleteFirewallCommand,
34
36
  DeleteFirewallPolicyCommand: () => DeleteFirewallPolicyCommand,
37
+ DeleteNetworkFirewallTransitGatewayAttachmentCommand: () => DeleteNetworkFirewallTransitGatewayAttachmentCommand,
35
38
  DeleteResourcePolicyCommand: () => DeleteResourcePolicyCommand,
36
39
  DeleteRuleGroupCommand: () => DeleteRuleGroupCommand,
37
40
  DeleteTLSInspectionConfigurationCommand: () => DeleteTLSInspectionConfigurationCommand,
@@ -46,6 +49,7 @@ __export(index_exports, {
46
49
  DescribeRuleGroupMetadataCommand: () => DescribeRuleGroupMetadataCommand,
47
50
  DescribeTLSInspectionConfigurationCommand: () => DescribeTLSInspectionConfigurationCommand,
48
51
  DescribeVpcEndpointAssociationCommand: () => DescribeVpcEndpointAssociationCommand,
52
+ DisassociateAvailabilityZonesCommand: () => DisassociateAvailabilityZonesCommand,
49
53
  DisassociateSubnetsCommand: () => DisassociateSubnetsCommand,
50
54
  EnabledAnalysisType: () => EnabledAnalysisType,
51
55
  EncryptionType: () => EncryptionType,
@@ -81,6 +85,7 @@ __export(index_exports, {
81
85
  OverrideAction: () => OverrideAction,
82
86
  PerObjectSyncStatus: () => PerObjectSyncStatus,
83
87
  PutResourcePolicyCommand: () => PutResourcePolicyCommand,
88
+ RejectNetworkFirewallTransitGatewayAttachmentCommand: () => RejectNetworkFirewallTransitGatewayAttachmentCommand,
84
89
  ResourceManagedStatus: () => ResourceManagedStatus,
85
90
  ResourceManagedType: () => ResourceManagedType,
86
91
  ResourceNotFoundException: () => ResourceNotFoundException,
@@ -100,8 +105,10 @@ __export(index_exports, {
100
105
  TagResourceCommand: () => TagResourceCommand,
101
106
  TargetType: () => TargetType,
102
107
  ThrottlingException: () => ThrottlingException,
108
+ TransitGatewayAttachmentStatus: () => TransitGatewayAttachmentStatus,
103
109
  UnsupportedOperationException: () => UnsupportedOperationException,
104
110
  UntagResourceCommand: () => UntagResourceCommand,
111
+ UpdateAvailabilityZoneChangeProtectionCommand: () => UpdateAvailabilityZoneChangeProtectionCommand,
105
112
  UpdateFirewallAnalysisSettingsCommand: () => UpdateFirewallAnalysisSettingsCommand,
106
113
  UpdateFirewallDeleteProtectionCommand: () => UpdateFirewallDeleteProtectionCommand,
107
114
  UpdateFirewallDescriptionCommand: () => UpdateFirewallDescriptionCommand,
@@ -270,7 +277,7 @@ var NetworkFirewallClient = class extends import_smithy_client.Client {
270
277
  // src/NetworkFirewall.ts
271
278
 
272
279
 
273
- // src/commands/AssociateFirewallPolicyCommand.ts
280
+ // src/commands/AcceptNetworkFirewallTransitGatewayAttachmentCommand.ts
274
281
 
275
282
  var import_middleware_serde = require("@smithy/middleware-serde");
276
283
 
@@ -296,13 +303,16 @@ var NetworkFirewallServiceException = class _NetworkFirewallServiceException ext
296
303
  };
297
304
 
298
305
  // src/models/models_0.ts
299
- var EnabledAnalysisType = {
300
- HTTP_HOST: "HTTP_HOST",
301
- TLS_SNI: "TLS_SNI"
302
- };
303
- var IdentifiedType = {
304
- STATELESS_RULE_CONTAINS_TCP_FLAGS: "STATELESS_RULE_CONTAINS_TCP_FLAGS",
305
- STATELESS_RULE_FORWARDING_ASYMMETRICALLY: "STATELESS_RULE_FORWARDING_ASYMMETRICALLY"
306
+ var TransitGatewayAttachmentStatus = {
307
+ CREATING: "CREATING",
308
+ DELETED: "DELETED",
309
+ DELETING: "DELETING",
310
+ ERROR: "ERROR",
311
+ FAILED: "FAILED",
312
+ PENDING_ACCEPTANCE: "PENDING_ACCEPTANCE",
313
+ READY: "READY",
314
+ REJECTED: "REJECTED",
315
+ REJECTING: "REJECTING"
306
316
  };
307
317
  var InternalServerError = class _InternalServerError extends NetworkFirewallServiceException {
308
318
  static {
@@ -324,11 +334,11 @@ var InternalServerError = class _InternalServerError extends NetworkFirewallServ
324
334
  this.Message = opts.Message;
325
335
  }
326
336
  };
327
- var InvalidOperationException = class _InvalidOperationException extends NetworkFirewallServiceException {
337
+ var InvalidRequestException = class _InvalidRequestException extends NetworkFirewallServiceException {
328
338
  static {
329
- __name(this, "InvalidOperationException");
339
+ __name(this, "InvalidRequestException");
330
340
  }
331
- name = "InvalidOperationException";
341
+ name = "InvalidRequestException";
332
342
  $fault = "client";
333
343
  Message;
334
344
  /**
@@ -336,19 +346,19 @@ var InvalidOperationException = class _InvalidOperationException extends Network
336
346
  */
337
347
  constructor(opts) {
338
348
  super({
339
- name: "InvalidOperationException",
349
+ name: "InvalidRequestException",
340
350
  $fault: "client",
341
351
  ...opts
342
352
  });
343
- Object.setPrototypeOf(this, _InvalidOperationException.prototype);
353
+ Object.setPrototypeOf(this, _InvalidRequestException.prototype);
344
354
  this.Message = opts.Message;
345
355
  }
346
356
  };
347
- var InvalidRequestException = class _InvalidRequestException extends NetworkFirewallServiceException {
357
+ var ResourceNotFoundException = class _ResourceNotFoundException extends NetworkFirewallServiceException {
348
358
  static {
349
- __name(this, "InvalidRequestException");
359
+ __name(this, "ResourceNotFoundException");
350
360
  }
351
- name = "InvalidRequestException";
361
+ name = "ResourceNotFoundException";
352
362
  $fault = "client";
353
363
  Message;
354
364
  /**
@@ -356,19 +366,19 @@ var InvalidRequestException = class _InvalidRequestException extends NetworkFire
356
366
  */
357
367
  constructor(opts) {
358
368
  super({
359
- name: "InvalidRequestException",
369
+ name: "ResourceNotFoundException",
360
370
  $fault: "client",
361
371
  ...opts
362
372
  });
363
- Object.setPrototypeOf(this, _InvalidRequestException.prototype);
373
+ Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
364
374
  this.Message = opts.Message;
365
375
  }
366
376
  };
367
- var InvalidTokenException = class _InvalidTokenException extends NetworkFirewallServiceException {
377
+ var ThrottlingException = class _ThrottlingException extends NetworkFirewallServiceException {
368
378
  static {
369
- __name(this, "InvalidTokenException");
379
+ __name(this, "ThrottlingException");
370
380
  }
371
- name = "InvalidTokenException";
381
+ name = "ThrottlingException";
372
382
  $fault = "client";
373
383
  Message;
374
384
  /**
@@ -376,39 +386,47 @@ var InvalidTokenException = class _InvalidTokenException extends NetworkFirewall
376
386
  */
377
387
  constructor(opts) {
378
388
  super({
379
- name: "InvalidTokenException",
389
+ name: "ThrottlingException",
380
390
  $fault: "client",
381
391
  ...opts
382
392
  });
383
- Object.setPrototypeOf(this, _InvalidTokenException.prototype);
393
+ Object.setPrototypeOf(this, _ThrottlingException.prototype);
384
394
  this.Message = opts.Message;
385
395
  }
386
396
  };
387
- var ResourceNotFoundException = class _ResourceNotFoundException extends NetworkFirewallServiceException {
397
+ var EnabledAnalysisType = {
398
+ HTTP_HOST: "HTTP_HOST",
399
+ TLS_SNI: "TLS_SNI"
400
+ };
401
+ var IdentifiedType = {
402
+ STATELESS_RULE_CONTAINS_TCP_FLAGS: "STATELESS_RULE_CONTAINS_TCP_FLAGS",
403
+ STATELESS_RULE_FORWARDING_ASYMMETRICALLY: "STATELESS_RULE_FORWARDING_ASYMMETRICALLY"
404
+ };
405
+ var InsufficientCapacityException = class _InsufficientCapacityException extends NetworkFirewallServiceException {
388
406
  static {
389
- __name(this, "ResourceNotFoundException");
407
+ __name(this, "InsufficientCapacityException");
390
408
  }
391
- name = "ResourceNotFoundException";
392
- $fault = "client";
409
+ name = "InsufficientCapacityException";
410
+ $fault = "server";
393
411
  Message;
394
412
  /**
395
413
  * @internal
396
414
  */
397
415
  constructor(opts) {
398
416
  super({
399
- name: "ResourceNotFoundException",
400
- $fault: "client",
417
+ name: "InsufficientCapacityException",
418
+ $fault: "server",
401
419
  ...opts
402
420
  });
403
- Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
421
+ Object.setPrototypeOf(this, _InsufficientCapacityException.prototype);
404
422
  this.Message = opts.Message;
405
423
  }
406
424
  };
407
- var ThrottlingException = class _ThrottlingException extends NetworkFirewallServiceException {
425
+ var InvalidOperationException = class _InvalidOperationException extends NetworkFirewallServiceException {
408
426
  static {
409
- __name(this, "ThrottlingException");
427
+ __name(this, "InvalidOperationException");
410
428
  }
411
- name = "ThrottlingException";
429
+ name = "InvalidOperationException";
412
430
  $fault = "client";
413
431
  Message;
414
432
  /**
@@ -416,39 +434,39 @@ var ThrottlingException = class _ThrottlingException extends NetworkFirewallServ
416
434
  */
417
435
  constructor(opts) {
418
436
  super({
419
- name: "ThrottlingException",
437
+ name: "InvalidOperationException",
420
438
  $fault: "client",
421
439
  ...opts
422
440
  });
423
- Object.setPrototypeOf(this, _ThrottlingException.prototype);
441
+ Object.setPrototypeOf(this, _InvalidOperationException.prototype);
424
442
  this.Message = opts.Message;
425
443
  }
426
444
  };
427
- var IPAddressType = {
428
- DUALSTACK: "DUALSTACK",
429
- IPV4: "IPV4",
430
- IPV6: "IPV6"
431
- };
432
- var InsufficientCapacityException = class _InsufficientCapacityException extends NetworkFirewallServiceException {
445
+ var InvalidTokenException = class _InvalidTokenException extends NetworkFirewallServiceException {
433
446
  static {
434
- __name(this, "InsufficientCapacityException");
447
+ __name(this, "InvalidTokenException");
435
448
  }
436
- name = "InsufficientCapacityException";
437
- $fault = "server";
449
+ name = "InvalidTokenException";
450
+ $fault = "client";
438
451
  Message;
439
452
  /**
440
453
  * @internal
441
454
  */
442
455
  constructor(opts) {
443
456
  super({
444
- name: "InsufficientCapacityException",
445
- $fault: "server",
457
+ name: "InvalidTokenException",
458
+ $fault: "client",
446
459
  ...opts
447
460
  });
448
- Object.setPrototypeOf(this, _InsufficientCapacityException.prototype);
461
+ Object.setPrototypeOf(this, _InvalidTokenException.prototype);
449
462
  this.Message = opts.Message;
450
463
  }
451
464
  };
465
+ var IPAddressType = {
466
+ DUALSTACK: "DUALSTACK",
467
+ IPV4: "IPV4",
468
+ IPV6: "IPV6"
469
+ };
452
470
  var AttachmentStatus = {
453
471
  CREATING: "CREATING",
454
472
  DELETING: "DELETING",
@@ -543,12 +561,14 @@ var StatefulRuleProtocol = {
543
561
  DNS: "DNS",
544
562
  FTP: "FTP",
545
563
  HTTP: "HTTP",
564
+ HTTP2: "HTTP2",
546
565
  ICMP: "ICMP",
547
566
  IKEV2: "IKEV2",
548
567
  IMAP: "IMAP",
549
568
  KRB5: "KRB5",
550
569
  MSN: "MSN",
551
570
  NTP: "NTP",
571
+ QUIC: "QUIC",
552
572
  SMB: "SMB",
553
573
  SMTP: "SMTP",
554
574
  SSH: "SSH",
@@ -681,6 +701,18 @@ var ResourceOwnerCheckException = class _ResourceOwnerCheckException extends Net
681
701
  };
682
702
 
683
703
  // src/protocols/Aws_json1_0.ts
704
+ var se_AcceptNetworkFirewallTransitGatewayAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => {
705
+ const headers = sharedHeaders("AcceptNetworkFirewallTransitGatewayAttachment");
706
+ let body;
707
+ body = JSON.stringify((0, import_smithy_client._json)(input));
708
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
709
+ }, "se_AcceptNetworkFirewallTransitGatewayAttachmentCommand");
710
+ var se_AssociateAvailabilityZonesCommand = /* @__PURE__ */ __name(async (input, context) => {
711
+ const headers = sharedHeaders("AssociateAvailabilityZones");
712
+ let body;
713
+ body = JSON.stringify((0, import_smithy_client._json)(input));
714
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
715
+ }, "se_AssociateAvailabilityZonesCommand");
684
716
  var se_AssociateFirewallPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
685
717
  const headers = sharedHeaders("AssociateFirewallPolicy");
686
718
  let body;
@@ -735,6 +767,12 @@ var se_DeleteFirewallPolicyCommand = /* @__PURE__ */ __name(async (input, contex
735
767
  body = JSON.stringify((0, import_smithy_client._json)(input));
736
768
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
737
769
  }, "se_DeleteFirewallPolicyCommand");
770
+ var se_DeleteNetworkFirewallTransitGatewayAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => {
771
+ const headers = sharedHeaders("DeleteNetworkFirewallTransitGatewayAttachment");
772
+ let body;
773
+ body = JSON.stringify((0, import_smithy_client._json)(input));
774
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
775
+ }, "se_DeleteNetworkFirewallTransitGatewayAttachmentCommand");
738
776
  var se_DeleteResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
739
777
  const headers = sharedHeaders("DeleteResourcePolicy");
740
778
  let body;
@@ -819,6 +857,12 @@ var se_DescribeVpcEndpointAssociationCommand = /* @__PURE__ */ __name(async (inp
819
857
  body = JSON.stringify((0, import_smithy_client._json)(input));
820
858
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
821
859
  }, "se_DescribeVpcEndpointAssociationCommand");
860
+ var se_DisassociateAvailabilityZonesCommand = /* @__PURE__ */ __name(async (input, context) => {
861
+ const headers = sharedHeaders("DisassociateAvailabilityZones");
862
+ let body;
863
+ body = JSON.stringify((0, import_smithy_client._json)(input));
864
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
865
+ }, "se_DisassociateAvailabilityZonesCommand");
822
866
  var se_DisassociateSubnetsCommand = /* @__PURE__ */ __name(async (input, context) => {
823
867
  const headers = sharedHeaders("DisassociateSubnets");
824
868
  let body;
@@ -891,6 +935,12 @@ var se_PutResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context)
891
935
  body = JSON.stringify((0, import_smithy_client._json)(input));
892
936
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
893
937
  }, "se_PutResourcePolicyCommand");
938
+ var se_RejectNetworkFirewallTransitGatewayAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => {
939
+ const headers = sharedHeaders("RejectNetworkFirewallTransitGatewayAttachment");
940
+ let body;
941
+ body = JSON.stringify((0, import_smithy_client._json)(input));
942
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
943
+ }, "se_RejectNetworkFirewallTransitGatewayAttachmentCommand");
894
944
  var se_StartAnalysisReportCommand = /* @__PURE__ */ __name(async (input, context) => {
895
945
  const headers = sharedHeaders("StartAnalysisReport");
896
946
  let body;
@@ -921,6 +971,12 @@ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
921
971
  body = JSON.stringify((0, import_smithy_client._json)(input));
922
972
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
923
973
  }, "se_UntagResourceCommand");
974
+ var se_UpdateAvailabilityZoneChangeProtectionCommand = /* @__PURE__ */ __name(async (input, context) => {
975
+ const headers = sharedHeaders("UpdateAvailabilityZoneChangeProtection");
976
+ let body;
977
+ body = JSON.stringify((0, import_smithy_client._json)(input));
978
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
979
+ }, "se_UpdateAvailabilityZoneChangeProtectionCommand");
924
980
  var se_UpdateFirewallAnalysisSettingsCommand = /* @__PURE__ */ __name(async (input, context) => {
925
981
  const headers = sharedHeaders("UpdateFirewallAnalysisSettings");
926
982
  let body;
@@ -981,6 +1037,32 @@ var se_UpdateTLSInspectionConfigurationCommand = /* @__PURE__ */ __name(async (i
981
1037
  body = JSON.stringify((0, import_smithy_client._json)(input));
982
1038
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
983
1039
  }, "se_UpdateTLSInspectionConfigurationCommand");
1040
+ var de_AcceptNetworkFirewallTransitGatewayAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => {
1041
+ if (output.statusCode >= 300) {
1042
+ return de_CommandError(output, context);
1043
+ }
1044
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1045
+ let contents = {};
1046
+ contents = (0, import_smithy_client._json)(data);
1047
+ const response = {
1048
+ $metadata: deserializeMetadata(output),
1049
+ ...contents
1050
+ };
1051
+ return response;
1052
+ }, "de_AcceptNetworkFirewallTransitGatewayAttachmentCommand");
1053
+ var de_AssociateAvailabilityZonesCommand = /* @__PURE__ */ __name(async (output, context) => {
1054
+ if (output.statusCode >= 300) {
1055
+ return de_CommandError(output, context);
1056
+ }
1057
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1058
+ let contents = {};
1059
+ contents = (0, import_smithy_client._json)(data);
1060
+ const response = {
1061
+ $metadata: deserializeMetadata(output),
1062
+ ...contents
1063
+ };
1064
+ return response;
1065
+ }, "de_AssociateAvailabilityZonesCommand");
984
1066
  var de_AssociateFirewallPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
985
1067
  if (output.statusCode >= 300) {
986
1068
  return de_CommandError(output, context);
@@ -1098,6 +1180,19 @@ var de_DeleteFirewallPolicyCommand = /* @__PURE__ */ __name(async (output, conte
1098
1180
  };
1099
1181
  return response;
1100
1182
  }, "de_DeleteFirewallPolicyCommand");
1183
+ var de_DeleteNetworkFirewallTransitGatewayAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => {
1184
+ if (output.statusCode >= 300) {
1185
+ return de_CommandError(output, context);
1186
+ }
1187
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1188
+ let contents = {};
1189
+ contents = (0, import_smithy_client._json)(data);
1190
+ const response = {
1191
+ $metadata: deserializeMetadata(output),
1192
+ ...contents
1193
+ };
1194
+ return response;
1195
+ }, "de_DeleteNetworkFirewallTransitGatewayAttachmentCommand");
1101
1196
  var de_DeleteResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
1102
1197
  if (output.statusCode >= 300) {
1103
1198
  return de_CommandError(output, context);
@@ -1280,6 +1375,19 @@ var de_DescribeVpcEndpointAssociationCommand = /* @__PURE__ */ __name(async (out
1280
1375
  };
1281
1376
  return response;
1282
1377
  }, "de_DescribeVpcEndpointAssociationCommand");
1378
+ var de_DisassociateAvailabilityZonesCommand = /* @__PURE__ */ __name(async (output, context) => {
1379
+ if (output.statusCode >= 300) {
1380
+ return de_CommandError(output, context);
1381
+ }
1382
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1383
+ let contents = {};
1384
+ contents = (0, import_smithy_client._json)(data);
1385
+ const response = {
1386
+ $metadata: deserializeMetadata(output),
1387
+ ...contents
1388
+ };
1389
+ return response;
1390
+ }, "de_DisassociateAvailabilityZonesCommand");
1283
1391
  var de_DisassociateSubnetsCommand = /* @__PURE__ */ __name(async (output, context) => {
1284
1392
  if (output.statusCode >= 300) {
1285
1393
  return de_CommandError(output, context);
@@ -1436,6 +1544,19 @@ var de_PutResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context)
1436
1544
  };
1437
1545
  return response;
1438
1546
  }, "de_PutResourcePolicyCommand");
1547
+ var de_RejectNetworkFirewallTransitGatewayAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => {
1548
+ if (output.statusCode >= 300) {
1549
+ return de_CommandError(output, context);
1550
+ }
1551
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1552
+ let contents = {};
1553
+ contents = (0, import_smithy_client._json)(data);
1554
+ const response = {
1555
+ $metadata: deserializeMetadata(output),
1556
+ ...contents
1557
+ };
1558
+ return response;
1559
+ }, "de_RejectNetworkFirewallTransitGatewayAttachmentCommand");
1439
1560
  var de_StartAnalysisReportCommand = /* @__PURE__ */ __name(async (output, context) => {
1440
1561
  if (output.statusCode >= 300) {
1441
1562
  return de_CommandError(output, context);
@@ -1501,6 +1622,19 @@ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
1501
1622
  };
1502
1623
  return response;
1503
1624
  }, "de_UntagResourceCommand");
1625
+ var de_UpdateAvailabilityZoneChangeProtectionCommand = /* @__PURE__ */ __name(async (output, context) => {
1626
+ if (output.statusCode >= 300) {
1627
+ return de_CommandError(output, context);
1628
+ }
1629
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1630
+ let contents = {};
1631
+ contents = (0, import_smithy_client._json)(data);
1632
+ const response = {
1633
+ $metadata: deserializeMetadata(output),
1634
+ ...contents
1635
+ };
1636
+ return response;
1637
+ }, "de_UpdateAvailabilityZoneChangeProtectionCommand");
1504
1638
  var de_UpdateFirewallAnalysisSettingsCommand = /* @__PURE__ */ __name(async (output, context) => {
1505
1639
  if (output.statusCode >= 300) {
1506
1640
  return de_CommandError(output, context);
@@ -1641,15 +1775,9 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
1641
1775
  case "InternalServerError":
1642
1776
  case "com.amazonaws.networkfirewall#InternalServerError":
1643
1777
  throw await de_InternalServerErrorRes(parsedOutput, context);
1644
- case "InvalidOperationException":
1645
- case "com.amazonaws.networkfirewall#InvalidOperationException":
1646
- throw await de_InvalidOperationExceptionRes(parsedOutput, context);
1647
1778
  case "InvalidRequestException":
1648
1779
  case "com.amazonaws.networkfirewall#InvalidRequestException":
1649
1780
  throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1650
- case "InvalidTokenException":
1651
- case "com.amazonaws.networkfirewall#InvalidTokenException":
1652
- throw await de_InvalidTokenExceptionRes(parsedOutput, context);
1653
1781
  case "ResourceNotFoundException":
1654
1782
  case "com.amazonaws.networkfirewall#ResourceNotFoundException":
1655
1783
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
@@ -1659,6 +1787,12 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
1659
1787
  case "InsufficientCapacityException":
1660
1788
  case "com.amazonaws.networkfirewall#InsufficientCapacityException":
1661
1789
  throw await de_InsufficientCapacityExceptionRes(parsedOutput, context);
1790
+ case "InvalidOperationException":
1791
+ case "com.amazonaws.networkfirewall#InvalidOperationException":
1792
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
1793
+ case "InvalidTokenException":
1794
+ case "com.amazonaws.networkfirewall#InvalidTokenException":
1795
+ throw await de_InvalidTokenExceptionRes(parsedOutput, context);
1662
1796
  case "LimitExceededException":
1663
1797
  case "com.amazonaws.networkfirewall#LimitExceededException":
1664
1798
  throw await de_LimitExceededExceptionRes(parsedOutput, context);
@@ -2081,7 +2215,37 @@ function sharedHeaders(operation) {
2081
2215
  }
2082
2216
  __name(sharedHeaders, "sharedHeaders");
2083
2217
 
2218
+ // src/commands/AcceptNetworkFirewallTransitGatewayAttachmentCommand.ts
2219
+ var AcceptNetworkFirewallTransitGatewayAttachmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2220
+ return [
2221
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2222
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2223
+ ];
2224
+ }).s("NetworkFirewall_20201112", "AcceptNetworkFirewallTransitGatewayAttachment", {}).n("NetworkFirewallClient", "AcceptNetworkFirewallTransitGatewayAttachmentCommand").f(void 0, void 0).ser(se_AcceptNetworkFirewallTransitGatewayAttachmentCommand).de(de_AcceptNetworkFirewallTransitGatewayAttachmentCommand).build() {
2225
+ static {
2226
+ __name(this, "AcceptNetworkFirewallTransitGatewayAttachmentCommand");
2227
+ }
2228
+ };
2229
+
2230
+ // src/commands/AssociateAvailabilityZonesCommand.ts
2231
+
2232
+
2233
+
2234
+ var AssociateAvailabilityZonesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2235
+ return [
2236
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2237
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2238
+ ];
2239
+ }).s("NetworkFirewall_20201112", "AssociateAvailabilityZones", {}).n("NetworkFirewallClient", "AssociateAvailabilityZonesCommand").f(void 0, void 0).ser(se_AssociateAvailabilityZonesCommand).de(de_AssociateAvailabilityZonesCommand).build() {
2240
+ static {
2241
+ __name(this, "AssociateAvailabilityZonesCommand");
2242
+ }
2243
+ };
2244
+
2084
2245
  // src/commands/AssociateFirewallPolicyCommand.ts
2246
+
2247
+
2248
+
2085
2249
  var AssociateFirewallPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2086
2250
  return [
2087
2251
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
@@ -2213,6 +2377,21 @@ var DeleteFirewallPolicyCommand = class extends import_smithy_client.Command.cla
2213
2377
  }
2214
2378
  };
2215
2379
 
2380
+ // src/commands/DeleteNetworkFirewallTransitGatewayAttachmentCommand.ts
2381
+
2382
+
2383
+
2384
+ var DeleteNetworkFirewallTransitGatewayAttachmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2385
+ return [
2386
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2387
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2388
+ ];
2389
+ }).s("NetworkFirewall_20201112", "DeleteNetworkFirewallTransitGatewayAttachment", {}).n("NetworkFirewallClient", "DeleteNetworkFirewallTransitGatewayAttachmentCommand").f(void 0, void 0).ser(se_DeleteNetworkFirewallTransitGatewayAttachmentCommand).de(de_DeleteNetworkFirewallTransitGatewayAttachmentCommand).build() {
2390
+ static {
2391
+ __name(this, "DeleteNetworkFirewallTransitGatewayAttachmentCommand");
2392
+ }
2393
+ };
2394
+
2216
2395
  // src/commands/DeleteResourcePolicyCommand.ts
2217
2396
 
2218
2397
 
@@ -2423,6 +2602,21 @@ var DescribeVpcEndpointAssociationCommand = class extends import_smithy_client.C
2423
2602
  }
2424
2603
  };
2425
2604
 
2605
+ // src/commands/DisassociateAvailabilityZonesCommand.ts
2606
+
2607
+
2608
+
2609
+ var DisassociateAvailabilityZonesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2610
+ return [
2611
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2612
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2613
+ ];
2614
+ }).s("NetworkFirewall_20201112", "DisassociateAvailabilityZones", {}).n("NetworkFirewallClient", "DisassociateAvailabilityZonesCommand").f(void 0, void 0).ser(se_DisassociateAvailabilityZonesCommand).de(de_DisassociateAvailabilityZonesCommand).build() {
2615
+ static {
2616
+ __name(this, "DisassociateAvailabilityZonesCommand");
2617
+ }
2618
+ };
2619
+
2426
2620
  // src/commands/DisassociateSubnetsCommand.ts
2427
2621
 
2428
2622
 
@@ -2603,6 +2797,21 @@ var PutResourcePolicyCommand = class extends import_smithy_client.Command.classB
2603
2797
  }
2604
2798
  };
2605
2799
 
2800
+ // src/commands/RejectNetworkFirewallTransitGatewayAttachmentCommand.ts
2801
+
2802
+
2803
+
2804
+ var RejectNetworkFirewallTransitGatewayAttachmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2805
+ return [
2806
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2807
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2808
+ ];
2809
+ }).s("NetworkFirewall_20201112", "RejectNetworkFirewallTransitGatewayAttachment", {}).n("NetworkFirewallClient", "RejectNetworkFirewallTransitGatewayAttachmentCommand").f(void 0, void 0).ser(se_RejectNetworkFirewallTransitGatewayAttachmentCommand).de(de_RejectNetworkFirewallTransitGatewayAttachmentCommand).build() {
2810
+ static {
2811
+ __name(this, "RejectNetworkFirewallTransitGatewayAttachmentCommand");
2812
+ }
2813
+ };
2814
+
2606
2815
  // src/commands/StartAnalysisReportCommand.ts
2607
2816
 
2608
2817
 
@@ -2678,6 +2887,21 @@ var UntagResourceCommand = class extends import_smithy_client.Command.classBuild
2678
2887
  }
2679
2888
  };
2680
2889
 
2890
+ // src/commands/UpdateAvailabilityZoneChangeProtectionCommand.ts
2891
+
2892
+
2893
+
2894
+ var UpdateAvailabilityZoneChangeProtectionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2895
+ return [
2896
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2897
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2898
+ ];
2899
+ }).s("NetworkFirewall_20201112", "UpdateAvailabilityZoneChangeProtection", {}).n("NetworkFirewallClient", "UpdateAvailabilityZoneChangeProtectionCommand").f(void 0, void 0).ser(se_UpdateAvailabilityZoneChangeProtectionCommand).de(de_UpdateAvailabilityZoneChangeProtectionCommand).build() {
2900
+ static {
2901
+ __name(this, "UpdateAvailabilityZoneChangeProtectionCommand");
2902
+ }
2903
+ };
2904
+
2681
2905
  // src/commands/UpdateFirewallAnalysisSettingsCommand.ts
2682
2906
 
2683
2907
 
@@ -2830,6 +3054,8 @@ var UpdateTLSInspectionConfigurationCommand = class extends import_smithy_client
2830
3054
 
2831
3055
  // src/NetworkFirewall.ts
2832
3056
  var commands = {
3057
+ AcceptNetworkFirewallTransitGatewayAttachmentCommand,
3058
+ AssociateAvailabilityZonesCommand,
2833
3059
  AssociateFirewallPolicyCommand,
2834
3060
  AssociateSubnetsCommand,
2835
3061
  CreateFirewallCommand,
@@ -2839,6 +3065,7 @@ var commands = {
2839
3065
  CreateVpcEndpointAssociationCommand,
2840
3066
  DeleteFirewallCommand,
2841
3067
  DeleteFirewallPolicyCommand,
3068
+ DeleteNetworkFirewallTransitGatewayAttachmentCommand,
2842
3069
  DeleteResourcePolicyCommand,
2843
3070
  DeleteRuleGroupCommand,
2844
3071
  DeleteTLSInspectionConfigurationCommand,
@@ -2853,6 +3080,7 @@ var commands = {
2853
3080
  DescribeRuleGroupMetadataCommand,
2854
3081
  DescribeTLSInspectionConfigurationCommand,
2855
3082
  DescribeVpcEndpointAssociationCommand,
3083
+ DisassociateAvailabilityZonesCommand,
2856
3084
  DisassociateSubnetsCommand,
2857
3085
  GetAnalysisReportResultsCommand,
2858
3086
  ListAnalysisReportsCommand,
@@ -2865,11 +3093,13 @@ var commands = {
2865
3093
  ListTLSInspectionConfigurationsCommand,
2866
3094
  ListVpcEndpointAssociationsCommand,
2867
3095
  PutResourcePolicyCommand,
3096
+ RejectNetworkFirewallTransitGatewayAttachmentCommand,
2868
3097
  StartAnalysisReportCommand,
2869
3098
  StartFlowCaptureCommand,
2870
3099
  StartFlowFlushCommand,
2871
3100
  TagResourceCommand,
2872
3101
  UntagResourceCommand,
3102
+ UpdateAvailabilityZoneChangeProtectionCommand,
2873
3103
  UpdateFirewallAnalysisSettingsCommand,
2874
3104
  UpdateFirewallDeleteProtectionCommand,
2875
3105
  UpdateFirewallDescriptionCommand,
@@ -2935,6 +3165,8 @@ var paginateListVpcEndpointAssociations = (0, import_core.createPaginator)(Netwo
2935
3165
  NetworkFirewallClient,
2936
3166
  NetworkFirewall,
2937
3167
  $Command,
3168
+ AcceptNetworkFirewallTransitGatewayAttachmentCommand,
3169
+ AssociateAvailabilityZonesCommand,
2938
3170
  AssociateFirewallPolicyCommand,
2939
3171
  AssociateSubnetsCommand,
2940
3172
  CreateFirewallCommand,
@@ -2944,6 +3176,7 @@ var paginateListVpcEndpointAssociations = (0, import_core.createPaginator)(Netwo
2944
3176
  CreateVpcEndpointAssociationCommand,
2945
3177
  DeleteFirewallCommand,
2946
3178
  DeleteFirewallPolicyCommand,
3179
+ DeleteNetworkFirewallTransitGatewayAttachmentCommand,
2947
3180
  DeleteResourcePolicyCommand,
2948
3181
  DeleteRuleGroupCommand,
2949
3182
  DeleteTLSInspectionConfigurationCommand,
@@ -2958,6 +3191,7 @@ var paginateListVpcEndpointAssociations = (0, import_core.createPaginator)(Netwo
2958
3191
  DescribeRuleGroupMetadataCommand,
2959
3192
  DescribeTLSInspectionConfigurationCommand,
2960
3193
  DescribeVpcEndpointAssociationCommand,
3194
+ DisassociateAvailabilityZonesCommand,
2961
3195
  DisassociateSubnetsCommand,
2962
3196
  GetAnalysisReportResultsCommand,
2963
3197
  ListAnalysisReportsCommand,
@@ -2970,11 +3204,13 @@ var paginateListVpcEndpointAssociations = (0, import_core.createPaginator)(Netwo
2970
3204
  ListTagsForResourceCommand,
2971
3205
  ListVpcEndpointAssociationsCommand,
2972
3206
  PutResourcePolicyCommand,
3207
+ RejectNetworkFirewallTransitGatewayAttachmentCommand,
2973
3208
  StartAnalysisReportCommand,
2974
3209
  StartFlowCaptureCommand,
2975
3210
  StartFlowFlushCommand,
2976
3211
  TagResourceCommand,
2977
3212
  UntagResourceCommand,
3213
+ UpdateAvailabilityZoneChangeProtectionCommand,
2978
3214
  UpdateFirewallAnalysisSettingsCommand,
2979
3215
  UpdateFirewallDeleteProtectionCommand,
2980
3216
  UpdateFirewallDescriptionCommand,
@@ -2995,16 +3231,17 @@ var paginateListVpcEndpointAssociations = (0, import_core.createPaginator)(Netwo
2995
3231
  paginateListTLSInspectionConfigurations,
2996
3232
  paginateListTagsForResource,
2997
3233
  paginateListVpcEndpointAssociations,
2998
- EnabledAnalysisType,
2999
- IdentifiedType,
3234
+ TransitGatewayAttachmentStatus,
3000
3235
  InternalServerError,
3001
- InvalidOperationException,
3002
3236
  InvalidRequestException,
3003
- InvalidTokenException,
3004
3237
  ResourceNotFoundException,
3005
3238
  ThrottlingException,
3006
- IPAddressType,
3239
+ EnabledAnalysisType,
3240
+ IdentifiedType,
3007
3241
  InsufficientCapacityException,
3242
+ InvalidOperationException,
3243
+ InvalidTokenException,
3244
+ IPAddressType,
3008
3245
  AttachmentStatus,
3009
3246
  RevocationCheckAction,
3010
3247
  ConfigurationSyncState,