aws-sdk-networkfirewall 1.62.0 → 1.63.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.
data/sig/client.rbs CHANGED
@@ -496,6 +496,25 @@ module Aws
496
496
  ) -> _DescribeFirewallPolicyResponseSuccess
497
497
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeFirewallPolicyResponseSuccess
498
498
 
499
+ interface _DescribeFlowOperationResponseSuccess
500
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeFlowOperationResponse]
501
+ def firewall_arn: () -> ::String
502
+ def availability_zone: () -> ::String
503
+ def flow_operation_id: () -> ::String
504
+ def flow_operation_type: () -> ("FLOW_FLUSH" | "FLOW_CAPTURE")
505
+ def flow_operation_status: () -> ("COMPLETED" | "IN_PROGRESS" | "FAILED" | "COMPLETED_WITH_ERRORS")
506
+ def status_message: () -> ::String
507
+ def flow_request_timestamp: () -> ::Time
508
+ def flow_operation: () -> Types::FlowOperation
509
+ end
510
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkFirewall/Client.html#describe_flow_operation-instance_method
511
+ def describe_flow_operation: (
512
+ firewall_arn: ::String,
513
+ ?availability_zone: ::String,
514
+ flow_operation_id: ::String
515
+ ) -> _DescribeFlowOperationResponseSuccess
516
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeFlowOperationResponseSuccess
517
+
499
518
  interface _DescribeLoggingConfigurationResponseSuccess
500
519
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeLoggingConfigurationResponse]
501
520
  def firewall_arn: () -> ::String
@@ -639,6 +658,42 @@ module Aws
639
658
  ) -> _ListFirewallsResponseSuccess
640
659
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFirewallsResponseSuccess
641
660
 
661
+ interface _ListFlowOperationResultsResponseSuccess
662
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListFlowOperationResultsResponse]
663
+ def firewall_arn: () -> ::String
664
+ def availability_zone: () -> ::String
665
+ def flow_operation_id: () -> ::String
666
+ def flow_operation_status: () -> ("COMPLETED" | "IN_PROGRESS" | "FAILED" | "COMPLETED_WITH_ERRORS")
667
+ def status_message: () -> ::String
668
+ def flow_request_timestamp: () -> ::Time
669
+ def flows: () -> ::Array[Types::Flow]
670
+ def next_token: () -> ::String
671
+ end
672
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkFirewall/Client.html#list_flow_operation_results-instance_method
673
+ def list_flow_operation_results: (
674
+ firewall_arn: ::String,
675
+ flow_operation_id: ::String,
676
+ ?next_token: ::String,
677
+ ?max_results: ::Integer,
678
+ ?availability_zone: ::String
679
+ ) -> _ListFlowOperationResultsResponseSuccess
680
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFlowOperationResultsResponseSuccess
681
+
682
+ interface _ListFlowOperationsResponseSuccess
683
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListFlowOperationsResponse]
684
+ def flow_operations: () -> ::Array[Types::FlowOperationMetadata]
685
+ def next_token: () -> ::String
686
+ end
687
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkFirewall/Client.html#list_flow_operations-instance_method
688
+ def list_flow_operations: (
689
+ firewall_arn: ::String,
690
+ ?availability_zone: ::String,
691
+ ?flow_operation_type: ("FLOW_FLUSH" | "FLOW_CAPTURE"),
692
+ ?next_token: ::String,
693
+ ?max_results: ::Integer
694
+ ) -> _ListFlowOperationsResponseSuccess
695
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFlowOperationsResponseSuccess
696
+
642
697
  interface _ListRuleGroupsResponseSuccess
643
698
  include ::Seahorse::Client::_ResponseSuccess[Types::ListRuleGroupsResponse]
644
699
  def next_token: () -> ::String
@@ -701,6 +756,60 @@ module Aws
701
756
  ) -> _StartAnalysisReportResponseSuccess
702
757
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartAnalysisReportResponseSuccess
703
758
 
759
+ interface _StartFlowCaptureResponseSuccess
760
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartFlowCaptureResponse]
761
+ def firewall_arn: () -> ::String
762
+ def flow_operation_id: () -> ::String
763
+ def flow_operation_status: () -> ("COMPLETED" | "IN_PROGRESS" | "FAILED" | "COMPLETED_WITH_ERRORS")
764
+ end
765
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkFirewall/Client.html#start_flow_capture-instance_method
766
+ def start_flow_capture: (
767
+ firewall_arn: ::String,
768
+ ?availability_zone: ::String,
769
+ ?minimum_flow_age_in_seconds: ::Integer,
770
+ flow_filters: Array[
771
+ {
772
+ source_address: {
773
+ address_definition: ::String
774
+ }?,
775
+ destination_address: {
776
+ address_definition: ::String
777
+ }?,
778
+ source_port: ::String?,
779
+ destination_port: ::String?,
780
+ protocols: Array[::String]?
781
+ },
782
+ ]
783
+ ) -> _StartFlowCaptureResponseSuccess
784
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartFlowCaptureResponseSuccess
785
+
786
+ interface _StartFlowFlushResponseSuccess
787
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartFlowFlushResponse]
788
+ def firewall_arn: () -> ::String
789
+ def flow_operation_id: () -> ::String
790
+ def flow_operation_status: () -> ("COMPLETED" | "IN_PROGRESS" | "FAILED" | "COMPLETED_WITH_ERRORS")
791
+ end
792
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkFirewall/Client.html#start_flow_flush-instance_method
793
+ def start_flow_flush: (
794
+ firewall_arn: ::String,
795
+ ?availability_zone: ::String,
796
+ ?minimum_flow_age_in_seconds: ::Integer,
797
+ flow_filters: Array[
798
+ {
799
+ source_address: {
800
+ address_definition: ::String
801
+ }?,
802
+ destination_address: {
803
+ address_definition: ::String
804
+ }?,
805
+ source_port: ::String?,
806
+ destination_port: ::String?,
807
+ protocols: Array[::String]?
808
+ },
809
+ ]
810
+ ) -> _StartFlowFlushResponseSuccess
811
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartFlowFlushResponseSuccess
812
+
704
813
  interface _TagResourceResponseSuccess
705
814
  include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
706
815
  end
data/sig/types.rbs CHANGED
@@ -260,6 +260,25 @@ module Aws::NetworkFirewall
260
260
  SENSITIVE: []
261
261
  end
262
262
 
263
+ class DescribeFlowOperationRequest
264
+ attr_accessor firewall_arn: ::String
265
+ attr_accessor availability_zone: ::String
266
+ attr_accessor flow_operation_id: ::String
267
+ SENSITIVE: []
268
+ end
269
+
270
+ class DescribeFlowOperationResponse
271
+ attr_accessor firewall_arn: ::String
272
+ attr_accessor availability_zone: ::String
273
+ attr_accessor flow_operation_id: ::String
274
+ attr_accessor flow_operation_type: ("FLOW_FLUSH" | "FLOW_CAPTURE")
275
+ attr_accessor flow_operation_status: ("COMPLETED" | "IN_PROGRESS" | "FAILED" | "COMPLETED_WITH_ERRORS")
276
+ attr_accessor status_message: ::String
277
+ attr_accessor flow_request_timestamp: ::Time
278
+ attr_accessor flow_operation: Types::FlowOperation
279
+ SENSITIVE: []
280
+ end
281
+
263
282
  class DescribeLoggingConfigurationRequest
264
283
  attr_accessor firewall_arn: ::String
265
284
  attr_accessor firewall_name: ::String
@@ -420,6 +439,41 @@ module Aws::NetworkFirewall
420
439
  SENSITIVE: []
421
440
  end
422
441
 
442
+ class Flow
443
+ attr_accessor source_address: Types::Address
444
+ attr_accessor destination_address: Types::Address
445
+ attr_accessor source_port: ::String
446
+ attr_accessor destination_port: ::String
447
+ attr_accessor protocol: ::String
448
+ attr_accessor age: ::Integer
449
+ attr_accessor packet_count: ::Integer
450
+ attr_accessor byte_count: ::Integer
451
+ SENSITIVE: []
452
+ end
453
+
454
+ class FlowFilter
455
+ attr_accessor source_address: Types::Address
456
+ attr_accessor destination_address: Types::Address
457
+ attr_accessor source_port: ::String
458
+ attr_accessor destination_port: ::String
459
+ attr_accessor protocols: ::Array[::String]
460
+ SENSITIVE: []
461
+ end
462
+
463
+ class FlowOperation
464
+ attr_accessor minimum_flow_age_in_seconds: ::Integer
465
+ attr_accessor flow_filters: ::Array[Types::FlowFilter]
466
+ SENSITIVE: []
467
+ end
468
+
469
+ class FlowOperationMetadata
470
+ attr_accessor flow_operation_id: ::String
471
+ attr_accessor flow_operation_type: ("FLOW_FLUSH" | "FLOW_CAPTURE")
472
+ attr_accessor flow_request_timestamp: ::Time
473
+ attr_accessor flow_operation_status: ("COMPLETED" | "IN_PROGRESS" | "FAILED" | "COMPLETED_WITH_ERRORS")
474
+ SENSITIVE: []
475
+ end
476
+
423
477
  class FlowTimeouts
424
478
  attr_accessor tcp_idle_timeout_seconds: ::Integer
425
479
  SENSITIVE: []
@@ -549,6 +603,42 @@ module Aws::NetworkFirewall
549
603
  SENSITIVE: []
550
604
  end
551
605
 
606
+ class ListFlowOperationResultsRequest
607
+ attr_accessor firewall_arn: ::String
608
+ attr_accessor flow_operation_id: ::String
609
+ attr_accessor next_token: ::String
610
+ attr_accessor max_results: ::Integer
611
+ attr_accessor availability_zone: ::String
612
+ SENSITIVE: []
613
+ end
614
+
615
+ class ListFlowOperationResultsResponse
616
+ attr_accessor firewall_arn: ::String
617
+ attr_accessor availability_zone: ::String
618
+ attr_accessor flow_operation_id: ::String
619
+ attr_accessor flow_operation_status: ("COMPLETED" | "IN_PROGRESS" | "FAILED" | "COMPLETED_WITH_ERRORS")
620
+ attr_accessor status_message: ::String
621
+ attr_accessor flow_request_timestamp: ::Time
622
+ attr_accessor flows: ::Array[Types::Flow]
623
+ attr_accessor next_token: ::String
624
+ SENSITIVE: []
625
+ end
626
+
627
+ class ListFlowOperationsRequest
628
+ attr_accessor firewall_arn: ::String
629
+ attr_accessor availability_zone: ::String
630
+ attr_accessor flow_operation_type: ("FLOW_FLUSH" | "FLOW_CAPTURE")
631
+ attr_accessor next_token: ::String
632
+ attr_accessor max_results: ::Integer
633
+ SENSITIVE: []
634
+ end
635
+
636
+ class ListFlowOperationsResponse
637
+ attr_accessor flow_operations: ::Array[Types::FlowOperationMetadata]
638
+ attr_accessor next_token: ::String
639
+ SENSITIVE: []
640
+ end
641
+
552
642
  class ListRuleGroupsRequest
553
643
  attr_accessor next_token: ::String
554
644
  attr_accessor max_results: ::Integer
@@ -773,6 +863,36 @@ module Aws::NetworkFirewall
773
863
  SENSITIVE: []
774
864
  end
775
865
 
866
+ class StartFlowCaptureRequest
867
+ attr_accessor firewall_arn: ::String
868
+ attr_accessor availability_zone: ::String
869
+ attr_accessor minimum_flow_age_in_seconds: ::Integer
870
+ attr_accessor flow_filters: ::Array[Types::FlowFilter]
871
+ SENSITIVE: []
872
+ end
873
+
874
+ class StartFlowCaptureResponse
875
+ attr_accessor firewall_arn: ::String
876
+ attr_accessor flow_operation_id: ::String
877
+ attr_accessor flow_operation_status: ("COMPLETED" | "IN_PROGRESS" | "FAILED" | "COMPLETED_WITH_ERRORS")
878
+ SENSITIVE: []
879
+ end
880
+
881
+ class StartFlowFlushRequest
882
+ attr_accessor firewall_arn: ::String
883
+ attr_accessor availability_zone: ::String
884
+ attr_accessor minimum_flow_age_in_seconds: ::Integer
885
+ attr_accessor flow_filters: ::Array[Types::FlowFilter]
886
+ SENSITIVE: []
887
+ end
888
+
889
+ class StartFlowFlushResponse
890
+ attr_accessor firewall_arn: ::String
891
+ attr_accessor flow_operation_id: ::String
892
+ attr_accessor flow_operation_status: ("COMPLETED" | "IN_PROGRESS" | "FAILED" | "COMPLETED_WITH_ERRORS")
893
+ SENSITIVE: []
894
+ end
895
+
776
896
  class StatefulEngineOptions
777
897
  attr_accessor rule_order: ("DEFAULT_ACTION_ORDER" | "STRICT_ORDER")
778
898
  attr_accessor stream_exception_policy: ("DROP" | "CONTINUE" | "REJECT")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-networkfirewall
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.62.0
4
+ version: 1.63.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-02-19 00:00:00.000000000 Z
11
+ date: 2025-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core