aws-sdk-networkfirewall 1.64.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-networkfirewall/client.rb +363 -24
- 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
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.66.0 (2025-05-28)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - You can now use VPC endpoint associations to create multiple firewall endpoints for a single firewall.
|
8
|
+
|
9
|
+
1.65.0 (2025-05-12)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.64.0 (2025-05-01)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.66.0
|
@@ -200,8 +200,7 @@ module Aws::NetworkFirewall
|
|
200
200
|
# accepted modes and the configuration defaults that are included.
|
201
201
|
#
|
202
202
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
203
|
-
#
|
204
|
-
# to default service endpoint when available.
|
203
|
+
# When `true`, the SDK will not prepend the modeled host prefix to the endpoint.
|
205
204
|
#
|
206
205
|
# @option options [Boolean] :disable_request_compression (false)
|
207
206
|
# When set to 'true' the request body will not be compressed
|
@@ -765,6 +764,7 @@ module Aws::NetworkFirewall
|
|
765
764
|
# resp.firewall.tags[0].value #=> String
|
766
765
|
# resp.firewall.encryption_configuration.key_id #=> String
|
767
766
|
# resp.firewall.encryption_configuration.type #=> String, one of "CUSTOMER_KMS", "AWS_OWNED_KMS_KEY"
|
767
|
+
# resp.firewall.number_of_associations #=> Integer
|
768
768
|
# resp.firewall.enabled_analysis_types #=> Array
|
769
769
|
# resp.firewall.enabled_analysis_types[0] #=> String, one of "TLS_SNI", "HTTP_HOST"
|
770
770
|
# resp.firewall_status.status #=> String, one of "PROVISIONING", "DELETING", "READY"
|
@@ -1405,6 +1405,84 @@ module Aws::NetworkFirewall
|
|
1405
1405
|
req.send_request(options)
|
1406
1406
|
end
|
1407
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
|
+
|
1408
1486
|
# Deletes the specified Firewall and its FirewallStatus. This operation
|
1409
1487
|
# requires the firewall's `DeleteProtection` flag to be `FALSE`. You
|
1410
1488
|
# can't revert this operation.
|
@@ -1463,6 +1541,7 @@ module Aws::NetworkFirewall
|
|
1463
1541
|
# resp.firewall.tags[0].value #=> String
|
1464
1542
|
# resp.firewall.encryption_configuration.key_id #=> String
|
1465
1543
|
# resp.firewall.encryption_configuration.type #=> String, one of "CUSTOMER_KMS", "AWS_OWNED_KMS_KEY"
|
1544
|
+
# resp.firewall.number_of_associations #=> Integer
|
1466
1545
|
# resp.firewall.enabled_analysis_types #=> Array
|
1467
1546
|
# resp.firewall.enabled_analysis_types[0] #=> String, one of "TLS_SNI", "HTTP_HOST"
|
1468
1547
|
# resp.firewall_status.status #=> String, one of "PROVISIONING", "DELETING", "READY"
|
@@ -1690,6 +1769,59 @@ module Aws::NetworkFirewall
|
|
1690
1769
|
req.send_request(options)
|
1691
1770
|
end
|
1692
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
|
+
|
1693
1825
|
# Returns the data objects for the specified firewall.
|
1694
1826
|
#
|
1695
1827
|
# @option params [String] :firewall_name
|
@@ -1736,6 +1868,7 @@ module Aws::NetworkFirewall
|
|
1736
1868
|
# resp.firewall.tags[0].value #=> String
|
1737
1869
|
# resp.firewall.encryption_configuration.key_id #=> String
|
1738
1870
|
# resp.firewall.encryption_configuration.type #=> String, one of "CUSTOMER_KMS", "AWS_OWNED_KMS_KEY"
|
1871
|
+
# resp.firewall.number_of_associations #=> Integer
|
1739
1872
|
# resp.firewall.enabled_analysis_types #=> Array
|
1740
1873
|
# resp.firewall.enabled_analysis_types[0] #=> String, one of "TLS_SNI", "HTTP_HOST"
|
1741
1874
|
# resp.firewall_status.status #=> String, one of "PROVISIONING", "DELETING", "READY"
|
@@ -1762,6 +1895,44 @@ module Aws::NetworkFirewall
|
|
1762
1895
|
req.send_request(options)
|
1763
1896
|
end
|
1764
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
|
+
|
1765
1936
|
# Returns the data objects for the specified firewall policy.
|
1766
1937
|
#
|
1767
1938
|
# @option params [String] :firewall_policy_name
|
@@ -1851,6 +2022,13 @@ module Aws::NetworkFirewall
|
|
1851
2022
|
# Defines the scope a flow operation. You can use up to 20 filters to
|
1852
2023
|
# configure a single flow operation.
|
1853
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
|
+
#
|
1854
2032
|
# @option params [required, String] :flow_operation_id
|
1855
2033
|
# A unique identifier for the flow operation. This ID is returned in the
|
1856
2034
|
# responses to start and list commands. You provide to describe
|
@@ -1860,6 +2038,8 @@ module Aws::NetworkFirewall
|
|
1860
2038
|
#
|
1861
2039
|
# * {Types::DescribeFlowOperationResponse#firewall_arn #firewall_arn} => String
|
1862
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
|
1863
2043
|
# * {Types::DescribeFlowOperationResponse#flow_operation_id #flow_operation_id} => String
|
1864
2044
|
# * {Types::DescribeFlowOperationResponse#flow_operation_type #flow_operation_type} => String
|
1865
2045
|
# * {Types::DescribeFlowOperationResponse#flow_operation_status #flow_operation_status} => String
|
@@ -1872,6 +2052,8 @@ module Aws::NetworkFirewall
|
|
1872
2052
|
# resp = client.describe_flow_operation({
|
1873
2053
|
# firewall_arn: "ResourceArn", # required
|
1874
2054
|
# availability_zone: "AvailabilityZone",
|
2055
|
+
# vpc_endpoint_association_arn: "ResourceArn",
|
2056
|
+
# vpc_endpoint_id: "VpcEndpointId",
|
1875
2057
|
# flow_operation_id: "FlowOperationId", # required
|
1876
2058
|
# })
|
1877
2059
|
#
|
@@ -1879,6 +2061,8 @@ module Aws::NetworkFirewall
|
|
1879
2061
|
#
|
1880
2062
|
# resp.firewall_arn #=> String
|
1881
2063
|
# resp.availability_zone #=> String
|
2064
|
+
# resp.vpc_endpoint_association_arn #=> String
|
2065
|
+
# resp.vpc_endpoint_id #=> String
|
1882
2066
|
# resp.flow_operation_id #=> String
|
1883
2067
|
# resp.flow_operation_type #=> String, one of "FLOW_FLUSH", "FLOW_CAPTURE"
|
1884
2068
|
# resp.flow_operation_status #=> String, one of "COMPLETED", "IN_PROGRESS", "FAILED", "COMPLETED_WITH_ERRORS"
|
@@ -2250,6 +2434,50 @@ module Aws::NetworkFirewall
|
|
2250
2434
|
req.send_request(options)
|
2251
2435
|
end
|
2252
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
|
+
|
2253
2481
|
# Removes the specified subnet associations from the firewall. This
|
2254
2482
|
# removes the firewall endpoints from the subnets and removes any
|
2255
2483
|
# network filtering protections that the endpoints were providing.
|
@@ -2603,10 +2831,19 @@ module Aws::NetworkFirewall
|
|
2603
2831
|
# Defines the scope a flow operation. You can use up to 20 filters to
|
2604
2832
|
# configure a single flow operation.
|
2605
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
|
+
#
|
2606
2841
|
# @return [Types::ListFlowOperationResultsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2607
2842
|
#
|
2608
2843
|
# * {Types::ListFlowOperationResultsResponse#firewall_arn #firewall_arn} => String
|
2609
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
|
2610
2847
|
# * {Types::ListFlowOperationResultsResponse#flow_operation_id #flow_operation_id} => String
|
2611
2848
|
# * {Types::ListFlowOperationResultsResponse#flow_operation_status #flow_operation_status} => String
|
2612
2849
|
# * {Types::ListFlowOperationResultsResponse#status_message #status_message} => String
|
@@ -2624,12 +2861,16 @@ module Aws::NetworkFirewall
|
|
2624
2861
|
# next_token: "PaginationToken",
|
2625
2862
|
# max_results: 1,
|
2626
2863
|
# availability_zone: "AvailabilityZone",
|
2864
|
+
# vpc_endpoint_id: "VpcEndpointId",
|
2865
|
+
# vpc_endpoint_association_arn: "ResourceArn",
|
2627
2866
|
# })
|
2628
2867
|
#
|
2629
2868
|
# @example Response structure
|
2630
2869
|
#
|
2631
2870
|
# resp.firewall_arn #=> String
|
2632
2871
|
# resp.availability_zone #=> String
|
2872
|
+
# resp.vpc_endpoint_association_arn #=> String
|
2873
|
+
# resp.vpc_endpoint_id #=> String
|
2633
2874
|
# resp.flow_operation_id #=> String
|
2634
2875
|
# resp.flow_operation_status #=> String, one of "COMPLETED", "IN_PROGRESS", "FAILED", "COMPLETED_WITH_ERRORS"
|
2635
2876
|
# resp.status_message #=> String
|
@@ -2677,6 +2918,13 @@ module Aws::NetworkFirewall
|
|
2677
2918
|
# Defines the scope a flow operation. You can use up to 20 filters to
|
2678
2919
|
# configure a single flow operation.
|
2679
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
|
+
#
|
2680
2928
|
# @option params [String] :flow_operation_type
|
2681
2929
|
# An optional string that defines whether any or all operation types are
|
2682
2930
|
# returned.
|
@@ -2706,6 +2954,8 @@ module Aws::NetworkFirewall
|
|
2706
2954
|
# resp = client.list_flow_operations({
|
2707
2955
|
# firewall_arn: "ResourceArn", # required
|
2708
2956
|
# availability_zone: "AvailabilityZone",
|
2957
|
+
# vpc_endpoint_association_arn: "ResourceArn",
|
2958
|
+
# vpc_endpoint_id: "VpcEndpointId",
|
2709
2959
|
# flow_operation_type: "FLOW_FLUSH", # accepts FLOW_FLUSH, FLOW_CAPTURE
|
2710
2960
|
# next_token: "PaginationToken",
|
2711
2961
|
# max_results: 1,
|
@@ -2898,44 +3148,106 @@ module Aws::NetworkFirewall
|
|
2898
3148
|
req.send_request(options)
|
2899
3149
|
end
|
2900
3150
|
|
2901
|
-
#
|
2902
|
-
#
|
2903
|
-
#
|
2904
|
-
#
|
2905
|
-
#
|
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
|
2906
3197
|
#
|
2907
|
-
#
|
2908
|
-
#
|
2909
|
-
#
|
2910
|
-
#
|
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.
|
2911
3222
|
#
|
2912
3223
|
# When you add an account in the resource policy, you then run the
|
2913
3224
|
# following Resource Access Manager (RAM) operations to access and
|
2914
|
-
# accept the shared
|
3225
|
+
# accept the shared resource.
|
2915
3226
|
#
|
2916
|
-
# * [GetResourceShareInvitations][
|
3227
|
+
# * [GetResourceShareInvitations][2] - Returns the Amazon Resource Names
|
2917
3228
|
# (ARNs) of the resource share invitations.
|
2918
3229
|
#
|
2919
|
-
# * [AcceptResourceShareInvitation][
|
3230
|
+
# * [AcceptResourceShareInvitation][3] - Accepts the share invitation
|
2920
3231
|
# for a specified resource share.
|
2921
3232
|
#
|
2922
3233
|
# For additional information about resource sharing using RAM, see
|
2923
|
-
# [Resource Access Manager User Guide][
|
3234
|
+
# [Resource Access Manager User Guide][4].
|
2924
3235
|
#
|
2925
3236
|
#
|
2926
3237
|
#
|
2927
|
-
# [1]: https://docs.aws.amazon.com/
|
2928
|
-
# [2]: https://docs.aws.amazon.com/ram/latest/APIReference/
|
2929
|
-
# [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
|
2930
3242
|
#
|
2931
3243
|
# @option params [required, String] :resource_arn
|
2932
3244
|
# The Amazon Resource Name (ARN) of the account that you want to share
|
2933
|
-
#
|
3245
|
+
# your Network Firewall resources with.
|
2934
3246
|
#
|
2935
3247
|
# @option params [required, String] :policy
|
2936
3248
|
# The IAM policy statement that lists the accounts that you want to
|
2937
|
-
# share your
|
2938
|
-
#
|
3249
|
+
# share your Network Firewall resources with and the operations that you
|
3250
|
+
# want the accounts to be able to perform.
|
2939
3251
|
#
|
2940
3252
|
# For a rule group resource, you can specify the following operations in
|
2941
3253
|
# the Actions section of the statement:
|
@@ -2953,9 +3265,18 @@ module Aws::NetworkFirewall
|
|
2953
3265
|
#
|
2954
3266
|
# * network-firewall:ListFirewallPolicies
|
2955
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
|
+
#
|
2956
3277
|
# In the Resource section of the statement, you specify the ARNs for the
|
2957
|
-
#
|
2958
|
-
#
|
3278
|
+
# Network Firewall resources that you want to share with the account
|
3279
|
+
# that you specified in `Arn`.
|
2959
3280
|
#
|
2960
3281
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2961
3282
|
#
|
@@ -3048,6 +3369,13 @@ module Aws::NetworkFirewall
|
|
3048
3369
|
# Defines the scope a flow operation. You can use up to 20 filters to
|
3049
3370
|
# configure a single flow operation.
|
3050
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
|
+
#
|
3051
3379
|
# @option params [Integer] :minimum_flow_age_in_seconds
|
3052
3380
|
# The reqested `FlowOperation` ignores flows with an age (in seconds)
|
3053
3381
|
# lower than `MinimumFlowAgeInSeconds`. You provide this for start
|
@@ -3073,6 +3401,8 @@ module Aws::NetworkFirewall
|
|
3073
3401
|
# resp = client.start_flow_capture({
|
3074
3402
|
# firewall_arn: "ResourceArn", # required
|
3075
3403
|
# availability_zone: "AvailabilityZone",
|
3404
|
+
# vpc_endpoint_association_arn: "ResourceArn",
|
3405
|
+
# vpc_endpoint_id: "VpcEndpointId",
|
3076
3406
|
# minimum_flow_age_in_seconds: 1,
|
3077
3407
|
# flow_filters: [ # required
|
3078
3408
|
# {
|
@@ -3124,6 +3454,13 @@ module Aws::NetworkFirewall
|
|
3124
3454
|
# Defines the scope a flow operation. You can use up to 20 filters to
|
3125
3455
|
# configure a single flow operation.
|
3126
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
|
+
#
|
3127
3464
|
# @option params [Integer] :minimum_flow_age_in_seconds
|
3128
3465
|
# The reqested `FlowOperation` ignores flows with an age (in seconds)
|
3129
3466
|
# lower than `MinimumFlowAgeInSeconds`. You provide this for start
|
@@ -3144,6 +3481,8 @@ module Aws::NetworkFirewall
|
|
3144
3481
|
# resp = client.start_flow_flush({
|
3145
3482
|
# firewall_arn: "ResourceArn", # required
|
3146
3483
|
# availability_zone: "AvailabilityZone",
|
3484
|
+
# vpc_endpoint_association_arn: "ResourceArn",
|
3485
|
+
# vpc_endpoint_id: "VpcEndpointId",
|
3147
3486
|
# minimum_flow_age_in_seconds: 1,
|
3148
3487
|
# flow_filters: [ # required
|
3149
3488
|
# {
|
@@ -4360,7 +4699,7 @@ module Aws::NetworkFirewall
|
|
4360
4699
|
tracer: tracer
|
4361
4700
|
)
|
4362
4701
|
context[:gem_name] = 'aws-sdk-networkfirewall'
|
4363
|
-
context[:gem_version] = '1.
|
4702
|
+
context[:gem_version] = '1.66.0'
|
4364
4703
|
Seahorse::Client::Request.new(handlers, context)
|
4365
4704
|
end
|
4366
4705
|
|