aws-sdk-networkfirewall 1.65.0 → 1.66.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-networkfirewall/client.rb +362 -22
- data/lib/aws-sdk-networkfirewall/client_api.rb +177 -0
- data/lib/aws-sdk-networkfirewall/types.rb +618 -55
- data/lib/aws-sdk-networkfirewall.rb +1 -1
- data/sig/client.rbs +87 -1
- data/sig/types.rbs +111 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 987c3b876ebc2d47c6434679772d68111d7a14307b0001bdedcb389a2edf327e
|
4
|
+
data.tar.gz: d07eb3916b147e8e15725b038a7213a098d791f1282b14ddaa6a4e95ad689a10
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0051a29220c3149ec7619750262eedebe3067e5c724bdd458e640dcb017a16009848b1242e17ed7f49e6be405061a3cf61f58c85d11e3b738dc621ee8b5f432a
|
7
|
+
data.tar.gz: 8019675f41ac3998bbca8ff7dc3ed34879e4ebe75fe28911e1fad7404c751c455b38d9c722b6336426e3e82977434cbdb9a0fdc981b8056e486c2bc314a87653
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.66.0
|
@@ -764,6 +764,7 @@ module Aws::NetworkFirewall
|
|
764
764
|
# resp.firewall.tags[0].value #=> String
|
765
765
|
# resp.firewall.encryption_configuration.key_id #=> String
|
766
766
|
# resp.firewall.encryption_configuration.type #=> String, one of "CUSTOMER_KMS", "AWS_OWNED_KMS_KEY"
|
767
|
+
# resp.firewall.number_of_associations #=> Integer
|
767
768
|
# resp.firewall.enabled_analysis_types #=> Array
|
768
769
|
# resp.firewall.enabled_analysis_types[0] #=> String, one of "TLS_SNI", "HTTP_HOST"
|
769
770
|
# resp.firewall_status.status #=> String, one of "PROVISIONING", "DELETING", "READY"
|
@@ -1404,6 +1405,84 @@ module Aws::NetworkFirewall
|
|
1404
1405
|
req.send_request(options)
|
1405
1406
|
end
|
1406
1407
|
|
1408
|
+
# Creates a firewall endpoint for an Network Firewall firewall. This
|
1409
|
+
# type of firewall endpoint is independent of the firewall endpoints
|
1410
|
+
# that you specify in the `Firewall` itself, and you define it in
|
1411
|
+
# addition to those endpoints after the firewall has been created. You
|
1412
|
+
# can define a VPC endpoint association using a different VPC than the
|
1413
|
+
# one you used in the firewall specifications.
|
1414
|
+
#
|
1415
|
+
# @option params [required, String] :firewall_arn
|
1416
|
+
# The Amazon Resource Name (ARN) of the firewall.
|
1417
|
+
#
|
1418
|
+
# @option params [required, String] :vpc_id
|
1419
|
+
# The unique identifier of the VPC where you want to create a firewall
|
1420
|
+
# endpoint.
|
1421
|
+
#
|
1422
|
+
# @option params [required, Types::SubnetMapping] :subnet_mapping
|
1423
|
+
# The ID for a subnet that's used in an association with a firewall.
|
1424
|
+
# This is used in CreateFirewall, AssociateSubnets, and
|
1425
|
+
# CreateVpcEndpointAssociation. Network Firewall creates an instance of
|
1426
|
+
# the associated firewall in each subnet that you specify, to filter
|
1427
|
+
# traffic in the subnet's Availability Zone.
|
1428
|
+
#
|
1429
|
+
# @option params [String] :description
|
1430
|
+
# A description of the VPC endpoint association.
|
1431
|
+
#
|
1432
|
+
# @option params [Array<Types::Tag>] :tags
|
1433
|
+
# The key:value pairs to associate with the resource.
|
1434
|
+
#
|
1435
|
+
# @return [Types::CreateVpcEndpointAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1436
|
+
#
|
1437
|
+
# * {Types::CreateVpcEndpointAssociationResponse#vpc_endpoint_association #vpc_endpoint_association} => Types::VpcEndpointAssociation
|
1438
|
+
# * {Types::CreateVpcEndpointAssociationResponse#vpc_endpoint_association_status #vpc_endpoint_association_status} => Types::VpcEndpointAssociationStatus
|
1439
|
+
#
|
1440
|
+
# @example Request syntax with placeholder values
|
1441
|
+
#
|
1442
|
+
# resp = client.create_vpc_endpoint_association({
|
1443
|
+
# firewall_arn: "ResourceArn", # required
|
1444
|
+
# vpc_id: "VpcId", # required
|
1445
|
+
# subnet_mapping: { # required
|
1446
|
+
# subnet_id: "CollectionMember_String", # required
|
1447
|
+
# ip_address_type: "DUALSTACK", # accepts DUALSTACK, IPV4, IPV6
|
1448
|
+
# },
|
1449
|
+
# description: "Description",
|
1450
|
+
# tags: [
|
1451
|
+
# {
|
1452
|
+
# key: "TagKey", # required
|
1453
|
+
# value: "TagValue", # required
|
1454
|
+
# },
|
1455
|
+
# ],
|
1456
|
+
# })
|
1457
|
+
#
|
1458
|
+
# @example Response structure
|
1459
|
+
#
|
1460
|
+
# resp.vpc_endpoint_association.vpc_endpoint_association_id #=> String
|
1461
|
+
# resp.vpc_endpoint_association.vpc_endpoint_association_arn #=> String
|
1462
|
+
# resp.vpc_endpoint_association.firewall_arn #=> String
|
1463
|
+
# resp.vpc_endpoint_association.vpc_id #=> String
|
1464
|
+
# resp.vpc_endpoint_association.subnet_mapping.subnet_id #=> String
|
1465
|
+
# resp.vpc_endpoint_association.subnet_mapping.ip_address_type #=> String, one of "DUALSTACK", "IPV4", "IPV6"
|
1466
|
+
# resp.vpc_endpoint_association.description #=> String
|
1467
|
+
# resp.vpc_endpoint_association.tags #=> Array
|
1468
|
+
# resp.vpc_endpoint_association.tags[0].key #=> String
|
1469
|
+
# resp.vpc_endpoint_association.tags[0].value #=> String
|
1470
|
+
# resp.vpc_endpoint_association_status.status #=> String, one of "PROVISIONING", "DELETING", "READY"
|
1471
|
+
# resp.vpc_endpoint_association_status.association_sync_state #=> Hash
|
1472
|
+
# resp.vpc_endpoint_association_status.association_sync_state["AvailabilityZone"].attachment.subnet_id #=> String
|
1473
|
+
# resp.vpc_endpoint_association_status.association_sync_state["AvailabilityZone"].attachment.endpoint_id #=> String
|
1474
|
+
# resp.vpc_endpoint_association_status.association_sync_state["AvailabilityZone"].attachment.status #=> String, one of "CREATING", "DELETING", "FAILED", "ERROR", "SCALING", "READY"
|
1475
|
+
# resp.vpc_endpoint_association_status.association_sync_state["AvailabilityZone"].attachment.status_message #=> String
|
1476
|
+
#
|
1477
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/CreateVpcEndpointAssociation AWS API Documentation
|
1478
|
+
#
|
1479
|
+
# @overload create_vpc_endpoint_association(params = {})
|
1480
|
+
# @param [Hash] params ({})
|
1481
|
+
def create_vpc_endpoint_association(params = {}, options = {})
|
1482
|
+
req = build_request(:create_vpc_endpoint_association, params)
|
1483
|
+
req.send_request(options)
|
1484
|
+
end
|
1485
|
+
|
1407
1486
|
# Deletes the specified Firewall and its FirewallStatus. This operation
|
1408
1487
|
# requires the firewall's `DeleteProtection` flag to be `FALSE`. You
|
1409
1488
|
# can't revert this operation.
|
@@ -1462,6 +1541,7 @@ module Aws::NetworkFirewall
|
|
1462
1541
|
# resp.firewall.tags[0].value #=> String
|
1463
1542
|
# resp.firewall.encryption_configuration.key_id #=> String
|
1464
1543
|
# resp.firewall.encryption_configuration.type #=> String, one of "CUSTOMER_KMS", "AWS_OWNED_KMS_KEY"
|
1544
|
+
# resp.firewall.number_of_associations #=> Integer
|
1465
1545
|
# resp.firewall.enabled_analysis_types #=> Array
|
1466
1546
|
# resp.firewall.enabled_analysis_types[0] #=> String, one of "TLS_SNI", "HTTP_HOST"
|
1467
1547
|
# resp.firewall_status.status #=> String, one of "PROVISIONING", "DELETING", "READY"
|
@@ -1689,6 +1769,59 @@ module Aws::NetworkFirewall
|
|
1689
1769
|
req.send_request(options)
|
1690
1770
|
end
|
1691
1771
|
|
1772
|
+
# Deletes the specified VpcEndpointAssociation.
|
1773
|
+
#
|
1774
|
+
# You can check whether an endpoint association is in use by reviewing
|
1775
|
+
# the route tables for the Availability Zones where you have the
|
1776
|
+
# endpoint subnet mapping. You can retrieve the subnet mapping by
|
1777
|
+
# calling DescribeVpcEndpointAssociation. You define and update the
|
1778
|
+
# route tables through Amazon VPC. As needed, update the route tables
|
1779
|
+
# for the Availability Zone to remove the firewall endpoint for the
|
1780
|
+
# association. When the route tables no longer use the firewall
|
1781
|
+
# endpoint, you can remove the endpoint association safely.
|
1782
|
+
#
|
1783
|
+
# @option params [required, String] :vpc_endpoint_association_arn
|
1784
|
+
# The Amazon Resource Name (ARN) of a VPC endpoint association.
|
1785
|
+
#
|
1786
|
+
# @return [Types::DeleteVpcEndpointAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1787
|
+
#
|
1788
|
+
# * {Types::DeleteVpcEndpointAssociationResponse#vpc_endpoint_association #vpc_endpoint_association} => Types::VpcEndpointAssociation
|
1789
|
+
# * {Types::DeleteVpcEndpointAssociationResponse#vpc_endpoint_association_status #vpc_endpoint_association_status} => Types::VpcEndpointAssociationStatus
|
1790
|
+
#
|
1791
|
+
# @example Request syntax with placeholder values
|
1792
|
+
#
|
1793
|
+
# resp = client.delete_vpc_endpoint_association({
|
1794
|
+
# vpc_endpoint_association_arn: "ResourceArn", # required
|
1795
|
+
# })
|
1796
|
+
#
|
1797
|
+
# @example Response structure
|
1798
|
+
#
|
1799
|
+
# resp.vpc_endpoint_association.vpc_endpoint_association_id #=> String
|
1800
|
+
# resp.vpc_endpoint_association.vpc_endpoint_association_arn #=> String
|
1801
|
+
# resp.vpc_endpoint_association.firewall_arn #=> String
|
1802
|
+
# resp.vpc_endpoint_association.vpc_id #=> String
|
1803
|
+
# resp.vpc_endpoint_association.subnet_mapping.subnet_id #=> String
|
1804
|
+
# resp.vpc_endpoint_association.subnet_mapping.ip_address_type #=> String, one of "DUALSTACK", "IPV4", "IPV6"
|
1805
|
+
# resp.vpc_endpoint_association.description #=> String
|
1806
|
+
# resp.vpc_endpoint_association.tags #=> Array
|
1807
|
+
# resp.vpc_endpoint_association.tags[0].key #=> String
|
1808
|
+
# resp.vpc_endpoint_association.tags[0].value #=> String
|
1809
|
+
# resp.vpc_endpoint_association_status.status #=> String, one of "PROVISIONING", "DELETING", "READY"
|
1810
|
+
# resp.vpc_endpoint_association_status.association_sync_state #=> Hash
|
1811
|
+
# resp.vpc_endpoint_association_status.association_sync_state["AvailabilityZone"].attachment.subnet_id #=> String
|
1812
|
+
# resp.vpc_endpoint_association_status.association_sync_state["AvailabilityZone"].attachment.endpoint_id #=> String
|
1813
|
+
# resp.vpc_endpoint_association_status.association_sync_state["AvailabilityZone"].attachment.status #=> String, one of "CREATING", "DELETING", "FAILED", "ERROR", "SCALING", "READY"
|
1814
|
+
# resp.vpc_endpoint_association_status.association_sync_state["AvailabilityZone"].attachment.status_message #=> String
|
1815
|
+
#
|
1816
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/DeleteVpcEndpointAssociation AWS API Documentation
|
1817
|
+
#
|
1818
|
+
# @overload delete_vpc_endpoint_association(params = {})
|
1819
|
+
# @param [Hash] params ({})
|
1820
|
+
def delete_vpc_endpoint_association(params = {}, options = {})
|
1821
|
+
req = build_request(:delete_vpc_endpoint_association, params)
|
1822
|
+
req.send_request(options)
|
1823
|
+
end
|
1824
|
+
|
1692
1825
|
# Returns the data objects for the specified firewall.
|
1693
1826
|
#
|
1694
1827
|
# @option params [String] :firewall_name
|
@@ -1735,6 +1868,7 @@ module Aws::NetworkFirewall
|
|
1735
1868
|
# resp.firewall.tags[0].value #=> String
|
1736
1869
|
# resp.firewall.encryption_configuration.key_id #=> String
|
1737
1870
|
# resp.firewall.encryption_configuration.type #=> String, one of "CUSTOMER_KMS", "AWS_OWNED_KMS_KEY"
|
1871
|
+
# resp.firewall.number_of_associations #=> Integer
|
1738
1872
|
# resp.firewall.enabled_analysis_types #=> Array
|
1739
1873
|
# resp.firewall.enabled_analysis_types[0] #=> String, one of "TLS_SNI", "HTTP_HOST"
|
1740
1874
|
# resp.firewall_status.status #=> String, one of "PROVISIONING", "DELETING", "READY"
|
@@ -1761,6 +1895,44 @@ module Aws::NetworkFirewall
|
|
1761
1895
|
req.send_request(options)
|
1762
1896
|
end
|
1763
1897
|
|
1898
|
+
# Returns the high-level information about a firewall, including the
|
1899
|
+
# Availability Zones where the Firewall is currently in use.
|
1900
|
+
#
|
1901
|
+
# @option params [String] :firewall_arn
|
1902
|
+
# The Amazon Resource Name (ARN) of the firewall.
|
1903
|
+
#
|
1904
|
+
# @return [Types::DescribeFirewallMetadataResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1905
|
+
#
|
1906
|
+
# * {Types::DescribeFirewallMetadataResponse#firewall_arn #firewall_arn} => String
|
1907
|
+
# * {Types::DescribeFirewallMetadataResponse#firewall_policy_arn #firewall_policy_arn} => String
|
1908
|
+
# * {Types::DescribeFirewallMetadataResponse#description #description} => String
|
1909
|
+
# * {Types::DescribeFirewallMetadataResponse#status #status} => String
|
1910
|
+
# * {Types::DescribeFirewallMetadataResponse#supported_availability_zones #supported_availability_zones} => Hash<String,Types::AvailabilityZoneMetadata>
|
1911
|
+
#
|
1912
|
+
# @example Request syntax with placeholder values
|
1913
|
+
#
|
1914
|
+
# resp = client.describe_firewall_metadata({
|
1915
|
+
# firewall_arn: "ResourceArn",
|
1916
|
+
# })
|
1917
|
+
#
|
1918
|
+
# @example Response structure
|
1919
|
+
#
|
1920
|
+
# resp.firewall_arn #=> String
|
1921
|
+
# resp.firewall_policy_arn #=> String
|
1922
|
+
# resp.description #=> String
|
1923
|
+
# resp.status #=> String, one of "PROVISIONING", "DELETING", "READY"
|
1924
|
+
# resp.supported_availability_zones #=> Hash
|
1925
|
+
# resp.supported_availability_zones["AvailabilityZone"].ip_address_type #=> String, one of "DUALSTACK", "IPV4", "IPV6"
|
1926
|
+
#
|
1927
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/DescribeFirewallMetadata AWS API Documentation
|
1928
|
+
#
|
1929
|
+
# @overload describe_firewall_metadata(params = {})
|
1930
|
+
# @param [Hash] params ({})
|
1931
|
+
def describe_firewall_metadata(params = {}, options = {})
|
1932
|
+
req = build_request(:describe_firewall_metadata, params)
|
1933
|
+
req.send_request(options)
|
1934
|
+
end
|
1935
|
+
|
1764
1936
|
# Returns the data objects for the specified firewall policy.
|
1765
1937
|
#
|
1766
1938
|
# @option params [String] :firewall_policy_name
|
@@ -1850,6 +2022,13 @@ module Aws::NetworkFirewall
|
|
1850
2022
|
# Defines the scope a flow operation. You can use up to 20 filters to
|
1851
2023
|
# configure a single flow operation.
|
1852
2024
|
#
|
2025
|
+
# @option params [String] :vpc_endpoint_association_arn
|
2026
|
+
# The Amazon Resource Name (ARN) of a VPC endpoint association.
|
2027
|
+
#
|
2028
|
+
# @option params [String] :vpc_endpoint_id
|
2029
|
+
# A unique identifier for the primary endpoint associated with a
|
2030
|
+
# firewall.
|
2031
|
+
#
|
1853
2032
|
# @option params [required, String] :flow_operation_id
|
1854
2033
|
# A unique identifier for the flow operation. This ID is returned in the
|
1855
2034
|
# responses to start and list commands. You provide to describe
|
@@ -1859,6 +2038,8 @@ module Aws::NetworkFirewall
|
|
1859
2038
|
#
|
1860
2039
|
# * {Types::DescribeFlowOperationResponse#firewall_arn #firewall_arn} => String
|
1861
2040
|
# * {Types::DescribeFlowOperationResponse#availability_zone #availability_zone} => String
|
2041
|
+
# * {Types::DescribeFlowOperationResponse#vpc_endpoint_association_arn #vpc_endpoint_association_arn} => String
|
2042
|
+
# * {Types::DescribeFlowOperationResponse#vpc_endpoint_id #vpc_endpoint_id} => String
|
1862
2043
|
# * {Types::DescribeFlowOperationResponse#flow_operation_id #flow_operation_id} => String
|
1863
2044
|
# * {Types::DescribeFlowOperationResponse#flow_operation_type #flow_operation_type} => String
|
1864
2045
|
# * {Types::DescribeFlowOperationResponse#flow_operation_status #flow_operation_status} => String
|
@@ -1871,6 +2052,8 @@ module Aws::NetworkFirewall
|
|
1871
2052
|
# resp = client.describe_flow_operation({
|
1872
2053
|
# firewall_arn: "ResourceArn", # required
|
1873
2054
|
# availability_zone: "AvailabilityZone",
|
2055
|
+
# vpc_endpoint_association_arn: "ResourceArn",
|
2056
|
+
# vpc_endpoint_id: "VpcEndpointId",
|
1874
2057
|
# flow_operation_id: "FlowOperationId", # required
|
1875
2058
|
# })
|
1876
2059
|
#
|
@@ -1878,6 +2061,8 @@ module Aws::NetworkFirewall
|
|
1878
2061
|
#
|
1879
2062
|
# resp.firewall_arn #=> String
|
1880
2063
|
# resp.availability_zone #=> String
|
2064
|
+
# resp.vpc_endpoint_association_arn #=> String
|
2065
|
+
# resp.vpc_endpoint_id #=> String
|
1881
2066
|
# resp.flow_operation_id #=> String
|
1882
2067
|
# resp.flow_operation_type #=> String, one of "FLOW_FLUSH", "FLOW_CAPTURE"
|
1883
2068
|
# resp.flow_operation_status #=> String, one of "COMPLETED", "IN_PROGRESS", "FAILED", "COMPLETED_WITH_ERRORS"
|
@@ -2249,6 +2434,50 @@ module Aws::NetworkFirewall
|
|
2249
2434
|
req.send_request(options)
|
2250
2435
|
end
|
2251
2436
|
|
2437
|
+
# Returns the data object for the specified VPC endpoint association.
|
2438
|
+
#
|
2439
|
+
# @option params [required, String] :vpc_endpoint_association_arn
|
2440
|
+
# The Amazon Resource Name (ARN) of a VPC endpoint association.
|
2441
|
+
#
|
2442
|
+
# @return [Types::DescribeVpcEndpointAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2443
|
+
#
|
2444
|
+
# * {Types::DescribeVpcEndpointAssociationResponse#vpc_endpoint_association #vpc_endpoint_association} => Types::VpcEndpointAssociation
|
2445
|
+
# * {Types::DescribeVpcEndpointAssociationResponse#vpc_endpoint_association_status #vpc_endpoint_association_status} => Types::VpcEndpointAssociationStatus
|
2446
|
+
#
|
2447
|
+
# @example Request syntax with placeholder values
|
2448
|
+
#
|
2449
|
+
# resp = client.describe_vpc_endpoint_association({
|
2450
|
+
# vpc_endpoint_association_arn: "ResourceArn", # required
|
2451
|
+
# })
|
2452
|
+
#
|
2453
|
+
# @example Response structure
|
2454
|
+
#
|
2455
|
+
# resp.vpc_endpoint_association.vpc_endpoint_association_id #=> String
|
2456
|
+
# resp.vpc_endpoint_association.vpc_endpoint_association_arn #=> String
|
2457
|
+
# resp.vpc_endpoint_association.firewall_arn #=> String
|
2458
|
+
# resp.vpc_endpoint_association.vpc_id #=> String
|
2459
|
+
# resp.vpc_endpoint_association.subnet_mapping.subnet_id #=> String
|
2460
|
+
# resp.vpc_endpoint_association.subnet_mapping.ip_address_type #=> String, one of "DUALSTACK", "IPV4", "IPV6"
|
2461
|
+
# resp.vpc_endpoint_association.description #=> String
|
2462
|
+
# resp.vpc_endpoint_association.tags #=> Array
|
2463
|
+
# resp.vpc_endpoint_association.tags[0].key #=> String
|
2464
|
+
# resp.vpc_endpoint_association.tags[0].value #=> String
|
2465
|
+
# resp.vpc_endpoint_association_status.status #=> String, one of "PROVISIONING", "DELETING", "READY"
|
2466
|
+
# resp.vpc_endpoint_association_status.association_sync_state #=> Hash
|
2467
|
+
# resp.vpc_endpoint_association_status.association_sync_state["AvailabilityZone"].attachment.subnet_id #=> String
|
2468
|
+
# resp.vpc_endpoint_association_status.association_sync_state["AvailabilityZone"].attachment.endpoint_id #=> String
|
2469
|
+
# resp.vpc_endpoint_association_status.association_sync_state["AvailabilityZone"].attachment.status #=> String, one of "CREATING", "DELETING", "FAILED", "ERROR", "SCALING", "READY"
|
2470
|
+
# resp.vpc_endpoint_association_status.association_sync_state["AvailabilityZone"].attachment.status_message #=> String
|
2471
|
+
#
|
2472
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/DescribeVpcEndpointAssociation AWS API Documentation
|
2473
|
+
#
|
2474
|
+
# @overload describe_vpc_endpoint_association(params = {})
|
2475
|
+
# @param [Hash] params ({})
|
2476
|
+
def describe_vpc_endpoint_association(params = {}, options = {})
|
2477
|
+
req = build_request(:describe_vpc_endpoint_association, params)
|
2478
|
+
req.send_request(options)
|
2479
|
+
end
|
2480
|
+
|
2252
2481
|
# Removes the specified subnet associations from the firewall. This
|
2253
2482
|
# removes the firewall endpoints from the subnets and removes any
|
2254
2483
|
# network filtering protections that the endpoints were providing.
|
@@ -2602,10 +2831,19 @@ module Aws::NetworkFirewall
|
|
2602
2831
|
# Defines the scope a flow operation. You can use up to 20 filters to
|
2603
2832
|
# configure a single flow operation.
|
2604
2833
|
#
|
2834
|
+
# @option params [String] :vpc_endpoint_id
|
2835
|
+
# A unique identifier for the primary endpoint associated with a
|
2836
|
+
# firewall.
|
2837
|
+
#
|
2838
|
+
# @option params [String] :vpc_endpoint_association_arn
|
2839
|
+
# The Amazon Resource Name (ARN) of a VPC endpoint association.
|
2840
|
+
#
|
2605
2841
|
# @return [Types::ListFlowOperationResultsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2606
2842
|
#
|
2607
2843
|
# * {Types::ListFlowOperationResultsResponse#firewall_arn #firewall_arn} => String
|
2608
2844
|
# * {Types::ListFlowOperationResultsResponse#availability_zone #availability_zone} => String
|
2845
|
+
# * {Types::ListFlowOperationResultsResponse#vpc_endpoint_association_arn #vpc_endpoint_association_arn} => String
|
2846
|
+
# * {Types::ListFlowOperationResultsResponse#vpc_endpoint_id #vpc_endpoint_id} => String
|
2609
2847
|
# * {Types::ListFlowOperationResultsResponse#flow_operation_id #flow_operation_id} => String
|
2610
2848
|
# * {Types::ListFlowOperationResultsResponse#flow_operation_status #flow_operation_status} => String
|
2611
2849
|
# * {Types::ListFlowOperationResultsResponse#status_message #status_message} => String
|
@@ -2623,12 +2861,16 @@ module Aws::NetworkFirewall
|
|
2623
2861
|
# next_token: "PaginationToken",
|
2624
2862
|
# max_results: 1,
|
2625
2863
|
# availability_zone: "AvailabilityZone",
|
2864
|
+
# vpc_endpoint_id: "VpcEndpointId",
|
2865
|
+
# vpc_endpoint_association_arn: "ResourceArn",
|
2626
2866
|
# })
|
2627
2867
|
#
|
2628
2868
|
# @example Response structure
|
2629
2869
|
#
|
2630
2870
|
# resp.firewall_arn #=> String
|
2631
2871
|
# resp.availability_zone #=> String
|
2872
|
+
# resp.vpc_endpoint_association_arn #=> String
|
2873
|
+
# resp.vpc_endpoint_id #=> String
|
2632
2874
|
# resp.flow_operation_id #=> String
|
2633
2875
|
# resp.flow_operation_status #=> String, one of "COMPLETED", "IN_PROGRESS", "FAILED", "COMPLETED_WITH_ERRORS"
|
2634
2876
|
# resp.status_message #=> String
|
@@ -2676,6 +2918,13 @@ module Aws::NetworkFirewall
|
|
2676
2918
|
# Defines the scope a flow operation. You can use up to 20 filters to
|
2677
2919
|
# configure a single flow operation.
|
2678
2920
|
#
|
2921
|
+
# @option params [String] :vpc_endpoint_association_arn
|
2922
|
+
# The Amazon Resource Name (ARN) of a VPC endpoint association.
|
2923
|
+
#
|
2924
|
+
# @option params [String] :vpc_endpoint_id
|
2925
|
+
# A unique identifier for the primary endpoint associated with a
|
2926
|
+
# firewall.
|
2927
|
+
#
|
2679
2928
|
# @option params [String] :flow_operation_type
|
2680
2929
|
# An optional string that defines whether any or all operation types are
|
2681
2930
|
# returned.
|
@@ -2705,6 +2954,8 @@ module Aws::NetworkFirewall
|
|
2705
2954
|
# resp = client.list_flow_operations({
|
2706
2955
|
# firewall_arn: "ResourceArn", # required
|
2707
2956
|
# availability_zone: "AvailabilityZone",
|
2957
|
+
# vpc_endpoint_association_arn: "ResourceArn",
|
2958
|
+
# vpc_endpoint_id: "VpcEndpointId",
|
2708
2959
|
# flow_operation_type: "FLOW_FLUSH", # accepts FLOW_FLUSH, FLOW_CAPTURE
|
2709
2960
|
# next_token: "PaginationToken",
|
2710
2961
|
# max_results: 1,
|
@@ -2897,44 +3148,106 @@ module Aws::NetworkFirewall
|
|
2897
3148
|
req.send_request(options)
|
2898
3149
|
end
|
2899
3150
|
|
2900
|
-
#
|
2901
|
-
#
|
2902
|
-
#
|
2903
|
-
#
|
2904
|
-
#
|
3151
|
+
# Retrieves the metadata for the VPC endpoint associations that you have
|
3152
|
+
# defined. If you specify a fireawll, this returns only the endpoint
|
3153
|
+
# associations for that firewall.
|
3154
|
+
#
|
3155
|
+
# Depending on your setting for max results and the number of
|
3156
|
+
# associations, a single call might not return the full list.
|
3157
|
+
#
|
3158
|
+
# @option params [String] :next_token
|
3159
|
+
# When you request a list of objects with a `MaxResults` setting, if the
|
3160
|
+
# number of objects that are still available for retrieval exceeds the
|
3161
|
+
# maximum you requested, Network Firewall returns a `NextToken` value in
|
3162
|
+
# the response. To retrieve the next batch of objects, use the token
|
3163
|
+
# returned from the prior request in your next request.
|
3164
|
+
#
|
3165
|
+
# @option params [Integer] :max_results
|
3166
|
+
# The maximum number of objects that you want Network Firewall to return
|
3167
|
+
# for this request. If more objects are available, in the response,
|
3168
|
+
# Network Firewall provides a `NextToken` value that you can use in a
|
3169
|
+
# subsequent call to get the next batch of objects.
|
3170
|
+
#
|
3171
|
+
# @option params [String] :firewall_arn
|
3172
|
+
# The Amazon Resource Name (ARN) of the firewall.
|
3173
|
+
#
|
3174
|
+
# If you don't specify this, Network Firewall retrieves all VPC
|
3175
|
+
# endpoint associations that you have defined.
|
3176
|
+
#
|
3177
|
+
# @return [Types::ListVpcEndpointAssociationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3178
|
+
#
|
3179
|
+
# * {Types::ListVpcEndpointAssociationsResponse#next_token #next_token} => String
|
3180
|
+
# * {Types::ListVpcEndpointAssociationsResponse#vpc_endpoint_associations #vpc_endpoint_associations} => Array<Types::VpcEndpointAssociationMetadata>
|
3181
|
+
#
|
3182
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3183
|
+
#
|
3184
|
+
# @example Request syntax with placeholder values
|
3185
|
+
#
|
3186
|
+
# resp = client.list_vpc_endpoint_associations({
|
3187
|
+
# next_token: "PaginationToken",
|
3188
|
+
# max_results: 1,
|
3189
|
+
# firewall_arn: "ResourceArn",
|
3190
|
+
# })
|
3191
|
+
#
|
3192
|
+
# @example Response structure
|
3193
|
+
#
|
3194
|
+
# resp.next_token #=> String
|
3195
|
+
# resp.vpc_endpoint_associations #=> Array
|
3196
|
+
# resp.vpc_endpoint_associations[0].vpc_endpoint_association_arn #=> String
|
2905
3197
|
#
|
2906
|
-
#
|
2907
|
-
#
|
2908
|
-
#
|
2909
|
-
#
|
3198
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/ListVpcEndpointAssociations AWS API Documentation
|
3199
|
+
#
|
3200
|
+
# @overload list_vpc_endpoint_associations(params = {})
|
3201
|
+
# @param [Hash] params ({})
|
3202
|
+
def list_vpc_endpoint_associations(params = {}, options = {})
|
3203
|
+
req = build_request(:list_vpc_endpoint_associations, params)
|
3204
|
+
req.send_request(options)
|
3205
|
+
end
|
3206
|
+
|
3207
|
+
# Creates or updates an IAM policy for your rule group, firewall policy,
|
3208
|
+
# or firewall. Use this to share these resources between accounts. This
|
3209
|
+
# operation works in conjunction with the Amazon Web Services Resource
|
3210
|
+
# Access Manager (RAM) service to manage resource sharing for Network
|
3211
|
+
# Firewall.
|
3212
|
+
#
|
3213
|
+
# For information about using sharing with Network Firewall resources,
|
3214
|
+
# see [Sharing Network Firewall resources][1] in the *Network Firewall
|
3215
|
+
# Developer Guide*.
|
3216
|
+
#
|
3217
|
+
# Use this operation to create or update a resource policy for your
|
3218
|
+
# Network Firewall rule group, firewall policy, or firewall. In the
|
3219
|
+
# resource policy, you specify the accounts that you want to share the
|
3220
|
+
# Network Firewall resource with and the operations that you want the
|
3221
|
+
# accounts to be able to perform.
|
2910
3222
|
#
|
2911
3223
|
# When you add an account in the resource policy, you then run the
|
2912
3224
|
# following Resource Access Manager (RAM) operations to access and
|
2913
|
-
# accept the shared
|
3225
|
+
# accept the shared resource.
|
2914
3226
|
#
|
2915
|
-
# * [GetResourceShareInvitations][
|
3227
|
+
# * [GetResourceShareInvitations][2] - Returns the Amazon Resource Names
|
2916
3228
|
# (ARNs) of the resource share invitations.
|
2917
3229
|
#
|
2918
|
-
# * [AcceptResourceShareInvitation][
|
3230
|
+
# * [AcceptResourceShareInvitation][3] - Accepts the share invitation
|
2919
3231
|
# for a specified resource share.
|
2920
3232
|
#
|
2921
3233
|
# For additional information about resource sharing using RAM, see
|
2922
|
-
# [Resource Access Manager User Guide][
|
3234
|
+
# [Resource Access Manager User Guide][4].
|
2923
3235
|
#
|
2924
3236
|
#
|
2925
3237
|
#
|
2926
|
-
# [1]: https://docs.aws.amazon.com/
|
2927
|
-
# [2]: https://docs.aws.amazon.com/ram/latest/APIReference/
|
2928
|
-
# [3]: https://docs.aws.amazon.com/ram/latest/
|
3238
|
+
# [1]: https://docs.aws.amazon.com/network-firewall/latest/developerguide/sharing.html
|
3239
|
+
# [2]: https://docs.aws.amazon.com/ram/latest/APIReference/API_GetResourceShareInvitations.html
|
3240
|
+
# [3]: https://docs.aws.amazon.com/ram/latest/APIReference/API_AcceptResourceShareInvitation.html
|
3241
|
+
# [4]: https://docs.aws.amazon.com/ram/latest/userguide/what-is.html
|
2929
3242
|
#
|
2930
3243
|
# @option params [required, String] :resource_arn
|
2931
3244
|
# The Amazon Resource Name (ARN) of the account that you want to share
|
2932
|
-
#
|
3245
|
+
# your Network Firewall resources with.
|
2933
3246
|
#
|
2934
3247
|
# @option params [required, String] :policy
|
2935
3248
|
# The IAM policy statement that lists the accounts that you want to
|
2936
|
-
# share your
|
2937
|
-
#
|
3249
|
+
# share your Network Firewall resources with and the operations that you
|
3250
|
+
# want the accounts to be able to perform.
|
2938
3251
|
#
|
2939
3252
|
# For a rule group resource, you can specify the following operations in
|
2940
3253
|
# the Actions section of the statement:
|
@@ -2952,9 +3265,18 @@ module Aws::NetworkFirewall
|
|
2952
3265
|
#
|
2953
3266
|
# * network-firewall:ListFirewallPolicies
|
2954
3267
|
#
|
3268
|
+
# For a firewall resource, you can specify the following operations in
|
3269
|
+
# the Actions section of the statement:
|
3270
|
+
#
|
3271
|
+
# * network-firewall:CreateVpcEndpointAssociation
|
3272
|
+
#
|
3273
|
+
# * network-firewall:DescribeFirewallMetadata
|
3274
|
+
#
|
3275
|
+
# * network-firewall:ListFirewalls
|
3276
|
+
#
|
2955
3277
|
# In the Resource section of the statement, you specify the ARNs for the
|
2956
|
-
#
|
2957
|
-
#
|
3278
|
+
# Network Firewall resources that you want to share with the account
|
3279
|
+
# that you specified in `Arn`.
|
2958
3280
|
#
|
2959
3281
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2960
3282
|
#
|
@@ -3047,6 +3369,13 @@ module Aws::NetworkFirewall
|
|
3047
3369
|
# Defines the scope a flow operation. You can use up to 20 filters to
|
3048
3370
|
# configure a single flow operation.
|
3049
3371
|
#
|
3372
|
+
# @option params [String] :vpc_endpoint_association_arn
|
3373
|
+
# The Amazon Resource Name (ARN) of a VPC endpoint association.
|
3374
|
+
#
|
3375
|
+
# @option params [String] :vpc_endpoint_id
|
3376
|
+
# A unique identifier for the primary endpoint associated with a
|
3377
|
+
# firewall.
|
3378
|
+
#
|
3050
3379
|
# @option params [Integer] :minimum_flow_age_in_seconds
|
3051
3380
|
# The reqested `FlowOperation` ignores flows with an age (in seconds)
|
3052
3381
|
# lower than `MinimumFlowAgeInSeconds`. You provide this for start
|
@@ -3072,6 +3401,8 @@ module Aws::NetworkFirewall
|
|
3072
3401
|
# resp = client.start_flow_capture({
|
3073
3402
|
# firewall_arn: "ResourceArn", # required
|
3074
3403
|
# availability_zone: "AvailabilityZone",
|
3404
|
+
# vpc_endpoint_association_arn: "ResourceArn",
|
3405
|
+
# vpc_endpoint_id: "VpcEndpointId",
|
3075
3406
|
# minimum_flow_age_in_seconds: 1,
|
3076
3407
|
# flow_filters: [ # required
|
3077
3408
|
# {
|
@@ -3123,6 +3454,13 @@ module Aws::NetworkFirewall
|
|
3123
3454
|
# Defines the scope a flow operation. You can use up to 20 filters to
|
3124
3455
|
# configure a single flow operation.
|
3125
3456
|
#
|
3457
|
+
# @option params [String] :vpc_endpoint_association_arn
|
3458
|
+
# The Amazon Resource Name (ARN) of a VPC endpoint association.
|
3459
|
+
#
|
3460
|
+
# @option params [String] :vpc_endpoint_id
|
3461
|
+
# A unique identifier for the primary endpoint associated with a
|
3462
|
+
# firewall.
|
3463
|
+
#
|
3126
3464
|
# @option params [Integer] :minimum_flow_age_in_seconds
|
3127
3465
|
# The reqested `FlowOperation` ignores flows with an age (in seconds)
|
3128
3466
|
# lower than `MinimumFlowAgeInSeconds`. You provide this for start
|
@@ -3143,6 +3481,8 @@ module Aws::NetworkFirewall
|
|
3143
3481
|
# resp = client.start_flow_flush({
|
3144
3482
|
# firewall_arn: "ResourceArn", # required
|
3145
3483
|
# availability_zone: "AvailabilityZone",
|
3484
|
+
# vpc_endpoint_association_arn: "ResourceArn",
|
3485
|
+
# vpc_endpoint_id: "VpcEndpointId",
|
3146
3486
|
# minimum_flow_age_in_seconds: 1,
|
3147
3487
|
# flow_filters: [ # required
|
3148
3488
|
# {
|
@@ -4359,7 +4699,7 @@ module Aws::NetworkFirewall
|
|
4359
4699
|
tracer: tracer
|
4360
4700
|
)
|
4361
4701
|
context[:gem_name] = 'aws-sdk-networkfirewall'
|
4362
|
-
context[:gem_version] = '1.
|
4702
|
+
context[:gem_version] = '1.66.0'
|
4363
4703
|
Seahorse::Client::Request.new(handlers, context)
|
4364
4704
|
end
|
4365
4705
|
|